/* ============================================================
   Il Gozzo — cucina e cantina
   Design system + layout. Nessun framework: ~15 KB gzip.
   ============================================================ */

/* ---------- Font self-hosted (niente chiamate a Google: GDPR-safe) ---------- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/cormorant-garamond-400.woff2') format('woff2');
  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: 'Cormorant Garamond';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('/fonts/cormorant-garamond-600.woff2') format('woff2');
  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: 'InterVar';
  font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/fonts/inter-variable.woff2') format('woff2-variations');
  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;
}

/* ---------- Cinese tradizionale e giapponese ----------
   Cormorant e Inter non hanno i caratteri CJK. Invece di scaricare font
   da diversi megabyte, si usano i font di sistema: è la scelta standard,
   la più veloce e quella che i lettori riconoscono come "giusta".
   Cambiano anche interlinea e spaziatura, che per il CJK vanno diverse. */
html[lang="ja"] {
  --font-display: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", "Source Han Serif JP", serif;
  --font-body: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, "Noto Sans JP", "Meiryo", sans-serif;
}
html[lang="zh-Hant"] {
  --font-display: "Songti TC", "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif;
  --font-body: "PingFang TC", "Heiti TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}
html[lang="ja"] body, html[lang="zh-Hant"] body { line-height: 1.85; }
html[lang="ja"] h1, html[lang="zh-Hant"] h1,
html[lang="ja"] h2, html[lang="zh-Hant"] h2,
html[lang="ja"] h3, html[lang="zh-Hant"] h3 {
  letter-spacing: .01em;   /* nessuna crenatura negativa: schiaccerebbe gli ideogrammi */
  line-height: 1.35;
  font-weight: 600;
}
html[lang="ja"] h1, html[lang="zh-Hant"] h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
html[lang="ja"] h2, html[lang="zh-Hant"] h2 { font-size: clamp(1.45rem, 3.2vw, 2.1rem); }
html[lang="ja"] .kicker, html[lang="zh-Hant"] .kicker { letter-spacing: .1em; }
html[lang="ja"] .lead, html[lang="zh-Hant"] .lead { line-height: 1.8; }
/* Il CJK non ha spazi fra le parole: senza questo, un titolo lungo esce dal riquadro. */
html[lang="ja"] .mrow__name, html[lang="zh-Hant"] .mrow__name,
html[lang="ja"] .dish__name, html[lang="zh-Hant"] .dish__name,
html[lang="ja"] .vcard__name, html[lang="zh-Hant"] .vcard__name { line-break: strict; overflow-wrap: anywhere; }
/* Il marchio resta in latino: il logo non va mai reso con font di sistema. */
html[lang="ja"] .logo, html[lang="zh-Hant"] .logo { font-family: var(--font-body); }

/* ---------- Token ---------- */
:root {
  --ink:        #17130E;
  --ink-2:      #2B241C;
  --ink-3:      #574C3F;
  --stone:      #756A5B;
  --line:       #E2D8C7;
  --line-soft:  #EFE7DA;
  --cream:      #FCF9F4;
  --sand:       #F4EDE1;
  --gold:       #B0822C;
  --gold-2:     #8E6720;
  --gold-soft:  #F2E3C6;
  --white:      #FFFFFF;
  --green:      #2E6B4F;
  --wa:         #25D366;

  --font-display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-body: 'InterVar', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --wrap-narrow: 760px;
  --gut: clamp(1.25rem, 5vw, 3rem);
  --sec: clamp(4rem, 9vw, 7.5rem);
  --r: 4px;
  --r-lg: 10px;

  --shadow-1: 0 1px 2px rgb(23 19 14 / .05), 0 6px 18px -8px rgb(23 19 14 / .16);
  --shadow-2: 0 2px 6px rgb(23 19 14 / .07), 0 24px 48px -20px rgb(23 19 14 / .28);

  --header-h: 68px;
  --bar-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
/* Un display:block in una regola successiva batterebbe l'attributo hidden:
   qui si stabilisce una volta per tutte che hidden vince sempre. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: var(--bar-h);
}

img, picture, video, svg { max-width: 100%; display: block; }
/* Gli attributi width/height sulle <img> servono a prenotare lo spazio (anti-CLS):
   height:auto lascia poi che siano CSS e aspect-ratio a decidere l'altezza reale. */
img { height: auto; }
a { color: inherit; }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.012em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.35rem, 6.2vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); line-height: 1.2; }
h4 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }

/* Il livello di un titolo descrive la struttura del documento, non la sua
   dimensione. Dove i due bisogni non coincidono — il footer, le pagine legali,
   la finestra dei cookie — si usa il livello giusto e una di queste classi. */
.h3-look { font-size: clamp(1.3rem, 2.4vw, 1.65rem); line-height: 1.2; }
.h4-look { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; line-height: 1.3; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.kicker {
  font-family: var(--font-body);
  font-size: .74rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-2); margin: 0 0 1rem;
}
.lead { font-size: clamp(1.08rem, 1.9vw, 1.28rem); line-height: 1.55; color: var(--ink-3); }
.prose { max-width: 68ch; }
.prose p + :is(h2, h3) { margin-top: 2rem; }

/* Privacy e termini: elenchi e tabella dei cookie */
.legal :is(ul, .legal-table) + :is(h2, h3) { margin-top: 2rem; }
.legal ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.legal li { margin: 0 0 .4rem; }
.legal-table { overflow-x: auto; margin: 0 0 1rem; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.legal-table :is(th, td) { text-align: left; vertical-align: top; padding: .55rem .6rem; border-bottom: 1px solid var(--line); }
.legal-table thead th { color: var(--ink-3); font-weight: 600; }
.legal-table tbody th { font-weight: 400; white-space: nowrap; }

.rule { width: 56px; height: 2px; background: var(--gold); border: 0; margin: 0 0 1.6rem; }
.rule--center { margin-inline: auto; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: var(--wrap-narrow); }
.section { padding-block: var(--sec); }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: var(--cream); }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink .lead, .section--ink p { color: #D9CFC0; }
.section--ink .kicker { color: var(--gold-soft); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.center { text-align: center; }
.sec-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.sec-head.center { margin-inline: auto; }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); }

/* ---------- Bottoni ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--cream); --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .8rem 1.6rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd); border-radius: var(--r);
  font: inherit; font-size: .95rem; font-weight: 600; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-1); }
.btn:active { transform: translateY(0); }
.btn--gold { --btn-bg: var(--gold); --btn-fg: #fff; --btn-bd: var(--gold); }
.btn--gold:hover { --btn-bg: var(--gold-2); --btn-bd: var(--gold-2); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--cream); }
.btn--light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgb(255 255 255 / .55); }
.btn--light:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--wa { --btn-bg: var(--wa); --btn-fg: #06301A; --btn-bd: var(--wa); }
.btn--wa:hover { --btn-bg: #1FBE5A; --btn-bd: #1FBE5A; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-row--center { justify-content: center; }

.link-more {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: .95rem; color: var(--gold-2);
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link-more:hover { color: var(--ink); }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: .8rem 1.2rem; text-decoration: none;
}
.skip:focus { left: .5rem; top: .5rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .28s ease, box-shadow .28s ease, height .28s ease;
}
.header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgb(10 8 6 / .58), rgb(10 8 6 / 0));
  opacity: 1; transition: opacity .28s ease;
}
.header.is-solid { background: var(--cream); box-shadow: 0 1px 0 var(--line); }
.header.is-solid::before { opacity: 0; }
.header__inner { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); display: flex; align-items: center; gap: 1rem; }

.logo { display: flex; align-items: center; text-decoration: none; margin-right: auto; color: #fff; }
.header.is-solid .logo { color: var(--ink); }
.logo__lock { display: flex; align-items: center; gap: .62rem; }
.logo__mark { width: 42px; height: auto; flex: none; }
.logo__type { display: flex; flex-direction: column; align-items: center; gap: .28rem; }
.logo__word { width: 104px; height: auto; }
.logo__tag  { width: 98px; height: auto; }
@media (max-width: 780px) {
  .logo__mark { width: 36px; }
  .logo__word { width: 88px; }
  .logo__tag  { width: 83px; }
}
@media (max-width: 380px) {
  .logo__tag { display: none; }
}
.footer__brand .logo__mark { width: 54px; }
.footer__brand .logo__word { width: 132px; }
.footer__brand .logo__tag  { width: 124px; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  padding: .5rem .7rem; border-radius: var(--r);
  font-size: .9rem; font-weight: 500; text-decoration: none; color: #fff;
  white-space: nowrap; transition: color .2s, background-color .2s;
}
.header.is-solid .nav a { color: var(--ink-2); }
.nav a:hover { background: rgb(255 255 255 / .14); }
.header.is-solid .nav a:hover { background: var(--sand); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--gold-soft); }
.header.is-solid .nav a[aria-current="page"] { color: var(--gold-2); }

.header__cta { display: flex; align-items: center; gap: .5rem; }
.header .btn { min-height: 42px; padding: .5rem 1.1rem; font-size: .875rem; }

/* Selettore lingua */
.langsel { position: relative; }
.langsel__btn {
  display: flex; align-items: center; gap: .35rem;
  background: none; border: 1px solid rgb(255 255 255 / .4); color: #fff;
  border-radius: var(--r); padding: .45rem .7rem; font: inherit; font-size: .8rem; font-weight: 600;
  cursor: pointer; text-transform: uppercase; letter-spacing: .06em;
}
.header.is-solid .langsel__btn { border-color: var(--line); color: var(--ink-2); }
.langsel__list {
  position: absolute; right: 0; top: calc(100% + .5rem); min-width: 10rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-2); padding: .35rem; margin: 0; list-style: none;
  display: none;
}
.langsel[open] .langsel__list, .langsel.is-open .langsel__list { display: block; }
.langsel__list a {
  display: block; padding: .55rem .75rem; border-radius: var(--r);
  font-size: .9rem; color: var(--ink-2); text-decoration: none;
}
.langsel__list a:hover { background: var(--sand); }
.langsel__list a[aria-current="true"] { color: var(--gold-2); font-weight: 600; }

.burger {
  display: none; width: 44px; height: 44px; flex: none;
  align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer; color: #fff; padding: 0;
}
.header.is-solid .burger { color: var(--ink); }
.burger span { display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; transition: transform .2s ease, opacity .2s; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; width: 22px; height: 1.5px; background: currentColor; transition: transform .2s ease; }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1040px) {
  .nav, .header__cta .btn--ghost { display: none; }
  .burger { display: flex; }
}
/* Sotto i 780px la barra fissa in basso porta già "Prenota": nell'header sarebbe un doppione
   e su schermi stretti spinge il logo a capo. */
@media (max-width: 780px) {
  .header__cta > .btn { display: none; }
}

/* Con il drawer aperto l'header deve essere pieno anche sopra un hero fotografico,
   altrimenti resta la sfumatura scura sopra il pannello chiaro. */
.header:has(.burger[aria-expanded="true"]) { background: var(--cream); box-shadow: 0 1px 0 var(--line); }
.header:has(.burger[aria-expanded="true"])::before { opacity: 0; }
.header:has(.burger[aria-expanded="true"]) .logo,
.header:has(.burger[aria-expanded="true"]) .burger { color: var(--ink); }
.header:has(.burger[aria-expanded="true"]) .langsel__btn { border-color: var(--line); color: var(--ink-2); }

.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: var(--cream); padding: calc(var(--header-h) + 1.5rem) var(--gut) 2rem;
  display: flex; flex-direction: column; gap: .25rem;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.drawer.is-open { transform: none; }
.drawer a.drawer__link {
  font-family: var(--font-display); font-size: 1.75rem; padding: .6rem 0;
  text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line-soft);
}
.drawer a.drawer__link[aria-current="page"] { color: var(--gold-2); }

/* Segno della carta nuova sulla voce Menu, solo durante il cambio menu */
.nav__new { display: inline-block; width: 6px; height: 6px; margin-left: .3rem; border-radius: 50%; background: var(--gold); vertical-align: super; }
.drawer__new {
  display: inline-block; vertical-align: middle; margin-left: .5rem; padding: .2rem .6rem;
  border: 1px solid var(--gold); border-radius: 99px; background: var(--gold-soft); color: var(--gold-2);
  font-family: var(--font-body); font-size: .7rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
}
.drawer__foot { margin-top: auto; padding-top: 2rem; display: grid; gap: .6rem; }
.drawer__langs { display: flex; flex-wrap: wrap; gap: .4rem; padding-top: 1.25rem; }
.drawer__langs a {
  padding: .45rem .8rem; border: 1px solid var(--line); border-radius: 99px;
  font-size: .85rem; text-decoration: none; color: var(--ink-2);
}
.drawer__langs a[aria-current="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92svh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero--short { min-height: min(72svh, 620px); }
.hero__media { position: absolute; inset: 0; }
/* <picture> è il vero genitore dell'<img>: senza altezza esplicita qui, height:100%
   sull'immagine non si risolve e object-position non ha alcun effetto. */
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgb(12 9 6 / .88) 0%, rgb(12 9 6 / .55) 34%, rgb(12 9 6 / .14) 68%, rgb(12 9 6 / .4) 100%),
    linear-gradient(to right, rgb(12 9 6 / .62) 0%, rgb(12 9 6 / .28) 45%, rgb(12 9 6 / 0) 78%);
}
.hero__inner { position: relative; width: 100%; max-width: var(--wrap); margin-inline: auto; padding: calc(var(--header-h) + 1.5rem) var(--gut) clamp(3rem, 7vw, 5.5rem); }
.hero__content { max-width: 40rem; }
.hero h1 { color: #fff; text-shadow: 0 2px 24px rgb(0 0 0 / .3); }
.hero .kicker { color: var(--gold-soft); }
.hero__lead { font-size: clamp(1.02rem, 1.7vw, 1.2rem); color: #EBE3D8; margin-bottom: 1.8rem; max-width: 34rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .75rem; border: 1px solid rgb(255 255 255 / .35); border-radius: 99px;
  font-size: .78rem; letter-spacing: .03em; backdrop-filter: blur(4px); background: rgb(255 255 255 / .08);
}
.hero__scroll { position: absolute; right: var(--gut); bottom: clamp(3rem, 7vw, 5.5rem); display: none; }
@media (min-width: 900px) { .hero__scroll { display: block; } }

/* Annuncio della carta nuova sopra il titolo della home, solo durante il cambio menu.
   Oro e nero del menu stampato. */
.hero__notice {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: .4rem .65rem;
  margin-bottom: 1.5rem; padding: .45rem .45rem .45rem .95rem;
  border: 1px solid rgb(215 190 142 / .6); border-radius: 22px;
  background: rgb(23 19 14 / .5); backdrop-filter: blur(6px);
  color: #fff; font-size: .88rem; font-weight: 500; line-height: 1.3; text-decoration: none;
  transition: background-color .2s, border-color .2s;
}
.hero__notice:hover { background: rgb(23 19 14 / .7); border-color: #D7BE8E; }
.hero__notice-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: #D7BE8E; box-shadow: 0 0 0 4px rgb(215 190 142 / .22); }
.hero__notice-cta { padding: .3rem .8rem; border-radius: 99px; background: #D7BE8E; color: #1B1A19; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.hero__notice:hover .hero__notice-cta { background: #E6D3AC; }

/* Copertina della carta: come la copertina del menu stampato */
.hero--carta { min-height: 0; background: #1B1A19; align-items: center; text-align: center; }
.hero--carta .hero__inner { padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) var(--gut) clamp(3rem, 6vw, 4.75rem); }
.carta-cover { display: flex; flex-direction: column; align-items: center; max-width: 36rem; margin-inline: auto; }
.carta-cover__mark { width: clamp(84px, 11vw, 118px); height: auto; color: #D7BE8E; margin-bottom: clamp(1.6rem, 3.5vw, 2.4rem); }
.hero--carta .kicker { color: #D7BE8E; margin-bottom: .75rem; }
.hero--carta h1 { color: #F3E9D6; text-shadow: none; margin-bottom: 1rem; }
.carta-cover__lead { margin: 0; color: #CFC4B2; font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.45; }

/* ---------- Card ---------- */
.card {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  transition: box-shadow .25s ease, transform .25s ease;
}
.card:hover { box-shadow: var(--shadow-1); }
.card__icon { width: 30px; height: 30px; color: var(--gold); margin-bottom: 1rem; }
.card :is(h2, h3) { font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; letter-spacing: 0; margin-bottom: .5rem; }
.card p { font-size: .95rem; color: var(--ink-3); margin: 0; }
.section--ink .card { background: rgb(255 255 255 / .04); border-color: rgb(255 255 255 / .1); }
.section--ink .card p { color: #C9BEAE; }

/* ---------- Split (testo + immagine) ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-text { grid-template-columns: 1.15fr 1fr; }
  .split--rev > :first-child { order: 2; }
}
.split__media { position: relative; }
.split__media img { border-radius: var(--r-lg); width: 100%; height: auto; }
.split__media--tall img { aspect-ratio: 4 / 5; object-fit: cover; }
.split__stamp {
  position: absolute; right: -12px; bottom: -18px;
  background: var(--gold); color: #fff; padding: .9rem 1.15rem; border-radius: var(--r);
  font-family: var(--font-display); font-size: 1.1rem; line-height: 1.15; max-width: 11rem;
  box-shadow: var(--shadow-1);
}

/* ---------- Piatti ---------- */
.dish { position: relative; }
.dish__media { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--sand); }
.dish__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s cubic-bezier(.2,.6,.2,1); }
.dish:hover .dish__media img { transform: scale(1.045); }
.dish__body { padding-top: .95rem; }
.dish__name { font-family: var(--font-display); font-size: 1.28rem; line-height: 1.2; margin: 0 0 .3rem; }
.dish__desc { font-size: .9rem; color: var(--ink-3); margin: 0; }
.dish__price { font-size: .95rem; font-weight: 600; color: var(--gold-2); margin-left: .5rem; white-space: nowrap; }
.dish__tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .55rem; }

.tag {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .2rem .55rem; border-radius: 99px;
  font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  border: 1px solid var(--line); color: var(--ink-3); background: var(--white);
}
.tag--gf { border-color: #BFDCC9; background: #EDF7F1; color: var(--green); }
.tag--gfp { border-color: #E3CE9B; background: #FBF3E2; color: var(--gold-2); }
.tag--glu { border-color: var(--line); background: var(--sand); color: var(--stone); }
.tag--veg { border-color: #CDE3B7; background: #F1F7EA; color: #3E6B24; }
.tag--sig { border-color: var(--gold); background: var(--gold-soft); color: var(--gold-2); }
/* Novità: nero e oro, i colori della copertina del menu stampato */
.tag--new { border-color: #1B1A19; background: #1B1A19; color: #D7BE8E; }

/* ---------- Menu (lista) ---------- */
.menu-scope { position: relative; }
.menu-nav { position: sticky; top: var(--header-h); z-index: 40; background: var(--cream); border-bottom: 1px solid var(--line); }
.menu-nav__inner { display: flex; gap: .25rem; overflow-x: auto; padding: .6rem var(--gut); scrollbar-width: none; }
.menu-nav__inner::-webkit-scrollbar { display: none; }
.menu-nav a {
  flex: none; padding: .45rem .85rem; border-radius: 99px;
  font-size: .875rem; font-weight: 500; text-decoration: none; color: var(--ink-3); white-space: nowrap;
}
.menu-nav a:hover, .menu-nav a.is-active { background: var(--ink); color: var(--cream); }

.msec { padding-block: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line-soft); scroll-margin-top: calc(var(--header-h) + 56px); }
.msec:last-of-type { border-bottom: 0; }
.msec__head { margin-bottom: 2rem; }
.msec__head h2 { margin-bottom: .35rem; }
.msec__head p { color: var(--ink-3); font-size: .98rem; margin: 0; }

/* Righe del menu: nome, guida di puntini, prezzo */
.mrows { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 25rem), 1fr)); }
.mrow { display: grid; grid-template-columns: 96px 1fr; gap: 1rem; align-items: start; }
.mrow:not(:has(.mrow__media)) { grid-template-columns: 1fr; }
.mrow__thumb { width: 96px; height: 96px; border-radius: var(--r); object-fit: cover; background: var(--sand); }
.mrow__body { min-width: 0; }
.mrow__name {
  display: flex; align-items: baseline; gap: .4rem; margin: 0 0 .3rem;
  font-family: var(--font-display); font-size: 1.2rem; line-height: 1.25;
}
.mrow__name > span { flex: 0 1 auto; }
.mrow__dots { flex: 1 1 auto; min-width: 1.2rem; border-bottom: 1px dotted var(--line); transform: translateY(-.28em); }
.mrow__price {
  flex: none; font-family: var(--font-body); font-size: .92rem; font-weight: 600;
  color: var(--gold-2); font-variant-numeric: tabular-nums; font-style: normal;
}
.mrow__desc { font-size: .875rem; color: var(--ink-3); margin: 0 0 .45rem; }
.mrow__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.mrow__meta .dish__tags { margin: 0; }

/* Numeri degli allergeni, come sul menu cartaceo */
.allerg { display: inline-flex; gap: .2rem; }
.allerg b {
  display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 3px;
  border: 1px solid var(--line); border-radius: 3px; background: var(--white);
  font-size: .62rem; font-weight: 600; color: var(--stone); font-variant-numeric: tabular-nums;
}
.allergen-list {
  list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
}
.allergen-list li { display: grid; grid-template-columns: 24px 1fr; gap: .6rem; align-items: baseline; font-size: .9rem; }
.allergen-list b {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 3px;
  background: var(--ink); color: var(--cream); font-size: .7rem; font-weight: 600;
}

.menu-foot { font-size: .88rem; color: var(--stone); text-align: center; margin: 0; }
.menu-foot span { display: inline-block; }

/* La carta (cambio menu): una colonna sola, come le pagine del menu stampato */
.menu-scope--carta .wrap { max-width: 50rem; }
.menu-scope--carta .menu-nav__inner > :first-child { margin-left: auto; }
.menu-scope--carta .menu-nav__inner > :last-child { margin-right: auto; }
.menu-scope--carta .msec__head { text-align: center; margin-bottom: 2.4rem; }
.menu-scope--carta .msec__head h2 { font-weight: 400; font-size: clamp(2rem, 4.4vw, 2.6rem); }
.menu-scope--carta .msec__head h2::after { content: ''; display: block; width: 48px; height: 1px; margin: .85rem auto 0; background: var(--gold); }
.menu-scope--carta .msec__head p { max-width: 32rem; margin-inline: auto; }
.menu-scope--carta .mrows { grid-template-columns: 1fr; gap: 1.7rem; }
.menu-scope--carta .mrow__name { font-size: 1.4rem; }
.menu-scope--carta .mrow__price { font-size: 1rem; }
.menu-scope--carta .mrow__desc { font-size: .92rem; }

/* Fascia "quasi tutto il menu è senza glutine" */
.gfbanner {
  display: grid; grid-template-columns: 34px 1fr auto; gap: 1.1rem; align-items: center;
  padding: 1.25rem 1.4rem; margin-bottom: 1.5rem;
  background: #EDF7F1; border: 1px solid #BFDCC9; border-radius: var(--r-lg);
}
.gfbanner__icon { width: 32px; height: 32px; color: var(--green); }
.gfbanner h2 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; letter-spacing: 0; margin: 0 0 .2rem; color: #1F5138; }
.gfbanner p { font-size: .9rem; color: #2F6B4E; margin: 0; }
.gfbanner .btn { min-height: 42px; padding: .5rem 1.1rem; font-size: .85rem; white-space: nowrap; }
@media (max-width: 720px) {
  .gfbanner { grid-template-columns: 34px 1fr; }
  .gfbanner .btn { grid-column: 1 / -1; justify-self: start; }
}

/* Contatori della pagina senza glutine */
.gfstats { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); }
.gfstat { background: var(--white); padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .3rem; }
.gfstat b { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--green); font-variant-numeric: tabular-nums; }
.gfstat span { font-size: .8rem; color: var(--ink-3); }
.gfstat--muted b { color: var(--stone); }
.gfstat--wide b { color: var(--gold-2); }
.msec--flat { border-bottom: 0; padding-block: 0 2.5rem; }
.msec--flat .msec__head h3 { font-family: var(--font-display); font-size: 1.5rem; }

.legend { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; padding: 1.1rem 1.25rem; background: var(--sand); border-radius: var(--r-lg); }
.legend__item { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--ink-3); }
.note {
  font-size: .84rem; color: var(--stone); line-height: 1.6;
  border-left: 2px solid var(--line); padding-left: 1rem;
}

/* ---------- Galleria ---------- */
.gallery { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); background: var(--sand); }
.gallery--mosaic { grid-auto-rows: 12rem; }
.gallery--mosaic .g-tall { grid-row: span 2; }
.gallery--mosaic picture { display: block; height: 100%; }
.gallery--mosaic img { height: 100%; aspect-ratio: auto; }

/* ---------- Orari / info ---------- */
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { text-align: left; padding: .55rem 0; border-bottom: 1px solid var(--line-soft); font-weight: 400; }
.hours th { font-weight: 500; width: 42%; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-3); }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; color: var(--ink); }
.section--ink .hours th, .section--ink .hours td { border-color: rgb(255 255 255 / .12); color: #D9CFC0; }
.section--ink .hours tr.is-today th, .section--ink .hours tr.is-today td { color: #fff; }

.hours__note { font-size: .8rem; color: var(--stone); line-height: 1.55; margin: .8rem 0 0; }
.footer .hours__note { color: #948A7C; }
.section--ink .hours__note { color: #A99C8A; }

/* Riquadro della garanzia con carta per 15 agosto e festività */
.guarantee {
  border: 1px solid var(--gold); background: var(--gold-soft);
  border-radius: var(--r-lg); padding: 1.1rem 1.25rem; margin: 0 0 1.1rem;
}
.guarantee :is(h2, h3) { font-family: var(--font-body); font-size: 1rem; margin: 0 0 .4rem; color: var(--gold-2); }
.guarantee p { font-size: .9rem; color: var(--ink-2); margin: 0 0 .8rem; }
.guarantee .check { margin-bottom: 0; color: var(--ink-2); }

/* Orari al completo: restano visibili ma non selezionabili */
.chip input:disabled + span { opacity: .35; cursor: not-allowed; text-decoration: line-through; }

.status { display: inline-flex; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 600; }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--stone); }
.status.is-open { color: var(--green); } .status.is-open::before { background: var(--green); }
.status.is-closed { color: #A2564B; } .status.is-closed::before { background: #A2564B; }
.section--ink .status.is-open { color: #7FD1A6; } .section--ink .status.is-open::before { background: #7FD1A6; }
.section--ink .status.is-closed { color: #E0A79E; } .section--ink .status.is-closed::before { background: #E0A79E; }

.infolist { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.infolist li { display: grid; grid-template-columns: 22px 1fr; gap: .75rem; align-items: start; font-size: .95rem; }
.infolist svg { width: 20px; height: 20px; color: var(--gold); margin-top: 2px; }
.infolist a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
.infolist a:hover { border-color: var(--gold); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-weight: 600; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: .35rem; top: 1.55rem;
  width: 10px; height: 10px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq p { padding: 0 2.5rem 1.3rem 0; color: var(--ink-3); font-size: .96rem; margin: 0; }

/* ---------- Nearby ---------- */
.nearby { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.nearby li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line-soft); font-size: .93rem; }
.nearby span:last-child { color: var(--stone); white-space: nowrap; }

/* ---------- Quote ---------- */
.quote { max-width: 44rem; margin-inline: auto; text-align: center; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.25; }
.quote figcaption { margin-top: 1.25rem; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }

/* ---------- Form prenotazione ---------- */
.bookcard {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3.5vw, 2.5rem); box-shadow: var(--shadow-1);
}
.field { margin-bottom: 1.1rem; }
/* :not(.check) perché le caselle di spunta dentro un .field non devono
   ereditare lo stile maiuscolo delle etichette di campo. */
.field > label:not(.check), .fieldset > legend {
  display: block; font-size: .82rem; font-weight: 600; letter-spacing: .03em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: .45rem; padding: 0;
}
.req { color: var(--gold-2); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], select, textarea {
  width: 100%; min-height: 50px; padding: .75rem .9rem;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--r);
  font: inherit; font-size: 1rem; color: var(--ink);
  transition: border-color .18s ease, background-color .18s ease;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { background: var(--white); border-color: var(--gold); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: #B0453A; background: #FDF4F2; }
.field__err { display: none; color: #B0453A; font-size: .84rem; margin-top: .35rem; }
.field.has-err .field__err { display: block; }

.row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); }

.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.chip span {
  display: block; padding: .6rem 1rem; border: 1px solid var(--line); border-radius: var(--r);
  font-size: .95rem; font-variant-numeric: tabular-nums; background: var(--cream); transition: all .15s ease;
}
.chip input:checked + span { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.chip input:disabled + span { opacity: .35; cursor: not-allowed; }

.check { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; margin-bottom: .85rem; font-size: .92rem; color: var(--ink-3); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold); }
.check a { color: var(--gold-2); }

.trustlist { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.trustlist li { display: grid; grid-template-columns: 20px 1fr; gap: .6rem; font-size: .92rem; color: var(--ink-3); }
.trustlist svg { width: 18px; height: 18px; color: var(--green); margin-top: 3px; }

.formstate { display: none; }
.formstate.is-visible { display: block; }
.alert { padding: 1.1rem 1.25rem; border-radius: var(--r-lg); font-size: .95rem; }
.alert--ok { background: #EDF7F1; border: 1px solid #BFDCC9; color: #1F5138; }
.alert--err { background: #FDF4F2; border: 1px solid #E8C4BD; color: #8A382E; }
.alert :is(h2, h3) { font-family: var(--font-body); font-size: 1.05rem; margin: 0 0 .35rem; }

/* ---------- Barra mobile ---------- */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; background: var(--white); border-top: 1px solid var(--line);
  padding: .55rem var(--gut) calc(.55rem + env(safe-area-inset-bottom));
  gap: .5rem; box-shadow: 0 -4px 20px -10px rgb(23 19 14 / .3);
}
.actionbar .btn { flex: 1; min-height: 48px; padding: .6rem .5rem; font-size: .875rem; }
@media (max-width: 780px) {
  .actionbar { display: flex; }
  body { --bar-h: 68px; }
}

.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.5rem; z-index: 85;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #06301A; display: none;
  align-items: center; justify-content: center; box-shadow: var(--shadow-2);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }
@media (min-width: 781px) { .wa-float { display: flex; } }

/* ---------- Mappa ---------- */
.mapbox { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--sand); }
.mapbox iframe { width: 100%; height: 420px; border: 0; display: block; }
.mapbox__ph {
  display: grid; place-items: center; align-content: center; gap: 1rem;
  min-height: 420px; text-align: center; padding: 2rem;
  color: var(--ink-3); font-size: .95rem;
}
.mapbox__ph svg { width: 34px; height: 34px; color: var(--gold); }
.mapbox__ph p { max-width: 34ch; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #C9BEAE; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: .93rem; }
.footer a { color: #E6DED2; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.footer :is(h2, h4) { color: #fff; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer__brand .logo { color: #fff; margin-bottom: 1rem; }
.footer__social { display: flex; gap: .6rem; margin-top: 1rem; }
.footer__social a {
  width: 40px; height: 40px; border: 1px solid rgb(255 255 255 / .2); border-radius: var(--r);
  display: grid; place-items: center;
}
.footer__social a:hover { background: rgb(255 255 255 / .1); }
.footer__social svg { width: 20px; height: 20px; }

/* Badge delle piattaforme di recensione: icona + nome, perché l'icona
   da sola non basta a far riconoscere Tripadvisor o TheFork. */
.footer__badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.rbadge {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .4rem .7rem; border: 1px solid rgb(255 255 255 / .2); border-radius: var(--r);
  font-size: .8rem; line-height: 1; white-space: nowrap;
}
.rbadge:hover { background: rgb(255 255 255 / .1); }
.rbadge svg { width: 17px; height: 17px; flex: none; }
.footer .hours th { color: #E6DED2; }
.footer .hours td { color: #A99C8A; }
.footer .hours th, .footer .hours td { border-color: rgb(255 255 255 / .1); }
.footer .hours tr.is-today th, .footer .hours tr.is-today td { color: #fff; }
.footer__bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .12);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between;
  font-size: .82rem; color: #948A7C;
}

/* ---------- Cookie banner ---------- */
.cookiebar {
  position: fixed; left: 1rem; right: 1rem; bottom: calc(1rem + var(--bar-h)); z-index: 95;
  max-width: 30rem; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: 1.25rem;
  display: none;
}
.cookiebar { display: block; }
.cookiebar[hidden] { display: none; }
.cookiebar__cats { display: grid; gap: .8rem; margin: 0 0 1.1rem; padding: .9rem 0 0; border-top: 1px solid var(--line-soft); }
.ckcat { display: grid; grid-template-columns: 20px 1fr; gap: .7rem; align-items: start; font-size: .82rem; color: var(--ink-3); line-height: 1.5; }
.ckcat input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--gold); }
.ckcat strong { color: var(--ink); font-size: .88rem; }
.cookiebar__links { display: flex; gap: 1rem; flex-wrap: wrap; margin: .9rem 0 0; font-size: .82rem; }
.linkish {
  background: none; border: 0; padding: 0; font: inherit; color: var(--gold-2);
  text-decoration: underline; text-underline-offset: 2px; cursor: pointer;
}
.linkish:hover { color: var(--ink); }
.footer .linkish { color: #E6DED2; }
.footer__legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.steps--lg { gap: 1.2rem; }
.steps--lg li { font-size: .95rem; }
.mapbox__ph strong { font-size: 1.02rem; color: var(--ink); }
.cookiebar h2, .cookiebar h4 { margin: 0 0 .4rem; }
.cookiebar p { font-size: .88rem; color: var(--ink-3); margin: 0 0 1rem; }
.cookiebar .btn { min-height: 42px; font-size: .85rem; padding: .5rem 1rem; }

/* ---------- Buoni regalo ---------- */
.vgrid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.vcard { position: relative; display: block; cursor: pointer; }
.vcard input { position: absolute; opacity: 0; width: 0; height: 0; }
.vcard__inner {
  display: block; height: 100%; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.vcard input:checked + .vcard__inner { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold-soft); }
.vcard input:focus-visible + .vcard__inner { outline: 3px solid var(--gold); outline-offset: 3px; }
.vcard__media { display: block; }
.vcard__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.vcard__body { display: block; padding: 1.25rem 1.35rem 1.4rem; }
.vcard__price {
  display: inline-block; font-family: var(--font-display); font-size: 1.9rem; line-height: 1;
  color: var(--gold-2); margin-bottom: .45rem; font-variant-numeric: tabular-nums;
}
.vcard__name { display: block; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; margin-bottom: .2rem; }
.vcard__tagline { display: block; font-size: .875rem; color: var(--gold-2); margin-bottom: .7rem; }
.vcard__desc { display: block; font-size: .9rem; color: var(--ink-3); margin-bottom: 1rem; }
.vcard__inc b { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); margin-bottom: .5rem; }
.vcard__list { display: grid; gap: .4rem; }
.vcard__list > span { display: grid; grid-template-columns: 16px 1fr; gap: .5rem; align-items: start; font-size: .875rem; }
.vcard__list svg { width: 14px; height: 14px; color: var(--green); margin-top: 4px; }
.vcard__excl { display: block; margin-top: .9rem; font-size: .8rem; color: var(--stone); }

.vtotal {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line);
  font-size: .95rem;
}
.vtotal b { font-family: var(--font-display); font-size: 1.9rem; color: var(--ink); font-variant-numeric: tabular-nums; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 26px 1fr; gap: .75rem; align-items: start; font-size: .9rem; color: var(--ink-3); }
.steps b {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--gold-soft); color: var(--gold-2); font-size: .78rem; font-weight: 700;
}
.steps strong { color: var(--ink); }

#paypal-buttons { min-height: 46px; }
#paypal-buttons.is-disabled { opacity: .45; pointer-events: none; }

/* ---------- Utilities ---------- */
.stack > * + * { margin-top: 1.25rem; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: 2rem; } .mt-4 { margin-top: 3rem; }
.text-sm { font-size: .9rem; } .text-muted { color: var(--ink-3); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.6,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

@media print {
  .header, .actionbar, .wa-float, .cookiebar, .drawer, .hero__media::after { display: none !important; }
  body { padding: 0; background: #fff; }
}
