.fast-booking-flow {
  display: grid;
  gap: 1.1rem;
}

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

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

.booking-flow-start {
  scroll-margin-top: 6.5rem;
}

.booking-start-hint {
  margin: 0 0 0.85rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(173, 59, 0, 0.22);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
  color: #7c2d12;
  text-align: center;
  box-shadow: 0 14px 30px rgba(91, 63, 40, 0.08);
}

.booking-start-hint.is-visible {
  animation: bookingHintPulse 1.1s ease;
}

.booking-start-hint strong {
  font-size: 0.98rem;
  line-height: 1.45;
}

@keyframes bookingHintPulse {
  0% { transform: translateY(-6px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.booking-flow-progress,
.booking-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 100%;
  margin: 0;
  padding: 0.78rem 1rem;
  border: 1px solid rgba(173, 59, 0, 0.16);
  border-radius: 14px;
  background: #fff;
  color: #111827;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
}

.booking-flow-progress {
  width: fit-content;
}

.booking-step-badge-number {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.65rem;
  height: 2.65rem;
  border: 2px solid #e65100;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1;
}

.booking-step-badge-copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.booking-step-badge-label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a3412;
}

.booking-step-badge-title {
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  font-style: normal;
  font-weight: 800;
  line-height: 1.15;
  color: #111827;
}

.booking-step.is-active .booking-step-badge,
.booking-flow-progress.is-active-step {
  border-color: rgba(230, 81, 0, 0.34);
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
  box-shadow: 0 0 0 3px rgba(230, 81, 0, 0.1), 0 12px 28px rgba(91, 63, 40, 0.08);
}

.booking-step.is-active .booking-step-badge-number,
.booking-flow-progress.is-active-step .booking-step-badge-number {
  border-color: #c2410c;
  background: #e65100;
  color: #fff;
}

.booking-step {
  display: grid;
  gap: 0.85rem;
  padding: 1.05rem;
  border: 1px solid rgba(31, 41, 55, 0.09);
  border-radius: 12px;
  background: rgba(255, 253, 249, 0.9);
}

.booking-step-hidden {
  display: none;
}

.booking-step.is-active {
  border-color: rgba(173, 59, 0, 0.18);
  box-shadow: 0 18px 36px rgba(91, 63, 40, 0.06);
}

.booking-back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 0 0 0.7rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(17, 24, 39, 0.18);
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.booking-back-button:hover,
.booking-back-button:focus-visible {
  border-color: rgba(173, 59, 0, 0.55);
  outline: none;
  box-shadow: 0 0 0 3px rgba(230, 81, 0, 0.11);
}

.field-hint {
  display: block;
  margin-top: 0.32rem;
  color: #7c2d12;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.35;
}

.booking-cart {
  position: sticky;
  top: 0.75rem;
  z-index: 2;
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(173, 59, 0, 0.16);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
  box-shadow: 0 16px 34px rgba(91, 63, 40, 0.08);
}

.booking-cart-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.booking-cart-head .mini-label {
  margin: 0;
}

.booking-cart-total {
  color: #913100;
  font-size: 0.82rem;
  font-weight: 800;
}

.booking-cart-empty,
.booking-cart-muted {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.booking-cart-groups {
  display: grid;
  gap: 0.75rem;
}

.booking-cart-label {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.booking-cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(31, 41, 55, 0.08);
}

.booking-cart-item:last-child {
  border-bottom: 0;
}

.booking-cart-item strong {
  min-width: 0;
  font-size: 0.92rem;
}

.booking-cart-remove {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(31, 41, 55, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.booking-step-actions,
.booking-step-actions-split,
.booking-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.booking-step-actions-split .btn {
  flex: 1 1 220px;
}

.booking-review-actions {
  margin-top: -0.15rem;
}

.extra-service-chip.is-selected {
  border-color: rgba(173, 59, 0, 0.48);
  background: #fff7ed;
  box-shadow: inset 0 0 0 1px rgba(230, 81, 0, 0.12);
}

.booking-step-head {
  display: grid;
  gap: 0.25rem;
}

.booking-step-head h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1;
  letter-spacing: 0;
}

.booking-step-head p:not(.mini-label) {
  margin: 0;
  color: var(--muted);
}

.primary-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.booking-service-picker {
  display: grid;
  gap: 0.85rem;
}

.booking-service-search input {
  width: 100%;
  padding: 0.82rem 0.95rem;
  border: 1px solid rgba(31, 41, 55, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.booking-service-search input:focus {
  outline: none;
  border-color: rgba(173, 59, 0, 0.42);
  box-shadow: 0 0 0 3px rgba(230, 81, 0, 0.11);
}

.booking-family-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.booking-family-chip {
  padding: 0.42rem 0.78rem;
  border: 1px solid rgba(31, 41, 55, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.booking-family-chip.is-active {
  border-color: rgba(173, 59, 0, 0.42);
  background: #fff7ed;
  color: #913100;
}

.booking-featured-services,
.booking-service-catalog {
  display: grid;
  gap: 0.65rem;
}

.booking-services-scroll {
  display: grid;
  gap: 0.85rem;
  max-height: min(58vh, 560px);
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-right: 0.2rem;
  scroll-padding-top: 0.5rem;
}

.booking-featured-head,
.booking-catalog-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.booking-featured-head .mini-label,
.booking-catalog-head .mini-label {
  margin: 0;
}

.booking-catalog-head span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.booking-featured-grid,
.booking-catalog-grid {
  margin: 0;
}

.service-card-badges {
  grid-column: 2 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.service-card-badge {
  padding: 0.16rem 0.42rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
}

.service-card-badge.is-popular {
  background: rgba(230, 81, 0, 0.12);
  color: #913100;
}

.service-card-badge.is-featured {
  background: rgba(17, 24, 39, 0.08);
  color: #111827;
}

.primary-service-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "icon meta"
    "icon family"
    "icon badges";
  gap: 0.18rem 0.75rem;
  min-height: 112px;
  padding: 0.9rem;
  border: 1px solid rgba(31, 41, 55, 0.1);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.05);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.primary-service-card:hover,
.primary-service-card.is-selected {
  transform: translateY(-1px);
  border-color: rgba(173, 59, 0, 0.42);
  box-shadow: 0 18px 36px rgba(91, 63, 40, 0.1);
}

.primary-service-card:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.service-card-icon {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(230, 81, 0, 0.1);
  color: #913100;
  font-weight: 900;
  font-size: 0.82rem;
}

.primary-service-card strong {
  grid-area: title;
  min-width: 0;
  font-size: 1rem;
}

.primary-service-card small {
  grid-area: meta;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.primary-service-card em {
  grid-area: family;
  justify-self: start;
  padding: 0.18rem 0.48rem;
  border-radius: 999px;
  background: rgba(31, 41, 55, 0.06);
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
}

.recommended-extras-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.extra-service-chip {
  display: grid;
  gap: 0.12rem;
  max-width: min(100%, 260px);
  padding: 0.72rem 0.85rem;
  border: 1px solid rgba(31, 41, 55, 0.1);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.extra-service-chip:hover {
  border-color: rgba(173, 59, 0, 0.35);
  background: #fff7ed;
}

.extra-service-chip span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.professional-choice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.professional-choice {
  display: grid;
  gap: 0.18rem;
  min-height: 74px;
  padding: 0.78rem;
  border: 1px solid rgba(31, 41, 55, 0.1);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.professional-choice.is-featured {
  background: #111827;
  color: #fff;
}

.professional-choice.is-featured span {
  color: rgba(255, 255, 255, 0.76);
}

.professional-choice.is-selected {
  border-color: rgba(173, 59, 0, 0.48);
  box-shadow: 0 0 0 3px rgba(230, 81, 0, 0.11);
}

.professional-choice span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.day-slot-list {
  display: grid;
  gap: 0.85rem;
}

.day-slot-group {
  display: grid;
  gap: 0.55rem;
}

.day-slot-group h3 {
  margin: 0;
  font-size: 1rem;
}

.day-slot-times {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.day-slot-times .time-chip {
  min-width: 92px;
  border-radius: 999px;
}

.booking-summary-card {
  padding: 1rem;
  border-radius: 10px;
  background: #111827;
  color: #fff;
}

.booking-summary-card dl {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}

.booking-summary-card div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.booking-summary-card div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.booking-summary-card dt {
  color: rgba(255, 255, 255, 0.66);
  font-weight: 800;
}

.booking-summary-card dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.booking-product-suggestion {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid rgba(173, 59, 0, 0.2);
  border-radius: 10px;
  background: #fffaf5;
}

.booking-product-suggestion-head h3 {
  margin: 0.1rem 0 0;
  font-size: 1.1rem;
}

.booking-product-card,
.booking-product-selected-list li {
  display: grid;
  gap: 0.65rem;
  padding: 0.85rem;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: #fff;
}

.booking-product-card strong,
.booking-product-selected-list strong {
  display: block;
}

.booking-product-card span,
.booking-product-selected-list span,
.booking-promotion-debug {
  color: #5f5f67;
  font-size: 0.92rem;
}

.booking-product-price {
  font-weight: 800;
  color: #111827;
}

.booking-product-actions,
.booking-product-selected-list li {
  align-items: center;
}

.booking-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

#booking-confirm-submit {
  min-height: 52px;
}

[data-booking-step="review"].is-active #booking-confirm-submit:not(.hidden-section) {
  position: sticky;
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  z-index: 10;
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.22);
}

.booking-product-selected-list {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.booking-loyalty-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 1.2rem;
  align-items: start;
  padding: 1.15rem;
  border: 1px solid rgba(173, 59, 0, 0.14);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 247, 237, 0.95) 0%, #ffffff 58%);
  box-shadow: 0 20px 42px rgba(91, 63, 40, 0.08);
}

.booking-loyalty-panel.is-authenticated {
  grid-template-columns: 1fr;
  background: linear-gradient(145deg, #111827 0%, #1f2937 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
}

.booking-loyalty-copy h3,
.booking-loyalty-panel.is-authenticated .booking-loyalty-copy h3 {
  margin: 0.25rem 0 0.55rem;
  font-family: var(--display-font);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.05;
}

.booking-loyalty-description,
.booking-loyalty-note,
.booking-loyalty-authenticated-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.booking-loyalty-panel.is-authenticated .booking-loyalty-description,
.booking-loyalty-panel.is-authenticated .booking-loyalty-note,
.booking-loyalty-panel.is-authenticated .booking-loyalty-authenticated-copy {
  color: rgba(255, 255, 255, 0.76);
}

.booking-loyalty-benefits {
  display: grid;
  gap: 0.45rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.booking-loyalty-benefits li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.booking-loyalty-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #e65100;
  box-shadow: 0 0 0 4px rgba(230, 81, 0, 0.12);
}

.booking-loyalty-panel.is-authenticated .booking-loyalty-benefits li {
  color: rgba(255, 255, 255, 0.92);
}

.booking-loyalty-actions {
  display: grid;
  gap: 0.65rem;
  align-content: start;
}

.booking-loyalty-actions .btn {
  width: 100%;
}

.booking-loyalty-note {
  font-size: 0.82rem;
  text-align: center;
}

.booking-account-offer {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(31, 41, 55, 0.1);
}

.booking-account-offer h4 {
  margin: 0;
  font-size: 1.15rem;
}

.booking-account-offer-form {
  display: grid;
  gap: 0.65rem;
}

.booking-account-offer-form label {
  display: grid;
  gap: 0.28rem;
}

.booking-account-offer-form span {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--muted);
}

.booking-account-offer-form input {
  width: 100%;
  padding: 0.72rem 0.85rem;
  border: 1px solid rgba(31, 41, 55, 0.12);
  border-radius: 10px;
  font: inherit;
}

.booking-account-offer-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.booking-account-offer-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.booking-form > .availability-tools {
  display: none;
}

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

@media (max-width: 960px) {
  .primary-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .booking-loyalty-panel,
  .client-data-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .booking-cart {
    top: 0.5rem;
  }

  .booking-flow-progress,
  .booking-step-badge {
    width: 100%;
    padding: 0.72rem 0.85rem;
  }

  .booking-step-badge-number {
    width: 2.45rem;
    height: 2.45rem;
    font-size: 1rem;
  }

  .booking-account-offer-actions {
    grid-template-columns: 1fr;
  }

  .booking-services-scroll {
    max-height: min(62vh, 480px);
  }

  .primary-service-grid,
  .professional-choice-grid {
    grid-template-columns: 1fr;
  }

  .primary-service-card {
    min-height: 96px;
  }

  .extra-service-chip {
    width: 100%;
    max-width: none;
    border-radius: 10px;
  }

  .booking-summary-card div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  [data-booking-step="review"].is-active {
    padding-bottom: calc(1.05rem + env(safe-area-inset-bottom));
  }

  [data-booking-step="review"].is-active #booking-confirm-submit:not(.hidden-section) {
    margin-top: 0.35rem;
    width: 100%;
  }

  .day-slot-times {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .day-slot-times .time-chip {
    width: 100%;
  }
}
.service-variable-price-note,
.booking-variable-price-note {
  display: block;
  margin: .45rem 0 0;
  color: #6f5f50;
  font-size: .78rem;
  line-height: 1.4;
}

.booking-variable-price-note {
  padding: .7rem .8rem;
  border: 1px solid #eadfce;
  border-radius: 10px;
  background: #fff8ef;
}
