:root {
  --brand: #333333;
  --ink: #000000;
  --border: #dfdcd5;
}
* {
  box-sizing: border-box;
}
body {
  color: var(--ink);
  font-size: 16px;
  padding-top: 160px;
  background: #fff;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #b57a35;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.site-header {
  height: 150px;
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
}
.language {
  position: absolute;
  left: 20px;
  top: 14px;
  height: 41px;
  border: 1px solid white;
  border-radius: 6px;
  display: flex;
  align-items: center;
  color: white;
  margin: 0;
  padding: 0 12px;
  gap: 8px;
}
.language span:first-child {
  font-size: 23px;
}
.language select {
  background: transparent;
  color: white;
  border: 0;
  max-width: 110px;
  font-size: 13px;
  cursor: pointer;
}
.language option {
  color: #222;
  background: white;
}
.booking-container {
  max-width: 950px;
  padding-top: 55px;
}
.venue-heading {
  padding: 0 15px 29px;
}
h1 {
  font-size: 28px;
  font-weight: 600;
  margin: 20px 0 40px;
}
.splash {
  border-radius: 20px;
}
.w20 {
  width: 20px;
}
.address-link {
  font-size: 12px;
  color: #222;
}
h2 {
  font-size: 20px;
  margin-bottom: 8px;
}
.search-wrap {
  position: relative;
  z-index: 10;
}
.search-bar {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 4px 16px #34270015;
  background: #fff;
}
.filter-wrap {
  width: 50%;
}
.filter-button {
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 66px;
  text-align: left;
  position: relative;
  border-radius: 10px;
}
.filter-button span {
  font-size: 12px;
  color: #757575;
  margin-bottom: 2px;
}
.filter-button strong {
  font-size: 14px;
  font-weight: 600;
}
.guest-wrap > .filter-button:after {
  content: "";
  position: absolute;
  right: 0;
  top: 14px;
  bottom: 14px;
  border-right: 1px solid var(--border);
}
.filter-button[aria-expanded="true"] {
  background: white;
  box-shadow: 0 4px 18px #0002;
}
.floating {
  position: absolute;
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 7px 22px #0002;
  z-index: 20;
}
.guest-menu {
  top: 73px;
  left: 0;
  width: 50%;
  padding: 10px;
  max-height: 350px;
  overflow-y: auto;
}
.guest-option {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 28px;
  background: #fff;
  min-height: 44px;
  margin: 1px 0;
}
.guest-option:hover {
  background: #f6eeee;
}
.guest-option[aria-pressed="true"] {
  background: var(--brand);
  color: #fff;
}
.calendar {
  top: 73px;
  left: 3%;
  width: 94%;
  padding: 33px 24px 20px;
}
.calendar-months {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.month-title {
  text-align: center;
  font-size: 15px;
  height: 33px;
  padding: 6px 30px;
}
.calendar-navigation {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 31px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.arrow {
  pointer-events: auto;
  border: 1px solid #eee;
  background: white;
  border-radius: 50%;
  width: 37px;
  height: 37px;
  font-size: 25px;
  line-height: 1;
}
.arrow:disabled {
  opacity: 0.3;
}
.month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px 0;
  text-align: center;
}
.weekday {
  font-size: 13px;
  color: #777;
  padding: 12px 0;
}
.day {
  border: 0;
  border-radius: 50%;
  background: none;
  width: 40px;
  height: 40px;
  max-width: 100%;
  justify-self: center;
  font-size: 13px;
}
.day:hover:not(:disabled) {
  background: #f6eded;
}
.day:disabled {
  color: #c1c1c1;
}
.day.selected {
  background: var(--brand) !important;
  color: #fff;
}
.day.outside {
  color: #aaa;
}
.calendar-legend {
  font-size: 11px;
  color: #777;
  text-align: center;
  margin: 18px 0 0;
}
#slots {
  margin: 25px -6px 0;
}
#slots > div {
  padding: 0 6px;
  margin-bottom: 11px;
}
.slot,
.brand-button {
  background: var(--brand);
  color: white;
  border: 1px solid var(--brand);
  font-weight: 600;
}
.slot {
  width: 100%;
  height: 56px;
  border-radius: 13px;
}
.slot:hover,
.brand-button:hover {
  color: #fff;
  background: #009900;
}
.slot:disabled {
  opacity: 0.5;
}
.location-section {
  border-top: 1px solid #ddd;
  padding-top: 32px;
  padding-bottom: 28px;
}
.location-section address {
  color: #000;
  line-height: 1.3;
  margin-bottom: 0;
  font-weight: 600;
}
.location-section p a {
  color: #000;
  line-height: 1.3;
  font-weight: 600;
}
.location-section iframe {
  width: 100%;
  height: 182px;
  border: 1px solid #ddd;
  border-radius: 9px;
}
.directions {
  display: inline-block;
  color: var(--brand);
  font-size: 14px;
  margin-bottom: 18px;
  text-decoration: underline;
}
.summary-strip {
  border-bottom: 1px solid #eee;
  min-height: 56px;
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
}
.back-button {
  font-size: 26px;
  border: 0;
  background: white;
  padding: 4px 18px;
  margin-right: 22px;
}
.checkout-container {
  max-width: 1000px;
  padding-top: 25px;
  padding-bottom: 50px;
}
.form-panel {
  padding: 25px 24px 50px;
  border: 1px solid #d8d8d8;
  border-radius: 3px;
}
.form-group {
  margin-bottom: 17px;
}
label {
  font-size: 16px;
  margin-bottom: 2px;
}
label.privacy {
  font-size: 13px;
}
.form-control,
.custom-select {
  height: 48px;
  border-color: #c7c7c7;
  border-radius: 6px;
  font-size: 14px;
}
.form-control:focus,
.custom-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px #89000515;
}
.prefix {
  width: 104px;
  border-radius: 6px 0 0 6px;
}
.input-group > .form-control {
  min-width: 0;
}
.marketing {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 42px;
  line-height: 1.5;
}
.marketing input {
  accent-color: var(--brand);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}
.brand-button {
  border-radius: 10px;
  min-height: 49px;
}
.summary-column {
  padding-left: 34px;
}
.venue-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 426/214;
  overflow: hidden;
  border-radius: 17px;
  background: #eee;
}
.venue-photo img {
  position: absolute;
  width: 284.27%;
  max-width: none;
  height: auto;
  left: -156.57%;
  top: -71.495%;
}
.summary-card {
  border: 1px solid #d9d9d9;
  border-radius: 17px;
  padding: 25px 24px 7px;
  margin-top: 12px;
}
.summary-card h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}
.summary-card p {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-bottom: 10px;
  font-size: 16px;
}
.summary-card p > span:first-child {
  font-size: 21px;
  width: 16px;
  color: #111;
}
.text-success {
  color: #24613a !important;
}
@media (min-width: 992px) {
  .checkout-container > .row > .col-lg-6:first-child {
      flex: 0 0 53%;
      max-width: 53%;
  }
  .checkout-container > .row > .col-lg-6:last-child {
      flex: 0 0 47%;
      max-width: 47%;
  }
}
@media (max-width: 767.98px) {
  .booking-container {
      padding-top: 32px;
      padding-left: 20px;
      padding-right: 20px;
  }
  .venue-heading {
      padding-left: 0;
  }
  .calendar {
      left: 0;
      width: 100%;
      padding: 25px 12px 14px;
  }
  .calendar-months {
      grid-template-columns: 1fr;
      gap: 0;
  }
  .month + .month {
      display: none;
  }
  .calendar-navigation {
      left: 15px;
      right: 15px;
      top: 24px;
  }
  .day {
      width: 42px;
      height: 42px;
  }
  .guest-menu {
      width: 60%;
  }
  .info-section {
      margin-top: 35px;
  }
  .language {
      left: 12px;
      padding: 0 7px;
      height: 36px;
      top: 17px;
  }
  .language select {
      max-width: 76px;
      font-size: 12px;
  }
  .language span:first-child {
      display: none;
  }
  .checkout-container {
      padding: 22px 20px 35px;
  }
  .summary-column {
      padding-left: 15px;
      margin-top: 28px;
  }
  .summary-strip {
      font-size: 16px;
      font-weight: 600;
  }
  .back-button {
      margin-right: 5px;
      padding: 4px 10px;
  }
  .form-panel {
      padding: 18px 18px 30px;
  }
  .marketing {
      margin-top: 25px;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .summary-column {
      padding-left: 15px;
      margin-top: 30px;
  }
  .venue-photo {
      max-width: 550px;
  }
  .calendar-months {
      gap: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
      scroll-behavior: auto !important;
  }
}
.venue-photo img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
}

/* Tre campi distinti nello step 1: adulti, bambini e data. */
.search-bar .filter-wrap {
  width: 33.3333%;
}
.adult-wrap > .filter-button:after,
.child-wrap > .filter-button:after {
  content: "";
  position: absolute;
  right: 0;
  top: 14px;
  bottom: 14px;
  border-right: 1px solid var(--border);
}
.adult-wrap .guest-menu {
  left: 0;
  width: 33.3333%;
}
.child-wrap .guest-menu {
  left: 33.3333%;
  width: 33.3333%;
}
.back-button {
  color: var(--ink);
  text-decoration: none;
}
.back-button:hover {
  color: var(--brand);
  text-decoration: none;
}
@media (max-width: 767.98px) {
  .search-bar {
      border-radius: 10px;
  }
  .filter-button {
      padding-left: 5px;
      padding-right: 5px;
      padding-bottom: 10px;
  }
  .filter-button span {
    margin-bottom: 5px;
  }
  .filter-button strong {
      font-size: 12px;
  }
  .adult-wrap .guest-menu,
  .child-wrap .guest-menu {
      left: 0;
      width: 100%;
  }
}

/* Campi numerici modificabili per adulti e bambini. */
.number-wrap {
  position: relative;
}
.number-wrap:after {
  content: "";
  position: absolute;
  right: 0;
  top: 14px;
  bottom: 14px;
  border-right: 1px solid var(--border);
}
.number-field {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 66px;
  margin: 0;
  border-radius: 10px;
}
.number-field span {
  font-size: 12px;
  color: #757575;
  margin-bottom: 2px;
}
.number-field input {
  width: 90px;
  height: 28px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.number-field input:focus {
  outline: 2px solid #b57a35;
  border-radius: 5px;
}
.result-page {
  max-width: 620px;
  padding-top: 55px;
}
.result-page .summary-card {
  padding: 32px;
}
.result-page h1 {
  font-size: 25px;
}
.result-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  margin: 25px 0;
}
.result-list dt,
.result-list dd {
  margin: 0;
  padding: 7px 0;
  border-bottom: 1px solid #eee;
}
@media (max-width: 767.98px) {
  .number-field input {
      width: 100%;
  }
  .result-page {
      padding: 30px 20px;
  }
}
