/* ════════════════════════════════════════════════════════════
   LA BARRITA — MARISQUERÍA EXCLUSIVA · v3.1
   Estética PLANA · Sin gradientes · Boutique náutico
   Paleta extraída del logo circular dorado
   ════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════
   v3.3 — TIPOGRAFÍA AGRANDADA DEL MODAL DE CARRITO
   ═══════════════════════════════════════════════════ */
#modalCart .modal-box { max-width: 600px !important; }
#modalCart h3 { font-size: 24px !important; }
#modalCart .cart-item {
    padding: 14px 0 !important;
    border-bottom: 1px solid var(--border);
    display: flex !important; align-items: center !important; gap: 12px !important;
}
#modalCart .cart-item:last-child { border-bottom: none; }
#modalCart .cart-item-emoji { font-size: 30px !important; flex-shrink: 0; }
#modalCart .cart-item-name {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: var(--navy) !important;
    line-height: 1.3 !important;
}
#modalCart .cart-item-price {
    font-size: 15px !important;
    color: var(--text-gray) !important;
    font-weight: 600 !important;
    margin-top: 4px !important;
}
#modalCart .cart-variant-tag {
    display: inline-block;
    background: rgba(184,137,61,.15);
    color: var(--gold-deep);
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    margin-left: 4px;
}
#modalCart .cart-item-info { flex: 1; min-width: 0; }
#modalCart .cart-item-qty {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
#modalCart .cart-item-qty button {
    width: 36px !important; height: 36px !important;
    border-radius: 50% !important;
    background: var(--cream) !important;
    border: 1.5px solid var(--gold) !important;
    color: var(--navy) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    display: flex; align-items: center; justify-content: center;
}
#modalCart .cart-item-qty button:hover { background: var(--gold); color: #fff !important; }
#modalCart .cart-item-qty span {
    font-size: 19px !important;
    font-weight: 800 !important;
    color: var(--navy) !important;
    min-width: 28px;
    text-align: center;
}
#modalCart #cartTotalPrice { font-size: 32px !important; }
#modalCart label {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--navy) !important;
    letter-spacing: .3px;
}
#modalCart input,
#modalCart textarea {
    font-size: 16px !important;
    padding: 14px 16px !important;
    line-height: 1.5 !important;
}
#modalCart [style*="DATOS DE ENVÍO"],
#modalCart .section-cart-title,
#modalCart [class*="section-title"] { font-size: 14px !important; }

/* Encabezados secciones del carrito (DATOS DE ENVÍO, MÉTODO DE PAGO, etc.) */
#modalCart > .modal-box > div > div[style*="text-transform:uppercase"],
#modalCart [style*="font-weight:700"][style*="uppercase"] {
    font-size: 14px !important;
    letter-spacing: 1px !important;
}

/* Ocultar TODO la sección del cupón en el carrito */
#couponSectionCart,
[data-feature="cupones"] { display: none !important; }

/* ═══════════════════════════════════════════════════
   FIX CRÍTICO: Inputs visibles en TODA la aplicación
   (forzar texto oscuro sobre fondos crema/blanco)
   ═══════════════════════════════════════════════════ */
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="password"],
input:not([type]),
textarea,
select {
    color: #1A3A6E !important;          /* navy oscuro siempre visible */
    background: #FFFFFF !important;
    -webkit-text-fill-color: #1A3A6E !important;
    caret-color: #B8893D !important;
}
input::placeholder,
textarea::placeholder {
    color: #7B8AA0 !important;
    opacity: 1;
}
input:focus,
textarea:focus,
select:focus {
    border-color: #B8893D !important;
    outline: none !important;
}

/* Modal overlays correctos */
.modal-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(15,35,71,0.55);
    z-index: 9999;
    align-items: center; justify-content: center;
    padding: 16px;
    overflow-y: auto;
}
.modal-overlay.active,
.modal-overlay.show,
.modal-overlay.open {
    display: flex !important;
}
body.modal-open { overflow: hidden; }

:root {
    /* ═══ Paleta exacta del logo ═══ */
    --navy:        #1A3A6E;   /* Azul marino del texto "La Barrita" */
    --navy-deep:   #0F2347;   /* Más oscuro, fondos profundos */
    --navy-soft:   #2C4F87;   /* Olas medias */

    --gold:        #B8893D;   /* Dorado del marco */
    --gold-light:  #D4A857;   /* Dorado claro hover */
    --gold-deep:   #8B6628;   /* Dorado profundo bordes */
    --gold-pale:   #E8C883;   /* Dorado pálido detalles */

    --teal:        #4BA8B5;   /* Turquesa olas/ancla */
    --teal-light:  #7BC4CE;
    --teal-deep:   #2B7A85;

    /* ═══ Neutros boutique ═══ */
    --cream:       #F8F4EB;   /* Crema marfil del fondo del logo */
    --cream-soft:  #FBF8F1;
    --cream-deep:  #EDE5D2;
    --white:       #FFFFFF;
    --pearl:       #F8F4EB;   /* alias */
    --pearl-warm:  #F1EAD8;
    --pearl-deep:  #E5DCC2;

    /* Compatibilidad */
    --primary:        var(--navy);
    --primary-light:  var(--navy-soft);
    --primary-dark:   var(--navy-deep);
    --primary-deep:   var(--navy-deep);
    --accent:         var(--gold);
    --accent-light:   var(--gold-light);

    --bg-dark:        var(--cream);
    --bg-card:        var(--white);
    --bg-card-hover:  var(--cream-soft);
    --bg-surface:     var(--white);
    --bg-elevated:    var(--cream-soft);
    --bg-soft:        var(--cream);

    /* ═══ Texto ═══ */
    --text-white:  var(--navy-deep);
    --text-light:  var(--navy);
    --text-gray:   #4A5A75;
    --text-muted:  #7B8AA0;
    --text-on-dark: #FFFFFF;

    /* ═══ UI ═══ */
    --success: #2C8B4F;
    --danger:  #B83838;
    --warning: #C8932A;

    --border:        #E5DCC2;          /* crema profundo */
    --border-light:  #EDE5D2;
    --border-gold:   #B8893D;
    --border-navy:   #1A3A6E;

    /* ═══ Shadows planas (sin gradientes raros) ═══ */
    --shadow-soft: 0 1px 4px rgba(15, 35, 71, 0.08);
    --shadow-md:   0 4px 16px rgba(15, 35, 71, 0.10);
    --shadow-lg:   0 10px 32px rgba(15, 35, 71, 0.14);
    --shadow-xl:   0 20px 60px rgba(15, 35, 71, 0.18);

    /* ═══ Typography ═══ */
    --font-display: 'Playfair Display', 'Cinzel', serif;
    --font-serif:   'Cormorant Garamond', 'Playfair Display', serif;
    --font-body:    'Montserrat', sans-serif;

    /* ═══ Radii ═══ */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 999px;

    --anim-fast: .2s;
    --anim-med: .3s;
    --anim-slow: .5s;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─────────────────────── BASE ─────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    color: var(--navy);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    /* Fondo CREMA con figuras MARINAS AZULES sutiles (variedad de mariscos) */
    background-color: #F5EFE2;
    background-image:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 700 700'><g fill='none' stroke='%231A3A6E' stroke-width='1.5' opacity='0.11' stroke-linecap='round' stroke-linejoin='round'><!-- Camarón grande --><path d='M60 100 Q 95 70 145 78 Q 190 88 200 120 Q 205 145 185 160 Q 165 175 140 170 Q 110 165 88 150 Q 68 130 60 100 Z'/><path d='M195 110 L 230 90 M195 122 L 235 115 M192 135 L 230 138 M180 80 L 195 60 L 200 75'/><circle cx='90' cy='105' r='3' fill='%231A3A6E' opacity='0.7'/><!-- Pez completo --><path d='M340 200 Q 410 175 480 205 Q 510 218 480 235 Q 410 265 340 235 Z'/><path d='M480 205 L 520 180 L 520 260 L 480 235'/><path d='M360 215 L 358 230 M385 213 L 383 235 M410 212 L 408 238 M440 215 L 438 230'/><circle cx='360' cy='220' r='3' fill='%231A3A6E' opacity='0.7'/><!-- Ancla grande --><circle cx='160' cy='340' r='16'/><path d='M160 324 L 160 430 M120 395 Q 160 440 200 395 M138 360 L 182 360 M120 395 L 105 380 M200 395 L 215 380'/><!-- Pulpo --><circle cx='560' cy='320' r='28'/><circle cx='550' cy='312' r='3' fill='%231A3A6E' opacity='0.7'/><circle cx='572' cy='312' r='3' fill='%231A3A6E' opacity='0.7'/><path d='M538 345 Q 525 380 510 395 Q 505 405 515 410 M548 350 Q 540 395 528 425 M560 352 Q 558 400 555 430 M572 352 Q 580 400 588 425 M582 345 Q 595 380 610 395 Q 615 405 605 410'/><!-- Cangrejo --><ellipse cx='305' cy='430' rx='38' ry='22'/><circle cx='292' cy='425' r='3' fill='%231A3A6E' opacity='0.7'/><circle cx='318' cy='425' r='3' fill='%231A3A6E' opacity='0.7'/><path d='M267 435 L 245 425 L 240 415 M268 442 L 248 445 M343 435 L 365 425 L 370 415 M342 442 L 362 445 M285 452 L 280 470 M325 452 L 330 470'/><path d='M275 408 L 268 398 M335 408 L 342 398'/><!-- Concha de almeja --><path d='M460 510 Q 485 478 525 478 Q 565 478 590 510 Q 580 518 568 512 Q 555 518 543 512 Q 530 518 518 512 Q 505 518 493 512 Q 480 518 468 512 Q 458 518 460 510 Z'/><path d='M485 482 L 485 508 M510 478 L 510 510 M535 482 L 535 508 M560 482 L 560 508'/><!-- Estrella de mar --><path d='M85 540 L 100 580 L 142 580 L 110 605 L 122 645 L 85 620 L 48 645 L 60 605 L 28 580 L 70 580 Z'/><!-- Olas --><path d='M30 670 Q 65 655 100 670 Q 135 685 170 670 Q 205 655 240 670 Q 275 685 310 670'/><path d='M390 670 Q 425 655 460 670 Q 495 685 530 670 Q 565 655 600 670 Q 635 685 670 670'/><!-- Calamar --><path d='M650 130 Q 640 115 660 110 Q 685 108 695 125 Q 700 150 690 175 Q 685 195 670 200 Q 655 195 650 175 Q 645 150 650 130 Z'/><circle cx='665' cy='130' r='2.5' fill='%231A3A6E' opacity='0.7'/><circle cx='680' cy='130' r='2.5' fill='%231A3A6E' opacity='0.7'/><path d='M652 200 Q 650 220 645 240 M662 202 Q 660 225 655 250 M672 202 Q 670 228 668 252 M682 200 Q 685 225 690 245'/></g></svg>");
    background-size: 700px 700px;
    background-repeat: repeat;
    background-attachment: fixed;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; outline: none; font-family: var(--font-body); }

/* ════════════════════════════════════════
   FIX GLOBAL — INPUTS, TEXTAREAS Y SELECTS
   Antes los inputs tenían color:#fff sobre fondo claro = INVISIBLES
   Forzamos color visible en TODOS los inputs del sitio
════════════════════════════════════════ */
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="date"],
input[type="url"],
textarea,
select {
    color: var(--navy) !important;
    background: var(--white) !important;
    -webkit-text-fill-color: var(--navy);
    caret-color: var(--navy);
}
input::placeholder, textarea::placeholder {
    color: #9AA5B8 !important;
    opacity: 1;
    -webkit-text-fill-color: #9AA5B8;
}
input:focus, textarea:focus, select:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 3px rgba(184,137,61,.15);
}

/* ════════════════════════════════════════
   THANK YOU MODAL (post-pedido WhatsApp)
════════════════════════════════════════ */
.thank-you-modal {
    max-width: 480px;
    background: linear-gradient(180deg, #fff 0%, var(--cream-soft) 100%);
    border: 2px solid var(--gold);
    border-radius: 20px;
    overflow: hidden;
}
.thank-you-content {
    padding: 30px 26px 26px;
    text-align: center;
    animation: thanksPop .55s var(--ease);
}
@keyframes thanksPop {
    0% { opacity: 0; transform: scale(.85); }
    60% { transform: scale(1.04); }
    100% { opacity: 1; transform: scale(1); }
}
.thanks-anchor {
    font-size: 52px;
    color: var(--gold);
    margin-bottom: 4px;
    animation: anchorBounce 1.2s ease-in-out infinite alternate;
}
@keyframes anchorBounce {
    from { transform: translateY(0); }
    to   { transform: translateY(-6px); }
}
.thanks-check {
    font-size: 64px;
    color: var(--success);
    margin-bottom: 6px;
    line-height: 1;
}
.thanks-check i {
    filter: drop-shadow(0 4px 14px rgba(44,139,79,.35));
}
.thanks-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: .5px;
    margin: 8px 0 6px;
    line-height: 1.1;
}
.thanks-sub {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 16px;
    color: var(--gold-deep);
    margin-bottom: 20px;
}
.thanks-sub strong {
    color: var(--navy);
    font-weight: 700;
    font-style: normal;
}
.thanks-info {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 18px;
    text-align: left;
}
.thanks-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-gray);
    border-bottom: 1px dashed var(--border);
}
.thanks-row:last-child { border-bottom: none; }
.thanks-row strong {
    color: var(--navy);
    font-weight: 700;
}
.thanks-row.total {
    margin-top: 4px;
    padding-top: 12px;
    border-top: 2px solid var(--gold);
    border-bottom: none;
    font-size: 16px;
}
.thanks-row.total strong {
    color: var(--success);
    font-size: 22px;
    font-weight: 800;
}
.thanks-message {
    background: rgba(37,211,102,.08);
    border: 1.5px solid rgba(37,211,102,.25);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-align: left;
}
.thanks-message i {
    color: var(--success);
    font-size: 24px;
    margin-top: 2px;
    flex-shrink: 0;
}
.thanks-message p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.5;
}
.thanks-actions {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}
.btn-thanks-primary, .btn-thanks-secondary {
    padding: 14px 20px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .8px;
    text-transform: uppercase;
    font-family: var(--font-body);
    cursor: pointer;
    border: 2px solid;
    transition: all .25s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.btn-thanks-primary {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}
.btn-thanks-primary:hover {
    background: var(--navy-deep);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15,35,71,.25);
}
.btn-thanks-secondary {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
    text-decoration: none;
}
.btn-thanks-secondary:hover {
    background: #237840;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44,139,79,.3);
}
.thanks-footer {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.7;
    letter-spacing: .5px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

/* ─────────────────────── SCROLLBAR ─────────────────────── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

/* ════════════════════════════════════════
   WELCOME SCREEN — Logo circular protagonista
════════════════════════════════════════ */
.welcome-screen {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    background: var(--cream);
    overflow: hidden;
    padding: 16px;
}
.welcome-overlay {
    position: absolute; inset: 0;
    pointer-events: none;
    background:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 200'><g fill='none' stroke='%231A3A6E' stroke-width='1' opacity='0.06'><path d='M20 110 Q 60 80 130 95 Q 200 110 280 92 L 480 70 L 470 100 L 540 92 L 500 110 L 540 130 L 470 122 L 480 152 L 280 130 Q 130 127 20 112 Z'/></g></svg>") 5% 85% / 480px 160px no-repeat,
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300'><g fill='none' stroke='%23B8893D' stroke-width='1' opacity='0.08' stroke-linecap='round'><path d='M150 60 Q 80 60 80 130 Q 78 165 110 175 Q 150 180 190 175 Q 222 165 220 130 Q 220 60 150 60 Z'/><path d='M95 175 Q 80 220 60 240 M115 178 Q 105 230 90 260 M140 180 Q 138 240 125 270 M185 178 Q 195 230 210 260'/></g></svg>") 92% 8% / 220px 220px no-repeat;
}
.welcome-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

/* ── Capa 1: ONDAS DE MAR formándose ── */
.sea-waves-layer {
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 50%; pointer-events: none;
}
.sea-wave {
    position: absolute; left: 0; right: 0; bottom: 0;
    width: 220%; height: 100%;
    will-change: transform;
}
.sea-wave-1 { animation: waveSlide 8s linear 1; opacity: .9; }
.sea-wave-2 { animation: waveSlide 11s linear 1 reverse; opacity: .7; bottom: -10px; }
.sea-wave-3 { animation: waveSlide 14s linear 1; opacity: .85; bottom: -22px; }
@keyframes waveSlide {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Capa 2: BURBUJAS subiendo del fondo ── */
.sea-bubble {
    position: absolute; bottom: -40px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,
        rgba(255,255,255,.85), rgba(123,196,206,.35) 60%, rgba(75,168,181,.15));
    border: 1px solid rgba(255,255,255,.55);
    opacity: 0;
    animation: bubbleRise 5s ease-in 1 forwards;
    box-shadow: 0 0 8px rgba(123,196,206,.35);
}
@keyframes bubbleRise {
    0%   { transform: translateY(0) scale(.6); opacity: 0; }
    15%  { opacity: .9; }
    100% { transform: translateY(-110vh) scale(1.1); opacity: 0; }
}

/* ── Capa 3: PARTÍCULAS marinas que CONVERGEN al logo ── */
.sea-particle {
    position: absolute;
    transform: translate(0, 0) scale(.4) rotate(0deg);
    opacity: 0;
    filter: drop-shadow(0 2px 6px rgba(15,35,71,.28));
    animation: convergeToLogo 4.5s cubic-bezier(.4, .8, .3, 1) 1 forwards;
}
@keyframes convergeToLogo {
    0%   { transform: translate(0, 0) scale(.4) rotate(0deg); opacity: 0; }
    15%  { opacity: 1; }
    60%  {
        transform: translate(calc(var(--tx) * .85), calc(var(--ty) * .85)) scale(1.15) rotate(360deg);
        opacity: 1;
    }
    78%  {
        transform: translate(var(--tx), var(--ty)) scale(.5) rotate(540deg);
        opacity: .8;
    }
    85%, 100% {
        transform: translate(var(--tx), var(--ty)) scale(0) rotate(720deg);
        opacity: 0;
    }
}

/* ── Capa 4: BRILLOS dorados (chispeantes al converger) ── */
.sea-sparkle {
    position: absolute;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, #FFE9A8 0%, #B8893D 50%, transparent 80%);
    opacity: 0;
    box-shadow: 0 0 16px #E8C883, 0 0 28px rgba(184,137,61,.6);
    animation: sparklePop 4s ease-in-out 1 forwards;
}
@keyframes sparklePop {
    0%, 70% { opacity: 0; transform: scale(.3); }
    78%     { opacity: 1; transform: scale(1.6); }
    90%     { opacity: .8; transform: scale(1); }
    100%    { opacity: 0; transform: scale(.3); }
}

/* ── REVEAL del LOGO al final de la convergencia — FIJO al final, NO desaparece ── */
.welcome-logo-img {
    animation: logoReveal 4.8s cubic-bezier(.34, 1.56, .64, 1) 1 forwards;
}
@keyframes logoReveal {
    0%, 55% { transform: scale(.7); opacity: .35; filter: blur(4px) drop-shadow(0 12px 30px rgba(15,35,71,0.20)); }
    78%     { transform: scale(1.12); opacity: 1; filter: blur(0) drop-shadow(0 0 28px rgba(232,200,131,.85)) drop-shadow(0 12px 30px rgba(15,35,71,0.25)); }
    100%    { transform: scale(1); opacity: 1; filter: blur(0) drop-shadow(0 12px 30px rgba(15,35,71,0.20)); }
}
.welcome-content {
    position: relative; z-index: 2;
    text-align: center;
    max-width: 560px; width: 100%;
}
.welcome-logo-container {
    position: relative;
    width: min(420px, 85vw);
    height: min(420px, 85vw);
    margin: 0 auto 32px;
    display: flex; align-items: center; justify-content: center;
}
.welcome-logo-glow {
    display: none; /* Sin gradientes/glow falsos */
}
.welcome-logo-ring,
.welcome-logo-ring.ring2 {
    display: none; /* El propio logo ya tiene marco dorado */
}
.welcome-logo-img {
    position: relative; z-index: 2;
    width: 100%; height: 100%;
    object-fit: contain;
}
@keyframes gentleFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
/* Ya NO mostramos welcome-title ni welcome-subtitle — el logo es protagonista */
.welcome-title, .welcome-subtitle { display: none !important; }

.welcome-btn {
    background: var(--gold);
    color: var(--white);
    padding: 16px 42px;
    border-radius: 4px;
    font-weight: 700; font-size: 13px;
    letter-spacing: 3px;
    display: inline-flex; align-items: center; gap: 12px;
    box-shadow: var(--shadow-md);
    transition: all .25s var(--ease);
    text-transform: uppercase;
    border: 1.5px solid var(--gold-deep);
    font-family: var(--font-body);
}
.welcome-btn:hover {
    background: var(--gold-deep);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.welcome-btn i { color: var(--white); }

.welcome-divider {
    display: flex; align-items: center; gap: 14px;
    margin: 32px auto 22px;
    max-width: 320px;
}
.divider-line {
    flex: 1; height: 1px;
    background: var(--gold);
    opacity: .5;
}
.divider-diamond {
    font-size: 18px;
    color: var(--gold);
    filter: none;
}

.welcome-prices {
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
    margin-top: 8px;
}
.price-card-welcome {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 16px;
    cursor: pointer;
    transition: all .25s var(--ease);
    box-shadow: var(--shadow-soft);
    text-align: center;
}
.price-card-welcome:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.price-card-welcome.price-special {
    background: var(--white);
    border: 1.5px solid var(--gold);
}
.price-badge {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    font-size: 10px; font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    letter-spacing: 1.2px;
    margin-bottom: 10px;
    font-family: var(--font-body);
}
.price-days {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600; letter-spacing: .8px;
    text-transform: uppercase;
}
.price-amount {
    font-family: var(--font-display);
    font-weight: 700; font-size: 22px;
    color: var(--navy);
    margin: 6px 0;
    letter-spacing: .3px;
}
.price-note {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ════════════════════════════════════════
   MAIN APP
════════════════════════════════════════ */
.main-app { min-height: 100vh; padding-bottom: 130px; background: transparent; }

/* ── HEADER ── (NO sticky — se desliza hacia arriba al hacer scroll) */
.app-header {
    position: relative;
    z-index: 80;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}
.app-header::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: -3px;
    height: 3px;
    background: var(--gold);
    opacity: .9;
}
.header-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 14px 16px;
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.header-brand {
    display: flex; align-items: center; gap: 14px;
    flex: 1; min-width: 0;
}
.header-logo-img {
    height: 130px; width: auto;
    max-width: 420px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(15,35,71,.12));
}
@media (max-width: 768px) {
    .header-logo-img { height: 110px; max-width: 320px; }
}
@media (max-width: 480px) {
    .header-logo-img { height: 92px; max-width: 240px; }
}
.header-text { min-width: 0; }
.header-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 1px;
    color: var(--navy);
    line-height: 1.1;
}
.header-tagline {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 12px;
    color: var(--gold-deep);
    letter-spacing: 2px;
    font-weight: 500;
    margin-top: 3px;
    text-transform: uppercase;
}
.header-actions-row { display: flex; align-items: center; gap: 8px; }
.btn-header-account {
    background: var(--white);
    border: 1.5px solid var(--navy);
    color: var(--navy);
    padding: 9px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    display: inline-flex; align-items: center; gap: 7px;
    transition: all .2s var(--ease);
}
.btn-header-account:hover {
    background: var(--navy);
    color: var(--white);
}
.cart-btn {
    position: relative;
    width: 44px; height: 44px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 17px;
    box-shadow: var(--shadow-soft);
    transition: all .2s;
}
.cart-btn:hover { background: var(--navy-deep); transform: scale(1.05); }
.cart-badge {
    position: absolute; top: -4px; right: -4px;
    background: var(--gold); color: var(--white);
    font-size: 11px; font-weight: 800;
    width: 22px; height: 22px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--white);
}

/* ── PROMO STRIP — plano, navy con borde dorado ── */
.promo-strip {
    background: var(--navy);
    color: var(--white);
    padding: 11px 14px;
    text-align: center;
    font-size: 12.5px; font-weight: 600;
    letter-spacing: .3px;
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
}
.promo-strip-inner {
    display: flex; align-items: center; justify-content: center;
    gap: 14px; flex-wrap: wrap;
    max-width: 1200px; margin: 0 auto;
}
.promo-strip strong {
    color: var(--gold-pale);
    font-weight: 800;
    letter-spacing: .5px;
}
.promo-strip .promo-divider {
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--gold); display: inline-block;
}
.promo-strip a, .promo-strip button {
    background: var(--gold);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 3px;
    font-size: 11px; font-weight: 800;
    letter-spacing: 1px;
    border: none;
    text-transform: uppercase;
    transition: background .2s;
    font-family: var(--font-body);
}
.promo-strip a:hover, .promo-strip button:hover {
    background: var(--gold-light);
}

/* ── CLUB BANNER — boutique, plano ── */
.club-header-banner {
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 18px 16px;
    transition: background .2s;
}
.club-header-banner:hover { background: var(--cream-soft); }
.club-header-banner-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; gap: 14px;
}
.club-banner-icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    color: var(--gold);
    border: 2px solid var(--gold);
    flex-shrink: 0;
    box-shadow: var(--shadow-soft);
}
.club-banner-text-wrap { flex: 1; min-width: 0; }
.club-banner-title {
    font-family: var(--font-display);
    font-size: 20px; font-weight: 700;
    color: var(--navy);
    letter-spacing: .5px;
    line-height: 1.2;
}
.club-banner-subtitle {
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 500;
    margin-top: 4px;
    line-height: 1.45;
}
.club-banner-arrow {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

/* ── CATEGORY NAV ── ÚNICO elemento sticky — congelado al BORDE SUPERIOR ABSOLUTO del móvil
   El header se desliza COMPLETAMENTE fuera al scrollear; el menú toma su lugar pegado a top:0.
   Estrategia: sticky por defecto + clase .nav-pinned (JS) que cambia a fixed cuando el header
   sale de la pantalla, garantizando que en CUALQUIER navegador móvil quede pegado arriba. */
.category-nav-sticky-wrap {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0; right: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 6px 22px rgba(26,58,110,.18);
    margin: 0;
    width: 100%;
    padding-top: env(safe-area-inset-top, 0);
    will-change: transform;
}
.category-nav-sticky-wrap.nav-pinned {
    position: fixed !important;
    top: 0 !important;
    left: 0; right: 0;
    z-index: 110;
    animation: navPinSlideDown .25s ease-out;
}
@keyframes navPinSlideDown {
    from { transform: translateY(-12px); opacity: .6; }
    to   { transform: translateY(0); opacity: 1; }
}
/* Spacer para evitar saltos cuando el menú pasa a fixed */
.category-nav-spacer { display: none; height: 0; }
.category-nav-spacer.active { display: block; }

/* Asegurar que NINGÚN ancestor rompa el sticky */
html, body { overflow-x: hidden; overflow-y: auto; }
.main-app { overflow: visible !important; }
.menu-content { overflow: visible !important; }
.category-nav {
    padding: 16px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.category-nav::-webkit-scrollbar { display: none; }
.category-nav-inner {
    display: flex; gap: 14px;
    padding: 0 16px;
    width: max-content;
}
.cat-chip {
    background: var(--white);
    border: 2px solid var(--border);
    padding: 12px 10px;
    border-radius: 14px;
    display: flex; align-items: center; gap: 8px;
    min-width: 110px; min-height: 122px;
    flex-direction: column;
    justify-content: center;
    transition: all .2s var(--ease);
}
.cat-chip-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    border: 2.5px solid var(--border);
    background: var(--cream-soft);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    transition: border-color .2s;
}
.cat-chip-img { width: 100%; height: 100%; object-fit: cover; }
.cat-chip-label {
    font-size: 14px; font-weight: 700;
    color: var(--navy);
    letter-spacing: .3px;
}
.cat-chip:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}
.cat-chip:hover .cat-chip-icon { border-color: var(--gold); }
.cat-chip.active {
    background: var(--navy);
    border-color: var(--gold);
}
.cat-chip.active .cat-chip-label { color: var(--white); }
.cat-chip.active .cat-chip-icon { border-color: var(--gold); }
.cat-chip-logo .cat-chip-icon-logo {
    background: var(--white);
    border-color: var(--gold);
}
.cat-logo-img {
    object-fit: contain !important;
    padding: 4px;
}

/* ── MENU CONTENT ── */
.menu-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 14px 40px;
}
.section-title-wrap {
    text-align: center; margin: 32px 0 22px;
}
.section-title {
    font-family: var(--font-display);
    font-size: 28px; font-weight: 700;
    color: var(--navy);
    letter-spacing: 1px;
}
.section-sub {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 14px;
    color: var(--gold-deep);
    margin-top: 6px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.section-divider {
    display: flex; align-items: center; justify-content: center;
    gap: 12px; margin: 10px 0 18px;
}
.section-divider::before, .section-divider::after {
    content: '';
    height: 1px; flex: 0 0 60px;
    background: var(--gold);
    opacity: .6;
}
.section-divider .di {
    color: var(--gold);
    font-size: 14px;
}

/* ── PRODUCT GRID ── (UNA SOLA COLUMNA en móvil, recuadros grandes) */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;     /* Móvil: una sola columna */
    gap: 20px;
    max-width: 560px;
    margin: 0 auto;
}
@media (min-width: 700px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        max-width: 100%;
    }
}
@media (min-width: 1100px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
}

.product-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    transition: all .25s var(--ease);
    cursor: pointer;
    position: relative;
    box-shadow: 0 8px 26px rgba(26,58,110,.12);
    display: flex; flex-direction: column;
    text-align: center;
    min-height: 480px;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.product-img-wrap {
    position: relative; width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--cream-soft);
    border-bottom: 1px solid var(--border);
}
.product-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s var(--ease);
}
.product-card:hover .product-img { transform: scale(1.06); }

.product-info {
    padding: 26px 22px 24px;
    flex: 1;
    display: flex; flex-direction: column; gap: 12px;
}
.product-name {
    font-family: var(--font-display);
    font-size: 26px; font-weight: 800;
    color: var(--navy);
    letter-spacing: .3px;
    line-height: 1.25;
    text-align: center;
    min-height: 60px;
    display: flex; align-items: center; justify-content: center;
}
.product-desc {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.55;
    text-align: center;
    min-height: 48px;
}
.product-variants-mini {
    font-size: 11px;
    color: var(--gold-deep);
    font-weight: 600;
    text-align: center;
    letter-spacing: .3px;
}
.product-price-row {
    display: flex; align-items: center; justify-content: center;
    gap: 10px;
    margin-top: 8px;
}
.product-price {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: .4px;
}
.btn-add {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--white);
    font-size: 19px;
    font-weight: 800;
    transition: all .2s;
    display: flex; align-items: center; justify-content: center;
    border: none;
    box-shadow: 0 4px 12px rgba(184,137,61,.35);
}
.btn-add:hover {
    background: var(--gold-deep);
    transform: scale(1.08);
}

/* ── BUTTONS ── */
.btn-gradient {
    background: var(--navy);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all .25s var(--ease);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: 1.5px solid var(--navy);
}
.btn-gradient:hover {
    background: var(--navy-deep);
    transform: translateY(-2px);
}
.btn-gradient.full { width: 100%; }
.btn-gradient.gold {
    background: var(--gold);
    border-color: var(--gold-deep);
    color: var(--white);
}
.btn-gradient.gold:hover { background: var(--gold-deep); }

/* ── NAV DRAWER ── */
.nav-overlay {
    position: fixed; inset: 0;
    background: rgba(15, 35, 71, .55);
    z-index: 998;
    opacity: 0; pointer-events: none;
    transition: opacity .25s;
}
.nav-overlay.show { opacity: 1; pointer-events: auto; }
.nav-drawer {
    position: fixed; top: 0; left: -100%;
    width: 340px; max-width: 88vw;
    height: 100vh; z-index: 999;
    background: var(--white);
    box-shadow: 4px 0 24px rgba(15, 35, 71, .15);
    transition: left .3s var(--ease);
    display: flex; flex-direction: column;
    border-right: 3px solid var(--gold);
}
.nav-drawer.open { left: 0; }
.nav-drawer-header {
    padding: 22px 18px;
    background: var(--navy);
    color: var(--white);
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 3px solid var(--gold);
}
.nav-drawer-header div, .nav-drawer-header strong { color: var(--white) !important; }
.nav-drawer-links {
    flex: 1;
    overflow-y: auto;
    padding: 16px 0;
}
.nav-drawer-links a {
    display: flex; align-items: center; gap: 12px;
    padding: 13px 20px;
    font-size: 14.5px; font-weight: 600;
    color: var(--navy);
    border-left: 3px solid transparent;
    transition: all .2s;
}
.nav-drawer-links a:hover {
    background: var(--cream);
    border-left-color: var(--gold);
    color: var(--navy-deep);
}
.nav-drawer-links a i {
    width: 22px;
    color: var(--gold-deep);
}
.nav-divider {
    height: 1px;
    background: var(--border);
    margin: 10px 16px;
}
.nav-drawer-footer {
    padding: 14px 18px;
    border-top: 1px solid var(--border);
    text-align: center;
    background: var(--cream-soft);
}
.nav-drawer-footer p { font-size: 11px; color: var(--text-muted); }

/* Submenús del nav drawer */
.nav-cat-group {
    border-bottom: 1px solid var(--border);
}
.nav-cat-group:last-child { border-bottom: none; }
.nav-cat-toggle {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%;
    padding: 13px 20px;
    font-size: 14px; font-weight: 700;
    color: var(--navy);
    cursor: pointer;
    background: transparent;
    border: none;
    border-left: 3px solid transparent;
    font-family: var(--font-body);
    text-align: left;
    transition: all .2s;
}
.nav-cat-toggle:hover {
    background: var(--cream);
    border-left-color: var(--gold);
}
.nav-cat-toggle i.fa-chevron-down {
    transition: transform .25s;
    color: var(--gold-deep);
    font-size: 11px;
}
.nav-cat-toggle.open {
    background: var(--cream-soft);
    border-left-color: var(--gold);
}
.nav-cat-toggle.open i.fa-chevron-down {
    transform: rotate(180deg);
}
.nav-submenu {
    display: none;
    padding: 4px 0 10px;
    background: var(--cream-soft);
}
.nav-submenu.open { display: block; }
.nav-submenu a {
    padding: 9px 22px 9px 40px;
    font-size: 12.5px; font-weight: 500;
    color: var(--text-gray);
    border: none;
    display: flex; align-items: center;
    gap: 8px;
}
.nav-submenu a:hover {
    color: var(--navy);
    background: var(--cream);
    border: none;
}
.nav-submenu a span {
    color: var(--gold-deep) !important;
    font-weight: 700 !important;
    margin-left: auto;
    font-size: 11.5px !important;
}

/* ── FOOTER — plano navy con detalles dorados ── */
.site-footer {
    margin-top: 50px;
    padding: 40px 20px 26px;
    text-align: center;
    background: var(--navy-deep);
    color: var(--white);
    border-top: 4px solid var(--gold);
}
.footer-logo img {
    height: 110px;
    margin: 0 auto 14px;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .3));
    object-fit: contain;
}
.footer-brand {
    font-family: var(--font-display);
    font-size: 26px; font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold);
}
.footer-tagline {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 13px;
    color: var(--gold-pale);
    letter-spacing: 3px;
    margin-top: 6px;
    text-transform: uppercase;
}
.footer-divider {
    width: 80px; height: 2px;
    margin: 18px auto;
    background: var(--gold);
}
.footer-wa {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--success); color: var(--white);
    padding: 11px 24px;
    border-radius: 4px;
    font-weight: 700;
    margin: 12px 0;
    letter-spacing: .5px;
    transition: background .2s;
}
.footer-wa:hover { background: #237840; }
.footer-links {
    display: flex; gap: 22px;
    justify-content: center;
    margin-top: 16px;
}
.footer-links a {
    color: var(--gold-pale);
    font-size: 13px; font-weight: 600;
    letter-spacing: .5px;
    transition: color .2s;
}
.footer-links a:hover { color: var(--white); }
.footer-copy {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 16px;
}

/* ── CART STICKY (barra grande al fondo de la pantalla del móvil) ── */
.cart-sticky {
    position: fixed;
    bottom: 0;
    left: 0; right: 0;
    transform: none;
    z-index: 95;
    opacity: 0; pointer-events: none;
    transition: all .3s var(--ease);
    display: flex; justify-content: center;
    padding: 14px 12px calc(env(safe-area-inset-bottom, 14px) + 14px);
    background: linear-gradient(to top, rgba(245,239,226,.99) 80%, rgba(245,239,226,0));
}
.cart-sticky.show { opacity: 1; pointer-events: auto; bottom: 0; }
.cart-sticky-btn {
    display: flex; align-items: center; gap: 16px;
    background: var(--navy);
    color: var(--white);
    padding: 22px 30px;
    border-radius: 12px;
    font-weight: 800; font-size: 18px;
    letter-spacing: 1px;
    box-shadow: 0 12px 36px rgba(15,35,71,.45);
    border: 2.5px solid var(--gold);
    text-transform: uppercase;
    width: 100%;
    max-width: 760px;
    justify-content: center;
}
@media (min-width: 1000px) {
    .cart-sticky { padding-bottom: 18px; }
}
.cart-sticky-count {
    background: var(--gold);
    color: var(--white);
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 15px;
}
.cart-sticky-total {
    margin-left: 8px; padding-left: 14px;
    border-left: 1px solid rgba(255, 255, 255, .35);
    font-weight: 800;
    font-size: 18px;
}

/* ── FLOATING NAV BTN ── */
.floating-nav-btn {
    position: fixed; bottom: 16px; left: 16px;
    z-index: 89;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--gold);
    box-shadow: var(--shadow-md);
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
}
.floating-nav-btn:hover {
    background: var(--cream-soft);
    transform: scale(1.05);
}
.fnb-logo {
    width: 38px; height: 38px;
    object-fit: contain;
}
.fnb-icon { color: var(--navy); font-size: 22px; }

/* ── TOAST ── */
.toast-wrap {
    position: fixed; top: 90px; right: 16px;
    z-index: 9999;
    display: flex; flex-direction: column; gap: 8px;
    pointer-events: none;
}
.toast {
    background: var(--navy);
    color: var(--white);
    padding: 12px 18px;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
    font-size: 13px; font-weight: 600;
    border-left: 4px solid var(--gold);
    animation: toastSlide .3s var(--ease);
    max-width: 320px;
}
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
@keyframes toastSlide {
    from { transform: translateX(120%); }
    to { transform: translateX(0); }
}

/* ── MODALS ── */
.modal-overlay {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(15, 35, 71, .60);
    display: none; align-items: center; justify-content: center;
    padding: 14px;
    animation: fadeIn .2s;
}
.modal-overlay.show { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 4px solid var(--gold);
    border-radius: var(--radius-lg);
    width: 100%; max-width: 460px;
    max-height: 92vh; overflow-y: auto;
    box-shadow: var(--shadow-xl);
    position: relative;
    animation: modalIn .3s var(--ease);
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px) scale(.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close-x {
    position: absolute; top: 14px; right: 14px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--cream);
    color: var(--navy);
    display: flex; align-items: center; justify-content: center;
    z-index: 5;
    transition: all .2s;
    border: 1px solid var(--border);
}
.modal-close-x:hover {
    background: var(--danger);
    color: var(--white);
    border-color: var(--danger);
}

/* Promo modal (Club) */
.promo-modal-header {
    background: var(--navy);
    padding: 28px 20px;
    text-align: center;
    color: var(--white);
    border-bottom: 3px solid var(--gold);
}
.promo-modal-icon {
    width: 84px; height: 84px;
    margin: 0 auto 14px;
    background: var(--white);
    border: 3px solid var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 38px;
    color: var(--gold);
}
.promo-modal-header h3 {
    font-family: var(--font-display);
    font-size: 26px; font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--white);
}
.promo-modal-body { padding: 24px; }
.promo-modal-desc {
    font-size: 14px; line-height: 1.6;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 18px;
}
.promo-modal-desc strong { color: var(--gold-deep); }
.benefits-list {
    display: flex; flex-direction: column; gap: 10px;
    margin-bottom: 18px;
}
.benefit-item {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 14px;
    background: var(--cream-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all .2s;
}
.benefit-item:hover {
    background: var(--cream);
    border-color: var(--gold);
}
.benefit-item i {
    flex-shrink: 0;
    width: 38px; height: 38px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
}
.benefit-item strong {
    display: block;
    font-size: 13px;
    color: var(--navy);
    margin-bottom: 3px;
    font-family: var(--font-display);
    letter-spacing: .3px;
}
.benefit-item p {
    font-size: 12px;
    color: var(--text-gray);
    line-height: 1.4;
}
.promo-form-divider {
    text-align: center;
    margin: 20px 0 16px;
    position: relative;
}
.promo-form-divider::before {
    content: '';
    position: absolute; top: 50%; left: 0; right: 0;
    height: 1px;
    background: var(--border);
}
.promo-form-divider span {
    background: var(--white);
    padding: 0 14px;
    color: var(--gold-deep);
    font-size: 11px; font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    font-family: var(--font-body);
}
.form-field { margin-bottom: 14px; }
.form-field label {
    display: block;
    font-size: 11px; font-weight: 700;
    color: var(--navy);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.form-field input, .form-field textarea, .form-field select {
    width: 100%;
    padding: 12px 14px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 4px;
    color: var(--navy);
    font-size: 14px;
    font-family: var(--font-body);
    transition: border-color .2s;
    outline: none;
}
.form-field input:focus, .form-field textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184, 137, 61, .12);
}
.promo-result { margin-top: 12px; font-size: 13px; }
.promo-result.success { color: var(--success); font-weight: 700; }
.promo-result.error { color: var(--danger); font-weight: 700; }

/* — Order type buttons (sin gradientes) — */
.order-type-btn, .pay-method {
    color: var(--navy) !important;
    background: var(--cream-soft) !important;
    border: 1.5px solid var(--border) !important;
    border-radius: 4px !important;
}
.order-type-btn.active-type, .pay-method.active {
    background: var(--white) !important;
    border-color: var(--gold) !important;
    color: var(--navy) !important;
    box-shadow: 0 0 0 1px var(--gold);
}

/* Inputs en cart */
.modal-box input[type=text],
.modal-box input[type=tel],
.modal-box input[type=email],
.modal-box input[type=number],
.modal-box input[type=date],
.modal-box textarea,
.modal-box select {
    background: var(--white) !important;
    border-color: var(--border) !important;
    color: var(--navy) !important;
    border-radius: 4px !important;
}
.modal-box input:focus, .modal-box textarea:focus {
    border-color: var(--gold) !important;
}

/* Cart items */
.cart-items-list { padding: 14px 22px !important; }
.cart-item-row {
    display: flex; gap: 10px; align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
}
.cart-item-row img {
    width: 54px; height: 54px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid var(--border);
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
    font-size: 13px; font-weight: 700;
    color: var(--navy);
}
.cart-item-variant {
    font-size: 11px;
    color: var(--gold-deep);
    margin-top: 2px;
}
.cart-item-price {
    font-size: 14px; font-weight: 800;
    color: var(--navy);
}
.qty-control { display: flex; align-items: center; gap: 6px; }
.qty-btn {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--cream);
    border: 1px solid var(--border);
    color: var(--navy);
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
}
.qty-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* User panel */
.user-panel-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 4px solid var(--gold);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-md);
    text-align: center;
    margin-bottom: 16px;
}
.user-panel-card h3 {
    font-family: var(--font-display);
    color: var(--navy);
    font-size: 22px;
    letter-spacing: 1px;
}
.user-stats-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 18px 0;
}
.user-stat {
    background: var(--cream-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 8px;
}
.user-stat-num {
    font-family: var(--font-display);
    font-size: 24px; font-weight: 700;
    color: var(--navy);
}
.user-stat-label {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 4px;
}

.progress-segments { display: flex; gap: 5px; margin: 12px 0; }
.progress-segment {
    flex: 1; height: 8px;
    background: var(--cream-deep);
    border-radius: 2px;
    transition: all .25s;
}
.progress-segment.filled {
    background: var(--gold);
}

/* ─────────────── RESPONSIVE ─────────────── */
@media (max-width: 600px) {
    .header-title { font-size: 16px; letter-spacing: .3px; }
    .header-tagline { font-size: 9.5px; letter-spacing: 1.2px; }
    .header-logo-img { height: 48px; }
    .header-inner { padding: 10px 12px; gap: 8px; }
    .header-brand { gap: 10px; }
    .btn-header-account { padding: 8px 12px; font-size: 11px; }
    .btn-header-account span { display: none; }
    .btn-header-account i { font-size: 16px; }
    .cart-btn { width: 40px; height: 40px; font-size: 15px; }
    .welcome-logo-container { width: min(380px, 90vw); height: min(380px, 90vw); margin-bottom: 24px; }
    .welcome-btn { padding: 14px 32px; font-size: 12px; letter-spacing: 2px; }
    .club-banner-title { font-size: 17px; }
    .club-banner-subtitle { font-size: 12px; }
    .club-banner-icon { width: 50px; height: 50px; font-size: 24px; }
    .club-header-banner { padding: 14px 12px; }
    .footer-brand { font-size: 22px; letter-spacing: 1.5px; }
    .promo-strip { font-size: 11.5px; padding: 9px 10px; }
    .promo-strip-inner { gap: 8px; }
    .promo-strip a, .promo-strip button { padding: 5px 12px; font-size: 10px; }
    .category-nav-sticky-wrap { top: 78px; }
}
@media (max-width: 380px) {
    .header-tagline { display: none; }
    .header-title { font-size: 17px; }
}

/* ════════════════════════════════════════════════════════
   MENU REAL · CLASES USADAS POR EL JS
   (donut-grid, product-card-*, prod-detail-*, etc.)
════════════════════════════════════════════════════════ */

/* ── Sección genérica del menú ── */
.menu-section { margin-bottom: 36px; }

/* ── BANNER DE CATEGORÍA (con imagen de fondo) ── */
.cat-banner {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 22px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}
.cat-banner img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.cat-banner-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 35, 71, 0.20) 0%, rgba(15, 35, 71, 0.75) 100%);
    display: flex; align-items: flex-end;
    padding: 22px 24px;
}
.cat-banner-text {
    color: var(--white);
    width: 100%;
}
.cat-banner-text h3 {
    font-family: var(--font-display);
    font-size: 26px; font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 4px;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}
.cat-banner-text p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 14px;
    color: var(--gold-pale);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}

/* ── Header de sección sin banner ── */
.section-header {
    text-align: center;
    margin: 24px 0 22px;
}
.section-header .section-title {
    font-family: var(--font-display);
    font-size: 26px; font-weight: 700;
    color: var(--navy);
    letter-spacing: 1px;
    display: inline-block;
}
.section-header .section-desc {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 13px;
    color: var(--gold-deep);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 6px;
}
.section-header .section-line {
    width: 80px; height: 2px;
    background: var(--gold);
    margin: 12px auto 0;
}

/* ════════════════════════════════════════
   GRID DE PRODUCTOS (donut-grid)
════════════════════════════════════════ */
.donut-grid {
    display: grid;
    grid-template-columns: 1fr;       /* MÓVIL: una sola columna real */
    gap: 18px;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0;
    justify-items: stretch;
}
@media (min-width: 760px) {
    .donut-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
        max-width: 100%;
    }
}
@media (min-width: 1100px) {
    .donut-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 26px;
    }
}

/* ════════════════════════════════════════
   PRODUCT CARD (clases reales del JS)
════════════════════════════════════════ */
.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all .25s var(--ease);
    cursor: pointer;
    position: relative;
    box-shadow: var(--shadow-soft);
    display: flex; flex-direction: column;
    text-align: center;
    height: 100%;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

/* ── Imagen del producto: cuadrada, recortada perfecta ── */
.product-card-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    transition: transform .4s var(--ease);
}
.product-card:hover .product-card-img {
    transform: scale(1.05);
}

/* ── Body de la tarjeta ── */
.product-card-body {
    padding: 22px 20px 22px;
    flex: 1;
    display: flex; flex-direction: column;
    gap: 14px;
}
.product-card-name {
    font-family: var(--font-display);
    font-size: 22px; font-weight: 800;
    color: var(--navy);
    line-height: 1.25;
    letter-spacing: .3px;
    text-align: center;
    display: block;
}
.product-card-desc {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.55;
    text-align: center;
    display: block;
    overflow: visible;
}

/* ── Variantes (chips dentro de la tarjeta) ── */
.variant-chips {
    display: flex; flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin: 4px 0;
}
.variant-chip {
    padding: 12px 16px;
    background: var(--cream-soft);
    border: 2px solid var(--border);
    border-radius: 12px;
    color: var(--navy);
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all .2s;
    display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
    white-space: nowrap;
    min-width: 90px;
}
.variant-chip:hover {
    border-color: var(--gold);
    background: var(--cream);
}
.variant-chip.active {
    background: var(--navy);
    color: var(--white);
    border-color: var(--gold);
}
.variant-chip .vc-label {
    font-weight: 700;
    font-size: 16px;
    color: var(--navy);
    text-transform: lowercase;
}
.variant-chip .vc-price {
    color: var(--gold);
    font-weight: 800;
    font-size: 20px;
    font-family: var(--font-display);
}
.variant-chip.active .vc-price {
    color: var(--gold-pale);
}

/* ── Footer (precio + botón add) ── */
.product-card-footer {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px;
}
.product-card-price {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: .4px;
}
.product-card-add {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    transition: all .2s;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(184,137,61,.40);
}
.product-card-add:hover {
    background: var(--gold-deep);
    transform: scale(1.08);
}

/* ── Badge "Nuevo" ── */
.badge-new {
    position: absolute;
    top: 10px; left: 10px;
    z-index: 2;
    background: var(--gold);
    color: var(--white);
    font-size: 9.5px; font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    box-shadow: var(--shadow-soft);
}

/* ════════════════════════════════════════
   MODAL DE DETALLE DEL PRODUCTO
════════════════════════════════════════ */
.prod-detail-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    background: var(--cream);
}
.prod-detail-body {
    padding: 22px;
}
.prod-detail-name {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    letter-spacing: .3px;
    margin-bottom: 8px;
}
.prod-detail-desc {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.55;
    margin-bottom: 16px;
}
.prod-detail-price {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    margin: 14px 0;
    letter-spacing: .3px;
}

/* Variantes en detalle (grid grande y legible) */
.detail-variants {
    margin: 22px 0;
}
.detail-variants > div:first-child {
    color: var(--navy) !important;
    font-family: var(--font-body);
    font-size: 14px !important;
    font-weight: 800 !important;
    letter-spacing: 1.2px !important;
    margin-bottom: 14px !important;
    text-transform: uppercase;
}
.detail-variant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}
.detail-variant-btn {
    background: var(--cream-soft);
    border: 2.5px solid var(--border);
    border-radius: 14px;
    padding: 22px 14px;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all .2s;
    display: flex; flex-direction: column; align-items: center;
    gap: 10px;
    min-height: 110px;
    box-shadow: 0 2px 8px rgba(15,35,71,.06);
}
.detail-variant-btn:hover {
    border-color: var(--gold);
    background: var(--cream);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(184,137,61,.20);
}
.detail-variant-btn.active {
    background: var(--navy);
    border-color: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(15,35,71,.32);
}
.detail-variant-btn .dv-label {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: .4px;
    line-height: 1.2;
}
.detail-variant-btn.active .dv-label {
    color: var(--white);
}
.detail-variant-btn .dv-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--gold);
    font-family: var(--font-display);
    letter-spacing: .5px;
}
.detail-variant-btn.active .dv-price {
    color: var(--gold-pale);
}

/* Club promo dentro del detalle */
.club-promo-detail {
    background: var(--cream-soft);
    border: 1px solid var(--gold);
    border-radius: var(--radius-md);
    padding: 14px;
    display: flex; align-items: center; gap: 12px;
    cursor: pointer;
    margin: 16px 0;
    transition: all .2s;
}
.club-promo-detail:hover {
    background: var(--cream);
}
.cpd-icon {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--gold);
    color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.cpd-text {
    flex: 1; min-width: 0;
}
.cpd-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: .3px;
    margin-bottom: 2px;
}
.cpd-desc {
    font-size: 12px;
    color: var(--text-gray);
    line-height: 1.4;
}
.cpd-arrow {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

/* Quantity control en detalle */
.qty-control {
    display: flex; align-items: center; justify-content: center;
    gap: 14px;
    margin: 18px 0;
    background: var(--cream-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 8px 14px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
.qty-control .qty-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--white);
    border: 1.5px solid var(--border);
    color: var(--navy);
    font-size: 13px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
}
.qty-control .qty-btn:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}
.qty-num {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    min-width: 30px;
    text-align: center;
}

/* ── INFO SECTION (Tarjetas de domicilio / local) ── */
.info-section { margin-bottom: 28px; }
.info-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 8px;
}
.info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px 16px;
    text-align: center;
    cursor: pointer;
    transition: all .25s var(--ease);
    box-shadow: var(--shadow-soft);
    display: flex; flex-direction: column; align-items: center;
    gap: 10px;
}
.info-card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.info-card-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--cream);
    border: 2px solid var(--gold);
    color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    transition: all .25s;
}
.info-card:hover .info-card-icon {
    background: var(--gold);
    color: var(--white);
}
.info-card-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: .3px;
}
.info-card-desc {
    font-size: 11.5px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: .3px;
}

/* ── PROMO STRIP dentro del menú (renderInfoSection — legacy fallback) ── */
.menu-section .promo-strip {
    background: var(--navy);
    color: var(--white);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 2px solid var(--gold);
    margin-bottom: 18px;
    cursor: pointer;
    text-align: center;
    transition: background .2s;
}
.menu-section .promo-strip:hover {
    background: var(--navy-deep);
}
.menu-section .promo-strip > div:first-child {
    color: var(--white) !important;
    font-family: var(--font-body) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: .3px;
}
.menu-section .promo-strip > div:last-child {
    color: var(--gold-pale) !important;
    font-style: italic;
    font-family: var(--font-serif);
    font-size: 12px !important;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* ── Tarjetas info (Pedido a Domicilio / Pagar en Local) en menú ── */
.menu-section [onclick*="openCart"] {
    background: var(--white) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-md) !important;
    transition: all .2s;
    box-shadow: var(--shadow-soft);
}
.menu-section [onclick*="openCart"]:hover {
    border-color: var(--gold) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.menu-section [onclick*="openCart"] > div:nth-child(2) {
    color: var(--navy) !important;
    font-family: var(--font-display);
    letter-spacing: .3px;
}
.menu-section [onclick*="openCart"] > div:last-child {
    color: var(--text-muted) !important;
}

/* ─────────────── UTILITIES ─────────────── */
.gold-text { color: var(--gold); }
.navy-text { color: var(--navy); }

/* Override responsive específico de detalle */
@media (max-width: 480px) {
    .prod-detail-name { font-size: 20px; }
    .prod-detail-price { font-size: 24px; }
    .product-card-name { font-size: 14px; min-height: 36px; }
    .product-card-body { padding: 12px 10px; gap: 7px; }
    .cat-banner { height: 140px; }
    .cat-banner-text h3 { font-size: 22px; }
    .cat-banner-text p { font-size: 12px; }
}
