/* Compact package choice, appointment review, then customer details.
   Scope is limited to the Home Deep Cleaning hero booking. */
.tcs-subservice-home-deep .tcs-clean-selector--hero .tcs-clean-selector__choices fieldset { margin-bottom:20px; }
.tcs-subservice-home-deep .tcs-clean-selector--hero .tcs-clean-selector__choices fieldset + fieldset { margin-top:22px; padding-top:0; border:0; }
.tcs-subservice-home-deep .tcs-clean-selector--hero .tcs-clean-selector__sizes {
  display:flex; flex-wrap:wrap; gap:7px;
}
.tcs-subservice-home-deep .tcs-clean-selector--hero .tcs-clean-selector__sizes label { flex:0 0 auto; width:auto; }
.tcs-subservice-home-deep .tcs-clean-selector--hero .tcs-clean-selector__sizes label > span {
  width:auto; min-width:56px; min-height:40px; padding:8px 11px;
  border-radius:7px; font-size:15px; line-height:1.4; white-space:nowrap;
}
.tcs-subservice-home-deep .tcs-clean-selector--hero .tcs-clean-selector__packages {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px;
}
.tcs-subservice-home-deep .tcs-clean-selector--hero .tcs-clean-selector__packages label { width:100%; min-width:0; }
.tcs-subservice-home-deep .tcs-clean-selector--hero .tcs-clean-selector__packages label > span {
  display:flex; flex-direction:row; align-items:center; justify-content:center;
  width:100%; min-width:0; min-height:44px; padding:9px 8px; border-radius:7px;
  font-size:16px; line-height:1.4; gap:0; white-space:nowrap;
}
.tcs-subservice-home-deep .tcs-clean-selector--hero .tcs-clean-selector__packages input:checked + span::before { display:none; }
.tcs-subservice-home-deep .tcs-clean-selector--hero .tcs-clean-selector__packages small { display:none; }
.tcs-subservice-home-deep .tcs-clean-selector--hero [data-clean-review] { margin-top:18px; min-height:46px; padding-block:12px; }

/* Keep the selected plan and fee compact above the date/time controls. */
.tcs-subservice-home-deep .tcs-clean-selector--hero .tcs-clean-selector__summary { gap:12px; }
.tcs-subservice-home-deep .tcs-clean-selector--hero .tcs-clean-selector__summary dl { gap:6px 16px; padding:10px 0; }
.tcs-subservice-home-deep .tcs-clean-selector--hero .tcs-clean-selector__summary [data-clean-edit] { min-height:24px; }
.tcs-subservice-home-deep .tcs-clean-selector--hero .tcs-clean-selector__summary .tcs-clean-selector__price { font-size:32px; line-height:1.15; letter-spacing:-.7px; }
.tcs-subservice-home-deep .tcs-clean-selector--hero .tcs-clean-selector__summary [data-clean-price-note] { font-size:13px; line-height:1.45; }
.tcs-subservice-home-deep .tcs-clean-selector--hero .tcs-clean-selector__summary > small { font-size:12px; line-height:1.45; }
.tcs-subservice-home-deep .tcs-clean-selector--hero .tcs-clean-selector__summary [data-clean-continue] { min-height:46px; padding-block:12px; }

/* The actual form moves here for card 2, keeping its date/time fields submittable. */
.tcs-subservice-home-deep .tcs-clean-selector__summary .tcs-booking__form.is-modal {
  margin:6px 0 0; padding:16px 0 0; border:0; border-top:1px solid #e0e7eb;
  background:transparent; box-shadow:none; color:#0a2f47;
  font:400 15px/1.5 'Mukta Vaani',sans-serif;
}
.tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal :is([data-tcs-step],.tcs-booking-selection,.tcs-booking__progress,.tcs-booking__actions,.tcs-appointment-actions) { display:none!important; }
.tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal fieldset { min-width:0; margin:0; padding:0; border:0; }
.tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal legend {
  display:block; width:100%; margin:0 0 12px; padding:0; color:#0a2f47;
  font:600 16px/1.4 'Mukta Vaani',sans-serif; letter-spacing:0;
}
.tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-appointment-grid {
  display:grid; grid-template-columns:minmax(0,1fr) 124px; align-items:start; gap:14px;
}
.tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-calendar {
  min-width:0; padding:10px; border:1px solid #d6e3eb; border-radius:10px; background:#fafcfd;
}
.tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-calendar__nav {
  display:flex; justify-content:space-between; align-items:center; gap:6px; margin-bottom:9px;
}
.tcs-subservice-home-deep.tcs-subservice.tcs-home-detail.tcs-detail-polish #packages .tcs-clean-selector__summary .is-modal .tcs-calendar__nav h3 {
  margin:0; padding:0; color:#0a2f47!important; font:500 14px/1.4 Sora,sans-serif!important;
  letter-spacing:-.2px!important; text-align:center; white-space:nowrap;
}
.tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-calendar button {
  appearance:none; display:inline-flex; align-items:center; justify-content:center;
  width:auto; min-width:0; min-height:32px; margin:0; padding:5px 0;
  border:1px solid transparent; border-radius:6px; background:transparent; color:#25485e;
  font:500 14px/1.4 'Mukta Vaani',sans-serif; box-shadow:none; cursor:pointer;
  transition:background-color .15s,border-color .15s,color .15s;
}
.tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-calendar__nav button {
  width:28px; height:28px; min-height:28px; flex:0 0 28px;
  border-color:#d5e2e9; background:#fff; font-size:18px;
}
.tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-calendar__weekdays,
.tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-calendar__days {
  display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:2px;
}
.tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-calendar__weekdays {
  margin-bottom:5px; color:#6a7e8a; font-size:11px; font-weight:500; text-align:center;
}
.tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-calendar__days > :is(button,span) { min-width:0; min-height:32px; }
.tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-calendar__days button { width:100%; font-variant-numeric:tabular-nums; }
.tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-calendar button:hover { background:#eaf4fa; border-color:#a9cadd; }
.tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-calendar__days button[aria-current=date] { border-color:#8ebbd4; }
.tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-calendar__days button.is-selected {
  background:#0b6fa8; border-color:#0b6fa8; color:#fff;
}
.tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-calendar button:disabled { opacity:.35; cursor:not-allowed; background:transparent; border-color:transparent; }
.tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-appointment-time {
  display:flex; flex-direction:column; min-width:0; gap:8px;
}
.tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal label {
  display:block; margin:0; color:#0a2f47; font:500 14px/1.4 'Mukta Vaani',sans-serif;
}
.tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal label > span { font-size:12px; font-weight:400; color:#627784; }
.tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal label > .tcs-required {
  display:inline; min-width:0; min-height:0; padding:0; border:0; border-radius:0;
  background:transparent; color:#c62828; font-size:1em; font-weight:700;
}
.tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-time-slots {
  display:block; appearance:auto; width:100%; min-width:0; height:216px; min-height:0;
  margin:7px 0 0; padding:4px; border:1px solid #c6d7e2; border-radius:8px;
  background:#fff; color:#0a2f47; font:400 15px/1.55 'Mukta Vaani',sans-serif;
  overflow-y:auto; color-scheme:light; cursor:pointer;
}
.tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-time-slots option { padding:7px 8px; border-radius:4px; }
.tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-time-slots option:checked { background:#e2f0f8; color:#074d75; }
.tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-time-slots option:disabled { color:#8a9ba5; }
.tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-appointment-date {
  display:block; max-width:200px; margin-top:12px;
}
.tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-appointment-date input {
  display:block; width:100%; min-width:0; min-height:40px; padding:7px 10px; margin:6px 0 0;
  border:1px solid #c6d7e2; border-radius:7px; background:#fff; color:#0a2f47;
  font:400 16px/1.4 'Mukta Vaani',sans-serif; color-scheme:light; box-shadow:none;
}
.tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-appointment-hint {
  margin:10px 0 0; color:#607582; font-size:12px; line-height:1.45;
}
.tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-appointment-time > p:first-child { display:none; }
.tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-appointment-status {
  margin:12px 0 0; padding:10px 12px; border:1px solid #ddc7b7; border-radius:8px;
  background:#fff7ef; color:#854219; font-size:14px; line-height:1.5;
}
.tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-appointment-status:empty { display:none; }
.tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal :is(input,select,button):focus-visible { outline:3px solid #6ebfe7; outline-offset:2px; }

/* Customer information occupies card 3 without a second calendar. */
.tcs-subservice-home-deep .tcs-booking-inline [data-appointment-panel=details] { margin-top:0; padding-top:0; border-top:0; }
.tcs-subservice-home-deep .tcs-booking-inline .tcs-appointment-overview { padding:12px 14px; margin-bottom:18px; font-size:14px; border-radius:8px; }
.tcs-subservice-home-deep .tcs-clean-selector--hero .tcs-booking-inline { max-height:640px; max-height:min(640px,78dvh); }

@media(max-width:767px) {
 .tcs-subservice-home-deep .tcs-clean-selector--hero .tcs-clean-selector__choices,
 .tcs-subservice-home-deep .tcs-clean-selector--hero .tcs-clean-selector__summary { padding:22px 16px; }
 .tcs-subservice-home-deep .tcs-clean-selector--hero .tcs-clean-selector__sizes { gap:6px; }
 .tcs-subservice-home-deep .tcs-clean-selector--hero .tcs-clean-selector__sizes label > span { min-width:52px; padding-inline:9px; }
 .tcs-subservice-home-deep .tcs-clean-selector--hero .tcs-clean-selector__packages { gap:6px; }
 .tcs-subservice-home-deep .tcs-clean-selector--hero .tcs-clean-selector__packages label > span { font-size:15px; padding-inline:5px; }
 .tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-appointment-grid { grid-template-columns:minmax(0,1fr) 96px; gap:10px; }
 .tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-calendar { padding:8px 4px; }
 .tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-calendar__nav { gap:3px; }
 .tcs-subservice-home-deep.tcs-subservice.tcs-home-detail.tcs-detail-polish #packages .tcs-clean-selector__summary .is-modal .tcs-calendar__nav h3 { font-size:12px!important; letter-spacing:-.35px!important; }
 .tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-calendar__nav button { width:24px; height:28px; flex-basis:24px; }
 .tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-calendar__days { gap:1px; }
 .tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-time-slots { font-size:14px; padding:3px; }
 .tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-time-slots option { padding:7px 3px; }
}
@media(max-width:359px) {
 .tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-appointment-grid { grid-template-columns:minmax(0,1fr); }
 .tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-time-slots { height:144px; }
 .tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-appointment-date input { width:100%; }
}
@media(prefers-reduced-motion:reduce) {
 .tcs-subservice-home-deep .tcs-clean-selector__summary .is-modal .tcs-calendar button { transition:none; }
}
