/* ====================================================================
   BM KEY - Stylesheet
   Tema: Dark gaming com neon lime + roxo vibrante
   "Sua key. Sua vitória."
   ==================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Russo+One&display=swap');

:root {
    /* ── Paleta principal ── */
    --bg:           #0a0612;        /* preto com leve tom roxo */
    --bg-soft:      #110a1a;
    --bg-card:      #15101f;
    --bg-elev:      #1c1430;
    --line:         rgba(255,255,255,0.08);
    --line-strong:  rgba(180,130,255,0.20);

    --text:         #f5f3ff;
    --text-muted:   #b4a8c9;
    --text-dim:     #6b5d80;

    /* ── Acentos: lime neon + roxo vibrante ── */
    --accent:       #b4f500;       /* lime neon — verde elétrico */
    --accent-2:     #84d000;       /* lime mais escuro pra hover/sombra */
    --accent-glow:  rgba(180,245,0,0.35);

    --purple:       #b026ff;       /* roxo vibrante */
    --purple-2:     #8a16d4;
    --purple-glow:  rgba(176,38,255,0.40);

    --gold:         #ffd84d;
    --danger:       #ff3860;
    --info:         #4dabff;

    /* ── Tipografia ── */
    --font-sans:    'Plus Jakarta Sans', system-ui, sans-serif;
    --font-display: 'Russo One', 'Plus Jakarta Sans', sans-serif;

    /* ── Geometria ── */
    --radius-sm: 8px;
    --radius:    14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.35);
    --shadow:    0 8px 30px rgba(0,0,0,.55);
    --shadow-lg: 0 24px 60px rgba(0,0,0,.7);
    --shadow-neon:0 0 30px rgba(180,245,0,.25), 0 0 60px rgba(176,38,255,.15);

    /* ── Gradientes ── */
    --grad-primary: linear-gradient(135deg, #b4f500 0%, #84d000 100%);
    --grad-purple:  linear-gradient(135deg, #b026ff 0%, #6a0fb8 100%);
    --grad-mix:     linear-gradient(135deg, #b4f500 0%, #b026ff 100%);
    --grad-dark:    linear-gradient(180deg, #0a0612 0%, #15101f 100%);
    --grad-radial:  radial-gradient(1200px 600px at 70% -10%, rgba(180,245,0,.18), transparent 60%),
                    radial-gradient(900px 500px at 10% 110%, rgba(176,38,255,.18), transparent 60%);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html, body { height: 100%; }
body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }

/* Scrollbar customizada */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-elev); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #2a2a2a; }

/* Seleção */
::selection { background: var(--accent); color: #000; }

/* ===== Container ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px){ .container { padding: 0 16px; } }

/* ===== Header / Navegação ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10,10,10,0.78);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid var(--line);
}
.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 14px 0;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--grad-primary);
    color: #0a0612;
    display: grid;
    place-items: center;
    box-shadow: 0 0 24px var(--accent-glow), inset 0 0 0 1px rgba(255,255,255,.18);
    transition: transform .25s, box-shadow .25s;
}
.logo:hover .logo-icon {
    transform: rotate(-8deg) scale(1.05);
    box-shadow: 0 0 36px var(--accent-glow), inset 0 0 0 1px rgba(255,255,255,.3);
}
.logo-text { display: inline-flex; gap: 2px; }
.logo span.accent {
    color: var(--purple);
    text-shadow: 0 0 14px var(--purple-glow);
}
.nav-links {
    display: flex;
    gap: 4px;
    list-style: none;
    margin-left: 12px;
}
.nav-links a {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: all .2s;
}
.nav-links a:hover { color: var(--text); background: var(--bg-card); }
.nav-search {
    flex: 1;
    max-width: 380px;
    margin: 0 auto;
    position: relative;
}
.nav-search input {
    width: 100%;
    padding: 11px 16px 11px 42px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--bg-soft);
    color: var(--text);
    font-size: 14px;
    transition: all .2s;
}
.nav-search input:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg-card);
    box-shadow: 0 0 0 4px var(--accent-glow);
}
.nav-search svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-dim);
}
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
    width: 42px; height: 42px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--bg-soft);
    color: var(--text);
    display: grid; place-items: center;
    position: relative;
    transition: all .2s;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 999px;
    min-width: 20px;
    text-align: center;
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: all .25s;
    cursor: pointer;
    background: var(--bg-card);
    color: var(--text);
    position: relative;
    overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    background: var(--grad-primary);
    color: #0a0612;
    box-shadow: 0 8px 24px var(--accent-glow), inset 0 0 0 1px rgba(255,255,255,.15);
    border: 1px solid rgba(180,245,0,.5);
}
.btn-primary:hover {
    box-shadow: 0 14px 40px var(--accent-glow), inset 0 0 0 1px rgba(255,255,255,.3);
    filter: brightness(1.08);
}
.btn-purple {
    background: var(--grad-purple);
    color: #fff;
    box-shadow: 0 8px 24px var(--purple-glow), inset 0 0 0 1px rgba(255,255,255,.15);
    border: 1px solid rgba(176,38,255,.5);
}
.btn-purple:hover { box-shadow: 0 14px 40px var(--purple-glow); filter: brightness(1.08); }
.btn-outline {
    background: transparent;
    border-color: var(--line-strong);
    color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 24px var(--accent-glow); }
.btn-ghost {
    background: var(--bg-card);
    border: 1px solid var(--line);
    color: var(--text);
}
.btn-ghost:hover { border-color: var(--purple); color: var(--purple); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 15px; border-radius: 14px; }

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: 80px 0 100px;
    background: var(--grad-radial);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 0%, transparent 80%);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(180,245,0,0.10);
    border: 1px solid rgba(180,245,0,0.25);
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 22px;
    animation: fadeUp .6s ease both;
}
.hero h1 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(40px, 7vw, 84px);
    line-height: 1.02;
    letter-spacing: -0.005em;
    text-transform: uppercase;
    margin-bottom: 22px;
    animation: fadeUp .7s ease .1s both;
}
.hero h1 em {
    font-style: normal;
    color: var(--accent);
    font-weight: 600;
    text-shadow: 0 0 30px var(--accent-glow), 0 0 60px var(--accent-glow);
    background: linear-gradient(180deg, #d4ff4d 0%, #b4f500 60%, #84d000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    color: var(--text-muted);
    font-size: clamp(15px, 2vw, 19px);
    max-width: 620px;
    margin: 0 auto 36px;
    animation: fadeUp .7s ease .2s both;
}
.hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp .7s ease .3s both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Marquee de marcas/categorias */
.hero-marquee {
    margin-top: 60px;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
    display: flex;
    gap: 48px;
    width: max-content;
    animation: marquee 35s linear infinite;
}
.marquee-track span {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--text-dim);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.marquee-track span::after {
    content: '✦';
    color: var(--accent);
    font-size: 14px;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ===== Seções ===== */
.section { padding: 80px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 36px; gap: 24px; flex-wrap: wrap; }
.section-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(28px, 4vw, 44px);
    letter-spacing: 0.005em;
    text-transform: uppercase;
    line-height: 1.1;
}
.section-title em { font-style: normal; color: var(--accent); }
.section-sub { color: var(--text-muted); font-size: 15px; margin-top: 8px; max-width: 540px; }

/* ===== Categorias ===== */
.cats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}
.cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 26px 18px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--line);
    transition: all .25s;
    position: relative;
    overflow: hidden;
}
.cat::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-primary);
    opacity: 0;
    transition: opacity .25s;
    z-index: 0;
}
.cat > * { position: relative; z-index: 1; }
.cat:hover { transform: translateY(-4px); border-color: var(--accent); }
.cat:hover::before { opacity: .08; }
.cat-icon { font-size: 36px; margin-bottom: 10px; filter: grayscale(.2); }
.cat-name { font-weight: 600; font-size: 14px; }

/* ===== Grid de produtos ===== */
/* ALTERADO: aumentei o minmax de 260px para 320px para cards maiores */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}
.product {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all .3s;
    position: relative;
}
.product::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, transparent, transparent 60%, var(--accent) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}
.product:hover {
    transform: translateY(-6px);
    border-color: rgba(180,245,0,0.4);
    box-shadow: 0 24px 60px rgba(0,0,0,.7), 0 0 30px var(--accent-glow);
}
.product:hover::before { opacity: 1; }
.product-img {
    aspect-ratio: 4 / 3 !important;
    background: linear-gradient(135deg, #1a0e2e, #0a0612);
    overflow: hidden;
    position: relative;
}
.product-img img,
.product-img-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform .5s;
}
/* ALTERADO: zoom maior ao passar o mouse */
.product:hover .product-img img { transform: scale(1.1); }
.product-img-fallback {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 50%, rgba(176,38,255,.15), transparent 70%),
        linear-gradient(135deg, #1a0e2e, #0a0612);
    font-size: 60px;
    color: var(--text-dim);
}
.discount-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--grad-purple);
    color: #fff;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 14px var(--purple-glow);
    text-transform: uppercase;
}
.fav-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px; height: 36px;
    border-radius: 999px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--line);
    color: #fff;
    display: grid; place-items: center;
    transition: all .2s;
}
.fav-btn:hover { color: var(--danger); border-color: var(--danger); }

.product-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-cat {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
}
.product-name {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3;
    color: var(--text);
    margin-bottom: 4px;
    /* truncate em 2 linhas */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-rating { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-muted); }
.product-rating .stars { color: var(--gold); }
.product-prices { margin-top: auto; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-old { font-size: 13px; color: var(--text-dim); text-decoration: line-through; }
.price {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    color: var(--text);
    letter-spacing: -0.02em;
}
.product-actions { display: flex; gap: 8px; padding: 0 18px 18px; }
.product-actions .btn { flex: 1; padding: 10px 12px; font-size: 13px; }

/* ===== Página de produto ===== */
/* ALTERADO: ajustei a proporção das colunas para dar mais espaço à imagem (antes 1.3fr / 1fr) */
.product-detail {
    padding: 40px 0;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: start;
}
@media (max-width: 900px) {
    .product-detail { grid-template-columns: 1fr; gap: 20px; padding: 24px 0; }
    .gallery { position: relative; top: 0; }
    .gallery-main { aspect-ratio: auto; }
    .gallery-main img { width: 100%; height: auto; display: block; object-fit: unset; }
}
.gallery {
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--line);
    overflow: hidden;
    position: sticky;
    top: 100px;
}
.gallery-main {
    line-height: 0;
    display: block;
    /* sem aspect-ratio: mostra imagem inteira */
    background: #0a0612 !important;
    background: #0a0612;
    font-size: 100px;
    color: var(--text-dim);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 32px rgba(0,0,0,.5), 0 0 0 1px rgba(180,245,0,.1);
}
/* ALTERADO: adicionei max-height para controlar o tamanho máximo da imagem e garantir que não extrapole */
.gallery-main img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: unset;
}

.detail-info h1 {
    font-family: var(--font-display);
    font-size: clamp(30px, 4.5vw, 44px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 14px;
}
.detail-meta { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; color: var(--text-muted); font-size: 14px; }
.detail-prices { display: flex; align-items: baseline; gap: 14px; margin: 26px 0; }
.detail-prices .price { font-size: 42px; }
.detail-prices .price-old { font-size: 18px; }
.detail-prices .save-tag {
    background: rgba(180,245,0,0.15);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.detail-features {
    list-style: none;
    margin: 24px 0;
    padding: 18px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.detail-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
}
.detail-features li::before { content: '✓'; color: var(--accent); font-weight: 700; }

.qty-row { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.qty-control {
    display: inline-flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
}
.qty-control button {
    background: transparent; border: 0; color: var(--text); width: 40px; height: 44px; font-size: 18px;
}
.qty-control button:hover { color: var(--accent); }
.qty-control input {
    width: 48px; height: 44px; background: transparent; border: 0; color: var(--text);
    text-align: center; font-weight: 600; font-size: 16px;
}
.qty-control input::-webkit-outer-spin-button, .qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-control input { -moz-appearance: textfield; }

.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.detail-actions .btn { flex: 1; min-width: 200px; }

.detail-desc { color: var(--text-muted); line-height: 1.7; font-size: 15px; margin-top: 30px; }
.detail-desc h3 { font-family: var(--font-display); color: var(--text); font-weight: 600; font-size: 22px; margin: 24px 0 10px; }

/* ===== Carrinho ===== */
.cart-wrap {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    margin: 40px 0 80px;
}
@media (max-width: 900px) { .cart-wrap { grid-template-columns: 1fr; } }
.cart-list {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 8px;
}
.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border-radius: var(--radius);
    transition: background .2s;
}
.cart-item:hover { background: var(--bg-soft); }
.cart-item + .cart-item { border-top: 1px solid var(--line); }
.cart-item-img {
    width: 80px; height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-elev);
    display: grid; place-items: center;
    font-size: 32px; color: var(--text-dim);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.cart-item-price { color: var(--text-muted); font-size: 13px; }
.cart-item .qty-control { transform: scale(.85); transform-origin: right; }
.cart-item-total { font-family: var(--font-display); font-weight: 700; font-size: 18px; min-width: 100px; text-align: right; }
.cart-item-remove {
    background: transparent; border: 0; color: var(--text-dim);
    font-size: 20px; padding: 8px; transition: color .2s;
}
.cart-item-remove:hover { color: var(--danger); }

.cart-summary {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 26px;
    height: fit-content;
    position: sticky;
    top: 100px;
}
.cart-summary h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; color: var(--text-muted); }
.summary-row.total {
    border-top: 1px dashed var(--line);
    margin-top: 10px; padding-top: 18px;
    font-size: 18px; font-weight: 600; color: var(--text);
}
.summary-row .price { font-family: var(--font-display); font-size: 24px; }
.coupon-row {
    display: flex; gap: 8px; margin: 16px 0;
}
.coupon-row input {
    flex: 1;
    padding: 11px 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--bg-soft);
    color: var(--text);
    font-size: 14px;
}
.coupon-row input:focus { outline: none; border-color: var(--accent); }
.coupon-row button { padding: 11px 16px; font-size: 13px; }

/* ===== Páginas auth (login/cadastro) ===== */
.auth-wrap {
    min-height: calc(100vh - 200px);
    display: grid;
    place-items: center;
    padding: 50px 24px;
}
.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    box-shadow: var(--shadow-lg);
}
.auth-card h1 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.auth-card .auth-sub { color: var(--text-muted); margin-bottom: 28px; font-size: 14px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius);
    background: var(--bg-soft);
    border: 1px solid var(--line);
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    transition: all .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg-elev);
    box-shadow: 0 0 0 4px var(--accent-glow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px){ .form-row { grid-template-columns: 1fr; } }

.divider { display: flex; align-items: center; gap: 14px; margin: 24px 0; color: var(--text-dim); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.btn-google, .btn-fb {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 13px;
    border-radius: 999px;
    background: #fff; color: #000; border: 1px solid #fff;
    font-weight: 600; font-size: 14px;
    transition: all .2s;
}
.btn-google:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,255,255,0.15); }
.btn-fb { background: #1877f2; color: #fff; border-color: #1877f2; }
.btn-fb:hover { background: #1565d8; }

.auth-foot { margin-top: 22px; text-align: center; color: var(--text-muted); font-size: 14px; }
.auth-foot a { color: var(--accent); font-weight: 600; }

/* ===== Checkout ===== */
.checkout-wrap {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    margin: 40px 0 80px;
}
@media (max-width: 900px){ .checkout-wrap { grid-template-columns: 1fr; } }

.checkout-section {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 26px;
    margin-bottom: 18px;
}
.checkout-section h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.checkout-section h3 .step {
    width: 28px; height: 28px;
    background: var(--accent); color: #000;
    border-radius: 999px; display: grid; place-items: center;
    font-size: 13px; font-weight: 700;
}

.payment-options { display: grid; gap: 10px; }
.payment-option {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 18px;
    border-radius: var(--radius);
    background: var(--bg-soft);
    border: 1px solid var(--line);
    cursor: pointer;
    transition: all .2s;
}
.payment-option:hover { border-color: var(--line-strong); }
.payment-option input[type="radio"] { accent-color: var(--accent); }
.payment-option.selected { border-color: var(--accent); background: rgba(180,245,0,0.06); }
.payment-icon { width: 48px; height: 32px; border-radius: 6px; background: var(--bg-elev); display: grid; place-items: center; font-size: 16px; }
.payment-name { font-weight: 600; font-size: 14px; }
.payment-desc { font-size: 12px; color: var(--text-muted); }

/* ===== Footer ===== */
.site-footer {
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    padding: 60px 0 30px;
    margin-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
@media (max-width: 760px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { font-family: var(--font-display); font-weight: 600; font-size: 16px; margin-bottom: 16px; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: var(--text-muted); font-size: 14px; transition: color .2s; }
.footer-grid a:hover { color: var(--accent); }
.footer-about p { color: var(--text-muted); font-size: 14px; margin: 16px 0; max-width: 320px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 38px; height: 38px;
    border-radius: 999px;
    border: 1px solid var(--line);
    display: grid; place-items: center;
    transition: all .2s;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: var(--text-dim);
    font-size: 13px;
    text-align: center;
}
.payment-methods { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.payment-methods span {
    padding: 4px 10px;
    background: var(--bg-card);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
}

/* ===== Alertas / flash ===== */
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 16px; font-size: 14px; border: 1px solid; }
.alert-success { background: rgba(180,245,0,0.1); border-color: rgba(180,245,0,0.3); color: var(--accent); }
.alert-danger  { background: rgba(239,68,68,0.1);  border-color: rgba(239,68,68,0.3);  color: #fca5a5; }
.alert-info    { background: rgba(59,130,246,0.1); border-color: rgba(59,130,246,0.3); color: #93c5fd; }

/* ===== Empty state ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}
.empty-state-icon { font-size: 80px; opacity: .3; margin-bottom: 14px; }

/* ===== Responsivo nav ===== */
@media (max-width: 900px) {
    .nav-links, .nav-search { display: none; }
}

/* ===== Animação de revelar ao rolar ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== PIX QR Code ===== */
.pix-box {
    text-align: center;
    padding: 30px;
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
}
.pix-qr {
    width: 240px; height: 240px;
    margin: 0 auto 18px;
    background: #fff;
    border-radius: var(--radius);
    padding: 14px;
}
.pix-qr img { width: 100%; height: 100%; }
.pix-code {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    margin: 14px 0;
    font-family: monospace;
    font-size: 12px;
    word-break: break-all;
    color: var(--text-muted);
    max-height: 80px;
    overflow-y: auto;
}

/* ===== Conta do usuário ===== */
.account-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 30px; padding: 40px 0; }
@media (max-width: 800px){ .account-wrap { grid-template-columns: 1fr; } }
.account-side {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 22px;
    height: fit-content;
}
.account-side .avatar {
    width: 72px; height: 72px;
    border-radius: 999px;
    background: var(--grad-primary);
    display: grid; place-items: center;
    font-size: 28px; color: #000; font-weight: 700;
    margin: 0 auto 14px;
}
.account-side h4 { text-align: center; margin-bottom: 4px; }
.account-side p  { text-align: center; color: var(--text-muted); font-size: 12px; margin-bottom: 20px; }
.account-side ul { list-style: none; }
.account-side a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 14px; font-weight: 500;
    transition: all .2s;
}
.account-side a:hover, .account-side a.active {
    background: var(--bg-soft); color: var(--text);
}

/* ===== Tabelas ===== */
.table-wrap { overflow-x: auto; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
table th, table td { padding: 14px 18px; text-align: left; }
table th { background: var(--bg-soft); color: var(--text-muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
table tbody tr { border-top: 1px solid var(--line); }
table tbody tr:hover { background: var(--bg-soft); }

.status-badge { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; display: inline-block; }
.status-pendente   { background: rgba(255,216,77,.15); color: var(--gold); }
.status-pago       { background: rgba(180,245,0,.15); color: var(--accent); }
.status-cancelado  { background: rgba(239,68,68,.15); color: #fca5a5; }
.status-entregue   { background: rgba(59,130,246,.15); color: #93c5fd; }

/* ===== Admin ===== */
.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-side {
    background: var(--bg-soft);
    border-right: 1px solid var(--line);
    padding: 24px 16px;
}
.admin-side .logo { padding: 0 8px 24px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.admin-side ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.admin-side a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 14px; font-weight: 500;
}
.admin-side a:hover, .admin-side a.active { background: var(--bg-card); color: var(--text); }
.admin-main { padding: 30px 36px; }
.admin-main h1 { font-family: var(--font-display); font-size: 30px; margin-bottom: 24px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 30px; }
.stat-card {
    padding: 22px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}
.stat-card .label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.stat-card .value { font-family: var(--font-display); font-size: 32px; font-weight: 700; }
.stat-card .delta { font-size: 12px; color: var(--accent); margin-top: 4px; }
@media (max-width: 800px) { .admin-layout { grid-template-columns: 1fr; } .admin-side { display: none; } }