/* ══════════════════════════════════════════════════════════ */
/*  SOA COFFEE — Estilos Globales                             */
/*  Variables · Navbar · Hero · Secciones · Carta SPA         */
/* ══════════════════════════════════════════════════════════ */

:root {
    --cream:   #FAF8F4;
    --charcoal:#1E3A5F;
    --navy:    #1E3A5F;
    --sand:    #D4C8B8;
    --stone:   #8A8279;
    --olive:   #6B7C5C;
    --teal:    #1A9EA6;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; }
body { background-color: var(--cream); overflow-x: hidden; }
img  { display: block; max-width: 100%; }


/* ═══════════════════════════════════════════════════════════ */
/*  SPA — Transiciones de vista                                */
/* ═══════════════════════════════════════════════════════════ */
.spa-view {
    animation: spaFadeIn 0.3s ease both;
}
@keyframes spaFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}


/* ═══════════════════════════════════════════════════════════ */
/*  NAVBAR — Píldora Flotante                                  */
/* ═══════════════════════════════════════════════════════════ */
#navbar {
    position: fixed;
    top: 16px;
    left: 14px;
    right: 14px;
    z-index: 56;
}

.navbar-inner {
    height: 56px;
    border-radius: 9999px;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background-color: rgba(10, 10, 10, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.09);
    transition: background-color 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

#navbar.is-scrolled .navbar-inner,
#navbar.is-carta .navbar-inner {
    background-color: rgba(15, 15, 15, 0.88);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
}

/* Logo / Isotipo */
.navbar-isotipo {
    height: 34px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: opacity 0.2s ease;
}
.logo-link:hover .navbar-isotipo { opacity: 0.75; }

/* Nav links */
.nav-link {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s ease;
    padding-bottom: 1px;
    border-bottom: 1px solid transparent;
}
.nav-link:hover,
.nav-link.is-active {
    color: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.38);
}

/* CTA encuéntranos */
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    padding: 6px 16px 6px 18px;
    transition: all 0.2s ease;
}
.nav-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}


/* ═══════════════════════════════════════════════════════════ */
/*  HAMBURGER                                                   */
/* ═══════════════════════════════════════════════════════════ */
.hamburger-line {
    display: block;
    width: 22px;
    height: 1.2px;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}
.hamburger-line--short { width: 15px; margin-left: auto; }

#menu-toggle.is-open .hamburger-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
#menu-toggle.is-open .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
#menu-toggle.is-open .hamburger-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 22px; }


/* ═══════════════════════════════════════════════════════════ */
/*  MOBILE MENU OVERLAY                                        */
/* ═══════════════════════════════════════════════════════════ */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.mobile-menu.is-open {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-link {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.2s ease;
}
.mobile-nav-link:hover { color: rgba(255, 255, 255, 0.95); }


/* ═══════════════════════════════════════════════════════════ */
/*  HERO                                                        */
/* ═══════════════════════════════════════════════════════════ */
.hero-section {
    height: 100dvh;
    min-height: 640px;
}

.hero-bg .hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    animation: heroSlideFade 28s ease-in-out infinite, heroSlideZoom 28s ease-in-out infinite;
}
.hero-bg .hero-slide:nth-child(1) { animation-delay: -1s, -1s; }
.hero-bg .hero-slide:nth-child(2) { animation-delay: 3s, 3s; }
.hero-bg .hero-slide:nth-child(3) { animation-delay: 7s, 7s; }
.hero-bg .hero-slide:nth-child(4) { animation-delay: 11s, 11s; }
.hero-bg .hero-slide:nth-child(5) { animation-delay: 15s, 15s; }
.hero-bg .hero-slide:nth-child(6) { animation-delay: 19s, 19s; }
.hero-bg .hero-slide:nth-child(7) { animation-delay: 23s, 23s; }

@keyframes heroSlideFade {
    0%      { opacity: 0; }
    3.57%   { opacity: 1; }
    14.29%  { opacity: 1; }
    17.86%  { opacity: 0; }
    100%    { opacity: 0; }
}

/* Ligero zoom continuo ("Ken Burns") mientras cada foto está en pantalla */
@keyframes heroSlideZoom {
    0%      { transform: scale(1.09); }
    17.86%  { transform: scale(1.0); }
    100%    { transform: scale(1.0); }
}

.hero-overlay {
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.82) 0%,
        rgba(10, 10, 10, 0.28) 45%,
        rgba(10, 10, 10, 0.08) 100%
    );
}

.hero-eyebrow { line-height: 1; }
.anim-eyebrow { display: inline-block; }

.hero-headline {
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 300;
    line-height: 1.06;
    letter-spacing: -0.01em;
}

.hero-divider {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.28);
}

/* Hero CTA buttons */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: gap 0.25s ease;
    cursor: pointer;
}
.btn-hero-primary:hover { gap: 14px; }
.btn-line { display: block; width: 28px; height: 1px; background: rgba(255,255,255,0.45); transition: width 0.25s ease; }
.btn-hero-primary:hover .btn-line { width: 40px; }
.btn-arrow { color: rgba(255,255,255,0.7); flex-shrink: 0; }

.btn-hero-secondary { text-decoration: none; transition: color 0.2s ease; }
.btn-hero-secondary:hover { color: rgba(255, 255, 255, 0.7) !important; }

/* Scroll indicator */
.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.35; transform: scaleY(1); }
    50%       { opacity: 0.7;  transform: scaleY(1.15); }
}


/* ═══════════════════════════════════════════════════════════ */
/*  SHARED SECTION COMPONENTS                                   */
/* ═══════════════════════════════════════════════════════════ */
.section-eyebrow {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--stone);
}
.section-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.4rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--charcoal);
}
.section-heading.text-white {
    color: #fff;
}
.section-rule { width: 40px; height: 1px; }

/* Historia */
.historia-img { transition: transform 8s ease; }
.historia-img:hover { transform: scale(1.04); }


/* ═══════════════════════════════════════════════════════════ */
/*  GALERÍA                                                     */
/* ═══════════════════════════════════════════════════════════ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}
.gallery-item {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--sand);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease, opacity 0.45s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item img.is-rotating { opacity: 0; }

/* Botón "Ver todas las fotos" */
.gallery-viewall {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}
.gallery-viewall-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(30, 58, 95, 0.85);
    background: transparent;
    border: 1px solid rgba(30, 58, 95, 0.2);
    border-radius: 9999px;
    padding: 11px 22px 11px 24px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.gallery-viewall-btn:hover {
    background: rgba(30, 58, 95, 0.05);
    border-color: rgba(30, 58, 95, 0.36);
}
.gallery-viewall.is-hidden { display: none; }

/* Última imagen sola en fila → span 3 */
.gallery-item:nth-child(3n+1):last-child {
    grid-column: span 3;
    aspect-ratio: 16 / 7;
}

@media (max-width: 767px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3px;
    }
    .gallery-item:nth-child(3n+1):last-child {
        grid-column: span 1;
        aspect-ratio: 3 / 4;
    }
    .gallery-item:nth-child(2n+1):last-child {
        grid-column: span 2;
        aspect-ratio: 16 / 7;
    }
}


/* ═══════════════════════════════════════════════════════════ */
/*  NOCHES                                                      */
/* ═══════════════════════════════════════════════════════════ */
.noches-section {
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 640px) {
    .noches-section { min-height: 112vh; }
}
.noches-img { filter: saturate(0.95) brightness(0.96); }
.noches-overlay {
    background:
        radial-gradient(ellipse 90% 70% at 50% 45%, rgba(8,8,10,0.14) 0%, rgba(8,8,10,0.4) 78%),
        linear-gradient(
            to top,
            rgba(8, 8, 10, 0.62) 0%,
            rgba(8, 8, 10, 0.34) 42%,
            rgba(8, 8, 10, 0.22) 100%
        );
}

.noches-content {
    max-width: 640px;
    width: 100%;
    padding: 64px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}
.noches-title { margin-top: 26px; }
.noches-rule { margin-top: 38px; }
.noches-copy {
    margin-top: 38px;
    font-size: 15px;
    line-height: 1.9;
    max-width: 420px;
}
.noches-badge-spacing { margin-top: 88px; }
.noches-badge-day { font-size: 19px; }
.noches-badge-time { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }

@media (max-width: 640px) {
    .noches-content { padding: 48px 22px; }
    .noches-badge-spacing { margin-top: 68px; }
}

.noches-text-shadow { text-shadow: 0 2px 14px rgba(0,0,0,0.55); }

.noches-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 15px 30px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 9999px;
    background: rgba(8,8,10,0.38);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #fff;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.noches-badge-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    flex-shrink: 0;
}
@media (max-width: 480px) {
    .noches-badge { flex-direction: column; gap: 10px; padding: 20px 28px; }
}


/* ═══════════════════════════════════════════════════════════ */
/*  EVENTOS                                                     */
/* ═══════════════════════════════════════════════════════════ */
.event-card { padding: 28px 28px 32px; }
.event-badge {
    font-family: 'DM Sans', sans-serif;
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 9999px;
    padding: 3px 10px;
}


/* ═══════════════════════════════════════════════════════════ */
/*  ENCUÉNTRANOS                                                */
/* ═══════════════════════════════════════════════════════════ */
.map-wrapper { min-height: 420px; }
.contact-block { margin-bottom: 28px; }
.contact-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 9px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 6px;
}
.contact-phone-link { transition: color 0.2s ease; }
.contact-phone-link:hover { color: rgba(255,255,255,0.9) !important; }

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color 0.2s ease;
}
.social-link:hover { color: rgba(255,255,255,0.85); }


/* ═══════════════════════════════════════════════════════════ */
/*  FOOTER                                                      */
/* ═══════════════════════════════════════════════════════════ */
.footer-logo {
    height: 44px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.38;
    transition: opacity 0.2s ease;
}
.footer-logo:hover { opacity: 0.55; }

.footer-link {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-link:hover { color: rgba(255,255,255,0.65); }


/* ═══════════════════════════════════════════════════════════ */
/*  CARTA SPA — Layout principal                               */
/* ═══════════════════════════════════════════════════════════ */
.carta-container {
    min-height: 100vh;
    background: var(--cream);
}

/* Hero carta */
.carta-hero {
    background: var(--navy);
    padding: 100px 32px 36px;
    position: relative;
}
@media (min-width: 768px) {
    .carta-hero { padding: 108px 64px 40px; }
}

.carta-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    max-width: 960px;
    margin: 0 auto;
}
.carta-hero-isotipo {
    height: 72px;
    width: auto;
    opacity: 0.9;
    flex-shrink: 0;
    margin-bottom: 4px;
}
.carta-hero-eyebrow {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 6px;
}
.carta-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: #fff;
    line-height: 1.1;
}
.carta-hero-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    color: rgba(255,255,255,0.35);
    margin-top: 4px;
    letter-spacing: 0.1em;
}

/* Carrusel de fotos — franja de apetito bajo el hero de la carta */
.carta-showcase {
    background: var(--navy);
    overflow: hidden;
    padding: 4px 0 28px;
}
.carta-showcase-track {
    display: flex;
    align-items: center;
    gap: 12px;
    width: max-content;
    padding: 0 16px;
    animation: cartaShowcaseScroll 69s linear infinite;
    cursor: grab;
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
}
.carta-showcase-track.is-dragging {
    cursor: grabbing;
}
.carta-showcase-track img {
    width: 118px;
    height: 118px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 10px 26px rgba(0,0,0,0.28);
    cursor: pointer;
    -webkit-user-drag: none;
    pointer-events: auto;
}
@keyframes cartaShowcaseScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (min-width: 768px) {
    .carta-showcase { padding: 6px 0 36px; }
    .carta-showcase-track { gap: 16px; }
    .carta-showcase-track img { width: 168px; height: 168px; border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .carta-showcase-track { animation: none; }
}

/* Botón volver */
.carta-back-btn {
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 9999px;
    padding: 7px 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    cursor: pointer;
    transition: all 0.2s ease;
}
.carta-back-btn:hover {
    background: rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.9);
}
@media (max-width: 767px) {
    .carta-back-btn { display: none; }
}


/* ═══════════════════════════════════════════════════════════ */
/*  CARTA — Navegación de categorías (sticky)                  */
/* ═══════════════════════════════════════════════════════════ */
.carta-cat-nav {
    position: sticky;
    top: 80px;
    z-index: 40;
    background: var(--cream);
    border-bottom: 1px solid rgba(212,200,184,0.5);
}
.carta-cat-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 24px;
}

@media (min-width: 768px) {
    .carta-cat-tabs { padding: 14px 48px; gap: 10px; }
}

.carta-cat-tab {
    flex-shrink: 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--stone);
    background: transparent;
    border: 1px solid rgba(212,200,184,0.6);
    border-radius: 9999px;
    padding: 5px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.carta-cat-tab:hover { color: var(--navy); border-color: rgba(30,58,95,0.3); }
.carta-cat-tab.is-active {
    color: var(--navy);
    background: rgba(30,58,95,0.06);
    border-color: rgba(30,58,95,0.3);
    font-weight: 500;
}


/* ═══════════════════════════════════════════════════════════ */
/*  CARTA — Secciones (cs)                                     */
/* ═══════════════════════════════════════════════════════════ */
.carta-main {
    max-width: 1100px;
    margin: 0 auto;
}

.cs {
    padding: 56px 24px 64px;
    border-bottom: 1px solid rgba(212,200,184,0.4);
}
@media (min-width: 768px) {
    .cs { padding: 64px 48px 72px; }
}

.cs--alt { background: #F5F3EF; }
.cs--dark { background: var(--charcoal); }

.cs-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.cs-eyebrow {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--stone);
    margin-bottom: 6px;
}
.cs-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--charcoal);
}
.cs--dark .cs-title { color: #fff; }

.cs-note {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    color: var(--stone);
    font-style: italic;
    margin-top: 4px;
}

.cs-price-block {
    text-align: right;
    flex-shrink: 0;
}
.cs-price-big {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 300;
    color: var(--navy);
    display: block;
}
.cs-price-inc {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    color: var(--stone);
    letter-spacing: 0.1em;
}

.cs-subsection-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--stone);
    margin-bottom: 16px;
    margin-top: 32px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(212,200,184,0.5);
}
.cs-subsection-title:first-child { margin-top: 0; }


/* ═══════════════════════════════════════════════════════════ */
/*  CARTA — Items grid (ci)                                    */
/* ═══════════════════════════════════════════════════════════ */
.ci-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}
@media (min-width: 768px) {
    .ci-grid { grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
}

.ci {
    padding: 16px 0;
    border-bottom: 1px solid rgba(212,200,184,0.4);
}
.ci--highlight {
    background: rgba(30,58,95,0.03);
    border: 1px dashed rgba(30,58,95,0.18);
    border-radius: 6px;
    padding: 14px 16px;
    margin-top: 4px;
}
.ci--dark { border-bottom-color: rgba(255,255,255,0.08); }

.ci-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 4px;
}
.ci-name {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1.3;
}
.ci-name em { font-style: italic; font-size: 12px; color: var(--stone); }
.ci-price {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--navy);
    white-space: nowrap;
    flex-shrink: 0;
}
.ci-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: var(--stone);
    line-height: 1.55;
    margin-bottom: 7px;
    font-style: italic;
}
.ci-alg { display: flex; flex-wrap: wrap; gap: 4px; }

/* Allergen badge */
.alg {
    font-family: 'DM Sans', sans-serif;
    font-size: 9px;
    font-weight: 600;
    color: var(--teal);
    background: rgba(26,158,166,0.08);
    border: 1px solid rgba(26,158,166,0.2);
    border-radius: 4px;
    padding: 1px 5px;
    letter-spacing: 0.04em;
}


/* ═══════════════════════════════════════════════════════════ */
/*  CARTA — Lista compacta de bebidas (ci-list / ci-row)       */
/* ═══════════════════════════════════════════════════════════ */
.ci-list { margin-top: 0; }
.ci-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(212,200,184,0.35);
}
.ci-row:last-child { border-bottom: none; }
.ci-row--sub .ci-row-name { padding-left: 12px; color: var(--stone); font-size: 12px; }
.ci-row--header .ci-row-name,
.ci-row--header .ci-row-price {
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--stone);
    font-weight: 400;
}

.ci-row-name {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--charcoal);
    flex: 1;
}
.ci-row-price {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--navy);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Bebidas layout (2 columnas en desktop) */
.bebidas-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}
@media (min-width: 768px) {
    .bebidas-cols { grid-template-columns: 1fr 1fr; }
}


/* ═══════════════════════════════════════════════════════════ */
/*  CARTA — Extras box                                         */
/* ═══════════════════════════════════════════════════════════ */
.carta-extras {
    margin-top: 28px;
    background: rgba(212,200,184,0.15);
    border: 1px solid rgba(212,200,184,0.5);
    border-radius: 8px;
    padding: 18px 20px 20px;
}
.extras-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--stone);
    margin-bottom: 14px;
}
.extras-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
}
.extras-grid span {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: var(--stone);
}
.extras-grid b { color: var(--navy); font-weight: 500; }


/* ═══════════════════════════════════════════════════════════ */
/*  CARTA — Leyenda alérgenos                                  */
/* ═══════════════════════════════════════════════════════════ */
.carta-alg-legend {
    padding: 40px 24px 48px;
    background: #F5F3EF;
    border-top: 1px solid rgba(212,200,184,0.5);
}
@media (min-width: 768px) {
    .carta-alg-legend { padding: 48px 48px 56px; }
}
.legend-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--stone);
    margin-bottom: 16px;
}
.legend-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-bottom: 16px;
}
.legend-grid span {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    color: var(--stone);
}
.legend-grid b { color: var(--teal); }
.legend-note {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    color: rgba(138,130,121,0.6);
    line-height: 1.7;
    font-style: italic;
}


/* ═══════════════════════════════════════════════════════════ */
/*  CARTA — Footer                                             */
/* ═══════════════════════════════════════════════════════════ */
.carta-footer {
    background: var(--charcoal);
    padding: 28px 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
@media (min-width: 768px) {
    .carta-footer { padding: 28px 48px; }
}


/* ═══════════════════════════════════════════════════════════ */
/*  RESPONSIVE — Mobile ajustes                                */
/* ═══════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
    .carta-hero { padding-top: 92px; padding-bottom: 28px; }
    .carta-hero-inner { gap: 14px; }
    .carta-hero-isotipo { height: 38px; }
    .cs-header { flex-direction: column; gap: 16px; }
    .cs-price-block { text-align: left; }
    .cs-price-big { font-size: 1.6rem; }
    .cs { padding: 40px 20px 48px; }
    .carta-alg-legend { padding: 32px 20px 40px; }
}

@media (max-width: 500px) {
    #navbar { top: 10px; left: 8px; right: 8px; }
    .carta-cat-nav { top: 74px; }
    .hero-headline { font-size: clamp(2.2rem, 8vw, 2.8rem); }
    .gallery-grid { gap: 2px; }
}


/* ═══════════════════════════════════════════════════════════ */
/*  NAVBAR — Estado claro (sobre secciones con fondo cream)    */
/* ═══════════════════════════════════════════════════════════ */
#navbar.is-light .navbar-inner {
    background-color: rgba(250, 248, 244, 0.82);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.07);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
}
#navbar.is-light .nav-link {
    color: rgba(30, 58, 95, 0.6);
    border-bottom-color: transparent;
}
#navbar.is-light .nav-link:hover,
#navbar.is-light .nav-link.is-active {
    color: rgba(30, 58, 95, 0.95);
    border-bottom-color: rgba(30, 58, 95, 0.25);
}
#navbar.is-light .nav-cta {
    color: rgba(30, 58, 95, 0.85);
    border-color: rgba(30, 58, 95, 0.18);
}
#navbar.is-light .nav-cta:hover {
    background: rgba(30, 58, 95, 0.05);
    border-color: rgba(30, 58, 95, 0.32);
}
#navbar.is-light .hamburger-line {
    background: rgba(30, 58, 95, 0.65);
}


/* ═══════════════════════════════════════════════════════════ */
/*  GALERÍA — 5 columnas desktop (override)                    */
/* ═══════════════════════════════════════════════════════════ */
.gallery-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
}
.gallery-item {
    aspect-ratio: 4 / 5;
    cursor: pointer;
}
/* Neutralizar la regla base span-3: 10 items / 5 cols = sin huérfano */
.gallery-item:nth-child(3n+1):last-child {
    grid-column: span 1;
    aspect-ratio: 4 / 5;
}
/* Tablet: 3 cols — última imagen sola */
@media (max-width: 1024px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 4px; }
    .gallery-item:nth-child(3n+1):last-child { grid-column: span 3; aspect-ratio: 16 / 7; }
    .gallery-item { aspect-ratio: 4 / 5; }
}
/* Mobile: 2 cols (10 items = 5 filas exactas, sin huérfanos) */
@media (max-width: 640px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 3px; }
    .gallery-item:nth-child(3n+1):last-child { grid-column: span 1; aspect-ratio: 4 / 5; }
    .gallery-item { aspect-ratio: 4 / 5; }
}


/* ═══════════════════════════════════════════════════════════ */
/*  LIGHTBOX — Visor de imágenes nativo                        */
/* ═══════════════════════════════════════════════════════════ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}
.lightbox.is-open {
    opacity: 1;
    pointer-events: all;
}
.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(250, 248, 244, 0.9);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    cursor: pointer;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: rgba(30, 58, 95, 0.65);
    background: rgba(30, 58, 95, 0.06);
    border: 1px solid rgba(30, 58, 95, 0.14);
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}
.lightbox-close:hover {
    color: rgba(30, 58, 95, 0.95);
    background: rgba(30, 58, 95, 0.1);
    border-color: rgba(30, 58, 95, 0.28);
}
.lightbox-img-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    max-width: 100vw;
    max-height: 100vh;
}
.lightbox-img {
    max-width: min(85vw, 500px);
    max-height: 75vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 3px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    transform: scale(0.96);
    transition: transform 0.28s ease;
}
.lightbox.is-open .lightbox-img {
    transform: scale(1);
}
.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: rgba(30, 58, 95, 0.65);
    background: rgba(30, 58, 95, 0.06);
    border: 1px solid rgba(30, 58, 95, 0.14);
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}
.lightbox-nav-btn:hover {
    color: rgba(30, 58, 95, 0.95);
    background: rgba(30, 58, 95, 0.1);
    border-color: rgba(30, 58, 95, 0.28);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-nav-btn[hidden] { display: none; }

.lightbox-caption {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-top: -8px;
    padding-bottom: 8px;
}
.lightbox-caption-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.2rem, 2.6vw, 1.6rem);
    font-weight: 500;
    color: var(--charcoal);
}
.lightbox-caption-price {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--navy);
    margin-top: 4px;
}
/* En móvil, la navegación es por deslizamiento — se ocultan las flechas */
@media (max-width: 640px) {
    .lightbox-nav-btn { display: none; }
}


/* ═══════════════════════════════════════════════════════════ */
/*  CTA CARTA — Sección de transición entre Historia y Galería */
/* ═══════════════════════════════════════════════════════════ */
.cta-carta-section {
    background: var(--cream);
    padding: 52px 24px 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cta-carta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
    text-align: center;
}
.cta-carta-eyebrow {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--stone);
}
.btn-cta-carta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #fff;
    background: var(--navy);
    border: 1px solid var(--navy);
    border-radius: 9999px;
    padding: 16px 48px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.28s ease, color 0.28s ease, box-shadow 0.28s ease, transform 0.2s ease;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.25);
}
.btn-cta-carta:hover {
    background: transparent;
    color: var(--navy);
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.12);
    transform: translateY(-2px);
}
.cta-carta-note {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-style: italic;
    font-weight: 300;
    color: var(--stone);
    letter-spacing: 0.02em;
}


/* ═══════════════════════════════════════════════════════════ */
/*  CARTA — Alineación: cabeceras centradas, platos izq/dcha   */
/* ═══════════════════════════════════════════════════════════ */

/* Cabecera de sección: título y precio apilados, centrados */
.carta-main .cs-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.carta-main .cs-eyebrow { text-align: center; }
.carta-main .cs-title   { text-align: center; }

/* Precio de sección: debajo del título, discreto */
.carta-main .cs-price-block {
    text-align: center;
    margin-top: 6px;
}
.carta-main .cs-price-big {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    font-weight: 300;
    color: var(--stone);
}
.carta-main .cs-price-inc {
    color: var(--stone);
    opacity: 0.75;
}

/* Subtítulos de subsección: izquierda (igual que el resto del contenido) */
.carta-main .cs-subsection-title {
    text-align: left;
}

/* Items de plato */
.carta-main .ci-top {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}
.carta-main .ci-name  { text-align: left; }
.carta-main .ci-price { text-align: right; flex-shrink: 0; }
.carta-main .ci-desc  { text-align: left; }
.carta-main .ci-alg   { justify-content: flex-start; }

/* Grids de items */
.carta-main .ci-grid {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.carta-main .ci-list {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

/* Extras y bebidas */
.carta-main .extras-title          { text-align: left; }
.carta-main .extras-grid           { justify-content: flex-start; text-align: left; }
.carta-main .bebidas-col           { text-align: left; }
.carta-main .bebidas-col .cs-note  { text-align: left; }
.carta-main .carta-extras          { text-align: left; }

/* Leyenda alérgenos */
.carta-alg-legend            { text-align: left; }
.carta-alg-legend .legend-grid { justify-content: flex-start; }

/* carta-hero-inner → column layout definido en la sección base */


/* ═══════════════════════════════════════════════════════════ */
/*  NAVBAR — Con el menú móvil abierto                          */
/*  Solo queda flotando la X: se oculta la píldora (fondo/borde/ */
/*  blur) y el logo, sin mover el botón de sitio. Va al final    */
/*  del archivo para ganar siempre a is-light / is-scrolled.     */
/* ═══════════════════════════════════════════════════════════ */
#navbar.menu-open .navbar-inner {
    background-color: transparent;
    border-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}
#navbar.menu-open #nav-logo {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
}
/* La X siempre en blanco con el menú abierto, aunque el navbar esté
   en modo claro (is-light) por la sección sobre la que se abrió. */
#navbar.menu-open .hamburger-line {
    background: rgba(255, 255, 255, 0.75);
}


/* ═══════════════════════════════════════════════════════════ */
/*  PROMO BANNER — Aviso del aniversario en el landing          */
/* ═══════════════════════════════════════════════════════════ */
.promo-banner {
    background: var(--navy);
    padding: 18px 24px;
    position: relative;
    overflow: hidden;
}
.promo-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.06), transparent 60%);
    pointer-events: none;
}
.promo-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 22px;
    text-align: center;
    position: relative;
}
.promo-banner-date {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 9999px;
    padding: 5px 14px;
    flex-shrink: 0;
}
.promo-banner-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    font-weight: 300;
    color: #fff;
    letter-spacing: 0.01em;
}
.promo-banner-text em { color: var(--sand); font-style: italic; }
.promo-banner-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    padding-bottom: 2px;
    flex-shrink: 0;
    transition: border-color 0.2s ease, opacity 0.2s ease;
}
.promo-banner-link:hover { border-color: #fff; opacity: 0.8; }
@media (max-width: 640px) {
    .promo-banner { padding: 16px 18px; }
    .promo-banner-text { font-size: 15px; }
}


/* ═══════════════════════════════════════════════════════════ */
/*  EVENTO ANIVERSARIO — Página propia                          */
/* ═══════════════════════════════════════════════════════════ */
.evento-container { min-height: 100vh; background: var(--cream); }

.evento-intro {
    max-width: 720px;
    margin: 0 auto;
    padding: 64px 24px 8px;
    text-align: center;
}
.evento-intro p {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}

.evento-timeline {
    max-width: 860px;
    margin: 0 auto;
    padding: 56px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.evento-step {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 24px;
    padding: 32px 0;
    border-bottom: 1px solid rgba(30,58,95,0.1);
    position: relative;
}
.evento-step:last-child { border-bottom: none; }
.evento-step-time {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 26px;
    font-weight: 400;
    color: var(--navy);
    line-height: 1.2;
}
.evento-step-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 9px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--stone);
    display: block;
    margin-top: 4px;
}
.evento-step-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.25;
}
.evento-step-copy {
    font-family: 'DM Sans', sans-serif;
    font-size: 13.5px;
    line-height: 1.75;
    color: #333;
    max-width: 46ch;
}
@media (max-width: 560px) {
    .evento-step { grid-template-columns: 1fr; gap: 8px; }
}

.evento-rule-box {
    max-width: 860px;
    margin: 8px auto 64px;
    padding: 28px 32px;
    background: var(--sand);
    background: rgba(212, 200, 184, 0.28);
    border: 1px solid rgba(30,58,95,0.14);
    border-radius: 4px;
}
.evento-rule-box p {
    font-family: 'DM Sans', sans-serif;
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--navy);
}
.evento-rule-box p strong { font-weight: 600; }

.evento-cta {
    text-align: center;
    padding: 8px 24px 88px;
}


/* ═══════════════════════════════════════════════════════════ */
/*  INSTAGRAM — Bloque de embed reutilizable                    */
/* ═══════════════════════════════════════════════════════════ */
.instagram-section {
    padding: 8px 24px 88px;
    text-align: center;
}
.instagram-section-inner { max-width: 560px; margin: 0 auto; }
.instagram-embed-wrap {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}
.instagram-embed-wrap iframe { max-width: 100% !important; }

.historia-video-wrap {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}
.historia-reel-video {
    width: 100%;
    max-width: 340px;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(30, 58, 95, 0.18);
    background: var(--charcoal);
}
.instagram-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--navy);
    text-decoration: none;
    border: 1px solid rgba(30,58,95,0.3);
    border-radius: 9999px;
    padding: 14px 30px;
    margin-top: 28px;
    transition: background 0.25s ease, color 0.25s ease;
}
.instagram-follow-btn:hover { background: var(--navy); color: #fff; }


/* ═══════════════════════════════════════════════════════════ */
/*  NUESTRA HISTORIA — Página propia                            */
/* ═══════════════════════════════════════════════════════════ */
.historia-container { min-height: 100vh; background: var(--cream); }

.historia-body {
    max-width: 720px;
    margin: 0 auto;
    padding: 64px 24px 16px;
}
.historia-body p {
    font-family: 'DM Sans', sans-serif;
    font-size: 14.5px;
    line-height: 1.85;
    color: #333;
    margin-bottom: 22px;
}
.historia-body blockquote {
    margin: 44px 0;
    padding-left: 20px;
    border-left: 1px solid rgba(30,58,95,0.18);
}
.historia-body blockquote p {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 20px;
    font-weight: 300;
    color: var(--navy);
    margin: 0;
}
.historia-photo-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    max-width: 960px;
    margin: 8px auto 0;
    padding: 0 4px;
}
.historia-photo-strip img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}
@media (max-width: 640px) {
    .historia-photo-strip { grid-template-columns: 1fr; }
    .historia-photo-strip img { height: 220px; }
}

.historia-more-link {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.25);
    padding-bottom: 2px;
    margin-top: 18px;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.historia-more-link:hover { color: #fff; border-color: rgba(255,255,255,0.7); }


/* ═══════════════════════════════════════════════════════════ */
/*  CARTA — Carruseles de fotos por sección (estilo Grupo Saona) */
/*  Scroll horizontal manual con snap al centro                  */
/* ═══════════════════════════════════════════════════════════ */
.saona-slot:empty { display: none; }

.saona-carousel {
    margin: 0 0 40px;
}
.saona-carousel-head {
    text-align: center;
    padding: 0 24px;
    margin-bottom: 18px;
}
.saona-eyebrow {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--stone);
    margin-bottom: 6px;
}
.saona-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.5rem, 2.6vw, 1.9rem);
    font-weight: 300;
    color: var(--charcoal);
}
.cs--dark .saona-eyebrow { color: rgba(255,255,255,0.45); }
.cs--dark .saona-title { color: #fff; }

.saona-viewport {
    position: relative;
    display: flex;
    align-items: center;
}

.saona-track {
    --saona-item-w: 236px;
    --saona-gap: 16px;
    display: flex;
    align-items: flex-start;
    gap: var(--saona-gap);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 10px 0 18px;
    flex: 1;
}
.saona-track::-webkit-scrollbar { display: none; }

.saona-edge {
    flex-shrink: 0;
    width: calc(50% - (var(--saona-item-w) / 2) - var(--saona-gap));
    scroll-snap-align: none;
}

.saona-item {
    flex-shrink: 0;
    width: var(--saona-item-w);
    scroll-snap-align: center;
    scroll-snap-stop: always;
    cursor: pointer;
    opacity: 0.5;
    transform: scale(0.88);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.saona-item.is-active {
    opacity: 1;
    transform: scale(1);
}

.saona-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(30,58,95,0.16);
    background: var(--sand);
}
.saona-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 68%;
    -webkit-user-drag: none;
    pointer-events: none;
}
.saona-item.is-active .saona-photo {
    box-shadow: 0 22px 44px rgba(30,58,95,0.28);
}

.saona-caption {
    text-align: center;
    margin-top: 14px;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.saona-item.is-active .saona-caption {
    opacity: 1;
    transform: translateY(0);
}
.saona-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 19px;
    font-weight: 500;
    color: var(--charcoal);
    line-height: 1.2;
}
.cs--dark .saona-name { color: #fff; }
.saona-price {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 11.5px;
    letter-spacing: 0.06em;
    color: var(--navy);
    margin-top: 4px;
}
.cs--dark .saona-price { color: rgba(255,255,255,0.6); }

.saona-arrow {
    display: none;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--cream);
    border: 1px solid rgba(212,200,184,0.7);
    color: var(--navy);
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
}
.saona-arrow:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.saona-arrow:disabled { opacity: 0.3; cursor: default; }
.saona-arrow:disabled:hover { background: var(--cream); color: var(--navy); }

@media (min-width: 640px) {
    .saona-track { --saona-item-w: 280px; --saona-gap: 20px; }
}
@media (min-width: 768px) {
    .saona-carousel { margin-bottom: 48px; }
    .saona-carousel-head { margin-bottom: 24px; }
    .saona-track { --saona-item-w: 320px; --saona-gap: 26px; padding: 14px 0 26px; }
    .saona-name { font-size: 21px; }
    .saona-arrow { display: flex; margin: 0 16px; }
}
@media (min-width: 1120px) {
    .saona-arrow--prev { margin-left: max(14px, calc(50% - 550px + 14px)); }
    .saona-arrow--next { margin-right: max(14px, calc(50% - 550px + 14px)); }
}

@media (prefers-reduced-motion: reduce) {
    .saona-item { transition: none; }
    .saona-caption { transition: none; }
}


/* ═══════════════════════════════════════════════════════════ */
/*  CARTA — Lightbox de galería por producto                    */
/*  Pantalla completa, scroll horizontal entre 5-6 fotos        */
/* ═══════════════════════════════════════════════════════════ */
.saona-lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.saona-lightbox.is-open {
    display: block;
    opacity: 1;
}
.saona-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10,16,26,0.94);
}
.saona-lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 4;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
}
.saona-lightbox-close:hover { background: rgba(255,255,255,0.18); }

.saona-lightbox-head {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 68px;
    z-index: 3;
    text-align: left;
}
.saona-lightbox-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 400;
    color: #fff;
}
.saona-lightbox-price {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.55);
    margin-top: 3px;
}

.saona-lightbox-track {
    position: absolute;
    inset: 0;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.saona-lightbox-track::-webkit-scrollbar { display: none; }

.saona-lightbox-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 90px 20px 64px;
}
.saona-lightbox-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
    -webkit-user-drag: none;
}

.saona-lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 42px;
    height: 42px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
}
.saona-lightbox-arrow:hover { background: rgba(255,255,255,0.2); }
.saona-lightbox-arrow:disabled { opacity: 0.25; cursor: default; }
.saona-lightbox-arrow--prev { left: 14px; }
.saona-lightbox-arrow--next { right: 14px; }
@media (min-width: 640px) {
    .saona-lightbox-arrow { display: flex; }
    .saona-lightbox-arrow--prev { left: 24px; }
    .saona-lightbox-arrow--next { right: 24px; }
}

.saona-lightbox-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 22px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}
.saona-lightbox-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transition: background 0.2s ease, transform 0.2s ease;
}
.saona-lightbox-dot.is-active {
    background: #fff;
    transform: scale(1.3);
}

body.saona-lightbox-open { overflow: hidden; }
