/* ==========================================================================
   ChargingChargers.com — VARIANT B ("Precision B2B")
   A/B challenger theme. Loads AFTER styles.css and overrides the design layer
   only — markup structure, product data and all interactive JS stay identical
   to the control so the test isolates presentation + hierarchy, not function.

   Design position: credibility-first industrial storefront.
   Principles applied (per Self-Made Web Designer "6 styles" teardown):
     · Style 2 "Jensen Huang" — locked grid, nothing full-bleed, no ornament,
       everything pulls attention to the product and the spec.
     · Style 1 "Steve Jobs" — subtraction. Removed: gradient hero, dashed
       rotating ring, floating tags, pill buttons, decorative icons, serif.
     · Style 5 "Virgil Abloh" — exactly ONE signature element (the voltage
       rail) repeated at three scales. Contrast, not bigness.
   Brand tokens are unchanged (#F38044 / #00BAC0 / #111827) — B re-allocates
   them: orange is reserved for pricing emphasis and a single rule, teal is
   reduced to a 2px rule, near-black carries all primary actions.
   ========================================================================== */

:root {
  --b-ink: #111827;
  --b-ink-2: #374151;
  --b-muted: #6b7280;
  --b-line: #e5e7eb;
  --b-line-2: #d1d5db;
  --b-surface: #ffffff;
  --b-surface-2: #f9fafb;
  --b-surface-3: #f3f4f6;

  /* neutralize the control's decorative tokens */
  --orange: #f38044;
  --orange-600: #dd6a2c;
  --orange-700: #b34a12;
  --orange-100: #fdece1;
  --orange-50: #fff7f2;
  --teal: #00bac0;
  --teal-700: #0f766e;
  --teal-100: #f0fdfa;
  --ink: #111827;
  --ink-2: #232a35;
  --slate: #4b5563;
  --muted: #6b7280;
  --line: #e5e7eb;
  --line-2: #d1d5db;
  --stripe: #f3f4f6;
  --paper: #ffffff;
  --paper-2: #f9fafb;
  --paper-3: #f3f4f6;
  --night: #f9fafb;

  /* type: one grotesque family, no serif display, mono for numbers/labels */
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, monospace;

  /* geometry: square. no soft radii, no drop shadows */
  --r-sm: 3px;
  --r: 4px;
  --r-lg: 6px;
  --shadow-sm: none;
  --shadow: none;
  --shadow-lg: 0 1px 0 rgba(17, 24, 39, .04);
  --wrap: 1200px;
  --header-h: 64px;
}

/* ---------- base ---------- */
body { background: var(--b-surface); color: var(--b-ink); font-size: 16px; line-height: 1.62; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -.025em;
  line-height: 1.1;
  color: var(--b-ink);
}
p { color: var(--b-ink-2); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--b-ink); outline-offset: 3px; border-radius: 2px; }
::selection { background: #ffe1cc; color: var(--b-ink); }

.display { font-size: clamp(32px, 4vw, 50px); line-height: 1.04; letter-spacing: -.035em; font-weight: 650; }
.h2 { font-size: clamp(25px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -.03em; font-weight: 650; }
.h3 { font-size: clamp(19px, 1.7vw, 23px); letter-spacing: -.02em; font-weight: 650; }
.lede { color: var(--b-muted); font-size: clamp(15.5px, 1.2vw, 17px); line-height: 1.62; }
.text-accent { color: var(--orange-700); }
.text-teal { color: var(--teal-700); }

/* eyebrow becomes a filing label, not a decoration */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--b-muted);
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--b-line);
  display: flex; align-items: center;
}
.eyebrow::before {
  content: ""; width: 14px; height: 2px; border-radius: 0;
  background: var(--orange);
}
.section--night .eyebrow { color: var(--b-muted); }

/* ---------- sections: hairline-separated, never tinted full-bleed ---------- */
.section {
  padding: clamp(56px, 5.4vw, 84px) 0;
  border-top: 1px solid var(--b-line);
  background: transparent;
}
.section--tight { padding: clamp(36px, 4vw, 52px) 0; }
.section--paper { background: var(--b-surface-2); }
.section--night { background: var(--b-surface-2); color: var(--b-ink); border-top: 1px solid var(--b-line); }
.section--night h2, .section--night h3 { color: var(--b-ink); }
.section--night p { color: var(--b-ink-2); }
.section--night .lede { color: var(--b-muted); }
.section-head { margin-bottom: 30px; align-items: flex-start; }
.section-head > div { max-width: 620px; }
.section-head .h2 { margin-top: 14px; }

.link-arrow {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--b-ink);
  border-bottom: 1px solid var(--b-line-2); padding-bottom: 3px; gap: 8px;
}
.link-arrow:hover { border-color: var(--b-ink); }
.link-arrow svg { width: 13px; height: 13px; }

/* ---------- announcement: functional, not promotional ---------- */
.announce {
  background: var(--b-ink); color: #e5e7eb;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .07em; text-transform: uppercase;
}
.announce__inner { min-height: 34px; gap: 8px 26px; justify-content: flex-start; }
.announce__item svg { width: 12px; height: 12px; opacity: .6; }
.announce__dot {
  width: 5px; height: 5px; border-radius: 0; background: var(--orange);
  animation: none; box-shadow: none;
}
.announce a { color: #fff; }

/* ---------- header ---------- */
.header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid var(--b-line); }
.header.is-stuck { box-shadow: 0 1px 0 var(--b-line); }
.header__bar { gap: 22px; }
.brand { border-radius: 0; padding: 4px 0; gap: 12px; }
.brand:hover { background: none; }
.brand__mark { width: 40px; height: 40px; border-radius: 3px; background: #fff; border: 1px solid var(--b-line-2); box-shadow: none; }
.brand__mark img { width: 32px; height: 32px; object-fit: contain; }
.brand__mark::after { height: 2px; background: var(--orange); }
.brand__name { font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.brand__name span { color: var(--b-ink); }
.brand__tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--b-muted); }

.nav__link { font-size: 13px; font-weight: 600; color: var(--b-ink-2); letter-spacing: -.005em; padding: 8px 2px; }
.nav__link:hover { color: var(--b-ink); }
.nav__link svg { width: 11px; height: 11px; opacity: .5; }
.mega { border-radius: 4px; border: 1px solid var(--b-line); box-shadow: 0 12px 28px rgba(17, 24, 39, .08); }
.mega__title { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--b-muted); }
.mega a { font-size: 13.5px; border-radius: 2px; }
.mega a em { font-family: var(--font-mono); font-size: 11px; font-style: normal; color: var(--b-muted); }

.searchbox { border-radius: 3px; border: 1px solid var(--b-line-2); background: var(--b-surface-2); }
.searchbox:focus-within { border-color: var(--b-ink); background: #fff; box-shadow: none; }
.searchbox input { font-size: 13px; }
.searchbox__kbd { font-family: var(--font-mono); font-size: 10px; border-radius: 2px; }
.searchbox__results { border-radius: 4px; border: 1px solid var(--b-line); box-shadow: 0 16px 32px rgba(17, 24, 39, .1); }

.tool, .cart-btn { border-radius: 3px; border: 1px solid var(--b-line-2); }
.cart-btn__count { background: var(--b-ink); color: #fff; border-radius: 2px; font-family: var(--font-mono); }

/* ---------- buttons: square, mono, no glow ---------- */
.btn, .add-btn, .chat-fab, .b-btn {
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  min-height: 46px; padding: 0 20px;
  box-shadow: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn { --btn-bg: var(--b-ink); --btn-fg: #fff; --btn-bd: var(--b-ink); }
.btn:hover { background: #000; border-color: #000; transform: none; box-shadow: none; }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--b-ink); border-color: var(--b-line-2); }
.btn--ghost:hover { background: var(--b-surface-3); border-color: var(--b-ink); }
.btn--light { background: #fff; color: var(--b-ink); border-color: var(--b-line-2); }
.btn--light:hover { background: var(--b-surface-3); }
.btn--outline-light { background: transparent; color: var(--b-ink); border: 1px solid var(--b-line-2); }
.btn--outline-light:hover { background: var(--b-surface-3); border-color: var(--b-ink); }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 10.5px; }
.btn svg { width: 14px; height: 14px; }

/* ---------- trust strip: a spec table, icons demoted ---------- */
.trust { background: #fff; border-top: 1px solid var(--b-line); border-bottom: 1px solid var(--b-line); }
.trust__grid { border-left: 1px solid var(--b-line); }
.trust__item { padding: 18px 20px; border-right: 1px solid var(--b-line); border-left: 0; gap: 12px; }
.trust__item:first-child { border-left: 1px solid var(--b-line); padding-left: 20px; }
.trust__item svg { width: 18px; height: 18px; color: var(--b-muted); }
.trust__item b { font-size: 12.5px; font-weight: 650; letter-spacing: -.01em; }
.trust__item span { font-size: 11.5px; color: var(--b-muted); }

/* ---------- cards & panels: 1px border, zero shadow, no lift ---------- */
.cat-card, .p-card, .why-card, .team-card, .quote-card, .radio-card, .cfg-result,
.cat-guide, .g-card, .pdp-card, .about-contact, .order-ok__card, .drawer, .chat-panel,
.ck-panel, .searchbox__results, .mega {
  border-radius: 4px;
  box-shadow: none;
  border: 1px solid var(--b-line);
}
.cat-card:hover, .p-card:hover, .why-card:hover, .team-card:hover, .radio-card:hover {
  transform: none; box-shadow: none; border-color: var(--b-ink);
}
.cat-card::after { display: none; }
.cat-card { padding: 20px; }
.cat-card__img, .p-card__media { border-radius: 2px; background: var(--b-surface-2); }
.cat-card:hover .cat-card__img img, .p-card:hover .p-card__media img { transform: none; }

.badge, .flag, .tag, .app-chip, .fchip, .brand-chip, .chip, .af-chip, .pv__note, .free-ship {
  border-radius: 2px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  box-shadow: none;
}
.chip { background: var(--b-surface-3); border: 1px solid var(--b-line); color: var(--b-ink-2); padding: 5px 9px; }
.chip svg { color: var(--b-muted); }
.chip--orange { background: #fff; border-color: var(--orange); color: var(--orange-700); }
.chip--orange svg { color: var(--orange-700); }
.flag--lithium, .flag--sale, .flag--new { background: #fff; border: 1px solid var(--b-line-2); color: var(--b-ink); }

/* ---------- tables & specs: the credibility surface ---------- */
table, .spec-table, .cmp-table, .g-table { border-collapse: collapse; width: 100%; }
table th, .spec-table th, .g-table th {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--b-muted);
  text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--b-ink);
  background: transparent;
}
table td, .spec-table td, .g-table td {
  padding: 12px; font-size: 13.5px; color: var(--b-ink-2);
  border-bottom: 1px solid var(--b-line);
  font-variant-numeric: tabular-nums;
}
table tbody tr:hover, .spec-table tbody tr:hover { background: var(--b-surface-2); }
.price__now, .pdp-price, .cfg-verdict__big, .b-hero__mono, .sum-row b { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.price__now { color: var(--orange-700); }

/* ---------- forms: squared, hairline ---------- */
.cfg-input, .cfg-select, .qty input, .ck-field-input, .select, .quickfind__model, .chat-panel__form input, input[type="text"], input[type="search"], textarea {
  border-radius: 3px; border: 1px solid var(--b-line-2); background: #fff;
  box-shadow: none; font-size: 14px;
}
.cfg-input:focus, .cfg-select:focus, .ck-field-input:focus, input:focus, textarea:focus {
  outline: none; border-color: var(--b-ink); box-shadow: 0 0 0 3px rgba(17, 24, 39, .06);
}
.cfg-label, .ck-field label, .facets__label, .af-label {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--b-muted);
}
.cfg-progress, .free-ship__track { border-radius: 0; background: var(--b-surface-3); height: 3px; }
.cfg-progress > *, .free-ship__bar { border-radius: 0; background: var(--b-ink); }
.cfg-step--off { opacity: .45; }

/* ---------- faq / accordions ---------- */
.faq-item, .g-faq__item, .pdp-faq__item {
  border-radius: 0; border: 1px solid var(--b-line); border-left: 0; border-right: 0;
  box-shadow: none; background: transparent; margin-top: -1px;
}
.faq-item:hover { border-color: var(--b-line-2); }
.faq-item__body, .pdp-faq__body { color: var(--b-ink-2); font-size: 14px; }

/* ---------- footer ---------- */
.footer { background: var(--b-ink); color: #d1d5db; }
.footer a { color: #d1d5db; }
.footer a:hover { color: #fff; }
.footer__cols h4, .footer__merch h4 { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #9ca3af; }

/* ---------- misc chrome ---------- */
.toast { border-radius: 3px; box-shadow: 0 8px 20px rgba(17, 24, 39, .12); }
.scrim { background: rgba(17, 24, 39, .5); }
.stars { color: var(--orange-700); }
.mobile-bar { border-top: 1px solid var(--b-line); box-shadow: none; }
.cta-band, .full-band { background: var(--b-surface-2); border-top: 1px solid var(--b-line); border-bottom: 1px solid var(--b-line); }

/* ==========================================================================
   B HERO — replacement composition (see b-variant/index.html)
   ========================================================================== */
.b-hero { background: #fff; color: var(--b-ink); border-bottom: 1px solid var(--b-line); }
.b-hero .wrap { padding-top: 26px; }

.b-hero__meta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 24px; padding-bottom: 14px; border-bottom: 1px solid var(--b-line);
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--b-muted);
}
.b-hero__stock { display: inline-flex; align-items: center; gap: 7px; color: var(--b-ink-2); }
.b-hero__dot { width: 5px; height: 5px; background: var(--orange); display: inline-block; }

.b-hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(28px, 3.4vw, 56px);
  padding: clamp(32px, 4vw, 56px) 0 clamp(30px, 3.4vw, 44px);
  align-items: start;
}
.b-hero h1 {
  font-size: clamp(32px, 3.9vw, 53px);
  line-height: 1.03; letter-spacing: -.038em; font-weight: 680;
  max-width: 17ch; color: var(--b-ink);
}
.b-hero__lede { margin-top: 18px; max-width: 46ch; color: var(--b-ink-2); font-size: clamp(15px, 1.15vw, 16.5px); line-height: 1.62; }
.b-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.b-hero__fine {
  margin-top: 14px; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .03em; color: var(--b-muted);
}
.b-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 20px; border: 1px solid var(--b-ink);
  background: var(--b-ink); color: #fff; text-decoration: none;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
}
.b-btn:hover { background: #000; border-color: #000; }
.b-btn--ghost { background: #fff; color: var(--b-ink); border-color: var(--b-line-2); }
.b-btn--ghost:hover { background: var(--b-surface-3); border-color: var(--b-ink); }

.b-hero__panel { border: 1px solid var(--b-line); background: #fff; }
.b-hero__panel-head, .b-hero__panel-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 16px; background: var(--b-surface-2);
  border-bottom: 1px solid var(--b-line);
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--b-muted);
}
.b-hero__panel-foot { border-bottom: 0; border-top: 1px solid var(--b-line); text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-size: 12px; color: var(--b-ink-2); align-items: flex-start; }
.b-hero__panel-foot img { width: 26px; height: 26px; object-fit: contain; flex: none; }
.b-hero__mono { font-family: var(--font-mono); color: var(--b-ink-2); letter-spacing: .08em; }

.b-specs { margin: 0; padding: 4px 0; }
.b-specs > div { display: grid; grid-template-columns: 1fr 1.15fr; gap: 14px; padding: 9px 16px; border-bottom: 1px solid var(--b-line); }
.b-specs > div:last-child { border-bottom: 0; }
.b-specs dt { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--b-muted); padding-top: 2px; }
.b-specs dd { margin: 0; font-size: 13px; color: var(--b-ink); font-weight: 550; font-variant-numeric: tabular-nums; }

/* the one signature element: a voltage rail. Large in hero, thin as a divider. */
.b-rail {
  border-top: 1px solid var(--b-line);
  background: #fff;
  overflow: hidden;
}
.b-rail__inner {
  display: flex; align-items: stretch; gap: 0;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em;
  color: var(--b-muted);
}
.b-rail__tick {
  flex: 1 1 0; padding: 10px 0 9px; text-align: center;
  border-left: 1px solid var(--b-line);
  position: relative;
}
.b-rail__tick:first-child { border-left: 0; }
.b-rail__tick::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: 5px; background: var(--b-line-2);
}
.b-rail__tick--odd { color: var(--orange-700); font-weight: 700; }
.b-rail__tick--odd::before { background: var(--orange); height: 7px; }
.b-rail--lg .b-rail__tick { padding: 16px 0 14px; font-size: 12px; }
.b-rail--sm .b-rail__tick { padding: 7px 0 6px; font-size: 10px; }
.b-rail-note {
  padding: 8px 0 0; font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--b-muted);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* section-level rail divider */
.b-divider { border-top: 1px solid var(--b-line); }

/* ---------- catalog UI: filter bar, tabs, chips squared off ---------- */
.quickfind { border-radius: 4px; background: #fff; box-shadow: none; border-color: var(--b-line-2); }
.quickfind__label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--b-muted); }
.quickfind__divider { background: var(--b-line); }
.app-options { gap: 6px; }
.app-opt { border-radius: 3px; padding: 7px 11px; font-size: 12.5px; font-weight: 600; border-color: var(--b-line-2); color: var(--b-ink-2); transition: background .15s, color .15s, border-color .15s; }
.app-opt:hover { border-color: var(--b-ink); color: var(--b-ink); background: var(--b-surface-2); }
.app-opt.is-on { background: var(--b-ink); border-color: var(--b-ink); color: #fff; }
.app-chip { border-radius: 2px; background: var(--b-surface-3); border-color: var(--b-line); color: var(--b-ink-2); }
.app-chip--more { background: #fff; border-color: var(--orange); color: var(--orange-700); }
.toolbar { border-radius: 4px; background: #fff; border-color: var(--b-line); padding: 8px 10px; }
.tab { border-radius: 2px; font-size: 12.5px; font-weight: 600; padding: 7px 11px; font-family: var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.tab:hover { background: var(--b-surface-2); color: var(--b-ink); }
.tab.is-active { background: var(--b-ink); color: #fff; }
.volt-btn { border-radius: 3px; font-family: var(--font-mono); font-weight: 600; font-size: 14px; }
.volt-btn small { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.volt-btn:hover { border-color: var(--b-ink); }
.volt-btn.is-on { background: var(--b-ink); border-color: var(--b-ink); color: #fff; }
.facets { border-radius: 4px; border-color: var(--b-line); }
.facets__label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.cmp-chip { border-radius: 2px; background: var(--b-surface-3); color: var(--b-ink-2); }
.cmp-chip img { border-radius: 2px; }
.p-card__title { font-weight: 650; letter-spacing: -.015em; }
.p-card__brand { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--b-muted); }
.stars { letter-spacing: .08em; }
.flag--us { background: #fff; border: 1px solid var(--b-line-2); color: var(--b-ink-2); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .b-hero__grid { grid-template-columns: 1fr; }
  .b-hero h1 { max-width: 24ch; }
  .trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__item:nth-child(3) { border-left: 1px solid var(--b-line); padding-left: 20px; }
}
@media (max-width: 640px) {
  .b-hero .wrap { padding-top: 18px; }
  .b-hero__meta { font-size: 10px; letter-spacing: .1em; }
  .b-hero__grid { padding: 26px 0 28px; gap: 26px; }
  .b-hero h1 { font-size: clamp(28px, 8.4vw, 38px); }
  .b-hero__actions .b-btn { flex: 1 1 100%; }
  .trust__grid { grid-template-columns: 1fr; border-left: 0; }
  .trust__item, .trust__item:first-child, .trust__item:nth-child(3) { border-left: 0; border-right: 0; border-bottom: 1px solid var(--b-line); padding-left: 0; }
  .b-rail__tick:nth-child(even) { display: none; }
  .b-rail__inner { font-size: 10px; }
  .section { padding: 44px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}