/* Modern booking experience */
.booking-modern-page {
  background: #f5f8f9;
  color: #000;
}

html[lang="ar"] .time-slot {
  direction: ltr !important;
}

.booking-app {
  padding: 28px 16px 70px;
  min-height: 70vh
}

.booking-shell {
  max-width: 1080px;
  margin: 0 auto
}

.booking-topbar {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px
}

.booking-step-label {
  font-size: 13px;
  font-weight: 700
}

.booking-progress {
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 0 0 40px
}

.booking-progress span {
  height: 4px;
  border-radius: 99px;
  background: #dededb
}

.booking-progress span.is-active {
  background: var(--color-primary)
}

.booking-step {
  display: none
}

.booking-step.is-active {
  display: block
}

.booking-heading {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center
}

.booking-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: .16em;
  font-weight: 800;
  color: var(--jas-gold);
  margin-bottom: 10px
}

.booking-heading h1 {
  font-size: 38px;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--color-primary);
}

.booking-heading p {
  font-size: 16px;
  line-height: 1.7;
  color: #6f6f6f;
  margin: 0
}

.booking-categories {
  display: grid;
  gap: 24px
}

.booking-category {
  background: #fff;
  border: 1px solid #e8e6e1;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .04)
}

.booking-category-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px
}

.category-kicker {
  display: block;
  color: #999;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 5px
}

.booking-category h2 {
  font-size: 22px;
  margin: 0
}

.category-count {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f2f2ef;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700
}

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

.booking-service-card {
  position: relative;
  text-align: left;
  border: 1px solid #e5e3df;
  background: #fff;
  border-radius: 15px;
  padding: 18px 18px 18px 48px;
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: .2s;
  width: 100%;
  color: inherit
}

[dir="rtl"] .booking-service-card {
  text-align: right;
  padding: 18px 48px 18px 18px
}

.booking-service-card:hover {
  border-color: #aaa;
  transform: translateY(-1px)
}

.booking-service-card.is-selected {
  border-color: var(--color-primary);
  background: #f7f9fd;
  box-shadow: 0 0 0 2px rgba(22, 55, 124, .08)
}

.service-check {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #ccc;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  color: #888
}

.service-check svg {
  display: block;
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[dir="rtl"] .service-check {
  left: auto;
  right: 16px
}

.is-selected .service-check {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff
}

.service-card-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1
}

.service-card-content strong {
  font-size: 16px
}

.service-card-content small {
  font-size: 12px;
  color: #888
}

.service-price {
  font-weight: 800;
  white-space: nowrap;
  color: var(--color-primary)
}

.booking-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 18px 0
}

.booking-mini-total {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #777;
  font-size: 13px
}

.booking-mini-total strong {
  font-size: 20px;
  color: #222
}

.booking-primary,
.booking-secondary {
  border: 0;
  border-radius: 999px;
  padding: 13px 26px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  min-width: 150px;
  transition: .2s
}

.booking-primary {
  background: var(--color-primary);
  color: #fff
}

.booking-primary:hover {
  filter: brightness(.93);
  transform: translateY(-1px)
}

.booking-primary:disabled {
  opacity: .4;
  cursor: not-allowed;
  transform: none
}

.booking-secondary {
  background: #fff;
  border: 1px solid #ddd;
  color: #333
}

.booking-summary-pill {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border: 1px solid #e6e4df;
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 22px;
  font-size: 13px
}

.booking-summary-pill span {
  color: #777
}

.booking-calendar-head {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 18px 0
}

.booking-calendar-head strong {
  min-width: 170px;
  text-align: center;
  font-size: 20px
}

.calendar-arrow {
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid #ddd;
  background: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}

.calendar-arrow svg {
  display: block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.booking-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  background: #fff;
  border: 1px solid #e8e6e1;
  border-radius: 20px;
  padding: 18px
}

.calendar-weekday {
  text-align: center;
  font-size: 11px;
  color: #999;
  font-weight: 800;
  padding: 5px
}

.calendar-empty {
  min-height: 52px
}

.calendar-day {
  min-height: 62px;
  border: 1px solid #eee;
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  font-weight: 700
}

.calendar-day:hover:not(:disabled) {
  border-color: var(--color-primary)
}

.calendar-day small {
  font-size: 9px;
  color: var(--jas-gold-light)
}

.calendar-day.is-today {
  border-color: #c9c9c5
}

.calendar-day.is-selected {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary)
}

.calendar-day.is-selected small {
  color: #fff
}

.calendar-day:disabled {
  opacity: .3;
  cursor: not-allowed;
  background: #f4f4f2
}

.booking-times-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 28px 0 12px;
  font-weight: 800
}

.booking-times-title small {
  font-weight: 500;
  color: #777
}

.booking-times {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px
}

.time-slot {
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 13px;
  padding: 13px 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 3px
}

.time-slot strong {
  font-size: 15px
}

.time-slot small {
  font-size: 11px;
  color: #888
}

.time-slot:hover:not(:disabled) {
  border-color: var(--color-primary)
}

.time-slot.is-selected {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary)
}

.time-slot.is-selected small {
  color: #e8edf9
}

.time-slot:disabled {
  background: #efefec;
  color: #aaa;
  text-decoration: line-through;
  cursor: not-allowed
}

.booking-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 30px;
  color: #888;
  background: #fff;
  border-radius: 15px
}

.booking-review-card {
  background: #fff;
  border: 1px solid #e6e4df;
  border-radius: 20px;
  padding: 22px
}

.review-card-heading {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  border-bottom: 1px solid #eee;
  padding-bottom: 14px;
  margin-bottom: 8px
}

.text-button {
  border: 0;
  background: none;
  color: var(--color-primary);
  font-weight: 700;
  cursor: pointer
}

.review-total-row {
  display: flex;
  justify-content: space-between;
  padding-top: 18px;
  font-size: 17px
}

.booking-payment-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #f1f6ef;
  border: 1px solid #dce9d8;
  border-radius: 15px;
  padding: 15px 18px;
  margin-top: 18px
}

.booking-payment-note>span {
  font-size: 18px;
  color: #3b7d3a
}

.booking-payment-note>span svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.booking-payment-note p {
  margin: 3px 0 0;
  color: #666;
  font-size: 12px
}

.booking-form {
  background: #fff;
  border: 1px solid #e6e4df;
  border-radius: 20px;
  padding: 28px;
  /* max-width: 800px; */
  margin: 0 auto
}

.booking-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px
}

.booking-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 800
}

.booking-form label.full {
  grid-column: 1/-1
}

.booking-form em {
  font-style: normal;
  color: #999;
  font-weight: 500
}

.booking-form input,
.booking-form textarea {
  border: 1px solid #ddd;
  border-radius: 11px;
  padding: 13px 14px;
  font: inherit;
  font-weight: 400;
  outline: none;
  background: #fff
}

.booking-form input:focus,
.booking-form textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(22, 55, 124, .08)
}

.booking-final-summary {
  margin: 25px 0;
  background: #f7f7f4;
  border-radius: 14px;
  padding: 16px
}

.booking-final-summary>div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0
}

.booking-final-summary .final-total {
  border-top: 1px solid #ddd;
  margin-top: 7px;
  padding-top: 13px;
  font-size: 18px
}

.booking-submit {
  width: 100%;
  margin-top: 4px
}

.booking-form-error {
  color: #b42318;
  text-align: center;
  min-height: 20px
}

.booking-error-popup[hidden] { display: none !important; }
.booking-error-popup {
  position: fixed;
  z-index: 10000;
  top: max(20px, env(safe-area-inset-top));
  inset-inline: 16px;
  margin-inline: auto;
  width: min(460px, calc(100% - 32px));
  box-sizing: border-box;
  padding: 20px 52px 16px 20px;
  background: #fff6f3;
  color: #7a271a;
  border: 1px solid #f5c6b8;
  border-radius: 16px;
  box-shadow: 0 12px 40px #24100c30;
}
.booking-error-popup strong { color: #7a271a; font-size: 17px; }
.booking-error-popup p { color: #7a271a; font-size: 15px; line-height: 1.5; margin: 8px 0; }
.booking-error-popup small { color: #7a271a; font-size: 12px; }
.booking-error-popup button {
  position: absolute; inset-inline-end: 8px; top: 8px;
  width: 40px; height: 40px; border: 0; border-radius: 10px;
  background: transparent; color: #7a271a; cursor: pointer; font-size: 28px;
}
.booking-error-popup button:focus-visible { outline: 2px solid #7a271a; outline-offset: 2px; }
.booking-error-popup-track { margin-top: 12px; height: 3px; background: #f5c6b8; border-radius: 4px; overflow: hidden; }
.booking-error-popup-track i { display: block; height: 100%; width: 100%; background: #b42318; }
.booking-error-popup[dir="rtl"] { padding: 20px 20px 16px 52px; }

.booking-success h1 {
  font-size: 44px;
  line-height: 1.08;
  margin: 12px auto 16px;
  max-width: 520px
}

.booking-success>p {
  font-size: 14px;
  line-height: 1.65;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto
}

.booking-notification-status {
  margin: 14px auto 20px !important;
  font-size: 12px !important;
  line-height: 1.5 !important
}

.booking-notification-status.is-sent {
  color: #3b7d3a
}

.booking-notification-status.is-warning {
  color: #a15c00
}

@media(max-width:767px) {
  .booking-success {
    padding: 32px 20px
  }

  .booking-success h1 {
    font-size: 32px
  }

  .booking-success>p {
    font-size: 13px
  }
}

.booking-success {
  max-width: 620px;
  margin: 25px auto;
  text-align: center;
  background: #fff;
  border: 1px solid #e6e4df;
  border-radius: 24px;
  padding: 45px 28px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, .06)
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e8f2e5;
  color: #3b7d3a;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 800;
  margin: 0 auto 22px
}

.success-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-reference {
  margin: 25px auto;
  padding: 14px 20px;
  background: #f7f7f4;
  border-radius: 13px;
  display: flex;
  flex-direction: column;
  gap: 4px
}

.success-reference small {
  color: #888
}

.success-reference strong {
  font-size: 22px;
  letter-spacing: .04em
}

.booking-success-summary {
  display: grid;
  gap: 5px;
  margin-bottom: 25px;
  color: #555
}

.success-home {
  display: inline-flex;
  text-decoration: none;
  justify-content: center
}

.booking-error {
  text-align: center;
  padding: 60px;
  color: #a22;
  background: #fff;
  border-radius: 20px
}

html[lang="ar"] .booking-topbar {
  flex-direction: row-reverse
}

html[lang="ar"] .booking-mini-total {
  align-items: flex-end
}

html[lang="ar"] .booking-calendar-head {
  direction: rtl
}

html[lang="ar"] .booking-form {
  text-align: right
}

@media(max-width:767px) {
  .booking-app {
    padding: 18px 12px 45px
  }

  .booking-progress {
    margin-bottom: 28px
  }

  .booking-category {
    padding: 16px;
    border-radius: 16px
  }

  .booking-service-grid {
    grid-template-columns: 1fr
  }

  .booking-service-card {
    min-height: 72px
  }

  .booking-bottom {
    position: sticky;
    bottom: 0;
    background: rgba(248, 247, 245, .96);
    backdrop-filter: blur(8px);
    z-index: 5
  }

  .calendar-day {
    min-height: 48px}

  .calendar-empty {
    min-height: 48px
  }

  .booking-form-grid {
    grid-template-columns: 1fr
  }

  .booking-form label.full {
    grid-column: auto
  }

  .booking-topbar {
    margin-bottom: 8px
  }
}

@media(max-width:430px) {
  .booking-times {
    grid-template-columns: repeat(2, 1fr)
  }

  .booking-calendar-head {
    gap: 18px
  }

  .booking-calendar-head strong {
    min-width: 135px;
    font-size: 17px
  }
}

.calendar-arrow:disabled {
  opacity: .35;
  cursor: not-allowed;
  background: #f3f3f0
}

.calendar-day.is-selected {
  box-shadow: 0 0 0 2px rgba(22, 55, 124, .12)
}

.time-slot:disabled {
  opacity: .55
}

/* Booking flow navigation visibility and state */
.booking-topbar {
  position: relative;
  z-index: 20;
  visibility: visible !important;
  opacity: 1 !important;
}

.booking-step-label {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #555 !important;
}

.booking-progress {
  visibility: visible !important;
  opacity: 1 !important;
}

.booking-progress span {
  display: block !important;
  visibility: visible !important;
}

.booking-progress span.is-active {
  background: var(--color-primary) !important;
}

/* ------------------------------------------------------------------
   Booking page hardening
   The legacy site shell uses 100vh/overflow rules for its perspective
   navigation. The booking flow must be a normal, scrollable document.
------------------------------------------------------------------- */
html:has(body.booking-modern-page),
html:has(body.booking-modern-page) body,
body.booking-modern-page {
  min-height: 100%;
  height: auto !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

body.booking-modern-page #perspective {
  height: auto !important;
  min-height: 100vh !important;
  max-height: none !important;
  overflow: visible !important;
}

body.booking-modern-page .booking-app {
  height: auto !important;
  min-height: calc(100vh - 100px);
  overflow: visible !important;
  padding-bottom: 110px;
}

/* A dedicated, always-visible four-step progress control. */
.booking-flow-indicator {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 2px auto 18px;
  padding: 4px 0;
  position: relative;
  z-index: 50;
  visibility: visible !important;
  opacity: 1 !important;
}

.booking-flow-step {
  display: flex !important;
  align-items: center;
  gap: 8px;
  color: #999;
  font-size: 12px;
  white-space: nowrap;
  visibility: visible !important;
  opacity: 1 !important;
}

.booking-flow-step>span {
  display: grid !important;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #d8d8d3;
  background: #fff;
  color: #777;
  font-weight: 800;
}

.booking-flow-step small {
  font-size: 11px;
  font-weight: 700;
  color: #888;
}

.booking-flow-step.is-current>span {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.booking-flow-step.is-current small {
  color: var(--color-primary);
}

.booking-flow-step.is-done>span {
  background: #e9edf6;
  border-color: #cbd4e6;
  color: var(--color-primary);
}

.booking-flow-indicator>i {
  display: block;
  width: 42px;
  height: 1px;
  background: #deded9;
}

.booking-flow-indicator>i.is-done {
  background: var(--color-primary);
}

.booking-topbar {
  display: flex !important;
  min-height: 28px;
}

.booking-progress {
  display: grid !important;
  min-height: 4px;
}

/* ------------------------------------------------------------------
   Mobile-first end-user simplification
   Keep the booking flow easy to scan and reduce vertical stacking.
------------------------------------------------------------------- */
@media (max-width: 767px) {
  body.booking-modern-page {
    font-size: 14px;
  }

  body.booking-modern-page .booking-app {
    padding: 12px 10px 92px;
  }

  body.booking-modern-page .booking-shell {
    width: 100%;
  }

  /* The desktop flow labels are too busy on a phone. Show a compact stepper. */
  .booking-flow-indicator {
    gap: 6px;
    margin: 0 auto 10px;
    padding: 2px 0;
  }

  .booking-flow-step {
    flex: 0 0 auto;
  }

  .booking-flow-step>span {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }

  .booking-flow-step small {
    display: none;
  }

  .booking-flow-indicator>i {
    width: 18px;
  }

  .booking-topbar {
    min-height: 18px;
    margin: 0 0 6px;
    justify-content: center;
  }

  .booking-step-label {
    font-size: 10px;
    color: #888 !important;
  }

  .booking-progress {
    display: none !important;
  }

  .booking-heading {
    margin: 0 auto 18px;
    max-width: 100%;
  }

  .booking-eyebrow {
    font-size: 9px;
    margin-bottom: 6px;
  }

  .booking-heading h1 {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 7px;
  }

  .booking-heading p {
    font-size: 13px;
    line-height: 1.5;
  }

  /* Keep the action area reachable without consuming half the screen. */
  .booking-bottom {
    margin: 12px -10px -92px;
    padding: 10px;
    gap: 8px;
  }

  .booking-mini-total {
    font-size: 11px;
    gap: 1px;
  }

  .booking-mini-total strong {
    font-size: 17px;
  }

  .booking-primary,
  .booking-secondary {
    min-width: 0;
    padding: 11px 16px;
    font-size: 13px;
  }

  /* Date picker: compact but still comfortable to tap. */
  .booking-summary-pill {
    padding: 10px 12px;
    margin-bottom: 12px;
    border-radius: 11px;
  }

  .booking-calendar-head {
    margin: 10px 0;
    gap: 12px;
  }

  .booking-calendar-head strong {
    min-width: 125px;
    font-size: 16px;
  }

  .calendar-arrow {
    width: 34px;
    height: 34px;
    font-size: 21px;
  }

  .booking-calendar {
    gap: 3px;
    padding: 7px;
    border-radius: 13px;
  }

  .calendar-day,
  .calendar-empty {
    min-height: 43px;
  }

  .calendar-day {
    border-radius: 8px;
    font-size: 12px;
  }

  .calendar-day small {
    font-size: 8px;
  }

  .calendar-weekday {
    padding: 3px 1px;
    font-size: 8px;
  }

  .booking-times-title {
    margin: 18px 0 9px;
    font-size: 13px;
  }

  .booking-times {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .time-slot {
    padding: 9px 4px;
    border-radius: 10px;
  }

  .time-slot strong {
    font-size: 13px;
  }

  .time-slot small {
    font-size: 9px;
  }

  .booking-review-card {
    padding: 14px;
    border-radius: 14px;
  }

  .review-card-heading {
    padding-bottom: 9px;
    margin-bottom: 3px;
    font-size: 13px;
  }

  .review-total-row {
    padding-top: 12px;
    font-size: 15px;
  }

  .booking-payment-note {
    margin-top: 10px;
    padding: 11px 12px;
    border-radius: 12px;
    font-size: 12px;
  }

  /* Details: comfortable inputs, but no oversized card. */
  .booking-form {
    padding: 15px;
    border-radius: 14px;
  }

  .booking-form-grid {
    gap: 12px;
  }

  .booking-form label {
    gap: 6px;
    font-size: 12px;
  }

  .booking-form input,
  .booking-form textarea {
    padding: 11px 12px;
    border-radius: 10px;
    font-size: 16px;
  }

  .booking-final-summary {
    margin: 14px 0;
    padding: 12px;
  }

  .booking-final-summary>div {
    font-size: 12px;
    padding: 6px 0;
  }

  .booking-final-summary .final-total {
    font-size: 16px;
  }

  .booking-submit {
    margin-top: 0;
  }
}

@media (max-width: 389px) {

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

  .booking-heading h1 {
    font-size: 22px;
  }
}

/* Voucher booking header: show voucher SKU instead of the generic "1" count. */
.booking-category-head .category-count.voucher-sku {
  min-width: auto;
  width: auto;
  padding: 0 12px;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: .08em;
}

#booking-formspree-frame {
  position: absolute;
  width: 1px;
  height: 1px;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

/* Service discovery shares the existing catalogue and booking selection. */
/* Let the fixed summary share the page layer, above the footer shell. */
.booking-step[data-step="1"] { min-width: 0; z-index: auto; }
.booking-discovery[hidden] { display: none; }
.booking-search { max-width: 560px; margin: 0 auto 12px; }
.booking-search label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; color: var(--color-primary); }
.booking-search-field { display: flex; align-items: center; gap: 10px; border: 1px solid #d9d1c8; padding: 0 12px; }
.booking-search-field svg { width: 17px; height: 17px; flex-shrink: 0; fill: none; stroke: var(--color-primary); stroke-width: 1.7; }
.booking-search-field input { flex: 1; min-width: 0; width: 100%; height: 40px; border: 0; background: transparent; color: #241b1d; font: inherit; font-size: 14px; outline: none; }
.booking-search-field input::-webkit-search-cancel-button { display: none; }
.booking-search-field:focus-within { outline: 2px solid var(--color-primary); outline-offset: 3px; }
.booking-search-field button { width: 36px; min-height: 36px; border: 0; background: transparent; color: var(--color-primary); font-size: 24px; cursor: pointer; }
.booking-category-filters { display: flex; gap: 8px; overflow-x: auto; padding: 5px 4px 12px; overscroll-behavior-x: contain; scrollbar-width: none; }
.booking-category-chip { flex: 0 0 auto; min-height: 34px; padding: 6px 13px; border-radius: 99px; border: 1px solid #d9d1c8; background: #fff; color: #49383b; font: inherit; font-size: 12px; cursor: pointer; transition: background .15s, border-color .15s; }
.booking-category-chip[aria-pressed="true"] { background: var(--color-primary); color: #fff; border-color: var(--jas-gold); box-shadow: inset 0 0 0 1px var(--jas-gold); }
.booking-results { margin: 0; color: #685b5e; font-size: 12px; }
.booking-step[data-step="1"] .booking-categories { gap: 16px; }
.booking-step[data-step="1"] .booking-category { padding: 16px; border-radius: 16px; background: #fffdf9; box-shadow: none; }
.booking-step[data-step="1"] .booking-category-head { margin-bottom: 12px; gap: 12px; }
.booking-step[data-step="1"] .booking-category h2 { font-size: 18px; overflow-wrap: anywhere; }
.booking-step[data-step="1"] .booking-service-grid { gap: 8px; }
.booking-step[data-step="1"] .booking-service-card { min-height: 60px; padding: 8px 12px 8px 44px; text-align: start; gap: 12px; border-radius: 12px; }
[dir="rtl"] .booking-step[data-step="1"] .booking-service-card { padding: 8px 44px 8px 12px; }
.booking-step[data-step="1"] .booking-service-card:hover { transform: none; border-color: var(--jas-gold); }
.booking-step[data-step="1"] .booking-service-card.is-selected { border-color: var(--jas-gold); box-shadow: inset 0 0 0 1px var(--jas-gold); }
.booking-step[data-step="1"] .service-card-content { min-width: 0; }
.booking-step[data-step="1"] .service-card-content strong { font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.booking-step[data-step="1"] .service-card-content small { color: #685b5e; }
.booking-step[data-step="1"] .service-price { font-size: 14px; white-space: normal; overflow-wrap: anywhere; max-width: 35%; flex-shrink: 0; }
.booking-services-layout { min-width: 0; }
.booking-selection-title, .booking-selection-empty { display: none; }
.booking-services-summary { display: block; border-top: 1px solid #ded5ca; margin-top: 18px; }
.booking-summary-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.booking-selection { margin-bottom: 14px; }
.booking-selection[hidden] { display: none; }
.booking-selection summary { min-height: 44px; padding: 10px 0; color: var(--color-primary); font-size: 14px; font-weight: 700; cursor: pointer; }
.booking-selection summary:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.booking-selection-items { list-style: none; padding: 0; margin: 4px 0 12px; }
.booking-selection-items li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid #e8e1d8; }
.booking-selection-copy { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.booking-selection-copy strong { display: block; font-size: 14px; line-height: 1.4; }
.booking-selection-copy small { display: block; color: #685b5e; font-size: 12px; }
.booking-selection-remove { display: grid; place-items: center; padding: 0; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #ded5ca; border-radius: 50%; background: #fff; color: var(--color-primary); cursor: pointer; line-height: 1; }
.booking-selection-remove svg { display: block; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; pointer-events: none; }
.booking-selection-remove:hover { border-color: var(--color-primary); background: #faf4e9; }
.booking-step[data-step="1"] button:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }
@media (max-width: 767px) {
  .booking-step[data-step="1"] { padding-bottom: calc(156px + env(safe-area-inset-bottom, 0px)); }
  .booking-step[data-step="1"] .booking-heading { margin-bottom: 16px; }
  .booking-search { margin-bottom: 10px; }
  .booking-step[data-step="1"] .booking-category { padding: 12px; }
  .booking-step[data-step="1"] .booking-service-grid { grid-template-columns: minmax(0, 1fr); }
  .booking-services-summary { position: fixed; z-index: 100; inset-inline: 0; bottom: 0; margin: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: #fffdf9; box-shadow: 0 -4px 20px rgba(45,16,20,.07); gap: 12px; }
  .booking-selection { margin-bottom: 4px; }
  .booking-selection summary { padding: 6px 0; }
  .booking-selection-items { max-height: 35vh; overflow-y: auto; overscroll-behavior-y: contain; }
  body.booking-browsing-services:has(#booking-selection[open]:not([hidden])) .jas-whatsapp-float { visibility: hidden; }
  body.booking-browsing-services .jas-whatsapp-float { bottom: calc(150px + env(safe-area-inset-bottom, 0px)) !important; }
  .booking-services-summary .booking-primary { min-height: 44px; }
  .booking-services-summary .booking-mini-total { min-width: 0; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  .booking-category-chip, .booking-service-card { transition: none; }
}

/* Desktop selection stays beside the catalogue while browsing. */
@media (min-width: 1024px) {
  /* Legacy overflow containers otherwise capture position: sticky. */
  html:has(body.booking-modern-page) body.booking-modern-page { overflow: visible !important; }
  body.booking-modern-page > .page { overflow: visible; }
  .booking-services-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
  .booking-services-layout > .booking-categories { min-width: 0; }
  .booking-services-summary { position: sticky; top: 80px; align-self: start; margin: 0; padding: 20px; border: 1px solid #e8e1d8; border-radius: 18px; background: #fff; box-shadow: 0 8px 28px rgba(45,16,20,.05); }
  .booking-selection-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 16px; color: var(--color-primary); font-size: 18px; line-height: 1.3; }
  .booking-selection-title .category-count { flex: 0 0 30px; letter-spacing: normal; }
  .booking-selection-empty { display: block; padding: 28px 10px; margin: 0 0 16px; color: #685b5e; font-size: 14px; line-height: 1.6; text-align: center; background: #f5f8f9; border-radius: 12px; }
  .booking-selection-empty[hidden] { display: none; }
  .booking-selection summary { display: none; }
  .booking-selection-remove { flex-basis: 28px; width: 28px; height: 28px; }
  .booking-selection-items { max-height: max(100px, calc(100vh - 380px)); max-height: max(100px, calc(100dvh - 380px)); overflow-y: auto; overscroll-behavior-y: contain; }
  .booking-selection-items li { gap: 8px; }
  .booking-selection-copy strong, .booking-selection-items .service-price { font-size: 12px; }
  .booking-selection-copy small { font-size: 11px; }
  .booking-summary-actions { display: grid; grid-template-columns: 1fr; gap: 16px; border-top: 1px solid #e8e1d8; padding-top: 16px; }
  .booking-services-summary .booking-primary { width: 100%; }
  .booking-services-summary .booking-mini-total { flex-direction: row; justify-content: space-between; align-items: center; gap: 8px; }
}

/* Services hero: photo edges frame the existing booking controls. */
html.booking-light-page body.booking-modern-page.booking-browsing-services .booking-shell { background-color: transparent !important; }
body.booking-browsing-services .booking-app { position: relative; padding-top: 22px; }
.booking-hero-art { display: none; }
body.booking-browsing-services .booking-hero-art {
  display: block; position: absolute; inset: 0 0 auto; height: 390px;
  pointer-events: none; overflow: hidden; background: #fbf8f3;
  -webkit-mask-image: linear-gradient(#000 0%, #000 55%, transparent 100%);
  mask-image: linear-gradient(#000 0%, #000 55%, transparent 100%);
}
.booking-hero-art::before, .booking-hero-art::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 35%;
  background-image: url('../images/booking-services-hero.webp');
  background-size: auto 390px; background-repeat: no-repeat;
}
.booking-hero-art::before { left: 0; background-position: left top; -webkit-mask-image: linear-gradient(to right, #000, transparent); mask-image: linear-gradient(to right, #000, transparent); }
.booking-hero-art::after { right: 0; background-position: right top; -webkit-mask-image: linear-gradient(to left, #000, transparent); mask-image: linear-gradient(to left, #000, transparent); }
body.booking-browsing-services .booking-shell { position: relative; }
body.booking-browsing-services .booking-topbar,
body.booking-browsing-services .booking-progress { display: none !important; }
body.booking-browsing-services .booking-flow-indicator { margin-bottom: 30px; }
.booking-step[data-step="1"] .booking-heading { margin-bottom: 22px; }
.booking-step[data-step="1"] .booking-heading h1 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.2; }
.booking-step[data-step="1"] .booking-heading h1::after { content: ''; display: block; width: min(320px, 85%); height: 28px; margin: 8px auto 0; background: url('../images/jas-premium-gold-divider.webp') center / 100% auto no-repeat; }
.booking-step[data-step="1"] .booking-heading p { font-size: 14px; line-height: 1.6; }
.booking-search label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.booking-search-field { border-color: rgba(199,161,106,.25); border-radius: 99px; background: rgba(255,255,255,.96); box-shadow: 0 4px 22px rgba(45,16,20,.05); padding-inline: 14px 6px; }
.booking-search { margin-bottom: 8px; }
.booking-discovery { margin-bottom: 20px; }
.booking-category-navigation { display: flex; align-items: center; gap: 6px; min-width: 0; border-bottom: 1px solid rgba(199,161,106,.35); padding-bottom: 8px; margin-bottom: 8px; }
.booking-category-navigation .booking-category-filters { flex: 1; min-width: 0; padding-block: 5px; }
.booking-category-filters::-webkit-scrollbar { display: none; }
.booking-category-arrow { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; padding: 0; border: 1px solid #e8e1d8; border-radius: 50%; color: var(--color-primary); background: #fff; cursor: pointer; box-shadow: 0 2px 8px rgba(45,16,20,.04); }
.booking-category-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.booking-category-arrow:disabled { opacity: .3; cursor: default; box-shadow: none; }
[dir="rtl"] .booking-category-arrow svg { transform: rotate(180deg); }
@media (max-width: 767px) {
  body.booking-browsing-services .booking-app { padding-top: 12px; }
  body.booking-browsing-services .booking-hero-art { height: 315px; }
  .booking-hero-art::before, .booking-hero-art::after { width: 42%; background-size: auto 280px; }
  .booking-hero-art::before { opacity: .8; }
  .booking-hero-art::after { opacity: .65; }
  body.booking-browsing-services .booking-flow-indicator { margin-bottom: 22px; }
  .booking-step[data-step="1"] .booking-heading { padding-inline: 8px; }
  .booking-step[data-step="1"] .booking-heading h1::after { width: 250px; max-width: 85%; height: 24px; margin-top: 6px; }
  .booking-step[data-step="1"] .booking-heading p { font-size: 12px; }
  .booking-search-field { background: #fff; }
}

/* Date and time: a single calendar surface and a compact appointment strip. */
html.booking-light-page body.booking-modern-page.booking-choosing-date .booking-shell { background-color: transparent !important; }
body.booking-choosing-date .booking-app { position: relative; padding-top: 22px; padding-bottom: 32px; background-image: url('../images/booking-date-scene-v2.webp'); background-size: cover; background-position: center top; background-repeat: no-repeat; }
.booking-step[data-step="2"] :is(.booking-calendar-panel, #date-service-summary, .booking-times-title, .booking-times, .booking-bottom) { font-family: Arial, sans-serif; letter-spacing: normal; }
.booking-step[data-step="2"] :is(button, strong, small) { font-family: inherit; letter-spacing: normal; }
body.booking-choosing-date .booking-shell { position: relative; }
body.booking-choosing-date .page-footer-default { margin-top: 0; }
/* One continuous scene behind the entire date/time step. */
body.booking-choosing-date .booking-hero-art { display: none; }
body.booking-choosing-date .booking-topbar,
body.booking-choosing-date .booking-progress { display: none !important; }
body.booking-choosing-date .booking-flow-indicator { margin-bottom: 30px; }
.booking-step[data-step="2"] .booking-heading { margin-bottom: 24px; }
.booking-step[data-step="2"] .booking-heading h1 { font-size: clamp(27px, 3.1vw, 40px); }
.booking-step[data-step="2"] .booking-heading h1::after { content: ''; display: block; width: min(320px, 85%); height: 28px; margin: 8px auto 0; background: url('../images/jas-premium-gold-divider.webp') center / 100% auto no-repeat; }
.booking-step[data-step="2"] .booking-heading p { font-size: 14px; }
#date-service-summary { align-items: center; gap: 16px; padding: 16px 20px; border-radius: 18px; background: #fffdfb; box-shadow: 0 6px 24px rgba(45,16,20,.05); }
.date-summary-count { flex: 0 0 auto; max-width: 140px; font-size: 13px; line-height: 1.5; }
.date-summary-items { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-auto-rows: max-content; align-content: start; flex: 1; gap: 12px 16px; min-width: 0; max-height: 132px; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-width: thin; padding-inline: 16px 8px; border-inline-start: 1px solid #e8e1d8; }
.date-summary-service { min-width: 0; min-height: 48px; }
.date-summary-service strong { display: block; color: var(--color-primary); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.date-summary-service small { color: #74696a; font-size: 11px; }
.date-summary-total { flex: 0 0 auto; max-width: 190px; border-inline-start: 1px solid var(--jas-gold); padding-inline-start: 20px; }
.date-summary-total span { display: block; font-size: 12px; margin-bottom: 4px; }
.date-summary-total strong { font-size: 14px; color: var(--color-primary); }
.booking-calendar-panel { border: 1px solid #eee7df; border-radius: 20px; background: #fffdfb; padding: 20px; box-shadow: 0 8px 24px rgba(64,35,21,.06); }
.booking-calendar-panel .booking-calendar-head { margin: 0 0 18px; }
.booking-calendar-panel .booking-calendar { border: 0; border-radius: 0; padding: 0; background: transparent; gap: 6px; }
.booking-calendar-panel .calendar-arrow { width: 44px; height: 44px; color: var(--color-primary); border-color: #e8e1d8; }
.booking-calendar-panel .calendar-arrow:disabled { opacity: .35; cursor: default; }
.booking-calendar-panel .calendar-weekday { color: #74696a; font-weight: 600; padding: 8px 0; }
.booking-calendar-panel .calendar-day { min-height: 56px; color: var(--color-primary); background: #faf8f6; border-color: #f1ece6; border-radius: 12px; }
.booking-calendar-panel .calendar-day:disabled { opacity: 1; color: #a79f99; background: #f7f4f1; border-color: transparent; font-weight: 500; }
.booking-calendar-panel .calendar-day.is-today { border-color: var(--jas-gold); background: #fffdfb; }
.booking-calendar-panel .calendar-day.is-today small { color: #947039; }
.booking-calendar-panel .calendar-day.is-selected { color: #fff; background: var(--color-primary); border-color: var(--color-primary); box-shadow: none; }
.booking-calendar-panel .calendar-day.is-selected small { color: #fff; }
.booking-step[data-step="2"] .booking-times-title { gap: 12px; flex-wrap: wrap; }
.booking-step[data-step="2"] .time-slot { flex-direction: row; align-items: center; gap: 16px; min-height: 68px; padding: 12px 16px; text-align: start; color: var(--color-primary); border-color: #e8e1d8; border-radius: 12px; box-shadow: 0 3px 10px rgba(64,35,21,.04); }
.time-slot-icon { width: 36px; height: 36px; flex: 0 0 36px; padding: 8px; box-sizing: border-box; border-radius: 50%; background: #faf8f5; fill: none; stroke: currentColor; stroke-width: 1.6; }
.time-slot-copy { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.booking-step[data-step="2"] .time-slot strong { font-size: 14px; line-height: 1.25; }
.booking-step[data-step="2"] .time-slot small { font-size: 12px; color: #867d77; }
.booking-step[data-step="2"] .time-slot.is-selected { color: #fff; }
.booking-step[data-step="2"] .time-slot.is-selected small { color: #f6ebe1; }
.booking-step[data-step="2"] .time-slot.is-selected .time-slot-icon { background: rgba(255,255,255,.1); }
.booking-step[data-step="2"] .time-slot:disabled { opacity: 1; color: #aaa29b; background: #ece8e3; border-color: #e6e0d9; text-decoration: none; box-shadow: none; }
.booking-step[data-step="2"] .time-slot:disabled small { color: #aaa29b; text-decoration: line-through; }
.booking-step[data-step="2"] .time-slot:disabled .time-slot-icon { background: transparent; }
.booking-step[data-step="2"] button:focus-visible { outline: 2px solid var(--jas-gold); outline-offset: 3px; }
.booking-step[data-step="2"] .booking-bottom { margin: 24px 0 0; padding: 12px 0; background: transparent; box-shadow: none; backdrop-filter: none; }
[dir="rtl"] .booking-calendar-panel .calendar-arrow svg { transform: rotate(180deg); }
@media(max-width:767px) {
  body.booking-choosing-date .booking-app { padding-top: 12px; background-size: 100% 100%; }
  body.booking-choosing-date .jas-footer-socials .jas-whatsapp-float { position: static; box-shadow: none; }
  body.booking-choosing-date .booking-flow-indicator { margin-bottom: 20px; }
  body.booking-choosing-date .booking-hero-art { display: block; position: absolute; inset: 0 0 auto; height: 360px; pointer-events: none; overflow: hidden; background: #fbf8f4; -webkit-mask-image: linear-gradient(#000, #000 55%, transparent); mask-image: linear-gradient(#000, #000 55%, transparent); }
  body.booking-choosing-date .booking-hero-art::before,
  body.booking-choosing-date .booking-hero-art::after { background-image: url('../images/booking-date-scene-v2.webp'); background-size: auto 850px; opacity: .8; }
  #date-service-summary { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 14px; }
  .date-summary-items { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 0 6px 0 0; border: 0; gap: 8px 12px; }
  .date-summary-total { max-width: none; padding: 10px 0 0; border: 0; border-top: 1px solid #e8e1d8; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
  .booking-calendar-panel { padding: 12px; border-radius: 16px; }
  .booking-calendar-panel .booking-calendar { gap: 4px; }
  .booking-calendar-panel .calendar-day { min-height: 44px; border-radius: 8px; }
  .booking-calendar-panel .calendar-empty { min-height: 44px; }
  .booking-calendar-panel .booking-calendar-head strong { font-size: 17px; min-width: 130px; }
  .booking-calendar-panel .calendar-weekday { font-size: 10px; }
  .booking-step[data-step="2"] .booking-times { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .booking-step[data-step="2"] .time-slot { min-height: 64px; gap: 8px; padding: 10px; }
  .booking-step[data-step="2"] .time-slot strong { font-size: 13px; }
  .booking-step[data-step="2"] .booking-heading p { font-size: 12px; }
}

.booking-step[data-step="2"] .booking-bottom button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; }
.booking-step[data-step="2"] .booking-bottom svg { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .booking-step[data-step="2"] .booking-bottom svg { transform: rotate(180deg); }

@media (max-width: 767px), (pointer: coarse) {
  .booking-search-field input { height: 44px; font-size: 16px; }
  .booking-search-field button { width: 44px; min-height: 44px; }
  .booking-category-chip { min-height: 44px; padding-inline: 12px; }
  .booking-category-arrow { flex-basis: 44px; width: 44px; height: 44px; }
}

/* Review shares the reference's continuous floral scene and ivory surfaces. */
body.booking-reviewing .booking-app { position: relative; padding: 16px 16px 24px; background: url('../images/booking-date-scene-v2.webp') center top / cover no-repeat; }
body.booking-reviewing .booking-topbar,
body.booking-reviewing .booking-progress { display: none !important; }
body.booking-reviewing .booking-flow-indicator { margin-bottom: 20px; }
body.booking-reviewing .page-footer-default { margin-top: 0; }
.booking-step[data-step="3"] { min-width: 0; }
.booking-step[data-step="3"] .booking-heading { margin-bottom: 24px; }
.booking-step[data-step="3"] .booking-heading h1 { font-size: clamp(26px,2.8vw,34px); }
.booking-step[data-step="3"] .booking-heading h1::after { content: ''; display: block; width: min(320px,85%); height: 28px; margin: 10px auto 0; background: url('../images/jas-premium-gold-divider.webp') center / 100% auto no-repeat; }
.booking-step[data-step="3"] .booking-heading p { max-width: 600px; margin: auto; font-family: Arial,sans-serif; font-size: 15px; color: #74696a; }
.booking-step[data-step="3"] :is(.booking-payment-note,.booking-bottom) { font-family: Arial,sans-serif; letter-spacing: normal; }
.booking-step[data-step="3"] :is(button,strong,small) { font-family: inherit; letter-spacing: normal; }
.booking-step[data-step="3"] .booking-review-card { min-width: 0; padding: 16px; border-radius: 15px; border-color: #eee2d4; box-shadow: 0 6px 24px rgba(64,35,21,.06); }
.booking-step[data-step="3"] .review-card-heading { align-items: center; gap: 12px; padding-bottom: 10px; border-color: #eee7df; margin-bottom: 8px; }
.review-heading-title { display: flex; align-items: center; gap: 12px; color: var(--color-primary); font: 600 18px Georgia,serif; }

.booking-step[data-step="3"] .text-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 34px; padding: 5px 12px; border: 1px solid #ead8bf; border-radius: 99px; background: #faf5ed; font-size: 12px; }
.booking-step[data-step="3"] .text-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.review-visual { display: grid !important; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 10px; background: #f7f1e7; overflow: hidden; color: #b48c53; }
.review-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.review-visual > svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.review-clock { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.booking-step[data-step="3"] .review-total-row { padding-top: 14px; align-items: center; gap: 12px; font-size: 20px; color: var(--color-primary); }
.booking-step[data-step="3"] .review-total-row > span { font-family: Georgia,serif; }
.booking-step[data-step="3"] .booking-payment-note { align-items: center; gap: 14px; margin-top: 14px; padding: 14px 18px; background: rgba(242,246,235,.88); border: 1px solid #bdcea7; border-radius: 12px; }
.booking-step[data-step="3"] .booking-payment-note > span { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; color: #fff; background: #275e2e; }
.booking-step[data-step="3"] .booking-payment-note strong { font: 600 18px Georgia,serif; }
.booking-step[data-step="3"] .booking-payment-note p { font-size: 14px; line-height: 1.6; }
.booking-step[data-step="3"] .booking-bottom { margin: 18px 0 0; padding: 0; background: transparent; box-shadow: none; }
.booking-step[data-step="3"] .booking-bottom button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; border: 1px solid var(--color-primary); }
.booking-step[data-step="3"] .booking-bottom svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.booking-step[data-step="3"] button:focus-visible { outline: 2px solid var(--jas-gold); outline-offset: 3px; }
[dir="rtl"] .booking-step[data-step="3"] .booking-bottom svg { transform: rotate(180deg); }
@media(max-width:767px) {
  body.booking-reviewing .booking-app { padding: 12px 10px 24px; background-size: 100% 100%; }
  body.booking-reviewing .booking-flow-indicator { margin-bottom: 22px; }
  body.booking-reviewing .jas-footer-socials .jas-whatsapp-float { position: static; box-shadow: none; }
  .booking-step[data-step="3"] .booking-heading { margin-bottom: 24px; }
  .booking-step[data-step="3"] .booking-heading p { font-size: 13px; }
  .booking-step[data-step="3"] .booking-review-card { padding: 14px; }
  .review-heading-title { font-size: 18px; gap: 8px; }
  .booking-step[data-step="3"] .booking-payment-note { padding: 16px; gap: 12px; }
  .booking-step[data-step="3"] .booking-bottom button { min-width: 0; gap: 10px; }
  .booking-step[data-step="3"] .text-button { min-height: 44px; }
}

/* Details: contact form and appointment summary use the existing booking form. */
body.booking-entering-details .booking-app { position: relative; padding: 16px 16px 30px; background: url('../images/booking-date-scene-v2.webp') center top / cover no-repeat; }
body.booking-entering-details .booking-topbar,
body.booking-entering-details .booking-progress { display: none !important; }
body.booking-entering-details .booking-flow-indicator { margin-bottom: 24px; }
body.booking-entering-details .page-footer-default { margin-top: 0; }
.booking-step[data-step="4"] .booking-heading { margin-bottom: 28px; }
.booking-step[data-step="4"] .booking-heading h1 { font-size: clamp(28px,3.1vw,38px); }
.booking-step[data-step="4"] .booking-eyebrow::after { content: ''; display: block; width: min(320px,85%); height: 28px; margin: 8px auto 4px; background: url('../images/jas-premium-gold-divider.webp') center / 100% auto no-repeat; }
.booking-step[data-step="4"] .booking-heading p { font: 15px/1.6 Arial,sans-serif; }
.booking-details-layout { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); gap: 22px; padding: 24px; border: 1px solid #eee2d4; border-radius: 18px; box-shadow: 0 6px 24px rgba(64,35,21,.06); font-family: Arial,sans-serif; }
.booking-details-layout :is(strong,small,button,input,textarea) { font-family: inherit; letter-spacing: normal; }
.booking-details-main { min-width: 0; }
.details-form-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #eee7df; padding-bottom: 16px; margin-bottom: 18px; }
.details-form-heading h2, .details-summary-heading h2 { display: flex; align-items: center; gap: 10px; font: 600 18px/1.4 Arial,sans-serif; margin: 0; color: var(--color-primary); text-transform: none; letter-spacing: normal; }
.details-form-heading h2 > svg, .details-summary-heading h2 > svg { width: 24px; height: 24px; flex: 0 0 24px; color: var(--jas-gold); }
.booking-step[data-step="4"] svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.booking-details-main .booking-form-grid { gap: 16px; }
.booking-details-main label { font: 14px/1.5 Arial,sans-serif; gap: 7px; min-width: 0; }
.details-required { color: #a82e33; font-style: normal; }
.details-input { display: flex; align-items: center; gap: 10px; border: 1px solid #ddd5cd; border-radius: 10px; padding-inline: 14px; background: #fdfcfb; }
.details-input > svg { flex: 0 0 19px; width: 19px; height: 19px; color: var(--color-primary); }
.booking-details-main .details-input :is(input,textarea) { flex: 1; width: 100%; min-width: 0; border: 0; padding: 12px 0; border-radius: 0; background: transparent; box-shadow: none; color: #241b1d; font: 14px/1.5 Arial,sans-serif; }
.booking-details-main .details-input input { min-height: 46px; }
.details-input:focus-within { outline: 2px solid var(--jas-gold); outline-offset: 2px; }
.details-input :is(input,textarea):focus { outline: none; }
.details-input ::placeholder { color: #89838a; opacity: 1; }
.details-notes { align-items: flex-start; }
.details-notes > svg { margin-top: 14px; }
.details-notes textarea { resize: vertical; min-height: 92px; }
.booking-details-main .booking-submit { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; min-height: 48px; font: 700 14px/1.4 Arial,sans-serif; }
.booking-details-main .booking-submit::after { content: ''; width: 22px; height: 22px; background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6'%3E%3Cpath d='M5 12h14m-7-7 7 7-7 7'/%3E%3C/svg%3E"); }
[dir="rtl"] .booking-details-main .booking-submit::after { transform: rotate(180deg); }
.booking-details-main .booking-form-error:empty { display: none; }
.details-summary-panel { min-width: 0; padding-inline-start: 20px; border-inline-start: 1px solid #eee7df; }
.details-summary-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.details-summary-heading h2 { font-size: 16px; font-weight: 500; }
.details-summary-heading .text-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 6px 12px; border: 1px solid #ead8bf; border-radius: 99px; background: #faf5ed; font: 12px Arial,sans-serif; }
.details-summary-heading .text-button svg { width: 16px; height: 16px; }
.details-summary-panel .booking-final-summary { margin: 0; padding: 16px; border: 1px solid #eee2d4; background: #fcf9f5; border-radius: 14px; }
.details-summary-panel .booking-final-summary > div.details-service-list { display: grid; justify-content: stretch; gap: 12px; padding: 0 0 16px; }
.details-service-row { min-height: 48px; display: flex; align-items: center; gap: 12px; }
.details-service-copy { flex: 1; min-width: 0; }
.details-service-copy strong { display: block; font-size: 14px; overflow-wrap: anywhere; }
.details-service-copy small { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12px; color: #74696a; }
.details-service-row > strong { flex: 0 0 auto; margin-inline-start: auto; font-size: 14px; }
.details-appointment-meta { padding-top: 14px; margin: 0; border-top: 1px solid #ead8bf; }
.details-appointment-meta > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-block: 10px; font-size: 13px; }
.details-appointment-meta dt { color: #74696a; font-weight: 400; }
.details-appointment-meta dd { margin: 0; text-align: end; overflow-wrap: anywhere; }
.details-summary-panel .booking-final-summary .final-total { padding: 16px; background: #f7eddf; border: 0; border-radius: 12px; font-size: 19px; color: var(--color-primary); margin-top: 18px; align-items: center; }
.booking-step[data-step="4"] button:focus-visible { outline: 2px solid var(--jas-gold); outline-offset: 3px; }
@media (max-width:900px) {
  .booking-details-layout { grid-template-columns: minmax(0,1fr); padding: 18px; }
  .details-summary-panel { order: -1; padding: 0 0 18px; border-inline-start: 0; border-bottom: 1px solid #eee7df; }
}
@media (max-width:767px) {
  body.booking-entering-details .booking-app { padding: 12px 10px 24px; background-size: 100% 100%; }
  body.booking-entering-details .jas-footer-socials .jas-whatsapp-float { position: static; box-shadow: none; }
  .booking-details-layout { padding: 14px; gap: 16px; }
  .booking-details-main .details-input :is(input,textarea) { font-size: 16px; }
  .details-summary-heading .text-button { min-height: 44px; }
  .details-summary-panel .booking-final-summary { padding: 12px; }
}

.details-summary-panel .booking-final-summary > .details-service-list.is-scrollable {
  max-height: 256px;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  grid-auto-rows: max-content;
  padding-inline-end: 8px;
}
.details-service-list.is-scrollable:focus-visible { outline: 2px solid var(--jas-gold); outline-offset: 3px; }

.date-summary-items:focus-visible { outline: 2px solid var(--jas-gold); outline-offset: 3px; }

/* Arabic placeholders read RTL; entered email addresses and phone numbers stay LTR. */
html[lang="ar"] .booking-details-main .details-input input[dir="ltr"]:placeholder-shown {
  direction: rtl;
  text-align: right;
}
html[lang="ar"] .booking-details-main .details-input :is(input,textarea)::placeholder {
  font-family: 'Cairo', Tahoma, Arial, sans-serif;
  letter-spacing: normal;
}

/* One combined review list: each service, schedule and price appear together. */
.booking-step[data-step="3"] .booking-combined-review { font-family: Arial,sans-serif; letter-spacing: normal; }
.booking-combined-review .review-card-heading { flex-wrap: wrap; }
.booking-combined-review h2.review-heading-title { margin: 0; font-size: 22px; letter-spacing: normal; text-transform: none; }
.review-edit-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.review-combined-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-bottom: 14px; color: #74696a; font-size: 12px; }
.review-combined-table { width: 100%; table-layout: fixed; border-collapse: collapse; font: 13px/1.5 Arial,sans-serif; color: #241b1d; }
.review-combined-table th, .review-combined-table td { padding: 12px 10px; border-bottom: 1px solid #eee7df; text-align: start; vertical-align: middle; overflow-wrap: anywhere; }
.review-combined-table thead th { font-size: 12px; font-weight: 400; color: #74696a; }
.review-combined-table th:first-child { width: 42%; }
.review-combined-table th:nth-child(2) { width: 24%; }
.review-combined-table th:nth-child(3) { width: 16%; }
.review-combined-table th:last-child { width: 18%; }
.review-combined-table tbody th { font-weight: 600; }
.review-combined-table td:last-child, .review-combined-table th:last-child { text-align: end; font-variant-numeric: tabular-nums; }
.review-service-time > span { display: inline-flex; flex-direction: column; gap: 3px; }
.review-service-time strong { font-weight: 500; }
.review-service-time small { color: #74696a; font-size: 12px; }
.review-mobile-time { display: none; }
.booking-combined-review .review-total-row { margin-top: 4px; }
@media(max-width:767px) {
  .booking-combined-review .review-card-heading { gap: 12px; }
  .booking-combined-review h2.review-heading-title { font-size: 20px; }
  .review-combined-meta { gap: 6px 14px; font-size: 11px; }
  .review-combined-table th, .review-combined-table td { padding: 11px 4px; font-size: 12px; }
  .review-combined-table .review-service-time, .review-combined-table #review-time-column { display: none; }
  .review-combined-table th:first-child { width: 56%; }
  .review-combined-table th:nth-child(3) { width: 20%; }
  .review-combined-table th:last-child { width: 24%; }
  .review-mobile-time { display: block; margin-top: 5px; font-weight: 400; color: #74696a; font-size: 11px; }
  [dir="rtl"] .review-mobile-time { text-align: right; }
}
