/* ==========================================================================
   Yardline Power design system: "Birch & Ember"
   Birch-paper and sand grounds, stove-iron ink, walnut and lingonberry for structure,
   ember coral only on the actions. One bold element: the heater fit bar.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* colour */
  --sb-paper: #F6F8F7;
  --sb-sand: #E6ECEA;
  --sb-walnut: #12303F;
  --sb-wine: #8C3B1E;
  --sb-sage: #CFE3DA;
  --sb-sage-deep: #7FA394;
  --sb-graphite: #0E1B24;
  --sb-carbon: #16293A;
  --sb-iron: #24394A;
  --sb-ink: #0E1B24;
  --sb-slate: #4C6170;
  --sb-fog: #98AAB5;
  --sb-line: #D5DEE2;
  --sb-mist: #ECF1F3;
  --sb-white: #F6F8F7;
  --sb-volt: #1FA36A;
  --sb-volt-deep: #13804F;
  --sb-volt-soft: #DDF3E8;
  --sb-ok: #1F7A4D;
  --sb-bad: #B3261E;

  /* type */
  --sb-font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sb-wide: 118%;
  --sb-t-12: 0.75rem;
  --sb-t-13: 0.8125rem;
  --sb-t-14: 0.875rem;
  --sb-t-16: 1rem;
  --sb-t-18: 1.125rem;
  --sb-t-21: 1.3125rem;
  --sb-t-24: 1.5rem;
  --sb-t-h2: clamp(1.75rem, 1.15rem + 2vw, 2.75rem);
  --sb-t-h1: clamp(1.6rem, 1.2rem + 1.3vw, 2.3rem);
  --sb-t-display: clamp(2.6rem, 1.3rem + 5vw, 5.4rem);

  /* shape + space */
  --sb-r-pill: 999px;
  --sb-r-panel: 22px;
  --sb-r-media: 18px;
  --sb-r-field: 12px;
  --sb-r-chip: 8px;
  --sb-gutter: clamp(16px, 3.2vw, 40px);
  --sb-max: 1440px;
  --sb-section: clamp(56px, 7vw, 112px);
  --sb-header-h: 72px;
  --sb-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--sb-header-h) + 64px); }
body {
  margin: 0;
  font-family: var(--sb-font);
  font-size: var(--sb-t-16);
  line-height: 1.55;
  color: var(--sb-ink);
  background: var(--sb-white);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -0.02em; font-weight: 720; font-stretch: var(--sb-wide); }
p { margin: 0 0 1em; }
.sb-num, .sb-price, .sb-spec dd, .sb-table td { font-variant-numeric: tabular-nums; }

:focus-visible { outline: 2px solid var(--sb-volt-deep); outline-offset: 3px; border-radius: 6px; }
.sb-dark :focus-visible { outline-color: var(--sb-volt); }
.screen-reader-text, .sb-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sb-skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--sb-volt); color: var(--sb-graphite); padding: 10px 16px; border-radius: var(--sb-r-pill); font-weight: 600; }
.sb-skip:focus { top: 12px; }

.sb-container { width: 100%; max-width: var(--sb-max); margin: 0 auto; padding: 0 var(--sb-gutter); }
.sb-section { padding: var(--sb-section) 0; }
.sb-section--mist { background: var(--sb-mist); }
.sb-dark { background: var(--sb-graphite); color: var(--sb-white); }

.sb-h2 { font-size: var(--sb-t-h2); }
.sb-lede { font-size: var(--sb-t-18); color: var(--sb-slate); max-width: 60ch; }
.sb-dark .sb-lede { color: var(--sb-fog); }
.sb-sechead { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 3vw, 40px); flex-wrap: wrap; }
.sb-sechead p { margin: 10px 0 0; }

/* ---------------------------------------------------------------- buttons */
.sb-btn {
  --bg: var(--sb-graphite); --fg: var(--sb-white); --bd: var(--sb-graphite);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: var(--sb-r-pill);
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font-weight: 600; font-size: var(--sb-t-16); letter-spacing: -0.005em; text-decoration: none;
  cursor: pointer; transition: background-color .18s var(--sb-ease), border-color .18s var(--sb-ease), color .18s var(--sb-ease);
  white-space: nowrap;
}
.sb-btn:hover { --bg: var(--sb-carbon); --bd: var(--sb-carbon); }
.sb-btn--volt { --bg: var(--sb-volt); --fg: var(--sb-graphite); --bd: var(--sb-volt); }
.sb-btn--volt:hover { --bg: var(--sb-volt-deep); --bd: var(--sb-volt-deep); }
.sb-btn--ghost { --bg: transparent; --fg: var(--sb-ink); --bd: var(--sb-line); }
.sb-btn--ghost:hover { --bg: transparent; --bd: var(--sb-ink); }
.sb-dark .sb-btn--ghost { --fg: var(--sb-white); --bd: rgba(255,255,255,.28); }
.sb-dark .sb-btn--ghost:hover { --bd: var(--sb-white); }
.sb-btn--lg { min-height: 56px; padding: 0 32px; font-size: var(--sb-t-18); }
.sb-btn--block { width: 100%; }
.sb-link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--sb-volt); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.sb-link:hover { text-decoration-color: currentColor; }

/* ---------------------------------------------------------------- badges */
.sb-badge {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px;
  border-radius: var(--sb-r-chip); font-size: var(--sb-t-13); font-weight: 600; line-height: 1; white-space: nowrap;
}
.sb-badge--sale { background: var(--sb-volt); color: var(--sb-graphite); }
.sb-badge--cond { background: var(--sb-white); color: var(--sb-ink); box-shadow: inset 0 0 0 1px var(--sb-line); }
.sb-badge--dark { background: var(--sb-graphite); color: var(--sb-white); }
.sb-badge--ok { background: #E8F5EE; color: var(--sb-ok); }

/* ------------------------------------------------------- the kW meter (signature) */
.sb-meter { display: grid; grid-template-columns: repeat(var(--segs, 12), 1fr); gap: 4px; height: var(--h, 10px); }
.sb-meter i { display: block; border-radius: 3px; background: var(--off, var(--sb-line)); transition: background-color .25s var(--sb-ease); }
.sb-meter i.is-on { background: var(--sb-volt); }
.sb-meter i.is-over { background: var(--sb-bad); }
.sb-dark .sb-meter { --off: var(--sb-iron); }

.sb-mark { display: inline-grid; grid-auto-flow: column; align-items: end; gap: 2px; height: 22px; padding: 4px; border-radius: 7px; background: var(--sb-graphite); }
.sb-mark i { width: 4px; border-radius: 1.5px; background: var(--sb-volt); }
.sb-mark i:nth-child(1) { height: 5px; } .sb-mark i:nth-child(2) { height: 9px; } .sb-mark i:nth-child(3) { height: 14px; }

/* ---------------------------------------------------------------- announcement */
.sb-announce { background: var(--sb-graphite); color: var(--sb-white); font-size: var(--sb-t-14); }
.sb-announce .sb-container { display: flex; align-items: center; justify-content: center; gap: 28px; min-height: 40px; text-align: center; }
.sb-announce strong { color: var(--sb-volt); font-weight: 600; }
.sb-announce a { text-decoration: none; }
.sb-announce a:hover { text-decoration: underline; }
.sb-announce__aux { color: var(--sb-fog); }
@media (max-width: 760px) { .sb-announce__aux { display: none; } }

/* ---------------------------------------------------------------- header */
.sb-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--sb-line); }
.sb-header__row { display: flex; align-items: center; gap: 28px; height: var(--sb-header-h); position: relative; }
.sb-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.375rem; font-weight: 680; letter-spacing: -0.045em; color: var(--sb-ink); }
.sb-logo .sb-mark { height: 26px; padding: 5px; border-radius: 8px; }
.sb-logo .sb-mark i { width: 4.5px; }
.sb-logo .sb-mark i:nth-child(1) { height: 6px; } .sb-logo .sb-mark i:nth-child(2) { height: 10px; } .sb-logo .sb-mark i:nth-child(3) { height: 16px; }
.sb-nav { display: flex; gap: 4px; margin-right: auto; }
.sb-nav a { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: var(--sb-r-pill); text-decoration: none; font-weight: 520; font-size: var(--sb-t-16); color: var(--sb-ink); }
.sb-nav a:hover, .sb-nav a[aria-current="page"] { background: var(--sb-mist); }
.sb-nav a.sb-nav__deal { color: var(--sb-ink); box-shadow: inset 0 0 0 1.5px var(--sb-volt); }
.sb-tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.sb-icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--sb-r-pill); background: transparent; border: 0; cursor: pointer; text-decoration: none; color: var(--sb-ink); }
.sb-icon-btn:hover { background: var(--sb-mist); }
.sb-icon-btn svg { width: 22px; height: 22px; }
.sb-cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--sb-volt); color: var(--sb-graphite); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.sb-cart-count:empty, .sb-cart-count[data-count="0"] { display: none; }
.sb-search { position: relative; flex: 0 1 300px; }
.sb-search input { width: 100%; height: 44px; padding: 0 16px 0 44px; border-radius: var(--sb-r-pill); border: 1px solid transparent; background: var(--sb-mist); font-size: var(--sb-t-14); }
.sb-search input:focus { outline: none; border-color: var(--sb-ink); background: var(--sb-white); }
.sb-search svg { position: absolute; left: 15px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--sb-slate); pointer-events: none; }
.sb-menu-btn { display: none; }

@media (max-width: 1180px) {
  .sb-nav { display: none; }
  .sb-menu-btn { display: inline-grid; }
  .sb-search { display: none; }
  .sb-header__row { gap: 8px; }
  .sb-logo { margin-right: auto; }
}
.sb-drawer { position: fixed; inset: 0; z-index: 80; display: none; }
.sb-drawer.is-open { display: block; }
.sb-drawer__scrim { position: absolute; inset: 0; background: rgba(14, 27, 36,.48); }
.sb-drawer__panel { position: absolute; inset: 0 auto 0 0; width: min(88vw, 380px); background: var(--sb-white); padding: 20px var(--sb-gutter) calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; display: flex; flex-direction: column; gap: 6px; }
.sb-drawer__panel a.sb-drawer__link { display: flex; align-items: center; justify-content: space-between; min-height: 52px; font-size: var(--sb-t-18); font-weight: 560; text-decoration: none; border-bottom: 1px solid var(--sb-line); }
.sb-drawer__panel form { margin: 8px 0 12px; }
.sb-drawer__panel .sb-search { display: block; flex: none; }

/* ---------------------------------------------------------------- hero */
.sb-hero { position: relative; overflow: hidden; background: var(--sb-graphite); color: var(--sb-white); }
.sb-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-top: clamp(48px, 6vw, 96px); padding-bottom: clamp(40px, 5vw, 80px); }
.sb-hero__tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; font-size: var(--sb-t-16); font-weight: 600; color: var(--sb-volt); }
.sb-hero__tag .sb-meter { width: 52px; --segs: 4; --h: 8px; }
.sb-hero h1 { font-size: var(--sb-t-display); font-weight: 680; letter-spacing: -0.045em; line-height: .98; max-width: 11ch; }
.sb-hero__sub { margin: 26px 0 34px; font-size: var(--sb-t-21); line-height: 1.45; color: #C9CDD3; max-width: 36ch; }
.sb-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.sb-hero__fine { margin-top: 22px; font-size: var(--sb-t-14); color: var(--sb-fog); }

/* sizing console inside the hero: the memorable interaction */
.sb-console { background: var(--sb-carbon); border: 1px solid var(--sb-iron); border-radius: 28px; padding: clamp(22px, 2.6vw, 36px); }
.sb-console__q { font-size: var(--sb-t-18); font-weight: 600; margin-bottom: 6px; }
.sb-console__hint { font-size: var(--sb-t-14); color: var(--sb-fog); margin-bottom: 22px; }
.sb-console__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 26px; }
.sb-console__opt { text-align: left; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--sb-iron); background: transparent; color: var(--sb-white); cursor: pointer; transition: border-color .18s var(--sb-ease), background-color .18s var(--sb-ease); min-height: 64px; }
.sb-console__opt b { display: block; font-weight: 600; font-size: var(--sb-t-16); }
.sb-console__opt span { display: block; font-size: var(--sb-t-13); color: var(--sb-fog); margin-top: 2px; }
.sb-console__opt:hover { border-color: #4C6170; }
.sb-console__opt[aria-pressed="true"] { border-color: var(--sb-volt); background: rgba(255,176,32,.08); }
.sb-console__read { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.sb-console__kw { font-size: clamp(2.5rem, 1.6rem + 2.6vw, 3.75rem); font-weight: 680; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.sb-console__kw small { font-size: .42em; font-weight: 600; letter-spacing: -0.01em; color: var(--sb-fog); margin-left: 6px; }
.sb-console__cat { font-size: var(--sb-t-14); color: var(--sb-fog); text-align: right; }
.sb-console .sb-meter { --segs: 24; --h: 34px; gap: 3px; margin-bottom: 10px; }
.sb-console .sb-meter i { border-radius: 4px; }
.sb-console__scale { position: relative; height: 16px; font-size: var(--sb-t-12); color: var(--sb-fog); margin-bottom: 24px; font-variant-numeric: tabular-nums; }
.sb-console__scale span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.sb-console__scale span:first-child { transform: none; }
.sb-console__scale span:last-child { transform: translateX(-100%); }
.sb-console .sb-btn { width: 100%; }

@media (max-width: 960px) {
  .sb-hero__grid { grid-template-columns: 1fr; }
  .sb-hero h1 { max-width: 13ch; }
}
@media (max-width: 480px) { .sb-console__opts { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- category tiles */
.sb-cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.sb-cat { position: relative; display: flex; flex-direction: column; background: var(--sb-mist); border-radius: var(--sb-r-panel); padding: 20px 20px 22px; text-decoration: none; min-height: 280px; overflow: hidden; transition: background-color .2s var(--sb-ease); }
.sb-cat:hover { background: #E9EBEE; }
.sb-cat__img { flex: 1; display: grid; place-items: center; margin: 4px 0 14px; }
.sb-cat__img img { max-height: 150px; width: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s var(--sb-ease); }
.sb-cat:hover .sb-cat__img img { transform: scale(1.04); }
.sb-cat__name { font-size: var(--sb-t-18); font-weight: 620; letter-spacing: -0.015em; }
.sb-cat__meta { font-size: var(--sb-t-14); color: var(--sb-slate); margin-top: 2px; }
.sb-cat--lead { grid-column: span 2; grid-row: span 2; background: var(--sb-graphite); color: var(--sb-white); padding: 32px; }
.sb-cat--lead:hover { background: var(--sb-carbon); }
.sb-cat--lead .sb-cat__img img { max-height: 320px; mix-blend-mode: normal; border-radius: var(--sb-r-media); }
.sb-cat--lead .sb-cat__name { font-size: var(--sb-t-24); }
.sb-cat--lead .sb-cat__meta { color: var(--sb-fog); }
@media (max-width: 1100px) { .sb-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sb-cat--lead { grid-column: span 3; grid-row: auto; } }
@media (max-width: 640px) { .sb-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sb-cat--lead { grid-column: span 2; } .sb-cat { min-height: 220px; } .sb-cat__img img { max-height: 110px; } }

/* ---------------------------------------------------------------- tabs */
.sb-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--sb-r-pill); background: var(--sb-mist); overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.sb-tabs::-webkit-scrollbar { display: none; }
.sb-tab { border: 0; background: transparent; height: 40px; padding: 0 18px; border-radius: var(--sb-r-pill); font-weight: 560; cursor: pointer; white-space: nowrap; color: var(--sb-slate); }
.sb-tab[aria-selected="true"] { background: var(--sb-white); color: var(--sb-ink); box-shadow: 0 1px 2px rgba(14, 27, 36,.08); }

/* ---------------------------------------------------------------- product grid + card */
.sb-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
@media (max-width: 1100px) { .sb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .sb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; } }
.sb-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.sb-card__media { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: var(--sb-r-panel); background: var(--sb-mist); overflow: hidden; }
.sb-card__media img { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s var(--sb-ease); }
.sb-card:hover .sb-card__media img { transform: scale(1.035); }
.sb-card__badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 1; }
.sb-card__body { padding: 16px 4px 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.sb-card__brand { font-size: var(--sb-t-13); color: var(--sb-slate); font-weight: 520; }
.sb-card__title { font-size: var(--sb-t-16); font-weight: 560; line-height: 1.35; letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sb-card__title a { text-decoration: none; }
.sb-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.sb-card__power { display: flex; align-items: center; gap: 10px; font-size: var(--sb-t-13); color: var(--sb-slate); margin-top: 2px; }
.sb-card__power .sb-meter { width: 64px; --segs: 6; --h: 6px; gap: 2px; flex: none; }
.sb-card__power .sb-meter i { border-radius: 2px; }
.sb-card__price { margin-top: auto; padding-top: 8px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- price */
.sb-price { display: inline-flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.sb-price ins { text-decoration: none; font-size: var(--sb-t-18); font-weight: 650; letter-spacing: -0.02em; color: var(--sb-ink); }
.sb-price del { color: var(--sb-slate); font-size: var(--sb-t-14); }
.sb-price del .amount { text-decoration: line-through; }
.sb-price .sb-save { font-size: var(--sb-t-13); font-weight: 600; color: var(--sb-ink); background: var(--sb-volt-soft); padding: 2px 8px; border-radius: 6px; }

/* ---------------------------------------------------------------- size guide band */
.sb-sizes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--sb-iron); border-radius: var(--sb-r-panel); overflow: hidden; border: 1px solid var(--sb-iron); }
.sb-size { background: var(--sb-graphite); padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; transition: background-color .2s var(--sb-ease); min-height: 260px; }
.sb-size:hover { background: var(--sb-carbon); }
.sb-size .sb-meter { --segs: 8; --h: 8px; width: 112px; gap: 3px; }
.sb-size__range { font-size: 2.25rem; font-weight: 680; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.sb-size__range small { font-size: .45em; color: var(--sb-fog); font-weight: 560; margin-left: 4px; letter-spacing: 0; }
.sb-size__name { font-weight: 620; font-size: var(--sb-t-18); }
.sb-size__runs { font-size: var(--sb-t-14); color: var(--sb-fog); line-height: 1.5; }
.sb-size__go { margin-top: auto; font-size: var(--sb-t-14); font-weight: 600; color: var(--sb-volt); }
@media (max-width: 1000px) { .sb-sizes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sb-sizes { grid-template-columns: 1fr; } .sb-size { min-height: 0; } }

/* ---------------------------------------------------------------- brands */
.sb-brands { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.sb-brand { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 120px; padding: 20px; border-radius: var(--sb-r-panel); border: 1px solid var(--sb-line); text-decoration: none; transition: border-color .2s var(--sb-ease); }
.sb-brand:hover { border-color: var(--sb-ink); }
.sb-brand b { font-size: var(--sb-t-21); font-weight: 650; letter-spacing: -0.03em; }
.sb-brand span { font-size: var(--sb-t-14); color: var(--sb-slate); }
@media (max-width: 1000px) { .sb-brands { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sb-brands { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- promises */
.sb-promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.sb-promise svg { width: 28px; height: 28px; margin-bottom: 16px; }
.sb-promise h3 { font-size: var(--sb-t-18); margin-bottom: 6px; letter-spacing: -0.015em; }
.sb-promise p { font-size: var(--sb-t-14); color: var(--sb-slate); margin: 0; max-width: 32ch; }
@media (max-width: 900px) { .sb-promises { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .sb-promises { grid-template-columns: 1fr; gap: 24px; } }

/* ---------------------------------------------------------------- help band */
.sb-help { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; background: var(--sb-mist); border-radius: 28px; padding: clamp(28px, 4vw, 56px); }
.sb-help h2 { font-size: var(--sb-t-h2); margin-bottom: 12px; }
.sb-help p { color: var(--sb-slate); margin: 0; max-width: 46ch; }
.sb-help__ways { display: grid; gap: 10px; }
.sb-help__way { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 16px; background: var(--sb-white); text-decoration: none; }
.sb-help__way svg { width: 22px; height: 22px; flex: none; }
.sb-help__way b { display: block; font-weight: 620; }
.sb-help__way span { font-size: var(--sb-t-14); color: var(--sb-slate); }
@media (max-width: 860px) { .sb-help { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- footer */
.sb-footer { background: var(--sb-graphite); color: #C9CDD3; padding: clamp(48px, 6vw, 80px) 0 calc(28px + env(safe-area-inset-bottom)); font-size: var(--sb-t-14); }
.sb-footer a { text-decoration: none; }
.sb-footer a:hover { color: var(--sb-white); text-decoration: underline; }
.sb-footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--sb-iron); }
.sb-footer .sb-logo { color: var(--sb-white); }
.sb-footer .sb-logo .sb-mark { background: var(--sb-carbon); }
.sb-footer__nap { margin-top: 20px; font-style: normal; line-height: 1.7; }
.sb-footer h2 { font-size: var(--sb-t-14); font-weight: 600; color: var(--sb-white); letter-spacing: 0; margin-bottom: 14px; }
.sb-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sb-footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; color: var(--sb-fog); }
.sb-pay { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sb-pay span { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 6px; background: var(--sb-carbon); border: 1px solid var(--sb-iron); color: #DADDE2; font-size: var(--sb-t-12); font-weight: 600; }
@media (max-width: 900px) { .sb-footer__top { grid-template-columns: 1fr 1fr; } .sb-footer__brand { grid-column: 1 / -1; } }

/* ==========================================================================
   Product page
   ========================================================================== */
.sb-crumbs { font-size: var(--sb-t-13); color: var(--sb-slate); padding: 18px 0 0; }
.sb-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.sb-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--sb-fog); }
.sb-crumbs a { text-decoration: none; }
.sb-crumbs a:hover { text-decoration: underline; }

.sb-pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); padding: 20px 0 clamp(48px, 6vw, 88px); align-items: start; }
@media (max-width: 960px) { .sb-pdp { grid-template-columns: 1fr; } }

/* gallery */
.sb-gallery { position: sticky; top: calc(var(--sb-header-h) + 20px); display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; }
.sb-gallery__stage { position: relative; aspect-ratio: 1 / 1; border-radius: 24px; background: var(--sb-mist); overflow: hidden; cursor: zoom-in; }
.sb-gallery__stage img { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.sb-gallery__badges { position: absolute; top: 18px; left: 18px; display: flex; gap: 8px; z-index: 1; }
.sb-gallery__count { position: absolute; right: 18px; bottom: 18px; font-size: var(--sb-t-13); background: rgba(255,255,255,.9); padding: 4px 10px; border-radius: var(--sb-r-pill); font-variant-numeric: tabular-nums; }
.sb-thumbs { display: flex; flex-direction: column; gap: 10px; max-height: min(640px, 70vh); overflow-y: auto; scrollbar-width: thin; padding: 2px; }
.sb-thumb { flex: none; width: 72px; height: 72px; border-radius: 12px; background: var(--sb-mist); border: 0; padding: 6px; cursor: pointer; box-shadow: inset 0 0 0 1.5px transparent; }
.sb-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.sb-thumb[aria-current="true"] { box-shadow: inset 0 0 0 2px var(--sb-ink); }
.sb-gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; cursor: pointer; z-index: 2; }
.sb-gallery__nav--prev { left: 14px; } .sb-gallery__nav--next { right: 14px; }
.sb-gallery__nav svg { width: 18px; height: 18px; }
@media (max-width: 960px) {
  .sb-gallery { position: static; grid-template-columns: 1fr; }
  .sb-thumbs { order: 2; flex-direction: row; max-height: none; overflow-x: auto; }
}

/* lightbox */
.sb-lightbox { position: fixed; inset: 0; z-index: 90; background: var(--sb-white); display: none; }
.sb-lightbox.is-open { display: grid; place-items: center; }
.sb-lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.sb-lightbox__close { position: absolute; top: 16px; right: 16px; }

/* buy box */
.sb-buy { display: flex; flex-direction: column; gap: 22px; }
.sb-buy__brand { display: flex; align-items: center; gap: 10px; font-size: var(--sb-t-14); color: var(--sb-slate); }
.sb-buy__brand a { font-weight: 600; color: var(--sb-ink); text-decoration: none; }
.sb-buy h1 { font-size: var(--sb-t-h1); font-weight: 650; letter-spacing: -0.03em; line-height: 1.15; }
.sb-buy__ids { display: flex; gap: 16px; flex-wrap: wrap; font-size: var(--sb-t-13); color: var(--sb-slate); margin-top: -8px; }
.sb-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.sb-tile { background: var(--sb-mist); border-radius: 14px; padding: 14px 14px 12px; min-width: 0; }
.sb-tile dt { font-size: var(--sb-t-12); color: var(--sb-slate); margin-bottom: 4px; }
.sb-tile dd { margin: 0; font-size: var(--sb-t-18); font-weight: 650; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .sb-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.sb-pricebox { border-top: 1px solid var(--sb-line); padding-top: 22px; display: grid; gap: 10px; }
.sb-pricebox__row { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.sb-pricebox__now { font-size: clamp(2rem, 1.5rem + 1.4vw, 2.6rem); font-weight: 680; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.sb-pricebox__was { font-size: var(--sb-t-18); color: var(--sb-slate); }
.sb-pricebox__was s { text-decoration-thickness: 1.5px; }
.sb-pricebox__deal { display: flex; align-items: center; gap: 10px; font-size: var(--sb-t-14); }
.sb-pricebox__note { font-size: var(--sb-t-13); color: var(--sb-slate); }

.sb-stock { display: flex; align-items: center; gap: 8px; font-size: var(--sb-t-14); font-weight: 560; }
.sb-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sb-ok); box-shadow: 0 0 0 4px rgba(31,138,76,.14); }
.sb-stock--out::before { background: var(--sb-bad); box-shadow: 0 0 0 4px rgba(200,50,30,.14); }

.sb-ship { display: grid; gap: 0; border: 1px solid var(--sb-line); border-radius: 16px; overflow: hidden; }
.sb-ship__row { display: flex; gap: 14px; padding: 14px 16px; font-size: var(--sb-t-14); }
.sb-ship__row + .sb-ship__row { border-top: 1px solid var(--sb-line); }
.sb-ship__row svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.sb-ship__row b { font-weight: 600; }
.sb-ship__row span { color: var(--sb-slate); }
.sb-ship__row--warn { background: #FDF3F1; }
.sb-ship__row--warn svg { color: var(--sb-bad); }

.sb-variants { display: grid; gap: 10px; }
.sb-variants__label { font-size: var(--sb-t-14); font-weight: 600; }
.sb-variants__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.sb-variant { min-height: 44px; padding: 8px 16px; border-radius: 12px; border: 1.5px solid var(--sb-line); background: var(--sb-white); cursor: pointer; text-align: left; font-size: var(--sb-t-14); font-weight: 520; }
.sb-variant[aria-pressed="true"] { border-color: var(--sb-ink); }
.sb-variant small { display: block; color: var(--sb-slate); font-weight: 450; }

.sb-atc { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.sb-qty { display: inline-flex; align-items: center; height: 56px; border-radius: var(--sb-r-pill); border: 1.5px solid var(--sb-line); }
.sb-qty button { width: 46px; height: 100%; border: 0; background: transparent; cursor: pointer; font-size: 20px; border-radius: var(--sb-r-pill); }
.sb-qty input { width: 40px; border: 0; text-align: center; font-weight: 600; background: transparent; -moz-appearance: textfield; }
.sb-qty input::-webkit-outer-spin-button, .sb-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sb-atc .sb-btn--buy { grid-column: 1 / -1; }

.sb-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sb-trust div { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 14px; background: var(--sb-mist); font-size: var(--sb-t-13); }
.sb-trust svg { width: 20px; height: 20px; }
.sb-trust b { font-weight: 600; font-size: var(--sb-t-14); }
.sb-trust span { color: var(--sb-slate); }

.sb-askcard { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 16px; background: var(--sb-graphite); color: var(--sb-white); }
.sb-askcard .sb-mark { flex: none; height: 34px; padding: 6px; background: var(--sb-carbon); }
.sb-askcard .sb-mark i { width: 5px; }
.sb-askcard .sb-mark i:nth-child(1) { height: 8px; } .sb-askcard .sb-mark i:nth-child(2) { height: 14px; } .sb-askcard .sb-mark i:nth-child(3) { height: 22px; }
.sb-askcard b { display: block; font-weight: 600; }
.sb-askcard p { margin: 2px 0 0; font-size: var(--sb-t-14); color: #C9CDD3; }
.sb-askcard a { color: var(--sb-white); font-weight: 600; text-decoration-color: var(--sb-volt); text-decoration-thickness: 2px; }

/* section nav */
.sb-secnav { position: sticky; top: var(--sb-header-h); z-index: 30; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--sb-line); }
.sb-secnav .sb-container { display: flex; align-items: center; gap: 20px; height: 60px; }
.sb-secnav nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin-right: auto; }
.sb-secnav nav::-webkit-scrollbar { display: none; }
.sb-secnav nav a { position: relative; display: inline-flex; align-items: center; height: 60px; padding: 0 14px; text-decoration: none; font-size: var(--sb-t-14); font-weight: 560; color: var(--sb-slate); white-space: nowrap; }
.sb-secnav nav a[aria-current="true"] { color: var(--sb-ink); }
.sb-secnav nav a[aria-current="true"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--sb-ink); }
.sb-secnav__buy { display: flex; align-items: center; gap: 16px; }
.sb-secnav__buy .sb-price ins { font-size: var(--sb-t-18); }
.sb-secnav__buy .sb-btn { min-height: 42px; padding: 0 20px; font-size: var(--sb-t-14); }
@media (max-width: 760px) { .sb-secnav__buy { display: none; } }

.sb-block { padding: clamp(48px, 6vw, 88px) 0; border-bottom: 1px solid var(--sb-line); }
.sb-block__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.sb-block__head h2 { font-size: var(--sb-t-h2); }
.sb-block__head p { margin: 8px 0 0; color: var(--sb-slate); max-width: 60ch; }

/* overview / description content */
.sb-overview { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 960px) { .sb-overview { grid-template-columns: 1fr; } }
.sb-desc { max-width: 72ch; font-size: var(--sb-t-16); line-height: 1.65; }
.sb-desc .sb-lead { font-size: var(--sb-t-21); line-height: 1.5; letter-spacing: -0.012em; color: var(--sb-ink); margin-bottom: 28px; }
.sb-desc h3 { font-size: var(--sb-t-24); margin: 44px 0 16px; }
.sb-desc h4 { font-size: var(--sb-t-18); margin: 24px 0 8px; }
.sb-desc p, .sb-desc li { color: #24394A; }
.sb-desc ul, .sb-desc ol { padding-left: 1.2em; }
.sb-desc li { margin: 6px 0; }
.sb-desc .sb-highlights { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sb-desc .sb-highlights li { margin: 0; padding: 18px 18px 18px 20px; border-radius: 14px; background: var(--sb-mist); position: relative; }
.sb-desc .sb-highlights li::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 2px; background: var(--sb-volt); }
.sb-desc .sb-highlights strong { display: block; font-weight: 620; color: var(--sb-ink); margin-bottom: 2px; }
.sb-desc .sb-highlights span { display: block; font-size: var(--sb-t-14); color: var(--sb-slate); line-height: 1.5; }
@media (max-width: 640px) { .sb-desc .sb-highlights { grid-template-columns: 1fr; } }
.sb-desc .sb-maker { padding-left: 20px; border-left: 2px solid var(--sb-line); }
.sb-desc .sb-maker table { width: 100%; border-collapse: collapse; font-size: var(--sb-t-14); margin: 12px 0; }
.sb-desc .sb-maker td, .sb-desc .sb-maker th { padding: 8px 10px; border-bottom: 1px solid var(--sb-line); text-align: left; vertical-align: top; }
.sb-desc .sb-cond { margin: -8px 0 28px; padding: 16px 18px; border-radius: 14px; background: var(--sb-volt-soft); font-size: var(--sb-t-14); line-height: 1.55; color: var(--sb-ink); }
.sb-desc .sb-faq { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--sb-line); }
.sb-desc .sb-faq dt { font-weight: 620; padding: 18px 0 6px; color: var(--sb-ink); }
.sb-desc .sb-faq dd { margin: 0; padding-bottom: 18px; border-bottom: 1px solid var(--sb-line); color: #24394A; }

.sb-aside { position: sticky; top: calc(var(--sb-header-h) + 84px); display: grid; gap: 12px; }
.sb-aside__card { border-radius: var(--sb-r-panel); background: var(--sb-mist); padding: 24px; }
.sb-aside__card h3 { font-size: var(--sb-t-18); margin-bottom: 14px; }

/* spec table */
.sb-spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 64px); margin: 0; }
.sb-spec div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--sb-line); }
.sb-spec dt { color: var(--sb-slate); font-size: var(--sb-t-14); }
.sb-spec dd { margin: 0; font-weight: 560; font-size: var(--sb-t-14); }
@media (max-width: 760px) { .sb-spec { grid-template-columns: 1fr; } }

/* What it can run planner */
.sb-planner { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 1000px) { .sb-planner { grid-template-columns: 1fr; } }
.sb-planner__groups { display: grid; gap: 28px; }
.sb-planner__group h3 { font-size: var(--sb-t-14); font-weight: 600; color: var(--sb-slate); margin-bottom: 12px; letter-spacing: 0; }
.sb-apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 1200px) { .sb-apps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .sb-apps { grid-template-columns: 1fr; } }
.sb-app { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--sb-line); background: var(--sb-white); cursor: pointer; text-align: left; transition: border-color .15s var(--sb-ease), background-color .15s var(--sb-ease); }
.sb-app:hover { border-color: #C3C7CE; }
.sb-app[aria-pressed="true"] { border-color: var(--sb-ink); background: var(--sb-mist); }
.sb-app__box { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid #B9BEC6; display: grid; place-items: center; }
.sb-app[aria-pressed="true"] .sb-app__box { background: var(--sb-graphite); border-color: var(--sb-graphite); }
.sb-app__box svg { width: 14px; height: 14px; color: var(--sb-volt); opacity: 0; }
.sb-app[aria-pressed="true"] .sb-app__box svg { opacity: 1; }
.sb-app__name { display: block; font-weight: 560; font-size: var(--sb-t-14); line-height: 1.3; }
.sb-app__w { display: block; font-size: var(--sb-t-12); color: var(--sb-slate); font-variant-numeric: tabular-nums; margin-top: 2px; }

.sb-gauge { position: sticky; top: calc(var(--sb-header-h) + 84px); background: var(--sb-graphite); color: var(--sb-white); border-radius: 24px; padding: 28px; display: grid; gap: 18px; }
.sb-gauge__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sb-gauge__label { font-size: var(--sb-t-14); color: var(--sb-fog); }
.sb-gauge__pct { font-size: 3.25rem; font-weight: 680; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.sb-gauge__pct small { font-size: .4em; color: var(--sb-fog); margin-left: 4px; font-weight: 560; }
.sb-gauge .sb-meter { --segs: 20; --h: 40px; gap: 3px; }
.sb-gauge .sb-meter i { border-radius: 4px; }
.sb-gauge__rows { display: grid; gap: 10px; font-size: var(--sb-t-14); }
.sb-gauge__row { display: flex; justify-content: space-between; gap: 12px; color: #C9CDD3; font-variant-numeric: tabular-nums; }
.sb-gauge__row b { color: var(--sb-white); font-weight: 600; }
.sb-gauge__status { padding: 14px 16px; border-radius: 14px; background: var(--sb-carbon); font-size: var(--sb-t-14); line-height: 1.5; }
.sb-gauge__status[data-state="ok"] { box-shadow: inset 3px 0 0 var(--sb-ok); }
.sb-gauge__status[data-state="tight"] { box-shadow: inset 3px 0 0 var(--sb-volt); }
.sb-gauge__status[data-state="over"] { box-shadow: inset 3px 0 0 var(--sb-bad); }
.sb-gauge__reset { justify-self: start; background: none; border: 0; color: var(--sb-fog); font-size: var(--sb-t-14); text-decoration: underline; cursor: pointer; padding: 0; }
.sb-planner__note { font-size: var(--sb-t-13); color: var(--sb-slate); margin-top: 20px; max-width: 72ch; }

/* compare */
.sb-compare { overflow-x: auto; border: 1px solid var(--sb-line); border-radius: var(--sb-r-panel); }
.sb-compare table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: var(--sb-t-14); }
.sb-compare th, .sb-compare td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--sb-line); }
.sb-compare tr:last-child td, .sb-compare tr:last-child th { border-bottom: 0; }
.sb-compare thead th { vertical-align: bottom; font-weight: 400; width: 26%; }
.sb-compare thead th:first-child { width: 22%; }
.sb-compare tbody th { color: var(--sb-slate); font-weight: 500; }
.sb-compare td { font-weight: 560; font-variant-numeric: tabular-nums; }
.sb-compare .is-this { background: var(--sb-mist); }
.sb-cmp-head { display: grid; gap: 10px; }
.sb-cmp-head img { width: 96px; height: 96px; object-fit: contain; mix-blend-mode: multiply; }
.sb-cmp-head a { font-weight: 600; text-decoration: none; line-height: 1.35; }
.sb-cmp-head a:hover { text-decoration: underline; }
.sb-cmp-head .sb-badge { justify-self: start; }

/* questions */
.sb-qa { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 960px) { .sb-qa { grid-template-columns: 1fr; } }
.sb-qa details { border-bottom: 1px solid var(--sb-line); }
.sb-qa details:first-child { border-top: 1px solid var(--sb-line); }
.sb-qa summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 600; font-size: var(--sb-t-18); letter-spacing: -0.012em; cursor: pointer; list-style: none; }
.sb-qa summary::-webkit-details-marker { display: none; }
.sb-qa summary svg { width: 20px; height: 20px; flex: none; transition: transform .2s var(--sb-ease); }
.sb-qa details[open] summary svg { transform: rotate(45deg); }
.sb-qa details p { margin: -6px 0 22px; color: #24394A; max-width: 68ch; }
.sb-form { display: grid; gap: 12px; background: var(--sb-mist); border-radius: var(--sb-r-panel); padding: 24px; }
.sb-form h3 { font-size: var(--sb-t-18); }
.sb-form p { font-size: var(--sb-t-14); color: var(--sb-slate); margin: -4px 0 4px; }
.sb-field { display: grid; gap: 6px; font-size: var(--sb-t-13); font-weight: 560; }
.sb-field input, .sb-field textarea, .sb-field select { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--sb-r-field); border: 1px solid var(--sb-line); background: var(--sb-white); font-size: var(--sb-t-16); font-weight: 400; }
.sb-field textarea { min-height: 110px; resize: vertical; }
.sb-field input:focus, .sb-field textarea:focus, .sb-field select:focus { outline: none; border-color: var(--sb-ink); box-shadow: 0 0 0 3px rgba(14, 27, 36,.08); }
.sb-hp { position: absolute; left: -9999px; }

/* recently viewed / related rail */
.sb-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.sb-rail > * { scroll-snap-align: start; }
@media (max-width: 1100px) { .sb-rail { grid-auto-columns: calc((100% - 40px) / 3); } }
@media (max-width: 760px) { .sb-rail { grid-auto-columns: 62%; gap: 12px; } }

/* sticky mobile buy bar */
.sb-mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; align-items: center; gap: 14px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--sb-line); transform: translateY(110%); transition: transform .25s var(--sb-ease); }
.sb-mbar.is-shown { transform: none; }
.sb-mbar .sb-price ins { font-size: var(--sb-t-18); }
.sb-mbar .sb-btn { margin-left: auto; min-height: 48px; }
@media (max-width: 760px) { .sb-mbar { display: flex; } }

/* ==========================================================================
   Shop / archive
   ========================================================================== */
.sb-shophead { padding: clamp(28px, 4vw, 56px) 0 24px; }
.sb-shophead h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem); letter-spacing: -0.04em; }
.sb-shophead p { color: var(--sb-slate); margin: 12px 0 0; max-width: 64ch; }
.sb-shop { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start; padding-bottom: var(--sb-section); }
@media (max-width: 960px) { .sb-shop { grid-template-columns: 1fr; } }
.sb-filters { position: sticky; top: calc(var(--sb-header-h) + 20px); display: grid; gap: 4px; }
.sb-filter { border-bottom: 1px solid var(--sb-line); padding: 6px 0 14px; }
.sb-filter h2 { font-size: var(--sb-t-14); font-weight: 620; letter-spacing: 0; padding: 12px 0 8px; }
.sb-filter ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sb-filter a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; margin: 0 -10px; border-radius: 10px; text-decoration: none; font-size: var(--sb-t-14); }
.sb-filter a:hover { background: var(--sb-mist); }
.sb-filter a[aria-current="true"] { background: var(--sb-graphite); color: var(--sb-white); }
.sb-filter a span { color: var(--sb-slate); font-variant-numeric: tabular-nums; }
.sb-filter a[aria-current="true"] span { color: var(--sb-fog); }
.sb-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.sb-toolbar__count { font-size: var(--sb-t-14); color: var(--sb-slate); }
.sb-toolbar select { height: 44px; padding: 0 40px 0 16px; border-radius: var(--sb-r-pill); border: 1px solid var(--sb-line); background: var(--sb-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%230E1013' stroke-width='1.6'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 16px center; -webkit-appearance: none; appearance: none; font-size: var(--sb-t-14); cursor: pointer; }
.sb-filters-btn { display: none; }
@media (max-width: 960px) {
  .sb-filters { position: static; display: none; }
  .sb-filters.is-open { display: grid; }
  .sb-filters-btn { display: inline-flex; }
}
.sb-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 56px; flex-wrap: wrap; }
.sb-pagination a, .sb-pagination span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--sb-r-pill); text-decoration: none; font-weight: 560; font-variant-numeric: tabular-nums; }
.sb-pagination a:hover { background: var(--sb-mist); }
.sb-pagination .current { background: var(--sb-graphite); color: var(--sb-white); }
.sb-empty { padding: 64px 24px; text-align: center; border-radius: var(--sb-r-panel); background: var(--sb-mist); }
.sb-empty h2 { font-size: var(--sb-t-24); margin-bottom: 8px; }
.sb-empty p { color: var(--sb-slate); }

/* ==========================================================================
   Pages (policies, contact, about)
   ========================================================================== */
.sb-page { padding: clamp(40px, 5vw, 72px) 0 var(--sb-section); }
.sb-page__head { max-width: 760px; margin-bottom: 40px; }
.sb-page__head h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem); letter-spacing: -0.04em; }
.sb-page__head p { color: var(--sb-slate); margin-top: 12px; font-size: var(--sb-t-18); }
.sb-prose { max-width: 72ch; line-height: 1.7; }
.sb-prose h2 { font-size: var(--sb-t-24); margin: 40px 0 12px; }
.sb-prose h3 { font-size: var(--sb-t-18); margin: 28px 0 8px; }
.sb-prose ul, .sb-prose ol { padding-left: 1.2em; }
.sb-prose li { margin: 6px 0; }
.sb-prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: var(--sb-t-14); }
.sb-prose th, .sb-prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--sb-line); }
.sb-prose address { font-style: normal; }

/* ==========================================================================
   WooCommerce: notices, cart & checkout blocks
   ========================================================================== */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error,
.wc-block-components-notice-banner { border-radius: 14px !important; border: 1px solid var(--sb-line) !important; background: var(--sb-mist) !important; color: var(--sb-ink) !important; padding: 14px 18px !important; list-style: none; margin: 0 0 20px !important; font-size: var(--sb-t-14); }
.woocommerce-error, .wc-block-components-notice-banner.is-error { background: #FDF3F1 !important; border-color: #F3C9C1 !important; }
.woocommerce-message a.button, .woocommerce-info a.button { float: right; font-weight: 600; }

.sb-woo { padding: clamp(32px, 4vw, 56px) 0 var(--sb-section); }
.sb-woo h1.sb-woo__title { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); letter-spacing: -0.04em; margin-bottom: 28px; }
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { font-family: var(--sb-font); }
.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
  min-height: 56px !important; border-radius: var(--sb-r-pill) !important; background: var(--sb-volt) !important; color: var(--sb-graphite) !important;
  font-weight: 650 !important; font-size: var(--sb-t-18) !important; border: 0 !important; box-shadow: none !important;
}
.wc-block-components-button:not(.is-link):hover { background: var(--sb-volt-deep) !important; }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-blocks-components-select .wc-blocks-components-select__select, .wc-block-components-textarea {
  border-radius: var(--sb-r-field) !important; border-color: var(--sb-line) !important; min-height: 52px;
}
.wc-block-components-text-input.is-active input, .wc-block-components-text-input input:focus { border-color: var(--sb-ink) !important; box-shadow: 0 0 0 3px rgba(14, 27, 36,.08) !important; }
.wc-block-components-sidebar .wc-block-components-panel, .wc-block-components-totals-wrapper { border-color: var(--sb-line) !important; }
.wc-block-checkout__sidebar, .wc-block-cart__sidebar { background: var(--sb-mist); border-radius: 24px; padding: 24px !important; }
.wc-block-components-sidebar-layout .wc-block-components-main { padding-right: 4% !important; }
.wc-block-components-checkout-step__title, .wc-block-cart-items__header, .wc-block-components-title { font-weight: 650 !important; letter-spacing: -0.02em; }
.wc-block-components-product-badge { border-radius: 6px !important; background: var(--sb-volt) !important; color: var(--sb-graphite) !important; border: 0 !important; font-weight: 600; }
.wc-block-components-radio-control-accordion-option, .wc-block-components-radio-control__option { border-radius: 14px !important; }
.wc-block-components-order-summary-item__image img { mix-blend-mode: multiply; background: var(--sb-white); border-radius: 10px; }
.sb-checkout-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-size: var(--sb-t-13); color: var(--sb-slate); }
.sb-checkout-trust span { display: inline-flex; align-items: center; gap: 6px; }
.sb-checkout-trust svg { width: 16px; height: 16px; }

/* classic fallback buttons */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: var(--sb-r-pill);
  background: var(--sb-graphite); color: var(--sb-white); border: 0; font-weight: 600; text-decoration: none; cursor: pointer;
}
.woocommerce a.button.alt, .woocommerce button.button.alt { background: var(--sb-volt); color: var(--sb-graphite); }

/* ------------------------------------------------------------------ motion */
@keyframes sb-power { from { background: var(--off, var(--sb-iron)); } }
.sb-hero .sb-console .sb-meter i.is-on { animation: sb-power .5s var(--sb-ease) both; animation-delay: calc(var(--i, 0) * 28ms + 250ms); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* layout modifiers */
.sb-section--flush { padding-top: 0; }
.sb-sizes--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .sb-sizes--two { grid-template-columns: 1fr; } }
.sb-notice { padding: 14px 18px; border-radius: 14px; background: var(--sb-mist); font-size: var(--sb-t-14); margin-bottom: 16px; }
.sb-notice--ok { background: #E8F5EE; }
.sb-notice--err { background: #FDF3F1; }
.sb-buy .variations_form { display: grid; gap: 14px; }
.sb-buy table.variations { border-collapse: collapse; width: 100%; }
.sb-buy table.variations th, .sb-buy table.variations td { display: block; text-align: left; padding: 0 0 8px; }
.sb-buy table.variations select { width: 100%; min-height: 48px; padding: 0 14px; border-radius: var(--sb-r-field); border: 1px solid var(--sb-line); background: var(--sb-white); }
.sb-buy .reset_variations { font-size: var(--sb-t-13); margin-left: 8px; }
.sb-buy .woocommerce-variation-price .price { font-size: var(--sb-t-24); font-weight: 650; }
.sb-buy .woocommerce-variation-add-to-cart { display: flex; gap: 10px; flex-wrap: wrap; }
.sb-buy .woocommerce-variation-add-to-cart .quantity input { width: 72px; min-height: 56px; border-radius: var(--sb-r-pill); border: 1.5px solid var(--sb-line); text-align: center; }
.sb-buy .single_add_to_cart_button { flex: 1; min-height: 56px; border-radius: var(--sb-r-pill); background: var(--sb-volt); color: var(--sb-graphite); border: 0; font-weight: 650; font-size: var(--sb-t-18); cursor: pointer; }
.sb-buy .single_add_to_cart_button.disabled { opacity: .5; cursor: not-allowed; }
.sb-prose .sb-intro { font-size: var(--sb-t-21); color: var(--sb-slate); line-height: 1.5; }
/* 7 tiles on desktop: lead (2x2) + 4 + 2 wide, so the grid has no holes */
@media (min-width: 1101px) {
  .sb-cats > .sb-cat:nth-child(6):nth-last-child(2),
  .sb-cats > .sb-cat:nth-child(7):last-child { grid-column: span 2; }
}
/* gallery: thumbnails left, stage right on desktop; stacked on mobile */
.sb-gallery__stage { grid-column: 2; grid-row: 1; }
.sb-thumbs { grid-column: 1; grid-row: 1; }
@media (max-width: 960px) { .sb-gallery__stage { grid-column: 1; grid-row: 1; } .sb-thumbs { grid-column: 1; grid-row: 2; } }
.sb-gauge .sb-meter { --off: var(--sb-iron); }

/* Card acceptance marks + "Payments powered by Stripe" (footer, product page, cart, checkout) */
.sb-marks { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.sb-marks svg { display: block; flex: none; width: 38px; height: 25px; }
.sb-stripe { display: inline-flex; align-items: center; gap: 6px; font-size: var(--sb-t-12); line-height: 1; color: var(--sb-slate); white-space: nowrap; }
.sb-stripe svg { flex: none; width: 14px; height: 14px; color: var(--sb-ok); }
.sb-stripe b { font-size: 16px; font-weight: 800; letter-spacing: -0.045em; line-height: 1; color: #635BFF; position: relative; top: -1px; }
.sb-cardrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; min-width: 0; }
.sb-cardrow--pdp { padding: 10px 12px; border: 1px solid var(--sb-line); border-radius: 14px; background: var(--sb-white); margin-top: -6px; }
.sb-cardrow--dark .sb-stripe { color: #A9AEB7; }
.sb-cardrow--dark .sb-stripe b { color: #fff; }
.sb-cardrow--dark .sb-marks svg rect[stroke] { stroke: transparent; }
/* "From" before a price range (variable products) */
.sb-from{font-size:.7em;font-weight:500;letter-spacing:0;margin-right:.2em;opacity:.75}

/* ---------------------------------------------------------------- cookie choices (inc/consent.php) */
.sb-choices-link { padding: 0; margin: 0 0 0 6px; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sb-cfoot .sb-choices-link { margin: 0; }
.sb-consent { position: fixed; z-index: 90; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: min(540px, calc(100vw - 32px)); padding: 20px 22px; background: var(--sb-white); color: var(--sb-ink); border: 1px solid var(--sb-line); border-radius: var(--sb-r-panel); box-shadow: 0 18px 50px rgba(14, 27, 36, .18); font-size: var(--sb-t-14); }
.sb-consent[hidden] { display: none; }
.sb-consent p { margin: 0; }
.sb-consent .sb-consent__title { margin-bottom: 6px; font-size: var(--sb-t-16); font-weight: 720; }
.sb-consent__btns, .sb-privacy__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sb-consent .sb-btn, .sb-privacy .sb-btn { min-height: 44px; padding: 0 20px; font-size: var(--sb-t-14); }
.sb-privacy { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--sb-r-panel); background: var(--sb-white); color: var(--sb-ink); }
.sb-privacy::backdrop { background: rgba(14, 27, 36, .55); }
.sb-privacy form { padding: 24px; }
.sb-privacy h2 { margin-bottom: 8px; font-size: var(--sb-t-21); }
.sb-privacy p { color: var(--sb-slate); font-size: var(--sb-t-14); }
.sb-privacy__row { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--sb-line); cursor: pointer; }
.sb-privacy__row div span { display: block; margin-top: 2px; color: var(--sb-slate); font-size: var(--sb-t-14); }
.sb-privacy__row input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--sb-volt-deep); cursor: pointer; }
.sb-privacy__row input:disabled { cursor: not-allowed; }
.sb-privacy__on { flex: none; color: var(--sb-ok); font-size: var(--sb-t-13); font-weight: 600; }
.sb-privacy .sb-privacy__gpc { margin: -4px 0 10px; color: var(--sb-wine); font-size: var(--sb-t-13); }
.sb-privacy .sb-privacy__more { display: flex; gap: 18px; margin: 16px 0 0; font-size: var(--sb-t-13); }
@media (max-width: 760px) {
  .sb-consent { right: 16px; left: 16px; width: auto; }
  .sb-has-tabbar .sb-consent { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .sb-consent .sb-btn { flex: 1 1 auto; }
}
