/* ==========================================================================
   General Wholesale — site styles
   Palette: evergreen + amber on warm neutrals (no blue)
   ========================================================================== */

:root {
  --green-950: #07231B;
  --green-900: #0B2E24;
  --green-800: #0F3D2E;   /* primary */
  --green-700: #175041;
  --green-600: #1F6A55;
  --green-500: #2C8468;
  --green-100: #E3EFE9;
  --green-50:  #F0F6F3;

  --amber-700: #8A6318;   /* text-safe amber: 5.4:1 on white, 5.0:1 on paper */
  --amber-600: #C48E2C;
  --amber-500: #D9A441;   /* accent */
  --amber-400: #E6B85C;
  --amber-100: #FBF1DC;

  --sand-50:  #F7F5F0;    /* page background */
  --sand-100: #EFEBE3;
  --sand-200: #E4DED2;

  --ink-900: #1B1F1D;
  --ink-700: #363A38;
  --ink-600: #4C5450;
  --ink-500: #626B66;
  --ink-400: #7C847F;
  --ink-300: #A6ADA9;
  --line: #E2E5E2;
  --control-border: #8A928D;   /* >=3:1 boundary for inputs/controls on white (WCAG 1.4.11) */
  --white: #FFFFFF;

  --danger: #B3402E;
  --success: #2C8468;

  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(27,31,29,.06), 0 1px 3px rgba(27,31,29,.05);
  --shadow: 0 4px 14px rgba(27,31,29,.08), 0 1px 3px rgba(27,31,29,.05);
  --shadow-lg: 0 18px 40px rgba(11,46,36,.16), 0 4px 10px rgba(27,31,29,.06);

  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--sand-50);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-900); }
/* Links inside running text get a non-colour cue (WCAG 1.4.1); standalone controls (nav, buttons, cards, footer lists) don't. */
p a, .prose a, .consent a, .alert a, .empty-state a, .form-note a, .faq a, .checklist a, .note a, dd a, td a { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
a.btn, .cat-card, .product-name a, .site-footer a { text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; color: var(--green-950); letter-spacing: -0.015em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
/* Visual-size utilities so heading levels can stay sequential for assistive tech */
.h3 { font-size: 1.25rem !important; font-weight: 700 !important; letter-spacing: -0.015em; }
.h4 { font-size: 1.05rem !important; font-weight: 700 !important; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--ink-600); }
.muted { color: var(--ink-500); }
.small { font-size: .875rem; }
.eyebrow {
  display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--amber-700); margin-bottom: .75rem;
}
.eyebrow.on-dark { color: var(--amber-400); }
.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; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--green-800); color: #fff; padding: .5rem 1rem; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; }
/* Focus ring: dark green on light surfaces, amber on dark surfaces (both >=3:1 against their background) */
:focus-visible { outline: 3px solid var(--green-800); outline-offset: 2px; }
.hero :focus-visible, .page-hero :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible, .mission-card :focus-visible, .bg-green :focus-visible, .btn-primary:focus-visible, .btn-accent:focus-visible { outline-color: var(--amber-400); }
.btn-accent:focus-visible { outline-color: var(--green-800); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-600); font-size: 1.05rem; }
.bg-white { background: var(--white); }
.bg-green { background: var(--green-800); color: #fff; }
.bg-green h1, .bg-green h2, .bg-green h3 { color: #fff; }
.bg-green p { color: rgba(255,255,255,.82); }
.bg-sand { background: var(--sand-100); }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.4rem; border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap; line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--green-800); color: #fff; }
.btn-primary:hover { background: var(--green-900); color: #fff; box-shadow: var(--shadow); }
.btn-accent { background: var(--amber-500); color: var(--green-950); }
.btn-accent:hover { background: var(--amber-400); color: var(--green-950); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--green-800); border-color: var(--green-800); }
.btn-outline:hover { background: var(--green-800); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn-ghost { background: transparent; color: var(--green-800); padding-inline: .9rem; }
.btn-ghost:hover { background: var(--green-100); }
.btn-sm { padding: .55rem 1rem; font-size: .875rem; }
.btn-lg { padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: inherit; }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; color: var(--green-900); }
.brand-tag { font-family: var(--font-display); font-weight: 600; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-500); margin-top: .3rem; }
.nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav a { padding: .55rem .85rem; border-radius: 999px; font-weight: 500; color: var(--ink-700); font-size: .95rem; }
.nav a:hover { background: var(--green-50); color: var(--green-900); }
.nav a.active { color: var(--green-800); font-weight: 600; background: var(--green-100); }
.header-actions { display: flex; align-items: center; gap: .6rem; margin-left: .5rem; }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .9rem; border-radius: 999px;
  border: 1.5px solid var(--control-border); background: #fff; color: var(--green-900); font-weight: 600; font-size: .9rem;
}
.cart-btn:hover { border-color: var(--green-800); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--amber-500); color: var(--green-950);
  font-size: .75rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display);
}
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 0% { transform: scale(1);} 40% { transform: scale(1.35);} 100% { transform: scale(1);} }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--control-border); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 960px) {
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line);
    padding: .75rem 1.25rem 1.25rem; gap: .25rem; box-shadow: var(--shadow-lg); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 1rem; border-radius: 10px; }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .header-actions .btn-quote { display: none; }
  .brand-tag { display: none; }
}
@media (max-width: 480px) { .cart-btn span.label { display: none; } .brand-name { font-size: 1.05rem; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--green-800); color: #fff; overflow: hidden;
  background-image:
    radial-gradient(1200px 500px at 85% -10%, rgba(217,164,65,.22), transparent 60%),
    radial-gradient(800px 400px at -10% 110%, rgba(44,132,104,.45), transparent 60%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 85%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.hero h1 { color: #fff; margin-bottom: 1.1rem; }
.hero h1 em { font-style: normal; color: var(--amber-400); }
.hero p.lead { color: rgba(255,255,255,.84); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.18); }
.hero-meta div { font-size: .9rem; color: rgba(255,255,255,.75); }
.hero-meta strong { display: block; font-family: var(--font-display); font-size: 1.15rem; color: #fff; }
.hero-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 118px; gap: 14px; }
.hero-tile { background: #fff; border-radius: var(--radius-lg); padding: 14px 14px 32px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-tile img { max-height: 100%; width: auto; object-fit: contain; }
.hero-tile span { position: absolute; left: 12px; bottom: 10px; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-500); font-family: var(--font-display); }
.hero-tile.t1 { grid-column: span 3; grid-row: span 3; }
.hero-tile.t2 { grid-column: span 3; grid-row: span 2; }
.hero-tile.t3 { grid-column: span 3; grid-row: span 2; }
.hero-tile.t4 { grid-column: span 3; grid-row: span 1; }
.hero-tile.accent { background: var(--amber-500); color: var(--green-950); flex-direction: column; align-items: flex-start; justify-content: center; padding: 16px 18px; }
.hero-tile.accent strong { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.2; }
.hero-tile.accent small { font-size: .78rem; opacity: .85; }
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-grid { grid-auto-rows: 96px; }
}
@media (max-width: 560px) { .hero-grid { grid-auto-rows: 78px; gap: 10px; } .hero-tile { border-radius: 14px; padding: 10px; } .hero-tile span { display: none; } }
.hero-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1.25rem 1.5rem; }

/* ---------- Trust strip ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 1.4rem 0; }
.trust-item { display: flex; gap: .8rem; align-items: flex-start; }
.trust-item svg { width: 26px; height: 26px; color: var(--green-600); flex: none; margin-top: 2px; }
.trust-item strong { display: block; font-family: var(--font-display); font-size: .95rem; color: var(--green-950); }
.trust-item span { font-size: .85rem; color: var(--ink-500); }
@media (max-width: 960px) { .trust-inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust-inner { grid-template-columns: 1fr; } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.card h3 { margin-top: .5rem; }
.icon-badge { width: 48px; height: 48px; border-radius: 14px; background: var(--green-100); color: var(--green-700); display: inline-flex; align-items: center; justify-content: center; }
.icon-badge svg { width: 24px; height: 24px; }
.icon-badge.amber { background: var(--amber-100); color: var(--amber-600); }

/* Category cards */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.cat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.1rem 1.1rem 1rem; display: flex; flex-direction: column; gap: .8rem; color: inherit; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--green-100); color: inherit; }
.cat-thumb { height: 150px; background: var(--sand-50); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; padding: 12px; }
.cat-thumb img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.cat-card h3 { font-size: 1.02rem; margin: 0; }
.cat-card p { font-size: .85rem; color: var(--ink-500); margin: 0; }
.cat-card .cat-link { margin-top: auto; font-weight: 600; font-size: .875rem; color: var(--green-700); display: inline-flex; align-items: center; gap: .3rem; }
@media (max-width: 1024px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } .cat-thumb { height: 120px; } }
@media (max-width: 400px) { .cat-grid { grid-template-columns: 1fr; } }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }
@media (max-width: 420px) { .product-grid { grid-template-columns: 1fr; } }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; position: relative; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-media { display: block; background: var(--sand-50); aspect-ratio: 1 / 1; padding: 18px; display: flex; align-items: center; justify-content: center; }
.product-media img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.product-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.product-brand { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-700); font-family: var(--font-display); }
.product-name { font-family: var(--font-display); font-weight: 700; font-size: .98rem; line-height: 1.3; color: var(--green-950); }
.product-name a { color: inherit; }
.product-name a:hover { color: var(--green-700); }
.product-model { font-size: .8rem; color: var(--ink-500); }
.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: auto; padding-top: .8rem; }
.product-actions .btn { flex: 1 1 128px; min-width: 0; padding-inline: .7rem; white-space: nowrap; }
.product-actions .qty { flex: none; }
.product-actions .qty button { width: 28px; height: 34px; font-size: 1rem; }
.product-actions .qty input { width: 34px; height: 34px; font-size: .9rem; }
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .22rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 700; font-family: var(--font-display); letter-spacing: .02em; white-space: nowrap; }
.badge svg { width: 13px; height: 13px; }
.badge-green { background: var(--green-100); color: var(--green-800); }
.badge-amber { background: var(--amber-100); color: var(--amber-600); }
.badge-sand { background: var(--sand-100); color: var(--ink-600); }
.badges { display: flex; flex-wrap: wrap; gap: .4rem; }
.product-card .badges { position: absolute; top: 12px; left: 12px; z-index: 2; }
.card-quick { position: absolute; top: 12px; right: 12px; z-index: 2; }

/* Qty stepper */
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--control-border); border-radius: 999px; overflow: hidden; background: #fff; }
.qty button { width: 34px; height: 36px; border: 0; background: transparent; color: var(--green-800); font-size: 1.1rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.qty button:hover { background: var(--green-50); }
.qty input { width: 44px; text-align: center; border: 0; height: 36px; font-weight: 600; -moz-appearance: textfield; background: transparent; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.lg button { width: 42px; height: 46px; } .qty.lg input { width: 56px; height: 46px; font-size: 1.05rem; }

/* ---------- Catalogue layout ---------- */
.catalog-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; }
/* With the filter sidebar taking 260px, three columns keeps cards wide enough for the qty + button row */
@media (max-width: 1500px) and (min-width: 1101px) { .catalog-layout .product-grid { grid-template-columns: repeat(3, 1fr); } }
.filters { position: sticky; top: calc(var(--header-h) + 1rem); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.25rem; }
.filters h2, .filters h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500); margin: 0 0 .7rem; }
.filters .filter-group { padding: 1rem 0; border-top: 1px solid var(--line); }
.filters .filter-group:first-of-type { border-top: 0; padding-top: 0; }
.filter-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .15rem; }
.filter-list button { width: 100%; text-align: left; background: none; border: 0; padding: .45rem .6rem; border-radius: 8px; color: var(--ink-700); display: flex; justify-content: space-between; align-items: center; font-size: .92rem; }
.filter-list button:hover { background: var(--green-50); color: var(--green-900); }
.filter-list button.active { background: var(--green-100); color: var(--green-900); font-weight: 600; }
.filter-list button small { color: var(--ink-500); font-weight: 500; }
.check { display: flex; align-items: center; gap: .55rem; padding: .3rem .2rem; font-size: .92rem; color: var(--ink-700); cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--green-700); }
.catalog-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-bottom: 1.25rem; }
.catalog-toolbar .result-count { color: var(--ink-500); font-size: .92rem; margin-right: auto; }
.search-box { position: relative; flex: 1 1 260px; max-width: 420px; }
.search-box input { width: 100%; padding: .7rem 1rem .7rem 2.6rem; border: 1.5px solid var(--control-border); border-radius: 999px; background: #fff; }
.search-box svg { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-400); }
.select { padding: .65rem 2.2rem .65rem .9rem; border: 1.5px solid var(--control-border); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234C5450' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right .8rem center; appearance: none; -webkit-appearance: none; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.chip { padding: .45rem .9rem; border-radius: 999px; border: 1.5px solid var(--control-border); background: #fff; font-size: .85rem; font-weight: 600; color: var(--ink-700); }
.chip:hover { border-color: var(--green-600); color: var(--green-900); }
.chip.active { background: var(--green-800); border-color: var(--green-800); color: #fff; }
.filters-toggle { display: none; }
.empty-state { text-align: center; padding: 3rem 1rem; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius-lg); color: var(--ink-500); }
@media (max-width: 900px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: block; }
  .filters-toggle { display: inline-flex; }
}

/* ---------- Product detail ---------- */
.breadcrumbs { font-size: .85rem; color: var(--ink-500); display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-bottom: 1.5rem; }
.breadcrumbs a { color: var(--ink-600); }
.breadcrumbs a:hover { color: var(--green-800); }
.pd-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: start; }
.pd-gallery { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 2rem; display: flex; align-items: center; justify-content: center; min-height: 420px; position: sticky; top: calc(var(--header-h) + 1rem); }
.pd-gallery img { max-height: 520px; width: auto; object-fit: contain; }
.pd-title h1 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: .4rem; }
.pd-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; color: var(--ink-500); font-size: .9rem; margin-bottom: 1.2rem; }
.pd-summary { font-size: 1.05rem; color: var(--ink-600); }
.pd-quote-box { background: var(--green-50); border: 1px solid var(--green-100); border-radius: var(--radius-lg); padding: 1.25rem; margin: 1.5rem 0; }
.pd-quote-box .row { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; }
.pd-quote-box .note { font-size: .85rem; color: var(--ink-500); margin: .8rem 0 0; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.spec-table th, .spec-table td { text-align: left; padding: .65rem .2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { color: var(--ink-500); font-weight: 500; width: 42%; }
.spec-table td { color: var(--ink-900); font-weight: 500; }
.feature-list { padding-left: 1.2rem; margin: 0; }
.feature-list li { margin: .35rem 0; }
.pd-section { margin-top: 2rem; }
.pd-section h2, .pd-section h3 { font-size: 1.05rem; margin-bottom: .75rem; }
@media (max-width: 900px) { .pd-layout { grid-template-columns: 1fr; gap: 1.5rem; } .pd-gallery { position: static; min-height: 300px; padding: 1.25rem; } .pd-gallery img { max-height: 360px; } }

/* ---------- Steps / how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem 1.4rem; position: relative; }
.step-num { width: 40px; height: 40px; border-radius: 12px; background: var(--green-800); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; margin-bottom: 1rem; }
.step h3 { font-size: 1.05rem; }
.step p { font-size: .93rem; color: var(--ink-600); margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Split / feature sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 2rem; } .split.reverse > :first-child { order: 0; } }
.checklist { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink-700); }
.checklist li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F3D2E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / 13px; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.25rem; }
.stat strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--green-800); line-height: 1.1; }
.stat span { font-size: .88rem; color: var(--ink-500); }
.image-frame { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.image-frame img { width: 100%; height: 100%; object-fit: cover; }
.collage { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.collage .tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1rem; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.collage .tile img { max-height: 100%; width: auto; object-fit: contain; }
.collage .tile.tall { grid-row: span 2; aspect-ratio: auto; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--green-900); color: #fff; border-radius: var(--radius-xl); padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(217,164,65,.35), transparent 65%); pointer-events: none; }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(255,255,255,.8); margin: 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: flex-end; position: relative; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } .cta-band .actions { justify-content: flex-start; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--green-800); color: #fff; padding: clamp(2.5rem, 5vw, 4rem) 0; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(217,164,65,.28), transparent 65%); pointer-events: none; }
.page-hero h1 { color: #fff; margin-bottom: .5rem; font-size: clamp(2rem, 4vw, 2.9rem); }
.page-hero p { color: rgba(255,255,255,.82); max-width: 640px; margin: 0; font-size: 1.05rem; }
.page-hero .breadcrumbs { color: rgba(255,255,255,.65); margin-bottom: 1rem; }
.page-hero .breadcrumbs a { color: rgba(255,255,255,.8); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--ink-700); }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea { width: 100%; padding: .75rem .95rem; border: 1.5px solid var(--control-border); border-radius: 10px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(31,106,85,.14); }
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: .8rem; color: var(--ink-500); margin-top: .3rem; }
.field select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234C5450' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right .9rem center; padding-right: 2.4rem; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(1.4rem, 3vw, 2.2rem); }
.form-note { font-size: .85rem; color: var(--ink-500); }
/* Block layout with an absolutely-positioned checkbox so the label text, link and asterisk flow inline */
.consent { display: block; position: relative; padding-left: 1.75rem; font-size: .88rem; line-height: 1.5; color: var(--ink-600); cursor: pointer; }
.consent input { position: absolute; left: 0; top: .18rem; margin: 0; width: 17px; height: 17px; accent-color: var(--green-700); }
.consent a { color: var(--green-800); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.alert { padding: .9rem 1.1rem; border-radius: 10px; font-size: .92rem; }
.alert-warn { background: var(--amber-100); color: #6B4E13; border: 1px solid #F0DBA6; }
.alert-info { background: var(--green-50); color: var(--green-800); border: 1px solid var(--green-100); }

/* ---------- Quote page ---------- */
.quote-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: start; }
@media (max-width: 960px) { .quote-layout { grid-template-columns: 1fr; } }
.quote-table { width: 100%; border-collapse: collapse; }
.quote-table th { text-align: left; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-500); padding: .6rem .5rem; border-bottom: 1px solid var(--line); font-weight: 700; }
.quote-table td { padding: .9rem .5rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.quote-item { display: flex; align-items: center; gap: .9rem; }
.quote-item img { width: 64px; height: 64px; object-fit: contain; background: var(--sand-50); border-radius: 10px; padding: 6px; flex: none; }
.quote-item .name { font-weight: 600; font-family: var(--font-display); font-size: .95rem; line-height: 1.3; }
.quote-item .meta { font-size: .8rem; color: var(--ink-500); }
.remove-btn { background: none; border: 0; color: var(--ink-400); padding: .4rem; border-radius: 8px; display: inline-flex; }
.remove-btn:hover { color: var(--danger); background: #FBEDEA; }
.remove-btn svg { width: 18px; height: 18px; }
.quote-summary { position: sticky; top: calc(var(--header-h) + 1rem); }
.summary-row { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.summary-row:last-of-type { border-bottom: 0; }
.summary-row strong { font-family: var(--font-display); }
@media (max-width: 640px) { .quote-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; } .quote-table td { display: block; padding: .4rem .2rem; border: 0; } .quote-table tr { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); } .quote-table td.actions { display: flex; align-items: center; gap: .8rem; } }

/* ---------- FAQ (details) ---------- */
.faq { display: grid; gap: .8rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.25rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1.05rem 0; font-family: var(--font-display); font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--green-950); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--green-700); flex: none; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-600); margin: 0 0 1.1rem; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 800px; }
.prose h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.prose h3 { font-size: 1.05rem; margin-top: 1.5rem; }
.prose p, .prose li { color: var(--ink-700); }
.prose ul { padding-left: 1.3rem; }
.prose .updated { font-size: .85rem; color: var(--ink-500); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: rgba(255,255,255,.78); padding: 3.5rem 0 1.5rem; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-tag { color: var(--amber-400); }
.site-footer p { font-size: .92rem; color: rgba(255,255,255,.66); max-width: 380px; }
.site-footer h4, .site-footer .footer-heading { color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer ul a { color: rgba(255,255,255,.75); font-size: .93rem; }
.site-footer ul a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; padding-top: 1.4rem; font-size: .82rem; color: rgba(255,255,255,.5); }
.footer-bottom a { color: rgba(255,255,255,.6); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; } }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--green-950); color: #fff; padding: .85rem 1.1rem .85rem 1.2rem; border-radius: 999px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 1rem; opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; z-index: 200; font-size: .93rem; max-width: calc(100vw - 2rem); }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: var(--amber-400); font-weight: 700; white-space: nowrap; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-5 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0 !important; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.text-center { text-center: center; text-align: center; }
.flex { display: flex; } .flex-wrap { flex-wrap: wrap; } .items-center { align-items: center; } .justify-between { justify-content: space-between; } .gap-1 { gap: .5rem; } .gap-2 { gap: 1rem; }
.hidden { display: none !important; }
.page { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.notice-bar { background: var(--green-950); color: rgba(255,255,255,.85); font-size: .85rem; text-align: center; padding: .5rem 1rem; }
.notice-bar strong { color: var(--amber-400); }
