:root {
  /* Brand palette source: src/source-of-truth/athletonic.mjs */
  --blue: #0b1f3a;
  --teal: #2ec4b6;
  --white: #ffffff;
  --gray: #f5f7fa;
  --ink: #102033;
  --muted: #607084;
  --line: #dde5ef;
}

/* Supplements department landing */
body.supplement-hub-body {
  background:
    linear-gradient(rgba(11, 31, 58, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 58, 0.025) 1px, transparent 1px),
    #f7f8f5;
  background-size: 32px 32px;
}

main.supplement-hub {
  max-width: 1440px;
  padding-top: 26px;
}

.supplement-hub-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  min-height: 610px;
  overflow: hidden;
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 18%, rgba(46, 196, 182, 0.34), transparent 28%),
    radial-gradient(circle at 100% 100%, rgba(242, 91, 45, 0.22), transparent 34%),
    linear-gradient(125deg, #071629 0%, #0b2443 54%, #10365a 100%);
  box-shadow: 0 32px 80px rgba(7, 22, 41, 0.22);
}

.supplement-hub-hero::before {
  content: "PERFORM";
  position: absolute;
  left: -16px;
  bottom: -42px;
  color: rgba(255, 255, 255, 0.035);
  font: 900 clamp(110px, 15vw, 220px)/0.8 Impact, Haettenschweiler, sans-serif;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.supplement-hub-hero__copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: clamp(44px, 6vw, 88px);
}

.supplement-hub-kicker,
.supplement-hub-heading p,
.supplement-goal-intro > p:first-child,
.supplement-catalog-intro > p,
.supplement-wholesale-banner > div > p {
  margin: 0;
  color: #2ec4b6;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.supplement-hub-hero h1 {
  max-width: 700px;
  margin: 18px 0 22px;
  font: 900 clamp(56px, 6vw, 92px)/0.88 Impact, Haettenschweiler, sans-serif;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.supplement-hub-hero h1 em {
  display: block;
  color: #ff6a3d;
  font-style: normal;
}

.supplement-hub-hero__copy > p:not(.supplement-hub-kicker) {
  max-width: 610px;
  margin: 0;
  color: #cfdae7;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.65;
}

.supplement-hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.supplement-hub-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 950;
  letter-spacing: 0.03em;
  padding: 0 22px;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}

.supplement-hub-button:hover,
.supplement-hub-button:focus-visible {
  transform: translateY(-2px);
}

.supplement-hub-button--primary {
  border-color: #ff6a3d;
  background: #ff6a3d;
  color: #071629;
}

.supplement-hub-button--ghost {
  color: #fff;
}

.supplement-hub-button--ghost:hover,
.supplement-hub-button--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.supplement-hub-proof {
  display: flex;
  gap: clamp(20px, 3vw, 46px);
  margin: 42px 0 0;
}

.supplement-hub-proof div {
  display: grid;
  gap: 3px;
}

.supplement-hub-proof dt {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 950;
}

.supplement-hub-proof dd {
  margin: 0;
  color: #91a5ba;
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
}

.supplement-hub-hero__visual {
  position: relative;
  min-height: 610px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(46, 196, 182, 0.08));
  isolation: isolate;
}

.supplement-hub-hero__visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: 58px;
  width: 72%;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  filter: blur(20px);
  transform: translateX(-50%);
}

.supplement-hub-orbit {
  position: absolute;
  border: 1px solid rgba(46, 196, 182, 0.32);
  border-radius: 50%;
}

.supplement-hub-orbit--one {
  inset: 74px 48px 80px;
  animation: supplementOrbit 12s linear infinite;
}

.supplement-hub-orbit--two {
  inset: 135px 105px 128px;
  border-color: rgba(255, 106, 61, 0.32);
  animation: supplementOrbit 9s linear reverse infinite;
}

@keyframes supplementOrbit {
  to { transform: rotate(360deg); }
}

.supplement-hero-product {
  position: absolute;
  display: grid;
  place-items: center;
}

.supplement-hero-product img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.38));
}

.supplement-hero-product--main {
  z-index: 3;
  inset: 70px 19% 42px;
  animation: supplementFloat 5.6s ease-in-out infinite;
}

.supplement-hero-product--main span {
  position: absolute;
  right: -18px;
  bottom: 52px;
  border-radius: 999px;
  background: #fff;
  color: #0b1f3a;
  font-size: 0.72rem;
  font-weight: 950;
  padding: 8px 12px;
  text-transform: uppercase;
}

.supplement-hero-product--left,
.supplement-hero-product--right {
  z-index: 2;
  bottom: 68px;
  width: 34%;
  height: 47%;
  opacity: 0.84;
}

.supplement-hero-product--left { left: -3%; transform: rotate(-7deg); }
.supplement-hero-product--right { right: -4%; transform: rotate(8deg); }

@keyframes supplementFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.supplement-hub-hero__note {
  position: absolute;
  right: 28px;
  top: 26px;
  margin: 0;
  color: #8fa7bd;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.supplement-hub-hero__note strong { color: #2ec4b6; }

.supplement-hub-categories,
.supplement-goal-layout,
.supplement-catalog-intro {
  margin-top: clamp(66px, 8vw, 110px);
}

.supplement-hub-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.supplement-hub-heading h2,
.supplement-goal-intro h2,
.supplement-catalog-intro h2,
.supplement-wholesale-banner h2 {
  margin: 7px 0 0;
  color: #0b1f3a;
  font: 900 clamp(34px, 4.5vw, 64px)/0.98 Impact, Haettenschweiler, sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.supplement-hub-heading > a {
  color: #0b1f3a;
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.supplement-hub-heading > a span,
.supplement-wholesale-banner > a span {
  color: #ff6a3d;
  font-size: 1.1rem;
}

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

.supplement-category-card {
  position: relative;
  display: flex;
  min-height: 240px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid rgba(11, 31, 58, 0.1);
  border-radius: 16px;
  padding: 24px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.supplement-category-card::before,
.supplement-category-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.supplement-category-card::before {
  top: -72px;
  right: -50px;
  width: 190px;
  height: 190px;
  border: 34px solid rgba(255, 255, 255, 0.2);
}

.supplement-category-card::after {
  top: 28px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.22);
}

.supplement-category-card:hover,
.supplement-category-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(11, 31, 58, 0.14);
}

.supplement-category-card > span {
  position: absolute;
  top: 20px;
  left: 22px;
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.supplement-category-card strong {
  position: relative;
  font: 900 clamp(28px, 3vw, 42px)/1 Impact, Haettenschweiler, sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.supplement-category-card small {
  position: relative;
  margin-top: 7px;
  font-size: 0.82rem;
  font-weight: 750;
}

.supplement-category-card--protein { background: #ff6a3d; color: #101a26; }
.supplement-category-card--pre { background: #0b1f3a; color: #fff; }
.supplement-category-card--creatine { background: #2ec4b6; color: #082031; }
.supplement-category-card--hydration { background: #dbe7f1; color: #0b1f3a; }

.supplement-hub-brands {
  margin-top: clamp(66px, 8vw, 110px);
  border-radius: 22px;
  background: #0b1f3a;
  padding: clamp(30px, 5vw, 62px);
}

.supplement-hub-heading--light h2,
.supplement-hub-heading--light > a { color: #fff; }

.supplement-hub-brand-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.supplement-hub-brand-grid a {
  display: grid;
  min-height: 126px;
  place-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: #f8fafc;
  padding: 22px;
  transition: background 180ms ease;
}

.supplement-hub-brand-grid a:hover,
.supplement-hub-brand-grid a:focus-visible { background: #e8f7f5; }

.supplement-hub-brand-grid img {
  width: min(150px, 88%);
  max-height: 60px;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

.supplement-hub-brand-grid img[src*="Optimum-Nutrition-Logo"] {
  width: min(205px, 96%);
  max-height: 72px;
}

.supplement-hub-brand-grid .supplement-hub-brand--bsn img {
  width: 118px;
  max-height: 72px;
  filter: none;
  opacity: 1;
}

.performance-brand-card img[src*="kaged-logo"],
.performance-brand-card img[src*="pescience-logo"],
.performance-brand-card img[src*="raw_nutrition-logo"],
.supplement-brand-heading img[src*="kaged-logo"],
.supplement-brand-heading img[src*="pescience-logo"],
.supplement-brand-heading img[src*="raw_nutrition-logo"],
.brand-live-logo[src*="kaged-logo"],
.brand-live-logo[src*="pescience-logo"],
.brand-live-logo[src*="raw_nutrition-logo"] {
  filter: invert(1);
}

.supplement-brands-page .performance-brand-card img[src*="myprotein-logo"] {
  width: 230px !important;
  max-width: 86%;
  height: 84px !important;
  max-height: 84px;
  object-fit: cover;
}

.supplement-brands-page .performance-brand-card img[src*="musclepharm-logo"] {
  object-fit: cover;
  object-position: center;
}

.supplement-brands-page .performance-brand-card img[src*="black_magic_supps-logo"] {
  width: 210px !important;
  max-width: 88%;
  height: 96px !important;
  max-height: 96px;
}

.supplement-brands-page .performance-brand-card[href="/black-magic-supps"] {
  border-color: #151515;
  background: #050505;
}

.supplement-brands-page .performance-brand-card img[src*="glaxon-logo"] {
  width: 210px !important;
  max-width: 88%;
  height: 72px !important;
  max-height: 72px;
}

[data-brand-slug="black_magic_supps"] .brand-live-logo[src*="black_magic_supps-logo"] {
  width: min(360px, 80vw);
  height: 118px;
}

[data-brand-slug="black_magic_supps"] .brand-live-hero {
  width: 100%;
  border-radius: 16px;
  background: #050505;
}

.brand-live-logo[src*="myprotein-logo"],
.supplement-brand-heading img[src*="myprotein-logo"] {
  object-fit: cover;
}

.supplement-goal-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
}

.supplement-goal-intro {
  position: sticky;
  top: 136px;
}

.supplement-goal-intro > p:last-child {
  max-width: 420px;
  color: #607084;
  font-size: 1rem;
  line-height: 1.65;
}

.supplement-goal-links {
  display: grid;
  border-top: 1px solid #cfd9e3;
}

.supplement-goal-links a {
  display: grid;
  grid-template-columns: 70px minmax(150px, 0.8fr) minmax(180px, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 108px;
  border-bottom: 1px solid #cfd9e3;
  padding: 18px 4px;
  transition: padding 180ms ease, background 180ms ease;
}

.supplement-goal-links a:hover,
.supplement-goal-links a:focus-visible {
  background: #fff;
  padding-inline: 18px;
}

.supplement-goal-links span {
  color: #ff6a3d;
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.supplement-goal-links strong {
  color: #0b1f3a;
  font-size: 1.22rem;
}

.supplement-goal-links small { color: #607084; line-height: 1.45; }

.supplement-wholesale-banner {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.8fr) auto;
  gap: 34px;
  align-items: center;
  margin-top: clamp(66px, 8vw, 110px);
  border-left: 8px solid #ff6a3d;
  background: #e8f4f2;
  padding: clamp(30px, 4vw, 54px);
}

.supplement-wholesale-banner h2 { font-size: clamp(30px, 3.6vw, 50px); }

.supplement-wholesale-banner > p {
  margin: 0;
  color: #536579;
  line-height: 1.65;
}

.supplement-wholesale-banner > a {
  color: #0b1f3a;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.supplement-catalog-intro {
  scroll-margin-top: 130px;
  text-align: center;
}

.supplement-hub-finder {
  position: sticky;
  z-index: 30;
  top: 112px;
  margin-top: 28px;
  box-shadow: 0 16px 42px rgba(11, 31, 58, 0.12);
}

.supplement-hub .listing-sections { margin-top: 42px; }

@media (prefers-reduced-motion: reduce) {
  .supplement-hub-orbit,
  .supplement-hero-product--main { animation: none; }
}

@media (max-width: 980px) {
  .supplement-hub-hero { grid-template-columns: 1fr; }
  .supplement-hub-hero__visual { min-height: 500px; }
  .supplement-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .supplement-goal-layout { grid-template-columns: 1fr; }
  .supplement-goal-intro { position: static; }
  .supplement-wholesale-banner { grid-template-columns: 1fr; }
  .supplement-wholesale-banner > a { white-space: normal; }
}

@media (max-width: 680px) {
  main.supplement-hub { padding: 14px 12px 64px; }
  .supplement-hub-hero { min-height: 0; border-radius: 16px; }
  .supplement-hub-hero__copy { padding: 38px 24px 30px; }
  .supplement-hub-hero h1 { font-size: clamp(47px, 14vw, 68px); }
  .supplement-hub-actions { display: grid; }
  .supplement-hub-proof { justify-content: space-between; gap: 12px; margin-top: 30px; }
  .supplement-hub-proof dd { max-width: 78px; }
  .supplement-hub-hero__visual { min-height: 410px; }
  .supplement-hero-product--main { inset: 45px 18% 26px; }
  .supplement-hero-product--left,
  .supplement-hero-product--right { bottom: 42px; width: 38%; height: 42%; }
  .supplement-hero-product--main span { right: -20px; bottom: 36px; }
  .supplement-category-grid { grid-template-columns: 1fr; }
  .supplement-category-card { min-height: 174px; }
  .supplement-hub-heading { align-items: start; flex-direction: column; }
  .supplement-hub-brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .supplement-hub-brand-grid a { min-height: 102px; padding: 16px; }
  .supplement-goal-links a { grid-template-columns: 58px 1fr; gap: 10px; }
  .supplement-goal-links small { grid-column: 2; }
  .supplement-wholesale-banner { gap: 18px; }
  .supplement-hub-finder { position: relative; top: auto; }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--gray);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  overflow-x: clip;
}

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

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

/* Shipping announcement bar */
.ship-bar {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #071426 0%, #0b1f3a 50%, #071426 100%);
  color: var(--white);
  border-bottom: 1px solid rgba(46, 196, 182, 0.28);
}

.ship-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 30%,
    rgba(255, 255, 255, 0.08) 48%,
    rgba(255, 255, 255, 0.14) 50%,
    rgba(255, 255, 255, 0.08) 52%,
    transparent 70%
  );
  transform: translateX(-120%);
  animation: shipShine 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shipShine {
  0%,
  55% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

.ship-bar-inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 7px clamp(14px, 3.6vw, 56px);
  font-size: 0.82rem;
  line-height: 1.2;
}

.ship-ups {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.ship-ups img {
  height: 22px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.ship-lead {
  font-weight: 600;
  color: #e9eef5;
  white-space: nowrap;
}

.ship-free {
  font-weight: 700;
  color: #e9eef5;
  white-space: nowrap;
}

.ship-free .free {
  color: #ffd166;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.ship-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.28);
  flex: none;
}

.ship-rotator {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  height: 1.3em;
  min-width: min(62vw, 380px);
  overflow: hidden;
}

.ship-rotator li {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  white-space: nowrap;
  color: #dfe7f1;
  opacity: 0;
  transform: translateY(130%);
  animation: shipCycle 12s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.ship-rotator li:nth-child(2) {
  animation-delay: 4s;
}

.ship-rotator li:nth-child(3) {
  animation-delay: 8s;
}

/* Two-item rotator (the FREE USA offer is pinned outside the rotator so it
   is always visible; only the international flat rates cycle). */
.ship-rotator-duo {
  min-width: min(40vw, 300px);
}

.ship-rotator-duo li {
  animation: shipCycleDuo 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.ship-rotator-duo li:nth-child(2) {
  animation-delay: 4s;
}

@keyframes shipCycleDuo {
  0% {
    opacity: 0;
    transform: translateY(130%);
  }
  6%,
  44% {
    opacity: 1;
    transform: translateY(0);
  }
  50%,
  100% {
    opacity: 0;
    transform: translateY(-130%);
  }
}

.ship-rotator strong {
  color: var(--teal);
  font-weight: 800;
}

.ship-rotator .free {
  color: #ffd166;
  font-weight: 800;
  letter-spacing: 0.03em;
}

@keyframes shipCycle {
  0% {
    opacity: 0;
    transform: translateY(130%);
  }
  5%,
  28% {
    opacity: 1;
    transform: translateY(0);
  }
  33%,
  100% {
    opacity: 0;
    transform: translateY(-130%);
  }
}

@media (max-width: 640px) {
  .ship-bar-inner {
    flex-wrap: wrap;
    gap: 3px 8px;
    padding: 6px 12px 5px;
    font-size: 0.74rem;
  }
  .ship-lead,
  .ship-divider {
    display: none;
  }
  .ship-free {
    white-space: normal;
    line-height: 1.25;
  }
  .ship-rotator {
    min-width: 0;
    flex: 1 1 100%;
  }
  .ship-rotator li {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ship-bar::after {
    display: none;
  }
  .ship-rotator {
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 14px;
  }
  .ship-rotator li {
    position: static;
    opacity: 1;
    transform: none;
    animation: none;
  }
  .ship-rotator li:not(:last-child)::after {
    content: "\2022";
    margin-left: 14px;
    opacity: 0.5;
  }
}

.market-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(11, 31, 58, 0.18);
}


.header-main {
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 12px clamp(14px, 3.6vw, 56px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-logo {
  display: block;
  height: 44px;
  width: auto;
  object-fit: contain;
}

.eyebrow-logo {
  display: inline-block;
  height: 32px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
}

.market-footer {
  background: #0a1f44;
  color: #ffffff;
  margin-top: 64px;
  font-size: 14px;
  line-height: 1.5;
  overflow: clip;
}

.market-footer a {
  color: #d6dde8;
  text-decoration: none;
  transition: color 0.15s ease;
}

.market-footer a:hover,
.market-footer a:focus-visible {
  color: var(--teal);
  text-decoration: underline;
}

.market-footer a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 2px;
}

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

/* Tier 1 — newsletter band */
.footer-newsletter {
  background: linear-gradient(135deg, #0b1f3a 0%, #102a4e 100%);
  border-top: 3px solid var(--teal);
  padding: 40px 24px;
}

.footer-newsletter-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.footer-newsletter-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.footer-newsletter-headline {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.footer-newsletter-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
}

.footer-newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: stretch;
}

.footer-newsletter-form input[type="email"] {
  height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 15px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.footer-newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.footer-newsletter-form input[type="email"]:focus-visible {
  outline: none;
  border-color: var(--teal);
  background: rgba(255, 255, 255, 0.1);
}

.footer-newsletter-form button {
  height: 48px;
  padding: 0 28px;
  border: none;
  border-radius: 6px;
  background: var(--teal);
  color: #0a1f44;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.footer-newsletter-form button:hover {
  filter: brightness(1.08);
}

.footer-newsletter-form button:active {
  transform: translateY(1px);
}

.footer-newsletter-status {
  grid-column: 1 / -1;
  margin: 0;
  min-height: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.footer-newsletter-status[data-state="error"] {
  color: #ff9b9b;
}

.footer-newsletter-status[data-state="success"] {
  color: var(--teal);
}

/* Tier 2 — back to top */
.footer-backtotop {
  width: 100%;
  background: #102a4e;
  color: #ffffff;
  border: none;
  padding: 18px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.15s ease;
}

.footer-backtotop:hover,
.footer-backtotop:focus-visible {
  background: #163465;
  outline: none;
}

/* Tier 3 — concise company, shopping, and support links */
.footer-main-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h3 {
  margin: 0 0 15px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  font-size: 14px;
  display: inline-block;
  padding: 2px 0;
}

/* Keep the footer focused on live customer destinations. */
.footer-main-grid > .footer-col:nth-child(1) li:not(:first-child),
.footer-main-grid > .footer-col:nth-child(2) li:nth-child(3),
.footer-main-grid > .footer-col:nth-child(2) li:nth-child(4),
.footer-main-grid > .footer-col:nth-child(2) li:nth-child(5),
.footer-main-grid > .footer-col:nth-child(4) li:nth-child(1),
.footer-main-grid > .footer-col:nth-child(4) li:nth-child(2),
.footer-main-grid > .footer-col:nth-child(3) {
  display: none;
}

/* Tier 4 — locale strip */
.footer-locale {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-locale-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-family: inherit;
  font-size: 14px;
  cursor: not-allowed;
  opacity: 0.85;
}

.footer-locale-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.footer-locale-text small {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* Language switcher (replaces the disabled "Language" pill) */
.footer-locale-switch {
  cursor: pointer;
  opacity: 1;
}

.footer-locale-switch select {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 0 18px 0 0;
  margin: 0;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
}

.footer-locale-switch select:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
  border-radius: 4px;
}

.footer-locale-switch select option {
  color: #0b1b34;
}

/* Tier 5 — category mega grid */
.footer-mega {
  background: #081730;
  padding: 0;
}

.footer-mega-col {
  display: flex;
  flex-direction: column;
}

.footer-mega {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 28px 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px 24px;
}

.footer-mega-col h4 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.footer-mega-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-mega-col a {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
  display: inline-block;
  padding: 1px 0;
}

/* The directory stays useful without duplicating marketing and brand links. */
.footer-mega-col:nth-child(3),
.footer-mega-col:nth-child(5),
.footer-mega-col:nth-child(2),
.footer-mega-col li:has(> a[href$="pages/bags.html"]),
.footer-mega-col li:has(> a[href$="pages/bars-shakes.html"]),
.footer-mega-col li:has(> a[href$="pages/greens.html"]),
.footer-mega-col li:has(> a[href$="pages/massage-mobility.html"]),
.footer-mega-col li:has(> a[href$="pages/compression.html"]),
.footer-mega-col li:has(> a[href$="pages/cold-therapy.html"]),
.footer-mega-col li:has(> a[href$="pages/sleep-supplements.html"]),
.footer-mega-col li:has(> a[href$="pages/lifting-gear.html"]),
.footer-mega-col li:has(> a[href$="pages/combat-sports.html"]) {
  display: none;
}

/* Tier 6 — legal bar */
.footer-legal {
  background: #050f22;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  justify-content: center;
  text-align: center;
}

.footer-legal-brand img {
  height: 28px;
  width: auto;
  max-width: 96px;
  display: block;
  opacity: 0.85;
}

.footer-legal-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: center;
}

.footer-legal-links a {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-legal-copy {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  flex-basis: 100%;
}

/* Responsive breakpoints */
@media (max-width: 960px) {
  .footer-main-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .footer-newsletter-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .footer-main-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
    padding: 36px 20px 24px;
  }

  .footer-col h3 {
    font-size: 14px;
    line-height: 1.25;
  }

  .footer-col a {
    font-size: 13px;
  }

  .footer-mega {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 20px;
    padding: 28px 20px;
  }

  .footer-newsletter {
    padding: 32px 20px;
  }

  .footer-newsletter-headline {
    font-size: 22px;
  }

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

  .footer-locale {
    align-items: stretch;
    flex-direction: column;
    padding: 18px 20px;
  }

  .footer-locale-pill {
    justify-content: center;
    width: 100%;
  }

  .footer-legal {
    align-items: center;
    flex-direction: column;
    gap: 14px;
    padding: 24px 20px;
  }
}

.header-actions {
  display: flex;
  justify-self: end;
  gap: 8px;
}

.header-icon-button {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  padding: 0 12px;
  white-space: nowrap;
}

.header-icon-button:hover,
.header-icon-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.08);
}

.header-icon-button:focus-visible,
.department-nav a:focus-visible,
.drawer-close:focus-visible,
.cart-controls button:focus-visible,
.add-cart-button:focus-visible,
.hero-actions a:focus-visible,
.priority-sitelinks a:focus-visible,
.quick-grid a:focus-visible,
.product-card-link:focus-visible,
.nav-toggle:focus-visible,
.catalog-load-more:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.header-icon-button svg,
.drawer-close svg,
.cart-controls button svg {
  display: block;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-action-label {
  font-size: 13px;
  font-weight: 850;
}

/* Amazon-style header language switcher (injected by assets/i18n.js) */
.header-locale {
  position: relative;
  display: inline-flex;
}

.header-locale-button {
  gap: 6px;
}

.header-locale-code {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.header-locale-caret {
  display: block;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.85;
}

.header-locale-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  min-width: 188px;
  padding: 6px;
  background: var(--white, #fff);
  color: #0f1111;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.header-locale-menu[hidden] {
  display: none;
}

.header-locale-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.header-locale-item:hover,
.header-locale-item:focus-visible {
  background: rgba(0, 0, 0, 0.06);
  outline: none;
}

.header-locale-check {
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--teal, #16a3a3);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
}

.header-locale-item.is-active {
  font-weight: 850;
}

.header-locale-item.is-active .header-locale-check {
  opacity: 1;
}

@media (max-width: 720px) {
  .header-locale-caret {
    display: none;
  }
}

.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 950;
  padding: 0 6px;
}

.cart-count[hidden] {
  display: none;
}

.market-search {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 112px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 10px;
  background: var(--white);
}

.market-search:focus-within {
  border-color: var(--teal);
}

.market-search select,
.market-search input,
.market-search button {
  border: 0;
  outline: 0;
}

.market-search select {
  background: #edf2f7;
  color: var(--ink);
  padding: 0 12px;
  font-size: 13px;
}

.market-search input {
  min-width: 0;
  color: var(--ink);
  padding: 13px 16px;
}

.market-search button {
  background: var(--teal);
  color: var(--blue);
  cursor: pointer;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.search-status {
  margin: 18px clamp(14px, 3.6vw, 56px) 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  padding: 12px 14px;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(4, 10, 19, 0.56);
}

body.drawer-is-open {
  overflow: hidden;
}

.drawer-overlay[hidden],
.cart-drawer[hidden],
.account-panel[hidden] {
  display: none;
}

.cart-drawer,
.account-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  display: grid;
  width: min(440px, 100vw);
  max-width: 100vw;
  height: 100dvh;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border-left: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  box-shadow: -20px 0 50px rgba(11, 31, 58, 0.22);
}

.account-panel {
  grid-template-rows: auto 1fr;
  width: min(360px, 100vw);
  background: #ffffff;
}

.account-actions {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px 20px 24px;
}

.account-action-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 12px;
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.account-action-primary:hover,
.account-action-primary:focus-visible {
  background: #132f53;
  outline: none;
}

.account-user-email {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.account-action-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid #cbd6e2;
  border-radius: 12px;
  background: var(--white);
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.account-action-signout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
}

.account-panel-link {
  display: grid;
  gap: 3px;
  padding: 15px 16px;
  border: 1px solid #d5dee8;
  border-radius: 10px;
  background: #fff;
  color: var(--blue);
  text-decoration: none;
}

.account-panel-link span {
  font-size: 15px;
  font-weight: 750;
}

.account-panel-link small {
  color: var(--muted);
  font-size: 12px;
}

.account-panel-link:hover,
.account-panel-link:focus-visible {
  border-color: #8ba0b6;
  background: #f7f9fb;
  outline: none;
}

.account-action-signout:hover,
.account-action-signout:focus-visible {
  color: var(--blue);
  background: #edf3f7;
  outline: none;
}

.account-panel .drawer-header {
  align-items: center;
  border-bottom: 0;
  padding: 20px 20px 8px;
}

.account-panel .drawer-header > div {
  display: grid;
  gap: 8px;
}

.account-panel-logo {
  display: grid;
  width: 66px;
  height: 48px;
  place-items: center;
  margin: 0;
  border-radius: 10px;
  background: var(--blue);
}

.account-panel-logo img {
  display: block;
  width: 52px;
  height: 38px;
  object-fit: contain;
  object-position: center;
}

.account-panel .drawer-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-transform: none;
}

.drawer-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 22px;
}

.drawer-eyebrow {
  margin: 0 0 5px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.drawer-header h2 {
  margin: 0;
  color: var(--blue);
  font-size: 24px;
  line-height: 1;
}

.drawer-close {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--blue);
  cursor: pointer;
  padding: 0;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 12px;
  overflow: auto;
  padding: 18px 22px;
}

.empty-cart {
  display: grid;
  gap: 14px;
  justify-items: center;
  margin: 0;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  padding: 18px;
  text-align: center;
}

.empty-cart p {
  margin: 0;
}

.empty-cart button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  padding: 0 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}

.cart-item[data-validation="invalid"] {
  border-color: rgba(161, 42, 42, 0.34);
  background: rgba(161, 42, 42, 0.04);
}

.cart-item img {
  width: 78px;
  height: 78px;
  border-radius: 8px;
  background: var(--gray);
  object-fit: contain;
}

.cart-item-body {
  display: grid;
  gap: 6px;
}

.cart-item-body span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.cart-item-body h3 {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.15;
}

.cart-item-body strong {
  color: var(--blue);
  font-size: 16px;
}

.cart-item-status {
  margin: 0;
  color: #a12a2a;
  font-size: 12px;
  line-height: 1.35;
}

.cart-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.cart-controls button {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--blue);
  cursor: pointer;
  padding: 0;
}

.cart-controls .cart-remove-button {
  margin-left: auto;
  color: #8b1f1f;
}

.cart-controls span {
  min-width: 20px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
}

.checkout-form,
.account-form {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 18px 22px 22px;
}

.checkout-form[hidden] {
  display: none;
}

.account-form[hidden] {
  display: none;
}

.account-form {
  border-top: 0;
}

.checkout-form label,
.account-form label {
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
}

.checkout-form input,
.account-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  padding: 0 12px;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--blue);
  font-weight: 850;
}

.cart-discount-row {
  color: #08785f;
}

.cart-final-row {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.checkout-access {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
  padding: 0;
}

.checkout-access summary {
  color: var(--blue);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  list-style: none;
  padding: 12px;
}

.checkout-access summary::-webkit-details-marker {
  display: none;
}

.checkout-access summary::after {
  content: "+";
  float: right;
}

.checkout-access[open] summary::after {
  content: "-";
}

.checkout-access-body {
  display: grid;
  gap: 8px;
  padding: 0 12px 12px;
}

.checkout-access-row {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.checkout-access-row button {
  min-height: 44px;
  padding: 0 14px;
}

.checkout-form button,
.account-form button,
.add-cart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: var(--teal);
  color: var(--blue);
  cursor: pointer;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.product-options-button {
  text-align: center;
}

.checkout-form button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.form-note,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.checkout-international-notice {
  border: 1px solid #b8d9e5;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: #f0faf9;
  color: var(--blue);
  padding: 12px;
}

.form-status:empty {
  display: none;
}

.drawer-status {
  margin: 0 22px 14px;
}

.form-status[data-state="success"] {
  color: #08785f;
}

.form-status[data-state="error"] {
  color: #a12a2a;
}

.form-status[data-state="pending"] {
  color: #1a4fa0;
}

/* ---------- Private wholesale application ---------- */
.wholesale-application-body {
  background: #eef7f4;
}

.wholesale-application-shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(24px, 4vw, 52px) 0;
}

.wholesale-application-head {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  padding: 30px;
  border: 1px solid rgba(11, 31, 58, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, #06172f 0%, #0b2548 58%, #123963 100%);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(11, 31, 58, 0.14);
}

.wholesale-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 112px;
  border: 0;
  background: transparent;
}

.wholesale-brand img {
  display: block;
  width: 118px;
  height: 86px;
  object-fit: contain;
}

.wholesale-application-head h1 {
  margin: 4px 0 8px;
  color: var(--white);
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: 0;
}

.wholesale-application-head p {
  max-width: 680px;
  margin: 0;
  color: #d8e5f1;
  font-size: 16px;
  line-height: 1.6;
}

.wholesale-application-head address {
  min-width: 220px;
  color: #e9f7f5;
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  text-align: right;
}

.wholesale-application-form {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 30px) 0 0;
}

.wholesale-form-section {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid #d7e7e1;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(16, 32, 51, 0.05);
}

.wholesale-form-section h2 {
  margin: 0;
  color: var(--blue);
  font-size: 18px;
}

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

.wholesale-field-grid label,
.wholesale-consent {
  display: grid;
  gap: 7px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.wholesale-field-grid input,
.wholesale-field-grid select,
.wholesale-field-grid textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d4e2ea;
  border-radius: 8px;
  background: #fbfdfc;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 12px;
  outline: none;
}

.wholesale-field-grid textarea {
  min-height: 118px;
  resize: vertical;
  line-height: 1.45;
}

.wholesale-product-select {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 14px;
  border: 1px solid #d4e2ea;
  border-radius: 8px;
  background: #f8fcfb;
}

.wholesale-product-select legend {
  grid-column: 1 / -1;
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
  padding: 0 6px;
}

.wholesale-product-select label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.wholesale-product-select input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

.wholesale-field-grid input:focus,
.wholesale-field-grid select:focus,
.wholesale-field-grid textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(46, 196, 182, 0.18);
}

.wholesale-field-grid .span-2 {
  grid-column: 1 / -1;
}

.wholesale-consent {
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  padding: 14px 16px;
  border: 1px solid #c7e5df;
  border-radius: 8px;
  background: #f8fcfb;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.5;
}

.wholesale-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--teal);
}

.wholesale-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
}

.wholesale-form-actions button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: #08756b;
  color: var(--white);
  cursor: pointer;
  font-size: 13px;
  font-weight: 950;
  padding: 0 18px;
  text-transform: uppercase;
}

.wholesale-form-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.wholesale-form-actions button:hover,
.wholesale-form-actions button:focus-visible {
  background: #0b1f3a;
}

.wholesale-form-actions .form-status {
  max-width: 520px;
  font-size: 13px;
}

@media (max-width: 760px) {
  .wholesale-application-head {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 22px;
  }

  .wholesale-application-head address {
    min-width: 0;
    text-align: left;
  }

  .wholesale-field-grid {
    grid-template-columns: 1fr;
  }

  .wholesale-application-head h1 {
    font-size: 32px;
  }

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

  .wholesale-field-grid .span-2 {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .cart-drawer,
  .account-panel {
    width: 100vw;
    border-left: 0;
  }

  .drawer-header {
    padding: 16px;
  }

  .drawer-header h2 {
    font-size: 22px;
  }

  .cart-items {
    gap: 10px;
    padding: 14px 16px;
  }

  .cart-item {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
    padding: 9px;
  }

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

  .cart-controls {
    gap: 6px;
  }

  .cart-controls button {
    width: 42px;
    height: 42px;
  }

  .cart-controls .cart-remove-button {
    margin-left: 0;
  }

  .checkout-form,
  .account-form {
    padding: 14px 16px calc(16px + env(safe-area-inset-bottom));
  }

  .drawer-status {
    margin: 0 16px 12px;
  }
}

.department-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  background: #123157;
  padding: 9px clamp(14px, 3.6vw, 56px);
}

.department-nav a {
  min-width: max-content;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 760;
  padding: 7px 10px;
}

.department-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.department-submenu {
  position: relative;
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.9);
}

.department-submenu summary {
  min-width: max-content;
  border-radius: 7px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 760;
  list-style: none;
  padding: 7px 24px 7px 10px;
  position: relative;
}

.department-submenu summary::-webkit-details-marker {
  display: none;
}

.department-submenu summary::after {
  content: "⌄";
  position: absolute;
  right: 8px;
  top: 5px;
}

.department-submenu[open] summary,
.department-submenu summary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.department-submenu-panel {
  position: fixed;
  z-index: 80;
  display: grid;
  min-width: 220px;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: #0b1f3a;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.25);
  padding: 8px;
}

.department-submenu-panel a {
  display: block;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: 24px;
  align-items: stretch;
  padding: 24px clamp(14px, 3.6vw, 56px) 58px;
  background:
    linear-gradient(120deg, rgba(11, 31, 58, 0.98), rgba(11, 31, 58, 0.78)),
    url("https://images.unsplash.com/photo-1517836357463-d25dfeac3438?auto=format&fit=crop&w=2400&q=85");
  background-position: center;
  background-size: cover;
}

.hero-offers .hero-copy h1 {
  max-width: 360px;
  font-size: 38px;
  line-height: 1;
  text-transform: none;
}

.hero-offers {
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 18px;
  background: linear-gradient(180deg, #f5f8fb, #edf3f8);
}

.hero-offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: stretch;
}

.hero-copy {
  min-height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  color: var(--white);
  padding: clamp(28px, 5vw, 64px);
}

.hero-offers .hero-copy {
  min-height: 0;
  border-color: rgba(11, 31, 58, 0.1);
  background: var(--white);
  color: var(--blue);
  padding: 22px;
  box-shadow: 0 14px 34px rgba(11, 31, 58, 0.08);
}

.hero-offers .hero-copy p:not(.eyebrow) {
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 840px;
  margin-bottom: 18px;
  font-size: clamp(46px, 7vw, 92px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.9;
  text-transform: uppercase;
}

.hero-copy p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-actions a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--teal);
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  padding: 0 22px;
  text-transform: uppercase;
}

.hero-actions a + a {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.hero-deal {
  display: grid;
  align-content: start;
  border-radius: 18px;
  background: var(--white);
  padding: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.hero-deal-primary {
  grid-column: auto;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 6px 14px;
  align-items: center;
}

.hero-deal-primary img {
  grid-row: 1 / span 5;
  width: 96px;
  height: 96px;
  aspect-ratio: 1;
}

.hero-deal-primary .deal-label,
.hero-deal-primary h2,
.hero-deal-primary p,
.hero-deal-primary strong,
.hero-deal-primary .hero-deal-link {
  grid-column: 2;
}

.hero-deal-compact {
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 6px 14px;
  align-items: center;
  min-height: 150px;
}

.hero-deal-compact .deal-label,
.hero-deal-compact h2,
.hero-deal-compact p,
.hero-deal-compact strong,
.hero-deal-compact .hero-deal-link {
  grid-column: 2;
}

.deal-label {
  width: fit-content;
  border-radius: 999px;
  background: rgba(46, 196, 182, 0.12);
  color: var(--blue);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.16em;
  padding: 8px 10px;
  text-transform: uppercase;
}

.hero-deal img {
  grid-row: 1 / span 5;
  width: 96px;
  height: 96px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 4px;
}

.hero-deal h2 {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 20px;
  line-height: 1.05;
}

.hero-deal p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.hero-deal strong {
  color: var(--blue);
  font-size: 20px;
  font-weight: 950;
}

.hero-deal strong span {
  display: block;
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 850;
  text-decoration: line-through;
}

.hero-deal-link {
  display: inline-flex;
  width: fit-content;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(46, 196, 182, 0.14);
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 0 14px;
  text-transform: uppercase;
}

.priority-sitelinks {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0;
  padding: 12px clamp(14px, 3.6vw, 56px);
  overflow-x: auto;
  background: #ffffff;
  border-top: 1px solid rgba(11, 31, 58, 0.08);
  border-bottom: 1px solid rgba(11, 31, 58, 0.08);
  scrollbar-width: none;
}

.priority-sitelinks::-webkit-scrollbar {
  display: none;
}

.priority-sitelinks a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #f5f7fa;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  padding: 0 14px;
  white-space: nowrap;
}

.priority-sitelinks a:hover {
  color: #067c73;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: -58px clamp(14px, 3.6vw, 56px) 0;
  position: relative;
  z-index: 2;
}

.quick-grid article,
.market-section {
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(11, 31, 58, 0.08);
}

.quick-grid article {
  min-height: 220px;
  padding: 22px;
}

.quick-grid h2 {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 24px;
  line-height: 1;
}

.quick-grid p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.quick-grid a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 850;
}

.home-category-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: -46px;
}

.home-category-grid article {
  min-height: 168px;
}

.home-category-grid .home-brand-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 172px;
  padding: 24px;
}

.home-brand-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
}

.home-brand-link img {
  display: block;
  max-width: 100%;
  max-height: 118px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.home-category-grid h2 {
  font-size: 21px;
}

.home-body .hero.hero-offers {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  background: #f3f7fa;
  padding: 18px clamp(14px, 3.6vw, 56px) 52px;
}

.home-body .hero.hero-offers.hero-offers-cards-only {
  grid-template-columns: minmax(0, 1fr);
}

.home-body .hero.hero-offers .hero-copy {
  min-height: 0;
  border: 1px solid rgba(11, 31, 58, 0.1);
  border-radius: 12px;
  background: #fff;
  color: var(--blue);
  padding: 20px;
  box-shadow: 0 10px 24px rgba(11, 31, 58, 0.08);
}

.home-body .hero.hero-offers .hero-copy h1 {
  max-width: none;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 34px;
  line-height: 1;
  text-transform: none;
}

.home-body .hero.hero-offers .hero-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.home-body .hero.hero-offers .hero-actions {
  margin-top: 18px;
}

.home-body .hero-offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.home-body .hero-offer-grid .hero-deal {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 5px 12px;
  min-height: 136px;
  align-items: center;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 10px 24px rgba(11, 31, 58, 0.08);
}

.home-body .hero-offer-grid .hero-deal img {
  grid-row: 1 / span 5;
  width: 92px;
  height: 92px;
  padding: 4px;
  object-fit: contain;
}

.home-body .hero-offer-grid .hero-deal .deal-label,
.home-body .hero-offer-grid .hero-deal h2,
.home-body .hero-offer-grid .hero-deal p,
.home-body .hero-offer-grid .hero-deal strong,
.home-body .hero-offer-grid .hero-deal .hero-deal-link {
  grid-column: 2;
}

.home-body .hero-offer-grid .hero-deal h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.05;
}

.home-body .hero-offer-grid .hero-deal p {
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
}

.home-body .hero-offer-grid .hero-deal strong {
  font-size: 18px;
  line-height: 1;
}

.market-section {
  margin: 22px clamp(14px, 3.6vw, 56px);
  padding: 22px;
}

.shelf-band {
  background: linear-gradient(180deg, var(--white), #edf9f7);
}

.section-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 24px;
  align-items: end;
  margin-bottom: 18px;
}

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

.section-title h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 950;
  line-height: 0.92;
  text-transform: uppercase;
}

.section-title > p {
  color: var(--muted);
  line-height: 1.6;
}

.product-row {
  display: grid;
  grid-auto-columns: minmax(220px, 1fr);
  grid-auto-flow: column;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
}

.product-card {
  overflow: hidden;
  min-width: 220px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  scroll-snap-align: start;
}


.product-image {
  display: flex;
  aspect-ratio: 1 / 1;
  align-items: center;
  justify-content: center;
  background: var(--gray);
}

.product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.product-body {
  display: grid;
  min-height: 216px;
  grid-template-rows: auto 1fr auto auto auto;
  gap: 8px;
  padding: 15px;
}

.product-body span,
.product-body p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.product-body h3 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.08;
}

.product-price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.product-price-line s {
  color: var(--muted);
}

.product-body strong,
.product-price-line strong {
  color: var(--blue);
  font-size: 21px;
  font-weight: 950;
  text-decoration: none;
}

.product-price-line span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-decoration: line-through;
  text-transform: none;
}

.product-price-line .product-compare-price {
  color: var(--muted);
  font-size: 15px;
  font-weight: 750;
  text-decoration: line-through;
}


.product-body .product-deal-note {
  color: #08785f;
  font-size: 11px;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: none;
}

.mini-copy {
  display: grid;
  background:
    linear-gradient(135deg, rgba(46, 196, 182, 0.12), rgba(255, 255, 255, 0.92)),
    var(--white);
}

.mini-copy .product-body {
  min-height: 100%;
  align-content: end;
}

.brand-section {
  background: var(--blue);
  color: var(--white);
}

.brand-section .section-title h2,
.brand-section .section-title > p {
  color: var(--white);
}

.brand-groups {
  display: grid;
  gap: 26px;
}

.brand-groups h3 {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 18px;
  font-weight: 950;
  text-transform: uppercase;
}

.brand-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-cloud span {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 11px 14px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1050px) {
  .header-main {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .market-search {
    grid-column: 1 / -1;
    order: 2;
  }

  .hero,
  .section-title {
    grid-template-columns: 1fr;
  }

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

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

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

  .category-hero-media {
    padding-top: 0;
  }

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

  .category-guide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-main {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .brand-logo {
    height: 38px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-icon-button {
    width: 42px;
    padding: 0;
  }

  .header-action-label {
    display: none;
  }

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

  .market-search button {
    grid-column: 1 / -1;
    min-height: 42px;
  }

  .hero {
    padding-bottom: 28px;
  }

  .hero-copy {
    min-height: 0;
  }

  .quick-grid {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .product-row {
    grid-auto-columns: minmax(210px, 78vw);
  }

  .category-hero-copy {
    padding: 28px 20px 20px;
  }

  .category-hero-media {
    padding: 0 20px 20px;
  }

  .category-hero h1 {
    font-size: clamp(34px, 13vw, 54px);
  }

  .category-stats,
  .category-feature-grid {
    grid-template-columns: 1fr;
  }

  .category-button {
    width: 100%;
  }
}

/* =====================================================================
   Auth drawer (sign in / create account / forgot password)
   ===================================================================== */
.auth-tabs {
  display: flex;
  gap: 4px;
  padding: 12px 22px 0;
  border-bottom: 1px solid var(--line);
}
.auth-tabs button {
  flex: 1;
  min-height: 38px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  padding: 0 6px 10px;
}
.auth-tabs button[aria-selected="true"] {
  color: var(--blue);
  border-bottom-color: var(--teal);
}
.auth-body {
  overflow: auto;
  padding: 0;
}
.auth-form[hidden] { display: none; }
.auth-form {
  border-top: 0;
}
.auth-signed[hidden] { display: none; }
.auth-signed {
  display: grid;
  gap: 12px;
  padding: 22px;
}
.auth-greeting {
  margin: 0;
  color: var(--blue);
  font-size: 18px;
  font-weight: 850;
}
.auth-email {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.auth-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  background: var(--teal);
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  text-decoration: none;
}
.auth-secondary {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--blue);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

/* =====================================================================
   Header account greeting + dropdown menu
   ===================================================================== */
.header-account {
  position: relative;
}
.account-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}
.account-greeting {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  gap: 2px;
}
.account-greeting-line {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.account-greeting-sub {
  font-size: 13px;
  font-weight: 950;
}
.header-caret {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  opacity: 0.75;
}
.account-menu[hidden] { display: none; }
.account-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 95;
  width: 360px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(11, 31, 58, 0.28);
  padding: 14px;
}
.account-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 28px;
  width: 14px;
  height: 14px;
  background: var(--white);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: rotate(45deg);
}
.account-menu-cta {
  display: grid;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.menu-signin {
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  background: var(--teal);
  color: var(--blue);
  font-weight: 950;
  cursor: pointer;
}
.menu-newcustomer {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}
.menu-newcustomer a {
  color: #0066c0;
  text-decoration: underline;
}
.account-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-top: 12px;
}
.account-menu-grid h4 {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--blue);
}
.account-menu-grid a {
  display: block;
  padding: 3px 0;
  color: #232f3e;
  font-size: 13px;
}
.account-menu-grid a:hover {
  color: #c7511f;
  text-decoration: underline;
}

/* =====================================================================
   Customer account hub
   ===================================================================== */
.account-hub[hidden] { display: none; }
.account-hub {
  background: #f7f8fa;
  min-height: calc(100dvh - 200px);
}
.account-hub-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px clamp(14px, 3.2vw, 36px) 56px;
  color: var(--ink);
}
.hub-breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}
.hub-breadcrumb a,
.account-module-head a,
.hub-signin-new a { color: #0066c0; }
.hub-breadcrumb a:hover,
.account-module-head a:hover,
.hub-signin-new a:hover { text-decoration: underline; color: #c7511f; }
.hub-breadcrumb span { margin: 0 6px; color: var(--muted); }

.account-eyebrow {
  margin: 0 0 6px;
  color: #0b7f78;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.account-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: 20px;
  align-items: stretch;
  border: 1px solid #cfdbe9;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  padding: clamp(18px, 2.8vw, 26px);
  box-shadow: 0 2px 8px rgba(11, 31, 58, 0.05);
}
.account-hero .account-eyebrow { color: #0b7f78; }
.account-hero-copy h1 {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.12;
  font-weight: 750;
  text-transform: none;
}
.account-email {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}
.account-hero-line {
  max-width: 640px;
  margin: 0;
  color: #42566f;
  font-size: 15px;
  line-height: 1.55;
}
.account-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.account-summary-card {
  min-height: 82px;
  border: 1px solid #d8e0e9;
  border-radius: 10px;
  background: #f8fafc;
  padding: 14px;
}
.account-summary-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.account-summary-card strong {
  display: block;
  color: var(--blue);
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.1;
  font-weight: 750;
}

.account-action-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 18px;
}
.account-action-strip a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfdbe9;
  border-radius: 8px;
  background: var(--white);
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  padding: 8px 10px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.account-action-strip a:hover,
.account-action-strip a:focus-visible {
  border-color: var(--teal);
  box-shadow: 0 8px 18px rgba(11, 31, 58, 0.1);
  transform: translateY(-1px);
  outline: none;
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 16px;
  margin-top: 16px;
  align-items: start;
}
.account-main-column,
.account-side-column {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.account-module {
  border: 1px solid #d5deea;
  border-radius: 12px;
  background: var(--white);
  min-width: 0;
  padding: 18px;
  box-shadow: 0 2px 8px rgba(11, 31, 58, 0.04);
}
.account-module-head {
  display: flex;
  gap: 16px;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 14px;
}
.account-module-head.compact { margin-bottom: 10px; }
.account-module-head h2 {
  margin: 0;
  color: var(--blue);
  font-size: 20px;
  line-height: 1.15;
  font-weight: 750;
}
.account-module-head a {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 850;
}
.account-loading {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.recent-orders-list {
  display: grid;
  gap: 10px;
}
.account-order-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  padding: 12px;
}
.account-order-media {
  display: flex;
  width: 76px;
  height: 76px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--gray);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}
.account-order-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}
.account-order-title-row {
  display: flex;
  gap: 12px;
  justify-content: space-between;
}
.account-order-title-row h3 {
  margin: 0 0 4px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 950;
}
.account-order-title-row p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.account-order-title-row strong {
  color: var(--blue);
  font-size: 15px;
  font-weight: 950;
  white-space: nowrap;
}
.account-order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.account-order-meta span {
  border: 1px solid #d5deea;
  border-radius: 999px;
  background: var(--white);
  color: #42566f;
  font-size: 11px;
  font-weight: 850;
  padding: 4px 8px;
}
.account-order-cta,
.account-empty-actions a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  padding: 0 14px;
  text-align: center;
}
.account-order-cta:hover,
.account-empty-actions a:hover {
  background: #12345d;
}

.account-empty-state {
  border: 1px dashed #c6d3e3;
  border-radius: 8px;
  background: #f8fbff;
  padding: 18px;
}
.account-empty-state.compact { min-width: 260px; }
.account-empty-state h3 {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 950;
}
.account-empty-state p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.account-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.account-empty-actions a:nth-child(2),
.account-empty-actions a:nth-child(3) {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue);
}
.account-empty-actions a:nth-child(2):hover,
.account-empty-actions a:nth-child(3):hover { background: var(--gray); }

.account-product-row {
  display: grid;
  grid-auto-columns: minmax(178px, 1fr);
  grid-auto-flow: column;
  gap: 12px;
  min-width: 0;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scroll-snap-type: x proximity;
}
.account-product-card {
  min-width: 178px;
  border-radius: 8px;
}
.account-product-card .product-image {
  aspect-ratio: 1 / 0.86;
}
.account-product-card .product-image img { padding: 12px; }
.account-product-card .product-body {
  min-height: 220px;
  gap: 7px;
  padding: 12px;
}
.account-product-card .product-body h3 {
  display: -webkit-box;
  min-height: 38px;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.25;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.account-product-card .product-body strong,
.account-product-card .product-price-line strong { font-size: 18px; }
.account-stock-state {
  color: #08785f !important;
  font-size: 11px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.account-product-card .add-cart-button {
  min-height: 36px;
  border-radius: 8px;
  font-size: 12px;
}

.account-link-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.account-link-list a,
.account-link-button {
  display: grid;
  gap: 3px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  padding: 12px 0;
  text-align: left;
}
.account-link-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}
.account-link-list a:hover,
.account-link-button:hover { color: #c7511f; }
.account-link-list a:focus-visible,
.account-link-button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
.shopping-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.shopping-shortcuts a {
  border: 1px solid #d5deea;
  border-radius: 999px;
  background: #f8fbff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  padding: 8px 10px;
}
.shopping-shortcuts a:hover {
  border-color: var(--teal);
  background: #effffc;
}

.account-reset-form {
  max-width: 400px;
}

.hub-signin {
  max-width: 460px;
  margin: 80px auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  background: var(--white);
}
.hub-signin h1 {
  margin: 0 0 8px;
  font-size: 26px;
  color: var(--blue);
}
.hub-signin-sub {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}
.hub-signin-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: var(--teal);
  color: var(--blue);
  cursor: pointer;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
  padding: 0 22px;
}
.hub-signin-new {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1120px) {
  .account-hero,
  .account-layout { grid-template-columns: 1fr; }
  .account-action-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .account-menu { width: min(320px, 92vw); right: -10px; }
  .account-hub-inner { padding: 16px 14px 44px; }
  .hub-breadcrumb { display: none; }
  .account-hero { padding: 18px; gap: 16px; }
  .account-hero-copy h1 { font-size: 27px; }
  .account-hero-line { font-size: 14px; }
  .account-summary-grid,
  .account-action-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-action-strip a { min-height: 44px; font-size: 12px; }
  .account-module { padding: 14px; }
  .account-module-head { align-items: flex-start; }
  .account-order-card { grid-template-columns: 62px minmax(0, 1fr); }
  .account-order-media { width: 62px; height: 62px; }
  .account-order-cta { grid-column: 1 / -1; width: 100%; }
  .account-order-title-row { display: grid; }
  .account-order-title-row strong { white-space: normal; }
}

@media (max-width: 460px) {
  .account-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-summary-card { min-height: 74px; padding: 12px; }
  .account-product-row { grid-auto-columns: minmax(164px, 78vw); }
}

/* ============================================================== */
/* Informational / footer pages                                    */
/* ============================================================== */
.info-body {
  background: var(--white);
}

.info-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 24px 88px;
}

.info-hero {
  border-bottom: 1px solid var(--line);
  padding-bottom: 34px;
}

.info-hero h1 {
  color: var(--blue);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  margin: 8px 0 16px;
  max-width: 820px;
}

.info-hero > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
  max-width: 820px;
}

.category-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: stretch;
  margin-bottom: 22px;
  border: 1px solid rgba(11, 31, 58, 0.1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(46, 196, 182, 0.16), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f3fbfa 52%, #eef4fb 100%);
  box-shadow: 0 18px 48px rgba(11, 31, 58, 0.08);
  overflow: hidden;
}

.category-hero-sales {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  background:
    linear-gradient(90deg, rgba(11, 31, 58, 0.04), transparent 42%),
    radial-gradient(circle at 100% 0%, rgba(46, 196, 182, 0.2), transparent 32%),
    #ffffff;
}

.category-hero-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(28px, 5vw, 54px);
}

.category-kicker {
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.22em;
  margin: 0;
  text-transform: uppercase;
}

.category-hero h1 {
  color: var(--blue);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 950;
  line-height: 0.96;
  margin: 0;
  max-width: 780px;
  text-transform: uppercase;
}

.category-hero-copy > p:not(.category-kicker) {
  color: #4f6178;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
  margin: 0;
  max-width: 740px;
}

.category-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.category-button {
  align-items: center;
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 6px;
  color: var(--white);
  display: inline-flex;
  font-size: 13px;
  font-weight: 950;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  text-transform: uppercase;
}

.category-hero-sales .category-button {
  min-height: 46px;
}

.category-button:hover,
.category-button:focus-visible {
  background: #14365f;
  border-color: #14365f;
}

.category-button.secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--blue);
}

.category-button.secondary:hover,
.category-button.secondary:focus-visible {
  background: #ffffff;
  border-color: rgba(46, 196, 182, 0.8);
}

.category-stats {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 10px;
}

.category-stat {
  border-left: 3px solid var(--teal);
  color: #4f6178;
  font-size: 13px;
  line-height: 1.45;
  min-width: 0;
  padding-left: 12px;
}

.category-stat strong {
  color: var(--blue);
  display: block;
  font-size: 18px;
  line-height: 1.2;
}

.category-hero-media {
  display: grid;
  min-height: 100%;
  padding: clamp(18px, 3vw, 34px);
}

.category-hero-card {
  align-self: stretch;
  background: #ffffff;
  border: 1px solid rgba(221, 229, 239, 0.95);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(11, 31, 58, 0.1);
  display: grid;
  gap: 14px;
  overflow: hidden;
  padding: 18px;
}

.category-hero-sales .category-hero-media {
  align-content: stretch;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-hero-sales .category-hero-card {
  align-content: start;
  min-height: 100%;
}

.category-hero-card img {
  aspect-ratio: 1 / 1;
  background: var(--gray);
  border-radius: 6px;
  display: block;
  height: auto;
  object-fit: contain;
  padding: 18px;
  width: 100%;
}

.category-hero-card h2,
.category-hero-card h3 {
  color: var(--blue);
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.05;
  margin: 0;
}

.category-hero-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.category-hero-card .category-button {
  margin-top: 14px;
  width: 100%;
}

.category-feature-grid,
.category-guide {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

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

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

.category-feature-card,
.category-guide-card,
.category-note {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.05);
  padding: 18px;
}

.category-feature-card {
  min-height: 154px;
}

.category-shop-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 174px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.category-shop-card:hover {
  border-color: rgba(46, 196, 182, 0.8);
  box-shadow: 0 16px 34px rgba(11, 31, 58, 0.1);
  transform: translateY(-1px);
}

.category-feature-card h2,
.category-feature-card h3,
.category-guide-card h2,
.category-guide-card h3 {
  color: var(--blue);
  font-size: 18px;
  line-height: 1.15;
  margin: 0 0 8px;
}

.category-feature-card p,
.category-guide-card p,
.category-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.category-feature-card p,
.category-guide-card p {
  margin: 0;
}

.category-mini-link {
  align-self: end;
  color: var(--blue);
  display: inline-flex;
  font-size: 13px;
  font-weight: 950;
  margin-top: 6px;
  text-transform: uppercase;
}

.category-mini-link:hover,
.category-mini-link:focus-visible {
  color: var(--teal);
  text-decoration: underline;
}

.category-stack-builder .category-guide-card {
  display: grid;
  gap: 8px;
}

.category-stack-builder .category-guide-card .category-button {
  align-self: end;
  margin-top: 8px;
  width: 100%;
}

.category-note {
  margin: 18px 0 0;
}

.category-guide > .category-note {
  grid-column: 1 / -1;
}

.info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.info-actions a {
  align-items: center;
  background: var(--blue);
  border-radius: 8px;
  color: var(--white);
  display: inline-flex;
  font-size: 14px;
  font-weight: 850;
  min-height: 42px;
  padding: 0 18px;
}

.info-actions a:hover {
  background: #14365f;
}

.info-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 34px;
}

.info-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.info-section h2 {
  color: var(--blue);
  font-size: 18px;
  margin: 0 0 10px;
}

.info-section p,
.info-section li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.info-section p {
  margin: 0;
}

.info-section ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.listing-main {
  max-width: 1280px;
}

.listing-main .info-grid {
  max-width: 1080px;
}

.directory-groups {
  display: grid;
  gap: 28px;
  margin-top: 34px;
}

.directory-group {
  display: grid;
  gap: 14px;
}

.directory-group h2 {
  margin: 0;
  color: var(--blue);
  font-size: 22px;
}

.directory-group-collapsible {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fafc;
  padding: 0;
}

.directory-group-collapsible summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  color: var(--blue);
  font-size: 18px;
  font-weight: 900;
  list-style: none;
  padding: 18px;
}

.directory-group-collapsible summary::-webkit-details-marker {
  display: none;
}

.directory-group-collapsible summary::after {
  content: "+";
  font-size: 24px;
}

.directory-group-collapsible[open] summary::after {
  content: "−";
}

.directory-group-collapsible summary span {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.directory-group-collapsible .directory-grid {
  padding: 0 18px 18px;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.directory-card {
  display: grid;
  min-height: 92px;
  align-content: start;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--blue);
  padding: 16px;
}

.directory-card:hover,
.directory-card:focus-visible {
  border-color: rgba(46, 196, 182, 0.7);
  box-shadow: 0 10px 26px rgba(11, 31, 58, 0.08);
}

.directory-card span {
  font-size: 15px;
  font-weight: 950;
  line-height: 1.2;
}

.directory-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.listing-sections {
  display: grid;
  gap: 28px;
  margin-top: 34px;
}

.listing-section {
  margin: 0;
  border: 1px solid var(--line);
  box-shadow: none;
  scroll-margin-top: 150px;
}

.listing-section:nth-child(even) {
  background: #f8fafc;
}

.listing-main .product-row {
  grid-auto-flow: initial;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  overflow: visible;
  scroll-snap-type: none;
}

.listing-finder {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
  align-items: end;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.06);
  padding: 18px;
}

.listing-finder.listing-finder-single {
  grid-template-columns: minmax(0, 1fr);
}

body[data-live-category="shin-guards"]:not(.live-category-ready) .listing-sections,
body[data-live-category]:not(.live-category-ready) .listing-quick-links {
  visibility: hidden;
}

.listing-finder-single .listing-finder-search {
  width: 100%;
}

.brand-category-filter {
  position: relative;
  margin: 16px 0 10px;
  z-index: 20;
}

.brand-live-page [data-brand-count] {
  display: none;
}

.supplement-brand-page [data-brand-count] {
  display: block;
}

body[data-live-category] [data-listing-count] {
  display: none;
}

.collection-category-menu {
  position: relative;
  margin: 14px 0 10px;
  z-index: 20;
}

.supplements-discovery-menus {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.supplements-discovery-menus .collection-category-menu {
  margin: 0;
}

.collection-brand-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 10px 0 18px;
  border-top: 1px solid #dbe3ec;
  border-bottom: 1px solid #dbe3ec;
  background: #fff;
  padding: 8px 10px;
}

.collection-brand-menu > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-right: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.collection-brand-menu a {
  border-bottom: 2px solid transparent;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  padding: 9px 10px 7px;
  text-decoration: none;
}

.collection-brand-menu a:hover,
.collection-brand-menu a:focus-visible {
  color: #087f79;
}

.collection-brand-menu a.is-active {
  border-bottom-color: var(--teal);
}

.brand-category-menu {
  position: relative;
  width: min(340px, 100%);
}

.brand-category-menu summary {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #b9c7d8;
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  list-style: none;
  padding: 0 16px;
}

.brand-category-menu summary::-webkit-details-marker {
  display: none;
}

.brand-category-menu summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 150ms ease;
}

.brand-category-menu[open] summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
}

.brand-category-menu-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  display: grid;
  width: min(560px, calc(100vw - 32px));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  border: 1px solid #cdd8e5;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(11, 31, 58, 0.18);
  padding: 10px;
}

.brand-category-menu-panel a {
  border-radius: 7px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
  padding: 11px 12px;
  text-decoration: none;
}

.brand-category-menu-panel a:hover,
.brand-category-menu-panel a:focus-visible {
  background: #eef7f7;
  color: #087f79;
}

.brand-category-menu-panel a.is-active {
  background: #edf3fa;
  font-weight: 900;
}

@media (max-width: 760px) {
  .brand-category-filter {
    margin-left: 0;
    margin-right: 0;
  }

  .brand-category-menu,
  .brand-category-menu-panel {
    width: 100%;
  }

  .brand-category-menu-panel {
    grid-template-columns: 1fr;
  }
}

.listing-finder-search {
  display: grid;
  gap: 7px;
}

.listing-finder-search label {
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.listing-finder-search > div {
  display: grid;
  grid-template-columns: 1fr auto;
}

.listing-finder-search input {
  min-width: 0;
  min-height: 46px;
  border: 1px solid #b9c7d8;
  border-radius: 8px 0 0 8px;
  color: var(--blue);
  font: inherit;
  padding: 0 13px;
}

.listing-finder-search button {
  min-height: 46px;
  border: 0;
  border-radius: 0 8px 8px 0;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  font-weight: 850;
  padding: 0 16px;
}

.listing-finder-search p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.listing-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.listing-quick-links a {
  border: 1px solid #cdd8e5;
  border-radius: 999px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  padding: 8px 12px;
}

.listing-quick-links a:hover,
.listing-quick-links a:focus-visible {
  border-color: var(--teal);
  background: #e8faf7;
}

.product-card[hidden] {
  display: none;
}

.listing-shelf-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 18px 24px 24px;
}

.listing-shelf-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.listing-shelf-footer button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  font-weight: 850;
  padding: 0 22px;
}

.listing-shelf-footer button:hover,
.listing-shelf-footer button:focus-visible {
  background: #15345f;
  outline: 3px solid rgba(46, 196, 182, 0.35);
  outline-offset: 2px;
}

.listing-empty {
  border: 1px dashed #b9c7d8;
  border-radius: 10px;
  background: var(--white);
  color: var(--muted);
  margin: 28px 0 0;
  padding: 24px;
  text-align: center;
}

.commerce-category-main {
  max-width: 1440px;
  padding-top: 28px;
}

.commerce-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #f4fbfa 58%, #edf4fb 100%);
  box-shadow: 0 18px 44px rgba(11, 31, 58, 0.08);
  padding: 18px;
}

.commerce-hero-copy {
  display: grid;
  align-content: center;
  gap: 16px;
  min-width: 0;
  padding: clamp(14px, 2vw, 24px);
}

.commerce-kicker {
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.2em;
  margin: 0;
  text-transform: uppercase;
}

.commerce-hero h1 {
  color: var(--blue);
  font-size: clamp(40px, 5vw, 70px);
  font-weight: 950;
  line-height: 0.94;
  margin: 0;
  text-transform: uppercase;
}

.commerce-hero-copy > p:not(.commerce-kicker) {
  color: #4f6178;
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
}

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

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

.commerce-metrics div {
  border: 1px solid rgba(46, 196, 182, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  padding: 12px;
}

.commerce-metrics strong {
  color: var(--blue);
  display: block;
  font-size: 22px;
  line-height: 1;
}

.commerce-metrics span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  line-height: 1.35;
  margin-top: 5px;
}

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

.commerce-hero-products .product-card,
.commerce-product-card {
  min-width: 0;
}

.commerce-hero-products .product-image {
  aspect-ratio: 1 / 0.82;
}

.commerce-hero-products .product-body {
  gap: 8px;
  padding: 12px;
}

.commerce-hero-products .product-body h3 {
  font-size: 14px;
}

.commerce-chip-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.commerce-chip-row a {
  align-items: center;
  background: var(--blue);
  border-radius: 6px;
  color: var(--white);
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  min-height: 38px;
  min-width: max-content;
  padding: 0 14px;
  text-transform: uppercase;
}

.commerce-chip-row a:hover,
.commerce-chip-row a:focus-visible {
  background: #14365f;
}

.commerce-chip-row span {
  color: var(--teal);
  margin-left: 6px;
}

.commerce-brand-strip {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  margin-top: 18px;
  padding: 18px;
}

.commerce-brand-strip h2,
.commerce-bottom-cta h2 {
  color: var(--blue);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
  margin: 6px 0 0;
  text-transform: uppercase;
}

.commerce-brand-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.commerce-brand-list a {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue);
  display: grid;
  gap: 5px;
  min-height: 68px;
  padding: 12px;
}

.commerce-brand-list a:hover,
.commerce-brand-list a:focus-visible {
  border-color: rgba(46, 196, 182, 0.8);
  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.08);
}

.commerce-brand-list strong {
  font-size: 14px;
  line-height: 1.15;
}

.commerce-brand-list span {
  color: var(--muted);
  font-size: 12px;
}

.commerce-listing-sections {
  gap: 18px;
}

.commerce-shelf {
  padding: 18px;
}

.commerce-shelf .section-title {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
}

.commerce-shelf .section-title h2 {
  font-size: clamp(26px, 3vw, 42px);
}

.commerce-shelf .product-row {
  grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
  gap: 12px;
}

.commerce-product-card .product-image img {
  padding: 14px;
}

.commerce-product-card .product-body {
  padding: 13px;
}

.commerce-product-card .product-body h3 {
  font-size: 15px;
}

.commerce-product-card .add-cart-button {
  min-height: 38px;
}

.commerce-bottom-cta {
  align-items: center;
  background: var(--blue);
  border-radius: 8px;
  color: var(--white);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 22px;
  padding: 22px;
}

.commerce-bottom-cta h2 {
  color: var(--white);
}

.commerce-bottom-cta p:not(.commerce-kicker) {
  color: rgba(255, 255, 255, 0.74);
  margin: 8px 0 0;
}

@media (max-width: 1050px) {
  .category-hero,
  .category-hero-sales {
    grid-template-columns: 1fr;
  }

  .category-hero-media {
    padding-top: 0;
  }

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

  .category-hero-sales .category-hero-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-guide {
    grid-template-columns: 1fr;
  }

  .commerce-hero,
  .commerce-brand-strip,
  .commerce-bottom-cta {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .info-main {
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
    width: 100%;
  }

  .category-hero {
    max-width: 100%;
    width: 100%;
  }

  .category-hero * {
    min-width: 0;
  }

  .category-hero-copy {
    padding: 28px 20px 20px;
  }

  .category-hero-media {
    padding: 0 20px 20px;
  }

  .category-hero h1 {
    font-size: 34px;
    line-height: 1.02;
    max-width: 100%;
    overflow-wrap: break-word;
    text-wrap: balance;
  }

  .category-hero-copy > p:not(.category-kicker) {
    font-size: 16px;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .category-stats,
  .category-feature-grid,
  .category-hero-sales .category-hero-media {
    grid-template-columns: 1fr;
  }

  .category-button {
    width: 100%;
  }

  .commerce-category-main {
    padding-top: 18px;
  }

  .commerce-hero {
    padding: 12px;
  }

  .commerce-hero-copy {
    padding: 10px;
  }

  .commerce-hero h1 {
    font-size: 36px;
    line-height: 1;
  }

  .commerce-metrics,
  .commerce-hero-products,
  .commerce-brand-list {
    grid-template-columns: 1fr;
  }

  .commerce-shelf {
    padding: 14px;
  }

  .commerce-shelf .section-title {
    grid-template-columns: 1fr;
  }

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

  .commerce-product-card .product-body h3 {
    font-size: 13px;
  }

  .commerce-product-card .product-body {
    padding: 10px;
  }
}

@media (max-width: 420px) {
  .category-hero h1 {
    font-size: 30px;
  }
}

/* ============================================================== */
/* Commerce workflows: confirmation, tracking, returns             */
/* ============================================================== */
.commerce-body {
  background: var(--gray);
}

.commerce-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.commerce-nav a {
  color: var(--white);
  font-size: 13px;
  font-weight: 850;
  padding: 8px 10px;
}

.pdp-header .commerce-nav a {
  color: var(--white);
}

.commerce-nav a:hover,
.commerce-nav a[aria-current="page"] {
  color: var(--teal);
}

.commerce-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 44px 24px 78px;
}

.commerce-hero {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.commerce-hero h1 {
  color: var(--blue);
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.02;
  margin: 0;
  max-width: 760px;
}

.commerce-hero p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
  max-width: 780px;
}

.commerce-hero [data-state="pending"],
.form-status[data-state="pending"] {
  color: #7a4d00;
}

.commerce-hero [data-state="success"],
.form-status[data-state="success"] {
  color: #0d6f64;
}

.commerce-hero [data-state="error"],
.form-status[data-state="error"] {
  color: #a33a1a;
}

.commerce-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.commerce-grid-form {
  align-items: start;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
}

.commerce-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.commerce-panel-wide {
  grid-column: 1 / -1;
}

.commerce-panel h2 {
  color: var(--blue);
  font-size: 20px;
  margin: 0 0 12px;
}

.commerce-muted,
.commerce-panel p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.commerce-meta,
.order-totals {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.commerce-meta div,
.order-totals div {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.commerce-meta dt,
.order-totals dt {
  color: var(--muted);
  font-size: 13px;
}

.commerce-meta dd,
.order-totals dd {
  color: var(--blue);
  font-weight: 850;
  margin: 0;
  text-align: right;
}

.order-totals div:last-child {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.order-kicker {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.order-status-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-top: 16px;
}

.order-status-grid span {
  background: var(--gray);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue);
  display: grid;
  font-size: 14px;
  font-weight: 850;
  gap: 4px;
  min-height: 68px;
  padding: 12px;
  text-transform: capitalize;
}

.order-status-grid small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.order-lines {
  display: grid;
  gap: 10px;
}

.order-line {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  min-height: 82px;
  padding: 10px;
}

.order-line img {
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: contain;
  width: 62px;
}

.order-line h3 {
  color: var(--blue);
  font-size: 14px;
  line-height: 1.35;
  margin: 0;
}

.order-line p {
  color: var(--muted);
  font-size: 13px;
  margin: 3px 0 0;
}

.order-line strong {
  color: var(--blue);
  font-size: 14px;
  white-space: nowrap;
}

.order-timeline {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.order-timeline li {
  border-left: 3px solid var(--teal);
  display: grid;
  gap: 3px;
  padding: 2px 0 2px 12px;
}

.order-timeline strong {
  color: var(--blue);
  font-size: 14px;
  text-transform: capitalize;
}

.order-timeline span,
.order-timeline time {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.commerce-form {
  display: grid;
  gap: 10px;
}

.commerce-form label {
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
}

.commerce-form input,
.commerce-form select,
.commerce-form textarea {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 42px;
  padding: 10px 12px;
  width: 100%;
}

.commerce-form textarea {
  resize: vertical;
}

.commerce-form button,
.commerce-actions a {
  align-items: center;
  background: var(--teal);
  border: 0;
  border-radius: 8px;
  color: var(--blue);
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 950;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  text-transform: uppercase;
}

.commerce-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.commerce-result[hidden],
.commerce-form[hidden] {
  display: none;
}

.order-result-header {
  align-items: start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.order-result-header h2 {
  text-transform: capitalize;
}

.return-order-summary:empty {
  display: none;
}

.return-order-summary {
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
  padding-bottom: 16px;
}

@media (max-width: 760px) {
  .commerce-main {
    padding: 32px 14px 58px;
  }

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

  .commerce-panel-wide {
    grid-column: auto;
  }

  .commerce-nav {
    justify-content: flex-start;
    width: 100%;
  }

  .order-line {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .order-line img {
    width: 54px;
  }

  .order-line strong {
    grid-column: 2;
  }
}

.info-updated {
  color: var(--muted);
  font-size: 13px;
  margin: 28px 0 0;
}

/* ============================================================== */
/* Product Detail Page (PDP)                                       */
/* ============================================================== */
.pdp-body { background: var(--white); }
.pdp-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--blue);
  color: var(--white);
}
.pdp-header-search { flex: 1; max-width: 640px; }
.pdp-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 80px;
}
.pdp-breadcrumb {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 8px 0 20px;
}
.pdp-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}
.pdp-breadcrumb a:hover { color: var(--blue); text-decoration: underline; }
.pdp-breadcrumb-current {
  color: var(--ink);
  font-weight: 500;
  max-width: 60ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pdp-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.pdp-gallery { display: flex; flex-direction: column; gap: 12px; }
body[data-topking-template-id] main { visibility: hidden; }
.pdp-gallery-main {
  background: var(--gray);
  border: 1px solid var(--line);
  border-radius: 16px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pdp-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
}
.pdp-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.pdp-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  padding: 4px;
  cursor: pointer;
  overflow: hidden;
  scroll-snap-align: start;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pdp-thumb:hover { border-color: var(--blue); }
.pdp-thumb.is-active {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(11, 31, 58, 0.15);
}
.pdp-info { display: flex; flex-direction: column; gap: 14px; }
.pdp-price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.pdp-price-row s {
  color: #687386;
  font-size: 0.95rem;
}
.pdp-price-row [data-product-promotion] {
  border-radius: 999px;
  background: #cf0a2c;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 5px 9px;
  text-transform: uppercase;
}
.info-main .pdp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  margin-top: 20px;
}
.info-main .pdp-layout > .pdp-gallery {
  min-width: 0;
  border: 1px solid rgba(11, 31, 58, 0.1);
  border-radius: 18px;
  background: #f7f9fc;
  overflow: hidden;
}
.info-main .pdp-layout > .pdp-gallery > img {
  display: block;
  width: 100%;
  height: min(620px, 58vw);
  object-fit: contain;
  padding: clamp(24px, 4vw, 48px);
}
.info-main .pdp-layout .pdp-info h1 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 0.98;
  text-transform: uppercase;
}
.info-main .pdp-layout .pdp-info > span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.info-main .pdp-layout .pdp-price-row strong {
  color: var(--blue);
  font-size: 2rem;
}
.info-main .pdp-layout .pdp-info label {
  display: grid;
  gap: 8px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.info-main .pdp-layout .pdp-info select {
  width: 100%;
  min-height: 52px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 0 14px;
  text-transform: none;
}
.info-main .pdp-layout [data-add-to-cart] {
  min-height: 56px;
  border: 0;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  text-transform: uppercase;
}
.info-main .pdp-layout [data-add-to-cart]:hover {
  background: #123761;
}
@media (max-width: 880px) {
  .info-main .pdp-layout {
    grid-template-columns: 1fr;
  }
  .info-main .pdp-layout > .pdp-gallery > img {
    height: min(500px, 100vw);
  }
}
.pdp-brand {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 600;
  margin: 0;
}
.pdp-title {
  font-size: 30px;
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
}
.pdp-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.pdp-price {
  font-size: 32px;
  color: var(--blue);
  font-weight: 700;
}
.pdp-compare {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 18px;
}
.pdp-discount {
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
}
.pdp-availability {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.pdp-variant-deal-note {
  margin: 0;
  color: #08785f;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}
.pdp-variants {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.pdp-variant {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pdp-variant-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.pdp-variant select {
  appearance: none;
  -webkit-appearance: none;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  font-family: inherit;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23607084' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.pdp-variant-select-with-chips {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.pdp-option-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.pdp-option-chip {
  min-width: 54px;
  min-height: 46px;
  border: 2px solid #d7dfeb;
  border-radius: 10px;
  background: #fff;
  color: #0b1f3a;
  font: inherit;
  font-weight: 800;
  padding: 8px 13px;
  cursor: pointer;
}

.pdp-option-chip:hover:not(:disabled) {
  border-color: #2ec4b6;
}

.pdp-option-chip.is-selected {
  border-color: #0b1f3a;
  background: #0b1f3a;
  color: #fff;
}

.pdp-option-chip:focus-visible {
  outline: 3px solid rgba(46, 196, 182, .45);
  outline-offset: 2px;
}

.pdp-option-chip:disabled {
  border-color: #e2e7ee;
  background: #f2f4f7;
  color: #8b97a8;
  text-decoration: line-through;
  cursor: not-allowed;
}
.pdp-variant select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 31, 58, 0.15);
}
.pdp-cta-row {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.pdp-cta {
  flex: 1;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;
  padding: 16px 22px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease;
  font-family: inherit;
}
.pdp-cta:hover:not(:disabled) { background: #142a4f; }
.pdp-cta:active:not(:disabled) { transform: translateY(1px); }
.pdp-cta:disabled {
  background: var(--line);
  color: var(--muted);
  cursor: not-allowed;
}
.pdp-cta-note {
  color: var(--muted);
  font-size: 13px;
  margin: 4px 0 0;
  min-height: 1em;
}
.pdp-section { margin-top: 28px; }
.pdp-section h2 {
  font-size: 18px;
  color: var(--ink);
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.pdp-desc {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}
.pdp-desc p { margin: 0 0 10px; }
.pdp-desc ul, .pdp-desc ol { margin: 0 0 10px 20px; padding: 0; }
.pdp-desc li { margin: 4px 0; }
.pdp-desc img, .pdp-desc table { max-width: 100%; height: auto; }
.pdp-desc h1, .pdp-desc h2, .pdp-desc h3,
.pdp-desc h4, .pdp-desc h5, .pdp-desc h6 {
  font-size: 15px;
  margin: 14px 0 6px;
  color: var(--ink);
}
.pdp-specs dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 0;
}
.pdp-specs dl > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.pdp-specs dl > div:last-child { border-bottom: none; }
.pdp-specs dt { color: var(--muted); margin: 0; }
.pdp-specs dd { color: var(--ink); margin: 0; }
.pdp-related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

@media (max-width: 880px) {
  .pdp-wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pdp-gallery,
  .pdp-info { min-width: 0; max-width: 100%; }
  .pdp-thumbs { width: 100%; }
  .pdp-title { font-size: 24px; }
  .pdp-price { font-size: 26px; }
  .pdp-main { padding: 16px 16px 60px; }
  .pdp-header-search { display: none; }
}

/* ============================================================
 *  Live Search Dropdown
 * ============================================================ */

/* Wrapper replaces the bare form as the grid/flex child */
.search-wrapper {
  position: relative;
  min-width: 0;
  width: 100%;
}

/* The dropdown panel */
.search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 200;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(11, 31, 58, 0.22);
  overflow: hidden;
  max-height: min(520px, 72vh);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.search-dropdown[hidden] { display: none; }

/* Sections (recent / trending) */
.sdd-section {
  padding: 6px 0;
}
.sdd-section + .sdd-section {
  border-top: 1px solid #f0f4f9;
}
.sdd-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Section label row */
.sdd-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.sdd-clear-all {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  padding: 0;
}
.sdd-clear-all:hover { text-decoration: underline; }

/* Every suggestion row */
.sdd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  cursor: pointer;
  user-select: none;
  transition: background 0.1s;
}
.sdd-item:hover,
.sdd-item.is-active {
  background: #f0faf9;
}

/* Icon (history / trending) */
.sdd-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sdd-icon--trend { stroke: var(--teal); }

/* Row text */
.sdd-item-text {
  flex: 1;
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Remove button on recent items */
.sdd-remove {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  color: #b0bec5;
  padding: 0 0 0 4px;
  flex-shrink: 0;
  transition: color 0.1s;
}
.sdd-remove:hover { color: var(--muted); }

/* ── Product result rows ── */
.sdd-results {
  margin: 0;
  padding: 4px 0;
  list-style: none;
  border-bottom: 1px solid #f0f4f9;
}
.sdd-item--product { align-items: center; }

/* Thumbnail */
.sdd-thumb {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--gray);
  flex-shrink: 0;
  border: 1px solid var(--line);
}

/* Text body */
.sdd-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sdd-brand {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.sdd-name {
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}
.sdd-name mark {
  background: #fff3b0;
  color: var(--blue);
  border-radius: 2px;
  padding: 0 2px;
  font-style: normal;
}

/* Price */
.sdd-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  flex-shrink: 0;
  margin-left: 6px;
}

/* ── No-results state ── */
.sdd-empty {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 16px;
  color: var(--muted);
  font-size: 14px;
}
.sdd-empty svg {
  width: 22px;
  height: 22px;
  stroke: #b0bec5;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  flex-shrink: 0;
}
.sdd-empty p { margin: 0; }

/* ── Footer "see all" button ── */
.sdd-footer {
  padding: 6px;
  border-top: 1px solid #f0f4f9;
  background: #fafbfd;
}
.sdd-see-all {
  display: block;
  width: 100%;
  padding: 10px 14px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  color: var(--ink);
  text-align: left;
  border-radius: 8px;
  transition: background 0.1s, color 0.1s;
}
.sdd-see-all:hover,
.sdd-see-all:focus-visible {
  background: #e8f8f7;
  color: var(--teal);
  outline: none;
}

/* ── Responsive ── */
@media (max-width: 720px) {
  .search-dropdown {
    left: -12px;
    right: -12px;
    border-radius: 0 0 14px 14px;
    border-top: none;
  }
  .sdd-thumb { width: 38px; height: 38px; }
}

/* ============================================================
 *  Responsive department menu (hamburger) + catalog results
 * ============================================================ */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: inherit;
  cursor: pointer;
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.24); }
.pdp-header .nav-toggle {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}
.pdp-header .nav-toggle:hover { background: rgba(255, 255, 255, 0.24); }
.nav-toggle-icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
}

.mobile-bottom-nav {
  display: none;
}

.mobile-categories-panel {
  display: none;
}

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

  .home-body,
  .info-body,
  .pdp-body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }

  .market-header {
    box-shadow: 0 8px 18px rgba(11, 31, 58, 0.22);
  }

  .header-main {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 10px;
    padding: 8px 10px 9px;
  }

  .nav-toggle {
    display: none;
  }

  .brand {
    min-width: 0;
    justify-self: start;
  }

  .brand-logo {
    height: 34px;
    max-width: min(150px, 50vw);
  }

  .header-actions {
    gap: 6px;
  }

  .header-icon-button {
    width: 38px;
    min-height: 38px;
    border-radius: 6px;
    padding: 0;
  }

  .header-action-label {
    display: none;
  }

  .cart-count {
    top: -4px;
    right: -4px;
  }

  .header-main > .search-wrapper,
  .header-main > .market-search,
  .pdp-header-search {
    grid-column: 1 / -1;
    order: 2;
    min-width: 0;
    width: 100%;
  }

  .pdp-header-search {
    display: block;
  }

  .pdp-header-search .market-search {
    grid-column: auto;
    order: 0;
  }

  .market-search {
    grid-template-columns: 66px minmax(0, 1fr) 56px;
    min-height: 42px;
    border-width: 2px;
    border-radius: 8px;
  }

  .market-search select {
    padding: 0 7px;
    font-size: 12px;
  }

  .market-search input {
    padding: 0 9px;
    font-size: 13px;
  }

  .market-search button {
    grid-column: auto;
    min-height: 0;
    padding: 0;
    font-size: 0;
    color: transparent;
    letter-spacing: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1f3a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 18px;
  }

  .priority-sitelinks {
    display: none;
  }

  .department-nav {
    display: flex;
    flex-direction: row;
    gap: 7px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 7px 10px 8px;
    scroll-padding-inline: 10px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .department-nav::-webkit-scrollbar {
    display: none;
  }

  .department-nav a {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 30px;
    align-items: center;
    width: auto;
    border-radius: 999px;
    font-size: 12px;
    padding: 6px 9px;
  }

  .department-submenu summary {
    min-height: 30px;
    border-radius: 999px;
    font-size: 12px;
    padding: 6px 24px 6px 9px;
  }

  .department-submenu-panel {
    left: 10px;
    right: 10px;
    width: auto;
  }

  .listing-finder {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 100%;
    min-width: 0;
    width: 100%;
    margin: 14px 0 0;
    padding: 14px;
  }

  .listing-finder-search,
  .listing-finder-search > div,
  .listing-finder-search input {
    max-width: 100%;
    min-width: 0;
  }

  .listing-finder-search > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    width: 100%;
  }

  .listing-finder-search input,
  .listing-finder-search button {
    width: 100%;
    border-radius: 8px;
  }

  .listing-section .section-title {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .listing-quick-links {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .listing-quick-links::-webkit-scrollbar {
    display: none;
  }

  .listing-quick-links a {
    flex: 0 0 auto;
  }

  .listing-shelf-footer {
    align-items: stretch;
    flex-direction: column;
    padding: 16px;
  }

  .listing-shelf-footer button {
    width: 100%;
  }

  .search-dropdown {
    left: -10px;
    right: -10px;
    max-height: min(480px, 64vh);
    border-radius: 0 0 10px 10px;
  }

  .home-body .hero {
    grid-template-columns: 1fr;
    gap: 8px;
    overflow: clip;
    padding: 8px 10px 10px;
  }

  .home-body .hero-offers {
    grid-template-columns: 1fr;
  }

  .home-body .hero-copy,
  .home-body .hero-offer-grid,
  .home-body .hero-deal {
    min-width: 0;
    width: 100%;
  }

  .home-body .hero-copy {
    min-height: 0;
    border: 0;
    border-radius: 8px;
    background: rgba(11, 31, 58, 0.72);
    padding: 14px 13px 15px;
  }

  .home-body .hero h1 {
    max-width: 100%;
    margin-bottom: 8px;
    font-size: 24px;
    line-height: 1.08;
    overflow-wrap: break-word;
    text-transform: none;
  }

  .home-body .hero-copy p:not(.eyebrow) {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    font-size: 13px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .home-body .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 12px;
    min-width: 0;
    width: 100%;
  }

  .home-body .hero-actions a {
    min-width: 0;
    width: 100%;
    min-height: 38px;
    border-radius: 6px;
    padding: 0 10px;
    font-size: 11px;
    letter-spacing: 0.02em;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
  }

  .home-body .hero-offer-grid {
    grid-auto-columns: minmax(190px, 76vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
  }

  .home-body .hero-deal,
  .home-body .hero-deal-primary {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 3px 10px;
    align-items: center;
    border-radius: 8px;
    box-shadow: none;
    padding: 10px;
  }

  .home-body .hero-deal img,
  .home-body .hero-deal-primary img {
    grid-row: 1 / span 4;
    width: 74px;
    height: 74px;
    aspect-ratio: 1;
    object-fit: contain;
    padding: 5px;
  }

  .home-body .hero-deal .deal-label,
  .home-body .hero-deal h2,
  .home-body .hero-deal p,
  .home-body .hero-deal strong,
  .home-body .hero-deal .hero-deal-link,
  .home-body .hero-deal-primary .deal-label,
  .home-body .hero-deal-primary h2,
  .home-body .hero-deal-primary p,
  .home-body .hero-deal-primary strong,
  .home-body .hero-deal-primary .hero-deal-link {
    grid-column: 2;
  }

  .home-body .hero-deal .deal-label {
    padding: 5px 7px;
    font-size: 9px;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .home-body .hero-deal h2 {
    margin: 0;
    font-size: 17px;
    line-height: 1.05;
  }

  .home-body .hero-deal p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    font-size: 12px;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .home-body .hero-deal strong {
    font-size: 14px;
  }

  .home-body .hero-deal strong span {
    display: block;
    margin: 4px 0 0;
    font-size: 11px;
  }

  .home-body .hero-deal-link {
    min-height: 30px;
    border-radius: 6px;
    padding: 0 10px;
    font-size: 10px;
    letter-spacing: 0.04em;
  }

  .home-body .quick-grid {
    grid-auto-columns: minmax(150px, 44vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    margin: 8px 10px 6px;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .home-body .home-category-grid {
    margin-top: 8px;
  }

  .home-body .quick-grid::-webkit-scrollbar {
    display: none;
  }

  .home-body .quick-grid article {
    display: flex;
    min-height: 104px;
    flex-direction: column;
    border-radius: 8px;
    box-shadow: none;
    scroll-snap-align: start;
    padding: 10px;
  }

  .home-body .quick-grid h2 {
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.12;
  }

  .home-body .quick-grid p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .home-body .quick-grid a {
    align-items: center;
    margin-top: auto;
    font-size: 11px;
  }

  .home-body .market-section {
    margin: 8px 0;
    border-radius: 0;
    box-shadow: none;
    padding: 10px;
  }

  .home-body .section-title {
    grid-template-columns: 1fr;
    gap: 4px;
    margin-bottom: 9px;
  }

  .home-body .section-title h2 {
    font-size: 20px;
    line-height: 1.05;
    text-transform: none;
  }

  .home-body .section-title > p {
    display: none;
  }

  .home-body .eyebrow {
    margin-bottom: 4px;
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .home-body .product-row {
    grid-auto-columns: minmax(152px, 43vw);
    gap: 10px;
    overflow-x: auto;
    padding: 0 1px 5px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .home-body .product-row::-webkit-scrollbar {
    display: none;
  }

  .home-body .product-card {
    min-width: 0;
    border-radius: 8px;
  }

  .home-body .product-image img {
    padding: 10px;
  }

  .home-body .product-body {
    min-height: 158px;
    gap: 6px;
    padding: 10px;
  }

  .home-body .product-body > span,
  .home-body .product-body p {
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .home-body .product-body > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .home-body .product-body > p:not(.product-deal-note) {
    display: none;
  }

  .home-body .product-body h3 {
    display: -webkit-box;
    overflow: hidden;
    min-height: 32px;
    font-size: 13px;
    line-height: 1.2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .home-body .product-price-line {
    min-height: 20px;
    gap: 5px;
  }

  .home-body .product-body strong,
  .home-body .product-price-line strong {
    font-size: 16px;
  }

  .home-body .product-price-line span {
    font-size: 11px;
  }

  .home-body .product-body .product-deal-note {
    overflow: hidden;
    min-height: 14px;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .home-body .add-cart-button {
    min-height: 34px;
    border-radius: 6px;
    font-size: 11px;
    letter-spacing: 0;
  }

  .home-body .brand-cloud {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .home-body .brand-cloud span {
    border-radius: 6px;
    padding: 10px;
    font-size: 10px;
    text-align: center;
  }

  .home-body .market-footer {
    margin-top: 28px;
  }

  .mobile-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 62px;
    padding: 5px max(8px, env(safe-area-inset-left)) calc(5px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-right));
    border-top: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 -10px 24px rgba(11, 31, 58, 0.13);
  }

  .mobile-categories-panel:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: block;
  }

  html.mobile-menu-open,
  html.mobile-menu-open body {
    overflow: hidden;
  }

  .mobile-categories-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 16, 32, 0.58);
    backdrop-filter: blur(3px);
  }

  .mobile-categories-sheet {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(88vw, 390px);
    overflow: auto;
    padding: max(22px, env(safe-area-inset-top)) 20px calc(28px + env(safe-area-inset-bottom));
    background: #fff;
    box-shadow: 24px 0 60px rgba(0, 0, 0, 0.3);
    border-radius: 0 26px 26px 0;
    animation: mobile-menu-enter 220ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mobile-categories-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 17px;
    border-bottom: 1px solid #e8edf2;
    color: var(--blue);
  }

  .mobile-categories-title {
    display: flex;
    align-items: center;
    gap: 11px;
  }

  .mobile-categories-title img {
    width: 46px;
    height: 40px;
    padding: 6px;
    border-radius: 12px;
    background: #092846;
    object-fit: contain;
  }

  .mobile-categories-heading strong {
    display: block;
    font-size: 22px;
    font-weight: 680;
    letter-spacing: -0.025em;
  }

  .mobile-categories-heading button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #f1f5f8;
    color: var(--blue);
    font-size: 28px;
    line-height: 1;
  }

  .mobile-categories-links {
    display: grid;
    gap: 7px;
  }

  .mobile-categories-home {
    display: flex;
    min-height: 50px;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 0 15px;
    border-radius: 14px;
    background: #e9f8f6;
    color: #083354;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-categories-home span {
    color: #009b91;
    font-size: 21px;
    line-height: 1;
  }

  .mobile-categories-links a {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    border: 1px solid #e5ebf0;
    border-radius: 14px;
    background: #f8fafc;
    color: var(--blue);
    font-size: 15px;
    font-weight: 650;
    text-decoration: none;
    transition: color 150ms ease, padding 150ms ease;
  }

  .mobile-categories-links a::after {
    content: "";
    width: 7px;
    height: 7px;
    border-top: 1.5px solid #98a8b7;
    border-right: 1.5px solid #98a8b7;
    transform: rotate(45deg);
    line-height: 1;
  }

  .mobile-categories-links a:active {
    padding-left: 18px;
    background: #eef8f7;
    color: #008f86;
  }

  @keyframes mobile-menu-enter {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
  }

  .mobile-bottom-nav a,
  .mobile-bottom-nav button {
    position: relative;
    display: inline-flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--blue);
    cursor: pointer;
    font-size: 10px;
    font-weight: 850;
    padding: 5px 2px;
  }

  .mobile-bottom-nav a:hover,
  .mobile-bottom-nav a:focus-visible,
  .mobile-bottom-nav button:hover,
  .mobile-bottom-nav button:focus-visible {
    background: var(--gray);
    outline: none;
  }

  .mobile-bottom-nav svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
  }

  .mobile-bottom-count {
    position: absolute;
    top: 2px;
    right: calc(50% - 22px);
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--teal);
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 950;
    padding: 0 5px;
  }

  .mobile-bottom-count[hidden] {
    display: none;
  }
}

.catalog-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 48px 16px;
  text-align: center;
  color: var(--ink-soft, #51607a);
}
.catalog-empty svg {
  width: 40px;
  height: 40px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  opacity: 0.6;
}
.catalog-empty-hint { font-size: 14px; opacity: 0.8; }

.catalog-tools {
  margin: 18px clamp(14px, 3.6vw, 56px) 22px;
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid rgba(11, 31, 58, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(49, 195, 190, 0.16), rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, #ffffff, #f7fafc);
  box-shadow: 0 18px 48px rgba(11, 31, 58, 0.10);
}

.catalog-tools[hidden] {
  display: none;
}

.catalog-tools-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.catalog-tools-header h2 {
  margin: 2px 0 0;
  color: var(--blue, #0b1f3a);
  font-size: clamp(20px, 2.6vw, 30px);
  letter-spacing: -0.04em;
}

.catalog-tools-header button {
  min-height: 40px;
  border: 1px solid rgba(11, 31, 58, 0.16);
  border-radius: 999px;
  background: #ffffff;
  color: var(--blue, #0b1f3a);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  padding: 0 16px;
}

.catalog-tools-header button:hover {
  border-color: var(--teal, #31c3be);
  background: rgba(49, 195, 190, 0.10);
}

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

.catalog-filter-grid label {
  display: grid;
  gap: 7px;
}

.catalog-filter-grid span {
  color: var(--muted, #667085);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-filter-grid select,
.catalog-filter-grid input {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(11, 31, 58, 0.14);
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink, #101828);
  font-size: 14px;
  font-weight: 700;
  padding: 0 12px;
  outline: none;
}

.catalog-filter-grid select:focus,
.catalog-filter-grid input:focus {
  border-color: var(--teal, #31c3be);
  box-shadow: 0 0 0 4px rgba(49, 195, 190, 0.16);
}

.catalog-load-more {
  display: block;
  margin: 24px auto 8px;
  padding: 12px 28px;
  border: 1px solid var(--line, #d8dee9);
  border-radius: 10px;
  background: var(--white, #fff);
  color: var(--blue, #0b1f3a);
  font-size: 14px;
  font-weight: 760;
  cursor: pointer;
}
.catalog-load-more:hover { background: rgba(11, 31, 58, 0.06); }
.catalog-load-more:focus-visible { outline: 2px solid var(--blue, #0b1f3a); outline-offset: 2px; }

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

@media (max-width: 640px) {
  .catalog-tools-header {
    align-items: stretch;
    flex-direction: column;
  }

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

/* Wholesale Muay Thai catalog */
.wholesale-muay-thai-body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(46, 196, 182, 0.16), transparent 34%),
    radial-gradient(circle at top right, rgba(11, 31, 58, 0.14), transparent 28%),
    linear-gradient(180deg, #f6f8fb 0%, #eef3f7 100%);
  color: #102033;
}

.wholesale-header,
.wholesale-shell {
  width: min(1200px, calc(100vw - 32px));
  margin: 0 auto;
}

.wholesale-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 12px;
}

.wholesale-header__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.wholesale-logo {
  display: block;
  width: 56px;
  height: 40px;
  flex: 0 0 auto;
}

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

.wholesale-eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #2b5f8f;
  font-weight: 700;
}

.wholesale-header h1,
.wholesale-hero h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.wholesale-header h1 {
  font-size: clamp(1.15rem, 3vw, 1.9rem);
}

.wholesale-header__actions {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-direction: column;
}

.wholesale-note {
  margin: 0;
  color: #607084;
  font-size: 0.9rem;
  text-align: right;
}

.wholesale-quote-button {
  border: 0;
  border-radius: 999px;
  background: #0b1f3a;
  color: #fff;
  padding: 12px 16px;
  font-weight: 700;
  box-shadow: 0 8px 30px rgba(11, 31, 58, 0.14);
}

.wholesale-quote-button span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.8rem;
  margin-left: 6px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.wholesale-shell {
  padding: 8px 0 64px;
}

.wholesale-hero {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(96, 112, 132, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 80px rgba(11, 31, 58, 0.08);
}

.wholesale-hero__copy p {
  margin: 10px 0 0;
  color: #435369;
  max-width: 60ch;
}

.wholesale-hero h2 {
  font-size: clamp(1.6rem, 5vw, 3rem);
}

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

.wholesale-hero__stats div {
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(96, 112, 132, 0.14);
}

.wholesale-hero__stats strong {
  display: block;
  font-size: 1.1rem;
}

.wholesale-hero__stats span {
  display: block;
  margin-top: 4px;
  color: #607084;
  font-size: 0.88rem;
}

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

.wholesale-filters label,
.wholesale-quote-form label {
  display: grid;
  gap: 6px;
}

.wholesale-filters span,
.wholesale-quote-form span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #607084;
  font-weight: 700;
}

.wholesale-filters input,
.wholesale-filters select,
.wholesale-quote-form input,
.wholesale-quote-form textarea,
.wholesale-card__selectors select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(96, 112, 132, 0.2);
  background: rgba(255, 255, 255, 0.94);
  color: #102033;
  padding: 12px 14px;
  font: inherit;
}

.wholesale-results {
  margin-top: 18px;
}

.wholesale-results__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.wholesale-results__status {
  margin: 0;
  color: #607084;
}

.wholesale-load-more {
  border: 1px solid rgba(96, 112, 132, 0.24);
  border-radius: 999px;
  background: #fff;
  color: #102033;
  padding: 10px 14px;
  font-weight: 700;
}

.wholesale-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
}

.wholesale-card {
  display: grid;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(96, 112, 132, 0.14);
  box-shadow: 0 16px 48px rgba(11, 31, 58, 0.08);
}

.wholesale-card__image {
  aspect-ratio: 1 / 1;
  display: block;
  background: linear-gradient(135deg, rgba(11, 31, 58, 0.04), rgba(46, 196, 182, 0.08));
}

.wholesale-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wholesale-card__body {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.wholesale-card__topline,
.wholesale-quote-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.wholesale-card__topline {
  color: #607084;
  font-size: 0.84rem;
}

.wholesale-card__status {
  color: #0b1f3a;
  font-weight: 700;
}

.wholesale-card h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.2;
}

.wholesale-card__category {
  margin: 0;
  color: #607084;
  font-size: 0.9rem;
}

.wholesale-card__chips {
  display: grid;
  gap: 10px;
}

.wholesale-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wholesale-chip-group > span:first-child {
  flex: 0 0 100%;
  color: #607084;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.wholesale-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(11, 31, 58, 0.06);
  padding: 5px 10px;
  font-size: 0.82rem;
  color: #102033;
}

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

.wholesale-card__selectors label {
  display: grid;
  gap: 6px;
  font-size: 0.78rem;
  color: #607084;
}

.wholesale-card__button,
.wholesale-submit {
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #0b1f3a, #123d66);
  color: #fff;
  padding: 12px 14px;
  font-weight: 700;
}

.wholesale-empty {
  color: #607084;
  text-align: center;
}

.wholesale-empty--grid {
  grid-column: 1 / -1;
  padding: 40px 16px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  border: 1px solid rgba(96, 112, 132, 0.14);
}

.wholesale-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 32, 51, 0.5);
  z-index: 60;
}

.wholesale-quote-drawer {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 70;
  width: min(420px, 100vw);
  height: 100dvh;
  overflow: auto;
  background: #fff;
  border-left: 1px solid rgba(96, 112, 132, 0.14);
  box-shadow: -24px 0 80px rgba(11, 31, 58, 0.18);
  padding: 18px;
}

.wholesale-drawer__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.wholesale-drawer__close {
  border: 0;
  background: rgba(11, 31, 58, 0.08);
  color: #102033;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  font-size: 1.5rem;
  line-height: 1;
}

.wholesale-quote-items {
  display: grid;
  gap: 12px;
}

.wholesale-quote-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(96, 112, 132, 0.14);
  background: #f9fbfd;
}

.wholesale-quote-item img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: 14px;
}

.wholesale-quote-item__body {
  display: grid;
  gap: 6px;
}

.wholesale-quote-item__body strong {
  font-size: 0.98rem;
}

.wholesale-quote-item__body > span,
.wholesale-quote-item__meta {
  color: #607084;
  font-size: 0.88rem;
}

.wholesale-quote-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wholesale-quote-item__meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(11, 31, 58, 0.06);
}

.wholesale-quote-item__controls {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.wholesale-quote-item__controls label {
  display: grid;
  gap: 4px;
  min-width: 100px;
}

.wholesale-quote-item__controls input {
  border-radius: 12px;
  border: 1px solid rgba(96, 112, 132, 0.2);
  padding: 10px 12px;
  font: inherit;
}

.wholesale-link-button {
  border: 0;
  background: transparent;
  color: #c2410c;
  font-weight: 700;
}

.wholesale-quote-summary {
  margin: 16px 0;
  padding: 14px 16px;
  border-radius: 18px;
  background: #0b1f3a;
  color: #fff;
}

.wholesale-quote-summary span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.72);
}

.wholesale-quote-summary strong {
  display: block;
  margin-top: 4px;
  font-size: 1.05rem;
}

.wholesale-quote-form {
  display: grid;
  gap: 12px;
}

.wholesale-quote-form textarea {
  resize: vertical;
}

.wholesale-form-status {
  margin: 0;
  min-height: 1.25rem;
  color: #607084;
}

.wholesale-form-status[data-error="true"] {
  color: #b42318;
}

.wholesale-submit {
  width: 100%;
  margin-top: 4px;
}

body.wholesale-drawer-open {
  overflow: hidden;
}

@media (min-width: 900px) {
  .wholesale-hero {
    grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.9fr);
    align-items: start;
  }

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

@media (max-width: 899px) {
  .wholesale-header {
    flex-direction: column;
  }

  .wholesale-header__actions {
    align-items: flex-start;
  }

  .wholesale-note {
    text-align: left;
  }

  .wholesale-filters {
    grid-template-columns: 1fr;
  }

  .wholesale-results__bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .wholesale-quote-drawer {
    width: 100vw;
  }

  .wholesale-card__selectors {
    grid-template-columns: 1fr;
  }
}

/* Wholesale line-sheet rebuild */
.wholesale-muay-thai-body {
  background: #f3f1ea;
  color: #161616;
  font-family: "Helvetica Neue", Helvetica, sans-serif;
}

.wholesale-header,
.wholesale-shell {
  width: min(1360px, calc(100vw - 28px));
  margin: 0 auto;
}

.wholesale-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  background: rgba(243, 241, 234, 0.94);
  border-bottom: 1px solid #d8d3c5;
  backdrop-filter: blur(10px);
}

.wholesale-logo {
  width: 46px;
  height: 34px;
}

.wholesale-title p,
.wholesale-drawer__header p {
  margin: 0 0 2px;
  color: #7b1d16;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wholesale-title h1,
.wholesale-drawer__header h2 {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 2rem);
  letter-spacing: 0;
  line-height: 1.04;
}

.wholesale-quote-button {
  border: 1px solid #161616;
  border-radius: 4px;
  background: #161616;
  color: #fff;
  padding: 10px 12px;
  font-weight: 800;
  box-shadow: none;
}

.wholesale-quote-button span {
  display: inline-grid;
  min-width: 1.6rem;
  min-height: 1.6rem;
  margin-left: 6px;
  place-items: center;
  border-radius: 999px;
  background: #c43624;
}

.wholesale-shell {
  padding: 14px 0 70px;
}

.wholesale-control-panel {
  position: sticky;
  top: 59px;
  z-index: 20;
  padding: 12px 0 14px;
  background: rgba(243, 241, 234, 0.96);
  border-bottom: 1px solid #d8d3c5;
  backdrop-filter: blur(10px);
}

.wholesale-count-strip {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}

.wholesale-count-strip strong {
  font-size: 1.45rem;
  line-height: 1;
}

.wholesale-count-strip span {
  color: #56524a;
  font-size: 0.9rem;
}

.wholesale-filters {
  display: grid;
  grid-template-columns: minmax(240px, 2fr) repeat(5, minmax(120px, 1fr));
  gap: 8px;
  margin-top: 0;
}

.wholesale-filters label,
.wholesale-line__qty,
.wholesale-line__selectors label,
.wholesale-quote-form label {
  display: grid;
  gap: 4px;
}

.wholesale-filters span,
.wholesale-line__qty span,
.wholesale-line__selectors span,
.wholesale-quote-form span {
  color: #5d584e;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wholesale-filters input,
.wholesale-filters select,
.wholesale-line__qty input,
.wholesale-line__selectors select,
.wholesale-quote-form input,
.wholesale-quote-form textarea {
  width: 100%;
  min-height: 38px;
  border: 1px solid #bdb6a6;
  border-radius: 4px;
  background: #fffdf7;
  color: #161616;
  padding: 8px 10px;
  font: inherit;
}

.wholesale-line-sheet {
  margin-top: 14px;
}

.wholesale-line-head,
.wholesale-line {
  display: grid;
  grid-template-columns: 82px minmax(260px, 1.7fr) minmax(105px, 0.8fr) minmax(110px, 0.8fr) minmax(220px, 1.3fr) 72px 112px;
  gap: 10px;
  align-items: center;
}

.wholesale-line-head {
  position: sticky;
  top: 170px;
  z-index: 10;
  padding: 8px 10px;
  background: #27231d;
  color: #f8f2e4;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wholesale-lines {
  display: grid;
  gap: 1px;
  background: #d8d3c5;
  border: 1px solid #d8d3c5;
  border-top: 0;
}

.wholesale-line {
  min-height: 96px;
  padding: 9px 10px;
  background: #fffdf7;
}

.wholesale-line__photo {
  width: 72px;
  height: 72px;
  border: 1px solid #ded8c9;
  border-radius: 4px;
  background: #f5f1e7;
  padding: 0;
  overflow: hidden;
}

.wholesale-line__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
}

.wholesale-line__product {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.wholesale-line__product strong {
  font-size: 0.98rem;
  line-height: 1.18;
}

.wholesale-line__product span,
.wholesale-line__type span,
.wholesale-muted {
  color: #6c675d;
  font-size: 0.78rem;
}

.wholesale-line__brand,
.wholesale-line__type b {
  font-size: 0.9rem;
  font-weight: 800;
}

.wholesale-line__type {
  display: grid;
  gap: 4px;
}

.wholesale-line__options {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.wholesale-option-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.wholesale-option-line > span {
  color: #6c675d;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wholesale-option-line b {
  border: 1px solid #d8d3c5;
  border-radius: 999px;
  background: #f5f1e7;
  padding: 3px 7px;
  font-size: 0.72rem;
}

.wholesale-line__selectors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.wholesale-category-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 8px 0 2px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.wholesale-chip {
  flex: 0 0 auto;
  padding: 7px 14px;
  border: 1px solid #bdb6a6;
  border-radius: 999px;
  background: #fffdf7;
  color: #161616;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.wholesale-chip:hover {
  background: #f0ece0;
}

.wholesale-chip[aria-pressed="true"] {
  background: #27231d;
  border-color: #27231d;
  color: #f8f2e4;
}

.wholesale-line__color-note {
  display: grid;
  gap: 3px;
  margin-top: 4px;
}

.wholesale-line__color-note input {
  width: 100%;
  min-height: 34px;
  border: 1px solid #bdb6a6;
  border-radius: 4px;
  background: #fffdf7;
  color: #161616;
  padding: 6px 9px;
  font: inherit;
}

.wholesale-line__color-note small {
  color: #6c675d;
  font-size: 0.68rem;
  line-height: 1.3;
}

.wholesale-line__qty input {
  text-align: center;
}

.wholesale-line__add,
.wholesale-submit,
.wholesale-load-more {
  border: 1px solid #161616;
  border-radius: 4px;
  background: #fffdf7;
  color: #161616;
  padding: 10px 12px;
  font-weight: 800;
}

.wholesale-line__add {
  background: #c43624;
  border-color: #c43624;
  color: #fff;
}

.wholesale-load-more {
  display: block;
  margin: 14px auto 0;
}

.wholesale-empty {
  margin: 0;
  padding: 28px 12px;
  background: #fffdf7;
  color: #5d584e;
  text-align: center;
}

.wholesale-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(22, 22, 22, 0.45);
}

.wholesale-quote-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 70;
  width: min(430px, 100vw);
  height: 100dvh;
  overflow: auto;
  border-left: 1px solid #d8d3c5;
  background: #fffdf7;
  padding: 16px;
  box-shadow: -14px 0 40px rgba(0, 0, 0, 0.18);
}

.wholesale-drawer__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.wholesale-drawer__close,
.wholesale-image-modal button {
  border: 1px solid #161616;
  border-radius: 4px;
  background: #fffdf7;
  color: #161616;
  padding: 8px 10px;
  font-weight: 800;
}

.wholesale-quote-items {
  display: grid;
  gap: 8px;
}

.wholesale-quote-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  border: 1px solid #d8d3c5;
  border-radius: 4px;
  background: #f5f1e7;
}

.wholesale-quote-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border: 1px solid #ded8c9;
  border-radius: 4px;
  background: #fffdf7;
}

.wholesale-quote-item__body {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.wholesale-quote-item__body strong {
  font-size: 0.9rem;
  line-height: 1.15;
}

.wholesale-quote-item__body > span,
.wholesale-quote-item__meta {
  color: #5d584e;
  font-size: 0.78rem;
}

.wholesale-quote-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.wholesale-quote-item__meta span {
  border: 1px solid #d8d3c5;
  border-radius: 999px;
  padding: 3px 7px;
}

.wholesale-quote-item__controls {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
}

.wholesale-quote-item__controls label {
  display: grid;
  gap: 4px;
  width: 92px;
}

.wholesale-quote-item__controls input {
  min-height: 36px;
  border: 1px solid #bdb6a6;
  border-radius: 4px;
  background: #fffdf7;
  padding: 8px 10px;
}

.wholesale-link-button {
  border: 0;
  background: transparent;
  color: #9b1f14;
  font-weight: 800;
}

.wholesale-quote-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 14px 0;
  background: #161616;
}

.wholesale-quote-summary div {
  padding: 12px;
  background: #27231d;
  color: #fff;
}

.wholesale-quote-summary span {
  display: block;
  color: #d8d3c5;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wholesale-quote-summary strong {
  display: block;
  margin-top: 4px;
}

.wholesale-quote-form {
  display: grid;
  gap: 10px;
}

.wholesale-quote-form textarea {
  resize: vertical;
}

.wholesale-form-status {
  min-height: 1.2rem;
  margin: 0;
  color: #5d584e;
}

.wholesale-form-status[data-error="true"] {
  color: #9b1f14;
}

.wholesale-submit {
  background: #161616;
  color: #fff;
}

.wholesale-image-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  padding: 14px;
  background: rgba(22, 22, 22, 0.86);
}

.wholesale-image-modal[hidden],
.wholesale-quote-drawer[hidden],
.wholesale-drawer-backdrop[hidden] {
  display: none;
}

.wholesale-image-modal button {
  justify-self: end;
}

.wholesale-image-modal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fffdf7;
}

body.wholesale-drawer-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .wholesale-control-panel {
    position: static;
  }

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

  .wholesale-search {
    grid-column: 1 / -1;
  }

  .wholesale-line-head {
    display: none;
  }

  .wholesale-lines {
    gap: 8px;
    border: 0;
    background: transparent;
  }

  .wholesale-line {
    grid-template-columns: 78px minmax(0, 1fr) 84px;
    gap: 8px;
    border: 1px solid #d8d3c5;
  }

  .wholesale-line__photo {
    grid-row: span 4;
  }

  .wholesale-line__brand,
  .wholesale-line__type,
  .wholesale-line__options {
    grid-column: 2 / -1;
  }

  .wholesale-line__qty {
    grid-column: 2;
  }

  .wholesale-line__add {
    grid-column: 3;
    align-self: end;
  }
}

@media (max-width: 640px) {
  .wholesale-header,
  .wholesale-shell {
    width: min(100vw - 18px, 1360px);
  }

  .wholesale-header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .wholesale-quote-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .wholesale-filters {
    grid-template-columns: 1fr;
  }

  .wholesale-search {
    grid-column: auto;
  }

  .wholesale-line {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .wholesale-line__photo {
    grid-row: span 3;
  }

  .wholesale-line__brand,
  .wholesale-line__type,
  .wholesale-line__options,
  .wholesale-line__qty,
  .wholesale-line__add {
    grid-column: 1 / -1;
  }

  .wholesale-line__selectors {
    grid-template-columns: 1fr;
  }
}

/* Wholesale order builder */
.wholesale-order-body,
.wholesale-order-body * {
  box-sizing: border-box;
}

.wholesale-order-body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: #f4f5f7;
  color: #111827;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.wo-topbar,
.wo-shell {
  width: min(1320px, calc(100vw - 28px));
  margin: 0 auto;
}

.wo-topbar {
  position: sticky;
  top: 12px;
  z-index: 40;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid rgba(24, 19, 15, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.wo-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: max-content;
  color: inherit;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.wo-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 50%;
  background: #111827;
}

.wo-steps {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.wo-topbar-tools,
.wo-locale-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wo-steps button,
.wo-sales-link,
.wo-ghost-button,
.wo-search button,
.wo-manual-grid button,
.wo-bank-lock button,
.wo-submit,
.wo-actions button,
.wo-product-controls button,
.wo-cart-controls button {
  border: 1px solid #18130f;
  border-radius: 6px;
  background: #fffaf1;
  color: #18130f;
  font: inherit;
  font-weight: 850;
  text-decoration: none;
}

.wo-steps button {
  min-height: 36px;
  padding: 8px 12px;
  border-color: rgba(24, 19, 15, 0.14);
}

.wo-steps button[aria-current="step"] {
  background: #111827;
  color: #ffffff;
}

.wo-sales-link {
  padding: 10px 12px;
  white-space: nowrap;
}

.wo-locale-switch button {
  min-width: 40px;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid rgba(24, 19, 15, 0.14);
  border-radius: 6px;
  background: #fffaf1;
  color: #18130f;
  font: inherit;
  font-weight: 850;
}

.wo-locale-switch button[aria-pressed="true"] {
  background: #111827;
  color: #ffffff;
}

.wo-shell {
  padding: 16px 0 64px;
}

.wo-order-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 14px;
  align-items: stretch;
  margin-bottom: 14px;
}

.wo-order-head > div:first-child,
.wo-order-metrics {
  border: 1px solid #d8dee8;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.wo-order-head > div:first-child {
  padding: 18px;
}

.wo-order-head h1 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.wo-order-head p:not(.wo-kicker) {
  margin: 7px 0 0;
  color: #5b6472;
}

.wo-order-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

.wo-order-metrics div {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-left: 1px solid #e4e9f0;
}

.wo-order-metrics div:first-child {
  border-left: 0;
}

.wo-order-metrics span {
  color: #687383;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wo-order-metrics strong {
  font-size: 1rem;
  line-height: 1.15;
}

.wo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  gap: 18px;
  align-items: end;
  min-height: 260px;
  padding: clamp(22px, 4vw, 42px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(24, 19, 15, 0.96), rgba(61, 44, 27, 0.94)),
    #18130f;
  color: #fff7e8;
  box-shadow: 0 26px 70px rgba(57, 42, 26, 0.18);
}

.wo-kicker {
  margin: 0 0 8px;
  color: #b42318;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wo-hero .wo-kicker {
  color: #f2b261;
}

.wo-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.1rem, 6vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.wo-hero p:not(.wo-kicker) {
  max-width: 680px;
  margin: 16px 0 0;
  color: rgba(255, 247, 232, 0.72);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.5;
}

.wo-hero-panel {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 247, 232, 0.14);
  border-radius: 8px;
  background: rgba(255, 247, 232, 0.08);
}

.wo-hero-panel span,
.wo-hero-panel small {
  color: rgba(255, 247, 232, 0.68);
}

.wo-hero-panel strong {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  line-height: 1;
}

.wo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 18px;
  align-items: start;
  margin-top: 0;
}

.wo-workspace,
.wo-cart {
  min-width: 0;
}

.wo-panel,
.wo-cart,
.wo-manual {
  border: 1px solid rgba(24, 19, 15, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.wo-panel {
  padding: clamp(16px, 2.5vw, 24px);
}

.wo-panel[hidden] {
  display: none;
}

.wo-panel-head,
.wo-cart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.wo-panel h2,
.wo-cart h2 {
  margin: 0;
  font-size: clamp(1.18rem, 2.4vw, 1.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.wo-stock-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.wo-stock-tabs button {
  min-height: 36px;
  border: 1px solid #cfd7e3;
  border-radius: 6px;
  background: #f8fafc;
  color: #111827;
  padding: 8px 11px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
}

.wo-stock-tabs button[aria-pressed="true"] {
  border-color: #111827;
  background: #111827;
  color: #ffffff;
}

.wo-ghost-button {
  min-height: 36px;
  padding: 8px 10px;
}

.wo-search {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(150px, 210px) auto;
  gap: 10px;
  align-items: end;
}

.wo-search label,
.wo-manual-grid label,
.wo-form-grid label,
.wo-proof,
.wo-product-controls label,
.wo-cart-controls label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.wo-search span,
.wo-manual-grid span,
.wo-form-grid span,
.wo-proof > span,
.wo-product-controls span,
.wo-cart-controls span {
  color: #6b5f4c;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wo-search input,
.wo-search select,
.wo-manual-grid input,
.wo-manual-grid select,
.wo-form-grid input,
.wo-form-grid textarea,
.wo-product-controls input,
.wo-product-controls select,
.wo-cart-controls input,
.wo-proof input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #cfd7e3;
  border-radius: 6px;
  background: #ffffff;
  color: #111827;
  padding: 10px 11px;
  font: inherit;
}

.wo-search button,
.wo-manual-grid button,
.wo-submit,
.wo-actions button {
  min-height: 42px;
  padding: 10px 14px;
  background: #111827;
  color: #ffffff;
}

.wo-search-status {
  min-height: 1.35rem;
  margin: 12px 0;
  color: #5b6472;
}

.wo-results {
  display: grid;
  gap: 10px;
}

.wo-product {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) minmax(260px, 0.9fr);
  gap: 12px;
  align-items: center;
  padding: 9px;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  background: #ffffff;
}

.wo-product img,
.wo-cart-item img,
.wo-cart-fallback {
  display: block;
  width: 84px;
  height: 84px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #f8fafc;
  object-fit: contain;
}

.wo-product-main {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.wo-product-main span,
.wo-product-main small,
.wo-cart-item span,
.wo-cart-item small {
  color: #5b6472;
  font-size: 0.84rem;
}

.wo-product-main strong,
.wo-cart-item strong {
  min-width: 0;
  font-size: 1rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

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

.wo-qty-tools {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

.wo-qty-tools button {
  min-height: 34px;
  border: 1px solid #cfd7e3;
  border-radius: 6px;
  background: #f8fafc;
  color: #111827;
  padding: 6px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
}

.wo-product-controls button {
  background: #b42318;
  border-color: #b42318;
  color: #ffffff;
}

.wo-manual {
  margin-top: 16px;
  padding: 0;
}

.wo-manual summary {
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 900;
}

.wo-manual-grid,
.wo-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 16px 16px;
}

.wo-form-grid {
  padding: 0;
}

.span-2 {
  grid-column: 1 / -1;
}

.wo-details-form {
  display: grid;
  gap: 16px;
}

.wo-form-section {
  display: grid;
  gap: 10px;
}

.wo-form-section h3 {
  margin: 0;
  font-size: 1rem;
}

.wo-payment-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.wo-payment-choice label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px;
  border: 1px solid #d4c8b4;
  border-radius: 8px;
  background: #fffdf7;
  font-weight: 850;
}

.wo-bank-lock,
.wo-bank-details,
.wo-proof {
  margin-top: 14px;
}

.wo-bank-lock {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px dashed #b9aa91;
  border-radius: 8px;
  background: #f5ecdc;
}

.wo-bank-lock[hidden],
.wo-bank-details[hidden] {
  display: none;
}

.wo-bank-lock span,
.wo-proof small {
  color: #6b5f4c;
}

.wo-bank-lock button {
  justify-self: start;
  min-height: 40px;
  padding: 9px 12px;
  background: #18130f;
  color: #fff7e8;
}

.wo-bank-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid #d4c8b4;
  border-radius: 8px;
  background: #d4c8b4;
}

.wo-bank-card div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 12px;
  background: #fffdf7;
}

.wo-bank-card div:nth-child(3) {
  grid-column: 1 / -1;
  background: #18130f;
  color: #fff7e8;
}

.wo-bank-card span {
  color: #7c6d56;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wo-bank-card div:nth-child(3) span {
  color: #f2b261;
}

.wo-bank-card strong {
  overflow-wrap: anywhere;
}

.wo-account-number {
  font-size: clamp(1.4rem, 4vw, 2rem);
  letter-spacing: 0;
}

.wo-submit-status {
  min-height: 1.4rem;
  color: #5f563f;
}

.wo-submit-status[data-error="true"] {
  color: #9b1f14;
}

.wo-submit {
  width: 100%;
  margin-top: 6px;
  font-size: 1rem;
}

.wo-submit:disabled {
  opacity: 0.62;
}

.wo-cart {
  position: sticky;
  top: 88px;
  padding: 16px;
}

.wo-cart-head span {
  display: inline-grid;
  min-width: 34px;
  min-height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #18130f;
  color: #fff7e8;
  font-weight: 900;
}

.wo-cart-items {
  display: grid;
  gap: 10px;
  max-height: min(52vh, 520px);
  overflow: auto;
  padding-right: 2px;
}

.wo-cart-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  border: 1px solid #ded4c3;
  border-radius: 8px;
  background: #fffdf7;
}

.wo-cart-item img,
.wo-cart-fallback {
  width: 74px;
  height: 74px;
}

.wo-cart-item > div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.wo-cart-options {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.wo-cart-options span {
  border: 1px solid #ded4c3;
  border-radius: 999px;
  padding: 3px 7px;
  background: #f7f1e7;
}

.wo-cart-controls {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
}

.wo-cart-controls input {
  min-height: 34px;
  padding: 7px 8px;
}

.wo-cart-controls b {
  color: #18130f;
  font-size: 0.82rem;
}

.wo-cart-controls button {
  min-height: 34px;
  padding: 7px 9px;
  border-color: transparent;
  background: transparent;
  color: #9b1f14;
}

.wo-totals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 14px;
  border-radius: 8px;
  background: #18130f;
}

.wo-totals div {
  padding: 12px;
  background: #2b2119;
  color: #fff7e8;
}

.wo-totals span {
  display: block;
  margin-bottom: 4px;
  color: #f2b261;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wo-currency-box {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  background: #f8fafc;
}

.wo-currency-box label {
  display: grid;
  gap: 5px;
}

.wo-currency-box span {
  display: block;
  color: #687383;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wo-currency-box select {
  width: 100%;
  min-height: 38px;
  border: 1px solid #cfd7e3;
  border-radius: 6px;
  background: #ffffff;
  color: #111827;
  padding: 8px 10px;
  font: inherit;
}

.wo-currency-box strong {
  display: block;
  margin-top: 4px;
  font-size: 1.15rem;
}

.wo-currency-box small {
  display: block;
  margin-top: 4px;
  color: #5b6472;
  line-height: 1.35;
}

.wo-actions {
  margin-top: 12px;
}

.wo-actions button {
  width: 100%;
}

.wo-empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed #cfd7e3;
  border-radius: 8px;
  color: #5b6472;
  text-align: center;
}

@media (max-width: 1060px) {
  .wo-layout {
    grid-template-columns: 1fr;
  }

  .wo-cart {
    position: static;
    order: -1;
  }

  .wo-cart-items {
    max-height: none;
  }

  .wo-order-head {
    grid-template-columns: 1fr;
  }

  .wo-product {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .wo-product-controls {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .wo-topbar {
    position: static;
    grid-template-columns: 1fr;
  }

  .wo-steps {
    justify-content: stretch;
  }

  .wo-steps button {
    flex: 1 1 0;
    padding: 8px 6px;
    font-size: 0.86rem;
  }

  .wo-sales-link {
    text-align: center;
  }

  .wo-topbar-tools {
    justify-content: center;
    flex-wrap: wrap;
  }

  .wo-order-metrics {
    grid-template-columns: 1fr;
  }

  .wo-order-metrics div {
    border-left: 0;
    border-top: 1px solid #e4e9f0;
  }

  .wo-order-metrics div:first-child {
    border-top: 0;
  }

  .wo-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .wo-search,
  .wo-manual-grid,
  .wo-form-grid,
  .wo-payment-choice,
  .wo-bank-card {
    grid-template-columns: 1fr;
  }

  .wo-product {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .wo-product img {
    width: 72px;
    height: 72px;
  }

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

  .wo-cart-controls {
    grid-template-columns: 76px 1fr;
  }

  .wo-cart-controls button {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

/* Wholesale catalog visual refresh */
.wholesale-muay-thai-body,
.wholesale-muay-thai-body * {
  box-sizing: border-box;
}

.wholesale-muay-thai-body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% -12%, rgba(196, 54, 36, 0.18), transparent 28rem),
    radial-gradient(circle at 92% 2%, rgba(26, 69, 61, 0.2), transparent 30rem),
    linear-gradient(180deg, #f6f0e5 0%, #ece3d4 48%, #f8f4ec 100%);
  color: #18130f;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.wholesale-header,
.wholesale-shell {
  width: min(1400px, calc(100vw - 28px));
}

.wholesale-header {
  top: 12px;
  grid-template-columns: auto minmax(260px, 1fr) auto auto;
  gap: 16px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(24, 19, 15, 0.96), rgba(47, 38, 29, 0.95)),
    #18130f;
  color: #fff7e8;
  box-shadow: 0 22px 60px rgba(45, 32, 20, 0.2);
}

.wholesale-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  padding: 7px 12px 7px 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff7e8;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wholesale-logo {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: #fff9ed;
  overflow: hidden;
}

.wholesale-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wholesale-title {
  min-width: 0;
}

.wholesale-title p,
.wholesale-drawer__header p {
  color: #f2b261;
  letter-spacing: 0.18em;
}

.wholesale-title h1,
.wholesale-drawer__header h2 {
  color: inherit;
  font-size: clamp(1.35rem, 2.6vw, 2.45rem);
  letter-spacing: -0.04em;
}

.wholesale-title > span {
  display: block;
  max-width: 760px;
  margin-top: 5px;
  color: rgba(255, 247, 232, 0.72);
  font-size: 0.9rem;
  line-height: 1.35;
}

.wholesale-header-flags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
  max-width: 260px;
}

.wholesale-header-flags span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 247, 232, 0.8);
  padding: 7px 10px;
  font-size: 0.72rem;
  font-weight: 800;
}

.wholesale-quote-button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: #f2b261;
  color: #18130f;
  padding: 12px 16px;
  box-shadow: 0 12px 28px rgba(242, 178, 97, 0.26);
}

.wholesale-quote-button span {
  background: #18130f;
  color: #fff7e8;
}

.wholesale-shell {
  padding: 18px 0 80px;
}

.wholesale-control-panel {
  top: 102px;
  padding: 16px;
  border: 1px solid rgba(74, 60, 45, 0.14);
  border-radius: 22px;
  background: rgba(255, 252, 244, 0.9);
  box-shadow: 0 18px 50px rgba(55, 42, 28, 0.1);
}

.wholesale-count-strip {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wholesale-count-strip strong {
  display: inline-grid;
  min-width: 4.25rem;
  place-items: center;
  border-radius: 14px;
  background: #18130f;
  color: #fff7e8;
  padding: 8px 12px;
  font-size: 1.3rem;
}

.wholesale-count-strip span {
  color: #6d6256;
  font-weight: 700;
}

.wholesale-filters {
  grid-template-columns: minmax(260px, 2fr) repeat(4, minmax(130px, 1fr));
  gap: 10px;
}

.wholesale-filters label,
.wholesale-line__qty,
.wholesale-line__selectors label,
.wholesale-quote-form label {
  gap: 6px;
}

.wholesale-filters span,
.wholesale-line__qty span,
.wholesale-line__selectors span,
.wholesale-quote-form label > span {
  color: #70665b;
  font-size: 0.68rem;
}

.wholesale-filters input,
.wholesale-filters select,
.wholesale-line__qty input,
.wholesale-line__selectors select,
.wholesale-quote-form input,
.wholesale-quote-form textarea {
  min-height: 44px;
  border: 1px solid #ddd2bf;
  border-radius: 14px;
  background: #fffaf0;
  color: #18130f;
  padding: 10px 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.wholesale-filters input:focus,
.wholesale-filters select:focus,
.wholesale-line__qty input:focus,
.wholesale-line__selectors select:focus,
.wholesale-quote-form input:focus,
.wholesale-quote-form textarea:focus {
  border-color: #b86d2f;
  box-shadow: 0 0 0 3px rgba(242, 178, 97, 0.24);
  outline: none;
}

.wholesale-line-sheet {
  margin-top: 18px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(55, 42, 28, 0.1);
}

.wholesale-line-head {
  top: 217px;
  background: #1f1914;
}

.wholesale-lines {
  border-color: #e3d8c8;
  background: #e3d8c8;
}

.wholesale-line {
  background: #fffaf0;
  transition:
    background 0.16s ease,
    transform 0.16s ease;
}

.wholesale-line:hover {
  background: #fffdf7;
}

.wholesale-line__photo {
  border-color: #e3d8c8;
  border-radius: 16px;
  background: linear-gradient(180deg, #fffdf7, #f3eadb);
}

.wholesale-line__product strong {
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.wholesale-line__product span,
.wholesale-line__type span,
.wholesale-muted {
  color: #74685c;
}

.wholesale-line__brand {
  display: inline-flex;
  width: fit-content;
  border: 1px solid #e5d8c4;
  border-radius: 999px;
  background: #f4ead8;
  padding: 6px 10px;
}

.wholesale-option-line b,
.wholesale-quote-item__meta span {
  border-color: #e1d4c1;
  background: #f5ebdb;
}

.wholesale-line__add,
.wholesale-submit,
.wholesale-load-more {
  border: 0;
  border-radius: 999px;
  background: #18130f;
  color: #fff7e8;
}

.wholesale-line__add {
  background: #c43624;
  box-shadow: 0 12px 24px rgba(196, 54, 36, 0.18);
}

.wholesale-load-more {
  margin-top: 18px;
  background: #fffaf0;
  color: #18130f;
  border: 1px solid #d7cab8;
}

.wholesale-empty {
  border-radius: 16px;
  background: #fffaf0;
}

.wholesale-drawer-backdrop {
  background: rgba(24, 19, 15, 0.5);
  backdrop-filter: blur(5px);
}

.wholesale-quote-drawer {
  width: min(520px, 100vw);
  border-left: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(242, 178, 97, 0.18), transparent 20rem),
    #fffaf0;
  padding: 18px;
  box-shadow: -28px 0 70px rgba(24, 19, 15, 0.26);
}

.wholesale-drawer__header {
  align-items: center;
  padding: 12px;
  border-radius: 20px;
  background: #18130f;
  color: #fff7e8;
}

.wholesale-drawer__close,
.wholesale-image-modal button {
  border: 0;
  border-radius: 999px;
  background: #fff7e8;
  color: #18130f;
}

.wholesale-quote-item {
  border-color: #e1d4c1;
  border-radius: 18px;
  background: #fffdf7;
}

.wholesale-quote-item img {
  border-color: #e1d4c1;
  border-radius: 14px;
}

.wholesale-quote-item__controls input {
  border-color: #ddd2bf;
  border-radius: 12px;
  background: #fffaf0;
}

.wholesale-link-button {
  color: #c43624;
}

.wholesale-quote-summary {
  gap: 8px;
  background: transparent;
}

.wholesale-quote-summary div {
  border-radius: 18px;
  background: #18130f;
}

.wholesale-quote-form {
  gap: 12px;
  padding: 14px;
  border: 1px solid #e1d4c1;
  border-radius: 22px;
  background: #fffdf7;
}

.wholesale-form-intro {
  display: grid;
  gap: 4px;
  padding-bottom: 4px;
}

.wholesale-form-intro strong {
  color: #18130f;
  font-size: 1rem;
}

.wholesale-form-intro span {
  color: #756b60;
  font-size: 0.85rem;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

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

.wholesale-form-grid .span-2 {
  grid-column: 1 / -1;
}

.wholesale-submit {
  min-height: 48px;
  background: #c43624;
}

.wholesale-image-modal {
  background: rgba(24, 19, 15, 0.88);
  backdrop-filter: blur(6px);
}

.wholesale-image-modal img {
  border-radius: 20px;
  background: #fffaf0;
}

@media (max-width: 1180px) {
  .wholesale-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .wholesale-header-flags {
    display: none;
  }

  .wholesale-control-panel {
    position: static;
  }

  .wholesale-line-head {
    top: 0;
  }
}

@media (max-width: 760px) {
  .wholesale-header,
  .wholesale-shell {
    width: calc(100vw - 18px) !important;
    max-width: calc(100vw - 18px);
    margin-right: 9px;
    margin-left: 9px;
  }

  .wholesale-header {
    position: static;
    grid-template-columns: 1fr;
    border-radius: 22px;
    overflow: hidden;
  }

  .wholesale-brand-lockup {
    min-width: 0;
    width: 100%;
    justify-content: flex-start;
  }

  .wholesale-brand-lockup span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .wholesale-title h1 {
    max-width: 100%;
    font-size: clamp(1.18rem, 6vw, 1.5rem) !important;
    overflow-wrap: anywhere;
    white-space: normal !important;
  }

  .wholesale-title > span {
    max-width: 100%;
    font-size: 0.84rem;
    white-space: normal !important;
  }

  .wholesale-quote-button {
    width: 100%;
  }

  .wholesale-control-panel {
    border-radius: 20px;
  }

  .wholesale-count-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .wholesale-filters {
    grid-template-columns: 1fr;
  }

  .wholesale-filters label,
  .wholesale-filters input,
  .wholesale-filters select {
    min-width: 0;
  }

  .wholesale-line-sheet {
    border-radius: 0;
    box-shadow: none;
  }

  .wholesale-line {
    border-color: #e1d4c1;
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 10px 26px rgba(55, 42, 28, 0.08);
  }

  .wholesale-line__brand {
    width: 100%;
    justify-content: center;
  }

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

/* Wholesale brand color correction */
.wholesale-muay-thai-body {
  background:
    radial-gradient(circle at 10% -10%, rgba(46, 196, 182, 0.2), transparent 28rem),
    radial-gradient(circle at 92% 0%, rgba(11, 31, 58, 0.16), transparent 26rem),
    linear-gradient(180deg, #eef7fb 0%, var(--gray) 44%, var(--white) 100%);
  color: var(--ink);
}

.wholesale-header {
  border-color: rgba(46, 196, 182, 0.28);
  background:
    radial-gradient(circle at 92% 20%, rgba(46, 196, 182, 0.28), transparent 24rem),
    linear-gradient(135deg, var(--blue), #102a4e);
  color: var(--white);
  box-shadow: 0 22px 60px rgba(11, 31, 58, 0.22);
}

.wholesale-brand-lockup {
  gap: 12px;
  padding: 8px 13px 8px 8px;
  border-color: rgba(46, 196, 182, 0.36);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.wholesale-logo {
  width: 86px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: #07172d;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.wholesale-logo img {
  object-fit: cover;
}

.wholesale-title p,
.wholesale-drawer__header p {
  color: var(--teal);
}

.wholesale-title > span,
.wholesale-header-flags span {
  color: rgba(255, 255, 255, 0.78);
}

.wholesale-quote-button,
.wholesale-line__add {
  background: var(--teal);
  color: var(--blue);
  box-shadow: 0 12px 28px rgba(46, 196, 182, 0.26);
}

.wholesale-quote-button span {
  background: var(--blue);
  color: var(--white);
}

.wholesale-control-panel,
.wholesale-line,
.wholesale-empty,
.wholesale-quote-form,
.wholesale-quote-item {
  background: var(--white);
}

.wholesale-control-panel {
  border-color: var(--line);
  box-shadow: 0 18px 50px rgba(11, 31, 58, 0.09);
}

.wholesale-count-strip strong,
.wholesale-line-head,
.wholesale-submit,
.wholesale-quote-summary div,
.wholesale-drawer__header {
  background: var(--blue);
  color: var(--white);
}

.wholesale-count-strip span,
.wholesale-filters span,
.wholesale-line__qty span,
.wholesale-line__selectors span,
.wholesale-quote-form label > span,
.wholesale-line__product span,
.wholesale-line__type span,
.wholesale-muted,
.wholesale-form-intro span {
  color: var(--muted);
}

.wholesale-filters input,
.wholesale-filters select,
.wholesale-line__qty input,
.wholesale-line__selectors select,
.wholesale-quote-form input,
.wholesale-quote-form textarea,
.wholesale-quote-item__controls input {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.wholesale-filters input:focus,
.wholesale-filters select:focus,
.wholesale-line__qty input:focus,
.wholesale-line__selectors select:focus,
.wholesale-quote-form input:focus,
.wholesale-quote-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(46, 196, 182, 0.22);
}

.wholesale-lines {
  border-color: var(--line);
  background: var(--line);
}

.wholesale-line:hover {
  background: #f8fcff;
}

.wholesale-line__photo {
  border-color: var(--line);
  background: linear-gradient(180deg, var(--white), var(--gray));
}

.wholesale-line__brand {
  border-color: rgba(46, 196, 182, 0.28);
  background: rgba(46, 196, 182, 0.1);
  color: var(--blue);
}

.wholesale-option-line b,
.wholesale-quote-item__meta span {
  border-color: var(--line);
  background: var(--gray);
}

.wholesale-load-more {
  border-color: var(--line);
  background: var(--white);
  color: var(--blue);
}

.wholesale-quote-drawer {
  background:
    radial-gradient(circle at 10% 0%, rgba(46, 196, 182, 0.14), transparent 20rem),
    var(--white);
}

.wholesale-submit {
  background: var(--blue);
}

.wholesale-link-button {
  color: var(--blue);
}

@media (max-width: 760px) {
  .wholesale-logo {
    width: 78px;
    height: 48px;
  }
}

/* Wholesale header cleanup */
.wholesale-header {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.wholesale-header-flags {
  display: none !important;
}

.wholesale-logo {
  width: 98px;
  height: 58px;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.wholesale-logo img {
  border-radius: 12px;
  object-fit: contain;
}

.wholesale-line-head {
  position: static !important;
  top: auto !important;
  z-index: 1;
}

@media (max-width: 760px) {
  .wholesale-header {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 14px;
  }

  .wholesale-brand-lockup {
    width: 100%;
    min-width: 0;
  }

  .wholesale-title {
    width: 100%;
  }

  .wholesale-title h1 {
    font-size: clamp(2rem, 14vw, 3.4rem);
  }

  .wholesale-quote-button {
    width: 100%;
    justify-content: center;
  }

  .wholesale-logo {
    width: 84px;
    height: 54px;
  }
}

/* Wholesale line-sheet polish: loading skeleton, hover states, scanability */
.wholesale-line-head,
.wholesale-line {
  grid-template-columns: 104px minmax(220px, 1.6fr) minmax(100px, 0.7fr) minmax(105px, 0.7fr) minmax(200px, 1.2fr) minmax(118px, 0.8fr) 72px 122px;
}

.wholesale-line {
  min-height: 116px;
}

.wholesale-line:nth-child(even) {
  background: #f6fafd;
}

.wholesale-line:hover {
  background: #ecf6fa;
}

.wholesale-line__photo {
  width: 92px;
  height: 92px;
  cursor: zoom-in;
}

.wholesale-line__photo img {
  transition: transform 0.2s ease;
}

.wholesale-line__photo:hover img,
.wholesale-line__photo:focus-visible img {
  transform: scale(1.07);
}

/* Type scale: keep only key facts bold */
.wholesale-line__product strong {
  font-weight: 700;
}

.wholesale-line__brand,
.wholesale-line__type b {
  font-size: 0.85rem;
  font-weight: 700;
}

.wholesale-option-line b,
.wholesale-quote-item__meta span {
  font-weight: 600;
}

.wholesale-quote-button,
.wholesale-line__add,
.wholesale-submit,
.wholesale-load-more,
.wholesale-drawer__close,
.wholesale-link-button,
.wholesale-image-modal button {
  cursor: pointer;
  font-weight: 700;
  transition:
    filter 0.14s ease,
    transform 0.14s ease,
    box-shadow 0.14s ease;
}

.wholesale-quote-button:hover,
.wholesale-line__add:hover,
.wholesale-submit:hover,
.wholesale-drawer__close:hover,
.wholesale-image-modal button:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.wholesale-quote-button:active,
.wholesale-line__add:active,
.wholesale-submit:active,
.wholesale-drawer__close:active,
.wholesale-image-modal button:active {
  filter: brightness(0.97);
  transform: translateY(0);
}

.wholesale-load-more:hover {
  background: var(--gray);
  transform: translateY(-1px);
}

.wholesale-link-button:hover {
  text-decoration: underline;
}

.wholesale-quote-button:focus-visible,
.wholesale-line__add:focus-visible,
.wholesale-submit:focus-visible,
.wholesale-load-more:focus-visible,
.wholesale-drawer__close:focus-visible,
.wholesale-link-button:focus-visible,
.wholesale-line__photo:focus-visible,
.wholesale-image-modal button:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

/* Loading skeleton */
.wholesale-line--skeleton {
  pointer-events: none;
}

.ws-skel {
  display: block;
  min-height: 14px;
  border-radius: 8px;
  background: linear-gradient(100deg, #e9eef3 40%, #f8fbfd 50%, #e9eef3 60%);
  background-size: 200% 100%;
  animation: ws-shimmer 1.3s linear infinite;
}

.ws-skel--photo {
  width: 92px;
  height: 92px;
  border-radius: 12px;
}

.ws-skel--text {
  width: 82%;
  height: 16px;
}

.ws-skel--chip {
  width: 64%;
  height: 14px;
  border-radius: 999px;
}

@keyframes ws-shimmer {
  from {
    background-position: 200% 0;
  }

  to {
    background-position: -200% 0;
  }
}

/* Pricing: unit retail price large, wholesale price smaller below */
.wholesale-line__price {
  display: grid;
  gap: 3px;
  align-content: center;
  min-width: 0;
}

.wholesale-line__price strong {
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.wholesale-line__price span {
  font-size: 0.74rem;
  color: #5d6b76;
}

.wholesale-line__price span b {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0b7263;
}

.wholesale-quote-item__price {
  font-size: 0.78rem;
  color: #5d6b76;
}

.wholesale-quote-item__price b {
  font-weight: 700;
  color: #0b7263;
}

.wholesale-quote-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (prefers-reduced-motion: reduce) {
  .ws-skel {
    animation: none;
  }

  .wholesale-line__photo img,
  .wholesale-quote-button,
  .wholesale-line__add,
  .wholesale-submit,
  .wholesale-load-more,
  .wholesale-drawer__close {
    transition: none;
  }
}

@media (max-width: 1100px) {
  .wholesale-line-head,
  .wholesale-line {
    grid-template-columns: 92px minmax(0, 1fr) 96px;
  }

  .wholesale-line {
    min-height: 0;
  }

  .wholesale-line__price {
    grid-column: 2 / -1;
    grid-auto-flow: column;
    justify-content: start;
    align-items: baseline;
    gap: 10px;
  }

  .wholesale-line--skeleton .ws-skel--photo {
    grid-row: span 3;
  }
}

@media (max-width: 640px) {
  .wholesale-line-head,
  .wholesale-line {
    grid-template-columns: 88px minmax(0, 1fr);
  }

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

  .wholesale-quote-summary__estimate {
    grid-column: 1 / -1;
  }
}

/* Quote drawer fixes: close button was a fixed 38px circle that clipped its
   "Close" label and overflowed the header on small screens. */
.wholesale-drawer__header {
  align-items: center;
  flex-wrap: nowrap;
}

.wholesale-drawer__header > div {
  min-width: 0;
}

.wholesale-drawer__header h2 {
  overflow-wrap: anywhere;
}

.wholesale-drawer__close {
  width: auto;
  height: auto;
  min-height: 38px;
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  line-height: 1;
}

.wholesale-quote-item__controls {
  flex-wrap: wrap;
}

.wholesale-quote-item__controls label {
  min-width: 0;
  flex: 0 1 110px;
}

.wholesale-quote-item__controls input {
  width: 100%;
}

@media (max-width: 640px) {
  .wholesale-quote-drawer {
    width: 100vw;
    padding: 12px 12px 20px;
  }

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

  .wholesale-form-grid .span-2 {
    grid-column: auto;
  }
}

/* ── Mobile home visual refresh (2026-07-02) ──────────────────────────────
   The phone overrides in the ≤760px block earlier in this file were being
   DEFEATED by the higher-specificity desktop rules (.home-body .hero.hero-offers
   …), which squeezed the hero into two columns and kept the oversized white
   copy card on phones. These rules match that specificity and win by source
   order. Also adds Amazon-style savings chips + deal tags (see cart.js). */

span.deal-pct,
.product-price-line span.deal-pct,
.hero-deal strong span.deal-pct,
.home-body .product-price-line span.deal-pct,
.home-body .hero-deal strong span.deal-pct {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin: 0;
  border-radius: 4px;
  background: #cc0c39;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 4px 6px;
  text-decoration: none;
  text-transform: none;
}

.hero-deal strong span.deal-pct,
.home-body .hero-deal strong span.deal-pct {
  margin: 0 8px 0 0;
  vertical-align: 3px;
}

.product-body .product-deal-note {
  width: fit-content;
  border-radius: 4px;
  background: rgba(204, 12, 57, 0.08);
  color: #cc0c39;
  font-weight: 850;
  padding: 3px 7px;
}

@media (max-width: 760px) {
  /* Hero: compact dark promo banner + swipeable deal cards (products above
     the fold instead of a giant empty white card). */
  .home-body .hero.hero-offers {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 14px 12px 18px;
    background:
      radial-gradient(120% 140% at 100% 0%, rgba(46, 196, 182, 0.28), rgba(46, 196, 182, 0) 55%),
      linear-gradient(165deg, #0b1f3a 0%, #10294b 60%, #0b1f3a 100%);
  }

  .home-body .hero.hero-offers .hero-copy {
    min-height: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--white);
    padding: 2px 2px 0;
  }

  /* Eyebrow repeats the h1 text verbatim on the home hero — drop it. */
  .home-body .hero.hero-offers .hero-copy .eyebrow {
    display: none;
  }

  .home-body .hero.hero-offers .hero-copy h1 {
    max-width: none;
    margin-bottom: 6px;
    color: var(--white);
    font-size: 27px;
    line-height: 1.05;
    text-transform: none;
  }

  .home-body .hero.hero-offers .hero-copy p:not(.eyebrow) {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .home-body .hero.hero-offers .hero-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
  }

  .home-body .hero.hero-offers .hero-actions a {
    flex: 1 1 0;
    min-width: 0;
    min-height: 42px;
    border-radius: 8px;
    font-size: 11px;
    letter-spacing: 0.05em;
    line-height: 1.15;
    padding: 0 10px;
    text-align: center;
    white-space: normal;
  }

  .home-body .hero.hero-offers .hero-actions a + a {
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
  }

  .home-body .hero.hero-offers .hero-offer-grid {
    grid-auto-flow: column;
    grid-auto-columns: min(78vw, 300px);
    grid-template-columns: none;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .home-body .hero.hero-offers .hero-offer-grid::-webkit-scrollbar {
    display: none;
  }

  .home-body .hero-offer-grid .hero-deal {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 4px 12px;
    min-height: 150px;
    align-items: center;
    border-radius: 12px;
    box-shadow: 0 10px 26px rgba(3, 12, 27, 0.35);
    padding: 12px;
    scroll-snap-align: start;
  }

  .home-body .hero-offer-grid .hero-deal img {
    grid-row: 1 / span 5;
    width: 92px;
    height: 92px;
    object-fit: contain;
    padding: 4px;
  }

  .home-body .hero-offer-grid .hero-deal h2 {
    font-size: 16px;
    line-height: 1.1;
  }

  .home-body .hero-offer-grid .hero-deal p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }

  .home-body .hero-offer-grid .hero-deal strong {
    font-size: 19px;
  }

  .home-body .hero-offer-grid .hero-deal strong span:not(.deal-pct) {
    display: inline-block;
    margin: 0 0 0 6px;
    font-size: 12px;
  }

  .home-body .hero-offer-grid .hero-deal .hero-deal-link {
    margin-top: 6px;
    min-height: 36px;
    border-radius: 8px;
    background: var(--teal);
    color: var(--blue);
    font-size: 11px;
    letter-spacing: 0.04em;
    padding: 0 14px;
  }

  /* Product cards: defined edges, stronger price hierarchy, bigger tap
     targets — closer to marketplace card conventions. */
  .home-body .product-card {
    border: 1px solid rgba(11, 31, 58, 0.1);
    box-shadow: none;
  }

  .home-body .product-price-line {
    align-items: center;
    gap: 6px;
  }

  .home-body .product-price-line strong {
    font-size: 17px;
    letter-spacing: -0.01em;
  }

  .home-body .product-price-line span:not(.deal-pct) {
    font-size: 11px;
  }

  .home-body .add-cart-button {
    min-height: 40px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 900;
  }

  /* Section headers: teal accent bar for faster scanning between shelves. */
  .home-body .section-title h2 {
    position: relative;
    padding-left: 11px;
  }

  .home-body .section-title h2::before {
    content: "";
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 0;
    width: 4px;
    border-radius: 2px;
    background: var(--teal);
  }

  .home-body .quick-grid article {
    border: 1px solid rgba(11, 31, 58, 0.08);
  }
}

/* ── Header currency switcher (injected by assets/currency.js) ─────────── */
.header-currency {
  position: relative;
  display: inline-flex;
}

.header-currency-button {
  gap: 6px;
}

.header-currency-code {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.header-currency-caret {
  display: block;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.85;
}

.header-currency-flag {
  flex: none;
  display: block;
  width: 22px;
  height: 16.5px;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

.header-currency-button .header-currency-flag {
  width: 20px;
  height: 15px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.header-currency-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  min-width: 248px;
  max-height: min(68vh, 480px);
  overflow-y: auto;
  padding: 6px;
  background: var(--white, #fff);
  color: #0f1111;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.header-currency-menu[hidden] {
  display: none;
}

.header-currency-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.header-currency-item:hover,
.header-currency-item:focus-visible {
  background: rgba(0, 0, 0, 0.06);
  outline: none;
}

.header-currency-name {
  margin-left: auto;
  padding-left: 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(15, 17, 17, 0.62);
  white-space: nowrap;
}

.header-currency-check {
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--teal, #16a3a3);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
}

.header-currency-item.is-active {
  font-weight: 850;
}

.header-currency-item.is-active .header-currency-check {
  opacity: 1;
}

.header-currency-note {
  margin: 6px 4px 2px;
  padding: 8px 6px 2px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 11.5px;
  line-height: 1.45;
  color: rgba(15, 17, 17, 0.6);
}

@media (max-width: 720px) {
  .header-currency-caret {
    display: none;
  }
}

/* ---- muaythai_mma: category section headers (sort=category pages) ---- */
.wholesale-lines .wholesale-section-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 30px 0 6px;
  padding: 0 6px 10px;
  border-bottom: 2px solid rgba(15, 61, 62, 0.28);
}
.wholesale-lines .wholesale-section-head:first-child {
  margin-top: 4px;
}
.wholesale-lines .wholesale-section-head h2 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f3d3e;
}
.wholesale-lines .wholesale-section-head span {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(15, 61, 62, 0.62);
  white-space: nowrap;
}

/* The current department owns the flagship navigation treatment. */
.department-nav a.is-current {
  background: #d71920;
  color: #fff;
}

.home-body .hero.hero-offers {
  background:
    radial-gradient(circle at 8% 10%, rgba(215, 25, 32, 0.24), transparent 36%),
    linear-gradient(135deg, #07162d 0%, #0b1f3a 58%, #151c29 100%);
}

.home-body .hero.hero-offers .hero-copy {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(7, 22, 45, 0.94);
  color: #fff;
}

.home-body .hero.hero-offers .hero-copy h1,
.home-body .hero.hero-offers .hero-copy p:not(.eyebrow) {
  color: #fff;
}

.home-body .hero.hero-offers .hero-copy .eyebrow {
  color: #ff5b60;
}

.home-body .hero.hero-offers .hero-actions a {
  background: #d71920;
  color: #fff;
}

.home-body .hero.hero-offers .hero-actions a + a {
  border-color: rgba(255, 255, 255, 0.38);
  background: transparent;
  color: #fff;
}

.home-body .market-section:first-of-type {
  border-top: 4px solid #d71920;
}

.home-body .section-title-logo-only {
  align-items: center;
  min-height: 0;
}

.home-body .section-title-logo-only .brand-section-heading {
  display: flex;
  align-items: center;
  min-height: 0;
  margin: 0;
}

.home-body .section-title-logo-only .brand-section-link {
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  text-decoration: none;
}

.home-body .section-title-logo-only .brand-section-link:focus-visible {
  outline: 3px solid rgba(0, 169, 157, 0.45);
  outline-offset: 4px;
}

.home-body .section-title-logo-only .section-brand-logo {
  display: block;
  width: auto;
  max-width: 180px;
  height: 56px;
  object-fit: contain;
}

.home-body .section-title-logo-only .section-brand-logo-fairtex {
  max-width: 150px;
  height: 44px;
}

.home-body .section-title-logo-only .brand-section-heading span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.brand-live-main {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.brand-live-hero {
  display: grid;
  min-height: 120px;
  place-items: center;
  align-items: center;
}

.brand-live-logo {
  display: block;
  width: 240px;
  height: 72px;
  object-fit: contain;
}

.supplement-brand-page .brand-live-logo {
  width: min(240px, 80vw);
  height: 72px;
}

.brand-live-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.supplement-brands-page .performance-brand-directory {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  margin: 28px 0 56px;
}

.supplement-brands-page .performance-brand-card {
  display: grid;
  width: 100%;
  min-height: 132px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #d9e0ea;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(8, 23, 45, 0.08);
}

.supplement-brands-page .performance-brand-card img {
  display: block;
  width: 180px !important;
  max-width: 80%;
  height: 64px !important;
  max-height: 64px;
  object-fit: contain;
}

.supplements-brand-directory-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 18px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #08172d;
  font-weight: 800;
  text-decoration: none;
}

.supplement-brand-section-title {
  display: block;
}

.supplement-brand-heading {
  margin: 0;
}

.supplement-brand-heading a {
  display: inline-grid;
  min-width: 220px;
  min-height: 88px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #d9e0ea;
  border-radius: 14px;
  background: #fff;
}

.supplement-brand-heading img {
  display: block;
  width: 180px !important;
  max-width: 80%;
  height: 64px !important;
  object-fit: contain;
}

[data-brand-slug="raja_boxing"] .brand-live-logo,
[data-brand-slug="primo"] .brand-live-logo,
[data-brand-slug="windy"] .brand-live-logo {
  max-width: min(440px, 100%);
  max-height: 180px;
}

.brand-live-results .product-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  overflow: visible;
}

.brand-live-results .product-card {
  min-width: 0;
}

@media (max-width: 760px) {
  .home-body .hero.hero-offers {
    background:
      radial-gradient(120% 140% at 100% 0%, rgba(215, 25, 32, 0.32), transparent 55%),
      linear-gradient(165deg, #07162d 0%, #10294b 60%, #07162d 100%);
  }

  .home-body .hero.hero-offers .hero-copy {
    background: transparent;
  }
}
body[data-live-category]:not(.live-category-ready) .listing-sections {
  min-height: 32rem;
  visibility: hidden;
  border-radius: 16px;
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(255,255,255,.7) 24% 30%, transparent 36%) 0 0 / 240% 100%,
    repeating-linear-gradient(90deg, #eef2f7 0 220px, transparent 220px 238px);
  animation: brand-catalog-shimmer 1.25s linear infinite;
}

.catalog-load-error {
  margin: 24px;
  border: 1px solid rgba(215, 25, 32, .25);
  border-radius: 12px;
  background: rgba(215, 25, 32, .06);
  color: #8f1116;
  padding: 18px;
}

.brand-live-page.brand-catalog-loading .brand-live-results {
  min-height: 0;
  visibility: hidden;
}

.brand-live-page.brand-catalog-loading [data-brand-grid] {
  visibility: hidden;
}

.brand-live-page.brand-catalog-loading .brand-live-results::before {
  content: none;
}

@keyframes brand-catalog-shimmer {
  to { background-position: -240% 0, 0 0; }
}

/* Storefront UX unification. Commerce values continue to come from the
   published catalog and validation APIs. */
.home-body .hero.hero-offers {
  padding-bottom: 22px;
}

.home-body .home-category-grid {
  margin-top: 22px;
  z-index: auto;
}

.home-body .hero-offer-grid .hero-deal {
  border: 1px solid rgba(11, 31, 58, 0.08);
}

.home-body .hero-offer-grid .hero-deal-primary {
  border-color: rgba(215, 25, 32, 0.35);
  box-shadow: 0 14px 34px rgba(215, 25, 32, 0.12);
}

.product-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(11, 31, 58, 0.1);
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.06);
}

.product-card .product-image {
  aspect-ratio: 1 / 1;
  background: #f7f9fc;
}

.product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.product-card .product-body {
  display: flex;
  min-height: 210px;
  flex: 1;
  flex-direction: column;
}

.product-card .product-body h3 {
  display: -webkit-box;
  overflow: hidden;
  min-height: 2.35em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card .product-price-line {
  display: flex;
  min-height: 28px;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.product-card .add-cart-button {
  width: 100%;
  min-height: 44px;
  margin-top: auto;
}

.home-body .market-section .product-card .product-image {
  width: 100%;
  height: 220px;
  aspect-ratio: auto;
  overflow: hidden;
}

.home-body .market-section .product-card .product-image img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  padding: 12px;
}

.hero-deal-link:is(button) {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.quick-add-dialog {
  width: min(520px, calc(100% - 28px));
  max-height: min(760px, calc(100dvh - 28px));
  overflow: auto;
  border: 0;
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  padding: 0;
  box-shadow: 0 28px 90px rgba(2, 18, 38, 0.32);
}

.quick-add-dialog::backdrop {
  background: rgba(3, 18, 38, 0.7);
  backdrop-filter: blur(4px);
}

.quick-add-shell {
  position: relative;
  padding: 26px;
}

.quick-add-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.quick-add-product {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding-right: 34px;
}

.quick-add-product img {
  display: block;
  width: 112px;
  height: 112px;
  border-radius: 14px;
  background: #f5f7fa;
  object-fit: contain;
  padding: 8px;
}

.quick-add-product p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quick-add-product h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(20px, 4vw, 28px);
  line-height: 1.05;
}

.quick-add-price {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin-top: 10px;
}

.quick-add-price strong {
  color: var(--blue);
  font-size: 24px;
}

.quick-add-price s {
  color: var(--muted);
}

.quick-add-options {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.quick-add-options label {
  display: grid;
  gap: 7px;
  color: var(--blue);
  font-weight: 850;
}

.quick-add-options select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 0 14px;
}

.quick-add-submit {
  width: 100%;
  min-height: 52px;
  margin-top: 12px;
  border: 0;
  border-radius: 12px;
  background: var(--teal);
  color: var(--blue);
  font: inherit;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.quick-add-submit:disabled {
  background: #dce4ef;
  color: #6c7a8e;
  cursor: not-allowed;
}

.quick-add-status {
  min-height: 20px;
  margin: 10px 0 0;
  color: #a0181d;
  font-size: 13px;
}

@media (max-width: 760px) {
  .home-body .market-section .product-card .product-image {
    height: 170px;
  }

  .quick-add-shell {
    padding: 20px;
  }

  .quick-add-product {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
  }

  .quick-add-product img {
    width: 84px;
    height: 84px;
  }
}

.product-compare-price,
.pdp-compare {
  color: #65748a;
  text-decoration-thickness: 2px;
}

.pdp-wrap {
  gap: clamp(28px, 4vw, 54px);
}

.pdp-gallery-main {
  background: #f7f9fc;
  box-shadow: inset 0 0 0 1px rgba(11, 31, 58, 0.02);
}

.pdp-gallery-main img {
  padding: clamp(18px, 3vw, 34px);
}

.pdp-info {
  position: sticky;
  top: 18px;
  border: 1px solid rgba(11, 31, 58, 0.1);
  border-radius: 18px;
  background: #fff;
  padding: clamp(20px, 3vw, 30px);
  box-shadow: 0 16px 42px rgba(11, 31, 58, 0.08);
}

.pdp-discount {
  background: #d71920;
}

.pdp-variant select {
  min-height: 52px;
  border-width: 2px;
}

.pdp-cta {
  min-height: 56px;
  background: #0b1f3a;
}

.pdp-cta:not(:disabled):hover {
  background: #123761;
}

.pdp-related .product-row {
  align-items: stretch;
}

.wholesale-line__price em {
  width: fit-content;
  border-radius: 999px;
  background: rgba(11, 114, 99, 0.1);
  color: #0b7263;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 800;
  padding: 4px 7px;
}

@media (max-width: 880px) {
  .pdp-info {
    position: static;
  }
}

/* Full storefront treatment for the official supplement imports. */
.official-supplement-body {
  background:
    linear-gradient(rgba(11, 31, 58, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 58, 0.035) 1px, transparent 1px),
    #fbfcfa;
  background-size: 58px 58px;
}

.official-supplement-pdp {
  max-width: 1260px;
  padding-bottom: 84px;
}

.official-supplement-pdp .pdp-wrap {
  align-items: start;
  margin-bottom: 72px;
}

.official-supplement-pdp .pdp-gallery-main {
  min-height: 610px;
  border: 1px solid rgba(11, 31, 58, 0.09);
  border-radius: 22px;
  background: #f4f7fa;
}

.official-supplement-pdp .pdp-gallery-main img {
  width: 100%;
  height: 610px;
  object-fit: contain;
}

.official-supplement-pdp .pdp-thumbs {
  scrollbar-color: var(--teal) transparent;
}

.official-supplement-pdp .pdp-thumb {
  flex: 0 0 78px;
  height: 78px;
  background: #fff;
}

.official-pdp-brand {
  width: fit-content;
  color: #0b7263;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.official-supplement-pdp .pdp-title {
  color: var(--blue);
  font-size: clamp(2.25rem, 4vw, 4.2rem);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-transform: uppercase;
}

.official-pdp-kicker,
.official-sku {
  margin: 0;
  color: #63748a;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.official-supplement-pdp .pdp-price {
  color: var(--blue);
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.official-stock {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #0b7263;
  font-size: 0.86rem;
  font-weight: 850;
}

.official-stock span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #18a77d;
  box-shadow: 0 0 0 5px rgba(24, 167, 125, 0.12);
}

.official-supplement-pdp .pdp-variant {
  display: grid;
  gap: 8px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.official-supplement-pdp .pdp-variant select {
  width: 100%;
  min-height: 58px;
  border: 2px solid #cdd9e8;
  border-radius: 13px;
  background: #fff;
  color: var(--blue);
  font: inherit;
  padding: 0 16px;
  text-transform: none;
}

.official-supplement-pdp .pdp-selected-variant {
  margin: 0;
  color: #63748a;
}

.official-supplement-pdp .pdp-cta {
  width: 100%;
  border: 0;
  border-radius: 13px;
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 950;
  cursor: pointer;
  text-transform: uppercase;
}

.official-pdp-assurance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid #dce5ef;
  border-radius: 13px;
  background: #dce5ef;
}

.official-pdp-assurance p {
  display: grid;
  gap: 4px;
  margin: 0;
  background: #f8fafc;
  padding: 14px;
}

.official-pdp-assurance strong { color: var(--blue); font-size: 0.75rem; text-transform: uppercase; }
.official-pdp-assurance span { color: #63748a; font-size: 0.72rem; line-height: 1.45; }

.official-product-details {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(40px, 8vw, 120px);
  border-top: 1px solid #cfdae7;
  border-bottom: 1px solid #cfdae7;
  padding: 72px 0;
}

.official-section-label {
  margin: 0 0 12px;
  color: #0b8f86;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.official-product-details h2,
.official-section-heading h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 950;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}

.official-product-details > div > p:not(.official-section-label) {
  margin: 0 0 30px;
  color: #3f5065;
  font-size: 1.04rem;
  line-height: 1.75;
}

.official-product-details dl { margin: 0; border-top: 1px solid #d6e0eb; }
.official-product-details dl div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; border-bottom: 1px solid #d6e0eb; padding: 14px 0; }
.official-product-details dt { color: #718096; font-size: 0.72rem; font-weight: 900; text-transform: uppercase; }
.official-product-details dd { margin: 0; color: var(--blue); font-weight: 800; }
.official-product-details a { color: #0b7263; }

.official-related { padding-top: 72px; }
.official-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 30px; }
.official-section-heading > a { flex: 0 0 auto; color: #0b7263; font-weight: 900; text-transform: uppercase; }
.official-related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.official-related-card { display: grid; gap: 8px; min-width: 0; color: var(--blue); text-decoration: none; }
.official-related-image { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border: 1px solid #dbe4ee; border-radius: 16px; background: #fff; }
.official-related-image img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform 0.2s ease; }
.official-related-card:hover .official-related-image img { transform: scale(1.04); }
.official-related-brand { color: #0b8f86; font-size: 0.68rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.official-related-card strong { overflow: hidden; font-size: 0.92rem; line-height: 1.3; text-overflow: ellipsis; }
.official-related-card > span:last-child { font-weight: 900; }
.official-pdp-footer { margin-top: 0; }
.official-footer-cta { align-self: center; border-radius: 999px; background: var(--teal); color: var(--blue) !important; font-weight: 950; padding: 15px 22px; text-decoration: none; text-transform: uppercase; }

@media (max-width: 880px) {
  .official-supplement-pdp .pdp-gallery-main,
  .official-supplement-pdp .pdp-gallery-main img { min-height: 0; height: min(110vw, 520px); }
  .official-product-details { grid-template-columns: 1fr; gap: 30px; padding: 52px 0; }
  .official-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .official-section-heading { align-items: start; flex-direction: column; }
}

@media (max-width: 560px) {
  .official-supplement-pdp { padding-bottom: 54px; }
  .official-supplement-pdp .pdp-wrap { margin-bottom: 50px; }
  .official-supplement-pdp .pdp-info { padding: 20px; }
  .official-pdp-assurance { grid-template-columns: 1fr; }
  .official-product-details dl div { grid-template-columns: 100px 1fr; }
  .official-related-grid { gap: 12px; }
}

@media (max-width: 760px) {
  .home-body .home-category-grid {
    margin-top: 14px;
  }

  .home-body .hero.hero-offers {
    padding-bottom: 14px;
  }

  .pdp-main {
    padding-inline: 12px;
  }

  .pdp-info {
    border-radius: 14px;
    padding: 18px 14px;
  }

  .pdp-title {
    font-size: clamp(23px, 7vw, 30px);
  }

  .pdp-cta-row {
    position: sticky;
    bottom: 76px;
    z-index: 20;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    padding: 8px 0;
    backdrop-filter: blur(12px);
  }
}

/* Product card title consistency (prevents mid-word clipping overlap) */
.home-body .product-card h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.5em;
}

/* Professional supplement partner catalogs */
.supplement-tier-body .wholesale-header {
  grid-template-columns: auto minmax(280px, 1fr) auto auto;
}

.supplement-tier-nav {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(4, 18, 37, 0.34);
}

.supplement-tier-nav a {
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  padding: 9px 13px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.supplement-tier-nav a[aria-current="page"] {
  background: var(--teal);
  color: var(--blue);
}

.supplement-tier-body--trainer .wholesale-header {
  background:
    radial-gradient(circle at 88% 10%, rgba(247, 176, 57, 0.25), transparent 25rem),
    linear-gradient(135deg, var(--blue), #102a4e);
}

.supplement-tier-body--trainer .supplement-tier-nav a[aria-current="page"],
.supplement-tier-body--trainer .wholesale-quote-button,
.supplement-tier-body--trainer .wholesale-line__add {
  background: #f7b039;
  color: var(--blue);
}

.supplement-brand-rail {
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
  padding: 16px 20px;
  backdrop-filter: blur(18px);
}

.supplement-brand-rail > span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.supplement-brand-rail__logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 8px;
}

.supplement-brand-rail__logos > a {
  display: grid;
  min-height: 70px;
  place-items: center;
  padding: 8px 14px;
}

.supplement-brand-rail__logos img {
  width: 100%;
  height: 48px;
  object-fit: contain;
}

.supplement-logo--cellucor {
  filter: invert(1);
}

.supplement-department-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.supplement-department-nav button {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 18px;
  min-height: 104px;
  border: 1px solid rgba(11, 31, 58, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--blue);
  padding: 18px 20px;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.supplement-department-nav button::after {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  content: "\2192";
  font-size: 1.6rem;
}

.supplement-department-nav button:hover {
  transform: translateY(-2px);
  border-color: rgba(46, 196, 182, 0.65);
  box-shadow: 0 12px 30px rgba(11, 31, 58, 0.08);
}

.supplement-department-nav button[aria-pressed="true"] {
  border-color: var(--teal);
  background:
    radial-gradient(circle at 90% 10%, rgba(46, 196, 182, 0.16), transparent 13rem),
    #fff;
  box-shadow: inset 4px 0 0 var(--teal), 0 12px 30px rgba(11, 31, 58, 0.08);
}

.supplement-tier-body--trainer .supplement-department-nav button[aria-pressed="true"] {
  border-color: #f7b039;
  background:
    radial-gradient(circle at 90% 10%, rgba(247, 176, 57, 0.18), transparent 13rem),
    #fff;
  box-shadow: inset 4px 0 0 #f7b039, 0 12px 30px rgba(11, 31, 58, 0.08);
}

.supplement-department-nav span {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.supplement-department-nav strong {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  letter-spacing: -0.025em;
}

.supplement-department-nav small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.4;
}

.supplement-product-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.supplement-product-brand img,
.supplement-product-brand > b {
  width: 36px;
  height: 28px;
  flex: 0 0 auto;
  object-fit: contain;
}

.supplement-product-brand > b {
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
}

.supplement-product-brand span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.supplement-tier-body .wholesale-line__price {
  grid-auto-flow: row;
}

.supplement-tier-body .wholesale-line__price .supplement-list-price {
  color: var(--muted);
  font-size: 0.7rem;
}

.supplement-tier-body .wholesale-line__price strong {
  color: var(--blue);
  font-size: 1.3rem;
  font-weight: 900;
}

.supplement-tier-body--trainer .wholesale-line__price em {
  background: rgba(247, 176, 57, 0.16);
  color: #8b5700;
}

@media (max-width: 1180px) {
  .supplement-tier-body .wholesale-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .supplement-tier-nav {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .supplement-brand-rail__logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .supplement-tier-body .wholesale-header {
    grid-template-columns: 1fr;
  }

  .supplement-tier-body .wholesale-title {
    order: 2;
  }

  .supplement-tier-body .supplement-tier-nav {
    grid-column: auto;
    order: 3;
    width: 100%;
  }

  .supplement-tier-nav a {
    flex: 1;
    text-align: center;
  }

  .supplement-tier-body .wholesale-quote-button {
    order: 4;
  }

  .supplement-department-nav {
    grid-template-columns: 1fr;
  }

  .supplement-department-nav button {
    min-height: 92px;
    padding: 15px 17px;
  }

  .supplement-brand-rail__logos {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }

  .supplement-brand-rail__logos > div {
    min-width: 132px;
    scroll-snap-align: start;
  }

  .supplement-tier-body .wholesale-line__brand {
    width: 100%;
    justify-content: flex-start;
  }

  .supplement-tier-body .wholesale-line__price {
    grid-column: 1 / -1;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    gap: 8px;
  }
}
