/* T3 Inspections online booking. Uses the site's own theme (site.css tokens: warm paper,
   dark ink, orange accent, Figtree + Bricolage Grotesque) instead of the old Acuity look. */
.t3b-wrap { padding: 0; }
.t3b { --t3b-ink: var(--ink, #1b2026); --t3b-muted: var(--muted, #5d6872); --t3b-line: var(--line-2, #d4d0c7); --t3b-soft: var(--line, #e3e0d9);
  --t3b-red: #b3261e; --t3b-orange: var(--orange, #ec8c1e); --t3b-orange-soft: var(--orange-soft, #fdf1e1);
  max-width: 860px; margin: 0 auto; color: var(--t3b-ink); font-family: var(--body, 'Figtree', system-ui, sans-serif); font-size: 1.0625rem; line-height: 1.5; }
.t3b *, .t3b *::before, .t3b *::after { box-sizing: border-box; }
:where(.t3b) p { margin: 0; }
:where(.t3b) a { color: var(--t3b-ink); font-weight: 600; text-underline-offset: 3px; }
.t3b :focus-visible { outline: 3px solid var(--t3b-orange); outline-offset: 3px; border-radius: 8px; }
.t3b-icon { display: inline-flex; vertical-align: middle; }
.t3b-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.t3b-preview { margin: 0 0 16px; padding: 12px 16px; background: #fff3cd; border-radius: 12px; color: #1b2026; font-size: .95rem; line-height: 1.45; }
.t3b-intro { text-align: center; color: var(--t3b-muted); padding: 0 0 8px; max-width: 620px; margin: 0 auto; }
.t3b-stephead { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin: 18px 0 22px; }
.t3b-step { margin: 0; font-family: var(--display, 'Bricolage Grotesque', system-ui, sans-serif); font-size: 1.5rem; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; text-align: center; }
.t3b-step .t3b-icon { margin-right: 10px; color: var(--t3b-orange); }
.t3b-back { justify-self: start; display: inline-flex; align-items: center; gap: 2px; min-height: 44px; padding: 0 8px 0 0; border: 0; background: none; cursor: pointer; font: inherit; font-size: .9rem; font-weight: 700; color: var(--t3b-muted); }
.t3b-back:hover { color: var(--t3b-ink); }
.t3b-label { margin: 0 0 6px; font-size: .95rem; line-height: 1.3; font-weight: 700; letter-spacing: 0; font-family: inherit; color: var(--t3b-ink); display: block; }
.t3b-section { margin: 28px 0 18px; font-size: 1.4rem; line-height: 1.2; font-weight: 700; font-family: var(--display, system-ui); }

.t3b-card { background: var(--paper, #fff); border: 1px solid var(--t3b-soft); border-radius: var(--radius-lg, 22px); box-shadow: var(--shadow, 0 8px 24px rgba(27, 32, 38, .07)); margin: 6px 0 26px; }
.t3b-pad { padding: 28px; }
.t3b-rowname { font-weight: 700; }
.t3b-detail { color: var(--t3b-muted); }
.t3b-typecard, .t3b-addrcard { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.t3b-x { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--t3b-soft); cursor: pointer; color: var(--t3b-ink); display: grid; place-items: center; }
.t3b-x:hover { background: var(--t3b-line); }

/* Step 1: pick the size of the home */
.t3b-hint { font-size: .9rem; line-height: 1.4; color: var(--t3b-muted); margin-bottom: 10px; }
.t3b-picker { position: relative; scroll-margin-top: 84px; }
.t3b-size { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 64px; padding: 10px 14px; border: 1px solid var(--t3b-line); border-radius: 14px; background: var(--paper, #fff); color: var(--t3b-ink); font: inherit; text-align: left; cursor: pointer; }
.t3b-size:hover, .t3b-size[aria-expanded="true"] { border-color: var(--t3b-ink); }
.t3b-size .t3b-icon { flex: none; transition: transform .15s; }
.t3b-size[aria-expanded="true"] .t3b-icon { transform: rotate(180deg); }
.t3b-pick-current { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.t3b-placeholder { color: var(--t3b-muted); font-weight: 600; }
.t3b-menu { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); max-height: min(58vh, 520px); overflow: auto; margin: 0; padding: 6px; list-style: none; background: var(--paper, #fff); border: 1px solid var(--t3b-line); border-radius: 16px; box-shadow: var(--shadow-lg, 0 24px 60px rgba(27, 32, 38, .18)); }
.t3b-menu:focus-visible { outline: 3px solid var(--t3b-orange); outline-offset: 2px; }
.t3b-menu-group { padding: 14px 12px 6px; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-ink, #a35700); }
.t3b-opt { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px; border-radius: 12px; cursor: pointer; }
.t3b-opt + .t3b-opt { margin-top: 2px; }
.t3b-opt:hover, .t3b-opt.active { background: var(--t3b-orange-soft); }
.t3b-opt[aria-selected="true"] { box-shadow: inset 3px 0 0 var(--t3b-orange); background: var(--t3b-orange-soft); }
.t3b-opt-main { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.t3b-opt-title { font-weight: 700; line-height: 1.25; }
.t3b-opt-sub { color: var(--t3b-muted); font-size: .92rem; line-height: 1.3; }
.t3b-opt-meta { display: flex; flex-direction: column; align-items: flex-end; flex: none; text-align: right; gap: 1px; }
.t3b-opt-price { font-weight: 800; line-height: 1.25; }
.t3b-opt-time { color: var(--t3b-muted); font-size: .85rem; line-height: 1.3; white-space: nowrap; }
.t3b-after { display: grid; gap: 18px; margin-top: 18px; }
.t3b-after:empty { display: none; }
.t3b-callout { padding: 14px 16px; border-radius: 12px; background: var(--t3b-orange-soft); color: var(--orange-ink, #a35700); font-weight: 600; font-size: .98rem; }
/* Add-ons: two short lists (typical, additional), one row each, the detail in small grey text. */
.t3b-addonhead { font-size: .95rem; font-weight: 700; }
.t3b-addonbox { border: 0; padding: 0; margin: 12px 0 0; min-width: 0; }
.t3b-addonbox legend { padding: 0; margin-bottom: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--t3b-muted); }
.t3b-addons { border: 1px solid var(--t3b-line); border-radius: 14px; overflow: hidden; background: var(--paper, #fff); }
.t3b-addon { display: flex; align-items: center; gap: 12px; cursor: pointer; padding: 12px 14px; border-top: 1px solid var(--t3b-soft); line-height: 1.3; font-size: .95rem; transition: background .15s; }
.t3b-addon:first-child { border-top: 0; }
.t3b-addon:hover { background: var(--t3b-orange-soft); }
.t3b-addon:has(input:checked) { background: var(--t3b-orange-soft); }
.t3b-addon-off, .t3b-addon-off:hover { cursor: default; background: none; color: var(--t3b-muted); }
.t3b-addon-off input { border: 1.5px solid #c9ccd1; border-radius: 3px; background: #eef0f2; appearance: none; -webkit-appearance: none; }
.t3b-addon input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--t3b-orange); }
.t3b-addon-text { flex: 1; min-width: 0; }
.t3b-addon-name { display: block; font-weight: 600; }
.t3b-addon-detail { display: block; margin-top: 2px; font-size: .85rem; color: var(--t3b-muted); }
.t3b-addon-price { flex: none; font-weight: 700; white-space: nowrap; }
.t3b-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 0 0; border-top: 1px solid var(--t3b-soft); color: var(--t3b-muted); }
.t3b-total b { font-family: var(--display, system-ui); font-size: 1.6rem; color: var(--t3b-ink); letter-spacing: -.02em; }

.t3b-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: .6em 1.4em; border: 1px solid transparent; border-radius: 999px; background: var(--t3b-orange); color: var(--t3b-ink); font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2; cursor: pointer; white-space: nowrap; box-shadow: 0 6px 18px rgba(236, 140, 30, .28); transition: transform .15s, background .15s; }
.t3b-btn:hover { background: var(--orange-hi, #f6a23f); transform: translateY(-1px); }
.t3b-btn[disabled] { opacity: .5; cursor: default; transform: none; }
.t3b-btn-sm { min-height: 40px; font-size: .95rem; }
.t3b-btn-lg { min-height: 56px; padding: .8em 1.8em; font-size: 1.1rem; }
.t3b-btn-block { width: 100%; }
.t3b-btn-ghost { background: var(--paper, #fff); color: var(--t3b-ink); border-color: var(--t3b-line); box-shadow: none; }
.t3b-btn-ghost:hover { background: var(--paper, #fff); border-color: var(--t3b-ink); }
.t3b-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.t3b-link { display: inline-block; margin-top: 16px; }

/* Step 2: date and time */
.t3b-datetime { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; padding: 28px; min-height: 420px; }
.t3b-calhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.t3b-month { font-family: var(--display, system-ui); font-size: 1.2rem; }
.t3b-arrow { width: 44px; height: 44px; border: 1px solid var(--t3b-line); border-radius: 50%; background: var(--paper, #fff); color: var(--t3b-ink); cursor: pointer; display: grid; place-items: center; }
.t3b-arrow:hover:not([disabled]) { border-color: var(--t3b-ink); }
.t3b-arrow[disabled] { opacity: .3; cursor: default; }
.t3b-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; }
.t3b-wd { text-align: center; font-weight: 700; font-size: .8rem; color: var(--t3b-muted); padding: 8px 0 10px; }
.t3b-day-btn { position: relative; isolation: isolate; height: 52px; border: 0; background: none; color: var(--t3b-ink); font: inherit; font-weight: 600; cursor: pointer; }
.t3b-day-btn::before { content: ""; position: absolute; left: 50%; top: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; z-index: -1; }
.t3b-day-btn[disabled] { color: rgba(27, 32, 38, .22); font-weight: 400; cursor: default; }
.t3b-day-btn:not([disabled])::before { background: var(--t3b-orange-soft); }
.t3b-day-btn:not([disabled]):hover::before { background: #fbdfb8; }
.t3b-day-btn.on { color: var(--t3b-ink); }
.t3b-day-btn.on::before { background: var(--t3b-orange); }
.t3b-day { margin: 0; padding: 0 0 12px; font-family: var(--display, system-ui); font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
.t3b-tz { font-size: .8rem; color: var(--t3b-muted); font-weight: 600; margin-bottom: 18px; }
.t3b-tz span { text-decoration: underline; }
.t3b-timelist { display: flex; flex-wrap: wrap; gap: 10px; }
.t3b-time { min-width: 128px; min-height: 52px; padding: 12px 18px; border: 1px solid var(--t3b-line); border-radius: 999px; background: var(--paper, #fff); color: var(--t3b-ink); font: inherit; font-weight: 700; cursor: pointer; transition: border-color .15s, background .15s; }
.t3b-time:hover { border-color: var(--t3b-orange); background: var(--t3b-orange-soft); }
.t3b-time b { font-weight: 700; }

/* Step 3: your details */
.t3b-form { padding: 28px; }
.t3b-form > p:not(.t3b-paynote):not(.t3b-msg) { margin-bottom: 18px; }
.t3b-cols > div { max-width: 460px; }
.t3b-field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.t3b-field label, .t3b-field legend { display: block; padding: 0; font-weight: 700; font-size: .95rem; line-height: 1.3; margin-bottom: 6px; }
.t3b-req { color: var(--t3b-red); }
.t3b-in { display: block; width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--t3b-line); border-radius: 12px; background: var(--paper, #fff); color: var(--t3b-ink); font: inherit; font-size: 1rem; line-height: 1.4; }
.t3b-in:focus-visible { border-color: var(--t3b-orange); outline-offset: 1px; }
.t3b-in.bad { border-color: var(--t3b-red); }
select.t3b-in { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b2026' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; }
.t3b-err { margin: 6px 0 0; font-size: .85rem; line-height: 1.3; color: var(--t3b-red); font-weight: 600; }
.t3b-radios legend { margin-bottom: 8px; }
.t3b-radio { display: inline-flex !important; align-items: center; gap: 8px; margin-right: 22px; font-size: 1rem; font-weight: 500 !important; cursor: pointer; }
.t3b-radio input { width: 20px; height: 20px; margin: 0; accent-color: var(--t3b-orange); }
.t3b-paynote { margin-top: 12px; color: var(--t3b-muted); font-weight: 600; font-size: .95rem; }
.t3b-note { margin: 0; padding: 4px 0; color: var(--t3b-muted); }
.t3b-msg { margin: 0 0 20px; padding: 14px 18px; background: #fbe9e7; border-radius: 12px; color: var(--t3b-red); font-weight: 700; }
.t3b-range { background: var(--t3b-orange-soft); border-radius: 16px; padding: 20px 22px; margin: 0 0 20px; }
.t3b-range.t3b-extended { background: var(--info-soft, #e6eef8); }
.t3b-range h3 { margin: 0 0 6px; font-size: 1.15rem; }
.t3b-range p { margin-bottom: 14px; }
.t3b-range p:last-child { margin-bottom: 0; }
.t3b-done { text-align: center; }
.t3b-done .t3b-icon { color: var(--good, #23784a); }
.t3b-done .t3b-icon svg { width: 52px; height: 52px; }
.t3b-done .t3b-step { margin: 8px 0 14px; font-size: 1.6rem; }
.t3b-done p { margin-bottom: 8px; }

/* Paying: the choice on the form, then PayPal's buttons on the confirmation and "my inspection" pages */
.t3b-paychoice { display: grid; gap: 10px; max-width: 460px; }
.t3b-paypick { display: flex !important; align-items: flex-start; gap: 12px; margin: 0; padding: 14px 16px; border: 1px solid var(--t3b-line); border-radius: 12px; background: var(--paper, #fff); }
.t3b-paypick:has(input:checked) { border-color: var(--t3b-orange); background: var(--t3b-orange-soft); }
.t3b-paypick input { margin-top: 2px; flex: none; }
.t3b-paytext { display: grid; gap: 2px; }
.t3b-paysub { color: var(--t3b-muted); font-size: .9rem; }
.t3b-pay { margin-top: 18px; }
.t3b-pay-title { margin: 0 0 12px; font-size: 1.25rem; }
.t3b-pay .t3b-callout { margin-bottom: 14px; }
.t3b-paypal { max-width: 420px; min-height: 60px; margin-bottom: 8px; }
.t3b-paid { text-align: center; }
.t3b-paid .t3b-icon { color: var(--good, #23784a); }
.t3b-paid .t3b-icon svg { width: 44px; height: 44px; }
.t3b-paidline { color: var(--good, #23784a); font-weight: 700; }

@media (max-width: 760px) {
  .t3b-pad, .t3b-form, .t3b-datetime { padding: 20px 16px; }
  .t3b-datetime { grid-template-columns: 1fr; min-height: 0; }
  .t3b-stephead { grid-template-columns: 1fr; gap: 6px; }
  .t3b-step, .t3b-back { justify-self: start; text-align: left; }
  .t3b-step { font-size: 1.35rem; }
  .t3b-day-btn { height: 46px; }
  .t3b-time { flex: 1 1 calc(50% - 6px); min-width: 0; }
  .t3b-actions .t3b-btn { flex: 1 1 100%; }
  .t3b-total b { font-size: 1.4rem; }
}

/* Compact layout on larger screens: the whole flow should fit on one screen without scrolling much. */
@media (min-width: 761px) {
  body:has(#t3-booking) .page-hero { padding: 22px 0 16px; }
  body:has(#t3-booking) .page-hero .h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
  body:has(#t3-booking) .page-hero .crumbs { margin-bottom: 8px; }
  body:has(#t3-booking) .page-hero .eyebrow { margin-bottom: 4px; }
  body:has(#t3-booking) .page-hero .lead { font-size: .95rem; margin-top: 6px; }
  body:has(#t3-booking) .section-tight { padding: 18px 0 40px; }
  body:has(#t3-booking) .wrap-narrow { max-width: 980px; }
  .t3b { font-size: .95rem; max-width: 940px; }
  .t3b-intro { padding-bottom: 0; }
  .t3b-stephead { margin: 8px 0 12px; }
  .t3b-step { font-size: 1.3rem; }
  .t3b-card { margin: 4px 0 14px; }
  .t3b-pad, .t3b-form { padding: 18px 22px; }
  .t3b-field { margin: 0 0 12px; }
  .t3b-in { min-height: 42px; padding: 8px 12px; }
  .t3b-size { min-height: 56px; }
  .t3b-btn-lg { min-height: 48px; font-size: 1rem; }
  .t3b-actions { margin-top: 16px; }
  .t3b-section { margin: 16px 0 10px; font-size: 1.2rem; }
  .t3b-datetime { padding: 18px 22px; min-height: 0; gap: 24px; }
  .t3b-day-btn { height: 42px; }
  .t3b-time { min-height: 44px; padding: 8px 16px; }
  .t3b-cols > div, .t3b-formgrid { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; align-items: start; }
  .t3b-cols > div > .t3b-radios, .t3b-cols > div > .hp-field, .t3b-cols > div > .t3b-range,
  .t3b-formgrid > .t3b-wide, .t3b-formgrid > .t3b-range, .t3b-formgrid > .t3b-msg, .t3b-formgrid > .t3b-btn { grid-column: 1 / -1; }
  .t3b-paychoice { max-width: none; grid-template-columns: 1fr 1fr; }
}
.t3b-fixsize { margin-top: 6px; }
@media (min-width: 761px) {
  .t3b-typecard.t3b-pad, .t3b-addrcard.t3b-pad { padding: 10px 18px; }
  .t3b-typecard .t3b-detail, .t3b-addrcard .t3b-detail { font-size: .9rem; line-height: 1.35; }
  .t3b-x { width: 36px; height: 36px; }
}

/* Slim page header on the booking pages so the address box is on screen straight away. */
body:has(#t3-booking) .page-hero { padding: 10px 0 8px; }
body:has(#t3-booking) .page-hero .crumbs,
body:has(#t3-booking) .page-hero .eyebrow,
body:has(#t3-booking) .page-hero .lead { display: none; }
body:has(#t3-booking) .page-hero .h1 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 0; }
body:has(#t3-booking) .section-tight { padding: 12px 0 32px; }
.t3b-preview { margin: 0 0 8px; padding: 6px 12px; font-size: .8rem; border-radius: 8px; }
.t3b-intro { font-size: .9rem; max-width: none; }
@media (min-width: 761px) {
  .t3b { font-size: .9rem; }
  .t3b-in { min-height: 38px; padding: 6px 10px; font-size: .95rem; }
  .t3b-field { margin: 0 0 8px; }
  .t3b-pad, .t3b-form { padding: 14px 18px; }
  .t3b-step { font-size: 1.2rem; }
  .t3b-stephead { margin: 4px 0 8px; }
}
body:has(#t3-booking) .mobile-cta { display: none; }

/* Address suggestions under the street box */
.t3b-suggestwrap { position: relative; }
.t3b-suggest { position: absolute; z-index: 30; left: 0; right: 0; margin: 2px 0 0; padding: 4px; list-style: none; background: var(--paper, #fff); border: 1px solid var(--t3b-line); border-radius: 12px; box-shadow: 0 10px 28px rgba(27, 32, 38, .16); }
.t3b-suggest-item { padding: 9px 12px; border-radius: 8px; cursor: pointer; line-height: 1.3; }
.t3b-suggest-item span { color: var(--t3b-muted); font-size: .88em; }
.t3b-suggest-item.on, .t3b-suggest-item:hover { background: var(--t3b-orange-soft); }
.t3b-suggest-credit { padding: 4px 12px 2px; text-align: right; font-size: .7rem; color: var(--t3b-muted); }
