/* Adult / Child landing pages: on-page booking (inline-booking.js). Colours follow the landing palette. */
.ib-card{--ib-navy:#14284b;--ib-ink:#0b1a33;--ib-yellow:#f2b544;--ib-aqua:#eef3f9;--ib-line:#e3e8f0;--ib-muted:#6b7690;--ib-text:#4a5672}
html body .ib-avail{display:flex;flex-direction:column;gap:12px}
html body .ib-hint{margin:0;font-size:14px;line-height:1.5;color:#4a5672}
html body .ib-loading{padding:14px 0;color:#6b7690}
html body .ib-warn{margin:0;padding:10px 14px;border-radius:12px;background:#fff4e5;color:#8a4b00;font-size:14px;font-weight:600}
html body .ib-call{margin:0;font-size:13px;color:#4a5672}
html body .ib-call a{color:#14284b;font-weight:800;text-decoration:underline;text-underline-offset:3px}

/* Next available */
.ib-next{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;background:#14284b;color:#fff}
html body .ib-next-ic{flex:none;width:38px;height:38px;border-radius:10px;background:#f2b544;color:#0b1a33;display:flex;align-items:center;justify-content:center}
html body .ib-next b{display:block;font-size:14px;font-weight:800;letter-spacing:.1px}
html body .ib-next span{font-size:13.5px;line-height:1.35;color:#dce3ec}

/* Available appointments */
.ib-box{border:1px solid #e3e8f0;border-radius:16px;padding:16px;background:#fff}
html body .ib-title{margin:0 0 6px;font-size:17px;font-weight:800;color:#0b1a33;letter-spacing:-.2px}
html body .ib-day{margin:12px 0 8px;font-size:13.5px;font-weight:800;color:#0b1a33}
html body .ib-day span{color:#14284b;font-weight:700}
html body .ib-times{display:grid;grid-template-columns:repeat(auto-fill,minmax(78px,1fr));gap:8px}
html body .ib-time{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-height:52px;padding:6px 4px;border:1.5px solid #d5dce7;border-radius:10px;background:#fff;color:#0b1a33;font:inherit;cursor:pointer;transition:border-color .15s,background .15s}
html body .ib-time b{font-size:15px;font-weight:800}
html body .ib-time small{font-size:11.5px;color:#8a93a8}
html body .ib-time:hover{border-color:#14284b}
html body .ib-time.on{background:#14284b;border-color:#14284b;color:#fff}
html body .ib-time.on small{color:#cdd8e8}
html body .ib-time:focus-visible,html body .ib-more:focus-visible,html body .ib-link:focus-visible,html body .ib-cd:focus-visible,html body .ib-nav:focus-visible,html body .ib-x:focus-visible{outline:3px solid #f2b544;outline-offset:2px}
html body .ib-more{margin-top:12px;padding:0;border:0;background:none;color:#14284b;font:inherit;font-size:14px;font-weight:800;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
html body .ib-tz{margin:8px 0 0;font-size:12px;color:#8a93a8}
html body .ib-link{padding:0;border:0;background:none;color:#14284b;font:inherit;font-size:13px;font-weight:800;text-decoration:underline;text-underline-offset:3px;cursor:pointer}

/* Chosen time */
.ib-chosen{display:flex;align-items:center;gap:12px;margin-top:14px;padding:12px 14px;border-radius:12px;background:#e7f5ec;border:1px solid #bfe3cc}
html body .ib-chosen-ic{flex:none;width:28px;height:28px;border-radius:50%;background:#1f8a4c;color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center;font-size:14px}
html body .ib-chosen>span:nth-child(2){flex:1;min-width:0}
html body .ib-chosen small{display:block;font-size:11px;font-weight:800;letter-spacing:1.2px;text-transform:uppercase;color:#2f6b47}
html body .ib-chosen b{display:block;font-size:14.5px;color:#0b1a33}

/* Calendar popup */
html.ib-open{overflow:hidden}
.ib-dlg{width:min(560px,calc(100vw - 24px));max-height:calc(100vh - 32px);padding:0;border:0;border-radius:20px;box-shadow:0 30px 80px rgba(11,26,51,.35);color:#0b1a33;font-family:"Manrope",system-ui,-apple-system,"Segoe UI",sans-serif}
.ib-dlg::backdrop{background:rgba(11,26,51,.6)}
.ib-dlg-in{display:flex;flex-direction:column;max-height:calc(100vh - 32px)}
.ib-dlg header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:20px 22px 14px;border-bottom:1px solid #e3e8f0}
.ib-dlg header small{display:block;font-size:11px;font-weight:800;letter-spacing:1.6px;text-transform:uppercase;color:#6b7690}
.ib-dlg h2{margin:4px 0 0;font-size:20px;font-weight:800;letter-spacing:-.3px}
html body .ib-x{flex:none;width:40px;height:40px;border:0;border-radius:50%;background:#eef3f9;color:#14284b;font-size:24px;line-height:1;cursor:pointer}
.ib-dlg-body{padding:16px 22px 22px;overflow-y:auto}
html body .ib-cal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
html body .ib-cal-head b{font-size:15px}
html body .ib-nav{width:36px;height:36px;border:1px solid #e3e8f0;border-radius:10px;background:#fff;color:#14284b;font-size:20px;cursor:pointer}
html body .ib-nav:disabled{opacity:.35;cursor:default}
html body .ib-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}
html body .ib-wd{font-size:11px;font-weight:800;color:#8a93a8;padding:4px 0}
html body .ib-cd{height:38px;border:0;border-radius:10px;background:#eef3f9;color:#14284b;font:inherit;font-size:14px;font-weight:800;cursor:pointer;display:flex;align-items:center;justify-content:center}
html body .ib-cd.on{background:#14284b;color:#fff}
html body .ib-cd.off{background:none;color:#c3cad6;font-weight:600;cursor:default}
html body .ib-key{display:flex;align-items:center;gap:6px;margin:8px 0 0;font-size:12px;color:#6b7690}
html body .ib-key i{width:10px;height:10px;border-radius:3px;background:#eef3f9;border:1px solid #cdd8e8}
.ib-dlg-times{margin-top:6px}

/* Details section */
.ib-details{max-width:820px;margin:0 auto}
html body .ib-empty{display:flex;align-items:center;gap:16px;padding:22px 24px;border:1px dashed #cdd8e8;border-radius:18px;background:#fafbfd}
html body .ib-empty-ic{flex:none;width:46px;height:46px;border-radius:12px;background:#eef3f9;color:#14284b;display:flex;align-items:center;justify-content:center}
html body .ib-empty>div{flex:1}
html body .ib-empty b{display:block;font-size:16px;color:#0b1a33}
html body .ib-empty p{margin:2px 0 0;font-size:14px;color:#4a5672}
html body .ib-empty .ib-pick{flex:none;height:48px;padding:0 22px;font-size:13px;letter-spacing:.8px}
html body .ib-sum{display:flex;justify-content:space-between;gap:16px;padding:20px 22px;border-radius:18px 18px 0 0;background:#eef3f9;border:1px solid #e3e8f0;border-bottom:0}
html body .ib-sum small{display:block;font-size:11px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase;color:#6b7690}
html body .ib-sum-main b{display:block;margin-top:3px;font-size:17px;color:#0b1a33}
html body .ib-sum-main span{display:block;margin-top:2px;font-size:15px;font-weight:700;color:#14284b}
html body .ib-sum-main em{display:block;margin-top:2px;font-style:normal;font-size:13px;color:#6b7690}
html body .ib-sum-side{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:3px}
html body .ib-sum-side b{font-size:24px;font-weight:800;color:#0b1a33}
html body .ib-sum-side span{font-size:13px;color:#4a5672}
html body .ib-form{display:flex;flex-direction:column;gap:14px;padding:22px;border:1px solid #e3e8f0;border-radius:0 0 18px 18px;background:#fff;box-shadow:0 18px 44px rgba(11,26,51,.06);text-align:left}
html body .ib-form h3{margin:0;font-size:18px;font-weight:800;color:#0b1a33}
html body .ib-for{margin:0;padding:0;border:0}
html body .ib-for legend{margin-bottom:8px;font-size:14px;font-weight:700;color:#0b1a33}
html body .ib-for>div{display:flex;flex-wrap:wrap;gap:8px}
html body .ib-for label{cursor:pointer}
html body .ib-for input{position:absolute;opacity:0;pointer-events:none}
html body .ib-for span{display:inline-block;padding:9px 16px;border:1.5px solid #d5dce7;border-radius:999px;font-size:14px;font-weight:700;color:#14284b}
html body .ib-for input:checked+span{background:#14284b;border-color:#14284b;color:#fff}
html body .ib-for input:focus-visible+span{outline:3px solid #f2b544;outline-offset:2px}
html body .ib-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
html body .ib-row-age{grid-template-columns:1fr 120px}
html body .ib-row>.ib-field:only-child{grid-column:1/-1}
html body .ib-field{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:700;color:#0b1a33}
html body .ib-field i{font-style:normal;color:#c0392b}
html body .ib-field small{font-weight:500;color:#6b7690}
html body .ib-field input,html body .ib-field select,html body .ib-field textarea{width:100%;box-sizing:border-box;min-height:48px;padding:11px 14px;border:1.5px solid #d5dce7;border-radius:10px;background:#fff;color:#0b1a33;font:inherit;font-size:15px;font-weight:500}
html body .ib-field textarea{min-height:90px;resize:vertical}
html body .ib-field input:focus,html body .ib-field select:focus,html body .ib-field textarea:focus{outline:none;border-color:#14284b;box-shadow:0 0 0 3px rgba(20,40,75,.12)}
html body .ib-field [aria-invalid=true]{border-color:#c0392b}
html body .ib-field-error{font-size:12.5px;font-weight:600;color:#c0392b}
html body .ib-note{margin:0;font-size:13px;line-height:1.5;color:#6b7690}
html body .ib-terms{font-size:13.5px;color:#4a5672}
html body .ib-terms summary{cursor:pointer;font-weight:800;color:#14284b}
html body .ib-terms p{margin:8px 0 0;line-height:1.5}
html body .ib-check{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.45;color:#0b1a33;cursor:pointer}
html body .ib-check input{flex:none;width:18px;height:18px;margin-top:2px;accent-color:#14284b}
html body .ib-check a{color:#14284b;font-weight:800}
html body .ib-check.ib-invalid span{color:#c0392b}
html body .ib-error{margin:0;padding:10px 14px;border-radius:10px;background:#fdecea;color:#a12a1e;font-size:14px;font-weight:600}
html body .ib-pay{width:100%;height:56px;font-size:14px;letter-spacing:.9px}
html body .ib-pay:disabled{opacity:.7;cursor:wait}
html body .ib-secure{display:flex;align-items:center;justify-content:center;gap:6px;margin:0;font-size:12.5px;color:#6b7690}
html body .ib-details>.ib-call{margin-top:14px;text-align:center}

@media (max-width:600px){
  html body .ib-row,html body .ib-row-age{grid-template-columns:1fr}
  html body .ib-empty{flex-direction:column;align-items:flex-start}
  html body .ib-empty .ib-pick{width:100%}
  html body .ib-sum{flex-direction:column;padding:18px}
  html body .ib-sum-side{text-align:left;align-items:flex-start}
  html body .ib-form{padding:18px}
  html body .ib-times{grid-template-columns:repeat(auto-fill,minmax(70px,1fr))}
  .ib-dlg{width:100vw;max-width:100vw;max-height:100vh;height:100%;border-radius:0}
  .ib-dlg-in{max-height:100vh}
}
@media (prefers-reduced-motion:reduce){html body .ib-time{transition:none}}
html body .ib-lab{display:block}
html body section.book,html body .ib-card{scroll-margin-top:120px}
@media (max-width:760px){html body section.book,html body .ib-card{scroll-margin-top:84px}}

/* Google reviews badge (above the booking card) */
html body a.ib-rev{display:inline-flex;align-items:center;gap:10px;margin-top:22px;padding:9px 16px 9px 10px;border-radius:14px;background:#fff;box-shadow:0 6px 20px rgba(11,26,51,.10);color:#0b1a33;font-size:14px;text-decoration:none;transition:box-shadow .15s}
html body a.ib-rev:hover{box-shadow:0 8px 26px rgba(11,26,51,.18)}
html body a.ib-rev:focus-visible{outline:3px solid #f2b544;outline-offset:3px}
html body .ib-rev-dots{display:flex}
html body .ib-rev-dots span{width:30px;height:30px;margin-left:-8px;border:2px solid #fff;border-radius:50%;color:#fff;font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:center}
html body .ib-rev-dots span:first-child{margin-left:0}
html body .ib-rev-star{color:#f5b301;font-size:18px;line-height:1}
html body a.ib-rev b{font-weight:700}
html body a.ib-rev i{width:1px;height:16px;background:#cdd8e8}
html body a.ib-rev>span:last-child{font-weight:700}
html body a.ib-rev+.booking-panel{margin-top:16px}
@media (max-width:480px){html body a.ib-rev{gap:8px;font-size:13px;padding:8px 12px 8px 8px}html body .ib-rev-dots span{width:26px;height:26px;font-size:11px}}

/* Service pages: the card without the landing stylesheet */
html body .ib-solo{margin-top:16px;background:#fff;border:1px solid #e3e8f0;border-radius:18px;padding:24px;display:flex;flex-direction:column;gap:16px;box-shadow:0 14px 34px rgba(11,26,51,.08);color:#0b1a33;text-align:left;font-family:"Manrope",system-ui,-apple-system,"Segoe UI",sans-serif}
html body .ib-solo .bp-top{display:flex;justify-content:space-between;align-items:center;gap:10px}
html body .ib-solo .eyebrow{font-size:12px;font-weight:800;letter-spacing:1.9px;color:#14284b;text-transform:uppercase}
html body .ib-solo .tag-preview{background:#f6efe7;border-radius:6px;padding:4px 9px;font-size:10.5px;font-weight:800;letter-spacing:.8px;color:#5c4632;white-space:nowrap}
html body .ib-solo .bp-selected{background:#eef3f9;border-radius:12px;padding:16px 18px;display:flex;justify-content:space-between;align-items:center;gap:12px}
html body .ib-solo .bp-selected small{display:block;font-size:12px;font-weight:700;color:#6b7690}
html body .ib-solo .bp-selected strong{font-size:17px;font-weight:800;color:#0b1a33}
html body .ib-solo .bp-selected .price{font-size:30px;font-weight:800;letter-spacing:-.6px;color:#14284b;white-space:nowrap}
html body .ib-solo .field{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:700;color:#3a4560}
html body .ib-solo .ctrl{position:relative;display:flex;align-items:center;height:50px;border:1px solid #d5dce7;border-radius:10px;background:#fff;padding:0 15px}
html body .ib-solo .ctrl select{appearance:none;-webkit-appearance:none;border:0;background:transparent;font:inherit;font-size:14.5px;font-weight:600;color:#0b1a33;width:100%;height:100%;outline:0;cursor:pointer;padding-right:24px}
html body .ib-solo .ctrl .chev{position:absolute;right:15px;pointer-events:none;color:#14284b}
html body .ib-solo .ctrl:focus-within{border-color:#14284b;box-shadow:0 0 0 3px rgba(20,40,75,.12)}
html body .ib-solo .bp-note{display:flex;gap:8px;align-items:center;margin:0;font-size:12.5px;color:#6b7690}
@media (max-width:600px){html body .ib-solo{padding:18px;gap:14px}html body .ib-solo .bp-selected .price{font-size:26px}html body .ib-solo .bp-selected strong{font-size:15px}}

/* Service pages: details section added after the hero */
html body .ib-book-sec{background:#fff;padding:72px 20px;scroll-margin-top:110px}
html body .ib-book-in{max-width:820px;margin:0 auto}
html body .ib-book-sec h2{margin:0;text-align:center;font-size:36px;font-weight:800;letter-spacing:-.6px;color:#0b1a33}
html body .ib-book-lead{margin:10px auto 32px;max-width:560px;text-align:center;font-size:16px;line-height:1.6;color:#4a5672}
@media (max-width:600px){html body .ib-book-sec{padding:44px 16px}html body .ib-book-sec h2{font-size:28px}}

/* Buttons (work with or without the landing stylesheet) */
html body .ib-pay,html body .ib-pick{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:12px;background:#14284b;color:#fff;font:inherit;font-weight:800;cursor:pointer;text-decoration:none}
html body .ib-pay:hover,html body .ib-pick:hover{background:#0b1a33}
html body .ib-pay:focus-visible,html body .ib-pick:focus-visible{outline:3px solid #f2b544;outline-offset:3px}
html body a.ib-contact{width:100%;height:52px;font-size:13.5px;letter-spacing:.8px;box-sizing:border-box}
html body .ib-more-day{display:block;margin:8px 0 0;font-size:13px}
html body .ib-avail .ib-times{grid-template-columns:repeat(4,1fr)}

/* Service dropdown (our own list; the hidden <select> keeps the value) */
html body .ib-dd{position:relative;padding:0!important;cursor:pointer}
html body .ib-dd>select{position:absolute!important;inset:0;width:100%;height:100%;opacity:0;pointer-events:none}
html body .ib-dd .chev{transition:transform .18s ease;z-index:1}
html body .ib-dd.open .chev{transform:rotate(180deg)}
html body .ib-dd-btn{display:flex;align-items:center;width:100%;height:100%;min-height:48px;padding:0 44px 0 15px;border:0;border-radius:inherit;background:transparent;color:#0b1a33;font:inherit;font-size:14.5px;font-weight:600;text-align:left;cursor:pointer}
html body .ib-dd-btn span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body .ib-dd-btn:focus-visible{outline:3px solid #f2b544;outline-offset:2px}
html body .ib-dd.open{border-color:#14284b;box-shadow:0 0 0 3px rgba(20,40,75,.12)}
html body .ib-dd-list{position:absolute;z-index:50;top:calc(100% + 6px);left:-1px;right:-1px;max-height:320px;overflow-y:auto;margin:0;padding:6px;list-style:none;background:#fff;border:1px solid #e3e8f0;border-radius:12px;box-shadow:0 18px 40px rgba(11,26,51,.16);outline:none}
html body .ib-dd-list li{display:flex;align-items:center;gap:10px;min-height:44px;padding:9px 12px;border-radius:8px;font-size:14px;font-weight:600;color:#0b1a33;cursor:pointer}
html body .ib-dd-list li.act,html body .ib-dd-list li:hover{background:#eef3f9}
html body .ib-dd-list li.on{color:#14284b}
html body .ib-dd-name{flex:1;min-width:0;line-height:1.35}
html body .ib-dd-price{flex:none;font-size:13px;font-weight:700;color:#6b7690}
html body .ib-dd-list li.on .ib-dd-price{color:#14284b}
html body .ib-dd-tick{flex:none;width:16px;text-align:center;font-weight:800;color:#14284b}
@media (max-width:600px){html body .ib-dd-list{max-height:60vh}html body .ib-dd-list li{font-size:13.5px}}

/* Time buttons: one size everywhere (the theme's button padding/line-height made them taller on service pages) */
html body .ib-card .ib-time,html body .ib-dlg .ib-time{box-sizing:border-box;height:46px;min-height:0;margin:0;padding:0 4px;line-height:1.15;gap:1px;border-radius:9px;font-size:inherit;text-transform:none;letter-spacing:0;box-shadow:none}
html body .ib-card .ib-time b,html body .ib-dlg .ib-time b{font-size:14px;line-height:1.15}
html body .ib-card .ib-time small,html body .ib-dlg .ib-time small{font-size:10.5px;line-height:1.15}
html body .ib-card .ib-times,html body .ib-dlg .ib-times{gap:7px}

/* Adult / Child pages: the hero photo keeps its designed height when the booking card grows (times, details),
   and the service list can open over the next section instead of being cut off or stretching the hero. */
@media (min-width:1081px){html body .bhp .hero-media{height:900px;max-height:100%}}
html body .bhp .hero:has(.ib-dd.open){overflow:visible;z-index:5}

/* Adult / Child pages: fee plans all the same height, buttons lined up at the bottom */
html body .bhp .plans{align-items:stretch}
html body .bhp .plan .btn{margin-top:auto}

/* Plain booking boxes enhanced by bh-dropdown.js: same look as the booking card's dropdown */
html body .bh-dd{position:relative;display:flex;align-items:center;width:100%;min-height:50px;box-sizing:border-box;border:1px solid #d5dce7;border-radius:10px;background:#fff;color:#0b1a33;font-family:inherit}
html body .bh-dd>select{position:absolute!important;inset:0;width:100%;height:100%;opacity:0;pointer-events:none;margin:0}
html body .bh-dd .chev{position:absolute;right:15px;top:50%;margin-top:-8px;pointer-events:none;color:#14284b}
html body .bh-dd .ib-dd-btn{height:auto;min-height:48px}

/* Google rating pill above the other booking / contact boxes */
html body .bh-rev-wrap{display:block;margin:18px 0 14px;text-align:left}
html body .bh-rev-wrap>a.ib-rev{margin-top:0}
html body .bh-dd.bh-dd-invalid{border-color:#c0392b;box-shadow:0 0 0 3px rgba(192,57,43,.12)}

/* QA 16: phones, the selected service name in the dropdown wraps instead of being cut off */
@media (max-width:600px){html body .ib-dd-btn span{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.3;padding:8px 0}}
/* QA 19: Adult/Child pages on phones, insurer logos three across instead of stacked full width */
@media (max-width:600px){html body .bhp .logos{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}html body .bhp .logos .logo-slot{min-height:64px;padding:8px!important}html body .bhp .logos .logo-slot img{max-height:30px;max-width:100%;object-fit:contain}}
/* QA 20: prices under the time buttons easier to read */
html body .ib-card .ib-time small,html body .ib-dlg .ib-time small{color:#5b6577;font-weight:600;font-size:11.5px!important}
html body .ib-card .ib-time.on small,html body .ib-dlg .ib-time.on small{color:#dce3ec}
