
/* 0. Reserve the header's space before it is drawn, so the page does not jump (layout shift) */
body:not(:has(#bb-client-header))::before{content:"";display:block;height:136px}
@media (max-width:900px){body:not(:has(#bb-client-header))::before{height:99px}}
/* 1. Logo: the SVG has built-in padding, scale the artwork up to fill the white space */
#bb-client-header .bb-brand{overflow:visible}
#bb-client-header .bb-brand img{transform:scale(1.32);transform-origin:left center}
#bb-client-header .bb-mobile-logo img{transform:scale(1.3);transform-origin:center center}
#bb-client-header .bb-mobile-drawer-head img{height:46px!important;width:auto!important;transform:scale(1.3);transform-origin:left center}
/* 2. Floating bar: tighter, no dead space, hidden until the visitor scrolls */
@media (max-width:767px){
#bb-mobile-contact-bar{padding-bottom:max(2px,calc(env(safe-area-inset-bottom) - 18px))!important;transform:translateY(115%);transition:transform .32s cubic-bezier(.2,.7,.2,1)!important;will-change:transform}
html.bb-scrolled #bb-mobile-contact-bar{transform:translateY(0)}
html:has(.bb-mobile-drawer.is-open) #bb-mobile-contact-bar,html:has(.bb-mobile-drawer.is-open) #editPrefsBtn{transform:translateY(130%)!important;opacity:0;pointer-events:none}
#bb-mobile-contact-bar .bb-emergency{height:22px!important}
#bb-mobile-contact-bar .bb-call .bb-icon{background:#F8A643!important;color:#0f1b2d!important}#bb-mobile-contact-bar .bb-call .bb-icon svg{color:#0f1b2d!important;stroke:#0f1b2d}
#bb-mobile-contact-bar .bb-chat .bb-icon{background:#0f1b2d!important;color:#fff!important}
#bb-mobile-contact-bar .bb-wa .bb-icon{background:#25D366!important}
#bb-mobile-contact-bar .bb-actions{min-height:56px!important}
#bb-mobile-contact-bar .bb-action{padding:4px 2px 3px!important;gap:1px!important}
#bb-mobile-contact-bar .bb-icon{width:32px!important;height:32px!important;min-width:32px!important}
#bb-mobile-contact-bar .bb-icon svg{width:17px!important;height:17px!important}
#bb-mobile-contact-bar .bb-action strong{font-size:11.5px!important;line-height:1.15!important}
#bb-mobile-contact-bar .bb-action small{font-size:10px!important;line-height:1.1!important}
body{padding-bottom:calc(82px + env(safe-area-inset-bottom))!important}
}
/* Cookie settings button: small round icon above the WhatsApp bubble so it never covers buttons */
@media (min-width:768px){html body #editPrefsBtn{font-size:0!important;width:44px!important;height:44px!important;min-width:0!important;padding:0!important;border-radius:50%!important;left:18px!important;bottom:80px!important;display:grid!important;place-items:center}html body #editPrefsBtn::before{content:"\1F36A";font-size:20px;line-height:1}}
/* 3. Mobile menu: full screen, one colour system, obvious tap targets */
#bb-client-header .bb-mobile-drawer{width:100%!important;max-width:100%!important;left:0!important;right:0!important;padding:0!important;display:flex!important;flex-direction:column;background:#fff!important}
#bb-client-header .bb-mobile-drawer-head{padding:14px 20px!important;border-bottom:1px solid #e6ebf2!important;display:flex!important;align-items:center;justify-content:space-between;margin:0!important;min-height:72px}
#bb-client-header .bb-mobile-close{width:42px!important;height:42px!important;border-radius:50%!important;background:#f1f4f8!important;color:#0f1b2d!important;font-size:24px!important;line-height:1!important;display:grid!important;place-items:center;border:0!important}
#bb-client-header .bb-mobile-drawer .bb-mobile-drawer-nav{flex:1;overflow-y:auto;padding:8px 20px 20px!important;display:grid!important;grid-template-columns:1fr 1fr;gap:10px;align-content:start}
#bb-client-header .bb-mobile-drawer-nav::before{content:"Our services";grid-column:1/-1;font-size:13px;font-weight:600;color:#64748b;margin:8px 0 -2px}
#bb-client-header .bb-mobile-drawer-nav .bb-mobile-accordion{grid-column:1/-1;border:1px solid #e6ebf2!important;border-radius:14px;overflow:hidden;background:#fff}
#bb-client-header .bb-mobile-drawer-nav .bb-mobile-accordion>button{width:100%;display:flex!important;align-items:center;justify-content:space-between;padding:15px 16px!important;font-size:17px!important;font-weight:700!important;color:#0f1b2d!important;background:#fff!important;border:0!important;min-height:54px}
#bb-client-header .bb-mobile-drawer-nav .bb-mobile-accordion>button svg{width:30px!important;height:30px!important;padding:8px;border-radius:50%;background:#fff3e2;color:#b45309!important;stroke:#b45309;transition:transform .25s ease}
#bb-client-header .bb-mobile-drawer-nav .bb-mobile-accordion:has(.bb-mobile-subnav.is-open)>button{background:#0f1b2d!important;color:#fff!important}
#bb-client-header .bb-mobile-drawer-nav .bb-mobile-accordion:has(.bb-mobile-subnav.is-open)>button svg{transform:rotate(180deg);background:#F8A643;color:#0f1b2d!important;stroke:#0f1b2d}
#bb-client-header .bb-mobile-drawer-nav .bb-mobile-subnav{background:#f7f9fc;padding:4px 0!important;margin:0!important}
#bb-client-header .bb-mobile-drawer-nav .bb-mobile-subnav a{display:flex!important;align-items:center;justify-content:space-between;padding:13px 16px!important;font-size:15.5px!important;font-weight:600!important;color:#1f2a3d!important;border-top:1px solid #e6ebf2;text-decoration:none!important}
#bb-client-header .bb-mobile-drawer-nav .bb-mobile-subnav a:first-child{border-top:0}
#bb-client-header .bb-mobile-drawer-nav .bb-mobile-subnav a::after{content:"›";font-size:22px;line-height:1;color:#b45309;margin-left:12px}
#bb-client-header .bb-mobile-drawer-nav>a{grid-column:auto;display:flex!important;align-items:center;justify-content:center;min-height:52px;padding:12px!important;border-radius:14px!important;background:#f1f4f8!important;color:#0f1b2d!important;font-size:16px!important;font-weight:700!important;text-decoration:none!important;border:0!important;text-align:center}
#bb-client-header .bb-mobile-drawer-nav>a{margin:0!important}
#bb-client-header .bb-mobile-drawer-actions{position:sticky;bottom:0;display:grid!important;grid-template-columns:1fr 1fr;gap:10px;padding:12px 20px calc(12px + env(safe-area-inset-bottom))!important;background:#fff!important;border-top:1px solid #e6ebf2;box-shadow:0 -8px 20px rgba(15,27,45,.06);margin:0!important}
#bb-client-header .bb-mobile-drawer-actions a{margin:0!important;min-height:52px!important;border-radius:14px!important;justify-content:center!important;font-size:15.5px!important;font-weight:700!important}
#bb-client-header .bb-mobile-drawer-actions .bb-mobile-call{background:#F8A643!important;color:#0f1b2d!important}
#bb-client-header .bb-mobile-drawer-actions .bb-mobile-call svg{color:#0f1b2d!important;stroke:#0f1b2d}
#bb-client-header .bb-mobile-drawer-actions .bb-mobile-whatsapp{background:#25D366!important;color:#fff!important}
/* Dark sections: the call-to-action line inside a tile was navy on navy */
.bbc-page .bbs--dark .bbc-tile2__body .bbs-cta__line,.bbs--dark .bbs-cta .bbs-cta__line{color:#fff!important}
/* Photo crops: keep faces and boilers in frame (cover, no blur) */
main img[src*="/baxi-combi-kitchen-wall-butt-lane"]{object-position:50% 22%!important}
main img[src*="/IMG_4549"]{object-position:50% 18%!important}
main img[src*="/IMG_4475"]{object-position:50% 0%!important}
main img[src*="/IMG_4563"]{object-position:50% 0%!important}
main img[src*="/IMG_4616"]{object-position:50% 8%!important}
main img[src*="/brightburn-van-racking-stock"]{object-position:50% 5%!important}
main img[src*="/new-baxi-combi-boiler-cupboard"]{object-position:50% 15%!important}
main img[src*="/new-glow-worm-combi-boiler"]{object-position:50% 10%!important}
main img[src*="/boiler-template-old-combi-removed-burslem"]{object-position:50% 12%!important}
main img[src*="/IMG_3367"]{object-position:50% 62%!important}
main img[src*="/magnetic-filter-inhibitor-knypersley-biddulph"]{object-position:50% 58%!important}
main img[src*="/gas-pipe-repair-under-floorboards-meir"]{object-position:50% 8%!important}
main img[src*="/brushed-brass-thermostatic-shower"]{object-position:50% 18%!important}
main img[src*="/IMG_4608"]{object-position:50% 8%!important}
main img[src*="/ideal-logic-combi-kitchen-wall-unit"]{object-position:50% 20%!important}
main img[src*="/brightburn-customer-portal"]{object-position:50% 0%!important}
main img[src*="/IMG_1719-scaled-e1756980559584"]{object-position:50% 0%!important}
main img[src*="/IMG_4594"]{rotate:180deg}
/* Thin amber strip between sections, to break up the page */
:is(.bbs,.bbm,section.brxe-section)+:is(.bbs,section.brxe-section){position:relative}:is(.bbs,.bbm,section.brxe-section)+:is(.bbs,section.brxe-section)::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#F8A643,#E8912A 50%,#F8A643);z-index:2;pointer-events:none}
/* Prices table on phones: the price cell kept its 16% desktop width, so the text stacked word by word */
@media (max-width:767px){.bbc-page .bbc-table tbody td,.bbc-page .bbc-stack--table td:nth-child(2),.bbc-page .bbc-stack--table td:nth-child(3){width:100%!important;max-width:none!important}}
/* Cookie settings button: hidden on phones (it covered page content); a Cookie Settings link sits in the footer instead */
@media (max-width:900px){html body button#editPrefsBtn#editPrefsBtn{display:none!important}}
/* 4. Reviews: keep the live Google reviews widget, hide the fixed quote cards next to it */
.bbs:has(.bbk-widget) .bbq,.bbs:has(.ti-widget) .bbq,section:has(.bbk-widget) .bbq{display:none!important}
/* 5. Animations: subtle reveal as sections come into view, gentle hover lift; off for reduced motion */
@media (prefers-reduced-motion:no-preference){
html.bb-anim .bb-rv{opacity:0;transform:translateY(16px);transition:opacity .6s cubic-bezier(.2,.7,.2,1),transform .6s cubic-bezier(.2,.7,.2,1)}
html.bb-anim .bb-rv.is-in{opacity:1;transform:none}
@media (hover:hover){
main a[class*="btn"],main .bbk-btn,main a.bb-btn,main .bbs a[class*="button"]{transition:transform .2s ease,box-shadow .2s ease}
main a[class*="btn"]:hover,main .bbk-btn:hover,main a.bb-btn:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(15,27,45,.14)}
main .bbk-job,main .bbs article,main .bbc-card,main [class*="__card"]{transition:transform .25s ease,box-shadow .25s ease}
main .bbk-job:hover,main .bbs article:hover,main .bbc-card:hover,main [class*="__card"]:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(15,27,45,.10)}
}
#bb-client-header{transition:box-shadow .25s ease}
html.bb-scrolled #bb-client-header{box-shadow:0 6px 18px rgba(15,27,45,.08)}
}