/* Las Tres Gracias — styled after the printed menu:
   cream page, black ink, double-line frames, a touch of red.
   Fonts are the menu's own: TeX Gyre Chorus (the name), TeX Gyre Pagella (text), Poppins (labels, prices). */
@font-face { font-family: "TeX Gyre Chorus"; src: url("../fonts/chorus-mediumitalic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "TeX Gyre Pagella"; src: url("../fonts/pagella-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "TeX Gyre Pagella"; src: url("../fonts/pagella-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "TeX Gyre Pagella"; src: url("../fonts/pagella-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "TeX Gyre Pagella"; src: url("../fonts/pagella-bolditalic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --cream: #f7f3ec;
  --cream-deep: #efe9dd;
  --white: #ffffff;
  --ink: #1a1815;
  --ink-soft: #4f4a42;
  --rule: rgba(26, 24, 21, 0.28);
  --hair: rgba(26, 24, 21, 0.14);
  --red: #b4322a;
  --error: #8f1d16;
  --ok: #1d4a29;

  --font-name: "TeX Gyre Chorus", "Apple Chancery", "Zapf Chancery", "URW Chancery L", cursive;
  --font-text: "TeX Gyre Pagella", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-label: "Poppins", "Helvetica Neue", Arial, sans-serif;

  --frame: clamp(8px, 1.5vw, 18px);
  --gutter: clamp(24px, 4.4vw, 56px);
  --section: clamp(56px, 8vw, 104px);
  --line: 56px;      /* where the frame's top line sits; leaves cream space above the buttons */
  --header-h: 104px; /* the line plus the part of the buttons hanging below it */
  --btn-inset: calc(var(--frame) + 6px + clamp(10px, 2.6vw, 34px));  /* how far the buttons sit in from the page edge */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --z-frame: 1;
  --z-content: 2;
  --z-cart: 45;
  --z-header: 50;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 1.0625rem/1.62 var(--font-text);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--cream); padding: 10px 16px;
}
.skip:focus { top: 12px; }

/* The restaurant's name, always in its own font */
.ltg {
  font-family: var(--font-name);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

/* ---------- The sheet and its double frame ---------- */
.sheet {
  position: relative;
  max-width: 1280px;
  margin: 0 auto clamp(6px, 1.2vw, 16px);
  padding-bottom: calc(var(--frame) + 6px);  /* keeps the footer inside the frame */
  background: var(--cream);
  overflow-x: clip;
}
.sheet::before, .sheet::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: var(--z-frame);
}
.sheet::before { inset: var(--line) var(--frame) var(--frame); border: 1.5px solid var(--ink); }
.sheet::after { inset: calc(var(--line) + 5px) calc(var(--frame) + 5px) calc(var(--frame) + 5px); border: 1px solid var(--ink); }
.sheet > main, .sheet > footer { position: relative; z-index: var(--z-content); }
.wrap { padding-inline: var(--gutter); }

/* ---------- Header ---------- */
/* The frame's top line always stays in view. The name sits on it and the two
   buttons hang over its corners, half above the line and half below. */
.top {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  background: linear-gradient(var(--cream), var(--cream)) top / 100% calc(var(--line) + 6px) no-repeat;
  pointer-events: none;
}
.top > * { pointer-events: auto; }
.top::before, .top::after { content: ""; position: absolute; pointer-events: none; }
.top::before { top: var(--line); left: var(--frame); right: var(--frame); height: 7px; border: 1.5px solid var(--ink); border-bottom: 0; }
.top::after { top: calc(var(--line) + 5px); left: calc(var(--frame) + 5px); right: calc(var(--frame) + 5px); height: 2px; border: 1px solid var(--ink); border-bottom: 0; background: var(--cream); }
.round-btn {
  position: absolute;
  z-index: 1;
  top: var(--line);
  left: var(--btn-inset);
  display: flex; align-items: center; justify-content: center;
  padding: 6px;
  text-align: center;
  text-decoration: none;
  width: 96px; height: 96px;
  border-radius: 50%;
  border: 0;
  background: var(--ink);
  color: var(--cream);
  font: italic 700 1.1875rem/1.05 var(--font-text);
  box-shadow: 0 0 0 3px var(--cream), 0 0 0 4px var(--ink);
  transform: translateY(-50%) rotate(-8deg);
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.round-btn:hover { background: var(--red); transform: translateY(-50%) rotate(0deg) scale(1.05); }
.brand {
  position: absolute;
  z-index: 1;
  top: calc(var(--line) + 2px);
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  padding: 7px 24px 8px;
  background: var(--cream);
  border: 1.5px solid var(--ink);
  outline: 1px solid var(--ink);
  outline-offset: 2px;
  text-decoration: none;
  text-align: center;
  color: var(--ink);
}
.brand:focus-visible { outline: 3px solid var(--red); }
.brand .ltg { display: block; font-size: 1.75rem; line-height: 1.15; white-space: nowrap; }
.brand small {
  display: block;
  margin-top: 1px;
  font: 500 0.625rem/1 var(--font-label);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.oval-btn {
  position: absolute;
  z-index: 1;
  top: var(--line);
  right: var(--btn-inset);
  transform: translateY(-50%) rotate(6deg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  min-height: 62px;
  padding: 8px 24px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--cream);
  color: var(--ink);
  font: italic 700 1.125rem/1.05 var(--font-text);
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.oval-btn:hover { background: var(--ink); color: var(--cream); transform: translateY(-50%) rotate(0deg) scale(1.05); }
@media (prefers-reduced-motion: reduce) { .round-btn, .oval-btn { transition: none; } }

/* ---------- Language switch ---------- */
.lang { display: inline-flex; gap: 2px; }
.lang a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 8px;
  text-decoration: none;
  font: 500 0.8125rem/1 var(--font-label);
  letter-spacing: 0.14em;
  color: inherit;
  text-underline-offset: 5px;
}
.strip .lang a[aria-current="true"] { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--red); }

/* ---------- Ornaments, from the menu ---------- */
.diamonds { display: flex; justify-content: center; align-items: center; gap: 12px; }
.diamonds i { display: block; width: 7px; height: 7px; border: 1px solid var(--ink); transform: rotate(45deg); }
.diamonds i:nth-child(2) { background: var(--red); border-color: var(--red); }
.ornament { padding-block: clamp(34px, 5vw, 60px) 0; }
.tagline {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  font: 500 clamp(0.75rem, 1.3vw, 0.9375rem)/1.3 var(--font-label);
  letter-spacing: 0.38em;
  text-transform: uppercase;
}
.tagline::before, .tagline::after { content: ""; width: clamp(24px, 6vw, 64px); height: 1px; background: var(--ink); }

/* ---------- Hero ---------- */
.strip {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 0 20px;
  min-height: 46px;
  font: 400 0.8125rem/1.3 var(--font-label);
  letter-spacing: 0.04em;
}
.strip .lang { margin-left: auto; }
.strip__links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.strip__links a:hover { text-decoration: underline; }
.strip__links { display: flex; flex-wrap: wrap; align-items: center; column-gap: 20px; }
.hero-title { padding-block: clamp(22px, 3vw, 36px) clamp(22px, 3vw, 34px); text-align: center; }
.hero-title h1 { font-size: clamp(2.2rem, 13.2vw, 9.4rem); line-height: 1.12; }
.hero-title .tagline { margin-top: 10px; }
.hero-sub {
  padding-block: clamp(20px, 2.6vw, 30px);
  text-align: center;
  font: italic 400 clamp(1.05rem, 1.7vw, 1.3rem)/1.4 var(--font-text);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 12px;
}
.hero-grid figure { border: 1px solid var(--ink); overflow: hidden; }
.hero-grid img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo--facade img { aspect-ratio: 7 / 7.2; object-position: 50% 72%; }
.stamp {
  position: absolute;
  right: -26px;
  top: -46px;
  width: 148px;
  transform: rotate(12deg);
  color: var(--red);
  pointer-events: none;
}
.stamp__bg { fill: var(--cream); }
.stamp text { font: 500 13.5px var(--font-label); letter-spacing: 0.12em; fill: currentColor; }
.stamp .stamp__mid { font: italic 700 21px var(--font-text); letter-spacing: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 26px;
  border: 1px solid currentColor;
  outline: 1px solid currentColor;
  outline-offset: 3px;
  background: transparent;
  color: var(--ink);
  font: italic 700 1.0625rem/1.2 var(--font-text);
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); outline-color: var(--ink); }
.btn:focus-visible { outline: 3px solid var(--red); }
.btn--on-dark { color: var(--cream); }
.btn--on-dark:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); outline-color: var(--cream); }
.btn--solid { background: var(--ink); border-color: var(--ink); color: var(--cream); outline-color: var(--ink); }
.btn--big { min-height: 64px; padding: 16px 40px; font-size: 1.375rem; }
.btn--solid:hover { background: var(--red); border-color: var(--red); color: var(--white); outline-color: var(--red); }
.btn svg { flex: none; }

/* ---------- Shared type ---------- */
.big {
  font: italic 700 clamp(2.5rem, 6vw, 4.6rem)/1.08 var(--font-text);
  color: var(--ink);
  text-wrap: balance;
}
.kicker {
  font: 500 clamp(0.6875rem, 1vw, 0.8125rem)/1.5 var(--font-label);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
}
.prose { max-width: 62ch; }
.prose p + p { margin-top: 1em; }
section { position: relative; }

.foot h3 {
  margin-bottom: 6px;
  font: 500 0.75rem/1.3 var(--font-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ---------- The three Graces ---------- */
.graces {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding-bottom: clamp(32px, 4.4vw, 52px);
  border-bottom: 1px solid var(--rule);
}
.graces__copy p:last-child { margin-top: 12px; font-style: italic; font-size: 1.125rem; line-height: 1.5; }
.mural { width: clamp(220px, 34vh, 340px); }
.mural img {
  width: 100%;
  aspect-ratio: 1540 / 2120;
  object-fit: cover;
  border-radius: 50%;
}
.graces__names { text-align: center; }
.graces__names h3 { font: 500 0.75rem/1.3 var(--font-label); letter-spacing: 0.3em; text-transform: uppercase; }
.graces__names .diamonds { margin-block: 14px 4px; }
.graces__names li {
  padding-block: 14px;
  border-bottom: 1px solid var(--rule);
  font: 700 clamp(1.7rem, 3vw, 2.4rem)/1.15 var(--font-text);
}
.graces__names li:last-child { border-bottom: 0; }

/* ---------- The secret ---------- */
/* Text on top (title beside the story), the oven photo wide underneath. */
.secret {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 44px);
  padding-block: var(--section);
  border-top: 1px solid var(--rule);
}
.secret__text { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 4vw, 52px); align-items: center; }
.secret__title {
  padding: clamp(20px, 2.6vw, 30px);
  border: 1.5px solid var(--ink);
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}
.secret__title .big { margin-top: 8px; font-size: clamp(2.3rem, 4.4vw, 3.5rem); }
.secret__copy { font-size: 1.0625rem; }
.secret__sign { margin-top: 1em; font-style: italic; font-weight: 700; font-size: 1.1875rem; line-height: 1.35; }
.secret__photo { overflow: hidden; border: 1px solid var(--ink); }
.secret__photo img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 48%; }

/* ---------- La carta on the home page ---------- */
.carta-home { padding-block: clamp(36px, 5vw, 60px) var(--section); }
.carta-home__head { padding-bottom: clamp(24px, 3vw, 34px); text-align: center; }
.carta-home__head .big { margin-block: 14px 12px; font-size: clamp(3rem, 7.4vw, 5.6rem); }
.carta-home__head p { max-width: 58ch; margin-inline: auto; font-size: 1.125rem; line-height: 1.45; }
.carta-home__head p.carta-home__note { margin-top: 4px; font-style: italic; color: var(--ink-soft); font-size: 1rem; }
.carta-home__foot {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 18px 24px;
  margin-top: clamp(36px, 5vw, 56px);
}
.carta-home__pdf {
  display: inline-flex; align-items: center; min-height: 44px;
  font: 400 0.875rem/1.3 var(--font-label);
  text-underline-offset: 4px;
}
.carta-home__pdf:hover { color: var(--red); }

/* ---------- Events ---------- */
.events {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink);
  color: var(--cream);
  margin-inline: calc(var(--frame) + 6px);
}
.events__copy { padding: clamp(32px, 5vw, 64px) var(--gutter); align-self: center; }
.events .kicker { color: var(--cream); }
.events .big { color: var(--cream); margin-block: 10px 18px; }
.events p:not(.kicker) { max-width: 48ch; }
.events .btn { margin-top: 26px; }
.events :focus-visible { outline-color: var(--cream); }
.events__photos { display: flex; flex-direction: column; gap: 4px; }
.events__photo img { display: block; width: 100%; height: auto; }

/* ---------- Reservation form ---------- */
.reserve { padding-block: var(--section); }
.reserve__title { text-align: center; }
.reserve__grid { display: grid; justify-items: center; gap: clamp(22px, 3vw, 32px); margin-top: clamp(16px, 2vw, 24px); }
.reserve__intro { max-width: 56ch; font-size: 1.0625rem; text-align: center; }
.reserve__grid .form { width: 100%; max-width: 760px; }

/* ---------- How to get here ---------- */
/* Cómo llegar: the details in one row, then the photo and the map side by side.
   They only stack on a phone held upright. */
.visit { padding-bottom: var(--section); }
.visit__head { padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--rule); text-align: center; }
.visit__head .big { margin-top: 8px; }
.visit__info {
  display: grid; grid-template-columns: 1fr 1.25fr 1.15fr; gap: 24px clamp(20px, 3vw, 40px);
  margin-top: clamp(24px, 3vw, 36px); padding-block: clamp(20px, 2.4vw, 28px);
  border-block: 1px solid var(--rule);
  font-size: 1.0625rem; line-height: 1.5;
}
.visit__block h3 { margin-bottom: 10px; font: 500 0.75rem/1.3 var(--font-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); }
.visit__block p { margin: 0; }
/* Same line rhythm as the hours next to it (each line still a 24px+ tap target). */
.visit__links { display: grid; justify-items: start; gap: 4px; }
.visit__links a { display: flex; align-items: center; min-height: 26px; text-underline-offset: 3px; overflow-wrap: anywhere; }
/* Opening hours: days on the left, times lined up on the right. */
.hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; margin: 0; font-variant-numeric: tabular-nums; }
.hours dt { font-weight: 400; }
.hours dd { margin: 0; }
.visit__media { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(12px, 1.6vw, 20px); margin-top: clamp(20px, 2.6vw, 30px); }
.visit__photo, .visit__map { position: relative; height: clamp(300px, 32vw, 420px); overflow: hidden; border: 1px solid var(--ink); }
.visit__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.visit__map iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.visit__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 18px; margin-top: clamp(24px, 3vw, 34px); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font: 500 0.8125rem/1.3 var(--font-label); letter-spacing: 0.06em; }
.field label .req { color: var(--red); }
.field label .opt { font-weight: 400; letter-spacing: 0.02em; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 0;
  font-size: 1.0625rem;
  line-height: 1.4;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; }
.field [aria-invalid="true"] { border: 2px solid var(--error); }
.field__help { margin-top: 5px; font-size: 0.9375rem; font-style: italic; color: var(--ink-soft); }
.field__err { margin-top: 5px; font-size: 0.9375rem; font-weight: 700; color: var(--error); }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.form__note { flex: 1 1 240px; font-size: 0.9375rem; font-style: italic; color: var(--ink-soft); }
.form__ok {
  grid-column: 1 / -1;
  padding: 12px 16px;
  border-left: 4px solid var(--ok);
  background: var(--white);
  color: var(--ok);
  font-weight: 700;
}

/* ---------- Footer ---------- */
.foot {
  margin-inline: calc(var(--frame) + 6px);
  padding: clamp(34px, 5vw, 56px) calc(var(--gutter) + 8px) clamp(30px, 4vw, 46px);
  background: var(--ink);
  color: var(--cream);
}
.foot__name { display: block; margin-bottom: 26px; text-align: center; font-size: clamp(2rem, 11vw, 6.6rem); line-height: 1.12; }
.foot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 3px; }
.foot li { line-height: 1.4; }
.foot :focus-visible { outline-color: var(--cream); }
.foot__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 24px;
  margin-top: 28px; padding-top: 14px;
  border-top: 1px solid rgba(247, 243, 236, 0.45);
  font: 400 0.8125rem/1.5 var(--font-label);
}
.foot__base .ltg { font-size: 1.3em; }

/* ---------- Menu page ---------- */
.carta-hero .carta-title { padding-block: clamp(24px, 4vw, 44px) 8px; font-size: clamp(3rem, 9vw, 6.4rem); text-align: center; }
.carta-hero__row {
  display: flex; flex-direction: column; align-items: center;
  gap: 20px;
  padding-block: 8px 30px;
  text-align: center;
}
.carta-hero__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; }
.carta-hero__row p { max-width: 56ch; font-style: italic; font-size: 1.125rem; line-height: 1.45; }
.carta-tabs {
  --tabs-cover: calc(var(--header-h) - var(--line) - 6px);
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  margin-top: var(--tabs-cover);
  padding-block: 10px;
  background: var(--cream);
}
/* Fills the space beside the hanging buttons, so the menu scrolls away cleanly once the tabs stick. */
.carta-tabs::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: calc(var(--tabs-cover) + 7px); background: var(--cream); pointer-events: none; }
.carta-tabs__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 760px;
  margin-inline: auto;
  border: 1.5px solid var(--ink);
  outline: 1px solid var(--ink);
  outline-offset: 2px;
}
.carta-tabs a {
  display: flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding-inline: 4px;
  font: 500 0.875rem/1.1 var(--font-label);
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.carta-tabs a + a { border-left: 1px solid var(--ink); }
.carta-tabs a:hover { background: var(--cream-deep); }
.carta-tabs a[aria-selected="true"] { background: var(--ink); color: var(--cream); box-shadow: inset 0 -3px 0 var(--red); }
.carta-tabs a:focus-visible { outline-offset: -5px; }
.carta-panel { padding-top: clamp(26px, 3.4vw, 40px); animation: panel-in 0.28s var(--ease); }
.carta-panel:focus { outline: none; }
.carta-panel--narrow { max-width: 620px; margin-inline: auto; }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } }
@media print { .carta-panel[hidden] { display: block !important; } .carta-tabs { display: none; } }
.band-title {
  display: flex; align-items: center; gap: 18px;
  font: 500 clamp(0.875rem, 1.5vw, 1rem)/1.3 var(--font-label);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  text-align: center;
}
.band-title::before, .band-title::after { content: ""; flex: 1; min-width: 16px; height: 1px; background: var(--ink); }
.pizza-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px clamp(24px, 3.4vw, 48px); margin-top: 28px; }
.pizza-col__head { padding-bottom: 6px; border-bottom: 1px solid var(--ink); }
.pizza-col__head h3, .pizza-col__head h4 { font: italic 700 1.6rem/1.15 var(--font-text); }
.dishes { margin-top: 4px; }
.dish {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 4.4rem 4.4rem;
  column-gap: 6px;
  row-gap: 8px;
  align-items: center;
  padding: 9px 8px;
  margin-inline: -8px;
}
.dish__name { font: 700 1.1875rem/1.25 var(--font-text); }
.dish__desc { grid-column: 1 / -1; font-style: italic; font-size: 1rem; line-height: 1.35; color: var(--ink-soft); }
.dish--featured { margin: 12px 0 0; padding: 12px; border: 1px solid var(--ink); }
/* In a narrow column, tighten the row so a long name like Encantadora stays clear of the boxes. */
.pizza-col { container-type: inline-size; }
@container (max-width: 310px) {
  .dish { grid-template-columns: minmax(0, 1fr) 3.9rem 3.9rem; }
  .dish__name { font-size: 1.0625rem; }
}
.carta-specials {
  margin-top: 28px;
  padding: clamp(20px, 3vw, 30px);
  border: 1.5px solid var(--ink);
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}
.carta-specials__note { margin-bottom: 18px; text-align: center; font: 500 0.75rem/1.5 var(--font-label); letter-spacing: 0.18em; text-transform: uppercase; }
.carta-specials ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.special { padding: 16px; border: 1px solid var(--rule); }
.special__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.special__name { font: 700 1.4rem/1.2 var(--font-text); }
.special__price { flex: none; font: 400 0.9375rem/1 var(--font-label); font-variant-numeric: tabular-nums; }
.special p { margin-top: 8px; font-style: italic; color: var(--ink-soft); }
.lines { margin-top: 12px; }
.line {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 8px;
  margin-inline: -8px;
  line-height: 1.35;
}
.line strong { font-weight: 700; }
.line em { color: var(--ink-soft); }
.line__price { flex: none; font: 400 0.875rem/1.3 var(--font-label); font-variant-numeric: tabular-nums; }
.carta-postres { margin-top: 38px; }
.drink-cols { columns: 3; column-gap: clamp(24px, 3.4vw, 44px); margin-top: 20px; }
.drink-group { break-inside: avoid; padding-bottom: 26px; }
.drink-group h3, .drink-group h4 {
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
  font: italic 700 1.3rem/1.2 var(--font-text);
}
.drink-group .lines { margin-top: 4px; }
.carta-cta { padding-block: clamp(50px, 7vw, 86px); text-align: center; }
.carta-cta p:not(.big) { margin-block: 12px 26px; }
.carta-cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 22px; }

/* ---------- Google reviews ---------- */
.reviews { position: relative; padding-block: var(--section); border-top: 0; text-align: center; }
.reviews::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--rule); }
.reviews .big { margin-top: 8px; }
.reviews__score { display: grid; justify-items: center; gap: 6px; margin-block: 22px 28px; }
.stars { position: relative; display: inline-block; line-height: 0; white-space: nowrap; }
.stars svg { display: inline-block; }
.stars__empty { display: inline-block; fill: var(--cream-deep); stroke: var(--ink); stroke-width: 1; }
.stars__full { position: absolute; left: 0; top: 0; overflow: hidden; fill: var(--red); stroke: var(--red); stroke-width: 1; }
.reviews__count { margin-top: 2px; font: 500 0.9375rem/1.3 var(--font-label); }
.reviews__five { font-style: italic; color: var(--ink-soft); }
.reviews__strip { margin-inline: calc((var(--gutter) - var(--frame) - 7px) * -1); margin-bottom: 18px; }
.reviews__view {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
  padding-block: 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.reviews__track {
  flex: none;
  display: flex;
  gap: 22px;
  padding-right: 22px;
}
.reviews__view::-webkit-scrollbar { display: none; }
.reviews__view.is-dragging { cursor: grabbing; user-select: none; -webkit-user-select: none; }
.reviews__view:focus-visible { outline-offset: -3px; }
.review {
  display: flex; flex-direction: column; gap: 10px;
  width: clamp(270px, 28vw, 350px);
  padding: 20px 22px;
  border: 1px solid var(--ink);
  background: var(--cream);
  text-align: left;
}
.review blockquote { flex: 1; margin: 0; font-style: italic; line-height: 1.5; }
.review__author { font: 500 0.8125rem/1.3 var(--font-label); letter-spacing: 0.02em; }
.review__author a { text-underline-offset: 3px; }
.review .stars svg { width: 16px; height: 16px; }
.reviews__score .stars svg { width: 32px; height: 32px; }
/* The big stars: on hover they spread out a little from the middle one, grow a touch and glow,
   and stay that way while the pointer is there. A tap on a phone plays the same spread and settle. */
.reviews__score { cursor: default; }
.reviews__score .stars__full { overflow: visible; }
.reviews__score .stars svg {
  --dx: 0px;
  transform-origin: 50% 50%;
  transition: transform 0.45s cubic-bezier(.22,.61,.36,1), filter 0.45s cubic-bezier(.22,.61,.36,1);
}
.reviews__score .stars svg:nth-child(1) { --dx: -8px; }
.reviews__score .stars svg:nth-child(2) { --dx: -4px; }
.reviews__score .stars svg:nth-child(4) { --dx: 4px; }
.reviews__score .stars svg:nth-child(5) { --dx: 8px; }
@media (hover: hover) {
  .reviews__score:hover .stars svg {
    transform: translateX(var(--dx)) scale(1.08);
    filter: brightness(1.1) drop-shadow(0 3px 4px rgba(180, 50, 42, 0.28));
  }
}
.reviews__score.is-wave .stars svg { animation: star-spread 0.9s cubic-bezier(.22,.61,.36,1) both; }
@keyframes star-spread {
  0%   { transform: translateX(0) scale(1); filter: none; }
  40%  { transform: translateX(var(--dx)) scale(1.08); filter: brightness(1.1) drop-shadow(0 3px 4px rgba(180, 50, 42, 0.28)); }
  100% { transform: translateX(0) scale(1); filter: none; }
}
@media (prefers-reduced-motion: reduce) { .reviews__score .stars svg { animation: none !important; transition: none; } }
.reviews__pause {
  min-height: 44px; margin-top: 8px; padding-inline: 12px;
  border: 0; background: none; color: var(--ink);
  font: 400 0.8125rem/1.3 var(--font-label);
  text-decoration: underline; text-underline-offset: 4px;
}
.reviews__btn { margin-top: 18px; }
.reviews__source { font: 400 0.75rem/1.4 var(--font-label); letter-spacing: 0.04em; color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) {
  .reviews__view { -webkit-mask-image: none; mask-image: none; }
  .reviews__track[aria-hidden="true"], .reviews__pause { display: none; }
}

/* ---------- Order cart ---------- */
.plain-price { flex: none; display: inline-flex; flex-direction: column; align-items: flex-end; min-width: 4.4rem; font: 400 0.875rem/1.25 var(--font-label); font-variant-numeric: tabular-nums; text-align: right; }
.plain-price small { font: italic 400 0.8125rem/1.15 var(--font-text); color: var(--ink-soft); white-space: nowrap; }
/* Choosing an item: the whole row is the tap area. Selected rows invert, and a red dot shows the quantity. */
.pickable { position: relative; transition: background-color 0.15s var(--ease), color 0.15s var(--ease); }
.dish + .dish, .line + .line { margin-top: 2px; }
.pick {
  display: flex; align-items: center; gap: 10px;
  min-width: 0; padding: 0;
  border: 0; background: none; color: inherit;
  font: inherit; text-align: left;
  cursor: pointer;
  touch-action: manipulation;
}
button.pick::after { content: ""; position: absolute; inset: 0; }
.pick:focus-visible { outline: none; }
.pick:focus-visible::after { outline: 2px solid var(--ink); outline-offset: -2px; }
.pick--off { cursor: default; }
.line__price small, .special__price small { display: block; font: italic 400 0.8125rem/1.15 var(--font-text); color: var(--ink-soft); white-space: nowrap; text-align: right; }
.pickable.is-picked { background: var(--ink); color: var(--cream); }
.is-picked .dish__desc, .is-picked em, .is-picked p, .is-picked small { color: var(--cream); }
.is-picked .pick:focus-visible::after, .is-picked .size-btn:focus-visible { outline-color: var(--cream); }
@media (hover: hover) { .pickable:not(.is-picked):has(button.pick):hover { background: var(--cream-deep); } }
.size-cell { position: relative; display: grid; }
.size-btn {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 44px;
  padding: 3px 2px;
  border: 1px solid var(--ink);
  background: var(--cream);
  color: var(--ink);
  font: 400 0.8125rem/1.1 var(--font-label);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}
.size-btn__word { font: 500 0.6875rem/1 var(--font-label); text-transform: capitalize; }
.is-picked .size-btn { border-color: var(--cream); background: transparent; color: var(--cream); }
.is-picked .size-btn[aria-pressed="true"] { background: var(--cream); color: var(--ink); }
@media (hover: hover) {
  .pickable:not(.is-picked) .size-btn:hover { background: var(--cream-deep); box-shadow: inset 0 0 0 1px var(--ink); }
  .is-picked .size-btn:not([aria-pressed="true"]):hover { box-shadow: inset 0 0 0 1px var(--cream); }
}
.qty-dot {
  position: absolute; top: -9px; right: -9px; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 1px 5px 0; /* Poppins digits sit high; 1px on top centers them */
  border-radius: 999px;
  background: var(--red); color: var(--white);
  font: 500 0.6875rem/1 var(--font-label);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.qty-dot[hidden] { display: none; }
.size-btn .qty-dot { top: -11px; right: -9px; } /* high enough to clear the word in the box */
@container (max-width: 310px) { .size-btn .qty-dot { top: -13px; right: -11px; min-width: 18px; height: 18px; padding: 1px 4px 0; } }
.carta-cash { margin-top: 6px; font: italic 400 1.0625rem/1.4 var(--font-text); }
.carta-cash strong { font-weight: 700; color: var(--red); }
/* The 10% cash stamp: stuck to the side of "La carta". Tap it and the carta shows cash prices in red. */
/* The block under the carta, built to get bookings: the 10% stamp on the left,
   and on the right "Reservar una mesa" first and strongest, then pickup and the PDF. */
.carta-actions {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 14px;
  max-width: 760px; margin-inline: auto;
}
.carta-home .carta-actions { margin-top: clamp(30px, 4vw, 44px); }
.carta-cta .carta-actions { text-align: left; }
.cash-slot { grid-column: 1; grid-row: 1 / span 3; display: flex; }
.act { grid-column: 2; flex-direction: column; gap: 2px; min-height: 64px; justify-content: center; text-align: center; }
.act--main { min-height: 88px; font-size: 1.375rem; }
.act small { font: 500 0.75rem/1.2 var(--font-label); font-style: normal; letter-spacing: 0.06em; opacity: 0.85; }
/* The stamp's column: no frame, the whole column is the tap target. */
.cash-tile {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 14px;
  border: 0; background: none; color: var(--red); cursor: pointer;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: background-color 0.2s var(--ease);
}
.cash-tile:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.cash-cap { display: grid; max-width: 18ch; font: italic 700 1rem/1.3 var(--font-text); color: var(--red); text-align: center; }
.cash-cap > span { grid-area: 1 / 1; align-self: start; transition: opacity 0.25s var(--ease); }
.cash-tile[aria-pressed="true"] .cash-cap__off, .cash-tile[aria-pressed="false"] .cash-cap__on { opacity: 0; }
.cash-stamp {
  display: block; flex: none; width: 176px; height: 176px;
  border-radius: 50%; color: var(--red);
  transform: rotate(-12deg);
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1), color 0.2s var(--ease);
  filter: drop-shadow(0 3px 0 rgba(26, 24, 21, 0.18));
}
.cash-stamp svg { display: block; width: 100%; height: 100%; overflow: visible; }
.cash-stamp__bg { fill: var(--cream); stroke: var(--red); stroke-width: 3; transition: fill 0.2s var(--ease); }
.cash-stamp__ring { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-dasharray: 3 4; }
.cash-stamp text { fill: currentColor; }
.cash-stamp__path { font: 500 15px var(--font-label); }
.cash-stamp__big { font: italic 700 50px var(--font-text); }
.cash-stamp__off { font: 500 17px var(--font-label); letter-spacing: 0.24em; }
/* Until it's been tapped once, it gives a little nudge every few seconds. */
.cash-stamp.is-new { animation: cash-nudge 4.5s ease-in-out 1.2s infinite; }
@keyframes cash-nudge {
  0%, 82%, 100% { transform: rotate(-12deg) scale(1); }
  86% { transform: rotate(-2deg) scale(1.08); }
  90% { transform: rotate(-18deg) scale(1.04); }
  94% { transform: rotate(-8deg) scale(1.02); }
}
@media (hover: hover) {
  .cash-tile:hover .cash-stamp { animation: none; transform: rotate(4deg) scale(1.08); }
}
.cash-tile:active .cash-stamp { transform: rotate(0deg) scale(0.9); transition-duration: 0.08s; }
.cash-tile[aria-pressed="true"] .cash-stamp { color: var(--cream); transform: rotate(0deg); filter: drop-shadow(0 3px 0 rgba(180, 50, 42, 0.35)); }
.cash-tile[aria-pressed="true"] .cash-stamp__bg { fill: var(--red); }
.cash-stamp.is-thump { animation: cash-thump 0.45s cubic-bezier(.34,1.56,.64,1); }
@keyframes cash-thump { 0% { transform: rotate(-12deg) scale(1.1); } 35% { transform: rotate(6deg) scale(0.82); } 100% { transform: rotate(0deg) scale(1); } }
.amt { display: inline-block; transition: color 0.2s var(--ease); }
.cash-on .amt { color: var(--red); font-weight: 500; }
.cash-on .is-picked .amt { color: inherit; }
.cash-on .is-picked .size-btn[aria-pressed="true"] .amt { color: var(--red); }
.cash-flash .amt { animation: cash-pop 0.5s var(--ease); }
@keyframes cash-pop { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
@media (max-width: 767px) {
  /* Phone: still two columns, the stamp narrower so the buttons keep room. */
  .carta-actions { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 10px; }
  .cash-tile { padding: 12px 8px; gap: 8px; }
  .cash-stamp { width: 128px; height: 128px; }
  .cash-cap { font-size: 0.875rem; }
  .act { min-height: 60px; padding: 10px 12px; font-size: 1rem; }
  .act--main { min-height: 76px; font-size: 1.125rem; }
}
.carta-hint { margin-top: 10px; font: 500 0.8125rem/1.4 var(--font-label) !important; letter-spacing: 0.04em; color: var(--red); }
.cart-bar {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: var(--z-cart);
  display: flex; align-items: center; justify-content: center; gap: 22px;
  width: 100%; min-height: 56px; padding: 8px 20px;
  border: 0; border-top: 3px solid var(--red);
  background: var(--ink); color: var(--cream);
  font: 500 0.9375rem/1.2 var(--font-label);
  transition: background-color 0.2s var(--ease);
}
.cart-bar:hover { background: #33302a; }
.cart-bar:focus-visible { outline-color: var(--cream); outline-offset: -6px; }
.cart-bar__n {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; margin-left: 6px; padding-inline: 5px;
  border-radius: 999px; background: var(--cream); color: var(--ink); font-size: 0.75rem;
}
.cart-bar__total { font-variant-numeric: tabular-nums; }
body.has-cart { padding-bottom: 56px; }
html:has(dialog[open]) { overflow: hidden; }

.cart-panel {
  width: min(100%, 480px); height: 100dvh; max-width: none; max-height: none;
  margin: 0 0 0 auto; padding: 0 clamp(18px, 4vw, 28px) 28px;
  border: 0; border-left: 1.5px solid var(--ink);
  background: var(--cream); color: var(--ink);
  overflow-y: auto;
}
.cart-panel[open] { animation: panel-side 0.26s var(--ease); }
@keyframes panel-side { from { transform: translateX(28px); opacity: 0; } }
.cart-panel::backdrop, .curiosa-dialog::backdrop { background: rgba(26, 24, 21, 0.55); }
.cart-panel__head {
  position: sticky; top: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin-inline: calc(clamp(18px, 4vw, 28px) * -1);
  padding: 12px clamp(18px, 4vw, 28px);
  background: var(--cream);
  border-bottom: 1px solid var(--ink);
}
.cart-panel__head h2 { font: italic 700 1.75rem/1.2 var(--font-text); }
.nav-link-btn {
  min-width: 44px; min-height: 44px; padding: 4px 14px;
  border: 1.5px solid var(--ink); border-radius: 50%;
  background: transparent; color: var(--ink);
  font: italic 700 0.9375rem/1 var(--font-text);
}
.nav-link-btn:hover { background: var(--ink); color: var(--cream); }
.cart-empty { display: grid; justify-items: center; gap: 18px; padding-block: 56px; text-align: center; }
.cart-lines { padding-block: 8px; }
.cart-line { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-block: 10px; border-bottom: 1px solid var(--hair); }
.cart-line__info { min-width: 0; }
.cart-line__name { display: block; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.cart-line__price { font: 400 0.875rem/1.4 var(--font-label); font-variant-numeric: tabular-nums; }
.stepper { flex: none; display: grid; grid-template-columns: 44px 30px 44px; align-items: center; border: 1px solid var(--ink); }
.stepper button { min-height: 42px; border: 0; background: transparent; color: var(--ink); font: 400 1.25rem/1 var(--font-label); }
.stepper button:hover { background: var(--ink); color: var(--cream); }
.stepper button:focus-visible { outline-offset: -4px; }
.stepper span { text-align: center; font: 500 0.9375rem/1 var(--font-label); font-variant-numeric: tabular-nums; }
.cart-sub { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; font: 400 1rem/1.3 var(--font-text); font-variant-numeric: tabular-nums; }
.cart-sub--off { color: var(--red); font-weight: 700; }
.pay-note { margin-top: 8px; }
.cart-pickup-wrap { margin-top: 14px; border: 1px solid var(--ink); background: var(--cream-deep); }
.cart-pickup {
  display: flex; gap: 10px; align-items: flex-start; width: 100%; padding: 12px 14px;
  border: 0; background: none; color: var(--ink); text-align: left; cursor: pointer;
  font: 400 0.9375rem/1.4 var(--font-text);
}
.cart-pickup:hover { background: #e9e1d2; }
.cart-pickup:focus-visible { outline: 3px solid var(--red); outline-offset: -3px; }
.cart-pickup__pin { flex: none; margin-top: 1px; color: var(--red); }
.cart-pickup strong { display: block; font: 500 0.9375rem/1.3 var(--font-label); }
.cart-pickup__more { display: flex; width: fit-content; align-items: center; gap: 6px; margin-top: 6px; font: 500 0.8125rem/1.2 var(--font-label); color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.cart-pickup__more svg { transition: transform 0.2s var(--ease); }
.cart-pickup[aria-expanded="true"] .cart-pickup__more svg { transform: rotate(180deg); }
.cart-map { border-top: 1px solid var(--ink); animation: panel-in 0.25s var(--ease); }
.cart-map iframe { display: block; width: 100%; height: 220px; border: 0; }
.cart-map__dir { display: block; padding: 10px 14px; border-top: 1px solid var(--ink); font: 500 0.875rem/1.2 var(--font-label); color: var(--ink); text-align: center; }
.cart-map__dir:hover { background: var(--ink); color: var(--cream); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-block: 14px; border-bottom: 1.5px solid var(--ink); font: italic 700 1.375rem/1.2 var(--font-text); }
.cart-total small { font: italic 400 0.9375rem/1 var(--font-text); }
.cart-total strong { font: 500 1.25rem/1.2 var(--font-label); font-variant-numeric: tabular-nums; }
.cart-form { display: grid; gap: 18px; padding-top: 18px; }
fieldset.field { margin: 0; padding: 0; border: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 8px; font: 500 0.8125rem/1.3 var(--font-label); letter-spacing: 0.06em; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; flex: 1 1 auto; cursor: pointer; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 6px 12px;
  border: 1px solid var(--ink); background: var(--white);
  font-size: 1rem; line-height: 1.2; text-align: center;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}
.choice input:checked + span { background: var(--ink); color: var(--cream); }
.choice input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.field select {
  width: 100%; min-height: 50px; padding: 10px 12px;
  background: var(--white); border: 1px solid var(--ink); border-radius: 0;
  font: inherit; font-size: 1.0625rem; color: inherit;
}
.cart-send { width: 100%; }
.cart-note { font-size: 0.9375rem; font-style: italic; line-height: 1.4; color: var(--ink-soft); }
.cart-clear {
  justify-self: center; min-height: 44px; padding-inline: 12px;
  border: 0; background: none; color: var(--ink);
  font: 400 0.875rem/1.3 var(--font-label);
  text-decoration: underline; text-underline-offset: 4px;
}
.cart-clear:hover { color: var(--error); }
.curiosa-dialog {
  width: min(calc(100% - 32px), 440px); margin: auto; padding: clamp(20px, 4vw, 30px);
  border: 1.5px solid var(--ink); outline: 1px solid var(--ink); outline-offset: 3px;
  background: var(--cream); color: var(--ink);
}
.curiosa-dialog h2 { font: italic 700 1.75rem/1.2 var(--font-text); }
.curiosa-dialog p { margin-top: 6px; line-height: 1.4; }
.curiosa-dialog form { display: grid; gap: 14px; margin-top: 16px; }
.curiosa-dialog__btns { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 14px; margin-top: 4px; }

/* ---------- Motion ---------- */
.pre-reveal { opacity: 0; transform: translateY(14px); }
[data-reveal] { transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .pizza-cols { grid-template-columns: 1fr 1fr; }
  .drink-cols { columns: 2; }
  .graces { grid-template-columns: auto 1fr; }
  .graces__copy { grid-column: 1 / -1; text-align: center; }
  .graces__copy p:last-child { max-width: 58ch; margin-inline: auto; }
  .mural { order: -2; }
  .graces__names { order: -1; }
  .stamp { width: 124px; right: -12px; }
}
@media (max-width: 1023px) {
  .visit__info { grid-template-columns: 1fr 1fr; }
  .visit__info .visit__block:last-child { grid-column: 1 / -1; }
  .visit__links { grid-auto-flow: column; justify-content: start; gap: 0 24px; }
}
/* A phone held upright: everything in one column, photo above the map. */
@media (max-width: 767px) and (orientation: portrait), (max-width: 559px) {
  .visit__info { grid-template-columns: 1fr; }
  .visit__links { grid-auto-flow: row; }
  .visit__media { grid-template-columns: 1fr; }
  .visit__photo { height: auto; aspect-ratio: 3 / 2; }
  .visit__map { height: 300px; }
  .visit__ctas .btn { flex: 1 1 100%; }
}
@media (max-width: 767px) {
  :root { --line: 46px; --header-h: 84px; --btn-inset: 22px; }
  html { scroll-padding-top: 94px; }
  .round-btn { width: 76px; height: 76px; padding: 5px; font-size: 0.9375rem; }
  .oval-btn { width: 92px; min-width: 0; min-height: 52px; padding: 6px 8px; font-size: 0.875rem; }
  .brand { padding: 6px 8px 7px; outline-offset: 1px; }
  .brand .ltg { font-size: 1.1rem; }
  .brand small { font-size: 0.625rem; letter-spacing: 0.04em; white-space: nowrap; }
  .strip { flex-wrap: nowrap; padding-block: 4px; font-size: 0.75rem; }
  .strip__links { flex-direction: column; align-items: flex-start; }
  .tagline { letter-spacing: 0.26em; gap: 10px; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero-photo--facade img { aspect-ratio: 4 / 4.6; }
  .hero-photo--pizza img { aspect-ratio: 4 / 4; object-position: 50% 45%; }
  .stamp { top: -30px; right: -10px; width: 92px; }
  .events { grid-template-columns: 1fr; }
  .secret { grid-template-columns: 1fr; gap: 24px; }
  .secret__text { grid-template-columns: 1fr; gap: 20px; }
  .secret__photo img { aspect-ratio: 4 / 3; object-position: 45% 50%; }
  .graces { grid-template-columns: 1fr; gap: 22px; }
  .mural { width: min(100%, 290px); margin-inline: auto; }
  .graces__copy { order: -1; }
  .graces__names { order: 0; }
  .form { grid-template-columns: 1fr; }
  .form .btn { width: 100%; }
  .foot__cols { grid-template-columns: 1fr; }
  .pizza-cols, .carta-specials ul { grid-template-columns: 1fr; }
  .drink-cols { columns: 1; }
  .carta-tabs { padding-block: 8px; }
  .cart-panel { border-left: 0; }
  .carta-tabs a { font-size: 0.75rem; letter-spacing: 0; }
  .band-title { letter-spacing: 0.22em; }
}

/* Smallest phones: slim the name plate so "Reserva una mesa" keeps to two lines inside its oval. */
@media (max-width: 359px) {
  :root { --btn-inset: 14px; }
  .brand { padding-inline: 5px; }
  .brand .ltg { font-size: 1rem; }
  .brand small { font-size: 0.5625rem; }
  .oval-btn { width: 84px; padding: 6px 11px; font-size: 0.8125rem; }
}

.graces__copy .kicker { margin-bottom: 10px; }
.graces__blessing { margin-top: 12px; font-style: italic; font-size: 0.9375em; color: var(--ink-soft); }
