/* ============================================================
   TEA TASTING — STYLE.CSS
   Edit the SETTINGS below to change colours, sizes and spacing.
   Every component has ONE main section: no repeated overrides.
   ============================================================ */

/* 1. SETTINGS: THEME & SIZE ---------------------------------- */
:root {
  /* Page */
  --page-yellow: #febd03;
  --page-yellow-light: #f9e199;
  --accent: #d5490e;
  --page-background-image: url("stuff/sfondo-menu.jpg");
  --page-overlay: rgba(255, 248, 232, .68);
  --accent-hover: #8f3f0d;
  --ink: #2f2a25;
  --brown: #3b2416;
  --muted: #76553b;
  --cream: #fffaf0;

  /* CARD PALETTE — edit these variables to change all card colours */
  /* Tè: salvia chiara, come la vegetazione dello sfondo ad acquerello */
  --card-bg: #e3eadf;
  --card-hover: #d8e3d4;
  --card-open: #d1dece;
  --card-border: rgba(75, 108, 81, .35);
  /* Dolci: avorio/mandorla per distinguere le due sezioni */
  --pairing-bg: #efe5d7;
  --pairing-hover: #eadbc8;
  --pairing-open: #e3d3bd;
  --pairing-border: rgba(147, 111, 77, .35);
  /* Shared tea card text colours — high contrast on pale surfaces */
  --card-heading: #233e2e;
  --card-copy: #344c3c;
  --card-highlight: #355c46;
  --card-label: #365b47;
  --card-muted: #587260;
  --card-chip-bg: rgba(67, 109, 76, .10);
  --card-chip-border: rgba(67, 109, 76, .27);

  /* Layout */
  --event-logo-size: 132px; /* logo PNG sopra il titolo */
  --content-width: 1320px;
  --card-gap: 22px;
  --card-radius: 22px;
  --card-padding: 26px;
  --card-min-height: 365px;
  --flag-width: 112px;
  --flag-height: 78px;
  --pairing-flag-width: 80px; /* larghezza di entrambe le bandiere dei dolci */
  --pairing-flag-gap: 8px; /* spazio verticale tra bandiera UK e bandiera locale */

  /* BOOK NOW call-to-action: all prominent-button settings live here */
  --booking-button-font-size: 1.42rem;
  --booking-button-padding-y: 21px;
  --booking-button-padding-x: 43px;
  --booking-button-bg: #d7350b;
  --booking-button-bg-hover: #a92508;
  --booking-button-ring: rgba(215, 53, 11, .33);

  /* Typography: tea title & description (desktop) */
  --tea-name-size: clamp(1.9rem, 2.85vw, 2.65rem);
  --tea-description-size: 1rem;
  --detail-text-size: 1rem;
  --pairing-title-size: clamp(1.75rem, 2.25vw, 2.25rem);

  --font-body: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  /* Headline reference: Cormorant Garamond + forest green */
  --hero-title-font: "Cormorant Garamond", Georgia, serif;
  --hero-title-color: #2b4030;
  --hero-subtitle-color: #2b4030;
}

/* 2. BASE --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  padding: 34px 30px 48px;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    linear-gradient(var(--page-overlay), var(--page-overlay)),
    var(--page-background-image) center top / cover no-repeat fixed;
  background-color: var(--page-yellow-light);
}
button, input, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, .card:focus-visible, .pairing-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  padding: 0; margin: -1px; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* 3. HEADER ------------------------------------------------- */
/* Il logo e il sottotitolo mantengono le proprie dimensioni indipendentemente dalle card. */
.event-logo {
  display: block;
  width: var(--event-logo-size);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: 0 auto 24px;
  filter: drop-shadow(0 9px 16px rgba(88, 51, 13, .18));
}
/* EVENT TITLE — matched to the supplied visual reference */
.event-title-group {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
}
.event-title-group h1 {
  margin: 0;
  color: var(--hero-title-color);
  font-family: var(--hero-title-font);
  font-size: clamp(3.35rem, 11.5vw, 9.7rem);
  font-style: normal;
  font-weight: 400;
  line-height: .84;
  letter-spacing: -.047em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: none;
}
.event-subtitle {
  margin: 16px 0 0 8px;
  color: var(--hero-subtitle-color);
  font-family: var(--font-body);
  font-size: clamp(.97rem, 2.3vw, 1.76rem);
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: .17em;
  text-transform: uppercase;
  text-align: left;
}
.event-subtitle span { display: block; }
.site-header { text-align: center; max-width: 1120px; margin: 0 auto 38px; }
.event-date {
  display: inline-block; margin: 32px 0 0; padding: 11px 18px;
  border: 1px solid rgba(199,95,25,.14); border-radius: 999px;
  color: var(--muted); background: rgba(255,255,255,.82);
  font-size: 1.02rem; font-weight: 800;
}
.event-info {
  max-width: 660px; margin: 12px auto 0; padding: 12px 18px;
  border: 1px solid rgba(199,95,25,.14); border-radius: 18px;
  background: rgba(255,250,240,.86); box-shadow: 0 8px 18px rgba(88,51,13,.08);
  color: var(--brown); line-height: 1.45; font-size: .98rem; font-weight: 700;
}
/* Event information is separated into easily editable lines. */
.event-info { display: flex; flex-direction: column; gap: 7px; align-items: center; }
.event-location { color: var(--hero-title-color); font-weight: 850; }
.event-price {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: #e6d9c0; color: #3c4c36; font-size: 1.07rem; font-weight: 900;
}
.event-includes { color: var(--muted); font-size: .90rem; }
.modal-price { color: var(--accent-hover); font-weight: 800; }

/* Primary reservation CTA. This is deliberately the strongest accent on the page. */
.booking-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 24px auto 0;
  color: #662b12;
  font-size: .85rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.booking-notice-dot { color: #b82e10; font-size: 1.15em; }
.book-now {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 82px;
  max-width: 100%;
  margin-top: 12px;
  padding: var(--booking-button-padding-y) var(--booking-button-padding-x);
  border: 3px solid #fff6df;
  border-radius: 999px;
  background: linear-gradient(135deg, #ed4918 0%, var(--booking-button-bg) 55%, #a72308 100%);
  color: #fff;
  font-size: var(--booking-button-font-size);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .065em;
  text-shadow: 0 1px 2px rgba(82, 21, 4, .2);
  box-shadow: 0 7px 0 #852408, 0 18px 34px rgba(117, 32, 9, .32);
  animation: booking-pulse 2.9s ease-in-out infinite;
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}
.book-now-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  background: #fff3dd;
  color: #ad2d0d;
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: none;
  transition: transform .22s ease;
}
.book-now:hover {
  animation: none;
  transform: translateY(-4px) scale(1.035);
  background: linear-gradient(135deg, #ec3f11, var(--booking-button-bg-hover));
  box-shadow: 0 10px 0 #732006, 0 24px 42px rgba(117, 32, 9, .4);
}
.book-now:hover .book-now-icon { transform: translate(3px, -3px); }
.book-now:active { transform: translateY(1px) scale(.99); }
.book-now:focus-visible { outline: 4px solid #42270c; outline-offset: 5px; }
@keyframes booking-pulse {
  0%, 100% { box-shadow: 0 7px 0 #852408, 0 18px 34px rgba(117, 32, 9, .32), 0 0 0 0 var(--booking-button-ring); }
  55% { box-shadow: 0 7px 0 #852408, 0 20px 40px rgba(117, 32, 9, .38), 0 0 0 13px rgba(215, 53, 11, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .book-now { animation: none; transition: none; }
  .book-now-icon { transition: none; }
}
.header-capacity {
  width: fit-content; margin: 12px auto 0; padding: 8px 13px;
  border: 1px solid rgba(199,95,25,.14); border-radius: 999px;
  background: rgba(255,250,240,.86); color: var(--brown);
  font-size: .78rem; font-weight: 800;
}

/* 4. SECTION HEADINGS & GRIDS ------------------------------- */
.menu-section { max-width: var(--content-width); margin: 0 auto 64px; }
.section-title { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.section-number {
  display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 auto;
  border-radius: 50%; color: #fff; background: var(--accent);
  font-size: .8rem; font-weight: 900; box-shadow: 0 9px 20px rgba(143,63,13,.18);
}
.section-kicker {
  margin: 0 0 10px; color: var(--accent-hover); font-size: .78rem;
  font-weight: 900; letter-spacing: .18em;
}
.section-title h2 {
  margin: 2px 0 0; color: var(--brown); font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem); line-height: .95;
}
.menu-guide {
  margin: 0 0 24px 64px; max-width: 720px; color: var(--muted);
  line-height: 1.55; font-size: .92rem; font-weight: 600;
}
.menu, .pairings { display: grid; gap: var(--card-gap); }
.menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pairings { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* 5. TEA CARDS --------------------------------------------- */
/* Colori locali: tè verde bosco, dolci marrone caldo. Stessa struttura. */
.card {
  --surface-bg: var(--card-bg);
  --surface-hover: var(--card-hover);
  --surface-open: var(--card-open);
  --surface-border: var(--card-border);
  --surface-hover-border: rgba(55, 92, 67, .52);
}
.pairing-card {
  --surface-bg: var(--pairing-bg);
  --surface-hover: var(--pairing-hover);
  --surface-open: var(--pairing-open);
  --surface-border: var(--pairing-border);
  --surface-hover-border: rgba(135, 95, 60, .54);
  /* Dessert text uses warm walnut rather than forest green */
  --card-heading: #4a382b;
  --card-copy: #58473a;
  --card-highlight: #76543b;
  --card-label: #684c36;
  --card-muted: #806955;
  --card-chip-bg: rgba(133, 96, 57, .10);
  --card-chip-border: rgba(133, 96, 57, .27);
}
.card, .pairing-card {
  display: flex; position: relative; min-width: 0; min-height: var(--card-min-height);
  border: 1px solid var(--surface-border); border-radius: var(--card-radius);
  background: var(--surface-bg); color: var(--card-copy); cursor: pointer;
  box-shadow: 0 12px 28px rgba(65, 48, 32, .12);
  transition: transform .22s, box-shadow .22s, background .22s, border-color .22s;
}
.card:hover, .card:focus-visible, .pairing-card:hover, .pairing-card:focus-visible {
  background: var(--surface-hover); transform: translateY(-3px);
  border-color: var(--surface-hover-border);
  box-shadow: 0 18px 36px rgba(65, 48, 32, .16);
}
.card.active, .pairing-card.active {
  background: var(--surface-open);
  box-shadow: 0 18px 38px rgba(65, 48, 32, .16);
}
.card-content, .pairing-content {
  display: flex; flex-direction: column; width: 100%; min-width: 0;
  padding: var(--card-padding);
}
.country {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin: 0 0 26px; padding: 0 0 14px;
  border-bottom: 1px solid var(--card-chip-border);
  color: var(--card-label); font-size: clamp(1.5rem, 2.35vw, 2rem);
  font-weight: 900; letter-spacing: .045em;
}
.card-index { color: var(--card-muted); font-size: .72rem; letter-spacing: .12em; }
.dish-row { display: flex; align-items: center; gap: 18px; min-width: 0; }
.tea-flag-image {
  display: block; flex: 0 0 var(--flag-width);
  width: var(--flag-width); height: var(--flag-height);
  padding: 3px; border: 1px solid var(--card-chip-border);
  border-radius: 8px; background: rgba(255,255,255,.5);
  object-fit: contain; box-shadow: 0 6px 15px rgba(0,0,0,.12);
}
.dish-info { min-width: 0; }
.small-label {
  margin: 0 0 8px; color: var(--card-highlight); font-size: .82rem;
  font-weight: 900; letter-spacing: .13em; line-height: 1.25;
}
.dish-info h3 {
  margin: 0; max-width: 470px; color: var(--card-heading);
  font: 700 var(--tea-name-size)/1.03 var(--font-display);
  letter-spacing: -.028em; overflow-wrap: break-word;
}
.taste { margin: 10px 0 0; max-width: 520px; color: var(--card-copy); font-size: var(--tea-description-size); line-height: 1.5; }
.card-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin-top: auto; padding-top: 24px;
}
.origin-pill {
  display: inline-flex; align-items: center; padding: 8px 11px;
  border: 1px solid var(--card-chip-border); border-radius: 999px;
  background: var(--card-chip-bg); color: var(--card-label);
  font-size: .86rem; line-height: 1.2; letter-spacing: .025em;
}
.card-toggle-hint {
  display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto;
  color: var(--card-muted); font-size: .82rem; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase;
}
.card-chevron {
  display: inline-grid; place-items: center; width: 26px; height: 26px;
  border-radius: 50%; background: #c1d2bf; color: #24372e;
  font-size: 1rem; line-height: 1; transition: transform .25s, background .2s;
}
.expandable-card.active .card-chevron { transform: rotate(180deg); background: #afc7ad; }

/* Shared expandable area: works for tea AND dessert cards */
.details {
  display: grid; grid-template-rows: 0fr; margin-top: 0; opacity: 0;
  font-size: var(--detail-text-size); line-height: 1.62;
  transition: grid-template-rows .35s ease, margin-top .35s ease, opacity .25s;
}
.details-inner { min-height: 0; overflow: hidden; }
.expandable-card.active .details { grid-template-rows: 1fr; margin-top: 22px; opacity: 1; }
.detail-block { padding-top: 17px; border-top: 1px solid var(--card-chip-border); }
.detail-block + .detail-block { margin-top: 18px; }
.detail-block h4 {
  margin: 0 0 9px; color: var(--card-highlight); font-size: .78rem;
  font-weight: 900; line-height: 1.3; letter-spacing: .11em; text-transform: uppercase;
}
.detail-block p { margin: 0; color: var(--card-copy); line-height: 1.62; }
.botanical-name { color: var(--card-highlight); font-weight: 650; }
.condition-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.condition-chip {
  display: inline-flex; align-items: center; min-height: 28px; padding: 5px 9px;
  border-radius: 999px; border: 1px solid var(--card-chip-border);
  background: var(--card-chip-bg); color: var(--card-label);
  font-size: .82rem; font-weight: 700; line-height: 1.25;
}

/* 6. DESSERT CARDS ----------------------------------------- */
/* Le card dei dolci condividono stile, intestazione e interazioni con i tè.
   Le due bandiere sono impilate, Regno Unito sopra e regione sotto. */
/* Colore dolci gestito dalle variabili --pairing-* in :root. */
.pairing-card .country { font-size: clamp(1.05rem, 1.55vw, 1.35rem); }
.pairing-dish-row { align-items: flex-start; gap: 16px; }
.pairing-info { min-width: 0; }
.pairing-flag-stack {
  display: flex;
  flex: 0 0 var(--pairing-flag-width);
  flex-direction: column;
  gap: var(--pairing-flag-gap);
  width: var(--pairing-flag-width);
}
.pairing-flag-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  padding: 3px;
  border: 1px solid var(--card-chip-border);
  border-radius: 8px;
  background: rgba(255,255,255,.5);
  box-shadow: 0 6px 15px rgba(0,0,0,.12);
}
.pairing-content h3 {
  margin: 0;
  color: var(--card-heading);
  font: 700 var(--pairing-title-size)/1.07 var(--font-display);
  overflow-wrap: break-word;
}
.pairing-original {
  margin: 10px 0 0; color: var(--card-highlight);
  font-size: .87rem; line-height: 1.45; font-weight: 650;
}
.pairing-preview {
  margin: 12px 0 0; color: var(--card-copy);
  font-size: 1rem; line-height: 1.5;
}
.pairing-footer { justify-content: flex-end; padding-top: 20px; }
.pairing-card .details { width: 100%; }
.pairing-card .detail-block p { margin: 0; }

/* 7. FOOTER ------------------------------------------------ */
.site-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  max-width: var(--content-width); margin: 38px auto 0; padding: 18px 22px;
  border: 1px solid rgba(199,95,25,.14); border-radius: 20px;
  background: rgba(255,255,255,.55); box-shadow: 0 12px 26px rgba(88,51,13,.12);
}
.site-footer p { margin: 0; color: var(--muted); font-size: .95rem; font-weight: 700; line-height: 1.4; }
.admin-link {
  flex: 0 0 auto; padding: 10px 14px; border-radius: 999px;
  border: 1px solid rgba(143,63,13,.18); background: rgba(255,255,255,.82);
  color: var(--accent-hover); font-size: .68rem; font-weight: 900; letter-spacing: .08em;
}
.admin-link:hover { background: white; }

/* 8. BOOKING MODAL ----------------------------------------- */
.modal {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 100;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.modal.active { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(45,29,16,.72); backdrop-filter: blur(7px); }
.modal-card {
  position: relative; z-index: 2; width: min(520px, calc(100% - 30px));
  max-height: 90vh; overflow-y: auto; padding: 36px; border-radius: 26px;
  background: #fffaf0; border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 24px 60px rgba(47,30,14,.34);
  transform: translateY(20px) scale(.98); transition: transform .28s;
}
.modal.active .modal-card { transform: translateY(0) scale(1); }
.close-button {
  position: absolute; right: 17px; top: 12px; border: 0;
  background: transparent; color: var(--accent-hover); font-size: 2rem;
}
.modal-card h2 {
  margin: 0; color: var(--accent); font-family: var(--font-display);
  font-size: 2.8rem; line-height: .95;
}
.modal-event { margin: 16px 0 28px; color: var(--brown); font-weight: 700; line-height: 1.55; }
.booking-storage-note { margin: -16px 0 24px; color: var(--muted); font-size: .8rem; line-height: 1.45; }
#bookingForm { display: grid; gap: 11px; }
#bookingForm label {
  margin-top: 7px; color: var(--brown); font-size: .76rem;
  font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
}
#bookingForm input, #bookingForm select {
  width: 100%; padding: 13px 14px; border: 1px solid rgba(143,63,13,.19);
  border-radius: 14px; background: #fff; color: var(--ink); font-size: .96rem;
}
.submit-button {
  display: flex; justify-content: space-between; align-items: center; margin-top: 12px;
  padding: 15px 17px; border: 0; border-radius: 14px;
  background: var(--accent); color: #fff; font-weight: 900; letter-spacing: .06em;
}
.submit-button:hover { background: var(--accent-hover); }
.success-message { margin: 16px 0 0; line-height: 1.5; font-size: .9rem; font-weight: 700; }
.success-message.is-confirmed { color: #3f6c36; }
.success-message.is-waitlist { color: var(--accent-hover); }
.success-message.is-error { color: #a42f24; }

/* 9. ADMIN LAYOUT ------------------------------------------ */
.admin-panel {
  position: fixed; inset: 0; z-index: 150; overflow-y: auto;
  background: #242424; color: #f7f1e6;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s, visibility .25s, transform .25s;
}
.admin-panel.active { opacity: 1; visibility: visible; transform: translateY(0); }
.admin-shell { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 44px 0 70px; }
.admin-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 30px;
  padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.11);
}
.admin-eyebrow { margin: 0 0 9px; color: #e7bc71; font-size: .72rem; font-weight: 900; letter-spacing: .16em; }
.admin-header h2 {
  margin: 0; color: #fff; font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: .95;
}
.admin-subtitle { margin: 14px 0 0; color: rgba(255,255,255,.64); font-size: .9rem; font-weight: 600; }
.admin-close {
  flex: 0 0 auto; width: 50px; height: 50px; border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%; background: #333; color: white; font-size: 2rem;
}
.admin-close:hover { background: var(--accent); }
.admin-local-note {
  margin: 22px 0; padding: 13px 16px; border-radius: 14px;
  border: 1px solid rgba(231,188,113,.22); background: rgba(231,188,113,.07);
  color: rgba(255,255,255,.72); font-size: .8rem; line-height: 1.5;
}
.admin-local-note strong { color: #f0c56f; }
.admin-stats {
  display: grid; grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 12px; margin: 24px 0;
}
.admin-stat {
  display: flex; flex-direction: column; justify-content: space-between;
  min-width: 0; min-height: 118px; padding: 18px;
  border: 1px solid rgba(255,255,255,.09); border-radius: 18px; background: #303030;
}
.admin-stat-label { color: rgba(255,255,255,.55); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.admin-stat strong { color: #fff; font: 700 2.35rem/1 var(--font-display); }
.admin-stat:last-child strong { color: #f1c96f; }
.admin-toolbar {
  display: grid; grid-template-columns: minmax(190px, 1fr) 200px auto auto;
  gap: 10px; margin: 28px 0 15px;
}
.admin-toolbar input, .admin-toolbar select {
  width: 100%; height: 46px; padding: 0 14px;
  border: 1px solid rgba(255,255,255,.11); border-radius: 12px;
  background: #313131; color: #fff; font-size: .85rem;
}
.admin-toolbar input::placeholder { color: rgba(255,255,255,.42); }
.admin-export {
  min-height: 46px; border: 0; border-radius: 12px; padding: 0 16px;
  background: var(--accent); color: #fff; font-size: .72rem;
  font-weight: 900; letter-spacing: .07em;
}
.admin-export:hover { background: var(--accent-hover); }
.admin-reset { background: #5a473d; }
.admin-reset:hover { background: #43342e; }
.admin-list-head, .booking-row {
  display: grid;
  grid-template-columns: minmax(190px, 1.6fr) 85px 130px 140px minmax(230px, 1fr);
  gap: 14px; align-items: center;
}
.admin-list-head {
  padding: 0 16px 9px; color: rgba(255,255,255,.4);
  font-size: .65rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase;
}
.admin-bookings { display: grid; gap: 9px; }
.booking-row {
  min-width: 0; padding: 15px 16px; border: 1px solid rgba(255,255,255,.08);
  border-radius: 15px; background: #303030;
}
.booking-person { min-width: 0; overflow-wrap: anywhere; }
.booking-person strong { display: block; color: #fff; font-size: .92rem; }
.booking-person a { display: inline-block; margin-top: 3px; color: #d7b574; font-size: .77rem; text-decoration: none; }
.booking-person a:hover { text-decoration: underline; }
.booking-guests, .booking-date { color: rgba(255,255,255,.74); font-size: .8rem; font-weight: 700; }
.booking-status {
  display: inline-flex; width: fit-content; padding: 7px 10px; border-radius: 999px;
  font-size: .67rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase;
}
.booking-status.confirmed { background: rgba(92,173,105,.14); color: #8cd295; }
.booking-status.waitlist { background: #f0c66f; color: #2f2416; }
.booking-status.cancelled { background: rgba(202,95,82,.13); color: #e89387; }
.booking-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.booking-action {
  padding: 7px 9px; border: 1px solid rgba(255,255,255,.1); border-radius: 9px;
  background: #3a3a3a; color: rgba(255,255,255,.83);
  font-size: .65rem; font-weight: 800;
}
.booking-action:hover { background: #484848; }
.booking-action.confirm { color: #9ed8a4; }
.booking-action.cancel { color: #efb07b; }
.booking-action.delete { color: #ec9187; }
.admin-empty { padding: 70px 20px; text-align: center; border: 1px dashed rgba(255,255,255,.12); border-radius: 20px; background: #2c2c2c; }
.admin-empty-icon { display: block; margin-bottom: 12px; font-size: 2rem; }
.admin-empty h3 { margin: 0; color: #fff; font: 700 1.7rem var(--font-display); }
.admin-empty p { margin: 8px 0 0; color: rgba(255,255,255,.55); font-size: .82rem; }

/* 10. RESPONSIVE: adjust these settings for tablet/mobile --- */
@media (max-width: 1080px) {
  .pairings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-toolbar { grid-template-columns: minmax(200px, 1fr) 180px; }
}
@media (max-width: 900px) {
  .menu, .pairings { grid-template-columns: 1fr; }
  .menu-guide { margin-left: 0; }
  .admin-list-head { display: none; }
  .booking-row { grid-template-columns: 1fr auto; }
  .booking-person { grid-column: 1; }
  .booking-status { grid-column: 2; justify-self: end; }
  .booking-guests, .booking-date, .booking-actions { grid-column: 1 / -1; }
  .booking-actions { justify-content: flex-start; }
}
@media (max-width: 700px) {
  body { padding: 22px 14px 38px; }
  :root { --event-logo-size: 108px; }
  .event-logo { margin-bottom: 20px; }
  .event-title-group h1 { font-size: clamp(2.85rem, 10.8vw, 5.8rem); }
  .event-subtitle { margin-top: 14px; margin-left: 3px; font-size: clamp(.79rem, 2.9vw, 1.18rem); letter-spacing: .12em; }
  .booking-notice { font-size: .73rem; margin-top: 22px; letter-spacing: .08em; }
  .book-now { min-height: 74px; gap: 14px; padding: 16px 23px; font-size: 1.13rem; }
  .book-now-icon { width: 42px; height: 42px; flex-basis: 42px; font-size: 1.42rem; }
  .event-date { margin-top: 28px; font-size: .9rem; }
  .event-info { font-size: .88rem; }
  .site-footer { align-items: stretch; flex-direction: column; text-align: center; }
  .admin-link { align-self: center; }
  .admin-shell { width: min(100% - 24px, 1240px); padding-top: 28px; }
  .admin-header h2 { font-size: 2.4rem; }
  .admin-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .admin-toolbar { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root {
    --card-padding: 20px;
    --card-min-height: 330px;
    --flag-width: 86px;
    --flag-height: 64px;
    --tea-name-size: 1.72rem;
    --tea-description-size: .94rem;
    --detail-text-size: .94rem;
    --pairing-title-size: 1.8rem;
    --pairing-flag-width: 64px;
  }
  .menu-section { margin-bottom: 48px; }
  .menu-guide { margin-bottom: 18px; font-size: .86rem; }
  .country { margin-bottom: 20px; font-size: 1.32rem; }
  .dish-row { gap: 13px; }
  .small-label { font-size: .76rem; }
  .card-toggle-text { display: none; }
  .card-footer { gap: 14px; }
  .pairing-dish-row { gap: 13px; }
  .pairing-original { font-size: .83rem; }
  .modal-card { padding: 30px 22px; }
  .modal-card h2 { font-size: 2.35rem; }
}
@media (max-width: 430px) {
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .booking-row { grid-template-columns: 1fr; }
  .booking-person, .booking-status, .booking-guests, .booking-date, .booking-actions {
    grid-column: 1; grid-row: auto; justify-self: stretch;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
/* ============================================================
   Online booking & admin enhancements — edit these as needed
   ============================================================ */
[hidden]{display:none!important}
.booking-privacy-note{font-size:.78rem;line-height:1.45;color:#725e49}
.turnstile-spot:not(:empty){min-height:70px;margin:8px 0}
.header-capacity{margin:12px auto 0;color:#5a371c;font-size:.82rem;font-weight:800}
.success-message.is-error{color:#aa3328}.success-message.is-waitlist{color:#975c19}.success-message.is-confirmed{color:#32643a}
.admin-login{width:min(540px,100%);margin:45px auto;padding:30px;border-radius:22px;background:#343434;color:white;border:1px solid #555}
.admin-login h3{font:700 2rem Georgia,serif;margin:0 0 10px;color:white}
.admin-login p{line-height:1.5;color:#ddd}.admin-login input{display:block;width:100%;margin:10px 0 20px;background:#222;color:#fff;padding:13px;border:1px solid #777;border-radius:10px}
.admin-extra{background:#343434;border:1px solid #555;border-radius:20px;margin:25px 0;padding:25px;color:white}
.admin-extra h3{font:700 1.6rem Georgia,serif;margin:0 0 12px}.admin-extra p{color:#eee;font-size:.88rem;line-height:1.5}
.demo-actions{display:flex;flex-wrap:wrap;gap:8px}.demo-actions button{background:#d24e19;border:0;color:#fff;padding:11px 13px;border-radius:10px;font-weight:800;cursor:pointer}
.demo-actions button:hover{background:#af390f}.email-log{display:grid;gap:8px}.email-item{background:#2b2b2b;padding:12px;border-radius:10px;overflow-wrap:anywhere}
.email-item>div{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap}.email-item a{color:#f2cf78;font-weight:800}
.email-pill{font-size:.73rem;border-radius:99px;background:#595959;padding:4px 8px;color:#fff}.email-pill.sent{color:#b8ffb8;background:#234827}
.attendance-chip{font-size:.66rem;display:block;margin-top:6px;color:#ade5b9;font-weight:800}.attendance-chip.pending{color:#ffcf85}
.admin-stat.needs-attention{border:2px solid #d4ad62}.booking-status.offered{background:#5e4874;color:#f7dfff}.booking-status.waiting{background:#b07f30;color:white}.booking-status.declined{background:#555;color:#ddd}
.booking-row small{color:#d5b972;display:block;margin-top:8px}

/* Reset test button: clearly distinct destructive action */
.demo-actions button.demo-reset {background:#822a26; border:1px solid #efb4ad;}
.demo-actions button.demo-reset:hover {background:#6b211e;}

/* Sito di prova: avviso persistente e ben visibile su ogni schermo */
.test-banner {
  width: min(100%, 1120px);
  margin: -10px auto 28px;
  padding: 14px 22px;
  border: 2px solid #446b52;
  border-radius: 16px;
  background: #e1edde;
  color: #203e2b;
  box-shadow: 0 5px 16px rgba(29, 61, 37, .12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 22px;
  text-align: center;
  font: 700 .95rem/1.5 var(--font-body);
}
.test-banner strong:first-child { letter-spacing: .045em; }
.test-banner span { font-weight: 500; }
.test-banner span strong { font-weight: 850; }
@media (max-width: 640px) {
  .test-banner { margin: -15px auto 18px; padding: 12px 14px; font-size: .82rem; }
}
