:root {
    --bg-dark: #12151b;
    --bg-card: #181c24;
    --gold: #d4af37;
    --gold-light: #f7e7a9;
    --gold-hover: #b89628;

    /* Paleta Editorial Gran Formato */
    --wine-bg: #5c1818;          /* Granate Borgoña / Clarete */
    --wine-card: #451212;
    --forest-bg: #1a271c;        /* Verde Bosque / Oliva Noble */
    --forest-card: #141f16;
    --cream-bg: #f3ede2;         /* Lino / Marfil Cálido */
    --cream-card: #ffffff;
    --cream-text: #1a1a1a;
    --cream-muted: #645e57;

    --text-white: #f8fafc;
    --text-muted: #94a3b8;
    --accent-green: #22c55e;

    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-sans);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.5;
    padding-bottom: 90px;
    transition: background-color 0.35s ease, color 0.35s ease;
}

/* Cabecera */
.app-header {
    background: rgba(18, 21, 27, 0.96);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    height: 44px;
    width: auto;
}

.brand-title {
    display: block;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: var(--gold);
}

.brand-sub {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Botón Selector Modo Claro / Oscuro */
.takeaway-theme-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.14);
    border: 1px solid rgba(212, 175, 55, 0.55);
    color: var(--gold-light);
    padding: 7px 16px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(6px);
}

.takeaway-theme-btn:hover {
    background: var(--gold);
    color: #0b0d11;
    border-color: var(--gold);
    transform: translateY(-1px);
}

/* Hero Editorial */
.takeaway-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    overflow: hidden;
    background: #000;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(18, 21, 27, 0.25) 0%, rgba(18, 21, 27, 0.75) 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 880px;
    margin: 0 auto;
}

.hero-kicker {
    display: inline-block;
    color: var(--gold-light);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hero-h1 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 14px;
    color: #ffffff;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.95);
}

.hero-p {
    font-size: 1.05rem;
    color: #e2e8f0;
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.editorial-quote-strip {
    background: #0d0f13;
    padding: 20px 20px;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.editorial-quote-strip p {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--gold-light);
    margin: 0;
}

/* Categorías Centradas */
.app-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 30px 20px;
}

.category-chips {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 15px 0 35px 0;
}

.chip {
    background: #181c24;
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--text-white);
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.25s ease;
}

.chip.active, .chip:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #0b0d11;
    transform: translateY(-2px);
}

/* Módulos de Gran Formato (Color-Blocking) */
.editorial-catalog {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.editorial-cat-module {
    border-radius: 16px;
    padding: 45px 35px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    scroll-margin-top: 100px;
}

.cat-module-header {
    margin-bottom: 35px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 16px;
}

.cat-kicker {
    font-size: 0.80rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 6px;
}

.cat-title {
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 8px;
}

.cat-desc {
    font-size: 0.95rem;
    max-width: 700px;
}

/* Variantes de Color */
.block-forest {
    background-color: var(--forest-bg);
    color: #ffffff;
    border: 1px solid rgba(134, 239, 172, 0.2);
}
.block-forest .cat-kicker { color: #86efac; }
.block-forest .cat-desc { color: #cbd5e1; }

.block-wine {
    background-color: var(--wine-bg);
    color: #ffffff;
    border: 1px solid rgba(254, 215, 170, 0.25);
}
.block-wine .cat-kicker { color: var(--gold-light); }
.block-wine .cat-desc { color: #fed7aa; }

.block-cream {
    background-color: var(--cream-bg);
    color: var(--cream-text);
    border: 1px solid rgba(0, 0, 0, 0.08);
}
.block-cream .cat-kicker { color: #b45309; }
.block-cream .cat-desc { color: var(--cream-muted); }
.block-cream .cat-module-header { border-bottom-color: rgba(0, 0, 0, 0.1); }

/* Cuadros Grandes de Platos */
.editorial-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
}

.editorial-card {
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.editorial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.block-forest .editorial-card {
    background-color: var(--forest-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.block-wine .editorial-card {
    background-color: var(--wine-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.block-cream .editorial-card {
    background-color: var(--cream-card);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.card-media-box {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-media-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.editorial-card:hover .card-media-box img {
    transform: scale(1.04);
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(18, 21, 27, 0.85);
    border: 1px solid var(--gold);
    color: var(--gold-light);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
}

.card-content-box {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-header-line {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.item-name {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
}

.block-cream .item-name { color: #1c1917; }

.item-price-tag {
    text-align: right;
    white-space: nowrap;
}

.price-num {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--gold);
    display: block;
}

.block-cream .price-num { color: #b45309; }

.price-unit {
    font-size: 0.70rem;
    color: var(--text-muted);
    display: block;
}

.item-desc {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 20px;
    flex: 1;
}

.block-forest .item-desc { color: #cbd5e1; }
.block-wine .item-desc { color: #fed7aa; }
.block-cream .item-desc { color: var(--cream-muted); }

.card-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.block-cream .card-action-bar { border-top-color: rgba(0, 0, 0, 0.08); }

.qty-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 8px;
    padding: 3px;
}

.block-cream .qty-pill {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.btn-qty {
    background: transparent;
    border: none;
    color: var(--gold);
    width: 30px;
    height: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
}

.block-cream .btn-qty { color: #b45309; }

.qty-count {
    min-width: 22px;
    text-align: center;
    font-size: 0.92rem;
    font-weight: 700;
}

.block-cream .qty-count { color: #0f172a; }

.btn-editorial-add {
    background: var(--gold);
    color: #0b0d11;
    border: none;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-editorial-add:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

/* Barra Flotante Carrito */
.cart-floating-bar {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 600px;
    background: #181c24;
    border: 1.5px solid var(--gold);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px 8px 16px;
    z-index: 999;
    cursor: pointer;
}

.cart-floating-bar.hidden { display: none; }

.cart-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-badge-circle {
    background: var(--gold);
    color: #000;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
}

.cart-sub {
    font-size: 0.70rem;
    color: var(--text-muted);
    display: block;
}

.cart-sum {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
}

.cart-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-cart-clear {
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
    font-size: 0.75rem;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
}

.btn-cart-cta {
    background: var(--gold);
    color: #0b0d11;
    border: none;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 9px 18px;
    border-radius: 20px;
    cursor: pointer;
}

/* Modales y Drawer */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: none;
}
.modal-overlay.active { display: block; }

.cart-drawer {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    width: 100%;
    max-width: 580px;
    background: #12151b;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.85);
    z-index: 10001;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}
.cart-drawer.open { transform: translateX(-50%) translateY(0); }

.cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.cart-drawer-title {
    color: var(--gold-light);
    font-size: 1.1rem;
    font-weight: 700;
}
.btn-close-drawer {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
}

.cart-drawer-body {
    padding: 15px 22px;
    overflow-y: auto;
    flex: 1;
}

.drawer-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.drawer-item-info h4 {
    margin: 0 0 4px 0;
    color: #ffffff;
    font-size: 0.92rem;
}
.drawer-item-info span {
    font-size: 0.80rem;
    color: var(--gold);
}

.drawer-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}
.btn-drawer-qty {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold);
    color: var(--gold-light);
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
}
.drawer-qty-val {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 18px;
    text-align: center;
}

.cart-drawer-footer {
    padding: 18px 22px 28px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #0d0f13;
}
.drawer-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.05rem;
}
.drawer-subtotal span:first-child { color: var(--text-muted); }
.drawer-subtotal span:last-child { color: var(--gold-light); font-weight: 700; }

.drawer-actions-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 12px;
}
.btn-drawer-empty {
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
}
.btn-drawer-checkout {
    background: var(--gold);
    color: #0b0d11;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    font-size: 0.92rem;
    cursor: pointer;
}

/* Modal Arroces */
.rice-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 420px;
    background: #161a22;
    border: 1.5px solid var(--gold);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
    z-index: 10002;
    display: none;
    text-align: center;
}
.rice-modal.open {
    display: block;
    transform: translate(-50%, -50%) scale(1);
}
.rice-modal-icon { font-size: 2.4rem; margin-bottom: 10px; }
.rice-modal h3 { color: var(--gold-light); font-size: 1.15rem; margin-bottom: 10px; }
.rice-modal p { color: var(--text-muted); font-size: 0.86rem; margin-bottom: 20px; }
.btn-modal-fix {
    background: var(--gold);
    color: #0b0d11;
    font-weight: 700;
    border: none;
    padding: 10px 22px;
    border-radius: 8px;
    cursor: pointer;
}

/* Footer Premium */
.takeaway-footer {
    background: radial-gradient(circle at top, #1c222b 0%, #0d0f13 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.35);
    margin-top: 70px;
    padding: 50px 20px 100px 20px;
}
.takeaway-footer-container { max-width: 1240px; margin: 0 auto; }
.footer-top-brand { text-align: center; margin-bottom: 40px; padding-bottom: 30px; border-bottom: 1px solid rgba(212, 175, 55, 0.15); }
.footer-brand-logo { max-width: 170px; margin-bottom: 12px; }
.footer-brand-claim { font-size: 0.95rem; letter-spacing: 1.5px; color: var(--gold); text-transform: uppercase; font-weight: 600; }
.takeaway-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin-bottom: 40px; }
.footer-card { background: rgba(18, 21, 27, 0.7); border: 1px solid rgba(212, 175, 55, 0.25); border-radius: 10px; padding: 24px; backdrop-filter: blur(6px); }
.footer-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; border-bottom: 1px dashed rgba(212, 175, 55, 0.2); padding-bottom: 10px; }
.footer-card-icon { font-size: 1.5rem; }
.footer-card-title { color: var(--gold-light); font-size: 1.05rem; font-weight: 700; margin: 0; }
.footer-card p { font-size: 0.85rem; line-height: 1.6; color: var(--text-muted); margin-bottom: 8px; }
.footer-card strong { color: #ffffff; }
.footer-card a { color: var(--gold); text-decoration: none; font-weight: 600; }
.footer-legal-bar { border-top: 1px solid rgba(212, 175, 55, 0.2); padding-top: 25px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; font-size: 0.8rem; color: #64748b; }
.footer-legal-links { display: flex; gap: 16px; align-items: center; }
.footer-legal-links a { color: var(--gold); text-decoration: none; }

/* PWA Pill & Reorder Card */
.pwa-install-pill {
    position: fixed;
    top: 75px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: linear-gradient(135deg, #1f2530 0%, #12151b 100%);
    border: 1px solid var(--gold);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7), 0 0 15px rgba(212, 175, 55, 0.25);
    border-radius: 50px;
    padding: 8px 18px 8px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.pwa-install-pill.show { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.pwa-pill-icon { font-size: 1.25rem; }
.pwa-pill-title { font-size: 0.82rem; font-weight: 700; color: var(--gold-light); display: block; }
.pwa-pill-sub { font-size: 0.70rem; color: var(--text-muted); display: block; }
.pwa-btn-install { background: var(--gold); color: #0b0d11; font-weight: 700; font-size: 0.78rem; border: none; padding: 6px 14px; border-radius: 20px; cursor: pointer; }
.pwa-btn-close { background: transparent; border: none; color: #64748b; font-size: 1.1rem; cursor: pointer; }

.reorder-card-container { max-width: 1240px; margin: -15px auto 25px auto; padding: 0; display: none; }
.reorder-card { background: radial-gradient(circle at left, rgba(212, 175, 55, 0.15) 0%, rgba(18, 21, 27, 0.85) 100%); border: 1px solid rgba(212, 175, 55, 0.35); border-radius: 12px; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.reorder-info { display: flex; align-items: center; gap: 14px; }
.reorder-badge { background: rgba(212, 175, 55, 0.2); border: 1px solid var(--gold); color: var(--gold-light); border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.reorder-text h4 { margin: 0 0 4px 0; color: #ffffff; font-size: 0.95rem; }
.reorder-text p { margin: 0; font-size: 0.80rem; color: var(--text-muted); }
.reorder-actions { display: flex; align-items: center; gap: 10px; }
.btn-reorder-go { background: var(--gold); color: #0d0f12; border: none; font-weight: 700; font-size: 0.82rem; padding: 10px 18px; border-radius: 8px; cursor: pointer; }
.btn-reorder-dismiss { background: transparent; border: 1px solid rgba(255, 255, 255, 0.15); color: var(--text-muted); font-size: 0.80rem; padding: 9px 12px; border-radius: 8px; cursor: pointer; }

/* Responsive Móvil */
@media (max-width: 768px) {
    .header-container { flex-direction: row; align-items: center; justify-content: space-between; }
    .hero-h1 { font-size: 2rem; }
    .category-chips { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .category-chips::-webkit-scrollbar { display: none; }
    .editorial-cat-module { padding: 30px 16px; border-radius: 12px; }
    .cat-title { font-size: 1.8rem; }
    .editorial-items-grid { grid-template-columns: 1fr; }
    .cart-drawer { width: 100%; border-radius: 16px 16px 0 0; }
    .pwa-install-pill { width: calc(100% - 32px); justify-content: space-between; }
    .reorder-card { flex-direction: column; align-items: flex-start; }
    .reorder-actions { width: 100%; justify-content: flex-end; }
}

/* ==========================================================================
   ILUMINACIÓN INTENSA DE BRASAS (HERO TAKE AWAY)
   ========================================================================== */
.hero-video-bg video {
    opacity: 0.90 !important;
    filter: brightness(1.30) contrast(1.15) saturate(1.20) !important;
}

.hero-video-overlay {
    background: radial-gradient(circle at center, rgba(18, 21, 27, 0.10) 0%, rgba(18, 21, 27, 0.45) 100%) !important;
}

/* ==========================================================================
   VÍDEO HASTA EL BORDE SUPERIOR Y MENÚ SUPERPUESTO TRANSPARENTE
   ========================================================================== */
.app-header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent !important;
    border-bottom: 1px solid transparent !important;
    backdrop-filter: none !important;
    transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.app-header.scrolled {
    background: rgba(18, 21, 27, 0.95) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25) !important;
    backdrop-filter: blur(10px) !important;
}

.app-header:not(.scrolled) .brand-title {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}
.app-header:not(.scrolled) .brand-sub {
    color: #f1f5f9;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}
.app-header:not(.scrolled) .takeaway-theme-btn {
    background: rgba(18, 21, 27, 0.72) !important;
    backdrop-filter: blur(6px);
}

.takeaway-hero {
    position: relative;
    width: 100%;
    min-height: 85vh;
    margin: 0;
    padding-top: calc(90px + 40px) !important;
    padding-bottom: 60px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pwa-install-pill {
    top: 85px !important;
}

html, body { margin: 0 !important; padding: 0 !important; width: 100% !important; }
.takeaway-hero { width: 100% !important; left: 0 !important; margin-left: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
.hero-video-bg, .hero-video-bg video { left: 0 !important; width: 100% !important; }

/* ==========================================================================
   CORRECCIÓN DE ESPACIADO EN CHECKOUT
   ========================================================================== */
.checkout-container {
    margin-top: 110px !important;
}

@media (max-width: 768px) {
    .checkout-container {
        margin-top: 90px !important;
    }
}

/* ==========================================================================
   MODO OLIVA & ORO (EXACTO A LA WEB PRINCIPAL, MANTENIENDO GRANATE EN AVISO Y PLATOS)
   ========================================================================== */
html.theme-light {
    --bg-dark: #1e281f;
    --bg-card: #273429;
    --gold: #dfbe58;
    --gold-light: #f1cf68;
    --gold-hover: #f1cf68;
    --text-white: #f5f7f2;
    --text-muted: #cad4c5;
}

html.theme-light body {
    background-color: #1e281f !important;
    color: #f5f7f2 !important;
}

/* Cabecera en Modo Oliva */
html.theme-light .app-header.scrolled {
    background: rgba(23, 32, 24, 0.98) !important;
    border-bottom: 1px solid rgba(223, 190, 88, 0.25) !important;
}

html.theme-light .app-header .brand-title {
    color: #dfbe58 !important;
}

html.theme-light .app-header .brand-sub {
    color: #cad4c5 !important;
}

html.theme-light .takeaway-theme-btn {
    background: rgba(23, 32, 24, 0.85) !important;
    border-color: rgba(223, 190, 88, 0.5) !important;
    color: #dfbe58 !important;
}

html.theme-light .takeaway-theme-btn:hover {
    background: #dfbe58 !important;
    color: #121212 !important;
}

/* Hero Slider y Franja Editorial */
html.theme-light .takeaway-hero {
    background-color: #131b14 !important;
    border-bottom: 1px solid rgba(223, 190, 88, 0.35);
}

html.theme-light .editorial-quote-strip {
    background: #172018 !important;
    border-top: 1px solid rgba(223, 190, 88, 0.25);
    border-bottom: 1px solid rgba(223, 190, 88, 0.25);
}

html.theme-light .editorial-quote-strip p {
    color: #dfbe58 !important;
}

/* Banner Fechas Especiales: SE CONSERVA EN GRANATE */
html.theme-light .special-dates-banner {
    background: linear-gradient(135deg, rgba(114, 24, 38, 0.95), rgba(69, 18, 18, 0.98)) !important;
    border: 1.5px solid rgba(223, 190, 88, 0.65) !important;
    box-shadow: 0 12px 30px rgba(10, 18, 12, 0.45) !important;
}

html.theme-light .special-dates-copy h3 {
    color: #dfbe58 !important;
}

html.theme-light .special-dates-copy p {
    color: #f8fafc !important;
}

html.theme-light .special-dates-copy strong {
    color: #f7e7a9 !important;
}

/* Chips de categorías */
html.theme-light .chip {
    background: #273429;
    border-color: rgba(223, 190, 88, 0.35);
    color: #f5f7f2;
}

html.theme-light .chip.active,
html.theme-light .chip:hover {
    background: #dfbe58;
    border-color: #dfbe58;
    color: #121212;
}

/* Módulo y Tarjetas de Platos: SE CONSERVAN EN GRANATE BORGOÑA (#5c1818 / #451212) */
html.theme-light .editorial-cat-module.block-wine {
    background-color: #5c1818 !important;
    color: #ffffff !important;
    border: 1px solid rgba(223, 190, 88, 0.45) !important;
    box-shadow: 0 15px 35px rgba(10, 18, 12, 0.45) !important;
}

html.theme-light .editorial-cat-module.block-wine .editorial-card {
    background-color: #451212 !important;
    border: 1px solid rgba(223, 190, 88, 0.25) !important;
}

/* Reorder Card */
html.theme-light .reorder-card {
    background: #273429;
    border: 1px solid rgba(223, 190, 88, 0.4);
}

html.theme-light .reorder-text h4 {
    color: #f5f7f2;
}

html.theme-light .reorder-text p {
    color: #cad4c5;
}

html.theme-light .btn-reorder-go {
    background: #dfbe58;
    color: #121212;
}

html.theme-light .btn-reorder-dismiss {
    border-color: rgba(223, 190, 88, 0.3);
    color: #cad4c5;
}

/* Carrito Flotante y Drawer */
html.theme-light .cart-floating-bar {
    background: #172018;
    border-color: #dfbe58;
}

html.theme-light .cart-badge-circle {
    background: #dfbe58;
    color: #121212;
}

html.theme-light .btn-cart-cta {
    background: #dfbe58;
    color: #121212;
}

html.theme-light .cart-drawer {
    background: #1e281f;
    border-color: #dfbe58;
}

html.theme-light .cart-drawer-header {
    border-bottom-color: rgba(223, 190, 88, 0.25);
}

html.theme-light .cart-drawer-title {
    color: #dfbe58;
}

html.theme-light .drawer-item-row {
    border-bottom-color: rgba(223, 190, 88, 0.15);
}

html.theme-light .drawer-item-info h4 {
    color: #f5f7f2;
}

html.theme-light .drawer-item-info span {
    color: #dfbe58;
}

html.theme-light .btn-drawer-qty {
    background: #273429;
    border-color: #dfbe58;
    color: #dfbe58;
}

html.theme-light .drawer-qty-val {
    color: #f5f7f2;
}

html.theme-light .cart-drawer-footer {
    background: #172018;
    border-top-color: rgba(223, 190, 88, 0.25);
}

html.theme-light .drawer-subtotal span:first-child {
    color: #cad4c5;
}

html.theme-light .drawer-subtotal span:last-child {
    color: #dfbe58;
}

html.theme-light .btn-drawer-checkout {
    background: #dfbe58;
    color: #121212;
}

/* Footer Take Away (#131b14 igual que la web principal) */
html.theme-light .takeaway-footer {
    background: #131b14 !important;
    border-top: 1px solid rgba(223, 190, 88, 0.3);
}

html.theme-light .footer-top-brand {
    border-bottom-color: rgba(223, 190, 88, 0.2);
}

html.theme-light .footer-brand-claim {
    color: #dfbe58;
}

html.theme-light .footer-card {
    background: #273429 !important;
    border: 1px solid rgba(223, 190, 88, 0.3) !important;
}

html.theme-light .footer-card-header {
    border-bottom-color: rgba(223, 190, 88, 0.25);
}

html.theme-light .footer-card-title {
    color: #dfbe58;
}

html.theme-light .footer-card p {
    color: #cad4c5;
}

html.theme-light .footer-card strong {
    color: #f5f7f2;
}

html.theme-light .footer-card a {
    color: #dfbe58;
}

html.theme-light .footer-legal-bar {
    border-top-color: rgba(223, 190, 88, 0.2);
    color: #cad4c5;
}

html.theme-light .footer-legal-links a {
    color: #dfbe58;
}

/* Checkout en Modo Oliva & Oro */
html.theme-light .checkout-main-title {
    color: #dfbe58 !important;
}

html.theme-light .checkout-main-sub {
    color: #cad4c5 !important;
}

html.theme-light .checkout-back-link {
    color: #dfbe58 !important;
}

html.theme-light .checkout-box {
    background: #273429 !important;
    border: 1px solid rgba(223, 190, 88, 0.4) !important;
    box-shadow: 0 10px 30px rgba(10, 18, 12, 0.5) !important;
}

html.theme-light .checkout-box h3 {
    color: #dfbe58 !important;
    border-bottom-color: rgba(223, 190, 88, 0.25) !important;
}

html.theme-light .form-row label {
    color: #cad4c5 !important;
}

html.theme-light .form-row input,
html.theme-light .form-row select,
html.theme-light .form-row textarea {
    background: #172018 !important;
    border: 1px solid rgba(223, 190, 88, 0.35) !important;
    color: #ffffff !important;
}

html.theme-light .time-card {
    background: #172018 !important;
    border-color: rgba(223, 190, 88, 0.35) !important;
    color: #ffffff !important;
}

html.theme-light .time-card.selected {
    background: #dfbe58 !important;
    color: #121212 !important;
    border-color: #dfbe58 !important;
}

html.theme-light .summary-item {
    border-bottom-color: rgba(223, 190, 88, 0.15) !important;
}

html.theme-light .summary-item .item-name {
    color: #f5f7f2 !important;
}

html.theme-light .summary-item .item-price {
    color: #dfbe58 !important;
}

html.theme-light .summary-total {
    border-top-color: rgba(223, 190, 88, 0.35) !important;
    color: #dfbe58 !important;
}

html.theme-light .payment-option {
    background: #172018 !important;
    border-color: rgba(223, 190, 88, 0.3) !important;
}

html.theme-light .payment-option span {
    color: #f5f7f2 !important;
}

html.theme-light .payment-option.active {
    background: rgba(223, 190, 88, 0.18) !important;
    border-color: #dfbe58 !important;
}

html.theme-light .terms-row {
    background: #172018 !important;
    border-color: rgba(223, 190, 88, 0.35) !important;
}

html.theme-light .terms-row label {
    color: #f5f7f2 !important;
}

html.theme-light .terms-row a {
    color: #dfbe58 !important;
}

html.theme-light .btn-submit-order {
    background: #dfbe58 !important;
    color: #121212 !important;
}

html.theme-light .btn-submit-order:hover {
    background: #f1cf68 !important;
}
/* ==========================================================================
   AJUSTE CABECERA Y BOTÓN TEMA EN MÓVIL (EVITAR TAPAR EL SLIDER)
   ========================================================================== */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: nowrap !important;
        padding: 10px 12px !important;
        gap: 8px !important;
    }
    .brand-logo {
        height: 36px !important;
    }
    .brand-title {
        font-size: 0.95rem !important;
        letter-spacing: 0.5px !important;
    }
    .brand-sub {
        font-size: 0.62rem !important;
    }
    .takeaway-theme-btn {
        padding: 5px 10px !important;
        font-size: 0.68rem !important;
        gap: 5px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
    .takeaway-hero {
        padding-top: 72px !important;
    }
}
