/* =========================================================
 * Plugin Energia — theme.css
 * Direct port of the Proposta B design canvas (b-*.jsx).
 * Inspired by stripe.com / schneider-electric.com.
 *
 * Stripe-style breakpoints (from b-shared.jsx):
 *   xs 375 · sm 600 · md 880 · lg 1280 · xl 1680
 * ========================================================= */

/* ─── Base & typography ──────────────────────────────────── */
html { -webkit-text-size-adjust: 100%; }
body {
    background: #fff;
    color: #0B0D10;
    font-family: 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
    font-family: 'Cambay', 'Helvetica Neue', sans-serif;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: #0B0D10;
    margin: 0;
}
em { font-style: normal; font-weight: 700; }
strong { font-weight: 700; color: #0B0D10; }

::selection { background: #FFC829; color: #0B0D10; }

a { color: inherit; text-decoration: none; }
img, svg, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; background: none; border: 0; padding: 0; color: inherit; }

.screen-reader-text {
    position: absolute !important;
    clip: rect(1px,1px,1px,1px);
    width: 1px; height: 1px;
    overflow: hidden;
}
.skip-link {
    position: absolute; left: 8px; top: 8px; z-index: 100000;
    padding: 8px 14px;
    background: #0B0D10; color: #fff;
    border-radius: 6px; font-size: 12px; font-weight: 600;
}
.skip-link:not(:focus) {
    clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden;
}

/* ─── Layout container ───────────────────────────────────── */
/* The design uses direct 48–80px section padding (no centered max-width). */
.pe-container {
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 16px;
}
@media (min-width: 600px)  { .pe-container { padding: 0 24px; } }
@media (min-width: 880px)  { .pe-container { padding: 0 48px; } }
@media (min-width: 1280px) { .pe-container { padding: 0 80px; } }

/* Section: matches b-home.jsx (no max-width cap, vertical rhythm via section padding) */
.pe-section { background: #fff; }
.pe-section--pad    { padding: 56px 0; }
.pe-section--pad-sm { padding: 24px 0; }
@media (min-width: 880px)  { .pe-section--pad { padding: 72px 0; } }
@media (min-width: 1280px) { .pe-section--pad { padding: 80px 0; } }

/* Section head: overline + h2, with optional link on the right */
.pe-section-head {
    display: flex; justify-content: space-between; align-items: flex-end;
    gap: 16px; margin-bottom: 28px; flex-wrap: wrap;
}
@media (min-width: 880px) { .pe-section-head { margin-bottom: 32px; } }

/* Overline (above h2): brand cyan small caps */
.pe-overline {
    font-size: 13px; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: #6B7280;
}
.pe-overline--brand { color: #1FB6FF; }

/* Eyebrow (above hero h1): brandDeep, lower contrast */
.pe-eyebrow {
    font-size: 13px; color: #0E7FBF;
    font-weight: 600; letter-spacing: 0.02em;
    margin-bottom: 20px;
}

/* H scale (Cambay, exact sizes from b-home.jsx) */
.pe-h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.025em; }
.pe-h2 { font-size: clamp(28px, 4.4vw, 42px); line-height: 1.1; letter-spacing: -0.02em; margin: 10px 0 0; }
.pe-h3 { font-size: clamp(22px, 3vw, 32px); line-height: 1.15; letter-spacing: -0.018em; }

/* ─── Buttons (b-shared.jsx BBtn) ────────────────────────── */
.pe-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    font-size: 13px; font-weight: 600;
    letter-spacing: 0.005em;
    border-radius: 10px;
    border: 1px solid transparent;
    line-height: 1.1; white-space: nowrap;
    cursor: pointer; font-family: inherit;
    transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.pe-btn--sm { padding: 8px 14px;  font-size: 12px; }
.pe-btn--md { padding: 11px 18px; font-size: 13px; }
.pe-btn--lg { padding: 15px 24px; font-size: 15px; }
.pe-btn--primary  { background: #0B0D10; color: #fff; border-color: #0B0D10; }
.pe-btn--primary:hover { background: #000; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(11,13,16,0.20); }
.pe-btn--brand    { background: #1FB6FF; color: #fff; border-color: #1FB6FF; }
.pe-btn--brand:hover { background: #0E7FBF; border-color: #0E7FBF; transform: translateY(-1px); }
.pe-btn--volt     { background: #FFC829; color: #2A1F00; border-color: #FFC829; }
.pe-btn--volt:hover { background: #D9A400; border-color: #D9A400; transform: translateY(-1px); }
.pe-btn--outline  { background: #fff; color: #0B0D10; border-color: #E5E7EB; }
.pe-btn--outline:hover { border-color: #0B0D10; }
.pe-btn--outline-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,0.22); }
.pe-btn--outline-dark:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.42); }
.pe-btn--ghost { background: transparent; color: #0B0D10; border-color: transparent; }
.pe-btn--ghost:hover { background: #F7F8FA; }
.pe-btn--danger { background: #fff; color: #E53935; border-color: #FBD2D0; }

/* ─── Tags (b-shared.jsx BTag) ──────────────────────────── */
.pe-tag {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 3px 9px;
    font-size: 10.5px; font-weight: 700;
    letter-spacing: 0.04em; text-transform: uppercase;
    border-radius: 6px;
    line-height: 1.2;
}
.pe-tag--neutral { background: #F1F3F5; color: #2A2E35; }
.pe-tag--brand   { background: #E6F4FB; color: #0E7FBF; }
.pe-tag--volt    { background: #FFF5CC; color: #7A5E08; }
.pe-tag--ok      { background: #DCF5EA; color: #0E6E5C; }
.pe-tag--danger  { background: #FDECEA; color: #C62828; }
.pe-tag--dark    { background: #0B0D10; color: #fff; }
.pe-tag--light   { background: #fff; color: #0B0D10; }

/* ─── Breadcrumb (b-chrome.jsx BCrumb) ───────────────────── */
.pe-crumb {
    font-size: 13px; color: #9CA3AF;
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.pe-crumb a { color: #9CA3AF; transition: color .15s; }
.pe-crumb a:hover { color: #0B0D10; }
.pe-crumb__sep { color: #E5E7EB; }
.pe-crumb > *:last-child { color: #0B0D10; font-weight: 500; }

/* ─── Promo strip (b-chrome.jsx BPromoStrip) ─────────────── */
.pe-promo {
    background: #0B0D10; color: #fff;
    padding: 10px 0;
    font-size: 12px;
    display: flex; align-items: center; justify-content: center;
    gap: 16px; flex-wrap: wrap;
}
.pe-promo__item {
    display: inline-flex; align-items: center; gap: 6px;
    color: rgba(255,255,255,0.85);
}
.pe-promo__item strong { color: #fff; font-weight: 700; }
.pe-promo__sep { color: rgba(255,255,255,0.35); }
@media (min-width: 880px) { .pe-promo { gap: 32px; padding: 10px 16px; } }

/* ─── Utility bar (b-chrome.jsx BUtilityBar) ─────────────── */
.pe-utility {
    display: none;
    background: #fff;
    border-bottom: 1px solid #F1F3F5;
    color: #6B7280;
    font-size: 12px;
}
.pe-utility__row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 0;
}
.pe-utility__left, .pe-utility__right {
    display: flex; gap: 24px; align-items: center;
}
.pe-utility__menu {
    display: flex; gap: 24px; list-style: none; margin: 0; padding: 0;
}
.pe-utility__menu a { color: #6B7280; }
.pe-utility__menu a:hover { color: #0B0D10; }
.pe-pin { display: inline-flex; align-items: center; gap: 6px; }
.pe-utility__phone {
    display: inline-flex; align-items: center; gap: 6px;
    color: #6B7280;
}
.pe-utility__b2b { color: #0B0D10; font-weight: 600; }
.pe-utility__b2b:hover { color: #0E7FBF; }
@media (min-width: 880px) { .pe-utility { display: block; } }

/* ─── Header (b-chrome.jsx BHeader) ─────────────────────── */
.pe-header {
    background: #fff;
    border-bottom: 1px solid #F1F3F5;
    position: relative;
    z-index: 5;
}
.pe-sticky-header .pe-header {
    position: sticky; top: 0;
    transition: box-shadow .25s ease;
}
.pe-sticky-header .pe-header.is-scrolled {
    box-shadow: 0 8px 20px rgba(11,13,16,0.04);
}
.pe-header__row {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 0;
}
@media (min-width: 880px)  { .pe-header__row { gap: 24px; padding: 18px 0; } }
@media (min-width: 1280px) { .pe-header__row { gap: 40px; padding: 20px 0; } }

/* Burger (mobile only) */
.pe-header__burger {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    color: #0B0D10; border-radius: 8px;
    transition: background .15s;
    flex-shrink: 0;
}
.pe-header__burger:hover { background: #F7F8FA; }
@media (min-width: 1280px) { .pe-header__burger { display: none; } }

/* Logo */
.pe-header__brand {
    flex: 1; display: flex; justify-content: center;
    min-width: 0;
}
@media (min-width: 1280px) {
    .pe-header__brand { flex: 0 0 auto; justify-content: flex-start; }
}
.pe-header__brand .custom-logo,
.pe-header__brand .custom-logo-link img {
    max-height: 44px; width: auto; height: auto; display: block;
}
@media (min-width: 880px) {
    .pe-header__brand .custom-logo,
    .pe-header__brand .custom-logo-link img { max-height: 52px; }
}
.pe-logo { display: inline-flex; align-items: center; }
.pe-logo__wordmark { display: flex; flex-direction: column; line-height: 1; }
.pe-logo__plugin {
    font-family: 'Cambay', sans-serif;
    font-weight: 700; font-size: 30px;
    letter-spacing: -0.01em; color: #1FB6FF;
}
.pe-logo__energia {
    font-family: 'Cambay', sans-serif;
    font-weight: 400; font-size: 13px;
    color: #0B0D10; margin-top: 2px; letter-spacing: 0.04em;
}
.pe-logo--dark .pe-logo__energia { color: #fff; }

/* Search */
.pe-header__search {
    display: none;
    flex: 1; max-width: 560px;
    align-items: center; gap: 10px;
    background: #F7F8FA;
    border: 1px solid #E5E7EB;
    padding: 12px 16px;
    border-radius: 12px;
    position: relative;
    transition: border-color .15s, background .15s, box-shadow .15s;
}
.pe-header__search:focus-within {
    background: #fff; border-color: #1FB6FF;
    box-shadow: 0 0 0 3px #E6F4FB;
}
.pe-header__search input {
    flex: 1; outline: 0; border: 0; background: transparent;
    font: inherit; font-size: 14px; color: #0B0D10;
}
.pe-header__search input::placeholder { color: #9CA3AF; }
.pe-icon { color: #6B7280; flex-shrink: 0; }
.pe-kbd {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; color: #6B7280;
    padding: 2px 6px; background: #fff;
    border: 1px solid #E5E7EB; border-radius: 4px;
}
@media (min-width: 880px) { .pe-header__search { display: flex; } }

/* Nav (desktop) */
.pe-header__nav { display: none; }
.pe-menu {
    display: flex; gap: 28px; align-items: center;
    list-style: none; padding: 0; margin: 0;
}
.pe-menu__item { position: relative; }
.pe-menu__link {
    font-size: 14px; font-weight: 500;
    color: #6B7280;
    padding: 22px 0;
    display: inline-flex; align-items: center; gap: 4px;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
    white-space: nowrap;
}
.pe-menu__item.is-current > .pe-menu__link { color: #0B0D10; border-color: #1FB6FF; }
.pe-menu__link:hover { color: #0B0D10; }
.pe-menu__chev { transition: transform .2s; }
.pe-menu__item.has-children:hover > .pe-menu__link .pe-menu__chev,
.pe-menu__item.has-children.is-open > .pe-menu__link .pe-menu__chev { transform: rotate(180deg); }
@media (min-width: 1280px) { .pe-header__nav { display: block; } }

/* Submenu dropdown (depth 0 children) */
.pe-submenu {
    list-style: none; padding: 8px 0; margin: 0;
    background: #fff;
    border: 1px solid #F1F3F5;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(11,13,16,0.08);
    min-width: 240px;
    position: absolute; top: 100%; left: 0;
    z-index: 50;
    opacity: 0; visibility: hidden;
    transform: translateY(6px);
    transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
}
.pe-menu__item.has-children:hover > .pe-submenu,
.pe-menu__item.has-children:focus-within > .pe-submenu,
.pe-menu__item.has-children.is-open > .pe-submenu {
    opacity: 1; visibility: visible;
    transform: translateY(0);
    transition: opacity .15s ease, transform .15s ease, visibility 0s linear 0s;
}
.pe-submenu__link {
    display: block; padding: 9px 18px;
    font-size: 13.5px; color: #2A2E35;
    transition: background .15s, color .15s;
}
.pe-submenu__link:hover { background: #F7F8FA; color: #0E7FBF; }
.pe-submenu--nested { top: -8px; left: 100%; }

/* Right header actions: heart, user, cart (40x40 circle borders) */
.pe-header__actions {
    display: flex; gap: 8px; align-items: center;
    flex-shrink: 0;
}
.pe-iconbtn {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid #E5E7EB;
    background: #fff; color: #0B0D10;
    display: inline-flex; align-items: center; justify-content: center;
    position: relative;
    transition: background .15s, border-color .15s, transform .15s;
}
.pe-iconbtn:hover { background: #F7F8FA; border-color: #0B0D10; }
.pe-iconbtn__badge {
    position: absolute; top: -4px; right: -4px;
    background: #1FB6FF; color: #fff;
    font-size: 10px; font-weight: 700;
    min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #fff;
}

/* ─── Mobile drawer (burger toggle) ─────────────────────── */
body.pe-menu-open { overflow: hidden; }
body.pe-menu-open .pe-header__nav {
    display: block;
    position: fixed; top: 0; left: 0; bottom: 0;
    width: min(86vw, 360px);
    background: #fff;
    z-index: 300;
    padding: 80px 24px 24px;
    overflow-y: auto;
    box-shadow: 0 24px 60px rgba(0,0,0,0.2);
    animation: pe-slide-in .25s ease;
}
body.pe-menu-open::after {
    content: ""; position: fixed; inset: 0;
    background: rgba(11,13,16,0.4);
    z-index: 250;
    animation: pe-fade-in .25s ease;
}
@keyframes pe-slide-in { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@keyframes pe-fade-in  { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 1279px) {
    body.pe-menu-open .pe-menu { flex-direction: column; gap: 0; align-items: stretch; }
    body.pe-menu-open .pe-menu__link { padding: 14px 0; font-size: 16px; border-bottom: 1px solid #F1F3F5; width: 100%; justify-content: space-between; position: relative; padding-right: 52px; }
    .pe-menu__item.has-children > .pe-menu__link .pe-menu__chev {
        position: absolute; top: 50%; right: 0;
        transform: translateY(-50%);
        padding: 18px; width: 14px; height: 14px;
        box-sizing: content-box;
    }
    .pe-menu__item.has-children.is-open > .pe-menu__link .pe-menu__chev {
        transform: translateY(-50%) rotate(180deg);
    }
    .pe-submenu {
        position: static;
        opacity: 1; visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0; border-radius: 0;
        padding: 0 0 8px 16px;
        min-width: 0;
        display: none;
    }
    .pe-menu__item.has-children.is-open > .pe-submenu { display: block; }
    .pe-submenu__link { padding: 10px 0; font-size: 14px; }
    .pe-submenu--nested { padding-left: 16px; left: auto; top: auto; }
}

/* ─── Hero (b-home.jsx) ─────────────────────────────────── */
.pe-hero {
    background: #F7F8FA;
    position: relative; overflow: hidden;
}
.pe-hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 540px;
}
.pe-hero__col {
    padding: 48px 16px;
    display: flex; flex-direction: column; justify-content: center;
}
.pe-hero__title {
    font-family: 'Cambay', sans-serif;
    font-weight: 400;
    font-size: clamp(36px, 6.5vw, 68px);
    line-height: 1.02; letter-spacing: -0.025em;
    margin: 0; color: #0B0D10;
}
.pe-hero__title em { color: #1FB6FF; font-style: normal; font-weight: 700; }
.pe-hero__sub {
    font-size: clamp(15px, 1.5vw, 17px);
    line-height: 1.6; color: #6B7280;
    margin-top: 22px; max-width: 480px;
}
.pe-hero__cta {
    display: flex; gap: 12px; flex-wrap: wrap;
    margin-top: 32px;
}
.pe-hero__stats {
    display: flex; gap: 32px; flex-wrap: wrap;
    margin-top: 40px;
}
.pe-stat__v {
    font-family: 'Cambay', sans-serif;
    font-size: 28px; font-weight: 700; line-height: 1;
    color: #0B0D10;
}
.pe-stat__l {
    font-size: 12px; color: #6B7280;
    margin-top: 6px;
}
.pe-hero__media {
    position: relative;
    min-height: 320px;
    overflow: hidden;
}
.pe-hero__media img {
    width: 100%; height: 100%;
    object-fit: cover;
}
@media (min-width: 880px) {
    .pe-hero__grid { grid-template-columns: 1fr 1.1fr; min-height: 580px; }
    .pe-hero__col { padding: 64px 48px; }
    .pe-hero__stats { gap: 40px; }
    .pe-stat__v { font-size: 32px; }
}
@media (min-width: 1280px) {
    .pe-hero__col { padding: 88px 56px 88px 80px; }
}

/* Hero floating product card (when no image) */
.pe-hero__media--decor {
    background: #F7F8FA;
    background-image: repeating-linear-gradient(45deg, rgba(11,13,16,0.04) 0 1px, transparent 1px 12px);
}
.pe-hero__decor-card {
    position: absolute;
    background: #fff;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 24px 64px rgba(11,13,16,0.12);
    width: min(300px, 70%);
    display: flex; gap: 14px; align-items: center;
}
.pe-hero__decor-card--1 { top: 14%; left: 8%; transform: rotate(-2deg); animation: pe-float 6s ease-in-out infinite; }
.pe-hero__decor-card--2 { top: 44%; right: 6%; transform: rotate(2deg); animation: pe-float 7.5s ease-in-out infinite -2s; }
.pe-hero__decor-card--3 { bottom: 10%; left: 18%; transform: rotate(-1deg); animation: pe-float 8s ease-in-out infinite -4s; }
@keyframes pe-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.pe-hero__decor-tag {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.06em;
    color: #0E7FBF; background: #E6F4FB;
    padding: 3px 7px; border-radius: 4px;
    margin-bottom: 8px;
}
.pe-hero__decor-tag--volt { color: #7A5E08; background: #FFF5CC; }
.pe-hero__decor-meta { font-size: 13px; color: #0B0D10; font-weight: 500; line-height: 1.3; }
.pe-hero__decor-price { font-family: 'Cambay', sans-serif; font-weight: 700; font-size: 20px; color: #0B0D10; margin-top: 6px; }
.pe-hero__decor-bolt {
    position: absolute; bottom: -40px; right: -10px;
    font-size: 280px; line-height: 1;
    color: #FFC829; opacity: 0.12;
    transform: rotate(-12deg);
    user-select: none; pointer-events: none;
}

/* ─── Category tiles (b-home.jsx Quick categories) ──────── */
.pe-cat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 600px)  { .pe-cat-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1280px) { .pe-cat-grid { grid-template-columns: repeat(6, 1fr); gap: 16px; } }
.pe-cat-tile {
    background: #fff;
    border: 1px solid #F1F3F5;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    transition: box-shadow .2s, transform .2s, border-color .2s;
    position: relative;
}
.pe-cat-tile:hover {
    box-shadow: 0 12px 28px rgba(11,13,16,0.07);
    transform: translateY(-3px);
    border-color: transparent;
}
.pe-cat-tile__icon {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: #EBF7FE;
    color: #0E7FBF;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
    font-size: 20px;
}
.pe-cat-tile__name {
    font-size: 14px; font-weight: 600;
    color: #0B0D10; line-height: 1.3;
}
.pe-cat-tile__count {
    font-size: 11px; color: #9CA3AF;
    margin-top: 4px;
    font-family: 'JetBrains Mono', monospace;
}
.pe-link-arr {
    font-size: 13px; color: #6B7280; font-weight: 600;
    display: inline-flex; align-items: center; gap: 4px;
    transition: color .15s;
}
.pe-link-arr:hover { color: #0E7FBF; }

/* ─── Pillars (b-home.jsx) ──────────────────────────────── */
.pe-pillars {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 600px)  { .pe-pillars { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1280px) { .pe-pillars { grid-template-columns: repeat(4, 1fr); } }
.pe-pillar { padding: 28px 4px; }
.pe-pillar__icon {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: #EBF7FE;
    color: #0E7FBF;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    font-size: 20px;
}
.pe-pillar__title { font-size: 18px; font-weight: 600; color: #0B0D10; }
.pe-pillar__desc { font-size: 13.5px; line-height: 1.6; color: #6B7280; margin: 10px 0 0; }

/* ─── Solar block (b-home.jsx solar section) ───────────── */
.pe-solar {
    display: grid; grid-template-columns: 1fr;
    gap: 32px; align-items: center;
}
@media (min-width: 880px) {
    .pe-solar { grid-template-columns: 1fr 1.1fr; gap: 48px; }
}
.pe-solar__title { font-size: clamp(28px, 4vw, 42px); line-height: 1.1; margin: 14px 0 0; }
.pe-solar__sub {
    font-size: 15px; line-height: 1.6;
    color: #6B7280;
    max-width: 480px;
    margin: 18px 0 0;
}
.pe-solar__stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; margin-top: 28px;
}
.pe-solar__cta {
    display: flex; gap: 10px; flex-wrap: wrap;
    margin-top: 32px;
}
.pe-solar__media {
    position: relative;
    border-radius: 24px;
    overflow: visible;
}
.pe-solar__media .pe-img-fallback {
    border-radius: 24px;
    aspect-ratio: 4/5;
}
.pe-solar__chip {
    position: absolute;
    bottom: 24px; left: 24px;
    background: #fff;
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 12px 32px rgba(11,13,16,0.1);
}
.pe-solar__chip-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; font-weight: 700;
    color: #D9A400; letter-spacing: 0.06em;
}
.pe-solar__chip-value {
    font-family: 'Cambay', sans-serif;
    font-size: 30px; font-weight: 700;
    color: #0B0D10;
}
.pe-solar__chip-value small {
    font-family: 'Inter', sans-serif;
    font-size: 14px; font-weight: 400;
    color: #6B7280;
}

/* ─── B2B banner (b-home.jsx) ───────────────────────────── */
.pe-banner {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    min-height: 360px;
    background: #0B0D10;
    isolation: isolate;
}
.pe-banner--dark { color: #fff; }
.pe-banner__bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; opacity: 0.45;
    z-index: -1;
}
.pe-banner::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(11,13,16,0.88) 0%, rgba(11,13,16,0.4) 60%, transparent 100%);
    z-index: 0;
}
.pe-banner__content {
    position: relative; z-index: 1;
    padding: 48px 24px; max-width: 560px;
}
.pe-banner__title {
    font-family: 'Cambay', sans-serif;
    font-weight: 400;
    font-size: clamp(28px, 5vw, 46px);
    line-height: 1.05; letter-spacing: -0.02em;
    margin: 14px 0 0; color: #fff;
}
.pe-banner__title em { color: #FFC829; font-style: normal; font-weight: 700; }
.pe-banner__content p {
    color: rgba(255,255,255,0.8);
    font-size: 16px; line-height: 1.6;
    margin: 20px 0 0;
}
.pe-banner__cta {
    display: flex; gap: 12px; flex-wrap: wrap;
    margin-top: 32px;
}
@media (min-width: 880px) { .pe-banner__content { padding: 72px 56px; min-height: 440px; } }
@media (min-width: 1280px) { .pe-banner__content { padding: 80px 64px; } }

/* Optional decor for empty banner */
.pe-banner__decor { display: none; }

/* ─── Brands strip (b-home.jsx) ─────────────────────────── */
.pe-brands {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 600px) { .pe-brands { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1280px) { .pe-brands { grid-template-columns: repeat(6, 1fr); gap: 16px; } }
.pe-brand-card {
    padding: 30px 16px;
    border: 1px solid #F1F3F5;
    border-radius: 12px;
    text-align: center;
    font-family: 'Cambay', sans-serif;
    font-size: 18px; font-weight: 700;
    color: #6B7280; letter-spacing: 0.02em;
    transition: color .15s, border-color .15s;
}
.pe-brand-card:hover { color: #0B0D10; border-color: #E5E7EB; }

/* ─── Blog teaser (b-home.jsx) ──────────────────────────── */
.pe-blog-grid {
    display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 600px)  { .pe-blog-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1280px) { .pe-blog-grid { grid-template-columns: repeat(3, 1fr); } }
.pe-post-card {
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}
.pe-post-card__media {
    display: block; border-radius: 16px; overflow: hidden;
    aspect-ratio: 4/3; background: #F7F8FA;
}
.pe-post-card__media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s;
}
.pe-post-card:hover .pe-post-card__media img { transform: scale(1.03); }
.pe-post-card__body { padding-top: 18px; }
.pe-post-card__meta { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.pe-post-card__title {
    font-family: 'Cambay', sans-serif;
    font-weight: 700; font-size: 22px;
    margin: 0; letter-spacing: -0.01em; line-height: 1.25;
}
.pe-post-card__title a { color: #0B0D10; transition: color .15s; }
.pe-post-card__title a:hover { color: #0E7FBF; }
.pe-post-card__date {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px; color: #9CA3AF;
    margin-top: 10px;
}

/* ─── Product card (b-card.jsx BCard) ───────────────────── */
.pe-product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #F1F3F5;
    display: flex; flex-direction: column;
    position: relative;
    transition: box-shadow .2s, transform .2s, border-color .2s;
}
.pe-product-card:hover {
    box-shadow: 0 14px 36px rgba(11,13,16,0.08);
    transform: translateY(-2px);
    border-color: transparent;
}
.pe-product-card__link {
    position: absolute; inset: 0;
    z-index: 1;
}
.pe-product-card__media {
    position: relative; background: #F7F8FA;
    aspect-ratio: 1/1; overflow: hidden;
}
.pe-product-card__media img {
    width: 100%; height: 100%;
    object-fit: contain; padding: 16px;
    transition: transform .35s;
}
.pe-product-card:hover .pe-product-card__media img { transform: scale(1.04); }
.pe-product-card__badge {
    position: absolute; top: 12px; left: 12px;
    z-index: 2;
}
.pe-product-card__wish {
    position: absolute; top: 12px; right: 12px;
    z-index: 2;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #fff;
    color: #6B7280;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: color .15s, transform .15s;
}
.pe-product-card__wish:hover, .pe-product-card__wish.is-active { color: #E53935; transform: scale(1.05); }
.pe-product-card__body {
    position: relative;
    padding: 20px;
    display: flex; flex-direction: column; gap: 8px;
    flex: 1;
}
.pe-product-card__brand {
    font-size: 11px; color: #9CA3AF;
    font-weight: 600; letter-spacing: 0.04em;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
}
.pe-product-card__title {
    font-family: 'Inter', sans-serif;
    font-size: 14px; line-height: 1.4;
    font-weight: 500;
    margin: 0; min-height: 40px;
}
.pe-product-card__title a {
    color: #0B0D10;
    display: -webkit-box;
    -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .15s;
    position: relative; z-index: 2;
}
.pe-product-card__title a:hover { color: #0E7FBF; }
.pe-product-card__price {
    display: flex; align-items: baseline; gap: 8px;
    margin-top: 4px;
}
.pe-product-card__price .price,
.pe-product-card__price .woocommerce-Price-amount {
    font-family: 'Cambay', sans-serif;
    font-size: 26px; font-weight: 700;
    color: #0B0D10;
}
.pe-product-card__price del {
    font-family: 'Inter', sans-serif;
    font-size: 12px; color: #9CA3AF;
    text-decoration: line-through;
}
.pe-product-card__price ins {
    background: none; text-decoration: none;
}
.pe-price-pix {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 11.5px; color: #0E7FBF;
    margin-top: 4px;
}
.pe-price-pix strong { color: #0E7FBF; }
.pe-product-card .add_to_cart_button,
.pe-product-card .button {
    margin-top: 10px;
    position: relative; z-index: 2;
    width: 100%;
}

/* ─── WooCommerce loop integration ──────────────────────── */
.woocommerce ul.products,
ul.products {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    list-style: none;
    margin: 0; padding: 0;
}
@media (min-width: 600px)  { ul.products { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1280px) { ul.products { gap: 24px; } }
.woocommerce ul.products li.product,
ul.products li.product {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
}

/* ─── Shop archive header (overrides WC default) ────────── */
.pe-shop-hero {
    background: #F7F8FA;
    padding: 36px 0 28px;
}
.pe-shop-hero__row {
    display: flex; justify-content: space-between;
    align-items: flex-end; gap: 16px; flex-wrap: wrap;
    margin-top: 18px;
}
.pe-shop-hero__title {
    font-family: 'Cambay', sans-serif;
    font-weight: 400;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1; letter-spacing: -0.02em;
    margin: 0; color: #0B0D10;
}
.pe-shop-hero__title em { font-weight: 700; }
.pe-shop-hero__sub {
    font-size: 15px; color: #6B7280;
    margin-top: 14px; max-width: 620px;
}

.pe-shop-grid { display: block; }
@media (min-width: 880px) {
    .pe-shop-grid--with-sidebar {
        display: grid;
        grid-template-columns: 300px 1fr;
        gap: 40px;
        align-items: start;
    }
}

/* WC archive header — hide title (we render our own) when our pe-shop-hero exists */
.pe-shop-hero ~ .pe-section .woocommerce-products-header,
.pe-shop-hero + * .woocommerce-products-header { display: none; }

/* WC sort + result count (clean style) */
.woocommerce-result-count {
    color: #6B7280; font-size: 13px;
    margin: 0 0 16px;
    font-family: 'JetBrains Mono', monospace;
}
.woocommerce-ordering select {
    appearance: none; -webkit-appearance: none;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    background: #fff;
    padding: 10px 36px 10px 14px;
    font-size: 13px; color: #0B0D10;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}
.woocommerce-ordering select:focus {
    outline: none; border-color: #1FB6FF;
    box-shadow: 0 0 0 3px #E6F4FB;
}

/* WC pagination (Cambay numerals via mono) */
.pe-pagination,
.woocommerce-pagination {
    margin-top: 32px;
    display: flex; justify-content: center;
}
.pe-pagination .page-numbers,
.woocommerce-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    background: #fff;
    margin: 0 3px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px; font-weight: 600;
    color: #0B0D10;
}
.pe-pagination .page-numbers:hover { border-color: #0B0D10; }
.pe-pagination .page-numbers.current,
.woocommerce-pagination .page-numbers.current {
    background: #0B0D10; color: #fff; border-color: #0B0D10;
}

/* ─── Image fallback placeholder ────────────────────────── */
.pe-img-fallback {
    background: #F7F8FA;
    background-image: repeating-linear-gradient(45deg, rgba(11,13,16,0.04) 0 1px, transparent 1px 12px);
    position: relative;
    border-radius: inherit;
}
.pe-img-fallback::after {
    content: attr(data-label);
    position: absolute; bottom: 10px; left: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px; letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(11,13,16,0.42);
}

/* ─── Footer (b-chrome.jsx BFooter) ─────────────────────── */
.pe-footer {
    background: #0B0D10;
    color: rgba(255,255,255,0.75);
    padding: 56px 0 28px;
}
.pe-newsletter {
    padding-bottom: 48px; margin-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.pe-newsletter__row {
    display: grid; grid-template-columns: 1fr;
    gap: 24px; align-items: center;
}
.pe-newsletter__row h3 {
    color: #fff;
    font-family: 'Cambay', sans-serif;
    font-weight: 400;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.1; letter-spacing: -0.02em;
}
.pe-newsletter__row h3 em { font-weight: 700; }
.pe-newsletter__sub {
    color: rgba(255,255,255,0.55);
    font-size: 14px; margin-top: 10px;
}
.pe-newsletter__form {
    display: flex; gap: 10px; flex-wrap: wrap;
}
.pe-newsletter__form input {
    flex: 1; min-width: 220px;
    height: 54px; padding: 0 20px;
    font-size: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff; border-radius: 12px;
    outline: 0; font-family: inherit;
}
.pe-newsletter__form input::placeholder { color: rgba(255,255,255,0.4); }
.pe-newsletter__form input:focus {
    border-color: #1FB6FF;
    background: rgba(255,255,255,0.08);
}
@media (min-width: 880px) {
    .pe-newsletter__row { grid-template-columns: 1.2fr 1fr; gap: 48px; }
}

.pe-footer__main {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 32px; margin-bottom: 48px;
}
@media (min-width: 880px)  { .pe-footer__main { grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; } }
@media (min-width: 1280px) { .pe-footer__main { gap: 48px; } }
.pe-footer__brand .custom-logo,
.pe-footer__brand .custom-logo-link img {
    max-height: 64px; width: auto; height: auto;
    filter: brightness(0) invert(1);
}
.pe-footer__desc {
    font-size: 13px; line-height: 1.6;
    margin: 18px 0;
    color: rgba(255,255,255,0.55);
    max-width: 320px;
}
.pe-footer__contact { margin-top: 20px; }
.pe-footer__contact .pe-overline {
    font-size: 11px; color: rgba(255,255,255,0.4);
    letter-spacing: 0.08em; text-transform: uppercase;
    margin-bottom: 8px;
}
.pe-footer__wa {
    color: #fff; font-size: 13.5px;
    display: inline-flex; align-items: center; gap: 8px;
}
.pe-footer__email {
    font-size: 13.5px; color: rgba(255,255,255,0.7);
    margin-top: 4px;
}
.pe-footer__heading {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 13px; font-weight: 700;
    margin: 0 0 16px;
}
.pe-footer__menu {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 10px;
    font-size: 13px;
}
.pe-footer__menu a { color: rgba(255,255,255,0.55); transition: color .15s; }
.pe-footer__menu a:hover { color: #fff; }

.pe-footer__social {
    display: flex; gap: 8px; margin-top: 18px;
}
.pe-social {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: transparent;
    color: rgba(255,255,255,0.7);
    display: inline-flex; align-items: center; justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; font-weight: 700;
    text-decoration: none;
    transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.pe-social:hover {
    background: rgba(255,255,255,0.08);
    color: #fff; border-color: rgba(255,255,255,0.3);
    transform: translateY(-1px);
}
.pe-social--wa::before        { content: "WA"; }
.pe-social--instagram::before { content: "IG"; }
.pe-social--fb::before        { content: "FB"; }
.pe-social--youtube::before   { content: "YT"; }

.pe-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 22px;
}
.pe-footer__bottom-row {
    display: flex; flex-direction: column;
    gap: 14px;
    justify-content: space-between; align-items: flex-start;
    font-size: 12px; color: rgba(255,255,255,0.45);
}
.pe-footer__legal { display: flex; flex-direction: column; gap: 4px; }
.pe-footer__pay {
    display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}
.pe-paychip {
    padding: 3px 8px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 4px;
    font-size: 10.5px;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.04em;
}
@media (min-width: 880px) {
    .pe-footer__bottom-row { flex-direction: row; align-items: center; }
    .pe-footer__legal { flex-direction: row; gap: 18px; }
}

/* ─── Mobile bottom tabbar ──────────────────────────────── */
.pe-tabbar {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid #F1F3F5;
    display: grid; grid-template-columns: repeat(4, 1fr);
    padding: 8px 4px env(safe-area-inset-bottom, 12px);
    z-index: 200;
    backdrop-filter: blur(10px);
}
.pe-tabbar__item {
    display: flex; flex-direction: column;
    align-items: center; gap: 4px;
    padding: 6px 4px;
    color: #6B7280;
    text-decoration: none;
    position: relative;
    font-size: 10px;
}
.pe-tabbar .pe-tabbar__item svg,
nav.pe-tabbar a.pe-tabbar__item > svg {
    width: 22px !important; height: 22px !important;
    flex-shrink: 0;
}
.pe-tabbar__item.is-active { color: #0E7FBF; }
.pe-tabbar__item span { font-size: 10.5px; font-weight: 500; line-height: 1; }
.pe-tabbar__badge {
    position: absolute; top: 0; right: 24%;
    background: #1FB6FF; color: #fff;
    font-size: 9px; font-weight: 700;
    min-width: 15px; height: 15px; padding: 0 4px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
@media (min-width: 880px) {
    .pe-tabbar { display: none; }
    body { padding-bottom: 0; }
}
@media (max-width: 879px) { body { padding-bottom: 76px; } }

/* ─── 404 page ──────────────────────────────────────────── */
.pe-404 {
    padding: 80px 0 64px;
    text-align: center;
    min-height: 600px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    background:
        radial-gradient(ellipse at 50% 30%, #E6F4FB 0%, transparent 55%),
        #fff;
}
.pe-404__inner {
    display: flex; flex-direction: column;
    align-items: center; gap: 16px;
    max-width: 600px;
}
.pe-404__number {
    font-family: 'Cambay', sans-serif;
    font-weight: 700;
    font-size: clamp(140px, 22vw, 220px);
    letter-spacing: -0.04em; line-height: 1;
    background: linear-gradient(180deg, #0B0D10 0%, #9CA3AF 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}
.pe-404__cta {
    display: flex; gap: 10px; flex-wrap: wrap;
    justify-content: center; margin-top: 28px;
}
.pe-404__help {
    margin-top: 56px;
    padding: 22px 28px;
    background: rgba(255,255,255,0.7);
    border: 1px solid #F1F3F5;
    border-radius: 14px;
    font-size: 13.5px; color: #6B7280;
    max-width: 560px;
}
.pe-404__help a { color: #0E7FBF; font-weight: 600; }

/* ─── Single article (single.php) ───────────────────────── */
.pe-article__grid {
    display: grid; grid-template-columns: 1fr; gap: 40px;
    padding: 24px 0 48px;
}
@media (min-width: 1280px) {
    .pe-article__grid { grid-template-columns: minmax(0, 720px) 320px; gap: 64px; }
}
.pe-article__main {
    display: flex; flex-direction: column;
    gap: 22px;
    max-width: 720px;
}
.pe-article__meta { display: flex; gap: 8px; flex-wrap: wrap; }
.pe-article__title {
    font-family: 'Cambay', sans-serif;
    font-weight: 400;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.05; letter-spacing: -0.025em;
}
.pe-article__byline {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 0;
    border-top: 1px solid #F1F3F5;
    border-bottom: 1px solid #F1F3F5;
}
.pe-article__author { flex: 1; }
.pe-article__author-name { font-size: 13.5px; font-weight: 600; }
.pe-article__author-meta { font-size: 12px; color: #6B7280; margin-top: 2px; }
.pe-article__share { display: flex; gap: 6px; }
.pe-article__share button {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid #E5E7EB;
    background: #fff; color: #6B7280;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s, color .15s;
}
.pe-article__share button:hover { background: #F7F8FA; color: #0B0D10; }
.pe-article__hero {
    margin: 0; border-radius: 14px;
    overflow: hidden; aspect-ratio: 16/9;
    background: #F7F8FA;
}
.pe-article__hero img { width: 100%; height: 100%; object-fit: cover; }
.pe-article__body { font-size: 16px; line-height: 1.7; color: #2B2F36; }
.pe-article__body h2 { font-size: clamp(22px, 3vw, 30px); margin-top: 1.6em; margin-bottom: 0.4em; }
.pe-article__body h3 { font-size: clamp(18px, 2.4vw, 22px); margin-top: 1.4em; margin-bottom: 0.4em; }
.pe-article__body p { margin: 0 0 1.1em; }
.pe-article__body a { color: #0E7FBF; text-decoration: underline; }
.pe-article__body blockquote {
    margin: 1.5em 0;
    padding: 6px 20px;
    border-left: 3px solid #1FB6FF;
    font-family: 'Cambay', sans-serif;
    font-size: 20px; line-height: 1.4;
}
.pe-article__tags {
    display: flex; gap: 10px; flex-wrap: wrap;
    padding-top: 24px; border-top: 1px solid #F1F3F5;
    font-size: 13px; color: #6B7280;
}
.pe-article__tags a {
    color: #0E7FBF; background: #E6F4FB;
    padding: 4px 10px; border-radius: 6px; font-weight: 600;
}
.pe-article__side {
    display: flex; flex-direction: column; gap: 24px;
}
.pe-side-promo {
    background: #F7F8FA; border: 1px solid #F1F3F5;
    border-radius: 14px; padding: 22px;
    display: flex; flex-direction: column; gap: 12px;
}
.pe-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #0B0D10; color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: 'Cambay', sans-serif;
    font-weight: 700; font-size: 15px;
}

/* ─── Search results ────────────────────────────────────── */
.pe-search-results {
    display: flex; flex-direction: column; gap: 18px;
    max-width: 800px;
}
.pe-search-card {
    border: 1px solid #F1F3F5;
    border-radius: 14px;
    padding: 20px 22px;
    background: #fff;
    transition: box-shadow .15s, border-color .15s;
}
.pe-search-card:hover {
    box-shadow: 0 8px 24px rgba(11,13,16,0.06);
    border-color: #E5E7EB;
}
.pe-search-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 17px; font-weight: 600;
    color: #0E7FBF; line-height: 1.3;
    margin: 0 0 6px;
}
.pe-search-card p { font-size: 13.5px; color: #2B2F36; line-height: 1.5; margin: 0; }
.pe-search-card__url {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px; color: #9CA3AF;
    margin-top: 10px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pe-empty { padding: 56px 16px; text-align: center; color: #6B7280; }
.pe-empty h2 { font-family: 'Cambay', sans-serif; font-size: 28px; margin-bottom: 10px; }
.pe-empty p { margin-bottom: 24px; }

.pe-searchform {
    display: flex; gap: 8px;
    background: #F7F8FA;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 8px 10px 8px 14px;
    align-items: center;
    max-width: 480px;
}
.pe-searchform svg { color: #6B7280; }
.pe-searchform input {
    flex: 1; outline: 0; border: 0;
    background: transparent;
    font: inherit; font-size: 14px;
}
.pe-searchform button {
    background: #0B0D10; color: #fff;
    padding: 8px 14px;
    font-size: 12px; font-weight: 600;
    border-radius: 6px;
}

/* ─── Page (page.php) ───────────────────────────────────── */
.pe-page__content {
    font-size: 16px; line-height: 1.7; color: #2B2F36;
    max-width: 720px;
}
.pe-page__content h2, .pe-page__content h3 { margin-top: 1.4em; margin-bottom: 0.4em; }
.pe-page__content a { color: #0E7FBF; text-decoration: underline; }
.pe-page-title {
    font-family: 'Cambay', sans-serif;
    font-weight: 400;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1; letter-spacing: -0.02em;
}
.pe-page-title em { font-weight: 700; }
.pe-page-sub { font-size: 15px; color: #6B7280; max-width: 640px; margin: 8px 0 0; }
.pe-page-head {
    display: flex; flex-direction: column; gap: 14px;
    align-items: flex-start;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #F1F3F5;
}

/* ─── CEP calculator (single product) ───────────────────── */
.pe-cep {
    margin-top: 22px;
    padding: 20px 22px;
    border-radius: 14px;
    border: 1px solid #E5E7EB;
    background: #F7F8FA;
}
.pe-cep__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.pe-cep__head svg { color: #0E7FBF; }
.pe-cep__head span { font-size: 14px; font-weight: 600; }
.pe-cep__nocep { margin-left: auto; font-size: 11.5px; color: #0E7FBF; font-weight: 600; }
.pe-cep__form { display: flex; gap: 8px; }
.pe-cep__form input {
    flex: 1; outline: 0;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    font-family: 'JetBrains Mono', monospace;
    background: #fff;
}
.pe-cep__form input:focus {
    border-color: #1FB6FF;
    box-shadow: 0 0 0 3px #E6F4FB;
}
.pe-cep__results { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.pe-cep__option {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 14px;
    background: #fff;
    border: 1.5px solid #F1F3F5;
    border-radius: 10px;
    cursor: pointer;
}
.pe-cep__option.is-selected { border-color: #1FB6FF; background: #E6F4FB; }
.pe-cep__option-body { flex: 1; }
.pe-cep__option-label { font-size: 13px; font-weight: 600; }
.pe-cep__option-sub { font-size: 11.5px; color: #6B7280; margin-top: 2px; }
.pe-cep__option-price { font-size: 14px; font-weight: 700; }
.pe-cep__option-price--free { color: #0E9F6E; }
.pe-cep__loading { color: #6B7280; font-size: 13px; padding: 10px 0; }
.pe-cep__error { color: #E53935; font-size: 13px; padding: 10px 0; }

/* ─── Cart (woocommerce/cart/cart.php) ──────────────────── */
.woocommerce:has(.pe-cart-empty) > .wc-empty-cart-message,
.woocommerce:has(.pe-cart-empty) > p.return-to-shop,
.elementor-widget-woocommerce-cart .wc-empty-cart-message,
.elementor-widget-woocommerce-cart > .return-to-shop { display: none; }

.pe-cart { padding: 24px 0 48px; }
.pe-cart__head {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #F1F3F5;
}
.pe-cart__sub {
    color: #6B7280;
    font-size: 14px; margin-top: 6px;
    font-family: 'JetBrains Mono', monospace;
}
.pe-cart__grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 880px) {
    .pe-cart__grid { grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
}
.pe-cart__items { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 880px) {
    .pe-cart__side { position: sticky; top: 96px; }
}
.pe-cart__bottom {
    display: flex; gap: 16px; flex-wrap: wrap;
    align-items: flex-start;
    margin-top: 22px; padding-top: 22px;
    border-top: 1px solid #F1F3F5;
}
.pe-cart__coupon { flex: 1; min-width: 260px; display: flex; flex-direction: column; gap: 8px; }
.pe-cart__coupon label { font-size: 12.5px; color: #6B7280; font-weight: 600; }
.pe-cart__coupon-row { display: flex; gap: 8px; }
.pe-cart__coupon-row input {
    flex: 1; outline: 0;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase; letter-spacing: 0.04em;
    background: #fff;
}
.pe-cart__coupon-row input:focus { border-color: #1FB6FF; box-shadow: 0 0 0 3px #E6F4FB; }

.pe-cart-row {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 16px;
    padding: 18px;
    background: #fff;
    border: 1px solid #F1F3F5;
    border-radius: 14px;
    align-items: start;
    transition: border-color .15s;
}
.pe-cart-row:hover { border-color: #E5E7EB; }
@media (min-width: 600px) { .pe-cart-row { grid-template-columns: 100px 1fr auto; gap: 22px; padding: 22px; } }
.pe-cart-row__media {
    width: 100%; aspect-ratio: 1/1;
    background: #F7F8FA;
    border-radius: 10px;
    overflow: hidden;
}
.pe-cart-row__media img, .pe-cart-row__media a {
    width: 100%; height: 100%;
    object-fit: contain; padding: 4px;
    display: block;
}
.pe-cart-row__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pe-cart-row__title { font-size: 14.5px; line-height: 1.35; font-weight: 500; }
.pe-cart-row__title a { color: #0B0D10; transition: color .15s; }
.pe-cart-row__title a:hover { color: #0E7FBF; }
.pe-cart-row__sku {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; color: #9CA3AF; letter-spacing: 0.04em;
}
.pe-cart-row__notice {
    font-size: 12px; color: #D9A400;
    background: #FFF5CC; padding: 4px 8px; border-radius: 4px;
    display: inline-block; margin: 4px 0;
}
.pe-cart-row__actions { display: flex; align-items: center; gap: 16px; margin-top: 6px; flex-wrap: wrap; }
.pe-cart-row__actions .quantity {
    display: inline-flex;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
.pe-cart-row__actions .quantity input.qty {
    width: 56px; height: 38px;
    outline: 0; border: 0;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px; font-weight: 600;
}
.pe-cart-row__remove {
    font-size: 12.5px; color: #6B7280;
    cursor: pointer; transition: color .15s;
}
.pe-cart-row__remove:hover { color: #E53935; }
.pe-cart-row__price {
    text-align: right;
    display: flex; flex-direction: column; gap: 4px;
    min-width: 96px;
}
.pe-cart-row__unit { font-size: 12px; color: #9CA3AF; }
.pe-cart-row__subtotal {
    font-family: 'Cambay', sans-serif;
    font-size: 18px; font-weight: 700; line-height: 1.1;
}
.pe-cart-row__subtotal .woocommerce-Price-amount { font: inherit; }

.pe-cart-totals {
    background: #fff;
    border: 1px solid #F1F3F5;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 12px 32px rgba(11,13,16,0.04);
}
.pe-cart-totals__head {
    display: flex; justify-content: space-between; align-items: center;
    font-family: 'Cambay', sans-serif;
    font-weight: 700; font-size: 20px;
    margin: 0 0 18px;
}
.pe-cart-totals__rows {
    display: flex; flex-direction: column; gap: 12px;
    padding: 18px 0;
    border-top: 1px dashed #E5E7EB;
    border-bottom: 1px dashed #E5E7EB;
}
.pe-cart-totals__row {
    display: flex; justify-content: space-between; align-items: baseline;
    font-size: 14px;
}
.pe-cart-totals__row > span:first-child { color: #6B7280; }
.pe-cart-totals__val { color: #0B0D10; font-weight: 600; }
.pe-cart-totals__row--coupon .pe-cart-totals__val { color: #0E9F6E; }
.pe-cart-totals__row--total {
    margin-top: 8px; padding-top: 14px;
    border-top: 1px solid #E5E7EB;
}
.pe-cart-totals__row--total > span:first-child {
    color: #0B0D10;
    font-family: 'Cambay', sans-serif;
    font-weight: 700; font-size: 18px;
}
.pe-cart-totals__row--total .pe-cart-totals__val {
    font-family: 'Cambay', sans-serif;
    font-size: 22px; font-weight: 700;
}
.pe-cart-totals__pix {
    margin-top: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #E6F4FB 0%, rgba(31,182,255,0.02) 100%);
    border: 1px solid rgba(31,182,255,0.35);
    border-radius: 10px;
}
.pe-cart-totals__pix-head {
    display: flex; align-items: center; gap: 8px;
    font-size: 13.5px;
}
.pe-cart-totals__pix-head strong {
    color: #0E7FBF;
    font-family: 'Cambay', sans-serif;
    font-size: 18px; margin-left: 2px;
}
.pe-cart-totals__pix-icon {
    width: 28px; height: 28px;
    background: #1FB6FF; color: #fff;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px;
}
.pe-cart-totals__pix-save {
    font-size: 12px; color: #0E7FBF;
    margin-top: 4px; padding-left: 36px;
    font-weight: 600;
}
.pe-cart-totals .wc-proceed-to-checkout { margin-top: 20px; }
.pe-cart-totals .wc-proceed-to-checkout .checkout-button {
    display: flex; align-items: center; justify-content: center;
    width: 100%; padding: 14px 18px;
    background: #0B0D10; color: #fff;
    border: 1px solid #0B0D10; border-radius: 10px;
    font-weight: 600; font-size: 15px;
    text-decoration: none;
    transition: background .15s, transform .15s;
}
.pe-cart-totals .wc-proceed-to-checkout .checkout-button:hover {
    background: #000; transform: translateY(-1px);
}
.pe-cart-totals__guarantees {
    margin-top: 18px;
    display: flex; flex-direction: column; gap: 6px;
    padding-top: 16px;
    border-top: 1px solid #F1F3F5;
}
.pe-cart-totals__guarantee { font-size: 12px; color: #6B7280; display: flex; align-items: center; gap: 8px; }

.pe-cart-empty {
    padding: 64px 16px;
    text-align: center;
    display: flex; flex-direction: column;
    align-items: center; gap: 18px;
    max-width: 520px; margin: 0 auto;
}
.pe-cart-empty__icon {
    width: 96px; height: 96px;
    border-radius: 50%;
    background: #F7F8FA;
    color: #6B7280;
    display: inline-flex; align-items: center; justify-content: center;
}
.pe-cart-empty .pe-h2 { font-family: 'Cambay', sans-serif; font-weight: 400; margin: 0; }
.pe-cart-empty__sub { color: #6B7280; font-size: 15px; line-height: 1.55; margin: 0; }
.pe-cart-empty__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* ─── WooCommerce element overrides ─────────────────────── */
.woocommerce-breadcrumb { display: none; }
.woocommerce-message,
.woocommerce-info {
    background: #E6F4FB;
    border-top: 3px solid #1FB6FF;
    color: #0E7FBF;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 13.5px;
}
.woocommerce-error {
    background: #FDECEA;
    border-top: 3px solid #E53935;
    color: #C62828;
    padding: 14px 20px;
    border-radius: 10px;
}
.woocommerce form .form-row label { font-size: 12px; font-weight: 600; color: #0B0D10; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    background: #fff;
    outline: 0;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    border-color: #1FB6FF;
    box-shadow: 0 0 0 3px #E6F4FB;
}
.woocommerce table.shop_table {
    border: 1px solid #F1F3F5;
    border-radius: 14px;
    overflow: hidden;
}

/* ─── Print ─────────────────────────────────────────────── */
@media print {
    .pe-promo, .pe-utility, .pe-header__actions, .pe-tabbar,
    .pe-footer, .pe-newsletter { display: none !important; }
    body { background: #fff; color: #000; }
}
