/* Shared enhancements, loaded after the existing responsive styles. */
input:focus-visible, textarea:focus-visible, select:focus-visible, button:focus-visible,
a:focus-visible, [tabindex]:focus-visible { outline: 3px solid #176da2 !important; outline-offset: 3px; }
.visually-hidden-control { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.ws_row:has(input:focus-visible), .bs_tile:has(input:focus-visible) { outline: 3px solid #176da2; outline-offset: 3px; }
.book_subs .bs_tile { display: flex; align-items: center; width: 33.33%; padding: 2px 16px 0 70px; position: relative; margin-bottom: 12px; min-height: 56px; cursor: pointer; }
.book_subs .bs_tile img { position: absolute; width: 56px; height: 56px; top: 0; left: 0; }
.book_subs .bs_tile span { display: block; margin-right: 8px; width: 20px; height: 20px; border: 1px solid #aaa; background: #fff; text-align: center; line-height: 18px; font-size: 14px; color: #fff; }
.book_subs .bs_tile span.on { background: #444; }
.booking-field-error, .field-error { display: block; color: #a01919; font-size: 14px; line-height: 1.5; margin-top: 6px; }
[aria-invalid="true"] { border-color: #a01919 !important; }
.booking-summary { padding: 24px; border: 1px solid #bbb; margin: 24px 0; background: #f7f9fa; }
dl.booking-summary { display: grid; grid-template-columns: minmax(120px,1fr) 2fr; gap: 12px; line-height: 1.6; }
.booking-summary dd { margin: 0; overflow-wrap: anywhere; }
.booking-steps { display: flex; flex-wrap: wrap; gap: 12px 24px; list-style-position: inside; margin: 20px 0; padding: 16px; background: #f3f6f8; }
.booking-steps [aria-current="step"] { font-weight: bold; color: #175b85; }
.booking-progress ol { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 24px; padding: 16px; background: #f3f6f8; list-style: none; line-height: 1.6; }
.booking-progress [aria-current="step"] { font-weight: bold; color: #175b85; text-decoration: underline; text-underline-offset: 4px; }
.ui-datepicker td.date-full span { background: #f6d7d7; }
.ui-datepicker td.date-closed span { background: #ddd; }
.service_form_block .formrow:has(> #datepicker) { display: block; }
.service_form_block #datepicker { margin-bottom: 20px; }
.service_form_block #date-help,
.service_form_block #date-help + p { margin: 0 0 16px; line-height: 1.7; }
.service_form_block #ccc_results .ccc_row { margin: 8px 0 24px; padding: 12px 0; line-height: 1.7; align-items: flex-start; }
.service_form_block #ccc_results .ccc_row .left { flex: 0 0 auto; padding-right: 14px; }
.service_form_block #ccc_results input[type="checkbox"] { margin-top: 5px; }
.service_form_block #ccc_results label { display: block; }
.service_form_block #ccc_results label strong { display: inline-block; margin-bottom: 4px; }
.service_form_block label[for="alternate"] { display: block; margin-bottom: 8px; line-height: 1.6; }
.site-announcement { background: #fff2a3; color: #222; padding: 12px 20px; text-align: center; line-height: 1.6; }
.mobile-actions { display: none; }
#mobile_menu, .close_mobile_menu { border: 0; cursor: pointer; background: transparent; }
#mobile_menu { display: none; }
.close_mobile_menu { color: #fff; font-size: 32px; }
#navigation li:focus-within > ul { display: block !important; }
.cookie-settings { border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; color: inherit; background: transparent; }
.enquiry-response, .map-consent-message, .captcha-notice { padding: 14px; margin: 14px 0; background: #f3f6f8; line-height: 1.6; }
.captcha-notice button { margin-top: 8px; padding: 10px 16px; cursor: pointer; }
.faq-tools { display: flex; flex-wrap: wrap; gap: 16px; padding: 20px 0; }
.faq-tools label { display: block; line-height: 1.6; }
.faq-tools input, .faq-tools select { max-width: 100%; padding: 10px; border: 1px solid #aaa; }
.related-services { padding: 20px; margin: 24px 0; background: #f3f6f8; line-height: 1.7; }
.related-services a { text-decoration: underline; }
.cms img { max-width: 100%; height: auto; }
@media (max-width: 900px) {
    .site-announcement { padding-right: 64px; }
    #mobile_menu { display: block; position: absolute; right: 12px; top: 12px; z-index: 100; padding: 0 6px; background: #222; color: #fff; }
    #mobile_menu i { display: block; font-size: 40px; }
}
@media (max-width: 768px) {
    .book_subs .bs_tile { width: 100%; }
    body { padding-bottom: 66px; }
    .mobile-actions { display: flex; position: fixed; z-index: 900; bottom: 0; left: 0; right: 0; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); gap: 10px; background: #fff; border-top: 1px solid #ccc; }
    .mobile-actions a { flex: 1; text-align: center; padding: 12px 8px; background: #175b85; color: #fff; font-weight: bold; border-radius: 3px; }
    .mobile-actions a:first-child { background: #343434; }
    body.cookie-banner-open .mobile-actions, body.payment-page .mobile-actions { display: none; }
    .booking-summary { padding: 16px; }
    dl.booking-summary { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
