/* Film previews retain the established photo dimensions and booking-card layout. */
.tcs-shell .tcs-explorer-video{position:relative;overflow:hidden;border-radius:16px;isolation:isolate}
.tcs-shell .tcs-explorer-video>.elementor-widget-container{position:absolute;inset:0}
.tcs-shell .tcs-explorer-video :is(.elementor-widget-container,.elementor-wrapper){height:100%;width:100%;aspect-ratio:auto}
.tcs-shell .tcs-explorer-video video{display:block;width:100%;height:100%;object-fit:cover;border-radius:16px}
.tcs-shell .tcs-service-video-toggle{position:absolute;z-index:4;right:16px;bottom:16px;min-height:44px;padding:9px 16px;border:1px solid #ffffff8c;border-radius:999px;background:#0a2f47;color:#fff;box-shadow:0 3px 12px #001b2e26;font:500 15px/1.35 'Mukta Vaani',sans-serif;cursor:pointer}
.tcs-shell .tcs-service-video-toggle:hover{background:#0b6fa8;color:#fff}
.tcs-shell .tcs-service-video-toggle:focus-visible{outline:3px solid #fff;outline-offset:3px}
.tcs-shell .tcs-service-video-toggle[hidden]{display:none!important}

/* Keep the booking content above the full-width service film. */
.tcs-shell :is(.tcs-sub-hero-booking,.tcs-home-hero).tcs-service-film-hero {
  position:relative; isolation:isolate; overflow:hidden;
}
.tcs-shell .tcs-service-film-hero > .e-con-inner { position:static; }
.tcs-shell :is(.tcs-sub-hero-booking,.tcs-home-hero,.tcs-sofa-video-hero) :is(.tcs-service-hero-media,.tcs-sofa-hero-media) {
  position:absolute!important; inset:0!important; width:100%!important; height:100%!important;
  max-width:none!important; padding:0!important; z-index:-2; pointer-events:none; overflow:hidden;
}
.tcs-shell :is(.tcs-service-hero-media,.tcs-sofa-hero-media) :is(.tcs-service-hero-video,.tcs-sofa-hero-video,.e-con-inner,.elementor-widget-container,.elementor-wrapper) {
  width:100%!important; max-width:none!important; height:100%!important; min-height:100%!important;
  padding:0!important; aspect-ratio:auto;
}
.tcs-shell :is(.tcs-service-hero-media,.tcs-sofa-hero-media) video { display:block; width:100%; height:100%; object-fit:cover; object-position:center; }
.tcs-shell .tcs-sofa-video-hero::before { z-index:-1; background:linear-gradient(90deg,#041d31eb 0%,#08283dce 48%,#08283d80 100%); }
.tcs-shell .tcs-service-film-hero.tcs-sub-hero-booking::before {
  z-index:-1;
  background:linear-gradient(90deg, #041d31eb, #08283dce 43%, #08283d48 76%);
}

/* A single tint keeps the film visible as the form moves between booking steps. */
.tcs-service-film-hero .tcs-sub-hero-booking-panel {
  --tcs-booking-surface:rgba(255, 255, 255, .82);
}
.tcs-service-film-hero #packages :is(.tcs-clean-selector--hero, .tcs-appointment-source) {
  background-color:var(--tcs-booking-surface);
}
.tcs-service-film-hero #packages :is(.tcs-hero-booking-progress, .tcs-clean-selector__summary,
  .tcs-service-form-source, .tcs-appointment-source .tcs-booking, .tcs-booking-inline,
  .tcs-booking-modal__header, .tcs-booking__form) {
  background-color:transparent;
}
.tcs-service-film-hero #packages :where(.tcs-hero-booking-progress li, .tcs-appointment-hint,
  .tcs-booking__hint, .tcs-clean-selector__hint, .tcs-clean-selector__choices > p,
  .tcs-clean-selector__summary > p, .tcs-clean-selector__summary dt, .tcs-clean-selector__summary > small,
  .tcs-service-family-label, .tcs-booking__grid label > span:not(.tcs-required):first-child,
  .tcs-appointment-receipt p, .tcs-appointment-receipt small) {
  color:#394f5d;
}
.tcs-service-film-hero #packages .tcs-required { color:#9e2525!important; }
.tcs-service-film-hero #packages :is(.tcs-hero-booking-progress [aria-current], [data-clean-edit],
  [data-service-edit], [data-inline-back], .tcs-clean-selector__choices > a,
  .tcs-clean-selector__summary > a, .tcs-appointment-source > summary) {
  color:#07547e;
}
.tcs-shell :is(.tcs-service-film-hero,.tcs-sofa-video-hero) > .tcs-service-video-toggle { right:28px; bottom:18px; pointer-events:auto; }
.tcs-shell .tcs-enquiry-service-film > .tcs-service-video-toggle { right:12px; bottom:12px; min-width:44px; min-height:44px; padding:8px 12px; white-space:nowrap; }
.tcs-shell .tcs-managed-video.is-video-unavailable { background-size:cover; background-position:center; }
.tcs-shell .tcs-managed-video.is-video-unavailable video { visibility:hidden; }
body:not(.elementor-editor-active) .tcs-shell .tcs-film-next,
body:not(.elementor-editor-active) .tcs-shell .tcs-film-hero-variant { display:none!important; }

/* The checked enquiry option selects the matching film, including on a direct category link. */
.tcs-detail-glass .tcs-service-film-hero:has(input[name="property_size"][value="enquiry--option-1"]:checked) {
  background-image:url("service-options/glass-home.webp")!important;
}
body:not(.elementor-editor-active) .tcs-detail-glass .tcs-service-film-hero:has(input[name="property_size"][value="enquiry--option-1"]:checked) .tcs-service-hero-video,
body:not(.elementor-editor-active) .tcs-detail-glass .tcs-service-film-hero:has(input[name="property_size"][value="enquiry--option-3"]:checked) .tcs-service-hero-video:not(.tcs-film-hero-variant),
body:not(.elementor-editor-active) .tcs-detail-facility .tcs-service-film-hero:has(input[name="housekeeping"][value="residential"]:checked) .tcs-service-hero-video:not(.tcs-film-hero-variant) { display:none!important; }
body:not(.elementor-editor-active) .tcs-detail-glass .tcs-service-film-hero:has(input[name="property_size"][value="enquiry--option-3"]:checked) .tcs-film-hero-variant,
body:not(.elementor-editor-active) .tcs-detail-facility .tcs-service-film-hero:has(input[name="housekeeping"][value="residential"]:checked) .tcs-film-hero-variant { display:block!important; }

@media (max-width:1024px) {
  .tcs-service-film-hero .tcs-sub-hero-booking-panel { --tcs-booking-surface:rgba(255, 255, 255, .87); }
  .tcs-shell .tcs-service-film-hero.tcs-sub-hero-booking::before {
    background:linear-gradient(180deg, #061f35df, #061f35dc 340px, #061f355e 660px);
  }
  .tcs-shell.tcs-shell :is(.tcs-sub-hero-booking,.tcs-home-hero).tcs-service-film-hero.e-con {
    --padding-bottom:max(72px, env(safe-area-inset-bottom))!important;
  }
}
@media (max-width:767px) {
  .tcs-shell .tcs-sofa-video-hero:not(.tcs-service-film-hero)::before { background:#061f35d9; }
  .tcs-shell :is(.tcs-sub-hero-booking,.tcs-home-hero,.tcs-sofa-video-hero) > .tcs-service-video-toggle { right:22px; bottom:8px; }
}

@media (prefers-reduced-transparency:reduce), (prefers-contrast:more), (forced-colors:active) {
  .tcs-service-film-hero .tcs-sub-hero-booking-panel { --tcs-booking-surface:#fff; }
}
