/* ==========================================================================
   Hi Noodles Valencia — 1:1 Visual Match (Zero WP/Elementor bloat)
   ========================================================================== */

:root {
  --color-primary: #D9161D;
  --color-primary-dark: #B81218;
  --color-accent: #EBDFCC;
  --color-cream: #DDD8D4;
  --color-dark: #140609;
  --color-secondary: #000000;
  --color-text: #222222;
  --color-muted: #55504C;
  --color-white: #FFFFFF;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-forum: 'Forum', Georgia, serif;
  --font-serif-alt: 'Cormorant', Georgia, serif;
  --font-body: 'Work Sans', system-ui, -apple-system, sans-serif;

  --radius-card: 15px;
  --radius-pill: 999px;
  --transition: 0.25s ease;
  --container-max: 1180px;
  --header-height: 76px;
}

body.theme-christmas .hi-menu-hero-title,
body.theme-christmas .menu-section-title,
body.theme-christmas .cat-pill.is-active {
  color: #2B594C;
}

body.theme-christmas .cat-pill.is-active {
  border-bottom-color: #2B594C;
}

body.theme-christmas .hi-menu-hero-price,
body.theme-christmas .menu-section-subtitle {
  color: #B48A28;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-cream);
  background-image:
    url("/assets/img/brand/noise.png"),
    radial-gradient(ellipse at 50% 0%, rgba(255, 250, 245, 0.55) 0%, transparent 65%),
    radial-gradient(circle at 85% 30%, rgba(237, 28, 36, 0.03) 0%, transparent 45%);
  line-height: 1.55;
  overflow-x: hidden;
}

.strip-card,
.review-card,
.delivery-card,
.clean-form,
.mobile-drawer,
.navidad-popup-body,
.cookie-banner,
.cookie-modal-card {
  background-image: url("/assets/img/brand/noise.png");
}

/* Smooth Page, Modal & Scroll Entrance Animations */
@keyframes pageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes letterFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.ml2 .letter,
.ml3 .letter {
  display: inline-block;
  opacity: 0;
  animation: letterFade 1.2s ease-in-out forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes backdropFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

main {
  animation: pageFadeIn 0.35s ease-out both;
}

.page-banner {
  animation: fadeUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

dialog[open]::backdrop {
  animation: backdropFade 0.24s ease-out both;
}

dialog.dish-modal[open] .modal-card,
dialog.dish-modal[open] .modal-nav-btn,
dialog.cookie-modal[open] .cookie-modal-card,
#gal-modal[open] > div {
  animation: modalPop 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lang-menu:not([hidden]),
.a11y-panel:not([hidden]),
.cookie-banner {
  animation: fadeUp 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.dish-card,
.text-menu-row {
  animation: fadeUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  main,
  .page-banner,
  .reveal,
  .dish-card,
  .text-menu-row,
  .lang-menu,
  .a11y-panel,
  .cookie-banner,
  dialog[open]::backdrop,
  dialog[open] * {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2.5px solid var(--color-primary);
  outline-offset: 3px;
}

html.a11y-high-contrast :focus-visible {
  outline-color: #ffff00;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1, h2, h3, .font-display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  margin-top: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
}

/* ==========================================================================
   Header — Always Logo Left + Hamburger Right (Desktop & Mobile)
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 100;
  height: var(--header-height);
  background-color: transparent;
  color: var(--color-secondary);
}

.site-header--overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-color: transparent;
  color: var(--color-white);
}

.header-inner {
  height: 100%;
  width: 100%;
  max-width: 100%;
  padding-inline: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

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

/* White logo on Home overlay, Black logo on light #DDD8D4 interior pages */
.site-header:not(.site-header--overlay) .brand-logo img {
  filter: brightness(0);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  color: inherit;
  padding: 0;
}

.menu-toggle:hover {
  color: var(--color-primary);
}

/* Header Right Actions (Lang Dropdown + Hamburger) */
.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switcher {
  position: relative;
}

.lang-toggle-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: transparent;
  border: none;
  color: inherit;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.1rem 0.3rem;
  transition: color var(--transition);
}

.lang-toggle-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 40%;
  height: 1.5px;
  background-color: currentColor;
  border-radius: 50px;
  transform: translateX(-50%);
  transition: width 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.lang-toggle-btn:hover,
.lang-toggle-btn:focus-visible,
.lang-toggle-btn[aria-expanded="true"] {
  color: var(--color-primary);
}

.lang-toggle-btn:hover::after,
.lang-toggle-btn:focus-visible::after,
.lang-toggle-btn[aria-expanded="true"]::after {
  width: 100%;
  background-color: var(--color-primary);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 145px;
  background-color: var(--color-cream);
  color: var(--color-secondary);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  padding: 0.35rem;
  display: flex;
  flex-direction: column;
  z-index: 150;
}

.lang-menu[hidden] {
  display: none;
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 6px;
  padding: 0.45rem 0.7rem;
  font-size: 0.84rem;
  color: var(--color-secondary);
  text-align: left;
  transition: background-color var(--transition), color var(--transition);
}

.lang-option:hover {
  background-color: rgba(0, 0, 0, 0.06);
  color: var(--color-primary);
}

.lang-option.is-active {
  color: var(--color-primary);
  font-weight: 600;
}

.drawer-lang-row,
.footer-lang-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-top: 1.5rem;
}

.drawer-lang-row button,
.footer-lang-row button {
  background: transparent;
  border: none;
  border-bottom: 1.5px solid transparent;
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.15rem 0;
  transition: color var(--transition), border-color var(--transition);
}

.drawer-lang-row button:hover,
.drawer-lang-row button.is-active,
.footer-lang-row button:hover,
.footer-lang-row button.is-active {
  color: var(--color-white);
  border-bottom-color: var(--color-white);
  font-weight: 600;
}

/* Slide-out Drawer Menu */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: var(--color-primary);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  padding: 1.75rem 2rem;
  overflow-y: auto;
  max-height: 100dvh;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 768px) {
  .mobile-drawer {
    left: auto;
    width: min(440px, 100vw);
    padding: 2rem 2.5rem;
    box-shadow: -16px 0 48px rgba(0, 0, 0, 0.28);
  }
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.mobile-drawer [data-menu-close] {
  font-size: 2rem;
  line-height: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  color: var(--color-white);
  transition: background-color var(--transition), color var(--transition);
}

.mobile-drawer [data-menu-close]:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-family: var(--font-display);
  width: 100%;
}

.mobile-nav a {
  padding-block: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: color var(--transition), border-color var(--transition), padding-left var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] {
  color: var(--color-white);
  border-bottom-color: rgba(255, 255, 255, 0.78);
  padding-left: 0.5rem;
}

/* ==========================================================================
   Hero Slideshow (Home — 1:1 with screenshot)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  background-color: var(--color-dark);
  overflow: hidden;
  padding: calc(var(--header-height) + 2rem) 1.25rem 4rem;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1.2s ease, transform 6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.34);
}

.hero-pause-btn {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(20, 6, 9, 0.55);
  color: var(--color-white);
  font-size: 0.72rem;
  display: grid;
  place-items: center;
  backdrop-filter: blur(4px);
  transition: background-color var(--transition), border-color var(--transition);
}

.hero-pause-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(237, 28, 36, 0) 0%,
    rgba(237, 28, 36, 0.45) 55%,
    var(--color-primary) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--color-white);
}

.hero-subtitle {
  font-family: var(--font-serif-alt);
  font-style: italic;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  color: var(--color-white);
  margin: 0 0 2rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
}

.hero-link-btn {
  position: relative;
  background-color: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-white);
  padding: 0.25rem 0.15rem;
  border: none;
  transition: color var(--transition);
}

.hero-link-btn::after {
  content: "";
  position: absolute;
  width: 30%;
  height: 3px;
  background: var(--color-white);
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50px;
  transition: width 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.hero-link-btn:hover,
.hero-link-btn:focus {
  color: var(--color-primary);
}

.hero-link-btn:hover::after,
.hero-link-btn:focus::after {
  width: 80%;
  background: #B72B34;
}

@media (max-width: 640px) {
  .hero-actions {
    gap: 1.5rem;
  }
  .hero-link-btn {
    font-size: 15px;
  }
}

/* ==========================================================================
   Interior Page Header Banner
   ========================================================================== */
.page-banner {
  background-color: transparent;
  color: var(--color-secondary);
  padding: 1.5rem 0 1rem;
  text-align: center;
}

.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3rem);
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.page-banner .eyebrow {
  color: var(--color-muted) !important;
}

.page-banner p {
  font-family: var(--font-forum);
  color: var(--color-text);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.section {
  padding: 2rem 0 3.5rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.45rem;
}

/* ==========================================================================
   Carta & Hi Menu — 1:1 with screenshot (Centered tabs + 4-col grid)
   ========================================================================== */
.carta-controls {
  padding: 1rem 0 0.5rem;
  text-align: center;
}

.tab-switch {
  display: inline-flex;
  gap: 2.5rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
}

.tab-btn {
  border: none;
  background: transparent;
  padding: 0.25rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-primary);
  transition: color var(--transition);
}

.tab-btn.is-active {
  color: var(--color-secondary);
}

.tab-btn:hover {
  color: var(--color-secondary);
}

#tab-navidad {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #2B594C;
  transition: color var(--transition);
}

#tab-navidad[hidden] {
  display: none;
}

#tab-navidad.is-active,
#tab-navidad:hover {
  color: #1B3B32;
}

.menu-subcontrols {
  margin-top: 1.5rem;
  text-align: center;
}

.carta-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.search-box {
  position: relative;
  flex: 0 1 240px;
  width: 100%;
}

.search-box input {
  width: 100%;
  padding: 0.4rem 0.5rem 0.4rem 1.85rem;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 0;
  background-color: transparent;
  font-family: inherit;
  font-size: 0.86rem;
  color: var(--color-secondary);
}

.search-box input::placeholder {
  color: var(--color-muted);
}

.search-box input:focus {
  outline: none;
  border-bottom-color: var(--color-primary);
}

.search-icon {
  position: absolute;
  left: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted);
  pointer-events: none;
}

/* Editorial Category Bar */
.category-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem 1.35rem;
  min-height: 44px;
  padding: 0.55rem 0.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

@media (max-width: 640px) {
  .category-pills {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .category-pills::-webkit-scrollbar {
    display: none;
  }
}

.cat-pill {
  position: relative;
  flex-shrink: 0;
  border: none;
  background-color: transparent;
  color: var(--color-muted);
  padding: 0.3rem 0.1rem;
  font-family: var(--font-forum);
  font-size: 1rem;
  font-weight: 400;
  transition: color var(--transition);
}

.cat-pill::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0%;
  height: 2px;
  border-radius: 50px;
  background-color: var(--color-secondary);
  transform: translateX(-50%);
  transition: width 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.cat-pill:hover {
  color: var(--color-secondary);
}

.cat-pill:hover::after {
  width: 65%;
  background-color: var(--color-secondary);
}

.cat-pill.is-active {
  color: var(--color-primary);
}

.cat-pill.is-active::after {
  width: 100%;
  background-color: var(--color-primary);
}

body.theme-christmas .cat-pill.is-active::after {
  background-color: #2B594C;
}

/* Minimalist Allergen Exclusion Bar */
.allergen-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.2rem;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  background-color: transparent;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-secondary);
  transition: color var(--transition), border-color var(--transition);
}

.allergen-toggle-btn:hover,
.allergen-toggle-btn[aria-expanded="true"],
.allergen-toggle-btn.has-active {
  border-bottom-color: var(--color-primary);
  color: var(--color-primary);
}

.allergen-panel {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-6px);
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  text-align: center;
  transition:
    max-height 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.24s ease,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    margin-top 0.28s ease,
    padding-block 0.28s ease,
    border-color 0.24s ease;
}

.allergen-panel.is-open {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  max-height: 380px;
  opacity: 1;
  transform: translateY(0);
  border-top-color: rgba(0, 0, 0, 0.08);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.allergen-panel[hidden] {
  display: none;
}

.allergen-panel-title {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin: 0 0 0.55rem;
}

.allergen-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.85rem;
}

.allergen-chip {
  border: none;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--color-secondary);
  padding: 0.2rem 0.15rem;
  font-size: 0.82rem;
  font-weight: 500;
  transition: color var(--transition), border-color var(--transition);
}

.allergen-chip:hover {
  color: var(--color-primary);
}

.allergen-chip.is-excluded {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
  text-decoration: line-through;
  font-weight: 600;
}

.filter-status {
  margin-top: 0.65rem;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.filter-clear-btn {
  background: none;
  border: none;
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  margin-left: 0.4rem;
  padding: 0;
  font-size: 0.8rem;
}

.hi-menu-hero {
  text-align: center;
  padding: 2rem 1rem 0.5rem;
  max-width: 780px;
  margin: 0 auto;
}

.hi-menu-hero[hidden] {
  display: none;
}

.hi-menu-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 0.15rem;
}

.hi-menu-hero-price {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
}

.hi-menu-hero-unit {
  font-size: 0.52em;
  font-weight: 400;
  opacity: 0.85;
}

.hi-menu-hero-dates {
  font-weight: 600;
  font-size: 0.95rem;
  color: #2B594C;
  margin: 0 0 0.35rem;
}

.navidad-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin: 1.1rem 0 0.25rem;
}

.navidad-cta-btn {
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(217, 22, 29, 0.24);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.navidad-cta-btn:hover {
  transform: translateY(-2px);
}

.hi-menu-hero-note {
  margin: 0 0 0.25rem;
  font-size: 0.85rem;
  color: var(--color-primary);
  line-height: 1.45;
}

.hi-menu-hero-img {
  width: 360px;
  max-width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius-card);
  margin: 1.75rem auto 0;
}

#carta-root {
  min-height: 80vh;
}

/* Section Heading Centered in Red (#ED1C24) + 4-Column Grid */
.menu-section-block {
  margin-top: 2.25rem;
}

.menu-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: var(--color-primary);
  text-align: center;
  margin: 0 0 1.75rem;
}

.menu-section-title--with-sub {
  margin-bottom: 0.25rem;
}

.menu-section-subtitle {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  text-align: center;
  margin: 0 0 1.75rem;
}

.dishes-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 1.5rem;
}

.dishes-grid .dish-card {
  flex: 0 0 calc((100% - 4.5rem) / 4);
  max-width: calc((100% - 4.5rem) / 4);
}

/* Text-only Menu List (Bebidas, Cafés, Otros) */
.text-menu-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 3rem;
  max-width: 820px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .text-menu-list {
    grid-template-columns: 1fr;
  }
}

.text-menu-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.14);
}

.text-menu-name {
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--color-secondary);
}

.text-menu-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
}

.text-menu-list--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  max-width: 720px;
  margin: 0.75rem auto 0;
  text-align: center;
}

.text-menu-list--centered .text-menu-row {
  border-bottom: none;
  padding-bottom: 0;
  justify-content: center;
}

.text-menu-list--centered .text-menu-name {
  color: var(--color-primary);
  font-size: 1.05rem;
}

@media (max-width: 960px) {
  .dishes-grid .dish-card {
    flex: 0 0 calc((100% - 3rem) / 3);
    max-width: calc((100% - 3rem) / 3);
  }
}

@media (max-width: 640px) {
  .dishes-grid {
    gap: 1.35rem 0.9rem;
  }
  .dishes-grid .dish-card {
    flex: 0 0 calc((100% - 0.9rem) / 2);
    max-width: calc((100% - 0.9rem) / 2);
  }
}

/* Dish Card — 1:1 with screenshot */
.dish-card {
  display: flex;
  flex-direction: column;
}

.dish-media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-card);
  overflow: hidden;
  background-color: #cfc9c4;
  margin-bottom: 0.75rem;
}

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

.dish-fav-btn {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.88);
  color: var(--color-secondary);
  display: grid;
  place-items: center;
  backdrop-filter: blur(4px);
  opacity: 0.9;
  transition: transform var(--transition), background-color var(--transition), color var(--transition);
}

.dish-fav-btn:hover {
  transform: scale(1.1);
}

.dish-fav-btn.is-fav {
  background: var(--color-primary);
  color: var(--color-white);
  opacity: 1;
}

.dish-fav-btn.is-fav svg {
  fill: currentColor;
}

.dish-card:hover .dish-media img {
  transform: scale(1.03);
}

.dish-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.35rem;
}

.dish-title {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
  color: var(--color-primary);
  text-align: center;
}

.dish-footer {
  margin-top: auto;
  padding-top: 0.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
}

.dish-footer--centered {
  justify-content: center;
}

.dish-price {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--color-primary);
}

.dish-more-btn {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 0.76rem;
  font-weight: 400;
  color: var(--color-secondary);
  transition: color var(--transition);
}

.dish-more-btn:hover {
  color: var(--color-primary);
}

.dish-allergens {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.allergen-tag {
  font-size: 0.74rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  background-color: var(--color-cream);
  color: var(--color-text);
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-muted);
}

/* Dish Detail Modal (<dialog>) with External Prev/Next Arrows */
dialog.dish-modal {
  border: none;
  padding: 0;
  max-width: min(640px, 95vw);
  max-height: 92dvh;
  width: 100%;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

dialog.dish-modal[open] {
  position: fixed;
  inset: 0;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

dialog.dish-modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.modal-card {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 460px;
  max-height: 88dvh;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-card);
  background: var(--color-cream);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.modal-nav-btn {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(20, 6, 9, 0.85);
  color: var(--color-white);
  font-size: 1.7rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background-color var(--transition), transform var(--transition);
}

.modal-nav-btn:hover {
  background: var(--color-primary);
  transform: scale(1.06);
}

@media (max-width: 580px) {
  dialog.dish-modal[open] {
    flex-wrap: wrap;
    align-content: center;
    gap: 0.65rem 1.25rem;
  }
  .modal-card,
  .gal-modal-card {
    flex: 0 0 100%;
    max-width: 100%;
    max-height: 78dvh;
    order: 1;
  }
  .modal-nav-prev {
    order: 2;
  }
  .modal-nav-next {
    order: 3;
  }
  .modal-img-wrap {
    max-height: 200px;
  }

  dialog.gal-modal[open] {
    padding: 0 0.75rem;
  }
  dialog.gal-modal .gal-modal-card {
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: pan-y;
  }
  dialog.gal-modal .modal-nav-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    background: rgba(20, 6, 9, 0.72);
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  }
  dialog.gal-modal .modal-nav-btn:hover {
    transform: translateY(-50%) scale(1.06);
  }
  dialog.gal-modal .modal-nav-prev {
    left: 0.75rem;
  }
  dialog.gal-modal .modal-nav-next {
    right: 0.75rem;
  }
}

dialog.gal-modal {
  max-width: min(860px, 95vw);
}

.gal-modal-card {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 740px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-dark);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.gal-modal-card img {
  width: 100%;
  max-height: 82dvh;
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.75);
  color: var(--color-white);
  font-size: 1.25rem;
  display: grid;
  place-items: center;
}

.modal-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  max-height: 280px;
  flex-shrink: 0;
  background: #cfc9c4;
  overflow: hidden;
}

.modal-img-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 44px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(221, 216, 212, 0), var(--color-cream));
}

.modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-body {
  position: relative;
  overflow-y: auto;
  padding: 0.9rem 1.4rem 1.4rem;
  background-color: var(--color-cream);
  background-image:
    url("/assets/img/brand/noise.png"),
    radial-gradient(ellipse at 50% 0%, rgba(255, 250, 245, 0.5) 0%, transparent 70%);
}

.modal-header-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.9rem;
}

.modal-header-row::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-primary);
}

.modal-section-label {
  display: block;
  font-family: var(--font-forum);
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0.2rem;
}

.modal-body h3 {
  font-size: 1.45rem;
  color: var(--color-primary);
  margin: 0;
}

.modal-body h3:focus {
  outline: none;
}

.modal-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-secondary);
  white-space: nowrap;
}

.modal-header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.modal-icon-btns {
  display: flex;
  gap: 0.4rem;
}

.modal-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: rgba(255, 255, 255, 0.75);
  color: var(--color-secondary);
  display: grid;
  place-items: center;
  transition: all var(--transition);
}

.modal-icon-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.modal-icon-btn.is-fav {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.modal-icon-btn.is-fav svg {
  fill: currentColor;
}

.modal-share-feedback {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-primary);
}

.modal-block {
  margin-bottom: 0.9rem;
}

.modal-block:last-child {
  margin-bottom: 0;
}

.modal-block h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 0.25rem;
}

.modal-block p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-text);
  line-height: 1.45;
}

.modal-extras-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
}

.modal-extra-item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--color-text);
}

.modal-extra-price {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.84rem;
}

.modal-allergens-list {
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 400;
  color: var(--color-muted);
  line-height: 1.5;
}

.allergen-comma {
  color: var(--color-muted);
}

/* ==========================================================================
   Other Pages
   ========================================================================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 820px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.strip-card {
  background: #FBF8F4;
  border: 1px solid rgba(183, 43, 52, 0.12);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.strip-card h2 {
  font-size: 1.45rem;
  margin-bottom: 0.65rem;
}

.reserva-call-card {
  background: #FBF8F4;
  border: 2px solid rgba(237, 28, 36, 0.28);
  box-shadow: 0 14px 36px rgba(237, 28, 36, 0.1);
  padding: 2.5rem;
}

@keyframes reservaHalo {
  0%, 100% { box-shadow: 0 8px 22px rgba(237, 28, 36, 0.28), 0 0 0 0 rgba(237, 28, 36, 0.35); }
  50% { box-shadow: 0 10px 26px rgba(237, 28, 36, 0.38), 0 0 0 10px rgba(237, 28, 36, 0); }
}

.reserva-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: 1.15rem;
  padding: 0.95rem 1.85rem;
  white-space: nowrap;
  max-width: 100%;
  box-shadow: 0 8px 22px rgba(237, 28, 36, 0.28);
  animation: reservaHalo 2.6s ease-out infinite;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.reserva-call-btn:hover {
  transform: translateY(-2px);
}

@media (max-width: 819px) {
  .reserva-photo-col {
    display: none;
  }
}

.reserva-online-wrap {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.reserva-online-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-card);
  padding: 0.75rem;
  margin-top: 1rem;
  overflow: hidden;
}

.reserva-online-card iframe {
  display: block;
  width: 100%;
  min-height: 640px;
  border: 0;
}

@media (max-width: 640px) {
  .strip-card {
    padding: 1.5rem 1.25rem;
  }
  .reserva-call-card {
    padding: 1.5rem 1.25rem;
  }
  .reserva-call-btn {
    width: 100%;
    font-size: 1.02rem;
    padding: 0.85rem 1.15rem;
  }
  .reserva-online-card {
    padding: 0.25rem 0;
    margin-inline: -0.75rem;
    border-radius: 12px;
  }
}

.faq-item {
  border-bottom: 1px solid rgba(183, 43, 52, 0.12);
  padding: 0.85rem 0;
}

.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--color-secondary);
  list-style-position: inside;
  transition: color var(--transition);
}

.faq-item[open] summary,
.faq-item summary:hover {
  color: var(--color-primary);
}

.rounded-img {
  border-radius: var(--radius-card);
  width: 100%;
  object-fit: cover;
}

.reviews-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.review-card {
  flex: 1 1 300px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #FBF8F4;
  border: 1px solid rgba(183, 43, 52, 0.12);
  border-radius: var(--radius-card);
  padding: 1.65rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(183, 43, 52, 0.08);
}

.review-stars {
  color: #f59e0b;
  letter-spacing: 2px;
  margin-bottom: 0.65rem;
}

.review-author {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-secondary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0.9rem;
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }
  .gallery-item {
    border-radius: 10px;
  }
}

.gallery-item {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #cfc9c4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 820px;
  margin: 0 auto;
}

.delivery-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: #FBF8F4;
  border: 1px solid rgba(183, 43, 52, 0.14);
  border-radius: var(--radius-card);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.delivery-card:hover {
  transform: translateY(-4px);
  border-color: rgba(183, 43, 52, 0.35);
  box-shadow: 0 14px 34px rgba(183, 43, 52, 0.1);
}

.delivery-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.65rem;
}

.delivery-pickup-note {
  max-width: 820px;
  margin: 2rem auto 0;
  text-align: center;
  font-size: 0.94rem;
  color: var(--color-muted);
}

.delivery-pickup-note a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.clean-form {
  max-width: 620px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--color-primary);
  border-color: transparent;
}

/* ==========================================================================
   Footer (Red #ED1C24 with smooth top fade on all pages)
   ========================================================================== */
.site-footer {
  position: relative;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 3.5rem 0 2rem;
  margin-top: 5.5rem;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -120px;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(237, 28, 36, 0) 0%,
    rgba(237, 28, 36, 0.14) 38%,
    rgba(237, 28, 36, 0.45) 72%,
    var(--color-primary) 100%
  );
}

.hero ~ .site-footer,
main:has(.hero) ~ .site-footer {
  margin-top: 0;
}

main:has(.hero) ~ .site-footer::before {
  display: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-cream);
}

.footer-col h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-white);
  margin-bottom: 0.85rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.92rem;
}

.footer-col a {
  color: var(--color-white);
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--color-secondary);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.65rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: color 0.3s ease, transform 0.2s ease;
}

.footer-social a:hover {
  color: var(--color-secondary);
  transform: scale(1.1);
}

.footer-bottom {
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--color-white);
}

.footer-bottom a:hover,
.footer-cookie-btn:hover {
  color: var(--color-secondary);
}

.footer-cookie-btn {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: inline;
  line-height: inherit;
  transition: color 0.3s ease;
}

@media (max-width: 640px) {
  .site-footer {
    padding: 2.5rem 0 4.75rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1.25rem;
    padding-bottom: 1.5rem;
  }
  .footer-col:first-child {
    grid-column: 1 / -1;
  }
  .footer-col:last-child {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.35rem;
  }
  .footer-col:last-child h2,
  .footer-col:last-child .footer-social {
    margin-bottom: 0;
  }
}

@keyframes llama-vibrar {
  0%   { transform: scale(1) translate(0, 0); }
  25%  { transform: scale(1.05) translate(1px, -1px); }
  50%  { transform: scale(1.08) translate(-1px, 1px); }
  75%  { transform: scale(1.05) translate(1px, 1px); }
  100% { transform: scale(1) translate(0, 0); }
}

.llamar {
  display: inline-block;
  animation: llama-vibrar 0.35s linear infinite;
}

/* Christmas Home Popup */
dialog.navidad-popup {
  position: fixed;
  inset: 0;
  margin: 0;
  border: none;
  padding: 1rem;
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

dialog.navidad-popup[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.navidad-popup-snow {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  pointer-events: none;
  z-index: 0;
}

dialog.navidad-popup[open] .navidad-popup-card {
  animation: modalPop 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

dialog.navidad-popup::backdrop {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(3px);
}

.navidad-popup-card {
  position: relative;
  z-index: 1;
  max-width: 500px;
  width: 100%;
  max-height: 92dvh;
  overflow-y: auto;
  border-radius: 12px;
  background: #FBF6EE;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  padding: 2rem 1.75rem 1.75rem;
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.navidad-popup-card:hover {
  transform: scale(1.018);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.52);
}

.navidad-popup-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-secondary);
  transition: background-color var(--transition), color var(--transition);
}

.navidad-popup-close:hover,
.navidad-popup-close:focus-visible {
  background: rgba(27, 59, 50, 0.09);
  color: var(--color-primary);
}

.navidad-popup-tree {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.navidad-popup-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4vw, 2.05rem);
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 0.75rem;
}

.navidad-popup-text {
  font-family: var(--font-display);
  font-size: 0.96rem;
  color: #2B594C;
  max-width: 390px;
  margin: 0 auto 1.35rem;
  line-height: 1.45;
}

.navidad-popup-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.9rem 1.75rem;
  margin-bottom: 1.35rem;
}

@media (max-width: 440px) {
  .navidad-popup-actions {
    gap: 0.75rem 1.25rem;
  }
}

.navidad-popup-btn-call {
  padding: 0.68rem 1.3rem;
  font-size: 0.95rem;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(237, 28, 36, 0.28);
  animation: reservaHalo 2.6s ease-out infinite;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.navidad-popup-btn-call:hover {
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .navidad-popup-btn-call,
  .reserva-call-btn {
    animation: none !important;
  }
}

.navidad-popup-link {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.15rem 0.1rem 0.35rem;
  transition: color var(--transition);
}

.navidad-popup-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 40%;
  height: 2px;
  background-color: currentColor;
  border-radius: 50px;
  transform: translateX(-50%);
  transition: width 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.navidad-popup-link--call {
  color: var(--color-primary);
}

.navidad-popup-link--menu {
  color: #2B594C;
}

.navidad-popup-link:hover,
.navidad-popup-link:focus-visible {
  color: var(--color-primary);
}

.navidad-popup-link:hover::after,
.navidad-popup-link:focus-visible::after {
  width: 100%;
  background-color: var(--color-primary);
}

.navidad-popup-img {
  width: 100%;
  max-height: 290px;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.navidad-popup-img:hover {
  transform: scale(1.03);
}

/* ==========================================================================
   RGPD Cookie Banner & Granular Preferences (Complianz-style, Hi Noodles palette)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  max-width: 520px;
  margin-left: auto;
  z-index: 300;
  background-color: var(--color-white);
  color: var(--color-text);
  border-radius: 12px;
  padding: 1.35rem 1.5rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.25);
  font-size: 0.84rem;
}

.cookie-banner-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-secondary);
  margin: 0 0 0.55rem;
}

.cookie-banner-text {
  margin: 0 0 1.1rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.cookie-banner-text a,
.cookie-banner-links a,
.cookie-modal-intro a,
.cookie-modal-links a {
  color: var(--color-primary);
  text-decoration: underline;
}

.cookie-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

@media (max-width: 480px) {
  .cookie-actions {
    grid-template-columns: 1fr;
  }
}

.cookie-btn {
  border-radius: 8px;
  padding: 0.58rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all var(--transition);
  text-align: center;
}

.cookie-btn--equal {
  background: var(--color-primary);
  color: var(--color-white);
}

.cookie-btn--equal:hover {
  background: var(--color-primary-dark);
}

.cookie-btn--outline {
  background: var(--color-white);
  border-color: rgba(0, 0, 0, 0.16);
  color: var(--color-secondary);
}

.cookie-btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.cookie-banner-links,
.cookie-modal-links {
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.78rem;
}

/* Granular Cookie Settings Modal */
dialog.cookie-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  border: none;
  border-radius: 12px;
  padding: 0;
  max-width: 540px;
  width: calc(100% - 2rem);
  max-height: 90vh;
  background: var(--color-white);
  color: var(--color-text);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

dialog.cookie-modal::backdrop {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}

.cookie-modal-card {
  padding: 1.5rem;
}

.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.cookie-modal-header h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-secondary);
}

.cookie-modal-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-secondary);
}

.cookie-modal-intro {
  font-size: 0.84rem;
  color: var(--color-muted);
  line-height: 1.5;
  margin: 0 0 1rem;
}

.cookie-pref-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
}

.cookie-pref-group {
  background: #f5f3f1;
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

.cookie-pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
}

.cookie-pref-row::-webkit-details-marker {
  display: none;
}

.cookie-pref-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-secondary);
}

.cookie-always-active {
  font-size: 0.78rem;
  font-weight: 600;
  color: #15803d;
}

.cookie-pref-desc {
  margin: 0.55rem 0 0;
  font-size: 0.79rem;
  color: var(--color-muted);
  line-height: 1.45;
}

/* Toggle Switch */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
  flex-shrink: 0;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background-color: #c7c2bd;
  border-radius: 999px;
  transition: background-color 0.2s ease;
}

.cookie-slider::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  bottom: 3px;
  background-color: var(--color-white);
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.cookie-switch input:checked + .cookie-slider {
  background-color: var(--color-primary);
}

.cookie-switch input:checked + .cookie-slider::before {
  transform: translateX(16px);
}

.cookie-modal-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

@media (max-width: 520px) {
  .cookie-modal-actions {
    grid-template-columns: 1fr;
  }
}

/* Cookie Table (politica-cookies.html) */
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 1rem;
  font-size: 0.85rem;
}

.cookie-table th,
.cookie-table td {
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.cookie-table th {
  font-weight: 600;
  color: var(--color-secondary);
  background: rgba(0, 0, 0, 0.03);
}

/* ==========================================================================
   Accessibility Widget & Modes (WCAG 2.1 AA)
   ========================================================================== */
.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 500;
  background: var(--color-dark);
  color: var(--color-white);
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 1rem;
}

.a11y-trigger {
  position: fixed;
  left: 1.15rem;
  bottom: 1.15rem;
  z-index: 250;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: var(--color-dark);
  color: var(--color-white);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: background-color var(--transition), transform var(--transition);
}

.a11y-trigger:hover {
  background: var(--color-primary);
  transform: scale(1.06);
}

.a11y-panel {
  position: fixed;
  left: 1.15rem;
  bottom: 4.4rem;
  z-index: 250;
  width: 270px;
  max-height: calc(100vh - 6rem);
  overflow-y: auto;
  background: var(--color-white);
  color: var(--color-text);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.a11y-panel[hidden] {
  display: none;
}

.a11y-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.a11y-close {
  background: transparent;
  border: none;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--color-secondary);
}

.a11y-grid {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.a11y-opt {
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #f7f5f3;
  color: var(--color-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  transition: all var(--transition);
}

.a11y-opt:hover {
  border-color: var(--color-primary);
}

.a11y-opt.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.a11y-reset {
  background: transparent;
  border-style: dashed;
  text-align: center;
  margin-top: 0.2rem;
}

.a11y-decl-link {
  display: block;
  text-align: center;
  border: none;
  background: transparent;
  color: var(--color-primary);
  font-size: 0.78rem;
  text-decoration: underline;
  padding: 0.25rem 0 0;
}

html.a11y-font-lg {
  font-size: 118%;
}

html.a11y-font-xl {
  font-size: 136%;
}

html.a11y-grayscale main,
html.a11y-grayscale header,
html.a11y-grayscale footer,
html.a11y-grayscale dialog,
html.a11y-grayscale .mobile-drawer,
html.a11y-grayscale .cookie-banner {
  filter: grayscale(100%);
}

html.a11y-high-contrast .modal-header-row::after {
  background-color: #ffff00 !important;
}

html.a11y-links-underline a {
  text-decoration: underline !important;
}

html.a11y-no-motion *,
html.a11y-no-motion *::before,
html.a11y-no-motion *::after {
  animation: none !important;
  transition: none !important;
}

html.a11y-high-contrast body {
  background-color: #000000 !important;
  background-image: none !important;
  color: #ffffff !important;
}

html.a11y-high-contrast body::before,
html.a11y-high-contrast .site-footer::before,
html.a11y-high-contrast .modal-img-wrap::after {
  display: none !important;
}

html.a11y-high-contrast .site-footer {
  background: #000000 !important;
  background-image: none !important;
  color: #ffffff !important;
  border-top: 2px solid #ffff00 !important;
}

html.a11y-high-contrast .footer-bottom {
  border-top-color: #ffff00 !important;
  color: #ffffff !important;
}

html.a11y-high-contrast .strip-card,
html.a11y-high-contrast .review-card,
html.a11y-high-contrast .delivery-card,
html.a11y-high-contrast .clean-form,
html.a11y-high-contrast .modal-card,
html.a11y-high-contrast .modal-body,
html.a11y-high-contrast .text-menu-row,
html.a11y-high-contrast .cookie-banner,
html.a11y-high-contrast .cookie-modal,
html.a11y-high-contrast .a11y-panel,
html.a11y-high-contrast .lang-menu,
html.a11y-high-contrast .navidad-popup-card {
  background-color: #000000 !important;
  background-image: none !important;
  color: #ffffff !important;
  border: 1px solid #ffff00 !important;
}

html.a11y-high-contrast .clean-form input,
html.a11y-high-contrast .clean-form textarea,
html.a11y-high-contrast .clean-form select,
html.a11y-high-contrast .search-box input {
  background-color: #000000 !important;
  color: #ffffff !important;
  border: 1px solid #ffffff !important;
}

html.a11y-high-contrast .search-box input::placeholder,
html.a11y-high-contrast .search-icon {
  color: #ffffff !important;
}

html.a11y-high-contrast p,
html.a11y-high-contrast li,
html.a11y-high-contrast label,
html.a11y-high-contrast td,
html.a11y-high-contrast th,
html.a11y-high-contrast summary,
html.a11y-high-contrast strong,
html.a11y-high-contrast .page-banner p,
html.a11y-high-contrast .modal-section-label,
html.a11y-high-contrast .modal-block p,
html.a11y-high-contrast .modal-allergens-list,
html.a11y-high-contrast .modal-extra-item,
html.a11y-high-contrast .text-menu-name,
html.a11y-high-contrast .hi-menu-hero-dates,
html.a11y-high-contrast .navidad-popup-text {
  color: #ffffff !important;
}

html.a11y-high-contrast h1,
html.a11y-high-contrast h2,
html.a11y-high-contrast h3,
html.a11y-high-contrast h4,
html.a11y-high-contrast .dish-title,
html.a11y-high-contrast .dish-price,
html.a11y-high-contrast .modal-price,
html.a11y-high-contrast .modal-extra-price,
html.a11y-high-contrast .text-menu-price,
html.a11y-high-contrast .hi-menu-hero-title,
html.a11y-high-contrast .hi-menu-hero-price,
html.a11y-high-contrast .menu-section-subtitle,
html.a11y-high-contrast .navidad-popup-title,
html.a11y-high-contrast .footer-cookie-btn,
html.a11y-high-contrast a {
  color: #ffff00 !important;
}

html.a11y-high-contrast .hero-subtitle {
  background: rgba(0, 0, 0, 0.85) !important;
  color: #ffffff !important;
  padding: 0.25rem 0.75rem !important;
  border-radius: 6px !important;
}

html.a11y-high-contrast .hero-link-btn {
  background: rgba(0, 0, 0, 0.85) !important;
  color: #ffff00 !important;
  padding: 0.45rem 0.9rem !important;
  border: 1px solid #ffff00 !important;
  border-radius: 6px !important;
}

html.a11y-high-contrast .dish-more-btn,
html.a11y-high-contrast .cat-pill,
html.a11y-high-contrast .tab-btn,
html.a11y-high-contrast #tab-navidad,
html.a11y-high-contrast .allergen-toggle-btn,
html.a11y-high-contrast .allergen-chip,
html.a11y-high-contrast .hi-menu-hero-note,
html.a11y-high-contrast .menu-toggle,
html.a11y-high-contrast .lang-toggle-btn,
html.a11y-high-contrast .lang-option,
html.a11y-high-contrast .a11y-opt,
html.a11y-high-contrast .a11y-close,
html.a11y-high-contrast .modal-icon-btn,
html.a11y-high-contrast .modal-close,
html.a11y-high-contrast .navidad-popup-close {
  background-color: #000000 !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
}

html.a11y-high-contrast #tab-navidad {
  color: #ffff00 !important;
  border-color: #ffff00 !important;
}

html.a11y-high-contrast .cat-pill.is-active,
html.a11y-high-contrast .tab-btn.is-active,
html.a11y-high-contrast .allergen-chip.is-excluded,
html.a11y-high-contrast .lang-option.is-active {
  color: #ffff00 !important;
  border-color: #ffff00 !important;
}

html.a11y-high-contrast #tab-navidad.is-active,
html.a11y-high-contrast .a11y-opt.is-active,
html.a11y-high-contrast .cookie-btn--equal,
html.a11y-high-contrast a.btn-primary,
html.a11y-high-contrast button.btn-primary,
html.a11y-high-contrast .btn-primary {
  background-color: #ffff00 !important;
  color: #000000 !important;
  border: 2px solid #ffff00 !important;
}

html.a11y-high-contrast .cookie-btn--outline {
  background-color: #000000 !important;
  color: #ffffff !important;
  border: 1px solid #ffffff !important;
}

html.a11y-high-contrast .site-header:not(.site-header--overlay) .brand-logo img {
  filter: brightness(0) invert(1) !important;
}

html.a11y-high-contrast .mobile-drawer {
  background-color: #000000 !important;
}
