﻿/* ================================================
   COMBO DOS CRIAS — STYLE.CSS
   Glassmorphism + Skeuomorphism + Vibe de Cria
================================================ */

/* ==============================
   VARIÁVEIS & RESET
============================== */
:root {
    --gold: #ffd000;
    --gold-dark: #b8960a;
    --gold-glow: rgba(255, 208, 0, 0.3);
    --green-neon: #00ff88;
    --green-dark: #00cc6a;
    --glass: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-hover: rgba(255, 255, 255, 0.12);
    --bg-dark: #080808;
    --surface: #151515;
    --red-badge: #ff2d55;
    --text-muted: rgba(255,255,255,0.55);
    --text-faint: rgba(255,255,255,0.35);
    --cart-bg: #111111;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50px;
    --transition-fast: 0.15s ease;
    --transition-smooth: 0.35s cubic-bezier(.25,.8,.25,1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-dark);
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
}


body.cart-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ==============================
   FUNDO PARALLAX COM OVERLAY
============================== */
.bg-fixed {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(175deg, rgba(0,0,0,0.72) 0%, rgba(8,8,8,0.93) 100%),
        url('background.png');
    background-size: cover;
    background-position: center;
}

/* ==============================
   PARTÍCULAS DOURADAS
============================== */


/* ==============================
   TOP BAR
============================== */
.top-bar {
    width: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 10px 20px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.top-bar strong {
    color: var(--green-neon);
}

/* ==============================
   NAVBAR STICKY
============================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 5%;
    background: rgba(8,8,8,0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255,208,0,0.2);
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(8,8,8,0.94);
    padding: 8px 5%;
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.navbar .nav-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: var(--gold);
    letter-spacing: 2px;
    text-decoration: none;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.navbar.scrolled .nav-logo {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-left: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 0.88rem;
    padding: 8px 12px;
    border-radius: 12px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
    background: rgba(255,255,255,0.08);
    color: var(--gold);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-delivery {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: opacity var(--transition-fast);
}

.nav-delivery strong {
    color: var(--green-neon);
}

.btn-cart {
    position: relative;
    background: linear-gradient(135deg, rgba(255,208,0,0.15), rgba(255,208,0,0.08));
    border: 1.5px solid rgba(255,208,0,0.3);
    border-radius: 16px;
    padding: 12px 20px;
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(255, 208, 0, 0.1), inset 0 1px 0 rgba(255,255,255,0.1);
    letter-spacing: 0.5px;
}

.btn-cart:hover {
    background: linear-gradient(135deg, rgba(255,208,0,0.25), rgba(255,208,0,0.15));
    border-color: rgba(255,208,0,0.5);
    box-shadow: 0 8px 25px rgba(255, 208, 0, 0.25), inset 0 1px 0 rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.btn-cart:active {
    transform: translateY(0);
}



.cart-count {
    background: linear-gradient(135deg, var(--red-badge), #ff1744);
    color: white;
    font-size: 0.7rem;
    font-weight: 900;
    min-width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(.68,-0.55,.27,1.55);
    box-shadow: 0 4px 12px rgba(255, 45, 85, 0.4), inset 0 1px 0 rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.2);
}

.cart-count.bump {
    animation: cartBump 0.5s cubic-bezier(.68,-0.55,.27,1.55);
}

@keyframes cartBump {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.6); }
}

/* ==============================
   COUNTDOWN PROMO
============================== */
.promo-countdown {
    background: linear-gradient(135deg, rgba(255,45,85,0.12), rgba(255,208,0,0.08));
    border: 1px solid rgba(255,45,85,0.2);
    border-radius: var(--radius-md);
    padding: 18px 24px;
    margin: 0 auto 30px;
    max-width: 600px;
    width: 90%;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: fadeInUp 0.7s ease-out 0.3s both;
}

.promo-countdown .promo-label {
    font-size: 0.8rem;
    color: var(--red-badge);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-unit .num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: white;
    background: rgba(0,0,0,0.4);
    border-radius: var(--radius-sm);
    padding: 4px 12px;
    min-width: 52px;
    line-height: 1.2;
    text-align: center;
}

.countdown-unit .label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.countdown-sep {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--gold);
    align-self: flex-start;
    padding-top: 4px;
}

/* ==============================
   HEADER / LOGO
============================== */
header {
    text-align: center;
    padding: 50px 20px 30px;
    animation: fadeInDown 0.8s ease-out;
}

.logo-cria {
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    font-size: clamp(2.8rem, 8vw, 5rem);
    font-weight: 400;
    color: var(--gold);
    text-shadow:
        0 2px 0 var(--gold-dark),
        0 4px 0 rgba(0,0,0,0.4),
        0 0 40px var(--gold-glow);
    letter-spacing: 3px;
    line-height: 1;
    position: relative;
    display: inline-block;
}

.logo-cria::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    border-radius: 2px;
}

header .subtitle {
    margin-top: 18px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 1px;
}

header .subtitle .pin {
    color: var(--red-badge);
}

/* ==============================
   SEÇÃO TÍTULO
============================== */
.section-title {
    text-align: center;
    margin: 10px 0 35px;
    padding: 0 20px;
}

.section-title h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 2px;
    color: white;
}

.section-title h2 span {
    color: var(--gold);
}

/* ==============================
   GLASSMORPHISM GRID
============================== */
.grid-combos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 60px;
}

/* ==============================
   GLASSMORPHISM CARD
============================== */
.card-combo {
    position: relative;
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: transform var(--transition-smooth),
                box-shadow var(--transition-smooth),
                border-color 0.35s ease;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
}

.card-combo.revealed {
    animation: fadeInUp 0.7s ease-out forwards;
}

.card-combo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.card-combo:hover {
    transform: translateY(-8px) !important;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.5),
        0 0 40px rgba(255, 208, 0, 0.06);
    border-color: rgba(255, 208, 0, 0.2);
}

.card-combo.tilt-active {
    transition: box-shadow 0.35s, border-color 0.35s;
}

/* Imagem do produto */
.card-img-wrap {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
}

.card-combo img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(.25,.8,.25,1);
}

.card-combo:hover img {
    transform: scale(1.05);
}

.card-img-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(transparent, rgba(0,0,0,0.4));
    pointer-events: none;
}

/* Badge */
.badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    background: var(--red-badge);
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: rotate(3deg);
    box-shadow: 0 4px 15px rgba(255, 45, 85, 0.4);
    animation: pulse-badge 2s infinite ease-in-out;
}

@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 4px 15px rgba(255, 45, 85, 0.4); }
    50%      { box-shadow: 0 4px 25px rgba(255, 45, 85, 0.7); }
}

/* Textos do Card */
.card-combo h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
    color: #fff;
}

.card-combo .desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.card-combo .desc .item {
    display: inline-block;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 3px 10px;
    margin: 3px 2px;
    font-size: 0.78rem;
}

/* Preço */
.price-wrap {
    margin: 14px 0 4px;
}

.price-old {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--green-neon);
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.25);
    letter-spacing: -0.5px;
}

.price small {
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.7;
}

.installments {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ==============================
   CONTROLE DE QUANTIDADE
============================== */
.qty-control {
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin-top: 14px;
    border-radius: var(--radius-full);
    overflow: hidden;
    background: linear-gradient(145deg, #222, #181818);
    box-shadow:
        4px 4px 10px rgba(0,0,0,0.5),
        -2px -2px 8px rgba(50,50,50,0.15),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}

.qty-btn:hover {
    background: rgba(255,208,0,0.1);
}

.qty-btn:active {
    background: rgba(255,208,0,0.2);
}

.qty-value {
    width: 40px;
    text-align: center;
    font-weight: 800;
    font-size: 1rem;
    color: white;
    border-left: 1px solid rgba(255,255,255,0.06);
    border-right: 1px solid rgba(255,255,255,0.06);
    line-height: 40px;
    user-select: none;
}

/* ==============================
   SKEUOMORPHISM BUTTON
============================== */
.btn-pedir {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    padding: 16px 36px;
    border: none;
    border-radius: var(--radius-full);
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow:
        8px 8px 16px rgba(0, 0, 0, 0.6),
        -4px -4px 12px rgba(60, 60, 60, 0.25),
        inset 0 1px 0 rgba(255,255,255,0.08),
        inset 0 -1px 0 rgba(0,0,0,0.3);
    transition:
        box-shadow var(--transition-fast),
        transform var(--transition-fast),
        color 0.2s ease;
}

.btn-pedir .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,208,0,0.3);
    transform: scale(0);
    animation: ripple-anim 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-anim {
    to { transform: scale(4); opacity: 0; }
}

.btn-pedir::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, rgba(255,208,0,0.08), transparent 60%);
    pointer-events: none;
}

.btn-pedir:hover {
    color: #ffe066;
    box-shadow:
        8px 8px 16px rgba(0, 0, 0, 0.6),
        -4px -4px 12px rgba(60, 60, 60, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.12),
        inset 0 -1px 0 rgba(0,0,0,0.3),
        0 0 25px rgba(255, 208, 0, 0.1);
}

.btn-pedir:active {
    box-shadow:
        inset 5px 5px 14px rgba(0, 0, 0, 0.7),
        inset -3px -3px 10px rgba(50, 50, 50, 0.2);
    transform: translateY(2px) scale(0.98);
    color: var(--gold-dark);
}

.btn-pedir:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.btn-icon {
    font-size: 1.1rem;
}

/* ==============================
   CARRINHO DRAWER (SIDEBAR)
============================== */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 92vw;
    height: 100%;
    background: var(--cart-bg);
    z-index: 210;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
    border-left: 1px solid rgba(255,255,255,0.06);
}

.cart-drawer.active {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.cart-header h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--gold);
}

.cart-close {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.04);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.cart-close:hover {
    background: rgba(255,255,255,0.1);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

.cart-body::-webkit-scrollbar {
    width: 4px;
}

.cart-body::-webkit-scrollbar-track {
    background: transparent;
}

.cart-body::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    font-size: 0.9rem;
    gap: 12px;
}

.cart-empty .empty-icon {
    font-size: 3rem;
    opacity: 0.3;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}

.cart-item-img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    background: #1a1a1a;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-info h4 {
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-info .cart-item-price {
    color: var(--green-neon);
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 2px;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
    flex-shrink: 0;
}

.cart-item-qty button {
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    color: var(--gold);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-qty button:hover {
    background: rgba(255,208,0,0.1);
}

.cart-item-qty span {
    width: 28px;
    text-align: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.cart-item-remove {
    width: 30px;
    height: 30px;
    border: none;
    background: rgba(255,45,85,0.1);
    color: var(--red-badge);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.cart-item-remove:hover {
    background: rgba(255,45,85,0.25);
}

.cart-footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.cart-total .total-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.cart-total .total-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--green-neon);
    letter-spacing: 1px;
}

.btn-checkout {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 14px;
    background: #25D366;
    color: white;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(37,211,102,0.3);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform var(--transition-fast);
}

.btn-checkout:hover {
    background: #22c55e;
    box-shadow: 0 6px 30px rgba(37,211,102,0.4);
}

.btn-checkout:active {
    transform: scale(0.97);
}

.btn-clear {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.78rem;
    cursor: pointer;
    margin-top: 10px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.btn-clear:hover {
    color: var(--red-badge);
    border-color: rgba(255,45,85,0.3);
}

/* ==============================
   TOAST NOTIFICATIONS
============================== */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: rgba(17,17,17,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transform: translateX(120%);
    animation: toastIn 0.4s cubic-bezier(.25,.8,.25,1) forwards;
    pointer-events: auto;
    max-width: 320px;
}

.toast.toast-out {
    animation: toastOut 0.3s ease-in forwards;
}

.toast .toast-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.toast.success { border-left: 3px solid var(--green-neon); }
.toast.info    { border-left: 3px solid var(--gold); }
.toast.error   { border-left: 3px solid var(--red-badge); }

@keyframes toastIn {
    from { transform: translateX(120%); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}

@keyframes toastOut {
    from { transform: translateX(0); opacity: 1; }
    to   { transform: translateX(120%); opacity: 0; }
}

/* ==============================
   MODAL 18+
============================== */
.age-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.88);
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeInModal 0.4s ease;
}

.age-modal-overlay.hidden {
    display: none;
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.age-modal {
    background: #151515;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 20px 80px rgba(0,0,0,0.8);
    animation: scaleIn 0.4s cubic-bezier(.25,.8,.25,1);
}

@keyframes scaleIn {
    from { transform: scale(0.85); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.age-modal .modal-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.age-modal h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.age-modal p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
    line-height: 1.5;
}

.age-modal-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.age-btn {
    padding: 14px 32px;
    border: none;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform var(--transition-fast), box-shadow 0.2s ease;
}

.age-btn:active {
    transform: scale(0.96);
}

.age-btn-yes {
    background: var(--green-neon);
    color: #080808;
    box-shadow: 0 4px 20px rgba(0,255,136,0.3);
}

.age-btn-yes:hover {
    box-shadow: 0 6px 30px rgba(0,255,136,0.5);
}

.age-btn-no {
    background: rgba(255,255,255,0.06);
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.1);
}

.age-btn-no:hover {
    border-color: rgba(255,45,85,0.3);
    color: var(--red-badge);
}

/* ==============================
   TRUST BAR
============================== */
.trust-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 0 auto 40px;
    padding: 0 20px;
    max-width: 800px;
    animation: fadeInUp 0.7s ease-out 0.5s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.trust-item .icon {
    font-size: 1.3rem;
}

/* ==============================
   WHATSAPP FLUTUANTE
============================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 100;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 6px 20px rgba(37, 211, 102, 0.4),
        inset 0 1px 0 rgba(255,255,255,0.2);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.whatsapp-float .wpp-tooltip {
    position: absolute;
    right: 68px;
    background: #151515;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-size: 0.78rem;
    color: white;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.whatsapp-float:hover .wpp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ==============================
   SCROLL-TO-TOP
============================== */
.scroll-top {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 100;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: rgba(255,208,0,0.15);
    border-color: rgba(255,208,0,0.3);
}


/* ==============================
   BOTÃO CATEGORIAS (NAVBAR)
============================== */
.btn-categories {
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
    border: 1.5px solid rgba(255,255,255,0.14);
    border-radius: 16px;
    padding: 12px 18px;
    color: rgba(255,255,255,0.85);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    letter-spacing: 0.4px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-categories:hover {
    background: linear-gradient(135deg, rgba(255,208,0,0.14), rgba(255,208,0,0.07));
    border-color: rgba(255,208,0,0.38);
    color: var(--gold);
}

.btn-categories:active {
    transform: scale(0.96);
}

/* ==============================
   CATEGORIES DRAWER (ESQUERDA)
============================== */
.categories-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.categories-overlay.active {
    opacity: 1;
    visibility: visible;
}

.categories-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 88vw;
    height: 100%;
    background: var(--cart-bg);
    z-index: 210;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform var(--transition-smooth);
    border-right: 1px solid rgba(255,255,255,0.07);
    box-shadow: 4px 0 40px rgba(0,0,0,0.5);
}

.categories-drawer.active {
    transform: translateX(0);
}

.categories-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}

.categories-header h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--gold);
}

.categories-close {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.04);
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.categories-close:hover {
    background: rgba(255,45,85,0.12);
    border-color: rgba(255,45,85,0.3);
    color: var(--red-badge);
}

.categories-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.categories-body::-webkit-scrollbar {
    width: 4px;
}

.categories-body::-webkit-scrollbar-track {
    background: transparent;
}

.categories-body::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

.cat-drawer-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: white;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.cat-drawer-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.cat-drawer-preview-img {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.08);
    object-fit: cover;
}

.cat-drawer-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gold);
    border-radius: 0 3px 3px 0;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.cat-drawer-item:hover::before {
    opacity: 1;
}

.cat-drawer-item:hover {
    background: rgba(255, 208, 0, 0.07);
    border-color: rgba(255, 208, 0, 0.28);
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.cat-drawer-item:active {
    transform: translateX(3px) scale(0.98);
}

.cat-drawer-icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.cat-drawer-text {
    flex: 1;
    min-width: 0;
}

.cat-drawer-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    margin-bottom: 3px;
    line-height: 1.3;
}

.cat-drawer-text span {
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.cat-drawer-arrow {
    color: var(--gold);
    font-size: 1rem;
    opacity: 0.5;
    flex-shrink: 0;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.cat-drawer-item:hover .cat-drawer-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* ==============================
   SEÇÕES DE CATEGORIA
============================== */
.category-hero {
    padding: 80px 5% 40px;
    text-align: center;
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.category-hero .section-title h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.category-hero .section-title p {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.category-page {
    padding: 40px 5%;
    max-width: 1200px;
    margin: 0 auto 80px;
}

/* Subcategory Tabs */
.subcategory-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    padding: 0 4px;
    justify-content: center;
}

.subcategory-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: 2px solid var(--glass-border);
    border-radius: 999px;
    background: var(--glass);
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(10px);
}

.subcategory-tab:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: rgba(255,255,255,0.2);
}

.subcategory-tab.active {
    background: var(--green-neon);
    color: #080808;
    border-color: var(--green-neon);
    box-shadow: 0 0 16px rgba(0, 255, 150, 0.3);
}

.subcategory-tab .sub-tab-icon {
    font-size: 1.15rem;
}

@media (max-width: 600px) {
    .subcategory-tabs {
        gap: 8px;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }
    .subcategory-tab {
        padding: 8px 14px;
        font-size: 0.85rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* Item Filter Bar */
.item-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    justify-content: center;
}

.item-filter-btn {
    padding: 8px 18px;
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.item-filter-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.item-filter-btn.active {
    background: var(--green-neon);
    color: #080808;
    border-color: var(--green-neon);
    box-shadow: 0 0 12px rgba(0, 255, 150, 0.25);
}

@media (max-width: 600px) {
    .item-filter-bar {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }
    .item-filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
        font-size: 0.82rem;
        padding: 7px 14px;
    }
}

/* Dual Price & Dual Buttons (Copão) */
.dual-price-wrap {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.dual-price {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    color: var(--green-neon);
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.dual-price small {
    font-size: 0.75rem;
    opacity: 0.7;
}

.dual-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255,255,255,0.1);
    padding: 2px 6px;
    border-radius: 4px;
    color: #fff;
    margin-right: 4px;
}

.dual-buttons {
    display: flex;
    gap: 8px;
    width: 100%;
}

.dual-buttons .btn-add-to-cart {
    flex: 1;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dual-buttons .btn-baly {
    background: var(--green-neon);
    color: #080808;
}

.dual-buttons .btn-fontt {
    background: #ff6b35;
    color: #fff;
}

.dual-buttons .btn-baly:hover {
    filter: brightness(1.15);
    transform: translateY(-1px);
}

.dual-buttons .btn-fontt:hover {
    filter: brightness(1.15);
    transform: translateY(-1px);
}

.category-items {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.category-list {
    list-style: none;
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.category-list li {
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    gap: 16px;
}

.category-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 10px;
    min-width: 0;
}

.category-item-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.category-item-text strong {
    color: white;
    font-size: 1rem;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-item-text span {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: block;
    white-space: nowrap;
}

.category-item-index {
    color: var(--gold);
    font-weight: 700;
    min-width: 28px;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 10px 16px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: var(--gold);
}

/* Botão de adicionar ao carrinho nas páginas de categoria */
.btn-add-to-cart {
    background: linear-gradient(135deg, rgba(0,255,136,0.2), rgba(0,255,136,0.1));
    border: 1.5px solid rgba(0,255,136,0.4);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-neon);
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.15);
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.btn-add-to-cart:hover {
    background: linear-gradient(135deg, rgba(0,255,136,0.35), rgba(0,255,136,0.25));
    border-color: rgba(0,255,136,0.7);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.3);
    transform: scale(1.1);
}

.btn-add-to-cart:active {
    transform: scale(0.92);
    background: linear-gradient(135deg, rgba(0,255,136,0.45), rgba(0,255,136,0.35));
    box-shadow: 0 2px 8px rgba(0, 255, 136, 0.4);
}

.site-footer {
    width: 100%;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,0.06);
    position: relative;
    overflow: hidden;
}

/* Linha dourada decorativa no topo */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
    opacity: 0.4;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 5% 20px;
}

/* Grid principal do footer */
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Coluna marca */
.footer-brand-col .footer-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--gold);
    letter-spacing: 3px;
    margin-bottom: 12px;
    display: inline-block;
    text-shadow: 0 0 20px var(--gold-glow);
}

.footer-brand-col .footer-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
    background: rgba(255,208,0,0.1);
    color: var(--gold);
    border-color: rgba(255,208,0,0.3);
    transform: translateY(-2px);
}

/* Coluna informações */
.footer-col h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    color: white;
    letter-spacing: 2px;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a,
.footer-col ul li span {
    color: var(--text-muted);
    font-size: 0.84rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-col .contact-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

/* Divisor */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    margin-bottom: 20px;
}

/* Bottom bar */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.footer-bottom .copyright {
    color: var(--text-faint);
    font-size: 0.75rem;
}

.footer-bottom .copyright a {
    color: var(--gold);
    text-decoration: none;
}

/* ==============================
   ANIMAÇÕES
============================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==============================
   HAMBURGER NAV (MOBILE)
============================== */
/* ==============================
   CATEGORY CHIPS (Mobile Enhancement)
============================== */
/* Category Grid - Combo Style */
.grid-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

@media (max-width: 1024px) {
    .grid-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-categories {
        grid-template-columns: 1fr;
    }
}

.category-card {
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,208,0,0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px var(--gold-glow);
}

.category-card-icon {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
}

.category-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.4rem;
    letter-spacing: 2px;
    color: white;
    margin-bottom: 8px;
}

.category-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .grid-categories {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        padding: 0 16px;
    }
    
    .category-card {
        padding: 24px 20px;
    }
    
    .category-card-icon {
        font-size: 3.5rem;
    }
}

.category-chips-container::-webkit-scrollbar {
    display: none;
}

.category-chips {
    display: flex;
    gap: 12px;
    padding: 4px 0;
    min-width: max-content;
}

.category-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 90px;
    padding: 20px 14px;
    background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
    border: 2px solid rgba(255,208,0,0.3);
    border-radius: 24px;
    text-decoration: none;
    color: white;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.25,0.8,0.25,1.2);
    scroll-snap-align: start;
    flex: 0 0 auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.category-chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-chip-icon {
    font-size: 2.4rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.category-chip:hover,
.category-chip.active {
    background: linear-gradient(145deg, rgba(255,208,0,0.2), rgba(255,208,0,0.12));
    border-color: var(--gold);
    color: var(--gold-dark);
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 12px 35px rgba(255,208,0,0.25), inset 0 1px 0 rgba(255,255,255,0.15);
}

.category-chip:hover::before {
    opacity: 1;
}

.category-chip:active {
    transform: translateY(-3px) scale(1.03);
}

.category-chip:active {
    transform: translateY(-2px) scale(1.02);
}

@media (min-width: 769px) {
    .category-chips-container {
        display: none;
    }
}

.nav-hamburger {
    display: none;
    background: rgba(255, 208, 0, 0.08);
    border: 1px solid rgba(255, 208, 0, 0.25);
    color: var(--gold);
    font-size: 1.4rem;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
    line-height: 1;
}

.nav-hamburger:hover {
    background: rgba(255, 208, 0, 0.18);
    border-color: rgba(255, 208, 0, 0.5);
}

.nav-close {
    display: none;
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    font-size: 1.1rem;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 2;
}

.nav-close:hover {
    background: rgba(255, 45, 85, 0.15);
    border-color: rgba(255, 45, 85, 0.3);
    color: var(--red-badge);
}

/* Mobile nav overlay (backdrop) */
.nav-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 88;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    animation: fadeInModal 0.25s ease;
}

.nav-mobile-overlay.active {
    display: block;
}

/* ==============================
   RESPONSIVO
============================== */
@media (max-width: 768px) {
    header {
        padding: 35px 20px 20px;
    }

    .grid-combos {
        grid-template-columns: 1fr;
        width: 92%;
        gap: 22px;
    }

    .card-combo img {
        height: 220px;
    }

    .btn-pedir {
        width: 100%;
        padding: 16px 20px;
    }

    .trust-bar {
        gap: 18px;
    }

    .whatsapp-float {
        bottom: 18px;
        right: 18px;
        width: 54px;
        height: 54px;
    }

    .whatsapp-float .wpp-tooltip {
        display: none;
    }

    .scroll-top {
        bottom: 18px;
        left: 18px;
        width: 42px;
        height: 42px;
    }

    .navbar {
        padding: 10px 4%;
    }

    .nav-delivery {
        display: none;
    }

    /* ── Category Pages ── */
    .category-hero {
        padding: 40px 4% 20px;
    }

    .category-hero .section-title h2 {
        font-size: clamp(1.6rem, 6vw, 2.4rem);
    }

    .category-page {
        padding: 16px 3%;
        margin-bottom: 40px;
    }

    .category-items {
        padding: 16px 12px;
        border-radius: var(--radius-md);
    }

    .category-list {
        gap: 10px;
    }

    .category-list li {
        padding: 14px 12px;
        border-radius: 14px;
        align-items: flex-start;
    }

    /* 2-row card layout on mobile */
    .category-item-row {
        display: grid;
        grid-template-columns: 24px 1fr 48px;
        grid-template-rows: auto auto;
        column-gap: 8px;
        row-gap: 4px;
        align-items: center;
        min-width: 0;
    }

    .category-item-index {
        grid-column: 1;
        grid-row: 1;
        align-self: start;
        padding-top: 3px;
        font-size: 0.82rem;
        min-width: unset;
    }

    .category-item-text {
        grid-column: 2;
        grid-row: 1 / 3;
        overflow: visible;
    }

    .category-item-text strong {
        font-size: 0.95rem;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        line-height: 1.35;
        margin-bottom: 5px;
    }

    .category-item-text span {
        font-size: 0.9rem;
        color: var(--green-neon);
        font-weight: 700;
        white-space: normal;
    }

    .btn-add-to-cart {
        grid-column: 3;
        grid-row: 1 / 3;
        align-self: center;
        justify-self: center;
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 1.3rem;
    }

    /* Show hamburger on mobile */
    .nav-hamburger {
        display: flex;
    }

    /* Mobile full-screen nav menu */
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(8, 8, 8, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        z-index: 95;
        padding: 80px 24px 40px;
        animation: fadeInModal 0.25s ease;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 1.15rem;
        padding: 16px 28px;
        width: 100%;
        max-width: 320px;
        text-align: center;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.06);
        background: rgba(255, 255, 255, 0.04);
        transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    }

    .nav-links a:hover {
        background: rgba(255, 208, 0, 0.1);
        color: var(--gold);
        border-color: rgba(255, 208, 0, 0.25);
    }

    /* Show close button inside mobile menu */
    .nav-close {
        display: flex;
    }

    .countdown-unit .num {
        font-size: 1.5rem;
        min-width: 42px;
        padding: 4px 8px;
    }

    .toast-container {
        right: 10px;
        left: 10px;
    }

    .toast {
        max-width: 100%;
    }

    /* Footer responsivo */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand-col .footer-desc {
        max-width: 100%;
    }

    /* ── Categories Drawer (mobile) ── */
    .btn-categories {
        padding: 10px 14px;
        font-size: 0.82rem;
        gap: 5px;
    }

    .categories-drawer {
        width: 290px;
        max-width: 88vw;
    }
}

@media (max-width: 480px) {
    .footer-inner {
        padding: 40px 4% 16px;
    }
    
    .card-combo {
        padding: 20px;
    }
    
    .qty-control {
        width: 100px;
        margin: 0 auto 12px;
    }

    /* ── Category Pages (very small screens) ── */
    .category-hero {
        padding: 30px 4% 16px;
    }

    .category-items {
        padding: 12px 8px;
        border-radius: 14px;
    }

    .category-list {
        gap: 8px;
    }

    .category-list li {
        padding: 12px 10px;
        border-radius: 12px;
        align-items: flex-start;
    }

    .category-item-row {
        grid-template-columns: 20px 1fr 44px;
        column-gap: 6px;
    }

    .category-item-index {
        font-size: 0.78rem;
    }

    .category-item-text strong {
        font-size: 0.88rem;
        margin-bottom: 4px;
    }

    .category-item-text span {
        font-size: 0.85rem;
    }

    .btn-add-to-cart {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 1.2rem;
    }
}
