/* The Towel Guys Canada - premium storefront upgrade */
:root {
  --ink: #0a0c12;
  --ink-2: #1a1e28;
  --paper: #ffffff;
  --soft: #f3f5f8;
  --soft-2: #e8ebf0;
  --line: #d9dde5;
  --muted: #69707d;
  --red: #e01822;
  --red-dark: #a60912;
  --navy: #0d1320;
  --navy-2: #151d2e;
  --shadow: 0 18px 48px rgba(11, 16, 27, 0.12);
  --shadow-strong: 0 28px 80px rgba(5, 8, 14, 0.22);
  --radius: 6px;
  --max: 1360px;
}

html {
  scroll-padding-top: 150px;
}

body {
  color: var(--ink);
  background: #ffffff;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
.nav-links,
.primary-action,
.secondary-action,
.quote-button,
.filter-chip,
.finder-option,
.detail-button,
.add-button,
.compare-card-button {
  font-family: Bahnschrift, "Arial Narrow", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

:focus-visible {
  outline: 3px solid rgba(224, 24, 34, 0.42);
  outline-offset: 3px;
}

/* Header */
.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #090b11;
  box-shadow: 0 8px 34px rgba(3, 5, 10, 0.24);
  transition: box-shadow 180ms ease, background-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(9, 11, 17, 0.98);
  box-shadow: 0 14px 38px rgba(3, 5, 10, 0.36);
}

.utility-bar {
  justify-content: flex-end;
  min-height: 28px;
  padding: 4px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--red);
}

.utility-actions {
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.utility-actions a {
  opacity: 0.9;
  transition: opacity 150ms ease;
}

.utility-actions a:hover {
  opacity: 1;
}

.header-main {
  grid-template-columns: 150px minmax(220px, 420px) minmax(170px, 1fr) auto;
  gap: 22px;
  min-height: 78px;
  padding: 8px max(24px, calc((100vw - var(--max)) / 2));
  background: #11131a;
}

.product-header-main {
  grid-template-columns: 150px minmax(220px, 1fr) auto;
}

.brand-lockup img {
  width: 132px;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.32));
}

.site-search {
  width: 100%;
  max-width: 420px;
}

.site-search span,
.catalog-search span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.site-search input {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  padding: 0 16px;
  color: #ffffff;
  background: #1a1d25;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.site-search input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.header-contact {
  min-width: 150px;
}

.header-contact p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.header-contact a {
  color: #ffffff;
  font-weight: 800;
  text-shadow: none;
}

.quote-button {
  min-height: 42px;
  border: 1px solid rgba(224, 24, 34, 0.66);
  border-radius: 6px;
  padding: 0 16px;
  color: #ffffff;
  background: #171922;
  box-shadow: none;
  transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.quote-button:hover {
  border-color: var(--red);
  background: #20232d;
  transform: translateY(-1px);
}

.quote-button span {
  min-width: 26px;
  height: 26px;
  color: #ffffff;
  background: var(--red);
}

.main-nav {
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-color: rgba(255, 255, 255, 0.08);
  background: #07090e;
}

.nav-links {
  gap: 0;
  overflow: visible;
}

.nav-links a {
  min-height: 44px;
  padding: 0 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: color 150ms ease, background-color 150ms ease;
}

.nav-links a:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #ffffff;
  background: #151924;
  box-shadow: inset 0 -2px 0 var(--red);
}

.nav-dropdown {
  min-width: 250px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0 0 6px 6px;
  background: #11141c;
  box-shadow: var(--shadow-strong);
}

.nav-dropdown a,
.nav-dropdown a:first-child {
  min-height: 42px;
  border: 0;
  border-radius: 4px;
  padding: 0 14px;
}

/* Hero */
.hero {
  grid-template-columns: minmax(520px, 1.08fr) minmax(380px, 0.72fr);
  gap: 64px;
  min-height: 700px;
  padding: 64px max(32px, calc((100vw - var(--max)) / 2)) 58px;
  background-position: center 48%;
}

.hero::before {
  background: linear-gradient(180deg, rgba(5, 7, 13, 0) 58%, rgba(5, 7, 13, 0.9) 100%);
}

.hero-copy {
  max-width: 700px;
  min-height: 0;
}

.hero-logo-mark {
  width: 330px;
  margin-bottom: 26px;
}

.hero h1 {
  max-width: 680px;
  color: #ffffff;
  font-size: 62px;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-text {
  max-width: 660px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.77);
  font-size: 17px;
  line-height: 1.65;
}

.hero-actions {
  gap: 12px;
  margin-top: 32px;
}

.primary-action,
.secondary-action {
  min-height: 48px;
  border-radius: 6px;
  padding: 0 22px;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.primary-action {
  background: var(--red);
  box-shadow: 0 14px 30px rgba(224, 24, 34, 0.24);
}

.primary-action:hover {
  background: #f0202b;
  box-shadow: 0 18px 38px rgba(224, 24, 34, 0.3);
  transform: translateY(-2px);
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #ffffff;
  background: rgba(10, 12, 18, 0.38);
}

.secondary-action:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 650px;
  margin-top: 34px;
}

.hero-stats div {
  min-height: 92px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  padding: 16px;
  background: rgba(7, 10, 17, 0.72);
  backdrop-filter: none;
}

.hero-stats strong {
  color: #ffffff;
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  font-size: 24px;
  line-height: 1;
}

.hero-stats span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-media {
  width: min(100%, 500px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 22px;
  background: rgba(8, 11, 18, 0.86);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: none;
}

.hero-card-heading h2 {
  color: #ffffff;
  font-size: 25px;
}

.hero-product-strip {
  gap: 12px;
  margin-top: 18px;
}

.hero-product-button {
  min-height: 138px;
  border-radius: 5px;
}

.hero-product-button::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(180deg, transparent, rgba(4, 6, 11, 0.88));
  pointer-events: none;
}

.hero-product-button span {
  inset: auto 12px 10px;
  font-size: 14px;
}

.mini-catalog-link {
  min-height: 44px;
  margin-top: 12px;
  border-radius: 5px;
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
}

/* Guided buying */
.finder-section {
  grid-template-columns: minmax(280px, 0.64fr) minmax(0, 1.36fr);
  gap: 64px;
  max-width: none;
  margin: 0;
  padding: 86px max(32px, calc((100vw - var(--max)) / 2));
  color: #ffffff;
  background: #0b0f18;
}

.finder-copy {
  position: sticky;
  top: 178px;
  align-self: start;
  max-width: 410px;
}

.finder-copy .eyebrow {
  color: #ff414a;
}

.finder-copy h2 {
  color: #ffffff;
  font-size: 48px;
  line-height: 1.02;
}

.finder-copy p:not(.eyebrow) {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 17px;
  line-height: 1.65;
}

.finder-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 24px;
  background: #121827;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
}

.finder-options {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.finder-option {
  min-width: 0;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.72);
  background: #1a2131;
  font-size: 13px;
}

.finder-option:hover {
  color: #ffffff;
  background: #222b3e;
}

.finder-option.active {
  border-color: var(--red);
  color: #ffffff;
  background: var(--red);
  box-shadow: 0 10px 24px rgba(224, 24, 34, 0.24);
}

.finder-result {
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  margin-top: 18px;
}

.finder-result-copy {
  min-height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  padding: 26px;
  background: #1a2131;
}

.finder-result-copy h3 {
  color: #ffffff;
  font-size: 31px;
  line-height: 1.05;
}

.finder-result-copy p {
  color: rgba(255, 255, 255, 0.65);
}

.finder-pill {
  border-radius: 4px;
  color: #ffffff;
  background: rgba(224, 24, 34, 0.2);
}

.finder-actions {
  align-items: stretch;
  gap: 10px;
}

.finder-actions > * {
  flex: 1 1 150px;
  min-width: 0;
}

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

.mini-product {
  display: grid;
  grid-template-rows: 190px 1fr;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  overflow: hidden;
  color: var(--ink);
  background: #ffffff;
}

.mini-product > a {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 14px;
  background: #f5f6f8;
}

.mini-product img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mini-product > div {
  display: grid;
  align-content: start;
  gap: 9px;
  min-width: 0;
  padding: 18px;
}

.mini-product > div > span {
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.mini-product h4 {
  min-height: 54px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.15;
}

.mini-product > div > p {
  display: none;
}

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

.mini-actions a {
  grid-column: 1 / -1;
}

.mini-actions a,
.mini-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0 10px;
  color: var(--ink);
  background: #ffffff;
  font-weight: 800;
}

.mini-actions a {
  border-color: var(--red);
  color: #ffffff;
  background: var(--red);
}

/* Catalog */
.section#catalog {
  max-width: none;
  margin: 0;
  padding: 82px max(32px, calc((100vw - var(--max)) / 2)) 108px;
  background: #f5f6f8;
}

.catalog-size-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 54px;
}

.catalog-size-rail a {
  display: grid;
  align-content: center;
  min-height: 88px;
  border: 1px solid #d8dce4;
  border-radius: 6px;
  padding: 16px 18px;
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(11, 16, 27, 0.06);
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.catalog-size-rail a:hover,
.catalog-size-rail a.active {
  border-color: var(--red);
  color: #ffffff;
  background: var(--red);
  transform: translateY(-2px);
}

.catalog-size-rail strong {
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  font-size: 24px;
  line-height: 1;
}

.catalog-size-rail span {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.68;
}

.catalog-heading {
  align-items: end;
  gap: 30px;
  margin-bottom: 18px;
}

.catalog-heading h2 {
  font-size: 46px;
  line-height: 1;
}

.catalog-heading p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--muted);
}

.catalog-search {
  width: min(100%, 430px);
}

.catalog-search span {
  color: var(--muted);
}

.catalog-search input {
  min-height: 46px;
  border-radius: 6px;
  background: #ffffff;
}

.active-filter-row {
  min-height: 40px;
  margin-bottom: 20px;
}

.filter-hint {
  color: var(--muted);
  font-size: 14px;
}

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

.filters {
  position: sticky;
  top: 170px;
  max-height: calc(100vh - 194px);
  overflow-y: auto;
  border: 1px solid #d8dce4;
  border-radius: 6px;
  padding: 20px;
  color: #ffffff;
  background: #101522;
  box-shadow: 0 20px 50px rgba(7, 11, 18, 0.13);
  scrollbar-width: thin;
}

.filter-group + .filter-group {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-group h3 {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  text-transform: uppercase;
}

.chip-list {
  gap: 7px;
}

.filter-chip,
.color-chip {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.76);
  background: #1a2131;
  font-size: 12px;
}

.filter-chip:hover,
.color-chip:hover {
  color: #ffffff;
  background: #242d40;
}

.filter-chip.active,
.color-chip.active {
  border-color: var(--red);
  color: #ffffff;
  background: var(--red);
}

.color-chip .swatch {
  border-color: rgba(255, 255, 255, 0.42);
}

.reset-button {
  width: 100%;
  min-height: 40px;
  margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  background: transparent;
}

.catalog-toolbar {
  min-height: 48px;
  margin-bottom: 14px;
}

.catalog-toolbar > p {
  color: var(--muted);
  font-weight: 700;
}

.catalog-tools {
  gap: 8px;
}

.catalog-tools button,
.catalog-tools select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink);
  background: #ffffff;
}

.compare-button span {
  color: #ffffff;
  background: var(--red);
}

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

.product-card {
  min-width: 0;
  border: 1px solid #dfe2e8;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(11, 16, 27, 0.07);
  transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

.product-card:hover {
  border-color: #c5cad4;
  box-shadow: 0 22px 50px rgba(11, 16, 27, 0.13);
  transform: translateY(-4px);
}

.product-card .image-wrap {
  min-height: 0;
  aspect-ratio: 1 / 0.78;
  padding: 20px;
  background: #f7f8fa;
}

.product-card .image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 220ms ease;
}

.product-card:hover .image-wrap img {
  transform: scale(1.025);
}

.product-body {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 12px;
  min-width: 0;
  padding: 20px;
}

.product-body h3 {
  min-height: 48px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.16;
}

.product-body h3 a:hover {
  color: var(--red);
}

.product-body .price {
  margin: 0;
  color: var(--red);
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  font-size: 19px;
  font-weight: 800;
}

.quick-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.quick-specs > span {
  display: grid;
  min-width: 0;
  min-height: 54px;
  align-content: center;
  border: 1px solid #e2e5eb;
  border-radius: 5px;
  padding: 9px 10px;
  color: var(--ink-2);
  background: #f8f9fb;
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.quick-specs small {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.card-swatches {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 24px;
}

.card-swatches > span:first-child {
  margin-right: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.card-actions {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 8px;
  align-self: end;
  margin-top: 2px;
}

.detail-button,
.add-button,
.compare-card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0 8px;
  color: var(--ink);
  background: #ffffff;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.detail-button {
  border-color: var(--red);
  color: #ffffff;
  background: var(--red);
}

.detail-button:hover,
.add-button:hover,
.compare-card-button:hover {
  border-color: var(--red);
}

.compare-card-button.active {
  color: #ffffff;
  background: var(--ink);
}

/* Drawers and modal */
.quote-drawer,
.compare-drawer {
  width: min(500px, 100vw);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  background: #0d111b;
  box-shadow: -26px 0 70px rgba(0, 0, 0, 0.34);
}

.drawer-header,
.quote-footer {
  border-color: rgba(255, 255, 255, 0.1);
}

.drawer-header h2 {
  color: #ffffff;
}

.icon-button,
.modal-close {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  background: transparent;
}

.quote-row,
.compare-card,
.compare-table,
.empty-state {
  border-radius: 6px;
}

.toast {
  border-radius: 5px;
  background: #111722;
}

/* Product detail pages */
.product-page-body {
  background: #f4f5f7;
}

.product-detail-hero {
  max-width: none;
  margin: 0;
  padding: 38px max(32px, calc((100vw - var(--max)) / 2)) 72px;
  background: #0b0f18;
}

.breadcrumb {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  text-transform: uppercase;
}

.breadcrumb a:hover {
  color: #ffffff;
}

.product-detail-grid {
  grid-template-columns: minmax(440px, 0.92fr) minmax(420px, 1.08fr);
  gap: 22px;
  align-items: stretch;
}

.product-detail-media,
.product-detail-copy {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.24);
}

.product-detail-media {
  min-height: 560px;
  padding: 24px;
  background: #ffffff;
}

.product-main-image-wrap {
  min-height: 500px;
  background: #ffffff;
}

.product-main-image {
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: contain;
}

.product-gallery-thumbs {
  margin-top: 14px;
}

.gallery-thumb {
  border-radius: 5px;
}

.product-detail-copy {
  display: grid;
  align-content: center;
  min-height: 560px;
  padding: 48px;
  color: #ffffff;
  background: #151b29;
}

.product-detail-copy .eyebrow {
  color: #ff3f48;
}

.product-detail-copy h1 {
  color: #ffffff;
  font-size: 48px;
  line-height: 1;
}

.product-detail-copy .price {
  margin: 22px 0 0;
  color: #ffffff;
  font-size: 25px;
}

.product-detail-copy .modal-description {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.7;
}

.product-detail-copy .product-badges {
  margin-top: 24px;
}

.product-detail-copy .product-badges span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.07);
}

.product-use-note {
  display: grid;
  gap: 5px;
  margin-top: 22px;
  border-left: 3px solid var(--red);
  padding: 10px 0 10px 16px;
}

.product-use-note span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-use-note strong {
  color: #ffffff;
  font-size: 15px;
}

.product-detail-copy .modal-actions {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 10px;
  margin-top: 30px;
}

.product-spec-section,
.related-products {
  max-width: var(--max);
  padding-left: 0;
  padding-right: 0;
}

.product-spec-section {
  padding-top: 72px;
}

.section-heading h2 {
  font-size: 40px;
}

.product-page-specs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.product-page-specs > div {
  min-height: 104px;
  border: 1px solid #dce0e6;
  border-radius: 6px;
  padding: 20px;
  background: #ffffff;
}

.product-page-specs span {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.product-page-specs strong {
  margin-top: 8px;
  color: var(--ink);
  font-size: 18px;
}

.supply-note {
  border-radius: 6px;
  padding: 20px 22px;
  color: #ffffff;
  background: #111722;
}

.related-products .product-grid-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-mobile-bar {
  display: none;
}

/* Story and service pages */
.story-page-body,
.story-main,
.service-main {
  background: #070a10;
}

.story-hero,
.service-hero {
  min-height: 640px;
}

.story-hero-inner {
  width: min(var(--max), calc(100% - 64px));
}

.story-hero h1 {
  max-width: 980px;
  font-size: 72px;
  line-height: 0.98;
}

.heritage-intro,
.heritage-timeline,
.manufacturing-philosophy,
.story-mission,
.story-cta,
.story-global,
.service-process,
.quote-checklist {
  width: min(var(--max), calc(100% - 64px));
}

.timeline-item,
.philosophy-card,
.quote-checklist,
.story-mission {
  border-radius: 6px;
}

.quote-context {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  width: min(var(--max), calc(100% - 64px));
  margin: 42px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-left: 4px solid var(--red);
  border-radius: 6px;
  padding: 28px;
  color: #ffffff;
  background: #141a27;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.quote-context[hidden] {
  display: none;
}

.quote-context h2 {
  color: #ffffff;
  font-size: 31px;
}

.quote-context p:not(.eyebrow) {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.quote-context-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.timeline-icon,
.philosophy-card span {
  border-radius: 5px;
}

.global-map-card,
.global-presence-copy,
.quote-detail-grid article {
  border-radius: 6px;
}

/* Footer */
.site-footer {
  grid-template-columns: minmax(280px, 1.35fr) repeat(2, minmax(160px, 0.65fr));
  gap: 60px;
  max-width: none;
  margin: 0;
  border-top: 3px solid var(--red);
  padding: 58px max(32px, calc((100vw - var(--max)) / 2));
  color: rgba(255, 255, 255, 0.68);
  background: #080a0f;
}

.site-footer img {
  width: 132px;
  height: auto;
  margin-bottom: 18px;
}

.site-footer h2,
.site-footer h3 {
  color: #ffffff;
}

.site-footer h2 {
  font-size: 25px;
}

.site-footer h3 {
  margin-bottom: 16px;
  font-size: 13px;
  text-transform: uppercase;
}

.site-footer p {
  max-width: 560px;
}

.site-footer a {
  display: block;
  width: fit-content;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer a:hover {
  color: #ffffff;
}

/* Progressive reveal */
[data-premium-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-premium-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(470px, 1fr) minmax(340px, 0.72fr);
    gap: 32px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .finder-section {
    grid-template-columns: 1fr;
  }

  .finder-copy {
    position: static;
    max-width: 720px;
  }

  .finder-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 980px) {
  html {
    scroll-padding-top: 116px;
  }

  .utility-bar,
  .header-contact {
    display: none;
  }

  .header-main,
  .product-header-main {
    grid-template-columns: 126px minmax(0, 1fr) auto;
    min-height: 68px;
    gap: 14px;
    padding: 7px 18px;
  }

  .brand-lockup img {
    width: 112px;
    height: 56px;
  }

  .site-search {
    max-width: none;
  }

  .site-search span {
    display: none;
  }

  .quote-button {
    min-width: 108px;
  }

  .main-nav {
    padding: 0;
  }

  .nav-toggle {
    display: block;
    min-height: 44px;
    color: #ffffff;
    background: #090c13;
  }

  .nav-links {
    display: none;
    max-height: calc(100vh - 112px);
    overflow-y: auto;
    background: #0e121b;
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links a,
  .nav-links a:first-child {
    min-height: 50px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 20px;
  }

  .nav-item.has-dropdown {
    display: grid;
  }

  .nav-dropdown {
    position: static;
    display: grid;
    min-width: 0;
    border: 0;
    padding: 0 12px 12px 28px;
    box-shadow: none;
  }

  .nav-dropdown a {
    min-height: 42px;
    color: rgba(255, 255, 255, 0.62);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: auto;
    padding: 58px 32px 54px;
    background-position: 58% center;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-media {
    width: 100%;
    max-width: 720px;
    justify-self: start;
  }

  .finder-section,
  .section#catalog {
    padding-left: 28px;
    padding-right: 28px;
  }

  .catalog-size-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .filters {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 90;
    width: min(350px, 88vw);
    max-height: 100vh;
    border-radius: 0;
    transform: translateX(-105%);
    transition: transform 180ms ease;
  }

  .filters.open {
    transform: translateX(0);
  }

  .filter-toggle {
    display: inline-flex;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-media,
  .product-detail-copy {
    min-height: auto;
  }

  .product-detail-copy {
    padding: 38px;
  }

  .product-page-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .heritage-timeline-list,
  .philosophy-grid,
  .service-process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    padding: 48px 28px;
  }

  .site-footer > div:first-child {
    grid-column: 1 / -1;
  }

  .quote-context {
    grid-template-columns: 1fr;
    width: calc(100% - 56px);
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .header-main,
  .product-header-main {
    grid-template-columns: 102px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 6px 12px;
  }

  .brand-lockup img {
    width: 94px;
    height: 52px;
  }

  .site-search input {
    min-height: 40px;
    padding: 0 12px;
    font-size: 14px;
  }

  .quote-button {
    min-width: 44px;
    width: 44px;
    padding: 0;
    font-size: 0;
  }

  .quote-button span {
    font-size: 12px;
  }

  .product-header-quote {
    width: auto;
    min-width: 92px;
    padding: 0 10px;
    font-size: 11px;
  }

  .hero {
    padding: 44px 18px 42px;
    background-position: 62% center;
  }

  .hero-logo-mark {
    width: 230px;
    margin-bottom: 22px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-text {
    margin-top: 22px;
    font-size: 16px;
  }

  .hero-actions,
  .hero-actions > * {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    min-height: 72px;
  }

  .hero-media {
    padding: 16px;
  }

  .hero-product-button {
    min-height: 112px;
  }

  .finder-section,
  .section#catalog {
    padding: 62px 16px 76px;
  }

  .finder-copy h2,
  .catalog-heading h2 {
    font-size: 38px;
  }

  .finder-panel {
    padding: 14px;
  }

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

  .finder-result {
    grid-template-columns: 1fr;
  }

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

  .mini-product {
    grid-template-columns: 110px minmax(0, 1fr);
    grid-template-rows: auto;
  }

  .mini-product > a {
    min-height: 210px;
  }

  .mini-product h4 {
    min-height: 0;
  }

  .catalog-size-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 42px;
  }

  .catalog-size-rail a {
    min-height: 74px;
    padding: 14px;
  }

  .catalog-size-rail strong {
    font-size: 21px;
  }

  .catalog-heading {
    align-items: stretch;
  }

  .catalog-search {
    width: 100%;
  }

  .catalog-toolbar {
    align-items: stretch;
  }

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

  .catalog-tools select {
    grid-column: 1 / -1;
    width: 100%;
  }

  .product-grid,
  .related-products .product-grid-compact {
    grid-template-columns: 1fr;
  }

  .product-card .image-wrap {
    aspect-ratio: 1 / 0.74;
  }

  .product-body h3 {
    min-height: 0;
  }

  .card-actions {
    grid-template-columns: 1fr 1fr;
  }

  .detail-button {
    grid-column: 1 / -1;
  }

  .product-detail-hero {
    padding: 24px 16px 54px;
  }

  .product-detail-media {
    min-height: 360px;
    padding: 14px;
  }

  .product-main-image-wrap {
    min-height: 320px;
  }

  .product-detail-copy {
    padding: 28px 22px;
  }

  .product-detail-copy h1 {
    font-size: 38px;
  }

  .product-detail-copy .modal-actions {
    grid-template-columns: 1fr;
  }

  .product-page-specs {
    grid-template-columns: 1fr 1fr;
  }

  .product-spec-section,
  .related-products {
    width: calc(100% - 32px);
  }

  .product-mobile-bar {
    position: fixed;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 70;
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 6px;
    padding: 8px;
    background: rgba(10, 13, 20, 0.96);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  }

  .product-mobile-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 5px;
    color: #ffffff;
    font-weight: 800;
    text-align: center;
  }

  .product-mobile-bar a:last-child {
    background: var(--red);
  }

  .story-hero-inner,
  .heritage-intro,
  .heritage-timeline,
  .manufacturing-philosophy,
  .story-mission,
  .story-cta,
  .story-global,
  .service-process,
  .quote-checklist {
    width: calc(100% - 32px);
  }

  .story-hero h1 {
    font-size: 44px;
  }

  .heritage-timeline-list,
  .philosophy-grid,
  .service-process-list {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 42px 20px 96px;
  }

  .site-footer > div:first-child {
    grid-column: auto;
  }

  .quote-context {
    width: calc(100% - 32px);
    padding: 22px;
  }

  .quote-context-actions,
  .quote-context-actions > * {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-premium-reveal] {
    opacity: 1;
    transform: none;
  }
}
