/*
 * Lido Prenotazioni — Booking UI
 * Tutti gli stili sono scopati a .lido-booking per non interferire col resto del sito.
 */

.lido-booking *,
.lido-booking *::before,
.lido-booking *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Hard reset sui button per scavalcare gli stili del tema (Hello Elementor)
   che applicano padding/background/border anche dove non vogliamo */
.lido-booking button,
.lido-booking input[type="button"],
.lido-booking input[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  line-height: 1;
  letter-spacing: inherit;
  text-transform: none;
  box-shadow: none;
  border-radius: 0;
  min-height: 0;
}

.lido-booking {
  /* ═══════ PALETTE BRAND UFFICIALE — Zerottanta Lido ═══════ */
  --paper:    #F8F4F1;   /* base warm white (globale) */
  --powder:   #FDE9DB;   /* sfondi più vivi (hero, sezioni chiave) */
  --salmon:   #F1967E;   /* primary — CTA, accenti, selezionato (su scuro) */
  --salmon-ink: #B8503A; /* salmon scurito — accenti su sfondo chiaro (≥4.5:1 su powder) */
  --steel:    #4D81C1;   /* secondary — mare, occupati */
  --ink:      #231F20;   /* testo body */
  --ink-deep: #0B2027;   /* headings */

  /* Alias retrocompatibili (puntano alla palette ufficiale) */
  --paper-deep:  var(--powder);
  --terra:       var(--salmon);
  --terra-deep:  var(--ink-deep);
  --ink-soft:    var(--ink);

  --cream-glass: rgba(255, 247, 235, 0.18);
  --mute:        rgba(35, 31, 32, .55);
  --hair:        rgba(35, 31, 32, .18);

  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

.lido-booking ::selection { background: var(--salmon); color: var(--ink-deep); }

/* Subtle paper grain */
.lido-booking::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    repeating-radial-gradient(circle at 0 0, transparent 0, rgba(35,31,32,.012) 1px, transparent 2px);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: multiply;
}

/* ═════════════════════════════════════════════ */
/*   TOP BAR — "torna al sito" (pagina Canvas)    */
/* ═════════════════════════════════════════════ */
.lido-booking .lido-topbar {
  position: relative;
  z-index: 6;
  padding: 22px 64px;
  background: var(--powder);            /* blende con la hero-text */
}

.lido-booking .lido-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Tenor Sans', sans-serif;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: gap .25s ease, color .25s ease;
}
.lido-booking .lido-back svg { width: 20px; height: 8px; flex: none; }
.lido-booking .lido-back:hover { gap: 16px; color: var(--salmon-ink); }
@media (max-width: 1024px) { .lido-booking .lido-topbar { padding: 20px 48px; } }
@media (max-width: 768px)  { .lido-booking .lido-topbar { padding: 16px 24px; } }
@media (max-width: 420px)  { .lido-booking .lido-topbar { padding: 14px 20px; } }

/* ═════════════════════════════════════════════ */
/*   HERO — EDITORIAL SPLIT (SAND-style)          */
/* ═════════════════════════════════════════════ */
.lido-booking .hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  position: relative;
  z-index: 2;
}

.lido-booking .hero-text {
  padding: 56px 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--powder);          /* #FDE9DB */
  position: relative;
}

.lido-booking .brand {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 13px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--ink);                  /* #231F20 */
}

.lido-booking .brand-mark {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lido-booking .brand-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--salmon);          /* dot accent in primary */
}

.lido-booking .hero-headline {
  font-family: 'Tenor Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(54px, 7.2vw, 116px);
  line-height: .98;
  letter-spacing: -.005em;
  color: var(--ink-deep);             /* #0B2027 — stampatello */
  text-transform: uppercase;
  margin: auto 0;
  padding: 64px 0;
}

.lido-booking .hero-headline .ital {
  font-family: 'Italiana', serif;
  text-transform: none;
  font-style: normal;
  font-size: 1.18em;
  letter-spacing: -.01em;
  color: var(--salmon);               /* salmon brillante (scelta brand) */
  display: inline-block;
  vertical-align: baseline;
  transform: translateY(0);
}

.lido-booking .hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.lido-booking .hero-sub {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink);                  /* #231F20 */
  line-height: 2.1;
}

.lido-booking .hero-link {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink);                  /* #231F20 */
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: gap .3s;
}
.lido-booking .hero-link:hover { gap: 20px; color: var(--salmon-ink); border-bottom-color: var(--salmon-ink); }

.lido-booking .hero-image {
  background:
    linear-gradient(180deg, rgba(11,32,39,.12) 0%, rgba(11,32,39,.04) 30%, rgba(11,32,39,.22) 100%),
    url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1600&q=80') center/cover;
  filter: saturate(.95) contrast(1.03);
  position: relative;
}

.lido-booking .hero-watermark {
  position: absolute;
  bottom: 32px;
  right: 40px;
  font-family: 'Italiana', serif;
  font-size: 32px;
  color: rgba(255,247,235,.7);
  letter-spacing: -.01em;
  text-shadow: 0 2px 10px rgba(11,32,39,.5);
}

.lido-booking .hero-fig {
  position: absolute;
  top: 32px;
  left: 40px;
  font-family: 'Tenor Sans', sans-serif;
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,247,235,.9);
  text-shadow: 0 1px 6px rgba(11,32,39,.5);
}

/* ═════════════════════════════════════════════ */
/*   IMMERSIVE BOOKING                            */
/* ═════════════════════════════════════════════ */
.lido-booking .booking {
  position: relative;
  min-height: 100vh;
  padding: 96px 56px 140px;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(11,32,39,.55) 0%, rgba(11,32,39,.68) 50%, rgba(11,32,39,.80) 100%),
    url('https://images.unsplash.com/photo-1473496169904-658ba7c44d8a?auto=format&fit=crop&w=2000&q=80') center/cover fixed;
}

.lido-booking .booking::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-radial-gradient(circle at 0 0, transparent 0, rgba(0,0,0,.04) 1px, transparent 2px);
  pointer-events: none;
}

.lido-booking .b-wrap {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
}

.lido-booking .b-head {
  text-align: center;
  margin-bottom: 64px;
  color: var(--paper);
}

.lido-booking .b-eyebrow {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 11px;
  letter-spacing: .35em;
  text-transform: uppercase;
  opacity: .85;
  margin-bottom: 18px;
}

.lido-booking .b-title {
  font-family: 'Tenor Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.02;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: #F8F4F1;
}

.lido-booking .b-title .ital {
  font-family: 'Italiana', serif;
  text-transform: none;
  font-size: 1.4em;
  color: var(--salmon);
  display: inline-block;
  line-height: 1;
  vertical-align: baseline;
  transform: translateY(-.04em);
}

/* ── Liquid glass card ── */
.lido-booking .glass {
  /* Base scura semi-opaca (ink-deep): garantisce ≥4.5:1 al testo chiaro a
     prescindere dalla porzione di foto dietro il vetro. Blur ridotto = meno costo. */
  background: rgba(11, 32, 39, 0.55);
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  border: 1px solid rgba(255, 247, 235, 0.16);
  border-radius: 32px;
  box-shadow:
    0 24px 64px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -1px 0 rgba(0,0,0,.1);
  position: relative;
  overflow: hidden;
}

.lido-booking .glass::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

/* ── DATE / DURATION ROW ── */
.lido-booking .controls-card {
  padding: 32px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 1px minmax(0, 1fr);
  gap: 40px;
  align-items: stretch;
  margin-bottom: 48px;
  color: var(--paper);
}
.lido-booking .controls-card > * { min-width: 0; }

.lido-booking .ctrl-divider {
  background: rgba(255,247,235,.18);
  width: 1px;
}

.lido-booking .ctrl-label {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--powder);
  opacity: 1;
  margin-bottom: 20px;
  display: block;
}

/* Date strip */
.lido-booking .ds-wrap {
  position: relative;
  transition: -webkit-mask-image .25s, mask-image .25s;
}

.lido-booking .ds-wrap.has-overflow {
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 88%, transparent 100%);
          mask-image: linear-gradient(90deg, #000 0%, #000 88%, transparent 100%);
}

.lido-booking .ds-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}
.lido-booking .ds-row::-webkit-scrollbar { display: none; }

.lido-booking .ds-cell {
  scroll-snap-align: start;
  flex: 0 0 64px;
  background: transparent;
  border: 1px solid rgba(255,247,235,.16);
  border-radius: 18px;
  padding: 12px 0;
  text-align: center;
  cursor: pointer;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  font-family: 'Inter', sans-serif;
  color: var(--paper);
}

.lido-booking .ds-cell:hover:not(.active) {
  background: rgba(255,247,235,.08);
  border-color: rgba(255,247,235,.3);
}

.lido-booking .ds-cell .dow {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--powder);
  opacity: .92;
  margin-bottom: 8px;
}
.lido-booking .ds-cell .day {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 26px;
  line-height: 1;
  color: var(--powder);
}
.lido-booking .ds-cell .mon {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--powder);
  opacity: .92;
  margin-top: 8px;
}

.lido-booking .ds-cell.active {
  background: var(--salmon);
  border-color: var(--salmon);
  color: var(--ink-deep);
  box-shadow: 0 12px 32px rgba(241,150,126,.45);
}
.lido-booking .ds-cell.active .dow,
.lido-booking .ds-cell.active .day,
.lido-booking .ds-cell.active .mon { color: var(--ink-deep); opacity: .85; }
.lido-booking .ds-cell.active .day { opacity: 1; }

/* Range del soggiorno (durata > 1): celle tra arrivo e partenza */
.lido-booking .ds-cell.in-range:not(.active) {
  border-color: rgba(241,150,126,.5);
  background: rgba(241,150,126,.14);
}
.lido-booking .ds-cell.in-range:not(.active) .dow,
.lido-booking .ds-cell.in-range:not(.active) .day,
.lido-booking .ds-cell.in-range:not(.active) .mon { opacity: 1; }
.lido-booking .ds-cell.range-end:not(.active) {
  border-color: rgba(241,150,126,.7);
}

/* Riepilogo arrivo → partenza (sempre visibile, anche se la fine cade fuori dai 14 gg) */
.lido-booking .ds-range {
  margin-top: 14px;
  font-family: 'Tenor Sans', sans-serif;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--powder);
  display: flex;
  align-items: center;
  gap: 10px;
}
.lido-booking .ds-range .arrow { color: var(--salmon); }
.lido-booking .ds-range strong { font-weight: 400; color: var(--paper); }

.lido-booking .ds-nav {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 20px;
  font-family: 'Tenor Sans', sans-serif;
  text-transform: uppercase;
}

/* Mese = elemento focale */
.lido-booking #ds-month {
  font-size: 15px;
  letter-spacing: .1em;
  color: var(--paper);
  white-space: nowrap;
  text-align: center;
  flex: 0 1 auto;
}

/* Prev / Next = controlli secondari, smorzati */
.lido-booking .ds-nav button {
  background: none; border: none;
  cursor: pointer; color: var(--powder);
  font: inherit; padding: 0;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .5;
  flex: 0 0 auto;
  transition: opacity .2s ease, color .2s ease;
}
.lido-booking .ds-nav button:hover { color: var(--salmon); opacity: 1; }

/* Duration */
.lido-booking .dur-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.lido-booking .dur-cell {
  background: transparent;
  border: 1px solid rgba(255,247,235,.22);
  border-radius: 14px;
  padding: 18px 0;
  cursor: pointer;
  font-family: 'Tenor Sans', sans-serif;
  color: var(--powder);
  font-size: 20px;
  transition: all .25s;
}
.lido-booking .dur-cell:hover:not(.active) {
  background: rgba(255,247,235,.08);
  border-color: rgba(255,247,235,.3);
}
.lido-booking .dur-cell.active {
  background: var(--salmon);
  border-color: var(--salmon);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(241,150,126,.4);
}

/* Prezzo upfront — visibile prima di scegliere l'ombrellone */
.lido-booking .price-hint {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,247,235,.14);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
}
.lido-booking .price-hint .ph-amount {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 30px;
  line-height: 1;
  color: var(--salmon);
}
.lido-booking .price-hint .ph-amount sup {
  font-size: 15px;
  opacity: .65;
  vertical-align: super;
  margin-right: 1px;
}
.lido-booking .price-hint .ph-per {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--powder);
}
.lido-booking .price-hint .ph-total {
  flex-basis: 100%;
  font-size: 13px;
  letter-spacing: .02em;
  color: rgba(248,244,241,.85);
}
.lido-booking .price-hint .ph-total strong { font-weight: 400; color: var(--paper); }

/* ═════════════════════════════════════════════ */
/*   BEACH PLAN — GLASS                           */
/* ═════════════════════════════════════════════ */
.lido-booking .plan-card {
  padding: 48px 56px 40px;
  color: var(--paper);
}

.lido-booking .plan-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 24px;
}

.lido-booking .plan-title {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 24px;
  letter-spacing: .04em;
  color: var(--powder);
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

.lido-booking .plan-title .ital {
  font-family: 'Italiana', serif;
  font-size: 1.45em;
  color: var(--salmon);
  line-height: 1;
  display: inline-block;
  vertical-align: baseline;
  transform: translateY(.04em);
}

.lido-booking .legend {
  display: flex;
  gap: 24px;
  font-family: 'Tenor Sans', sans-serif;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--powder);
  opacity: .95;
}
.lido-booking .legend-item { display: flex; align-items: center; gap: 8px; }
.lido-booking .leg-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg at 50% 50%, rgba(255,247,235,.22) 0deg 45deg, rgba(77,129,193,.12) 45deg 90deg),
    radial-gradient(120% 120% at 30% 25%, rgba(255,255,255,.5) 0%, rgba(255,247,235,.18) 45%, rgba(11,32,39,.30) 100%);
  border: 1px solid rgba(255,247,235,.45);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.4), inset 0 -2px 3px rgba(0,0,0,.25);
}
.lido-booking .leg-dot.busy { background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(77,129,193,.34) 0deg 45deg, rgba(11,32,39,.18) 45deg 90deg), radial-gradient(120% 120% at 30% 25%, rgba(77,129,193,.6) 0%, rgba(77,129,193,.32) 50%, rgba(11,32,39,.4) 100%); border-color: rgba(77,129,193,.75); border-style: dashed; opacity: 1; }
.lido-booking .leg-dot.sel  { background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255,255,255,.28) 0deg 45deg, rgba(217,117,92,.40) 45deg 90deg), radial-gradient(120% 120% at 30% 25%, #f7b29f 0%, var(--salmon) 55%, #d9755c 100%); border-color: var(--salmon); box-shadow: inset 0 1px 1px rgba(255,255,255,.4), 0 0 0 3px rgba(241,150,126,.3); }

/* Sea */
.lido-booking .sea {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 56px;
}

.lido-booking .sea-label {
  font-family: 'Italiana', serif;
  font-size: 24px;
  color: var(--steel);
  letter-spacing: .02em;
}

.lido-booking .sea-wave { flex: 1; height: 16px; }
.lido-booking .sea-wave svg { width: 100%; height: 100%; }

/* Umbrella rows */
.lido-booking .rows {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  padding: 0 24px;
}

.lido-booking .row {
  display: flex;
  gap: 22px;
  justify-content: center;
}
.lido-booking .row:nth-child(even) { padding-left: 22px; }

.lido-booking .spot,
.lido-booking button.spot {
  width: 56px;
  height: 56px;
  padding: 0 !important;
  margin: 0;
  border-radius: 50%;
  /* Ombrellone visto dall'alto: canopy a 8 spicchi (conic) sopra la cupola 3D.
     Spicchi convergono al centro = leggono come perno, senza coprire il numero. */
  background:
    repeating-conic-gradient(from 0deg at 50% 50%,
      rgba(255,247,235,.18) 0deg 45deg,
      rgba(77,129,193,.10) 45deg 90deg),
    radial-gradient(120% 120% at 30% 25%,
      rgba(255,255,255,.22) 0%,
      rgba(255,247,235,.10) 38%,
      rgba(11,32,39,.30) 100%);
  border: 1px solid rgba(255,247,235,.30);
  color: var(--paper);
  text-shadow: 0 1px 3px rgba(11,32,39,.65);
  cursor: pointer;
  font-family: 'Tenor Sans', sans-serif;
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  position: relative;
  flex-shrink: 0;
  box-sizing: border-box;
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,.35),   /* highlight curvatura alto */
    inset 0 -6px 12px rgba(0,0,0,.30),       /* ombra curvatura basso */
    0 6px 16px rgba(0,0,0,.25);              /* drop */
}

/* Riflesso speculare — luce alto-sx sulla cupola */
.lido-booking .spot::before {
  content: '';
  position: absolute;
  top: 12%;
  left: 20%;
  width: 26%;
  height: 18%;
  border-radius: 50%;
  background: radial-gradient(rgba(255,255,255,.5) 0%, transparent 70%);
  filter: blur(2px);
  pointer-events: none;
}

.lido-booking .spot:not(.busy):not(.selected):hover {
  background:
    repeating-conic-gradient(from 0deg at 50% 50%,
      rgba(241,150,126,.22) 0deg 45deg,
      rgba(255,247,235,.06) 45deg 90deg),
    radial-gradient(120% 120% at 30% 25%,
      rgba(255,255,255,.32) 0%,
      rgba(255,247,235,.16) 40%,
      rgba(11,32,39,.26) 100%);
  border-color: rgba(241,150,126,.5);
  color: var(--salmon);
  transform: translateY(-3px);
  box-shadow:
    inset 0 2px 5px rgba(255,255,255,.45),
    inset 0 -6px 12px rgba(0,0,0,.28),
    0 14px 30px rgba(0,0,0,.30);
}

.lido-booking .spot.busy {
  background:
    repeating-conic-gradient(from 0deg at 50% 50%,
      rgba(77,129,193,.34) 0deg 45deg,
      rgba(11,32,39,.18) 45deg 90deg),
    radial-gradient(120% 120% at 30% 25%,
      rgba(77,129,193,.55) 0%,
      rgba(77,129,193,.30) 45%,
      rgba(11,32,39,.40) 100%);
  border-color: rgba(77,129,193,.65);
  border-style: dashed;
  color: rgba(248,244,241,.75);
  cursor: not-allowed;
  opacity: 1;
  box-shadow:
    inset 0 1px 3px rgba(255,255,255,.18),
    inset 0 -6px 12px rgba(0,0,0,.34),
    0 6px 16px rgba(0,0,0,.25);
}
.lido-booking .spot.busy::before { display: none; }

.lido-booking .spot.selected {
  background:
    repeating-conic-gradient(from 0deg at 50% 50%,
      rgba(255,255,255,.28) 0deg 45deg,
      rgba(217,117,92,.40) 45deg 90deg),
    radial-gradient(120% 120% at 30% 25%,
      #f7b29f 0%,
      var(--salmon) 55%,
      #d9755c 100%);
  border-color: var(--salmon);
  color: var(--ink);
  transform: scale(1.15);
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,.45),
    inset 0 -6px 12px rgba(0,0,0,.18),
    0 14px 40px rgba(241,150,126,.5),
    0 0 0 6px rgba(241,150,126,.18);
}

/* Battigia */
.lido-booking .battigia {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 20px;
  opacity: .45;
}
.lido-booking .battigia .ln { flex: 1; height: 1px; background: rgba(255,247,235,.4); }
.lido-booking .battigia .lb {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--paper);
}

.lido-booking .plan-foot {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,247,235,.16);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Tenor Sans', sans-serif;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--powder);
  opacity: .95;
}

.lido-booking .plan-foot .count {
  font-size: 16px;
  letter-spacing: .04em;
  text-transform: none;
  opacity: 1;
}
.lido-booking .plan-foot .count strong {
  font-weight: 400;
  color: var(--salmon);
  margin-right: 6px;
}

/* ═════════════════════════════════════════════ */
/*   DOCK — GLASS FLOATING BAR                    */
/* ═════════════════════════════════════════════ */
.lido-booking .dock {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translate(-50%, 200%);
  width: calc(100% - 48px);
  max-width: 1100px;
  z-index: 100;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
}

.lido-booking .dock.active { transform: translate(-50%, 0); }

.lido-booking .dock-card {
  background: rgba(11, 32, 39, 0.78);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 247, 235, 0.18);
  border-radius: 28px;
  padding: 22px 28px;
  color: var(--paper);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 32px;
  align-items: center;
  box-shadow:
    0 30px 80px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.12);
}

.lido-booking .dock-num { display: flex; align-items: center; gap: 16px; }

.lido-booking .dock-num-big {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 48px;
  line-height: 1;
  color: var(--salmon);
  letter-spacing: -.02em;
}

.lido-booking .dock-num-meta {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 13px;
  line-height: 1.45;
}

.lido-booking .dock-num-meta small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  letter-spacing: .25em;
  text-transform: uppercase;
  opacity: .55;
  margin-bottom: 4px;
}

/* Dotazione inclusa: dicitura neutra al posto dei vecchi selettori lettini/sdraio. */
.lido-booking .dock-incluso {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(255, 247, 235, .82);
  padding: 9px 16px;
  background: rgba(255,247,235,.06);
  border: 1px solid rgba(255,247,235,.12);
  border-radius: 100px;
  justify-self: start;
  white-space: nowrap;
}

.lido-booking .dock-total { text-align: right; padding-right: 4px; }

.lido-booking .dock-total small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  letter-spacing: .25em;
  text-transform: uppercase;
  opacity: .55;
  margin-bottom: 4px;
}

.lido-booking .dock-total .amt {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 32px;
  line-height: 1;
}
.lido-booking .dock-total .amt sup {
  font-size: 14px;
  opacity: .5;
  vertical-align: super;
  margin-right: 2px;
}

.lido-booking .dock-cta {
  background: var(--salmon);
  border: none;
  color: var(--ink);
  padding: 18px 28px;
  border-radius: 100px;
  font-family: 'Tenor Sans', sans-serif;
  font-size: 12px;
  letter-spacing: .25em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: all .3s;
  box-shadow: 0 12px 28px rgba(241,150,126,.4);
}
.lido-booking .dock-cta:hover {
  background: var(--paper);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0,0,0,.3);
}

.lido-booking .dock-cta svg { width: 22px; height: 10px; }

.lido-booking .dock-close {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(40%, -40%);
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid rgba(35,31,32,.12);
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  z-index: 10;
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s;
}
.lido-booking .dock-close:hover {
  background: var(--salmon);
  color: var(--ink);
  transform: translate(40%, -40%) rotate(90deg) scale(1.08);
}

/* ═════════════════════════════════════════════ */
/*   RESPONSIVE — Tablet (1024px)                 */
/* ═════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .lido-booking .hero-text { padding: 48px 48px 40px; }
  .lido-booking .hero-headline { font-size: clamp(48px, 8vw, 86px); padding: 48px 0; }
  .lido-booking .booking { padding: 80px 36px 200px; }
  .lido-booking .controls-card { padding: 28px 32px; gap: 32px; }
  .lido-booking .plan-card { padding: 40px 36px 32px; }
  .lido-booking .rows { gap: 22px; padding: 0; }
  .lido-booking .row { gap: 18px; }
  .lido-booking .row:nth-child(even) { padding-left: 18px; }
  .lido-booking .dock-card { padding: 20px 24px; gap: 24px; }
  .lido-booking .dock-num-big { font-size: 40px; }
}

/* ═════════════════════════════════════════════ */
/*   RESPONSIVE — Mobile (768px)                  */
/* ═════════════════════════════════════════════ */
@media (max-width: 768px) {
  .lido-booking .hero { grid-template-columns: 1fr; min-height: auto; }
  .lido-booking .hero-text { padding: 32px 24px 40px; order: 2; }
  .lido-booking .hero-image { order: 1; height: 44vh; min-height: 320px; }
  .lido-booking .hero-headline { font-size: clamp(44px, 11vw, 64px); padding: 32px 0 40px; }
  .lido-booking .hero-foot { flex-direction: column; align-items: flex-start; gap: 28px; }
  .lido-booking .hero-watermark { font-size: 22px; bottom: 20px; right: 24px; }
  .lido-booking .hero-fig { top: 20px; left: 24px; font-size: 9px; }

  .lido-booking .booking { padding: 64px 16px 240px; background-attachment: scroll; }
  .lido-booking .b-head { margin-bottom: 40px; }
  .lido-booking .b-title { font-size: clamp(28px, 8vw, 40px); }

  .lido-booking .controls-card { grid-template-columns: 1fr; gap: 32px; padding: 24px 22px; border-radius: 24px; }
  .lido-booking .ctrl-divider { display: none; }
  .lido-booking .ds-cell { flex: 0 0 60px; }
  .lido-booking .ds-cell .day { font-size: 19px; }
  .lido-booking .dur-grid { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
  .lido-booking .dur-cell { flex: 1 1 calc(25% - 4.5px); max-width: calc(25% - 4.5px); padding: 14px 0; font-size: 15px; border-radius: 12px; min-width: 0; }

  .lido-booking .plan-card { padding: 28px clamp(10px, 3.5vw, 18px) 24px; border-radius: 24px; }
  .lido-booking .plan-top { flex-direction: column; align-items: flex-start; gap: 14px; }
  .lido-booking .plan-title { font-size: 20px; gap: 8px; }
  .lido-booking .plan-title .ital { font-size: 1.4em; transform: translateY(.03em); }
  .lido-booking .legend { flex-wrap: wrap; gap: 12px 18px; font-size: 10px; }
  .lido-booking .sea { margin-bottom: 36px; gap: 14px; }
  .lido-booking .sea-label { font-size: 18px; }
  .lido-booking .plan-card { --row-gap: clamp(4px, 1.4vw, 9px); }
  /* Righe a larghezza-contenuto, centrate come blocco (align-items:center).
     Gli spot sono dimensionati sul viewport (NON su % di una riga shrink-to-fit,
     che degenererebbe): 7 celle + gap entrano sempre, da 320px in su. */
  .lido-booking .plan-card .rows { gap: clamp(10px, 3vw, 18px); padding: 0; align-items: center; }
  .lido-booking .plan-card .row { width: auto; gap: var(--row-gap); flex-wrap: nowrap; justify-content: center; }
  .lido-booking .plan-card .row:nth-child(even) { padding-left: var(--row-gap); }
  .lido-booking .plan-card .spot,
  .lido-booking .plan-card button.spot {
    width: clamp(30px, calc((100vw - 100px) / 7), 46px) !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    min-width: 0;
    font-size: clamp(10px, 3vw, 13px);
    border-radius: 50%;
    flex: 0 0 auto;
  }
  .lido-booking .battigia { margin-top: 36px; }
  .lido-booking .plan-foot { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 10px; }

  .lido-booking .dock { bottom: calc(8px + env(safe-area-inset-bottom, 0px)); width: calc(100% - 16px); }
  .lido-booking .dock-card {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "num      total"
      "incluso  incluso"
      "cta      cta";
    gap: 16px;
    padding: 20px 18px 18px;
    border-radius: 22px;
  }

  .lido-booking .dock-num { grid-area: num; gap: 14px; align-items: center; min-width: 0; }
  .lido-booking .dock-num-big { font-size: 38px; flex-shrink: 0; }
  .lido-booking .dock-num-meta { font-size: 12px; min-width: 0; }
  .lido-booking .dock-num-meta span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  .lido-booking .dock-total { grid-area: total; text-align: right; padding-right: 0; }
  .lido-booking .dock-total .amt { font-size: 30px; }

  /* Dotazione inclusa: riga piena, centrata sotto numero/totale */
  .lido-booking .dock-incluso {
    grid-area: incluso;
    justify-self: stretch;
    text-align: center;
    white-space: normal;
    padding: 12px 18px;
    font-size: 13px;
  }

  .lido-booking .dock-cta { grid-area: cta; justify-content: center; padding: 18px 24px; font-size: 12px; }
  .lido-booking .dock-close { transform: translate(35%, -45%); width: 28px; height: 28px; font-size: 13px; }
  .lido-booking .dock-close:hover { transform: translate(35%, -45%) rotate(90deg) scale(1.08); }
}

/* ═════════════════════════════════════════════ */
/*   RESPONSIVE — Small phones (420px)            */
/* ═════════════════════════════════════════════ */
@media (max-width: 420px) {
  .lido-booking .hero-text { padding: 28px 20px 32px; }
  .lido-booking .hero-image { height: 38vh; min-height: 280px; }
  .lido-booking .hero-headline { font-size: 42px; padding: 24px 0 32px; }
  .lido-booking .hero-sub { font-size: 10px; line-height: 1.9; }
  .lido-booking .hero-link { font-size: 10px; }

  .lido-booking .booking { padding: 48px 8px 240px; }
  .lido-booking .b-eyebrow { font-size: 10px; }

  .lido-booking .controls-card { padding: 22px 18px; }
  .lido-booking .ctrl-label { font-size: 9px; margin-bottom: 14px; }
  .lido-booking .ds-cell { flex: 0 0 54px; padding: 10px 0; }
  .lido-booking .ds-cell .day { font-size: 17px; }
  .lido-booking .ds-cell .dow, .lido-booking .ds-cell .mon { font-size: 8px; }
  .lido-booking .ds-nav { gap: 8px; }
  .lido-booking .ds-nav button { font-size: 9px; letter-spacing: .08em; }
  .lido-booking #ds-month { font-size: 13px; letter-spacing: .06em; }
  .lido-booking .dur-grid { gap: 5px; }
  .lido-booking .dur-cell { flex: 1 1 calc(25% - 4px); max-width: calc(25% - 4px); padding: 12px 0; font-size: 14px; }

  /* plan-card padding, rows/row/spot sizing: gestiti via clamp() nel breakpoint @768
     — qui solo eventuali override mirati per il small phone */
  .lido-booking .sea { margin-bottom: 28px; }
  .lido-booking .sea-label { font-size: 15px; }

  .lido-booking .dock { bottom: 6px; width: calc(100% - 12px); }
  .lido-booking .dock-card { padding: 18px 14px 16px; gap: 14px; }
  .lido-booking .dock-num { gap: 10px; }
  .lido-booking .dock-num-big { font-size: 32px; }
  .lido-booking .dock-num-meta { font-size: 11px; }
  .lido-booking .dock-num-meta small { font-size: 8px; }
  .lido-booking .dock-num-meta span { font-size: 11px; }
  .lido-booking .dock-incluso { padding: 11px 16px; font-size: 12px; }
  .lido-booking .dock-total .amt { font-size: 26px; }
  .lido-booking .dock-total small { font-size: 8px; }
  .lido-booking .dock-cta { padding: 16px 20px; letter-spacing: .2em; }
}

/* Disable parallax on touch devices for perf */
@media (hover: none) and (pointer: coarse) {
  .lido-booking .booking { background-attachment: scroll; }
}

/* ═════════════════════════════════════════════════════════
   MODALE DATI CLIENTE (Fase 1)
   ═════════════════════════════════════════════════════════ */

.lido-booking .lido-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lido-booking .lido-modal.is-open {
  display: flex;
  animation: lido-modal-fade .2s ease-out;
}

@keyframes lido-modal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lido-booking .lido-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 32, 39, 0.65);
  backdrop-filter: blur(4px);
}

.lido-booking .lido-modal__panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding: 32px 28px 28px;
  border-radius: 18px;
  background: rgba(253, 233, 219, 0.96);
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: 0 20px 60px rgba(11,32,39,.25);
}

.lido-booking .lido-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #0B2027;
  border-radius: 50%;
  transition: background .15s ease;
}
.lido-booking .lido-modal__close:hover { background: rgba(11,32,39,.08); }

.lido-booking .lido-modal__title {
  font-family: 'Italiana', serif;
  font-size: 32px;
  font-weight: 400;
  margin: 0 0 4px;
  color: #0B2027;
}
.lido-booking .lido-modal__title .ital {
  font-style: italic;
  color: var(--salmon-ink);   /* accent su pannello chiaro: ≥3:1 */
}

.lido-booking .lido-modal__sub {
  font-size: 13px;
  color: #4D4D4D;
  margin: 0 0 20px;
}

.lido-booking .lido-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lido-booking .lido-form__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lido-booking .lido-form__field label {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #4D4D4D;
}

.lido-booking .lido-form__field input {
  padding: 12px 14px;
  border: 1px solid rgba(11,32,39,.15);
  border-radius: 10px;
  font-size: 15px;
  background: #fff;
  color: #0B2027;
  font-family: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.lido-booking .lido-form__field input:focus {
  outline: none;
  border-color: #F1967E;
  box-shadow: 0 0 0 3px rgba(241,150,126,.18);
}

.lido-booking .lido-form__field input:invalid:not(:placeholder-shown) {
  border-color: #C0392B;
}

.lido-booking .lido-form__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: #4D4D4D;
  margin-top: 4px;
  line-height: 1.4;
  cursor: pointer;
}

.lido-booking .lido-form__check input {
  margin-top: 2px;
  accent-color: #F1967E;
}

.lido-booking .lido-form__check a {
  color: #4D81C1;
  text-decoration: underline;
}

.lido-booking .lido-form__summary {
  background: rgba(11,32,39,.05);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: #0B2027;
  line-height: 1.55;
  margin-top: 4px;
}

.lido-booking .lido-form__summary .lido-form__total {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(11,32,39,.12);
  font-size: 14px;
}

.lido-booking .lido-form__error {
  background: rgba(192,57,43,.08);
  border: 1px solid rgba(192,57,43,.2);
  color: #C0392B;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
}

.lido-booking .lido-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  margin-top: 8px;
  border: 0;
  border-radius: 999px;
  background: #0B2027;
  color: #FDE9DB;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}

.lido-booking .lido-form__submit:hover:not(:disabled) {
  background: #F1967E;
  color: #0B2027;
}

.lido-booking .lido-form__submit:disabled {
  opacity: .6;
  cursor: wait;
}

.lido-booking .lido-form__submit.is-loading {
  cursor: progress;
}

.lido-booking .lido-form__submit svg {
  width: 22px;
  height: 10px;
}

/* Date strip: stato "passato" */
.lido-booking .ds-cell.past {
  opacity: .35;
  pointer-events: none;
}

/* Mobile tweaks per modale */
@media (max-width: 600px) {
  .lido-booking .lido-modal__panel {
    padding: 24px 20px 22px;
    border-radius: 14px;
  }
  .lido-booking .lido-modal__title { font-size: 26px; }
  .lido-booking .lido-form__submit { padding: 14px 18px; font-size: 12px; }
}

/* ═════════════════════════════════════════════ */
/*   FOCUS VISIBILE (il reset rimuove l'outline)  */
/* ═════════════════════════════════════════════ */
.lido-booking a:focus-visible,
.lido-booking button:focus-visible,
.lido-booking input:focus-visible,
.lido-booking textarea:focus-visible,
.lido-booking [tabindex]:focus-visible {
  outline: 2px solid var(--salmon);
  outline-offset: 2px;
}

/* ═════════════════════════════════════════════ */
/*   STATI: loading / banner / nessuna disponibilità */
/* ═════════════════════════════════════════════ */
.lido-booking .plan-card { position: relative; }

.lido-booking .plan-card.is-loading .rows { opacity: .4; transition: opacity .2s; }
.lido-booking .plan-card.is-loading::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  border: 3px solid rgba(255,247,235,.25);
  border-top-color: var(--salmon);
  border-radius: 50%;
  animation: lido-spin .7s linear infinite;
  z-index: 5;
}
@keyframes lido-spin { to { transform: rotate(360deg); } }

.lido-booking .plan-banner {
  margin: 0 0 16px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(241,150,126,.16);
  border: 1px solid rgba(241,150,126,.4);
  color: var(--paper);
  font-size: 13px;
  text-align: center;
}

.lido-booking .plan-empty {
  margin: 18px auto 4px;
  padding: 16px 18px;
  max-width: 420px;
  border-radius: 14px;
  background: rgba(255,247,235,.06);
  border: 1px dashed rgba(255,247,235,.28);
  color: var(--paper);
  font-size: 14px;
  text-align: center;
}

/* ═════════════════════════════════════════════ */
/*   RIDUZIONE MOVIMENTO (accessibilità)          */
/* ═════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .lido-booking *,
  .lido-booking *::before,
  .lido-booking *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
