/* Blade AI Website 2.0 - shared stylesheet.
   Values come from reference/tokens.css (design pack v1, 4 Oct 2026).
   Mobile-first; layouts widen at 640px, 900px and 1100px. */

:root {
  --red: #e11d2a;
  --red-dark: #b3111d;
  --red-text: #b3111d;
  --red-on-dark: #ff5a64;
  --red-em-dark: #ff3b47;
  --ink: #0b0b0e;
  --graphite: #15151a;
  --mist: #f3f3f5;
  --paper: #ffffff;
  --line: #b9b9c1;
  --line-soft: #d9d9de;
  --line-dark: #2a2a30;
  --text: #16161a;
  --text-muted: #4a4a53;
  --text-muted-dark: #d6d6dc;
  --available: #0e6b3f;
  --font-head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', Helvetica, Arial, sans-serif;
  --gutter: 20px;
  --max: 1280px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-text); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong, b { font-weight: 600; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.dark :focus-visible { outline-color: #ffffff; }
.skip {
  position: absolute; left: -999px; top: 8px; z-index: 1000;
  background: var(--red); color: #fff; padding: 10px 16px; font-weight: 600;
}
.skip:focus { left: 8px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 0.4em;
  font-weight: 800;
}
h1 { font-size: 42px; line-height: 0.96; }
h2 { font-size: 32px; }
h3 { font-size: 22px; font-weight: 700; line-height: 1.1; letter-spacing: 0.4px; }
h4 { font-size: 18px; font-weight: 700; letter-spacing: 1px; }
h1 em, h2 em { font-style: normal; color: var(--red); }
.dark h1 em, .dark h2 em { color: var(--red-em-dark); }
.eyebrow {
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  letter-spacing: 3px; text-transform: uppercase; color: var(--red-text);
  margin: 0 0 10px;
}
.dark .eyebrow { color: var(--red-on-dark); }
.lead { font-size: 19px; color: var(--text-muted); max-width: 62ch; }
.dark .lead, .dark .muted { color: var(--text-muted-dark); }
.muted { color: var(--text-muted); }
.small { font-size: 15px; }
@media (min-width: 640px) {
  h1 { font-size: 54px; }
  h2 { font-size: 38px; }
}
@media (min-width: 900px) {
  h1 { font-size: 64px; }
  h2 { font-size: 40px; }
  h3 { font-size: 23px; }
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: 40px 0; }
.section-tight { padding: 28px 0; }
.dark { background: var(--ink); color: #fff; }
.graphite { background: var(--graphite); color: #fff; }
.soft { background: var(--mist); }
.grid { display: grid; gap: 18px; }
.grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .section { padding: 56px 0; }
  .grid-2, .grid-4, .grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  :root { --gutter: 32px; }
  .section { padding: 64px 0; }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  :root { --gutter: 48px; }
  .grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  background: var(--red); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 18px;
  letter-spacing: 1.5px; text-transform: uppercase;
  border: 2px solid var(--red); border-radius: 0; cursor: pointer;
  text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); text-decoration: none; color: #fff; }
.btn.ghost { background: transparent; border-color: #fff; color: #fff; }
.btn.ghost:hover { background: #fff; color: var(--ink); }
.btn.line { background: #fff; border-color: var(--ink); color: var(--ink); }
.btn.line:hover { background: var(--ink); color: #fff; }
.btn.wa { background: var(--available); border-color: var(--available); }
.btn.wa:hover { background: #0a5330; border-color: #0a5330; }
.btn.sm { min-height: 44px; padding: 0 16px; font-size: 16px; }
.btn .ico { width: 20px; height: 20px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.arrow-link { font-weight: 600; color: var(--red-text); }
.arrow-link::after { content: " \2192"; }

/* ---------- Trust strip + header ---------- */
.trust {
  background: #000; color: var(--text-muted-dark); font-size: 14px;
  padding: 7px 0;
}
.trust .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; }
.trust a { color: #fff; }
.trust .trust-left { display: none; }
@media (min-width: 900px) { .trust .trust-left { display: block; } }

.hdr { background: var(--ink); color: #fff; border-bottom: 1px solid var(--line-dark); position: relative; }
.hdr .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.hdr .logo { display: flex; align-items: center; flex-shrink: 0; margin-right: auto; }
.hdr .logo img { height: 24px; width: auto; }
.nav { display: none; }
.nav a {
  font-family: var(--font-head); font-weight: 600; font-size: 18px; letter-spacing: 1.2px;
  text-transform: uppercase; color: #fff; padding: 6px 0 3px; border-bottom: 3px solid transparent;
}
.nav a:hover { text-decoration: none; border-color: #fff; }
.nav a[aria-current="page"] { border-color: var(--red); }
.hdr .btn.sm { display: none; }
.menu-btn {
  width: 48px; height: 48px; background: transparent; border: 0; color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; padding: 0;
}
.menu-btn svg { width: 28px; height: 28px; }
.menu-btn .close-ico, .menu-open .menu-btn .open-ico { display: none; }
.menu-open .menu-btn .close-ico { display: block; }
.mobile-nav {
  display: none; background: var(--ink); border-top: 1px solid var(--line-dark);
}
.menu-open .mobile-nav { display: block; }
.mobile-nav a {
  display: block; padding: 14px var(--gutter); color: #fff; border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-head); font-size: 20px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
}
.mobile-nav a[aria-current="page"] { color: var(--red-on-dark); }
.mobile-nav .btn { margin: 16px var(--gutter); display: flex; }
@media (min-width: 900px) {
  .hdr .wrap { min-height: 78px; gap: 32px; }
  .hdr .logo img { height: 30px; }
  .nav { display: flex; gap: 26px; flex: 1; }
  .hdr .logo { margin-right: 0; }
  .hdr .btn.sm { display: inline-flex; }
  .menu-btn, .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { padding: 40px 0 36px; }
.hero .wrap { display: grid; gap: 28px; align-items: center; }
.hero h1 { max-width: 24ch; }
.hero .lead { font-size: 18px; margin-bottom: 20px; }
.hero-img { display: flex; justify-content: center; align-items: center; }
.hero-img img { width: min(100%, 430px); height: auto; }
@media (min-width: 640px) { .hero .lead { font-size: 20px; } }
@media (min-width: 900px) {
  .hero { padding: 56px 0; }
  .hero .wrap { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .hero .lead { max-width: 560px; }
}
.page-hero { padding: 36px 0 32px; }
.page-hero h1 { max-width: 26ch; }
.page-hero.light { background: var(--paper); border-bottom: 1px solid var(--line-soft); }
@media (min-width: 900px) { .page-hero { padding: 48px 0 44px; } }

/* ---------- Proof bar ---------- */
.proof { padding: 22px 0; }
.proof .wrap { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.proof .figure { font-family: var(--font-head); font-weight: 800; font-size: 34px; line-height: 1; }
.proof .label { color: var(--text-muted-dark); font-size: 14px; margin-top: 4px; }
@media (min-width: 900px) {
  .proof .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .proof .figure { font-size: 46px; }
  .proof .label { font-size: 15px; }
}

/* ---------- Tiles and cards ---------- */
.tile {
  background: var(--paper); border: 1px solid var(--line); padding: 20px 22px;
  display: flex; flex-direction: column; gap: 8px; color: var(--text);
}
.tile h2, .tile h3 { margin: 0; }
.tile .btn-row { margin-top: 8px; }
.card { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.card .photo {
  background: var(--graphite) url(/assets/img/tile-bg.png) center / cover no-repeat; height: 170px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; padding: 14px;
}
.card .photo img { max-width: 76%; max-height: 100%; width: auto; object-fit: contain; }
.card .photo.cover { padding: 0; background-image: none; }
.card .photo.cover img { width: 100%; height: 100%; max-width: 100%; object-fit: cover; }
.card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card .body p { margin: 0; color: var(--text-muted); font-size: 16px; }
.card .body h3 { margin: 0; }
.card .ico-tile {
  width: 48px; height: 48px; background: var(--mist); color: var(--red-text);
  display: flex; align-items: center; justify-content: center; margin-bottom: 4px;
}
.card .ico-tile .ico { width: 26px; height: 26px; }
.specs { list-style: none; margin: 0; padding: 0; font-size: 16px; }
.specs li { border-top: 1px solid var(--line-soft); padding: 6px 0; }
.specs li:first-child { border-top: 0; }
.specs .ico { width: 20px; height: 20px; vertical-align: -4px; margin-right: 8px; }
.specs .yes .ico { color: var(--available); }
.specs .no .ico { color: var(--red-text); }

/* ---------- Steps (How a deal works) ---------- */
.steps { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.step { border-top: 3px solid var(--red); padding-top: 10px; }
.step .eyebrow { margin-bottom: 4px; }
.step h3 { font-size: 20px; margin: 0; }
.step p { font-size: 15px; margin: 8px 0 0; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.steps-long { display: grid; gap: 20px; grid-template-columns: 1fr; counter-reset: s; }
@media (min-width: 640px) { .steps-long { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps-long { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Brands ---------- */
/* Equal cells so every logo sits on the same baseline; --s trims the heavy wordmarks so they read the same size. */
.brands {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
}
.brands li { --s: 1; display: flex; align-items: center; justify-content: center; min-height: 76px; padding: 10px 12px; background: var(--paper); border: 1px solid var(--line-soft); }
.brands img { max-width: calc(100% * var(--s)); max-height: calc(44px * var(--s)); width: auto; height: auto; object-fit: contain; }
.brands li.tall img { max-height: calc(60px * var(--s)); }
.brands li span { font-family: var(--font-head); font-weight: 700; font-size: 22px; letter-spacing: 1px; text-transform: uppercase; }
.brands li[data-brand="amd"] { --s: .78; }
.brands li[data-brand="samsung"] { --s: .82; }
.brands li[data-brand="nokia"] { --s: .85; }
.brands li[data-brand="intel"] { --s: .9; }
.brands li[data-brand="dell-technologies"] { --s: 1; }
.brands li[data-brand="hpe-juniper-networking"] { --s: .9; }
.brands li[data-brand="lenovo"] { --s: .82; }
@media (min-width: 640px) { .brands { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 1100px) { .brands { grid-template-columns: repeat(5, minmax(0, 1fr)); } .brands li { min-height: 84px; } .brands img { max-height: calc(48px * var(--s)); } .brands li.tall img { max-height: calc(66px * var(--s)); } }

/* ---------- GPU platform grid ---------- */
.platforms { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.platform { position: relative; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--red); padding: 18px 14px 16px; text-align: center; }
.platform .model { font-family: var(--font-head); font-weight: 800; font-size: 30px; line-height: 1; }
.platform .family { font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--red-text); margin: 4px 0 10px; }
.platform .mem { font-size: 16px; }
.platform .maker { font-size: 14px; color: var(--text-muted); }
.platform .tag {
  position: absolute; top: 8px; right: 8px; background: var(--red); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; padding: 2px 7px;
}
@media (min-width: 640px) { .platforms { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .platforms.nvidia { grid-template-columns: repeat(6, minmax(0, 1fr)); } .platforms.amd { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 640px; } }
.row-label { font-family: var(--font-head); font-weight: 700; font-size: 16px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); margin: 22px 0 10px; }

/* ---------- Prose (about, legal) ---------- */
.prose { max-width: 72ch; }
.prose p, .prose li { font-size: 17px; }
.prose h2 { font-size: 28px; margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; }
.prose table { border-collapse: collapse; width: 100%; font-size: 16px; margin: 0 0 1.2em; }
.prose th, .prose td { text-align: left; border-top: 1px solid var(--line-soft); padding: 8px 10px 8px 0; vertical-align: top; }
.prose th { font-weight: 600; width: 32%; }
.about-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; } }
.side-item { border-top: 3px solid var(--red); padding-top: 12px; margin-bottom: 22px; }
.side-item h3 { font-size: 20px; margin: 0 0 6px; }
.side-item p { margin: 0; color: var(--text-muted); }

/* ---------- Contact ---------- */
.doors { display: grid; gap: 14px; }
@media (min-width: 640px) { .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .doors { grid-template-columns: repeat(var(--doors, 3), minmax(0, 1fr)); } }
.door { background: var(--paper); border: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.door.primary { border: 2px solid var(--available); }
.door .ico { width: 28px; height: 28px; color: var(--red-text); }
.door.primary .ico { color: var(--available); }
.door b { font-size: 18px; }
.door .big { font-family: var(--font-head); font-weight: 700; font-size: 24px; }
.door address { font-style: normal; }
.door .btn { margin-top: 6px; align-self: flex-start; }
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; } }
.form { display: flex; flex-direction: column; gap: 14px; }
.form .row2 { display: grid; gap: 14px; }
@media (min-width: 640px) { .form .row2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.field input, .field select, .field textarea {
  min-height: 48px; border: 1px solid #6a6a73; background: #fff; padding: 10px 12px;
  font-family: var(--font-body); font-size: 16px; color: var(--text); width: 100%; border-radius: 0;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--red); outline-offset: 1px; border-color: var(--ink); }
.form-msg { background: #e3f1e9; border: 1px solid var(--available); color: #0a4027; padding: 12px 14px; font-weight: 600; }
.next { display: flex; flex-direction: column; gap: 10px; }
.next ol { margin: 0; padding-left: 1.2em; font-size: 16px; }
.next li { margin-bottom: 6px; }
.safe { border: 1px solid var(--line); background: var(--paper); padding: 14px 16px; font-size: 15px; }
.safe b { display: block; margin-bottom: 4px; }
.dark .safe { background: var(--graphite); border-color: var(--line-dark); }

/* ---------- Trust row ---------- */
.trust-row { display: grid; gap: 12px; }
@media (min-width: 640px) { .trust-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .trust-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust-row .tile { padding: 14px 16px; gap: 3px; }
.trust-row b { font-size: 17px; }
.trust-row .small { color: var(--text-muted); }

/* ---------- Footer ---------- */
.ftr { background: var(--ink); color: var(--text-muted-dark); padding: 40px 0 28px; font-size: 15px; line-height: 1.5; }
.ftr .cols { display: grid; gap: 28px; }
.ftr h4 { color: #fff; font-size: 17px; letter-spacing: 1.5px; margin: 0 0 10px; }
.ftr ul { list-style: none; margin: 0; padding: 0; line-height: 1.8; }
.ftr a { color: var(--text-muted-dark); }
.ftr a:hover { color: #fff; }
.ftr .brand img { height: 26px; width: auto; margin-bottom: 12px; }
.ftr .legal-line { border-top: 1px solid var(--line-dark); margin-top: 28px; padding-top: 18px; font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }
.ftr .social { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; }
.ftr .social .ico { width: 20px; height: 20px; }
@media (min-width: 640px) { .ftr .cols { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 900px) { .ftr .cols { grid-template-columns: 1.6fr repeat(4, 1fr); } }

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: #fff; border-top: 1px solid #9a9aa3; padding: 8px 12px;
  display: grid; gap: 8px; grid-template-columns: repeat(var(--actions, 2), minmax(0, 1fr));
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
}
.action-bar .btn { min-height: 48px; padding: 0 6px; font-size: 16px; }
body.has-action-bar { padding-bottom: 72px; }
@media (min-width: 900px) { .action-bar { display: none; } body.has-action-bar { padding-bottom: 0; } }

/* ---------- Misc ---------- */
.notice { border-left: 4px solid var(--red); background: var(--mist); padding: 14px 18px; margin: 0 0 1.4em; }
.cta-block h2 { max-width: 20ch; }
.updated { font-size: 15px; color: var(--text-muted); }
.two-col { display: grid; gap: 24px; }
@media (min-width: 900px) { .two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; } }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 16px; }
.mt-2 { margin-top: 28px; }

/* ---------- Parts catalogue ---------- */
.crumbs { font-size: 14px; color: var(--text-muted); padding: 12px 0 0; }
.crumbs a { color: var(--text-muted); }
.part-top { padding: 20px 0 40px; }
.part-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .part-grid { grid-template-columns: 380px minmax(0, 1fr); gap: 48px; } .part-top { padding: 24px 0 56px; } }
.photo-tile { background: var(--graphite) url(/assets/img/tile-bg.png) center / cover no-repeat; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: 24px; max-width: 100%; }
.photo-tile img { max-width: 80%; max-height: 80%; width: auto; object-fit: contain; }
.type-tile { flex-direction: column; color: #fff; font-family: var(--font-head); text-transform: uppercase; text-align: center; gap: 4px; }
.type-tile .t1 { font-size: 18px; font-weight: 700; letter-spacing: 3px; color: var(--text-muted-dark); }
.type-tile .t2 { font-size: 40px; font-weight: 800; line-height: 1; }
.type-tile .t3 { font-size: 26px; font-weight: 700; color: var(--red-on-dark); }
.badge-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.badge { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: 1.2px; text-transform: uppercase; white-space: nowrap; border: 1.5px solid transparent; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: currentColor; }
.badge.listed { background: var(--available); color: #fff; }
.badge.order { background: #e6e6ea; color: var(--text); border-color: #8a8a93; }
h1.mpn { font-size: 34px; word-break: break-all; margin-bottom: 6px; }
@media (min-width: 640px) { h1.mpn { font-size: 44px; } }
.plain { font-size: 20px; font-weight: 500; margin-bottom: 6px; }
.price { font-family: var(--font-head); font-weight: 700; font-size: 26px; margin: 10px 0 14px; }
table.spec { border-collapse: collapse; width: 100%; font-size: 16px; margin-top: 24px; }
table.spec th, table.spec td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-top: 1px solid var(--line-soft); }
table.spec th { font-weight: 600; width: 38%; color: var(--text-muted); }
.part-list { list-style: none; margin: 0; padding: 0; }
.part-list li { border-top: 1px solid var(--line-soft); }
.part-list a { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; color: var(--text); }
.part-list a span { font-size: 15px; color: var(--text-muted); }
.part-list a:hover b { color: var(--red-text); }
.group-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.group-nav a { font-size: 14px; font-weight: 600; border: 1px solid var(--line); padding: 8px 12px; color: var(--text); min-height: 40px; display: inline-flex; align-items: center; }
.group-nav a:hover { border-color: var(--red); text-decoration: none; color: var(--red-text); }
.group-head { font-size: 26px; margin: 32px 0 10px; }
table.list { border-collapse: collapse; width: 100%; font-size: 15px; }
table.list th, table.list td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-top: 1px solid var(--line-soft); }
table.list thead th { border-top: 0; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; font-size: 14px; color: var(--text-muted); }
table.list td a b { color: var(--text); }
table.list td a:hover b { color: var(--red-text); }
table.list td:last-child { text-align: right; white-space: nowrap; }
.scroll { overflow-x: auto; }
.cat-tile { color: var(--text); }
.cat-tile:hover { border-color: var(--red); text-decoration: none; }
.cat-tile h2 { font-size: 30px; }

/* Phone: category tables stack into cards instead of scrolling sideways */
@media (max-width: 639px) {
  table.list, table.list tbody, table.list tr, table.list td { display: block; width: 100%; }
  table.list thead { display: none; }
  table.list tr { border-top: 1px solid var(--line-soft); padding: 12px 0; }
  table.list td { border: 0; padding: 2px 0; }
  table.list td:last-child { text-align: left; white-space: normal; padding-top: 8px; }
}

/* ---------- Parts menu and tags (Phase 2B) ---------- */
.nav .has-sub { position: relative; display: flex; align-items: center; }
.nav .sub { display: none; position: absolute; top: 100%; left: -16px; z-index: 40; min-width: 220px; background: var(--ink); border: 1px solid var(--line-dark); padding: 6px 0; }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { display: block; }
.nav .sub a { display: block; padding: 9px 16px; font-size: 16px; letter-spacing: 1px; border-bottom: 0; }
.nav .sub a:hover { background: var(--graphite); }
.mobile-nav .sub-link { padding-left: calc(var(--gutter) + 20px); font-size: 17px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--text-muted-dark); }
.tag-legacy { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; padding: 2px 8px; border: 1.5px solid var(--line); color: var(--text-muted); white-space: nowrap; vertical-align: middle; }
.good-to-know { background: var(--mist); border-left: 4px solid var(--red); padding: 12px 16px; margin: 16px 0 0; font-size: 16px; }
.type-tile .t2 { font-size: 28px; word-break: break-all; padding: 0 12px; }

/* ---------- Touch targets: small text links get padding so they are easy to tap on a phone ---------- */
.ftr ul a, .trust a, .crumbs a, table.list td a, .part-list a span, .arrow-link { display: inline-block; padding: 6px 0; }
.ftr ul { line-height: 1.4; }
.part-list a span { padding: 0; }
.ftr .social { padding: 8px 0; }

/* ---------- Live chat: one round bubble, in the same spot tawk.to uses, until a chat is started ---------- */
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 2000000000; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat-btn { width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--red); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0, 0, 0, .3); padding: 0; }
.chat-btn .ico { width: 30px; height: 30px; }
.chat-btn:hover { background: var(--red-dark); }
.chat-consent { background: var(--paper); color: var(--text); border: 1px solid var(--line); padding: 16px 18px; max-width: 320px; box-shadow: 0 6px 24px rgba(0, 0, 0, .2); display: flex; flex-direction: column; gap: 12px; }
.chat-consent p { margin: 0; font-size: 16px; }
@media (max-width: 899px) {
  .chat { right: 12px; bottom: 84px; }   /* above the phone action bar */
  .chat-consent { max-width: calc(100vw - 24px); }
}
.chat-consent[hidden], .chat[hidden] { display: none; }

/* ---------- Trustpilot TrustBox tile ---------- */
.trust-tile .trustpilot-widget { min-height: 52px; margin-top: 4px; }
.trust-tile .trustpilot-widget a { font-weight: 600; color: var(--red-text); }

/* ---------- Shop (Phase 2) ---------- */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.chip { font: 600 15px var(--font-body); min-height: 40px; padding: 6px 14px; border: 1px solid var(--line); background: var(--paper); color: var(--text); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.card .photo .small-tile { width: 100%; height: 100%; background: transparent; aspect-ratio: auto; padding: 0; }
.card .photo .small-tile .t1 { font-size: 14px; letter-spacing: 2px; }
.card .photo .small-tile .t2 { font-size: 22px; padding: 0 8px; }
.card .body .badge { align-self: flex-start; }
.promise-row .tile { padding: 12px 14px; gap: 4px; }
.promise-row .tile b { font-size: 15px; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.split-head h2, .split-head h3 { margin: 0; }
a.card.feat { color: var(--text); }
a.card.feat:hover { border-color: var(--red); text-decoration: none; }
a.card.feat .body p { font-size: 15px; }

/* ---------- Opaque product photos (white background in the file) sit on a white tile, not the graphite one ---------- */
.photo-tile.light, .card .photo.light { background: #ffffff; border: 1px solid var(--line-soft); }
.photo-tile.light img, .card .photo.light img { max-width: 92%; max-height: 92%; }

/* ---------- Urgent offers: red bar on every page while an offer is live, and the /offers page ---------- */
.offer-bar { background: var(--red); color: #fff; }
.offer-bar a {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 12px;
  min-height: 44px; padding: 8px 0; color: #fff; font-size: 16px; font-weight: 600; text-align: center;
}
.offer-bar a:hover { text-decoration: none; }
.offer-bar a:hover .offer-go { text-decoration: underline; }
.offer-bar :focus-visible { outline-color: #fff; outline-offset: -3px; }
.offer-tag {
  font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase;
  background: #fff; color: var(--red-text); padding: 2px 8px; white-space: nowrap;
}
.offer-go { white-space: nowrap; }
.offer-go::after { content: " \2192"; }
.offer + .offer { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line-soft); }
.offer h2 { font-size: 32px; margin-bottom: 8px; }
.offer .specs { margin-top: 6px; }
.offer-reason {
  display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border: 1.5px solid var(--red-text); color: var(--red-text);
  font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: 1.2px; text-transform: uppercase; white-space: nowrap;
}
.offer-bar[hidden], .offer[hidden], #offers-empty[hidden] { display: none; }
@media (min-width: 900px) { .offer h2 { font-size: 40px; } }

/* ---------- Clickable "What we do" cards: same red hover as the featured platforms ---------- */
a.card.feat .body p { color: var(--text-muted); font-size: 16px; }
a.card.feat:hover h3 { color: var(--red-text); }
a.card.feat:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* ---------- Catalogue page: breadcrumb hero, filter panel left, systems grouped in the middle ---------- */
.cat-hero { padding: 28px 0 32px; }
.cat-hero-grid { display: grid; gap: 20px; align-items: center; }
.cat-hero h1 { font-size: 40px; margin: 14px 0 10px; }
.cat-hero-img { display: none; }
.crumbs.on-dark { padding: 0; color: var(--text-muted-dark); }
.crumbs.on-dark a { color: var(--text-muted-dark); }
.crumbs.on-dark span { color: #fff; font-weight: 600; }
@media (min-width: 900px) {
  .cat-hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .cat-hero-img { display: flex; justify-content: flex-end; } .cat-hero-img img { max-height: 240px; width: auto; }
  .cat-hero h1 { font-size: 52px; }
}
.cat-layout { display: grid; gap: 24px; }
@media (min-width: 900px) { .cat-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: start; } .cat-filters { position: sticky; top: 16px; } }
.cat-filters-toggle > summary { font-family: var(--font-head); font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; padding: 10px 0; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; list-style: none; }
.cat-filters-toggle > summary::-webkit-details-marker, .fgroup > summary::-webkit-details-marker { display: none; }
.fgroup { border-top: 1px solid var(--line-soft); }
.fgroup > summary { cursor: pointer; padding: 14px 0; font-weight: 600; display: flex; justify-content: space-between; align-items: center; list-style: none; min-height: 44px; }
.fgroup > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--text); border-bottom: 2px solid var(--text); transform: rotate(45deg); margin-right: 4px; transition: transform .15s; }
.fgroup[open] > summary::after { transform: rotate(-135deg); }
.fopts { display: flex; flex-direction: column; gap: 2px; padding: 0 0 12px; }
.fopts label { display: flex; align-items: center; gap: 10px; font-size: 16px; min-height: 36px; cursor: pointer; }
.fopts input { width: 18px; height: 18px; accent-color: var(--red); flex-shrink: 0; }
#cat-clear { margin: 6px 0 4px; }
.cat-help { margin-top: 18px; padding: 14px 16px; background: var(--mist); gap: 6px; }
.cat-group + .cat-group { margin-top: 36px; }
.cat-group-head { font-size: 26px; margin: 0 0 14px; }
.cat-group-head a { color: var(--text); } .cat-group-head a:hover { color: var(--red-text); text-decoration: none; }
.cat-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sys-card .body { gap: 8px; }
.sys-maker { font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: 2px; text-transform: uppercase; color: var(--red-text); }
.sys-card h3 { font-size: 21px; word-break: break-word; }
.sys-specs { margin: 4px 0 6px; font-size: 15px; }
.sys-specs > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 8px; padding: 5px 0; border-top: 1px solid var(--line-soft); }
.sys-specs dt { color: var(--text-muted); } .sys-specs dd { margin: 0; font-weight: 500; }
.sys-card[hidden], .cat-group[hidden] { display: none; }
@media (max-width: 899px) { .cat-help { display: none; } }

/* ---------- The shop: one layout for every department (12 Oct) ---------- */
.shop-bar { background: var(--graphite); border-bottom: 1px solid var(--line-dark); }
.shop-bar .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.shop-bar .wrap::-webkit-scrollbar { display: none; }
.shop-bar a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 17px; letter-spacing: 1px; text-transform: uppercase; border-bottom: 3px solid transparent; }
.shop-bar a:hover { text-decoration: none; background: var(--ink); }
.shop-bar a[aria-current="page"] { border-bottom-color: var(--red); }
.shop-bar .shop-bar-quote { margin-left: auto; }
.quote-count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--red); color: #fff; font: 700 13px var(--font-body); letter-spacing: 0; }
.quote-count[hidden] { display: none; }
.hdr-quote { display: none; align-items: center; gap: 8px; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 17px; letter-spacing: 1px; text-transform: uppercase; min-height: 44px; margin-right: 14px; }
.hdr-quote:hover { color: var(--red-on-dark); text-decoration: none; }
@media (min-width: 1100px) { .hdr-quote { display: inline-flex; } }
.nav .sub a.minor { padding-left: 30px; font-size: 15px; color: var(--text-muted-dark); }

.shop-head { background: var(--mist); padding: 6px 0 22px; border-bottom: 1px solid var(--line-soft); }
.shop-head .crumbs { padding: 10px 0 0; }
.shop-head h1 { font-size: 38px; margin: 8px 0 8px; }
.shop-head .lead { max-width: 900px; margin-bottom: 8px; }
@media (min-width: 900px) { .shop-head h1 { font-size: 48px; } }
.shop-promises { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--text-muted); }
.shop-promises li { padding-left: 14px; border-left: 3px solid var(--red); }
.shop-promises b { color: var(--text); }
@media (min-width: 900px) { .shop-promises { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

.quick { margin: 0 0 20px; }
.quick-head { font-size: 20px; margin: 0 0 10px; }
.quick-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .quick-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .quick-row { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
.quick-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 12px 14px; min-height: 64px; background: var(--paper); border: 1px solid var(--line); border-bottom: 3px solid var(--ink); cursor: pointer; font: inherit; color: var(--text); }
.quick-tile b { font-family: var(--font-head); font-weight: 700; font-size: 18px; letter-spacing: .6px; text-transform: uppercase; line-height: 1.15; }
.quick-tile span { font-size: 14px; color: var(--text-muted); }
.quick-tile:hover { border-color: var(--red); border-bottom-color: var(--red); }
.quick-tile[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); border-bottom-color: var(--red); color: #fff; }
.quick-tile[aria-pressed="true"] span { color: var(--text-muted-dark); }

.shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 12px 14px; background: var(--mist); border: 1px solid var(--line-soft); margin-bottom: 20px; }
.shop-search { flex: 1 1 260px; min-width: 0; }
.shop-search input { width: 100%; min-height: 46px; padding: 0 14px; font: 16px var(--font-body); border: 1px solid var(--line); background: #fff; border-radius: 0; -webkit-appearance: none; appearance: none; }
.shop-search input:focus, .shop-sort select:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.shop-count { font-family: var(--font-head); font-weight: 700; font-size: 18px; letter-spacing: 1px; text-transform: uppercase; }
.shop-sort { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--text-muted); }
.shop-sort select { min-height: 46px; padding: 0 10px; font: 16px var(--font-body); border: 1px solid var(--line); background: #fff; border-radius: 0; }
.shop-view { display: none; }
@media (min-width: 900px) { .shop-view { display: inline-flex; } }
.shop-view button { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); color: var(--text); cursor: pointer; }
.shop-view button + button { border-left: 0; }
.shop-view button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.shop-layout { display: grid; gap: 20px; }
@media (min-width: 900px) { .shop-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; } .shop-refine { position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow-y: auto; } }
.shop-refine { background: var(--paper); }
.refine-toggle { border: 1px solid var(--line-soft); padding: 0 14px 6px; }
.refine-toggle > summary { font-family: var(--font-head); font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 48px; }
.refine-toggle > summary::-webkit-details-marker { display: none; }
.refine-toggle > summary::after { content: "+"; font-size: 24px; line-height: 1; }
.refine-toggle[open] > summary::after { content: "\2212"; }
@media (min-width: 900px) { .refine-toggle > summary { pointer-events: none; } .refine-toggle > summary::after { content: none; } }
.refine-clear { background: none; border: 0; padding: 6px 0; font: 600 15px var(--font-body); color: var(--red-text); text-decoration: underline; cursor: pointer; min-height: 36px; }
.refine-clear[hidden] { display: none; }
.fopts-long { max-height: 270px; overflow-y: auto; padding-right: 6px; }
.refine-help { margin-top: 16px; padding: 14px 16px; background: var(--mist); gap: 6px; }
@media (max-width: 899px) { .refine-help { display: none; } }

.shop-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.pcard { display: grid; grid-template-columns: 1fr; background: var(--paper); border: 1px solid var(--line-soft); border-top: 3px solid var(--ink); min-width: 0; }
.pcard[hidden] { display: none; }
.pcard:hover { border-color: var(--line); border-top-color: var(--red); }
.pcard-photo { display: flex; align-items: center; justify-content: center; background: var(--graphite) url(/assets/img/tile-bg.png) center / cover no-repeat; min-height: 150px; padding: 14px; }
.pcard-photo.light { background: #fff; border-bottom: 1px solid var(--line-soft); }
.pcard-photo img { max-width: 82%; max-height: 130px; width: auto; object-fit: contain; }
.pcard-noimg { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; color: #fff; }
.pcard-noimg b { font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: 2px; text-transform: uppercase; }
.pcard-noimg i { font-style: normal; font-size: 13px; color: var(--text-muted-dark); word-break: break-all; }
.pcard-main { padding: 14px 16px 6px; min-width: 0; }
.pcard-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.pcard-tags > span:not(.tag-legacy) { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; padding: 2px 8px; background: var(--mist); color: var(--text); }
.pcard-tags > span:first-child:not(.tag-legacy) { background: var(--ink); color: #fff; }
.pcard-model { font-size: 22px; line-height: 1.15; margin: 0 0 4px; text-transform: none; letter-spacing: 0; overflow-wrap: anywhere; }
.pcard-model a { color: var(--text); }
.pcard-model a:hover { color: var(--red-text); text-decoration: none; }
.pcard-sku { font-size: 14px; color: var(--text-muted); margin: 0 0 8px; overflow-wrap: anywhere; }
.pcard-sku b { color: var(--text); }
.pcard-specs { margin: 0; font-size: 15px; }
.pcard-specs > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; padding: 5px 0; border-top: 1px solid var(--line-soft); }
.pcard-specs dt { color: var(--text-muted); }
.pcard-specs dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.pcard-foot { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.pcard-price { font-family: var(--font-head); font-weight: 700; font-size: 22px; letter-spacing: .6px; text-transform: uppercase; margin: 0; }
.pcard-avail { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.pcard-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pcard-actions .btn { flex: 1 1 130px; justify-content: center; }
.btn.added, .btn.line.added { background: var(--available); border-color: var(--available); color: #fff; }
/* Grid layout, and tablets */
@media (min-width: 560px) { .shop-grid.view-grid, .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .shop-grid.view-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.shop-grid.view-grid .pcard { grid-template-rows: auto 1fr auto; }
/* List layout on wider screens: photo, details, then the price and action column on the right */
@media (min-width: 900px) {
  .shop-grid.view-list { grid-template-columns: 1fr; }
  .shop-grid.view-list .pcard { grid-template-columns: 190px minmax(0, 1fr) 232px; }
  .shop-grid.view-list .pcard-photo { min-height: 170px; }
  .shop-grid.view-list .pcard-photo.light { border-bottom: 0; border-right: 1px solid var(--line-soft); }
  .shop-grid.view-list .pcard-main { padding: 16px 20px; }
  .shop-grid.view-list .pcard-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .shop-grid.view-list .pcard-foot { padding: 16px; background: var(--mist); border-left: 1px solid var(--line-soft); justify-content: center; }
  .shop-grid.view-list .pcard-actions { flex-direction: column; }
  .shop-grid.view-list .pcard-actions .btn { flex: 0 0 auto; width: 100%; }
}
.shop-more { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.shop-more[hidden] { display: none; }
#shop-empty { margin-top: 4px; }

/* Shop front: whole-shop search and department tiles */
.shop-find { position: relative; max-width: 760px; margin-top: 14px; }
.shop-find-results { position: absolute; z-index: 30; left: 0; right: 0; top: 100%; background: #fff; border: 1px solid var(--line); border-top: 0; max-height: 420px; overflow-y: auto; box-shadow: 0 10px 24px rgba(0, 0, 0, .14); }
.shop-find-results[hidden] { display: none; }
.shop-find-results a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 10px 14px; border-top: 1px solid var(--line-soft); color: var(--text); }
.shop-find-results a:hover, .shop-find-results a:focus { background: var(--mist); text-decoration: none; }
.shop-find-results a b { overflow-wrap: anywhere; }
.shop-find-results a span { grid-column: 1; font-size: 14px; color: var(--text-muted); }
.shop-find-results a i { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; background: var(--mist); padding: 2px 8px; }
.shop-find-results p { margin: 0; padding: 10px 14px; border-top: 1px solid var(--line-soft); }
.dept-grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 16px; }
@media (min-width: 560px) { .dept-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .dept-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dept { display: grid; grid-template-columns: 120px minmax(0, 1fr); border: 1px solid var(--line-soft); border-top: 3px solid var(--ink); color: var(--text); background: var(--paper); }
.dept:hover { border-color: var(--red); text-decoration: none; }
.dept-photo { display: flex; align-items: center; justify-content: center; background: var(--graphite) url(/assets/img/tile-bg.png) center / cover no-repeat; padding: 10px; min-height: 120px; }
.dept-photo.light { background: #fff; border-right: 1px solid var(--line-soft); }
.dept-photo img { max-width: 100%; max-height: 96px; width: auto; object-fit: contain; }
.dept-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; }
.dept-body b { font-family: var(--font-head); font-weight: 700; font-size: 24px; letter-spacing: .6px; text-transform: uppercase; line-height: 1.1; }
.dept-body .arrow-link { margin-top: auto; }

/* Quote list page */
.quote-lines { list-style: none; margin: 0 0 8px; padding: 0; border-top: 3px solid var(--ink); }
.quote-lines li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
@media (min-width: 640px) { .quote-lines li { grid-template-columns: minmax(0, 1fr) auto auto; } }
.quote-lines li > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.quote-lines .pcard-tags { margin: 0 0 2px; }
.quote-id { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--text); overflow-wrap: anywhere; }
.quote-qty { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--text-muted); }
.quote-qty input { width: 84px; min-height: 44px; padding: 0 10px; font: 16px var(--font-body); border: 1px solid var(--line); border-radius: 0; }
@media (min-width: 1100px) { .shop-bar .shop-bar-quote { display: none; } }
[hidden] { display: none !important; }
@media (max-width: 559px) { .pcard-photo { min-height: 104px; padding: 10px; } .pcard-photo img { max-height: 92px; } .pcard-specs > div { padding: 3px 0; } }

/* Vendor logo bar: every vendor we sell, scrolling slowly. Pauses under the pointer; stands still for visitors who ask for reduced motion. */
.vendor-bar { background: var(--paper); border-bottom: 1px solid var(--line-soft); overflow: hidden; padding: 14px 0; }
.vendor-track { display: flex; width: max-content; animation: vendor-roll 110s linear infinite; }
.vendor-bar:hover .vendor-track { animation-play-state: paused; }
.vendor-track ul { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; flex-shrink: 0; }
.vendor-track li { --s: 1; display: flex; align-items: center; justify-content: center; height: 52px; padding: 0 30px; flex-shrink: 0; }
.vendor-track img { height: calc(34px * var(--s)); width: auto; max-width: 190px; object-fit: contain; }
.vendor-track span { font-family: var(--font-head); font-weight: 700; font-size: 24px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text); white-space: nowrap; }
.vendor-track li[data-brand="nvidia"], .vendor-track li[data-brand="supermicro"], .vendor-track li[data-brand="intel"] { --s: 1.3; }
.vendor-track li[data-brand="samsung"], .vendor-track li[data-brand="lenovo"] { --s: .7; }
.vendor-track li[data-brand="dell-technologies"] { --s: .75; }
.vendor-track li[data-brand="amd"], .vendor-track li[data-brand="nokia"] { --s: .7; }
@keyframes vendor-roll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (min-width: 900px) { .vendor-bar { padding: 18px 0; } .vendor-track li { padding: 0 40px; } }
@media (prefers-reduced-motion: reduce) { .vendor-track { animation: none; } .vendor-bar { overflow-x: auto; } .vendor-track ul[aria-hidden="true"] { display: none; } }
.vendor-track li[data-brand="sk-hynix"] { --s: 1.45; }
.vendor-track li[data-brand="micron"], .vendor-track li[data-brand="apc"], .vendor-track li[data-brand="opengear"] { --s: 1.15; }
.vendor-track li[data-brand="gigabyte"], .vendor-track li[data-brand="kioxia"], .vendor-track li[data-brand="amphenol"], .vendor-track li[data-brand="phison"], .vendor-track li[data-brand="coherent"] { --s: .6; }

/* Sizing rule for product photos (13 Oct): every photo is scaled to fill the same box on its tile, whatever size the
   supplied file is. Wide products fill the width, tall products fill the height. Files are cropped to the product at build. */
.pcard-photo img { width: 100%; height: 140px; max-width: 100%; max-height: none; object-fit: contain; }
.shop-grid.view-list .pcard-photo img { height: 150px; }
@media (max-width: 559px) { .pcard-photo img { height: 96px; max-height: none; } }
.photo-tile img { width: 84%; height: 84%; max-width: 84%; max-height: 84%; object-fit: contain; }
.card .photo img { width: 80%; height: 100%; max-width: 80%; object-fit: contain; }
.card .photo.cover img { width: 100%; max-width: 100%; }
.dept-photo img { width: 100%; height: 96px; max-height: none; object-fit: contain; }

/* Filter options with long names wrap cleanly under themselves, with the count kept on the line */
.fopts label { align-items: flex-start; line-height: 1.3; padding: 6px 0; min-height: 0; }
.fopts input { margin-top: 1px; }
.fopts label .muted { white-space: nowrap; }
.fopts label { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 10px; flex-shrink: 0; }
.fopts-long { max-height: 340px; }

/* Shop front: two large feature panels (urgent offers, GPU capacity) */
.features { display: grid; gap: 16px; }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feature { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); background: var(--ink) url(/assets/img/tile-bg.png) right center / cover no-repeat; color: #fff; border-top: 4px solid var(--red); overflow: hidden; min-height: 360px; }
.feature-body { position: relative; z-index: 2; padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; }
.feature .eyebrow { color: var(--red-on-dark); margin: 0; }
.feature h2 { font-size: 44px; line-height: 1; margin: 0; color: #fff; }
.feature h2 em { font-style: normal; color: var(--red-em-dark); }
.feature p { margin: 0; color: var(--text-muted-dark); max-width: 46ch; }
.feature .btn-row { margin-top: auto; padding-top: 8px; }
.btn.ghost { background: transparent; border-color: #fff; color: #fff; }
.btn.ghost:hover { background: #fff; color: var(--ink); }
.feature-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.feature-list a { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 14px; background: rgba(255, 255, 255, .06); border-left: 3px solid var(--red); color: #fff; }
.feature-list a:hover { background: rgba(255, 255, 255, .12); text-decoration: none; }
.feature-list b { font-family: var(--font-head); font-size: 21px; letter-spacing: .5px; text-transform: uppercase; line-height: 1.15; }
.feature-chips { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.feature-chips li { font-family: var(--font-head); font-weight: 700; font-size: 16px; letter-spacing: 1px; padding: 4px 10px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .06); }
.feature-photo { display: none; }
@media (min-width: 640px) {
  .feature { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .feature-photo { display: flex; align-items: center; justify-content: center; padding: 20px 20px 20px 0; }
  .feature-photo img { width: 100%; height: 260px; object-fit: contain; }
  .feature-photo.tall img { height: 320px; }
}
@media (min-width: 900px) { .feature h2 { font-size: 54px; } .feature-body { padding: 34px 30px; } }

/* Home page: four scale figures */
@media (min-width: 900px) { .proof.proof-4 .wrap { grid-template-columns: repeat(4, minmax(0, 1fr)); } .proof.proof-4 .figure { font-size: 42px; } }
.vendor-bar + .section-tight { padding-top: 32px; }

.nowrap { white-space: nowrap; }
/* Seven departments: four across on wide screens, so the last row is not a single tile */
@media (min-width: 1180px) { .dept-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .dept { grid-template-columns: 104px minmax(0, 1fr); } .dept-photo { min-height: 110px; padding: 8px; } .dept-photo img { height: 90px; } .dept-body { padding: 12px 14px; } .dept-body b { font-size: 22px; } }
