/*
  ANSI Battery Platform — production visual refresh
  Loaded last on every page. This is the sole owner of the current visual system;
  earlier styles remain available only as a rollback source while this layer is verified.
*/

:root {
  --refresh-ink: #10272e;
  --refresh-ink-soft: #566a70;
  --refresh-night: #071c22;
  --refresh-night-2: #0d3037;
  --refresh-teal: #008b84;
  --refresh-teal-bright: #60d3cb;
  --refresh-paper: #f5f3ed;
  --refresh-mist: #eaf0ed;
  --refresh-white: #ffffff;
  --refresh-line: rgba(16, 39, 46, 0.16);
  --refresh-line-dark: rgba(255, 255, 255, 0.22);
  --refresh-shadow: 0 24px 70px rgba(7, 28, 34, 0.13);
  --refresh-shell: 1360px;
  --refresh-font: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --refresh-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--refresh-paper);
  color: var(--refresh-ink);
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  background: var(--refresh-white);
  color: var(--refresh-ink);
  font-family: var(--refresh-font);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
  font-family: var(--refresh-font);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--refresh-teal-bright);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.shell,
.section-shell {
  width: min(var(--refresh-shell), calc(100% - 80px));
  max-width: var(--refresh-shell);
  margin-inline: auto;
  padding-inline: 0;
}

.skip-link {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 10000;
  transform: translateY(-160%);
  padding: 12px 18px;
  background: var(--refresh-white);
  color: var(--refresh-ink);
  border: 2px solid var(--refresh-teal);
  font-weight: 700;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Shared shell */

.notice {
  min-height: 36px;
  padding: 0;
  background: var(--refresh-night);
  border: 0;
  color: rgba(255, 255, 255, 0.84);
}

.notice-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
}

.notice-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--refresh-teal-bright);
  box-shadow: 0 0 0 5px rgba(96, 211, 203, 0.12);
}

.notice-inner a {
  margin-left: auto;
  color: var(--refresh-white);
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 78px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--refresh-line);
  box-shadow: 0 8px 32px rgba(7, 28, 34, 0.05);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  flex: 0 0 auto;
  width: 126px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand > * {
  display: none !important;
}

.brand::before {
  content: "";
  width: 126px;
  height: 42px;
  display: block;
  background: url("assets/ansi-logo-header-v1.png") center / contain no-repeat;
}

.desktop-nav {
  margin-left: 16px;
  display: flex;
  align-items: stretch;
  gap: 30px;
}

.desktop-nav a,
.utility-link,
.cart-link {
  position: relative;
  min-height: 78px;
  display: inline-flex;
  align-items: center;
  color: var(--refresh-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
}

.desktop-nav a::after,
.utility-link::after,
.cart-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  height: 2px;
  background: var(--refresh-teal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-cta,
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.nav-cta,
.button.primary {
  background: var(--refresh-night);
  border-color: var(--refresh-night);
  color: var(--refresh-white);
}

.button.outline {
  background: transparent;
  border-color: rgba(16, 39, 46, 0.38);
  color: var(--refresh-ink);
}

.button.aqua {
  background: var(--refresh-teal);
  border-color: var(--refresh-teal);
  color: var(--refresh-white);
}

.button.compact {
  min-height: 48px;
  padding-inline: 22px;
}

.button:disabled,
.button[aria-disabled="true"],
.button[aria-busy="true"],
button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none !important;
}

.cart-count {
  min-width: 24px;
  height: 24px;
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--refresh-mist);
  color: var(--refresh-ink);
  font-size: 12px;
}

.menu-button {
  width: 48px;
  height: 48px;
  display: none;
  padding: 0;
  border: 1px solid var(--refresh-line);
  background: var(--refresh-white);
}

.menu-button > span:not(.sr-only) {
  width: 20px;
  height: 2px;
  display: block;
  margin: 5px auto;
  background: var(--refresh-ink);
  transition: transform 180ms ease;
}

.mobile-menu {
  width: 100%;
  padding: 18px 40px 30px;
  background: var(--refresh-white);
  border-top: 1px solid var(--refresh-line);
  box-shadow: var(--refresh-shadow);
}

.mobile-menu a {
  min-height: 52px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--refresh-line);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

/* Homepage hero */

body #top.hero {
  position: relative;
  min-height: calc(100svh - 114px);
  padding: 0;
  overflow: clip;
  background: var(--refresh-night);
  color: var(--refresh-white);
}

body #top.hero .hero-scene {
  position: absolute;
  inset: 0;
  background: url("assets/generated/premium-lab-hero-desktop-v1.webp") center / cover no-repeat;
}

body #top.hero .hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 18, 23, 0.98) 0%, rgba(4, 18, 23, 0.9) 37%, rgba(4, 18, 23, 0.34) 67%, rgba(4, 18, 23, 0.24) 100%),
    linear-gradient(180deg, rgba(4, 18, 23, 0.12), rgba(4, 18, 23, 0.58));
}

body #top.hero .hero-grid {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - 114px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
  align-items: center;
  gap: clamp(44px, 6vw, 110px);
  padding-block: clamp(82px, 10vh, 126px);
}

body #top.hero .hero-copy {
  max-width: 790px;
  color: var(--refresh-white);
}

body #top.hero h1 {
  max-width: 790px;
  margin: 0;
  color: var(--refresh-white);
  font-size: clamp(62px, 6.2vw, 98px);
  font-weight: 650;
  letter-spacing: -0.058em;
  line-height: 0.95;
}

body #top.hero h1 em,
.section-top h2 em,
.quality-copy h2 em,
.reviews-head h2 em {
  font-family: var(--refresh-serif);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.045em;
}

body #top.hero .hero-intro {
  max-width: 650px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.62;
}

body #top.hero .hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

body #top.hero .button.primary {
  background: var(--refresh-teal);
  border-color: var(--refresh-teal);
  color: var(--refresh-white);
}

body #top.hero .button.outline {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.52);
  color: var(--refresh-white);
  backdrop-filter: blur(8px);
}

body #top.hero .hero-proof {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  color: var(--refresh-white);
}

body #top.hero .hero-proof > div {
  display: grid;
  gap: 2px;
}

body #top.hero .hero-proof strong {
  color: var(--refresh-white);
  font-size: 17px;
  font-weight: 750;
}

body #top.hero .hero-proof span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

body #top.hero .hero-product {
  position: relative;
  width: min(100%, 390px);
  min-height: 455px;
  justify-self: end;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 26px 30px 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.68);
  color: var(--refresh-ink);
  text-decoration: none;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

body #top.hero .hero-product-label {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--refresh-line);
}

body #top.hero .hero-product-label b {
  color: var(--refresh-ink);
  font-size: 18px;
  letter-spacing: 0.03em;
}

body #top.hero .hero-product-label small {
  color: var(--refresh-ink-soft);
  font-size: 13px;
  line-height: 1.35;
  text-align: right;
}

body #top.hero .hero-product > img {
  width: 100%;
  height: 330px;
  margin: 12px auto 0;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
  transition: transform 240ms ease;
}

body #top.hero .product-orbit {
  display: none;
}

/* Service evidence */

.trust-strip {
  padding: 0;
  background: var(--refresh-paper);
  border: 0;
  border-bottom: 1px solid var(--refresh-line);
}

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

.trust-grid > div {
  min-height: 156px;
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 18px;
  padding: 30px 38px;
  border-right: 1px solid var(--refresh-line);
}

.trust-grid > div:first-child {
  padding-left: 0;
}

.trust-grid > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.proof-icon {
  width: 44px;
  height: 44px;
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 139, 132, 0.1);
  border: 1px solid rgba(0, 139, 132, 0.24);
}

.proof-icon img,
.review-icon img,
.ui-icon {
  filter: brightness(0) saturate(100%) invert(42%) sepia(72%) saturate(852%) hue-rotate(132deg) brightness(88%) contrast(102%);
}

.trust-grid b {
  align-self: end;
  color: var(--refresh-ink);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.25;
}

.trust-grid p {
  margin: 6px 0 0;
  color: var(--refresh-ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

/* Homepage section typography */

body #products,
body #quality,
body .reviews,
body #wholesale {
  margin: 0;
}

body #applications {
  padding-block: 124px;
  background: var(--refresh-white);
}

.section-top,
.products-heading,
.reviews-head,
.promise-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: end;
  gap: 54px;
  margin: 0 0 54px;
}

.section-top h2,
.reviews-head h2,
.quality-copy h2 {
  margin: 0;
  color: var(--refresh-ink);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 650;
  letter-spacing: -0.052em;
  line-height: 0.99;
}

.section-intro,
.reviews-note,
.promise-head > p {
  max-width: 470px;
  margin: 0;
  color: var(--refresh-ink-soft);
  font-size: 17px;
  line-height: 1.7;
}

/* Application cards */

body #applications .category-grid,
.application-list {
  display: grid;
  grid-template-columns: 1.22fr 0.85fr 0.85fr 1.22fr;
  gap: 18px;
}

body #applications .category,
.application-list .category {
  position: relative;
  min-width: 0;
  height: 430px;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  background: #f7f7f4;
  border: 1px solid var(--refresh-line);
  color: var(--refresh-ink);
  text-decoration: none;
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

body #applications .category img,
.application-list .category img {
  width: 100%;
  height: 342px;
  padding: 28px;
  object-fit: contain;
  object-position: center;
  background: var(--refresh-white);
  transition: transform 260ms cubic-bezier(.2, .8, .2, 1);
}

body #applications .category > div,
.application-list .category > div {
  position: static;
  min-height: 86px;
  display: flex;
  align-items: center;
  padding: 20px 24px;
  background: #f7f7f4;
  border-top: 1px solid var(--refresh-line);
}

body #applications .category h3,
.application-list .category h3 {
  margin: 0;
  color: var(--refresh-ink);
  font-size: 19px;
  font-weight: 750;
  line-height: 1.2;
}

body #applications .category::after,
.application-list .category::after {
  content: "View";
  position: absolute;
  right: 22px;
  bottom: 27px;
  color: var(--refresh-teal);
  font-size: 13px;
  font-weight: 750;
}

/* Product cards */

body #products.products {
  padding-block: 124px;
  background: var(--refresh-mist);
}

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

body #products .product-card,
.catalog-grid .product-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: var(--refresh-white);
  border: 1px solid rgba(16, 39, 46, 0.12);
  box-shadow: 0 10px 32px rgba(7, 28, 34, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

body #products .product-photo,
.catalog-grid .product-photo {
  position: relative;
  height: 420px;
  overflow: hidden;
  background: #fbfbf8;
  border: 0;
}

body #products .product-photo > img,
.catalog-grid .product-photo > img {
  width: 100%;
  height: 100%;
  padding: 48px 44px 76px;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
  transition: transform 260ms cubic-bezier(.2, .8, .2, 1);
}

.stock-tag {
  position: absolute;
  z-index: 2;
  inset: 22px auto auto 22px;
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--refresh-line);
  color: var(--refresh-ink-soft);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1;
}

.quick-add {
  position: absolute;
  z-index: 3;
  left: 20px;
  right: 20px;
  bottom: 20px;
  width: calc(100% - 40px);
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--refresh-night);
  background: var(--refresh-night);
  color: var(--refresh-white);
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

body #products .product-meta,
.catalog-grid .product-meta {
  min-height: 218px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 28px 30px;
  border-top: 1px solid var(--refresh-line);
}

body #products .product-meta > p,
.catalog-grid .product-meta > p {
  margin: 0 0 8px;
  color: var(--refresh-teal);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

body #products .product-meta h3,
.catalog-grid .product-meta h3 {
  margin: 0;
  color: var(--refresh-ink);
  font-family: var(--refresh-font);
  font-size: clamp(23px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

body #products .product-meta > a,
.catalog-grid .product-meta > a {
  width: 100%;
  margin-top: auto;
  padding-top: 22px;
  color: var(--refresh-ink);
  border-top: 1px solid var(--refresh-line);
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
}

/* Finder — one large scene, not card-by-card wallpaper */

body #finder.finder {
  width: 100%;
  max-width: none;
  min-height: 650px;
  padding: 110px max(40px, calc((100vw - var(--refresh-shell)) / 2));
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(5, 24, 30, 0.36), rgba(5, 24, 30, 0.12)),
    url("assets/optimized/direction-a-lab.webp") center / cover no-repeat;
}

body #finder .finder-panel {
  width: min(var(--refresh-shell), 100%);
  min-height: 430px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 64px;
  align-items: center;
  padding: 62px;
  background: rgba(7, 28, 34, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--refresh-white);
  box-shadow: 0 34px 90px rgba(7, 28, 34, 0.28);
  backdrop-filter: blur(12px);
}

body #finder .finder-copy h2 {
  margin: 0;
  color: var(--refresh-white);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 650;
  letter-spacing: -0.052em;
  line-height: 0.98;
}

body #finder .finder-copy > p {
  max-width: 430px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}

body #finder .finder-note {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

body #finder .lookup-form {
  padding: 38px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--refresh-ink);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
}

.lookup-form label,
.form-field,
.quantity-field {
  color: var(--refresh-ink);
  font-size: 14px;
  font-weight: 750;
}

.search-row {
  margin-top: 11px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  background: var(--refresh-white);
  border: 1px solid rgba(16, 39, 46, 0.28);
  border-radius: 0;
  color: var(--refresh-ink);
  font-size: 16px;
  line-height: 1.35;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--refresh-teal);
  box-shadow: 0 0 0 3px rgba(0, 139, 132, 0.14);
}

.form-status,
.form-message,
.purchase-message,
.checkout-submit-status {
  margin: 18px 0 0;
  color: var(--refresh-ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.popular-searches {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.popular-searches > span {
  width: 100%;
  color: var(--refresh-ink-soft);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.popular-searches button,
.compat-tag,
.footer-badges span {
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid var(--refresh-line);
  background: transparent;
  color: var(--refresh-ink);
  font-size: 13px;
  font-weight: 700;
}

/* The homepage finder uses a light form card. Retire the older dark-panel
   foreground rules at their actual specificity so every label and control
   remains readable against that card. */
body #finder .lookup-form label {
  color: var(--refresh-ink);
}

body #finder .search-row input {
  background: var(--refresh-white);
  border: 1px solid #708287;
  color: var(--refresh-ink);
}

body #finder .search-row input::placeholder {
  color: #5f747a;
  opacity: 1;
}

body #finder .form-status,
body #finder .popular-searches > span {
  color: var(--refresh-ink-soft);
}

body #finder .popular-searches {
  border-top-color: var(--refresh-line);
}

body #finder .popular-searches button {
  background: var(--refresh-white);
  border-color: #708287;
  color: var(--refresh-ink);
}

body #finder .lookup-form input:focus-visible,
body #finder .lookup-form button:focus-visible {
  outline-color: #006e69;
}

/* The dedicated finder page keeps the original dark search card. Scope its
   foreground and controls separately from the homepage light card. */
body .finder-box .lookup-form label,
body .finder-box .popular-searches > span {
  color: #d9e6e5;
}

body .finder-box .search-row input {
  background: var(--refresh-white);
  border: 1px solid #708287;
  color: var(--refresh-ink);
}

body .finder-box .search-row input::placeholder {
  color: #5f747a;
  opacity: 1;
}

body .finder-box .search-row button {
  background: #006e69;
  border-color: #006e69;
  color: var(--refresh-white);
}

body .finder-box .form-status {
  color: #c7d5d5;
}

body .finder-box .popular-searches {
  border-top-color: rgba(255, 255, 255, 0.28);
}

body .finder-box .popular-searches button {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.58);
  color: var(--refresh-white);
}

/* Quality scene */

body #quality.quality {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  padding-block: 110px;
  overflow: clip;
  background: url("assets/optimized/hero.webp") center / cover no-repeat;
}

body #quality.quality::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 24, 30, 0.9) 0%, rgba(5, 24, 30, 0.6) 48%, rgba(5, 24, 30, 0.08) 100%);
}

body #quality .quality-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  align-items: center;
  gap: 72px;
}

body #quality .quality-copy {
  grid-column: 1;
  grid-row: 1;
  padding: 52px;
  background: rgba(7, 28, 34, 0.94);
  color: var(--refresh-white);
  box-shadow: var(--refresh-shadow);
  backdrop-filter: blur(10px);
}

body #quality .quality-copy h2 {
  color: var(--refresh-white);
}

body #quality .quality-copy > p {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}

body #quality .quality-copy dl {
  margin: 28px 0;
}

body #quality .quality-copy dl > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

body #quality .quality-copy dt {
  color: var(--refresh-white);
  font-size: 14px;
  font-weight: 750;
}

body #quality .quality-copy dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

body #quality .quality-copy .button.outline {
  border-color: rgba(255, 255, 255, 0.48);
  color: var(--refresh-white);
}

body #quality .quality-image {
  grid-column: 2;
  grid-row: 1;
  height: 540px;
  padding: 48px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow: var(--refresh-shadow);
}

body #quality .quality-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* Real, linked sourcing path */

body .reviews {
  position: relative;
  min-height: 780px;
  padding-block: 118px;
  overflow: clip;
  background: url("assets/generated/reviews-process-desktop-v1.webp") center / cover no-repeat;
}

body .reviews::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 18, 23, 0.7), rgba(4, 18, 23, 0.3) 45%, rgba(4, 18, 23, 0.88)),
    linear-gradient(90deg, rgba(4, 18, 23, 0.74), rgba(4, 18, 23, 0.18));
}

body .reviews > .section-shell {
  position: relative;
  z-index: 2;
}

body .reviews .reviews-head {
  margin-bottom: 52px;
}

body .reviews .reviews-head h2,
body .reviews .reviews-note {
  color: var(--refresh-white);
}

body .reviews .reviews-note {
  color: rgba(255, 255, 255, 0.76);
}

body .reviews .review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body .reviews .review-card {
  min-width: 0;
  min-height: 338px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: rgba(7, 28, 34, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.23);
  color: var(--refresh-white);
  text-decoration: none;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

body .reviews .review-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

body .reviews .review-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(96, 211, 203, 0.12);
  border: 1px solid rgba(96, 211, 203, 0.42);
}

body .reviews .review-icon img {
  filter: brightness(0) saturate(100%) invert(82%) sepia(35%) saturate(819%) hue-rotate(126deg) brightness(93%) contrast(88%);
}

body .reviews .review-step {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

body .reviews .review-card h3 {
  margin: 30px 0 0;
  color: var(--refresh-white);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

body .reviews .review-card blockquote {
  margin: 14px 0 28px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--refresh-font);
  font-size: 16px;
  font-style: normal;
  line-height: 1.6;
}

body .reviews .review-source {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

body .reviews .review-source strong {
  color: var(--refresh-white);
  font-size: 14px;
  font-weight: 750;
}

body .reviews .review-tags {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body .reviews .review-tags i {
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-style: normal;
  line-height: 1;
}

body #wholesale.wholesale {
  padding-block: 92px;
  background: var(--refresh-night);
  color: var(--refresh-white);
  border: 0;
}

body #wholesale .wholesale-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 70px;
}

body #wholesale h2 {
  margin: 0;
  color: var(--refresh-white);
  font-size: clamp(45px, 4.5vw, 66px);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1;
}

body #wholesale .wholesale-side p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
}

/* Inner page hero and content */

.page-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  padding-block: 100px;
  overflow: clip;
  background: url("assets/optimized/direction-a-lab.webp") center / cover no-repeat;
  color: var(--refresh-white);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 24, 30, 0.94) 0%, rgba(5, 24, 30, 0.75) 46%, rgba(5, 24, 30, 0.16) 100%);
}

.page-hero > .section-shell {
  position: relative;
  z-index: 1;
}

.breadcrumbs {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.03em;
}

.breadcrumbs a {
  color: var(--refresh-white);
}

.page-hero h1 {
  max-width: 980px;
  margin: 0;
  color: var(--refresh-white);
  font-size: clamp(54px, 6vw, 86px);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.page-hero h1 em {
  font-family: var(--refresh-serif);
  font-style: normal;
  font-weight: 400;
}

.page-hero > .section-shell > p:last-child {
  max-width: 690px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  line-height: 1.65;
}

.page-section,
.detail-expansion {
  padding-block: 104px;
  background: var(--refresh-white);
}

.detail-expansion.alt {
  background: var(--refresh-paper);
}

.section-kicker {
  margin: 0 0 18px;
  color: var(--refresh-teal);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.section-title,
.detail-section-head h2,
.commerce-head h1 {
  max-width: 880px;
  margin: 0;
  color: var(--refresh-ink);
  font-size: clamp(42px, 4.5vw, 62px);
  font-weight: 650;
  letter-spacing: -0.048em;
  line-height: 1.02;
}

.section-lead,
.detail-section-head > p,
.info-aside > p,
.page-note {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--refresh-ink-soft);
  font-size: 17px;
  line-height: 1.72;
}

.page-note,
.demo-notice,
.summary-note {
  padding: 18px 20px;
  background: var(--refresh-mist);
  border: 0;
  border-left: 3px solid var(--refresh-teal);
}

.catalog-tools,
.detail-section-head,
.commerce-head {
  margin-bottom: 46px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.filter-row a,
.more-pill {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: var(--refresh-white);
  border: 1px solid var(--refresh-line);
  color: var(--refresh-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.info-layout,
.finder-page,
.wholesale-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(52px, 7vw, 110px);
  align-items: start;
}

.info-aside {
  position: sticky;
  top: 118px;
}

.info-stack {
  display: grid;
  gap: 16px;
}

.info-panel,
.support-link-card,
.info-card,
.promise-card,
.supply-card,
.contact-form,
.fitment-form {
  padding: 32px;
  background: var(--refresh-white);
  border: 1px solid var(--refresh-line);
  box-shadow: 0 10px 32px rgba(7, 28, 34, 0.05);
}

.info-panel h2,
.info-card b,
.support-link-card h3,
.promise-card h3,
.supply-card h3,
.contact-form h2,
.fitment-form h2 {
  margin: 0;
  color: var(--refresh-ink);
  font-size: 25px;
  font-weight: 720;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.info-panel p,
.info-card p,
.support-link-card p,
.promise-card p,
.supply-card p,
.contact-form > p,
.fitment-form > p {
  margin: 14px 0 0;
  color: var(--refresh-ink-soft);
  font-size: 16px;
  line-height: 1.65;
}

.support-card-grid,
.quality-cards,
.promise-grid,
.protection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.support-link-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  color: var(--refresh-ink);
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.support-link-card > span,
.support-link-card > strong {
  margin-top: auto;
  padding-top: 20px;
  color: var(--refresh-teal);
  font-size: 14px;
  font-weight: 750;
}

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

.promise-card {
  min-height: 270px;
  box-shadow: none;
}

.promise-card:nth-child(even) {
  background: var(--refresh-mist);
}

.promise-icon {
  min-width: 48px;
  min-height: 48px;
  margin-bottom: 58px;
  display: inline-flex;
  align-items: center;
  color: var(--refresh-teal);
  font-size: 16px;
  font-weight: 800;
}

.application-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 48px;
}

.application-list .category {
  height: 410px;
}

.application-list .category img {
  height: 324px;
}

.page-section .quality-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 70px;
}

.page-section .quality-image {
  min-height: 520px;
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--refresh-paper);
  border: 1px solid var(--refresh-line);
}

.page-section .quality-image img {
  width: 100%;
  height: 460px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.form-grid,
.checkout-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field {
  display: grid;
  align-content: start;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.contact-form .button,
.fitment-form .button {
  margin-top: 22px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: var(--refresh-white);
  border: 1px solid var(--refresh-line);
}

.faq-list summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 18px 22px;
  color: var(--refresh-ink);
  font-size: 17px;
  font-weight: 750;
  cursor: pointer;
}

.faq-list details > p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--refresh-ink-soft);
}

/* Product detail */

.detail-layout,
.detail-layout-reference {
  display: grid;
  grid-template-columns: minmax(430px, 0.88fr) minmax(650px, 1.12fr);
  gap: clamp(36px, 4vw, 64px);
  align-items: start;
}

.reference-gallery,
.detail-gallery {
  min-width: 0;
  padding: 38px;
  background: var(--refresh-paper);
  border: 1px solid var(--refresh-line);
}

.reference-gallery {
  position: sticky;
  top: 136px;
  min-height: 760px;
  display: flex;
  align-items: center;
}

.reference-gallery img,
.detail-gallery img {
  width: 100%;
  max-height: 650px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.gallery-index,
.stock-tag,
.section-kicker {
  font-family: var(--refresh-font);
}

.reference-purchase-panel,
.purchase-panel {
  padding: 38px;
  background: var(--refresh-white);
  border: 1px solid var(--refresh-line);
  box-shadow: var(--refresh-shadow);
}

.reference-detail-copy {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  grid-template-areas:
    "title title"
    "rating rating"
    "spec purchase"
    "ship purchase"
    "availability purchase"
    "price purchase";
  gap: 14px 24px;
  align-items: start;
}

.reference-detail-copy .product-title-row {
  grid-area: title;
}

.reference-detail-copy .product-rating {
  grid-area: rating;
}

.reference-detail-copy .reference-spec-table {
  grid-area: spec;
}

.reference-detail-copy .shipping-row {
  grid-area: ship;
}

.reference-detail-copy .availability-row {
  grid-area: availability;
}

.reference-detail-copy .reference-price-line {
  grid-area: price;
}

.reference-detail-copy .reference-purchase-panel {
  grid-area: purchase;
  margin: 0;
}

.reference-detail-copy .fitment-form {
  grid-area: fitment;
  margin: 0;
}

.reference-detail-copy .reference-spec-table th,
.reference-detail-copy .reference-spec-table td {
  padding: 11px 12px;
}

.reference-detail-copy .reference-purchase-panel,
.reference-detail-copy .fitment-form {
  padding: 24px;
}

.reference-detail-copy .fitment-form .form-grid {
  gap: 14px;
}

.reference-detail-copy .fitment-form textarea {
  min-height: 104px;
}

.detail-layout-reference > .detail-fitment-form {
  grid-column: 1 / -1;
  margin: 0;
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
  grid-template-areas:
    "heading fields"
    "intro fields"
    "action fields"
    "message fields";
  column-gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.detail-fitment-form h2 {
  grid-area: heading;
}

.detail-fitment-form > p:not(.form-message) {
  grid-area: intro;
}

.detail-fitment-form .form-grid {
  grid-area: fields;
}

.detail-fitment-form .button {
  grid-area: action;
  width: fit-content;
}

.detail-fitment-form .form-message {
  grid-area: message;
}

.page-section > .section-shell > .breadcrumbs {
  margin-bottom: 34px;
  color: var(--refresh-ink-soft);
}

.page-section > .section-shell > .breadcrumbs a {
  color: var(--refresh-teal);
}

.product-title-row h1,
.reference-detail-copy h1,
.detail-copy h1 {
  margin: 0;
  color: var(--refresh-ink);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 650;
  letter-spacing: -0.048em;
  line-height: 1.02;
}

.reference-price-line,
.catalog-price {
  color: var(--refresh-ink);
  font-size: 28px;
  font-weight: 750;
}

.availability-row,
.shipping-row,
.purchase-note,
.reference-spec-table,
.spec-table {
  color: var(--refresh-ink-soft);
  font-size: 15px;
}

.quantity-stepper {
  min-height: 52px;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  border: 1px solid var(--refresh-line);
}

.quantity-stepper button {
  border: 0;
  background: var(--refresh-paper);
  color: var(--refresh-ink);
  font-size: 20px;
  cursor: pointer;
}

.reference-purchase-controls,
.payment-button,
.paypal-button {
  gap: 12px;
}

.spec-table,
.reference-spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td,
.reference-spec-table th,
.reference-spec-table td {
  padding: 16px;
  border-bottom: 1px solid var(--refresh-line);
  text-align: left;
  vertical-align: top;
}

/* Cart and checkout */

.commerce-shell {
  width: min(1260px, calc(100% - 80px));
  max-width: 1260px;
  margin-inline: auto;
  padding-block: 86px 110px;
}

.checkout-progress {
  margin: 0 0 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--refresh-ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.checkout-progress span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--refresh-line);
}

.checkout-progress .active {
  background: var(--refresh-night);
  border-color: var(--refresh-night);
  color: var(--refresh-white);
}

.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  gap: 28px;
  align-items: start;
}

.cart-card,
.checkout-card,
.order-summary,
.empty-cart {
  padding: 34px;
  background: var(--refresh-white);
  border: 1px solid var(--refresh-line);
  box-shadow: 0 12px 38px rgba(7, 28, 34, 0.06);
}

.cart-item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.cart-item img {
  width: 160px;
  height: 160px;
  padding: 12px;
  object-fit: contain;
  background: var(--refresh-paper);
  mix-blend-mode: multiply;
}

.part-meta h2,
.checkout-card h2,
.order-summary h2 {
  margin: 0;
  color: var(--refresh-ink);
  font-size: 26px;
  letter-spacing: -0.03em;
}

.summary-row {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--refresh-line);
  color: var(--refresh-ink-soft);
}

.summary-row.total {
  color: var(--refresh-ink);
  font-size: 19px;
  font-weight: 750;
}

.payment-options {
  display: grid;
  gap: 10px;
}

.payment-option {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--refresh-line);
  cursor: pointer;
}

.payment-option input {
  width: 20px;
  min-height: 20px;
}

/* Footer */

.site-footer {
  padding: 78px 0 24px;
  background: #06191e;
  border: 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 0.75fr)) minmax(280px, 1.25fr);
  gap: 46px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-column h2 {
  margin: 0 0 10px;
  color: var(--refresh-white);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
}

.footer-contact {
  padding-left: 40px;
  border-left: 1px solid var(--refresh-line-dark);
}

.footer-brand {
  width: 126px;
  height: 42px;
  margin-bottom: 16px;
}

.footer-brand::before {
  filter: invert(1) brightness(4) grayscale(1);
}

.footer-contact > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.footer-rails {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding-top: 24px;
  border-top: 1px solid var(--refresh-line-dark);
}

.footer-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.06em;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.footer-badges span {
  min-height: 32px;
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
}

.footer-bottom {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

/* Pointer states only where an element is genuinely interactive */

@media (hover: hover) {
  .desktop-nav a:hover::after,
  .utility-link:hover::after,
  .cart-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .nav-cta:hover,
  .button.primary:hover,
  .quick-add:hover {
    background: var(--refresh-teal);
    border-color: var(--refresh-teal);
    color: var(--refresh-white);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 139, 132, 0.2);
  }

  .button.aqua:hover {
    background: #00756f;
    border-color: #00756f;
    transform: translateY(-2px);
  }

  .button.outline:hover,
  .filter-row a:hover {
    background: var(--refresh-night);
    border-color: var(--refresh-night);
    color: var(--refresh-white);
    transform: translateY(-2px);
  }

  body #top.hero .button.outline:hover,
  body #quality .quality-copy .button.outline:hover {
    background: var(--refresh-white);
    border-color: var(--refresh-white);
    color: var(--refresh-ink);
  }

  body #top.hero .hero-product:hover {
    transform: translateY(-8px);
    box-shadow: 0 44px 110px rgba(0, 0, 0, 0.42);
  }

  body #top.hero .hero-product:hover > img {
    transform: scale(1.035);
  }

  body #applications .category:hover,
  .application-list .category:hover,
  .support-link-card:hover {
    border-color: rgba(0, 139, 132, 0.68);
    transform: translateY(-6px);
    box-shadow: 0 18px 46px rgba(7, 28, 34, 0.1);
  }

  body #applications .category:hover img,
  .application-list .category:hover img {
    transform: scale(1.025);
  }

  body #products .product-card:hover,
  .catalog-grid .product-card:hover {
    border-color: rgba(0, 139, 132, 0.52);
    transform: translateY(-7px);
    box-shadow: 0 22px 54px rgba(7, 28, 34, 0.12);
  }

  body #products .product-card:hover .product-photo > img,
  .catalog-grid .product-card:hover .product-photo > img {
    transform: scale(1.035);
  }

  .popular-searches button:hover {
    background: var(--refresh-teal);
    border-color: var(--refresh-teal);
    color: var(--refresh-white);
  }

  body #finder .popular-searches button:hover {
    background: #006e69;
    border-color: #006e69;
    color: var(--refresh-white);
  }

  body .finder-box .popular-searches button:hover {
    background: #006e69;
    border-color: #d9e6e5;
    color: var(--refresh-white);
  }

  body .reviews .review-card:hover {
    background: rgba(0, 64, 67, 0.94);
    border-color: rgba(96, 211, 203, 0.68);
    transform: translateY(-8px);
  }

  .footer-column a:hover {
    color: var(--refresh-white);
    text-decoration: underline;
  }
}

.nav-cta:active,
.button:active,
.quick-add:active,
.popular-searches button:active,
.review-card:active,
.category:active,
.support-link-card:active {
  transform: translateY(1px);
}

/* Responsive system: 1199 / 980 / 767 / 390 */

@media (max-width: 1199px) {
  .shell,
  .section-shell,
  .commerce-shell {
    width: min(100% - 64px, var(--refresh-shell));
  }

  .desktop-nav {
    gap: 20px;
  }

  .utility-link {
    display: none;
  }

  body #top.hero .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.8fr);
    gap: 44px;
  }

  body #top.hero h1 {
    font-size: clamp(58px, 7.2vw, 82px);
  }

  body #top.hero .hero-product {
    min-height: 410px;
  }

  body #top.hero .hero-product > img {
    height: 292px;
  }

  body #applications .category-grid,
  .application-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body #applications .category,
  .application-list .category {
    height: 440px;
  }

  body #applications .category img,
  .application-list .category img {
    height: 354px;
  }

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

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

  .footer-contact {
    padding-left: 0;
    border-left: 0;
  }

  .detail-layout,
  .detail-layout-reference {
    grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
  }

  .reference-detail-copy {
    display: block;
  }

  .reference-detail-copy > * + * {
    margin-top: 18px;
  }
}

@media (max-width: 980px) {
  .desktop-nav,
  .header-actions .utility-link,
  .header-actions .nav-cta {
    display: none;
  }

  .header-actions {
    gap: 14px;
  }

  .menu-button {
    display: block;
  }

  body #top.hero {
    min-height: 0;
  }

  body #top.hero .hero-grid {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 50px;
    padding-block: 90px 70px;
  }

  body #top.hero .hero-copy {
    max-width: 760px;
  }

  body #top.hero .hero-product {
    width: min(100%, 430px);
    min-height: 360px;
    justify-self: start;
  }

  body #top.hero .hero-product > img {
    height: 250px;
  }

  .trust-grid > div {
    min-height: 172px;
    padding-inline: 24px;
  }

  .section-top,
  .products-heading,
  .reviews-head,
  .promise-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }

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

  body #finder .finder-panel,
  body #quality .quality-grid,
  .page-section .quality-grid,
  .info-layout,
  .finder-page,
  .wholesale-grid,
  .detail-layout,
  .detail-layout-reference,
  .cart-layout,
  .checkout-layout,
  body #wholesale .wholesale-panel {
    grid-template-columns: 1fr;
  }

  body #quality .quality-copy,
  body #quality .quality-image {
    grid-column: 1;
  }

  body #quality .quality-copy {
    grid-row: 1;
  }

  body #quality .quality-image {
    grid-row: 2;
  }

  body .reviews .review-grid,
  .support-card-grid,
  .quality-cards,
  .protection-grid {
    grid-template-columns: 1fr;
  }

  .info-aside {
    position: static;
  }

  .footer-rails {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 16px;
  }

  .shell,
  .section-shell,
  .commerce-shell {
    width: calc(100% - 40px);
  }

  .notice,
  .notice-inner {
    min-height: 32px;
  }

  .notice-inner {
    font-size: 11px;
  }

  .notice-inner a {
    display: none;
  }

  .site-header,
  .header-inner {
    min-height: 68px;
  }

  .brand,
  .brand::before {
    width: 104px;
    height: 35px;
  }

  .cart-link {
    min-height: 48px;
  }

  .mobile-menu {
    padding: 12px 20px 24px;
  }

  body #top.hero .hero-scene {
    background-image: url("assets/generated/premium-lab-hero-mobile-v1.webp");
    background-position: center top;
  }

  body #top.hero .hero-overlay {
    background: linear-gradient(180deg, rgba(4, 18, 23, 0.92) 0%, rgba(4, 18, 23, 0.74) 48%, rgba(4, 18, 23, 0.72) 100%);
  }

  body #top.hero .hero-grid {
    gap: 38px;
    padding-block: 70px 46px;
  }

  body #top.hero h1 {
    max-width: 350px;
    font-size: clamp(44px, 13vw, 56px);
    line-height: 0.98;
  }

  body #top.hero .hero-intro {
    margin-top: 24px;
    font-size: 17px;
    line-height: 1.6;
  }

  body #top.hero .hero-actions {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr;
  }

  body #top.hero .button {
    width: 100%;
  }

  body #top.hero .hero-proof {
    margin-top: 30px;
    gap: 22px;
  }

  body #top.hero .hero-product {
    width: 100%;
    min-height: 332px;
    padding: 22px;
  }

  body #top.hero .hero-product > img {
    height: 230px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid > div,
  .trust-grid > div:first-child,
  .trust-grid > div:last-child {
    min-height: 132px;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--refresh-line);
  }

  .trust-grid > div:last-child {
    border-bottom: 0;
  }

  body #applications,
  body #products.products {
    padding-block: 78px;
  }

  .section-top,
  .products-heading,
  .reviews-head,
  .promise-head {
    margin-bottom: 34px;
  }

  .section-top h2,
  .reviews-head h2,
  .quality-copy h2 {
    font-size: clamp(42px, 12vw, 54px);
  }

  body #applications .category-grid,
  .application-list,
  body #products .product-grid,
  .catalog-grid,
  .promise-grid {
    grid-template-columns: 1fr;
  }

  body #applications .category,
  .application-list .category {
    height: 405px;
  }

  body #applications .category img,
  .application-list .category img {
    height: 319px;
    padding: 24px;
  }

  body #products .product-photo,
  .catalog-grid .product-photo {
    height: 370px;
  }

  body #products .product-photo > img,
  .catalog-grid .product-photo > img {
    padding: 42px 34px 76px;
  }

  body #finder.finder {
    min-height: 0;
    padding: 70px 20px;
    background-position: 62% center;
  }

  body #finder .finder-panel {
    min-height: 0;
    gap: 34px;
    padding: 28px;
  }

  body #finder .finder-copy h2 {
    font-size: 48px;
  }

  body #finder .lookup-form {
    padding: 24px;
  }

  .search-row {
    grid-template-columns: 1fr;
  }

  body #quality.quality {
    min-height: 0;
    padding: 72px 20px;
    background-position: 68% center;
  }

  body #quality .quality-grid {
    width: 100%;
    gap: 22px;
  }

  body #quality .quality-copy {
    padding: 28px;
  }

  body #quality .quality-copy dl > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  body #quality .quality-image {
    height: 360px;
    padding: 30px;
  }

  body .reviews {
    min-height: 0;
    padding-block: 78px;
    background-image: url("assets/generated/reviews-process-mobile-v1.webp");
    background-position: center;
  }

  body .reviews .review-card {
    min-height: 310px;
    padding: 26px;
  }

  body #wholesale.wholesale {
    padding-block: 68px;
  }

  body #wholesale h2 {
    font-size: 44px;
  }

  .page-hero {
    min-height: 430px;
    padding-block: 76px;
    background-image: url("assets/optimized/direction-a-lab-mobile.webp");
    background-position: center;
  }

  .page-hero::before {
    background: linear-gradient(90deg, rgba(5, 24, 30, 0.92), rgba(5, 24, 30, 0.5));
  }

  .page-hero h1 {
    max-width: 350px;
    font-size: clamp(44px, 12.2vw, 56px);
  }

  .page-hero > .section-shell > p:last-child {
    font-size: 17px;
  }

  .page-section,
  .detail-expansion {
    padding-block: 76px;
  }

  .section-title,
  .detail-section-head h2,
  .commerce-head h1 {
    font-size: clamp(39px, 11vw, 50px);
  }

  .catalog-tools,
  .detail-section-head,
  .commerce-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-grid,
  .checkout-form-grid {
    grid-template-columns: 1fr;
  }

  .form-field.full {
    grid-column: auto;
  }

  .info-panel,
  .support-link-card,
  .info-card,
  .promise-card,
  .supply-card,
  .contact-form,
  .fitment-form,
  .reference-purchase-panel,
  .purchase-panel,
  .cart-card,
  .checkout-card,
  .order-summary,
  .empty-cart {
    padding: 24px;
  }

  .page-section .quality-image {
    min-height: 360px;
    padding: 26px;
  }

  .page-section .quality-image img {
    height: 320px;
  }

  .reference-gallery,
  .detail-gallery {
    padding: 22px;
  }

  .reference-gallery {
    position: static;
    min-height: 0;
  }

  .commerce-shell {
    padding-block: 64px 80px;
  }

  .cart-item {
    grid-template-columns: 96px 1fr;
  }

  .cart-item img {
    width: 96px;
    height: 96px;
  }

  .cart-item > :last-child {
    grid-column: 1 / -1;
  }

  .site-footer {
    padding-top: 62px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-contact {
    padding-top: 30px;
    border-top: 1px solid var(--refresh-line-dark);
  }

  .footer-rail {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-badges {
    justify-content: flex-start;
  }
}

@media (max-width: 390px) {
  .shell,
  .section-shell,
  .commerce-shell {
    width: calc(100% - 32px);
  }

  .header-inner {
    gap: 10px;
  }

  .header-actions {
    gap: 8px;
  }

  .cart-link {
    font-size: 13px;
  }

  body #top.hero h1,
  .page-hero h1 {
    font-size: 43px;
  }

  body #top.hero .hero-product-label {
    gap: 10px;
  }

  body #applications .category,
  .application-list .category {
    height: 370px;
  }

  body #applications .category img,
  .application-list .category img {
    height: 284px;
  }

  body #products .product-photo,
  .catalog-grid .product-photo {
    height: 340px;
  }

  body #finder .finder-panel,
  body #finder .lookup-form,
  body #quality .quality-copy,
  body .reviews .review-card {
    padding: 22px;
  }

  .nav-cta,
  .button {
    width: 100%;
    padding-inline: 18px;
  }
}

/* Absolute final cascade locks: this must remain last in this file. */
body .cart-count,
body #top.hero .hero-product-label small,
body #applications .category::after,
body .application-list .category::after,
body .stock-tag,
body .popular-searches > span,
body .popular-searches button,
body .compat-tag,
body .reviews .review-tags i,
body .footer-rail,
body .footer-badges span,
body .footer-bottom {
  font-size: 14px !important;
}

body #main .reviews {
  min-height: 0;
  padding-block: clamp(72px, 8vw, 104px);
}

body #main .reviews .review-card,
body #main .reviews .review-card.is-match,
body #main .reviews .review-card.is-evidence,
body #main .reviews .review-card.is-purchase {
  min-height: 0;
  padding: clamp(24px, 2.2vw, 32px);
}

body #main #applications .category img,
body #main #applications .category:hover img,
body #main #applications .category:focus-visible img,
body #main #applications .category:nth-child(4) img,
body #main #applications .category:nth-child(4):hover img,
body #main #applications .category:nth-child(4):focus-visible img {
  height: clamp(250px, 21vw, 330px);
  padding: 24px;
}

@media (max-width: 767px) {
  body #main #applications .category img,
  body #main #applications .category:hover img,
  body #main #applications .category:focus-visible img,
  body #main #applications .category:nth-child(4) img,
  body #main #applications .category:nth-child(4):hover img,
  body #main #applications .category:nth-child(4):focus-visible img {
    height: 250px;
    padding: 20px;
  }
}

@media (max-width: 390px) {
  body #main #applications .category img,
  body #main #applications .category:hover img,
  body #main #applications .category:focus-visible img,
  body #main #applications .category:nth-child(4) img,
  body #main #applications .category:nth-child(4):hover img,
  body #main #applications .category:nth-child(4):focus-visible img {
    height: 220px;
    padding: 18px;
  }
}

/* ================================================================
   Delivery refresh — final runtime ownership
   Keep this block at EOF. It repairs remaining high-specificity legacy rules
   and assigns a distinct, text-safe visual context to each page family.
   ================================================================ */

body.page-content #main > .page-hero,
body.page-catalog #main > .page-hero {
  min-height: clamp(420px, 34vw, 520px) !important;
  display: grid !important;
  align-items: center !important;
  padding-block: clamp(76px, 9vw, 116px) !important;
  background-color: #071c22 !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

body.page-about #main > .page-hero,
body.page-applications #main > .page-hero,
body.page-products #main > .page-hero,
body.page-finder #main > .page-hero {
  background-image:
    linear-gradient(90deg, rgba(4, 18, 24, 0.96) 0%, rgba(4, 18, 24, 0.84) 43%, rgba(4, 18, 24, 0.24) 76%, rgba(4, 18, 24, 0.16) 100%),
    url("assets/generated/inner-compatibility-environment-v1.webp") !important;
}

body.page-quality #main > .page-hero,
body.page-support #main > .page-hero,
body.page-warranty #main > .page-hero,
body.page-policies #main > .page-hero,
body.page-contact #main > .page-hero {
  background-image:
    linear-gradient(90deg, rgba(4, 18, 24, 0.96) 0%, rgba(4, 18, 24, 0.84) 43%, rgba(4, 18, 24, 0.22) 76%, rgba(4, 18, 24, 0.14) 100%),
    url("assets/generated/inner-documentation-environment-v1.webp") !important;
}

body.page-global #main > .page-hero,
body.page-wholesale #main > .page-hero,
body.page-shipping #main > .page-hero,
body.page-order-track #main > .page-hero {
  background-image:
    linear-gradient(90deg, rgba(4, 18, 24, 0.97) 0%, rgba(4, 18, 24, 0.85) 43%, rgba(4, 18, 24, 0.2) 76%, rgba(4, 18, 24, 0.12) 100%),
    url("assets/generated/inner-logistics-environment-v1.webp") !important;
}

body.page-content #main > .page-hero > .section-shell,
body.page-catalog #main > .page-hero > .section-shell {
  width: min(1280px, calc(100% - 96px)) !important;
  padding: 0 !important;
}

body.page-content #main > .page-hero h1,
body.page-catalog #main > .page-hero h1,
body.page-content #main > .page-hero h1 em,
body.page-catalog #main > .page-hero h1 em {
  max-width: 900px !important;
  color: #ffffff !important;
  text-wrap: balance;
}

body.page-content #main > .page-hero .breadcrumbs,
body.page-catalog #main > .page-hero .breadcrumbs,
body.page-content #main > .page-hero .breadcrumbs a,
body.page-catalog #main > .page-hero .breadcrumbs a {
  color: rgba(255, 255, 255, 0.78) !important;
}

body.page-content #main > .page-hero > .section-shell > p:last-child:not(.breadcrumbs),
body.page-catalog #main > .page-hero > .section-shell > p:last-child:not(.breadcrumbs) {
  max-width: 680px !important;
  margin-top: 24px !important;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: clamp(17px, 1.45vw, 20px) !important;
  line-height: 1.65 !important;
}

body #quality .quality-copy > p:not(.eyebrow),
body .contact-form > p:not(.form-message),
body .fitment-form > p:not(.form-message),
body .detail-fitment-form > p:not(.form-message) {
  color: #4b6268 !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
}

body .form-message[data-state="success"] {
  color: #0b5f44 !important;
  background: #e6f4ee !important;
  border-color: #9fcfbc !important;
}

body .form-message[data-state="error"] {
  color: #8a2020 !important;
  background: #fff0ee !important;
  border-color: #e3aaa4 !important;
}

body .product-card,
body .catalog-grid .product-card {
  padding: 0 !important;
}

body .payment-option {
  min-height: 56px !important;
  padding: 14px 16px !important;
}

body .checkout-progress,
body .summary-note,
body .purchase-note,
body .gallery-index,
body .remove-item,
body .product-category,
body .product-reference,
body .stock-tag {
  font-size: 14px !important;
  line-height: 1.4 !important;
}

body.page-checkout .cart-item > :last-child,
body.page-checkout .order-summary .cart-item > :last-child {
  grid-column: auto !important;
}

body .footer-column,
body .footer-contact {
  order: initial !important;
}

body .support-card-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

body .support-link-card {
  position: relative !important;
  min-height: 250px !important;
  padding: 28px !important;
  cursor: default !important;
  transform: none !important;
}

body .support-link-card > span {
  margin-top: 0 !important;
}

body .support-link-card h2 {
  margin-top: 30px !important;
  font-size: clamp(24px, 2vw, 31px) !important;
  line-height: 1.15 !important;
}

body .support-link-card > a {
  margin-top: auto !important;
  min-height: 44px !important;
}

body .support-link-card > a::after {
  content: "";
  position: absolute;
  inset: 0;
}

@media (hover: hover) {
  body .support-link-card:has(> a:hover),
  body .support-link-card:has(> a:focus-visible) {
    background: #eef6f3 !important;
    border-color: #6aaca6 !important;
    box-shadow: 0 18px 42px rgba(7, 28, 34, 0.12) !important;
  }
}

@media (min-width: 981px) {
  body .mobile-menu,
  body .mobile-menu:not([hidden]) {
    display: none !important;
  }
}

@media (max-width: 980px) {
  body .support-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  body.page-content #main > .page-hero,
  body.page-catalog #main > .page-hero {
    min-height: 430px !important;
    padding-block: 72px !important;
    background-position: 58% center !important;
  }

  body.page-content #main > .page-hero,
  body.page-catalog #main > .page-hero {
    background-blend-mode: normal !important;
  }

  body.page-content #main > .page-hero > .section-shell,
  body.page-catalog #main > .page-hero > .section-shell {
    width: min(100% - 40px, 1280px) !important;
  }

  body.page-content #main > .page-hero h1,
  body.page-catalog #main > .page-hero h1 {
    font-size: clamp(44px, 13vw, 60px) !important;
    line-height: 0.98 !important;
  }

  body .support-card-grid {
    grid-template-columns: 1fr !important;
  }

  body .support-link-card {
    min-height: 0 !important;
    padding: 24px !important;
  }
}

@media (max-width: 390px) {
  body.page-content #main > .page-hero,
  body.page-catalog #main > .page-hero {
    min-height: 410px !important;
    padding-block: 64px !important;
  }

  body.page-content #main > .page-hero > .section-shell,
  body.page-catalog #main > .page-hero > .section-shell {
    width: calc(100% - 32px) !important;
  }

  body.page-content #main > .page-hero h1,
  body.page-catalog #main > .page-hero h1 {
    font-size: 42px !important;
  }
}

body a.region-card {
  position: relative !important;
  color: inherit !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease !important;
}

@media (hover: hover) {
  body a.region-card:hover {
    transform: translateY(-5px) !important;
    border-color: #6aaca6 !important;
    background: #eef6f3 !important;
    box-shadow: 0 18px 42px rgba(7, 28, 34, 0.12) !important;
  }
}

body a.region-card:focus-visible {
  outline: 3px solid #0b8581 !important;
  outline-offset: 4px !important;
  border-color: #0b8581 !important;
}

body a.region-card:active {
  transform: translateY(-1px) !important;
}

/* Customer colour direction: use the established solid deep teal, never black. */
:root {
  --refresh-night: #123b42;
  --refresh-night-2: #184b50;
  --refresh-shadow: 0 24px 70px rgba(18, 59, 66, 0.16);
}

body .notice,
body .mobile-menu,
body .site-footer {
  background-color: var(--refresh-night) !important;
}

body #top.hero {
  background-color: var(--refresh-night) !important;
}

body #top.hero .hero-overlay {
  background:
    linear-gradient(90deg, rgba(18, 59, 66, 0.98) 0%, rgba(18, 59, 66, 0.9) 37%, rgba(18, 59, 66, 0.48) 67%, rgba(18, 59, 66, 0.34) 100%),
    linear-gradient(180deg, rgba(18, 59, 66, 0.14), rgba(18, 59, 66, 0.66)) !important;
}

body.page-content #main > .page-hero,
body.page-catalog #main > .page-hero {
  background-color: var(--refresh-night) !important;
}

body.page-about #main > .page-hero,
body.page-applications #main > .page-hero,
body.page-products #main > .page-hero,
body.page-finder #main > .page-hero {
  background-image:
    linear-gradient(90deg, rgba(18, 59, 66, 0.98) 0%, rgba(18, 59, 66, 0.9) 43%, rgba(18, 59, 66, 0.42) 76%, rgba(18, 59, 66, 0.28) 100%),
    url("assets/generated/inner-compatibility-environment-v1.webp") !important;
}

body.page-quality #main > .page-hero,
body.page-support #main > .page-hero,
body.page-warranty #main > .page-hero,
body.page-policies #main > .page-hero,
body.page-contact #main > .page-hero {
  background-image:
    linear-gradient(90deg, rgba(18, 59, 66, 0.98) 0%, rgba(18, 59, 66, 0.9) 43%, rgba(18, 59, 66, 0.4) 76%, rgba(18, 59, 66, 0.26) 100%),
    url("assets/generated/inner-documentation-environment-v1.webp") !important;
}

body.page-global #main > .page-hero,
body.page-wholesale #main > .page-hero,
body.page-shipping #main > .page-hero,
body.page-order-track #main > .page-hero {
  background-image:
    linear-gradient(90deg, rgba(18, 59, 66, 0.98) 0%, rgba(18, 59, 66, 0.91) 43%, rgba(18, 59, 66, 0.42) 76%, rgba(18, 59, 66, 0.24) 100%),
    url("assets/generated/inner-logistics-environment-v1.webp") !important;
}

body #main .reviews::before {
  background:
    linear-gradient(180deg, rgba(18, 59, 66, 0.8), rgba(18, 59, 66, 0.42) 45%, rgba(18, 59, 66, 0.93)),
    linear-gradient(90deg, rgba(18, 59, 66, 0.82), rgba(18, 59, 66, 0.28)) !important;
}

body #main .reviews .review-card,
body #main .reviews .review-card.is-match,
body #main .reviews .review-card.is-evidence,
body #main .reviews .review-card.is-purchase {
  background: rgba(18, 59, 66, 0.94) !important;
}

body #wholesale.wholesale,
body .wholesale {
  background-color: var(--refresh-night-2) !important;
}

body .reference-gallery {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
}

body .product-rating.listing-status {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  min-height: 44px;
  color: #456067 !important;
  font-size: 14px !important;
}

body .product-rating.listing-status strong {
  color: var(--refresh-ink) !important;
  font-size: 15px;
}

body .checkout-disclosure {
  margin: 0 0 2px !important;
  padding: 12px 14px !important;
  color: #36555b !important;
  background: #e8f2ef !important;
  border-left: 3px solid var(--refresh-teal) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

body.page-product .protection-item {
  min-height: 0 !important;
}

@media (max-width: 767px) {
  body.page-product .protection-grid {
    gap: 12px !important;
  }

  body.page-product .protection-item {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    gap: 6px 14px !important;
    align-items: start !important;
    min-height: 0 !important;
    padding: 20px !important;
  }

  body.page-product .protection-item > span {
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;
    margin: 0 !important;
  }

  body.page-product .protection-item > b,
  body.page-product .protection-item > p {
    grid-column: 2 !important;
    margin: 0 !important;
  }
}

/* Type floor: metadata may be compact but must remain readable. */
@media (max-width: 767px) {
  body .notice-inner,
  body .notice-inner > span:not(.notice-dot),
  body .notice-inner a,
  body .cart-link,
  body .cart-link .cart-count {
    font-size: 14px !important;
  }
}

/*
 * Delivery baseline — scoped ownership rules for the shared visual system.
 * These rules outrank the experimental stylesheet stack around them without
 * changing document structure, copy, links, product evidence or JS hooks.
 */
:root {
  --refresh-copy: #31494f;
  --refresh-copy-on-dark: #dcebea;
  --refresh-copy-muted-on-dark: #bed2d2;
  --refresh-space-1: 8px;
  --refresh-space-2: 16px;
  --refresh-space-3: 24px;
  --refresh-space-4: 36px;
  --refresh-space-5: 56px;
  --refresh-radius: 6px;
}

body {
  font-size: 17px;
  line-height: 1.58;
}

body p,
body li,
body label,
body input,
body select,
body textarea,
body .form-message,
body .footer-column a,
body .footer-contact > p {
  font-size: max(16px, 1rem);
}

body .section-shell,
body .shell,
body .commerce-shell {
  width: min(var(--refresh-shell), calc(100% - 64px));
}

body .site-header,
body .header-inner,
body .desktop-nav a,
body .utility-link,
body .cart-link {
  min-height: 72px;
}

body .desktop-nav a,
body .utility-link,
body .cart-link {
  font-size: 15px;
}

body .desktop-nav a:hover::after,
body .utility-link:hover::after,
body .cart-link:hover::after,
body .desktop-nav a:focus-visible::after,
body .utility-link:focus-visible::after,
body .cart-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

body .button,
body .nav-cta {
  min-height: 48px;
  padding-inline: 22px;
  border-radius: var(--refresh-radius);
  font-size: 16px;
}

body .button:hover,
body .nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(7, 28, 34, 0.18);
}

body .button:active,
body .nav-cta:active {
  transform: translateY(0);
  box-shadow: none;
}

body .button:disabled,
body .button[aria-disabled="true"],
body .nav-cta[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.52;
  transform: none;
  box-shadow: none;
}

/* Explicit reset prevents the old dark-menu inherited text colour on white. */
body .mobile-menu {
  background: var(--refresh-night) !important;
  color: var(--refresh-white) !important;
  border-bottom: 1px solid rgba(96, 211, 203, 0.42);
  box-shadow: 0 18px 36px rgba(7, 28, 34, 0.24);
}

body .mobile-menu a,
body .mobile-menu a:visited {
  min-height: 56px;
  padding: 17px max(32px, calc((100vw - var(--refresh-shell)) / 2));
  color: var(--refresh-white) !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  border-color: rgba(255, 255, 255, 0.16);
}

body .mobile-menu a:hover,
body .mobile-menu a:focus-visible,
body .mobile-menu a[aria-current="page"] {
  color: var(--refresh-white) !important;
  background: rgba(96, 211, 203, 0.16);
}

body .page-hero {
  min-height: clamp(360px, 34vw, 470px);
  padding-block: clamp(72px, 8vw, 120px);
  isolation: isolate;
}

body .page-hero::before {
  display: block;
  z-index: -1;
  background: linear-gradient(90deg, rgba(5, 24, 30, 0.95) 0%, rgba(5, 24, 30, 0.86) 46%, rgba(5, 24, 30, 0.5) 100%) !important;
}

body .page-hero > .section-shell {
  max-width: min(760px, var(--refresh-shell));
  margin-left: max(32px, calc((100% - var(--refresh-shell)) / 2));
  margin-right: auto;
}

body .page-hero h1 {
  max-width: 14ch;
  margin-block: 18px 20px;
  font-size: clamp(42px, 5.2vw, 76px);
  line-height: 0.98;
}

body .page-hero .breadcrumbs,
body .page-hero .breadcrumbs a {
  color: #d5e8e6;
  font-size: 14px;
  font-weight: 700;
}

/* Higher specificity than legacy precision/corporate rules. */
body .page-hero > .section-shell > p:last-child:not(.breadcrumbs) {
  max-width: 58ch;
  margin: 0;
  color: var(--refresh-copy-on-dark) !important;
  font-size: 18px !important;
  font-weight: 500;
  line-height: 1.55;
}

body #quality .quality-copy > p:not(.eyebrow) {
  color: var(--refresh-copy-on-dark) !important;
  font-size: 18px !important;
  line-height: 1.6;
}

body .contact-form > p:not(.form-message),
body .fitment-form > p:not(.form-message),
body .detail-fitment-form > p:not(.form-message) {
  color: var(--refresh-copy) !important;
  font-size: 16px !important;
  line-height: 1.55;
}

body .page-section,
body .detail-expansion {
  padding-block: clamp(64px, 8vw, 112px);
}

body .detail-section-head,
body .promise-head,
body .commerce-head {
  gap: var(--refresh-space-4);
  margin-bottom: var(--refresh-space-4);
}

body .section-kicker,
body .breadcrumbs,
body .stock-tag,
body .footer-rail > span {
  font-size: 14px !important;
  letter-spacing: 0.08em;
}

body .info-panel,
body .support-link-card,
body .promise-card,
body .region-card,
body .guide-card,
body .product-card,
body .cart-card,
body .order-summary,
body .contact-form,
body .fitment-form,
body .detail-fitment-form,
body .purchase-panel,
body .payment-option {
  min-height: 0 !important;
  padding: clamp(22px, 2.2vw, 34px) !important;
  border-radius: var(--refresh-radius);
}

body .info-panel,
body .region-card,
body .support-link-card,
body .promise-card {
  background: var(--refresh-white);
  border-color: var(--refresh-line);
  box-shadow: none;
}

/* Articles without a link/control are informational, not buttons. */
body .region-card,
body .info-panel,
body .promise-card {
  cursor: default;
  transform: none !important;
}

body .region-card:hover,
body .info-panel:hover,
body .promise-card:hover {
  border-color: var(--refresh-line);
  box-shadow: none;
}

body .support-link-card:hover,
body .product-card:hover,
body .category:hover,
body .guide-card:hover {
  border-color: rgba(0, 139, 132, 0.6);
  box-shadow: 0 18px 36px rgba(7, 28, 34, 0.1);
  transform: translateY(-3px);
}

body .support-link-card:focus-within,
body .product-card:focus-within,
body .category:focus-within,
body .guide-card:focus-within {
  border-color: var(--refresh-teal);
  box-shadow: 0 0 0 3px rgba(96, 211, 203, 0.34);
}

body .info-stack,
body .wholesale-grid,
body .region-grid,
body .promise-grid,
body .support-grid {
  gap: 18px;
}

body .info-panel h2,
body .region-card h3,
body .support-link-card > strong,
body .promise-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.15;
}

body .info-panel p,
body .region-card p,
body .support-link-card p,
body .promise-card p {
  margin: 0;
  color: var(--refresh-copy);
}

body .application-list .category,
body #main #applications .category-grid .category {
  min-height: 0;
  background: var(--refresh-white);
  border-color: var(--refresh-line);
  border-radius: var(--refresh-radius);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

body .application-list .category > div {
  min-height: 112px;
  padding: 24px 26px;
}

body .application-list .category h3,
body .catalog-grid .product-meta h3 {
  font-size: clamp(21px, 1.8vw, 27px);
  line-height: 1.16;
}

body #main #applications .category img,
body #main #applications .category:hover img,
body #main #applications .category:focus-visible img,
body #main #applications .category:nth-child(4) img,
body #main #applications .category:nth-child(4):hover img,
body #main #applications .category:nth-child(4):focus-visible img {
  height: clamp(250px, 21vw, 330px);
  padding: 24px;
  object-fit: contain;
}

body .catalog-grid .product-card,
body .catalog-grid .product-meta {
  min-height: 0;
}

body .catalog-grid .product-meta {
  padding: 24px;
}

body .detail-layout-reference,
body .checkout-layout {
  gap: clamp(24px, 4vw, 56px);
}

body .detail-gallery,
body .reference-gallery {
  min-height: 0;
}

body .detail-gallery img,
body .reference-gallery img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: clamp(18px, 3vw, 38px);
}

body .detail-expansion .reference-spec-table,
body .detail-expansion .detail-fitment-form,
body .detail-expansion .purchase-panel {
  min-height: 0 !important;
}

body .commerce-shell {
  padding-block: clamp(56px, 7vw, 96px);
}

body .empty-cart,
body .confirmation-card {
  min-height: 0 !important;
  padding: clamp(40px, 6vw, 76px) clamp(24px, 6vw, 84px);
}

body #wholesale.wholesale,
body .wholesale {
  min-height: 0;
  padding-block: clamp(64px, 8vw, 112px);
}

body #wholesale .wholesale-panel,
body .wholesale .wholesale-panel {
  min-height: 0;
  gap: clamp(28px, 5vw, 80px);
}

body .site-footer {
  padding-top: clamp(56px, 7vw, 88px);
}

body .footer-main {
  gap: 32px;
}

body .footer-column h2 {
  margin-bottom: 14px;
  font-size: 17px;
}

body .footer-column a,
body .footer-contact > p {
  color: #d7e6e4;
  line-height: 1.55;
}

body .footer-column a:hover,
body .footer-column a:focus-visible {
  color: var(--refresh-white);
  text-decoration: underline;
}

body .footer-rails {
  gap: 24px;
  padding-block: 28px;
}

body .footer-badges span {
  min-height: 36px;
  padding: 8px 12px;
  color: #d7e6e4;
  font-size: 14px !important;
}

@media (max-width: 980px) {
  body .desktop-nav,
  body .utility-link,
  body .nav-cta {
    display: none;
  }

  body .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
  }

  body .page-hero > .section-shell {
    margin-left: max(32px, calc((100% - var(--refresh-shell)) / 2));
  }
}

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

  body,
  body p,
  body li,
  body label,
  body input,
  body select,
  body textarea {
    font-size: 16px;
  }

  body .section-shell,
  body .shell,
  body .commerce-shell {
    width: min(var(--refresh-shell), calc(100% - 40px));
  }

  body .notice,
  body .notice-inner {
    min-height: 0;
  }

  body .notice-inner {
    padding-block: 10px;
    font-size: 13px;
    line-height: 1.35;
  }

  body .notice-inner > span:not(.notice-dot),
  body .notice-inner a {
    font-size: 13px;
  }

  body .site-header,
  body .header-inner {
    min-height: 68px;
  }

  body .header-inner {
    gap: 12px;
  }

  body .brand,
  body .brand::before {
    width: 106px;
    height: 36px;
  }

  body .cart-link {
    min-height: 48px;
    font-size: 15px;
  }

  body .page-hero {
    min-height: 0;
    padding-block: 72px 68px;
  }

  body .page-hero > .section-shell {
    margin-inline: auto;
  }

  body .page-hero h1 {
    max-width: 12ch;
    font-size: clamp(39px, 12vw, 54px);
  }

  body .page-hero > .section-shell > p:last-child:not(.breadcrumbs),
  body #quality .quality-copy > p:not(.eyebrow) {
    font-size: 17px !important;
  }

  body .page-section,
  body .detail-expansion {
    padding-block: 58px;
  }

  body .detail-section-head,
  body .promise-head,
  body .commerce-head {
    gap: 18px;
    margin-bottom: 28px;
  }

  body .info-panel,
  body .support-link-card,
  body .promise-card,
  body .region-card,
  body .guide-card,
  body .product-card,
  body .cart-card,
  body .order-summary,
  body .contact-form,
  body .fitment-form,
  body .detail-fitment-form,
  body .purchase-panel,
  body .payment-option {
    padding: 22px !important;
  }

  body .application-list .category > div {
    min-height: 96px;
    padding: 20px 22px;
  }

  body #main #applications .category img,
  body #main #applications .category:hover img,
  body #main #applications .category:focus-visible img,
  body #main #applications .category:nth-child(4) img,
  body #main #applications .category:nth-child(4):hover img,
  body #main #applications .category:nth-child(4):focus-visible img {
    height: 250px;
    padding: 20px;
  }

  body .footer-main,
  body .footer-rails {
    gap: 28px;
  }

  body .footer-rail {
    padding-block: 20px;
  }
}

@media (max-width: 390px) {
  body .section-shell,
  body .shell,
  body .commerce-shell {
    width: calc(100% - 32px);
  }

  body .notice-inner a {
    display: none;
  }

  body .cart-link {
    font-size: 0;
  }

  body .cart-link .cart-count {
    font-size: 13px;
  }

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

  body .mobile-menu a,
  body .mobile-menu a:visited {
    padding-inline: 16px;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/*
  Cascade ownership locks
  The legacy homepage contains ID-scoped rules. These selectors intentionally
  match that specificity so the refresh remains the final runtime owner.
*/

body #top.hero .hero-scene {
  left: 0;
  width: 100%;
  display: block;
  opacity: 1;
  z-index: 0;
}

body #top.hero .hero-overlay {
  display: block;
  opacity: 1;
  z-index: 1;
}

body #top.hero .hero-grid {
  z-index: 2;
}

body #top.hero .hero-product::before,
body #top.hero .hero-product::after {
  display: none;
}

body #main .reviews {
  min-height: 780px;
  padding-block: 118px;
  background: url("assets/generated/reviews-process-desktop-v1.webp") center / cover no-repeat;
  color: var(--refresh-white);
}

body #main .reviews::before {
  display: block;
  background:
    linear-gradient(180deg, rgba(4, 18, 23, 0.7), rgba(4, 18, 23, 0.3) 45%, rgba(4, 18, 23, 0.88)),
    linear-gradient(90deg, rgba(4, 18, 23, 0.74), rgba(4, 18, 23, 0.18));
}

body #main .reviews > .section-shell {
  padding-top: 0;
  border-top: 0;
}

body #main .reviews .reviews-head {
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: end;
  justify-content: stretch;
  gap: 54px;
  margin-bottom: 52px;
}

body #main .reviews .reviews-head h2,
body #main .reviews .reviews-note {
  color: var(--refresh-white);
}

body #main .reviews .reviews-note {
  max-width: 470px;
  padding: 0;
  color: rgba(255, 255, 255, 0.76);
}

body #main .reviews .review-grid {
  position: relative;
  min-height: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body #main .reviews .review-grid::before {
  display: none;
}

body #main .reviews .review-card,
body #main .reviews .review-card.is-match,
body #main .reviews .review-card.is-evidence,
body #main .reviews .review-card.is-purchase {
  min-height: 338px;
  padding: 30px;
  color: var(--refresh-white);
  background: rgba(7, 28, 34, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.23);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.2);
}

body #main .reviews .review-card::before,
body #main .reviews .review-card::after {
  display: none;
  background: none;
}

body #main .reviews .review-card h3,
body #main .reviews .review-card.is-match h3,
body #main .reviews .review-card.is-evidence h3,
body #main .reviews .review-card.is-purchase h3,
body #main .reviews .review-source strong,
body #main .reviews .review-card.is-match .review-source strong,
body #main .reviews .review-card.is-evidence .review-source strong,
body #main .reviews .review-card.is-purchase .review-source strong {
  color: var(--refresh-white);
}

body #main .reviews .review-card blockquote,
body #main .reviews .review-card.is-match blockquote,
body #main .reviews .review-card.is-evidence blockquote,
body #main .reviews .review-card.is-purchase blockquote {
  color: rgba(255, 255, 255, 0.72);
}

body #main .reviews .review-source {
  border-top-color: rgba(255, 255, 255, 0.18);
}

body #main .reviews .review-tags i,
body #main .reviews .review-card.is-match .review-tags i,
body #main .reviews .review-card.is-evidence .review-tags i,
body #main .reviews .review-card.is-purchase .review-tags i {
  color: rgba(255, 255, 255, 0.68);
  border-color: rgba(255, 255, 255, 0.18);
}

.brand,
.site-footer .footer-brand {
  background: none;
  background-image: none;
}

.site-footer .footer-brand {
  width: 142px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 8px;
  background: var(--refresh-white);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 2px;
}

.site-footer .footer-brand::before {
  background-image: url("assets/ansi-logo-header-v1.png");
  filter: none;
  mix-blend-mode: normal;
}

@media (hover: hover) {
  body #main .reviews .review-card:hover {
    color: var(--refresh-white);
    background: rgba(0, 64, 67, 0.94);
    border-color: rgba(96, 211, 203, 0.68);
    transform: translateY(-8px);
  }
}

@media (max-width: 980px) {
  body #main .reviews .reviews-head,
  body #main .reviews .review-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  body #main .reviews {
    min-height: 0;
    padding-block: 78px;
    background: url("assets/generated/reviews-process-mobile-v1.webp") center / cover no-repeat;
  }

  body #main .reviews .review-card,
  body #main .reviews .review-card.is-match,
  body #main .reviews .review-card.is-evidence,
  body #main .reviews .review-card.is-purchase {
    min-height: 310px;
    padding: 26px;
  }

  .detail-layout-reference > .detail-fitment-form {
    padding: 24px;
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "intro"
      "fields"
      "action"
      "message";
    gap: 0;
  }

  .detail-fitment-form .form-grid {
    margin-top: 22px;
  }
}

@media (max-width: 390px) {
  body #main .reviews .review-card,
  body #main .reviews .review-card.is-match,
  body #main .reviews .review-card.is-evidence,
  body #main .reviews .review-card.is-purchase {
    padding: 22px;
  }
}

/*
 * Legacy square-card rules still win at some tablet/mobile-adjacent widths.
 * Let the image and title rows define the card height so no empty grid track
 * can open between the product evidence and its label.
 */
body #main #applications .category-grid .category {
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  grid-template-rows: auto auto;
  align-self: start;
}

/* Keep every homepage application packshot inside the same evidence frame. */
body #main #applications .category img,
body #main #applications .category:hover img,
body #main #applications .category:focus-visible img,
body #main #applications .category:nth-child(4) img,
body #main #applications .category:nth-child(4):hover img,
body #main #applications .category:nth-child(4):focus-visible img {
  height: 342px;
  padding: 28px;
  object-fit: contain;
  object-position: center;
  transform: none;
}

@media (hover: hover) {
  body #main #applications .category:hover img {
    transform: scale(1.025);
  }
}

@media (max-width: 1199px) {
  body #main #applications .category img,
  body #main #applications .category:hover img,
  body #main #applications .category:focus-visible img,
  body #main #applications .category:nth-child(4) img,
  body #main #applications .category:nth-child(4):hover img,
  body #main #applications .category:nth-child(4):focus-visible img {
    height: 354px;
  }
}

@media (max-width: 767px) {
  body #main #applications .category img,
  body #main #applications .category:hover img,
  body #main #applications .category:focus-visible img,
  body #main #applications .category:nth-child(4) img,
  body #main #applications .category:nth-child(4):hover img,
  body #main #applications .category:nth-child(4):focus-visible img {
    height: 319px;
    padding: 24px;
  }
}

@media (max-width: 390px) {
  body #main #applications .category img,
  body #main #applications .category:hover img,
  body #main #applications .category:focus-visible img,
  body #main #applications .category:nth-child(4) img,
  body #main #applications .category:nth-child(4):hover img,
  body #main #applications .category:nth-child(4):focus-visible img {
    height: 284px;
  }
}

/* Final delivery locks — keep below all legacy compatibility rules. */
body .cart-count,
body #top.hero .hero-product-label small,
body #applications .category::after,
body .application-list .category::after,
body .stock-tag,
body .popular-searches > span,
body .popular-searches button,
body .compat-tag,
body .reviews .review-tags i,
body .footer-rail,
body .footer-badges span,
body .footer-bottom {
  font-size: 14px !important;
}

body #main .reviews {
  min-height: 0;
  padding-block: clamp(72px, 8vw, 104px);
}

body #main .reviews .review-card,
body #main .reviews .review-card.is-match,
body #main .reviews .review-card.is-evidence,
body #main .reviews .review-card.is-purchase {
  min-height: 0;
  padding: clamp(24px, 2.2vw, 32px);
}

body #main #applications .category img,
body #main #applications .category:hover img,
body #main #applications .category:focus-visible img,
body #main #applications .category:nth-child(4) img,
body #main #applications .category:nth-child(4):hover img,
body #main #applications .category:nth-child(4):focus-visible img {
  height: clamp(250px, 21vw, 330px);
  padding: 24px;
}

@media (max-width: 767px) {
  body #main #applications .category img,
  body #main #applications .category:hover img,
  body #main #applications .category:focus-visible img,
  body #main #applications .category:nth-child(4) img,
  body #main #applications .category:nth-child(4):hover img,
  body #main #applications .category:nth-child(4):focus-visible img {
    height: 250px;
    padding: 20px;
  }
}

@media (max-width: 390px) {
  body #main #applications .category img,
  body #main #applications .category:hover img,
  body #main #applications .category:focus-visible img,
  body #main #applications .category:nth-child(4) img,
  body #main #applications .category:nth-child(4):hover img,
  body #main #applications .category:nth-child(4):focus-visible img {
    height: 220px;
    padding: 18px;
  }
}

/*
 * Customer light-surface direction — intentionally true EOF.
 * The atmospheric images remain, but a warm daylight wash makes them quiet
 * supporting material instead of dark section backgrounds.
 */
:root {
  --refresh-customer-paper: #f5f3ed;
  --refresh-customer-mist: #eaf0ed;
  --refresh-customer-white: #fbfbf8;
  --refresh-customer-border: rgba(16, 39, 46, 0.18);
  --refresh-customer-action: #006e69;
}

body a:focus-visible,
body button:focus-visible,
body input:focus-visible,
body select:focus-visible,
body textarea:focus-visible,
body summary:focus-visible {
  outline-color: var(--refresh-customer-action) !important;
}

body .button.aqua,
body #top.hero .button.primary {
  color: var(--refresh-white) !important;
  background: var(--refresh-customer-action) !important;
  border-color: var(--refresh-customer-action) !important;
}

body .notice {
  background-color: var(--refresh-customer-mist) !important;
  color: var(--refresh-ink) !important;
  border-bottom: 1px solid var(--refresh-customer-border);
}

body .notice-inner,
body .notice-inner > span,
body .notice-inner a {
  color: var(--refresh-ink) !important;
}

body .notice-inner a {
  color: #006e69 !important;
}

body .notice-dot {
  background: var(--refresh-teal);
  box-shadow: 0 0 0 5px rgba(0, 139, 132, 0.11);
}

body .mobile-menu {
  background: var(--refresh-customer-white) !important;
  color: var(--refresh-ink) !important;
  border-color: var(--refresh-customer-border) !important;
  box-shadow: 0 18px 36px rgba(16, 39, 46, 0.12);
}

body .mobile-menu a,
body .mobile-menu a:visited {
  color: var(--refresh-ink) !important;
  border-color: var(--refresh-customer-border) !important;
}

body .mobile-menu a:hover,
body .mobile-menu a:focus-visible,
body .mobile-menu a[aria-current="page"] {
  color: var(--refresh-ink) !important;
  background: rgba(0, 139, 132, 0.09) !important;
}

/* Homepage hero: light solid foundation with a restrained lab atmosphere. */
body #top.hero {
  background-color: var(--refresh-customer-paper) !important;
  color: var(--refresh-ink) !important;
  border-bottom: 1px solid var(--refresh-customer-border);
}

body #top.hero .hero-scene {
  opacity: 0.46;
  filter: grayscale(0.15) saturate(0.62) contrast(0.8) brightness(1.2);
}

body #top.hero .hero-overlay {
  background:
    linear-gradient(90deg, rgba(245, 243, 237, 0.995) 0%, rgba(245, 243, 237, 0.97) 45%, rgba(245, 243, 237, 0.79) 73%, rgba(245, 243, 237, 0.7) 100%),
    linear-gradient(180deg, rgba(245, 243, 237, 0.34), rgba(234, 240, 237, 0.58)) !important;
}

body #top.hero .hero-copy,
body #top.hero h1,
body #top.hero h1 em,
body #top.hero .hero-proof,
body #top.hero .hero-proof strong {
  color: var(--refresh-ink) !important;
}

body #top.hero .hero-intro,
body #top.hero .hero-proof span {
  color: #4b6268 !important;
}

body #top.hero .button.outline {
  color: var(--refresh-ink) !important;
  background: rgba(255, 255, 255, 0.42) !important;
  border-color: rgba(16, 39, 46, 0.46) !important;
  backdrop-filter: blur(8px);
}

body #top.hero .hero-product {
  background: rgba(255, 255, 255, 0.94) !important;
  border-color: rgba(16, 39, 46, 0.16) !important;
  box-shadow: 0 28px 70px rgba(16, 39, 46, 0.14) !important;
}

/* The service rail uses the requested light single-colour treatment. */
body .trust-strip,
body .trust-strip::before {
  background: var(--refresh-customer-mist) !important;
  background-image: none !important;
}

body .trust-strip {
  color: var(--refresh-ink) !important;
  border-top: 1px solid var(--refresh-customer-border);
  border-bottom: 1px solid var(--refresh-customer-border);
}

body .trust-strip::before {
  display: none !important;
}

body .trust-grid > div {
  border-color: var(--refresh-customer-border) !important;
}

body .trust-strip .proof-icon {
  background: rgba(0, 139, 132, 0.09) !important;
  border-color: rgba(0, 110, 105, 0.34) !important;
}

body .trust-strip .proof-icon img {
  filter: brightness(0) saturate(100%) invert(35%) sepia(51%) saturate(1272%) hue-rotate(137deg) brightness(91%) contrast(101%) !important;
}

body .trust-grid b {
  color: var(--refresh-ink) !important;
}

body .trust-grid p,
body .trust-rail p {
  color: #4b6268 !important;
}

/* Large homepage image sections keep imagery, but move to daylight surfaces. */
body #finder.finder {
  background:
    linear-gradient(90deg, rgba(245, 243, 237, 0.28), rgba(234, 240, 237, 0.08)),
    url("assets/optimized/direction-a-lab.webp") center / cover no-repeat !important;
}

body #finder .finder-panel,
body .finder-panel,
body .finder-box {
  color: var(--refresh-ink) !important;
  background: rgba(251, 251, 248, 0.95) !important;
  border-color: var(--refresh-customer-border) !important;
  box-shadow: 0 28px 70px rgba(16, 39, 46, 0.13) !important;
}

body #finder .finder-copy h2,
body .finder-box h2,
body .finder-box .section-title {
  color: var(--refresh-ink) !important;
}

body #finder .finder-copy > p,
body #finder .finder-note,
body .finder-box .form-status,
body .finder-box .popular-searches > span {
  color: #4b6268 !important;
}

body #finder .finder-note {
  border-top-color: var(--refresh-customer-border) !important;
}

body .finder-box .eyebrow,
body .finder-box .eyebrow.light,
body .finder-box .lookup-form label {
  color: #006e69 !important;
}

body .finder-box .popular-searches {
  border-top-color: var(--refresh-customer-border) !important;
}

body .finder-box .popular-searches button {
  color: var(--refresh-ink) !important;
  background: var(--refresh-white) !important;
  border-color: #708287 !important;
}

body #quality.quality::before,
body #quality::before {
  background: linear-gradient(
    90deg,
    rgba(245, 243, 237, 0.97) 0%,
    rgba(245, 243, 237, 0.88) 48%,
    rgba(245, 243, 237, 0.6) 100%
  ) !important;
}

body #quality .quality-copy {
  color: var(--refresh-ink) !important;
  background: rgba(251, 251, 248, 0.95) !important;
  border: 1px solid var(--refresh-customer-border);
  box-shadow: 0 28px 70px rgba(16, 39, 46, 0.13) !important;
}

body #quality .quality-copy h2,
body #quality .quality-copy h2 em,
body #quality .quality-copy dt {
  color: var(--refresh-ink) !important;
}

body #quality .quality-copy > p:not(.eyebrow),
body #quality .quality-copy dd {
  color: #4b6268 !important;
}

body #quality .quality-copy dl > div {
  border-top-color: var(--refresh-customer-border) !important;
}

body #quality .quality-copy .button.outline {
  color: var(--refresh-ink) !important;
  background: transparent !important;
  border-color: rgba(16, 39, 46, 0.42) !important;
}

body #quality .quality-image {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: var(--refresh-customer-border) !important;
  box-shadow: 0 28px 70px rgba(16, 39, 46, 0.12) !important;
}

body #main .reviews {
  color: var(--refresh-ink) !important;
  background: url("assets/generated/reviews-process-desktop-v1.webp") center / cover no-repeat !important;
}

body #main .reviews::before {
  background:
    linear-gradient(180deg, rgba(245, 243, 237, 0.95), rgba(245, 243, 237, 0.8) 50%, rgba(234, 240, 237, 0.95)),
    linear-gradient(90deg, rgba(245, 243, 237, 0.92), rgba(245, 243, 237, 0.66)) !important;
}

body #main .reviews .reviews-head h2,
body #main .reviews .reviews-head h2 em {
  color: var(--refresh-ink) !important;
}

body #main .reviews .reviews-note {
  color: #4b6268 !important;
}

body #main .reviews .review-card,
body #main .reviews .review-card.is-match,
body #main .reviews .review-card.is-evidence,
body #main .reviews .review-card.is-purchase {
  color: var(--refresh-ink) !important;
  background: rgba(251, 251, 248, 0.94) !important;
  border-color: var(--refresh-customer-border) !important;
  box-shadow: 0 18px 46px rgba(16, 39, 46, 0.1) !important;
}

body #main .reviews .review-card h3,
body #main .reviews .review-card.is-match h3,
body #main .reviews .review-card.is-evidence h3,
body #main .reviews .review-card.is-purchase h3,
body #main .reviews .review-source strong,
body #main .reviews .review-card.is-match .review-source strong,
body #main .reviews .review-card.is-evidence .review-source strong,
body #main .reviews .review-card.is-purchase .review-source strong {
  color: var(--refresh-ink) !important;
}

body #main .reviews .review-card blockquote,
body #main .reviews .review-card.is-match blockquote,
body #main .reviews .review-card.is-evidence blockquote,
body #main .reviews .review-card.is-purchase blockquote,
body #main .reviews .review-step {
  color: #4b6268 !important;
}

body #main .reviews .review-source,
body #main .reviews .review-tags i,
body #main .reviews .review-card.is-match .review-tags i,
body #main .reviews .review-card.is-evidence .review-tags i,
body #main .reviews .review-card.is-purchase .review-tags i {
  border-color: var(--refresh-customer-border) !important;
}

body #main .reviews .review-tags i,
body #main .reviews .review-card.is-match .review-tags i,
body #main .reviews .review-card.is-evidence .review-tags i,
body #main .reviews .review-card.is-purchase .review-tags i {
  color: #4b6268 !important;
}

body #wholesale.wholesale,
body .wholesale {
  color: var(--refresh-ink) !important;
  background-color: var(--refresh-customer-mist) !important;
  border-top: 1px solid var(--refresh-customer-border);
  border-bottom: 1px solid var(--refresh-customer-border);
}

body #wholesale h2,
body .wholesale h2 {
  color: var(--refresh-ink) !important;
}

body #wholesale .wholesale-side p,
body .wholesale .wholesale-side p {
  color: #4b6268 !important;
}

/* Inner-page hero families use the same pale treatment and quiet imagery. */
body.page-content #main > .page-hero,
body.page-catalog #main > .page-hero {
  color: var(--refresh-ink) !important;
  background-color: var(--refresh-customer-paper) !important;
  border-bottom: 1px solid var(--refresh-customer-border);
}

body.page-about #main > .page-hero,
body.page-applications #main > .page-hero,
body.page-products #main > .page-hero,
body.page-finder #main > .page-hero {
  background-image: url("assets/generated/inner-compatibility-environment-v1.webp") !important;
}

body.page-quality #main > .page-hero,
body.page-support #main > .page-hero,
body.page-warranty #main > .page-hero,
body.page-policies #main > .page-hero,
body.page-contact #main > .page-hero {
  background-image: url("assets/generated/inner-documentation-environment-v1.webp") !important;
}

body.page-global #main > .page-hero,
body.page-wholesale #main > .page-hero,
body.page-shipping #main > .page-hero,
body.page-order-track #main > .page-hero {
  background-image: url("assets/generated/inner-logistics-environment-v1.webp") !important;
}

body .page-hero::before {
  background: linear-gradient(
    90deg,
    rgba(245, 243, 237, 0.985) 0%,
    rgba(245, 243, 237, 0.94) 48%,
    rgba(245, 243, 237, 0.7) 100%
  ) !important;
}

body.page-content #main > .page-hero h1,
body.page-catalog #main > .page-hero h1,
body.page-content #main > .page-hero h1 em,
body.page-catalog #main > .page-hero h1 em {
  color: var(--refresh-ink) !important;
}

body.page-content #main > .page-hero .breadcrumbs,
body.page-catalog #main > .page-hero .breadcrumbs,
body.page-content #main > .page-hero .breadcrumbs a,
body.page-catalog #main > .page-hero .breadcrumbs a {
  color: #426168 !important;
}

body.page-content #main > .page-hero > .section-shell > p:last-child:not(.breadcrumbs),
body.page-catalog #main > .page-hero > .section-shell > p:last-child:not(.breadcrumbs) {
  color: #4b6268 !important;
}

/* Footer: retain the complete navigation, but move it onto the pale foundation. */
body .site-footer {
  color: var(--refresh-ink) !important;
  background-color: var(--refresh-customer-paper) !important;
  border-top: 1px solid var(--refresh-customer-border);
}

body .footer-column h2 {
  color: var(--refresh-ink) !important;
}

body .footer-column a,
body .footer-contact > p,
body .footer-contact a,
body .footer-bottom,
body .footer-bottom a,
body .footer-rail {
  color: #4b6268 !important;
}

body .footer-column a:hover,
body .footer-column a:focus-visible,
body .footer-contact a:hover,
body .footer-contact a:focus-visible {
  color: #006e69 !important;
}

body .footer-contact,
body .footer-rails,
body .footer-bottom {
  border-color: var(--refresh-customer-border) !important;
}

body .footer-badges span {
  color: #365158 !important;
  background: rgba(255, 255, 255, 0.48) !important;
  border-color: rgba(16, 39, 46, 0.24) !important;
}

body .site-footer .footer-brand {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

body .site-footer .footer-brand::before {
  filter: none !important;
  mix-blend-mode: multiply;
}

body .notice-inner,
body .notice-inner > span,
body .notice-inner a,
body .trust-rail p,
body .quick-add,
body .product-meta p,
body .product-card .eyebrow,
body .fitment-form label,
body .detail-fitment-form label,
body .contact-form label,
body .form-status,
body .reviews .review-step,
body .reviews .review-card strong,
body .reference-spec-table th,
body .reference-price > span,
body .payment-option span,
body .protection-item > span,
body .protection-item > p,
body .footer-column a,
body .footer-contact > p,
body .footer-contact a,
body .footer-bottom,
body .footer-bottom a {
  font-size: 14px !important;
}

body .trust-grid p,
body form label {
  font-size: 14px !important;
}

body .reference-price-line > span,
body .reference-price-line > a,
body .payment-button span,
body .supply-list span,
body .support-link-card > a,
body .contact-points dt,
body .region-card > span,
body .checkout-progress span {
  font-size: 14px !important;
}

body.page-contact dt {
  font-size: 14px !important;
}

@media (hover: hover) {
  body #top.hero .button.outline:hover,
  body #quality .quality-copy .button.outline:hover {
    color: var(--refresh-ink) !important;
    background: var(--refresh-white) !important;
    border-color: var(--refresh-teal) !important;
  }

  body #main .reviews .review-card:hover {
    color: var(--refresh-ink) !important;
    background: var(--refresh-white) !important;
    border-color: rgba(0, 139, 132, 0.62) !important;
    box-shadow: 0 22px 52px rgba(16, 39, 46, 0.14) !important;
  }
}

@media (max-width: 767px) {
  body #finder.finder {
    background:
      linear-gradient(180deg, rgba(245, 243, 237, 0.18), rgba(234, 240, 237, 0.04)),
      url("assets/optimized/direction-a-lab-mobile.webp") center / cover no-repeat !important;
  }

  body #top.hero .hero-scene {
    opacity: 0.3;
    filter: grayscale(0.15) saturate(0.55) contrast(0.78) brightness(1.24);
  }

  body #top.hero .hero-overlay {
    background: linear-gradient(180deg, rgba(245, 243, 237, 0.985), rgba(245, 243, 237, 0.91)) !important;
  }

  body #main .reviews {
    background-image: url("assets/generated/reviews-process-mobile-v1.webp") !important;
  }

  body .page-hero::before {
    background: linear-gradient(90deg, rgba(245, 243, 237, 0.985), rgba(245, 243, 237, 0.83)) !important;
  }
}
