/* Back Space storefront (Stage 7B). Ported from the frozen prototypes (homepage v3 header, catalogue.html, product.html).

   Scoped to .bst-utility, .bst-sitehead and .bst-store so the rest of the site is untouched. */



.bst-utility, .bst-sitehead, .bst-store {

  --s-canvas: #F7F8FA; --s-surface: #FFFFFF; --s-ink: #101820; --s-muted: #5F6B76; --s-line: #E2E8F0;

  --s-orange: #FC3F01; --s-orange-hover: #FD6A33;

  --s-night: #0A121B; --s-night-2: #111C29; --s-night-line: #233246; --s-night-muted: #9AA8B8;

  --s-paper: #FFFCF5; --s-paper-line: #E9DFC9;

  --s-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --s-wrap: 1320px; --s-gutter: clamp(16px, 4vw, 40px);

  --s-ease: cubic-bezier(0.16, 1, 0.3, 1);

  --s-shadow-sm: 0 2px 3px -1px rgba(0,0,0,.1), 0 1px 0 0 rgba(25,28,33,.02), 0 0 0 1px rgba(25,28,33,.08);

  --s-head-h: 68px;

  font-family: var(--s-font);

  -webkit-font-smoothing: antialiased;

}

.bst-utility *, .bst-sitehead *, .bst-store * { box-sizing: border-box; }

.bst-store img { display: block; max-width: 100%; height: auto; }

.bst-wrap { max-width: var(--s-wrap); margin: 0 auto; padding: 0 var(--s-gutter); }

.bst-store :focus-visible, .bst-sitehead :focus-visible, .bst-utility :focus-visible { outline: 2px solid var(--s-orange); outline-offset: 3px; border-radius: 4px; }



/* Astra containers on store pages: full width */

body.bst-store-page #content > .ast-container, body.bst-store-page .site-content > .ast-container { max-width: none; padding: 0; display: block; }

body.bst-store-page .site-content { background: #F7F8FA; }

body.bst-store-page #content { padding: 0; }



/* ---------- Utility bar + header ---------- */

.bst-utility { background: #010910; color: #C3CDD8; font-size: 13px; line-height: 1.4; }

.bst-utility__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }

.bst-utility a { color: #E6EBF1; text-decoration: none; }

.bst-utility a:hover { color: #fff; }

.bst-utility__left { display: flex; align-items: center; gap: 18px; min-width: 0; }

.bst-utility__phone { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-weight: 700; white-space: nowrap; }

.bst-utility__phone svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.bst-utility__hours { white-space: nowrap; }

.bst-social { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }

.bst-social a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 6px; border-radius: 8px; }

.bst-social a:hover { background: rgba(255,255,255,.07); }

.bst-social svg { width: 17px; height: 17px; }

.bst-sitehead { background: var(--s-night); color: #fff; position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 100; }

.bst-sitehead__in { display: flex; align-items: center; gap: 24px; min-height: var(--s-head-h); position: relative; }

.bst-logo { display: inline-flex; align-items: center; min-height: 44px; }

.bst-logo img { height: 22px; width: auto; }

.bst-nav { display: flex; gap: 2px; margin-left: 4px; }

.bst-nav a { padding: 10px 12px; border-radius: 8px; color: #D9E1EA; text-decoration: none; font-weight: 600; font-size: 15px; }

.bst-nav a:hover { color: #fff; background: rgba(255,255,255,.06); }

.bst-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--s-orange); border-radius: 8px 8px 0 0; }

.bst-sitehead__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.bst-sitehead__wa { color: #D9E1EA; text-decoration: none; font-weight: 600; font-size: 14px; }

.bst-sitehead__wa:hover { color: #fff; }

.bst-quote-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 10px; background: var(--s-orange); color: var(--s-ink); border: 0; font: 700 14px/1 var(--s-font); cursor: pointer; }

.bst-quote-btn:hover { background: var(--s-orange-hover); }

.bst-quote-btn b { min-width: 20px; height: 20px; border-radius: 99px; background: var(--s-ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }

.bst-menu-btn { display: none; background: transparent; border: 1px solid var(--s-night-line); color: #fff; border-radius: 10px; min-height: 44px; padding: 0 12px; font: 600 14px var(--s-font); cursor: pointer; }

/* The old floating RFQ trigger duplicates the header Quote button */

body.bst-has-store-header #bst-rfq-btn { display: none !important; }



/* ---------- Shared store pieces ---------- */

.bst-store { background: var(--s-canvas); color: var(--s-ink); font-size: 16px; line-height: 1.55; }

.bst-store a { color: inherit; }

.bst-store h1, .bst-store h2, .bst-store h3 { font-family: var(--s-font); color: var(--s-ink); }

.bst-crumbs { margin: 0; padding: clamp(18px, 2.4vw, 28px) 0 12px; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--s-muted); }

.bst-crumbs li + li::before { content: "/"; margin-right: 6px; color: #B8C2CD; }

.bst-crumbs a { text-decoration: none; }

.bst-crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }

.bst-btn2 { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent; font: 700 15px/1 var(--s-font); text-decoration: none; cursor: pointer; transition: background-color 160ms var(--s-ease), border-color 160ms var(--s-ease), transform 160ms var(--s-ease); }

.bst-btn2:active { transform: scale(.98); }

.bst-btn2--primary { background: var(--s-orange); color: var(--s-ink) !important; }

.bst-btn2--primary:hover { background: var(--s-orange-hover); }

.bst-btn2--ink { background: var(--s-ink); color: #fff !important; }

.bst-btn2--ink:hover { background: #26323F; }

.bst-btn2--quiet { background: var(--s-surface); color: var(--s-ink) !important; border-color: var(--s-line); }

.bst-btn2--quiet:hover { border-color: var(--s-ink); }

.bst-btn2--quiet[data-added="true"] { background: var(--s-ink); color: #fff !important; border-color: var(--s-ink); }

.bst-btn2--wa { background: #187A42; color: #fff !important; }

.bst-btn2--wa:hover { background: #176F3D; }

.bst-btn2--night { background: transparent; color: #fff !important; border-color: var(--s-night-line); }

.bst-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.bst-actions .bst-btn2 { flex: 1 1 190px; }

.bst-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 800; }

.bst-badge--new { background: var(--s-ink); color: #fff; }

.bst-badge--po { background: var(--s-paper); color: var(--s-ink); border: 1px solid var(--s-paper-line); }

.bst-badge--stock { background: #E8F5EC; color: #145C33; }

.bst-brand { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--s-muted); }

.bst-price { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }

.bst-price small { display: block; font-size: 12px; font-weight: 600; color: var(--s-muted); }

.bst-pending { font-size: 13.5px; font-weight: 600; color: var(--s-muted); }

.bst-preview-note { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: #FFF4D6; color: #5C3D00; font-size: 14px; font-weight: 600; }



/* ---------- Catalogue ---------- */

.bst-cat-head { padding-bottom: 0; }

.bst-title-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; }

.bst-cat-head h1 { margin: 0; font-size: clamp(34px, 4.6vw, 60px); line-height: 1; letter-spacing: -0.035em; font-weight: 800; }

.bst-lede { margin: 10px 0 0; color: var(--s-muted); max-width: 60ch; }

.bst-search { position: relative; flex: 0 1 380px; min-width: 240px; }

.bst-search input { width: 100%; min-height: 50px; padding: 0 16px 0 46px; border-radius: 12px; border: 1px solid var(--s-line); background: var(--s-surface); font: 500 15px var(--s-font); color: var(--s-ink); }

.bst-search input:focus { outline: none; border-color: var(--s-ink); box-shadow: 0 0 0 3px rgba(16,24,32,.08); }

.bst-search svg { position: absolute; left: 15px; top: 50%; width: 18px; height: 18px; margin-top: -9px; fill: none; stroke: var(--s-muted); stroke-width: 1.8; stroke-linecap: round; }

.bst-depts { margin: 22px 0 0; padding: 2px 0 6px; list-style: none; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }

.bst-depts li { flex: none; margin: 0; }

.bst-depts__sep { width: 1px; align-self: stretch; margin: 10px 4px !important; background: var(--s-line); }

.bst-dept { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; width: 108px; min-height: 104px; padding: 13px 14px 12px; border-radius: 14px; border: 1px solid var(--s-line); background: var(--s-surface); color: var(--s-ink); text-align: left; cursor: pointer; font: inherit; }

.bst-dept:hover { border-color: #B8C2CD; background: var(--s-surface); color: var(--s-ink); }

.bst-dept svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.bst-dept span { font: 700 14px/1.2 var(--s-font); }

.bst-dept small { display: block; margin-top: 2px; font-weight: 500; font-size: 12px; color: var(--s-muted); }

.bst-dept[aria-pressed="true"] { background: var(--s-ink); border-color: var(--s-ink); color: #fff; }

.bst-dept[aria-pressed="true"] small { color: #C3CDD8; }

.bst-cat-body { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); padding-top: 28px; padding-bottom: clamp(48px, 6vw, 80px); align-items: start; }

.bst-facets { position: sticky; top: calc(var(--s-head-h) + var(--wp-admin--admin-bar--height, 0px) + 16px); }

.bst-facet { padding: 0 0 18px; margin: 0 0 18px; border-bottom: 1px solid var(--s-line); }

.bst-facet h2 { margin: 0 0 10px; font-size: 14px; font-weight: 800; }

.bst-facet .bst-hint { margin: 8px 0 0; font-size: 12.5px; color: var(--s-muted); line-height: 1.45; }

.bst-opt { display: flex; align-items: center; gap: 10px; min-height: 38px; font-size: 15px; cursor: pointer; }

.bst-opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--s-ink); }

.bst-opt .n { margin-left: auto; font-size: 13px; color: var(--s-muted); }

.bst-opt.is-dim { color: #9AA6B2; }

.bst-sidecard { padding: 16px; border-radius: 14px; background: var(--s-surface); border: 1px solid var(--s-line); font-size: 14px; }

.bst-sidecard b { display: block; font-size: 15px; }

.bst-sidecard p { margin: 4px 0 10px; color: var(--s-muted); }

.bst-sidecard a { font-weight: 700; text-underline-offset: 3px; }

.bst-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 18px; }

.bst-count { font-weight: 700; font-size: 15px; }

.bst-pills { display: flex; flex-wrap: wrap; gap: 8px; }

.bst-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--s-line); background: var(--s-surface); font: 600 13px var(--s-font); color: var(--s-ink); cursor: pointer; }

.bst-pill:hover { border-color: var(--s-ink); background: var(--s-surface); color: var(--s-ink); }

.bst-clear { background: none; border: 0; padding: 0 4px; min-height: 34px; font: 700 13px var(--s-font); color: var(--s-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.bst-sort { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--s-muted); }

.bst-sort select { min-height: 40px; padding: 0 30px 0 12px; border-radius: 10px; border: 1px solid var(--s-line); background: var(--s-surface); font: 600 14px var(--s-font); color: var(--s-ink); }

.bst-filter-btn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--s-ink); background: var(--s-surface); font: 700 14px var(--s-font); color: var(--s-ink); cursor: pointer; }

.bst-filter-btn b { min-width: 20px; height: 20px; border-radius: 99px; background: var(--s-ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }

.bst-filter-btn b:empty { display: none; }

.bst-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }

.bst-card { position: relative; display: flex; flex-direction: column; min-width: 0; }

.bst-card[hidden], [data-svc][hidden] { display: none !important; }

.bst-shot { position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; background: #d9d2c7; }

.bst-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transition: transform 320ms var(--s-ease); }

.bst-shot.is-ref { background: #0d0d0d; }

.bst-shot.is-ref img { object-fit: contain; padding: 18px; }

.bst-shot.is-none { background: #EDF0F4; display: flex; align-items: center; justify-content: center; }

.bst-shot.is-none svg { width: 34%; height: auto; fill: none; stroke: #9AA6B2; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }

@media (hover: hover) and (pointer: fine) { .bst-card:hover .bst-shot img { transform: scale(1.02); } }

.bst-shot .bst-badge { position: absolute; left: 10px; top: 10px; z-index: 2; }

.bst-src { position: absolute; left: 12px; bottom: 10px; z-index: 2; font-size: 11.5px; font-weight: 500; color: var(--s-muted); }

.bst-src--dark { color: rgba(255,255,255,.62); }

.bst-card__meta { padding-top: 12px; display: flex; flex-direction: column; flex: 1; }

.bst-card__meta h3 { margin: 2px 0 0; font-size: 17px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 700; }

.bst-card__meta h3 a { text-decoration: none; }

.bst-card__meta h3 a::after { content: ""; position: absolute; inset: 0; }

.bst-card__meta h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }

.bst-spec { margin: 5px 0 0; font-size: 13.5px; color: var(--s-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.bst-units { margin: 10px 0 0; padding: 8px 10px; border-radius: 10px; background: var(--s-paper); border: 1px solid var(--s-paper-line); font-size: 12.5px; line-height: 1.4; }

.bst-units span { color: var(--s-muted); }

.bst-assure { margin: 8px 0 0; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }

.bst-assure svg { flex: none; width: 15px; height: 15px; fill: none; stroke: #187A42; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.bst-card__buy { margin-top: auto; padding-top: 12px; display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 2; }

.bst-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.bst-card__actions .bst-btn2 { min-height: 42px; padding: 0 10px; font-size: 14px; border-radius: 10px; }

.bst-svc { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 22px; border-radius: 16px; text-decoration: none; min-height: 100%; }

.bst-svc--repair { background: var(--s-night); color: #fff !important; }

.bst-svc--biz { background: var(--s-surface); border: 1px solid var(--s-line); color: var(--s-ink); }

.bst-svc__k { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--s-orange); }

.bst-svc h3 { margin: 8px 0 0; font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; color: inherit; }

.bst-svc p { margin: 8px 0 0; font-size: 14px; color: var(--s-night-muted); }

.bst-svc ul { margin: 12px 0 0; padding: 0; list-style: none; font-size: 14px; }

.bst-svc li { padding: 7px 0; border-top: 1px solid var(--s-line); margin: 0; }

.bst-svc__go { font-weight: 800; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }

.bst-empty { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 28px; align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: 18px; background: var(--s-surface); border: 1px solid var(--s-line); }

.bst-empty[hidden] { display: none; }

.bst-empty h2 { margin: 0; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.02em; line-height: 1.15; }

.bst-empty p { margin: 10px 0 0; color: var(--s-muted); max-width: 52ch; }

.bst-empty__ill { aspect-ratio: 4 / 3; border-radius: 14px; background: #EDF0F4; display: flex; align-items: center; justify-content: center; }

.bst-empty__ill svg { width: 40%; fill: none; stroke: #9AA6B2; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }

.bst-services { padding: 0 0 clamp(56px, 7vw, 96px); }

.bst-services__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.bst-svcbig { display: block; border-radius: 20px; text-decoration: none; min-height: 220px; }

.bst-svcbig__tx { padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; height: 100%; }

.bst-svcbig h2 { margin: 0; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -0.025em; color: inherit; }

.bst-svcbig p { margin: 10px 0 0; font-size: 15px; }

.bst-svcbig__go { margin-top: auto; padding-top: 18px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }

.bst-svcbig--dark { background: var(--s-night); color: #fff !important; }

.bst-svcbig--dark p { color: var(--s-night-muted); }

.bst-svcbig--light { background: var(--s-surface); border: 1px solid var(--s-line); color: var(--s-ink); }

.bst-svcbig--light p { color: var(--s-muted); }

dialog.bst-sheet { padding: 0; border: 0; margin: 0 0 0 auto; width: min(420px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; background: var(--s-canvas); color: var(--s-ink); }

dialog.bst-sheet::backdrop { background: rgba(10,18,27,.55); }

.bst-sheet__in { display: flex; flex-direction: column; height: 100%; }

.bst-sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--s-line); background: var(--s-surface); }

.bst-sheet__head h2 { margin: 0; font-size: 18px; }

.bst-sheet__head button { min-width: 44px; min-height: 44px; border: 0; background: none; font: 700 14px var(--s-font); color: var(--s-ink); cursor: pointer; }

.bst-sheet__body { flex: 1; overflow: auto; padding: 18px 16px; }

.bst-sheet__foot { display: flex; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--s-line); background: var(--s-surface); }

.bst-sheet__foot .bst-btn2 { flex: 1; }



/* ---------- Product page ---------- */

.bst-pdp { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: clamp(40px, 5vw, 64px); }

.bst-gallery { position: sticky; top: calc(var(--s-head-h) + var(--wp-admin--admin-bar--height, 0px) + 16px); }

.bst-mainshot { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 1 / 1; background: #d9d2c7; }

.bst-mainshot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }

.bst-mainshot.is-ref { background: #0d0d0d; }

.bst-mainshot.is-ref img { object-fit: contain; padding: 28px; }

.bst-mainshot.is-none { background: #EDF0F4; display: flex; align-items: center; justify-content: center; }

.bst-mainshot.is-none svg { width: 30%; fill: none; stroke: #9AA6B2; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }

.bst-thumbs { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }

.bst-thumbs li { margin: 0; }

.bst-thumbs button { width: 76px; height: 76px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: #d9d2c7; cursor: pointer; }

.bst-thumbs button[aria-current="true"] { border-color: var(--s-ink); }

.bst-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.bst-gtabs { display: flex; gap: 6px; margin-bottom: 10px; }

.bst-gtabs button { min-height: 38px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--s-line); background: var(--s-surface); font: 700 13.5px var(--s-font); color: var(--s-ink); cursor: pointer; }

.bst-gtabs button[aria-pressed="true"] { background: var(--s-ink); border-color: var(--s-ink); color: #fff; }

.bst-caption { margin: 10px 0 0; font-size: 12.5px; color: var(--s-muted); }

.bst-buy h1 { margin: 4px 0 0; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 800; }

.bst-summary { margin: 10px 0 0; font-size: 16px; color: var(--s-muted); }

.bst-state { margin: 16px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.bst-panel { margin-top: 22px; padding: clamp(18px, 2.4vw, 24px); border-radius: 18px; background: var(--s-surface); border: 1px solid var(--s-line); }

.bst-panel h2 { margin: 0; font-size: 18px; letter-spacing: -0.01em; }

.bst-panel > p { margin: 8px 0 0; color: var(--s-muted); font-size: 15px; }

.bst-units-pick { margin: 24px 0 0; padding: 0; border: 0; display: grid; gap: 10px; }

.bst-units-pick legend { padding: 0; margin: 0 0 4px; font-size: 18px; font-weight: 800; }

.bst-unit { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--s-line); background: var(--s-surface); cursor: pointer; }

.bst-unit:hover { border-color: #B8C2CD; }

.bst-unit input { position: absolute; opacity: 0; pointer-events: none; }

.bst-unit__dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #B8C2CD; display: inline-flex; align-items: center; justify-content: center; }

.bst-unit:has(input:checked) { border-color: var(--s-ink); box-shadow: 0 0 0 1px var(--s-ink); }

.bst-unit:has(input:checked) .bst-unit__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--s-ink); }

.bst-unit:has(input:focus-visible) { outline: 2px solid var(--s-orange); outline-offset: 3px; }

.bst-unit__name { font-weight: 800; font-size: 16px; }

.bst-unit__facts { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13.5px; color: var(--s-muted); }

.bst-unit__facts b { color: var(--s-ink); }

.bst-unit__price { grid-row: 1 / 3; grid-column: 3; font-weight: 800; font-size: 18px; text-align: right; }

.bst-reserved { margin-top: 14px; padding: 14px 16px; border-radius: 14px; border: 1px dashed #C9D1DA; background: var(--s-canvas); }

.bst-reserved h3 { margin: 0; font-size: 14px; font-weight: 800; color: #8A5A00; }

.bst-reserved p { margin: 2px 0 8px; font-size: 13.5px; color: var(--s-muted); }

.bst-reserved ul { margin: 0; padding: 0; list-style: none; }

.bst-reserved li { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; padding: 6px 0; border-top: 1px solid var(--s-line); font-size: 13.5px; color: var(--s-muted); margin: 0; }

.bst-reserved .bst-unit__name { font-size: 14px; color: #6B7682; }

.bst-reserved .bst-unit__facts { display: flex; flex-wrap: wrap; gap: 4px 12px; }

.bst-record2 { position: relative; margin-top: 16px; padding: 18px 18px 16px 30px; background: var(--s-paper); border: 1px solid var(--s-paper-line); border-radius: 6px 16px 16px 6px; box-shadow: var(--s-shadow-sm); }

.bst-record2::before { content: ""; position: absolute; left: 11px; top: 22px; width: 9px; height: 9px; border-radius: 50%; background: var(--s-canvas); box-shadow: inset 0 0 0 1.5px var(--s-paper-line); }

.bst-record2 h3 { margin: 0 0 10px; font-size: 14px; font-weight: 800; display: flex; justify-content: space-between; gap: 10px; }

.bst-record2 h3 span { font-weight: 600; color: var(--s-muted); }

.bst-record2 dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 14px; }

.bst-record2 dt { color: var(--s-muted); }

.bst-record2 dd { margin: 0; font-weight: 700; }

.bst-record2 p { margin: 12px 0 0; padding-top: 10px; border-top: 1px dashed var(--s-paper-line); font-size: 12.5px; color: var(--s-muted); }

.bst-price-row { margin-top: 20px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }

.bst-price--big { font-size: clamp(28px, 3vw, 36px); letter-spacing: -0.02em; }

.bst-price-note { font-size: 14px; color: var(--s-muted); }

.bst-qty { display: inline-flex; align-items: center; border: 1px solid var(--s-line); border-radius: 12px; background: var(--s-surface); flex: 0 0 auto !important; }

.bst-qty button { width: 44px; height: 46px; border: 0; background: none; font: 700 20px var(--s-font); color: var(--s-ink); cursor: pointer; }

.bst-qty input { width: 44px; height: 46px; border: 0; text-align: center; font: 700 16px var(--s-font); color: var(--s-ink); background: none; }

.bst-assure-list { margin: 22px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--s-line); }

.bst-assure-list li { padding: 12px 0; border-bottom: 1px solid var(--s-line); font-size: 14.5px; margin: 0; }

.bst-assure-list b { display: block; font-size: 15px; }

.bst-assure-list span { color: var(--s-muted); }

.bst-assure-list a { font-weight: 700; text-underline-offset: 3px; color: var(--s-ink); }

.bst-below { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(24px, 4vw, 56px); padding: clamp(32px, 4vw, 56px) 0; border-top: 1px solid var(--s-line); }

.bst-below h2 { margin: 0 0 14px; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; }

.bst-specs { margin: 0; display: grid; grid-template-columns: minmax(140px, auto) 1fr; border-top: 1px solid var(--s-line); font-size: 15px; }

.bst-specs dt, .bst-specs dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--s-line); }

.bst-specs dt { color: var(--s-muted); padding-right: 18px; }

.bst-specs dd { font-weight: 600; }

.bst-specs-note { margin: 12px 0 0; font-size: 13.5px; color: var(--s-muted); }

.bst-grades { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--s-line); }

.bst-grades li { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--s-line); font-size: 15px; margin: 0; }

.bst-grades span { color: var(--s-muted); }

.bst-sidenote { margin: 14px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--s-surface); border: 1px solid var(--s-line); font-size: 14px; color: var(--s-muted); }

.bst-bizband { margin: 0 0 clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: center; padding: clamp(22px, 3vw, 32px); border-radius: 20px; background: var(--s-night); color: #fff; }

.bst-bizband h2 { margin: 0; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.02em; line-height: 1.15; color: #fff; }

.bst-bizband p { margin: 8px 0 0; color: var(--s-night-muted); }

.bst-bizband .bst-actions { margin: 0; }

.bst-related { padding-bottom: clamp(56px, 7vw, 96px); }

.bst-related h2 { margin: 0 0 18px; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; }

.bst-rel-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

.bst-rel { position: relative; text-decoration: none; }

.bst-rel h3 { margin: 10px 0 0; font-size: 15px; }

.bst-rel p { margin: 2px 0 0; font-size: 13.5px; color: var(--s-muted); font-weight: 600; }

.bst-buybar { display: none; }



@media (prefers-reduced-motion: reduce) {

  .bst-btn2, .bst-shot img { transition: none; }

  .bst-card:hover .bst-shot img { transform: none; }

}



/* ---------- Responsive ---------- */

@media (max-width: 1180px) { .bst-results { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 921px) {

  .bst-sitehead__wa { display: none; }

  .bst-menu-btn { display: inline-flex; align-items: center; }

  .bst-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 8px var(--s-gutter) 16px; flex-direction: column; gap: 0; background: var(--s-night); border-top: 1px solid var(--s-night-line); }

  .bst-nav.is-open { display: flex; }

  .bst-nav a { padding: 14px 4px; border-bottom: 1px solid var(--s-night-line); border-radius: 0; font-size: 16px; }

  .bst-cat-body { grid-template-columns: minmax(0, 1fr); padding-top: 18px; }

  .bst-facets { display: none; }

  .bst-filter-btn { display: inline-flex; }

  .bst-services__grid, .bst-empty, .bst-pdp, .bst-below, .bst-bizband { grid-template-columns: minmax(0, 1fr); }

  .bst-gallery { position: static; }

  .bst-rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .bst-buybar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; align-items: center; gap: 12px; padding: 10px var(--s-gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--s-surface); border-top: 1px solid var(--s-line); box-shadow: 0 -8px 24px -12px rgba(16,24,32,.25); transform: translateY(110%); transition: transform 220ms var(--s-ease); }

  .bst-buybar.is-shown { transform: none; }

  .bst-buybar__t { min-width: 0; flex: 1; font-size: 13px; color: var(--s-muted); line-height: 1.3; }

  .bst-buybar__t b { display: block; font-size: 16px; color: var(--s-ink); }

  .bst-buybar .bst-btn2 { flex: none; min-height: 44px; }

  .bst-pdp-page { padding-bottom: 76px; }

}

@media (max-width: 760px) { .bst-results { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; } }

@media (max-width: 640px) {

  .bst-sitehead__in { gap: 10px; }

  .bst-logo { min-width: 0; flex: 1 1 auto; }

  .bst-logo img { height: auto; max-height: 18px; width: 100%; max-width: 190px; object-fit: contain; object-position: left center; }

  .bst-sitehead__actions { gap: 8px; }

  .bst-quote-btn, .bst-menu-btn { padding: 0 10px; }

  .bst-utility__hours { display: none; }

  .bst-search { flex-basis: 100%; }

  .bst-toolbar .bst-count { flex-basis: 100%; order: -1; }

  .bst-sort label { display: none; }

  .bst-dept { width: 100px; min-height: 92px; padding: 11px 12px 10px; gap: 8px; }

  .bst-dept svg { width: 24px; height: 24px; }

  .bst-card__meta h3 { font-size: 15px; }

  .bst-spec { font-size: 12.5px; }

  .bst-units__bat { display: none; }

  .bst-card__actions { grid-template-columns: minmax(0, 1fr); }

  .bst-svc { grid-column: 1 / -1; }

  .bst-unit { grid-template-columns: auto minmax(0, 1fr); }

  .bst-unit__price { grid-row: auto; grid-column: 2; text-align: left; font-size: 17px; }

  .bst-specs { grid-template-columns: minmax(110px, auto) 1fr; font-size: 14px; }

  .bst-thumbs button { width: 64px; height: 64px; }

}

@media (max-width: 360px) { .bst-results { grid-template-columns: minmax(0, 1fr); } .bst-social a { min-width: 32px; } }



/* Launch fix 2026-10-05: Astra underlines every link in page content (.ast-single-post .entry-content a).
   Back Space components style their own links, so remove the theme underline inside them. */
.ast-single-post .entry-content .bst-store a { text-decoration: none; }

/* Launch fix 2026-10-05: Astra's scroll-to-top button in brand colours, and clear of the mobile product action bar. */
html body #ast-scroll-top { background-color: #101820; color: #fff; }
@media (max-width: 921px) {
  body:has(.bst-buybar.is-shown) #ast-scroll-top { bottom: calc(92px + env(safe-area-inset-bottom)); }
}

/* Deploy B 2026-10-06: WhatsApp and Call inside the open mobile menu (desktop already shows both in the header) */
.bst-nav__contact { display: none; }
@media (max-width: 921px) {
  .bst-nav__contact { display: grid; gap: 10px; padding-top: 16px; }
  .bst-nav .bst-nav__contact a { justify-content: center; padding: 0 16px; border-bottom: 0; border-radius: 12px; font-size: 15px; color: #fff; }
}

/* Deploy B 2026-10-06: a short next-step hint under "Price and condition on request" on product cards */
.bst-pending__hint { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 500; color: var(--s-muted); }

/* Deploy B 2026-10-06: five-column footer (brand, Shop, Buying from us, Visit, Contact).
   Scoped under .bst-footer so it outranks the base footer grid in bst-frontend.css regardless of load order. */
.bst-footer .bst-footer__grid--5 { grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 1100px) { .bst-footer .bst-footer__grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .bst-footer .bst-footer__grid--5 .bst-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 900px) { .bst-footer .bst-footer__grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bst-footer .bst-footer__grid--5 { grid-template-columns: minmax(0, 1fr); } }

/* 2026-10-20: manufacturer images are product shots on white, so their panel is white (was near-black for one dark reference image) */
.bst-shot.is-ref, .bst-mainshot.is-ref { background: #fff; }
.bst-shot.is-ref img { padding: 10px; }

/* Stage 5 S07: Clean-URL Shop category submenu in shared header */
.bst-nav__group { position: relative; display: flex; align-items: center; }
.bst-nav__top { display: inline-flex; align-items: center; gap: 5px; }
.bst-nav__caret { width: 11px; height: 11px; opacity: .75; transition: transform 160ms var(--s-ease); }
.bst-nav__sub { display: none; position: absolute; left: 0; top: 100%; min-width: 230px; padding: 8px; border-radius: 12px; background: var(--s-night-2); border: 1px solid var(--s-night-line); box-shadow: 0 18px 36px -12px rgba(0,0,0,.45); flex-direction: column; gap: 2px; z-index: 120; }
.bst-nav__sub a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: #D9E1EA; white-space: nowrap; }
.bst-nav__sub a:hover { background: rgba(255,255,255,.07); color: #fff; }
@media (min-width: 922px) {
  .bst-nav__group:hover .bst-nav__sub, .bst-nav__group:focus-within .bst-nav__sub { display: flex; }
  .bst-nav__group:hover .bst-nav__caret, .bst-nav__group:focus-within .bst-nav__caret { transform: rotate(180deg); }
}
@media (max-width: 921px) {
  .bst-nav__group { display: flex; flex-direction: column; align-items: stretch; }
  .bst-nav__caret { display: none; }
  .bst-nav__sub { display: flex; position: static; min-width: 0; padding: 0 0 4px 14px; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
  .bst-nav__sub a { padding: 11px 4px; font-size: 15px; border-bottom: 1px solid var(--s-night-line); white-space: normal; }
}
