:root {
    --bg-main: #0f0f0f;
    --bg-card: #1a1a1a;
    --bg-card-hover: #222222;
    --accent-red: #B3404E;
    --accent-red-dark: #8E2E3B;
    --accent-red-hover: #C74B5B;
    --accent-gold: #f4c430;
    --text-light: #ffffff;
    --text-muted: #b0b0b0;
    --border-color: #2e2e2e;
    --font-logo: 'Alfa Slab One', serif;
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Barra de scroll para elementos internos (modal, carrito) */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #121212;
}

::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-red);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-light);
    line-height: 1.5;
    background-image: radial-gradient(#222 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Bloqueo de scroll para celulares y desktop al abrir modales/carrito */
html.no-scroll,
body.no-scroll {
    overflow: hidden !important;
    overscroll-behavior: none;
}

/* ==========================================================================
   ENCABEZADO ESTILO "ENTRE AMIGOS / LA TABERNA"
   ========================================================================== */
header {
    background: linear-gradient(to top, #0F0F0F 0%, #1a1a1a 100%);
    position: relative;
    padding: 3rem 1.5rem 2rem;
    text-align: center;
    border-bottom: 3px solid var(--accent-red);
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 180px;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
    pointer-events: none;
}

.header-back-btn {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: rgba(22, 22, 22, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    color: #e0e0e0;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.header-back-btn i {
    font-size: 0.95rem;
    color: var(--accent-red);
    transition: transform 0.2s ease, color 0.2s ease;
}

.header-back-btn:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: #ffffff;
    transform: translateX(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
}

.header-back-btn:hover i {
    color: #ffffff;
    transform: translateX(-2px);
}

@media (max-width: 480px) {
    .header-back-btn {
        top: 14px;
        left: 14px;
        padding: 5px 10px;
        font-size: 0.78rem;
        gap: 6px;
    }
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.logo-wrapper {
    position: relative;
    display: inline-block;
}

.logo-wrapper img.logo {
    width: 135px;
    height: 135px;
    border-radius: 50%;
    object-fit: contain;
    border: 3px solid var(--accent-red);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75);
    background-color: transparent;
}

.brand-titles h1 {
    font-family: var(--font-logo);
    font-size: 3.6rem;
    color: var(--accent-red);
    letter-spacing: 2px;
    line-height: 1;
    margin: 10px 0 6px;
    text-shadow: 2px 2px 0px #000, 4px 4px 0px rgba(0, 0, 0, 0.85);
}

.brand-titles .subtitle {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: #d8b888; /* Tono beige/dorado como el del logo */
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 4px 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.brand-titles .subtitle::before,
.brand-titles .subtitle::after {
    content: '';
    display: inline-block;
    width: 32px;
    height: 1.5px;
    background-color: #d8b888;
}

.header-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
    font-size: 0.95rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    align-items: center;
}

.header-link, .footer-link {
    color: var(--text-light);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.25s ease;
}

.header-link i, .footer-link i {
    color: #25D366; /* Verde WhatsApp */
    font-size: 1.1rem;
}

.header-link:hover, .footer-link:hover {
    background: #25D366;
    color: #ffffff;
    border-color: #25D366;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

.header-link:hover i, .footer-link:hover i {
    color: #ffffff;
}

.header-info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.header-info span i {
    color: var(--accent-red);
}

/* ==========================================================================
   BARRA DE BÚSQUEDA Y CATEGORÍAS
   ========================================================================== */
.sticky-nav-wrapper {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #0f0f0f; /* Fondo 100% sólido para que nada se transparente detrás */
    border-bottom: 1px solid var(--border-color);
    padding: 10px 1rem;
    margin-top: -1px; /* Evita cualquier línea o espacio de subpíxel */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.85);
}

.sticky-nav-wrapper::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
    background-color: #0f0f0f;
    pointer-events: none;
}

/* ==========================================================================
   BARRA DE PROGRESO DE SCROLL (PARA CELULARES / RESPONSIVE)
   ========================================================================== */
.scroll-progress-container {
    position: fixed;
    top: 0;
    right: 0;
    width: 3.5px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1200;
    pointer-events: none;
}

.scroll-progress-bar {
    width: 100%;
    height: 0%;
    background: var(--accent-red);
    box-shadow: none;
    border-radius: 0;
    will-change: height;
}

/* ==========================================================================
   BARRA / SLIDER DE SCROLL LATERAL INTERACTIVO (SOLO PARA COMPUTADORA)
   ========================================================================== */
.page-scrollbar-track {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 20px;
    z-index: 1500; /* Por encima del botón flotante del carrito (z-index: 1000) */
    cursor: pointer;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: rgba(12, 12, 12, 0.65);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.page-scrollbar-track:hover,
.page-scrollbar-track.active {
    background: rgba(18, 18, 18, 0.9);
    border-left-color: rgba(179, 64, 78, 0.5);
    z-index: 1600;
}

.page-scrollbar-thumb {
    position: absolute;
    right: 3px;
    left: 3px;
    top: 0;
    min-height: 48px;
    border-radius: 3px;
    background: var(--accent-red);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    cursor: grab;
    transition: background-color 0.15s ease, opacity 0.15s ease;
}

.page-scrollbar-track:hover .page-scrollbar-thumb,
.page-scrollbar-track.active .page-scrollbar-thumb,
.page-scrollbar-thumb.dragging {
    background: var(--accent-red-hover);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    cursor: grabbing;
}

.page-scrollbar-badge {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%) scale(0.9);
    background: #141414;
    color: #ffffff;
    border: 1px solid var(--accent-red);
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    z-index: 1610;
    transform-origin: right center;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.85);
}

.page-scrollbar-thumb.dragging .page-scrollbar-badge,
.page-scrollbar-track.active .page-scrollbar-badge {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

/* Reglas condicionales según dispositivo */
@media (min-width: 992px) {
    html {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    html::-webkit-scrollbar,
    body::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }
    .scroll-progress-container {
        display: none !important;
    }
    .page-scrollbar-track {
        display: flex;
    }
}

@media (max-width: 991px) {
    .page-scrollbar-track {
        display: none !important;
    }
    .scroll-progress-container {
        display: block;
    }
}


.nav-top-row {
    max-width: 600px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-btn {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.nav-logo-btn:hover,
.nav-logo-btn:active {
    transform: scale(1.05);
    filter: none;
}

.nav-mini-logo {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: contain;
    border: 1.5px solid var(--accent-red);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    background-color: transparent;
}

.search-bar-container {
    flex-grow: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-bar-container i {
    position: absolute;
    left: 15px;
    color: var(--accent-red);
    font-size: 1.1rem;
}

.search-bar-container input {
    width: 100%;
    padding: 10px 15px 10px 42px;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.92rem;
    outline: none;
    transition: all 0.25s ease;
}

.search-bar-container input:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 0 1px var(--accent-red), 0 4px 12px rgba(0, 0, 0, 0.4);
}

#category-nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 6px 4px 6px;
    max-width: 1200px;
    margin: 0 auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    align-items: center;
    scrollbar-width: none !important; /* Oculta la barra nativa/default en Firefox */
    -ms-overflow-style: none !important; /* Oculta en Edge/IE */
}

/* Ocultar barra de scroll nativa/default del navegador en móviles y PC */
#category-nav::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

#category-nav.grabbing {
    cursor: grabbing;
    user-select: none;
}

/* Indicador de scroll horizontal personalizado para móviles y PC */
.cat-nav-progress-container {
    max-width: 1200px;
    margin: 4px auto 0;
    height: 3px;
    background: #1c1c1c;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.cat-nav-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 25%;
    background: var(--accent-red);
    border-radius: 2px;
    box-shadow: none;
    transition: transform 0.05s ease-out;
    will-change: transform, width;
}

.cat-btn {
    background: #1c1c1c;
    color: #d0d0d0;
    border: 1px solid #333;
    padding: 6px 16px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.cat-btn:hover, .cat-btn.active {
    background-color: var(--accent-red);
    color: #ffffff;
    border-color: var(--accent-red);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   CONTENEDOR DE PRODUCTOS
   ========================================================================== */
#menu-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 0.5rem;
}

.category-section {
    margin-bottom: 3.5rem;
    scroll-margin-top: 140px; /* Evita que la barra sticky tape el título al hacer scroll */
}

.category-section:last-child {
    margin-bottom: 1rem; /* Espacio reducido y ceñido con el footer */
}

.category-header-styled {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 8px;
    border-bottom: 2px solid #2a2a2a;
}

.category-header-styled::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--accent-red);
}

.category-header-styled .main-cat-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    color: #ffffff;
    letter-spacing: 2px;
    line-height: 1;
}

.category-header-styled .cat-badge {
    font-family: var(--font-logo);
    font-size: 1.05rem;
    color: #d8b888;
    letter-spacing: 2px;
}

/* Grid de productos */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 24px;
}

/* Tarjeta individual */
.product-card {
    background-color: var(--bg-card);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: #444;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.7);
}

/* Tarjeta Destacada / Menú del Día */
.product-card.featured-product-card {
    border: 1.5px solid #d4af37;
    background: linear-gradient(145deg, #1e1b15 0%, #151411 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65);
}

.product-card.featured-product-card:hover {
    border-color: #f4c430;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.8);
}

.featured-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #f4c430;
    color: #111;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 9px;
    border-radius: 3px;
    z-index: 5;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.product-card.featured-product-card .product-name {
    color: #f4c430;
}

/* Contenedor de imagen limpio */
.product-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #141414;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid #242424;
}

.product-img-wrapper::before {
    display: none;
}

.product-card img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.04);
}

.has-options-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid rgba(179, 64, 78, 0.7);
    color: #d65d6c;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 3px;
    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-info {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    color: #fff;
    letter-spacing: 1px;
    line-height: 1.1;
    margin-bottom: 6px;
}

.product-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.product-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed #2d2d2d;
}

.product-price {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--accent-red);
    letter-spacing: 1px;
}

.product-price.is-consult {
    font-size: 1.25rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    white-space: nowrap;
}

.add-btn {
    background-color: var(--accent-red);
    color: #fff;
    border: none;
    padding: 7px 14px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.add-btn:hover {
    background-color: var(--accent-red-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   MODAL DE OPCIONES / SABORES
   ========================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.25s ease;
}

.modal-content {
    background: #181818;
    border: 1px solid #383838;
    border-radius: 6px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    max-height: 90dvh;
    position: relative;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

.close-modal-btn {
    position: absolute;
    top: 12px;
    right: 15px;
    background: rgba(0,0,0,0.7);
    border: 1px solid #444;
    color: #fff;
    font-size: 1.4rem;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.close-modal-btn:hover {
    background: var(--accent-red);
}

.modal-img-container {
    width: 100%;
    height: 200px;
    background: #111;
    overflow: hidden;
    position: relative;
}

.modal-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-details {
    padding: 1.5rem;
}

.modal-details h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 4px;
}

.modal-details p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.modal-price {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--accent-red);
    margin-bottom: 1.2rem;
}

.modal-options-section {
    margin-bottom: 1.2rem;
}

.modal-options-section label, .modal-notes-section label {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #e0e0e0;
    margin-bottom: 8px;
}

.options-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.opt-pill {
    background: #242424;
    color: #ccc;
    border: 1px solid #3a3a3a;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.opt-pill:hover {
    border-color: var(--accent-red);
    color: #fff;
}

.opt-pill.selected {
    background-color: var(--accent-red);
    color: #ffffff;
    border-color: var(--accent-red);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.modal-notes-section input {
    width: 100%;
    padding: 10px;
    background: #222;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.modal-notes-section input:focus {
    border-color: var(--accent-red);
}

.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
    align-items: center;
}

.quantity-picker {
    display: flex;
    align-items: center;
    background: #222;
    border-radius: 4px;
    border: 1px solid #3a3a3a;
}

.quantity-picker button {
    background: transparent;
    border: none;
    color: #fff;
    width: 36px;
    height: 38px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
}

.quantity-picker button:hover {
    background: #3a3a3a;
}

.quantity-picker span {
    width: 30px;
    text-align: center;
    font-weight: bold;
}

.modal-btn-confirm {
    flex-grow: 1;
    background: var(--accent-red);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modal-btn-confirm:hover {
    background: var(--accent-red-dark);
}

/* ==========================================================================
   CARRITO LATERAL Y BOTONES FLOTANTES
   ========================================================================== */
.cart-btn, .print-btn {
    position: fixed;
    z-index: 1000;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-btn {
    bottom: 25px;
    right: 25px;
    background-color: var(--accent-red);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
}

.cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
}

.cart-bump {
    animation: cartBump 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes cartBump {
    0% { transform: scale(1); }
    35% { transform: scale(1.15); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8); }
    70% { transform: scale(0.96); }
    100% { transform: scale(1); }
}

#cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #fff;
    color: var(--accent-red);
    font-size: 0.85rem;
    font-weight: 900;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-red);
}


/* ==========================================================================
   SIDEBAR DEL CARRITO (Sistema de 2 pasos estilo La Taberna)
   ========================================================================== */
.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    right: -520px;
    width: 100%;
    max-width: 440px;
    height: 100%;
    height: 100dvh;
    max-height: 100dvh;
    background: #121212;
    border-left: 2px solid var(--accent-red);
    z-index: 2500;
    transition: right 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.85);
    overflow: hidden;
    overscroll-behavior: contain;
}

.sidebar.open {
    right: 0;
}

/* Cabecera del Sidebar */
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.25rem;
    background: #0b0b0b;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.cart-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.cart-header-back-btn {
    width: 34px;
    height: 34px;
    border-radius: 4px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.cart-header-back-btn:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: #fff;
}

.cart-header-titles {
    min-width: 0;
}

.cart-header-titles h2 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.8rem;
    letter-spacing: 1px;
    line-height: 1.05;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-header-titles span {
    display: block;
    font-size: 10.5px;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.2;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-header-badge {
    background: var(--accent-red);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 12px;
    line-height: 1;
    flex-shrink: 0;
}

#close-cart-btn {
    width: 34px;
    height: 34px;
    border-radius: 4px;
    background: #181818;
    border: 1px solid #333;
    color: #aaa;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

#close-cart-btn:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: #fff;
}

/* Paneles de Paso 1 y Paso 2 */
.cart-step-panel {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.cart-step-body {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Items del Carrito */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-item {
    background: #181818;
    border-radius: 4px;
    padding: 10px 12px;
    border: 1px solid #282828;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    transition: border-color 0.2s ease;
}

.cart-item:hover {
    border-color: #383838;
}

.cart-item-thumb {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid #333;
    flex-shrink: 0;
    background: #0d0d0d;
}

.cart-item-info {
    flex: 1 1 auto;
    min-width: 0;
}

.cart-item-name {
    font-weight: 700;
    font-size: 0.92rem;
    color: #fff;
    line-height: 1.25;
}

.cart-item-variant {
    font-size: 0.78rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-top: 2px;
}

.cart-item-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 1px;
}

.cart-item-unit-price {
    font-size: 0.78rem;
    color: #888;
    margin-top: 3px;
}

.cart-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.cart-item-subtotal {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--accent-red);
    line-height: 1;
}

.cart-item-subtotal.is-consult {
    font-size: 0.95rem;
    white-space: nowrap;
}

.cart-qty-ctrl {
    display: flex;
    align-items: center;
    gap: 3px;
}

.cart-qty-ctrl button {
    background: #252525;
    color: #fff;
    border: 1px solid #383838;
    width: 26px;
    height: 26px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.cart-qty-ctrl button:hover {
    background: #383838;
}

.cart-qty-ctrl span {
    width: 22px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
}

.cart-qty-ctrl .del-btn {
    background: #2a1a1c;
    border-color: #4a2228;
    color: #e0707c;
    margin-left: 4px;
}

.cart-qty-ctrl .del-btn:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: #fff;
}

/* Barra de Acciones del Carrito (Vaciar) */
.cart-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 2px;
    border-bottom: 1px dashed #282828;
    padding-bottom: 8px;
}

.cart-clear-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    transition: color 0.2s;
}

.cart-clear-btn:hover {
    color: var(--accent-red);
}

.cart-items-counter-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Pantalla de Carrito Vacío y Enviado */
.cart-empty-screen,
.cart-sent-screen {
    text-align: center;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-muted);
}

.cart-empty-icon,
.cart-sent-icon {
    font-size: 3.5rem;
    color: #383838;
}

.cart-sent-icon {
    color: #1fa54e;
}

.cart-empty-title,
.cart-sent-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #fff;
    letter-spacing: 1px;
    margin: 0;
}

.cart-empty-desc,
.cart-sent-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.4;
    max-width: 280px;
    margin: 0 auto;
}

.cart-empty-action-btn {
    margin-top: 8px;
    background: var(--accent-red);
    color: #fff;
    border: none;
    padding: 9px 20px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    letter-spacing: 1px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease;
}

.cart-empty-action-btn:hover {
    background: var(--accent-red-hover);
}

/* Recomendaciones (Upsell) */
.cart-upsell-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}

.upsell-box {
    background: #161616;
    border: 1px solid #282828;
    border-radius: 4px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.upsell-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.upsell-title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent-gold);
}

.upsell-title i {
    font-size: 0.88rem;
    color: var(--accent-red);
}

.upsell-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
}

.upsell-items-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.upsell-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px dashed #242424;
}

.upsell-item-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.upsell-item-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1 1 auto;
}

.upsell-thumb {
    width: 42px;
    height: 42px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid #333;
    flex-shrink: 0;
    background: #111;
}

.upsell-item-info {
    min-width: 0;
    flex: 1 1 auto;
}

.upsell-name-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px;
}

.upsell-item-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.upsell-item-price {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--accent-red);
    flex-shrink: 0;
    line-height: 1;
}

.upsell-item-desc {
    font-size: 0.72rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}

.upsell-add-btn {
    background: var(--accent-red);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 5px 11px;
    font-size: 0.76rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.upsell-add-btn:hover {
    background: var(--accent-red-hover);
    transform: translateY(-1px);
}

.upsell-category-link {
    width: 100%;
    background: #1c1c1c;
    border: 1px solid #2e2e2e;
    border-radius: 4px;
    padding: 6px 10px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.upsell-category-link:hover {
    background: #242424;
    border-color: var(--accent-red);
    color: #fff;
}

/* Pie del Carrito (Footer) */
.cart-footer {
    flex: 0 0 auto;
    padding: 1.1rem 1.25rem calc(1.8rem + env(safe-area-inset-bottom, 15px));
    background: #0b0b0b;
    border-top: 1px solid var(--border-color);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 12px;
}

.cart-subtotal-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    line-height: 1.2;
}

.cart-step1-total {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--accent-red);
    line-height: 1;
}

.cart-shipping-notice {
    font-size: 0.74rem;
    color: var(--text-muted);
    text-align: right;
}

.cart-primary-btn {
    width: 100%;
    background: var(--accent-red);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px 16px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(179, 64, 78, 0.4);
}

.cart-primary-btn:hover:not(:disabled) {
    background: var(--accent-red-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(179, 64, 78, 0.5);
}

.cart-primary-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.checkout-whatsapp-btn {
    background: #1fa54e;
    box-shadow: 0 4px 14px rgba(31, 165, 78, 0.4);
}

.checkout-whatsapp-btn:hover:not(:disabled) {
    background: #25be5c;
    box-shadow: 0 6px 18px rgba(37, 190, 92, 0.5);
}

.checkout-whatsapp-btn.btn-out-of-zone {
    background: #8e2e3b;
    box-shadow: 0 4px 14px rgba(142, 46, 59, 0.4);
}

/* ==========================================================================
   PASO 2: FORMULARIO Y GOOGLE MAPS
   ========================================================================== */
.delivery-mode-pill-toggle {
    display: flex;
    background: #161616;
    border: 1px solid #303030;
    border-radius: 4px;
    padding: 3px;
    gap: 4px;
}

.mode-pill-btn {
    flex: 1 1 50%;
    background: transparent;
    border: none;
    border-radius: 4px;
    padding: 9px 12px;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.mode-pill-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.mode-pill-btn.active {
    background: var(--accent-red);
    color: #fff;
    box-shadow: 0 2px 8px rgba(179, 64, 78, 0.4);
}

.delivery-details-section {
    display: flex;
    flex-direction: column;
    gap: 18px; /* Separación clara entre el mapa y el bloque de dirección */
}

.pickup-details-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-address-fields-block {
    display: flex;
    flex-direction: column;
    gap: 12px; /* Separación clara entre los distintos campos a llenar */
}

.cart-field-group {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Separación entre el título y el campo */
}

.cart-field-label {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
    line-height: 1.2;
}

.cart-address-label {
    letter-spacing: 0.7px;
    margin-bottom: 2px;
}

.cart-input,
.cart-textarea {
    width: 100%;
    background: #181818;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 10px 12px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#delivery-notes-input {
    resize: none;
}

.cart-input::placeholder,
.cart-textarea::placeholder {
    color: #666;
    font-weight: 400;
}

.cart-input:focus,
.cart-textarea:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 0 2px rgba(179, 64, 78, 0.25);
}

.cart-field-error {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--accent-red);
    margin-top: 2px;
}

.cart-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Card del Mapa y Cotizador */
.map-picker-card {
    background: #161616;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 2px;
}

.map-picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #0f0f0f;
    border-bottom: 1px solid #222;
}

.map-picker-title {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    gap: 6px;
}

.map-toggle-link {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.74rem;
    text-decoration: underline;
    cursor: pointer;
}

.map-toggle-link:hover {
    color: #fff;
}

.map-search-row {
    display: flex;
    gap: 6px;
    padding: 8px;
    background: #161616;
    border-bottom: 1px solid #242424;
    position: relative;
}

.map-search-input-wrapper {
    position: relative;
    flex: 1 1 auto;
}

.map-search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 0.78rem;
    pointer-events: none;
}

.map-search-input {
    width: 100%;
    background: #101010;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 7px 10px 7px 30px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    outline: none;
    transition: border-color 0.2s ease;
}

.map-search-input::placeholder {
    color: #555;
    font-size: 0.75rem;
}

.map-search-input:focus {
    border-color: var(--accent-gold);
}

.map-suggestions-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 100;
    background: #1c1c1c;
    border: 1px solid #383838;
    border-radius: 4px;
    max-height: 190px;
    overflow-y: auto;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.9);
}

.map-suggestion-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid #262626;
    cursor: pointer;
    transition: background 0.15s ease;
    text-align: left;
    width: 100%;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
}

.map-suggestion-item:last-child {
    border-bottom: none;
}

.map-suggestion-item:hover {
    background: #282828;
}

.map-suggestion-icon {
    color: var(--accent-red);
    font-size: 0.8rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.map-suggestion-main {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.map-suggestion-sec {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.2;
    margin-top: 2px;
}

.map-gps-btn {
    background: #202020;
    border: 1px solid #383838;
    border-radius: 4px;
    padding: 0 10px;
    color: #ddd;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.map-gps-btn:hover {
    background: #2a2a2a;
    border-color: var(--accent-gold);
    color: #fff;
}

/* Canvas del Mapa y Pin Flotante */
.map-canvas-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
    background: #111;
    overflow: hidden;
}

.cart-google-map {
    width: 100%;
    height: 100%;
}

.map-center-pin-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.map-pin-ground-shadow {
    width: 16px;
    height: 5px;
    background: rgba(0, 0, 0, 0.65);
    border-radius: 50%;
    filter: blur(1px);
    transition: all 0.2s ease;
}

.map-pin-ground-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-red);
    border-radius: 50%;
    box-shadow: 0 0 0 1.5px #fff;
}

.map-floating-pin {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 0);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.map-floating-pin.lifted {
    transform: translate(-50%, -15px) scale(1.1);
}

.map-floating-pin.lifted + .map-pin-ground-shadow {
    width: 8px;
    opacity: 0.3;
}

.map-pin-badge {
    background: rgba(10, 10, 10, 0.92);
    border: 1px solid #444;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 7px;
    border-radius: 10px;
    margin-bottom: 2px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.map-pin-icon-wrap {
    width: 32px;
    height: 32px;
    color: var(--accent-red);
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.6));
}

.map-pin-svg {
    width: 100%;
    height: 100%;
}

/* Barra de Cotización */
.map-quotation-bar {
    padding: 8px 12px;
    background: #0f0f0f;
    border-top: 1px solid #222;
}

.quotation-msg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    padding: 4px 0;
}

.quotation-msg i {
    color: var(--accent-gold);
}

.quotation-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #142217;
    border: 1px solid #224227;
    border-radius: 4px;
    padding: 6px 10px;
}

.quotation-card-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quotation-card-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #1fa54e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    flex-shrink: 0;
}

.quotation-dist-line {
    font-size: 0.78rem;
    color: #ddd;
    line-height: 1.2;
}

.quotation-dist-line strong {
    color: #fff;
    font-weight: 800;
}

.quotation-dur {
    font-size: 0.72rem;
    color: #9bb29e;
    margin-left: 3px;
}

.quotation-subtext {
    font-size: 0.68rem;
    color: #7d9680;
    line-height: 1.2;
}

.quotation-card-right {
    text-align: right;
}

.quotation-fee-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #7d9680;
    line-height: 1;
}

.quotation-fee-amount {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: #38c86d;
    line-height: 1;
    margin-top: 2px;
}

.quotation-out-card {
    background: #261316;
    border: 1px solid #4a1c22;
    border-radius: 4px;
    padding: 8px 10px;
}

.quotation-out-content {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.quotation-out-content i {
    color: var(--accent-red);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.quotation-out-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: #f28b97;
    line-height: 1.2;
}

.quotation-out-desc {
    font-size: 0.72rem;
    color: #d19ba1;
    line-height: 1.2;
    margin-top: 2px;
}

.switch-to-pickup-btn {
    margin-top: 6px;
    background: #181818;
    border: 1px solid #444;
    border-radius: 4px;
    padding: 4px 9px;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.switch-to-pickup-btn:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
}

/* Card de Retiro en el Local */
.pickup-info-card {
    background: #181818;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 6px;
}

.pickup-info-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    gap: 6px;
}

.pickup-info-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.pickup-info-addr {
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    margin-top: 2px;
}

.pickup-info-time {
    font-size: 0.72rem;
    color: #888;
    margin-top: 2px;
}

/* Desglose del Paso 2 */
.cart-summary-breakdown {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.cart-breakdown-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.cart-breakdown-row small {
    font-size: 0.72rem;
    color: #777;
    margin-left: 4px;
}

.cart-breakdown-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-top: 1px solid #282828;
    padding-top: 6px;
    margin-top: 4px;
}

.cart-breakdown-total span:first-child {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

#step2-grand-total {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--accent-red);
    line-height: 1;
}

.cart-order-sent-msg {
    margin-top: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #38c86d;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Animación de Shake para campos inválidos */
@keyframes fieldErrorShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

.animate-field-error {
    animation: fieldErrorShake 0.38s ease-in-out !important;
    border-color: var(--accent-red) !important;
    box-shadow: 0 0 0 2px rgba(179, 64, 78, 0.4) !important;
}

/* ==========================================================================
   DROPDOWN / SELECT CUSTOM SOFISTICADO
   ========================================================================== */
.custom-dropdown {
    position: relative;
    width: 100%;
    user-select: none;
    margin-bottom: 8px;
}

.custom-dropdown-trigger {
    width: 100%;
    padding: 11px 14px;
    background: #1c1c1c;
    border: 1px solid #333;
    border-radius: 4px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
}

.custom-dropdown-trigger:hover {
    background: #232323;
    border-color: #4a4a4a;
}

.custom-dropdown.open .custom-dropdown-trigger {
    border-color: var(--accent-red);
    box-shadow: 0 0 0 1px var(--accent-red);
    background: #202020;
}

.custom-dropdown-value {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #f0f0f0;
}

.custom-dropdown-value i {
    color: var(--accent-red);
    font-size: 1rem;
    width: 18px;
    text-align: center;
}

.custom-dropdown-arrow {
    font-size: 0.8rem;
    color: #888;
    transition: transform 0.25s ease, color 0.25s ease;
    margin-left: 8px;
}

.custom-dropdown.open .custom-dropdown-arrow {
    transform: rotate(180deg);
    color: var(--accent-red);
}

.custom-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #161616;
    border: 1px solid #383838;
    border-radius: 4px;
    padding: 5px;
    margin: 0;
    list-style: none;
    z-index: 100;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
    max-height: 220px;
    overflow-y: auto;
}

.custom-dropdown.open .custom-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.custom-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 3px;
    color: #ccc;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.custom-dropdown-item:hover {
    background: #252525;
    color: #fff;
}

.custom-dropdown-item.selected {
    background: rgba(179, 64, 78, 0.18);
    color: #fff;
    font-weight: 600;
}

.custom-dropdown-item .item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    color: var(--accent-red);
    font-size: 0.95rem;
}

.custom-dropdown-item .item-text {
    flex-grow: 1;
}

.custom-dropdown-item .item-check {
    color: var(--accent-red);
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.custom-dropdown-item.selected .item-check {
    opacity: 1;
}

.checkout-btn {
    width: 100%;
    margin-top: 12px;
    margin-bottom: 8px;
    padding: 14px;
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: background-color 0.2s;
}

.checkout-btn:hover {
    background-color: #1ebe5d;
}

.checkout-btn:disabled {
    background-color: #383838;
    color: #777;
    cursor: not-allowed;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    display: none;
    overscroll-behavior: none;
    touch-action: none;
}

.overlay.active {
    display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    background: #0a0a0a;
    border-top: 2px solid #222;
    padding: 2.2rem 1.5rem 120px; /* 120px abajo para que el botón flotante del carrito nunca tape el texto */
    text-align: center;
    margin-top: 1rem; /* Espacio reducido con el último producto */
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
}

.footer-logo img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: contain;
    border: 2px solid var(--accent-red);
    background-color: transparent;
}

.footer-logo h3 {
    font-family: var(--font-logo);
    font-size: 1.8rem;
    color: var(--accent-red);
    letter-spacing: 2px;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 14px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-link {
    color: var(--text-light);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.25s ease;
    white-space: nowrap; /* Mantiene el texto siempre en una sola línea */
    font-size: 0.92rem;
    max-width: 95vw;
}

.footer-link i {
    color: #25D366;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.footer-link strong {
    color: #ffffff;
    letter-spacing: 0.5px;
}

.footer-link:hover {
    background: #25D366;
    color: #ffffff;
    border-color: #25D366;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.footer-link:hover i {
    color: #ffffff;
}

.footer-location {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-location i {
    color: var(--accent-red);
}

.footer-credit {
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.82rem;
    color: #888;
    letter-spacing: 0.5px;
}

.footer-credit .credit-link {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s ease;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
    padding-bottom: 1px;
}

.footer-credit .credit-link:hover {
    color: var(--accent-red);
    border-bottom-color: var(--accent-red);
    text-shadow: none;
}

@media (max-width: 768px) {
    .sidebar {
        max-width: 100%;
        width: 100%;
        right: -100%;
        border-left: none;
    }

    .sidebar.open {
        right: 0;
    }

    .sidebar-header {
        padding: 1.1rem 1.25rem;
    }

    .sidebar-header h2 {
        font-size: 1.9rem;
    }

    .cart-footer {
        padding: 1.2rem 1.2rem calc(4.5rem + env(safe-area-inset-bottom, 25px));
    }

    .checkout-btn {
        padding: 15px;
        font-size: 1.35rem;
        margin-top: 10px;
        margin-bottom: 12px;
    }

    .modal {
        padding: 0.75rem;
    }

    .modal-content {
        max-height: 88dvh;
    }

    .modal-details {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .brand-titles .subtitle {
        font-size: 0.88rem;
        letter-spacing: 2.5px;
        gap: 8px;
    }

    .brand-titles .subtitle::before,
    .brand-titles .subtitle::after {
        width: 20px;
    }

    .featured-badge {
        bottom: 8px;
        left: 8px;
        font-size: 0.66rem;
        padding: 3px 8px;
    }

    .has-options-tag {
        top: 8px;
        right: 8px;
        font-size: 0.7rem;
        padding: 3px 7px;
    }

    footer {
        padding: 1.8rem 1rem 120px;
        margin-top: 0.8rem;
    }

    .footer-link {
        font-size: 0.82rem; /* Tamaño compacto para pantallas chicas */
        padding: 6px 14px;
        gap: 6px;
    }

    .footer-link i {
        font-size: 1.05rem;
    }

    .footer-location {
        font-size: 0.82rem;
    }
}

@media (max-width: 360px) {
    .footer-link {
        font-size: 0.74rem;
        padding: 5px 10px;
        gap: 4px;
    }
}

/* ==========================================================================
   ESTILOS PARA IMPRESIÓN (PDF / CARTA FÍSICA)
   ========================================================================== */
@media print {
    @page {
        margin: 1cm;
        size: A4 portrait;
    }

    body {
        background: #ffffff !important;
        color: #111111 !important;
        font-size: 10pt;
    }

    header {
        background: transparent !important;
        border-bottom: 2px solid #111 !important;
        padding: 0 0 10px 0 !important;
    }

    header::before {
        display: none !important;
    }

    .brand-titles h1 {
        font-family: var(--font-logo) !important;
        color: #000 !important;
        font-size: 2.5rem !important;
        text-shadow: none !important;
    }

    .brand-titles .subtitle {
        color: #333 !important;
        font-size: 1.5rem !important;
    }

    .badge-tag {
        background: #000 !important;
        color: #fff !important;
    }

    .header-info {
        color: #333 !important;
    }

    .sticky-nav-wrapper, .cart-btn, .print-btn, #cart-sidebar, #cart-overlay, #options-modal, footer, .header-back-btn {
        display: none !important;
    }

    #menu-container {
        padding: 10px 0 !important;
        column-count: 2;
        column-gap: 30px;
    }

    .category-section {
        break-inside: avoid;
        margin-bottom: 20px;
    }

    .category-header-styled {
        border-bottom: 1.5px solid #000 !important;
        margin-bottom: 10px;
        padding-bottom: 3px;
    }

    .category-header-styled::after {
        display: none;
    }

    .category-header-styled .main-cat-title {
        color: #000 !important;
        font-size: 1.8rem !important;
    }

    .category-header-styled .cat-badge {
        color: #444 !important;
        font-size: 1.4rem !important;
    }

    .products-grid {
        display: block !important;
    }

    .product-card {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        margin-bottom: 10px !important;
        padding-bottom: 6px !important;
        border-bottom: 1px dotted #ccc !important;
        break-inside: avoid;
    }

    .product-img-wrapper, .has-options-tag, .add-btn {
        display: none !important;
    }

    .product-info {
        padding: 0 !important;
    }

    .product-name {
        color: #000 !important;
        font-size: 1.1rem !important;
        display: inline !important;
    }

    .product-desc {
        color: #555 !important;
        font-size: 0.82rem !important;
        margin: 2px 0 0 !important;
    }

    .product-bottom-row {
        display: inline !important;
        float: right !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .product-price {
        color: #000 !important;
        font-size: 1.1rem !important;
        font-weight: bold !important;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================================
   MODO CARTA DIGITAL (Sin carrito para restaurante)
   ============================================================ */
body.mode-carta #cart-btn,
body.mode-carta .add-btn,
body.mode-carta .add-to-cart-btn,
body.mode-carta .has-options-tag,
body.mode-carta #cart-overlay,
body.mode-carta #cart-sidebar,
body.mode-carta #options-modal {
    display: none !important;
}

body.mode-carta .product-card {
    cursor: default;
}

body.mode-carta .product-bottom-row {
    justify-content: flex-start;
    margin-top: 8px;
}

body.mode-carta .product-price {
    font-size: 1.35rem;
    color: var(--accent-red);
}

/* ============================================================
   OPCIONES EN TARJETA DE PRODUCTO (Carta Restaurante)
   ============================================================ */
.card-options-container {
    margin-top: 10px;
    margin-bottom: 6px;
    display: none;
}

body.mode-carta .card-options-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.card-options-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-options-label i {
    font-size: 0.8rem;
}

.card-options-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
}

.card-option-pill {
    background: rgba(244, 196, 48, 0.08);
    border: 1px solid rgba(244, 196, 48, 0.3);
    color: #f7e6a6;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 3px;
    letter-spacing: 0.2px;
    line-height: 1.3;
}

/* Botón especial Menú del Día en navbar de categorías */
.cat-btn.cat-btn-menu-dia {
    border-color: rgba(244, 196, 48, 0.45);
    color: #f7e6a6;
    font-weight: 700;
}

.cat-btn.cat-btn-menu-dia i {
    color: var(--accent-gold);
    margin-right: 5px;
}

.cat-btn.cat-btn-menu-dia.active {
    background: linear-gradient(135deg, #B3404E, #8E2E3B);
    border-color: var(--accent-gold);
    color: #fff;
    box-shadow: 0 0 12px rgba(244, 196, 48, 0.3);
}

.daily-cat-header {
    margin-bottom: 24px;
}

.category-header-styled.daily-cat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 10px;
}

.daily-cat-title-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.cat-badge-gold {
    background: rgba(244, 196, 48, 0.12);
    border: 1px solid rgba(244, 196, 48, 0.35);
    color: var(--accent-gold);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

.daily-cat-subtitle {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.45;
    max-width: 500px;
    margin: 0;
    align-self: flex-end;
    padding-bottom: 2px;
}

/* Tarjeta Protagonista (Plato de Hoy) */
.daily-hero-card {
    background: linear-gradient(145deg, #1d1416 0%, #151515 50%, #1c1813 100%);
    border: 1.5px solid rgba(179, 64, 78, 0.45);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(179, 64, 78, 0.18);
    margin-bottom: 22px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.daily-hero-card:hover {
    border-color: rgba(244, 196, 48, 0.5);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(244, 196, 48, 0.15);
}

.daily-hero-badge {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    display: flex;
    border-bottom-right-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.daily-hero-badge .badge-fire {
    background: linear-gradient(135deg, #B3404E, #8E2E3B);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 7px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.daily-hero-badge .badge-day {
    background: #f4c430;
    color: #111;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 1px;
    padding: 7px 14px;
}

.daily-hero-inner {
    display: grid;
    grid-template-columns: 42% 58%;
    gap: 0;
    padding: 0;
    align-items: stretch;
}

.daily-hero-media {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    background: #111;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.daily-hero-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.daily-hero-card:hover .daily-hero-media img {
    transform: scale(1.04);
}

.daily-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 22px 26px;
}

.daily-hero-tag-row {
    margin-bottom: 6px;
}

.daily-hero-day-tag {
    color: var(--accent-gold);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.daily-hero-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1.15;
    margin: 2px 0 8px 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.daily-hero-desc {
    color: #d6d6d6;
    font-size: 0.94rem;
    line-height: 1.45;
    margin-bottom: 14px;
}

.daily-hero-promo {
    background: rgba(244, 196, 48, 0.08);
    border-left: 3px solid var(--accent-gold);
    padding: 8px 12px;
    border-radius: 0 4px 4px 0;
    color: #f7e6a6;
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.daily-hero-promo i {
    color: var(--accent-gold);
    font-size: 0.95rem;
}

.daily-hero-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.daily-hero-price-wrap {
    display: flex;
    flex-direction: column;
}

.daily-hero-price-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.daily-hero-price {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    color: var(--accent-red);
    letter-spacing: 1px;
}

.daily-hero-price.is-consult {
    font-size: 1.35rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--accent-red);
}

.daily-hero-cta {
    background: linear-gradient(135deg, #B3404E, #8E2E3B);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 18px rgba(179, 64, 78, 0.45);
    transition: all 0.25s ease;
}

.daily-hero-cta:hover {
    background: linear-gradient(135deg, #C74B5B, #B3404E);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(179, 64, 78, 0.65);
}

.daily-hero-cta:active {
    transform: translateY(0);
}

.daily-hero-mozo-tag {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e0e0e0;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Cartel de Fin de Semana */
.daily-weekend-card {
    background: linear-gradient(145deg, #1c1c1c 0%, #141414 100%);
    border: 1.5px solid rgba(244, 196, 48, 0.35);
    border-radius: 6px;
    padding: 32px 24px;
    text-align: center;
    margin-bottom: 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.weekend-card-badge {
    background: rgba(244, 196, 48, 0.15);
    color: var(--accent-gold);
    border: 1px solid rgba(244, 196, 48, 0.4);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.weekend-card-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #fff;
    margin-bottom: 8px;
}

.weekend-card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Acordeón de la Semana Completa */
.weekly-accordion-wrapper {
    margin-top: 10px;
    margin-bottom: 30px;
}

.weekly-accordion-toggle {
    width: 100%;
    background: #171717;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    padding: 14px 20px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-bottom: 16px;
}

.weekly-accordion-toggle:hover {
    background: #202020;
    border-color: rgba(244, 196, 48, 0.4);
    color: #fff;
}

.toggle-label-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f0f0f0;
}

.toggle-label-wrap i {
    color: var(--accent-gold);
    font-size: 1.1rem;
}

.toggle-action-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.toggle-chevron {
    transition: transform 0.3s ease;
}

.toggle-chevron.rotated {
    transform: rotate(180deg);
}

/* Grilla de los 5 días */
.weekly-cards-grid {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
    animation: fadeInWeekly 0.35s ease forwards;
}

.weekly-cards-grid.open {
    display: grid;
}

@media (min-width: 992px) {
    .weekly-cards-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 12px;
    }
}

@keyframes fadeInWeekly {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.weekly-mini-card {
    background: #181818;
    border: 1px solid #292929;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.weekly-mini-card:hover {
    transform: translateY(-4px);
    border-color: #3e3e3e;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.weekly-mini-card.is-today {
    border: 1.5px solid var(--accent-gold);
    background: linear-gradient(180deg, #221a12 0%, #181818 100%);
    box-shadow: 0 0 16px rgba(244, 196, 48, 0.2);
}

.weekly-mini-card.is-past {
    opacity: 0.75;
}

.weekly-card-badge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.weekly-day-pill {
    font-weight: 800;
    font-size: 0.8rem;
    color: #e0e0e0;
    letter-spacing: 0.5px;
}

.weekly-day-pill.today-pill {
    color: var(--accent-gold);
}

.pill-today-badge {
    background: var(--accent-gold);
    color: #111;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.5px;
}

.pill-other-badge {
    background: rgba(255, 255, 255, 0.06);
    color: #888;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.weekly-card-img-wrap {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #111;
}

.weekly-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.weekly-mini-card:hover .weekly-card-img-wrap img {
    transform: scale(1.05);
}

.weekly-card-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.weekly-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.25;
}

.weekly-card-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 12px;
    flex-grow: 1;
}

.weekly-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    gap: 6px;
    flex-wrap: nowrap;
}

.weekly-card-price {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--accent-red);
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.weekly-card-price.is-consult {
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--accent-red);
}

.weekly-add-today {
    background: var(--accent-red) !important;
    color: #fff !important;
    border: none !important;
    font-size: 0.74rem !important;
    padding: 5px 8px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    flex-shrink: 0 !important;
}

.weekly-btn-locked {
    background: #232323 !important;
    color: #888 !important;
    border: 1px solid #333 !important;
    font-size: 0.74rem !important;
    padding: 5px 8px !important;
    border-radius: 4px !important;
    cursor: not-allowed !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    flex-shrink: 0 !important;
}

.weekly-card-status {
    font-size: 0.74rem;
    color: #888;
    font-weight: 600;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.weekly-card-status.active {
    color: var(--accent-gold);
}

/* Responsivo para móviles */
@media (max-width: 768px) {
    .category-header-styled.daily-cat-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .daily-cat-subtitle {
        align-self: flex-start;
        max-width: 100%;
        padding-bottom: 0;
    }

    .daily-hero-inner {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 0;
    }

    .daily-hero-media {
        height: 220px;
        min-height: 220px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .daily-hero-content {
        padding: 18px 16px;
    }

    .daily-hero-title {
        font-size: 1.7rem;
    }

    .daily-hero-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .daily-hero-cta {
        justify-content: center;
        width: 100%;
    }

    .weekly-cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }

    .weekly-accordion-toggle {
        padding: 12px 14px;
    }

    .toggle-label-wrap {
        gap: 8px;
        font-size: 0.88rem;
        line-height: 1.35;
    }

    #toggle-week-text {
        display: none !important;
    }

    .weekly-card-title {
        font-size: 0.95rem;
    }

    .weekly-card-desc {
        font-size: 0.75rem;
    }
}

