/* ==========================================================
   Offerte Natalizie — sito pubblico (mobile first)
   ========================================================== */
:root {
  --pine: #0f3b2f;
  --pine-2: #17503f;
  --pine-3: #0a2a21;
  --red: #c8323c;
  --red-2: #a8242d;
  --gold: #e6b85c;
  --gold-2: #f4d896;
  --cream: #faf6ef;
  --paper: #fffdf9;
  --ink: #1b2724;
  --muted: #5f6d68;
  --line: #ebe3d6;
  --wa: #1fa855;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(15, 59, 47, .06), 0 10px 28px -12px rgba(15, 59, 47, .22);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 130px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
html.lock, html.lock body { overflow: hidden; }
img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 16px; height: 16px; }
.icon-xs { width: 13px; height: 13px; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px; border-radius: 14px; border: 0;
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--gold); color: var(--pine-3); box-shadow: 0 10px 28px -10px rgba(230, 184, 92, .8); }
.btn-gold:hover { background: var(--gold-2); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #18914a; }
.btn-outline { background: #fff; color: var(--pine); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--pine); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 50% at 50% 30%, rgba(230, 184, 92, .16), transparent 70%),
    radial-gradient(120% 90% at 50% 0%, var(--pine-2) 0%, var(--pine) 55%, var(--pine-3) 100%);
  color: var(--cream);
  text-align: center;
  padding: calc(72px + env(safe-area-inset-top)) 0 96px;
}
#snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
.hero-inner { position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  color: var(--gold-2); background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14); padding: 8px 14px; border-radius: 999px;
  max-width: 100%;
}
.logo {
  width: min(230px, 62vw); height: auto; margin: 0 auto 26px;
  filter: drop-shadow(0 0 1.5px rgba(255, 255, 255, .9)) drop-shadow(0 14px 26px rgba(0, 0, 0, .35));
  animation: logo-in .7s cubic-bezier(.2, .85, .25, 1) both;
}
@media (min-width: 768px) { .logo { width: 290px; margin-bottom: 32px; } }
@keyframes logo-in { from { opacity: 0; transform: translateY(-10px) scale(.96); } to { opacity: 1; transform: none; } }
.hero-star {
  width: 46px; height: 46px; margin: 26px auto 10px; color: var(--gold);
  filter: drop-shadow(0 0 16px rgba(230, 184, 92, .6));
  animation: twinkle 3.4s ease-in-out infinite;
}
.hero-star .icon { width: 100%; height: 100%; }
.title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(3.2rem, 17vw, 7.5rem); line-height: .9; letter-spacing: -.025em;
  text-wrap: balance;
}
.title span { display: block; }
.title .accent {
  font-style: italic; font-weight: 500; color: var(--gold);
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 70%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  padding: 0 .06em .08em;
}
.tagline { max-width: 32ch; margin: 18px auto 0; color: rgba(250, 246, 239, .8); font-size: 1.05rem; text-wrap: balance; }
.countdown {
  display: inline-flex; align-items: center; gap: 8px; margin: 26px 0 0;
  padding: 8px 18px 8px 16px; border-radius: 999px;
  background: rgba(200, 50, 60, .95); color: #fff; font-weight: 600; font-size: .95rem;
  box-shadow: 0 12px 30px -12px rgba(200, 50, 60, .9);
}
.countdown b {
  display: inline-grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px;
  border-radius: 999px; background: #fff; color: var(--red); font-size: 1.05rem;
}
.hero-cta { display: flex; justify-content: center; margin-top: 26px; }
.hero-trees {
  position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 56px;
  fill: var(--cream);
}
@media (min-width: 768px) {
  .hero { padding: 96px 0 130px; }
  .hero-trees { height: 90px; }
  .tagline { font-size: 1.2rem; }
}

@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0); opacity: 1; }
  50% { transform: scale(.88) rotate(8deg); opacity: .85; }
}

/* ---------- Barra di ricerca/filtri ---------- */
.sentinel { height: 1px; }
.toolbar {
  position: sticky; top: 0; z-index: 20;
  padding: 12px 0 10px;
  background: rgba(250, 246, 239, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.toolbar.is-stuck { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(15, 59, 47, .5); }
.search { position: relative; display: block; }
.search .icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; height: 48px; border-radius: 14px; border: 1px solid var(--line);
  background: #fff; padding: 0 16px 0 44px; font-size: 16px; outline: none;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
.search input:focus { border-color: var(--pine-2); box-shadow: 0 0 0 4px rgba(23, 80, 63, .12); }
.chips {
  display: flex; gap: 8px; overflow-x: auto; margin: 10px -16px 0; padding: 2px 16px;
  scrollbar-width: none; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; scroll-snap-align: start;
  min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-weight: 500; font-size: .92rem; white-space: nowrap; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.chip[aria-pressed="true"] { background: var(--pine); border-color: var(--pine); color: #fff; }
@media (min-width: 900px) {
  .toolbar-inner { display: flex; align-items: center; gap: 16px; }
  .search { width: 320px; flex: none; }
  .chips { margin: 0; padding: 2px 0; flex: 1; }
}

/* ---------- Sezione offerte ---------- */
.section { padding-top: 18px; padding-bottom: 48px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.35rem, 5vw, 2rem); letter-spacing: -.01em; }
.count { margin: 0; color: var(--muted); font-size: .9rem; white-space: nowrap; }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 339px) { .grid { grid-template-columns: 1fr; } }
@media (min-width: 640px) { .grid { gap: 18px; } }
@media (min-width: 860px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1140px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }

/* ---------- Card ---------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
  animation: rise .5s both;
}
.card:active { transform: scale(.985); }
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(15, 59, 47, .06), 0 22px 40px -18px rgba(15, 59, 47, .35); }
  .card:hover .card-media img { transform: scale(1.04); }
}
.card:has(.card-link:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.card--featured { box-shadow: 0 0 0 2px var(--gold), var(--shadow); }
.card-media { position: relative; aspect-ratio: 1 / 1; background: #f2ece1; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ph {
  width: 100%; height: 100%; display: grid; place-items: center; color: var(--red);
  background:
    radial-gradient(circle at 30% 25%, rgba(230, 184, 92, .35), transparent 50%),
    linear-gradient(135deg, #fbefe0, #f4e2d0);
}
.ph .icon { width: 38%; height: 38%; stroke-width: 1.4; opacity: .85; }
.tags { position: absolute; top: 8px; left: 8px; right: 44px; display: flex; flex-wrap: wrap; gap: 5px; }
.tag {
  display: inline-block; padding: 4px 9px; border-radius: 999px;
  font-size: .74rem; font-weight: 700; line-height: 1.3; letter-spacing: .01em;
}
.tag-red { background: var(--red); color: #fff; }
.tag-light { background: rgba(255, 255, 255, .94); color: var(--pine); }
.tag-outline { box-shadow: inset 0 0 0 1px var(--line); }
.tag-gold { background: var(--gold); color: var(--pine-3); }
.featured {
  position: absolute; top: 8px; right: 8px;
  display: inline-flex; align-items: center; gap: 4px;
  height: 28px; min-width: 28px; padding: 0 6px; justify-content: center;
  border-radius: 999px; background: var(--gold); color: var(--pine-3);
  font-size: .74rem; font-weight: 700;
}
.featured-txt { display: none; }
@media (min-width: 640px) { .featured-txt { display: inline; padding-right: 3px; } .tags { right: 120px; } }

.card-body { display: flex; flex-direction: column; flex: 1; gap: 3px; padding: 11px 12px 13px; }
@media (min-width: 640px) { .card-body { padding: 14px 16px 16px; gap: 5px; } }
.card-cat { margin: 0; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card-title { font-size: .95rem; font-weight: 600; line-height: 1.3; }
@media (min-width: 640px) { .card-title { font-size: 1.05rem; } }
.card-link {
  all: unset; cursor: pointer;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.card-desc {
  display: none; margin: 0; color: var(--muted); font-size: .9rem;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (min-width: 640px) { .card-desc { display: -webkit-box; } }
.card-foot { margin-top: auto; padding-top: 8px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 8px; }
.price-new { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--red); letter-spacing: -.01em; line-height: 1.15; }
.price-old { color: var(--muted); font-size: .85rem; }
.card-exp { display: flex; align-items: center; gap: 5px; margin: 4px 0 0; font-size: .76rem; font-weight: 500; color: var(--pine-2); }

@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Stato vuoto ---------- */
.empty { text-align: center; padding: 48px 20px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.empty-icon { width: 48px; height: 48px; color: var(--red); margin: 0 auto 12px; stroke-width: 1.5; }
.empty h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.empty p { color: var(--muted); margin: 8px auto 0; max-width: 36ch; }

/* ---------- Footer ---------- */
.footer { background: var(--pine); color: var(--cream); border-radius: 28px 28px 0 0; padding: 36px 0 28px; }
.footer-inner { display: grid; gap: 24px; }
@media (min-width: 768px) { .footer-inner { grid-template-columns: 1fr 1fr; align-items: start; } }
.footer-brand { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.footer-brand .icon { color: var(--gold); }
.footer-wish { margin: 6px 0 0; color: rgba(250, 246, 239, .7); }
.footer-info { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer-info li { display: flex; gap: 12px; align-items: flex-start; }
.footer-info .icon { color: var(--gold); margin-top: 2px; }
.footer-info a { text-decoration: none; border-bottom: 1px solid rgba(250, 246, 239, .3); }
.footer-note { margin: 28px auto 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: rgba(250, 246, 239, .6); }

/* ---------- Barra contatti mobile ---------- */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 253, 249, .94);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.actionbar .btn { flex: 1; min-height: 48px; padding: 0 12px; }
body.has-bar { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
@media (min-width: 768px) {
  .actionbar { display: none; }
  body.has-bar { padding-bottom: 0; }
}

/* ---------- Scheda dettaglio (bottom sheet su mobile) ---------- */
.sheet {
  border: 0; padding: 0; color: var(--ink); background: var(--paper);
  width: 100%; max-width: 100%; max-height: 92vh; max-height: 92dvh;
  margin: auto 0 0; border-radius: 24px 24px 0 0;
  overflow: auto; overscroll-behavior: contain;
  box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, .4);
}
.sheet::backdrop { background: rgba(8, 28, 22, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.sheet[open] { animation: sheet-up .32s cubic-bezier(.2, .85, .25, 1); }
.sheet[open]::backdrop { animation: fade .3s ease; }
.sheet-grab { position: sticky; top: 0; z-index: 3; height: 0; }
.sheet-grab::before {
  content: ""; position: absolute; left: 50%; top: 8px; transform: translateX(-50%);
  width: 40px; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .85);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}
.sheet-close {
  position: sticky; top: 12px; float: right; margin: 12px 12px -56px 0; z-index: 4;
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .95); color: var(--ink);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}
.sheet-media { aspect-ratio: 4 / 3; background: #f2ece1; }
.sheet-media img { width: 100%; height: 100%; object-fit: cover; }
.sheet-body { padding: 20px 20px calc(24px + env(safe-area-inset-bottom)); }
.sheet-title { font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; line-height: 1.15; letter-spacing: -.01em; margin-top: 4px; }
.sheet-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sheet-tags:empty { display: none; }
.price-lg { margin-top: 14px; }
.price-lg .price-new { font-size: 2rem; }
.price-lg .price-old { font-size: 1rem; }
.sheet-save { margin: 2px 0 0; color: var(--pine-2); font-weight: 600; font-size: .92rem; }
.sheet-save:empty { display: none; }
.sheet-desc { margin: 16px 0 0; white-space: pre-line; color: #3b4844; }
.sheet-desc:empty { display: none; }
.sheet-actions { display: grid; gap: 10px; margin-top: 22px; }
.sheet-actions:empty { display: none; }
@media (min-width: 760px) {
  .sheet { margin: auto; max-width: 860px; width: calc(100% - 64px); border-radius: 24px; max-height: 86vh; }
  .sheet[open] { animation: pop .25s cubic-bezier(.2, .85, .25, 1); }
  .sheet-grab { display: none; }
  .sheet-inner { display: grid; grid-template-columns: 1fr 1fr; }
  .sheet-media { aspect-ratio: auto; min-height: 100%; }
  .sheet-body { padding: 36px 32px 32px; }
}

@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================
   Sito ufficiale: menu, pagine interne, contatti
   ========================================================== */
.btn-pine { background: var(--pine); color: #fff; }
.btn-pine:hover { background: var(--pine-2); }
.btn-ghost-light { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .18); }

/* Menu */
.nav {
  position: relative; z-index: 40; background: var(--pine); color: var(--cream);
  padding-top: env(safe-area-inset-top);
}
.nav--nologo { position: absolute; top: 0; left: 0; right: 0; background: transparent; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.nav--nologo .nav-inner { justify-content: flex-end; }
.nav-logo img { width: 104px; height: auto; filter: drop-shadow(0 0 1px rgba(255, 255, 255, .8)); }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: 4px; }
.nav-links a, .nav-menu ul a {
  display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px;
  text-decoration: none; font-weight: 600; font-size: .95rem;
}
.nav-links a { color: rgba(250, 246, 239, .85); }
.nav-links a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.nav-links a[aria-current="page"] { background: rgba(255, 255, 255, .14); color: #fff; }
.nav-menu { position: relative; }
.nav-menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16);
  font-weight: 600; font-size: .95rem;
}
.nav-menu summary::-webkit-details-marker { display: none; }
.burger { display: grid; gap: 4px; width: 18px; }
.burger i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.nav-menu[open] .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-menu[open] .burger i:nth-child(2) { opacity: 0; }
.nav-menu[open] .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-menu ul {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px;
  list-style: none; margin: 0; padding: 8px; border-radius: 18px;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .45);
  animation: pop .18s ease;
}
.nav-menu ul a { min-height: 50px; font-size: 1.02rem; }
.nav-menu ul a:hover { background: var(--cream); }
.nav-menu ul a[aria-current="page"] { background: var(--cream); color: var(--red); }
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-menu { display: none; }
  .nav-logo img { width: 120px; }
}

/* Intestazione pagine interne */
.page-hero {
  background: radial-gradient(120% 120% at 50% 0%, var(--pine-2), var(--pine) 60%, var(--pine-3));
  color: var(--cream); text-align: center; padding: 30px 0 56px;
  border-radius: 0 0 32px 32px;
}
.kicker {
  margin: 0 0 8px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2);
}
.page-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 11vw, 4.4rem); line-height: 1; letter-spacing: -.02em; }
.page-title em { font-weight: 500; color: var(--gold); }
.page-lead { max-width: 36ch; margin: 14px auto 0; color: rgba(250, 246, 239, .8); font-size: 1.05rem; text-wrap: balance; }
/* minmax(0, 1fr): la colonna non si allarga mai oltre lo schermo (es. per il carosello recensioni) */
.page-main { padding-top: 28px; padding-bottom: 56px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.page-main > * { min-width: 0; }
@media (min-width: 768px) { .page-hero { padding: 48px 0 76px; } .page-main { padding-top: 44px; gap: 40px; } }

/* Il negozio */
.about { display: grid; gap: 20px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 20px; }
.about-year { display: flex; align-items: baseline; gap: 8px; color: var(--red); }
.about-year span { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; }
.about-year strong { font-family: var(--font-display); font-weight: 600; font-size: 3.4rem; line-height: 1; letter-spacing: -.03em; }
.prose p { margin: 0 0 14px; font-size: 1.06rem; line-height: 1.65; color: #33403c; }
.prose p:last-child { margin-bottom: 0; }
@media (min-width: 768px) {
  .about { grid-template-columns: 220px 1fr; padding: 40px; gap: 40px; align-items: start; }
  .about-year { flex-direction: column; gap: 0; }
  .about-year strong { font-size: 4.6rem; }
}
.block-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 5vw, 2rem); margin-bottom: 14px; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 560px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.tile {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; min-height: 68px;
  background: var(--paper); border-radius: 16px; box-shadow: var(--shadow); font-weight: 600;
}
.tile-icon { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #fbe9e3; color: var(--red); }
.cta-band {
  display: grid; gap: 16px; padding: 26px 22px; border-radius: 24px;
  background: radial-gradient(120% 140% at 0% 0%, var(--pine-2), var(--pine) 60%); color: var(--cream);
}
.cta-band h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.8rem; }
.cta-band p { margin: 6px 0 0; color: rgba(250, 246, 239, .8); }
.cta-actions { display: grid; gap: 10px; }
@media (min-width: 768px) {
  .cta-band { grid-template-columns: 1fr auto; align-items: center; padding: 36px 40px; }
  .cta-actions { grid-auto-flow: column; }
}
.xmas-link {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px;
  background: var(--paper); box-shadow: 0 0 0 2px var(--gold), var(--shadow); text-decoration: none;
}
.xmas-link > span:nth-child(2) { display: grid; flex: 1; }
.xmas-link > span:nth-child(2) span { color: var(--muted); font-size: .9rem; }
.xmas-link-star { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: var(--gold-2); }
.xmas-link-arrow { font-size: 1.4rem; color: var(--red); }

/* Contatti */
.contact-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.ccard {
  display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--radius);
  background: var(--paper); box-shadow: var(--shadow);
}
.ccard h2 { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.ccard p { margin: 0 0 8px; font-size: 1.05rem; }
.ccard .btn { margin-top: auto; }
.ccard-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #fbe9e3; color: var(--red); }
.big-link { font-weight: 600; text-decoration: none; color: var(--pine); word-break: break-word; }
.hours { line-height: 1.7; }
.muted-txt { color: var(--muted); }
.social-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.social-btns .btn { flex: 1; }
.map {
  position: relative; overflow: hidden; border-radius: 24px; min-height: 300px;
  background: linear-gradient(135deg, #e9efe9, #dfe7df); box-shadow: var(--shadow);
}
.map-ph { display: grid; justify-items: center; align-content: center; gap: 8px; min-height: 300px; padding: 24px; text-align: center; }
.map-ph p { margin: 0; }
.map-pin { width: 40px; height: 40px; color: var(--red); }
.map-note { font-size: .8rem; color: var(--muted); }
.map iframe { display: block; width: 100%; height: 380px; border: 0; }
@media (min-width: 768px) { .map iframe { height: 460px; } }

/* Footer comune */
.footer-logo { width: 150px; height: auto; filter: drop-shadow(0 0 1px rgba(255, 255, 255, .8)); }
.footer-links { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-links a { text-decoration: none; color: var(--gold-2); font-weight: 600; min-height: 32px; display: inline-flex; align-items: center; }
.footer-note p { margin: 0 0 4px; }
/* Contatore "Abbiamo servito oltre…" */
.counter {
  position: relative; overflow: hidden; text-align: center;
  padding: 34px 22px 32px; border-radius: 24px; color: #fff;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(255, 255, 255, .14), transparent 70%),
    linear-gradient(160deg, #d43d47, var(--red) 45%, var(--red-2));
  box-shadow: 0 24px 50px -24px rgba(200, 50, 60, .8);
}
.counter { container-type: inline-size; padding: 28px 18px 26px; }
.counter p { margin: 0; }
.counter-pre {
  font-weight: 600; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255, 255, 255, .85); text-wrap: balance;
}
/* Numero e "volte" uno sotto l'altro su cellulare, affiancati su schermi larghi */
.counter-num {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  margin: 10px 0 8px !important; font-family: var(--font-display); font-weight: 600; line-height: 1;
}
.counter-num span {
  display: block; white-space: nowrap;
  font-size: clamp(2.6rem, 17vw, 7rem);               /* browser vecchi */
  font-size: clamp(2.6rem, 21cqi, 7rem);              /* in base alla larghezza del riquadro */
  letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.counter-num small { font-size: clamp(1.3rem, 7cqi, 2.2rem); font-style: italic; font-weight: 500; color: var(--gold-2); }
.counter-claim { font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem, 6cqi, 1.8rem); line-height: 1.3; color: var(--gold-2); text-wrap: balance; }
.counter-text { max-width: 52ch; margin: 14px auto 0 !important; font-size: .98rem; line-height: 1.6; color: rgba(255, 255, 255, .9); text-wrap: pretty; }
@media (min-width: 640px) {
  .counter { padding: 48px 40px 44px; }
  .counter-pre { font-size: 1rem; letter-spacing: .12em; }
  .counter-num { flex-direction: row; justify-content: center; align-items: baseline; gap: 14px; }
  .counter-num span { font-size: clamp(4rem, 15cqi, 7rem); }
  .counter-text { font-size: 1.05rem; }
}

/* Recensioni */
.reviews-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 14px; }
.reviews-head .block-title { margin-bottom: 0; }
.reviews-src { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: .9rem; font-weight: 500; }
.g-logo {
  width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 1px var(--line); font-weight: 700; font-size: .8rem; color: #4285f4;
}
.reviews-list {
  list-style: none; margin: 0 -16px; padding: 4px 16px 14px;
  display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.reviews-list::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .reviews-list { margin: 0 -32px; padding-left: 32px; padding-right: 32px; scroll-padding-inline: 32px; } }
@media (min-width: 640px) { .reviews-list { grid-auto-columns: 46%; } }
@media (min-width: 900px) {
  .reviews-list { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; margin: 0; padding: 4px 0 0; overflow: visible; gap: 16px; }
}
.review {
  scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px;
  padding: 20px; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow);
}
.review-stars { display: flex; gap: 2px; color: #f4b400; }
.review-stars .icon { width: 18px; height: 18px; }
.review-stars .star-off { color: #e4ddd0; }
.review blockquote { margin: 0; flex: 1; }
.review blockquote p { margin: 0; font-size: 1rem; line-height: 1.6; color: #33403c; }
.review blockquote p::before { content: "“"; font-family: var(--font-display); font-size: 1.6rem; line-height: 0; color: var(--red); margin-right: 3px; vertical-align: -.35em; }
.review-author { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 600; font-size: .95rem; }
.avatar {
  flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%;
  background: var(--pine); color: var(--gold-2); font-weight: 700;
}
.reviews-more { margin-top: 14px; width: 100%; padding: 10px 16px; text-align: center; line-height: 1.3; }
@media (min-width: 640px) { .reviews-more { width: auto; } }
/* Segnale "Aperto / Chiuso" */
.status {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  min-height: 40px; padding: 8px 16px 8px 14px; border-radius: 999px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink); text-decoration: none; font-size: .92rem; line-height: 1.3; text-align: left;
}
.status-txt strong { font-weight: 700; }
.status-txt span { color: var(--muted); }
.status-dot { position: relative; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.status--open .status-dot { background: #22a55b; }
.status--open .status-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit;
  animation: ping 1.8s cubic-bezier(0, 0, .2, 1) infinite;
}
.status--soon .status-dot { background: #f59e0b; }
.status--open .status-txt strong { color: #17803f; }
.status--closed .status-txt strong { color: var(--red); }
.status--soon .status-txt strong { color: #b45309; }
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }

/* Variante sul fondo verde della pagina principale */
.status--hero {
  margin: -8px 0 22px; background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff;
}
.status--hero:hover { background: rgba(255, 255, 255, .16); }
.status--hero .status-txt span { color: rgba(250, 246, 239, .78); }
.status--hero.status--open .status-txt strong { color: #7ee2a2; }
.status--hero.status--closed .status-txt strong { color: #ffb4b9; }
.status--hero.status--soon .status-txt strong { color: #fcd34d; }
.hero-inner > .status--hero { display: flex; width: fit-content; margin-left: auto; margin-right: auto; }

/* Tabella orari (Contatti) */
.ccard-hours .status { align-self: stretch; margin: 4px 0 6px; border-radius: 14px; }
.hours-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.hours-table th, .hours-table td { padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table th { text-align: left; font-weight: 500; padding-right: 12px; white-space: nowrap; }
.hours-table td { text-align: right; font-variant-numeric: tabular-nums; }
.hours-table small { margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: var(--pine); color: #fff; font-size: .7rem; font-weight: 700; vertical-align: 1px; }
.hours-table .is-today th, .hours-table .is-today td { font-weight: 700; color: var(--pine); }
.hint-txt { margin: 8px 0 0; color: var(--muted); font-size: .88rem; }
@media (min-width: 1000px) { .ccard-hours { grid-row: span 2; } }
/* Conto alla rovescia per Natale (giorni / ore / minuti / secondi) */
.xmas-cd { width: 100%; max-width: 440px; margin: 26px auto 0; container-type: inline-size; }
.xmas-cd-title {
  margin: 0 0 10px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2);
}
.xmas-cd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.xmas-cd-unit {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 4px 10px; border-radius: 16px;
  background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.xmas-cd-unit:first-child {
  background: linear-gradient(160deg, #d43d47, var(--red-2));
  box-shadow: 0 12px 26px -12px rgba(200, 50, 60, .9);
}
.xmas-cd-unit b {
  font-family: var(--font-display); font-weight: 600; line-height: 1; color: #fff;
  font-size: 2rem; font-size: clamp(1.6rem, 11cqi, 2.6rem);
  font-variant-numeric: tabular-nums; letter-spacing: -.01em;
}
.xmas-cd-unit span {
  font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(250, 246, 239, .78);
}
.xmas-cd-unit:first-child span { color: rgba(255, 255, 255, .9); }
@media (min-width: 640px) {
  .xmas-cd-grid { gap: 12px; }
  .xmas-cd-unit { padding: 16px 6px 12px; border-radius: 18px; }
  .xmas-cd-unit span { font-size: .72rem; }
}
/* Hero più compatto su cellulare: conto alla rovescia e "Scopri le offerte" visibili subito */
@media (max-width: 639px) {
  .hero { padding-top: calc(60px + env(safe-area-inset-top)); padding-bottom: 76px; }
  .logo { width: min(168px, 48vw); margin-bottom: 14px; }
  .status--hero { margin: 0 0 14px; min-height: 34px; padding: 6px 14px 6px 12px; font-size: .85rem; }
  .title { font-size: clamp(2.6rem, 14vw, 3.6rem); }
  .tagline { margin-top: 10px; font-size: .95rem; line-height: 1.45; }
  .xmas-cd { margin-top: 16px; max-width: 360px; }
  .xmas-cd-title { margin-bottom: 7px; font-size: .7rem; }
  .xmas-cd-grid { gap: 6px; }
  .xmas-cd-unit { padding: 8px 2px 7px; border-radius: 13px; gap: 3px; }
  .xmas-cd-unit b { font-size: 1.5rem; font-size: clamp(1.3rem, 8.5cqi, 1.9rem); }
  .xmas-cd-unit span { font-size: .6rem; letter-spacing: .06em; }
  .hero-cta { margin-top: 16px; }
  .hero-cta .btn { min-height: 46px; }
}@media (max-width: 639px) and (max-height: 760px) {
  .hero { padding-top: calc(56px + env(safe-area-inset-top)); }
  .logo { width: min(128px, 40vw); margin-bottom: 10px; }
  .status--hero { margin-bottom: 10px; }
  .title { font-size: clamp(2.3rem, 12.5vw, 3rem); }
  .tagline { display: none; }
  .xmas-cd { margin-top: 14px; }
  .hero-cta { margin-top: 14px; }
}
/* Paesino innevato in fondo all'intestazione */
.hero-village {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 0;
  display: block; width: 100%; height: 96px; pointer-events: none;
}
.hero-village .v-snow { fill: none; stroke: #fdfbf6; stroke-linecap: round; stroke-linejoin: round; }
.hero-village .v-snow-fill { fill: #fdfbf6; }
.hero-village .v-win { fill: #f7cf6e; }
.hero-village .v-ground { fill: var(--cream); }
.hero-village .v-glow { animation: v-flicker 5s ease-in-out infinite; }
@keyframes v-flicker { 0%, 100% { opacity: 1; } 50% { opacity: .75; } }
.hero { padding-bottom: 104px; }
@media (min-width: 640px) {
  .hero-village { height: 150px; }
  .hero { padding-bottom: 170px; }
}
@media (max-width: 639px) and (max-height: 760px) {
  .hero-village { height: 80px; }
  .hero { padding-bottom: 86px; }
}
/* ==========================================================
   Prenotazioni (pagina pubblica)
   ========================================================== */
.page-title--sm { font-size: clamp(2rem, 8.5vw, 3.4rem); line-height: 1.05; text-wrap: balance; }
.bk-main { max-width: 760px; }
.bk-empty-btn { margin-top: 18px; }
.bk-back {
  display: inline-flex; align-items: center; gap: 4px; justify-self: start; min-height: 40px; margin-bottom: -14px;
  color: var(--muted); font-weight: 600; font-size: .92rem; text-decoration: none;
}
.bk-back:hover { color: var(--pine); }

/* Elenco moduli */
.bk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bk-card {
  display: flex; align-items: center; gap: 14px; padding: 18px 16px; border-radius: var(--radius);
  background: var(--paper); box-shadow: var(--shadow); text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.bk-card:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--gold), var(--shadow); }
.bk-card:active { transform: scale(.99); }
.bk-card.is-full { opacity: .75; }
.bk-card-icon { flex: none; align-self: flex-start; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: #fbe9e3; color: var(--red); }
.bk-card-body { flex: 1; min-width: 0; display: grid; gap: 4px; }
.bk-card-body strong { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; line-height: 1.2; color: var(--pine-3); }
.bk-card-desc { color: var(--muted); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bk-card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.bk-card-arrow { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--pine); color: #fff; }
@media (min-width: 768px) { .bk-card { padding: 22px 24px; gap: 18px; } }

.bf-pill {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px;
  background: #f1ede4; color: #4d5a55; font-size: .8rem; font-weight: 600;
}
.bf-pill--ok { background: #def3e7; color: #1f7a4d; }
.bf-pill--hot { background: #fbe4e5; color: var(--red); }
.bf-pill--off { background: #eceae5; color: #7a807d; }

/* Modulo */
.bform { display: grid; gap: 14px; }
.bf-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.bf-card {
  margin: 0; min-width: 0; border: 0; display: grid; gap: 16px;
  padding: 20px 16px; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow);
}
@media (min-width: 768px) { .bf-card { padding: 28px; } }
.bf-legend {
  float: left; width: 100%; padding: 0; margin-bottom: 2px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.bf-legend + * { clear: both; }
.bf-row { display: grid; gap: 16px; }
@media (min-width: 560px) { .bf-row { grid-template-columns: 1fr 1fr; } }
.bf-field { display: grid; gap: 6px; min-width: 0; }
.bf-field > label, .bf-label { font-weight: 600; font-size: .98rem; line-height: 1.35; }
.bf-req { color: var(--red); }
.bf-opt { color: var(--muted); font-weight: 500; font-size: .82rem; }
.bf-hint { margin-top: -4px; color: var(--muted); font-size: .85rem; }
.bf-field input, .bf-field textarea, .bf-field select {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 14px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  font: inherit; font-size: 16px; /* niente zoom automatico su iPhone */
  outline: none; transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
.bf-field input[type="date"], .bf-field input[type="time"] { display: block; min-width: 0; }
.bf-field textarea { min-height: 110px; resize: vertical; line-height: 1.45; }
.bf-field select {
  padding-right: 42px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235f6d68' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.bf-field input:focus, .bf-field textarea:focus, .bf-field select:focus { border-color: var(--pine-2); box-shadow: 0 0 0 4px rgba(23, 80, 63, .12); }
.bf-field [aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 4px rgba(200, 50, 60, .1); }
.bf-err { color: var(--red); font-size: .88rem; font-weight: 600; }

/* Scelte (singola / multipla): grandi, facili da toccare */
.bf-choices { display: grid; gap: 8px; }
@media (min-width: 560px) { .bf-choices { grid-template-columns: 1fr 1fr; } }
.bf-choice {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 14px;
  border-radius: 14px; border: 1.5px solid var(--line); background: #fff; cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.bf-field .bf-choice input, .bf-consent input {
  flex: none; width: 22px; height: 22px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none;
  -webkit-appearance: auto; appearance: auto; accent-color: var(--pine); cursor: pointer;
}
.bf-choice:has(input:checked) { border-color: var(--pine-2); background: #f1f7f4; }
.bf-choice:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(23, 80, 63, .15); }
.bf-choices.is-invalid .bf-choice { border-color: #e9b7ba; }

.bf-consent { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .92rem; color: #3b4844; line-height: 1.45; }
.bf-consent input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--pine); }
.bf-consent.is-invalid span { color: var(--red); }
.bf-submit { width: 100%; min-height: 56px; font-size: 1.05rem; }
.bf-note { margin: -4px 0 0; text-align: center; color: var(--muted); font-size: .85rem; }
.bf-alert {
  margin: 0; padding: 14px 16px; border-radius: 14px; background: #fbe4e5; color: var(--red-2);
  font-weight: 600; box-shadow: inset 4px 0 0 var(--red);
}
.bf-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Conferma */
.bk-done {
  text-align: center; display: grid; justify-items: center; gap: 8px; padding: 36px 20px 28px;
  border-radius: 24px; background: var(--paper); box-shadow: 0 0 0 2px var(--gold), var(--shadow);
}
.bk-done-icon {
  width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%;
  background: #1f7a4d; color: #fff; margin-bottom: 6px; animation: bk-pop .45s cubic-bezier(.2, 1.4, .4, 1);
}
.bk-done-icon .icon { width: 32px; height: 32px; stroke-width: 3; }
@keyframes bk-pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.bk-done h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 7vw, 2.2rem); color: var(--pine-3); }
.bk-done p { margin: 0; max-width: 42ch; color: #3b4844; }
.bk-code { font-size: 1rem; }
.bk-code strong {
  display: block; margin-top: 4px; font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 1.7rem; letter-spacing: .14em; color: var(--red);
}
.bk-done-actions { display: grid; gap: 10px; width: 100%; max-width: 360px; margin-top: 14px; }
@media (min-width: 560px) { .bk-done-actions { grid-auto-flow: column; max-width: none; justify-content: center; } }
/* Conferma su WhatsApp */
/* Telefono: prefisso + numero */
.bf-tel { display: flex; gap: 8px; min-width: 0; }
.bf-tel input { flex: 1 1 auto; min-width: 0; }
.bf-cc { position: relative; flex: none; display: flex; }
.bf-cc-show {
  display: flex; align-items: center; gap: 6px; min-height: 52px; padding: 0 30px 0 12px; border-radius: 14px;
  border: 1.5px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235f6d68' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 11px center;
  font-size: 16px; font-weight: 600; white-space: nowrap; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.bf-field .bf-cc select {
  position: absolute; inset: 0; width: 100%; min-height: 0; height: 100%; padding: 0;
  opacity: 0; cursor: pointer; background: none; border: 0;
}
.bf-cc:focus-within .bf-cc-show { border-color: var(--pine-2); box-shadow: 0 0 0 4px rgba(23, 80, 63, .12); }
.bf-field .bf-wa { display: flex; align-items: center; gap: 10px; min-height: 40px; margin-top: 2px; cursor: pointer; font-size: .92rem; font-weight: 600; color: #13803f; }
.bf-field .bf-wa input { flex: none; width: 20px; height: 20px; min-height: 0; margin: 0; padding: 0; border: 0; box-shadow: none; -webkit-appearance: auto; appearance: auto; accent-color: #1fa855; }
.bf-wa span { display: inline-flex; align-items: center; gap: 6px; }
.bk-wa-note { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: #e3f6ea; color: #13803f !important; font-weight: 600; font-size: .9rem; }
/* Copertina dei moduli di prenotazione */
.bk-cover {
  margin: -64px 0 0; position: relative; z-index: 1; overflow: hidden;
  aspect-ratio: 16 / 9; border-radius: 22px; background: #efe8dc;
  box-shadow: 0 0 0 4px var(--cream), 0 18px 40px -18px rgba(10, 42, 33, .55);
}
.bk-cover img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) { .bk-cover { margin-top: -84px; aspect-ratio: 2 / 1; border-radius: 26px; } }
.bk-card.has-cover { flex-wrap: wrap; padding-top: 0; overflow: hidden; }
.bk-card-cover { flex: 0 0 calc(100% + 32px); margin: 0 -16px 4px; aspect-ratio: 2 / 1; overflow: hidden; background: #efe8dc; }
.bk-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.bk-card.has-cover:hover .bk-card-cover img { transform: scale(1.03); }
@media (min-width: 768px) { .bk-card-cover { flex-basis: calc(100% + 48px); margin: 0 -24px 6px; aspect-ratio: 5 / 2; } }