.admin-booking-mockup-panel {
  overflow: hidden;
  padding: 0 !important;
}

.admin-booking-mockup-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.4rem);
  border-bottom: 1px solid rgba(24, 20, 18, 0.08);
  background: rgba(255, 250, 248, 0.7);
}

.admin-booking-mockup-heading .copy {
  max-width: 690px;
  margin: 0.4rem 0 0;
}

.booking-preview-toolbar {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid rgba(24, 20, 18, 0.1);
  border-radius: 10px;
  background: #fffaf8;
}

.booking-preview-toolbar button {
  min-height: 38px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #665c55;
  padding: 0.45rem 0.72rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 720;
  cursor: pointer;
}

.booking-preview-toolbar button[aria-pressed="true"] {
  background: #181412;
  color: #fffaf8;
  box-shadow: 0 5px 14px rgba(24, 20, 18, 0.14);
}

.booking-preview-toolbar button:last-child {
  border-left: 1px solid rgba(24, 20, 18, 0.1);
  border-radius: 0 7px 7px 0;
}

.booking-mockup-stage {
  display: grid;
  justify-items: center;
  min-height: 720px;
  padding: clamp(0.75rem, 2.4vw, 2rem);
  background:
    linear-gradient(rgba(24, 20, 18, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 20, 18, 0.035) 1px, transparent 1px),
    #eee8e1;
  background-size: 22px 22px;
}

.booking-mockup-stage[data-preview-device="mobile"] .booking-mockup-device {
  width: min(100%, 405px);
}

.booking-mockup-device {
  container-type: inline-size;
  width: min(100%, 1060px);
  min-height: 660px;
  overflow: hidden;
  border: 1px solid rgba(24, 20, 18, 0.1);
  border-radius: 22px;
  background: #fffaf8;
  box-shadow:
    0 28px 70px rgba(51, 37, 31, 0.14),
    0 2px 8px rgba(51, 37, 31, 0.06);
  transition: width 220ms ease;
}

.booking-mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
  border-bottom: 1px solid rgba(24, 20, 18, 0.08);
  padding: 0.8rem clamp(1rem, 4cqw, 2rem);
}

.booking-mockup-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.booking-mockup-brand img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.booking-mockup-brand span {
  display: grid;
  line-height: 1.2;
}

.booking-mockup-brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 400;
}

.booking-mockup-brand small {
  margin-top: 0.18rem;
  color: #746a62;
  font-size: 0.72rem;
}

.booking-mockup-preview-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(185, 117, 126, 0.24);
  border-radius: 999px;
  background: #f2dcdf;
  color: #70494f;
  padding: 0.32rem 0.68rem;
  font-size: 0.7rem;
  font-weight: 780;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.booking-mockup-progress {
  display: grid;
  grid-template-columns: max-content minmax(24px, 1fr) max-content minmax(24px, 1fr) max-content;
  align-items: center;
  width: min(100% - 2rem, 620px);
  margin: 0 auto;
  padding: 1.4rem 0 0.25rem;
}

.booking-mockup-progress button {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 38px;
  border: 0;
  background: transparent;
  color: #746a62;
  padding: 0;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
}

.booking-mockup-progress button:not(:disabled) {
  cursor: pointer;
}

.booking-mockup-progress button span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(24, 20, 18, 0.16);
  border-radius: 50%;
  background: #fffaf8;
  color: #746a62;
  line-height: 1;
}

.booking-mockup-progress button[aria-current="step"] {
  color: #181412;
}

.booking-mockup-progress button[aria-current="step"] span,
.booking-mockup-progress button[data-complete="true"] span {
  border-color: #181412;
  background: #181412;
  color: #fffaf8;
}

.booking-mockup-progress i {
  height: 1px;
  margin-inline: 0.6rem;
  background: rgba(24, 20, 18, 0.13);
}

.booking-mockup-form {
  margin: 0;
}

.booking-mockup-step {
  padding: clamp(1.4rem, 5cqw, 3.5rem) clamp(1rem, 6cqw, 4.5rem) clamp(1.2rem, 4cqw, 2.5rem);
}

.booking-mockup-step[hidden] {
  display: none !important;
}

.booking-mockup-intro {
  max-width: 650px;
}

.booking-mockup-kicker {
  display: block;
  color: #9c616a;
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.booking-mockup-step h3 {
  margin: 0.42rem 0 0;
  color: #181412;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 4.8cqw, 3rem);
  font-weight: 400;
  line-height: 1.08;
}

.booking-mockup-intro p {
  max-width: 600px;
  margin: 0.65rem 0 0;
  color: #665c55;
  font-size: 0.94rem;
  line-height: 1.55;
}

.booking-service-fieldset {
  min-width: 0;
  margin: 1.6rem 0 0;
  border: 0;
  padding: 0;
}

.booking-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.booking-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.admin-panel label.booking-service-option {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 0.75rem;
  min-height: 128px;
  margin: 0;
  border: 1px solid rgba(24, 20, 18, 0.11);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  padding: 1rem;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.admin-panel label.booking-service-option:hover {
  border-color: rgba(185, 117, 126, 0.42);
  transform: translateY(-1px);
}

.booking-service-option:has(input:checked) {
  border-color: #b9757e !important;
  background: linear-gradient(135deg, rgba(242, 220, 223, 0.52), rgba(255, 250, 248, 0.92)) !important;
  box-shadow: 0 10px 28px rgba(185, 117, 126, 0.1);
}

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

.booking-service-option:has(input:focus-visible) {
  outline: 2px solid #b9757e;
  outline-offset: 3px;
}

.booking-service-check {
  position: relative;
  width: 20px;
  height: 20px;
  margin-top: 0.1rem;
  border: 1px solid rgba(24, 20, 18, 0.28);
  border-radius: 50%;
  background: #fffaf8;
}

.booking-service-option:has(input:checked) .booking-service-check {
  border-color: #b9757e;
  box-shadow: inset 0 0 0 5px #fffaf8;
  background: #b9757e;
}

.booking-service-content {
  display: grid;
  align-content: start;
  min-width: 0;
}

.booking-service-content > strong {
  color: #181412;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.25;
}

.booking-service-content > small {
  margin-top: 0.32rem;
  color: #746a62;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.45;
}

.booking-service-content > span {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: 0.7rem;
  color: #3a2b23;
  font-size: 0.74rem;
}

.booking-service-content b {
  font-weight: 760;
}

.booking-guidance-note {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  margin-top: 1rem;
  border-radius: 10px;
  background: rgba(116, 128, 107, 0.1);
  color: #4f5d48;
  padding: 0.85rem 1rem;
}

.booking-guidance-note > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #74806b;
  color: #fffaf8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.booking-guidance-note p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
}

.booking-step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.4rem;
  border-top: 1px solid rgba(24, 20, 18, 0.09);
  padding-top: 1.15rem;
}

.booking-step-actions > p {
  display: grid;
  margin: 0;
  line-height: 1.25;
}

.booking-step-actions > p small {
  color: #746a62;
  font-size: 0.7rem;
}

.booking-step-actions > p strong {
  margin-top: 0.2rem;
  color: #3a2b23;
  font-size: 0.82rem;
}

.booking-primary-action,
.booking-secondary-action,
.booking-back-action {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.booking-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 50px;
  border-radius: 999px;
  background: #181412;
  color: #fffaf8;
  padding: 0.72rem 1.15rem;
  font-size: 0.84rem;
  font-weight: 750;
  box-shadow: 0 10px 24px rgba(24, 20, 18, 0.16);
}

.booking-primary-action:hover:not(:disabled) {
  background: #33251f;
  transform: translateY(-1px);
}

.booking-primary-action:disabled {
  background: #d9d2cc;
  color: #8a817a;
  box-shadow: none;
  cursor: not-allowed;
}

.booking-back-action {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 38px;
  margin-bottom: 0.9rem;
  background: transparent;
  color: #665c55;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 700;
}

.booking-time-layout,
.booking-details-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(230px, 0.72fr);
  gap: clamp(1rem, 4cqw, 2.4rem);
  margin-top: 1.6rem;
}

.booking-date-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(72px, 1fr));
  gap: 0.5rem;
}

.booking-date-button {
  display: grid;
  justify-items: center;
  min-height: 74px;
  border: 1px solid rgba(24, 20, 18, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.58);
  color: #665c55;
  padding: 0.55rem 0.35rem;
  font: inherit;
  cursor: pointer;
}

.booking-date-button small {
  font-size: 0.65rem;
  font-weight: 760;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.booking-date-button strong {
  color: #181412;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  font-weight: 400;
  line-height: 1.1;
}

.booking-date-button span {
  font-size: 0.68rem;
}

.booking-date-button[aria-pressed="true"] {
  border-color: #181412;
  background: #181412;
  color: rgba(255, 250, 248, 0.76);
}

.booking-date-button[aria-pressed="true"] strong {
  color: #fffaf8;
}

.booking-time-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
}

.booking-time-heading h4 {
  margin: 0;
  color: #181412;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 400;
}

.booking-time-heading span {
  color: #746a62;
  font-size: 0.7rem;
}

.booking-time-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.booking-time-button {
  min-height: 48px;
  border: 1px solid rgba(24, 20, 18, 0.13);
  border-radius: 9px;
  background: #fffaf8;
  color: #33251f;
  padding: 0.55rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 720;
  cursor: pointer;
}

.booking-time-button[aria-pressed="true"] {
  border-color: #b9757e;
  background: #f2dcdf;
  color: #5f353c;
  box-shadow: inset 0 0 0 1px rgba(185, 117, 126, 0.2);
}

.booking-time-hint {
  display: flex;
  gap: 0.42rem;
  margin: 0.7rem 0 0;
  color: #746a62;
  font-size: 0.7rem;
  line-height: 1.45;
}

.booking-time-hint span {
  color: #74806b;
  font-size: 0.55rem;
}

.booking-selection-summary {
  align-self: start;
  border: 1px solid rgba(198, 161, 94, 0.28);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(246, 240, 234, 0.78), rgba(255, 250, 248, 0.92));
  padding: 1rem;
}

.booking-selection-summary > span {
  color: #9c616a;
  font-size: 0.66rem;
  font-weight: 780;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.booking-selection-summary > strong {
  display: block;
  margin-top: 0.45rem;
  color: #181412;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  font-weight: 400;
  line-height: 1.25;
}

.booking-selection-summary > p {
  margin: 0.35rem 0 0;
  color: #665c55;
  font-size: 0.78rem;
  line-height: 1.45;
}

.booking-selection-summary dl {
  display: grid;
  gap: 0.5rem;
  margin: 0.9rem 0 0;
  border-top: 1px solid rgba(24, 20, 18, 0.09);
  padding-top: 0.8rem;
}

.booking-selection-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.booking-selection-summary dt,
.booking-selection-summary dd {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.35;
}

.booking-selection-summary dt {
  color: #746a62;
}

.booking-selection-summary dd {
  color: #33251f;
  font-weight: 700;
  text-align: right;
}

.booking-selection-summary > small {
  display: block;
  margin-top: 0.8rem;
  color: #746a62;
  font-size: 0.66rem;
}

.booking-step-actions--end {
  justify-content: flex-end;
}

.booking-step-actions--end > p:first-child {
  margin-right: auto;
  color: #746a62;
  font-size: 0.78rem;
}

.booking-customer-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.admin-panel .booking-customer-fields > label {
  display: grid;
  gap: 0.38rem;
  margin: 0;
  color: #3a2b23;
  font-size: 0.76rem;
  font-weight: 720;
}

.admin-panel .booking-customer-fields > label:nth-child(n + 3) {
  grid-column: 1 / -1;
}

.booking-customer-fields label > small {
  color: #827871;
  font-size: 0.65rem;
  font-weight: 560;
}

.booking-customer-fields input:not([type="checkbox"]),
.booking-customer-fields textarea {
  width: 100%;
  min-height: 48px;
  margin: 0;
  border: 1px solid rgba(24, 20, 18, 0.15);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.65);
  color: #181412;
  padding: 0.7rem 0.8rem;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 500;
}

.booking-customer-fields textarea {
  resize: vertical;
}

.booking-customer-fields input:focus,
.booking-customer-fields textarea:focus {
  border-color: #b9757e;
  outline: 3px solid rgba(185, 117, 126, 0.14);
}

.booking-customer-fields [aria-invalid="true"] {
  border-color: #a54545 !important;
}

.admin-panel label.booking-policy-check {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 0.6rem;
  margin: 0;
  color: #665c55;
  font-size: 0.72rem;
  font-weight: 560;
  line-height: 1.45;
}

.booking-policy-check input {
  width: 18px;
  height: 18px;
  margin: 0.1rem 0 0;
  accent-color: #181412;
}

.booking-form-status {
  grid-column: 1 / -1;
  min-height: 1.2em;
  margin: 0;
  color: #8e3e3e;
  font-size: 0.72rem;
  font-weight: 650;
}

.booking-success-step {
  display: grid;
  justify-items: center;
  max-width: 680px;
  margin: 0 auto;
  padding-top: clamp(3rem, 9cqw, 6rem);
  text-align: center;
}

.booking-success-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background: #467c56;
  color: #fffaf8;
  font-size: 1.7rem;
  box-shadow: 0 12px 28px rgba(70, 124, 86, 0.2);
}

.booking-success-step > p {
  max-width: 520px;
  margin: 0.8rem 0 0;
  color: #665c55;
  font-size: 0.88rem;
  line-height: 1.55;
}

.booking-success-card {
  display: grid;
  width: min(100%, 480px);
  margin-top: 1.4rem;
  border: 1px solid rgba(198, 161, 94, 0.34);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(246, 240, 234, 0.82), rgba(255, 250, 248, 0.9));
  padding: 1.2rem;
}

.booking-success-card > span {
  color: #9c616a;
  font-size: 0.74rem;
  font-weight: 760;
}

.booking-success-card > strong {
  margin-top: 0.25rem;
  color: #181412;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 400;
}

.booking-success-card > small {
  margin-top: 0.35rem;
  color: #746a62;
  font-size: 0.7rem;
}

.booking-success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.3rem;
}

.booking-secondary-action {
  min-height: 50px;
  border: 1px solid rgba(24, 20, 18, 0.14);
  border-radius: 999px;
  background: transparent;
  color: #33251f;
  padding: 0.72rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 720;
}

.booking-prototype-note {
  font-size: 0.68rem !important;
}

@container (max-width: 620px) {
  .booking-mockup-header {
    min-height: 66px;
    padding-inline: 0.85rem;
  }

  .booking-mockup-brand small {
    display: none;
  }

  .booking-mockup-preview-badge {
    padding-inline: 0.5rem;
    font-size: 0.62rem;
  }

  .booking-mockup-progress {
    width: calc(100% - 1.5rem);
    grid-template-columns: 32px minmax(14px, 1fr) 32px minmax(14px, 1fr) 32px;
    padding-top: 1rem;
  }

  .booking-mockup-progress button {
    font-size: 0;
  }

  .booking-mockup-progress button span {
    font-size: 0.72rem;
  }

  .booking-mockup-progress i {
    margin-inline: 0.35rem;
  }

  .booking-mockup-step {
    padding: 1.25rem 0.85rem 1rem;
  }

  .booking-mockup-step h3 {
    font-size: 1.75rem;
  }

  .booking-service-grid,
  .booking-time-layout,
  .booking-details-layout,
  .booking-customer-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-panel label.booking-service-option {
    min-height: 0;
    padding: 0.82rem;
  }

  .booking-service-content > span {
    justify-content: flex-start;
  }

  .booking-service-content > span b + b::before {
    content: "·";
    margin-right: 0.7rem;
    color: #b9757e;
  }

  .booking-guidance-note {
    padding: 0.75rem;
  }

  .booking-step-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .booking-primary-action {
    width: 100%;
  }

  .booking-date-strip {
    display: flex;
    overflow-x: auto;
    padding-bottom: 0.3rem;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
  }

  .booking-date-button {
    flex: 0 0 78px;
    scroll-snap-align: start;
  }

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

  .booking-selection-summary {
    order: -1;
  }

  .admin-panel .booking-customer-fields > label,
  .admin-panel .booking-customer-fields > label:nth-child(n + 3),
  .booking-form-status {
    grid-column: 1;
  }

  .booking-step-actions--end > p:first-child {
    margin-right: 0;
  }

  .booking-success-actions {
    width: 100%;
  }

  .booking-success-actions button {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .admin-booking-mockup-heading {
    display: grid;
    align-items: start;
  }

  .booking-preview-toolbar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .booking-preview-toolbar button:last-child {
    border-left: 0;
    border-radius: 7px;
  }

  .booking-mockup-stage {
    min-height: 0;
    padding: 0.55rem;
  }

  .booking-mockup-device {
    border-radius: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-mockup-device,
  .booking-service-option,
  .booking-primary-action {
    transition: none !important;
  }
}
