/* ============================================================
   EL REFUGIO - HOJA DE ESTILOS GENERAL
   Identidad visual: grafito, dorado y tipografía elegante.
   ============================================================ */

/* 1. VARIABLES DEL DISEÑO */
:root {
   color-scheme: dark;
   --bg: #242321;
   --bg2: #302e2a;
   --panel: #312f2c;
   --panel2: #3b3833;
   --panel3: #46423c;
   --gold: #c5a273;
   --gold-light: #e2c394;
   --gold-dark: #9e7a49;
   --text: #f3eee5;
   --muted: #b9b0a5;
   --soft: #93897e;
   --border: rgba(221, 192, 143, .20);
   --line: rgba(250, 234, 211, .10);
   --danger: #ffc8bc;
   --shadow: 0 20px 60px rgba(0, 0, 0, .22);
   --radius: 20px;
   --sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
   --serif: Georgia, "Times New Roman", serif;
}

/* 2. ESTILOS GENERALES */
* {
   box-sizing: border-box;
}
html {
   scroll-behavior: smooth;
}
body {
   margin: 0;
   min-height: 100vh;
   background: var(--bg);
   color: var(--text);
   font-family: var(--sans);
   font-size: 14px;
   line-height: 1.55;
}
button,
input,
select,
textarea {
   font: inherit;
}
button {
   cursor: pointer;
}
button:disabled {
   cursor: not-allowed;
   opacity: .64;
}
a {
   color: inherit;
}
img {
   max-width: 100%;
   display: block;
}
h1,
h2,
h3,
h4,
p {
   margin: 0;
}
.hidden {
   display: none !important;
}
:focus-visible {
   outline: 2px solid var(--gold-light);
   outline-offset: 3px;
}
::selection {
   background: var(--gold);
   color: #201d18;
}
.muted {
   color: var(--muted);
}
.eyebrow {
   font-size: 10px;
   letter-spacing: .24em;
   font-weight: 750;
   color: var(--gold);
   text-transform: uppercase;
}
.tiny-diamond {
   width: 5px;
   height: 5px;
   display: inline-block;
   background: var(--gold);
   transform: rotate(45deg);
   margin: 0 7px 2px;
}

/* 3. BOTONES Y CONTROLES REUTILIZABLES */
.btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 18px;
   text-decoration: none;
   border-radius: 14px;
   border: 1px solid transparent;
   padding: 13px 20px;
   font-weight: 750;
   letter-spacing: .015em;
   min-height: 48px;
   transition: filter .2s, transform .2s, background .2s;
}
.btn:hover:not(:disabled) {
   filter: brightness(1.07);
   transform: translateY(-1px);
}
.btn:active:not(:disabled) {
   transform: translateY(0);
}
.btn-gold {
   background: linear-gradient(115deg, #a98450 0%, #d4b37f 52%, #bc975f 100%);
   color: #211d18;
   box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn-block {
   width: 100%;
}
.btn-large {
   min-height: 57px;
}
.btn-outline {
   border-color: var(--gold);
   background: transparent;
   color: var(--text);
}
.btn-ghost {
   border-color: var(--border);
   background: rgba(0, 0, 0, .13);
   color: var(--gold-light);
}
.text-button,
.small-inline {
   border: 0;
   background: none;
   color: var(--gold-light);
   padding: 8px 3px;
}
.small-inline {
   align-self: flex-end;
   color: var(--muted);
   font-size: 12px;
}
.icon-button {
   border: 1px solid var(--border);
   border-radius: 50%;
   background: rgba(0, 0, 0, .1);
   color: var(--gold-light);
   display: grid;
   place-items: center;
   width: 40px;
   height: 40px;
   font-size: 20px;
}

/* 4. PORTADA Y PANTALLA DE BIENVENIDA */
.welcome-screen {
   isolation: isolate;
   min-height: 100svh;
   display: grid;
   place-items: center;
   position: relative;
   overflow: hidden;
   padding: 40px 23px;
   background:
      radial-gradient(ellipse 90% 43% at 51% 37%, #414039 0%, transparent 75%),
      linear-gradient(170deg, #252422 1%, #292724 52%, #1d1c1a 100%);
}
.welcome-screen::before {
   content: "";
   position: absolute;
   inset: 19px;
   border: 1px solid rgba(215, 185, 137, .20);
   border-radius: 6px;
   pointer-events: none;
}
.welcome-screen::after {
   content: "✦";
   position: absolute;
   bottom: 37px;
   left: 50%;
   transform: translateX(-50%);
   font-size: 10px;
   color: var(--gold-dark);
}
.welcome-halo {
   position: absolute;
   width: min(86vw, 500px);
   aspect-ratio: 1;
   top: 12%;
   left: 50%;
   transform: translateX(-50%);
   border-radius: 50%;
   border: 1px solid rgba(222, 189, 136, .10);
   box-shadow:
      0 0 0 26px rgba(210, 166, 99, .025),
      0 0 0 58px rgba(210, 166, 99, .02);
   z-index: -1;
}
.welcome-content {
   width: min(100%, 415px);
   text-align: center;
   display: flex;
   flex-direction: column;
   align-items: center;
}
.welcome-eyebrow {
   margin-bottom: 54px;
   font-size: 10px;
}
.emblem {
   height: 108px;
   width: 108px;
   border: 1px solid rgba(221, 192, 143, .60);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   position: relative;
   margin-bottom: 25px;
   background: linear-gradient(145deg, rgba(191, 152, 96, .10), transparent);
}
.emblem::before,
.emblem::after {
   content: "";
   position: absolute;
   width: 35px;
   height: 1px;
   background: var(--gold);
   top: 50%;
}
.emblem::before {
   right: calc(100% + 14px);
}
.emblem::after {
   left: calc(100% + 14px);
}
.emblem-core {
   font-family: var(--serif);
   font-size: 66px;
   font-style: italic;
   line-height: 1;
   color: var(--gold-light);
}
.emblem-top,
.emblem-bottom {
   position: absolute;
   left: 50%;
   width: 7px;
   height: 7px;
   background: var(--gold);
   transform: translateX(-50%) rotate(45deg);
}
.emblem-top {
   top: -4px;
}
.emblem-bottom {
   bottom: -4px;
}
.welcome-title {
   font-family: var(--serif);
   font-size: clamp(51px, 11vw, 77px);
   font-weight: 400;
   letter-spacing: -.055em;
   line-height: 1.05;
   white-space: nowrap;
}
.welcome-title em {
   font-weight: 400;
   color: var(--gold-light);
}
.welcome-tagline {
   margin-top: 16px;
   letter-spacing: .30em;
   text-transform: uppercase;
   color: var(--gold);
   font-size: 10px;
   font-weight: 700;
}
.welcome-description {
   font-size: 15px;
   color: #cdc5ba;
   line-height: 1.8;
   margin: 36px 0 40px;
   max-width: 330px;
}
.welcome-content .btn-large {
   max-width: 345px;
   padding-left: 34px;
}
.welcome-content .btn-large span {
   margin-left: auto;
   font-size: 21px;
   font-weight: 400;
}
.welcome-login {
   margin-top: 16px;
   color: var(--text);
   text-decoration: underline;
   text-decoration-color: var(--gold-dark);
   text-underline-offset: 6px;
}
.welcome-foot {
   margin-top: 65px;
   color: #9b9387;
   font-size: 9px;
   letter-spacing: .17em;
}

/* 5. INICIO DE SESIÓN Y REGISTRO */
.auth-screen {
   min-height: 100svh;
   display: grid;
   place-items: center;
   padding: 34px 18px;
   background: radial-gradient(circle at 52% 5%, #434037 0, transparent 46%), #242321;
}
.auth-card {
   width: min(100%, 440px);
   padding: 25px clamp(22px, 5vw, 37px) 32px;
   border: 1px solid var(--border);
   border-radius: 24px;
   background: linear-gradient(155deg, #34312d, #252420 66%);
   box-shadow: var(--shadow);
   position: relative;
}
.back-control {
   position: absolute;
   left: 20px;
   top: 22px;
   border: 0;
   font-size: 28px;
}
.auth-identity {
   display: flex;
   align-items: center;
   gap: 11px;
   justify-content: center;
   margin: 25px auto 30px;
}
.auth-mark {
   font-family: var(--serif);
   font-size: 29px;
   line-height: 1;
   width: 43px;
   height: 43px;
   display: grid;
   place-items: center;
   border: 1px solid var(--gold);
   border-radius: 50%;
   color: var(--gold-light);
   font-style: italic;
}
.auth-brand {
   font: italic 26px var(--serif);
   display: block;
   line-height: 1.05;
}
.auth-subtitle {
   display: block;
   letter-spacing: .35em;
   color: var(--gold);
   font-size: 8px;
   margin-top: 6px;
}
.auth-card > .eyebrow {
   text-align: center;
}
.auth-card > h2 {
   font: normal 30px var(--serif);
   text-align: center;
   margin: 7px 0;
}
.auth-card > .muted {
   text-align: center;
   font-size: 12px;
   line-height: 1.65;
}
.seg-tabs {
   display: grid;
   grid-template-columns: 1fr 1fr;
   background: #24231f;
   padding: 5px;
   border: 1px solid var(--line);
   border-radius: 13px;
   margin: 27px 0 22px;
}
.seg {
   border: 0;
   background: transparent;
   color: var(--muted);
   padding: 10px 5px;
   border-radius: 9px;
   font-weight: 700;
   font-size: 12px;
}
.seg.active {
   background: #4b4439;
   color: var(--gold-light);
}
.field-stack {
   display: flex;
   flex-direction: column;
   gap: 14px;
}
.field-stack label,
.two-fields label {
   display: grid;
   gap: 7px;
   font-size: 12px;
   color: #d5ccbd;
}
.field-stack input,
.two-fields select,
.select-label + select,
.admin-form input,
.admin-form select,
.admin-form textarea {
   height: 49px;
   width: 100%;
   border: 1px solid rgba(199, 164, 115, .21);
   background: #272522;
   color: var(--text);
   border-radius: 11px;
   padding: 0 14px;
   outline: none;
}
.field-stack input:focus,
.two-fields select:focus,
.select-label + select:focus {
   border-color: var(--gold);
}
input::placeholder {
   color: #8b8479;
}
.pass-wrap {
   display: block;
   position: relative;
}
.pass-wrap input {
   padding-right: 57px;
}
.reveal {
   position: absolute;
   right: 9px;
   top: 7px;
   height: 35px;
   border: 0;
   background: transparent;
   color: var(--gold-light);
   padding: 0 9px;
   font-size: 11px;
}
.auth-separator {
   display: flex;
   align-items: center;
   gap: 10px;
   margin: 25px 0 17px;
   color: var(--soft);
   font-size: 9px;
   letter-spacing: .12em;
   white-space: nowrap;
}
.auth-separator::before,
.auth-separator::after {
   content: "";
   flex: 1;
   height: 1px;
   background: var(--border);
}
.google-button {
   position: relative;
   font-size: 13px;
}
.google-g {
   font-size: 21px;
   font-weight: 900;
   color: #d4a970;
}
.soon {
   margin-left: auto;
   font-size: 8px;
   letter-spacing: .07em;
   color: var(--gold);
}
.auth-note {
   text-align: center;
   color: var(--soft);
   font-size: 11px;
   line-height: 1.5;
   margin: 10px 0 19px;
}
.auth-card > .btn-ghost {
   margin-top: 9px;
}

/* 6. ESTRUCTURA PRINCIPAL Y NAVEGACIÓN */
.app {
   min-height: 100vh;
   background: linear-gradient(160deg, #2b2a27 0, #272623 320px, #252420 800px);
}
.app-header {
   position: sticky;
   top: 0;
   z-index: 15;
   background: rgba(34, 33, 30, .96);
   backdrop-filter: blur(18px);
   border-bottom: 1px solid var(--border);
}
.header-main {
   height: 79px;
   max-width: 1190px;
   margin: auto;
   padding: 0 28px;
   display: grid;
   grid-template-columns: 1fr auto 1fr;
   align-items: center;
}
.hamburger {
   display: flex;
   flex-direction: column;
   justify-content: center;
   gap: 6px;
   width: 43px;
   height: 43px;
   background: none;
   border: 0;
   padding: 9px;
}
.hamburger span {
   height: 2px;
   width: 25px;
   border-radius: 2px;
   background: var(--text);
}
.hamburger span:nth-child(2) {
   width: 19px;
}
.hamburger span:nth-child(3) {
   width: 23px;
}
.brand {
   border: 0;
   background: transparent;
   color: var(--text);
   display: flex;
   flex-direction: column;
   align-items: center;
   font: 31px/1 var(--serif);
   letter-spacing: -.04em;
}
.brand em {
   color: var(--gold-light);
}
.brand-small {
   font: 700 8px var(--sans);
   letter-spacing: .31em;
   color: var(--gold);
   margin-bottom: 7px;
}
.profile-action {
   justify-self: end;
   border: 0;
   background: transparent;
   color: var(--muted);
   display: flex;
   align-items: center;
   gap: 7px;
   font-size: 12px;
}
.profile-glyph {
   border: 1px solid var(--border);
   border-radius: 50%;
   width: 31px;
   height: 31px;
   display: grid;
   place-items: center;
   color: var(--gold);
   font-size: 18px;
}
.main-tabs {
   border-top: 1px solid var(--line);
   display: flex;
   justify-content: center;
}
.main-tabs button {
   background: transparent;
   color: var(--muted);
   border: 0;
   border-bottom: 2px solid transparent;
   font-family: var(--serif);
   font-size: 17px;
   padding: 12px 40px;
   min-width: 170px;
}
.main-tabs button.active {
   border-bottom-color: var(--gold);
   color: var(--gold-light);
}
.main-content {
   max-width: 1120px;
   padding: 37px 28px 65px;
   margin: auto;
   min-height: calc(100vh - 230px);
}
.section-heading {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin: 0 0 28px;
}
.section-heading h2 {
   font: normal clamp(38px, 5vw, 52px)/1.16 var(--serif);
   margin: 8px 0 9px;
   letter-spacing: -.025em;
}
.section-heading h2 em {
   font-weight: 400;
   color: var(--gold-light);
}
.section-heading .muted {
   font-size: 13px;
}
.section-flourish {
   font-family: var(--serif);
   font-size: 58px;
   color: rgba(212, 175, 121, .23);
}

/* 7. BÚSQUEDA Y FILTROS DE LA CARTA */
.catalog-tools {
   display: flex;
   justify-content: space-between;
   align-items: center;
   gap: 15px;
   margin-bottom: 21px;
}
.search-box {
   width: min(420px, 100%);
   position: relative;
   display: flex;
   align-items: center;
}
.search-box span {
   position: absolute;
   left: 16px;
   font-size: 28px;
   color: var(--gold);
   line-height: 1;
}
.search-box input {
   width: 100%;
   border: 1px solid var(--border);
   border-radius: 13px;
   background: #33312e;
   color: var(--text);
   padding: 12px 16px 12px 48px;
   height: 49px;
}
.menu-stats {
   color: var(--soft);
   font-size: 12px;
   white-space: nowrap;
}
.chips {
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
   margin-bottom: 28px;
}
.chip {
   border: 1px solid var(--border);
   border-radius: 999px;
   background: #37342f;
   color: #d0c4b4;
   padding: 9px 16px;
   font-size: 12px;
   font-weight: 650;
}
.chip.active {
   background: linear-gradient(135deg, #c5a273, #a98251);
   color: #25211d;
   border-color: transparent;
}
.inline-status {
   color: var(--gold-light);
   font-size: 13px;
}
.inline-status:not(:empty) {
   padding: 12px 0;
}

/* 8. TARJETAS DE PLATOS */
.dish-grid {
   display: grid;
   grid-template-columns: repeat(3, minmax(0, 1fr));
   gap: 18px;
}
.dish-card {
   background: linear-gradient(145deg, #393630, #2e2c28);
   border: 1px solid var(--border);
   border-radius: 19px;
   overflow: hidden;
   position: relative;
   min-width: 0;
   box-shadow: 0 9px 25px rgba(0, 0, 0, .11);
   transition: transform .2s, border-color .2s;
}
.dish-card:hover {
   transform: translateY(-3px);
   border-color: rgba(224, 183, 120, .55);
}
.dish-picture {
   height: 190px;
   background: radial-gradient(circle at 50% 48%, #5f5545, #36322c 69%);
   position: relative;
   overflow: hidden;
   display: grid;
   place-items: center;
}
.dish-picture::before {
   content: "";
   width: 128px;
   height: 128px;
   border: 8px solid rgba(227, 204, 169, .32);
   box-shadow:
      inset 0 0 0 2px rgba(36, 33, 29, .5),
      0 0 0 2px rgba(208, 181, 133, .10);
   border-radius: 50%;
   position: absolute;
}
.dish-picture::after {
   content: "✦";
   color: #bda781;
   position: relative;
   font-family: var(--serif);
   font-size: 46px;
   opacity: .72;
}
.dish-picture img {
   position: absolute;
   inset: 0;
   height: 100%;
   width: 100%;
   object-fit: cover;
   z-index: 1;
}
.dish-picture[data-category*="bebida" i] {
   background: radial-gradient(circle, #545042, #30332f);
}
.dish-body {
   padding: 17px 18px 19px;
}
.dish-category {
   font-size: 10px;
   letter-spacing: .13em;
   color: var(--gold);
   text-transform: uppercase;
}
.dish-title {
   font-family: var(--serif);
   font-size: 24px;
   font-weight: 400;
   line-height: 1.17;
   margin: 7px 0 8px;
   min-height: 27px;
}
.dish-desc {
   font-size: 12px;
   color: var(--muted);
   line-height: 1.6;
   min-height: 39px;
   display: -webkit-box;
   -webkit-line-clamp: 2;
   line-clamp: 2;
   -webkit-box-orient: vertical;
   overflow: hidden;
}
.dish-foot {
   display: flex;
   align-items: center;
   justify-content: space-between;
   border-top: 1px solid var(--line);
   margin-top: 16px;
   padding-top: 14px;
}
.dish-price {
   font-size: 14px;
   color: var(--gold-light);
   font-weight: 800;
}
.dish-open {
   height: 34px;
   width: 34px;
   display: grid;
   place-items: center;
   background: #514638;
   color: var(--gold-light);
   border: 1px solid var(--border);
   border-radius: 50%;
   font-size: 19px;
}
.dish-card > button {
   position: absolute;
   inset: 0;
   width: 100%;
   height: 100%;
   background: none;
   border: 0;
   z-index: 3;
   color: transparent;
   font-size: 0;
}
.dish-card > button:focus-visible {
   outline: 3px solid var(--gold-light);
   outline-offset: -4px;
   border-radius: 19px;
}

/* 9. FORMULARIO DE RECOMENDACIONES */
.reco-panel {
   max-width: 750px;
   margin: auto;
   border: 1px solid var(--border);
   border-radius: 22px;
   background: linear-gradient(160deg, #393631, #302d29);
   padding: clamp(22px, 4vw, 37px);
   box-shadow: var(--shadow);
}
.step-heading {
   display: flex;
   gap: 14px;
   align-items: center;
   margin-bottom: 20px;
}
.step-number {
   flex: none;
   font: italic 34px var(--serif);
   color: var(--gold);
   width: 45px;
}
.step-heading h3 {
   font: normal 24px var(--serif);
}
.step-heading p {
   color: var(--muted);
   font-size: 12px;
   margin-top: 2px;
}
.type-buttons {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 10px;
   margin-bottom: 23px;
}
.select-tile {
   cursor: pointer;
}
.select-tile input {
   position: absolute;
   opacity: 0;
}
.select-tile span {
   min-height: 88px;
   border: 1px solid var(--border);
   border-radius: 12px;
   background: rgba(255, 255, 255, .035);
   color: var(--gold-light);
   display: flex;
   flex-direction: column;
   gap: 4px;
   align-items: center;
   justify-content: center;
   font: 22px var(--serif);
   transition: all .2s;
}
.select-tile strong {
   color: var(--text);
   font: 650 12px var(--sans);
}
.select-tile input:checked + span {
   background: rgba(189, 148, 90, .20);
   border-color: var(--gold-light);
}
.select-tile input:focus-visible + span {
   outline: 2px solid var(--gold-light);
   outline-offset: 2px;
}
.select-label {
   display: block;
   color: #e6dbc9;
   font-size: 12px;
   margin-bottom: 7px;
}
.select-label + select {
   width: 100%;
   appearance: none;
   background-color: #282622;
}
.divider-ornament {
   display: flex;
   align-items: center;
   gap: 12px;
   justify-content: center;
   color: var(--gold);
   margin: 29px 0;
}
.divider-ornament::before,
.divider-ornament::after {
   content: "";
   flex: 1;
   height: 1px;
   background: var(--border);
}
.range-header {
   display: flex;
   justify-content: space-between;
   color: var(--muted);
   font-size: 13px;
   margin-top: 18px;
}
.range-header strong {
   color: var(--gold-light);
   font-size: 17px;
}
.reco-panel input[type=range] {
   width: 100%;
   accent-color: var(--gold);
   margin: 12px 0 3px;
   cursor: pointer;
}
.range-end {
   display: flex;
   justify-content: space-between;
   font-size: 11px;
   color: var(--soft);
}
.two-fields {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 13px;
   margin: 25px 0;
}
.two-fields select {
   color: var(--text);
}

/* Filtros alimentarios y advertencias de seguridad */
.filter-check {
   display: flex;
   gap: 11px;
   align-items: center;
   background: rgba(0, 0, 0, .14);
   border: 1px solid var(--border);
   padding: 16px;
   border-radius: 12px;
   cursor: pointer;
   margin: 0 0 24px;
}
.filter-check input {
   height: 18px;
   width: 18px;
   accent-color: var(--gold);
}
.filter-check strong,
.filter-check small {
   display: block;
   font-size: 12px;
}
.filter-check small {
   color: var(--soft);
   margin-top: 3px;
   font-size: 11px;
}
.diet-details {
   padding: 17px;
   margin: -12px 0 25px;
   border-radius: 12px;
   background: #292723;
   border: 1px solid var(--border);
}
.diet-details h4 {
   font-size: 12px;
   color: var(--gold-light);
   margin: 14px 0 7px;
}
.allergen-warning {
   font-size: 12px;
   color: #e7cbb4;
   line-height: 1.6;
}
.checkbox-grid {
   display: flex;
   flex-wrap: wrap;
   gap: 8px;
   max-height: 140px;
   overflow-y: auto;
}
.checkbox-grid label {
   font-size: 11px;
   display: flex;
   align-items: center;
   gap: 7px;
   padding: 6px 8px;
   background: #39352f;
   border-radius: 7px;
}
.checkbox-grid input {
   accent-color: var(--gold);
}
.form-footnote {
   font-size: 11px;
   text-align: center;
   color: var(--soft);
   max-width: 560px;
   margin: 13px auto 0;
}

/* 10. RESULTADOS DE RECOMENDACIÓN */
.result-section {
   max-width: 750px;
   margin: 34px auto 0;
}
.results-head {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 17px;
}
.results-head h3 {
   font: 28px var(--serif);
}
.results-head span {
   font-size: 12px;
   color: var(--muted);
}
.result-card,
.list-card {
   background: linear-gradient(150deg, #3c3832, #2e2c27);
   border: 1px solid var(--border);
   border-radius: 15px;
   padding: 19px;
   margin-bottom: 12px;
}
.result-card {
   display: grid;
   grid-template-columns: auto 1fr auto;
   gap: 15px;
   align-items: center;
}
.result-index {
   height: 44px;
   width: 44px;
   display: grid;
   place-items: center;
   border: 1px solid var(--gold);
   border-radius: 50%;
   font: italic 21px var(--serif);
   color: var(--gold-light);
}
.result-title {
   font: normal 22px var(--serif);
   margin-bottom: 4px;
}
.result-meta {
   font-size: 12px;
   color: var(--muted);
}
.result-score {
   font-size: 11px;
   color: var(--gold-light);
}
.result-price {
   font-weight: 800;
   white-space: nowrap;
   color: var(--gold-light);
   font-size: 16px;
}
.result-action {
   grid-column: 2/4;
   justify-self: end;
   padding: 8px 12px;
   border: 1px solid var(--gold);
   background: none;
   color: var(--gold-light);
   border-radius: 9px;
   font-weight: 650;
   font-size: 12px;
}
.result-action:disabled {
   opacity: .4;
}
.result-notes {
   margin: 14px 0;
   padding: 14px;
   border-left: 2px solid var(--gold);
   font-size: 12px;
   line-height: 1.65;
   color: var(--muted);
   background: rgba(0, 0, 0, .12);
}
.result-notes p + p {
   margin-top: 6px;
}

/* 11. HISTORIAL, SELECCIONES Y CUENTA */
.content-list {
   max-width: 760px;
   margin: auto;
}
.list-card h3 {
   font: normal 23px var(--serif);
   margin: 4px 0 12px;
}
.list-card p,
.list-card li {
   color: var(--muted);
   font-size: 13px;
}
.list-card ul {
   padding-left: 20px;
   margin: 7px 0;
}
.list-card li {
   padding: 3px 0;
}
.list-card .list-eyebrow {
   color: var(--gold);
   font-size: 11px;
   letter-spacing: .1em;
}
.empty {
   padding: 48px 22px;
   border: 1px dashed var(--border);
   border-radius: 17px;
   text-align: center;
   color: var(--muted);
   background: rgba(0, 0, 0, .08);
}
.empty-symbol {
   font: 44px var(--serif);
   color: var(--gold);
   display: block;
   margin-bottom: 10px;
}
.empty h3 {
   font: normal 24px var(--serif);
   color: var(--text);
   margin-bottom: 8px;
}
.empty .btn {
   margin-top: 20px;
}
.account-card {
   max-width: 580px;
   margin: auto;
   background: var(--panel);
   border: 1px solid var(--border);
   border-radius: 18px;
   padding: 30px;
}
.account-name {
   font: normal 29px var(--serif);
   margin: 12px 0;
}
.account-row {
   display: flex;
   justify-content: space-between;
   gap: 12px;
   border-top: 1px solid var(--line);
   padding: 13px 0;
}
.account-row span {
   color: var(--muted);
}
.account-card .btn {
   margin-top: 21px;
}

/* 12. PIE DE PÁGINA */
.site-footer {
   border-top: 1px solid var(--border);
   text-align: center;
   padding: 30px 20px 34px;
   background: #22211f;
}
.footer-brand {
   font: 25px var(--serif);
}
.footer-brand em {
   color: var(--gold);
}
.site-footer p {
   color: var(--gold-light);
   font: italic 16px var(--serif);
   margin: 8px 0;
}
.site-footer small {
   color: var(--soft);
   font-size: 10px;
}

/* 13. MENÚ LATERAL */
.drawer-shade,
.modal-shade {
   position: fixed;
   inset: 0;
   z-index: 60;
   background: rgba(0, 0, 0, .67);
   backdrop-filter: blur(3px);
}
.drawer {
   position: fixed;
   z-index: 65;
   top: 0;
   bottom: 0;
   left: 0;
   width: min(86vw, 340px);
   background: linear-gradient(155deg, #37332e, #25231f 75%);
   border-right: 1px solid var(--border);
   box-shadow: var(--shadow);
   transform: translateX(-110%);
   transition: transform .25s ease;
   display: flex;
   flex-direction: column;
}
.drawer.open {
   transform: translateX(0);
}
.drawer-top {
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 23px;
   border-bottom: 1px solid var(--border);
}
.drawer-brand {
   font: italic 29px var(--serif);
   color: var(--gold-light);
}
.drawer-brand small {
   display: block;
   font: 9px var(--sans);
   letter-spacing: .18em;
   color: var(--muted);
   margin-top: 7px;
}
.drawer-account {
   padding: 22px;
   border-bottom: 1px solid var(--line);
   color: var(--muted);
}
.drawer-account strong {
   display: block;
   color: var(--text);
   font: 23px var(--serif);
   margin-bottom: 5px;
}
.drawer-account p {
   font-size: 12px;
}
.drawer-account button {
   border: 0;
   background: none;
   color: var(--gold-light);
   padding: 9px 0;
   font-size: 12px;
   text-decoration: underline;
}
.drawer-links {
   display: grid;
   padding: 13px 10px;
}
.drawer-links button {
   display: flex;
   align-items: center;
   gap: 16px;
   padding: 17px;
   border: 0;
   background: transparent;
   color: var(--text);
   text-align: left;
   font-size: 18px;
}
.drawer-links button span {
   font-size: 13px;
}
.drawer-links button:hover {
   background: rgba(230, 193, 132, .08);
   border-radius: 9px;
}
.drawer-bottom {
   margin-top: auto;
   padding: 23px;
   border-top: 1px solid var(--line);
}
.drawer-bottom a {
   font-size: 12px;
   color: var(--gold-light);
   text-decoration: none;
}
.drawer-bottom p {
   color: var(--soft);
   font-size: 10px;
   margin-top: 16px;
}
.mobile-bottom {
   display: none;
}

/* 14. VENTANAS DE DETALLES Y NOTIFICACIONES */
.modal-shade {
   display: grid;
   place-items: center;
   padding: 18px;
}
.dish-modal {
   position: relative;
   max-width: 480px;
   width: 100%;
   max-height: min(90vh, 800px);
   overflow-y: auto;
   border: 1px solid var(--border);
   border-radius: 22px;
   background: #302d29;
   padding: 26px;
   box-shadow: var(--shadow);
}
.modal-close {
   position: absolute;
   top: 14px;
   right: 14px;
   border: 1px solid var(--border);
   background: #25231f;
   color: var(--text);
   border-radius: 50%;
   width: 35px;
   height: 35px;
}
.modal-title {
   font: normal 34px var(--serif);
   margin: 10px 40px 12px 0;
}
.modal-subtitle {
   color: var(--muted);
   font-size: 13px;
   line-height: 1.7;
   margin-bottom: 20px;
}
.variant-row {
   display: flex;
   justify-content: space-between;
   gap: 20px;
   border-top: 1px solid var(--line);
   padding: 14px 0;
}
.variant-row strong {
   color: var(--gold-light);
   white-space: nowrap;
}
.variant-row small {
   display: block;
   color: var(--muted);
   font-size: 11px;
}
.dish-modal .btn {
   margin-top: 18px;
}
.toast {
   position: fixed;
   z-index: 100;
   bottom: 30px;
   left: 50%;
   transform: translate(-50%, 30px);
   max-width: min(90vw, 450px);
   width: max-content;
   padding: 13px 18px;
   border-radius: 13px;
   border: 1px solid var(--gold-dark);
   background: #201f1c;
   color: var(--text);
   box-shadow: var(--shadow);
   opacity: 0;
   pointer-events: none;
   transition: all .25s;
   font-size: 13px;
   text-align: center;
}
.toast.visible {
   opacity: 1;
   transform: translate(-50%, 0);
}
.toast.error {
   border-color: #c57f6b;
   color: var(--danger);
}

/* 15. PANEL ADMINISTRATIVO */
.admin-shell {
   min-height: 100vh;
   background: #252420;
}
.admin-header {
   border-bottom: 1px solid var(--border);
   background: #2d2b27;
}
.admin-header-inner {
   max-width: 1180px;
   margin: auto;
   padding: 15px 28px;
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 15px;
}
.admin-header .footer-brand {
   font-size: 27px;
}
.admin-header small {
   display: block;
   color: var(--gold);
   font-size: 10px;
   letter-spacing: .16em;
   margin-top: 5px;
}
.admin-header a {
   text-decoration: none;
   color: var(--muted);
   font-size: 12px;
}
.admin-main {
   max-width: 1180px;
   margin: auto;
   padding: 35px 28px 80px;
}
.admin-main h1 {
   font: normal clamp(35px, 5vw, 48px) var(--serif);
}
.admin-main h1 em {
   color: var(--gold-light);
}
.admin-description {
   color: var(--muted);
   margin: 10px 0 27px;
}
.admin-login {
   max-width: 470px;
   margin: 55px auto;
   background: var(--panel);
   border: 1px solid var(--border);
   border-radius: 19px;
   padding: 28px;
}
.admin-login h2 {
   font: 29px var(--serif);
   margin: 10px 0 8px;
}
.admin-login p {
   color: var(--muted);
   font-size: 12px;
   margin-bottom: 20px;
}
.admin-metrics {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 13px;
   margin: 25px 0;
}
.metric {
   border: 1px solid var(--border);
   background: var(--panel);
   border-radius: 14px;
   padding: 20px;
}
.metric strong {
   display: block;
   font: 35px var(--serif);
   color: var(--gold-light);
}
.metric span {
   font-size: 12px;
   color: var(--muted);
}
.admin-toolbar {
   display: flex;
   justify-content: space-between;
   align-items: center;
   gap: 14px;
   margin: 27px 0 16px;
}
.admin-toolbar h2 {
   font: normal 26px var(--serif);
}

/* NUEVO: Buscador administrativo de platos */
.dish-search-wrap {
   display: grid;
   gap: 7px;
   width: 100%;
   max-width: 480px;
   margin: 16px 0 5px;
}
.dish-search-wrap label {
   color: var(--gold-light);
   font-size: 12px;
   font-weight: 650;
}
.dish-search-wrap input {
   width: 100%;
   height: 49px;
   padding: 12px 16px;
   background: #272522;
   color: var(--text);
   border: 1px solid var(--border);
   border-radius: 11px;
   transition: border-color .2s;
}
.dish-search-wrap input::placeholder {
   color: var(--soft);
}
.dish-search-wrap input:focus {
   outline: none;
   border-color: var(--gold-light);
}
.dish-search-wrap input:focus-visible {
   outline: 2px solid var(--gold-light);
   outline-offset: 2px;
}

/* Tablas administrativas */
.admin-table-wrap {
   overflow-x: auto;
   border-radius: 14px;
   border: 1px solid var(--border);
}
.admin-table {
   width: 100%;
   border-collapse: collapse;
   min-width: 620px;
}
.admin-table th,
.admin-table td {
   padding: 14px 15px;
   text-align: left;
   border-bottom: 1px solid var(--line);
   vertical-align: middle;
}
.admin-table th {
   font-size: 10px;
   letter-spacing: .1em;
   color: var(--gold-light);
   background: #37332d;
}
.admin-table td {
   font-size: 12px;
   color: #e6e0d6;
}
.admin-table tr:last-child td {
   border-bottom: 0;
}
.table-action {
   background: none;
   border: 1px solid var(--border);
   color: var(--gold-light);
   border-radius: 8px;
   padding: 7px 12px;
   margin: 3px;
   font-size: 11px;
}
.table-action.danger {
   color: #e2b5ad;
}

/* Formularios de administración */
.admin-editor {
   background: var(--panel);
   border: 1px solid var(--border);
   border-radius: 17px;
   padding: 23px;
   margin: 18px 0;
}
.admin-editor h3 {
   font: normal 26px var(--serif);
   margin-bottom: 15px;
}
.admin-form {
   display: grid;
   grid-template-columns: repeat(2, minmax(0, 1fr));
   gap: 13px;
}
.admin-form label {
   font-size: 12px;
   color: var(--muted);
   display: grid;
   gap: 6px;
}
.admin-form .span-2 {
   grid-column: 1/-1;
}
.admin-form textarea {
   height: 95px;
   resize: vertical;
   padding: 13px;
}
.admin-form .btn {
   grid-column: 1/-1;
}
.admin-variants {
   border-top: 1px solid var(--border);
   margin-top: 14px;
   padding-top: 20px;
}
.admin-message {
   padding: 14px;
   border-radius: 10px;
   background: #332e26;
   color: var(--gold-light);
   font-size: 12px;
}
.variant-form-title {
   margin-top: 25px;
}
.variant-actions {
   text-align: right;
}

/* 16. GUÍA GASTRONÓMICA E INGREDIENTES */
.menu-quickline {
   display: flex;
   justify-content: space-between;
   align-items: center;
   gap: 12px;
   margin: -8px 0 20px;
   color: var(--soft);
   font-size: 12px;
}
.menu-quickline .small-inline {
   color: var(--gold-light);
   white-space: nowrap;
   font-weight: 700;
}
.guide-grid {
   display: grid;
   grid-template-columns: repeat(2, minmax(0, 1fr));
   gap: 14px;
   align-items: start;
}
.guide-item {
   padding: 21px 21px 17px;
   background: linear-gradient(138deg, #383530, #302d29);
   border: 1px solid var(--border);
   border-radius: 16px;
   min-width: 0;
}
.guide-item h3 {
   font: normal 23px var(--serif);
   margin: 5px 0 15px;
   color: var(--text);
}
.guide-top {
   display: flex;
   align-items: center;
   justify-content: space-between;
}
.guide-seal {
   color: var(--gold);
   font: 20px var(--serif);
}
.recipe-details {
   border: 1px solid rgba(217, 182, 131, .19);
   border-radius: 12px;
   background: rgba(14, 13, 11, .13);
   margin: 8px 0;
   overflow: hidden;
}
.recipe-details summary {
   cursor: pointer;
   list-style: none;
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 10px;
   padding: 13px 14px;
   color: var(--gold-light);
   font-weight: 700;
   font-size: 13px;
}
.recipe-details summary::-webkit-details-marker {
   display: none;
}
.recipe-details summary::after {
   content: '+';
   color: var(--gold);
   font-size: 20px;
   font-weight: 400;
   margin-left: 5px;
}
.recipe-details[open] summary::after {
   content: '−';
}
.recipe-details summary span {
   font-size: 11px;
   font-weight: 400;
   color: var(--muted);
   text-align: right;
}
.recipe-content {
   padding: 0 14px 15px;
   border-top: 1px solid var(--line);
}
.recipe-content h4 {
   color: var(--gold-light);
   margin: 14px 0 4px;
   font-size: 11px;
   letter-spacing: .08em;
   text-transform: uppercase;
}
.recipe-content p {
   font-size: 12px;
   color: #d5cfc2;
   line-height: 1.65;
}
.recipe-caption {
   color: var(--muted);
   font-size: 12px;
   line-height: 1.6;
   margin: 9px 0;
}
.recipe-note {
   padding: 12px 14px;
   border-left: 2px solid var(--gold-dark);
   margin: 18px 0 8px;
   background: rgba(0, 0, 0, .1);
}
.recipe-group-title {
   font: normal 24px var(--serif);
   margin: 25px 0 7px;
   color: var(--gold-light);
}
.dish-variant .variant-row {
   padding: 13px 0;
}
.dish-variant .variant-row div strong {
   color: var(--text);
}
.dish-variant .recipe-details {
   margin: 0 0 13px;
}
.guide-safety {
   color: var(--muted);
   font-size: 11px;
   line-height: 1.65;
   margin: 23px 0;
   padding: 13px 14px;
   border-left: 2px solid var(--gold-dark);
   background: rgba(0, 0, 0, .08);
}
.result-secondary {
   grid-column: 2;
   justify-self: start;
   background: transparent;
   border: 0;
   text-align: left;
   color: var(--gold-light);
   text-decoration: underline;
   text-underline-offset: 4px;
   font-size: 12px;
   padding: 3px 0;
}
.result-card .result-action {
   grid-column: 3;
   justify-self: end;
   align-self: end;
}
.guide-button {
   border-bottom: 1px solid rgba(220, 184, 128, .48);
}

/* 17. CATÁLOGOS Y CONTEXTO ADMINISTRATIVO */
.admin-extra {
   margin-top: 34px;
}
.admin-pair-grid {
   display: grid;
   grid-template-columns: repeat(2, minmax(0, 1fr));
   gap: 15px;
}
.admin-pair-grid .admin-editor {
   margin: 0;
   min-width: 0;
}
.admin-pair-grid .admin-editor h3 {
   font-size: 24px;
}
.admin-pair-grid .admin-editor > label,
.context-editor > label {
   font-size: 12px;
   color: var(--muted);
   display: grid;
   gap: 7px;
}
.admin-wide-select {
   width: 100%;
   padding: 10px;
   background: var(--bg2);
   border: 1px solid var(--border);
   border-radius: 8px;
   color: var(--text);
   margin: 7px 0 12px;
}
.admin-wide-select[multiple] {
   max-width: 100%;
   min-height: 155px;
}
.admin-pair-grid .btn {
   margin-top: 15px;
}
.manage-checkboxes {
   max-height: 230px;
   overflow-y: auto;
   align-content: flex-start;
   align-items: flex-start;
   gap: 7px;
}
.manage-checkboxes label {
   max-width: 100%;
   background: #292723;
   border: 1px solid rgba(255, 255, 255, .06);
}
.context-editor {
   max-width: 850px;
}
.context-row {
   display: grid;
   grid-template-columns: 1fr 1fr 105px 36px;
   gap: 8px;
   margin: 9px 0;
   align-items: center;
}
.context-row select,
.context-row input {
   width: 100%;
   min-width: 0;
   height: 42px;
   color: var(--text);
   background: var(--bg2);
   border-radius: 8px;
   border: 1px solid var(--border);
   padding: 7px;
}
.context-row .table-action {
   height: 40px;
   padding: 4px;
}
.context-editor > .btn {
   margin: 12px 10px 3px 0;
}
.admin-editor .admin-form small {
   font-size: 11px;
   color: var(--soft);
}

/* 18. RESULTADOS ALTERNATIVOS */
.explore-panel {
   margin: 16px 0;
   padding: 22px 19px;
   border: 1px solid var(--border);
   border-radius: 16px;
   background: linear-gradient(155deg, #38352f, #292723);
}
.explore-panel > h3 {
   font: normal 27px var(--serif);
   margin: 8px 0 7px;
}
.explore-panel > p {
   font-size: 13px;
   color: var(--muted);
   line-height: 1.65;
   margin: 8px 0 19px;
}
.explore-panel > .btn {
   margin-top: 10px;
}
.explore-card {
   background: rgba(10, 10, 9, .13);
   margin-bottom: 10px;
}
.explore-card .result-score {
   color: var(--muted);
   line-height: 1.4;
}

/* 19. PRESUPUESTO Y CONSULTAS DE ADAPTACIÓN */
.budget-advice {
   border: 1px solid rgba(217, 180, 126, .38);
   border-radius: 19px;
   padding: 23px 19px;
   margin: 18px 0;
   background: linear-gradient(145deg, #413b32 0%, #302d29 63%, #282723 100%);
   box-shadow: inset 0 1px 0 rgba(250, 223, 181, .07);
}
.budget-advice h3 {
   font: normal 31px/1.15 var(--serif);
   margin: 10px 0 14px;
   color: var(--text);
}
.budget-advice > p {
   color: var(--muted);
   font-size: 13px;
   line-height: 1.7;
   margin: 0 0 17px;
}
.budget-advice > p strong {
   color: var(--gold-light);
}
.budget-advice-metrics {
   display: flex;
   justify-content: space-between;
   gap: 10px;
   padding: 14px 0 18px;
   margin-bottom: 12px;
   border-top: 1px solid var(--line);
   border-bottom: 1px solid var(--line);
}
.budget-advice-metrics span {
   display: flex;
   flex-direction: column;
   color: var(--muted);
   font-size: 11px;
   gap: 2px;
}
.budget-advice-metrics span:last-child {
   text-align: right;
}
.budget-advice-metrics strong {
   font-size: 17px;
   color: var(--gold-light);
}
.budget-advice .btn + .btn {
   margin-top: 10px;
}
.budget-note {
   font-size: 11px !important;
   color: var(--muted) !important;
   line-height: 1.6;
   margin: 13px 0 !important;
}
.drink-panel {
   margin-top: 17px;
}
.drink-panel .result-card {
   margin-bottom: 12px;
}
.adapt-shade {
   position: fixed;
   inset: 0;
   z-index: 90;
   background: rgba(0, 0, 0, .78);
   backdrop-filter: blur(5px);
   display: grid;
   place-items: center;
   padding: 14px;
}
.adapt-dialog {
   position: relative;
   width: min(100%, 510px);
   max-height: 92dvh;
   overflow-y: auto;
   background: linear-gradient(140deg, #3a3630, #252420);
   border: 1px solid rgba(225, 187, 130, .35);
   box-shadow: 0 26px 70px rgba(0, 0, 0, .45);
   padding: 31px 22px 24px;
   border-radius: 20px;
}
.adapt-dialog h2 {
   font: normal 31px/1.15 var(--serif);
   padding-right: 28px;
   margin: 12px 0;
}
.adapt-dialog .modal-close {
   top: 12px;
   right: 12px;
}
.adapt-intro {
   color: var(--muted);
   font-size: 12px;
   line-height: 1.6;
   margin-bottom: 16px;
}
.adapt-text {
   white-space: pre-line;
   color: var(--text);
   font-size: 13px;
   line-height: 1.75;
   padding: 17px 14px;
   background: #262420;
   border: 1px solid var(--border);
   border-radius: 12px;
   margin: 13px 0;
   overflow-wrap: anywhere;
}
.adapt-caution {
   font-size: 11px;
   color: var(--muted);
   line-height: 1.65;
   margin: 14px 0 17px;
   border-left: 2px solid var(--gold-dark);
   padding-left: 11px;
}
.adapt-dialog .btn + .btn {
   margin-top: 10px;
}

/* 20. DETALLE EXACTO DE LA RECOMENDACIÓN */
.choice-product {
   padding: 17px 15px;
   margin: 12px 0;
   border: 1px solid rgba(217, 182, 131, .28);
   border-radius: 15px;
   background: linear-gradient(145deg, #3b3731, #292723);
}
.choice-item-header {
   display: flex;
   gap: 11px;
   align-items: center;
   margin-bottom: 12px;
}
.choice-step {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 27px;
   height: 27px;
   border: 1px solid var(--gold-dark);
   border-radius: 50%;
   color: var(--gold-light);
   font-size: 11px;
}
.choice-item-row {
   display: flex;
   align-items: start;
   justify-content: space-between;
   gap: 10px;
}
.choice-item-row h3 {
   font: normal 23px/1.12 var(--serif);
   color: var(--text);
   margin: 0 0 6px;
}
.choice-item-row p {
   font-size: 12px;
   color: var(--muted);
   margin: 0;
}
.choice-price {
   font-size: 17px;
   color: var(--gold-light);
   white-space: nowrap;
}
.choice-ingredients {
   padding-top: 13px;
   margin-top: 15px;
   border-top: 1px solid var(--line);
}
.choice-ingredients h4 {
   font-size: 11px;
   font-weight: 750;
   letter-spacing: .06em;
   color: var(--gold-light);
   text-transform: uppercase;
   margin: 10px 0 5px;
}
.choice-ingredients p {
   font-size: 12px;
   line-height: 1.65;
   color: #d5cfc2;
   margin: 0 0 10px;
}
.choice-missing {
   font-size: 12px;
   line-height: 1.6;
   color: var(--muted);
   border-top: 1px solid var(--line);
   padding-top: 12px;
   margin-top: 14px;
}
.choice-total {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 12px;
   background: #26241f;
   padding: 16px;
   border: 1px solid var(--border);
   border-radius: 13px;
   margin: 17px 0 10px;
}
.choice-total span {
   font-size: 11px;
   letter-spacing: .08em;
   color: var(--muted);
}
.choice-total strong {
   font-size: 22px;
   color: var(--gold-light);
   white-space: nowrap;
}
.choice-price-warning {
   color: #e5be8b;
   font-size: 12px;
   line-height: 1.6;
}

/* 21. PREFERENCIAS DE BEBIDAS */
.drink-preferences {
   margin: 14px 0 5px;
   padding: 20px 17px;
   border: 1px solid rgba(221, 192, 143, .22);
   border-radius: 14px;
   background: linear-gradient(130deg, #3b3833, #2e2b27);
}
.drink-preferences h3 {
   font: normal 24px var(--serif);
   margin: 8px 0 14px;
}
.drink-prefs-grid {
   display: grid;
   grid-template-columns: repeat(2, minmax(0, 1fr));
   gap: 12px;
}
.drink-prefs-grid label {
   display: grid;
   gap: 6px;
   font-size: 12px;
   color: #d5ccbd;
   min-width: 0;
}
.drink-prefs-grid select {
   height: 47px;
   border-radius: 10px;
   border: 1px solid var(--border);
   background: #252421;
   color: var(--text);
   width: 100%;
   min-width: 0;
   padding: 0 10px;
}
.drink-prefs-note {
   font-size: 11px;
   line-height: 1.65;
   margin-top: 11px;
   color: var(--muted);
}
.drink-choice-note {
   margin: 13px 0;
   color: var(--muted);
   font-size: 12px;
   line-height: 1.6;
   background: rgba(8, 8, 8, .14);
   border-left: 2px solid var(--gold-dark);
   padding: 12px;
}
.drink-match-tag {
   display: inline-block;
   margin-top: 6px;
   font-size: 10px;
   color: var(--gold-light);
   letter-spacing: .03em;
}

/* 22. REVISIÓN DE FILTROS Y PREFERENCIAS */
.filter-review-notice {
   border-left: 3px solid var(--gold);
   background: rgba(184, 141, 83, .10);
   border-radius: 4px 10px 10px 4px;
   padding: 12px 13px;
   margin-top: 17px;
   font-size: 12px;
   color: #ead7bc;
   line-height: 1.65;
}
.review-panel {
   padding: 20px 17px;
   margin: 14px 0;
   border: 1px solid rgba(221, 192, 143, .27);
   border-radius: 16px;
   background: linear-gradient(155deg, #3c3832, #2b2925);
}
.review-panel h3 {
   font: normal 26px var(--serif);
   margin: 7px 0 9px;
}
.review-panel p {
   color: var(--muted);
   font-size: 13px;
   line-height: 1.7;
   margin-bottom: 14px;
}
.review-panel .btn {
   margin-top: 7px;
}

/* ============================================================
   23. DISEÑO ADAPTABLE A DIFERENTES PANTALLAS
   ============================================================ */

/* Computadoras y pantallas grandes */
@media (min-width: 900px) {
   .main-content #sectionRecomendacion .section-heading {
      max-width: 750px;
      margin: 0 auto 29px;
   }
   .welcome-content {
      padding-top: 15px;
   }
}

/* Tabletas y teléfonos móviles */
@media (max-width: 700px) {
   .header-main {
      padding: 0 15px;
      height: 72px;
   }
   .brand {
      font-size: 28px;
   }
   .brand-small {
      font-size: 7px;
   }
   .profile-action #profileLabel {
      display: none;
   }
   .main-tabs button {
      flex: 1;
      min-width: 0;
      font-size: 17px;
      padding: 12px 8px;
   }
   .main-content {
      padding: 25px 17px 95px;
   }
   .section-heading {
      margin-bottom: 21px;
   }
   .section-heading h2 {
      font-size: 39px;
   }
   .section-flourish {
      font-size: 35px;
   }
   .catalog-tools {
      display: block;
   }
   .search-box {
      width: 100%;
   }
   .menu-stats {
      margin-top: 10px;
      text-align: right;
   }
   .chips {
      gap: 7px;
      flex-wrap: nowrap;
      overflow-x: auto;
      padding-bottom: 5px;
      margin-bottom: 20px;
      scrollbar-width: thin;
   }
   .chip {
      flex: none;
      padding: 8px 13px;
      font-size: 11px;
   }

  /* Carta en dispositivos móviles */
   .dish-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 11px;
   }
   .dish-picture {
      height: 132px;
   }
   .dish-picture::before {
      width: 83px;
      height: 83px;
      border-width: 5px;
   }
   .dish-picture::after {
      font-size: 28px;
   }
   .dish-body {
      padding: 13px 12px 14px;
   }
   .dish-title {
      font-size: 20px;
   }
   .dish-desc {
      font-size: 11px;
      min-height: 35px;
   }
   .dish-foot {
      margin-top: 12px;
      padding-top: 11px;
   }
   .dish-price {
      font-size: 12px;
   }
   .dish-open {
      width: 28px;
      height: 28px;
      font-size: 17px;
   }

  /* Recomendaciones en dispositivos móviles */
   .reco-panel {
      border-radius: 17px;
      padding: 19px 16px;
   }
   .step-heading h3 {
      font-size: 23px;
   }
   .type-buttons {
      gap: 7px;
   }
   .select-tile span {
      min-height: 80px;
   }
   .two-fields {
      gap: 9px;
   }
   .two-fields select {
      padding: 0 9px;
      font-size: 11px;
   }
   .result-card {
      grid-template-columns: auto 1fr;
      gap: 10px;
   }
   .result-price {
      grid-column: 2;
      justify-self: start;
   }
   .result-action {
      grid-column: 2;
   }
   .result-title {
      font-size: 20px;
   }
   .result-card .result-action {
      grid-column: 2;
      justify-self: start;
   }
   .result-secondary {
      grid-column: 2;
   }

  /* Navegación inferior para teléfonos */
   .footer-brand {
      font-size: 23px;
   }
   .site-footer {
      padding-bottom: 100px;
   }
   .mobile-bottom {
      position: fixed;
      z-index: 19;
      bottom: 0;
      left: 0;
      right: 0;
      display: flex;
      align-items: stretch;
      justify-content: space-around;
      background: rgba(36, 34, 31, .97);
      backdrop-filter: blur(14px);
      border-top: 1px solid var(--border);
      padding: 9px 4px max(9px, env(safe-area-inset-bottom));
   }
   .mobile-bottom button {
      border: 0;
      background: transparent;
      min-width: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 3px;
      color: var(--muted);
      font-size: 10px;
      flex: 1;
   }
   .mobile-bottom button span {
      font-size: 21px;
      line-height: 1.3;
      color: var(--gold-light);
   }
   .mobile-bottom button.active {
      color: var(--gold-light);
   }

  /* Panel administrativo adaptable */
   .admin-main {
      padding: 25px 17px 65px;
   }
   .admin-header-inner {
      padding: 14px 17px;
   }
   .admin-metrics {
      gap: 8px;
   }
   .metric {
      padding: 13px;
   }
   .metric strong {
      font-size: 28px;
   }
   .admin-toolbar {
      align-items: start;
      flex-direction: column;
   }
   .admin-form {
      grid-template-columns: 1fr;
   }
   .admin-form .span-2 {
      grid-column: auto;
   }
   .dish-search-wrap {
      max-width: 100%;
   }
   .admin-pair-grid {
      grid-template-columns: 1fr;
   }
   .context-row {
      grid-template-columns: 1fr 1fr;
   }
   .context-row input {
      grid-column: 1;
   }
   .context-row button {
      justify-self: start;
   }

  /* Guía gastronómica adaptable */
   .guide-grid {
      grid-template-columns: 1fr;
      gap: 10px;
   }
   .guide-item {
      padding: 16px;
   }
   .guide-item h3 {
      font-size: 22px;
   }
   .menu-quickline {
      align-items: flex-start;
   }
   .menu-quickline span {
      max-width: 55%;
   }

  /* Resultados y presupuesto */
   .explore-panel {
      padding: 18px 12px;
   }
   .explore-card {
      padding: 14px 11px;
   }
   .budget-advice {
      padding: 19px 14px;
   }
   .budget-advice h3 {
      font-size: 27px;
   }
   .adapt-dialog {
      padding: 25px 16px 18px;
   }
   .choice-product {
      padding: 15px 12px;
   }
   .choice-item-row h3 {
      font-size: 21px;
   }
   .choice-total strong {
      font-size: 19px;
   }
}

/* Pantallas de tamaño reducido */
@media (max-width: 400px) {
   .drink-prefs-grid {
      grid-template-columns: 1fr;
   }
}
@media (max-width: 370px) {
   .brand {
      font-size: 25px;
   }
   .dish-picture {
      height: 112px;
   }
   .dish-title {
      font-size: 18px;
   }
   .section-heading h2 {
      font-size: 34px;
   }
   .profile-glyph {
      width: 29px;
      height: 29px;
   }
   .welcome-title {
      font-size: 50px;
   }
}

/* 24. ACCESIBILIDAD: MOVIMIENTO REDUCIDO */
@media (prefers-reduced-motion: reduce) {
   *,
   *::before,   
   *::after {
   scroll-behavior: auto !important;
   transition: none !important;
   animation: none !important;
   }
}

/* ============================================================
   25. PREFERENCIAS DE INGREDIENTES Y SABORES
   ============================================================ */
.positive-preferences {
   display: grid;
   gap: 20px;
}
.preference-group {
   padding: 17px;
   background: rgba(0, 0, 0, .12);
   border: 1px solid var(--border);
   border-radius: 13px;
}
.preference-group h4 {
   font: normal 20px var(--serif);
   color: var(--gold-light);
   margin-bottom: 7px;
}
.preference-description {
   font-size: 12px;
   line-height: 1.6;
   margin-bottom: 14px;
}

/* Opciones de selección múltiple */
.positive-preferences .checkbox-grid {
   display: flex;
   flex-wrap: wrap;
   gap: 8px;
   max-height: none;
   overflow: visible;
}
.positive-preferences .checkbox-grid label {
   display: flex;
   align-items: center;
   gap: 8px;
   padding: 9px 12px;
   background: var(--panel2);
   color: var(--text);
   border: 1px solid var(--border);
   border-radius: 9px;
   font-size: 12px;
   cursor: pointer;
   transition: background .2s, border-color .2s;
}
.positive-preferences .checkbox-grid label:hover {
   border-color: var(--gold);
   background: var(--panel3);
}

/* Resalta los ingredientes y sabores seleccionados */
.positive-preferences .checkbox-grid label:has(input:checked) {
   background: rgba(197, 162, 115, .18);
   border-color: var(--gold);
   color: var(--gold-light);
}
.positive-preferences .checkbox-grid input {
   width: 15px;
   height: 15px;
   margin: 0;
   accent-color: var(--gold);
   cursor: pointer;
}
.preference-note {
   font-size: 11px;
   line-height: 1.65;
   text-align: center;
}

/* Adaptación a dispositivos móviles */
@media (max-width: 700px) {
   .positive-preferences {
      gap: 12px;
   }
   .preference-group {
      padding: 13px;
   }
   .preference-group h4 {
      font-size: 19px;
   }
   .positive-preferences .checkbox-grid {
      gap: 7px;
   }
   .positive-preferences .checkbox-grid label {
      padding: 8px 10px;
      font-size: 11px;
   }
}