:root {
  --site-width: 1600px;
  --field: #1b2515;
  --field-2: #24301b;
  --field-3: #2d3a22;
  --panel: #38482a;
  --cream: #f2efe6;
  --cream-2: #ebe8d7;
  --muted: #d8d4c2;
  --gold: #c7a35a;
  --gold-2: #e2cf91;
  --ink: #11130f;
  --olive-text: #2a3420;
  --soft-card: #f4f0e4;
  --line: rgba(226, 207, 145, 0.24);
  --line-strong: rgba(226, 207, 145, 0.34);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--field);
  color: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
.button,
.main-nav a,
.filter-bar a,
.product-card button,
.card-actions a,
.card-actions button,
.utility,
.category-strip a,
.category-card h3,
.category-card span,
.product-mark,
.collection-logo,
.hero-stats strong,
.stat strong,
.support-grid span,
.rfq-item strong {
  font-family: "Bahnschrift", "DIN Alternate", "Arial Narrow", Arial, sans-serif;
}

.wrap,
.section,
.category-strip,
.page-hero,
.supplier-directory,
.site-footer {
  width: min(var(--site-width), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(27, 37, 21, 0.94);
  border-bottom: 1px solid rgba(226, 207, 145, 0.22);
  backdrop-filter: blur(18px);
}

/* Finished artwork: homepage and interior variants share proportional sizing. */
.masthead { display: block; width: 100%; margin: 0; padding: 0; background: var(--field); }
.masthead-art { display: block; width: 100%; max-width: 1920px; margin: 0 auto; padding: 0; }
.masthead-art img { display: block; width: 100%; max-width: 1920px; height: auto; margin: 0; padding: 0; object-fit: contain; border: 0; border-radius: 0; box-shadow: none; }
@media (max-width: 540px) { .topbar { position: relative; } }

.utility {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--gold-2);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-row {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 132px;
}

.brand img {
  display: block;
  width: 116px;
  height: auto;
}

.brand span {
  display: none;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
}

.button,
.main-nav a,
.filter-bar a,
.product-card button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  padding: 0 19px;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-search {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
  border: 2px solid rgba(226, 207, 145, 0.78);
  background: #fbfaf3;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

.masthead > .masthead-search {
  position: absolute;
  top: 12px;
  right: max(24px, calc((100vw - var(--site-width)) / 2 + 20px));
  z-index: 2;
  width: min(390px, calc(100% - 48px));
  margin: 0;
}

.site-search input {
  min-height: 38px;
  border: 0;
  background: #fffef8;
  padding: 0 12px;
  color: #15150d;
  font-size: 0.92rem;
}

.site-search input::placeholder {
  color: #36392d;
  opacity: 1;
}

.site-search button,
.clear-filters {
  border: 0;
  border-left: 1px solid var(--line-strong);
  background: var(--gold);
  padding: 0 14px;
  color: #15150d;
  font-family: "Bahnschrift", "DIN Alternate", "Arial Narrow", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  display: none;
  border: 1px solid var(--line-strong);
  background: var(--soft-card);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.search-results.is-open {
  display: grid;
}

.search-results a {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(30, 40, 22, 0.14);
}

.search-results strong {
  font-family: "Bahnschrift", "DIN Alternate", "Arial Narrow", Arial, sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.search-results span {
  color: #596046;
  font-size: 0.86rem;
  font-weight: 800;
}

.button.primary,
.button.gold,
.product-card button {
  background: var(--gold);
  color: #15150d;
  border-color: var(--gold);
}

.button.secondary {
  background: rgba(27, 37, 21, 0.72);
  color: var(--gold-2);
}

.hero {
  position: relative;
  min-height: 700px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid rgba(226, 207, 145, 0.18);
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(27, 37, 21, 0.18), rgba(27, 37, 21, 0.84) 54%, rgba(27, 37, 21, 0.96)),
    linear-gradient(0deg, var(--field), transparent 44%);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 24% center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(var(--site-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 84px;
  display: grid;
  justify-items: end;
  text-align: right;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-2);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  max-width: 790px;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 5.8rem);
}

h2 {
  margin-bottom: 16px;
  max-width: 760px;
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 1.7vw, 1.7rem);
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy p:not(.eyebrow) {
  max-width: 610px;
  margin: 4px 0 0;
  color: var(--cream-2);
  font-size: 1.12rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 30px;
}

.hero-stats,
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.hero-stats {
  position: relative;
  z-index: 1;
  width: min(var(--site-width), calc(100% - 40px));
  margin: 28px auto 0;
}

.hero-stats div,
.stat,
.feature-panel,
.manufacturer-profile {
  min-height: 160px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #38482a, #202b18);
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero-stats strong,
.stat strong {
  display: block;
  color: var(--gold-2);
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 0.95;
}

.hero-stats span,
.stat span {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.45;
  text-transform: uppercase;
}

.category-strip,
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 24px 0;
}

.category-card,
.category-strip a {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(226, 207, 145, 0.22);
  background: var(--field-3);
  padding: 18px;
  color: #f7efd1;
  text-align: center;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.category-card:hover,
.category-strip a:hover,
.main-nav a:hover,
.filter-bar a:hover {
  border-color: var(--gold-2);
  background: #27331e;
}

.category-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold-2);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.category-card h3,
.category-strip a {
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.category-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.section,
.page-hero {
  padding: 72px 0;
}

.contract-band,
.quote-band,
.split,
.collection-hero {
  width: min(var(--site-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.contract-band,
.split,
.quote-band,
.collection-hero,
.supplier-group {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 64px;
  align-items: center;
  border-top: 1px solid rgba(226, 207, 145, 0.14);
}

.contract-band p:last-child,
.split p,
.quote-band p,
.page-hero p,
.collection-hero p,
.site-footer p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.68;
}

.section-heading {
  margin-bottom: 30px;
}

.supplier-strip {
  padding: 72px 0;
  border-top: 1px solid rgba(226, 207, 145, 0.14);
}

.supplier-strip > *,
.collection-toolbar,
.product-grid,
.logo-grid {
  width: min(var(--site-width), calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.logo-grid,
.supplier-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 30px;
}

.logo-tile,
.supplier-cards article {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  padding: 16px;
  color: var(--panel);
  font-size: clamp(0.9rem, 1.8vw, 1.22rem);
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
  box-shadow: inset 0 -5px 0 rgba(199, 163, 90, 0.24);
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 2px solid currentColor;
}

.feature-panel {
  color: var(--cream);
}

.panel-header strong,
.panel-header span {
  display: block;
}

.panel-header strong {
  color: var(--gold-2);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.panel-header span {
  margin-top: 12px;
  color: var(--muted);
}

.mini-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 42px;
}

.mini-products span {
  min-height: 72px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--cream);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quote-form {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  background: var(--field-2);
  padding: 22px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(226, 207, 145, 0.34);
  background: #0d1209;
  padding: 13px 14px;
  color: var(--cream);
  font-size: 0.95rem;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(199, 163, 90, 0.22);
  border-color: var(--gold-2);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 40px;
  border-top: 1px solid rgba(226, 207, 145, 0.18);
  color: var(--cream);
  font-size: 0.9rem;
}

.page-hero {
  min-height: 330px;
  display: grid;
  align-content: end;
}

.page-hero h1 {
  color: var(--cream);
  font-size: clamp(2.5rem, 3.2vw, 3.25rem);
}

.filter-bar {
  position: sticky;
  top: 116px;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(var(--site-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 14px 0;
  background: rgba(27, 37, 21, 0.94);
  border-block: 1px solid rgba(226, 207, 145, 0.18);
}

.filter-bar a {
  background: var(--field-2);
  color: var(--gold-2);
}

.supplier-directory {
  display: grid;
}

.supplier-group {
  padding: 44px 0;
}

.supplier-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.supplier-cards article {
  min-height: 124px;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}

.supplier-cards strong,
.supplier-cards span {
  display: block;
}

.supplier-cards span {
  margin-top: 12px;
  color: #596046;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.45;
  text-transform: none;
}

.supplier-cards a {
  color: var(--olive-text);
  border-bottom: 2px solid var(--gold);
}

.collection-hero {
  padding-top: 92px;
}

.manufacturer-profile {
  background: var(--soft-card);
  color: var(--ink);
}

.collection-logo {
  display: grid;
  min-height: 122px;
  place-items: center;
  margin-bottom: 24px;
  background: var(--field);
  color: var(--gold-2);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 950;
  text-transform: uppercase;
}

dl,
dd {
  margin: 0;
}

.manufacturer-profile dl {
  display: grid;
  gap: 16px;
}

.manufacturer-profile dt {
  color: #596046;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.manufacturer-profile dd {
  color: var(--ink);
  font-weight: 900;
}

.collection-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.product-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  background: var(--soft-card);
  padding: 22px;
  color: var(--ink);
  border: 1px solid rgba(226, 207, 145, 0.24);
}

.product-visual {
  display: grid;
  min-height: 160px;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(145deg, #38482a, #202b18);
  border: 1px solid rgba(30, 40, 22, 0.18);
}

.product-visual span {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  background: var(--gold);
  color: #15150d;
  font-weight: 950;
  text-transform: uppercase;
}

.product-card .eyebrow {
  color: #596046;
}

.product-card p:not(.eyebrow) {
  color: #4c4f43;
  line-height: 1.62;
}

.product-card button {
  width: 100%;
  margin-top: auto;
}

.collection-quote {
  margin-top: 24px;
}

.taxonomy-hero h1 {
  max-width: 960px;
}

.taxonomy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

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

.taxonomy-tile {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--field-3), var(--field-2));
  padding: 22px;
  color: var(--cream);
}

.electrolyte-brands {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  line-height: 1.3;
}

.electrolyte-brands a { color: var(--gold-2); text-decoration: underline; }
.electrolyte-tile strong a, .electrolyte-tile em a { color: inherit; }
.brand-group li:target { outline: 2px solid var(--gold); outline-offset: 6px; scroll-margin-top: 24px; }
.brand-group small { display: block; font-size: 0.875rem; color: var(--muted); }

.taxonomy-tile:hover {
  border-color: var(--gold-2);
  background: linear-gradient(145deg, #38482a, #28351f);
}

.taxonomy-tile span,
.taxonomy-marker span {
  width: fit-content;
  min-width: 54px;
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: var(--gold);
  padding: 8px 10px;
  color: #15150d;
  font-family: "Bahnschrift", "DIN Alternate", "Arial Narrow", Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.taxonomy-tile strong {
  display: block;
  margin-top: 28px;
  color: var(--cream);
  font-family: "Bahnschrift", "DIN Alternate", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(1.35rem, 2.6vw, 2.15rem);
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.taxonomy-tile p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.taxonomy-tile em {
  margin-top: auto;
  padding-top: 22px;
  color: var(--gold-2);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.taxonomy-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
}

.taxonomy-marker {
  position: sticky;
  top: 132px;
  min-height: 210px;
  border: 1px solid var(--line);
  background: var(--field-2);
  padding: 22px;
}

.taxonomy-marker span {
  min-width: 86px;
  min-height: 86px;
  font-size: 1.45rem;
}

.taxonomy-marker p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-context {
  border: 1px solid var(--line);
  background: var(--field-2);
  margin-bottom: 22px;
  padding: 22px;
}

.catalog-context h1 {
  margin-bottom: 12px;
  font-size: clamp(2.5rem, 3.2vw, 3.25rem);
}

.catalog-context p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  align-items: start;
}

.filters {
  position: sticky;
  top: 132px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  overscroll-behavior-y: contain;
  border: 1px solid var(--line-strong);
  background: var(--field-2);
  padding: 22px;
  font-family: Arial, Helvetica, sans-serif;
}

.filters h2 {
  margin: 0 0 24px;
  color: var(--gold-2);
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filters p {
  margin: 18px 0 9px;
  color: var(--cream);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.child-filter-group {
  margin: 6px 0 12px 0;
  padding-left: 22px;
  border-left: 2px solid rgba(226, 207, 145, 0.34);
}

.filters label,
.radio-grid label,
.checkline {
  min-height: 28px;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  margin: 6px 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.28;
  text-transform: none;
}

.filters > label {
  color: var(--cream-2);
  font-size: 0.9rem;
  font-weight: 800;
}

.filters input[type="checkbox"],
.filters input[type="radio"] {
  width: 16px;
  min-width: 16px;
  height: 16px;
  padding: 0;
  margin: 2px 0 0;
}

@media (max-width: 560px) {
  .filters label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }

  .filters input[type="checkbox"],
  .filters input[type="radio"] {
    flex: 0 0 18px;
    width: 18px !important;
    min-width: 18px;
    height: 18px !important;
  }
}

.child-filter-group label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.filter-count {
  margin: 0 0 14px !important;
  color: var(--gold-2) !important;
  font-size: 1rem !important;
  letter-spacing: 0.04em !important;
}

.clear-filters {
  width: 100%;
  min-height: 42px;
  margin-top: 14px;
  border: 1px solid var(--line-strong);
}

.catalog-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.catalog-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.catalog-empty {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  background: var(--field-2);
  padding: 28px;
  color: var(--cream);
}

.catalog-empty h3 {
  font-size: 1.25rem;
}

.catalog-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.catalog-card {
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--soft-card);
  padding: 14px;
  color: var(--ink);
  border: 1px solid rgba(226, 207, 145, 0.24);
}

.catalog-image {
  display: grid;
  height: 155px;
  place-items: center;
  margin-bottom: 12px;
  border: 1px solid rgba(30, 40, 22, 0.18);
  background: #ffffff;
}

.catalog-image img,
.detail-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.catalog-image img {
  max-height: 150px;
  padding: 12px;
}

.catalog-image span,
.detail-visual:not(.image-missing) span {
  display: none;
}

.catalog-image.image-missing span {
  display: grid;
  width: min(180px, 70%);
  aspect-ratio: 1.7;
  place-items: center;
  color: #596046;
  font-family: "Bahnschrift", "DIN Alternate", "Arial Narrow", Arial, sans-serif;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.catalog-card p:not(.eyebrow) {
  color: #4c4f43;
  display: -webkit-box;
  min-height: 3.75em;
  overflow: hidden;
  font-size: 0.88rem;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.catalog-card .eyebrow {
  color: #596046;
  display: -webkit-box;
  min-height: 2.3em;
  overflow: hidden;
  font-size: 0.74rem;
  line-height: 1.25;
  letter-spacing: 0.08em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.catalog-card h3 {
  margin-bottom: 8px;
  font-size: clamp(1.08rem, 1.2vw, 1.28rem);
  line-height: 1.08;
}

.catalog-card h3 a:hover {
  color: #596046;
}

.product-mark {
  display: grid;
  min-height: 150px;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(145deg, #38482a, #202b18);
  color: var(--gold-2);
  font-size: 2rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.catalog-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}

.catalog-card dt {
  color: #596046;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-card dd {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
}

.product-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.product-meta span {
  color: #596046;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: auto;
}

.card-actions a,
.card-actions button {
  min-height: 40px;
  border: 1px solid rgba(30, 40, 22, 0.24);
  background: transparent;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.card-actions button {
  background: var(--gold);
  border-color: var(--gold);
  color: #15150d;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(500px, 0.95fr);
  gap: 32px;
  align-items: start;
}

.product-primary h1 {
  max-width: 920px;
  font-size: 18px;
  line-height: 1.4;
}

.detail-visual {
  display: grid;
  width: fit-content;
  max-width: 100%;
  padding: 10px;
  place-items: center;
  margin: 16px auto;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(199, 163, 90, 0.18), transparent),
    linear-gradient(145deg, #38482a, #202b18);
}

.detail-visual img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  padding: 0;
}

.detail-visual span {
  display: grid;
  width: min(260px, 70%);
  aspect-ratio: 1.7;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--gold-2);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-visual.image-missing span {
  display: grid;
}

.detail-copy,
.procurement-support {
  border-top: 1px solid rgba(226, 207, 145, 0.18);
  padding-top: 28px;
}

.product-primary .detail-copy h2,
.product-primary .procurement-support h2 {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.product-primary .procurement-support h2:not(:first-child) {
  margin-top: 24px;
}

.detail-copy p,
.product-primary .procurement-support p,
.detail-copy li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.68;
}

.spec-list {
  margin: 0 0 28px;
  padding-left: 20px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 34px;
  background: var(--soft-card);
  color: var(--ink);
}

.spec-table th,
.spec-table td {
  border: 1px solid rgba(30, 40, 22, 0.18);
  padding: 12px 14px;
  text-align: left;
  font-size: 0.94rem;
}

.spec-table th {
  width: 34%;
  color: #596046;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.support-grid span {
  min-height: 70px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--field-2);
  padding: 14px;
  color: var(--cream);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.rfq-panel {
  position: sticky;
  top: 132px;
  border: 1px solid var(--line-strong);
  background: #202b18;
  padding: 22px;
  box-shadow: var(--shadow);
  font-family: Arial, Helvetica, sans-serif;
}

.rfq-panel-static {
  position: static;
}

.catalog-rfq-anchor {
  width: 100%;
  grid-template-columns: 0.75fr 1fr;
  gap: 28px;
  padding: 44px 0 0;
}

.rfq-panel h2 {
  margin-bottom: 14px;
  color: var(--gold-2);
  font-size: 1.75rem;
  font-family: "Bahnschrift", "DIN Alternate", "Arial Narrow", Arial, sans-serif;
}

.rfq-panel h3 {
  margin: 22px 0 12px;
  color: var(--cream);
  font-size: 1rem;
  letter-spacing: 0.08em;
  font-family: "Bahnschrift", "DIN Alternate", "Arial Narrow", Arial, sans-serif;
}

.rfq-panel p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.58;
}

.rfq-panel form {
  display: grid;
  gap: 4px;
}

.rfq-panel label {
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.35;
}

select,
input[type="file"] {
  width: 100%;
  border: 1px solid rgba(226, 207, 145, 0.34);
  background: #0d1209;
  padding: 12px 14px;
  color: var(--cream);
  font-size: 1rem;
}

input[type="checkbox"],
input[type="radio"] {
  width: auto;
  margin: 2px 0 0;
  accent-color: var(--gold);
}

.field-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.radio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px 10px;
}

.rfq-basket {
  margin-top: 12px;
  border-top: 1px solid rgba(226, 207, 145, 0.18);
  padding-top: 14px;
}

.rfq-item {
  display: grid;
  gap: 4px;
  margin: 8px 0;
  border: 1px solid rgba(226, 207, 145, 0.18);
  background: #0d1209;
  padding: 10px;
}

.rfq-item strong {
  color: var(--cream);
  font-size: 0.86rem;
  text-transform: uppercase;
}

.rfq-item span {
  color: var(--muted);
  font-size: 0.86rem;
}

.rfq-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
}

.rfq-status {
  min-height: 20px;
  margin: 8px 0 0;
  color: var(--gold-2);
  font-size: 0.84rem;
  font-weight: 800;
}

@media (max-width: 1320px) {
  .catalog-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
.nav-row {
    grid-template-columns: 1fr;
    min-height: 70px;
    padding: 10px 0;
  }

  .nav-row > .button.primary {
    display: none;
  }

  .masthead > .masthead-search {
    top: auto;
    right: 18px;
    bottom: 8px;
    left: 18px;
    width: auto;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .utility {
    display: none;
  }

  .hero {
    min-height: 630px;
  }

  .hero::after {
    background:
      linear-gradient(0deg, var(--field), rgba(27, 37, 21, 0.72) 55%, rgba(27, 37, 21, 0.25)),
      linear-gradient(90deg, rgba(27, 37, 21, 0.16), rgba(27, 37, 21, 0.7));
  }

  .hero-copy {
    justify-items: start;
    text-align: left;
    padding-bottom: 54px;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .category-strip,
  .category-grid,
  .hero-stats,
  .stats,
  .logo-grid,
  .supplier-grid,
  .product-grid,
  .taxonomy-grid,
  .taxonomy-grid-compact {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .contract-band,
  .split,
  .quote-band,
  .collection-hero,
  .supplier-group,
  .catalog-layout,
  .product-detail,
  .taxonomy-layout {
    grid-template-columns: 1fr;
  }

  .filter-bar,
  .filters,
  .rfq-panel,
  .taxonomy-marker {
    position: static;
  }

  .collection-toolbar,
  .catalog-head,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .wrap,
  .section,
  .category-strip,
  .page-hero,
  .supplier-directory,
  .site-footer,
  .hero-copy,
  .contract-band,
  .quote-band,
  .split,
  .collection-hero,
  .filter-bar,
  .supplier-strip > *,
  .collection-toolbar,
  .product-grid,
  .logo-grid,
  .taxonomy-grid,
  .taxonomy-grid-compact {
    width: min(100% - 24px, var(--site-width));
  }

  .masthead > .masthead-search {
    right: 12px;
    bottom: 8px;
    left: 12px;
  }

  .masthead .site-search {
    grid-template-columns: minmax(0, 1fr) auto;
  }

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

  .site-search input {
    min-height: 38px;
  }

  .site-search button {
    min-height: 38px;
    border-left: 0;
    border-top: 1px solid var(--line-strong);
  }

  .hero {
    min-height: 590px;
  }

  h1,
  .hero h1 {
    font-size: 2.85rem;
  }

  .hero-actions,
  .category-strip,
  .category-grid,
  .hero-stats,
  .stats,
  .logo-grid,
  .supplier-grid,
  .product-grid,
  .supplier-cards,
  .mini-products,
  .field-pair,
  .support-grid,
  .radio-grid,
  .catalog-card dl,
  .product-meta,
  .card-actions,
  .taxonomy-grid,
  .taxonomy-grid-compact {
    grid-template-columns: 1fr;
  }

  .catalog-products {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
    width: 100%;
  }

  .section,
  .page-hero,
  .contract-band,
  .quote-band,
  .split,
  .collection-hero {
    padding: 52px 0;
  }

  .product-card {
    min-height: 0;
  }
}

/* Compact cards belong only to the catalog product grid. */
.catalog-products[data-products] {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

[data-products] .catalog-card {
  min-width: 0;
  padding: 9px;
}

[data-products] .catalog-image {
  height: 110px;
  min-height: 110px;
  margin-bottom: 7px;
}

[data-products] .catalog-image img {
  display: block;
  min-width: 0;
  min-height: 0;
  max-height: 108px;
  padding: 3px;
  object-fit: contain;
}

[data-products] .catalog-image.image-missing span {
  font-size: 0.6875rem;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

[data-products] .catalog-card .eyebrow {
  min-height: 2.3em;
  margin: 0 0 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

[data-products] .catalog-card h3 {
  display: -webkit-box;
  min-height: 3.6em;
  margin: 0 0 6px;
  overflow: hidden;
  overflow-wrap: anywhere;
  font-size: 0.875rem;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

[data-products] .catalog-card p:not(.eyebrow) {
  min-height: 0;
  margin: 0 0 6px;
  font-size: 0.75rem;
  line-height: 1.2;
  -webkit-line-clamp: 2;
}

[data-products] .catalog-card dl {
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin: 0 0 8px;
}

[data-products] .catalog-card dl > div {
  min-width: 0;
}

[data-products] .catalog-card dl > div:last-child {
  text-align: left;
}

[data-products] .catalog-card dl.catalog-brand {
  display: block;
  margin: 8px 0;
}

[data-products] .catalog-card dl:not(.catalog-brand) dd {
  white-space: nowrap;
}

[data-products] .catalog-card:has(.catalog-brand) .catalog-image {
  margin-bottom: 0;
}

[data-products] .catalog-card:has(.catalog-brand) .eyebrow:empty {
  display: none;
}

[data-products] .catalog-card dt {
  white-space: nowrap;
  font-size: 0.6875rem;
  line-height: 1.2;
  letter-spacing: 0;
}

[data-products] .catalog-card dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 0.75rem;
  line-height: 1.2;
}

[data-products] .card-actions {
  gap: 0;
}

[data-products] .card-actions button {
  min-height: 32px;
  padding: 5px 6px;
  font-size: 0.75rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

@media (min-width: 1600px) {
  .catalog-products[data-products] {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (min-width: 921px) and (max-width: 1279px) {
  .catalog-products[data-products] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .catalog-products[data-products] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .catalog-products[data-products] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

@media (max-width: 379px) {
  .catalog-products[data-products] {
    grid-template-columns: 1fr;
  }
}

/* Move the homepage search two-thirds closer to RFQ on desktop. */
@media (min-width: 1161px) {
  .topbar-home .nav-row {
    grid-template-columns: max-content minmax(24px, 5fr) 360px minmax(24px, 1fr) max-content;
    column-gap: 0;
  }
  .topbar-home .nav-row .main-nav { grid-column: 1; }
  .topbar-home .nav-row .nav-search { grid-column: 3; }
  .topbar-home .nav-row > .button.primary { grid-column: 5; }
}

/* Shared product search stays alongside desktop navigation. */
.nav-row {
  grid-template-columns: max-content 360px max-content;
  justify-content: space-between;
}

.nav-row .nav-search {
  grid-template-columns: 40px minmax(0, 1fr);
  height: 42px;
  margin: 0;
  border: 1px solid #8b8b8b;
  border-radius: 5px;
  background: #000;
  box-shadow: none;
}

.nav-search input {
  min-width: 0;
  height: 40px;
  min-height: 0;
  padding: 0 10px 0 0;
  border-radius: 0 5px 5px 0;
  background: #000;
  color: #fff;
  font-size: 0.875rem;
}

.nav-search input::placeholder {
  color: #c5c5c5;
  opacity: 1;
}

.nav-search button {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 5px 0 0 5px;
  background: #000;
  color: #c5c5c5;
}

.nav-search:focus-within {
  outline: 2px solid var(--gold-2);
  outline-offset: 2px;
}

@media (max-width: 1160px) {
  .nav-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 24px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .nav-row .nav-search {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 920px) {
  .nav-row .main-nav {
    grid-column: 1 / -1;
  }
}

main > .catalog-layout {
  padding-top: 24px;
}

.catalog-head [data-catalog-heading] {
  min-width: 0;
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.2;
  text-transform: none;
  overflow-wrap: anywhere;
}

.catalog-head .catalog-rfq-button {
  flex: 0 0 auto;
  width: auto;
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.875rem;
}

.catalog-areas.section {
  padding-top: 24px;
  padding-bottom: 32px;
}

.catalog-areas[hidden],
.catalog-layout[hidden] {
  display: none;
}

.catalog-areas h1 {
  margin: 0 0 24px;
  font-size: 1.75rem;
}

.catalog-area-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

/* Artwork is supplied only for the three mapped category IDs. */
.catalog-area-tile {
  display: grid;
  align-items: center;
  height: 160px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line-strong);
  background: var(--field-2);
  color: var(--cream);
  text-align: left;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.catalog-area-tile.has-image {
  grid-template-columns: 40% minmax(0, 1fr);
  gap: 10px;
}

.catalog-area-image {
  display: grid;
  place-items: center;
  min-width: 0;
  height: 138px;
}

.catalog-area-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.catalog-area-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.catalog-area-title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
}

.catalog-area-children {
  display: grid;
  gap: 3px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.15;
}

.catalog-area-children > span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.catalog-area-view {
  color: var(--gold-2);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.catalog-area-tile:hover,
.catalog-area-tile:focus-visible {
  border-color: var(--gold-2);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1399px) {
  .catalog-area-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 920px) {
  .catalog-area-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .catalog-area-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-area-tile {
    transition: none;
  }
}

.topbar-home .masthead-art {
  width: 80%;
}

@media (min-width: 1161px) {
  .topbar-home .masthead-art {
    position: relative;
    width: 100%;
    max-width: none;
    height: 10.6vw;
    overflow: hidden;
  }

  .topbar-home .masthead-art img {
    position: absolute;
    top: -1.458333vw;
    right: 10%;
    width: 80%;
    max-width: none;
    clip-path: inset(0 0 0 20%);
  }

  .topbar-home .masthead-art::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20px;
    width: 13.25vw;
    height: 100%;
    background: url("masthead-home-banner2.png") left top / auto 100% no-repeat;
  }

  .topbar-home .nav-row {
    min-height: 54px;
  }
}

/* Shared RFQ overlay: scoped to preserve the established page design. */
.rfq-modal { position: fixed; inset: 0; top: 0; width: min(760px, calc(100% - 24px)); max-height: calc(100dvh - 24px); margin: auto; overflow-y: auto; overscroll-behavior: contain; color: var(--cream); border: 1px solid var(--gold); border-radius: 0; background: #202b18; padding: 24px; font-family: "Bahnschrift", "DIN Alternate", "Arial Narrow", Arial, sans-serif; }
.rfq-modal::backdrop { background: rgb(0 0 0 / 75%); }
.rfq-modal [hidden] { display: none !important; }
.rfq-modal-heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.rfq-modal-heading h2 { margin: 0; }
.rfq-modal form { gap: 14px; }
.rfq-modal label { display: grid; gap: 6px; margin: 0; }
.rfq-modal input, .rfq-modal textarea, .rfq-modal select { min-width: 0; width: 100%; background: #090c07; color: var(--cream); border: 1px solid var(--line-strong); border-radius: 0; }
.rfq-modal .checkline { display: flex; align-items: start; gap: 10px; }
.rfq-modal input[type="checkbox"] { width: auto; }
.rfq-modal .rfq-item { gap: 12px; padding: 16px; margin-bottom: 16px; }
.rfq-modal .rfq-item .button { justify-self: start; }
.rfq-modal fieldset { min-width: 0; border: 1px solid var(--line-strong); padding: 16px; display: grid; gap: 16px; }
.rfq-modal details summary { cursor: pointer; margin-bottom: 12px; }
.rfq-modal details label { margin-bottom: 10px; }
.rfq-modal .rfq-connection { font-size: .9rem; margin: 0; }
.rfq-modal a { text-decoration: underline; }
.rfq-modal :focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.rfq-modal .button { white-space: normal; }
@media (max-width: 600px) { .rfq-modal { padding: 16px; } .rfq-modal .field-pair { grid-template-columns: 1fr; } .rfq-modal-heading h2 { font-size: 1.4rem; } }

/* RFQ remains reachable in the existing mobile navigation. */
.nav-row > .button.primary[data-open-rfq] { display: inline-flex; }
@media (max-width: 920px) { .nav-row > [data-open-rfq] { grid-column: 2; grid-row: 3; justify-self: end; } }

/* Recovered product RFQ sections keep the current site theme. */
#quote-panel .checkline { display: flex; align-items: start; gap: 10px; }
#quote-panel .radio-grid label { display: flex; align-items: center; gap: 8px; }
#quote-panel section { min-width: 0; }
#quote-panel input, #quote-panel textarea, #quote-panel select { min-width: 0; max-width: 100%; }
#quote-panel .rfq-actions .button { white-space: normal; }

/* Subcategory selection only; product results retain their existing layout. */
.catalog-layout:has(.taxonomy-tile) {
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 16px;
}

.catalog-layout:has(.taxonomy-tile) > div {
  min-width: 0;
}

.catalog-layout:has(.taxonomy-tile) .catalog-rfq-button {
  display: none;
}

.catalog-products[data-products]:has(.taxonomy-tile) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.catalog-products[data-products] > .taxonomy-tile {
  min-width: 0;
  min-height: 180px;
  padding: 18px;
}

.catalog-products[data-products] > .taxonomy-tile strong {
  margin: 0;
  font-size: 21px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.catalog-products[data-products] > .taxonomy-tile p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.3;
}

.catalog-products[data-products] > .taxonomy-tile em {
  padding-top: 16px;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.catalog-layout:has(.taxonomy-tile) .filters {
  padding: 18px;
}

.catalog-layout:has(.taxonomy-tile) .filters label {
  min-height: 22px;
  margin: 4px 0;
  line-height: 1.25;
}

.catalog-layout:has(.taxonomy-tile) .filters > label {
  font-size: 15px;
}

.catalog-layout:has(.taxonomy-tile) .child-filter-group {
  margin: 4px 0 10px;
  padding-left: 18px;
}

.catalog-layout:has(.taxonomy-tile) .child-filter-group label {
  font-size: 13.5px;
}

@media (max-width: 1279px) {
  .catalog-products[data-products]:has(.taxonomy-tile) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .catalog-layout:has(.taxonomy-tile) {
    grid-template-columns: minmax(0, 1fr);
  }

  .catalog-layout:has(.taxonomy-tile) .filters {
    max-height: 300px;
  }

  .catalog-products[data-products]:has(.taxonomy-tile) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .catalog-products[data-products]:has(.taxonomy-tile) {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Alphabetical manufacturer directory */
.brand-directory { max-width: 1400px; }
.brand-directory h1 { margin-bottom: 16px; }
.brand-search { display: grid; gap: 8px; max-width: 520px; margin-top: 32px; font-weight: bold; }
.brand-search input { width: 100%; padding: 14px; border: 1px solid var(--line-strong); background: var(--field-2); color: var(--cream); font: inherit; }
.brand-alphabet { display: flex; flex-wrap: wrap; gap: 6px; border-block: 1px solid var(--line-strong); padding: 14px 0; margin: 24px 0 36px; }
.brand-alphabet a, .brand-alphabet span { min-width: 38px; padding: 8px; text-align: center; }
.brand-alphabet a:hover, .brand-alphabet a:focus-visible { background: var(--field-3); color: var(--gold-2); }
.brand-alphabet span { opacity: .4; }
.brand-group { margin-bottom: 40px; scroll-margin-top: 260px; }
.brand-group h2 { border-bottom: 1px solid var(--line-strong); padding-bottom: 10px; font-size: 1.4rem; }
.brand-group ul { columns: 3; column-gap: 40px; padding: 0; list-style: none; }
.brand-group li { break-inside: avoid; padding: 5px 0; }
.brand-group a { color: var(--cream); overflow-wrap: anywhere; }
.brand-group a:hover { color: var(--gold-2); text-decoration: underline; }
#brand-list { scroll-margin-top: 260px; }
@media (max-width: 900px) { .brand-group ul { columns: 2; } }
@media (max-width: 580px) { .brand-group ul { columns: 1; } .brand-alphabet { gap: 3px; } }
.compatible-printers { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #d8e0e8; }
.compatible-printers ul { display: block; list-style: none; padding: 0; margin: 0; }
.compatible-printers li { display: block; margin: 0; padding: .45rem 0; }
.compatible-printers a { display: inline-block; overflow-wrap: anywhere; }

.toner-detail-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
  margin: 20px 0 28px;
}
.toner-spec-table {
  flex: 1 1 240px;
  min-width: 0;
  max-width: 100%;
  border-collapse: collapse;
}
.toner-spec-table th,
.toner-spec-table td {
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.toner-spec-table th { width: 42%; font-weight: 700; }
.toner-detail-summary .compatible-printers {
  flex: 0 1 auto;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
}
.toner-detail-summary .compatible-printers h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.4;
}
.toner-detail-summary .compatible-printers li { padding: 2px 0; line-height: 1.4; }
/* Footwear browsing retains every independently orderable SKU. */
.footwear-types { display:flex; flex-wrap:wrap; gap:.6rem; margin:1rem 0 1.5rem; }
.footwear-types .button { white-space:normal; text-align:left; }
.footwear-types [aria-current="page"] { outline:2px solid currentColor; outline-offset:2px; }
.footwear-related li { margin:.65rem 0; }
/* Shared accessible search previews */
.site-search { position:relative; }
.search-results { z-index:100; max-height:70vh; overflow:auto; }
.search-results a { display:block; min-height:55px; }
.search-results img { width:48px; height:48px; object-fit:contain; float:left; margin-right:10px; }
.search-results [aria-selected="true"] { background:#e5eef5; outline:2px solid #244a69; outline-offset:-2px; }
.search-status:not(:empty) { position:absolute; top:100%; left:0; right:0; padding:8px; background:white; color:#18344a; z-index:101; font-size:13px; }
.site-search:has(.search-status:not(:empty)) .search-results { margin-top:34px; }
[data-search-attributes] label { display:block; margin:12px 0; text-transform:capitalize; }
[data-search-attributes] select { display:block; max-width:100%; width:100%; }

.search-results strong, .search-results span { display:block; }
.search-results strong { margin-bottom:4px; }
.search-results a::after { content:""; display:table; clear:both; }
[data-facet-count] { font-size:0.9em; }

.footwear-variants { margin-top: 1.5rem; min-width: 0; }
.footwear-variants label { display: block; margin: .75rem 0; }
.footwear-variants select { display: block; width: 100%; max-width: 100%; min-height: 44px; padding: .65rem; }
.footwear-variants p, .footwear-variants dd { overflow-wrap: anywhere; }
