:root {
    --bg-dark: #0a0b10;
    --bg-card: rgba(255, 255, 255, 0.03);
    --accent: #00d8ff;
    --accent-glow: rgba(0, 216, 255, 0.3);
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-dim: var(--text-muted);
    --border: rgba(255, 255, 255, 0.08);
    --radius: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

body {
    background: var(--bg-main);
    background-image: var(--bg-gradient);
    color: var(--text-main);
    width: 100%;
    position: relative;
    min-height: 100%;
    margin: 0;
}

body.landing-mode {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px 0 20px; /* V2026: Sin padding-bottom, lo controla el diseño de Master */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body.landing-mode * {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body.landing-mode footer {
    display: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- GLOW EFFECTS --- */
.glow {
    position: fixed;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent) 0%, rgba(0,0,0,0) 75%);
    z-index: -1;
    filter: blur(100px);
    transition: all 1s ease;
    opacity: 0.6;
}
.glow-1 { top: -10%; right: -10%; }
.glow-2 { bottom: -10%; left: -10%; opacity: 0.5; }

@media (max-width: 600px) {
    .glow { display: none !important; } /* Eliminamos brillos en móvil por seguridad */
}

/* Modified glow for landing */
body.landing-mode .glow-1 { top: 20%; right: 20%; width: 60vw; height: 60vw; opacity: 0.8; }
body.landing-mode .glow-2 { bottom: 20%; left: 20%; width: 50vw; height: 50vw; opacity: 0.4; }

/* --- HEADER (Menu View) --- */
header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

/* --- LANDING TOP NAV --- */
.landing-top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    display: flex;
    flex-wrap: nowrap; /* Nunca doblar en 2 líneas */
    justify-content: center;
    align-items: center;
    padding: 8px 30px;
    gap: 20px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border);
    overflow: hidden; /* Si no caben, se recortan, no se doblan */
}

.nav-item {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 6px 16px;
    border-radius: var(--radius, 12px); /* AGNOSTICO: Usa el radio del Master */
    background: var(--glass-bg); /* AGNOSTICO: Usa el fondo de cristal del Master */
    border: 1px solid var(--border); /* AGNOSTICO: Usa el borde del Master */
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.nav-item.active {
    background: rgba(var(--accent-rgb), 0.2);
    border-color: var(--accent);
    color: var(--accent);
}

.nav-icon {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 600px) {
    .landing-top-nav {
        padding: 8px 10px;
        gap: 5px;
    }
    .landing-top-nav .nav-text {
        display: none; /* Ocultamos texto en móvil para que quepa todo */
    }
    .landing-top-nav .nav-item {
        padding: 8px;
    }
    .login-btn, #btn-carta-nav {
        padding: 8px !important;
        border-radius: 50%; /* Botones redondos solo con icono */
    }
}

/* --- DROPDOWN REDES SOCIALES (V2026) --- */
.rs-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px;
    display: none;
    flex-direction: column;
    min-width: 160px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 3000;
}

.nav-item.dropdown:hover .rs-dropdown {
    /* El hover lo manejamos por JS para mobile, pero dejamos esto por si acaso en desktop */
}

.nav-icon svg {
    display: block;
    fill: currentColor;
    stroke: currentColor;
}


.login-btn, #btn-carta-nav {
    background: var(--accent);
    color: black;
    padding: 8px 20px;
    border-radius: 100px;
    box-shadow: 0 4px 10px rgba(var(--accent-rgb), 0.3);
}

.login-btn:hover, #btn-carta-nav:hover {
    background: #00b8d9;
    color: white;
    transform: translateY(-2px);
}

/* Contact Popover */
.dropdown {
    position: relative;
}

.contact-popover {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 15px;
    width: 400px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    padding: 25px;
    border-radius: var(--radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2001;
    text-align: left;
}

@media (max-width: 600px) {
    .contact-popover {
        position: fixed;
        top: 70px;
        left: 5vw;
        right: 5vw;
        width: 90vw;
        margin-top: 0;
        padding: 20px;
        transform: translateY(10px);
    }
}

.nav-item.dropdown:hover .contact-popover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 600px) {
    .nav-item.dropdown:hover .contact-popover {
        transform: translateY(0);
    }
}

/* Pulse animation for the "Ya hemos abierto" message */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.contact-popover h3 {
    margin-bottom: 15px;
    color: var(--text-main);
    font-size: 1.1rem;
}

.contact-popover p {
    font-size: 0.85rem;
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-popover strong {
    color: var(--text-main);
    min-width: 80px;
    flex-shrink: 0;
}

.email-val {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--accent);
    padding: 3px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.copy-btn:hover {
    background: var(--accent);
    color: black;
    transform: scale(1.1);
}

.copy-btn:active {
    transform: scale(0.9);
}


.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-circle {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent), #00ffcc);
    border-radius: 50%;
}

.glass-card.branding-halo {
    box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.4) !important; /* Más fino y suave */
}

.brand-text h1 {
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.search-pill {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: 30px;
    width: 300px;
    transition: all 0.3s;
}

.search-pill:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}

.search-pill input {
    background: transparent;
    border: none;
    color: white;
    width: 100%;
    outline: none;
}

/* --- MENÚ MOSTRADOR (PORTED FROM ADMIN) --- */
.menu-ribbon-container { 
    position: sticky; 
    top: 88px; 
    background: var(--glass-bg); 
    backdrop-filter: var(--glass-blur); 
    z-index: 100; 
    margin: 0; 
    padding: 8px 0; 
    border-bottom: 1px solid var(--border); 
}

.menu-ribbon { 
    display: flex; 
    align-items: center; 
    justify-content: center; /* Centrado para estética multilínea */
    gap: 5px; /* Reducido de 8px */
    flex-wrap: wrap; 
    padding: 10px 15px; /* Añadido margen de seguridad lateral */
}

/* Scrollbar eliminada ya que ahora es multilínea */
.menu-ribbon::-webkit-scrollbar { display: none; }



.ribbon-item { 
    background: rgba(255,255,255,0.12); 
    border: 1px solid rgba(255,255,255,0.25); 
    padding: 4px 10px; /* Reducido de 6px 14px */
    border-radius: 30px; 
    white-space: nowrap; 
    flex-shrink: 0; 
    cursor: pointer; 
    transition: all 0.3s; 
    font-size: 0.75rem; /* Reducido de 0.8rem */
    color: #fff;
}

.ribbon-item:hover, .ribbon-item.active { 
    background: rgba(0, 216, 255, 0.1); 
    border-color: var(--accent); 
    color: var(--accent);
}

.ribbon-item.back-btn {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: bold;
}

.ribbon-item.back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

.menu-display { 
    overflow-y: visible; /* Dejamos que el scroll lo maneje el body */
    flex-grow: 1; 
    scroll-behavior: smooth; 
    padding: 0;
}

.menu-group-section { 
    margin-bottom: 4rem; 
    scroll-margin-top: 210px; /* Ajustado para compensar la posible altura de la botonera multilínea */
}

.menu-group-title { 
    font-size: 1.12rem; 
    color: var(--text-main); 
    margin-bottom: 1.2rem; 
    border-bottom: 1px dashed rgba(255,255,255,0.1); 
    padding-bottom: 8px; 
    font-weight: 700;
}

.menu-products-grid { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 15px; 
    width: 100%; 
}

.product-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 10px; /* REDUCIDO A LA MITAD */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.product-card:hover { 
    transform: translateY(-3px); 
    background: rgba(255,255,255,0.06); 
    border-color: rgba(0, 216, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3); 
}

.product-img-container { 
    width: 60px; /* Reducido ligeramente para el nuevo compacto */
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-img-container img { 
    object-fit: cover; 
    width: 100%; 
    height: 100%; 
}

.product-card-main { 
    display: flex;
    flex-direction: column; 
    gap: 8px;
    padding: 0;
    width: 100%;
}

.product-card-names { 
    display: flex; 
    flex-direction: column; 
    gap: 3px; 
    min-width: 0; 
    flex-grow: 1; 
}

.product-short-name { 
    font-size: 1.0rem; 
    font-weight: 600; 
    color: #fff; 
    white-space: normal; 
    line-height: 1.2; 
}

.product-long-name { 
    font-size: 0.8rem; 
    color: var(--text-muted); 
    font-style: italic; 
    white-space: normal; 
    line-height: 1.4; 
}

.product-price { 
    color: var(--accent); 
    font-weight: bold; 
    font-size: 1.12rem; 
    text-shadow: 0 0 10px var(--accent-glow); 
    white-space: nowrap; 
    flex-shrink: 0; 
    margin-left: auto;
}

/* COMBO SIMPLE LIST */
.combo-simple-list {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.75rem;
    color: var(--text-dim);
}

.combo-simple-item {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.combo-card {
    flex-direction: column;
    align-items: stretch;
}

/* --- FOOTER --- */
/* Remove conflicting general footer style */
.global-footer-hidden {
    display: none;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    margin-right: 20px;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--accent);
}

/* --- VIEW MANAGEMENT --- */
#menu-view {
    padding-top: 42px;
    min-height: 100vh;
}

#menu-view .container {
    max-width: 720px; /* Alineado exactamente con la estética del index (700px + padding) */
}
.view-hidden {
    display: none !important;
}

#landing-view {
    width: 100%;
    animation: fadeIn 1s ease-out;
    display: flex;
    flex-direction: column;
    min-height: auto; /* V2026: Ahora se acopla al contenido */
}

.main-canvas {
    display: flex;
    flex-direction: column;
    background: var(--glass-bg);
    padding: 2rem 2rem 0 2rem; /* V2026: Sin padding-bottom, lo gestiona el footer */
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
    max-width: 700px;
    width: 100%;
    text-align: center;
    margin: 20px auto;
}

.canvas-footer {
    margin-top: 0 !important;
    padding: 12px 0 !important;  /* Solo padding interno para separar texto del borde */
    border-top: 1px solid var(--border) !important;
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Header Band */
.hero-header {
    display: flex;
    flex-direction: column; /* Centrado vertical para logo y nombre */
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 15px;
}

.hero-logo-small {
    max-width: 100px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.hero-branding h2 {
    font-size: 1.4rem;
    margin: 0;
    color: var(--text-main);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
}

.hero-branding p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 2px 0 0 0;
}

.countdown-video-row {
    margin: 40px 0;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center; /* Centrado por defecto */
    gap: 30px;
    width: 100%;
    flex-wrap: wrap;
}

.countdown-col {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centrado interno */
    flex: 1;
    min-width: 300px;
}

.video-col {
    flex: 1;
    display: flex;
    justify-content: center; /* Cambiado de flex-end a center */
    align-items: stretch;
}

.hero-video {
    width: 100%;
    max-width: 125px; /* Aumentado un 25% */
    height: 100%;    /* Coincide con la altura del contador */
    object-fit: cover;
    object-position: top;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}
.countdown-label {
    font-size: 1.2rem; /* Aumentado 150% aprox */
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 16px;
    opacity: 0.8;
    white-space: nowrap;
    text-transform: uppercase;
}

#countdown {
    display: flex;
    gap: 12px;
    justify-content: center; /* Cambiado de flex-start a center para simetría */
    flex-wrap: nowrap;
    margin: 0 auto; /* Centrado extra */
}

.time-box {
    background: rgba(255, 255, 255, 0.08);
    padding: 1rem 0.5rem;
    border-radius: 12px;
    min-width: 60px;
    flex: 1;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.time-box .number {
    display: block;
    font-size: 2.4rem; /* Aumentado 20% de 2rem */
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
}

.time-box .label {
    display: block;
    font-size: 0.9rem; /* Aumentado 20% de 0.75rem */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
    opacity: 0.7;
}

.legal-footer {
    display: block !important;
    margin-bottom: 10px !important;
    font-size: 0.85rem !important;
    color: var(--text-dim) !important;
}

.legal-footer a {
    color: var(--text-main) !important;
    text-decoration: none !important;
    margin: 0 10px !important;
    display: inline-block !important;
    opacity: 0.8;
}

.legal-footer a:hover {
    color: var(--accent) !important;
    text-decoration: underline !important;
    opacity: 1;
}

.pow-footer {
    display: block !important;
    font-size: 0.75rem !important;
    color: var(--text-muted) !important;
}

.pow-footer a {
    color: var(--text-main) !important;
    text-decoration: none !important;
    font-weight: bold !important;
}

.btn-enter-menu {
    background: var(--accent);
    color: #000;
    padding: 12px 30px;
    border-radius: var(--radius, 100px);
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    cursor: pointer;
    border: none;
    transition: all 0.4s;
    box-shadow: 0 10px 20px var(--accent-glow);
    margin: 20px 0;
}

.btn-enter-menu:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px var(--accent-glow);
}

.btn-primary {
    background: var(--accent);
    color: #000;
    padding: 10px 25px;
    border-radius: var(--radius, 50px);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(var(--accent-rgb), 0.3); /* Halo más sutil */
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(var(--accent-rgb), 0.4);
    filter: brightness(1.1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- LOADER --- */
.loader-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* --- WEB PANEL EXTENSIONS (V5) --- */
.text-align-left { text-align: left !important; }
.text-align-center { text-align: center !important; }
.text-align-right { text-align: right !important; }
.pulse-text, .pulse-anim { animation: pulse-soft 2s infinite ease-in-out; }


/* Button Variants */
.btn-primary.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}
.btn-primary.btn-ghost {
    background: rgba(255,255,255,0.05);
    border: 1px solid transparent;
    color: var(--text-main);
    box-shadow: none;
}
.btn-primary.btn-pill {
    border-radius: 100px;
}
.btn-primary.btn-underline {
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--accent);
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
    box-shadow: none;
    color: var(--accent);
}
.btn-primary.btn-neon {
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent), 0 0 20px rgba(var(--accent-rgb), 0.3); /* Neón refinado */
    border: none;
    color: #000;
}

/* Pulse Animation */
@keyframes pulse-soft {
    0% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.05); filter: brightness(1.5); text-shadow: 0 0 15px var(--accent-glow); }
    100% { transform: scale(1); filter: brightness(1); }
}
.pulse-anim {
    animation: pulse-soft 2s infinite ease-in-out;
}

.panel-separator {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 10px 0; /* V2026: Reducido de 40px para compactar el diseño */
    gap: 20px;
    opacity: 0.3; /* Más sutil */

}

.panel-separator::before,
.panel-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent));
}

.panel-separator::after {
    background: linear-gradient(90deg, var(--accent), transparent);
}

.panel-separator span {
    color: var(--accent);
    font-size: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .header-content { flex-direction: column; gap: 20px; }
    .search-pill { width: 100%; }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
    .footer-legal a { margin: 0 10px; }
}



.manifesto-band {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.manifesto-img {
    width: 100%;
    max-width: 600px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}



@media (max-width: 600px) {
    body.landing-mode {
        padding: 0; /* El margen lo gestiona el container directamente */
        width: 100vw;
        overflow-x: hidden;
    }
    #landing-view .container {
        padding: 15px;
        margin: 56px auto 0 auto !important; /* Exactamente la altura de la nav fija */
        width: 100% !important;
        max-width: 100vw !important;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    .hero-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .hero-logo-small {
        max-width: 80px;
    }
    .countdown-video-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    .countdown-col {
        align-items: center;
        margin-bottom: 10px;
    }
    #countdown {
        justify-content: center;
        gap: 8px; /* Hueco más pequeño */
    }
    .time-box {
        min-width: 70px; /* Reducido de 84px */
        padding: 0.8rem 0.5rem;
    }
    .time-box .number {
        font-size: 1.8rem; /* Reducido de 2.4rem */
    }
    .time-box .label {
        font-size: 0.7rem;
    }
    .video-col {
        justify-content: center;
        width: 100%;
    }
    .hero-video {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }
}

/* Ajuste extra para móviles muy pequeños (iPhone SE, etc) */
@media (max-width: 380px) {
    #countdown {
        gap: 5px;
    }
    .time-box {
        min-width: 60px;
        padding: 0.6rem 0.3rem;
    }
    .time-box .number {
        font-size: 1.5rem;
    }
    .time-box .label {
        font-size: 0.6rem;
    }
}

/* --- NOTIFICACIONES (TOAST) --- */
.toast-container {
    position: fixed;
    bottom: 40px; /* Movido abajo para evitar solapamiento con nav */
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999; /* Por encima de todo */
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.custom-toast {
    background: rgba(20, 25, 35, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 216, 255, 0.4);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(0, 216, 255, 0.2);
    animation: toast-in 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    pointer-events: auto;
    max-width: 90vw;
}

.custom-toast.hide {
    animation: toast-out 0.5s ease forwards;
}

.toast-icon {
    font-size: 1.2rem;
}

.toast-msg {
    font-size: 0.9rem;
    font-weight: 400;
}

@keyframes toast-in {
    from { opacity: 0; transform: translateY(20px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toast-out {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to { opacity: 0; transform: translateY(20px) scale(0.9); }
}

.btn-volver-nav {
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-volver-nav:hover {
    background: rgba(0, 216, 255, 0.1);
    border-color: var(--accent) !important;
}

/* --- RESPONSIVE OPTIMIZATIONS --- */
@media (max-width: 600px) {
    .nav-text {
        display: none;
    }
    .landing-top-nav {
        gap: 5px;
        padding: 8px 10px;
    }
    .nav-item {
        padding: 8px;
        min-width: unset;
    }
    .hero-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .main-canvas {
        margin-top: 0; /* Eliminar margen extra bajo la nav fija en móvil */
    }
    #menu-view {
        padding-top: 56px;
    }
    .view-selector-container {
        top: 56px;
        position: sticky;
    }
    .menu-ribbon-container {
        top: 106px;
    }
}

@media (max-width: 400px) {
    .custom-toast {
        width: 85vw;
        font-size: 0.8rem;
        padding: 10px 15px;
    }
}

/* --- SELECTOR DE VISTA (V720 - FLOATING) --- */
.view-selector-container {
    position: sticky;
    top: 42px;
    z-index: 2500;
    display: flex;
    justify-content: center;
    padding: 10px 0;
    background: transparent; /* TRANSPARENTE para no fusionar con ribbon */
    backdrop-filter: none;
    border-bottom: none;
    pointer-events: none; /* No bloquea el scroll ni clics laterales */
}

.view-selector {
    background: rgba(20, 25, 35, 0.85); /* Fondo sólido sutil para el control */
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3px;
    border-radius: 50px;
    display: flex;
    gap: 4px;
    pointer-events: auto; /* Re-activar clics en los botones */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.view-mode-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    padding: 6px 20px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.view-mode-btn.active {
    background: var(--accent);
    color: #000;
    font-weight: 700;
}

/* --- VISTA DETALLADA CLONADA (V700) --- */
.product-card.detailed-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
    gap: 0;
}

.product-card-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

.product-card-details {
    display: flex;
    flex-direction: column;
    gap: 3px; /* REDUCIDO A LA MITAD */
    padding-left: 80px; /* ALINEACIÓN EXACTA: 10px padding + 60px img + 10px gap */
    width: 100%;
}

.detail-img-container {
    width: 24px; /* MÁS COMPACTO */
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent !important;
    border: none !important;
}

.detail-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    background: transparent !important;
}

.detail-img-container.empty-placeholder {
    background: transparent !important;
    border: none !important;
}

.product-img-container.empty {
    background: transparent;
    border: none;
    flex-shrink: 0;
}

.product-details-container {
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    /* El sangrado ya viene del padre (.product-card-details) */
}

.details-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.details-title {
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 4px;
    padding-bottom: 4px;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.details-title.extras {
    color: rgba(0, 255, 136, 0.8);
}

.details-list {
    display: flex;
    flex-direction: column;
    gap: 1px; /* MÍNIMO ESPACIO */
    padding-left: 0; /* ELIMINADO PARA USAR EL DEL PADRE */
    position: relative;
}

/* Guía visual vertical reposicionada */
.details-list::before {
    content: '';
    position: absolute;
    left: -15px; /* Ajustado al nuevo sangrado */
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    opacity: 0.2;
}

.detail-item {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.1; /* APRETADO */
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    position: relative;
}

/* Eliminamos el punto de viñeta antiguo para respetar el hueco reservado */

.detail-name {
    flex-grow: 1;
}

.detail-price {
    font-size: 0.75rem;
    color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    margin-left: 10px;
}

.detail-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 6px;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.05);
}

/* --- SUB-DETALLES (ALTERNATIVAS/ELEGIBLES) --- */
.sub-details-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 20px;
    margin-top: 4px;
    position: relative;
}

.sub-details-list::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 5px;
    width: 1px;
    background: var(--accent);
    opacity: 0.25;
}

.sub-detail-item {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sub-detail-item::before {
    content: '└';
    color: rgba(0, 210, 255, 0.3);
    margin-right: 2px;
}

/* Ajuste del ribbon debajo del selector fijo con offset reducido */
.menu-ribbon-container {
    position: sticky;
    top: 135px; /* Ajuste para el nuevo selector flotante */
    z-index: 100;
    background: rgba(10, 11, 16, 0.7);
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 25px; 
}



/* --- SKELETON LOADERS (V2026) --- */
@keyframes shimmer {
    0%   { background-position: -600px 0; }
    100% { background-position: 600px 0; }
}

.v2026-sk-card {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    box-sizing: border-box;
}

.sk-media, .sk-line {
    background: linear-gradient(90deg,
        rgba(255,255,255,0.04) 25%,
        rgba(255,255,255,0.1) 50%,
        rgba(255,255,255,0.04) 75%);
    background-size: 600px 100%;
    animation: shimmer 1.4s infinite linear;
    border-radius: 8px;
}

.sk-media {
    flex: 0 0 220px;
    height: 100%;
}

.sk-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.sk-line.wide   { height: 24px; width: 80%; }
.sk-line.medium { height: 16px; width: 60%; }
.sk-line.narrow { height: 14px; width: 40%; }

/* --- DYNAMIC WEB PANELS (V900) --- */
.dynamic-panels-grid { display: flex; flex-direction: column; gap: 0; margin-top: 10px; margin-bottom: 0 !important; padding-bottom: 0 !important; }
/* --- WEB PANELS (LANDING) - V2026: Consolidado --- */
/* --- WEB PANELS (LANDING) - V2026: Comportamiento Estricto --- */
.web-panel-card {
    display: flex;
    padding: 15px 20px; /* Reducido de 30px */
    margin-bottom: 0;   /* Sin margen: el separador es el border-bottom */
    background: transparent;
    border-bottom: none;
    border-radius: 0;
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.4s;
    overflow: hidden;
    gap: 20px; /* Reducido de 30px */
    text-align: left;
}

.web-panel-card:last-child {
    border-bottom: none;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.web-panel-card:hover {
    /* V2026: Sin salto ni cambio de fondo brusco */
    border-bottom-color: var(--accent);
}

/* --- ESTILO BRANDING HERO (LOGO GARBESTOWN) - RESPONSIVE FRIENDLY --- */

/* 1. Solo quitamos el cristal. Mantenemos el padding base para que el texto respire si lo hay */
/* --- ESTILO BRANDING HERO (LOGO GARBESTOWN) - SOLO ESTÉTICA --- */

.web-panel-card.branding-hero {
    background: transparent !important; /* V2026: Totalmente transparente para que el halo brille sin bordes */
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: visible !important; 
}

.web-panel-card.branding-hero .panel-media-content {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
}

.web-panel-card.branding-hero .panel-media-content img {
    object-fit: contain !important;
    border-radius: var(--card-radius, var(--radius, 16px)) !important;
    filter: drop-shadow(0 0 10px rgba(var(--accent-rgb), 0.3))
            drop-shadow(0 0 20px rgba(var(--accent-rgb), 0.2)) !important;
}




.web-panel-card.layout-horizontal.reverse {
    flex-direction: row-reverse;
}

.web-panel-card.layout-horizontal .panel-media-content {
    flex: 0 0 auto;
    flex-shrink: 0 !important;
    height: var(--config-height, 400px); /* Altura fija en horizontal según Master */
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: flex-start; /* Se queda arriba si el texto crece */
    background: transparent;
    overflow: hidden;
}

.web-panel-card.layout-horizontal .panel-text-content {
    flex: 1; /* V2026: Ocupa el espacio disponible de forma natural */
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

/* MODO VERTICAL (Centrado o Mobile) */
.web-panel-card.layout-vertical {
    flex-direction: column;
    height: auto !important;
    text-align: center;
    align-items: center;
    padding: 15px 20px;
    gap: 10px;
}

.web-panel-card.layout-vertical.reverse {
    flex-direction: column-reverse;
}

.web-panel-card.layout-vertical.text-top {
    flex-direction: column-reverse;
}

.web-panel-card.layout-vertical .panel-media-content {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.web-panel-card.layout-vertical .panel-text-content {
    width: 100%;
    padding: 10px 0 0 0;
}

.panel-text-content h2, 
.panel-text-content h3, 
.panel-text-content .panel-html-body {
    width: 100%;
}

/* Imágenes y Videos con Aura */
.panel-media-content {
    border-radius: calc(var(--radius, 24px) / 1.5);
    overflow: visible; /* PERMITIR QUE SALGA EL BRILLO */
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-media-content img, 
.panel-media-content video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    border-radius: calc(var(--radius, 24px) / 1.5);
    border: none !important;
    outline: none !important;
    transition: all 0.4s ease;
}

.layout-horizontal .panel-media-content img,
.layout-horizontal .panel-media-content video {
    width: auto;
    height: 100%;
    object-fit: contain;
    border-radius: calc(var(--radius, 24px) / 1.5);
}

.web-panel-card.layout-vertical.block-vertical-media .panel-media-content {
    height: var(--config-height, 400px); 
}

.web-panel-card.layout-vertical.block-vertical-media .panel-media-content img,
.web-panel-card.layout-vertical.block-vertical-media .panel-media-content video {
    height: 100%;
    width: 100%;
    object-fit: contain;
    background: transparent;
}

.web-panel-card.layout-vertical .panel-media-content img,
.web-panel-card.layout-vertical .panel-media-content video {
    height: auto;
    width: 100%;
}

/* Texto */
.panel-text-content h2 {
    font-size: 2.2rem;
    color: var(--text-main);
    line-height: 1.1;
    margin-bottom: 15px;
}

.panel-html-body {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-main);
    opacity: 0.85;
}

.panel-text-content h3 {
    color: var(--text-main);
}

/* --- SISTEMA GLASS-CARD (V2026) --- */
.glass-card {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur) !important;
    -webkit-backdrop-filter: var(--glass-blur) !important;
    border: 1px solid var(--border) !important;
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    color: var(--text-main);
}

/* --- MODALS (V1000) --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-main) !important;
    background-image: var(--bg-gradient) !important;
    border: 1px solid var(--border) !important;
    border-radius: 12px !important;
    width: 100%;
    max-width: 650px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    overflow: hidden;
    color: var(--text-main) !important;
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 10px 12px !important;
    border-bottom: 1px solid var(--border) !important;
    display: flex !important;
    justify-content: center !important; /* Centrado horizontal */
    align-items: center !important;
    background: var(--glass-bg) !important;
    margin: 0 !important;
    position: relative !important; /* Para el botón absoluto */
    min-height: 100px !important;
}

.modal-header h2 {
    width: 100% !important;
    text-align: center !important;
    margin: 0 !important;
}

.close-modal {
    position: absolute !important;
    right: 15px !important;
    top: 10px !important;
    background: transparent;
    border: none;
    color: var(--text-main) !important;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.close-modal:hover { opacity: 1; }

.modal-body {
    padding: 10px 15px !important;
    color: var(--text-main) !important;
    display: flex;
    flex-direction: column;
    gap: 0 !important;
    background: transparent !important;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-body {
    padding: 8px 12px !important;
    margin: 0 !important;
    color: var(--text-main) !important;
    display: flex;
    flex-direction: column;
    gap: 0 !important;
    background: transparent !important;
}

.legal-main-text {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    font-size: 0.9rem !important;
}

/* --- NAVEGACIÓN MÓVIL Y RESPONSIVE --- */
.nav-burger {
    display: none;
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

@media (max-width: 900px) {
    .nav-desktop-wrapper {
        display: none !important;
    }
    .nav-burger {
        display: block;
    }
    .landing-top-nav {
        justify-content: space-between;
        padding: 0 15px;
    }
}

/* RESPONSIVIDAD PANELES (V2026) - RESTAURADO SISTEMA ORIGINAL */

