.booking-hidden-header {
  grid-template-columns: auto 1fr;
}

.booking-hidden-header .site-nav {
  display: none;
}

.booking-hidden-footer .footer-inner {
  padding-top: 28px;
}

.booking-hero {
  padding-bottom: 28px;
}

.booking-gate-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 22px;
  padding: 14px 18px;
  border: 1px solid rgba(159, 122, 63, 0.38);
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.84);
  box-shadow: 0 14px 34px rgba(42, 33, 27, 0.06);
  color: var(--espresso);
}

.booking-gate-note strong {
  color: var(--champagne-dark);
  font-size: 0.74rem;
  font-weight: 820;
  text-transform: uppercase;
  white-space: nowrap;
}

.booking-gate-note span {
  color: var(--charcoal);
  font-size: 0.94rem;
  font-weight: 720;
  line-height: 1.4;
}

.public-booking-shell {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 42px);
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto clamp(52px, 7vw, 84px);
  align-items: start;
}

.booking-progress {
  position: sticky;
  top: 86px;
  padding: 22px;
  border: 1px solid rgba(215, 197, 180, 0.68);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.76);
  box-shadow: var(--shadow-card);
}

.booking-progress ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.booking-progress li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.booking-progress li span,
.booking-step-heading > span,
.square-placeholder > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  border-radius: 999px;
  background: rgba(199, 164, 106, 0.16);
  color: var(--champagne-dark);
  font-size: 0.74rem;
  font-weight: 820;
  text-transform: uppercase;
}

.booking-flow {
  display: grid;
  gap: 22px;
}

.booking-step {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(215, 197, 180, 0.62);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 253, 249, 0.94), rgba(247, 239, 230, 0.72));
  box-shadow: var(--shadow-card);
}

.booking-step-heading {
  max-width: 760px;
  margin-bottom: 20px;
}

.booking-step-heading h2 {
  margin-top: 10px;
  font-size: clamp(1.65rem, 2.4vw, 2.18rem);
}

.booking-step-heading p,
.prototype-service-card p,
.calendar-card p,
.time-card p,
.square-placeholder p,
.confirmation-card p {
  color: var(--muted);
}

.prototype-category-grid,
.prototype-service-grid,
.service-category-grid,
.addon-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.prototype-service-grid {
  grid-template-columns: 1fr;
}

.service-category-section {
  display: grid;
  gap: 14px;
  scroll-margin-top: 96px;
}

.service-category-section + .service-category-section {
  margin-top: 22px;
}

.service-category-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  max-width: 760px;
}

.service-category-heading > div {
  display: grid;
  gap: 8px;
}

.service-category-heading span {
  color: var(--champagne-dark);
  font-size: 0.76rem;
  font-weight: 820;
  text-transform: uppercase;
}

.service-category-heading h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
}

.service-category-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.change-category-button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(199, 164, 106, 0.34);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.72);
  color: var(--champagne-dark);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
}

.change-category-button:hover,
.change-category-button:focus-visible {
  border-color: rgba(42, 33, 27, 0.72);
  color: var(--espresso);
  outline: none;
}

.service-category-empty {
  padding: 18px;
  border: 1px dashed rgba(199, 164, 106, 0.42);
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.62);
  color: var(--muted);
  font-weight: 720;
}

.prototype-category-card,
.prototype-service-card,
.addon-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: space-between;
  min-height: 150px;
  padding: 20px;
  border: 1px solid rgba(215, 197, 180, 0.68);
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.78);
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.prototype-category-card.selected,
.prototype-category-card:hover,
.prototype-category-card:focus-visible,
.prototype-service-card.selected,
.prototype-service-card:hover,
.prototype-service-card:focus-visible,
.addon-card.selected,
.addon-card:hover,
.addon-card:focus-visible {
  border-color: rgba(199, 164, 106, 0.58);
  outline: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transform: translateY(-4px);
}

.prototype-category-card h3,
.prototype-service-card h3 {
  font-size: 1.22rem;
}

.prototype-category-card p,
.prototype-service-card p {
  margin: 0;
  line-height: 1.55;
}

.prototype-category-card > span,
.prototype-service-card > span {
  color: var(--champagne-dark);
  font-size: 0.78rem;
  font-weight: 780;
  text-transform: uppercase;
}

.addon-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.addon-card {
  min-height: 118px;
  padding: 16px;
}

.addon-card span {
  color: var(--espresso);
  font-weight: 820;
}

.addon-card strong {
  color: var(--champagne-dark);
  font-size: 0.95rem;
}

.addon-card small,
.addon-empty {
  color: var(--muted);
  font-weight: 650;
}

.service-detail-card,
.addon-panel {
  padding: 20px;
  border: 1px solid rgba(215, 197, 180, 0.62);
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.74);
}

.service-detail-card {
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.service-detail-card h3,
.addon-panel h3 {
  margin: 0;
  color: var(--espresso);
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
}

.service-detail-card p {
  margin: 0;
  line-height: 1.58;
}

.service-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 10px;
}

.service-detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(199, 164, 106, 0.24);
  border-radius: 999px;
  background: rgba(199, 164, 106, 0.12);
  color: var(--champagne-dark);
  font-size: 0.82rem;
  font-weight: 780;
}

.addon-panel {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.addon-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.addon-panel-heading p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: right;
}

.booking-date-grid,
.prototype-form {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 16px;
}

.calendar-card,
.time-card,
.review-card,
.square-placeholder,
.confirmation-card {
  padding: 20px;
  border: 1px solid rgba(215, 197, 180, 0.62);
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.74);
}

.calendar-card {
  display: grid;
  gap: 12px;
}

.calendar-card input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(215, 197, 180, 0.78);
  border-radius: 12px;
  background: rgba(255, 253, 249, 0.86);
  color: var(--espresso);
  font: inherit;
}

.slot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.slot-list button {
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid rgba(199, 164, 106, 0.34);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.82);
  color: var(--espresso);
  cursor: pointer;
  font: inherit;
  font-weight: 760;
}

.slot-list button.selected-time,
.slot-list button:hover,
.slot-list button:focus-visible {
  border-color: rgba(42, 33, 27, 0.72);
  background: var(--espresso);
  color: var(--cream);
  outline: none;
}

.prototype-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.prototype-form label,
.prototype-form fieldset {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  color: var(--champagne-dark);
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
}

.prototype-form label:has(textarea),
.prototype-form fieldset {
  grid-column: 1 / -1;
}

.prototype-form input,
.prototype-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(215, 197, 180, 0.78);
  border-radius: 12px;
  background: rgba(255, 253, 249, 0.86);
  color: var(--espresso);
  font: inherit;
  text-transform: none;
}

.prototype-form textarea {
  resize: vertical;
}

.prototype-form fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(215, 197, 180, 0.58);
  border-radius: 14px;
}

.prototype-form legend {
  padding: 0 6px;
}

.prototype-form fieldset label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 650;
  text-transform: none;
}

.prototype-form fieldset input {
  width: auto;
  min-height: auto;
}

.review-card dl,
.confirmation-summary dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.review-card dl div,
.confirmation-summary dl div {
  display: grid;
  grid-template-columns: minmax(150px, 0.38fr) minmax(0, 1fr);
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(215, 197, 180, 0.44);
}

.review-card dt,
.confirmation-summary dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
  text-transform: uppercase;
}

.review-card dd,
.confirmation-summary dd {
  margin: 0;
  color: var(--espresso);
  font-weight: 760;
  text-align: right;
}

.policy-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 18px;
  color: var(--charcoal);
  font-weight: 720;
  line-height: 1.45;
}

.policy-check input {
  margin-top: 4px;
}

.square-placeholder {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.square-placeholder strong {
  color: var(--espresso);
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 2.2vw, 2rem);
}

.square-card-shell {
  display: grid;
  justify-items: center;
  gap: 16px;
  width: min(560px, 100%);
}

.square-card-container {
  width: 100%;
  min-height: 100px;
  padding: 14px;
  border: 1px solid rgba(215, 197, 180, 0.7);
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.88);
}

.square-status,
.prototype-status {
  padding: 14px 16px;
  border: 1px solid rgba(215, 197, 180, 0.58);
  border-radius: 14px;
  background: rgba(247, 239, 230, 0.4);
  color: var(--muted);
  font-weight: 650;
}

.square-status[data-status="error"],
.prototype-status[data-status="error"] {
  border-color: rgba(153, 70, 47, 0.35);
  background: rgba(153, 70, 47, 0.08);
  color: #783b2d;
}

.square-status[data-status="success"],
.prototype-status[data-status="ready"] {
  border-color: rgba(83, 119, 91, 0.32);
  background: rgba(83, 119, 91, 0.08);
  color: var(--sage);
}

.confirmation-card {
  display: grid;
  gap: 16px;
}

.confirmation-summary {
  display: grid;
  gap: 14px;
  width: 100%;
}

.confirmation-summary strong {
  color: var(--sage);
  font-size: 1.1rem;
}

@media (prefers-reduced-motion: reduce) {
  .prototype-category-card:hover,
  .prototype-category-card:focus-visible,
  .prototype-service-card:hover,
  .prototype-service-card:focus-visible {
    transform: none;
  }
}

@media (max-width: 1080px) {
  .public-booking-shell {
    grid-template-columns: 1fr;
  }

  .booking-progress {
    position: static;
  }
}

@media (max-width: 760px) {
  .booking-gate-note,
  .addon-panel-heading,
  .service-category-heading {
    display: grid;
  }

  .booking-gate-note,
  .public-booking-shell {
    width: min(100% - 28px, 1180px);
  }

  .prototype-category-grid,
  .prototype-service-grid,
  .service-category-grid,
  .addon-list,
  .booking-date-grid,
  .prototype-form {
    grid-template-columns: 1fr;
  }

  .booking-step {
    padding: 20px;
  }

  .addon-panel-heading p {
    max-width: none;
    text-align: left;
  }

  .review-card dl div,
  .confirmation-summary dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .review-card dd,
  .confirmation-summary dd {
    text-align: left;
  }
}
