/* ============================================================
   Faire-derived storefront system — Build and Equip catalogue
   White canvas · dollar-green type · Google Sans Flex site-wide
   Two radii only (4px / 40px) · shadows reserved for hover lift
   Trust-first sales palette: every tone derived from one dollar-green hue (160)
   Light dollar-bill green = short decorative rule only, never a control
   ============================================================ */

:root {
  --c-cream: #ffffff;                     /* white canvas */
  --c-white: #ffffff;                     /* card surface */
  --c-ink: oklch(38% 0.08 160);           /* dollar-green ink — headings, menus */
  --c-charcoal: oklch(32% 0.05 160);      /* body text */
  --c-smoke: oklch(52% 0.04 160);         /* muted text */
  --c-ash: oklch(91% 0.015 160);          /* hairline borders */
  --c-butter: oklch(75% 0.11 140);        /* dollar-bill light green — decorative rule */
  --c-flame: oklch(45% 0.1 160);          /* primary CTA green */
  --c-ember: oklch(38% 0.1 160);          /* CTA hover — deeper green */
  --c-forest: oklch(30% 0.06 160);        /* inverted band */
  --c-field: oklch(96.5% 0.02 160);       /* soft tinted field behind tonal sections */
  --c-field-2: oklch(93.5% 0.03 160);     /* slightly deeper tint for stacked fields */

  --r-md: 4px;
  --r-pill: 40px;
  --maxw: 1280px;
  --page-pad: 50px;

  /* Hover lift — the sole shadow in the system, kept faint and soft */
  --lift: 0 10px 30px -14px oklch(32% 0.06 160 / 0.35);
  --lift-lg: 0 18px 44px -18px oklch(32% 0.06 160 / 0.45);

  /* Single family site-wide: Google Sans Flex (variable 100-900, self-hosted).
     Display hierarchy comes from weight (500) instead of a serif contrast. */
  --font-sans: 'Google Sans Flex', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Google Sans Flex', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --t-caption: 14px;
  --t-body: 16px;
  --t-sub: 18px;
  --t-heading-sm: 22px;
  --t-heading: 28px;
  --t-heading-lg: 31px;
  --t-display: 54px;

  --header-h: 159px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--t-body);
  line-height: 1.5;
  letter-spacing: 0.009em;
  color: var(--c-charcoal);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums lining-nums;
}

body { overflow-x: clip; }

/* full-bleed breakout for sections living inside the centered wrap */
.bleed { width: 100vw; margin-left: calc(50% - 50vw); }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; }

h1, h2, h3 { color: var(--c-ink); font-weight: 500; letter-spacing: -0.012em; }
.muted { color: var(--c-smoke); }

.wrap { width: 100%; margin: 0 auto; padding-left: var(--page-pad); padding-right: var(--page-pad); }

/* Short decorative butter rule — the system's only accent gesture */
.rule::before {
  content: "";
  display: block;
  width: 64px; height: 3px;
  background: var(--c-butter);
  margin-bottom: 16px;
}

/* ---------------- Header ---------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--c-cream);
  border-bottom: 1px solid var(--c-ash);
}
.nav-inner { width: 100%; padding: 0 var(--page-pad); display: flex; flex-direction: column; }

.nav-top {
  display: flex; align-items: center; gap: 32px;
  min-height: 76px; padding: 14px 0;
  position: relative;
}

/* Logo — drawer-unit monogram (echoes the trade-counter hero) + serif wordmark */
.brand { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
.brand-mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand-mark svg, .brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 500; line-height: 1;
  letter-spacing: 0.01em; color: var(--c-ink); white-space: nowrap;
}
.brand-name i { font-style: italic; color: var(--c-smoke); padding: 0 1px; }
.brand-name small {
  display: block; margin-top: 5px;
  font-family: var(--font-sans);
  font-size: 9.5px; font-weight: 400; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--c-smoke);
}
/* Header lockup: caption spans exactly the "Build&Equip" wordmark width —
   width:0 keeps it out of the shrink-to-fit measure, justify fills the line */
/* JS (fitBrandCaption) computes the exact letter-spacing to fill the wordmark
   width; the 0.11em + justify pair is only the no-JS fallback */
.brand-lock small {
  width: 0; min-width: 100%;
  letter-spacing: 0.11em;
  text-align: justify; text-align-last: justify;
  white-space: nowrap;
}

/* Pill search — the only pill-shaped control in the header */
.search {
  flex: 1 1 auto; min-width: 0; max-width: 560px;
  display: flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 20px;
  background: var(--c-white);
  border: 1px solid var(--c-ash);
  border-radius: var(--r-pill);
}
.search svg { width: 17px; height: 17px; color: var(--c-charcoal); flex-shrink: 0; }
.search input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font-size: var(--t-body); letter-spacing: 0.009em; color: var(--c-ink);
}
.search input::placeholder { color: var(--c-charcoal); opacity: 0.75; }
.search:focus-within { border-color: var(--c-charcoal); }

.nav-actions { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
.ghost-link { font-size: var(--t-caption); letter-spacing: 0.009em; color: var(--c-ink); white-space: nowrap; }
.ghost-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Primary CTA — dollar green, the page's single filled control; deeper green on hover */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--c-flame); color: var(--c-white);
  font-size: var(--t-caption); font-weight: 400; letter-spacing: 0.009em;
  border-radius: var(--r-md); padding: 12px 23px;
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; }
.btn { transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.btn:hover { background: var(--c-ember); }
.btn-ghost {
  background: transparent; color: var(--c-ink);
  border: 1px solid var(--c-ink);
}
.btn-ghost:hover { background: var(--c-ink); color: var(--c-white); }

/* Language switcher — dollar-green outlined twin of the CTA, sits to its left */
.nav-lang { position: relative; margin-left: auto; flex-shrink: 0; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--c-flame);
  border: 1px solid var(--c-flame);
  border-radius: var(--r-md); padding: 11px 14px;
  font-family: inherit; font-size: var(--t-caption); font-weight: 400; letter-spacing: 0.04em;
  cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.lang-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.lang-btn .lb-chev { width: 12px; height: 12px; transition: transform .15s ease; }
.lang-btn:hover { background: color-mix(in oklch, var(--c-flame) 8%, var(--c-white)); color: var(--c-ember); border-color: var(--c-ember); }
.nav-lang.open .lang-btn { background: var(--c-flame); color: var(--c-white); border-color: var(--c-flame); }
.nav-lang.open .lb-chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0;
  min-width: 184px; margin: 0; padding: 6px; list-style: none;
  background: var(--c-white);
  border: 1px solid var(--c-ash);
  border-radius: var(--r-md);
  display: none; z-index: 60;
}
.nav-lang.open .lang-menu { display: block; }
.lang-menu li {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: var(--r-md);
  font-size: var(--t-caption); color: var(--c-charcoal);
  cursor: pointer;
}
.lang-menu li:hover { background: color-mix(in oklch, var(--c-flame) 7%, var(--c-white)); color: var(--c-ink); }
.lang-menu li[aria-selected="true"] { color: var(--c-flame); }
.lang-menu .lm-code {
  width: 24px; flex-shrink: 0;
  font-size: 11px; letter-spacing: 0.08em; color: var(--c-smoke);
}
.lang-menu li[aria-selected="true"] .lm-code { color: var(--c-flame); }
.lang-menu .lm-name { flex: 1; }
.lang-menu .lm-check { width: 14px; height: 14px; flex-shrink: 0; visibility: hidden; }
.lang-menu li[aria-selected="true"] .lm-check { visibility: visible; }

/* Category text nav — 16 fixed departments, symmetric 8×2 grid (no scroll) */
.nav-cats-row { padding: 2px 0 10px; }
.nav-cats {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 2px 18px;
}
.nav-cat { min-width: 0; }
.nav-cat > a {
  font-size: 15.6px; line-height: 1.3; letter-spacing: 0.009em;
  min-height: 34px; height: 100%;
  display: flex; align-items: center; justify-content: flex-start;
  text-align: left; padding: 3px 8px; white-space: nowrap;
  color: var(--c-ink);
  border: 1.5px solid transparent;
  border-radius: var(--r-md);
}
@media (max-width: 1400px) {
  .nav-cat > a { font-size: 14.4px; }
}
@media (max-width: 1240px) {
  .nav-cat > a { font-size: 13.2px; }
  .nav-cats { column-gap: 12px; }
}
.nav-cat > a:hover { border-bottom-color: var(--c-ink); }
.nav-cat.active > a { border-color: var(--c-ink); }

/* Mobile menu button */
.menu-btn {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  color: var(--c-ink);
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
}
.menu-btn svg { width: 24px; height: 24px; }

.mobile-menu {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--c-white); border-bottom: 1px solid var(--c-ash);
  max-height: calc(100vh - 64px); overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mm-cat > button {
  width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px; font-size: 19.2px; color: var(--c-ink);
  border-bottom: 1px solid var(--c-ash);
}
.mm-sub { display: none; background: var(--c-cream); }
.mm-cat.open .mm-sub { display: block; }
.mm-sub a { display: block; padding: 10px 24px 10px 40px; font-size: 18px; border-bottom: 1px solid var(--c-ash); color: var(--c-charcoal); }

/* ---------------- Hero (home) — split editorial: copy left, product mosaic right ---------------- */
/* Hero — trade counter: full-width display type, department picks lined up
   on one continuous shelf line (butter rule = the counter edge accent) */
.hero { padding: 34px 0 56px; }
.hero .kicker {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c-smoke);
}
.hero-display {
  margin-top: 0;
  font-weight: 550;
  font-size: clamp(40px, 5.4vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.028em;
  max-width: 21ch;
  text-wrap: balance;
}
.hero-deck {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: clamp(24px, 4vw, 64px);
  margin-top: 22px;
}
.hero-deck p { font-size: var(--t-sub); line-height: 1.5; color: var(--c-smoke); max-width: 52ch; }
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; flex-shrink: 0; }

/* The shelf — items stand on the line; captions hang below the counter edge */
.hero-shelf {
  position: relative;
  display: flex; align-items: flex-end;
  gap: clamp(8px, 1.6vw, 28px);
  margin-top: clamp(28px, 4vw, 48px);
}
.hero-shelf::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 42px;
  height: 1px; background: var(--c-ash);
}
.hero-shelf::after {
  content: ""; position: absolute; left: 0; bottom: 41px;
  width: 96px; height: 3px; background: var(--c-butter);
}
.shelf-item { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
.shelf-item .sh-img {
  height: clamp(96px, 11vw, 168px);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0 4px;
}
.shelf-item .sh-img img {
  max-height: 100%; max-width: 100%; width: auto;
  /* multiply melts the near-white studio backdrops into the canvas so the
     shelf line runs continuously behind the products */
  mix-blend-mode: multiply;
  transition: transform .18s ease;
}
.shelf-item:hover .sh-img img { transform: translateY(-6px); }
@media (prefers-reduced-motion: reduce) {
  .shelf-item .sh-img img { transition: none; }
  .shelf-item:hover .sh-img img { transform: none; }
}
.shelf-item .sh-cap {
  height: 42px; padding-top: 11px;
  text-align: center;
  font-size: 12.5px; letter-spacing: 0.02em; color: var(--c-ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.shelf-item .sh-cap i { font-style: normal; color: var(--c-smoke); font-size: 11.5px; margin-inline-start: 6px; }
.shelf-item:hover .sh-cap { text-decoration: underline; text-underline-offset: 3px; }

/* Stats — trade-desk ticker: one ruled strip, number and label share a baseline */
.hero-stats {
  display: flex; align-items: stretch;
  margin-top: clamp(30px, 4vw, 46px);
  border-top: 1px solid var(--c-ash);
  border-bottom: 1px solid var(--c-ash);
}
.hero-stats .hs {
  display: flex; align-items: baseline; gap: 10px;
  padding: 16px clamp(24px, 3.4vw, 52px) 16px 0;
  white-space: nowrap;
}
.hero-stats .hs + .hs {
  border-inline-start: 1px solid var(--c-ash);
  padding-inline-start: clamp(24px, 3.4vw, 52px);
}
.hero-stats .hs b {
  font-weight: 650;
  font-size: clamp(24px, 2.4vw, 32px); line-height: 1; color: var(--c-ink);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.hero-stats .hs span {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c-smoke);
}

/* ---------------- Sections ---------------- */
.section { padding: 72px 0 0; }
.hero + .section { padding-top: 56px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-head h2 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: var(--t-heading-lg); line-height: 1.2;
  letter-spacing: -0.02em;
}
.section-head .count { color: var(--c-smoke); font-size: var(--t-caption); white-space: nowrap; padding-bottom: 4px; }
/* "Shop by category" — display-grade head: butter-dashed eyebrow over big type */
.sh-grand { margin-bottom: 40px; }
.sh-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c-smoke);
}
.sh-eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--c-butter); }
.sh-grand h2 {
  margin-top: 10px;
  font-size: clamp(30px, 3.4vw, 46px); font-weight: 550;
  letter-spacing: -0.025em; line-height: 1.05;
}

/* ---------------- Fluid auto-fill grid — every tile/product grid ----------------
   Fills the full 50px-margin container; column count derives from --tile-min. */
.flow-grid {
  --tile-min: 282px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(var(--tile-min), 100%), 1fr));
  gap: clamp(20px, 2vw, 30px) clamp(14px, 1.6vw, 24px);
}
.flow-grid.flow-tiles { --tile-min: 330px; gap: 14px; }

/* ---------------- Category directory (home) ----------------
   Image-led vertical cards: large framed product visual on top, serif
   label + count + arrow row beneath, quick subnav links at the foot. */
.cat-card {
  display: flex; flex-direction: column;
  background: var(--c-white);
  border: 1px solid var(--c-ash);
  border-radius: var(--r-md);
  padding: 14px;
  transition: border-color .15s ease, transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.cat-card .cc-head { display: flex; flex-direction: column; gap: 14px; }
.cat-card .cc-img {
  width: 100%; aspect-ratio: 4 / 3;
  background: var(--c-white);
  border-radius: var(--r-md);
  padding: 22px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.cat-card .cc-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .18s ease; }
.cat-card:hover { border-color: var(--c-ash); transform: translateY(-4px); box-shadow: var(--lift); background-color: #fff; }
.cat-card .cc-head:hover .cc-img img { transform: scale(1.04); }
.cat-card .cc-img.cc-photo { padding: 0; }
.cat-card .cc-img.cc-photo img { object-fit: cover; }
.cat-card .cc-row { display: flex; align-items: center; gap: 12px; }
.cat-card .cc { min-width: 0; }
.cat-card .cc-t { font-family: var(--font-serif); font-weight: 600; font-size: var(--t-sub); color: var(--c-ink); line-height: 1.3; letter-spacing: -0.01em; }
.cat-card .cc-n { font-size: var(--t-caption); color: var(--c-smoke); margin-top: 3px; }
.cat-card .cc-arrow {
  margin-left: auto; flex-shrink: 0;
  width: 34px; height: 34px;
  border: 1px solid var(--c-ash); border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-ink);
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.cat-card .cc-arrow svg { width: 15px; height: 15px; }
.cat-card .cc-head:hover .cc-arrow { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-white); }

/* Subnav quick links inside each category card */
.cat-card .cc-sub {
  margin-top: 13px; padding-top: 12px;
  border-top: 1px solid var(--c-ash);
  display: flex; flex-wrap: wrap; gap: 7px 16px;
}
.cat-card .cc-link {
  font-size: 13px; letter-spacing: 0.009em;
  color: var(--c-smoke); line-height: 1.4;
}
.cat-card .cc-link:hover { color: var(--c-ink); text-decoration: underline; text-underline-offset: 3px; }
.cat-card .cc-more { color: var(--c-ink); }

/* ---------------- Inverted value-prop band ---------------- */
.band {
  background: var(--c-forest);
  color: var(--c-white);
  margin-top: 72px;
}
.band-inner {
  width: 100%;
  padding: 64px var(--page-pad);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 48px;
}
.band h2 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: 38px; line-height: 1.27; color: var(--c-white);
  letter-spacing: -0.02em;
  max-width: 24ch;
}
.band p { font-size: var(--t-sub); line-height: 1.44; margin-top: 16px; max-width: 52ch; color: rgb(255 255 255 / 0.85); }
.band-link {
  font-size: var(--t-sub); color: var(--c-white); white-space: nowrap;
  border-bottom: 2px solid var(--c-butter);
  padding-bottom: 4px;
}
.band-link:hover { border-bottom-color: var(--c-white); }

/* ---------------- Product cards ---------------- */
.p-card {
  display: flex; flex-direction: column;
  background: var(--c-white);
  border: 1px solid var(--c-ash);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.p-card .p-img {
  position: relative; aspect-ratio: 5 / 3;
  overflow: hidden;
  background: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.p-card .p-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .18s ease; }
.p-card:hover { border-color: var(--c-ash); transform: translateY(-3px); box-shadow: var(--lift); }
.p-card:hover .p-img img { transform: scale(1.05); }
/* Garden & Event Umbrellas: product visuals rendered 44% larger (1.2 × 1.2) */
#sub-semsiye .p-card .p-img img { transform: scale(1.44); }
#sub-semsiye .p-card:hover .p-img img { transform: scale(1.512); }
/* Plastics, Polymers & Geosynthetics: product visuals rendered 40% larger */
body.page-category[data-cat="plastics-polymers"] .p-card .p-img img { transform: scale(1.4); }
body.page-category[data-cat="plastics-polymers"] .p-card:hover .p-img img { transform: scale(1.47); }
/* Construction Chemicals: product visuals rendered 25% larger */
body.page-category[data-cat="construction-chemicals"] .p-card .p-img img { transform: scale(1.25); }
body.page-category[data-cat="construction-chemicals"] .p-card:hover .p-img img { transform: scale(1.3125); }
@media (prefers-reduced-motion: reduce) {
  .cat-card .cc-img img, .p-card .p-img img { transition: none; }
}
.p-card .p-body {
  border-top: 1px solid var(--c-ash);
  padding: 12px 16px;
  display: flex; flex-direction: column; gap: 2px;
}
.p-card .p-title { font-size: var(--t-body); line-height: 1.35; color: var(--c-ink); }
.p-card:hover .p-title { text-decoration: underline; text-underline-offset: 3px; }
.p-card .p-meta { font-size: var(--t-caption); color: var(--c-smoke); }

.p-img.ph, .ph { background: var(--c-white); }
.ph .ph-txt, .p-img.ph .ph-txt { color: var(--c-smoke); font-size: 13px; text-align: center; padding: 12px; }

/* ---------------- Chips / subnav — 40px pills ---------------- */
.chips-wrap { position: relative; margin-bottom: 48px; }
.chips { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  border: 1px solid var(--c-charcoal); border-radius: var(--r-md);
  padding: 10px 23px;
  font-size: var(--t-caption); letter-spacing: 0.009em;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-white); color: var(--c-ink);
}
.chip .n { color: var(--c-smoke); font-size: 13px; }
.chip { transition: border-color .15s ease, background-color .15s ease, color .15s ease; }
.chip:hover { border-color: var(--c-ink); background: var(--c-cream); }
.chip.active { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-white); }
.chip.active .n { color: rgb(255 255 255 / 0.7); }

/* Collapsed subnav — one full row + half of the second row, blurred tail, arrow toggle */
.chips-wrap.has-more .chips {
  overflow: hidden;
  max-height: var(--more-h, 72px);
  transition: max-height .4s ease, padding-bottom .4s ease;
}
.chips-wrap.has-more.expanded .chips {
  max-height: calc(var(--full-h, 999px) + 52px);
  padding-bottom: 52px;
}
.chips-wrap.has-more .chips::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: calc(var(--row-h, 40px) * 0.85 + 10px);
  pointer-events: none;
  background: linear-gradient(to bottom, rgb(255 255 255 / 0), rgb(255 255 255 / 0.9) 88%);
  backdrop-filter: blur(3.5px);
  -webkit-backdrop-filter: blur(3.5px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 40%);
  mask-image: linear-gradient(to bottom, transparent, #000 40%);
  opacity: 1; transition: opacity .3s ease;
}
.chips-wrap.has-more.expanded .chips::after { opacity: 0; }
.chips-more {
  position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%);
  z-index: 3;
  width: 38px; height: 38px; border-radius: var(--r-md);
  border: 1px solid var(--c-charcoal); background: var(--c-white); color: var(--c-ink);
  outline: 3px solid var(--c-cream);
  display: none; align-items: center; justify-content: center;
}
.chips-more svg { width: 16px; height: 16px; transition: transform .35s ease; }
.chips-wrap.has-more .chips-more { display: flex; }
.chips-wrap.expanded .chips-more svg { transform: rotate(180deg); }
.chips-more:hover { border-color: var(--c-ink); background: var(--c-cream); }
@media (prefers-reduced-motion: reduce) {
  .chips-wrap.has-more .chips, .chips-more svg, .chips-wrap.has-more .chips::after { transition: none; }
}

.page-category .chips-wrap {
  position: sticky; top: var(--header-h); z-index: 40;
  background: var(--c-cream);
  padding: 10px 0 0; margin-bottom: 10px;
  border-bottom: 1px solid var(--c-ash);
}
/* ---------------- Category page ---------------- */
.cat-head { padding: 12px 0 0; }
.cat-head .crumbs { font-size: 12px; margin-bottom: 4px; }
.cat-bar { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.crumbs { font-size: 13px; color: var(--c-smoke); display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .sep { opacity: 0.5; }
.cat-title {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(20px, 2vw, 25px); line-height: 1.25;
}
.cat-title::after {
  content: ""; display: block;
  width: 28px; height: 2px; background: var(--c-butter);
  margin-top: 5px;
}
.cat-desc { color: var(--c-smoke); font-size: 13px; }

/* Grouped categories follow the same rhythm as flat ones (janitorial baseline):
   22px serif heads, sub-head margins — no oversized group headings */
.group-block { padding-top: 24px; }
.group-block > h3 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: var(--t-heading-sm); line-height: 1.45;
  margin-bottom: 4px;
}
.sub-section { padding-top: 4px; }
.sub-head {
  font-family: var(--font-serif); font-weight: 600;
  font-size: var(--t-heading-sm); line-height: 1.45; color: var(--c-ink);
  margin: 12px 0 20px; display: flex; align-items: baseline; gap: 12px;
}
.sub-head .n { font-family: var(--font-sans); color: var(--c-smoke); font-size: var(--t-caption); }

/* ---------------- Search results ---------------- */
.search-head { padding: 32px 0 8px; margin-bottom: 32px; }
.search-head h1 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(30px, 3.4vw, 38px); line-height: 1.27;
  letter-spacing: -0.02em;
}
.search-head .n { color: var(--c-smoke); margin-top: 10px; font-size: var(--t-caption); }

/* ---------------- Product detail ---------------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; padding: 32px 0 0; align-items: start; }
.pdp-media { position: sticky; top: calc(var(--header-h) + 24px); }
.pdp-media .frame {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--c-ash); border-radius: var(--r-md);
  overflow: hidden; background: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.pdp-media .frame img { width: 100%; height: 100%; object-fit: contain; }
.pdp-info .label { font-size: var(--t-caption); color: var(--c-smoke); margin-bottom: 10px; }
.pdp-info h1 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: var(--t-heading-lg); line-height: 1.27;
  letter-spacing: -0.02em;
}
.pdp-info h1::after {
  content: ""; display: block;
  width: 48px; height: 3px; background: var(--c-butter);
  margin-top: 12px;
}
.pdp-info .lead { color: var(--c-smoke); margin-top: 14px; max-width: 52ch; }
.pdp-tags { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.tag {
  border: 1px solid var(--c-ash); border-radius: var(--r-pill);
  padding: 6px 16px; font-size: 13px; color: var(--c-charcoal);
  background: var(--c-white);
}

.spec-table { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: var(--t-caption); }
.spec-table th {
  text-align: left; font-weight: 400; font-size: 13px;
  letter-spacing: 0.011em; text-transform: uppercase; color: var(--c-smoke);
  padding: 8px 12px; border-bottom: 1px solid var(--c-ink);
}
.spec-table td { padding: 10px 12px; border-bottom: 1px solid var(--c-ash); color: var(--c-charcoal); }
.spec-table td.c { color: var(--c-ink); }
.pdp-feat { margin-top: 16px; font-size: 15px; line-height: 1.6; color: var(--c-charcoal); max-width: 60ch; }

.pdp-cta { display: flex; align-items: center; gap: 20px; margin-top: 32px; flex-wrap: wrap; }
.pdp-cta .btn { font-size: var(--t-body); padding: 14px 28px; }

.acc { border-top: 1px solid var(--c-ink); margin-top: 36px; }
.acc-row { border-bottom: 1px solid var(--c-ash); }
.acc-row > button {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; font-size: var(--t-body); color: var(--c-ink);
}
.acc-row .plus { font-size: 20px; color: var(--c-smoke); transition: transform .2s ease; }
.acc-row.open .plus { transform: rotate(45deg); }
.acc-body { display: none; padding: 0 0 20px; font-size: 15px; color: var(--c-charcoal); max-width: 60ch; }
.acc-row.open .acc-body { display: block; }
@media (prefers-reduced-motion: reduce) { .acc-row .plus { transition: none; } }

/* ---------------- Tonal fields (colorfields) ----------------
   Soft tinted strips derived from the dollar-green palette, used to
   break the flat white canvas on featured/group sections — never a control. */
.field-section {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 64px var(--page-pad);
  background: var(--c-field);
  border-top: 1px solid var(--c-ash);
  border-bottom: 1px solid var(--c-ash);
}

/* Scroll-reveal (depth): cards rise in softly on first entry.
   JS toggles .is-inview; reduced-motion and no-JS keep content visible. */
.reveal { opacity: 1; transform: none; }
.js .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1);
}
.js .reveal.is-inview { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------- Footer ---------------- */
.footer { margin-top: 88px; border-top: 1px solid var(--c-ash); background: var(--c-cream); }
.store-strip { border-bottom: 1px solid var(--c-ash); }
.store-strip .wrap {
  display: flex; justify-content: flex-end; align-items: center; gap: 8px;
  padding-top: 12px; padding-bottom: 12px; font-size: var(--t-caption); color: var(--c-charcoal);
}
.store-strip svg { width: 12px; height: 12px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 56px 0 72px; }
.foot-brand .brand { margin-bottom: 16px; }
.foot-col h4 {
  font-size: 13px; font-weight: 400; text-transform: uppercase;
  letter-spacing: 0.11em; color: var(--c-smoke); margin-bottom: 16px;
}
.foot-col a { display: block; font-size: 15px; padding: 4px 0; color: var(--c-charcoal); }
.foot-col a:hover { text-decoration: underline; text-underline-offset: 3px; color: var(--c-ink); }
.foot-copy { border-top: 1px solid var(--c-ash); padding: 20px 0; font-size: 13px; color: var(--c-smoke); }
.foot-copy .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-left: 0; padding-right: 0; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
  .nav-cats-row, .nav-actions .ghost-link { display: none; }
  .nav-top { min-height: 64px; padding: 10px 56px 10px 0; }
  .menu-btn { display: inline-flex; right: 0; }
  :root { --header-h: 64px; }
  .nav-actions { display: none; }
  .search { max-width: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  /* Product page collapses at the same breakpoint as the nav — no sticky
     media or twin columns anywhere in the mobile range */
  .pdp { grid-template-columns: 1fr; gap: 36px; }
  .pdp-media { position: static; }
  .pdp-media .frame { max-width: 440px; margin: 0 auto; }
  .pdp-info { min-width: 0; }
  .spec-table { display: block; overflow-x: auto; white-space: nowrap; }
  .hero-deck { flex-direction: column; align-items: flex-start; gap: 18px; }
  /* Shelf wraps 4-up: the continuous counter line becomes per-item edges */
  .hero-shelf { flex-wrap: wrap; gap: 14px 10px; }
  .hero-shelf::before, .hero-shelf::after { display: none; }
  .shelf-item { flex: 1 1 22%; }
  .shelf-item .sh-img { height: 108px; border-bottom: 1px solid var(--c-ash); }
  .shelf-item .sh-cap { height: auto; padding-top: 8px; }
  .shelf-item .sh-cap i { display: none; }
  /* Ticker stacks: each stat becomes a ruled row */
  .hero-stats { flex-direction: column; }
  .hero-stats .hs { padding: 11px 0; }
  .hero-stats .hs + .hs { border-inline-start: 0; border-top: 1px solid var(--c-ash); padding-inline-start: 0; }
}

@media (max-width: 720px) {
  :root { --page-pad: 16px; }
  .nav-top { gap: 12px; padding: 10px 48px 10px 0; }
  .brand { gap: 6px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-name { font-size: 18px; }
  .brand-name small { font-size: 8.5px; letter-spacing: 0.24em; margin-top: 3px; }
  .brand-lock small { letter-spacing: 0.07em; }
  .search { height: 40px; padding: 0 16px; }
  .lang-btn { padding: 9px 11px; gap: 6px; }
  .lang-btn .lb-chev { display: none; }
  .hero { padding: 18px 0 36px; }
  .shelf-item .sh-img { height: 84px; }
  .shelf-item .sh-cap { font-size: 11px; }
  .hero-stats { margin-top: 24px; }
  .hero-stats .hs b { font-size: 20px; }
  .section { padding-top: 48px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .flow-grid { --tile-min: 180px; gap: 20px 12px; }
  .flow-grid.flow-tiles { --tile-min: 280px; gap: 10px; }
  .cat-card { padding: 12px; }
  .cat-card .cc-head { gap: 12px; }
  .cat-card .cc-img { aspect-ratio: 16 / 9; padding: 14px; }
  .cat-card .cc-t { font-size: var(--t-body); }
  .cat-card .cc-arrow { width: 30px; height: 30px; }
  .p-card .p-img { padding: 12px; }
  .band { margin-top: 48px; }
  .band-inner { flex-direction: column; align-items: flex-start; gap: 24px; padding: 48px var(--page-pad); }
  .band h2 { font-size: var(--t-heading); }
  .chips { gap: 8px; }
  .chip { padding: 8px 16px; }
  .pdp { gap: 28px; padding-top: 20px; }
  .pdp-media .frame { padding: 16px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px; padding: 40px 0 48px; }
  .store-strip .wrap { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Mobile: scrollbars hidden everywhere — scrolling itself stays enabled */
@media (max-width: 1100px) {
  * { scrollbar-width: none; -ms-overflow-style: none; }
  *::-webkit-scrollbar { display: none; width: 0; height: 0; }
}

/* ======================== i18n: Arabic RTL ======================== */
[dir="rtl"] { direction: rtl; text-align: right; }
[dir="rtl"] .rule::before { margin-left: auto; margin-right: 0; }
[dir="rtl"] .crumbs .sep { margin: 0 8px 0 0; }
[dir="rtl"] .brand { flex-direction: row-reverse; }
[dir="rtl"] .nav-cat.active::after { right: auto; left: 0; }
[dir="rtl"] .hero-shelf::after { left: auto; right: 0; }
[dir="rtl"] .cc-arrow { transform: scaleX(-1); }
[dir="rtl"] .band-link svg { transform: scaleX(-1); }
[dir="rtl"] .pdp-cta .btn svg { transform: scaleX(-1); }
[dir="rtl"] .store-strip .wrap { flex-direction: row-reverse; }
[dir="rtl"] .foot-grid { direction: rtl; }
[dir="rtl"] .mm-sub { padding-left: 0; padding-right: 16px; }
[dir="rtl"] .chip { margin-right: 0; margin-left: 4px; }
[dir="rtl"] .spec-table { direction: rtl; }

/* ======================== i18n: Turkish font sizing ======================== */
:lang(tr) { font-size: 15px; }
:lang(tr) .hero h1 { font-size: clamp(34px, 4.6vw, 64px); }
:lang(tr) .cc-t { font-size: 14px; }
:lang(tr) .cat-title { font-size: clamp(24px, 3vw, 32px); }
:lang(tr) .pdp-info h1 { font-size: clamp(22px, 2.5vw, 30px); }
:lang(tr) .acc-row button { font-size: 14px; }

/* ======================== i18n: German font sizing ======================== */
:lang(de) { font-size: 15px; }
:lang(de) .hero h1 { font-size: clamp(34px, 4.6vw, 64px); }
:lang(de) .cc-t { font-size: 14px; }

/* ======================== i18n: French font sizing ======================== */
:lang(fr) { font-size: 15px; }
:lang(fr) .hero h1 { font-size: clamp(28px, 3.5vw, 44px); }

/* ======================== i18n: Russian font sizing ======================== */
:lang(ru) { font-size: 15px; }
:lang(ru) .hero h1 { font-size: clamp(28px, 3.5vw, 44px); }
