/* Shared calendar, package selector and payment form foundations. */
.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.54)),
    rgba(255, 255, 255, 0.5);
  padding: 20px;
  box-shadow: var(--shadow);
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field-full,
.form-button,
.form-note {
  grid-column: 1 / -1;
}

.form-field label {
  color: rgba(21, 18, 13, 0.78);
  font-size: 0.94rem;
  font-weight: 800;
}

.form-field label span,
.form-note {
  color: rgba(21, 18, 13, 0.58);
  font-weight: 650;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(21, 18, 13, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  padding: 12px 12px;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: rgba(243, 217, 144, 0.78);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(205, 168, 90, 0.13);
  outline: 0;
}

.lead-form textarea {
  min-height: 94px;
  resize: vertical;
}

.paid-booking-form textarea {
  min-height: 72px;
}

.lead-form ::placeholder {
  color: rgba(21, 18, 13, 0.38);
}

.form-button {
  width: 100%;
}

.form-note {
  margin: 0;
  font-size: 0.86rem;
}

.paid-booking-form {
  gap: 16px;
}

.booking-package-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  border: 0;
  padding: 0;
}

.booking-package-picker legend {
  width: 100%;
  margin-bottom: 10px;
  color: rgba(21, 18, 13, 0.82);
  font-size: 1rem;
  font-weight: 900;
}

.booking-package-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.booking-package-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.booking-package-option > span {
  display: grid;
  min-height: 142px;
  align-content: start;
  gap: 7px;
  border: 1px solid rgba(21, 18, 13, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  padding: 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.booking-package-option:hover > span {
  border-color: rgba(167, 124, 45, 0.55);
  transform: translateY(-2px);
}

.booking-package-option input:focus-visible + span {
  outline: 3px solid rgba(205, 168, 90, 0.34);
  outline-offset: 2px;
}

.booking-package-option input:checked + span {
  border-color: var(--gold);
  background: linear-gradient(145deg, rgba(243, 217, 144, 0.24), rgba(255, 255, 255, 0.82));
  box-shadow: 0 0 0 3px rgba(205, 168, 90, 0.18);
}

.booking-package-option strong {
  color: var(--ink);
  font-size: 1.04rem;
}

.booking-package-option small {
  color: rgba(21, 18, 13, 0.62);
  font-weight: 720;
}

.booking-package-option b {
  margin-top: auto;
  color: #76551c;
  font-size: 0.94rem;
}

.booking-package-option.is-featured > span::before {
  content: "Double prints";
  color: #76551c;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.booking-deposit-callout {
  margin: 0;
  border: 1px solid rgba(205, 168, 90, 0.36);
  border-radius: var(--radius);
  background: rgba(205, 168, 90, 0.11);
  color: rgba(21, 18, 13, 0.72);
  padding: 14px 16px;
  line-height: 1.55;
}

.booking-deposit-callout strong {
  color: var(--ink);
}

.booking-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(21, 18, 13, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.booking-consent input {
  width: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
}

.booking-secure-note {
  text-align: center;
}

.booking-calendar-live .booking-native-date {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.booking-calendar {
  overflow: hidden;
  border: 1px solid rgba(21, 18, 13, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
}

.booking-calendar-header {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  border-bottom: 1px solid rgba(21, 18, 13, 0.12);
  padding: 8px;
  text-align: center;
}

.booking-calendar-nav {
  display:grid;
  place-items:center;
  min-height: 44px;
  border: 1px solid rgba(21, 18, 13, 0.14);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.booking-calendar-nav:disabled {
  cursor: default;
  opacity: 0.32;
}

.booking-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
  padding: 10px;
}

.booking-calendar-weekday {
  padding: 4px 0;
  color: rgba(21, 18, 13, 0.52);
  font-size: 0.72rem;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.booking-calendar-day {
  display: grid;
  min-height: 58px;
  place-content: center;
  gap: 2px;
  border: 1px solid rgba(21, 18, 13, 0.12);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.booking-calendar-day span {
  font-weight: 900;
}

.booking-calendar-day small {
  color: #28724b;
  font-size: 0.58rem;
  font-weight: 800;
}

.booking-calendar-day.is-limited {
  border-color: rgba(167, 124, 45, 0.5);
  background: #fff9eb;
}

.booking-calendar-day.is-limited small {
  color: #76551c;
}

.booking-calendar-day.is-fully-booked,
.booking-calendar-day:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.booking-calendar-day.is-fully-booked small {
  color: #a43b2c;
}

.booking-calendar-day.is-unavailable small,
.booking-calendar-day.is-past small {
  color: inherit;
}

.booking-calendar-day[aria-pressed="true"] {
  border-color: var(--gold, #a77c2d);
  background: #171510;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(205, 168, 90, 0.24);
}

.booking-calendar-day[aria-pressed="true"] small {
  color: #f3d990;
}

.booking-availability-status {
  margin: 0;
  color: rgba(21, 18, 13, 0.62);
  font-size: 0.86rem;
  font-weight: 720;
}

.booking-availability-status.is-available {
  color: #28724b;
}

.booking-availability-status.is-limited {
  color: #76551c;
}

.booking-availability-status.is-fully-booked,
.booking-availability-status.is-unavailable {
  color: #a43b2c;
}
