.booking-form {
  width: 100%;
  margin-top: clamp(36px, 6vw, 64px);
  color: var(--ink, #202326);
}

.booking-schedule {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
  padding: clamp(28px, 4vw, 44px) 0 clamp(42px, 6vw, 64px);
  border-top: 1px solid var(--rule, #d8d5ce);
}

.booking-calendar,
.booking-times {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.booking-calendar legend,
.booking-times legend,
.booking-details h3 {
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
  color: var(--ink, #202326);
  font-family: Manrope, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -.02em;
}

.booking-calendar-days {
  border-top: 1px solid var(--rule, #d8d5ce);
}

.booking-day {
  position: relative;
  display: grid !important;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: baseline;
  min-height: 62px;
  margin: 0 !important;
  padding: 16px 12px;
  border-bottom: 1px solid var(--rule, #d8d5ce);
  color: var(--ink, #202326);
  cursor: pointer;
  transition: color 150ms ease, background-color 150ms ease;
}

.booking-day input,
.booking-time input {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  opacity: 0;
}

.booking-day-weekday,
.booking-day-date {
  color: inherit !important;
  font-size: .9rem !important;
  font-weight: 450 !important;
}

.booking-day-weekday { text-transform: capitalize; }
.booking-day-date strong { font-weight: 650; }

.booking-day:hover {
  color: var(--accent, #17191c);
  background: color-mix(in srgb, var(--accent, #17191c) 5%, transparent);
}

.booking-day:has(input:checked) {
  color: var(--accent, #17191c);
  background: color-mix(in srgb, var(--accent, #17191c) 9%, transparent);
}

.booking-day:has(input:checked)::before {
  position: absolute;
  inset: 13px auto 13px 0;
  width: 3px;
  background: var(--accent, #17191c);
  content: "";
}

.booking-day:has(input:focus-visible),
.booking-time:has(input:focus-visible) {
  outline: 2px solid var(--accent, #17191c);
  outline-offset: 3px;
}

.booking-selected-date {
  min-height: 1.5em;
  margin: -8px 0 18px;
  color: var(--muted, #66635f);
  font-size: .875rem;
  text-transform: capitalize;
}

.booking-time-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(90px, 1fr));
  gap: 10px;
  max-width: 620px;
}

.booking-time {
  position: relative;
  display: block !important;
  margin: 0 !important;
  cursor: pointer;
}

.booking-time span {
  display: flex;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--rule, #c9c6bf);
  align-items: center;
  justify-content: center;
  color: var(--ink, #202326) !important;
  font-size: .9rem;
  font-weight: 600 !important;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.booking-time:hover span { border-color: var(--ink, #202326); }

.booking-time input:checked + span {
  border-color: var(--accent, #17191c);
  background: var(--accent, #17191c);
  color: #fff !important;
}

.booking-times-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted, #66635f);
}

.booking-details {
  margin: 0;
  padding: clamp(42px, 6vw, 64px) 0 0;
  border-top: 1px solid var(--rule, #d8d5ce);
}

.booking-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 28px;
  max-width: 920px;
}

.booking-details-grid > div { min-width: 0; }
.booking-field-wide { grid-column: 1 / -1; }

.booking-form label {
  display: block;
  margin-bottom: 9px;
  color: var(--ink, #202326);
  font-size: .875rem;
  font-weight: 650;
}

.booking-form label span {
  color: var(--muted, #66635f);
  font-weight: 450;
}

.booking-details-grid > div > label span { margin-left: .35em; }

.booking-form input[type="text"],
.booking-form input[type="email"],
.booking-form input[type="tel"],
.booking-form textarea {
  width: 100%;
  min-height: 54px;
  padding: 13px 15px;
  border: 1px solid #bdbab4;
  border-radius: 0;
  background: transparent;
  color: var(--ink, #202326);
  font: inherit;
}

.booking-form input[type="tel"] {
  min-height: 58px;
  font-size: 1rem;
}

.booking-form textarea {
  min-height: 148px;
  resize: vertical;
}

.booking-form input:focus,
.booking-form textarea:focus {
  border-color: var(--accent, #17191c);
  outline: 2px solid var(--accent, #17191c);
  outline-offset: 1px;
}

.booking-consent,
.booking-note {
  max-width: 760px;
  margin: 20px 0;
  color: var(--muted, #66635f);
  font-size: .875rem;
  line-height: 1.6;
}

.booking-consent label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-weight: 450;
  line-height: 1.55;
  cursor: pointer;
}

.booking-consent input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: .16em 0 0;
  padding: 0;
  justify-self: start;
  align-self: start;
  box-sizing: border-box;
  accent-color: var(--accent, #17191c);
}

.booking-consent a { color: var(--ink, #202326); }

.booking-submit {
  min-height: 52px;
  margin-top: 4px;
  padding: 14px 24px;
  border: 1px solid var(--accent, #17191c);
  border-radius: 0;
  background: var(--accent, #17191c);
  color: #fff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.booking-submit:hover,
.booking-submit:focus-visible {
  border-color: var(--ink, #202326);
  background: var(--ink, #202326);
}

.booking-submit:disabled {
  opacity: .62;
  cursor: wait;
}

.booking-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.booking-notice {
  margin-top: 36px;
  padding: 16px 18px;
  border-left: 3px solid var(--accent, #17191c);
  background: color-mix(in srgb, var(--accent, #17191c) 7%, transparent);
  color: var(--ink, #202326);
}

.booking-notice h3,
.booking-notice p { margin: 0; }
.booking-notice p { margin-top: 6px; }

@media (max-width: 760px) {
  .booking-form { margin-top: 36px; }

  .booking-schedule,
  .booking-details-grid {
    grid-template-columns: 1fr;
  }

  .booking-schedule {
    gap: 34px;
    padding: 26px 0 42px;
  }

  .booking-calendar-days {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
    border-left: 1px solid var(--rule, #d8d5ce);
  }

  .booking-day {
    display: flex !important;
    min-height: 78px;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    justify-content: center;
    padding: 12px;
    border-right: 1px solid var(--rule, #d8d5ce);
  }

  .booking-day:has(input:checked)::before {
    inset: auto 9px 0;
    width: auto;
    height: 3px;
  }

  .booking-time-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .booking-details { padding-top: 42px; }
  .booking-field-wide { grid-column: 1; }
}

@media (max-width: 430px) {
  .booking-calendar-days { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .booking-day { padding: 10px 8px; }
  .booking-day-weekday,
  .booking-day-date { font-size: .875rem !important; }
  .booking-time span { min-height: 48px; padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .booking-day,
  .booking-time span,
  .booking-submit { transition: none; }
}

/* 1.7.0 — sistema editoriale condiviso con newsletter, quote e moduli. */
.booking-form {
  --booking-accent: var(--ink, #17191c);
  margin-top: clamp(30px, 5vw, 48px);
}

.booking-schedule,
.booking-details {
  border: 1px solid var(--rule, #d9dcd9);
  border-radius: 16px;
  background: var(--paper, #f7f7f5);
}

.booking-schedule {
  gap: clamp(28px, 5vw, 56px);
  padding: clamp(24px, 4vw, 38px);
}

.booking-calendar legend,
.booking-times legend,
.booking-details h3 {
  margin-bottom: 16px;
  font-size: 1.08rem;
  font-weight: 700;
}

.booking-calendar-days {
  display: grid;
  gap: 9px;
  border: 0;
}

.booking-day {
  min-height: 58px;
  padding: 13px 15px;
  border: 1px solid var(--rule, #d9dcd9);
  border-radius: 12px;
  background: #fff;
}

.booking-day:hover {
  border-color: var(--booking-accent);
  background: #fff;
}

.booking-day:has(input:checked) {
  border-color: var(--booking-accent);
  background: var(--booking-accent);
  color: #fff;
}

.booking-day:has(input:checked)::before { display: none; }

.booking-time-options { gap: 9px; }
.booking-time span {
  min-height: 50px;
  border-color: var(--rule, #d9dcd9);
  border-radius: 12px;
  background: #fff;
}
.booking-time:hover span { border-color: var(--booking-accent); }
.booking-time input:checked + span {
  border-color: var(--booking-accent);
  background: var(--booking-accent);
}
.booking-day:has(input:focus-visible),
.booking-time:has(input:focus-visible) {
  outline-color: var(--booking-accent);
}

.booking-details {
  margin-top: 18px;
  padding: clamp(24px, 4vw, 38px);
}
.booking-details-grid { max-width: none; gap: 20px; }
.booking-form input[type="text"],
.booking-form input[type="email"],
.booking-form input[type="tel"],
.booking-form textarea {
  min-height: 52px;
  border-color: var(--rule, #d9dcd9);
  border-radius: 12px;
  background: #fff;
}
.booking-form input:focus,
.booking-form textarea:focus {
  border-color: var(--booking-accent);
  outline-color: var(--booking-accent);
}
.booking-consent,
.booking-note { max-width: none; }
.booking-consent { margin-top: 24px; }
.booking-consent input[type="checkbox"] { accent-color: var(--booking-accent); }
.booking-submit {
  min-width: 220px;
  min-height: 52px;
  padding: 14px 24px;
  border-color: var(--booking-accent);
  border-radius: 12px;
  background: var(--booking-accent);
}
.booking-notice {
  padding: 20px 22px;
  border: 1px solid var(--rule, #d9dcd9);
  border-left: 1px solid var(--rule, #d9dcd9);
  border-radius: 16px;
  background: var(--paper, #f7f7f5);
}

@media (max-width: 760px) {
  .booking-schedule { padding: 22px 18px; }
  .booking-calendar-days { grid-template-columns: 1fr; border: 0; }
  .booking-day {
    display: grid !important;
    min-height: 54px;
    grid-template-columns: 1fr auto;
    flex-direction: initial;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid var(--rule, #d9dcd9);
  }
  .booking-details { padding: 22px 18px; }
  .booking-submit { width: 100%; }
}
