/*
 * ============================================================
 * eHamburguers — Theme CSS v3.0
 * eSysMint - Sistemas Web de Automação Comercial
 * Wesley Fernando Mendonça
 *
 * ÍNDICE:
 *  1. Fontes & Variáveis
 *  2. Tema Escuro (Material Design Dark)
 *  3. Reset & Base
 *  4. Navbar
 *  5. Botão ADM na Navbar
 *  6. Loja Fechada Banner
 *  7. Hero Card
 *  8. Seções & Títulos
 *  9. Carousel de Categorias
 * 10. Grid de Produtos
 * 11. Diferenciais
 * 12. Horários
 * 13. Botões
 * 14. Flash Messages
 * 15. Inputs & Formulários
 * 16. Drawer do Carrinho
 * 17. Modal de Produto
 * 18. Pagamento & PIX
 * 19. Timeline de Pedido
 * 20. Bottom Nav Mobile
 * 21. Footer
 * 22. WhatsApp Flutuante
 * 23. Auth Pages (Login/Cadastro)
 * 24. Scroll to Top
 * 25. Utilitários & Aliases
 * 26. Skeleton Loading
 * 27. Dark Mode — Ajustes por Componente
 * 28. Print
 * ============================================================
 */
/* ============================================================
   1. FONTES & VARIÁVEIS
   ============================================================ */
/* Fontes carregadas via <link rel="preload"> no layout HTML para melhor performance */
:root {
    /* Cores principais */
    --primary:      #3EB489;
    --primary-dk:   #2A7A5E;
    --primary-lt:   #e8f8f2;
    --accent:       #FF6B2B;
    /* Superfícies */
    --bg:           url(../images/bg_medio.jpg);
    --bg-card:      #ffffff;
    --bg-navbar:    url(../images/bg_negro.jpg);
    --surface:      #ffffff;
    --surface2:     #f0ede8;
    --border:       #e2ddd6;
    /* Tipografia */
    --text:         #1c1c1e;
    --text-sec:     #5a5a6e;
    --text-muted:   #9a9aaa;
    --font-body:    'Nunito', sans-serif;
    --font-head:    'Poppins', sans-serif;
    /* Bordas */
    --radius:       16px;
    --radius-sm:    10px;
    --radius-lg:    24px;
    --radius-pill:  999px;
    /* Sombras */
    --shadow-sm:    0 2px 8px rgba(0,0,0,.06);
    --shadow-md:    0 4px 20px rgba(0,0,0,.10);
    --shadow-lg:    0 8px 40px rgba(0,0,0,.14);
    /* Layout */
    --navbar-h:     72px;
    /* Transição padrão */
    --tx:           .2s ease;
    --gray-dark: #808080;      /* color1 - Textos importantes, botões principais */
    --gray-medium: #a0a0a0;    /* color2 - Textos secundários, ícones */
    --gray-light: #c0c0c0;     /* color3 - Bordas, separadores */
    --gray-lighter: #dfdfdf;   /* color4 - Fundos suaves, hover */
    --bg-body: url(../images/background.png);
    --bg-body-claro: url(../images/bg_claro.jpg);
    --bg-body-medio: url(../images/bg_medio.jpg);
    --bg-body-negro: url(../images/bg_negro.jpg);
}
/* ============================================================
   2. TEMA ESCURO — Material Design Dark
   ============================================================ */
[data-theme="dark"] {
    --bg:           #121212;
    --bg-card:      #1e1e1e;
    --bg-navbar:    url(../images/bg_negro.jpg);
    --surface:      #1e1e1e;
    --surface2:     #2a2a2a;
    --border:       #2a2a2a;
    --text:         #e0e0e0;
    --text-sec:     #b0b0b0;
    --text-muted:   #666666;
    /* Acento roxo — Material Purple */
    --primary:      #bb86fc;
    --primary-dk:   #9c5fe0;
    --primary-lt:   rgba(187,134,252,.12);
}
/* ============================================================
   3. RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    transition: background .3s, color .2s;
    padding-bottom: 80px; /* espaço para bottom nav mobile */
}
@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    display: block;
}
/* ============================================================
   4. NAVBAR
   ============================================================ */
.eh-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--navbar-h);
    background: var(--bg-navbar);
    box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.eh-navbar-inner {
    max-width: 960px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 1.5rem;
}
[data-theme="dark"] .eh-navbar {
    border-bottom: 1px solid #2a2a2a;
    box-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.navbar-logo {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-shrink: 0;
}
.navbar-logo img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
}
.navbar-logo-name {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    display: none;
}
@media (min-width: 480px) {
    .navbar-logo-name {
        display: block;
    }
}
.navbar-spacer {
    flex: 1;
}
.navbar-links {
    display: flex;
    align-items: center;
    gap: .25rem;
}
.navbar-link {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem .875rem;
    border-radius: var(--radius-pill);
    color: rgba(255,255,255,.75);
    font-size: .85rem;
    font-weight: 600;
    transition: all var(--tx);
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--font-body);
    position: relative;
}
.navbar-link:hover {
    background: rgba(255,255,255,.1);
    color: #fff;
}
.navbar-link .bi {
    font-size: 1rem;
}
.cart-badge-nav {
    background: var(--accent);
    color: #fff;
    font-size: .65rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: -.25rem;
}
.btn-theme {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.75);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--tx);
}
.btn-theme:hover {
    background: rgba(255,255,255,.2);
    color: #fff;
}
/* ============================================================
   5. BOTÃO ADM NA NAVBAR
   ============================================================ */
/* Admin LOGADO → "Painel" roxo pulsante */
.navbar-link-adm {
    position: relative;
    background: rgba(187,134,252,.15) !important;
    color: #bb86fc !important;
    border: 1px solid rgba(187,134,252,.4) !important;
    border-radius: var(--radius-pill) !important;
    font-weight: 700 !important;
}
.navbar-link-adm:hover {
    background: rgba(187,134,252,.28) !important;
    color: #d4aaff !important;
}
.navbar-link-adm::after {
    content: '';
    position: absolute;
    top: 4px;
    right: 4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #bb86fc;
    animation: adm-pulse 2s infinite;
}
@keyframes adm-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50%       {
        opacity: .4;
        transform: scale(.65);
    }
}
/* Admin DESLOGADO → "Área ADM" discreto */
.navbar-link-adm-login {
    color: rgba(255,255,255,.45) !important;
    font-size: .78rem !important;
    padding: .35rem .7rem !important;
    border-radius: var(--radius-pill) !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    transition: all var(--tx) !important;
}
.navbar-link-adm-login:hover {
    color: rgba(255,255,255,.8) !important;
    border-color: rgba(255,255,255,.3) !important;
    background: rgba(255,255,255,.06) !important;
}
/* Bottom nav ADM */
.bottom-nav-adm {
    color: rgba(255,255,255,.4) !important;
}
.bottom-nav-adm:hover {
    color: var(--primary) !important;
}
/* ============================================================
   6. LOJA FECHADA BANNER
   ============================================================ */
.loja-fechada-banner {
    background: linear-gradient(90deg, #c0392b, #e74c3c);
    color: #fff;
    text-align: center;
    padding: .5rem 1rem;
    font-size: .82rem;
    font-weight: 600;
}
/* ============================================================
   7. HERO CARD
   ============================================================ */
.eh-hero-wrap {
    padding: 2rem 1rem 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}
.eh-hero-card {
    background: linear-gradient(145deg, #e8e4dc, #d8d4cc);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
[data-theme="dark"] .eh-hero-card {
    background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
    border: 1px solid #333;
}
.eh-hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
    pointer-events: none;
}
.hero-logo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.25rem;
    box-shadow: 0 8px 32px rgba(0,0,0,.2);
    position: relative;
    z-index: 1;
    background: #fff;
}
.hero-logo-placeholder {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 8px 32px rgba(62,180,137,.35);
    position: relative;
    z-index: 1;
}
.hero-title {
    font-family: var(--font-head);
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: .375rem;
    position: relative;
    z-index: 1;
}
.hero-subtitle {
    font-size: .95rem;
    color: var(--text-sec);
    margin-bottom: .5rem;
    position: relative;
    z-index: 1;
}
.hero-sub2 {
    font-size: .82rem;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
    position: relative;
    z-index: 1;
}
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: .625rem;
    background: var(--text);
    color: var(--bg-card);
    padding: .875rem 2rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .95rem;
    border: none;
    cursor: pointer;
    transition: all var(--tx);
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
[data-theme="dark"] .btn-hero {
    background: #bb86fc;
    color: #121212;
}
/* ============================================================
   8. SEÇÕES & TÍTULOS
   ============================================================ */
.section-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1rem;
}
.section-title {
    display: flex;
    align-items: center;
    gap: .625rem;
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: .375rem;
}
.section-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 1.3em;
    border-radius: 2px;
    background: var(--primary);
}
.section-title .bi {
    color: var(--accent);
    font-size: 1.1rem;
}
[data-theme="dark"] .section-title::before {
    background: #bb86fc;
}
[data-theme="dark"] .section-title .bi {
    color: #bb86fc;
}
.section-subtitle {
    font-size: .82rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    padding-left: .875rem;
}
.eh-cat-section {
    padding: 1rem 0;
}
/* ============================================================
   8.5 BUSCA NO CARDÁPIO
   ============================================================ */
.cardapio-busca-wrap {
    padding: 1rem 0 0;
}
.cardapio-busca-box {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: .15rem .25rem;
    transition: border-color .15s, box-shadow .15s;
}
.cardapio-busca-box:has(.cardapio-busca-input:focus) {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-lt);
}
.cardapio-busca-icon {
    padding: 0 .75rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    flex-shrink: 0;
}
.cardapio-busca-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: .75rem .25rem;
    font-size: .92rem;
    color: var(--text);
    min-width: 0;
}
.cardapio-busca-input::placeholder {
    color: var(--text-muted);
}
.cardapio-busca-limpar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0 .75rem;
    flex-shrink: 0;
    transition: color .15s;
}
.cardapio-busca-limpar:hover {
    color: var(--primary);
}
/* ============================================================
   9. CAROUSEL DE CATEGORIAS
   ============================================================ */
.categories-section {
    padding: 1.5rem 0;
}
.categories-carousel-wrap {
    position: relative;
}
.categories-carousel {
    display: flex;
    gap: .875rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: .5rem;
}
.categories-carousel::-webkit-scrollbar {
    display: none;
}
.cat-card {
    scroll-snap-align: start;
    flex: 0 0 calc(25% - .66rem);
    min-width: 140px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--tx);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
}
@media (max-width: 640px) {
    .cat-card {
        flex: 0 0 42vw;
        min-width: 0;
    }
}
.cat-card:hover, .cat-card.active {
    border-color: var(--primary);
    background: var(--primary-lt);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
[data-theme="dark"] .cat-card:hover,
[data-theme="dark"] .cat-card.active {
    background: rgba(187,134,252,.1);
    border-color: #bb86fc;
}
.cat-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--surface2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--text-sec);
    transition: all var(--tx);
}
.cat-card:hover .cat-card-icon,
.cat-card.active .cat-card-icon {
    background: var(--primary);
    color: #fff;
}
.cat-card-name {
    font-weight: 700;
    font-size: .875rem;
    color: var(--text);
}
/* Setas do carousel */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface);
    border: 1.5px solid var(--border);
    color: var(--text);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    box-shadow: var(--shadow-sm);
    transition: all var(--tx);
}
.carousel-arrow:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.carousel-arrow.left  {
    left: -18px;
}
.carousel-arrow.right {
    right: -18px;
}
@media (max-width: 640px) {
    .carousel-arrow {
        display: none;
    }
}
/* Dots do carousel */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: .4rem;
    margin-top: .875rem;
}
.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all var(--tx);
}
.carousel-dot.active {
    background: var(--primary);
    width: 20px;
    border-radius: 4px;
}
/* ============================================================
   10. GRID DE PRODUTOS
   ============================================================ */
.products-section {
    padding: 1.5rem 0;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}
@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: .625rem;
    }
}
.product-card {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--tx);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
[data-theme="dark"] .product-card:hover {
    border-color: #bb86fc44;
    box-shadow: 0 8px 24px rgba(187,134,252,.12);
}
.product-img-wrap {
    aspect-ratio: 1 / 1;
    background: var(--surface2);
    position: relative;
    overflow: hidden;
}
.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.product-card:hover .product-img {
    transform: scale(1.06);
}
.product-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--border);
}
[data-theme="dark"] .product-img-placeholder {
    color: #444;
}
.badge-promo {
    position: absolute;
    top: .5rem;
    left: .5rem;
    background: var(--accent);
    color: #fff;
    font-size: .62rem;
    font-weight: 800;
    padding: .2rem .5rem;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: .04em;
}
.badge-dest {
    position: absolute;
    top: .5rem;
    right: .5rem;
    background: #f59e0b;
    color: #fff;
    font-size: .62rem;
    font-weight: 800;
    padding: .2rem .5rem;
    border-radius: var(--radius-pill);
}
.product-body {
    padding: .875rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}
.product-name {
    font-weight: 700;
    font-size: .875rem;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-desc {
    font-size: .75rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: .5rem;
}
.product-price-old {
    font-size: .7rem;
    color: var(--text-muted);
    text-decoration: line-through;
}
.product-price {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
}
.product-price.promo {
    color: var(--accent);
}
[data-theme="dark"] .product-price {
    color: #bb86fc;
}
.btn-add {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--tx);
}
.btn-add:hover {
    background: var(--primary-dk);
    transform: scale(1.1);
}
[data-theme="dark"] .btn-add {
    background: #bb86fc;
    color: #121212;
}
[data-theme="dark"] .btn-add:hover {
    background: #9c5fe0;
}
/* ============================================================
   11. DIFERENCIAIS
   ============================================================ */
.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: .5rem;
}
@media (max-width: 540px) {
    .diferenciais-grid {
        grid-template-columns: 1fr;
    }
}
.diferencial-card {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
}
.diferencial-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-lt);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
[data-theme="dark"] .diferencial-icon {
    background: rgba(187,134,252,.12);
    color: #bb86fc;
}
.diferencial-title {
    font-weight: 700;
    font-size: .875rem;
}
.diferencial-desc  {
    font-size: .78rem;
    color: var(--text-muted);
}
/* ============================================================
   12. HORÁRIOS
   ============================================================ */
.horarios-card {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.horario-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .625rem 1rem;
    border-bottom: 1px solid var(--border);
    font-size: .875rem;
    transition: background var(--tx);
}
.horario-row:last-child {
    border-bottom: none;
}
.horario-row.hoje {
    background: var(--primary-lt);
}
[data-theme="dark"] .horario-row.hoje {
    background: rgba(187,134,252,.1);
}
.horario-dia {
    font-weight: 700;
    color: var(--text);
}
.horario-dia.hoje-label {
    color: var(--primary);
}
[data-theme="dark"] .horario-dia.hoje-label {
    color: #bb86fc;
}
.horario-hora {
    color: var(--text-sec);
    font-size: .82rem;
}
/* ============================================================
   13. BOTÕES
   ============================================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--primary);
    color: #fff;
    padding: .7rem 1.5rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all var(--tx);
}
.btn-primary:hover {
    background: var(--primary-dk);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(62,180,137,.35);
}
.btn-primary.block {
    width: 100%;
    justify-content: center;
}
.btn-primary.lg, .btn-lg {
    padding: .875rem 2rem;
    font-size: 1rem;
}
.btn-primary.sm, .btn-sm {
    padding: .45rem 1rem;
    font-size: .8rem;
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: .65rem 1.5rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--tx);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}
/* Aliases e variantes */
.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--primary);
    color: #fff;
    padding: .875rem 2rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all var(--tx);
}
.btn-submit:hover {
    background: var(--primary-dk);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(62,180,137,.35);
}
.btn-mint {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--primary);
    color: #fff;
    padding: .7rem 1.5rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all var(--tx);
    text-decoration: none;
}
.btn-mint:hover {
    background: var(--primary-dk);
    color: #fff;
}
.btn-mint-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-mint-outline:hover {
    background: var(--primary);
    color: #fff;
}
/* ============================================================
   14. FLASH MESSAGES
   ============================================================ */
.flash {
    border-radius: var(--radius-sm);
    padding: .75rem 1rem;
    margin-bottom: .75rem;
    font-size: .875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.flash.success {
    background: #dcfce7;
    color: #166534;
    border-left: 3px solid #22c55e;
}
.flash.error   {
    background: #fee2e2;
    color: #991b1b;
    border-left: 3px solid #ef4444;
}
.flash.warning {
    background: #fef9c3;
    color: #854d0e;
    border-left: 3px solid #eab308;
}
.flash.info    {
    background: #dbeafe;
    color: #1e40af;
    border-left: 3px solid #3b82f6;
}
[data-theme="dark"] .flash.success {
    background: #14532d;
    color: #86efac;
}
[data-theme="dark"] .flash.error   {
    background: #450a0a;
    color: #fca5a5;
}
[data-theme="dark"] .flash.warning {
    background: #422006;
    color: #fde68a;
}
[data-theme="dark"] .flash.info    {
    background: #1e1e1e;
    color: #bb86fc;
    border-left-color: #bb86fc;
}
/* ============================================================
   15. INPUTS & FORMULÁRIOS
   ============================================================ */
.eh-label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-sec);
    margin-bottom: .375rem;
}
.eh-input {
    width: 100%;
    padding: .65rem .9rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text);
    font-family: var(--font-body);
    font-size: .9rem;
    transition: border-color var(--tx), box-shadow var(--tx);
    outline: none;
}
.eh-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(62,180,137,.15);
}
[data-theme="dark"] .eh-input:focus {
    border-color: #bb86fc;
    box-shadow: 0 0 0 3px rgba(187,134,252,.15);
}
.eh-form-group {
    margin-bottom: 1rem;
}
/* ============================================================
   16. DRAWER DO CARRINHO
   ============================================================ */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--tx);
}
.cart-overlay.open {
    opacity: 1;
    pointer-events: all;
}
.cart-drawer {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: min(420px, 100vw);
    background: var(--surface);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--tx);
    box-shadow: -4px 0 32px rgba(0,0,0,.15);
}
.cart-drawer.open {
    transform: translateX(0);
}
.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
}
.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}
.cart-empty {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .875rem;
    color: var(--text-muted);
    text-align: center;
}
.cart-empty .bi {
    font-size: 3rem;
}
.cart-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border);
}
.cart-item {
    display: flex;
    gap: .75rem;
    padding: .75rem 0;
    border-bottom: 1px solid var(--border);
}
.cart-item-img {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: var(--surface2);
    flex-shrink: 0;
}
.cart-item-info {
    flex: 1;
    min-width: 0;
}
.cart-item-name {
    font-weight: 700;
    font-size: .85rem;
}
.cart-item-adds,
.cart-item-adicionais {
    font-size: .72rem;
    color: var(--text-muted);
}
.cart-item-price {
    font-weight: 800;
    color: var(--primary);
    font-size: .9rem;
}
.cart-qty-ctrl,
.cart-item-qty {
    display: flex;
    align-items: center;
    gap: .375rem;
    margin-top: .375rem;
}
.btn-qty {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--surface2);
    color: var(--text);
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--tx);
}
.btn-qty:hover {
    border-color: var(--primary);
    background: var(--primary-lt);
    color: var(--primary);
}
.qty-val,
.qty-value {
    font-weight: 700;
    min-width: 22px;
    text-align: center;
    color: var(--text);
}
/* ── Observação por item no carrinho ──────────────────────── */
.cart-item-obs-toggle {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: none;
    border: none;
    padding: 0;
    font-size: .76rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color .15s;
}
.cart-item-obs-toggle:hover {
    color: var(--primary);
}
.cart-item-obs-toggle.tem-obs {
    color: var(--primary);
    font-weight: 600;
}
.cart-item-obs-box {
    margin-top: .5rem;
}
.cart-item-obs-input {
    width: 100%;
    min-height: 52px;
    resize: vertical;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface2);
    color: var(--text);
    font-size: .8rem;
    font-family: inherit;
    padding: .5rem .625rem;
    transition: border-color .15s;
}
.cart-item-obs-input:focus {
    outline: none;
    border-color: var(--primary);
}
.cart-item-obs-status {
    font-size: .7rem;
    margin-top: .25rem;
    min-height: 1em;
    color: var(--text-muted);
}
.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: .875rem;
    margin-bottom: .375rem;
    color: var(--text-sec);
}
.summary-row.total {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text);
    border-top: 1px solid var(--border);
    padding-top: .5rem;
    margin-top: .5rem;
}
.summary-row .val {
    font-weight: 700;
    color: var(--primary);
}
[data-theme="dark"] .summary-row .val {
    color: #bb86fc;
}
/* Alias */
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: .875rem;
    margin-bottom: .375rem;
    color: var(--text-sec);
}
.cart-summary-row.total {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text);
    border-top: 1px solid var(--border);
    padding-top: .5rem;
    margin-top: .5rem;
}
.cart-summary-row .value {
    font-weight: 700;
    color: var(--primary);
}
/* ============================================================
   17. MODAL DE PRODUTO
   ============================================================ */
.product-modal .modal-content {
    border: none;
    border-radius: var(--radius-lg);
    background: var(--surface);
    overflow: hidden;
}
.modal-product-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.modal-body-inner {
    padding: 1.25rem;
}
.modal-product-name {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: .25rem;
}
.modal-product-desc {
    font-size: .875rem;
    color: var(--text-sec);
    margin-bottom: 1rem;
}
.modal-product-price {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--primary);
}
.adicionais-box {
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1rem;
}
.adicionais-title {
    background: var(--surface2);
    padding: .625rem 1rem;
    font-weight: 700;
    font-size: .85rem;
}
.adicional-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .625rem 1rem;
    border-top: 1px solid var(--border);
    cursor: pointer;
    transition: background var(--tx);
    flex-wrap: wrap;
}
.adicional-item:hover {
    background: var(--surface2);
}
.adicional-item input {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.adicional-name {
    flex: 1;
    font-size: .875rem;
    min-width: 0;
}
.adicional-price {
    font-weight: 700;
    color: var(--primary);
    font-size: .85rem;
}
/* Mini spinner de quantidade por adicional */
.adicional-qty-ctrl {
    display: none;
    align-items: center;
    gap: .35rem;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: .15rem .4rem;
    margin-left: auto;
    flex-shrink: 0;
}
.adicional-qty-ctrl.visivel {
    display: flex;
}
.adicional-qty-btn {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    transition: opacity .15s;
    flex-shrink: 0;
}
.adicional-qty-btn:disabled { opacity: .35; cursor: not-allowed; }
.adicional-qty-num {
    font-size: .82rem;
    font-weight: 700;
    min-width: 1.4rem;
    text-align: center;
    color: var(--text);
}
.adicional-qty-label {
    font-size: .72rem;
    color: var(--text-muted, #888);
    white-space: nowrap;
}
.qty-control-lg {
    display: flex;
    align-items: center;
    gap: .875rem;
}
.btn-qty-lg {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--tx);
}
.btn-qty-lg:hover {
    background: var(--primary);
    color: #fff;
}
.qty-display-lg {
    font-size: 1.3rem;
    font-weight: 800;
    min-width: 2rem;
    text-align: center;
}
/* ============================================================
   18. PAGAMENTO & PIX
   ============================================================ */
.payment-card {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    cursor: pointer;
    transition: all var(--tx);
    display: flex;
    align-items: center;
    gap: .875rem;
    margin-bottom: .75rem;
    background: var(--surface);
}
.payment-card:hover, .payment-card.selected {
    border-color: var(--primary);
    background: var(--primary-lt);
    box-shadow: 0 0 0 3px rgba(62,180,137,.15);
}
[data-theme="dark"] .payment-card.selected {
    background: rgba(187,134,252,.1);
    border-color: #bb86fc;
}
/* Opção de pagamento / entrega (cards clicáveis) */
.payment-option {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    cursor: pointer;
    transition: all var(--tx);
    display: flex;
    align-items: center;
    gap: .875rem;
    margin-bottom: .75rem;
    background: var(--surface);
}
.payment-option:hover,
.payment-option.selected {
    border-color: var(--primary);
    background: var(--primary-lt);
    box-shadow: 0 0 0 3px rgba(62,180,137,.15);
}
[data-theme="dark"] .payment-option.selected {
    background: rgba(187,134,252,.1);
    border-color: #bb86fc;
}
.payment-option.selected .check-icon { display: inline-block !important; }
/* Cards de endereço salvo (tela de finalizar pedido) */
.endereco-salvo-card {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .75rem .875rem;
    cursor: pointer;
    transition: all var(--tx);
    display: flex;
    align-items: center;
    gap: .75rem;
    background: var(--surface);
}
.endereco-salvo-card:hover {
    border-color: var(--primary);
    background: var(--primary-lt);
}
.endereco-salvo-card.selected {
    border-color: var(--primary);
    background: var(--primary-lt);
    box-shadow: 0 0 0 3px rgba(62,180,137,.15);
}
.endereco-salvo-check {
    color: var(--primary);
    font-size: 1.1rem;
    opacity: 0;
    transition: opacity .15s;
}
.endereco-salvo-card.selected .endereco-salvo-check {
    opacity: 1;
}
.badge-principal {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    padding: .1rem .45rem;
    border-radius: 50px;
    margin-left: .4rem;
    vertical-align: middle;
}
/* Grid de formas de pagamento — em linha no desktop, coluna no mobile */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
}
@media (max-width: 560px) {
    .payment-grid { grid-template-columns: 1fr; }
}
.payment-grid .payment-option-grid {
    margin-bottom: 0;
}
.payment-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.payment-label {
    font-weight: 700;
    font-size: .9rem;
}
.payment-desc  {
    font-size: .78rem;
    color: var(--text-muted);
}
.pix-box {
    background: var(--primary-lt);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
}
/* Área copia-e-cola do PIX — evita overflow em mobile */
.pix-copy-field {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: .5rem .75rem;
    margin: .75rem 0;
    text-align: left;
    overflow: hidden;
}
.pix-payload {
    flex: 1;
    font-size: .75rem;
    font-family: monospace;
    color: var(--text);
    word-break: break-all;
    overflow-wrap: anywhere;
    overflow: hidden;
    min-width: 0;
}
[data-theme="dark"] .pix-box {
    background: rgba(187,134,252,.08);
    border-color: #bb86fc44;
}
.pix-qr-img {
    width: 200px;
    height: 200px;
    margin: 0 auto 1rem;
    border-radius: var(--radius-sm);
    border: 3px solid var(--surface);
    box-shadow: var(--shadow-md);
}
.pix-qrcode-img {
    width: 150px;
    max-width: 60%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    margin: 0 auto 1rem;
    border-radius: var(--radius-sm);
    border: 3px solid var(--surface);
    box-shadow: var(--shadow-md);
    display: block;
    background: #fff;
}
.pix-timer {
    font-size: .85rem;
    color: var(--accent);
    font-weight: 700;
}
/* ============================================================
   19. TIMELINE DE PEDIDO
   ============================================================ */
.timeline-step {
    display: flex;
    align-items: center;
    gap: .875rem;
    padding: .875rem;
    border-radius: var(--radius);
    background: var(--surface2);
    border: 1.5px solid var(--border);
    margin-bottom: .625rem;
    transition: all var(--tx);
}
.timeline-step.active {
    background: var(--primary-lt);
    border-color: var(--primary);
}
[data-theme="dark"] .timeline-step.active {
    background: rgba(187,134,252,.1);
    border-color: #bb86fc;
}
.timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    background: var(--border);
    color: var(--text-muted);
}
.timeline-step.active .timeline-icon {
    background: var(--primary);
    color: #fff;
}
[data-theme="dark"] .timeline-step.active .timeline-icon {
    background: #bb86fc;
    color: #121212;
}
.timeline-label {
    font-weight: 700;
    font-size: .875rem;
}
.timeline-desc  {
    font-size: .78rem;
    color: var(--text-muted);
}
/* ============================================================
   20. BOTTOM NAV MOBILE
   ============================================================ */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-navbar);
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex;
    box-shadow: 0 -4px 20px rgba(0,0,0,.3);
}
@media (min-width: 768px) {
    .bottom-nav {
        display: none;
    }
}
.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: .5rem .25rem;
    gap: .15rem;
    color: rgba(255,255,255,.5);
    font-size: .62rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    background: none;
    border: none;
    transition: color var(--tx);
    font-family: var(--font-body);
}
.bottom-nav-item .bi {
    font-size: 1.3rem;
}
.bottom-nav-item.active, .bottom-nav-item:hover {
    color: var(--primary);
}
/* ============================================================
   21. FOOTER
   ============================================================ */
.eh-footer {
    background: var(--bg-navbar);
    color: rgba(255,255,255,.55);
    padding: 3rem 1rem 1.5rem;
    margin-top: 3rem;
    font-size: .875rem;
}
[data-theme="dark"] .eh-footer {
    background: #0d0d0d;
}
.eh-footer-inner {
    max-width: 960px;
    margin: 0 auto;
}
.eh-footer-name {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: .2rem;
}
.eh-footer-sub {
    font-size: .8rem;
    color: rgba(255,255,255,.4);
    margin-bottom: .625rem;
}
.eh-footer-badge {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    padding: .2rem .7rem;
    border-radius: var(--radius-pill);
    letter-spacing: .03em;
}
.eh-footer-badge.aberta  {
    background: rgba(34,197,94,.15);
    color: #86efac;
    border: 1px solid rgba(34,197,94,.3);
}
.eh-footer-badge.fechada {
    background: rgba(239,68,68,.15);
    color: #fca5a5;
    border: 1px solid rgba(239,68,68,.3);
}
.eh-footer-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .9rem;
    color: #fff;
    margin-bottom: .875rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.eh-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.eh-footer-links li {
    display: flex;
    align-items: flex-start;
    gap: .375rem;
}
.eh-footer-links a {
    color: rgba(255,255,255,.55);
    text-decoration: none;
    font-size: .83rem;
    display: flex;
    align-items: center;
    gap: .4rem;
    transition: color var(--tx);
}
.eh-footer-links a:hover {
    color: var(--primary);
}
.eh-footer-links .bi {
    font-size: .9rem;
    flex-shrink: 0;
}
.eh-footer-hr {
    border-color: rgba(255,255,255,.08);
    margin: 2rem 0 1rem;
}
[data-theme="dark"] .eh-footer-hr {
    border-color: #2a2a2a;
}
.eh-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    color: rgba(255,255,255,.3);
}
.eh-footer-bottom a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}
.eh-footer-bottom a:hover {
    color: #fff;
}
/* ============================================================
   22. WHATSAPP FLUTUANTE
   ============================================================ */
.eh-whatsapp-float {
    position: fixed;
    bottom: 5.5rem;
    right: 1.25rem;
    z-index: 900;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37,211,102,.45);
    transition: all var(--tx);
    text-decoration: none;
}
.eh-whatsapp-float:hover {
    background: #20b858;
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(37,211,102,.55);
}
@media (min-width: 768px) {
    .eh-whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
    }
}
/* ============================================================
   23. AUTH PAGES (LOGIN / CADASTRO)
   ============================================================ */
.auth-page {
    min-height: calc(100vh - var(--navbar-h) - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}
.auth-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 480px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.auth-card-header {
    background: var(--bg-navbar);
    padding: 1.75rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .875rem;
}
.auth-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}
.auth-card-title {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.auth-card-body {
    padding: 1.75rem 1.5rem;
}
.auth-card-desc {
    font-size: .875rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 1.5rem;
}
.auth-field-group {
    margin-bottom: 1.125rem;
}
.auth-label {
    display: block;
    font-size: .82rem;
    font-weight: 700;
    color: var(--text-sec);
    margin-bottom: .375rem;
}
.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.auth-input-icon {
    position: absolute;
    left: .875rem;
    font-size: 1.05rem;
    color: var(--text-muted);
    pointer-events: none;
    z-index: 1;
    display: flex;
    align-items: center;
}
.auth-input {
    width: 100%;
    padding: .7rem 2.75rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text);
    font-family: var(--font-body);
    font-size: .9rem;
    transition: border-color var(--tx), box-shadow var(--tx);
    outline: none;
}
.auth-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(62,180,137,.12);
}
[data-theme="dark"] .auth-input:focus {
    border-color: #bb86fc;
    box-shadow: 0 0 0 3px rgba(187,134,252,.15);
}
.auth-eye {
    position: absolute;
    right: .75rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: .25rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    transition: color var(--tx);
}
.auth-eye:hover {
    color: var(--primary);
}
.auth-hint {
    display: block;
    font-size: .75rem;
    color: var(--text-muted);
    margin-top: .3rem;
}
.auth-btn-primary {
    width: 100%;
    padding: .85rem 1.5rem;
    background: var(--text);
    color: var(--bg-card);
    border: none;
    border-radius: var(--radius-pill);
    font-family: var(--font-head);
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    transition: all var(--tx);
    margin-top: .5rem;
}
.auth-btn-primary:hover {
    opacity: .88;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
[data-theme="dark"] .auth-btn-primary {
    background: #bb86fc;
    color: #121212;
}
.auth-divider {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 1.25rem 0;
    color: var(--text-muted);
    font-size: .8rem;
}
.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}
.auth-btn-outline {
    width: 100%;
    padding: .75rem 1.5rem;
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: .875rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    text-decoration: none;
    transition: all var(--tx);
}
.auth-btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-lt);
}
[data-theme="dark"] .auth-btn-outline:hover {
    border-color: #bb86fc;
    color: #bb86fc;
    background: rgba(187,134,252,.08);
}
.auth-card-footer {
    padding: 1rem 1.5rem 1.5rem;
    text-align: center;
    border-top: 1px solid var(--border);
}
.auth-back-link {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--tx);
}
.auth-back-link:hover {
    color: var(--primary);
}
/* ============================================================
   24. SCROLL TO TOP
   ============================================================ */
.btn-scroll-top {
    position: fixed;
    bottom: 9rem;       /* acima do WhatsApp (5.5rem + 52px) */
    right: 1.25rem;
    z-index: 500;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, transform var(--tx);
}
.btn-scroll-top.visible {
    opacity: 1;
    pointer-events: all;
}
.btn-scroll-top:hover {
    transform: translateY(-2px);
}
[data-theme="dark"] .btn-scroll-top {
    background: #bb86fc;
    color: #121212;
}
@media (min-width: 768px) {
    .btn-scroll-top {
        bottom: 5.5rem;
        right: 1.5rem;
    }
}
/* ============================================================
   25. UTILITÁRIOS & ALIASES
   ============================================================ */
.text-primary {
    color: var(--primary) !important;
}
.text-muted   {
    color: var(--text-muted) !important;
}
.text-accent  {
    color: var(--accent) !important;
}
.fw-800       {
    font-weight: 800 !important;
}
.gap-sm       {
    gap: .5rem;
}
.mt-1 {
    margin-top: .5rem;
}
.mt-2 {
    margin-top: 1rem;
}
.mt-3 {
    margin-top: 1.5rem;
}
.mb-3 {
    margin-bottom: 1.5rem;
}
/* ============================================================
   26. SKELETON LOADING
   ============================================================ */
.skeleton {
    background: linear-gradient(90deg, var(--surface2) 25%, var(--border) 50%, var(--surface2) 75%);
    background-size: 200% 100%;
    animation: skel 1.4s infinite;
    border-radius: var(--radius-sm);
}
@keyframes skel {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}
/* ============================================================
   27. DARK MODE — AJUSTES GERAIS
   ============================================================ */
[data-theme="dark"] .product-card:hover {
    border-color: #bb86fc44;
    box-shadow: 0 8px 24px rgba(187,134,252,.12);
}
[data-theme="dark"] .product-price {
    color: #bb86fc;
}
[data-theme="dark"] .btn-add {
    background: #bb86fc;
    color: #121212;
}
[data-theme="dark"] .btn-add:hover {
    background: #9c5fe0;
}
[data-theme="dark"] .section-title::before {
    background: #bb86fc;
}
[data-theme="dark"] .section-title .bi {
    color: #bb86fc;
}
[data-theme="dark"] .diferencial-icon {
    background: rgba(187,134,252,.12);
    color: #bb86fc;
}
[data-theme="dark"] .horario-dia.hoje-label {
    color: #bb86fc;
}
[data-theme="dark"] .cart-badge-nav {
    background: var(--accent);
}
[data-theme="dark"] .summary-row .val {
    color: #bb86fc;
}
[data-theme="dark"] .timeline-step.active {
    background: rgba(187,134,252,.1);
    border-color: #bb86fc;
}
[data-theme="dark"] .timeline-step.active .timeline-icon {
    background: #bb86fc;
    color: #121212;
}
[data-theme="dark"] .eh-footer {
    background: #0d0d0d;
}
[data-theme="dark"] .eh-footer-hr {
    border-color: #2a2a2a;
}
[data-theme="dark"] .auth-btn-outline:hover {
    border-color: #bb86fc;
    color: #bb86fc;
    background: rgba(187,134,252,.08);
}
[data-theme="dark"] .auth-input:focus, [data-theme="dark"] .eh-input:focus {
    border-color: #bb86fc;
    box-shadow: 0 0 0 3px rgba(187,134,252,.15);
}
[data-theme="dark"] .btn-scroll-top {
    background: #bb86fc;
    color: #121212;
}
[data-theme="dark"] .pix-box {
    background: rgba(187,134,252,.08);
    border-color: #bb86fc44;
}
[data-theme="dark"] .payment-card.selected {
    background: rgba(187,134,252,.1);
    border-color: #bb86fc;
}
[data-theme="dark"] .auth-btn-primary {
    background: #bb86fc;
    color: #121212;
}
[data-theme="dark"] .product-img-placeholder {
    color: #444;
}
/* ============================================================
   28. PRINT
   ============================================================ */
@media print {
    .eh-navbar, .bottom-nav, .cart-drawer, .cart-overlay,
    .btn-scroll-top, .eh-whatsapp-float {
        display: none !important;
    }
}
/* ============================================================
   DETALHE DO PRODUTO — Página dedicada
   ============================================================ */
.produto-detalhe-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 0 120px; /* espaço para barra fixa */
}
/* Breadcrumb */
.produto-breadcrumb {
  display: flex; align-items: center; gap: .375rem;
  padding: .875rem 1rem;
  font-size: .8rem; color: var(--text-muted);
  flex-wrap: wrap;
}
.btn-voltar {
  display: flex; align-items: center; gap: .3rem;
  color: var(--primary); font-weight: 700;
  text-decoration: none; font-size: .85rem;
  transition: color var(--tx);
}
.btn-voltar:hover { color: var(--primary-dk); }
.breadcrumb-sep   { color: var(--border); }
.breadcrumb-cat   { color: var(--text-muted); }
.breadcrumb-atual { color: var(--text); font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
/* Card principal */
.produto-detalhe-card {
  background: var(--surface);
  border-radius: 0;
  overflow: hidden;
}
/* Imagem */
.produto-detalhe-img-wrap {
  position: relative;
  width: 100%; aspect-ratio: 16 / 9;
  background: var(--surface2);
  overflow: hidden;
}
.produto-detalhe-img {
  width: 100%; height: 100%; object-fit: cover;
}
.produto-detalhe-img-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; color: var(--border);
}
.produto-detalhe-badge-dest {
  position: absolute; top: .75rem; left: .75rem;
  background: #f59e0b; color: #fff;
  font-size: .72rem; font-weight: 800;
  padding: .25rem .625rem; border-radius: var(--radius-pill);
}
.produto-detalhe-badge-promo {
  position: absolute; top: .75rem; right: .75rem;
  background: var(--accent); color: #fff;
  font-size: .72rem; font-weight: 800;
  padding: .25rem .625rem; border-radius: var(--radius-pill);
}
/* Informações */
.produto-detalhe-info {
  padding: 1.25rem 1rem 1rem;
}
.produto-detalhe-cat {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--primary); margin-bottom: .375rem;
}
.produto-detalhe-nome {
  font-family: var(--font-head); font-size: 1.35rem; font-weight: 800;
  color: var(--text); margin-bottom: .625rem; line-height: 1.3;
}
.produto-detalhe-desc {
  font-size: .9rem; color: var(--text-sec); line-height: 1.6;
  margin-bottom: 1rem;
  text-transform: uppercase; letter-spacing: .02em;
}
.produto-detalhe-preco-wrap { margin-bottom: 1.25rem; }
.produto-detalhe-preco-old {
  font-size: .85rem; color: var(--text-muted); text-decoration: line-through;
  margin-bottom: .1rem;
}
.produto-detalhe-preco {
  font-family: var(--font-head); font-size: 1.75rem; font-weight: 900;
  color: var(--primary);
}
.produto-detalhe-preco.promo { color: var(--accent); }
[data-theme="dark"] .produto-detalhe-preco { color: #bb86fc; }
/* Quantidade */
.produto-detalhe-qty-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: .875rem 0;
  border-top: 1px solid var(--border);
}
.produto-detalhe-qty-label { font-weight: 700; font-size: .9rem; }
.produto-detalhe-qty-ctrl {
  display: flex; align-items: center; gap: 1rem;
}
/* Adicionais */
.produto-adicionais-wrap {
  margin-top: .5rem;
}
.produto-adicionais-grupo {
  background: var(--surface);
  margin-top: .5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.produto-adicionais-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1rem .75rem;
  border-bottom: 1px solid var(--border);
}
.produto-adicionais-titulo { font-weight: 800; font-size: .95rem; }
.produto-adicionais-sub    { font-size: .78rem; color: var(--text-muted); margin-top: .1rem; }
.produto-adicionais-badge  {
  font-size: .68rem; font-weight: 700; padding: .2rem .625rem;
  border-radius: var(--radius-pill);
  background: var(--surface2); color: var(--text-muted);
  border: 1px solid var(--border); white-space: nowrap;
}
.adicional-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: .875rem 1rem;
  border-bottom: 1px solid var(--border);
  transition: background var(--tx);
  gap: .75rem;
}
.adicional-row:last-child { border-bottom: none; }
.adicional-row-ativo { background: var(--primary-lt); }
[data-theme="dark"] .adicional-row-ativo { background: rgba(187,134,252,.08); }
.adicional-row-info { flex: 1; min-width: 0; }
.adicional-row-nome  { font-weight: 600; font-size: .875rem; }
.adicional-row-preco { font-size: .8rem; color: var(--primary); font-weight: 700; margin-top: .1rem; }
[data-theme="dark"] .adicional-row-preco { color: #bb86fc; }
.adicional-row-ctrl {
  display: flex; align-items: center; gap: .625rem; flex-shrink: 0;
}
.btn-ad-qty {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--border); background: var(--surface2);
  color: var(--text); font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--tx);
}
.btn-ad-qty:disabled { opacity: .3; cursor: not-allowed; }
.btn-ad-mais {
  border-color: var(--primary);
  background: var(--primary); color: #fff;
}
.btn-ad-mais:hover { background: var(--primary-dk); }
[data-theme="dark"] .btn-ad-mais { background: #bb86fc; color: #121212; border-color: #bb86fc; }
.ad-qty-val {
  min-width: 22px; text-align: center;
  font-weight: 800; font-size: .95rem;
  color: var(--text);
}
/* Observação */
.produto-obs-wrap {
  margin-top: .5rem;
  background: var(--surface);
  padding: 1rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.produto-obs-label {
  display: flex; align-items: center; gap: .375rem;
  font-weight: 700; font-size: .875rem; margin-bottom: .5rem;
}
.produto-obs-input {
  width: 100%; padding: .65rem .875rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface2); color: var(--text);
  font-family: var(--font-body); font-size: .875rem;
  resize: none; outline: none; transition: border-color var(--tx);
}
.produto-obs-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(62,180,137,.12);
}
/* Barra fixa inferior */
.produto-bottom-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--bg-navbar);
  padding: .875rem 1rem calc(.875rem + env(safe-area-inset-bottom));
  z-index: 200;
  box-shadow: 0 -4px 20px rgba(0,0,0,.2);
}
.produto-btn-add {
  width: 100%; max-width: 680px;
  margin: 0 auto; display: flex;
  align-items: center; justify-content: space-between;
  background: var(--primary); color: #fff;
  border: none; border-radius: var(--radius-pill);
  padding: .875rem 1.5rem;
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: all var(--tx);
}
.produto-btn-add:hover { background: var(--primary-dk); }
[data-theme="dark"] .produto-btn-add { background: #bb86fc; color: #121212; }
/* Oculta bottom nav do app na página de detalhe */
body.produto-page .bottom-nav { display: none !important; }
body.produto-page { padding-bottom: 0; }
/* ============================================================
   PÁGINA CARDÁPIO COMPLETO
   ============================================================ */
.cardapio-content { padding-bottom: 2rem; }
.cardapio-cat-section { padding: 1.25rem 0; }
/* ============================================================
   DETALHE DO PRODUTO v2 — Compacto
   ============================================================ */
.pd-page {
  max-width: 760px; margin: 0 auto;
}
/* Breadcrumb */
.pd-breadcrumb { padding: .75rem 1rem; }
.pd-back {
  display: inline-flex; align-items: center; gap: .375rem;
  color: var(--primary); font-weight: 700; font-size: .85rem;
  text-decoration: none; transition: color var(--tx);
}
.pd-back:hover { color: var(--primary-dk); }
/* Layout principal: imagem + info lado a lado no desktop */
.pd-main {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1.25rem;
  padding: 0 1rem 1rem;
  align-items: start;
}
@media (max-width: 640px) {
  .pd-main { grid-template-columns: 1fr; gap: 0; padding: 0; }
}
/* Imagem */
.pd-img-wrap {
  position: relative; border-radius: var(--radius);
  overflow: hidden; aspect-ratio: 1/1;
  background: var(--surface2);
}
.pd-img { width: 100%; height: 100%; object-fit: cover; }
.pd-img-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; color: var(--border);
}
.pd-badge {
  position: absolute; font-size: .7rem; font-weight: 800;
  padding: .2rem .5rem; border-radius: var(--radius-pill);
}
.pd-badge-promo { top: .5rem; right: .5rem; background: var(--accent); color: #fff; }
.pd-badge-dest  { top: .5rem; left: .5rem;  background: #f59e0b; color: #fff; }
@media (max-width: 640px) {
  .pd-img-wrap { border-radius: 0; aspect-ratio: 16/9; }
}
/* Info */
.pd-info { padding: .5rem 0; }
@media (max-width: 640px) { .pd-info { padding: 1rem; } }
.pd-cat {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--primary); margin-bottom: .25rem;
}
.pd-nome {
  font-family: var(--font-head); font-size: 1.2rem; font-weight: 800;
  color: var(--text); line-height: 1.3; margin-bottom: .5rem;
}
.pd-desc {
  font-size: .82rem; color: var(--text-sec); line-height: 1.6;
  margin-bottom: .875rem; text-transform: uppercase; letter-spacing: .02em;
}
.pd-preco-wrap { margin-bottom: .875rem; display: flex; align-items: baseline; gap: .5rem; }
.pd-preco-old {
  font-size: .82rem; color: var(--text-muted); text-decoration: line-through;
}
.pd-preco {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 900; color: var(--primary);
}
.pd-preco.promo { color: var(--accent); }
[data-theme="dark"] .pd-preco { color: #bb86fc; }
.pd-qty-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 0; border-top: 1px solid var(--border);
}
@media (max-width: 640px) { .pd-qty-row { display: none; } }
.pd-qty-ctrl { display: flex; align-items: center; gap: .75rem; }
/* Adicionais */
.pd-adicionais {
  margin: .5rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
@media (max-width: 640px) { .pd-adicionais { margin: .5rem 0; border-radius: 0; border-left: none; border-right: none; } }
.pd-adicionais-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1rem;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}
.pd-adicionais-titulo { font-weight: 800; font-size: .9rem; display: flex; align-items: center; gap: .375rem; }
.pd-adicionais-badge {
  font-size: .68rem; font-weight: 700; padding: .15rem .5rem;
  border-radius: var(--radius-pill); border: 1px solid var(--border);
  color: var(--text-muted);
}
.pd-ad-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1rem; gap: .75rem;
  border-bottom: 1px solid var(--border);
  transition: background var(--tx);
}
.pd-ad-row:last-child { border-bottom: none; }
.pd-ad-ativo { background: var(--primary-lt); }
[data-theme="dark"] .pd-ad-ativo { background: rgba(187,134,252,.08); }
.pd-ad-info { flex: 1; }
.pd-ad-nome  { font-size: .875rem; font-weight: 600; }
.pd-ad-preco { font-size: .78rem; color: var(--primary); font-weight: 700; margin-top: .1rem; }
[data-theme="dark"] .pd-ad-preco { color: #bb86fc; }
.pd-ad-ctrl { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.ad-qty-val { min-width: 18px; text-align: center; font-weight: 800; font-size: .9rem; }
/* Observação */
.pd-obs {
  margin: .5rem 1rem 1rem;
  background: var(--surface);
  padding: .875rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
}
@media (max-width: 640px) { .pd-obs { margin: .5rem 0; border-radius: 0; border-left: none; border-right: none; } }
.pd-obs-label { display: flex; align-items: center; gap: .375rem; font-weight: 700; font-size: .82rem; margin-bottom: .5rem; }
.pd-obs-input {
  width: 100%; padding: .55rem .75rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface2); color: var(--text);
  font-family: var(--font-body); font-size: .875rem;
  resize: none; outline: none; transition: border-color var(--tx);
}
.pd-obs-input:focus { border-color: var(--primary); }
/* Barra fixa */
.pd-bar {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: .875rem;
  margin: .5rem 1rem 1.5rem;
}
@media (max-width: 640px) { .pd-bar { margin: .5rem 0 1.5rem; border-radius: 0; border-left: none; border-right: none; } }
.pd-bar-inner {
  max-width: 760px; margin: 0 auto;
  display: flex; align-items: center; gap: .75rem;
}
.pd-qty-mobile {
  display: none;
  align-items: center; gap: .5rem;
  background: rgba(0,0,0,.18);
  border-radius: var(--radius-pill);
  padding: .3rem .5rem;
  font-weight: 800; color: #fff; font-size: .95rem;
}
@media (max-width: 640px) { .pd-qty-mobile { display: flex; } }
.btn-qty-sm { width: 28px !important; height: 28px !important; font-size: .8rem !important; }
.pd-btn-add {
  flex: 1; display: flex; align-items: center; justify-content: space-between;
  background: var(--primary); color: #fff;
  border: none; border-radius: var(--radius-pill);
  padding: .75rem 1.25rem;
  font-family: var(--font-head); font-size: .95rem; font-weight: 700;
  cursor: pointer; transition: all var(--tx);
}
.pd-btn-add:hover { background: var(--primary-dk); }
[data-theme="dark"] .pd-btn-add { background: #bb86fc; color: #121212; }
body.produto-page .bottom-nav { display: none !important; }
body.produto-page { padding-bottom: 0; }
/* ============================================================
   HERO DE CONFIRMAÇÃO DE PEDIDO
   ============================================================ */
.order-confirmed-hero {
  background: linear-gradient(145deg, var(--primary), var(--primary-dk));
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  margin-bottom: 1.25rem;
}
[data-theme="dark"] .order-confirmed-hero {
  background: linear-gradient(145deg, #6a4ba0, #4a2f80);
}
.order-confirmed-icon {
  font-size: 2.75rem;
  color: #fff;
  margin-bottom: .5rem;
}
/* ============================================================
   IDENTIFICAÇÃO DO CLIENTE LOGADO NA NAVBAR
   ============================================================ */
.navbar-cliente-link {
  display: flex; align-items: center; gap: .375rem;
}
.navbar-cliente-nome {
  font-weight: 700;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .navbar-cliente-nome { display: none; }
}
/* ============================================================
   DASHBOARD DO CLIENTE
   ============================================================ */
.cliente-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .875rem;
  margin-bottom: 1.25rem;
}
@media (max-width: 640px) {
  .cliente-stats-grid { grid-template-columns: 1fr; }
}
.cliente-stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: .875rem;
}
.cliente-stat-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; flex-shrink: 0;
}
.cliente-stat-valor {
  font-family: var(--font-head); font-size: 1.15rem; font-weight: 800;
  color: var(--text); line-height: 1.2;
}
.cliente-stat-label {
  font-size: .75rem; color: var(--text-muted);
}
.cliente-charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .875rem;
  margin-bottom: 1.25rem;
}
@media (max-width: 768px) {
  .cliente-charts-grid { grid-template-columns: 1fr; }
}
.cliente-chart-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.cliente-chart-title {
  font-weight: 800; font-size: .9rem; margin-bottom: .75rem;
  display: flex; align-items: center; gap: .375rem;
}
.cliente-pedido-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: .875rem;
  transition: box-shadow var(--tx);
}
.cliente-pedido-card:hover { box-shadow: var(--shadow-md); }
.cliente-pedido-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.btn-comprar-novamente {
  margin-top: .75rem;
  width: 100%;
  background: var(--primary-lt);
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-pill);
  padding: .5rem 1rem;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--tx);
  display: flex; align-items: center; justify-content: center; gap: .375rem;
}
.btn-comprar-novamente:hover {
  background: var(--primary);
  color: #fff;
}
.btn-comprar-novamente:disabled {
  opacity: .6; cursor: not-allowed;
}
[data-theme="dark"] .btn-comprar-novamente {
  background: rgba(187,134,252,.1);
  color: #bb86fc;
  border-color: #bb86fc;
}
[data-theme="dark"] .btn-comprar-novamente:hover {
  background: #bb86fc;
  color: #121212;
}
/* ============================================================
   CARTÃO DE FIDELIDADE (selos)
   ============================================================ */
.fidelidade-card {
  background: linear-gradient(145deg, var(--primary), var(--primary-dk));
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  color: #fff;
}
[data-theme="dark"] .fidelidade-card {
  background: linear-gradient(145deg, #6a4ba0, #4a2f80);
}
.fidelidade-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1rem;
}
.fidelidade-title {
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: .25rem;
}
.fidelidade-sub {
  font-size: .8rem;
  color: rgba(255,255,255,.85);
}
.fidelidade-badge {
  background: rgba(255,255,255,.2);
  border-radius: 50px;
  padding: .3rem .875rem;
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
}
.fidelidade-selos {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .75rem;
}
.fidelidade-selo {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  color: rgba(255,255,255,.5);
  transition: all .2s;
}
.fidelidade-selo.preenchido {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.fidelidade-progresso {
  font-size: .8rem;
  font-weight: 700;
  color: rgba(255,255,255,.95);
}

/* ============================================================
   AVALIAÇÃO DE PEDIDOS
   ============================================================ */
.avaliacao-box {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg, 16px);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    text-align: center;
}
.avaliacao-titulo {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: .25rem;
}
.avaliacao-sub {
    font-size: .85rem;
    color: var(--text-muted, #888);
    margin-bottom: 1.25rem;
}
.star-rating {
    display: flex;
    justify-content: center;
    gap: .35rem;
    margin-bottom: 1.25rem;
    direction: rtl;
}
.star-rating input {
    display: none;
}
.star-rating label {
    font-size: 2.2rem;
    color: #d1d5db;
    cursor: pointer;
    transition: color .15s, transform .1s;
    line-height: 1;
}
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #f59e0b;
}
.star-rating label:hover {
    transform: scale(1.15);
}
.avaliacao-textarea {
    width: 100%;
    padding: .65rem .9rem;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: var(--surface2, #f0ede8);
    color: var(--text);
    font-family: inherit;
    font-size: .88rem;
    resize: vertical;
    min-height: 80px;
    box-sizing: border-box;
    transition: border-color .2s, background .2s;
    margin-bottom: .875rem;
}
.avaliacao-textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--surface);
}
.avaliacao-textarea::placeholder { color: var(--text-muted, #aaa); }
.avaliacao-enviada {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    padding: .5rem 0;
}
.avaliacao-enviada-icon {
    font-size: 2.5rem;
    color: var(--primary);
}
.avaliacao-enviada-msg {
    font-size: .9rem;
    font-weight: 700;
    color: var(--text);
}
