/* Touch booking layout. Loaded after component styles; desktop is unchanged. */
@media (max-width:1024px) {
  /* Release the desktop hero's nested enquiry viewport on touch layouts. */
  .tcs-shell .tcs-hero-enquiry,
  .tcs-shell .is-pinned .tcs-hero-enquiry,
  .tcs-shell .is-image-scroll-measuring .tcs-hero-enquiry {
    height:auto!important; max-height:none!important; overflow:visible!important;
  }
  .tcs-shell .tcs-sub-hero-booking-panel {
    width:100%!important; --width:100%!important; min-width:0; max-width:640px;
    justify-self:center; align-self:start;
  }
  .tcs-shell .tcs-sub-hero-booking-panel > .elementor-widget,
  .tcs-shell .tcs-sub-hero-booking-panel .elementor-widget-container,
  .tcs-shell .tcs-sub-hero-booking-panel .elementor-shortcode {
    width:100%; min-width:0; max-width:100%;
  }
  .tcs-shell .tcs-clean-selector--hero,
  .tcs-shell .tcs-service-selector,
  .tcs-shell .tcs-enquiry {
    box-sizing:border-box; width:100%; min-width:0; max-width:100%;
    text-align:left; text-shadow:none; border-radius:16px;
  }
  .tcs-shell .tcs-clean-selector--hero .tcs-booking-inline {
    width:100%; max-width:100%; max-height:none!important; height:auto;
    overflow:visible!important; overscroll-behavior:auto; scrollbar-gutter:auto;
  }
  .tcs-shell :is(.tcs-clean-selector--hero,.tcs-service-selector,.tcs-enquiry,.tcs-booking) :is(form,fieldset,label) {
    min-width:0; max-width:100%;
  }
  .tcs-shell .tcs-clean-selector--hero .tcs-hero-booking-progress {
    grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; padding:16px 24px 0;
    margin:0; text-align:left;
  }
  .tcs-shell .tcs-clean-selector--hero .tcs-hero-booking-progress li {
    font:500 13px/1.45 'Mukta Vaani',sans-serif; padding-bottom:12px;
    white-space:normal; min-width:0;
  }
  .tcs-shell .tcs-clean-selector--hero :is(.tcs-clean-selector__choices,.tcs-clean-selector__summary),
  .tcs-shell .tcs-service-selector .tcs-service-form-source {
    padding:24px; min-height:0; width:100%; max-width:100%;
  }
  .tcs-shell .tcs-clean-selector--hero .tcs-clean-selector__choices fieldset {
    margin:20px 0; padding:0; border:0;
  }
  .tcs-shell .tcs-clean-selector--hero .tcs-clean-selector__choices fieldset + fieldset {
    padding-top:0; margin-top:22px;
  }
  .tcs-shell .tcs-clean-selector--hero .tcs-clean-selector__sizes {
    display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px;
  }
  .tcs-shell .tcs-clean-selector--hero .tcs-clean-selector__packages {
    display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px;
  }
  .tcs-shell .tcs-clean-selector--hero :is(.tcs-clean-selector__sizes,.tcs-clean-selector__packages) label {
    width:100%; min-width:0; margin:0;
  }
  .tcs-shell .tcs-clean-selector--hero :is(.tcs-clean-selector__sizes,.tcs-clean-selector__packages) label > span {
    box-sizing:border-box; display:flex; align-items:center; justify-content:center;
    width:100%; min-width:0; min-height:46px!important; padding:10px 7px;
    font:500 16px/1.4 'Mukta Vaani',sans-serif; border-radius:8px;
    white-space:normal; overflow-wrap:normal; text-align:center;
  }
  .tcs-shell .tcs-service-selector .tcs-service-tabs,
  .tcs-shell .tcs-booking .tcs-booking-choices {
    display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px;
  }
  .tcs-shell .tcs-service-selector .tcs-service-option-buttons {
    display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px;
  }
  .tcs-shell .tcs-service-selector :is(.tcs-service-tabs,.tcs-service-option-buttons) label > span,
  .tcs-shell .tcs-booking .tcs-booking-choices label > span {
    min-height:46px!important; padding:10px 12px; border-radius:8px;
    font:500 16px/1.4 'Mukta Vaani',sans-serif; white-space:normal;
    overflow-wrap:break-word; word-break:normal;
  }
  .tcs-shell .tcs-service-selector .tcs-service-option-buttons label:only-child,
  .tcs-shell .tcs-service-selector .tcs-service-tabs label:only-child,
  .tcs-shell .tcs-booking .tcs-booking-choices label:only-child { grid-column:1/-1; }
  .tcs-shell .tcs-clean-selector--hero :is([data-clean-edit],[data-service-edit],[data-inline-back],[data-clean-back],[data-clean-back-review]) {
    min-height:44px!important; padding:10px 0; font:500 15px/1.4 'Mukta Vaani',sans-serif;
    margin:0 0 12px; text-align:left; width:auto;
  }
  .tcs-shell .tcs-clean-selector--hero :is([data-clean-review],[data-service-review],[data-clean-continue]),
  .tcs-shell .tcs-booking-inline :is([data-appointment-submit],[data-appointment-next]),
  .tcs-shell .tcs-service-selector .tcs-booking__actions > button {
    display:flex; align-items:center; justify-content:center; width:100%; min-height:48px;
    padding:12px 16px; margin-top:20px; border-radius:9px;
    font:600 17px/1.4 'Mukta Vaani',sans-serif; white-space:normal; text-align:center;
  }
  .tcs-shell .tcs-clean-selector--hero .tcs-clean-selector__summary dl {
    display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
    gap:8px 14px; width:100%; padding:14px 0; margin:0;
  }
  .tcs-shell .tcs-clean-selector--hero .tcs-clean-selector__summary :is(dt,dd) {
    min-width:0; margin:0; font-size:16px; line-height:1.45; overflow-wrap:break-word;
  }
  .tcs-shell .tcs-clean-selector--hero .tcs-clean-selector__price {
    display:block; font:500 32px/1.2 Sora,sans-serif; letter-spacing:-1px;
  }
  .tcs-shell .tcs-booking-inline .tcs-booking-modal__header,
  .tcs-shell .tcs-booking-inline .tcs-booking__form { padding:22px 24px; }
  .tcs-shell .tcs-booking-inline .tcs-booking-modal__header {
    position:relative; top:auto; border-bottom:1px solid #dde8ee;
  }
  .tcs-shell .tcs-booking-inline .tcs-booking__grid,
  .tcs-shell .tcs-service-selector .tcs-service-form-source .tcs-booking__grid {
    display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px;
  }
  .tcs-shell :is(.tcs-booking,.tcs-booking-inline,.tcs-service-selector,.tcs-enquiry) label {
    font-family:'Mukta Vaani',sans-serif; font-size:16px; line-height:1.4;
  }
  .tcs-shell :is(.tcs-booking,.tcs-booking-inline,.tcs-service-selector,.tcs-enquiry) :is(input:not([type=radio],[type=checkbox],[type=hidden]),select,textarea) {
    box-sizing:border-box; display:block; width:100%; min-width:0; max-width:100%;
    min-height:48px; margin-top:7px; padding:12px; border-radius:9px;
    font:400 16px/1.45 'Mukta Vaani',sans-serif; color:#0a2f47; color-scheme:light;
  }
  .tcs-shell :is(.tcs-booking,.tcs-booking-inline,.tcs-service-selector,.tcs-enquiry) textarea { min-height:96px; }
  .tcs-shell .tcs-clean-selector__summary .is-modal .tcs-appointment-grid {
    grid-template-columns:minmax(0,1fr) 132px; gap:16px; align-items:start;
  }
  .tcs-shell .tcs-clean-selector__summary .is-modal .tcs-calendar {
    padding:12px 8px; border-radius:10px;
  }
  .tcs-shell .tcs-clean-selector__summary .is-modal .tcs-calendar__nav { margin-bottom:8px; gap:4px; }
  .tcs-subservice-home-deep.tcs-subservice.tcs-home-detail.tcs-detail-polish #packages .tcs-clean-selector__summary .is-modal .tcs-calendar__nav h3 {
    font:500 14px/1.4 Sora,sans-serif!important; letter-spacing:-.2px!important;
  }
  .tcs-shell .tcs-clean-selector__summary .is-modal .tcs-calendar__nav button {
    width:44px!important; height:44px!important; min-height:44px!important; flex:0 0 44px!important;
    padding:0; font-size:21px;
  }
  .tcs-shell .tcs-clean-selector__summary .is-modal .tcs-calendar__days > :is(button,span) {
    min-height:44px!important; padding:8px 0; font-size:15px;
  }
  .tcs-shell .tcs-clean-selector__summary .is-modal .tcs-calendar__days,
  .tcs-shell .tcs-clean-selector__summary .is-modal .tcs-calendar__weekdays {
    grid-template-columns:repeat(7,minmax(0,1fr)); gap:2px;
  }
  .tcs-shell .tcs-clean-selector__summary .is-modal .tcs-time-slots {
    min-height:224px!important; height:224px!important; max-height:224px;
    font-size:16px!important; padding:6px; border-radius:9px;
  }
  .tcs-shell .tcs-clean-selector__summary .is-modal .tcs-appointment-date { max-width:none; width:100%; }
  .tcs-shell .tcs-clean-selector__summary .is-modal .tcs-appointment-date input { width:100%; min-height:48px; }
  .tcs-shell .tcs-clean-selector__summary .is-modal .tcs-appointment-hint { font-size:13px; line-height:1.5; }

  /* Regular, evenly aligned chips replace irregular wrapping in enquiry forms. */
  .tcs-shell .tcs-enquiry { padding:24px; border:1px solid #cedee7; background:#fff; }
  .tcs-shell .tcs-enquiry .tcs-enquiry__group { margin-bottom:22px; }
  .tcs-shell .tcs-enquiry legend { margin-bottom:10px; font:600 17px/1.4 'Mukta Vaani',sans-serif; }
  .tcs-shell .tcs-enquiry legend > span { display:block; margin-top:4px; font-size:14px; }
  .tcs-shell .tcs-enquiry .tcs-enquiry__choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .tcs-shell .tcs-enquiry .tcs-enquiry__group:first-child > .tcs-enquiry__choices,
  .tcs-shell .tcs-enquiry .tcs-enquiry__subtypes .tcs-enquiry__choices { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .tcs-shell .tcs-enquiry .tcs-enquiry__subtypes[data-tcs-subtype-group="housekeeping"] .tcs-enquiry__choices { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .tcs-shell .tcs-enquiry .tcs-enquiry__choice {
    position:relative; display:flex; align-items:center; justify-content:flex-start; gap:8px;
    width:100%; min-width:0; min-height:48px!important; margin:0; padding:10px;
    border-radius:8px; font:500 16px/1.35 'Mukta Vaani',sans-serif; text-align:left;
  }
  .tcs-shell .tcs-enquiry .tcs-enquiry__choice span { min-width:0; overflow-wrap:break-word; word-break:normal; }
  .tcs-shell .tcs-enquiry .tcs-enquiry__choice:has(input[type=radio]) { justify-content:center; text-align:center; }
  .tcs-shell .tcs-enquiry .tcs-enquiry__choice input[type=radio] {
    position:absolute; width:1px; height:1px; min-height:0; margin:0; padding:0; border:0;
    clip-path:inset(50%); opacity:0;
  }
  .tcs-shell .tcs-enquiry .tcs-enquiry__choice input[type=checkbox] {
    flex:0 0 18px; width:18px; height:18px; min-height:0; margin:0; padding:0;
  }
  .tcs-shell .tcs-enquiry .tcs-enquiry__subtypes { margin-top:12px; padding:12px 0 0; border-left:0; border-top:1px solid #dce7ed; }
  .tcs-shell .tcs-enquiry .tcs-enquiry__subtype-label { margin-bottom:8px; font-size:14px; }
  .tcs-shell .tcs-enquiry .tcs-enquiry__grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
  .tcs-shell .tcs-enquiry .tcs-enquiry__grid label { font:500 16px/1.4 'Mukta Vaani',sans-serif; }
  .tcs-shell .tcs-enquiry .tcs-enquiry__submit {
    min-height:48px; padding:12px 16px; border-radius:9px; font:600 17px/1.4 'Mukta Vaani',sans-serif;
  }
  .tcs-shell .tcs-enquiry .tcs-enquiry__review-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
  .tcs-shell .tcs-enquiry .tcs-enquiry__review-actions button { min-height:48px; width:100%; font-size:16px; padding:12px; border-radius:9px; }
}

@media (max-width:600px) {
  .tcs-shell .tcs-clean-selector--hero .tcs-hero-booking-progress { padding:14px 16px 0; gap:6px; }
  .tcs-shell .tcs-clean-selector--hero .tcs-hero-booking-progress li { font-size:12px; }
  .tcs-shell .tcs-clean-selector--hero :is(.tcs-clean-selector__choices,.tcs-clean-selector__summary),
  .tcs-shell .tcs-service-selector .tcs-service-form-source,
  .tcs-shell .tcs-booking-inline .tcs-booking-modal__header,
  .tcs-shell .tcs-booking-inline .tcs-booking__form,
  .tcs-shell .tcs-enquiry { padding:20px 16px; }
  .tcs-shell .tcs-clean-selector--hero :is(.tcs-clean-selector__sizes,.tcs-clean-selector__packages) { gap:6px; }
  .tcs-shell .tcs-clean-selector--hero :is(.tcs-clean-selector__sizes,.tcs-clean-selector__packages) label > span { padding:10px 5px; font-size:15px; }
  .tcs-shell .tcs-clean-selector--hero .tcs-clean-selector__summary dl { grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr); gap:8px 12px; }
  .tcs-shell .tcs-clean-selector__summary .is-modal .tcs-appointment-grid { grid-template-columns:minmax(0,1fr)!important; gap:16px!important; }
  .tcs-shell .tcs-clean-selector__summary .is-modal .tcs-calendar { padding:8px 4px; }
  .tcs-shell .tcs-clean-selector__summary .is-modal .tcs-time-slots {
    height:152px!important; min-height:152px!important; max-height:152px; padding:6px;
  }
  .tcs-shell .tcs-clean-selector__summary .is-modal .tcs-time-slots option { padding:9px; }
  .tcs-shell .tcs-booking-inline .tcs-booking__grid,
  .tcs-shell .tcs-service-selector .tcs-service-form-source .tcs-booking__grid,
  .tcs-shell .tcs-booking .tcs-booking__grid,
  .tcs-shell .tcs-enquiry .tcs-enquiry__grid { grid-template-columns:minmax(0,1fr); gap:16px; }
  .tcs-shell .tcs-service-selector .tcs-service-form-source label { margin-bottom:0; }
  .tcs-shell .tcs-service-selector .tcs-service-form-source fieldset > legend { font-size:20px; line-height:1.4; }
  .tcs-shell .tcs-service-selector .tcs-service-form-source fieldset fieldset > legend { font-size:16px; }
  .tcs-shell .tcs-service-selector .tcs-service-option-buttons label > span { padding:10px 8px; font-size:15px; }
  .tcs-shell .tcs-enquiry .tcs-enquiry__group:first-child > .tcs-enquiry__choices .tcs-enquiry__choice { min-height:58px!important; padding:8px 5px; }
  .tcs-shell .tcs-enquiry .tcs-enquiry__subtypes .tcs-enquiry__choice { font-size:14px; padding:9px 4px; }
  .tcs-shell .tcs-enquiry .tcs-enquiry__choice { font-size:15px; padding:10px 8px; }
  .tcs-shell .tcs-enquiry .tcs-enquiry__note { font-size:12px; line-height:1.5; }
  .tcs-shell .tcs-enquiry .tcs-enquiry__review-actions { grid-template-columns:minmax(0,1fr); }
  .tcs-shell .tcs-enquiry .tcs-enquiry__review h3 { font:500 22px/1.3 Sora,sans-serif; }
}
