/* =====================================================
   CARTA DIGITAL — Restaurante & Cafetería
===================================================== */

/* Base y utilidades locales usadas por la carta. */
*, *::before, *::after { box-sizing: border-box; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; }
body { margin: 0; }
h1, h2, h3, h4, h5, p { margin-top: 0; }
img { max-width: 100%; vertical-align: middle; }
button { margin: 0; font: inherit; }
.container { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: 12px; }
.row { display: flex; flex-wrap: wrap; margin-inline: -8px; }
.row > * { width: 100%; padding-inline: 8px; }
.g-3 { row-gap: 16px; }
.col-12 { flex: 0 0 auto; width: 100%; }
.card { min-width: 0; color: inherit; }
.card-body { min-width: 0; }
.btn { display: inline-block; padding: .375rem .75rem; border: 1px solid transparent; background: transparent; text-align: center; text-decoration: none; cursor: pointer; }
.btn-sm { padding: .25rem .5rem; font-size: .875rem; }
.btn-warning { color: #000; background: #ffc107; border-color: #ffc107; }
.btn-outline-warning { color: #ffc107; border-color: #ffc107; }
.btn-outline-warning:hover { color: #000; background: #ffc107; }
.badge { display: inline-block; padding: .35em .65em; border-radius: .375rem; font-size: .75em; font-weight: 700; line-height: 1; vertical-align: baseline; }
.bg-warning { background-color: #ffc107; }
.bg-danger { color: #fff; background-color: #dc3545; }
.bg-dark { background-color: #212529; }
.text-center { text-align: center; }
.text-warning { color: #ffc107; }
.text-dark { color: #212529; }
.text-light { color: #f8f9fa; }
.text-secondary { color: #adb5bd; }
.text-success { color: #198754; }
.text-danger { color: #dc3545; }
.fw-bold { font-weight: 700; }
.fs-5 { font-size: 1.25rem; }
.shadow-sm { box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075); }
.p-2 { padding: .5rem; }
.py-3 { padding-block: 1rem; }
.py-4 { padding-block: 1.5rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: .25rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background-color: #101110;
    background-image:
        linear-gradient(135deg, transparent 0 48%, rgba(212, 175, 55, .025) 49% 50%, transparent 51%),
        radial-gradient(circle at 50% -10%, #29251a 0, #151513 28%, #101110 62%);
    background-size: 80px 80px, 100% 100%;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

/* Cabecera principal */

main > header {
    position: relative;
    overflow: hidden;
    padding: 18px 20px 20px;
    background:
        radial-gradient(ellipse at 50% 0, rgba(212, 175, 55, .19), transparent 58%),
        linear-gradient(145deg, rgba(36, 36, 33, .98), rgba(18, 19, 18, .98));
    border: 1px solid rgba(212, 175, 55, .28);
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .32);
}

main > header::after {
    content: "";
    position: absolute;
    right: 12%;
    bottom: 0;
    left: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

main > header h1 {
    margin: 8px 0 4px;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    letter-spacing: -.04em;
    text-shadow: 0 2px 18px rgba(212, 175, 55, .16);
}

.header-contenido {
    width: 100%;
}

main > header p {
    letter-spacing: .02em;
}

/* Navegación */

.categoria-nav {
    position: sticky;
    top: 0;
    z-index: 999;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 12px 4px;
    background: rgba(16, 17, 16, .92);
    border-bottom: 1px solid rgba(212, 175, 55, .16);
    backdrop-filter: blur(12px);
    scrollbar-width: none;
}

.categoria-nav::-webkit-scrollbar {
    display: none;
}

.categoria-nav .btn {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 7px 14px;
    border-radius: 30px;
    font-weight: 600;
    transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.categoria-nav .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(212, 175, 55, .13);
}

/* Títulos y jerarquía */

.card-title {
    color: #fff;
    font-weight: 700;
}

.categoria-titulo {
    position: relative;
    margin-top: 2rem;
    padding: 0 0 12px 18px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: -.02em;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.categoria-titulo::before {
    content: "";
    position: absolute;
    top: .18em;
    bottom: 12px;
    left: 0;
    width: 4px;
    background: linear-gradient(#f2cc55, #9d7719);
    border-radius: 99px;
    box-shadow: 0 0 14px rgba(212, 175, 55, .25);
}

.bloque-subcategoria {
    margin-top: 24px;
}

.subcategoria-titulo {
    margin-bottom: 16px;
    padding-bottom: 8px;
    color: #ffc107;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: .015em;
    border-bottom: 1px solid rgba(255, 193, 7, .35);
}

.bloque-subcategoria-hija {
    margin-left: 16px;
    padding-left: 16px;
    border-left: 3px solid rgba(255, 193, 7, .45);
}

.subcategoria-hija-titulo {
    margin-bottom: 14px;
    color: #f8f9fa;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Los niveles profundos se distinguen sin aumentar indefinidamente la sangría. */
.bloque-subcategoria-hija .bloque-subcategoria-hija {
    margin-left: 10px;
    padding-left: 12px;
    border-left-color: rgba(255, 193, 7, .25);
}

.bloque-subcategoria-hija .bloque-subcategoria-hija .subcategoria-hija-titulo {
    color: #d8d8d8;
    font-size: 1rem;
}

/* Tarjetas */

.producto-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #232421, #1b1c1a);
    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.producto-card::before {
    content: "";
    position: absolute;
    top: 18%;
    bottom: 18%;
    left: 0;
    width: 3px;
    background: linear-gradient(transparent, #d4af37, transparent);
    opacity: .72;
}

.producto-card:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, .2);
    box-shadow: 0 14px 32px rgba(0, 0, 0, .28);
}

.producto-horizontal {
    display: flex;
    align-items: center;
    gap: 14px;
}

.producto-info {
    flex: 1 1 auto;
    min-width: 0;
}

.producto-info h5 {
    font-size: 1rem;
    text-transform: none;
}

.producto-info p {
    color: #cfcfcf;
    font-size: .9rem;
}

.producto-etiquetas {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 6px 0 9px;
}

.producto-alergenos {
    margin: 8px 0 4px;
    color: #cfcfcf;
    font-size: 0.9rem;
}

.producto-alergenos strong {
    color: #f0c95f;
}

html[data-theme="light"] .producto-alergenos {
    color: #626760;
}

html[data-theme="light"] .producto-alergenos strong {
    color: #294a39;
}

.producto-etiqueta {
    padding: 4px 8px;
    color: #e9eee9;
    background: #304e3f;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 700;
}

.producto-etiqueta-picante {
    color: #fff;
    background: #a64d3f;
}

.producto-etiqueta-sin-gluten {
    color: #3e310e;
    background: #dfbd63;
}

html[data-theme="light"] .producto-etiqueta {
    color: #fff;
}

/* Fotografías */

.producto-foto {
    flex: 0 0 115px;
    width: 115px;
    height: 115px;
    overflow: hidden;
    background: linear-gradient(145deg, #30312e, #252623);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 14px;
}

.producto-foto img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

.sin-foto {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #c8c8c8;
    font-size: .8rem;
}

/* Logos */

.logo {
    display: block;
    width: min(42vw, 360px);
    max-width: 100%;
    height: auto;
    margin: 0 auto !important;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .42));
    transition: transform .35s ease, filter .35s ease;
}

.logo:hover {
    transform: translateY(-3px) scale(1.015);
    filter: drop-shadow(0 10px 18px rgba(212, 175, 55, .18));
}

.logo-restaurante {
    width: 100%;
    max-width: 180px;
    height: auto;
}

.logo-navbar {
    width: auto;
    height: 45px;
}

/* Precios y variantes */

.text-success {
    color: #d4af37 !important;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .02em;
}

.precio-variante {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 5px 0;
    border-bottom: 1px solid #333;
}

.precio-variante:last-child {
    border-bottom: 0;
}

.precio-variante span {
    min-width: 0;
    color: #cfcfcf;
    font-size: .92rem;
    font-weight: 400;
}

.precio-variante strong {
    flex: 0 0 auto;
    color: #d4af37;
}

/* Precios simultáneos exclusivos del Schop Artesanal Shangri-La. */
.precios-tamano {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.producto-card-tamanos .producto-foto {
    flex-basis: 105px;
    width: 105px;
    height: 105px;
}

.producto-card-tamanos .producto-info p {
    margin-bottom: 6px;
}

.precio-tamano {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-width: 150px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, .16);
    border: 1px solid rgba(212, 175, 55, .35);
    border-radius: 10px;
}

.precio-tamano-medida {
    color: #cfcfcf;
    font-size: .86rem;
    font-weight: 700;
}

.precio-tamano strong {
    color: #d4af37;
    font-size: 1rem;
}

.precio-tamano-agotado {
    opacity: .6;
}

.precio-tamano-agotado strong {
    color: #dc3545;
    font-size: .78rem;
}

html[data-theme="light"] .precio-tamano {
    background: rgba(41, 74, 57, .04);
    border-color: rgba(41, 74, 57, .3);
}

html[data-theme="light"] .precio-tamano-medida {
    color: #626760;
}

html[data-theme="light"] .precio-tamano strong {
    color: #294a39;
}

html[data-theme="light"] .precio-tamano-agotado strong {
    color: #b42318;
}

@media (max-width: 420px) {
    .producto-card-tamanos .producto-foto {
        flex-basis: 90px;
        width: 90px;
        height: 90px;
    }

    .precio-tamano {
        min-width: 138px;
        padding: 7px 10px;
    }
}

/* Sabores opcionales por producto */

.sabores-producto {
    margin: 10px 0;
    padding: 10px;
    background: #181818;
    border: 1px solid #444;
    border-radius: 10px;
}

.sabores-titulo,
.sabores-producto>strong {
    display: block;
    margin-bottom: 8px;
    color: #ffc107 !important;
    font-size: .92rem;
    font-weight: 700;
}

.sabores-lista {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sabor-chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    color: #fff !important;
    background: #2a2a2a;
    border: 1px solid #666;
    border-radius: 999px;
    font-size: .85rem;
    line-height: 1.2;
}

/* Estados y controles */

.badge {
    font-size: 11px;
}

.volver-arriba {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    color: #000;
    font-size: 22px;
    font-weight: 700;
    line-height: 50px;
    text-align: center;
    text-decoration: none;
    background: #d4af37;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .35);
    transition: transform .25s ease;
}

.volver-arriba:hover {
    color: #000;
    transform: scale(1.08);
}

footer {
    border-top: 1px solid rgba(212, 175, 55, .16);
    background: #0c0d0c !important;
    font-size: .88rem;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: #444;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

/* Responsive */

@media (max-width: 768px) {
    .logo {
        width: min(70%, 330px);
    }

    .categoria-titulo {
        font-size: 1.55rem;
    }

    .bloque-subcategoria-hija,
    .bloque-subcategoria-hija .bloque-subcategoria-hija {
        margin-left: 5px;
        padding-left: 9px;
    }

    .subcategoria-titulo {
        font-size: 1.2rem;
    }

    .subcategoria-hija-titulo,
    .bloque-subcategoria-hija .bloque-subcategoria-hija .subcategoria-hija-titulo {
        font-size: 1rem;
    }
}

@media (max-width: 420px) {
    main.container {
        padding-top: 12px !important;
    }

    main > header {
        padding: 20px 14px 22px;
        border-radius: 18px;
    }

    .logo {
        width: min(68%, 280px);
        height: auto;
    }

    .producto-horizontal {
        align-items: flex-start;
        gap: 10px;
    }

    .producto-foto {
        flex-basis: 95px;
        width: 95px;
        height: 95px;
    }

    .producto-info h5 {
        font-size: .95rem;
    }

    .producto-info p {
        font-size: .82rem;
    }

    .text-success {
        font-size: 19px;
    }

    .precio-variante {
        gap: 8px;
    }

    .precio-variante span {
        font-size: .82rem;
    }

    .sabores-producto {
        padding: 9px;
    }

    .sabor-chip {
        min-height: 26px;
        padding: 4px 8px;
        font-size: .8rem;
    }
}

@media (max-width: 340px) {
    .producto-horizontal {
        flex-direction: column;
    }

    .producto-foto {
        width: 100%;
        height: 160px;
    }
}

.sabor-te {
    flex: 1 1 240px;
    padding: 8px 10px;
    background: #242424;
    border-left: 3px solid #d4af37;
    border-radius: 6px;
}

.sabor-te strong,
.sabor-te span {
    display: block;
}

.sabor-te strong {
    color: #f1f1f1;
    font-size: .9rem;
}

.sabor-te span {
    margin-top: 2px;
    color: #aaa;
    font-size: .8rem;
    line-height: 1.3;
}

/* =====================================================
   IDENTIDAD — REFUGIO CORDILLERANO DE ÑUBLE
===================================================== */

:root {
    --madera-profunda: #17100c;
    --madera: #2b1b12;
    --madera-clara: #42291a;
    --cobre: #d5964b;
    --cobre-claro: #efbd75;
    --crema: #f2e5ce;
    --crema-suave: #cdbda7;
}

body {
    color: var(--crema);
    background-color: var(--madera-profunda);
    background-image:
        repeating-linear-gradient(2deg, transparent 0 38px, rgba(255, 255, 255, .018) 39px, transparent 41px),
        repeating-linear-gradient(92deg, transparent 0 170px, rgba(0, 0, 0, .12) 172px, transparent 176px),
        radial-gradient(ellipse at 50% -10%, #4a2d1b 0, #25170f 38%, #130d0a 82%);
    background-size: auto, auto, 100% 100%;
}

main > header {
    background:
        radial-gradient(ellipse at 50% 0, rgba(213, 150, 75, .18), transparent 60%),
        repeating-linear-gradient(1deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 14px),
        linear-gradient(145deg, #382317, #1d130e 72%);
    border-color: rgba(213, 150, 75, .42);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .42), inset 0 0 0 4px rgba(0, 0, 0, .14);
}

main > header::after {
    background: linear-gradient(90deg, transparent, var(--cobre), transparent);
}

main > header h1,
.text-warning {
    color: var(--cobre-claro) !important;
}

main > header h1,
.categoria-titulo,
.subcategoria-titulo {
    font-family: Georgia, "Times New Roman", serif;
}

.categoria-nav {
    background: rgba(24, 15, 10, .94);
    border-color: rgba(213, 150, 75, .25);
}

.btn-warning {
    color: #21140c;
    background-color: var(--cobre-claro);
    border-color: var(--cobre-claro);
}

.btn-outline-warning {
    color: var(--cobre-claro);
    border-color: rgba(239, 189, 117, .72);
}

.btn-outline-warning:hover,
.btn-outline-warning:focus {
    color: #21140c;
    background-color: var(--cobre-claro);
    border-color: var(--cobre-claro);
}

.categoria-titulo {
    color: var(--crema);
    border-bottom-color: rgba(239, 189, 117, .24);
}

.categoria-titulo::before {
    background: linear-gradient(var(--cobre-claro), #8a552a);
}

.subcategoria-titulo {
    color: var(--cobre-claro);
    border-bottom-color: rgba(213, 150, 75, .35);
}

.producto-card {
    background:
        repeating-linear-gradient(2deg, transparent 0 20px, rgba(255, 255, 255, .012) 21px),
        linear-gradient(145deg, #332218, #211711);
    border-color: rgba(239, 189, 117, .13);
    box-shadow: 0 9px 24px rgba(0, 0, 0, .3);
}

.producto-card::before {
    background: linear-gradient(transparent, var(--cobre), transparent);
}

.producto-card:hover {
    border-color: rgba(239, 189, 117, .34);
    box-shadow: 0 15px 32px rgba(0, 0, 0, .42);
}

.card-title,
.producto-info h5 {
    color: var(--crema);
}

.producto-info p,
.precio-variante span {
    color: var(--crema-suave);
}

.producto-foto {
    background: linear-gradient(145deg, #4a3427, #2d2018);
    border-color: rgba(239, 189, 117, .12);
}

.text-success,
.precio-variante strong {
    color: var(--cobre-claro) !important;
}

.sabores-producto {
    background: rgba(18, 12, 9, .55);
    border-color: rgba(213, 150, 75, .28);
}

.sabor-chip,
.sabor-te {
    background: #39261b;
    border-color: rgba(239, 189, 117, .25);
}

.volver-arriba {
    color: #21140c;
    background: var(--cobre-claro);
}

footer {
    color: var(--crema-suave) !important;
    background: #100a07 !important;
    border-top-color: rgba(213, 150, 75, .25);
}

/* =====================================================
   IDENTIDAD — CORDILLERA CONTEMPORÁNEA
===================================================== */

:root {
    --bosque: #263c32;
    --bosque-claro: #3e5d4d;
    --papel: #f3eee3;
    --papel-claro: #fbf8f1;
    --tinta: #282721;
    --tinta-suave: #6d695f;
    --terracota: #b8613f;
}

body {
    color: var(--tinta);
    background-color: var(--papel);
    background-image:
        radial-gradient(circle at 15% 20%, rgba(38, 60, 50, .035) 0 1px, transparent 2px),
        radial-gradient(circle at 82% 65%, rgba(184, 97, 63, .03) 0 1px, transparent 2px);
    background-size: 28px 28px, 35px 35px;
}

main > header {
    background:
        radial-gradient(ellipse at 50% 0, rgba(255, 255, 255, .1), transparent 62%),
        linear-gradient(145deg, #365244, #20352b);
    border: 0;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(38, 60, 50, .2);
}

main > header::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .65), transparent);
}

main > header h1,
main > header .text-warning {
    color: #f1c7a8 !important;
    text-shadow: none;
}

main > header .text-light {
    color: #fff !important;
}

main > header .text-secondary {
    color: rgba(255, 255, 255, .65) !important;
}

.categoria-nav {
    background: rgba(243, 238, 227, .94);
    border-bottom-color: rgba(38, 60, 50, .16);
}

.categoria-nav .btn {
    box-shadow: none;
}

.btn-warning {
    color: #fff;
    background: var(--bosque);
    border-color: var(--bosque);
}

.btn-warning:hover,
.btn-warning:focus {
    color: #fff;
    background: var(--bosque-claro);
    border-color: var(--bosque-claro);
}

.btn-outline-warning {
    color: var(--bosque);
    background: var(--papel-claro);
    border-color: rgba(38, 60, 50, .48);
}

.btn-outline-warning:hover,
.btn-outline-warning:focus {
    color: #fff;
    background: var(--bosque);
    border-color: var(--bosque);
}

.categoria-titulo {
    color: var(--bosque);
    border-bottom-color: rgba(38, 60, 50, .2);
}

.categoria-titulo::before {
    background: var(--terracota);
    box-shadow: none;
}

.subcategoria-titulo {
    color: var(--terracota);
    border-bottom-color: rgba(184, 97, 63, .26);
}

.subcategoria-hija-titulo {
    color: var(--bosque);
}

.producto-card {
    background: var(--papel-claro);
    border: 1px solid rgba(38, 60, 50, .1);
    box-shadow: 0 7px 20px rgba(47, 43, 34, .08);
}

.producto-card::before {
    background: linear-gradient(transparent, var(--terracota), transparent);
}

.producto-card:hover {
    border-color: rgba(38, 60, 50, .22);
    box-shadow: 0 13px 28px rgba(47, 43, 34, .13);
}

.card-title,
.producto-info h5 {
    color: var(--tinta);
}

.producto-info p,
.precio-variante span {
    color: var(--tinta-suave);
}

.producto-foto {
    background: #e5ddce;
    border-color: rgba(38, 60, 50, .1);
}

.sin-foto {
    color: #898277;
}

.text-success,
.precio-variante strong {
    color: var(--terracota) !important;
}

.precio-variante {
    border-bottom-color: rgba(38, 60, 50, .12);
}

.sabores-producto {
    background: #eee7da;
    border-color: rgba(38, 60, 50, .16);
}

.sabores-titulo,
.sabores-producto > strong {
    color: var(--terracota) !important;
}

.sabor-chip,
.sabor-te {
    color: var(--tinta) !important;
    background: var(--papel-claro);
    border-color: rgba(38, 60, 50, .18);
}

.volver-arriba {
    color: #fff;
    background: var(--bosque);
}

.volver-arriba:hover {
    color: #fff;
}

.bloque-categoria > .text-secondary,
main > .text-center .text-secondary {
    color: var(--tinta-suave) !important;
}

footer {
    color: rgba(255, 255, 255, .72) !important;
    background: var(--bosque) !important;
    border-top: 0;
}

/* Selector de tema */

.tema-switch {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    color: rgba(255, 255, 255, .88);
    background: rgba(10, 18, 14, .42);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background-color .2s ease, transform .2s ease;
}

.tema-switch:hover {
    color: #fff;
    background: rgba(10, 18, 14, .7);
    transform: translateY(-1px);
}

.tema-switch-icono {
    font-size: 1rem;
    line-height: 1;
}

/* Tema oscuro */

html[data-theme="dark"] body {
    color: #eee8dc;
    background-color: #000;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, .012) 0 1px, transparent 2px),
        radial-gradient(circle at 82% 65%, rgba(184, 97, 63, .018) 0 1px, transparent 2px);
}

html[data-theme="dark"] main > header {
    background:
        radial-gradient(ellipse at 50% 0, rgba(184, 97, 63, .1), transparent 58%),
        linear-gradient(145deg, #151515, #070707 72%);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .75);
}

html[data-theme="dark"] .categoria-nav {
    background: rgba(0, 0, 0, .97);
    border-bottom-color: rgba(238, 232, 220, .12);
}

html[data-theme="dark"] .btn-outline-warning {
    color: #d8e2db;
    background: #090909;
    border-color: rgba(216, 226, 219, .32);
}

html[data-theme="dark"] .btn-outline-warning:hover,
html[data-theme="dark"] .btn-outline-warning:focus {
    color: #fff;
    background: var(--bosque-claro);
    border-color: var(--bosque-claro);
}

html[data-theme="dark"] .btn-warning {
    color: #18221d;
    background: #d9b18f;
    border-color: #d9b18f;
}

html[data-theme="dark"] .categoria-titulo,
html[data-theme="dark"] .subcategoria-hija-titulo {
    color: #eee8dc;
    border-bottom-color: rgba(238, 232, 220, .15);
}

html[data-theme="dark"] .producto-card {
    background: #0b0b0b;
    border-color: rgba(238, 232, 220, .08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .7);
}

html[data-theme="dark"] .card-title,
html[data-theme="dark"] .producto-info h5 {
    color: #f5f0e7;
}

html[data-theme="dark"] .producto-info p,
html[data-theme="dark"] .precio-variante span,
html[data-theme="dark"] .bloque-categoria > .text-secondary,
html[data-theme="dark"] main > .text-center .text-secondary {
    color: #b9b5aa !important;
}

html[data-theme="dark"] .producto-foto {
    background: #161616;
    border-color: rgba(238, 232, 220, .08);
}

html[data-theme="dark"] .precio-variante {
    border-bottom-color: rgba(238, 232, 220, .1);
}

html[data-theme="dark"] .sabores-producto {
    background: #050505;
    border-color: rgba(216, 226, 219, .14);
}

html[data-theme="dark"] .sabor-chip,
html[data-theme="dark"] .sabor-te {
    color: #eee8dc !important;
    background: #141414;
    border-color: rgba(216, 226, 219, .16);
}

html[data-theme="dark"] footer {
    background: #050605 !important;
}

@media (max-width: 420px) {
    .tema-switch {
        top: 10px;
        right: 10px;
        padding: 6px 8px;
    }

    .tema-switch-texto {
        display: none;
    }
}

/* Tema oscuro clásico original */

html[data-theme="dark"] body {
    color: #fff;
    background: #121212;
}

html[data-theme="dark"] main > header {
    background:
        radial-gradient(circle at 50% 0, rgba(212, 175, 55, .18), transparent 52%),
        linear-gradient(145deg, #242424 0%, #161616 70%);
    border: 1px solid rgba(212, 175, 55, .28);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .32);
}

html[data-theme="dark"] main > header h1,
html[data-theme="dark"] main > header .text-warning {
    color: #ffc107 !important;
}

html[data-theme="dark"] .categoria-nav {
    background: rgba(18, 18, 18, .96);
    border-bottom-color: rgba(212, 175, 55, .16);
}

html[data-theme="dark"] .btn-warning {
    color: #000;
    background: #ffc107;
    border-color: #ffc107;
}

html[data-theme="dark"] .btn-outline-warning {
    color: #ffc107;
    background: transparent;
    border-color: #ffc107;
}

html[data-theme="dark"] .btn-outline-warning:hover,
html[data-theme="dark"] .btn-outline-warning:focus {
    color: #000;
    background: #ffc107;
    border-color: #ffc107;
}

html[data-theme="dark"] .categoria-titulo,
html[data-theme="dark"] .subcategoria-hija-titulo {
    color: #fff;
    border-bottom-color: #444;
}

html[data-theme="dark"] .categoria-titulo::before,
html[data-theme="dark"] .producto-card::before {
    background: linear-gradient(transparent, #d4af37, transparent);
}

html[data-theme="dark"] .subcategoria-titulo {
    color: #ffc107;
    border-bottom-color: rgba(255, 193, 7, .35);
}

html[data-theme="dark"] .producto-card {
    background: #1e1e1e;
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
}

html[data-theme="dark"] .card-title,
html[data-theme="dark"] .producto-info h5 {
    color: #fff;
}

html[data-theme="dark"] .producto-info p,
html[data-theme="dark"] .precio-variante span,
html[data-theme="dark"] .bloque-categoria > .text-secondary,
html[data-theme="dark"] main > .text-center .text-secondary {
    color: #cfcfcf !important;
}

html[data-theme="dark"] .producto-foto {
    background: #2b2b2b;
    border-color: transparent;
}

html[data-theme="dark"] .text-success,
html[data-theme="dark"] .precio-variante strong {
    color: #d4af37 !important;
}

html[data-theme="dark"] .precio-variante {
    border-bottom-color: #333;
}

html[data-theme="dark"] .sabores-producto {
    background: #181818;
    border-color: #444;
}

html[data-theme="dark"] .sabores-titulo,
html[data-theme="dark"] .sabores-producto > strong {
    color: #ffc107 !important;
}

html[data-theme="dark"] .sabor-chip,
html[data-theme="dark"] .sabor-te {
    color: #fff !important;
    background: #2a2a2a;
    border-color: #666;
}

html[data-theme="dark"] .volver-arriba {
    color: #000;
    background: #d4af37;
}

html[data-theme="dark"] footer {
    color: #f8f9fa !important;
    background: #212529 !important;
}

/* Tema claro — Hostería cordillerana */

html[data-theme="light"] body {
    color: #292b27;
    background-color: #eee8dc;
    background-image:
        linear-gradient(rgba(255, 255, 255, .34), rgba(255, 255, 255, .34)),
        radial-gradient(circle at 12% 12%, rgba(48, 78, 63, .055) 0 1px, transparent 1.5px),
        radial-gradient(circle at 88% 72%, rgba(167, 91, 58, .045) 0 1px, transparent 1.5px);
    background-size: auto, 30px 30px, 38px 38px;
}

html[data-theme="light"] main > header {
    background:
        radial-gradient(ellipse at 50% 0, rgba(255, 255, 255, .14), transparent 58%),
        linear-gradient(145deg, #3d6150, #213a2e 72%);
    border: 1px solid rgba(255, 255, 255, .32);
    box-shadow: 0 16px 38px rgba(38, 60, 50, .2);
}

html[data-theme="light"] main > header::after {
    height: 2px;
    background: linear-gradient(90deg, transparent, #d9a07f, transparent);
}

html[data-theme="light"] main > header h1,
html[data-theme="light"] main > header .text-warning {
    color: #f3c5a8 !important;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .14);
}

html[data-theme="light"] main > header .text-light {
    color: #fffdf8 !important;
}

html[data-theme="light"] main > header .text-secondary {
    color: #e5ddd2 !important;
}

html[data-theme="light"] .categoria-nav {
    padding: 11px 5px;
    background: rgba(238, 232, 220, .93);
    border-bottom: 1px solid rgba(38, 60, 50, .17);
    box-shadow: 0 8px 18px rgba(48, 43, 34, .05);
}

html[data-theme="light"] .btn-warning {
    color: #fff;
    background: #304e3f;
    border-color: #304e3f;
    box-shadow: 0 5px 13px rgba(48, 78, 63, .2);
}

html[data-theme="light"] .btn-outline-warning {
    color: #304e3f;
    background: rgba(255, 252, 246, .72);
    border-color: rgba(48, 78, 63, .42);
}

html[data-theme="light"] .btn-outline-warning:hover,
html[data-theme="light"] .btn-outline-warning:focus {
    color: #fff;
    background: #3e604f;
    border-color: #3e604f;
}

html[data-theme="light"] .categoria-titulo {
    color: #294637;
    border-bottom-color: rgba(48, 78, 63, .2);
}

html[data-theme="light"] .categoria-titulo::before {
    background: linear-gradient(#c97955, #9d4f32);
    box-shadow: 0 3px 10px rgba(167, 91, 58, .18);
}

html[data-theme="light"] .subcategoria-titulo {
    color: #a95435;
    border-bottom-color: rgba(169, 84, 53, .23);
}

html[data-theme="light"] .producto-card {
    background: rgba(255, 253, 248, .92);
    border: 1px solid rgba(48, 78, 63, .11);
    box-shadow: 0 7px 19px rgba(58, 51, 41, .08);
}

html[data-theme="light"] .producto-card::before {
    background: linear-gradient(transparent, #b8613f, transparent);
}

html[data-theme="light"] .producto-card:hover {
    border-color: rgba(48, 78, 63, .25);
    box-shadow: 0 14px 30px rgba(58, 51, 41, .14);
}

html[data-theme="light"] .card-title,
html[data-theme="light"] .producto-info h5 {
    color: #252a26;
}

html[data-theme="light"] .producto-info p,
html[data-theme="light"] .precio-variante span {
    color: #68685f;
}

html[data-theme="light"] .producto-foto {
    background: linear-gradient(145deg, #e9e1d3, #ded4c3);
    border: 1px solid rgba(48, 78, 63, .09);
}

html[data-theme="light"] .sin-foto {
    color: #59554e;
}

html[data-theme="dark"] .sin-foto {
    color: #d0d0d0;
}

html[data-theme="light"] .text-success,
html[data-theme="light"] .precio-variante strong {
    color: #aa5638 !important;
}

html[data-theme="light"] .sabores-producto {
    background: #eee7da;
    border-color: rgba(48, 78, 63, .14);
}

html[data-theme="light"] .sabor-chip,
html[data-theme="light"] .sabor-te {
    color: #343630 !important;
    background: #fffdf8;
    border-color: rgba(48, 78, 63, .16);
}

html[data-theme="light"] .sabor-te strong {
    color: #28332c;
}

html[data-theme="light"] .sabor-te span {
    color: #5e625d;
}

html[data-theme="light"] .volver-arriba {
    color: #fff;
    background: #304e3f;
    box-shadow: 0 7px 18px rgba(48, 78, 63, .25);
}

html[data-theme="light"] footer {
    color: rgba(255, 255, 255, .78) !important;
    background: #21382d !important;
}

.aviso-alcohol {
    margin: 0 auto 1.25rem;
    text-align: center;
}

.aviso-alcohol img {
    display: block;
    width: min(100%, 320px);
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 7px 18px rgba(0, 0, 0, .14);
}

@media (max-width: 576px) {
    .aviso-alcohol img {
        width: min(100%, 230px);
    }
}
#banner-consentimiento{

    position:fixed;

    bottom:20px;

    left:20px;

    right:20px;

    background:#263c32;

    color:white;

    padding:20px;

    border-radius:12px;

    z-index:9999;

    box-shadow:0 5px 20px rgba(0,0,0,.3);

}


#banner-consentimiento button{

    border:none;

    padding:10px 18px;

    margin-right:10px;

    border-radius:8px;

    cursor:pointer;

}


#btn-aceptar-consentimiento{

    background:#ffc107;

}


#btn-rechazar-consentimiento{

    background:#666;

    color:white;

}
