@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');
:root {
    --black: #050505;
    --card: #101010;
    --summary: #1b1a20;
    --purple: #8B5CF6;
    --purple-light: #C4B5FD;
    --purple-dark: #440f71;
    --white: #fff;
    --muted: #a3a3a3;
    --preco: rgba(255, 255, 255, .5);
    --line: #303036;
    --purple-hover: #8B5CF6;
    --border: rgba(255, 255, 255, .1);
    --wrap: 1180px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: radial-gradient(circle at 75% 0%, rgba(139, 92, 246, .14), transparent 40%), var(--black);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font: inherit;
    cursor: pointer;
}

ul {
    list-style: none;
}

.escondido {
    display: none !important;
}


/* ---------- Botões ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 15px;
    transition: transform .15s, box-shadow .2s, background .2s;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-shein {
    background: linear-gradient(135deg, #a78bfa, var(--purple) 55%, #6d3fe0);
    color: #fff;
    box-shadow: 0 8px 24px rgba(139, 92, 246, .35);
}

.btn-shein:hover {
    box-shadow: 0 12px 30px rgba(139, 92, 246, .55);
}

.btn-ghost {
    background: transparent;
    border-color: var(--border);
    color: #fff;
}

.btn-ghost:hover {
    border-color: var(--purple-light);
    background: rgba(139, 92, 246, .1);
}

.btn-lg {
    padding: 17px 30px;
    font-size: 17px;
}

.btn-sm {
    padding: 10px 18px;
    font-size: 14px;
}

.btn-block {
    width: 100%;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--purple-light);
    outline-offset: 3px;
}


/* ---------- Topo ---------- */

.topbar {
    background: var(--purple-dark);
    color: #fff;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
}

.topbar i {
    color: #fde047;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(5, 5, 5, .85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.menu {
    width: min(calc(100% - 32px), var(--wrap));
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 24px;
    height: 70px;
}

.logo img {
    height: 52px;
    width: auto;
}

nav {
    display: flex;
    gap: 26px;
    margin-left: auto;
    padding: 12px 17px;
}

nav a {
    font-size: 14px;
    font-weight: 500;
    color: #d4d4d4;
    transition: color .2s;
    padding: 12px 17px;
}

nav a:hover {
    background: rgba(139, 92, 246, .18);
    border-radius: 999px;
    color: var(--purple-light);
}

nav a .active {
    background: rgba(139, 92, 246, .18);
    border-radius: 999px;
    color: var(--purple-light);
}

.indicador-online {
    display: none;
    align-items: center;
    gap: 8px;
    margin-left: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(34, 197, 94, .14);
    border: 1px solid rgba(34, 197, 94, .45);
    color: #86efac;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.indicador-online.ativo {
    display: inline-flex;
}

.indicador-online-ponto {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, .12);
    animation: pulso-online 2s infinite;
}

.indicador-online-texto {
    line-height: 1;
}

@keyframes pulso-online {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, .45);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.hamburger {
    display: none;
    background: none;
    border: 0;
    color: #fff;
    font-size: 30px;
    margin-left: auto;
}


/* Menu mobile (painel lateral) */

.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 65;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .32s, visibility .32s;
}

.nav-overlay.ativo {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-fechar {
    display: none;
}

body.menu-aberto {
    overflow: hidden;
}

@media (min-width: 761px) {
    .nav-overlay {
        display: none;
    }
}


/* ---------- Hero ---------- */

.hero {
    padding: 72px 16px 56px;
}

.hero-inner {
    width: min(100%, 820px);
    margin-inline: auto;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(139, 92, 246, .14);
    border: 1px solid rgba(139, 92, 246, .35);
    color: var(--purple-light);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 22px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(34px, 6.5vw, 62px);
    line-height: 1.1;
    margin-bottom: 18px;
}

.hero h1 strong {
    color: var(--purple-light);
    font-weight: 700;
}

.hero p {
    color: #cfcfcf;
    font-size: clamp(16px, 2.4vw, 19px);
    max-width: 620px;
    margin: 0 auto 30px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    gap: 10px 26px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 28px;
    color: var(--muted);
    font-size: 13px;
}

.hero-trust i {
    color: var(--purple-light);
    margin-right: 5px;
}


/* ---------- Cupom ---------- */

.cupom {
    width: min(calc(100% - 32px), var(--wrap));
    margin: 0 auto 20px;
    padding: 18px 22px;
    border: 2px dashed rgba(196, 181, 253, .5);
    border-radius: 18px;
    background: rgba(139, 92, 246, .08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.cupom-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cupom-info>i {
    font-size: 32px;
    color: var(--purple-light);
}

.cupom-info strong {
    display: block;
    font-size: 18px;
}

.cupom-info #cupomCodigo {
    color: var(--purple-light);
    letter-spacing: 1px;
}

.cupom-info div>span {
    color: var(--muted);
    font-size: 14px;
}

.cupom-acoes {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}


/* ---------- Seções ---------- */

.secao {
    display: grid;
    width: min(calc(78% - 32px));
    margin: 0 auto;
    padding: 12px 0;
}

.titulo {
    margin-bottom: 26px;
}

.titulo.center {
    text-align: center;
}

.label {
    color: var(--purple-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.titulo h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(26px, 4vw, 38px);
    margin-top: 6px;
}


/* Categorias */

.cat-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.cat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}

.cat-card:hover {
    transform: translateY(-4px);
    border-color: var(--purple-hover);
    box-shadow: 0 10px 30px rgba(139, 92, 246, .2);
}

.cat-card>i {
    font-size: 30px;
    color: var(--purple-light);
}

.cat-card span {
    font-weight: 700;
}

.cat-card small {
    color: var(--muted);
    font-size: 12px;
}


/* Filtros (painel lateral) */

.produtos-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 28px;
    align-items: start;
}

.botao-filtros-mobile {
    display: none;
}

.filtros {
    height: fit-content;
    position: sticky;
    top: 90px;
    padding: 22px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
}

.filtros h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}

.filtro-grupo {
    margin-bottom: 18px;
}

.filtro-grupo label {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.campo-busca {
    position: relative;
}

.campo-busca i {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 15px;
    pointer-events: none;
}

.campo-busca input,
.filtros select,
.campo-preco input {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    background: #080808;
    border: 1px solid var(--border);
    color: #fff;
    font: inherit;
    font-size: 14px;
    border-radius: 10px;
    outline: none;
    transition: border-color .2s;
}

.campo-busca input {
    padding-left: 38px;
}

.campo-busca input::placeholder,
.campo-preco input::placeholder {
    color: #7a7a7a;
}

.campo-busca input:focus,
.filtros select:focus,
.campo-preco input:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, .18);
}

.filtros select {
    cursor: pointer;
}

.campo-preco {
    display: flex;
    align-items: center;
    gap: 8px;
}

.campo-preco input {
    min-width: 0;
}

.campo-preco span {
    color: #555;
}

.botao-aplicar {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #a78bfa, var(--purple) 55%, #6d3fe0);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: box-shadow .2s, transform .15s;
}

.botao-aplicar:hover {
    box-shadow: 0 10px 26px rgba(139, 92, 246, .5);
    transform: translateY(-1px);
}

.conteudo-produtos {
    min-width: 0;
}

.produtos-layout .produtos-grid {
    grid-template-columns: repeat(3, 1fr);
}


/* Agrupado por categoria (página achadinhos) */

.produtos-grid.agrupado {
    display: block;
}

.grupo-cat {
    margin-bottom: 34px;
}

.grupo-cat:last-child {
    margin-bottom: 0;
}

.grupo-cat-titulo {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.grupo-cat-titulo span {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--purple-light);
    background: rgba(139, 92, 246, .16);
    border: 1px solid rgba(139, 92, 246, .35);
    border-radius: 999px;
    padding: 2px 10px;
}

.secao-acao {
    text-align: center;
    margin-top: 26px;
}


/* Produtos — cards horizontais inspirados no layout de ofertas */

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.produto {
    min-width: 0;
    min-height: 218px;
    height: 100%;
    overflow: hidden;
    background: var(--summary);
    border: 1px solid var(--line);
    color: var(--white);
    border-radius: 20px;
    transition: transform .18s, box-shadow .18s, border-color .18s;
}

.produto:hover {
    transform: translateY(-2px);
    border-color: rgba(139, 92, 246, .35);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
}

.produto-link {
    display: grid;
    grid-template-columns: minmax(100px, 40%) minmax(0, 1fr);
    gap: 14px;
    height: 100%;
    padding: 14px;
    color: inherit;
}

.produto-imagem {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    aspect-ratio: 1 / 1;
    align-self: start;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
}

.produto-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.produto:hover .produto-imagem img {
    transform: scale(1.04);
}

.ph {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 42px;
    color: #aaa;
    background: #f6f6f6;
}

.tag-desc {
    position: absolute;
    top: 8px;
    left: 7px;
    background: #18c779;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 999px;
    letter-spacing: .1px;
}

.tag-exemplo {
    position: absolute;
    top: 8px;
    right: 7px;
    background: #f5d93d;
    color: #1f1f1f;
    font-size: 9px;
    font-weight: 800;
    padding: 3px 6px;
    border-radius: 999px;
    letter-spacing: .3px;
}

.produto-conteudo {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    min-width: 0;
    padding: 2px 0 0;
    flex: 1;
}

.produto-nome {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--white);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 0;
}

.produto-precos {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin-top: 1px;
}

.produto-tempo {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 3px;
    color: var(--white);
    font-size: 10px;
    line-height: 1.35;
}

.produto-tempo i {
    color: var(--purple-light);
    font-size: 11px;
}

.produto-tempo .tempo-relativo {
    color: var(--white);
    font-weight: 600;
}

.precos {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 0;
}

.precos strong {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--white);
}

.precos s {
    color: var(--preco);
    font-size: 12px;
}

.produto-acao {
    margin-top: auto;
}

.produto-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 14px;
    background: var(--purple);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
    box-shadow: 0 3px 0 rgba(0, 0, 0, .12);
    transition: filter .18s, transform .18s;
}

.produto:hover .produto-btn {
    filter: brightness(1.07);
    transform: translateY(-1px);
}

.produto-btn i {
    font-size: 13px;
}


/* Ofertas relâmpago */

.tag-oferta {
    position: absolute;
    left: 10px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(90deg, #ff5f6d 0%, #ffc371 100%);
    color: #1f1f1f;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 9px;
    border-radius: 999px;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.timer-linha {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: rgba(255, 59, 59, .9);
    border-radius: 999px;
    padding: 6px 10px;
}

.timer-linha i {
    color: #fff;
}

.timer-linha .timer {
    color: #fff;
    font-variant-numeric: tabular-nums;
    letter-spacing: .6px;
}

#ofertas .titulo .label {
    color: #fbbf24;
}


/* Busca sem resultado */

.vazio {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--muted);
    padding: 40px 10px;
    font-size: 15px;
}

.vazio i {
    display: block;
    font-size: 38px;
    color: var(--purple-light);
    margin-bottom: 8px;
}


/* Voltar ao topo */

.voltar-topo {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 55;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 0;
    background: linear-gradient(135deg, #a78bfa, var(--purple) 55%, #6d3fe0);
    color: #fff;
    font-size: 20px;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 26px rgba(139, 92, 246, .45);
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity .25s, transform .25s, box-shadow .2s;
}

.voltar-topo.visivel {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.voltar-topo:hover {
    box-shadow: 0 14px 32px rgba(139, 92, 246, .65);
}


/* Passos */

.passos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.passo {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 26px;
    text-align: center;
}

.passo b {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(139, 92, 246, .18);
    color: var(--purple-light);
    font-size: 18px;
    margin-bottom: 12px;
}

.passo h3 {
    margin-bottom: 6px;
}

.passo p {
    color: var(--muted);
    font-size: 14px;
}


/* CTA final */

.cta {
    width: min(calc(80% - 32px));
    margin: 20px auto 56px;
    padding: 56px 24px;
    text-align: center;
    border-radius: 28px;
    border: 1px solid rgba(139, 92, 246, .35);
    background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, .3), transparent 65%), var(--card);
}

.cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 5vw, 44px);
    margin-bottom: 10px;
}

.cta h2 strong {
    color: var(--purple-light);
}

.cta p {
    color: #cfcfcf;
    margin-bottom: 26px;
}


/* Rodapé */

footer {
    border-top: 1px solid var(--border);
    padding: 36px 16px 90px;
    text-align: center;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 18px;
}

.footer-top img {
    height: 56px;
    width: auto;
}

.ig {
    font-size: 24px;
    color: var(--purple-light);
}

.aviso {
    max-width: 760px;
    margin: 0 auto 14px;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.6;
}

.copy {
    color: #6b6b6b;
    font-size: 12px;
}


/* Barra fixa (celular) */

.barra-fixa {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(5, 5, 5, .92);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    transform: translateY(110%);
    transition: transform .3s;
}

.barra-fixa.visivel {
    transform: none;
}


/* ---------- Responsivo ---------- */

@media (max-width: 960px) {
    .cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .produtos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .produtos-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .filtros {
        position: static;
        display: none;
    }
    .filtros.aberto {
        display: block;
    }
    .botao-filtros-mobile {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 46px;
        border: 1px solid rgba(139, 92, 246, .45);
        background: transparent;
        color: var(--purple-light);
        border-radius: 999px;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
    }
}

@media (max-width: 760px) {
    .hamburger {
        display: block;
    }
    .header-cta {
        display: none;
    }
    .indicador-online {
        padding: 5px 7px;
        margin-left: auto;
        gap: 5px;
        font-size: 9px;
        /* letter-spacing: .3px; */
    }
    .indicador-online-ponto {
        width: 6px;
        height: 6px;
    }
    nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        height: 100vh;
        height: 100dvh;
        width: 80%;
        max-width: 360px;
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding-top: 6px;
        background: #0b0b0b;
        border-left: 1px solid var(--border);
        transform: translateX(100%);
        transition: transform .32s ease;
        z-index: 70;
        overflow-y: auto;
    }
    nav.aberto {
        transform: translateX(0);
    }
    nav a {
        padding: 16px 20px;
        border-top: 1px solid var(--border);
        font-size: 16px;
    }
    .nav-fechar {
        display: flex;
        align-items: center;
        justify-content: center;
        align-self: flex-end;
        width: 42px;
        height: 42px;
        margin: 10px 12px 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .06);
        border: 1px solid var(--border);
        color: #fff;
        font-size: 18px;
    }
    .nav-fechar:hover {
        background: rgba(139, 92, 246, .2);
        border-color: var(--purple);
    }
    .hero {
        padding: 44px 16px 36px;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .produtos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .produtos-layout .produtos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .passos {
        grid-template-columns: 1fr;
    }
    .cupom-acoes {
        width: 100%;
    }
    .cupom-acoes .btn {
        flex: 1;
    }
    .barra-fixa {
        display: block;
    }
    .voltar-topo {
        bottom: 86px;
    }
}

@media (max-width: 420px) {
    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}


/* Cupom editável nos cards — estilo inspirado na referência enviada */

.produto {
    display: grid;
    grid-template-columns: minmax(100px, 40%) minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    align-content: stretch;
    gap: 0 14px;
    padding: 14px;
}

.produto-link {
    display: contents;
}

.produto-imagem {
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 100%;
}

.produto-conteudo {
    grid-column: 2;
    grid-row: 1;
    padding: 2px 0 8px;
}

.cupom-card {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 10px;
    padding: 10px;
    border: 1px dashed var(--purple);
    border-radius: 15px;
    background: rgba(139, 92, 246, .35);
    color: #f5f3f6;
    min-width: 0;
}

.cupom-legenda {
    font-size: 12px;
    line-height: 1.2;
}

.cupom-codigo {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    background: #1b1a20;
    border-radius: 10px;
    padding: 9px 8px;
    color: var(--purple);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .4px;
}

.cupom-copiar {
    width: 100%;
    border: 0;
    border-radius: 10px;
    padding: 10px;
    min-height: 38px;
    background: var(--purple);
    color: white;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.cupom-copiar:hover {
    filter: brightness(1.08);
}

.produto-cta {
    grid-column: 2;
    grid-row: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 14px;
    background: var(--purple);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.produto-cta:hover {
    filter: brightness(1.08);
}

.produto:not(:has(.cupom-card)) .produto-conteudo {
    grid-row: 1 / span 2;
}

.produto:not(:has(.cupom-card)) .produto-cta {
    grid-row: 3;
    align-self: end;
}


/* Página de cupons MYSISZ */

.cupons-pagina {
    max-width: 1050px;
    margin: 0 auto;
    padding: 48px 22px 90px;
    min-height: 65vh
}

.cupons-cabecalho {
    margin-bottom: 28px
}

.cupons-cabecalho h1 {
    font-size: clamp(30px, 4vw, 42px);
    margin: 6px 0
}

.cupons-cabecalho p {
    color: var(--muted);
    max-width: 740px
}

.cupons-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch
}

.cupom-painel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0
}

.cupom-loja {
    display: flex;
    align-items: center;
    gap: 10px
}

.cupom-loja-icone {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--purple);
    color: #fff
}

.cupom-desconto {
    margin-left: auto;
    color: var(--purple-light);
    font-weight: 700
}

.cupom-resgate {
    background: rgba(139, 92, 246, .11);
    border: 1px dashed var(--purple);
    border-radius: 14px;
    padding: 14px;
    display: grid;
    gap: 10px
}

.cupom-instrucao {
    font-size: 13px;
    color: var(--purple-light)
}

.cupom-codigo-linha {
    display: flex;
    gap: 8px;
    min-width: 0
}

.cupom-codigo-linha code {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
    background: #09070f;
    padding: 12px;
    border-radius: 9px;
    color: var(--purple-light);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .07em
}

.cupom-copiar-pagina {
    background: var(--purple);
    border: 0;
    border-radius: 9px;
    padding: 0 16px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap
}

.cupom-copiar-pagina:hover {
    background: var(--purple-dark)
}

.cupom-produto {
    margin-top: auto;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .035);
    padding: 13px;
    border-radius: 14px
}

.cupom-produto-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 10px
}

.cupom-produto-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0
}

.cupom-produto-info img,
.cupom-foto-vazia {
    width: 76px;
    height: 76px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 10px;
    background: white
}

.cupom-foto-vazia {
    display: grid;
    place-items: center;
    color: #555
}

.cupom-produto-info>div {
    min-width: 0
}

.cupom-produto-info strong {
    display: block;
    font-size: 14px;
    line-height: 1.4;
    overflow-wrap: anywhere
}

.cupom-precos {
    display: flex;
    gap: 9px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 6px
}

.cupom-precos s {
    color: var(--muted);
    font-size: 12px
}

.cupom-precos b {
    color: var(--purple-light)
}

.cupom-ver-oferta {
    margin-top: 12px;
    display: block;
    text-align: center;
    border: 1px solid var(--purple);
    border-radius: 9px;
    padding: 10px;
    color: var(--purple-light);
    text-decoration: none;
    font-weight: 700
}

.cupom-ver-oferta:hover {
    background: var(--purple);
    color: white
}

.cupons-vazio {
    text-align: center;
    padding: 40px;
    color: var(--muted)
}

@media(max-width:720px) {
    .cupons-grid {
        grid-template-columns: 1fr
    }
    .cupons-pagina {
        padding: 32px 16px 70px
    }
    .cupom-painel {
        padding: 15px
    }
}


/* ===== MYSISZ: barra horizontal desktop ===== */

@media (min-width: 761px) {
    .site-header .menu-desktop {
        width: min(calc(100% - 36px), 1540px);
        height: 72px;
        gap: clamp(12px, 1.4vw, 24px);
        flex-wrap: nowrap
    }
    .menu-brand {
        display: flex;
        align-items: center;
        gap: 10px;
        flex: 0 0 auto;
        text-decoration: none;
        min-width: 195px
    }
    .menu-brand img {
        width: 44px;
        height: 44px;
        object-fit: cover;
        border-radius: 50%;
        border: 2px solid var(--purple)
    }
    .menu-brand-text {
        display: flex;
        flex-direction: column;
        line-height: 1.25;
        gap: 3px
    }
    .menu-brand-text strong {
        font-size: 17px;
        color: white;
        letter-spacing: .02em
    }
    .menu-brand-text small {
        font-size: 11px;
        color: #a9a2b8;
        white-space: nowrap
    }
    .site-header nav {
        display: flex;
        align-items: center;
        gap: clamp(10px, 1.4vw, 23px);
        margin: 0 auto;
        white-space: nowrap
    }
    .site-header nav a {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        font-size: 14px;
        color: #b8b2c4
    }
    .site-header nav a i {
        font-size: 17px
    }
    .site-header nav a:hover,
    .site-header nav a[aria-current="page"] {
        background: rgba(139, 92, 246, .18);
        border-radius: 999px;
        color: var(--purple-light);
    }
    .site-header nav .menu-cupom {
        background: rgba(139, 92, 246, .18);
        border-radius: 999px;
        color: var(--purple-light);
        padding: 12px 17px;
        font-weight: 700
    }
    .site-header nav .menu-cupom:hover,
    .site-header nav .menu-cupom[aria-current="page"] {
        background: var(--purple);
        color: #fff
    }
    .menu-search {
        display: flex;
        align-items: center;
        gap: 9px;
        flex: 0 1 220px;
        min-width: 130px;
        padding: 10px 14px;
        border: 1px solid #35303f;
        background: #1b1922;
        border-radius: 999px;
        color: #a9a2b8
    }
    .menu-search input {
        background: transparent;
        border: 0;
        outline: 0;
        color: #fff;
        min-width: 0;
        width: 100%;
        font: inherit;
        font-size: 13px
    }
    .menu-search input::placeholder {
        color: #a9a2b8
    }
    .site-header .indicador-online {
        margin-left: 0;
        flex-shrink: 0;
        background: transparent;
        border: 0;
        padding: 4px 0;
        letter-spacing: 0;
        text-transform: none;
        color: #b8b2c4
    }
    /* .site-header .indicador-online-ponto{width:7px;height:7px} */
    .site-header .hamburger {
        display: none
    }
    .site-header .header-cta {
        display: none
    }
}

@media (min-width:761px) and (max-width:1280px) {
    .site-header nav .menu-extra {
        display: none
    }
    .menu-brand {
        min-width: 155px
    }
    .menu-brand-text small {
        display: none
    }
}

@media (min-width:761px) and (max-width:960px) {
    .site-header nav {
        gap: 10px
    }
    .site-header nav a {
        font-size: 12px
    }
    .menu-search {
        flex-basis: 145px
    }
}

@media (max-width:760px) {
    .menu-brand {
        display: flex;
        align-items: center;
        gap: 8px
    }
    .menu-brand img {
        width: 42px;
        height: 42px;
        object-fit: cover;
        border-radius: 50%
    }
    .menu-brand-text {
        display: flex;
        flex-direction: column;
        gap: 2px
    }
    .menu-brand-text strong {
        font-size: 16px;
        color: #fff
    }
    .menu-brand-text small {
        font-size: 10px;
        color: #aaa
    }
    .menu-search {
        display: none
    }
    .site-header nav a i {
        margin-right: 7px
    }
    .site-header nav .menu-cupom {
        color: var(--purple-light)
    }
}


/* MENU DESKTOP CORRIGIDO — composição em uma linha */

@media (min-width: 1024px) {
    .site-header .menu-desktop {
        width: min(80% - 48px, 1500px);
        height: 74px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: clamp(14px, 1.5vw, 28px)
    }
    .site-header .menu-brand {
        min-width: 205px;
        flex: 0 0 auto
    }
    .site-header .menu-brand-text small {
        display: block
    }
    .site-header nav {
        display: flex;
        align-items: center;
        justify-content: end;
        gap: clamp(12px, 1.4vw, 24px);
        margin: 0;
        flex: 1 1 auto
    }
    .site-header nav a {
        font-size: 14px;
        white-space: nowrap
    }
    .site-header nav .menu-cupom {
        padding: 11px 17px
    }
    .site-header .menu-search {
        flex: 0 1 220px;
        min-width: 145px;
        max-width: 240px
    }
    .site-header .indicador-online {
        margin: 0
    }
    .desktop-more {
        display: block;
        position: relative;
        flex: 0 0 auto
    }
    .desktop-more summary {
        list-style: none;
        cursor: pointer;
        color: #b8b2c4;
        font-size: 24px;
        line-height: 1;
        padding: 7px
    }
    .desktop-more summary::-webkit-details-marker {
        display: none
    }
    .desktop-more-links {
        position: absolute;
        top: calc(100% + 17px);
        right: 0;
        min-width: 180px;
        padding: 8px;
        background: #1b1922;
        border: 1px solid #35303f;
        border-radius: 12px;
        box-shadow: 0 15px 35px #0008;
        z-index: 100
    }
    .desktop-more-links a {
        display: block;
        padding: 11px 12px;
        border-radius: 8px;
        color: #d4cde2;
        font-size: 13px
    }
    .desktop-more-links a:hover {
        background: rgba(139, 92, 246, .18);
        color: white
    }
}

@media (min-width:761px) and (max-width:1023px) {
    .desktop-more {
        display: none
    }
    .site-header .menu-desktop {
        gap: 10px;
        width: calc(100% - 28px)
    }
    .site-header .menu-brand {
        min-width: 0
    }
    .site-header .menu-brand-text small {
        display: none
    }
    .site-header nav {
        gap: 10px;
        margin: 0 auto
    }
    .site-header nav a {
        font-size: 12px
    }
    .site-header .menu-search {
        flex: 0 1 135px;
        min-width: 100px;
        padding: 9px
    }
}

@media (max-width:760px) {
    .desktop-more {
        display: none
    }
}


/* Status sempre visível no menu desktop: presença real do painel */

@media (min-width: 1024px) {
    .site-header .indicador-online {
        display: inline-flex !important;
        align-items: center;
        gap: 7px;
        white-space: nowrap;
    }
    .site-header .indicador-online:not(.ativo) .indicador-online-ponto {
        background: #77717f;
        box-shadow: none;
        animation: none
    }
    .site-header .indicador-online.ativo .indicador-online-ponto {
        background: #22c55e
    }
}


/* Restauração da logo original MYSISZ */

@media (min-width:1024px) {
    .site-header .menu-desktop>.logo {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        min-width: 0
    }
    .site-header .menu-desktop>.logo img {
        height: 52px;
        width: auto;
        max-width: 190px;
        object-fit: contain;
        border: 0;
        border-radius: 0
    }
}


/* Categorias MYSISZ: faixa de chips com rolagem horizontal */

#categorias-sec {
    position: relative;
}

#categorias-sec .cat-grid {
    position: relative;
    display: block;
    min-width: 0;
    padding-right: 48px;
}

#categorias-sec .cat-trilho {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
    white-space: nowrap;
    padding: 3px 0 6px;
}

#categorias-sec .cat-trilho::-webkit-scrollbar {
    display: none;
}

#categorias-sec .cat-card {
    flex: 0 0 auto;
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: auto;
    min-height: 46px;
    padding: 11px 20px;
    border-radius: 999px;
    background: var(--summary);
    border: 1px solid var(--line);
    color: var(--white);
    font-size: 15px;
    font-weight: 650;
    line-height: 1.2;
    text-align: center;
    box-shadow: none;
    text-decoration: none;
    transition: background .2s, border-color .2s, color .2s;
}

#categorias-sec .cat-card:hover {
    transform: none;
    background: var(--purple-hover);
    color: var(--black);
    border-color: #55545c;
    box-shadow: none;
}

#categorias-sec .cat-card.ativo,
#categorias-sec .cat-card.ativo:hover {
    background: var(--purple-hover);
    border-color: var(--purple-light);
    border-radius: 999px;
    color: var(--black);
}

#categorias-sec .cat-avancar {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 43px;
    height: 43px;
    border-radius: 50%;
    background: var(--summary);
    border: 1px solid #33333a;
    color: var(--white);
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 19px;
}

#categorias-sec .cat-avancar[hidden] {
    display: none;
}

#categorias-sec .cat-avancar.retornar i {
    transform: rotate(180deg);
}

#categorias-sec .cat-avancar:hover {
    background: #303039;
}

@media (max-width: 600px) {
    #categorias-sec .cat-grid {
        padding-right: 42px;
    }
    #categorias-sec .cat-trilho {
        gap: 8px;
    }
    #categorias-sec .cat-card {
        font-size: 13px;
        min-height: 41px;
        padding: 10px 15px;
    }
    #categorias-sec .cat-avancar {
        width: 37px;
        height: 37px;
    }
}


/* Filtros da página inicial: botões sem navegação externa */

#categorias-sec button.cat-card {
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
}

#categorias-sec button.cat-card:focus-visible {
    outline: 2px solid #ff3489;
    outline-offset: 3px;
}


/* Busca instantânea na página inicial */

.busca-status {
    margin: 0 0 18px;
    font-size: 14px;
    color: #bdb5c9;
}

#achadinhos {
    scroll-margin-top: 100px;
}


/* MYSISZ: menu de preferências */

.desktop-more {
    display: block !important;
    position: relative;
    flex-shrink: 0
}

.desktop-more summary {
    list-style: none;
    cursor: pointer;
    padding: 8px;
    color: inherit;
    font-size: 23px
}

.desktop-more summary::-webkit-details-marker {
    display: none
}

.desktop-more-links {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    width: min(360px, calc(100vw - 24px));
    max-height: min(76vh, 680px);
    overflow-y: auto;
    padding: 16px 14px;
    background: #1b1a20;
    border: 1px solid #34323c;
    border-radius: 19px;
    box-shadow: 0 20px 50px #0009;
    z-index: 999;
    color: #f4f1f7
}

.desktop-more-links a,
.desktop-more-links .more-action {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    border: 0;
    background: none;
    color: #f4f1f7;
    font: 600 15px/1.45 Inter, sans-serif;
    /* padding: 14px 11px; */
    border-radius: 10px;
    cursor: pointer
}

.desktop-more-links a:hover,
.desktop-more-links .more-action:hover {
    background: rgba(139, 92, 246, .18);
    color: var(--purple-light);
}

.desktop-more-links .more-action:not(.text-action) {
    gap: 14px;
    padding: 5px 11px;
    margin-bottom: 8px
}

.text-action {
    gap: 14px;
    padding: 5px 11px;
    margin-bottom: 8px
}

.more-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #2c2932;
    font-size: 20px;
    flex-shrink: 0
}

.more-icon.pink {
    background: var(--purple);
    color: white
}

.more-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 17px 11px 7px;
    color: #aaa4b2;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em
}

.more-hint {
    font-size: 12px;
    color: #bbb3c3;
    padding: 0 10px
}

@media(max-width:760px) {
    .desktop-more {
        display: block !important;
        margin-left: auto
    }
    .desktop-more-links {
        position: fixed;
        top: 70px;
        right: 12px;
        max-height: calc(100dvh - 84px)
    }
}


/* Tema claro aplicado sem afetar as cores da marca */

body.theme-light {
    --black: #f8f7fa;
    --card: #fff;
    --summary: #fff;
    --white: #211c26;
    --purple-light: #8B5CF6;
    --muted: #625c69;
    --preco: #8B5CF6;
    --border: rgba(32, 25, 40, .16);
    --line: #C4B5FD;
    background: #f8f7fa;
    color: #211c26
}

body.theme-light .site-header,
body.theme-light .menu,
body.theme-light .cat-grid,
body.theme-light .secao {
    color: var(--white)
}

body.theme-light .desktop-more-links {
    background: #fff;
    color: #211c26;
    border-color: #e8e3ec;
    box-shadow: 0 16px 38px #0002
}

body.theme-light .desktop-more-links a,
body.theme-light .desktop-more-links .more-action {
    color: #211c26
}

body.theme-light .desktop-more-links a:hover,
body.theme-light .desktop-more-links .more-action:hover {
    background: #f2ecf3;
    color: #211c26
}

body.theme-light .more-icon {
    background: #eee9f1
}

body.theme-light .more-icon.pink {
    background: var(--purple);
    color: white
}

body.theme-light .more-heading {
    color: #625c69
}

body.theme-light .more-hint {
    color: #625c69
}

body.theme-light .site-header {
    background: #fff !important;
    border-color: #e6e0e8 !important
}

body.theme-light .site-header nav a,
body.theme-light .site-header summary {
    color: #29212e !important
}

body.theme-light .menu-search {
    background: #f2eff5 !important;
    color: #29212e !important
}

body.theme-light .menu-search input {
    color: #29212e !important
}

body.theme-light .topbar {
    color: #fff
}

body.theme-light .cat-btn,
body.theme-light .cat-grid button {
    color: #29212e
}

body.theme-light .cat-btn.ativo,
body.theme-light .cat-grid button.ativo {
    color: #fff
}

.legal-page {
    max-width: 850px;
    margin: 45px auto 90px;
    padding: 0 24px;
    min-height: 45vh
}

.legal-page h1 {
    font-size: clamp(27px, 4vw, 42px);
    margin-bottom: 20px
}

.legal-page h2 {
    font-size: 20px;
    margin: 25px 0 9px
}

.legal-page p,
.legal-page li {
    margin: 12px 0;
    line-height: 1.8;
    color: var(--muted)
}

.legal-page a {
    color: var(--purple);
    text-decoration: underline
}

.cookie-dialog {
    border: 1px solid #4b414f;
    border-radius: 20px;
    padding: 24px;
    width: min(480px, calc(100vw - 28px));
    max-height: 85vh;
    overflow: auto;
    background: #201b25;
    color: #fff;
    position: fixed;
    inset: 0;
    margin: auto;
    box-shadow: 0 25px 80px #0009
}

.cookie-dialog::backdrop {
    background: #000a
}

.cookie-dialog h2 {
    font-size: 22px;
    margin-bottom: 12px
}

.cookie-dialog p {
    font-size: 14px;
    color: #c9c1cc;
    margin: 10px 0
}

.cookie-dialog label {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 14px 0
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px
}

.cookie-buttons button {
    background: var(--purple);
    border: 0;
    color: #fff;
    border-radius: 9px;
    padding: 11px 14px;
    cursor: pointer;
    font-weight: 700
}

.cookie-buttons button.secondary {
    background: #38313d
}

.cookie-dialog a {
    color: var(--purple);
}


/* MYSISZ: somente o NAV vira barra inferior; cabeçalho continua no topo. */

@media (max-width: 1023px) {
    body {
        padding-bottom: calc(86px + env(safe-area-inset-bottom));
    }
    .site-header {
        position: sticky;
        top: 0;
    }
    .site-header .menu-desktop {
        width: calc(95% - 28px);
        min-height: 68px;
        height: auto;
        display: flex;
        flex-wrap: nowrap;
        gap: 12px;
    }
    .site-header .menu-desktop>.logo {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
    }
    .site-header .menu-desktop>.logo img {
        width: auto;
        height: 43px;
        max-width: 145px;
        object-fit: contain;
    }
    .site-header .hamburger {
        display: none !important;
    }
    .site-header .menu-search {
        display: flex;
        flex: 1 1 auto;
        min-width: 0;
        max-width: 440px;
        margin-left: auto;
    }
    .site-header .indicador-online {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 5px 9px;
        margin: 0;
        border-radius: 20px;
        font-size: 11px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .site-header .indicador-online-ponto {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        flex-shrink: 0;
    }
    .site-header .indicador-online.ativo .indicador-online-ponto {
        background: #22c55e;
        box-shadow: 0 0 8px rgba(34, 197, 94, .5);
    }
    .site-header .indicador-online:not(.ativo) .indicador-online-ponto {
        background: #77717f;
        box-shadow: none;
        animation: none;
    }
    .site-header .desktop-more {
        display: block !important;
        margin-left: 0;
    }
    #nav {
        position: fixed !important;
        inset: auto 0 0 0 !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 69px;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-around;
        align-items: stretch;
        gap: 4px !important;
        margin: 0 !important;
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom)) !important;
        border: 0 !important;
        border-top: 1px solid var(--border) !important;
        border-radius: 0 !important;
        background: #1b1a20 !important;
        box-shadow: 0 -8px 26px rgba(0, 0, 0, .24);
        transform: none !important;
        transition: none !important;
        overflow: visible !important;
        z-index: 1000;
    }
    #nav a {
        display: flex;
        flex: 1 1 0;
        min-width: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        padding: 6px 5px !important;
        border: 0 !important;
        border-radius: 12px;
        color: #c7bfce;
        font-size: 12px !important;
        font-weight: 600;
        line-height: 1.3;
        text-align: center;
        white-space: nowrap;
    }
    #nav a i {
        display: grid;
        place-items: center;
        width: 42px;
        height: 32px;
        margin: 0 !important;
        border-radius: 13px;
        font-size: 21px;
    }
    #nav a.active,
    #nav a[aria-current="page"] {
        background: rgba(139, 92, 246, .18);
        color: var(--purple-light);
        background: transparent;
    }
    #nav a.active i,
    #nav a[aria-current="page"] i {
        background: rgba(139, 92, 246, .18);
        color: var(--purple-light);
    }
    #nav a:hover {
        background: rgba(139, 92, 246, .18);
        color: var(--purple-light);
    }
    #nav .nav-fechar,
    .nav-overlay {
        display: none !important;
    }
    .secao,
    .cta {
        width: calc(95% - 28px);
    }
    .desktop-more-links {
        position: fixed;
        top: 72px;
        right: 12px;
    }
    .produtos-grid,
    .produtos-layout .produtos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    body.theme-light #nav {
        background: #fff !important;
        border-top-color: #e6e0e8 !important;
    }
    body.theme-light #nav a {
        color: #625c69 !important;
    }
    body.theme-light #nav a.active,
    body.theme-light #nav a[aria-current="page"] {
        color: var(--purple) !important;
    }
}

@media (max-width: 600px) {
    .site-header .menu-desktop {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        grid-template-areas: "logo online config" "pesquisa pesquisa pesquisa";
        align-items: center;
        gap: 10px;
    }
    /* Logo */
    .site-header .menu-desktop>.logo {
        grid-area: logo;
        justify-self: start;
        min-width: 0;
    }
    /* Indicador Online */
    .site-header .indicador-online {
        grid-area: online;
        display: inline-flex !important;
        align-items: center;
        gap: 5px;
        margin: 0;
        padding: 5px 7px;
        font-size: 10px;
        white-space: nowrap;
        justify-self: end;
    }
    /* Menu sanduíche */
    .site-header .hamburger {
        grid-area: config;
        display: flex !important;
        align-items: center;
        justify-content: center;
        margin: 0;
    }
    /* Barra de pesquisa */
    .site-header .menu-search {
        grid-area: pesquisa;
        width: 100%;
        max-width: none;
        min-width: 0;
        margin: 0;
    }
}


/* PESQUISA RESPONSIVA - MYSISZ */

@media (max-width: 760px) {
    .site-header .menu-desktop {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "logo config" "pesquisa pesquisa";
        align-items: center;
        width: calc(100% - 32px);
        height: auto;
        min-height: 0;
        gap: 12px;
        padding: 12px 0 14px;
        margin: 0 auto;
    }
    .site-header .menu-desktop>.logo {
        grid-area: logo;
        justify-self: start;
        min-width: 0;
    }
    .site-header .menu-desktop>.logo img {
        height: 40px;
        max-width: 130px;
        object-fit: contain;
    }
    .site-header .desktop-more {
        grid-area: config;
        justify-self: end;
        margin: 0;
    }
    .site-header .menu-search {
        grid-area: pesquisa;
        display: flex !important;
        align-items: center;
        gap: 12px;
        width: 100%;
        max-width: none;
        min-width: 0;
        min-height: 46px;
        margin: 0;
        padding: 0 16px;
        background: #1b1922;
        border: 1px solid #35303f;
        border-radius: 999px;
        color: var(--purple);
        box-sizing: border-box;
        transition: border-color .2s, box-shadow .2s;
    }
    .site-header .menu-search:focus-within {
        border-color: var(--purple);
        box-shadow: 0 0 0 3px rgba(255, 52, 137, .12);
    }
    .site-header .menu-search i {
        font-size: 18px;
        flex-shrink: 0;
    }
    .site-header .menu-search input {
        flex: 1;
        width: 100%;
        min-width: 0;
        border: none;
        outline: none;
        background: transparent;
        color: #fff;
        font-size: 14px;
        padding: 12px 0;
    }
    .site-header .menu-search input::placeholder {
        color: #a9a2b8;
    }
}


/* TEMA CLARO */

@media (max-width: 600px) {
    body.theme-light .site-header .menu-search {
        background: #f5f3f7;
        border-color: #e5dfe9;
    }
    body.theme-light .site-header .menu-search input {
        color: #222;
    }
}

@media (max-width: 600px) {
    .site-header .menu-desktop {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "logo acoes" "pesquisa pesquisa";
        align-items: center;
        gap: 12px;
        width: calc(100% - 28px);
        height: auto;
        margin: 0 auto;
        padding: 12px 0;
    }
    .site-header .menu-desktop>.logo {
        grid-area: logo;
        justify-self: start;
    }
    /* Online + menu sanduíche */
    .site-header .header-acoes {
        grid-area: acoes;
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 12px;
        min-width: 0;
    }
    .site-header .header-acoes .indicador-online {
        position: static !important;
        display: inline-flex !important;
        align-items: center;
        gap: 5px;
        width: auto;
        margin: 0 !important;
        padding: 5px 8px;
        white-space: nowrap;
        font-size: 10px;
    }
    .site-header .header-acoes .hamburger {
        position: static !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin: 0 !important;
    }
    /* Pesquisa na segunda linha */
    .site-header .menu-search {
        grid-area: pesquisa;
        width: 100%;
        max-width: none;
        min-width: 0;
        margin: 0;
    }
}


/* CORREÇÃO DEFINITIVA: indicador ao lado do menu de opções.
   .header-acoes contém o indicador e o <details> (ícone de três linhas).
   O botão #hamburger é outro controle e permanece oculto na barra inferior. */

.site-header .header-acoes {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    min-width: 0;
}

.site-header .header-acoes .indicador-online {
    margin: 0;
}

@media (max-width: 1023px) {
    .site-header .header-acoes {
        margin-left: auto;
    }
    .site-header .header-acoes .desktop-more {
        flex: 0 0 auto;
        margin: 0;
    }
}

@media (max-width: 600px) {
    .site-header .menu-desktop {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        grid-template-areas: "logo acoes" "pesquisa pesquisa" !important;
        column-gap: 10px;
        row-gap: 10px;
        align-items: center;
    }
    .site-header .menu-desktop>.logo {
        grid-area: logo;
        min-width: 0;
        justify-self: start;
    }
    .site-header .menu-desktop>.header-acoes {
        grid-area: acoes;
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        justify-content: flex-end;
        justify-self: end;
        gap: 9px;
        margin: 0;
        min-width: 0;
    }
    .site-header .header-acoes>.indicador-online {
        position: static !important;
        display: inline-flex !important;
        align-items: center;
        width: auto;
        margin: 0 !important;
        padding: 5px 7px;
        font-size: 9px;
        white-space: nowrap;
    }
    .site-header .header-acoes>.desktop-more {
        position: relative;
        display: block !important;
        margin: 0 !important;
        flex-shrink: 0;
    }
    .site-header .menu-desktop>.menu-search {
        grid-area: pesquisa;
        width: 100%;
        max-width: none;
        min-width: 0;
        margin: 0;
    }
    .site-header .menu-desktop>#hamburger {
        display: none !important;
    }
}

\n
/* ===== INDICADOR ONLINE / OFFLINE — MESMA APARÊNCIA EM TODAS AS TELAS ===== */


/* A classe .ativo é atualizada pelo js/base.js; sem ela, o estado é offline. */

.site-header .header-acoes {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 0 0 auto;
    min-width: 0;
}

.site-header .header-acoes>.indicador-online,
.site-header .header-acoes>.indicador-online.ativo {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 7px !important;
    width: auto !important;
    flex: 0 0 auto;
    margin: 0 !important;
    padding: 6px 10px !important;
    border-radius: 999px;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 600;
    /* letter-spacing: .4px !important;
    text-transform: uppercase !important; */
    white-space: nowrap;
    background: rgba(120, 120, 130, .13) !important;
    border: 1px solid rgba(150, 150, 160, .35) !important;
    color: #a6a6af !important;
}

.site-header .header-acoes>.indicador-online .indicador-online-ponto {
    width: 7px !important;
    height: 7px !important;
    flex: 0 0 7px;
    background: #898992 !important;
    box-shadow: none !important;
    animation: none !important;
}

.site-header .header-acoes>.indicador-online.ativo {
    background: rgba(34, 197, 94, .14) !important;
    border-color: rgba(34, 197, 94, .45) !important;
    color: #86efac !important;
}

.site-header .header-acoes>.indicador-online.ativo .indicador-online-ponto {
    background: #22c55e !important;
    /* box-shadow: 0 0 0 3px rgba(34, 197, 94, .12) !important; */
    animation: onlinePulse 2s ease-out infinite;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
}

.site-header .header-acoes>.desktop-more {
    position: relative;
    display: block !important;
    flex: 0 0 auto;
    margin: 0 !important;
}

@media (max-width: 1023px) {
    .site-header .header-acoes {
        margin-left: auto;
    }
}

@media (max-width: 600px) {
    .site-header .menu-desktop {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        grid-template-areas: "logo acoes" "pesquisa pesquisa" !important;
        align-items: center;
        column-gap: 10px;
        row-gap: 12px;
    }
    .site-header .menu-desktop>.logo {
        grid-area: logo !important;
        justify-self: start;
        min-width: 0;
    }
    .site-header .menu-desktop>.header-acoes {
        grid-area: acoes !important;
        justify-self: end;
        margin: 0;
        gap: 8px;
    }
    .site-header .menu-desktop>.menu-search {
        grid-area: pesquisa !important;
        width: 100%;
        max-width: none;
        min-width: 0;
        margin: 0;
    }
    .site-header .menu-desktop>#hamburger {
        display: none !important;
    }
}


/* CORREÇÃO: uma coluna de produtos em celulares, sem alterar os cards */

@media (max-width: 600px) {
    .produtos-grid,
    .produtos-layout .produtos-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}


/* ===== Cards legíveis no celular: imagem à esquerda, textos à direita ===== */

@media (max-width: 600px) {
    .secao {
        width: calc(100% - 24px) !important;
        max-width: 100%;
    }
    .produtos-grid,
    .produtos-layout .produtos-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px;
    }
    .produto {
        grid-template-columns: minmax(0, 38%) minmax(0, 1fr) !important;
        gap: 0 12px;
        padding: 12px;
        min-height: 0;
    }
    .produto-imagem {
        min-width: 0;
    }
    .produto-conteudo {
        min-width: 0;
        gap: 6px;
        padding-top: 0;
    }
    .produto-nome {
        font-size: 14px;
        line-height: 1.45;
        overflow-wrap: break-word;
        -webkit-line-clamp: 3;
    }
    .precos strong {
        font-size: clamp(17px, 4.7vw, 21px);
        line-height: 1.2;
    }
    .precos s {
        font-size: 11px;
    }
    .produto-tempo {
        font-size: 11px;
        line-height: 1.45;
        flex-wrap: wrap;
    }
    .produto-btn,
    .produto-cta {
        font-size: 12px;
        padding: 9px 7px;
        min-height: 38px;
    }
    .cupom-card {
        padding: 8px;
        gap: 6px;
    }
    .cupom-legenda {
        font-size: 11px;
    }
    .cupom-codigo {
        font-size: 11px;
        padding: 8px 5px;
    }
}


/* Bolinha de status online */

.online-dot {
    width: 10px;
    height: 10px;
    background-color: #22c55e;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
}


/* Efeito de pulsação */

.indicador-online.ativo .indicador-online-ponto::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: #22c55e;
    animation: onlinePulse 2s ease-out infinite;
}

@keyframes onlinePulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    70%,
    100% {
        transform: scale(2.8);
        opacity: 0;
    }
}
/* MYSISZ: alinhamento consistente da navegação inferior em telas pequenas */
@media (max-width: 760px) {
  #nav {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    align-items: stretch !important;
    justify-items: stretch !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100vw !important;
  }
  #nav > a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    width: 100% !important;
    text-align: center !important;
  }
}
