/*
Theme Name: Barrier Shop
Theme URI: https://barriershop.co.uk/
Author: Barrier Shop
Description: A fast, responsive block theme for British-made access and site equipment.
Version: 1.0.29
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 8.1
Text Domain: barriershop
*/

:root {
  --bd-ink: #20262e;
  --bd-ink-soft: #313943;
  --bd-red: #e3262e;
  --bd-red-dark: #b9141d;
  --bd-warm: #f2efeb;
  --bd-line: #d9dde1;
  --bd-muted: #616b76;
  --bd-yellow: #f4c02b;
  --bd-white: #fff;
  --bd-shell: min(1680px, calc(100vw - 64px));
  --bd-shadow: 0 18px 48px rgba(24, 30, 37, .11);
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--bd-ink);
  background: var(--bd-white);
  font-family: Inter, Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.bd-menu-open { overflow: hidden; }
body.bd-header-fixed { padding-top: var(--bd-header-placeholder, 0px); }
img { max-width: 100%; height: auto; }
a { color: var(--bd-red-dark); text-underline-offset: .18em; }
a:hover { color: var(--bd-red); }
.bd-shell { width: var(--bd-shell); min-width: 0; max-width: none !important; margin-inline: auto; }
.home .wp-site-blocks > .wp-block-post-content { margin-block-start: 0 !important; }
.home .wp-block-post-content { width: 100%; max-width: none !important; }
.home .wp-block-post-content > .bd-home-hero,
.home .wp-block-post-content > .bd-trust-band,
.home .wp-block-post-content > .wp-block-group.alignfull { width: 100%; max-width: none !important; margin-inline: 0 !important; }
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px;
}

.bd-site-header { position: relative; z-index: 100; background: var(--bd-white); }
.bd-site-header.is-scrolled {
  position: fixed; inset: 0 0 auto; width: 100%; box-shadow: 0 8px 30px rgba(24, 30, 37, .13);
}
body.admin-bar .bd-site-header.is-scrolled { top: 32px; }
.bd-site-header.is-scrolled .bd-utility { display: none; }
.bd-utility { color: var(--bd-white); background: var(--bd-ink); font-size: .78rem; }
.bd-utility .bd-shell { display: flex; min-height: 38px; align-items: center; justify-content: space-between; gap: 20px; }
.bd-utility p { display: flex; align-items: center; gap: 24px; margin: 0; }
.bd-utility strong { color: var(--bd-yellow); text-transform: uppercase; letter-spacing: .08em; }
.bd-utility a { color: var(--bd-white); text-decoration: none; font-weight: 700; }
.bd-utility a:hover { color: var(--bd-yellow); }

.bd-main-header { border-bottom: 1px solid var(--bd-line); }
.bd-main-header .bd-shell { position: relative; display: grid; grid-template-columns: 260px minmax(280px, 1fr) auto; align-items: center; gap: 34px; min-height: 106px; }
.bd-logo { width: 260px; max-width: 100%; min-width: 0; display: block; line-height: 0; }
.bd-logo img { width: 100%; height: auto; display: block; aspect-ratio: 124 / 25; object-fit: contain; object-position: left center; }
.bd-header-search { position: relative; z-index: 30; display: flex; height: 50px; border: 2px solid var(--bd-ink); border-radius: 3px; background: var(--bd-white); }
.bd-header-search input { min-width: 0; flex: 1; border: 0; padding: 0 17px; background: transparent; color: var(--bd-ink); font: inherit; }
.bd-header-search input:focus { outline: 2px solid var(--bd-yellow); outline-offset: 2px; }
.bd-header-search button { border: 0; padding: 0 22px; color: var(--bd-white); background: var(--bd-red); font-weight: 800; cursor: pointer; }
.bd-header-search button:hover { background: var(--bd-red-dark); }
.bd-live-search-results { position: absolute; z-index: 60; inset: calc(100% + 8px) -2px auto; max-height: min(68vh, 540px); overflow-y: auto; color: var(--bd-ink); background: var(--bd-white); border: 1px solid var(--bd-line); border-top: 5px solid var(--bd-yellow); box-shadow: 0 18px 42px rgba(24,30,37,.24); }
.bd-live-search-results[hidden] { display: none; }
.bd-live-search-list { display: grid; }
.bd-live-search-item { min-width: 0; display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 15px; padding: 10px 14px; color: var(--bd-ink); border-bottom: 1px solid var(--bd-line); text-decoration: none; }
.bd-live-search-item:hover,
.bd-live-search-item.is-active { background: var(--bd-warm); box-shadow: inset 5px 0 0 var(--bd-red); }
.bd-live-search-item img,
.bd-live-search-placeholder { width: 72px; height: 72px; display: block; object-fit: cover; background: #f3f1ec; }
.bd-live-search-placeholder { display: grid; place-items: center; color: var(--bd-red-dark); font-size: .75rem; font-weight: 900; }
.bd-live-search-copy { min-width: 0; display: grid; gap: 5px; }
.bd-live-search-copy strong { overflow-wrap: anywhere; font-size: .88rem; line-height: 1.25; }
.bd-live-search-copy > span { color: var(--bd-red-dark); font-size: .82rem; font-weight: 900; }
.bd-live-search-status { margin: 0; padding: 22px 18px; color: var(--bd-muted); font-size: .86rem; line-height: 1.45; }
.bd-live-search-status.is-loading::before { content: ""; width: 11px; height: 11px; display: inline-block; margin-right: 9px; border: 2px solid var(--bd-line); border-top-color: var(--bd-red); border-radius: 50%; animation: bd-search-spin .7s linear infinite; }
.bd-live-search-status.is-error { color: #7b2d2d; background: #fff6f4; }
.bd-live-search-all { display: block; padding: 14px 17px; color: var(--bd-white); background: var(--bd-ink); text-decoration: none; font-size: .8rem; font-weight: 900; }
.bd-live-search-all:hover { color: var(--bd-ink); background: var(--bd-yellow); }
@keyframes bd-search-spin { to { transform: rotate(360deg); } }
.bd-header-actions { display: flex; gap: 9px; }
.bd-header-actions a { min-height: 46px; display: inline-flex; align-items: center; padding: 0 14px; color: var(--bd-ink); border: 1px solid var(--bd-line); text-decoration: none; font-size: .88rem; font-weight: 800; }
.bd-header-actions a:last-child { color: var(--bd-white); background: var(--bd-ink); border-color: var(--bd-ink); }
.bd-cart-link { gap: 9px; }
.bd-cart-count {
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 6px;
  color: var(--bd-ink);
  background: var(--bd-yellow);
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 900;
  line-height: 1;
}
.bd-menu-toggle { display: none; }

.bd-primary-nav { position: relative; z-index: 20; background: var(--bd-red); }
.bd-primary-nav .bd-shell { position: relative; display: flex; align-items: stretch; }
.bd-primary-nav .bd-shell > a,
.bd-nav-categories > summary { display: flex; min-height: 51px; align-items: center; padding: 0 18px; color: var(--bd-white); border-right: 1px solid rgba(255,255,255,.22); text-decoration: none; font-size: .84rem; font-weight: 800; white-space: nowrap; cursor: pointer; }
.bd-primary-nav .bd-shell > a.is-current,
.bd-primary-nav .bd-shell > a[aria-current="page"],
.bd-nav-categories.is-current > summary { background: var(--bd-red-dark); }
.bd-primary-nav .bd-shell > a:hover,
.bd-nav-categories > summary:hover,
.bd-nav-categories[open] > summary { color: var(--bd-ink); background: var(--bd-yellow); }
.bd-nav-categories { position: static; }
.bd-nav-categories > summary { list-style: none; }
.bd-nav-categories > summary::-webkit-details-marker { display: none; }
.bd-nav-categories > summary span { margin-left: 8px; font-size: 1rem; transition: transform .2s ease; }
.bd-nav-categories[open] > summary span { transform: rotate(180deg); }
.bd-nav-mega { position: absolute; inset: 51px 0 auto; display: none; grid-template-columns: 280px 1fr; gap: 34px; padding: 30px; color: var(--bd-ink); background: var(--bd-white); border: 1px solid var(--bd-line); border-top: 5px solid var(--bd-yellow); box-shadow: 0 20px 45px rgba(24,30,37,.2); }
.bd-nav-categories:hover .bd-nav-mega,
.bd-nav-categories:focus-within .bd-nav-mega,
.bd-nav-categories[open] .bd-nav-mega { display: grid; }
.bd-nav-mega-intro { padding-right: 30px; border-right: 1px solid var(--bd-line); }
.bd-nav-mega-intro strong { display: block; font-size: 1.4rem; line-height: 1.08; }
.bd-nav-mega-intro span { display: block; margin: 10px 0 22px; color: var(--bd-muted); font-size: .88rem; line-height: 1.5; }
.bd-primary-nav .bd-nav-mega-intro a { display: inline-flex; min-height: auto; padding: 0 0 4px; color: var(--bd-red-dark); background: transparent; border: 0; border-bottom: 2px solid var(--bd-red); font-size: .82rem; }
.bd-nav-mega-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 18px; }
.bd-primary-nav .bd-nav-mega-links a { min-height: 42px; padding: 8px 10px; color: var(--bd-ink); background: transparent; border: 0; border-bottom: 1px solid var(--bd-line); font-size: .82rem; }
.bd-primary-nav .bd-nav-mega-links a:hover { color: var(--bd-red-dark); background: var(--bd-warm); }
.bd-primary-nav .bd-nav-mega-links a.is-current { color: var(--bd-red-dark); background: var(--bd-warm); border-left: 4px solid var(--bd-red); }
.bd-mobile-menu { display: none; }

.bd-video-page { width: var(--bd-shell) !important; max-width: 100% !important; min-width: 0; margin-inline: auto !important; overflow-x: hidden; overflow-x: clip; }
.bd-video-intro { max-width: 820px; margin-bottom: 34px; color: var(--bd-muted); font-size: 1.04rem; line-height: 1.7; }
.bd-video-grid { width: 100%; max-width: 100%; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); gap: 28px; }
.bd-video-card { min-width: 0; max-width: 100%; overflow: hidden; background: var(--bd-white); border: 1px solid var(--bd-line); box-shadow: 0 12px 32px rgba(24,30,37,.08); }
.bd-video-player { position: relative; display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; overflow: hidden; padding: 0; border: 0; background: var(--bd-ink); cursor: pointer; }
.bd-video-player img { width: 100%; max-width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease, opacity .25s ease; }
.bd-video-player:hover img,
.bd-video-player:focus-visible img { transform: scale(1.025); opacity: .9; }
.bd-video-player:focus-visible { outline: 4px solid var(--bd-yellow); outline-offset: -4px; }
.bd-video-play { position: absolute; inset: 50% auto auto 50%; width: 64px; height: 46px; display: grid; place-items: center; transform: translate(-50%, -50%); color: var(--bd-white); background: var(--bd-red); border-radius: 8px; box-shadow: 0 6px 18px rgba(24,30,37,.3); }
.bd-video-play::after { content: ""; width: 0; height: 0; margin-left: 4px; border-top: 9px solid transparent; border-bottom: 9px solid transparent; border-left: 15px solid currentColor; }
.bd-video-embed { width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; display: block; border: 0; }
.bd-video-card-copy { padding: 18px 20px 20px; }
.bd-video-card-copy h2 { margin: 0 !important; overflow-wrap: anywhere; font-size: 1.03rem; line-height: 1.35; }
.bd-video-card-copy time { display: block; margin-top: 8px; color: var(--bd-muted); font-size: .78rem; font-weight: 700; }

.bd-home-hero { overflow: hidden; position: relative; min-height: 620px; color: var(--bd-white); background: var(--bd-ink); }
.bd-hero-media { position: absolute; z-index: 0; inset: 0 0 0 54%; overflow: hidden; background: #171b20; }
.bd-hero-media::after {
  content: ""; position: absolute; z-index: 2; inset: 0;
  background: linear-gradient(105deg, rgba(32,38,46,.68) 0%, rgba(32,38,46,.22) 38%, rgba(32,38,46,.28) 100%);
  pointer-events: none;
}
.bd-hero-slide {
  position: absolute; z-index: 1; inset: -2%; opacity: 0;
  background-repeat: no-repeat; background-size: cover; background-position: center;
  transform: scale(1.035); transition: opacity 1.35s ease, transform 6.5s ease;
  will-change: opacity, transform;
}
.bd-hero-slide.is-active { opacity: 1; transform: scale(1); }
.bd-hero-slide--height { background-image: url("assets/hero/height-barrier.webp"); background-position: 55% center; }
.bd-hero-slide--gate { background-image: url("assets/hero/manual-gate.webp"); background-position: 54% center; }
.bd-hero-slide--automatic { background-image: url("assets/hero/automatic-barrier.webp"); background-position: 48% center; }
.bd-home-hero::after {
  content: ""; position: absolute; z-index: 2; left: 49%; top: -10%; width: 180px; height: 130%;
  background: var(--bd-red); transform: skewX(-11deg); opacity: 1;
}
.bd-home-hero .bd-shell { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 54%) minmax(0, 46%); min-height: 620px; align-items: center; }
.bd-hero-copy { padding: 80px 110px 80px 0; }
.bd-kicker { margin: 0 0 15px; color: var(--bd-red); font-size: .78rem; line-height: 1.3; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.bd-home-hero .bd-kicker { color: var(--bd-yellow); }
.bd-hero-copy h1 { max-width: 770px; margin: 0; font-size: clamp(3rem, 6vw, 6.55rem); line-height: .91; letter-spacing: -.065em; }
.bd-hero-copy h1 span { color: var(--bd-yellow); }
.bd-hero-copy > p:not(.bd-kicker) { max-width: 690px; margin: 30px 0; color: #e2e5e8; font-size: clamp(1.05rem, 1.5vw, 1.32rem); }
.bd-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bd-hero-actions a { display: inline-flex; min-height: 54px; align-items: center; padding: 0 22px; border: 2px solid var(--bd-red); color: var(--bd-white); background: var(--bd-red); text-decoration: none; font-weight: 900; }
.bd-hero-actions a:last-child { border-color: rgba(255,255,255,.7); background: transparent; }
.bd-hero-actions a:hover { color: var(--bd-ink); border-color: var(--bd-yellow); background: var(--bd-yellow); }
.bd-hero-proof { grid-column: 2; align-self: end; justify-self: end; width: 320px; margin: 0 0 42px; padding: 24px; background: rgba(255,255,255,.94); color: var(--bd-ink); box-shadow: var(--bd-shadow); }
.bd-hero-proof strong { display: block; font-size: 1.15rem; }
.bd-hero-proof span { display: block; margin-top: 7px; color: var(--bd-muted); font-size: .86rem; }

.bd-trust-band { position: relative; z-index: 2; margin-top: -1px; background: var(--bd-yellow); }
.bd-trust-band .bd-shell { display: grid; grid-template-columns: repeat(4, 1fr); }
.bd-trust-band div { min-height: 74px; display: flex; flex-direction: column; justify-content: center; padding: 6px 24px; border-right: 1px solid rgba(32,38,46,.22); }
.bd-trust-band div:last-child { border-right: 0; }
.bd-trust-band strong { font-size: .92rem; text-transform: uppercase; letter-spacing: .04em; }
.bd-trust-band span { margin-top: 5px; font-size: .82rem; }

.bd-section { padding-block: clamp(68px, 8vw, 118px); }
.bd-section-warm { overflow-x: clip; background: var(--bd-warm); }
.bd-section-dark { color: var(--bd-white); background: var(--bd-ink); }
.bd-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
.bd-section-heading > div { max-width: 850px; }
.bd-section-heading h2 { margin: 0; font-size: clamp(2.25rem, 4.5vw, 4.7rem); line-height: .98; letter-spacing: -.045em; }
.bd-section-heading p:last-child { max-width: 660px; margin: 16px 0 0; color: var(--bd-muted); font-size: 1.05rem; }
.bd-section-dark .bd-section-heading p:last-child { color: #c8cdd2; }
.bd-text-link { flex: 0 0 auto; padding-bottom: 4px; color: var(--bd-red-dark); text-decoration: none; border-bottom: 3px solid var(--bd-red); font-weight: 900; }

.bd-category-carousel { position: relative; width: 100%; min-width: 0; max-width: 100%; }
.bd-category-track { width: 100%; min-width: 0; max-width: 100%; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 22.5%); gap: 18px; overflow-x: auto; overscroll-behavior-inline: contain; padding: 2px 2px 16px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.bd-category-card { min-height: 380px; display: flex; flex-direction: column; color: var(--bd-ink); background: var(--bd-white); border: 1px solid var(--bd-line); text-decoration: none; scroll-snap-align: start; transition: transform .2s ease, box-shadow .2s ease; }
.bd-category-card:hover { color: var(--bd-ink); transform: translateY(-5px); box-shadow: var(--bd-shadow); }
.bd-category-card-media { overflow: hidden; min-height: 260px; display: grid; place-items: center; background: #eceff1; }
.bd-category-card-media img { width: 100%; height: 260px; object-fit: cover; transition: transform .35s ease; }
.bd-category-card:hover img { transform: scale(1.035); }
.bd-category-placeholder { color: rgba(32,38,46,.16); font-size: 7rem; font-weight: 900; }
.bd-category-card-copy { display: flex; flex: 1; flex-direction: column; justify-content: space-between; gap: 9px; padding: 22px; border-top: 5px solid var(--bd-red); }
.bd-category-card-copy strong { font-size: 1.15rem; }
.bd-category-card-copy span { color: var(--bd-muted); font-size: .83rem; }
.bd-carousel-control { position: absolute; z-index: 3; top: 125px; width: 47px; height: 47px; border: 0; color: var(--bd-white); background: var(--bd-ink); font-size: 1.4rem; cursor: pointer; box-shadow: 0 8px 22px rgba(24,30,37,.18); }
.bd-carousel-control:hover { background: var(--bd-red); }
.bd-carousel-prev { left: -20px; }
.bd-carousel-next { right: -20px; }

.bd-manufacturer { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(42px, 8vw, 120px); align-items: center; }
.bd-manufacturer-visual { min-height: 560px; position: relative; overflow: hidden; background: #c8cdd1; }
.bd-manufacturer-visual img { width: 100%; height: 560px; object-fit: cover; object-position: center 54%; transition: transform .6s ease; }
.bd-manufacturer-visual::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(22,28,34,.03) 35%, rgba(22,28,34,.78) 100%); pointer-events: none; }
.bd-manufacturer-visual:hover img { transform: scale(1.018); }
.bd-manufacturer-visual-label { position: absolute; z-index: 2; left: clamp(24px, 4vw, 52px); bottom: clamp(28px, 5vw, 58px); color: var(--bd-white); font-size: clamp(2.7rem, 5.5vw, 5.8rem); font-weight: 900; line-height: .78; letter-spacing: -.065em; text-shadow: 0 4px 28px rgba(0,0,0,.32); }
.bd-manufacturer-visual::after { content: "MADE HERE"; position: absolute; z-index: 3; right: -50px; bottom: 43px; padding: 16px 66px; color: var(--bd-white); background: var(--bd-red); transform: rotate(-90deg); font-size: .8rem; font-weight: 900; letter-spacing: .18em; }
.bd-manufacturer-copy h2 { max-width: 620px; margin: 0 0 28px; font-size: clamp(2.4rem, 4.5vw, 4.9rem); }
.bd-manufacturer-copy > p { color: var(--bd-muted); font-size: 1.08rem; }
.bd-feature-list { display: grid; gap: 0; margin-top: 34px; border-top: 1px solid var(--bd-line); }
.bd-feature-list div { display: grid; grid-template-columns: 50px 1fr; gap: 17px; padding: 19px 0; border-bottom: 1px solid var(--bd-line); }
.bd-feature-list b { color: var(--bd-red); font-size: .8rem; }
.bd-feature-list strong { display: block; }
.bd-feature-list span { display: block; margin-top: 3px; color: var(--bd-muted); font-size: .88rem; }

.bd-finder { width: var(--bd-shell); max-width: none !important; margin-inline: auto; display: grid; grid-template-columns: minmax(0, .72fr) minmax(560px, 1.28fr); gap: clamp(35px, 7vw, 110px); align-items: center; }
.bd-finder-intro h2 { margin: 0; color: var(--bd-white); font-size: clamp(2.5rem, 5vw, 5.2rem); }
.bd-finder-intro > p:last-child { color: #c8cdd2; font-size: 1.05rem; }
.bd-finder-panel { min-height: 485px; padding: clamp(28px, 4vw, 52px); color: var(--bd-ink); background: var(--bd-white); }
.bd-finder-progress { height: 6px; margin-bottom: 33px; background: var(--bd-line); }
.bd-finder-progress span { display: block; height: 100%; width: 50%; background: var(--bd-red); transition: width .25s ease; }
.bd-finder-count { margin: 0 0 7px; color: var(--bd-red); font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.bd-finder-step h3, .bd-finder-result h3 { margin: 0 0 24px; font-size: clamp(1.6rem, 2.5vw, 2.45rem); }
.bd-finder-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bd-finder-options button { min-height: 64px; border: 1px solid var(--bd-line); padding: 13px 16px; color: var(--bd-ink); background: #fff; text-align: left; font: inherit; font-weight: 800; cursor: pointer; }
.bd-finder-options button:hover, .bd-finder-options button:focus-visible { color: var(--bd-white); background: var(--bd-red); border-color: var(--bd-red); }
.bd-finder-options-three { grid-template-columns: 1fr; }
.bd-finder-back { margin-top: 22px; border: 0; padding: 0; color: var(--bd-muted); background: transparent; font-weight: 800; cursor: pointer; }
.bd-finder-result > p:not(.bd-finder-count) { min-height: 80px; color: var(--bd-muted); }
.bd-finder-actions { display: flex; gap: 12px; align-items: center; }
.bd-finder-actions a { text-decoration: none; }
.bd-finder-actions button { border: 0; padding: 13px; color: var(--bd-muted); background: transparent; font-weight: 800; cursor: pointer; }

.bd-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bd-service-card { position: relative; min-height: 320px; padding: 32px; overflow: hidden; color: var(--bd-white); background: var(--bd-ink-soft); }
.bd-service-card::before { content: attr(data-number); position: absolute; right: 18px; bottom: -22px; color: rgba(255,255,255,.07); font-size: 9rem; line-height: 1; font-weight: 900; }
.bd-service-card:nth-child(2) { background: var(--bd-red); }
.bd-service-card:nth-child(3) { color: var(--bd-ink); background: var(--bd-yellow); }
.bd-service-card h3 { max-width: 280px; margin: 80px 0 14px; font-size: 1.7rem; }
.bd-service-card p { position: relative; max-width: 340px; font-size: .92rem; }

.bd-footer-cta { color: var(--bd-white); background: var(--bd-red); }
.bd-footer-cta .bd-shell { min-height: 210px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.bd-footer-cta .bd-kicker { color: var(--bd-yellow); }
.bd-footer-cta h2 { max-width: 850px; margin: 0; font-size: clamp(2rem, 4vw, 4.1rem); }
.bd-footer-cta a { flex: 0 0 auto; color: var(--bd-ink); background: var(--bd-yellow); text-decoration: none; }
.bd-site-footer { color: #d8dce0; background: #171b20; }
.bd-footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 65px; padding-block: 74px 58px; }
.bd-footer-brand img { width: 270px; padding: 9px; background: var(--bd-white); }
.bd-footer-brand p { max-width: 430px; color: #aeb5bc; }
.bd-site-footer h3 { margin: 0 0 20px; color: var(--bd-white); font-size: .86rem; text-transform: uppercase; letter-spacing: .1em; }
.bd-site-footer a { display: block; margin: 11px 0; color: #bdc4ca; text-decoration: none; font-size: .9rem; }
.bd-site-footer a:hover { color: var(--bd-yellow); }
.bd-footer-bottom { display: flex; justify-content: space-between; gap: 28px; padding-block: 23px; border-top: 1px solid #343b43; color: #8d969f; font-size: .75rem; }
.bd-footer-bottom p { margin: 0; }

.bd-page-main { min-height: 55vh; padding-top: clamp(48px, 7vw, 90px); padding-bottom: clamp(70px, 9vw, 120px); }
.bd-page-main > h1:first-child { position: relative; margin-bottom: 46px; }
.bd-page-main > h1:first-child::after { content: ""; display: block; width: 84px; height: 7px; margin-top: 20px; background: var(--bd-red); }
.bd-page-main h2 { margin-top: 2.2em; }
.bd-page-main p, .bd-page-main li { color: #4c5660; }
.bd-page-main .wp-block-group.alignwide {
  position: relative;
  left: 50%;
  width: var(--bd-shell);
  max-width: none;
  margin-inline: 0 !important;
  transform: translateX(-50%);
}
.bd-finder-page-section { overflow: hidden; }
.bd-finder-page-section .bd-finder { width: 100%; }
.page-id-13 .bd-page-main > h1:first-child,
.page-id-13 .wp-block-post-content > :not(.alignwide) {
  width: min(860px, var(--bd-shell));
  max-width: none;
  margin-inline: auto;
}
.bd-legal-intro { padding: 24px 28px; border-left: 5px solid var(--bd-red); background: var(--bd-warm); }
.bd-contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 55px; }
.bd-contact-card { padding: 34px; background: var(--bd-warm); }
.bd-contact-card h2 { margin-top: 0; }
.bd-contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bd-contact-form p { margin: 0; }
.bd-contact-form .full { grid-column: 1 / -1; }
.bd-contact-form label { display: block; margin-bottom: 6px; color: var(--bd-ink); font-size: .82rem; font-weight: 800; }
.bd-contact-form input, .bd-contact-form select, .bd-contact-form textarea { width: 100%; min-height: 50px; border: 1px solid #aeb5bc; padding: 12px; font: inherit; }
.bd-contact-form textarea { min-height: 145px; resize: vertical; }
.bd-contact-form .bd-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* WooCommerce catalogue */
.woocommerce .woocommerce-breadcrumb { margin: 0 0 24px; color: var(--bd-muted); font-size: .78rem; }
.woocommerce .woocommerce-breadcrumb a { color: var(--bd-muted); }
.woocommerce-products-header { margin-bottom: 32px; }
.woocommerce-products-header__title.page-title { max-width: 980px; margin: 0; font-size: clamp(2.5rem, 5vw, 5.5rem); }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { margin-bottom: 28px; }
.woocommerce .woocommerce-ordering select { min-height: 44px; border: 1px solid var(--bd-line); padding: 0 36px 0 12px; color: var(--bd-ink); background: var(--bd-white); }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; clear: both; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; padding: 0 0 22px; border: 1px solid var(--bd-line); background: var(--bd-white); transition: box-shadow .2s ease, transform .2s ease; }
.woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--bd-shadow); }
.woocommerce ul.products li.product a img { aspect-ratio: 1 / .82; margin: 0; object-fit: cover; background: #eef0f2; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 60px; padding: 20px 18px 5px; color: var(--bd-ink); font-size: 1.02rem; line-height: 1.3; }
.woocommerce ul.products li.product .price { min-height: 44px; display: block; padding: 0 18px; color: var(--bd-red-dark); font-size: .98rem; font-weight: 900; }
.woocommerce ul.products li.product .button { margin: 9px 18px 0; color: var(--bd-white); background: var(--bd-ink); }
.woocommerce ul.products li.product .button:hover { background: var(--bd-red); }
.woocommerce .wc-block-product-template {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 22px 18px !important;
  margin-block: 0;
  padding: 0;
}
.woocommerce .wc-block-product-template > .wc-block-product {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 0 22px;
  overflow: hidden;
  border: 1px solid var(--bd-line);
  background: var(--bd-white);
  transition: box-shadow .2s ease, transform .2s ease;
}
.woocommerce .wc-block-product-template > .wc-block-product:hover { transform: translateY(-4px); box-shadow: var(--bd-shadow); }
.woocommerce .wc-block-product-template .wc-block-components-product-image { margin: 0; }
.woocommerce .wc-block-product-template .wc-block-components-product-image img {
  width: 100%;
  aspect-ratio: 1 / .82;
  object-fit: cover;
  background: #eef0f2;
}
.woocommerce .wc-block-product-template .wp-block-post-title,
.woocommerce .wc-block-product-template .wc-block-components-product-name {
  min-height: 76px;
  margin: 0;
  padding: 20px 18px 6px;
  color: var(--bd-ink);
  font-size: 1.02rem;
  line-height: 1.3;
}
.woocommerce .wc-block-product-template .wp-block-woocommerce-product-price,
.woocommerce .wc-block-product-template .wc-block-components-product-price {
  min-height: 44px;
  margin: 0;
  padding-inline: 18px;
  color: var(--bd-red-dark);
  font-size: .98rem;
  font-weight: 900;
}
.woocommerce .wc-block-product-template .wp-block-button { margin: 9px 18px 0; }
.woocommerce .wc-block-product-template .wp-block-button__link { width: 100%; color: var(--bd-white); background: var(--bd-ink); }
.woocommerce .wc-block-product-template .wp-block-button__link:hover { background: var(--bd-red); }
.woocommerce span.onsale { min-width: 54px; min-height: 28px; line-height: 28px; border-radius: 0; color: var(--bd-white); background: var(--bd-red); }
.woocommerce nav.woocommerce-pagination ul { border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; margin: 3px; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 42px; min-height: 42px; display: grid; place-items: center; color: var(--bd-ink); background: var(--bd-warm); }
.woocommerce nav.woocommerce-pagination ul li span.current { color: var(--bd-white); background: var(--bd-red); }

.single-product .wp-site-blocks > .woocommerce.product { display: block; width: 100%; max-width: none; }
.single-product .wp-site-blocks > .woocommerce.product > main,
.single-product .wp-site-blocks > main,
.woocommerce-page .wp-site-blocks > main {
  width: var(--bd-shell);
  max-width: none !important;
  margin-inline: auto !important;
  padding-block: clamp(44px, 6vw, 85px);
}
.single-product .wp-site-blocks > .woocommerce.product > main > .alignwide { width: 100%; max-width: none; margin-inline: 0; }
.woocommerce div.product.type-product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr); gap: clamp(38px, 6vw, 90px); }
.woocommerce div.product div.images, .woocommerce div.product div.summary { float: none; width: auto; margin: 0; }
.woocommerce div.product div.images img { background: #f0f2f3; }
.woocommerce div.product .product_title { margin: 0 0 16px; font-size: clamp(2.1rem, 4.3vw, 4.6rem); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--bd-red-dark); font-size: 1.65rem; font-weight: 900; }
.woocommerce-product-details__short-description { padding: 22px 0; border-top: 1px solid var(--bd-line); border-bottom: 1px solid var(--bd-line); color: var(--bd-muted); }
.woocommerce div.product form.cart .variations { margin: 25px 0 12px; }
.woocommerce div.product form.cart .variations th { padding: 13px 18px 13px 0; text-align: left; }
.woocommerce div.product form.cart .variations select { min-height: 48px; border: 1px solid #aeb5bc; padding: 0 12px; }
.woocommerce .quantity .qty { min-height: 48px; border: 1px solid #aeb5bc; }
.woocommerce div.product form.cart .button { min-height: 48px; background: var(--bd-red); }
.woocommerce div.product form.cart .button:hover { background: var(--bd-red-dark); }
.woocommerce div.product .woocommerce-tabs { grid-column: 1 / -1; margin-top: 30px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-color: var(--bd-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 0; border-radius: 0; background: var(--bd-warm); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { color: var(--bd-white); background: var(--bd-ink); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 900px; padding: 25px 0; }
.related.products { grid-column: 1 / -1; margin-top: 55px; }
.related.products > h2 { font-size: clamp(2rem, 3vw, 3.2rem); }
.woocommerce table.shop_table { border-color: var(--bd-line); border-radius: 0; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { border-radius: 3px; color: var(--bd-white); background: var(--bd-ink); }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { color: var(--bd-white); background: var(--bd-red); }
.woocommerce-message, .woocommerce-info { border-top-color: var(--bd-red); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--bd-red); }
.bd-product-delivery-band { margin: 20px 0 23px !important; padding: 15px 17px; color: var(--bd-ink); background: var(--bd-warm); border-left: 5px solid var(--bd-red); font-size: .92rem; line-height: 1.5; }
.bd-product-delivery-band strong { display: block; }
.bd-product-delivery-band span { color: var(--bd-muted); }
.bd-delivery-rates { margin: 42px 0 50px; padding: clamp(24px, 4vw, 45px); background: var(--bd-warm); border-top: 7px solid var(--bd-red); }
.bd-delivery-rates-heading { max-width: 820px; }
.bd-delivery-rates-heading h2 { margin: 0 0 14px; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1; }
.bd-delivery-rates-heading > p:last-child { color: var(--bd-muted); }
.bd-delivery-table-wrap { margin-top: 28px; overflow-x: auto; background: var(--bd-white); }
.bd-delivery-rates table { width: 100%; min-width: 680px; border-collapse: collapse; }
.bd-delivery-rates th, .bd-delivery-rates td { padding: 18px 20px; border-bottom: 1px solid var(--bd-line); text-align: left; vertical-align: top; }
.bd-delivery-rates thead th { color: var(--bd-white); background: var(--bd-ink); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.bd-delivery-rates tbody th { width: 24%; color: var(--bd-red-dark); }
.bd-delivery-rates tbody td:last-child { width: 19%; font-size: 1.08rem; font-weight: 900; white-space: nowrap; }
.bd-delivery-tax-note { margin: 16px 0 0; color: var(--bd-muted); font-size: .84rem; }
.bd-delivery-restriction { margin: 24px 0 36px; padding: 20px 22px; background: #fff5d6; border-left: 5px solid var(--bd-yellow); }

@media (min-width: 901px) {
  .bd-site-header.is-scrolled .bd-main-header { display: none; }
  .bd-site-header.is-scrolled .bd-primary-nav { box-shadow: 0 9px 24px rgba(24,30,37,.2); }
}

@media (min-width: 1500px) {
  .bd-category-track { grid-auto-columns: minmax(250px, 19%); }
  .woocommerce ul.products,
  .woocommerce .wc-block-product-template { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
}

@media (max-width: 1180px) {
  :root { --bd-shell: min(100% - 36px, 1100px); }
  .bd-main-header .bd-shell { grid-template-columns: 225px 1fr auto; gap: 20px; }
  .bd-logo { width: 225px; }
  .bd-header-actions a:first-child { display: none; }
  .bd-primary-nav a { padding-inline: 13px; font-size: .78rem; }
  .bd-hero-media { inset-inline-start: 61%; }
  .bd-home-hero::after { left: 56%; }
  .bd-home-hero .bd-shell { grid-template-columns: 62% 38%; }
  .bd-hero-copy { padding-right: 65px; }
  .bd-category-track { grid-auto-columns: minmax(250px, 31%); }
  .bd-finder { grid-template-columns: .8fr 1.2fr; gap: 45px; }
  .woocommerce ul.products,
  .woocommerce .wc-block-product-template { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

@media (max-width: 900px) {
  .bd-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bd-utility p:first-child span { display: none; }
  .bd-main-header .bd-shell { min-height: 88px; grid-template-columns: 220px 1fr 54px; gap: 15px; }
  .bd-header-actions { display: none; }
  .bd-menu-toggle { width: 52px; height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 1px solid var(--bd-line); color: var(--bd-ink); background: var(--bd-white); }
  .bd-menu-toggle span { width: 21px; height: 2px; background: var(--bd-ink); }
  .bd-menu-toggle b { margin-top: 2px; font-size: .62rem; }
  .bd-primary-nav { display: none; }
  .bd-mobile-menu { position: fixed; inset: 88px 0 0; display: block; padding: 18px; overflow-y: auto; background: var(--bd-white); }
  .bd-mobile-menu[hidden] { display: none; }
  .bd-mobile-menu a { display: block; padding: 16px 4px; border-bottom: 1px solid var(--bd-line); color: var(--bd-ink); text-decoration: none; font-weight: 800; }
  .bd-mobile-menu a.is-current { padding-inline: 14px; color: var(--bd-white); background: var(--bd-red-dark); }
  .bd-mobile-menu .bd-cart-link { display: flex; align-items: center; justify-content: space-between; }
  .bd-mobile-menu-heading { display: block; margin: 18px -18px 0; padding: 11px 22px; color: var(--bd-white); background: var(--bd-red); font-size: .68rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
  .bd-site-header:not(.is-scrolled) .bd-mobile-menu { inset-block-start: 126px; }
  .bd-home-hero { min-height: auto; }
  .bd-hero-media { inset: 0; opacity: .28; }
  .bd-hero-media::after { background: rgba(32,38,46,.48); }
  .bd-home-hero::after { display: none; }
  .bd-home-hero .bd-shell { display: block; min-height: auto; }
  .bd-hero-copy { padding: 80px 0 38px; }
  .bd-hero-copy h1 { max-width: 700px; }
  .bd-hero-proof { width: 100%; margin-bottom: 24px; }
  .bd-trust-band .bd-shell { grid-template-columns: 1fr 1fr; }
  .bd-trust-band div:nth-child(2) { border-right: 0; }
  .bd-trust-band div:nth-child(-n+2) { border-bottom: 1px solid rgba(32,38,46,.22); }
  .bd-category-track { grid-auto-columns: minmax(250px, 44%); }
  .bd-manufacturer { grid-template-columns: 1fr; }
  .bd-manufacturer-visual, .bd-manufacturer-visual img { min-height: 440px; height: 440px; }
  .bd-finder { grid-template-columns: 1fr; }
  .bd-services-grid { grid-template-columns: 1fr; }
  .bd-service-card { min-height: 250px; }
  .bd-service-card h3 { margin-top: 45px; }
  .bd-footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
  .bd-footer-grid > :last-child { grid-column: 2 / -1; }
  .bd-contact-grid { grid-template-columns: 1fr; }
  .woocommerce div.product.type-product { grid-template-columns: 1fr; }
  .woocommerce div.product .woocommerce-tabs, .related.products { grid-column: auto; }
}

@media (max-width: 782px) {
  body.admin-bar .bd-site-header.is-scrolled { top: 46px; }
}

@media (max-width: 680px) {
  .bd-video-grid { grid-template-columns: 1fr; gap: 20px; }
  :root { --bd-shell: calc(100% - 28px); }
  .bd-utility { display: none; }
  .bd-site-header:not(.is-scrolled) .bd-mobile-menu, .bd-mobile-menu { inset-block-start: 74px; }
  .bd-main-header .bd-shell { min-height: 74px; grid-template-columns: minmax(0, 1fr) 44px 44px; gap: 6px; }
  .bd-logo { width: 100%; max-width: 200px; }
  .bd-header-search { justify-self: end; width: 44px; height: 44px; border: 0; }
  .bd-header-search input { width: 0; padding: 0; opacity: 0; }
  .bd-header-search button { width: 44px; padding: 0; overflow: hidden; font-size: 0; }
  .bd-header-search button::before { content: "⌕"; font-size: 1.45rem; }
  .bd-header-search.is-open { position: absolute; z-index: 80; top: calc(100% + 8px); right: 0; left: 0; width: 100%; height: 50px; border: 2px solid var(--bd-ink); box-shadow: 0 12px 28px rgba(24,30,37,.2); }
  .bd-header-search.is-open input { width: auto; padding: 0 14px; opacity: 1; }
  .bd-header-search.is-open button { width: auto; padding: 0 17px; font-size: .78rem; }
  .bd-header-search.is-open button::before { display: none; }
  .bd-header-search.is-open .bd-live-search-results { max-height: calc(100vh - 154px); }
  .bd-live-search-item { grid-template-columns: 62px minmax(0, 1fr); padding: 9px 11px; }
  .bd-live-search-item img,
  .bd-live-search-placeholder { width: 62px; height: 62px; }
  .bd-menu-toggle { width: 44px; height: 44px; }
  .bd-hero-copy { padding-top: 64px; }
  .bd-hero-copy h1 { font-size: clamp(2.8rem, 14vw, 4.4rem); }
  .bd-hero-copy > p:not(.bd-kicker) { margin-block: 24px; font-size: 1rem; }
  .bd-hero-actions { display: grid; }
  .bd-hero-actions a { justify-content: center; }
  .bd-trust-band .bd-shell { width: 100%; }
  .bd-trust-band div { min-height: 66px; padding: 5px 14px; }
  .bd-trust-band strong { font-size: .74rem; }
  .bd-trust-band span { font-size: .7rem; }
  .bd-section { padding-block: 62px; }
  .bd-section-heading { display: block; }
  .bd-section-heading h2 { font-size: 2.5rem; }
  .bd-text-link { display: inline-block; margin-top: 22px; }
  .bd-category-track { grid-auto-columns: 82%; }
  .bd-carousel-control { display: none; }
  .bd-category-card { min-height: 330px; }
  .bd-category-card-media, .bd-category-card-media img { min-height: 220px; height: 220px; }
  .bd-manufacturer-visual, .bd-manufacturer-visual img { min-height: 320px; height: 320px; }
  .bd-finder-panel { min-height: 535px; padding: 25px 20px; }
  .bd-finder-options { grid-template-columns: 1fr; }
  .bd-finder-page-section { padding: 18px !important; }
  .bd-footer-cta .bd-shell { display: block; padding-block: 50px; }
  .bd-footer-cta a { display: inline-block; margin-top: 25px; }
  .bd-footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 22px; padding-block: 55px; }
  .bd-footer-brand { grid-column: 1 / -1; }
  .bd-footer-grid > :last-child { grid-column: auto; }
  .bd-footer-bottom { display: block; }
  .bd-footer-bottom p + p { margin-top: 8px; }
  .bd-contact-form { grid-template-columns: 1fr; }
  .bd-contact-form .full { grid-column: auto; }
  .woocommerce ul.products,
  .woocommerce .wc-block-product-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 72px; padding: 14px 12px 4px; font-size: .9rem; }
  .woocommerce ul.products li.product .price { padding-inline: 12px; font-size: .85rem; }
  .woocommerce ul.products li.product .button { margin-inline: 12px; font-size: .78rem; }
  .woocommerce .wc-block-product-template .wp-block-post-title,
  .woocommerce .wc-block-product-template .wc-block-components-product-name { min-height: 78px; padding: 14px 12px 4px; font-size: .9rem; }
  .woocommerce .wc-block-product-template .wp-block-woocommerce-product-price,
  .woocommerce .wc-block-product-template .wc-block-components-product-price { padding-inline: 12px; font-size: .85rem; }
  .woocommerce .wc-block-product-template .wp-block-button { margin-inline: 12px; }
  .woocommerce div.product .product_title { font-size: 2.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bd-hero-slide { transition: none; transform: none; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.bd-category-guide {
  width: var(--bd-shell);
  max-width: 1080px;
  margin: 76px auto 30px;
  padding: clamp(30px, 5vw, 58px);
  border-top: 7px solid var(--bd-red);
  background: #f5f1e9;
  box-shadow: 0 20px 50px rgba(32, 38, 46, .08);
}

.bd-category-guide h2 {
  max-width: 800px;
  margin: 0 0 22px;
  color: var(--bd-ink);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: .98;
}

.bd-category-guide h3 {
  margin: 30px 0 12px;
  color: var(--bd-red);
  font-size: 1.35rem;
}

.bd-category-guide p,
.bd-category-guide li {
  color: #424852;
  line-height: 1.75;
}

.bd-category-guide ul {
  margin: 18px 0 0;
  padding-left: 22px;
}

@media (max-width: 680px) {
  .bd-category-guide { margin-top: 52px; padding: 28px 22px; }
}
