.page-template-booking-page {
  background: var(--gold-50);
}
.page-template-booking-page .header {
  background: var(--gold-50);
  color: var(--gold-900);
}
.page-template-booking-page .header.is-scrolled {
  background: var(--gold-50);
  box-shadow: 0 10px 30px rgba(59, 50, 19, 0.08);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.page-template-booking-page .header__topbar {
  border-bottom-color: var(--neutral-100);
}

.page-template-booking-page .header .phone__toggle {
  color: var(--gold-900);
}

.page-template-booking-page .header .icon--white {
  fill: var(--gold-900);
}
.page-template-booking-page .header .social__link:hover {
  color: var(--gold-500);
}
.page-template-booking-page .header .social__link:hover .icon--white {
  fill: var(--gold-500);
}

.page-template-booking-page .header .nav__link {
  color: var(--gold-900);
}

.page-template-booking-page .header .nav__link:hover {
  color: var(--gold-500);
}

.page-template-booking-page .header .nav__link::after {
  background: var(--gold-500);
}

.page-template-booking-page .burger__line {
  background: var(--gold-900);
}

.page-template-booking-page .header__book {
  background: var(--gold-300);
  border-color: var(--gold-500);
  color: var(--gold-500);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.page-template-booking-page .header__book:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--gold-50);
}

/* ============================================================
   Burger Menu
   ============================================================ */

.page-template-booking-page .menu {
  background: var(--gold-50);
  color: var(--gold-900);
}

/* ============================================================
   Sections
   ============================================================ */
.booking {
  --line: var(--neutral-300);
  --card-border: var(--neutral-300);
  --muted: var(--neutral-400);
  position: relative;
  background: var(--gold-50);
  color: var(--gold-900);
  padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px));
  padding-bottom: clamp(80px, 9vw, 150px);
}

/* ---------- Heading ---------- */
.booking__head {
  text-align: center;
  max-width: 960px;
  margin: 0 auto clamp(40px, 5vw, 60px);
}
.booking__title {
  font-weight: 500;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--gold-800);
}

/* ---------- Cards grid ---------- */
.booking__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
  max-width: 1280px;
  margin-inline: auto;
}
.booking__card {
  background: var(--gold-50);
  border: 1px solid var(--card-border);
  border-radius: 0;
  padding: clamp(24px, 2.8vw, 40px);
}
.booking__card--calendar {
  box-shadow: -1px 1px 11.4px 8px rgba(210, 210, 210, 0.15);
}
.booking__card--form {
  box-shadow: 0 8px 12px rgba(59, 50, 19, 0.07);
}
.booking__card-title {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-900);
  margin-bottom: clamp(24px, 2.5vw, 40px);
}

/* ============================================================
   Calendar
   ============================================================ */
.cal__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}
.cal__arrow {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--neutral-300);
  display: grid;
  place-items: center;
  color: var(--gold-900);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
    color 0.3s var(--ease);
}
.cal__arrow:hover {
  background: var(--gold-300);
  border-color: var(--gold-300);
}
.cal__arrow .icon {
  width: 12px;
  height: 12px;
  fill: currentColor;
}
.cal__arrow--prev .icon {
  transform: rotate(90deg);
}
.cal__arrow--next .icon {
  transform: rotate(-90deg);
}

.cal__selects {
  display: flex;
  gap: 7px;
  margin-inline: auto;
}
.cal__select {
  position: relative;
}
.cal__select select {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  font-size: 16px;
  color: var(--gold-900);
  background: var(--gold-50);
  border: 1px solid var(--neutral-300);
  border-radius: 25px;
  height: 37px;
  padding: 0 40px 0 21px;
  cursor: pointer;
  transition: border-color 0.3s var(--ease);
}
.cal__select select:focus {
  outline: none;
  border-color: var(--gold-300);
}
.cal__select .icon {
  position: absolute;
  top: 50%;
  right: 15px;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  fill: var(--gold-900);
  pointer-events: none;
}

/* ---------- Calendar Days ---------- */
.cal__weekdays,
.cal__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.cal__weekdays {
  margin-bottom: 16px;
}

.cal__weekday {
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  color: var(--gold-900);
}

.cal__day {
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--neutral-300);
  border-radius: 5px;
  font-size: 16px;
  color: var(--gold-800);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}

.cal__day:hover {
  background: var(--gold-100);
  border-color: var(--gold-300);
}

.cal__day--muted {
  background: var(--neutral-100);
  border-color: transparent;
  color: var(--neutral-400);
  cursor: default;
}

.cal__day--muted:hover {
  background: var(--neutral-100);
  border-color: transparent;
}

.cal__day--range {
  background: var(--gold-100);
  border-color: var(--gold-100);
}

.cal__day--start {
  border: 2px solid var(--gold-500);
  background: transparent;
}

.cal__day--selected {
  background: var(--gold-300);
  border-color: var(--gold-300);
  color: var(--gold-800);
}

/* ============================================================
   Guests panel
   ============================================================ */
.guests {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.guests__group {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.guests__subgroup {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.booking__label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--gold-900);
  margin-bottom: 8px;
}

.field--light input,
.field--light select {
  width: 100%;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0 0 12px;
  color: var(--gold-900);
  font: inherit;
  font-size: 16px;
}
.field--light select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 28px;
  cursor: pointer;
}
.field--light input::placeholder {
  color: var(--neutral-400);
}
.field--light input:focus,
.field--light select:focus {
  outline: none;
  border-color: var(--gold-300);
}
.field--light select:invalid {
  color: var(--neutral-400);
}
.field--select {
  position: relative;
}
.field--select .icon {
  position: absolute;
  right: 2px;
  bottom: 16px;
  width: 12px;
  height: 12px;
  fill: var(--gold-900);
  pointer-events: none;
}

/* ---------- Counters ---------- */
.counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.counter__label {
  font-weight: 600;
  font-size: 16px;
  color: var(--gold-900);
}
.counter__hint {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.counter__ctrl {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: none;
}
.counter__btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--gold-100);
  color: var(--gold-900);
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
  transition: background-color 0.3s var(--ease);
}
.counter__btn:hover {
  background: var(--gold-300);
}
.counter__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.counter__btn:disabled:hover {
  background: var(--gold-100);
}
.counter__value {
  min-width: 36px;
  text-align: center;
  font-weight: 500;
  font-size: 18px;
  color: var(--gold-900);
  font-variant-numeric: tabular-nums;
}

/* ---------- Consent checkbox ---------- */
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--gold-900);
  cursor: pointer;
}
.check input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  background: var(--gold-50);
  border: 1px solid var(--neutral-300);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.check input:checked {
  background: var(--gold-300);
  border-color: var(--gold-300);
}
.check input:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--gold-900);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---------- Submit ---------- */
.btn--block {
  width: 100%;
  --pad-y: 20px;
  --pad-x: 40px;
  font-size: 16px;
  margin-top: clamp(24px, 2.5vw, 40px);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  .booking__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .booking {
    padding-top: calc(var(--header-h) + 32px);
  }
  .cal__nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  .cal__selects {
    order: -1;
    width: 100%;
    justify-content: center;
  }
  .cal__weekday,
  .cal__day {
    font-size: 14px;
  }
}
@media (max-width: 420px) {
  .cal__weekdays,
  .cal__days {
    gap: 6px;
  }
  .cal__day {
    height: 42px;
    border-radius: 5px;
  }
  .counter__btn {
    width: 36px;
    height: 36px;
  }
}
