:root {
  --navy: #0a0a0a;
  --navy-soft: #2d2d2d;
  --red: #d71920;
  --red-dark: #9f0d12;
  --gold: #f2c94c;
  --ink: #202124;
  --muted: #60646c;
  --line: #dedede;
  --line-dark: #c9c9c9;
  --paper: #ffffff;
  --canvas: #ffffff;
  --soft-red: #fff1f2;
  --soft-blue: #f7f7f7;
  --shadow: 0 12px 30px rgba(0, 0, 0, .08);
  --radius: 10px;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
}

button, input, textarea { font: inherit; }

button { cursor: pointer; }

a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: relative;
  overflow: visible;
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid #ebebeb;
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: min(1230px, calc(100% - 40px));
  min-height: 108px;
  margin: 0 auto;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 210px;
  height: 86px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.brand img { display: block; width: 100%; height: 100%; object-fit: contain; }

.header-copy { display: grid; gap: 1px; }

.header-copy h1,
.intro h2,
.section-heading h2,
.summary-card h2 {
  margin: 0;
  font-family: "Barlow", Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: .98;
}

.header-copy h1 { color: var(--navy); font-size: clamp(1.45rem, 3vw, 2.15rem); text-transform: uppercase; }

.eyebrow {
  color: var(--red);
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow.red { color: var(--red); }

.header-site-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-left: auto;
  padding: 10px 15px;
  border: 1px solid var(--red-dark);
  border-radius: 5px;
  background: var(--red);
  box-shadow: 0 3px 0 var(--red-dark);
  color: #fff;
  font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.header-site-link:hover {
  background: #ef1b23;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 7px 16px rgba(0, 0, 0, .18);
}

.site-nav {
  background: var(--navy);
  border-top: 1px solid #222;
}

.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(1230px, calc(100% - 40px));
  min-height: 48px;
  margin: 0 auto;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  color: var(--red);
  font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .18s ease, color .18s ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: #1d1d1d;
  color: #fff;
}

.site-nav a.active { box-shadow: inset 0 -3px 0 var(--red); }

.header-mark {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid rgba(213, 163, 60, .55);
  border-radius: 50%;
  color: var(--gold);
  font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.page-shell {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 46px 0 80px;
}

.intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.intro > div:first-child { max-width: 720px; }

.intro h2 {
  margin-top: 7px;
  color: var(--navy);
  font-size: clamp(2.25rem, 4.5vw, 3.65rem);
  text-transform: uppercase;
}

.intro h2::after {
  display: block;
  width: 70px;
  height: 3px;
  margin-top: 16px;
  background: var(--red);
  content: "";
}

.intro p {
  max-width: 670px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.intro-callout {
  display: grid;
  gap: 3px;
  min-width: 230px;
  padding: 17px 20px;
  border-left: 4px solid var(--red);
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
}

.callout-kicker {
  color: var(--red);
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.intro-callout strong { font-size: 1rem; }
.intro-callout span:last-child { color: rgba(255, 255, 255, .72); font-size: .82rem; }

.terms-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 30px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(11, 34, 57, .04);
}

.terms-strip > div {
  display: grid;
  gap: 2px;
  padding: 17px 22px;
  border-right: 1px solid var(--line);
}

.terms-strip > div:last-child { border-right: 0; }
.terms-strip span { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.terms-strip strong { color: var(--navy); font-size: .98rem; }

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  gap: 26px;
}

#order-form { display: grid; gap: 22px; min-width: 0; }

.panel,
.summary-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 8px 26px rgba(11, 34, 57, .04);
}

.panel { padding: 30px; }

.section-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.section-heading-left { display: flex; align-items: center; gap: 15px; }
.section-heading-products { justify-content: space-between; }
.section-number { color: var(--red); font-size: .73rem; font-weight: 700; letter-spacing: .12em; }
.section-heading h2 { margin-top: 4px; color: var(--navy); font-size: 2rem; }
.product-count { color: var(--muted); font-size: .84rem; font-weight: 600; }
.product-status-group { display: grid; justify-items: end; gap: 2px; text-align: right; }
.catalog-sync-status { color: var(--muted); font-size: .66rem; font-weight: 600; }
.catalog-sync-status.is-live { color: var(--red-dark); }

.field-grid { display: grid; gap: 17px; }
.field-grid.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.address-grid { margin-top: 17px; }
.field-wide { grid-column: span 1; }

fieldset.address-block { min-width: 0; margin: 0; padding: 0; border: 0; }
.address-block { display: grid; gap: 10px; }
.address-block legend { width: 100%; margin-bottom: 0; padding: 0; color: var(--navy); font-size: .78rem; font-weight: 700; }
.address-field { display: grid; gap: 5px; min-width: 0; }
.address-field > span { color: var(--muted); font-size: .69rem; font-weight: 700; }
.address-field input { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid var(--line-dark); border-radius: 8px; outline: 0; background: #fbfcfd; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.address-field input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(198, 40, 56, .12); background: #fff; }
.address-field input::placeholder { color: #9ba8b4; }
.address-row { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(58px, .7fr) minmax(88px, 1fr); gap: 9px; }

.field { display: grid; gap: 7px; min-width: 0; }
.field > span { color: var(--navy); font-size: .78rem; font-weight: 700; }
.field em, .check-row em, .address-block legend em { color: var(--red); font-style: normal; }

.field input,
.field textarea,
.search-field input {
  width: 100%;
  border: 1px solid var(--line-dark);
  border-radius: 9px;
  outline: 0;
  background: #fbfcfd;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.field input { min-height: 45px; padding: 10px 12px; }
.field textarea { min-height: 92px; padding: 10px 12px; resize: vertical; }
.field input:focus, .field textarea:focus, .search-field input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(198, 40, 56, .12); background: #fff; }
.field input::placeholder, .field textarea::placeholder, .search-field input::placeholder { color: #9ba8b4; }

.product-tools {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.search-field { position: relative; display: block; }
.search-field svg { position: absolute; top: 14px; left: 14px; width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; pointer-events: none; }
.search-field input { min-height: 47px; padding: 10px 14px 10px 42px; }

.filter-list { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-button {
  padding: 7px 11px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: .73rem;
  font-weight: 700;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.filter-button:hover { border-color: var(--navy-soft); color: var(--navy); }
.filter-button.active { border-color: var(--navy); background: var(--navy); color: #fff; }

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

.product-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 15px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-top: 3px solid #ececec;
  border-radius: 13px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.product-card:focus-within, .product-card:hover { border-color: #b8b8b8; border-top-color: var(--red); box-shadow: 0 7px 18px rgba(0, 0, 0, .1); transform: translateY(-1px); }

.product-image-wrap {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 116px;
  overflow: hidden;
  border-radius: 9px;
  background: #f4f7f8;
}
.product-image { display: block; width: 100%; height: 116px; object-fit: contain; mix-blend-mode: multiply; }

.product-info { display: flex; min-width: 0; flex-direction: column; }
.product-category { align-self: flex-start; margin-bottom: 5px; padding: 3px 7px; border-radius: 999px; background: var(--soft-red); color: var(--red-dark); font-size: .58rem; font-weight: 700; letter-spacing: .06em; line-height: 1.1; text-transform: uppercase; }
.product-name { margin: 0; color: var(--navy); font-family: "Roboto Condensed", Arial, Helvetica, sans-serif; font-size: 1.25rem; font-weight: 700; line-height: 1.05; }
.product-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 6px; color: var(--muted); font-size: .71rem; }
.color-details { margin-top: 10px; padding-top: 9px; border-top: 1px solid #eeeeee; }
.color-details summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; color: var(--red-dark); font-family: "Roboto Condensed", Arial, Helvetica, sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .04em; list-style-position: outside; text-transform: uppercase; }
.color-details summary::marker { color: var(--red); }
.color-details summary:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.color-summary-label { text-decoration: underline; text-underline-offset: 3px; }
.color-count { color: var(--muted); font-family: "Roboto", Arial, Helvetica, sans-serif; font-size: .63rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.color-help, .color-empty { margin: 8px 0 0; color: var(--muted); font-size: .64rem; line-height: 1.35; }
.color-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 5px; margin: 9px 0 0; padding: 0; list-style: none; }
.color-list li { display: flex; align-items: center; justify-content: space-between; gap: 7px; min-width: 0; padding: 5px 6px; border: 1px solid #dedede; border-radius: 4px; background: #f7f7f7; color: #404040; font-size: .61rem; line-height: 1.2; }
.color-list li.is-dual { border-color: rgba(215, 25, 32, .45); background: #fff1f2; color: var(--red-dark); }
.color-choice { display: flex; align-items: center; min-width: 0; gap: 6px; cursor: pointer; }
.color-choice input { width: 15px; height: 15px; margin: 0; accent-color: var(--red); flex: 0 0 auto; }
.color-name { min-width: 0; overflow-wrap: anywhere; }
.color-case-input { width: 48px; min-height: 28px; padding: 3px 4px; border: 1px solid var(--line-dark); border-radius: 4px; background: #fff; color: var(--navy); font-size: .67rem; font-weight: 700; text-align: center; }
.color-case-input:focus { border-color: var(--red); outline: 0; box-shadow: 0 0 0 2px rgba(215, 25, 32, .12); }
.color-case-input:disabled { background: #ececec; color: #9a9a9a; cursor: not-allowed; }
.product-price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: auto; padding-top: 10px; }
.product-price-grid div { display: grid; gap: 1px; }
.product-price-grid span { color: var(--muted); font-size: .61rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.product-price-grid strong { color: var(--red-dark); font-size: .92rem; }
.case-field { display: grid; grid-template-columns: 1fr 58px; align-items: center; gap: 6px; margin-top: 9px; }
.case-field span { color: var(--navy); font-size: .72rem; font-weight: 700; }
.case-field input { width: 58px; height: 35px; padding: 5px; border: 1px solid var(--line-dark); border-radius: 7px; background: #fbfcfd; color: var(--navy); font-weight: 700; text-align: center; }
.case-field input:focus { border-color: var(--red); outline: 0; box-shadow: 0 0 0 3px rgba(198, 40, 56, .12); }

.loading-state, .no-results { grid-column: 1 / -1; padding: 28px 10px; color: var(--muted); text-align: center; }
.no-results { margin: 0; }

.submit-row { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.check-row { display: flex; align-items: flex-start; gap: 9px; max-width: 470px; color: var(--navy); font-size: .78rem; font-weight: 600; }
.check-row input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--red); flex: 0 0 auto; }
.form-note { max-width: 470px; margin: 8px 0 0 26px; color: var(--muted); font-size: .73rem; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 49px; padding: 12px 20px; border: 1px solid var(--red-dark); border-radius: 5px; background: var(--red); color: #fff; font-family: "Roboto Condensed", Arial, Helvetica, sans-serif; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 3px 0 var(--red-dark); transition: background .15s ease, transform .15s ease, box-shadow .15s ease; }
.primary-button:hover { background: var(--red-dark); transform: translateY(-1px); }
.primary-button span { font-size: 1.2rem; line-height: 1; }
.form-status { min-height: 1.3em; margin: 16px 0 0; color: var(--red-dark); font-size: .8rem; font-weight: 700; }

.summary-card { position: sticky; top: 20px; padding: 24px; border-top: 4px solid var(--red); }
.summary-topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.text-button { padding: 0; border: 0; background: transparent; color: var(--muted); font-size: .73rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.text-button:hover { color: var(--red); }
.summary-card h2 { margin-top: 7px; color: var(--navy); font-size: 2.35rem; }
.summary-items { display: grid; gap: 8px; max-height: 315px; margin: 22px 0; overflow: auto; padding-right: 4px; }
.empty-summary { margin: 0; color: var(--muted); font-size: .82rem; }
.summary-line { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.summary-line-name { color: var(--navy); font-size: .76rem; font-weight: 700; line-height: 1.25; }
.summary-line-detail { display: block; margin-top: 2px; color: var(--muted); font-size: .69rem; font-weight: 500; }
.summary-color-detail { display: block; margin-top: 2px; color: var(--red-dark); font-size: .67rem; font-weight: 500; line-height: 1.25; }
.summary-line-total { color: var(--red-dark); font-size: .79rem; font-weight: 700; white-space: nowrap; }
.summary-totals { display: grid; gap: 8px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.summary-totals > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .79rem; }
.summary-totals strong { color: var(--navy); font-size: .88rem; }
.summary-totals .grand-total { padding-top: 7px; color: var(--navy); font-size: .86rem; font-weight: 700; }
.summary-totals .grand-total strong { color: var(--red-dark); font-size: 1.35rem; }
.minimum-status { display: flex; align-items: flex-start; gap: 10px; margin-top: 17px; padding: 12px; border-radius: 10px; background: var(--soft-blue); }
.minimum-status[data-state="ready"] { background: #eef9f3; }
.minimum-status[data-state="below"] { background: var(--soft-red); }
.status-dot { width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; background: var(--muted); flex: 0 0 auto; }
.minimum-status[data-state="ready"] .status-dot { background: #2b9660; }
.minimum-status[data-state="below"] .status-dot { background: var(--red); }
.minimum-status strong, .minimum-status span:last-child { display: block; }
.minimum-status strong { color: var(--navy); font-size: .77rem; }
.minimum-status span:last-child { margin-top: 2px; color: var(--muted); font-size: .7rem; }
.summary-footnote { display: grid; gap: 5px; margin-top: 18px; }
.summary-footnote p { margin: 0; color: var(--muted); font-size: .7rem; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 30px max(20px, calc((100% - 1230px) / 2)); background: var(--navy-soft); border-top: 3px solid var(--red-dark); color: #fff; }
.site-footer div { display: flex; align-items: center; gap: 12px; }
.site-footer strong { font-family: "Barlow", Arial, Helvetica, sans-serif; font-size: 1.1rem; letter-spacing: .08em; text-transform: uppercase; }
.site-footer span, .site-footer a { color: rgba(255,255,255,.65); font-size: .75rem; }
.site-footer a { text-underline-offset: 3px; }

@media (max-width: 1050px) {
  .content-layout { grid-template-columns: minmax(0, 1fr) 280px; }
  .product-card { grid-template-columns: 92px minmax(0, 1fr); }
  .product-image, .product-image-wrap { height: 106px; min-height: 106px; }
}

@media (max-width: 820px) {
  .intro { align-items: stretch; flex-direction: column; }
  .intro-callout { width: 100%; }
  .content-layout { display: flex; flex-direction: column; }
  .summary-card { position: static; order: -1; width: 100%; }
  .summary-items { max-height: 240px; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .header-inner, .page-shell, .site-nav-inner { width: min(100% - 28px, 1230px); }
  .header-inner { min-height: 82px; gap: 12px; }
  .brand { width: 150px; height: 62px; }
  .header-copy h1 { font-size: 1.1rem; }
  .header-site-link { display: none; }
  .site-nav-inner { width: 100%; }
  .site-nav a { flex: 1 1 0; justify-content: center; padding: 0 6px; font-size: .68rem; text-align: center; }
  .page-shell { padding-top: 30px; padding-bottom: 48px; }
  .intro h2 { font-size: 3rem; }
  .intro p { font-size: .95rem; }
  .terms-strip { grid-template-columns: repeat(2, 1fr); }
  .terms-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .terms-strip > div:nth-child(odd):not(:last-child) { border-right: 1px solid var(--line); }
  .terms-strip > div:last-child { border-bottom: 0; }
  .panel, .summary-card { padding: 20px; }
  .section-heading h2 { font-size: 1.8rem; }
  .field-grid.two-col { grid-template-columns: 1fr; }
  .address-grid { margin-top: 0; }
  .address-row { grid-template-columns: minmax(0, 1fr) 70px 94px; }
  .product-list { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: 104px minmax(0, 1fr); }
  .submit-row { align-items: stretch; flex-direction: column; }
  .primary-button { width: 100%; }
  .site-footer { align-items: flex-start; flex-direction: column; padding: 22px 14px; }
  .site-footer div { align-items: flex-start; flex-direction: column; gap: 3px; }
}

@media (max-width: 390px) {
  .product-card { grid-template-columns: 88px minmax(0, 1fr); gap: 10px; padding: 9px; }
  .product-image, .product-image-wrap { height: 94px; min-height: 94px; }
  .product-name { font-size: 1.14rem; }
  .product-price-grid { gap: 4px; }
}
