/* ============================================
   GAINZ WEAR — CYBERPUNK PREMIUM FITNESS
   Performance · Disciplina · Estética futurista
   ============================================ */

:root {
    /* ─── PALETA CYBERPUNK ────────────────────────────
       Roxo Neon  = branding / energia
       Azul       = tecnologia / contraste
       Verde Kelly = performance / impacto / CTA
       ────────────────────────────────────────────── */
    --black:        #050505;   /* preto profundo */
    --dark:         #0e0e10;   /* base secundária */
    --card:         #161618;   /* cards / camada 1 */
    --card-soft:    #1d1d20;   /* camada 2 (hover) */
    --border:       #26262b;   /* bordas sutis */
    --border-hover: #3a3a44;

    /* Acentos neon */
    --neon-purple:      #B100FF;
    --neon-purple-dim:  #5A00A8;
    --neon-purple-glow: rgba(177, 0, 255, 0.55);
    --neon-blue:        #0066FF;
    --neon-blue-glow:   #00B7FF;
    --neon-magenta:      #FF00B7;
    --neon-magenta-dim:  #cc0092;
    --neon-magenta-glow: #FF33C9;

    /* Action color (CTAs / "lime" legado mantido por compat. de nome) */
    --lime:       #FF00B7;       /* magenta neon — substituiu o verde kelly */
    --lime-dim:   #cc0092;
    --lime-hover: #FF33C9;

    /* Tipografia */
    --white:      #F2F2F2;       /* branco titanium */
    --light:      #c8c8d0;
    --gray:       #8c8c98;

    /* Sinalizadores */
    --red:        #ff3a4a;
    --yellow:     #ffc107;

    --radius:     0px;

    /* ─── ALIASES SEMÂNTICOS ─────────────────────── */
    --ink:        var(--white);
    --ink-soft:   var(--light);
    --paper:      var(--black);
    --paper-soft: var(--dark);
    --line:       var(--border);
    --line-soft:  var(--border);
    --mute:       var(--gray);
    --accent:     var(--neon-purple);   /* destaque principal */
    --action:     var(--lime);          /* CTAs / botões */
    --danger:     var(--red);
    --ok:         var(--lime);

    /* ─── EFEITOS NEON ──────────────────────────── */
    --glow-purple:  0 0 20px rgba(177, 0, 255, 0.45), 0 0 40px rgba(177, 0, 255, 0.2);
    --glow-blue:    0 0 18px rgba(0, 183, 255, 0.45);
    --glow-magenta: 0 0 20px rgba(255, 0, 183, 0.45), 0 0 40px rgba(255, 0, 183, 0.2);

    --ff-display: 'Archivo Black', 'Helvetica Neue', sans-serif;
    --ff-mono: 'Space Mono', 'Courier New', monospace;
    --ff-sans: 'Inter', 'Helvetica Neue', sans-serif;

    --ease: cubic-bezier(.2, .7, .2, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);

    --maxw: 1440px;
    --pad: clamp(16px, 4vw, 56px);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /* Remove o flash azul/cinza padrão do toque em Android/iOS */
    -webkit-tap-highlight-color: transparent;
}

/* Remove também o outline azul de focus que aparece no toque
   (mantemos só pra navegação por teclado via :focus-visible) */
button:focus, a:focus, [onclick]:focus { outline: none; }
button:focus-visible, a:focus-visible {
    outline: 2px solid var(--neon-purple);
    outline-offset: 2px;
}

html { scroll-behavior: smooth; }

/* ============================================
   SISTEMA DE CURSOR
   - default (setinha) em qualquer lugar
   - pointer (mãozinha) só onde clica
   - text (I-beam) só em campos de input
============================================ */
html, body { cursor: default; }

a, button, label[for], select,
[role="button"], [onclick], [data-action], [data-href],
input[type="checkbox"], input[type="radio"], input[type="submit"],
input[type="reset"], input[type="button"], input[type="file"],
.btn, .product-card, .product-card *, .product-fav, .product-fav *,
.athlete-nav-tab, .athlete-nav-tab *, .pay-method, .pay-method *,
.freight-option, .freight-option *,
.size-option, .color-swatch, .icon-btn, .icon-btn *,
.modal-close, .drawer-close, .nav-item,
.size-pill, .athlete-tab, .account-tab,
.size-btn, .qty-btn, .view-arrow,
.log-entry, .product-quick-buy, .filter-bar select,
.spec-card, .hero-scroll-hint, .hero-scroll-hint *,
.password-toggle, .btn-link, .btn-logout,
.address-card, .address-card *,
summary, [tabindex="0"] {
    cursor: pointer;
}

input[type="text"], input[type="email"], input[type="password"],
input[type="tel"], input[type="search"], input[type="number"],
input[type="url"], input[type="date"], textarea {
    cursor: text;
}

button:disabled, .btn:disabled, [disabled],
input:disabled, select:disabled, textarea:disabled {
    cursor: not-allowed;
}

body {
    font-family: var(--ff-sans);
    background:
        radial-gradient(ellipse 80% 50% at 0% 0%, rgba(177, 0, 255, 0.06), transparent 60%),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(0, 102, 255, 0.05), transparent 60%),
        var(--paper);
    color: var(--ink);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100vw;
}

html { overflow-x: hidden; }

img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font: inherit; }

/* ============ HEADER ============ */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(5, 5, 5, 0.85);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.header.scrolled {
    background: rgba(5, 5, 5, 0.95);
    border-bottom-color: var(--neon-purple-dim);
    box-shadow: 0 4px 24px rgba(177, 0, 255, 0.08);
}

/* Compensa altura fixa do header — sem isso o conteúdo fica atrás */
body { padding-top: 72px; }
@media (max-width: 768px) { body { padding-top: 64px; } }

/* ════════════════════════════════════════════════
   PERFORMANCE EM MOBILE
   - backdrop-filter blur custa muito GPU em celular
   - será desativado em telas pequenas em troca de
     fundo opaco sólido (visualmente quase idêntico)
═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .header,
    .hero-statusbar,
    .hero-data-ticker,
    .hero-tag,
    .modal-overlay,
    .drawer-overlay {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    /* Sem o blur, o fundo precisa ser mais opaco pra compensar */
    .header           { background: rgba(5, 5, 5, 0.96); }
    .header.scrolled  { background: rgba(5, 5, 5, 0.98); }
    .hero-statusbar   { background: rgba(5, 5, 5, 0.85); }
    .hero-data-ticker { background: rgba(5, 5, 5, 0.85); }

    /* Modal ocupa quase tela toda no celular pra não criar overflow */
    .modal-overlay { padding: 8px; }
    .modal { max-height: calc(100dvh - 16px); }
}

/* Trava global de overflow horizontal */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

.header-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 18px var(--pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ff-display);
    font-size: 20px;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.logo-mark {
    font-size: 22px;
    transform: rotate(-10deg);
    display: inline-block;
    color: var(--neon-purple);
    text-shadow: 0 0 12px rgba(177, 0, 255, 0.6);
}

.logo-text em {
    font-style: normal;
    color: var(--gray);
}

.nav-desktop {
    display: flex;
    gap: 28px;
    font-family: var(--ff-mono);
    font-size: 12px;
    letter-spacing: 0.05em;
}

.nav-desktop a {
    position: relative;
    padding: 6px 2px;
    transition: color 0.25s var(--ease), text-shadow 0.25s var(--ease), letter-spacing 0.25s var(--ease);
}

/* Marcador "/" antes do texto que aparece no hover */
.nav-desktop a::before {
    content: '/';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translate(-6px, -50%);
    color: var(--neon-purple);
    opacity: 0;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
    font-weight: 700;
    text-shadow: 0 0 8px rgba(177, 0, 255, 0.6);
}

/* Linha embaixo (gradient roxo→azul) */
.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 1px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-blue-glow));
    box-shadow: 0 0 10px rgba(177, 0, 255, 0.5);
    transition: width 0.3s var(--ease);
}

.nav-desktop a:hover {
    color: var(--neon-purple);
    text-shadow: 0 0 12px rgba(177, 0, 255, 0.5);
    letter-spacing: 0.08em;
}
.nav-desktop a:hover::before {
    opacity: 1;
    transform: translate(0, -50%);
}
.nav-desktop a:hover::after { width: 100%; }

.header-actions {
    display: flex;
    gap: 4px;
    align-items: center;
}

.icon-btn {
    width: 40px; height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    transition: background 0.2s;
    position: relative;
}

.icon-btn:hover { background: var(--paper-soft); }
.icon-btn svg { width: 20px; height: 20px; }

.cart-btn .cart-count {
    position: absolute;
    top: 2px; right: 2px;
    background: var(--lime);
    color: var(--white);
    font-family: var(--ff-mono);
    font-size: 10px;
    min-width: 18px; height: 18px;
    padding: 0 5px;
    box-shadow: 0 0 8px rgba(255, 0, 183, 0.6);
    border-radius: 9px;
    display: grid;
    place-items: center;
    font-weight: 700;
}

.fav-btn .fav-count {
    position: absolute;
    top: 2px; right: 2px;
    background: var(--red);
    color: var(--white);
    font-family: var(--ff-mono);
    font-size: 10px;
    min-width: 18px; height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    font-weight: 700;
}

.fav-btn:hover { color: var(--red); }

.mobile-menu-btn { display: none; }

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 20px var(--pad);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    font-family: var(--ff-mono);
    font-size: 14px;
}
.mobile-menu.active { display: flex; }
.mobile-menu a { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }

/* ============ HERO ============ */
/* ═════════════════════════════════════════════════
   HERO — DASHBOARD CYBERPUNK
   Full-bleed, status bar topo, glitch text,
   data ticker no rodapé, mouse-follow spotlight
═════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: calc(100vh - 72px);
    margin: -8px calc(50% - 50vw) 0;
    width: 100vw;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--paper);
    isolation: isolate;
}

/* Pausa todas as animações do hero quando ele está fora da viewport.
   Aplicado via IntersectionObserver no JS — economiza GPU enquanto
   o usuário está rolando ou navegando outras seções. */
.hero.hero-paused .hero-scan,
.hero.hero-paused .data-ticker-track,
.hero.hero-paused .hl-glitch-aux-1,
.hero.hero-paused .hl-glitch-aux-2,
.hero.hero-paused .hsb-dot,
.hero.hero-paused .spec-pulse,
.hero.hero-paused .scroll-line::after {
    animation-play-state: paused;
}

/* ─── CAMADAS DE FUNDO ───────────────────────── */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-grid-pattern {
    position: absolute;
    inset: -1px;
    background-image:
        linear-gradient(rgba(177, 0, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 183, 255, 0.06) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 90%);
    opacity: 0.85;
}
/* Linha de scan que desce a tela */
.hero-scan {
    position: absolute;
    top: 0;
    left: 0; right: 0;
    height: 200px;
    background: linear-gradient(
        180deg,
        transparent,
        rgba(177, 0, 255, 0.08) 45%,
        rgba(0, 183, 255, 0.16) 50%,
        rgba(177, 0, 255, 0.08) 55%,
        transparent
    );
    animation: hero-scan 10s linear infinite;
    will-change: transform;
}
@keyframes hero-scan {
    /* Usa transform em vez de top — não causa reflow */
    0%   { transform: translate3d(0, -100%, 0); opacity: 0.6; }
    50%  { opacity: 1; }
    100% { transform: translate3d(0, calc(100vh + 200px), 0); opacity: 0.6; }
}
/* Spotlight que segue o mouse — bem mais barato:
   um div com gradient FIXO movido por transform (GPU-accelerated)
   em vez de re-renderizar um radial-gradient a cada frame. */
.hero-spotlight {
    position: absolute;
    top: 0; left: 0;
    width: 480px;
    height: 480px;
    margin-top: -240px;
    margin-left: -240px;
    pointer-events: none;
    background: radial-gradient(
        circle,
        rgba(255, 0, 183, 0.18),
        rgba(177, 0, 255, 0.08) 35%,
        transparent 65%
    );
    will-change: transform;
    transform: translate3d(50vw, 30vh, 0);
    transition: transform 0.18s ease-out;
}
@media (hover: none) {
    /* Touch devices: sem mouse → esconde o spotlight */
    .hero-spotlight { display: none; }
}
/* Granulado/noise sutil */
.hero-noise {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ─── BARRA DE STATUS DO TOPO ───────────────── */
.hero-statusbar {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding: 18px var(--pad);
    border-bottom: 1px solid var(--border);
    background: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(8px);
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--ink-soft);
}
.hsb-cell {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.hsb-time { margin-left: auto; color: var(--mute); }
.hsb-tag {
    color: var(--neon-purple);
    font-weight: 700;
    text-shadow: 0 0 8px rgba(177, 0, 255, 0.4);
}
.hsb-version { color: var(--neon-blue-glow); }
.hsb-dot {
    width: 8px; height: 8px;
    background: var(--lime);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--lime), 0 0 18px rgba(255, 0, 183, 0.6);
    animation: hero-pulse 2.2s var(--ease) infinite;
}
@keyframes hero-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.45; transform: scale(1.4); }
}

/* ─── CONTEÚDO PRINCIPAL ────────────────────── */
.hero-main {
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: var(--maxw);
    width: 100%;
    margin: 0 auto;
    padding: clamp(48px, 8vw, 120px) var(--pad) clamp(40px, 6vw, 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-meta-line {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--ink-soft);
    margin-bottom: 28px;
}
.hero-meta-num {
    color: var(--neon-purple);
    font-weight: 700;
    text-shadow: 0 0 8px rgba(177, 0, 255, 0.4);
}
.hero-meta-bar {
    flex: 1;
    max-width: 200px;
    height: 1px;
    background: linear-gradient(90deg, var(--neon-purple), transparent);
}

/* ─── HEADLINE COM GLITCH ───────────────────── */
.hero-headline {
    font-family: var(--ff-display);
    font-size: clamp(42px, 9vw, 132px);
    line-height: 0.92;
    letter-spacing: -0.045em;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 1100px;
}
.hl-static {
    color: var(--ink);
}
.hl-glitch {
    position: relative;
    display: inline-block;
    color: var(--ink);
}
.hl-glitch-front {
    position: relative;
    z-index: 3;
    color: transparent;
    -webkit-text-stroke: 2px var(--neon-purple);
    text-shadow:
        0 0 22px rgba(177, 0, 255, 0.5),
        0 0 60px rgba(177, 0, 255, 0.25);
}
.hl-glitch-aux {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    pointer-events: none;
    user-select: none;
}
.hl-glitch-aux-1 {
    z-index: 1;
    color: var(--neon-blue-glow);
    text-shadow: 0 0 12px rgba(0, 183, 255, 0.5);
    transform: translate(-3px, 2px);
    clip-path: polygon(0 0, 100% 0, 100% 38%, 0 38%);
    animation: glitch-1 4.5s steps(2, jump-none) infinite;
}
.hl-glitch-aux-2 {
    z-index: 2;
    color: var(--lime);
    text-shadow: 0 0 12px rgba(255, 0, 183, 0.5);
    transform: translate(3px, -2px);
    clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
    animation: glitch-2 4.5s steps(2, jump-none) infinite;
}
@keyframes glitch-1 {
    0%, 88%, 100% { transform: translate(-3px, 2px); opacity: 0.9; }
    90% { transform: translate(-6px, 0); opacity: 1; }
    92% { transform: translate(-2px, 3px); }
    94% { transform: translate(-8px, -1px); }
    96% { transform: translate(-3px, 2px); }
}
@keyframes glitch-2 {
    0%, 88%, 100% { transform: translate(3px, -2px); opacity: 0.9; }
    91% { transform: translate(6px, 1px); opacity: 1; }
    93% { transform: translate(1px, -3px); }
    95% { transform: translate(8px, 2px); }
    97% { transform: translate(3px, -2px); }
}

.hero-sub {
    font-size: 16px;
    max-width: 540px;
    color: var(--ink-soft);
    margin: 0 0 40px;
    line-height: 1.65;
    font-family: var(--ff-mono);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.hero-sub-prefix {
    color: var(--neon-purple);
    font-weight: 700;
    flex-shrink: 0;
    text-shadow: 0 0 8px rgba(177, 0, 255, 0.4);
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ─── DATA TICKER NO RODAPÉ ─────────────────── */
.hero-data-ticker {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(8px);
    overflow: hidden;
    padding: 14px 0;
}
.data-ticker-track {
    display: flex;
    gap: 32px;
    white-space: nowrap;
    align-items: center;
    animation: ticker 45s linear infinite;
    font-family: var(--ff-mono);
    font-size: 12px;
    letter-spacing: 0.15em;
}
.data-cell {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
}
.data-label {
    color: var(--mute);
    font-size: 10px;
    letter-spacing: 0.2em;
}
.data-value {
    color: var(--ink);
    font-family: var(--ff-display);
    font-size: 14px;
    letter-spacing: -0.01em;
}
.data-trend {
    color: var(--lime);
    font-size: 10px;
    letter-spacing: 0.05em;
}
.data-divider {
    color: var(--neon-purple);
    text-shadow: 0 0 8px rgba(177, 0, 255, 0.5);
}

/* ─── INDICADOR DE SCROLL ───────────────────── */
.hero-scroll-hint {
    position: absolute;
    right: clamp(16px, 4vw, 56px);
    bottom: 80px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    background: transparent;
    border: 0;
    color: var(--ink-soft);
    cursor: pointer;
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.3em;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    padding: 0;
    transition: color 0.2s;
}
.hero-scroll-hint:hover { color: var(--neon-purple); }
.hero-scroll-hint .scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, transparent, var(--neon-purple));
    position: relative;
    overflow: hidden;
}
.hero-scroll-hint .scroll-line::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 18px;
    background: var(--neon-purple);
    box-shadow: 0 0 8px var(--neon-purple);
    animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
    0%, 100% { transform: translateY(-100%); opacity: 0; }
    50%      { transform: translateY(280%); opacity: 1; }
}

@media (max-width: 768px) {
    .hero { min-height: calc(100vh - 64px); }
    .hero-statusbar { font-size: 9px; gap: 14px; padding: 14px var(--pad); }
    .hsb-time { display: none; }
    .hero-headline { font-size: clamp(40px, 13vw, 72px); }
    .hero-scroll-hint { display: none; }
    .data-ticker-track { animation-duration: 35s; }

    /* Stroke do glitch — bem mais fino e glow mais suave em mobile */
    .hl-glitch-front {
        -webkit-text-stroke: 1px var(--neon-purple);
        text-shadow:
            0 0 8px rgba(177, 0, 255, 0.4),
            0 0 22px rgba(177, 0, 255, 0.15);
    }
    .hl-glitch-aux-1 {
        text-shadow: 0 0 6px rgba(0, 183, 255, 0.35);
        transform: translate(-1.5px, 1px);
    }
    .hl-glitch-aux-2 {
        text-shadow: 0 0 6px rgba(255, 0, 183, 0.35);
        transform: translate(1.5px, -1px);
    }
    /* Reduz amplitude do micro-glitch também */
    @keyframes glitch-1 {
        0%, 88%, 100% { transform: translate(-1.5px, 1px); }
        90% { transform: translate(-3px, 0); }
        92% { transform: translate(-1px, 1.5px); }
        94% { transform: translate(-4px, -0.5px); }
        96% { transform: translate(-1.5px, 1px); }
    }
    @keyframes glitch-2 {
        0%, 88%, 100% { transform: translate(1.5px, -1px); }
        91% { transform: translate(3px, 0.5px); }
        93% { transform: translate(0.5px, -1.5px); }
        95% { transform: translate(4px, 1px); }
        97% { transform: translate(1.5px, -1px); }
    }
}

@media (max-width: 480px) {
    /* Em telas bem pequenas o stroke de 1px ainda fica pesado.
       Trocamos por texto sólido com leve glow — mais legível. */
    .hl-glitch-front {
        color: var(--neon-purple);
        -webkit-text-stroke: 0;
        text-shadow: 0 0 14px rgba(177, 0, 255, 0.6);
    }
    .hl-glitch-aux-1, .hl-glitch-aux-2 {
        opacity: 0.45;
    }
}

.btn {
    padding: 16px 28px;
    font-family: var(--ff-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    font-weight: 700;
    border: 1px solid var(--white);
    transition: all 0.25s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.btn-primary {
    background: var(--lime);
    color: var(--white);
    border-color: var(--lime);
    box-shadow: 0 0 14px rgba(255, 0, 183, 0.35);
}
.btn-primary:hover {
    background: var(--lime-hover);
    border-color: var(--lime-hover);
    color: var(--white);
    box-shadow: 0 0 28px rgba(255, 0, 183, 0.55), 0 0 60px rgba(177, 0, 255, 0.2);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: var(--border);
}
.btn-ghost:hover {
    background: transparent;
    color: var(--neon-blue-glow);
    border-color: var(--neon-blue-glow);
    box-shadow: 0 0 18px rgba(0, 183, 255, 0.35), inset 0 0 8px rgba(0, 102, 255, 0.1);
}

.btn-full { width: 100%; justify-content: center; }

/* Animação genérica de ticker */
@keyframes ticker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Botão arrow com transition no hover */
.btn-arrow {
    display: inline-block;
    transition: transform 0.25s var(--ease);
}
.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ============ MARQUEE ============ */
.marquee {
    background: linear-gradient(90deg, var(--neon-purple) 0%, var(--neon-blue) 100%);
    color: var(--white);
    border-top: 1px solid var(--neon-purple);
    border-bottom: 1px solid var(--neon-blue);
    padding: 18px 0;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(177, 0, 255, 0.3);
}
.marquee-inner {
    display: flex;
    gap: 48px;
    white-space: nowrap;
    font-family: var(--ff-display);
    font-size: 15px;
    letter-spacing: 0.05em;
    animation: ticker 30s linear infinite;
}

/* ============ PRODUTOS ============ */
.products-section {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: clamp(48px, 8vw, 96px) var(--pad);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.section-kicker {
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--neon-purple);
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--ff-display);
    font-size: clamp(36px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -0.03em;
}

.filter-bar select {
    padding: 10px 32px 10px 14px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--white);
    font-family: var(--ff-mono);
    font-size: 12px;
    letter-spacing: 0.05em;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2300ff41' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
    transition: border-color 0.2s;
}
.filter-bar select:hover { border-color: var(--lime); }
.filter-bar select option { background: var(--dark); color: var(--white); }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 40px 24px;
}

.product-card {
    cursor: pointer;
    transition: transform 0.3s var(--ease);
}

.product-card:hover { transform: translateY(-4px); }

.product-image {
    aspect-ratio: 3/4;
    background: var(--card);
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    transition: border-color 0.3s var(--ease);
}

.product-card:hover .product-image {
    border-color: var(--neon-purple);
    box-shadow: 0 0 24px rgba(177, 0, 255, 0.25);
}

.product-image svg {
    width: 100%; height: 100%;
    transition: transform 0.5s var(--ease);
}
.product-card:hover .product-image svg { transform: scale(1.05); }

.product-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--lime);
    color: var(--white);
    font-family: var(--ff-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 6px 10px;
    z-index: 2;
}

.product-fav {
    position: absolute;
    top: 12px; right: 12px;
    width: 36px; height: 36px;
    background: var(--card);
    color: var(--white);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: grid;
    place-items: center;
    z-index: 2;
    transition: all 0.2s;
    cursor: pointer;
}
.product-fav:hover {
    background: var(--lime);
    color: var(--white);
    border-color: var(--lime);
}
.product-fav svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease-out); }
.product-fav.active {
    background: var(--card);
    color: var(--red);
    border-color: var(--red);
}
.product-fav.active:hover {
    background: var(--red);
    color: var(--white);
}
.product-fav.active svg { animation: fav-pop 0.4s var(--ease-out); }

@keyframes fav-pop {
    0% { transform: scale(1); }
    40% { transform: scale(1.35); }
    100% { transform: scale(1); }
}

/* Favorito no modal de detalhe - maior */
.product-fav-detail {
    width: 44px; height: 44px;
}
.product-fav-detail svg { width: 20px; height: 20px; }

.product-detail-actions {
    display: flex;
    gap: 10px;
    align-items: stretch;
}
.btn-fav-detail {
    width: 56px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--white);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-fav-detail svg { width: 20px; height: 20px; }
.btn-fav-detail:hover {
    border-color: var(--red);
    color: var(--red);
}
.btn-fav-detail.active {
    border-color: var(--red);
    color: var(--red);
}
.btn-fav-detail.active:hover {
    background: var(--red);
    color: var(--white);
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-cat {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    color: var(--mute);
    text-transform: uppercase;
}

.product-name {
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -0.01em;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 2px;
}

.product-price {
    font-family: var(--ff-mono);
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
}

.product-price-old {
    font-family: var(--ff-mono);
    font-size: 12px;
    color: var(--gray);
    text-decoration: line-through;
}

/* ============ FEATURES ============ */
.features {
    background: var(--dark);
    color: var(--white);
    padding: clamp(48px, 8vw, 96px) var(--pad);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    max-width: var(--maxw);
    margin: 0 auto;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.feature { position: relative; }

.feature-num {
    font-family: var(--ff-display);
    font-size: 48px;
    color: transparent;
    -webkit-text-stroke: 1px var(--lime);
    display: block;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.feature h3 {
    font-family: var(--ff-display);
    font-size: 16px;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    color: var(--lime);
}

.feature p {
    font-size: 14px;
    color: var(--light);
    line-height: 1.55;
}

/* ============ FOOTER ============ */
.footer {
    border-top: 1px solid var(--line);
    padding: 64px var(--pad) 24px;
    max-width: var(--maxw);
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--mute);
    margin-top: 16px;
    font-size: 14px;
    max-width: 280px;
}

.footer-col h4 {
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    padding: 6px 0;
    font-size: 14px;
    color: var(--ink-soft);
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--mute); }

.newsletter-form {
    margin-top: 12px;
    max-width: 360px;
}
.newsletter {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--border);
    background: var(--card);
    transition: border-color 0.2s;
    max-width: 360px;
}
.newsletter:focus-within { border-color: var(--lime); }
.newsletter input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border: none;
    background: transparent;
    color: var(--white);
    outline: none;
    font-size: 14px;
}
.newsletter input::placeholder { color: var(--gray); }
.newsletter button {
    padding: 0 20px;
    background: var(--lime);
    color: var(--white);
    font-family: var(--ff-display);
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}
.newsletter button:hover { background: var(--lime-hover); }

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--line-soft);
    display: flex;
    justify-content: space-between;
    font-family: var(--ff-mono);
    font-size: 11px;
    color: var(--mute);
    letter-spacing: 0.05em;
    flex-wrap: wrap;
    gap: 12px;
}

/* ============ DRAWER ============ */
.drawer-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.drawer-overlay.active { opacity: 1; pointer-events: auto; }

.drawer {
    position: fixed;
    top: 0; right: 0;
    width: min(440px, 100vw);
    height: 100dvh;
    background: var(--paper);
    z-index: 201;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--line);
}
.drawer.active { transform: translateX(0); }

.drawer-head {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--line);
}
.drawer-head h3 {
    font-family: var(--ff-display);
    font-size: 20px;
    letter-spacing: 0.05em;
}
.drawer-close {
    width: 36px; height: 36px;
    display: grid; place-items: center;
    font-size: 18px;
    border: 1px solid var(--line-soft);
    transition: all 0.2s;
}
.drawer-close:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

.drawer-foot {
    border-top: 1px solid var(--line);
    padding: 24px;
    background: var(--paper);
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-soft);
    align-items: start;
}

.cart-item-img {
    aspect-ratio: 1;
    background: var(--paper-soft);
    border: 1px solid var(--line-soft);
}

.cart-item-info h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}
.cart-item-info span {
    font-family: var(--ff-mono);
    font-size: 11px;
    color: var(--mute);
    display: block;
    margin-bottom: 8px;
}
.cart-item-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
}
.cart-item-qty button {
    width: 28px; height: 28px;
    font-family: var(--ff-mono);
    font-weight: 700;
}
.cart-item-qty button:hover { background: var(--ink); color: var(--paper); }
.cart-item-qty span {
    width: 28px;
    text-align: center;
    font-family: var(--ff-mono);
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
}
.cart-item-right {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 8px;
}
.cart-item-price {
    font-family: var(--ff-mono);
    font-size: 14px;
    font-weight: 700;
}
.cart-item-remove {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--mute);
    text-decoration: underline;
}
.cart-item-remove:hover { color: var(--danger); }

.cart-empty {
    padding: 60px 24px;
    text-align: center;
    color: var(--mute);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.cart-empty-icon {
    font-size: 56px;
    color: var(--neon-purple);
    text-shadow: 0 0 24px rgba(177, 0, 255, 0.5);
    transform: rotate(-12deg);
    margin-bottom: 4px;
    animation: hero-pulse 3s var(--ease) infinite;
}
.cart-empty h4 {
    font-family: var(--ff-display);
    font-size: 22px;
    color: var(--ink);
    letter-spacing: 0.04em;
}
.cart-empty p {
    font-family: var(--ff-mono);
    font-size: 12px;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}
.cart-empty-btn {
    margin-top: 4px;
}

.cart-totals {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
    font-family: var(--ff-mono);
    font-size: 13px;
}
.cart-totals > div {
    display: flex;
    justify-content: space-between;
}
.cart-total-final {
    border-top: 1px solid var(--line);
    padding-top: 10px;
    margin-top: 6px;
    font-size: 15px !important;
    font-weight: 700;
}

/* ============ MODAIS ============ */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}
.modal-overlay.active { display: flex; }

.modal {
    background: var(--paper);
    width: 100%;
    max-width: 480px;
    max-height: 90dvh;
    overflow-y: auto;
    overflow-x: hidden;          /* trava scroll horizontal */
    overscroll-behavior: contain; /* não propaga rolagem pra body */
    position: relative;
    border: 1px solid var(--ink);
}
/* Garante que tudo lá dentro respeite a largura do modal */
.modal > * { max-width: 100%; }
.modal img, .modal svg { max-width: 100%; height: auto; }
.modal-lg { max-width: 860px; }
.modal-xl { max-width: 1180px; }

.modal-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 36px; height: 36px;
    display: grid; place-items: center;
    font-size: 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    z-index: 10;
    transition: all 0.2s;
}
.modal-close:hover { background: var(--ink); color: var(--paper); }

.search-modal {
    background: var(--dark);
    width: 100%;
    max-width: 640px;
    border: 1px solid var(--border);
    padding: 32px;
}
.search-modal input {
    width: 100%;
    padding: 16px 0;
    border: none;
    border-bottom: 1px solid var(--border);
    background: transparent;
    color: var(--white);
    font-family: var(--ff-display);
    font-size: 24px;
    outline: none;
    letter-spacing: -0.01em;
    transition: border-color 0.2s;
}
.search-modal input::placeholder { color: var(--gray); }
.search-modal input:focus { border-bottom-color: var(--lime); }
.search-results {
    margin-top: 20px;
    max-height: 400px;
    overflow-y: auto;
}
.search-result {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line-soft);
    cursor: pointer;
    align-items: center;
}
.search-result:hover { background: var(--paper-soft); }
.search-result img, .search-result .cart-item-img { width: 60px; aspect-ratio: 1; }

/* ============ VIEW SWITCHER & COLOR DOTS ============ */
.view-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px; height: 36px;
    background: rgba(10,10,10,0.7);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.15);
    display: grid;
    place-items: center;
    z-index: 3;
    cursor: pointer;
    opacity: 0;
    transition: all 0.25s var(--ease);
    backdrop-filter: blur(4px);
}
.view-arrow svg { width: 16px; height: 16px; }
.view-arrow.view-prev { left: 10px; }
.view-arrow.view-next { right: 10px; }
.view-arrow:hover {
    background: var(--lime);
    color: var(--white);
    border-color: var(--lime);
}
.product-card:hover .view-arrow,
.product-image:hover .view-arrow,
.product-detail-img .view-arrow { opacity: 1; }

/* Em touch devices sempre visível */
@media (hover: none) {
    .view-arrow { opacity: 1; background: rgba(10,10,10,0.6); }
}

.view-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 3;
    padding: 4px 8px;
    background: rgba(10,10,10,0.5);
    backdrop-filter: blur(4px);
    border-radius: 12px;
}
.view-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transition: all 0.25s var(--ease);
}
.view-dot.active {
    background: var(--lime);
    width: 20px;
    border-radius: 3px;
}

.view-label {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10,10,10,0.6);
    color: var(--lime);
    font-family: var(--ff-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
    padding: 4px 10px;
    z-index: 3;
    backdrop-filter: blur(4px);
}

.product-svg-wrap {
    width: 100%; height: 100%;
    display: block;
}
.product-svg-wrap svg {
    width: 100%; height: 100%;
    animation: viewFade 0.35s var(--ease-out);
}

@keyframes viewFade {
    from { opacity: 0.6; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

/* COLOR DOTS */
.color-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.color-dot {
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--dot-color, #888);
    border: 2px solid var(--border);
    cursor: pointer;
    padding: 0;
    position: relative;
    transition: all 0.2s var(--ease);
}
.color-dot:hover { transform: scale(1.15); }
.color-dot.active {
    border-color: var(--lime);
    box-shadow: 0 0 0 2px var(--black), 0 0 0 3px var(--lime);
}
.color-dots-count {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.05em;
    color: var(--gray);
    margin-left: 4px;
}

/* Color dots maiores no modal detalhado */
.color-selector {
    margin-bottom: 22px;
}
.color-selector h4 {
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
    color: var(--light);
}
.color-selector-active {
    color: var(--lime);
    font-weight: 700;
}
.color-dots-lg .color-dot {
    width: 30px; height: 30px;
    border-width: 2px;
}
.color-dots-lg .color-dot.active {
    box-shadow: 0 0 0 2px var(--black), 0 0 0 4px var(--lime);
}

/* ============ PRODUTO DETALHE ============ */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 48px;
    min-width: 0;             /* impede que filhos forcem largura */
}
.product-detail > * { min-width: 0; }
.product-detail-info h2,
.product-detail-desc {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}
.product-detail-img {
    aspect-ratio: 3/4;
    background: var(--paper-soft);
    border: 1px solid var(--line-soft);
    position: relative;
    overflow: hidden;
}
.product-detail-info h2 {
    font-family: var(--ff-display);
    font-size: 32px;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    line-height: 1;
}
.product-detail-cat {
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--mute);
    text-transform: uppercase;
    margin-bottom: 20px;
}
.product-detail-price {
    font-family: var(--ff-display);
    font-size: 28px;
    margin: 20px 0;
    display: flex;
    align-items: baseline;
    gap: 12px;
}
.product-detail-price .old {
    font-family: var(--ff-mono);
    font-size: 14px;
    color: var(--mute);
    text-decoration: line-through;
}
.product-detail-desc {
    color: var(--ink-soft);
    margin-bottom: 28px;
    line-height: 1.6;
    font-size: 14px;
}

.size-selector {
    margin-bottom: 28px;
}
.size-selector h4 {
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}
.size-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.size-option {
    min-width: 44px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    font-family: var(--ff-mono);
    font-size: 12px;
    font-weight: 700;
    transition: all 0.2s;
}
.size-option:hover { background: var(--paper-soft); }
.size-option.active {
    background: var(--lime);
    color: var(--white);
    border-color: var(--lime);
}

/* ============ AUTH ============ */
.auth-box { padding: 40px; }
.auth-box h2 {
    font-family: var(--ff-display);
    font-size: 28px;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}
.auth-box .subtitle {
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--mute);
    margin-bottom: 32px;
}
.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
    color: var(--ink-soft);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--white);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    font-family: var(--ff-sans);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--lime); }
.form-group select option { background: var(--dark); color: var(--white); }

/* Wrapper de senha com botão de mostrar/ocultar */
.password-wrap {
    position: relative;
    display: block;
}
.password-wrap input {
    padding-right: 44px !important;
}
.password-toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    color: var(--gray);
    cursor: pointer;
    padding: 0;
    border-radius: 4px;
    transition: color .15s, background .15s;
}
.password-toggle:hover { color: var(--lime); background: rgba(255,255,255,.05); }
.password-toggle:focus-visible { outline: 2px solid var(--lime); outline-offset: 1px; }

/* Divider "OU" entre login com senha e login com Google */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 16px;
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: .15em;
    color: var(--mute);
}
.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}
.auth-divider span { padding: 0 4px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 12px;
}

.auth-switch {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    color: var(--mute);
    font-family: var(--ff-mono);
}
.auth-switch a {
    color: var(--ink);
    text-decoration: underline;
    font-weight: 700;
    cursor: pointer;
}

.account-tab {
    padding: 12px 16px;
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    color: var(--mute);
    transition: color 0.2s;
}
.account-tab:hover { color: var(--ink); }
.account-tab.active {
    border-bottom-color: var(--ink);
    color: var(--ink);
}

/* ============================================
   ATHLETE CARD — ÁREA DO CLIENTE
   ============================================ */

.modal-athlete {
    max-width: 1280px !important;
    max-height: 95dvh !important;
    width: 100%;
    border: none !important;
    background: transparent !important;
    overflow: visible !important;
}
.modal-athlete .modal-close {
    top: -8px; right: -8px;
    background: var(--paper);
    border: 1px solid var(--ink);
    z-index: 50;
}

.athlete-panel {
    display: grid;
    grid-template-columns: 360px 1fr;
    height: min(760px, 95dvh);
    max-height: 95dvh;
    background: var(--black);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

/* ----- CARD DO ATLETA (LATERAL PRETA) ----- */
.athlete-card {
    background: var(--dark);
    color: var(--white);
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    border-right: 1px solid var(--border);
    height: 100%;
}
.athlete-card::-webkit-scrollbar { width: 4px; }
.athlete-card::-webkit-scrollbar-track { background: var(--dark); }
.athlete-card::-webkit-scrollbar-thumb { background: var(--border); }

.athlete-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(ellipse at 30% 10%, rgba(177, 0, 255, 0.10), transparent 50%),
        radial-gradient(ellipse at 80% 90%, rgba(255, 0, 183, 0.08), transparent 50%);
    pointer-events: none;
}
.athlete-card::after {
    content: '';
    position: absolute;
    top: 50%; right: -60%;
    width: 400px; height: 400px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.athlete-card-inner {
    position: relative;
    z-index: 2;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    gap: 0;
}

.athlete-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px dashed rgba(255,255,255,0.2);
    min-width: 0;
}
.athlete-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--ff-display);
    font-size: 13px;
    letter-spacing: 0.02em;
    min-width: 0;
    flex-shrink: 1;
}
.athlete-brand-mark {
    font-size: 16px;
    transform: rotate(-10deg);
    display: inline-block;
}
.athlete-card-label {
    font-family: var(--ff-mono);
    font-size: 9px;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 3px 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* AVATAR */
.athlete-avatar {
    position: relative;
    width: 140px; height: 140px;
    margin: 0 auto 20px;
}
.athlete-avatar svg {
    width: 100%; height: 100%;
    border: 1px solid rgba(255,255,255,0.2);
}
.athlete-tier-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--lime);
    color: var(--white);
    font-family: var(--ff-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 6px 12px;
    white-space: nowrap;
    box-shadow: 0 4px 0 var(--tier-color, var(--black));
}

.athlete-name {
    text-align: center;
    margin-bottom: 24px;
    padding: 0 4px;
    min-width: 0;
    width: 100%;
}
.athlete-name h2 {
    font-family: var(--ff-display);
    font-size: 18px;
    letter-spacing: -0.01em;
    line-height: 1.15;
    margin-bottom: 4px;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}
.athlete-handle {
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.5);
    word-break: break-all;
    display: block;
}

/* ID DO ATLETA */
.athlete-id {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.15);
    margin-bottom: 24px;
}
.athlete-id > div {
    background: var(--card);
    padding: 12px 14px;
}
.athlete-id span {
    display: block;
    font-family: var(--ff-mono);
    font-size: 9px;
    letter-spacing: 0.15em;
    color: var(--lime-dim);
    margin-bottom: 4px;
}
.athlete-id strong {
    font-family: var(--ff-mono);
    font-size: 13px;
    letter-spacing: 0.02em;
    color: var(--white);
}

/* BARRA DE PROGRESSO DO TIER */
.tier-progress {
    margin-top: auto;
    padding-top: 20px;
    padding-bottom: 4px;
    border-top: 1px dashed rgba(255,255,255,0.2);
}
.tier-progress-head {
    display: flex;
    justify-content: space-between;
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
}
.tier-progress-bar {
    height: 4px;
    background: rgba(255,255,255,0.12);
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
}
.tier-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--lime-dim), var(--lime));
    transition: width 0.8s var(--ease-out);
    position: relative;
}
.tier-progress-fill::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 2px;
    background: var(--white);
    box-shadow: 0 0 8px var(--lime);
}
.tier-progress-note {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.6);
}

/* BOTÃO LOGOUT */
.btn-logout {
    margin-top: 20px;
    width: 100%;
    padding: 12px;
    background: transparent;
    color: var(--paper);
    border: 1px solid rgba(255,255,255,0.25);
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s var(--ease);
}
.btn-logout:hover {
    background: rgba(193, 52, 52, 0.15);
    border-color: var(--danger);
    color: var(--danger);
}
.btn-logout svg { width: 14px; height: 14px; }

/* ----- PAINEL PRINCIPAL ----- */
.athlete-main {
    padding: 36px 40px;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
}
.athlete-main::-webkit-scrollbar { width: 4px; }
.athlete-main::-webkit-scrollbar-track { background: var(--black); }
.athlete-main::-webkit-scrollbar-thumb { background: var(--border); }
.athlete-main::-webkit-scrollbar-thumb:hover { background: var(--lime-dim); }

.athlete-main-head {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: end;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}
.athlete-greeting-kicker {
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--mute);
    margin-bottom: 8px;
}
.athlete-greeting {
    font-family: var(--ff-display);
    font-size: clamp(32px, 4vw, 56px);
    line-height: 0.95;
    letter-spacing: -0.03em;
}
.athlete-greeting span {
    -webkit-text-stroke: 1.5px var(--ink);
    color: transparent;
}

.athlete-stats {
    display: flex;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}
.athlete-stat {
    background: var(--paper);
    padding: 14px 20px;
    min-width: 110px;
    display: flex;
    flex-direction: column;
}
.athlete-stat .stat-label {
    font-family: var(--ff-mono);
    font-size: 9px;
    letter-spacing: 0.15em;
    color: var(--mute);
    margin-bottom: 6px;
}
.athlete-stat .stat-value {
    font-family: var(--ff-display);
    font-size: 24px;
    line-height: 1;
    letter-spacing: -0.02em;
}
.athlete-stat .stat-unit {
    font-family: var(--ff-mono);
    font-size: 9px;
    letter-spacing: 0.15em;
    color: var(--mute);
    margin-top: 4px;
}

/* NAV TABS */
.athlete-nav {
    display: flex;
    gap: 0;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
}
.athlete-nav-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--mute);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.2s;
    white-space: nowrap;
    position: relative;
}
.athlete-nav-tab svg { width: 14px; height: 14px; }
.athlete-nav-tab:hover { color: var(--ink); }
.athlete-nav-tab.active {
    color: var(--ink);
    border-bottom-color: var(--ink);
}
.athlete-nav-tab small {
    font-family: var(--ff-mono);
    font-size: 9px;
    background: var(--lime);
    color: var(--white);
    padding: 2px 6px;
    border-radius: 8px;
    min-width: 18px;
    text-align: center;
    letter-spacing: 0;
    font-weight: 700;
}

.athlete-tab-content {
    flex: 1;
    min-height: 0;
}

/* ----- TRAINING LOG (PEDIDOS) ----- */
/* ============ FAVORITOS — PAINEL ATLETA ============ */
.fav-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 12px;
}
.fav-kicker {
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--lime);
    margin-bottom: 6px;
}
.fav-header h3 {
    font-family: var(--ff-display);
    font-size: 22px;
    letter-spacing: 0.02em;
    color: var(--white);
}

.fav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.fav-card {
    border: 1px solid var(--border);
    background: var(--card);
    display: flex;
    flex-direction: column;
    transition: all 0.25s var(--ease);
}
.fav-card:hover {
    border-color: var(--lime);
    transform: translateY(-2px);
}

.fav-card-img {
    aspect-ratio: 1 / 1;
    background: var(--dark);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
}
.fav-card-img svg {
    width: 100%; height: 100%;
    transition: transform 0.4s var(--ease);
}
.fav-card:hover .fav-card-img svg { transform: scale(1.05); }

.fav-card-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.fav-card-info h4 {
    font-family: var(--ff-sans);
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
    line-height: 1.3;
}
.fav-card-bottom {
    margin-top: auto;
    padding-top: 4px;
}
.fav-card-actions {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}
.fav-card-actions .btn {
    flex: 1;
    justify-content: center;
    padding: 10px;
    font-size: 10px;
}
.btn-fav-remove {
    width: 38px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--gray);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-fav-remove svg { width: 14px; height: 14px; }
.btn-fav-remove:hover {
    border-color: var(--red);
    color: var(--red);
}

@media (max-width: 600px) {
    .fav-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .fav-card-info { padding: 12px; }
    .fav-card-info h4 { font-size: 12px; }
    .fav-card-actions { flex-direction: column; }
    .btn-fav-remove { width: 100%; padding: 8px; }
}

/* ============ TRAINING LOG ============ */
.training-log {
    border: 1px solid var(--line);
}
.training-log-head {
    display: grid;
    grid-template-columns: 50px 2fr 1fr 1fr 1fr 1.4fr;
    gap: 16px;
    padding: 12px 20px;
    background: var(--paper-soft);
    border-bottom: 1px solid var(--line);
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    color: var(--mute);
}

.log-entry {
    border-bottom: 1px solid var(--line-soft);
    cursor: pointer;
    transition: background 0.2s;
}
.log-entry:last-child { border-bottom: none; }
.log-entry:hover { background: var(--paper-soft); }
.log-entry.expanded { background: var(--paper-soft); }

.log-row {
    display: grid;
    grid-template-columns: 50px 2fr 1fr 1fr 1fr 1.4fr;
    gap: 16px;
    padding: 18px 20px;
    align-items: center;
}

.log-idx {
    font-family: var(--ff-display);
    font-size: 16px;
    color: var(--mute);
    letter-spacing: -0.02em;
}

.log-col-2 strong {
    font-family: var(--ff-mono);
    font-size: 13px;
    font-weight: 700;
    display: block;
}
.log-col-2 small {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--mute);
    margin-top: 2px;
    display: block;
}

.log-col-3 strong {
    font-family: var(--ff-mono);
    font-size: 13px;
    display: block;
    text-transform: uppercase;
}
.log-col-3 small {
    font-family: var(--ff-mono);
    font-size: 10px;
    color: var(--mute);
    display: block;
}

.log-col-4 {
    font-family: var(--ff-mono);
    font-size: 12px;
    color: var(--ink-soft);
}

.log-col-5 strong {
    font-family: var(--ff-display);
    font-size: 15px;
    letter-spacing: -0.01em;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    font-weight: 700;
    padding: 5px 10px;
    border: 1px solid currentColor;
    width: fit-content;
}
.status-pill .status-dot { font-size: 9px; }
.status-pill.status-ok { color: var(--ok); }
.status-pill.status-progress { color: #3a5ba8; }
.status-pill.status-wait { color: #a0724a; }
.status-pill.status-done { color: var(--ok); background: rgba(45,122,62,0.08); }
.status-pill.status-err { color: var(--danger); }

/* DETALHE EXPANSÍVEL DO PEDIDO */
.log-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-out);
}
.log-detail.open { max-height: 800px; }
.log-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    padding: 8px 20px 24px;
    border-top: 1px dashed var(--line-soft);
    margin-top: -1px;
}
.detail-label {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    color: var(--mute);
    margin-bottom: 12px;
    padding-top: 12px;
}
.detail-item {
    display: grid;
    grid-template-columns: 32px 1fr auto auto;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 13px;
    align-items: center;
}
.detail-item:last-child { border-bottom: none; }
.detail-size {
    font-family: var(--ff-mono);
    font-size: 10px;
    color: var(--mute);
    letter-spacing: 0.05em;
}
.detail-price {
    font-family: var(--ff-mono);
    font-size: 12px;
    font-weight: 700;
    text-align: right;
}
.detail-block {
    font-size: 13px;
    line-height: 1.5;
    padding: 12px;
    background: var(--paper);
    border: 1px solid var(--line-soft);
}
.detail-block small {
    font-family: var(--ff-mono);
    font-size: 10px;
    color: var(--mute);
    letter-spacing: 0.05em;
}
.detail-summary {
    background: var(--paper);
    padding: 12px;
    border: 1px solid var(--line-soft);
}
.detail-summary > div {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-family: var(--ff-mono);
    font-size: 12px;
}
.detail-total {
    border-top: 1px solid var(--line);
    padding-top: 8px !important;
    margin-top: 4px;
    font-size: 14px !important;
    font-weight: 700;
}

/* EMPTY STATE */
.empty-state {
    padding: 60px 40px;
    text-align: center;
    border: 2px dashed var(--line-soft);
}
.empty-icon {
    font-size: 48px;
    color: var(--mute);
    margin-bottom: 20px;
    transform: rotate(-10deg);
    display: inline-block;
}
.empty-state h3 {
    font-family: var(--ff-display);
    font-size: 22px;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}
.empty-state p {
    color: var(--mute);
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.5;
}

/* ----- PROFILE CARDS ----- */
.profile-card-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-card {
    border: 1px solid var(--line);
    padding: 24px;
    position: relative;
    background: var(--paper);
    display: flex;
    flex-direction: column;
}

.info-card-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--line-soft);
}
.info-card-kicker {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--mute);
}
.info-card h3 {
    font-family: var(--ff-display);
    font-size: 15px;
    letter-spacing: 0.05em;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
    margin-bottom: 20px;
}
.info-list > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.info-list dt {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--mute);
}
.info-list dd {
    font-size: 14px;
    font-weight: 500;
}
.info-list dd small {
    font-family: var(--ff-mono);
    font-size: 11px;
    color: var(--mute);
    font-weight: 400;
}

.info-card-body {
    font-size: 13px;
    color: var(--ink-soft);
    margin-bottom: 18px;
    line-height: 1.55;
    flex: 1;
}

.btn-sm {
    padding: 10px 16px;
    font-size: 10px;
    align-self: flex-start;
}

.danger-card {
    border-color: var(--danger);
    border-left-width: 3px;
}
.danger-card .info-card-kicker { color: var(--danger); }

.btn-danger {
    padding: 10px 16px;
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    font-weight: 700;
    border: 1px solid var(--danger);
    color: var(--danger);
    background: transparent;
    align-self: flex-start;
    transition: all 0.25s var(--ease);
}
.btn-danger:hover {
    background: var(--danger);
    color: var(--paper);
}

/* ----- ADDRESSES ----- */
.addresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.address-card {
    border: 1px solid var(--line);
    padding: 20px;
    background: var(--paper);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}
.address-card.primary {
    border-color: var(--lime);
    border-width: 2px;
}
.address-badge {
    position: absolute;
    top: 0; right: 0;
    background: var(--lime);
    color: var(--white);
    font-family: var(--ff-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 4px 8px;
}
.address-card-kicker {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    color: var(--mute);
    margin-bottom: 8px;
}
.address-card h4 {
    font-family: var(--ff-display);
    font-size: 18px;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}
.address-card p {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.5;
    flex: 1;
    margin-bottom: 16px;
}
.address-card-actions {
    display: flex;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--line-soft);
}
.btn-link {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--ink);
    text-decoration: underline;
}
.btn-link:hover { color: var(--mute); }

.address-add {
    border: 2px dashed var(--line-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    color: var(--mute);
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    font-weight: 700;
    transition: all 0.25s var(--ease);
    cursor: pointer;
}
.address-add:hover {
    border-color: var(--ink);
    color: var(--ink);
}
.address-add-plus {
    font-family: var(--ff-display);
    font-size: 40px;
    line-height: 1;
}

/* ----- REWARDS ----- */
.rewards-wrap {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.rewards-hero {
    background: var(--dark);
    color: var(--white);
    padding: 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
}
.rewards-hero::before {
    content: '◆';
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    font-size: 200px;
    color: rgba(255, 0, 183, 0.10);
    line-height: 1;
}
.rewards-hero-kicker {
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--lime);
    margin-bottom: 12px;
}
.rewards-hero h2 {
    font-family: var(--ff-display);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}
.rewards-hero h2 span {
    -webkit-text-stroke: 1.5px var(--paper);
    color: transparent;
}
.rewards-hero p {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    line-height: 1.6;
    max-width: 440px;
}

/* TIER LADDER */
.tier-ladder {
    display: flex;
    gap: 4px;
    padding: 24px 0;
    position: relative;
}
.tier-ladder::before {
    content: '';
    position: absolute;
    top: 40px; left: 20px; right: 20px;
    height: 2px;
    background:
        linear-gradient(
            to right,
            var(--neon-purple) 0%,
            var(--neon-blue-glow) var(--progress, 0%),
            var(--line-soft) var(--progress, 0%),
            var(--line-soft) 100%
        );
    box-shadow: 0 0 10px rgba(177, 0, 255, 0.25);
    transition: background 0.6s var(--ease);
}
.tier-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}
.tier-step-mark {
    width: 48px; height: 48px;
    background: var(--paper);
    border: 2px solid var(--line-soft);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 20px;
    color: var(--line-soft);
    margin-bottom: 10px;
    transition: all 0.3s var(--ease);
}
.tier-step.achieved .tier-step-mark {
    border-color: var(--tier-color);
    color: var(--tier-color);
    background: var(--paper);
}
.tier-step.current .tier-step-mark {
    transform: scale(1.15);
    box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--tier-color);
}
.tier-step-info {
    text-align: center;
}
.tier-step-info strong {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    display: block;
    color: var(--ink);
}
.tier-step.achieved .tier-step-info strong { color: var(--ink); }
.tier-step:not(.achieved) .tier-step-info strong { color: var(--mute); }
.tier-step-info small {
    font-family: var(--ff-mono);
    font-size: 9px;
    color: var(--mute);
    display: block;
    margin-top: 2px;
}
.tier-step-label {
    position: absolute;
    top: -20px;
    font-family: var(--ff-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.15em;
    background: var(--lime);
    color: var(--white);
    padding: 3px 8px;
    white-space: nowrap;
}
.tier-step-label::after {
    content: '▼';
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    color: var(--lime);
    font-size: 10px;
}

/* PERKS */
.perks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}
.perk-card {
    padding: 20px;
    border: 1px solid var(--border);
    background: var(--card);
    position: relative;
    opacity: 0.4;
    transition: all 0.3s;
}
.perk-card.unlocked {
    opacity: 1;
    border-color: var(--lime);
    background: var(--dark);
}
.perk-card::before {
    content: '🔒';
    position: absolute;
    top: 16px; right: 16px;
    font-size: 12px;
    filter: grayscale(1);
}
.perk-card.unlocked::before { content: '✓'; color: var(--lime); font-size: 16px; font-weight: 700; filter: none; }
.perk-tier {
    font-family: var(--ff-mono);
    font-size: 9px;
    letter-spacing: 0.2em;
    color: var(--mute);
    margin-bottom: 10px;
    display: block;
}
.perk-card h4 {
    font-family: var(--ff-display);
    font-size: 14px;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
    line-height: 1.2;
}
.perk-card p {
    font-size: 12px;
    color: var(--ink-soft);
    line-height: 1.5;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 1024px) {
    .athlete-panel {
        grid-template-columns: 1fr;
        max-height: 95dvh;
    }
    .athlete-card-inner {
        min-height: auto;
        padding: 24px;
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-areas:
            "brand brand brand"
            "avatar name id"
            "progress progress progress";
        gap: 16px 20px;
        align-items: center;
    }
    .athlete-card::after { display: none; }
    .athlete-card-top { grid-area: brand; margin-bottom: 0; }
    .athlete-avatar { grid-area: avatar; margin: 0; width: 96px; height: 96px; }
    .athlete-name { grid-area: name; text-align: left; margin: 0; padding: 0; }
    .athlete-name h2 { text-align: left; font-size: 18px; }
    .athlete-id { grid-area: id; margin-bottom: 0; grid-template-columns: 1fr 1fr; }
    .tier-progress { grid-area: progress; margin-top: 8px; padding-top: 16px; }
    .btn-logout { display: none; }

    .athlete-main { padding: 28px 24px; }
    .athlete-main-head {
        grid-template-columns: 1fr;
        gap: 20px;
        /* Reserva espaço pro X close button que fica no canto direito da tela
           (no desktop fica fora da modal; no tablet ainda perto da borda) */
        padding-right: 8px;
    }
    /* Stats em grid igual no tablet também — não scrolla, encaixa tudo */
    .athlete-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
        overflow: visible;
    }
    .athlete-stat { min-width: 0; padding: 12px 14px; }
    .athlete-stat .stat-value { font-size: 19px; }
    .training-log-head,
    .log-row {
        grid-template-columns: 40px 2fr 1fr 1fr 1.2fr;
        gap: 12px;
    }
    .training-log-head .log-col-4,
    .log-row .log-col-4 { display: none; }
    .log-detail-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .profile-card-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .modal-athlete {
        max-width: 100vw !important;
        max-height: 100dvh !important;
        height: 100dvh !important;
        width: 100vw !important;
    }
    #accountOverlay { padding: 0 !important; }
    .modal-athlete .modal-close {
        top: 12px; right: 12px;
        width: 32px; height: 32px;
        background: rgba(255,255,255,0.95);
        border: 1px solid var(--ink);
    }
    .athlete-panel {
        border: none;
        max-height: 100dvh;
        height: 100dvh;
        grid-template-rows: auto 1fr;
        overflow: hidden;
    }

    /* ATHLETE CARD COMPACTO NO TOPO */
    .athlete-card {
        padding: 0;
    }
    .athlete-card-inner {
        padding: 20px 18px 16px;
        min-height: auto;
        display: grid;
        grid-template-columns: 76px 1fr;
        grid-template-areas:
            "brand brand"
            "avatar name"
            "id id"
            "progress progress";
        gap: 14px 14px;
        align-items: center;
    }
    .athlete-card::after { display: none; }

    .athlete-card-top {
        grid-area: brand;
        margin-bottom: 4px;
        padding-bottom: 12px;
        padding-right: 40px; /* espaço pro botão de fechar */
    }
    .athlete-card-label {
        font-size: 8px;
        padding: 2px 6px;
    }
    .athlete-avatar {
        grid-area: avatar;
        width: 76px; height: 76px;
        margin: 0;
    }
    .athlete-tier-badge {
        font-size: 9px;
        padding: 4px 8px;
        bottom: -6px;
    }
    .athlete-name {
        grid-area: name;
        text-align: left;
        margin: 0;
        padding: 0;
    }
    .athlete-name h2 {
        font-size: 16px;
        text-align: left;
        margin-bottom: 2px;
    }
    .athlete-handle {
        font-size: 10px;
    }
    .athlete-id {
        grid-area: id;
        grid-template-columns: 1fr 1fr 1fr;
        margin-bottom: 0;
    }
    .athlete-id > div { padding: 8px 10px; }
    .athlete-id span { font-size: 8px; margin-bottom: 2px; }
    .athlete-id strong { font-size: 11px; }

    .tier-progress {
        grid-area: progress;
        margin-top: 4px;
        padding-top: 14px;
    }
    .tier-progress-head { font-size: 9px; }
    .tier-progress-note { font-size: 9px; }

    .btn-logout { display: none; }

    /* MAIN RESPONSIVO */
    .athlete-main {
        padding: 20px 18px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .athlete-main-head {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 20px;
        padding-bottom: 16px;
    }
    .athlete-greeting { font-size: 32px; }
    .athlete-stats {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    .athlete-stat { padding: 10px 12px; min-width: 0; }
    .athlete-stat .stat-value { font-size: 17px; }
    .athlete-stat .stat-label { font-size: 8px; }
    .athlete-stat .stat-unit { font-size: 8px; }

    /* NAV: mostra label sempre, empilha em 2x2 se faltar espaço */
    .athlete-nav {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
        border-bottom: 1px solid var(--line);
        margin-bottom: 20px;
    }
    .athlete-nav-tab {
        flex-direction: column;
        padding: 10px 6px;
        gap: 4px;
        font-size: 9px;
        letter-spacing: 0.05em;
        border-bottom: 2px solid transparent;
        margin: 0;
    }
    .athlete-nav-tab svg { width: 18px; height: 18px; }
    .athlete-nav-tab span { display: inline; }
    .athlete-nav-tab small {
        display: none;
    }
    .athlete-nav-tab.active { color: var(--ink); border-bottom-color: var(--ink); }

    /* TRAINING LOG */
    .training-log-head { display: none; }
    .log-row {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "ord total"
            "date status";
        gap: 8px 12px;
        padding: 14px 14px;
    }
    .log-col-1 { display: none; }
    .log-col-2 { grid-area: ord; }
    .log-col-3 { grid-area: date; }
    .log-col-3 strong, .log-col-3 small { display: inline; font-size: 10px; }
    .log-col-3 strong::after { content: ', '; color: var(--mute); }
    .log-col-4 { display: none; }
    .log-col-5 { grid-area: total; text-align: right; }
    .log-col-6 { grid-area: status; justify-self: end; }
    .log-detail-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 6px 14px 18px;
    }

    /* PROFILE */
    .profile-card-wrap {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .info-card { padding: 18px; }
    .info-card h3 { font-size: 13px; }

    /* ADDRESSES */
    .addresses-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .address-card { min-height: 160px; padding: 18px; }
    .address-add { min-height: 120px; }

    /* REWARDS */
    .rewards-hero { padding: 24px 20px; }
    .rewards-hero::before { display: none; }
    .rewards-hero h2 { font-size: 26px; }
    .rewards-hero p { font-size: 13px; }
    .tier-ladder {
        overflow-x: auto;
        padding: 30px 0 20px;
        -webkit-overflow-scrolling: touch;
    }
    .tier-ladder::-webkit-scrollbar { height: 2px; }
    .tier-step { min-width: 90px; }
    .perks-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .perk-card { padding: 16px; }
    .empty-state { padding: 40px 20px; }
}

/* ============ CHECKOUT ============ */
.checkout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    min-height: 500px;
}
.checkout-left {
    padding: 40px;
    max-height: 90dvh;
    overflow-y: auto;
}
.checkout-right {
    padding: 40px;
    background: var(--dark);
    color: var(--white);
    max-height: 90dvh;
    overflow-y: auto;
    border-left: 1px solid var(--border);
}
.checkout h2 {
    font-family: var(--ff-display);
    font-size: 24px;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}
.checkout-step-label {
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--lime);
    margin-bottom: 24px;
}
.checkout-right h3 {
    font-family: var(--ff-display);
    font-size: 18px;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    color: var(--lime);
}
.checkout-right .form-group input { border-color: var(--border); background: var(--card); color: var(--white); }
.checkout-right .form-group input:focus { border-color: var(--lime); }
.checkout-right .form-group label { color: var(--light); }

.checkout-items { margin-bottom: 20px; }
.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    font-size: 13px;
    font-family: var(--ff-mono);
}
.checkout-totals > div {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-family: var(--ff-mono);
    font-size: 13px;
}
.checkout-totals .total-final {
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 12px;
    margin-top: 6px;
    font-size: 16px;
    font-weight: 700;
}

.freight-options {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.freight-option {
    border: 1px solid var(--line);
    padding: 14px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.freight-option:hover { background: var(--paper-soft); }
.freight-option.active {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}
.freight-option h5 {
    font-family: var(--ff-mono);
    font-size: 12px;
    margin-bottom: 4px;
}
.freight-option small {
    font-family: var(--ff-mono);
    font-size: 10px;
    opacity: 0.7;
}
.freight-option strong {
    font-family: var(--ff-mono);
    font-size: 13px;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}
.pay-method {
    padding: 16px 10px;
    border: 1px solid var(--line);
    text-align: center;
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.05em;
    transition: all 0.2s;
}
.pay-method:hover { background: var(--paper-soft); }
.pay-method.active {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

.pix-qr {
    text-align: center;
    padding: 24px;
    border: 1px solid var(--border);
    margin-top: 16px;
    background: var(--card);
}
.pix-qr svg {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    display: block;
    background: var(--white);
    padding: 12px;
    border-radius: 4px;
}
.pix-code {
    font-family: var(--ff-mono);
    font-size: 11px;
    word-break: break-all;
    padding: 12px;
    background: var(--dark);
    color: var(--light);
    margin-top: 12px;
    border: 1px solid var(--border);
    user-select: all;
    cursor: text;
}

.success-screen {
    padding: 60px 40px;
    text-align: center;
}
.success-screen h2 {
    font-family: var(--ff-display);
    font-size: 36px;
    letter-spacing: -0.02em;
    margin: 20px 0 10px;
}
.success-check {
    width: 72px; height: 72px;
    border: 2px solid var(--ok);
    border-radius: 50%;
    display: grid; place-items: center;
    margin: 0 auto;
    font-size: 32px;
    color: var(--ok);
}
.order-number {
    font-family: var(--ff-mono);
    font-size: 13px;
    letter-spacing: 0.1em;
    color: var(--mute);
    margin: 16px 0 32px;
}

/* ============ ADMIN ============ */
.admin-panel {
    padding: 40px;
    max-height: 90dvh;
    overflow-y: auto;
}
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    margin-bottom: 32px;
}
.admin-stat {
    background: var(--paper);
    padding: 20px;
}
.admin-stat span {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--mute);
    text-transform: uppercase;
}
.admin-stat strong {
    display: block;
    font-family: var(--ff-display);
    font-size: 28px;
    margin-top: 4px;
    line-height: 1;
}

.admin-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}
.admin-table th {
    text-align: left;
    padding: 10px 12px;
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--mute);
    border-bottom: 1px solid var(--line);
    font-weight: 400;
}
.admin-table td {
    padding: 12px;
    font-size: 13px;
    border-bottom: 1px solid var(--line-soft);
}
.admin-table .prod-thumb {
    width: 48px; height: 48px;
    background: var(--paper-soft);
    border: 1px solid var(--line-soft);
}
.admin-table button {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    padding: 6px 10px;
    border: 1px solid var(--line);
    margin-right: 4px;
}
.admin-table button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.admin-table button.danger:hover { background: var(--danger); border-color: var(--danger); }

/* ============ TOAST ============ */
.toast {
    position: fixed;
    bottom: 24px; left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: var(--ink);
    color: var(--paper);
    padding: 14px 20px;
    font-family: var(--ff-mono);
    font-size: 12px;
    letter-spacing: 0.05em;
    z-index: 500;
    transition: transform 0.4s var(--ease-out);
    max-width: 90vw;
    text-align: center;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ============ SESSION WARNING ============ */
.session-warning {
    position: fixed;
    bottom: 24px; right: 24px;
    background: var(--dark);
    color: var(--white);
    padding: 20px;
    z-index: 400;
    max-width: 320px;
    transform: translateY(200%);
    transition: transform 0.5s var(--ease-out);
    border: 1px solid var(--lime);
    box-shadow: 0 0 24px rgba(255, 0, 183, 0.3);
}
.session-warning.active { transform: translateY(0); }
.session-warning h4 {
    font-family: var(--ff-display);
    font-size: 14px;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    color: var(--lime);
}
.session-warning p {
    font-family: var(--ff-mono);
    font-size: 11px;
    margin-bottom: 12px;
    color: var(--light);
}
.session-warning button {
    background: var(--lime);
    color: var(--white);
    padding: 8px 14px;
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    font-weight: 700;
    cursor: pointer;
    border: none;
}
.session-warning button:hover { background: var(--lime-hover); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
    .nav-desktop { display: none; }
    .mobile-menu-btn { display: grid; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-right { min-height: 360px; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
    .product-detail { grid-template-columns: 1fr; padding: 32px; padding-top: 60px; }
    .checkout { grid-template-columns: 1fr; }
    .checkout-right { border-top: 1px solid rgba(255,255,255,0.2); }
    .payment-methods { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .form-row-3 { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .header-inner { padding: 14px 16px; gap: 12px; }
    .logo { font-size: 16px; }
    .logo-text em { display: none; }
    .footer-top { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
    .product-detail { padding: 20px; padding-top: 60px; }
    .auth-box, .account-panel, .admin-panel { padding: 24px; }
    .checkout-left, .checkout-right { padding: 24px; }
    .hero-meta { gap: 24px; }
    .hero-meta strong { font-size: 22px; }
    .section-head { flex-direction: column; align-items: start; }
    .admin-stat strong { font-size: 22px; }
    .admin-table { font-size: 11px; }
    .admin-table th, .admin-table td { padding: 8px 6px; }
    .admin-table .hide-mobile { display: none; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { justify-content: center; }
    .hero-title {
        font-size: clamp(48px, 14vw, 72px);
        line-height: 0.95;
    }
    .hero-title span {
        margin-right: 0.08em;
        display: inline;
    }
    .product-name { font-size: 13px; }
    .product-price { font-size: 13px; }
    .btn { padding: 14px 20px; font-size: 11px; }
    .hero { padding: 40px 16px; }
    .products-section { padding: 48px 16px; }
    .features { padding: 48px 16px; }
    .hero-right { min-height: 300px; }
    .spec-card-meta { padding: 22px 22px; }
    .spec-card-head { padding: 18px 22px; }
    .spec-row { padding: 11px 0; }
    .spec-value { font-size: clamp(20px, 6vw, 28px); }

    /* ─ AVALIAÇÕES ─ */
    .reviews-section { margin-top: 32px; padding-top: 28px; }
    .reviews-summary {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 18px;
        margin-bottom: 24px;
    }
    .rev-summary-score { padding: 10px 0 14px; border-bottom: 1px dashed var(--border); }
    .rev-avg { font-size: 44px; }
    .rev-avg-stars { font-size: 14px; }

    .rev-form-wrap { padding: 18px 18px; margin-bottom: 24px; }
    .rev-cta-login { padding: 18px 18px; margin-bottom: 24px; }
    .rev-star-btn { font-size: 28px; padding: 2px; }

    .rev-item { padding: 16px 0; }
    .rev-item-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .rev-item-meta {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        text-align: left;
        gap: 8px 10px;
    }
    .rev-item-title { font-size: 15px; }
    .rev-item-comment { font-size: 13.5px; }
    .rev-form-actions { gap: 10px; }
}

@media (max-width: 480px) {
    .reviews-summary { padding: 16px 14px; gap: 16px; }
    .rev-avg { font-size: 38px; }
    .rev-form-wrap, .rev-cta-login { padding: 14px; }
    .rev-form input[type="text"], .rev-form textarea { padding: 10px 12px; font-size: 13px; }
    .rev-star-btn { font-size: 24px; }
    .rev-form-actions { flex-direction: column; align-items: stretch; }
    .rev-form-actions .btn { justify-content: center; width: 100%; }
    .rev-delete-btn { text-align: center; }
}

/* ═══════════════════════════════════════════════════
   AVALIAÇÕES DE PRODUTO
═══════════════════════════════════════════════════ */
.reviews-section {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}
.reviews-title {
    font-family: var(--ff-mono);
    font-size: 12px;
    letter-spacing: 0.22em;
    color: var(--neon-purple);
    text-shadow: 0 0 10px rgba(177, 0, 255, 0.4);
    margin-bottom: 28px;
}
.reviews-empty {
    font-family: var(--ff-mono);
    font-size: 12px;
    color: var(--mute);
    padding: 28px 0;
    text-align: center;
    letter-spacing: 0.05em;
}
.reviews-loading {
    padding: 24px 0;
    text-align: center;
}

/* ─── Resumo (média + distribuição) ─── */
.reviews-summary {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    align-items: center;
    padding: 24px 28px;
    background: rgba(177, 0, 255, 0.04);
    border: 1px solid var(--border);
    margin-bottom: 32px;
}
.rev-summary-score {
    text-align: center;
}
.rev-avg {
    font-family: var(--ff-display);
    font-size: 56px;
    line-height: 1;
    color: var(--ink);
    letter-spacing: -0.03em;
}
.rev-avg-stars {
    font-size: 16px;
    margin-top: 6px;
    color: var(--neon-purple);
    text-shadow: 0 0 8px rgba(177, 0, 255, 0.4);
}
.rev-avg-count {
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--mute);
    margin-top: 8px;
}
.rev-summary-dist {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.rev-dist-row {
    display: grid;
    grid-template-columns: 30px 1fr 32px;
    gap: 12px;
    align-items: center;
    font-family: var(--ff-mono);
    font-size: 11px;
    color: var(--ink-soft);
}
.rev-dist-label { color: var(--mute); }
.rev-dist-bar {
    background: var(--card);
    border: 1px solid var(--border);
    height: 8px;
    overflow: hidden;
}
.rev-dist-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-blue-glow));
    transition: width 0.4s var(--ease);
}
.rev-dist-count {
    text-align: right;
    color: var(--mute);
    font-size: 10px;
}

/* ─── Form de avaliação ─── */
.rev-form-wrap {
    padding: 24px 28px;
    background: var(--paper-soft);
    border: 1px solid var(--border);
    margin-bottom: 32px;
}
.rev-form-title {
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--neon-blue-glow);
    margin-bottom: 16px;
}
.rev-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.rev-stars-input {
    display: flex;
    gap: 4px;
}
.rev-star-btn {
    background: transparent;
    border: 0;
    color: var(--border-hover, #3a3a44);
    font-size: 32px;
    line-height: 1;
    padding: 4px;
    transition: color 0.15s, transform 0.1s;
}
.rev-star-btn:hover { transform: scale(1.15); }
.rev-star-btn.active {
    color: var(--neon-purple);
    text-shadow: 0 0 10px rgba(177, 0, 255, 0.5);
}
.rev-form input[type="text"],
.rev-form textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--paper);
    border: 1px solid var(--border);
    color: var(--ink);
    font-family: var(--ff-sans);
    font-size: 14px;
    transition: border-color 0.2s;
}
.rev-form input:focus,
.rev-form textarea:focus {
    outline: none;
    border-color: var(--neon-purple);
    box-shadow: 0 0 12px rgba(177, 0, 255, 0.2);
}
.rev-form textarea {
    resize: vertical;
    min-height: 90px;
    font-family: var(--ff-sans);
}
.rev-form-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}
.rev-delete-btn {
    background: transparent;
    border: 0;
    color: var(--red);
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-decoration: underline;
    padding: 6px 0;
}
.rev-delete-btn:hover { color: var(--neon-magenta-glow, #FF33C9); }

.rev-cta-login {
    padding: 24px 28px;
    background: var(--paper-soft);
    border: 1px solid var(--border);
    margin-bottom: 32px;
    text-align: center;
}
.rev-cta-login p {
    font-family: var(--ff-mono);
    font-size: 12px;
    color: var(--ink-soft);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

/* ─── Lista de reviews ─── */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.rev-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}
.rev-item:last-child { border-bottom: none; }
.rev-item-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.rev-item-stars {
    color: var(--neon-purple);
    font-size: 16px;
    text-shadow: 0 0 8px rgba(177, 0, 255, 0.4);
    margin-bottom: 6px;
}
.rev-item-title {
    font-family: var(--ff-display);
    font-size: 17px;
    color: var(--ink);
    line-height: 1.3;
    letter-spacing: -0.01em;
}
.rev-item-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    font-family: var(--ff-mono);
    font-size: 11px;
    color: var(--mute);
    text-align: right;
}
.rev-item-name { color: var(--ink-soft); font-weight: 700; letter-spacing: 0.05em; }
.rev-item-date { font-size: 10px; }
.rev-verified {
    font-size: 9px;
    letter-spacing: 0.15em;
    color: var(--lime);
    border: 1px solid var(--lime);
    padding: 3px 8px;
    text-shadow: 0 0 6px rgba(255, 0, 183, 0.4);
}
.rev-item-comment {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink-soft);
    font-family: var(--ff-sans);
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
}
.rev-item-title { word-wrap: break-word; overflow-wrap: break-word; }
.rev-item-name { word-break: break-word; }

.star-filled { color: var(--neon-purple); }
.star-empty  { color: var(--border-hover, #3a3a44); }
    .footer { padding: 48px 16px 24px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .marquee-inner { font-size: 12px; }
}

/* ============ UTILS ============ */
.fade-in {
    animation: fadeIn 0.5s var(--ease-out) backwards;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }

body.no-scroll { overflow: hidden; }

/* ─── LGPD · Cookie banner ──────────────────────────────── */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    background: rgba(14, 14, 16, .96);
    border: 1px solid var(--neon-magenta);
    border-radius: 8px;
    padding: 16px 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,.6), 0 0 24px rgba(255, 0, 183, .15);
    max-width: 760px;
    margin: 0 auto;
    font-family: var(--ff-body), 'Helvetica Neue', sans-serif;
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner-inner {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}
.cookie-banner-text {
    flex: 1;
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #cccccc;
    min-width: 240px;
}
.cookie-banner-text a {
    color: var(--neon-magenta);
    text-decoration: underline;
}
.cookie-banner-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}
.cookie-banner-actions .btn-link {
    background: transparent;
    border: 1px solid #444;
    color: #aaa;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 11px;
    letter-spacing: .08em;
    font-family: var(--ff-mono);
    cursor: pointer;
    transition: all .15s;
}
.cookie-banner-actions .btn-link:hover {
    border-color: #888;
    color: #ddd;
}
@media (max-width: 600px) {
    .cookie-banner-inner { flex-direction: column; align-items: stretch; }
    .cookie-banner-actions { justify-content: space-between; }
}

/* ─── LGPD · Newsletter consent checkbox ─────────────────── */
.newsletter-consent {
    /* fica em linha própria abaixo do input+botão, sem esticar com flex */
    flex-basis: 100%;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    padding: 0 4px;
    font-size: 10px;
    line-height: 1.5;
    color: #888;
    cursor: pointer;
    background: transparent;
    /* sai do contêiner do input pra não herdar o border do .newsletter */
    border: none;
}
.newsletter-consent input[type="checkbox"] {
    margin: 2px 0 0 0;
    width: 13px;
    height: 13px;
    accent-color: var(--neon-magenta);
    flex-shrink: 0;
}
.newsletter-consent a {
    color: var(--neon-magenta);
    text-decoration: underline;
}
.newsletter-consent a:hover {
    text-decoration: none;
}

.footer-legal a {
    color: #888;
    text-decoration: none;
    transition: color .15s;
}
.footer-legal a:hover { color: var(--neon-magenta); }

/* ─── F2 · Banner verificação de email ────────────────────── */
.verify-banner {
    background: linear-gradient(135deg, rgba(255,0,183,.08), rgba(177,0,255,.08));
    border: 1px solid var(--neon-magenta);
    padding: 14px 16px;
    border-radius: 6px;
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.verify-banner-text {
    flex: 1;
    min-width: 240px;
    font-size: 13px;
    line-height: 1.5;
    color: #cccccc;
}
.verify-banner-text strong {
    color: #fff;
}
.verify-banner .btn {
    font-size: 11px;
    padding: 8px 14px;
    letter-spacing: .08em;
}

/* ─── FIX: reviews texto cortando horizontal ─────────────── */
.rev-item {
    overflow: hidden;       /* impede que filhos com palavra longa estourem */
    width: 100%;
    box-sizing: border-box;
}
.rev-item-head {
    width: 100%;
    box-sizing: border-box;
}
.rev-item-head > div:first-child {
    flex: 1;
    min-width: 0;           /* permite que flex item encolha abaixo do content */
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.rev-item-meta {
    flex-shrink: 0;
    max-width: 50%;
    word-break: break-word;
}
.rev-item-title {
    word-break: break-word;
    hyphens: auto;
}
.rev-item-comment {
    overflow-wrap: anywhere; /* quebra palavras longas/URLs sem espaço */
    hyphens: auto;
}

@media (max-width: 600px) {
    .rev-item-meta {
        max-width: 100%;
        align-items: flex-start !important;
        text-align: left !important;
    }
}

/* ─── GW MODAL · substitui alert/confirm/prompt nativos ───── */
.gw-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: gwModalFadeIn .15s ease-out;
}
@keyframes gwModalFadeIn { from {opacity:0} to {opacity:1} }
.gw-modal {
    background: var(--dark, #0e0e10);
    color: var(--white, #fafaf7);
    border: 1px solid var(--neon-magenta, #FF00B7);
    box-shadow: 0 20px 60px rgba(0,0,0,.7), 0 0 36px rgba(255,0,183,.15);
    max-width: 480px;
    width: 100%;
    padding: 28px 26px;
    position: relative;
    font-family: var(--ff-body, 'Helvetica Neue', sans-serif);
    animation: gwModalPopIn .18s cubic-bezier(.2,.9,.3,1.2);
}
.gw-modal-danger {
    border-color: #ff3b3b;
    box-shadow: 0 20px 60px rgba(0,0,0,.7), 0 0 36px rgba(255,59,59,.18);
}
@keyframes gwModalPopIn {
    from { transform: scale(.92); opacity: 0 }
    to   { transform: scale(1);   opacity: 1 }
}
.gw-modal-kicker {
    font-family: var(--ff-mono, 'Courier New', monospace);
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--neon-magenta, #FF00B7);
    text-transform: uppercase;
    margin-bottom: 14px;
}
.gw-modal-danger .gw-modal-kicker { color: #ff3b3b; }
.gw-modal-body {
    font-size: 14px;
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 22px;
}
.gw-modal-input {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border, #26262b);
    color: var(--white, #fafaf7);
    font-family: var(--ff-mono, 'Courier New', monospace);
    font-size: 14px;
    margin-bottom: 22px;
    outline: none;
    transition: border-color .15s;
}
.gw-modal-input:focus {
    border-color: var(--neon-magenta, #FF00B7);
}
.gw-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}
.gw-modal-actions .btn { min-width: 110px; }
.btn.btn-danger {
    background: #ff3b3b;
    color: #fff;
    border-color: #ff3b3b;
}
.btn.btn-danger:hover { background: #d62929; border-color: #d62929; }

@media (max-width: 480px) {
    .gw-modal { padding: 22px 18px; }
    .gw-modal-actions { flex-direction: column-reverse; }
    .gw-modal-actions .btn { width: 100%; }
}

/* ─── CUPOM DE DESCONTO no checkout ─────────────────────── */
.coupon-form {
    margin: 18px 0 8px;
    padding: 16px;
    background: rgba(255, 0, 183, 0.04);
    border: 1px dashed rgba(255, 0, 183, 0.35);
}
.coupon-label {
    display: block;
    font-family: var(--ff-mono, monospace);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--neon-magenta, #FF00B7);
    margin-bottom: 8px;
}
.coupon-input-wrap {
    display: flex;
    gap: 8px;
}
.coupon-input-wrap input {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid var(--border, #26262b);
    background: rgba(0,0,0,.25);
    color: var(--white, #fafaf7);
    font-family: var(--ff-mono, monospace);
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    outline: none;
    transition: border-color .15s;
}
.coupon-input-wrap input:focus { border-color: var(--neon-magenta, #FF00B7); }
.coupon-input-wrap button { flex-shrink: 0; }
.coupon-hint {
    display: block;
    margin-top: 6px;
    font-family: var(--ff-mono, monospace);
    font-size: 10px;
    color: var(--mute, #888);
    min-height: 12px;
}

.coupon-applied {
    margin: 18px 0 8px;
    padding: 14px 16px;
    background: rgba(0, 255, 65, 0.06);
    border-left: 3px solid var(--lime, #00ff41);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.coupon-applied-kicker {
    display: block;
    font-family: var(--ff-mono, monospace);
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--lime, #00ff41);
    margin-bottom: 4px;
}
.coupon-applied strong {
    display: block;
    font-family: var(--ff-display, sans-serif);
    font-size: 15px;
    color: var(--white, #fafaf7);
}
.coupon-applied small {
    font-family: var(--ff-mono, monospace);
    font-size: 11px;
    color: var(--mute, #888);
    letter-spacing: 0.05em;
}
.coupon-remove {
    background: transparent;
    border: 1px solid var(--border, #26262b);
    color: var(--mute, #888);
    padding: 6px 10px;
    font-family: var(--ff-mono, monospace);
    font-size: 10px;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all .15s;
}
.coupon-remove:hover {
    border-color: var(--neon-magenta, #FF00B7);
    color: var(--neon-magenta, #FF00B7);
}

/* ─── Foto de produto (substitui SVG quando disponivel) ───── */
/* Base — sempre cobre o container do pai sem extravazar */
.product-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: #0a0a0a;
    max-width: 100%;
    max-height: 100%;
}

/* Card do produto / modal de detalhe usam aspect-ratio — preenche absoluto */
.product-image,
.product-svg-wrap,
.product-detail-img,
.cart-item-img,
.prod-thumb {
    position: relative;
    overflow: hidden;
}
.product-image > .product-svg-wrap,
.product-image > .product-photo,
.product-detail-img > .product-photo,
.product-detail-img > .product-svg-wrap {
    position: absolute;
    inset: 0;
}
.product-svg-wrap > .product-photo {
    position: absolute;
    inset: 0;
}

/* Thumbs menores (cart, admin) — não usa absolute, encaixa no aspect-ratio */
.cart-item-img > .product-photo,
.prod-thumb    > .product-photo,
.search-result .product-photo {
    position: static;
    width: 100%;
    height: 100%;
}
.product-svg-wrap .product-photo,
.cart-item-img .product-photo,
.prod-thumb .product-photo {
    border-radius: inherit;
}

/* ─── Botão de zoom no detalhe do produto ───────────────── */
.zoom-btn {
    position: absolute;
    bottom: 14px;
    right: 14px;
    z-index: 5;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255, 0, 183, .9);
    color: #fff;
    border: 1px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
    transition: transform .15s, background .15s;
    box-shadow: 0 4px 14px rgba(0,0,0,.4);
}
.zoom-btn svg { width: 20px; height: 20px; }
.zoom-btn:hover {
    transform: scale(1.08);
    background: rgba(177, 0, 255, .95);
}
@media (max-width: 600px) {
    .zoom-btn { width: 36px; height: 36px; bottom: 10px; right: 10px; }
}

/* ─── Lightbox de zoom (overlay fullscreen) ─────────────── */
.gw-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(0, 0, 0, .94);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: zoom-out;
    animation: gwLightboxFadeIn .2s ease-out;
}
@keyframes gwLightboxFadeIn { from {opacity:0} to {opacity:1} }
.gw-lightbox-img {
    max-width: 95vw;
    max-height: 95vh;
    object-fit: contain;
    box-shadow: 0 0 60px rgba(255, 0, 183, .25);
    cursor: default;
    user-select: none;
    -webkit-user-drag: none;
}
.gw-lightbox-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.3);
    background: rgba(0,0,0,.6);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, transform .15s;
}
.gw-lightbox-close:hover {
    background: rgba(255, 0, 183, .8);
    transform: scale(1.06);
}

/* ─── Fix definitivo: foto preenche o card 3:4 e setas via classe ── */
.product-card .view-arrow,
.product-card .view-indicator {
    display: none;
}
.product-card.has-two-views .view-arrow,
.product-card.has-two-views .view-indicator {
    display: flex;
}

.product-image {
    position: relative !important;
    overflow: hidden !important;
}
.product-image .product-svg-wrap {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
}
.product-image .product-photo,
.product-svg-wrap > .product-photo,
.product-detail-img .product-photo {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* ═══════════════════════════════════════════════════════════
   PDP — Product Detail Page (novo layout vertical/ML-style)
   ═══════════════════════════════════════════════════════════ */

/* PDP ocupa a tela inteira (não é mais modal centralizado) */
#productOverlay.active {
    padding: 0 !important;
    background: var(--paper, #0a0a0a) !important;
    align-items: stretch !important;
    justify-content: stretch !important;
}
#productOverlay.active .modal-lg {
    max-width: none !important;
    max-height: none !important;
    width: 100vw !important;
    height: 100dvh !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: var(--paper, #0a0a0a) !important;
    border-radius: 0 !important;
}
#productOverlay.active .modal-close {
    position: fixed;
    top: 16px; right: 16px;
    z-index: 100;
    background: rgba(0,0,0,.7);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,.15);
    color: #fff;
}

.pdp {
    /* Limita a largura do conteúdo pra não ficar absurdo em monitores wide,
       mas o fundo ocupa a viewport toda */
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 36px;
    color: var(--ink, #fafaf7);
    overflow-y: auto;
    max-height: 100dvh;
    width: 100%;
    box-sizing: border-box;
}
@media (max-width: 900px) {
    .pdp { padding: 56px 18px 40px; }
}

/* ─── Breadcrumb / Voltar ──────────────────────────────── */
.pdp-head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border, #26262b);
    margin-bottom: 20px;
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
}
.pdp-back {
    color: var(--neon-magenta, #FF00B7);
    text-decoration: none;
    flex-shrink: 0;
}
.pdp-back:hover { color: #fff; }
.pdp-crumb { color: var(--mute, #888); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdp-crumb-cat { color: var(--ink-soft, #aaa); }
.pdp-crumb-sep { margin: 0 6px; }
.pdp-crumb-name { color: #fff; }

/* ─── Título ───────────────────────────────────────────── */
.pdp-title {
    font-family: var(--ff-display, 'Arial Black'), sans-serif;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: #fff;
}

/* ─── Layout principal: galeria + caixa de compra ──────── */
.pdp-main {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
@media (max-width: 900px) {
    .pdp { padding: 20px 18px 40px; }
    .pdp-main { grid-template-columns: 1fr; gap: 24px; }
}

/* ─── Galeria ──────────────────────────────────────────── */
.pdp-gallery { display: flex; flex-direction: column; gap: 12px; }
.pdp-gallery-main {
    aspect-ratio: 3/4;
    background: var(--card, #161618);
    border: 1px solid var(--border, #26262b);
    overflow: hidden;
    position: relative;
}
.pdp-fav {
    position: absolute;
    top: 14px; right: 14px;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(0,0,0,.55);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    transition: all .15s;
}
.pdp-fav svg { width: 18px; height: 18px; }
.pdp-fav.active { color: var(--neon-magenta, #FF00B7); background: rgba(255,0,183,.15); }
.pdp-fav:hover { transform: scale(1.06); }

.pdp-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
}
.pdp-thumb {
    aspect-ratio: 1;
    background: var(--card, #161618);
    border: 1px solid var(--border, #26262b);
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    transition: border-color .15s;
    position: relative;
}
.pdp-thumb:hover { border-color: var(--neon-magenta, #FF00B7); }
.pdp-thumb.active { border-color: var(--neon-magenta, #FF00B7); box-shadow: 0 0 0 1px var(--neon-magenta, #FF00B7); }
.pdp-thumb .product-photo,
.pdp-thumb .product-svg-wrap {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

/* ─── Caixa de compra ──────────────────────────────────── */
.pdp-buy {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.pdp-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}
.pdp-price {
    font-family: var(--ff-display, 'Arial Black');
    font-size: 38px;
    line-height: 1;
    color: #fff;
}
.pdp-price-old {
    font-size: 16px;
    color: var(--mute, #888);
    text-decoration: line-through;
}
.pdp-price-off {
    font-family: var(--ff-mono);
    font-size: 11px;
    background: var(--lime, #00FF66);
    color: #000;
    padding: 4px 8px;
    font-weight: 700;
    letter-spacing: 0.05em;
}
.pdp-installments {
    font-family: var(--ff-mono);
    font-size: 12px;
    color: var(--ink-soft, #ccc);
    letter-spacing: 0.05em;
    margin-top: -8px;
}
.pdp-installments small {
    font-size: 11px;
    color: var(--neon-magenta, #FF00B7);
    display: inline-block;
    margin-top: 4px;
}

.pdp-stock {
    display: inline-block;
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    padding: 8px 12px;
    border-radius: 2px;
    border: 1px solid;
    align-self: flex-start;
}
.pdp-stock-ok   { color: var(--lime, #00FF66); border-color: var(--lime, #00FF66); background: rgba(0,255,102,.06); }
.pdp-stock-low  { color: #ffb13b;              border-color: #ffb13b;              background: rgba(255,177,59,.08); }
.pdp-stock-out  { color: #ff3b3b;              border-color: #ff3b3b;              background: rgba(255,59,59,.08); }

.pdp-section {
    border-top: 1px solid var(--border, #26262b);
    padding-top: 16px;
}
.pdp-section-label {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    color: var(--mute, #888);
    margin-bottom: 12px;
    text-transform: uppercase;
}
.pdp-section-active {
    color: var(--neon-magenta, #FF00B7);
    margin-left: 4px;
}

/* Quantidade */
.pdp-qty {
    display: flex;
    align-items: center;
    gap: 0;
}
.pdp-qty-btn {
    width: 38px; height: 38px;
    background: var(--card, #161618);
    border: 1px solid var(--border, #26262b);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all .15s;
}
.pdp-qty-btn:hover { background: var(--neon-magenta, #FF00B7); border-color: var(--neon-magenta, #FF00B7); }
.pdp-qty-input {
    width: 50px; height: 38px;
    text-align: center;
    background: var(--dark, #0e0e10);
    border: 1px solid var(--border, #26262b);
    border-left: none; border-right: none;
    color: #fff;
    font-family: var(--ff-mono);
    font-size: 14px;
    font-weight: 700;
}
.pdp-qty-stock {
    font-family: var(--ff-mono);
    font-size: 11px;
    color: var(--mute, #888);
    margin-left: 12px;
}

/* Frete */
.pdp-freight-form {
    display: flex;
    gap: 8px;
}
.pdp-freight-form input {
    flex: 1;
    height: 38px;
    background: var(--dark, #0e0e10);
    border: 1px solid var(--border, #26262b);
    color: #fff;
    padding: 0 12px;
    font-family: var(--ff-mono);
    font-size: 13px;
    outline: none;
}
.pdp-freight-form input:focus { border-color: var(--neon-magenta, #FF00B7); }
.pdp-freight-result { margin-top: 12px; font-size: 12px; }
.pdp-freight-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.pdp-freight-option {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    padding: 10px 12px;
    background: var(--card, #161618);
    border: 1px solid var(--border, #26262b);
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.05em;
    align-items: center;
}
.pdp-freight-option strong:first-child { color: #fff; }
.pdp-freight-option span { color: var(--mute, #888); }
.pdp-freight-price { color: var(--lime, #00FF66) !important; }

/* CTAs */
.pdp-ctas {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}
.pdp-btn-buy {
    height: 52px;
    font-size: 14px;
    letter-spacing: 0.12em;
}
.pdp-btn-cart {
    height: 48px;
    font-size: 12px;
    letter-spacing: 0.12em;
}

/* Perks */
.pdp-perks {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: var(--ff-mono);
    font-size: 11px;
    color: var(--mute, #888);
    letter-spacing: 0.05em;
}

/* ─── Seções full-width abaixo ─────────────────────────── */
.pdp-section-full {
    border-top: 1px solid var(--border, #26262b);
    padding-top: 32px;
    margin-bottom: 32px;
}
.pdp-section-title {
    font-family: var(--ff-mono);
    font-size: 12px;
    letter-spacing: 0.22em;
    color: var(--neon-magenta, #FF00B7);
    margin-bottom: 20px;
}
.pdp-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--ink-soft, #ccc);
    margin-bottom: 20px;
    max-width: 720px;
}
.pdp-specs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
    font-family: var(--ff-mono);
    font-size: 12px;
    color: var(--ink-soft, #ccc);
}
.pdp-specs li {
    padding: 10px 12px;
    background: var(--card, #161618);
    border: 1px solid var(--border, #26262b);
}
.pdp-specs strong { color: var(--neon-magenta, #FF00B7); margin-right: 6px; }

/* Relacionados */
.pdp-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}
.pdp-related-card {
    background: var(--card, #161618);
    border: 1px solid var(--border, #26262b);
    cursor: pointer;
    transition: border-color .15s, transform .15s;
}
.pdp-related-card:hover {
    border-color: var(--neon-magenta, #FF00B7);
    transform: translateY(-2px);
}
.pdp-related-img {
    aspect-ratio: 3/4;
    background: var(--dark, #0e0e10);
    overflow: hidden;
}
.pdp-related-info {
    padding: 12px;
}
.pdp-related-info h4 {
    font-size: 13px;
    margin-bottom: 6px;
    color: #fff;
    line-height: 1.3;
}
.pdp-related-price {
    font-family: var(--ff-mono);
    font-size: 13px;
    color: var(--neon-magenta, #FF00B7);
    font-weight: 700;
}

/* Disabled buttons */
.btn:disabled, .btn[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* ─── Lightbox: navegação entre imagens (setas + dots) ──── */
.gw-lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(0,0,0,.6);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all .15s;
    backdrop-filter: blur(4px);
}
.gw-lightbox-arrow:hover {
    background: rgba(255, 0, 183, .85);
    border-color: rgba(255,255,255,.35);
    transform: translateY(-50%) scale(1.06);
}
.gw-lightbox-arrow svg { width: 22px; height: 22px; }
.gw-lightbox-prev { left: 24px; }
.gw-lightbox-next { right: 24px; }

.gw-lightbox-meta {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 5;
    pointer-events: none;
}
.gw-lightbox-label {
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.25em;
    color: var(--neon-magenta, #FF00B7);
    background: rgba(0,0,0,.55);
    padding: 6px 14px;
    border: 1px solid var(--neon-magenta, #FF00B7);
    text-shadow: 0 0 8px rgba(255,0,183,.4);
}
.gw-lightbox-dots {
    display: flex;
    gap: 8px;
    pointer-events: auto;
}
.gw-lightbox-dot {
    width: 8px; height: 8px;
    background: rgba(255,255,255,.3);
    border: 1px solid rgba(255,255,255,.4);
    cursor: pointer;
    transition: all .15s;
}
.gw-lightbox-dot:hover { background: rgba(255,255,255,.5); }
.gw-lightbox-dot.active {
    background: var(--neon-magenta, #FF00B7);
    border-color: var(--neon-magenta, #FF00B7);
    box-shadow: 0 0 8px rgba(255,0,183,.6);
}

@media (max-width: 600px) {
    .gw-lightbox-arrow { width: 44px; height: 44px; }
    .gw-lightbox-prev { left: 12px; }
    .gw-lightbox-next { right: 12px; }
    .gw-lightbox-meta { bottom: 20px; }
}
