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

:root {
  /* Palette matched to gifting-story: navy + gold on cream. */
  --navy:     #243b53;
  --navy-2:   #1c2f43;
  --gold:     #c9a24a;
  --gold-2:   #b98f38;
  --cream:    #fdf7eb;   /* sampled from the logo background */
  --cream-2:  #f4ecd9;

  --primary:  #243b53;   /* navy — buttons, primary actions */
  --primary-dark: #1c2f43;
  --accent:   #c9a24a;   /* gold — highlights, badges, hovers */
  --accent-dark:  #b98f38;
  --green:    #2e8b57;   /* alias kept for savings/success refs */
  --red:      #c0392b;   /* alias kept for true error states */
  --bg:       #fdf7eb;   /* matches the logo background */
  --card:     #ffffff;
  --border:   #eadfc6;
  --text:     #243b53;
  --muted:    #6b7688;

  /* Tinted surfaces (were red washes) */
  --tint:     #fdf7eb;
  --tint-2:   #f4ecd9;

  --radius:   14px;
  --shadow:   0 6px 24px rgba(36,59,83,.08);
}

/* Typography: Cormorant Garamond italic for display headings, Jost for UI/body.
   The italic cut is loaded explicitly (ital@1) — headings set `font-style:
   italic` below, and without the real italic face the browser would synthesise
   a sheared upright instead of the true cursive letterforms.
   Jost is loaded 400-900 because the UI uses 500/600/800 throughout. */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600;1,700&family=Jost:wght@400;500;600;700;800;900&display=swap');

:root {
  --font-body: "New York", "Iowan Old Style", "Apple Garamond", Baskerville,
               "Times New Roman", "Droid Serif", Times, "Source Serif Pro", serif,
               "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

body { font-family: var(--font-body); background: var(--bg);
       color: var(--text); font-size: 14px; line-height: 1.5; min-height: 100vh;
       overflow-x: hidden; -webkit-font-smoothing: antialiased; }

/* ── Contact top bar ────────────────────────────────────────────────────── */
.topbar {
  background: var(--accent); color: #fff;
  font-size: 13px; font-weight: 600;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 9px 28px; flex-wrap: wrap;
}
.tb-contact, .tb-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { text-decoration: underline; }
.tb-sep { opacity: .55; }
/* Icon-only contact links — the number/address live in the title attribute. */
.tb-contact--icons { gap: 14px; }
.tb-ico {
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.12); color: #fff;
  transition: background .18s, transform .18s;
}
.tb-ico:hover { background: rgba(255,255,255,.24); transform: translateY(-1px); text-decoration: none; }
.tb-ico--wa:hover { background: #25d366; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.header {
  background: #faf6e9;
  padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  height: 132px; position: sticky; top: 0; z-index: 200;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 14px rgba(36,59,83,.08);
}

/* Search panel — hidden until the header's search icon is clicked, then it
   drops in below the header rather than occupying the bar itself. */
.header-search {
  width: min(560px, calc(100% - 32px)); margin: 14px auto; display: flex; align-items: stretch;
  border: 2px solid var(--accent); border-radius: 6px; overflow: hidden; background: #fff;
}
.header-search[hidden] { display: none; }
.header-search input {
  flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent;
  padding: 11px 14px; font: inherit; font-size: 14px; color: var(--text);
}
.header-search input::placeholder { color: var(--muted); }
.header-search button {
  flex: 0 0 auto; width: 56px; border: 0; cursor: pointer;
  background: var(--accent); display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.header-search button:hover { background: var(--accent-dark); }

/* Icon-over-label header actions */
.hu-action {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: var(--primary); text-decoration: none;
  font-size: 12px; font-weight: 700; white-space: nowrap; transition: color .15s;
}
.hu-action:hover { color: var(--accent-dark); }
.hu-action svg { display: block; }
/* Search reads as icon + label on one line, like the reference header. */
.hu-search-btn {
  flex-direction: row; gap: 7px; background: none; border: 0; padding: 0;
  cursor: pointer; font: inherit; font-size: 14px; font-weight: 600;
  color: var(--primary); align-items: center;
}
.hu-search-btn:hover { color: var(--accent-dark); }
/* Three equal-width groups — account | logo | actions — so the wordmark lands
   on the page's true centre line regardless of how wide the side groups get. */
.header-left, .header-right { flex: 1 1 0; display: flex; align-items: center; gap: 18px; }
.header-right { justify-content: flex-end; }
.logo { display: flex; align-items: center; justify-content: center; gap: 10px; flex: 0 0 auto; }
.logo-mark { font-size: 26px; font-weight: 900; color: var(--accent); letter-spacing: -1px; }
.logo-text { color: #fff; font-size: 15px; font-weight: 600; line-height: 1.2; }
.logo-sub  { color: rgba(36,59,83,.62); font-size: 11px; font-weight: 500; }
.logo-sub-wrap { line-height: 1.15; }

/* Logo image (used when assets/logo.png exists) */
/* The 3-line wordmark is roughly square, so it is height-capped to the header. */
.brand-logo-img { height: 120px; width: auto; max-width: 280px; object-fit: contain; display: block; }
.footer-brand .brand-logo-img { height: 64px; }

/* Text wordmark fallback */
.brand-wordmark { display: inline-flex; align-items: center; gap: 8px; }
.brand-wordmark .bw-ic { font-size: 24px; line-height: 1; }
.brand-wordmark .bw-name {
  font-size: 22px; font-weight: 900; letter-spacing: .5px; color: var(--primary);
}
.brand-wordmark--light .bw-name { font-size: 19px; }
.header-right { display: flex; align-items: center; gap: 20px; }
/* Stock Clearance now lives in the main menu (see .mn-clearance-link). */
.header-contact { display: flex; align-items: center; gap: 16px; color: rgba(36,59,83,.7); font-size: 13px; }
.header-contact a { color: var(--primary); text-decoration: none; font-weight: 700; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 4px; transition: color .15s; }
.header-contact a:hover { color: var(--gold-2); }
.header-contact .hc-wa-ic { flex: 0 0 auto; display: block; }

/* Logged-in user chip + logout (storefront) */
.header-user { display: flex; align-items: center; gap: 10px; }
.hu-name { color: var(--text); font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.hu-role { background: var(--accent); color: #fff; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; padding: 2px 7px; border-radius: 999px; }
.hu-logout { color: var(--primary); font-size: 12px; font-weight: 700; text-decoration: none; border: 1px solid rgba(36,59,83,.28); padding: 5px 12px; border-radius: 8px; transition: all .15s; }
.hu-logout:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
@media (max-width: 640px) { .header-contact { display: none; } .hu-name .hu-role { display: none; } }

/* ── Hero strip ─────────────────────────────────────────────────────────── */
/* Banners are self-contained artwork (logo + copy baked in). The carousel box
   carries the aspect ratio; slides just fill it. */
.hero {
  color: var(--navy); position: relative; overflow: hidden;
  display: flex; align-items: center;
  aspect-ratio: 2048 / 768; min-height: 0;
  background: url('banner.jpeg') center / cover no-repeat var(--cream);
}
.hero-content {
  width: min(520px, 92vw); margin-right: auto; padding: 44px 18px 44px 42px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
.hero h1 {
  font-size: 42px; font-weight: 900; line-height: 1.05; margin-bottom: 12px;
  color: var(--navy);
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: 16px; color: rgba(36,59,83,.78); max-width: 430px; margin: 0 0 22px;
}
.hero-badges { display: flex; justify-content: flex-start; gap: 10px; flex-wrap: wrap; }
.hero-badge {
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  border-radius: 20px; padding: 6px 14px; font-size: 12px; font-weight: 700; color: #fff;
  backdrop-filter: blur(4px);
}

/* ── Hero Carousel ──────────────────────────────────────────────────────── */
/* Banner: aspect-ratio box so the full image fits without cropping. */
/* Cap at the source image width (1600px) so banners are never upscaled → no pixelation. */
/* Ratio matches the banner artwork (2048×768) so the slide box is exactly the
   image's shape — full viewport width, no letterboxing and no cropping. */
.hero-carousel { position: relative; overflow: hidden; aspect-ratio: 2048 / 768; height: auto; background: var(--navy); width: 100%; margin: 0 auto; }
.hc-track { position: relative; height: 100%; }
/* every slide fills the carousel box → all slides share one fixed height */
.hero-carousel .hero {
  position: absolute; inset: 0; min-height: 0; height: 100%;
  opacity: 0; visibility: hidden; transition: opacity .6s ease;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero-carousel .hero.active { opacity: 1; visibility: visible; z-index: 1; }
.hc-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.18); color: #fff; font-size: 26px; line-height: 1;
  backdrop-filter: blur(4px); transition: background .15s; display: flex; align-items: center; justify-content: center;
}
.hc-arrow:hover { background: rgba(255,255,255,.34); }
.hc-prev { left: 18px; } .hc-next { right: 18px; }
.hc-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 9px; }
.hc-dot { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; transition: background .15s; }
.hc-dot.active { background: #fff; }
@media (max-width: 600px) { .hc-arrow { width: 36px; height: 36px; font-size: 20px; } }

/* ── Page layout ─────────────────────────────────────────────────────────── */
.page { max-width: 1260px; margin: 0 auto; padding: 28px 16px 40px; }

/* ── Category tabs ──────────────────────────────────────────────────────── */
/* Make Your Own Kit banner */
.kit-banner {
  background: var(--primary); color: #fff;
  padding: 28px 22px; margin-bottom: 8px;
}
.kit-banner-inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 20px; }
.kit-banner .kit-step { font-size: 48px; line-height: 1; }
.kit-banner h1 { font-size: 26px; margin: 0 0 6px; }
.kit-banner p { margin: 10px 0 12px; opacity: .9; max-width: 640px; }
.kit-product-filters { max-width: 760px; margin: 16px 0; padding: 14px; border: 1px solid rgba(255,255,255,.4); border-radius: 10px; background: rgba(0,0,0,.12); }
.kit-filter-title { font-size: 14px; font-weight: 800; margin-bottom: 10px; }
.kit-filter-fields { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.kit-filter-fields label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; font-weight: 700; }
.kit-filter-fields select { min-width: 190px; padding: 9px 10px; border: 0; border-radius: 7px; font: inherit; color: var(--text); background: #fff; }
.kit-price-range { display: flex; align-items: center; gap: 8px; }
.kit-price-range input { width: 95px; padding: 9px 10px; border: 0; border-radius: 7px; font: inherit; color: var(--text); background: #fff; }
.kit-price-dash { color: #fff; font-weight: 700; }
.kit-filter-fields button { padding: 10px 15px; border: 0; border-radius: 7px; background: #fff; color: var(--primary); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.kit-filter-fields button:hover { background: var(--tint-2); }
.kit-name-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; max-width: 360px; }
.kit-name-field input { padding: 10px 12px; border-radius: 8px; border: none; font-size: 14px; }
.kit-qty-field { max-width: 160px; margin-top: 10px; }
.kit-disclaimer { margin-top: 22px; font-size: 13px; font-weight: 700; color: red; background: #ffff00;
  border: 1.5px solid #f5c518; border-radius: 8px; padding: 10px 13px; display: inline-block;
  box-shadow: 0 2px 8px rgba(245,197,24,.35); }
.kit-disclaimer strong { color: #5a4500; }

/* Step 1: kit size (N-in-1) picker */
.kit-size-picker { max-width: 760px; margin: 16px 0; padding: 14px; border: 1px solid rgba(255,255,255,.4); border-radius: 10px; background: rgba(0,0,0,.12); }
.kit-size-hint { font-size: 13px; margin: 0 0 10px; opacity: .95; }
.kit-size-hint strong { color: #ffe58a; }
.kit-size-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.kit-size-btn { padding: 9px 14px; border: 0; border-radius: 8px; background: #fff; color: var(--primary); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; text-decoration: none; line-height: 1; }
.kit-size-btn:hover { background: var(--tint-2); }
.kit-size-btn.is-active { background: var(--primary); color: #fff; box-shadow: 0 0 0 2px #fff inset; }
.kit-size-more { background: #25D366; color: #fff; }
.kit-size-more:hover { background: #1ebe5b; }
.kit-size-status { margin-top: 10px; font-size: 13px; font-weight: 800; }
.kit-size-status.is-full { color: #7CFC00; }

.kit-name-summary .pr-name { font-weight: 800; color: var(--primary); }
@media (max-width: 640px) { .kit-banner-inner { flex-direction: column; align-items: flex-start; } .kit-banner .kit-step { font-size: 36px; } .kit-filter-fields { align-items: stretch; } .kit-filter-fields label, .kit-filter-fields select, .kit-filter-fields button { width: 100%; } .kit-price-range { width: 100%; } .kit-price-range input { flex: 1; width: auto; } }

/* Budget chooser */
.budget-chooser {
  background: var(--card); border: 2px solid var(--border); border-radius: 14px;
  padding: 16px 18px; margin-bottom: 22px;
}
.bc-title { font-weight: 800; margin-bottom: 12px; }
.bc-minmax { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; margin-bottom: 12px; }
.bc-minmax label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; font-weight: 700; color: var(--muted); }
.bc-minmax input { width: 120px; padding: 8px 10px; border-radius: 8px; border: 2px solid var(--border); font-size: 14px; font-weight: 700; }
.bc-minmax input:focus { outline: none; border-color: var(--primary); }
.bc-apply { padding: 9px 22px; border-radius: 20px; border: 0; background: var(--primary); color: #fff; cursor: pointer; font-size: 14px; font-weight: 800; }
.bc-cat { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.bc-cat select { padding: 7px 10px; border-radius: 8px; border: 2px solid var(--border); font-size: 13px; }

/* New / Diwali ribbons on product cards */
.pcard-flags { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; z-index: 3; }
.pflag { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; padding: 3px 8px; border-radius: 999px; color: #fff; }
.pflag.new { background: var(--primary); }
.pflag.diwali { background: var(--navy); }
.pflag.yos { background: var(--navy); }

/* Branded products grid */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.brand-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 22px 16px; background: var(--card); border: 2px solid var(--border); border-radius: 14px;
  text-decoration: none; transition: all .16s; min-height: 130px;
}
.brand-card:hover { border-color: var(--primary); box-shadow: 0 8px 22px rgba(36,59,83,.16); transform: translateY(-2px); }
.brand-card img { max-width: 100%; max-height: 70px; object-fit: contain; }
.brand-name { font-size: 13px; font-weight: 700; color: var(--muted); text-align: center; }

.cat-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.cat-tab {
  padding: 8px 20px; border-radius: 22px; border: 2px solid var(--border);
  background: var(--card); cursor: pointer; font-size: 13px; font-weight: 600;
  color: var(--muted); transition: all .18s; white-space: nowrap;
}
.cat-tab:hover, .cat-tab.active {
  background: var(--primary); border-color: var(--primary); color: #fff;
}

/* Supplied visual category artwork, shown as a clickable homepage category grid. */
.category-visual-section { margin: 28px; }
.category-visual-grid {
  --category-tile-gap: 12px;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: var(--category-tile-gap);
  justify-content: center;
  max-width: calc((140px * 10) + (var(--category-tile-gap) * 9));
  margin: 0 auto;
}
.category-visual-card { display: block; width: 100%; aspect-ratio: 290 / 272; border-radius: 8px; overflow: hidden; box-shadow: 0 3px 10px rgba(0,0,0,.14); transition: transform .16s, box-shadow .16s; }
.category-visual-card img { display: block; width: 100%; height: 100%; object-fit: contain; }
.category-visual-card:hover, .category-visual-card:focus-visible { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(36,59,83,.28); outline: none; }
@media (max-width: 1180px) { .category-visual-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 900px) { .category-visual-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .category-visual-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }

/* ── Mega Nav Bar ───────────────────────────────────────────────────────── */
.meganav {
  background: var(--gold);
  position: sticky; top: 132px; z-index: 500;   /* must match .header height */
  box-shadow: 0 3px 14px rgba(36,59,83,.18);
}
/* The header search replaces the in-nav search box on desktop. */
.meganav .mn-search { display: none; }
.meganav-inner {
  width: 100%; margin: 0 auto; padding: 0 12px;
  display: flex; align-items: stretch; gap: 0; flex-wrap: nowrap;
  /* keep everything (incl. search) on one line on desktop */
  /* NOTE: do NOT use overflow:auto here — it clips the open dropdowns */
}
.nav-toggle { display: none; }
.mn-item { position: relative; display: flex; align-items: stretch; }
.mn-link {
  background: none; border: none; cursor: pointer; white-space: nowrap;
  color: #fff; font-size: 13.5px; font-weight: 400;
  padding: 13px 10px; display: flex; align-items: center; justify-content: center; gap: 5px;
  text-decoration: none; transition: background .15s; font-family: inherit;
  text-shadow: none;
}
/* Bold only while hovered / open / on the current page. Sizing the item from
   the bold width keeps the bar from shifting as the weight changes. */
.mn-link:hover, .mn-item.open > .mn-link, .mn-link.active {
  background: rgba(36,59,83,.18); color: #fff; font-weight: 700;
}
.mn-link.active { box-shadow: inset 0 -3px 0 #fff; }
.mn-clearance-link { color: var(--navy); font-weight: 800; text-shadow: none; }
.mn-clearance-link:hover, .mn-clearance-link.active { background: rgba(36,59,83,.16); color: var(--navy); }
.mn-link .caret { font-size: 10px; opacity: .8; transition: transform .18s; }
.mn-item.open .caret { transform: rotate(180deg); }
.mn-yos-link { padding: 5px 6px; }
.mn-yos-logo {
  display: block; width: 50px; height: 28px; object-fit: contain;
  border-radius: 5px; background: #fff; padding: 2px 5px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.6);
}
/* House-brand dropdown — WANGARI opens WANGARI, EVM and GLOW. */
.mn-brand-link { padding: 5px 6px; font-weight: 400; letter-spacing: .4px; }
.mn-brand-link .caret { margin-left: 5px; }
.mn-brand-logo {
  display: block; width: 50px; height: 28px; object-fit: contain;
  border-radius: 5px; background: #fff; padding: 2px 5px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.6);
}
.mn-brand-drop { min-width: 88px; }
.mn-brand-drop-link { display: flex; justify-content: center; padding: 8px 14px; }
.mn-brand-drop-link:hover { padding-left: 14px; }

.mn-drop {
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: var(--primary-dark);
  border-radius: 0 0 10px 10px; box-shadow: 0 12px 30px rgba(0,0,0,.3);
  padding: 6px 0; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all .16s; z-index: 510;
}
.mn-item.open .mn-drop { opacity: 1; visibility: visible; transform: translateY(0); }
.mn-drop-link {
  display: block; padding: 11px 18px; color: rgba(255,255,255,.9);
  font-size: 13px; font-weight: 400; cursor: pointer; text-decoration: none;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.07); transition: background .12s;
}
.mn-drop-link:last-child { border-bottom: none; }
/* Centred items must not shift sideways on hover, so keep padding symmetric. */
.mn-drop-link:hover { background: rgba(255,255,255,.16); color: #fff; font-weight: 700; }

/* Sub-category flyout (e.g. Gift Sets) */
.mn-sub { position: relative; }
.mn-sub-toggle { display: flex; align-items: center; justify-content: center; gap: 8px; }
.flyout-caret { opacity: .7; font-size: 14px; }
.mn-flyout {
  position: absolute; top: 0; left: 100%; min-width: 210px;
  background: var(--primary-dark);
  border-radius: 0 10px 10px 10px; box-shadow: 0 12px 30px rgba(0,0,0,.3);
  padding: 6px 0; opacity: 0; visibility: hidden; transform: translateX(-6px);
  transition: all .16s; z-index: 520;
}
.mn-sub:hover > .mn-flyout, .mn-sub.open > .mn-flyout { opacity: 1; visibility: visible; transform: translateX(0); }
/* On narrow screens the flyout drops below instead of beside */
@media (max-width: 820px) {
  .mn-flyout { position: static; left: auto; top: auto; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border-radius: 0; background: rgba(0,0,0,.18); }
  .mn-flyout .mn-drop-link { padding-left: 34px; font-size: 12px; }
  .flyout-caret { transform: rotate(90deg); }
}

/* wide 4-column product mega panel */
.mn-mega {
  display: grid; grid-template-columns: repeat(4, minmax(180px, 1fr));
  width: min(1180px, calc(100vw - 28px)); padding: 14px; gap: 0;
  background: var(--primary-dark);
}
.mn-mega-col { padding: 0 12px; border-right: 1px solid rgba(255,255,255,.14); }
.mn-mega-col:last-child { border-right: 0; }
.mn-mega .mn-drop-link {
  color: #fff; border-bottom: 0; padding: 10px 12px; border-radius: 7px; font-size: 14px; font-weight: 400;
}
.mn-mega .mn-drop-link:hover { background: rgba(255,255,255,.16); font-weight: 700; }
.mn-mega .mn-drop-link:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.mn-mega-group { margin-bottom: 4px; }
.mn-mega-head { display: flex; align-items: center; justify-content: center; }
/* No flex:1 — the label must hug its caret so the pair centres together
   instead of the caret being pushed to the panel edge. */
.mn-mega-cat { font-weight: 400; display: inline-flex; align-items: center; justify-content: center; min-width: 0; }
.mn-mega-cat:hover { font-weight: 700; }
.mn-mega-toggle { flex: none; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: rgba(255,255,255,.85); cursor: pointer; }
.mn-mega-toggle:hover { background: rgba(255,255,255,.16); color: #fff; }
.mn-mega-toggle span { display: inline-block; transition: transform .2s ease; }
.mn-mega-group.sub-open .mn-mega-toggle span { transform: rotate(180deg); }
.mn-mega-subs { display: none; flex-direction: column; padding: 0 0 4px; }
.mn-mega-group.sub-open .mn-mega-subs { display: flex; }
.mn-mega-sub { color: rgba(255,255,255,.85); text-decoration: none; font-size: 12.5px; padding: 5px 8px; border-radius: 6px; text-align: center; }
.mn-mega-sub:hover { background: rgba(255,255,255,.16); color: #fff; font-weight: 700; }
.mn-mega .mn-col-title {
  color: #fff; font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .6px; padding: 4px 10px 8px; border-bottom: 1px solid rgba(255,255,255,.18);
  margin-bottom: 4px;
}
@media (max-width: 700px) {
  .mn-mega { grid-template-columns: 1fr; min-width: 0; width: 100%; padding: 0; }
  .mn-mega-col { padding: 0; border-right: 0; }
}

.mn-search { margin-left: auto; display: flex; align-items: center; padding-left: 6px; min-width: 0; flex-shrink: 1; }
.mn-search input {
  border: none; border-radius: 18px; padding: 6px 11px; font-size: 11.5px;
  width: 120px; max-width: 100%; background: rgba(36,59,83,.18); color: #fff; outline: none;
  transition: background .15s, width .2s;
}
.mn-search input::placeholder { color: rgba(255,255,255,.85); }
.mn-search input:focus { background: #fff; color: var(--text); width: 160px; }
.mn-search input:focus::placeholder { color: var(--muted); }
/* On smaller screens, let the bar wrap again so nothing is cut off */
@media (max-width: 1024px) {
  .meganav-inner { flex-wrap: wrap; }
  .mn-link { font-size: 13px; padding: 13px 9px; }
  .mn-search { width: 100%; margin-left: 0; padding-left: 0; }
  .mn-search input { width: 100%; }
}

/* ── Active filter bar / empty state ────────────────────────────────────── */
.filter-bar {
  display: none; align-items: center; gap: 14px; margin-bottom: 20px;
  background: var(--tint); border: 1.5px solid var(--primary); border-radius: 10px;
  padding: 10px 16px;
}
.filter-bar.show { display: flex; }
.fb-label { font-weight: 700; color: var(--primary); font-size: 13px; }
.fb-clear {
  margin-left: auto; background: var(--primary); color: #fff; border: none;
  border-radius: 18px; padding: 7px 16px; font-size: 12.5px; font-weight: 600;
  cursor: pointer; transition: background .15s;
}
.fb-clear:hover { background: var(--primary-dark); }
/* Compact single-row price filter (~80% smaller than the old stacked block). */
.price-range-filter {
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  padding: 6px 10px; margin: -4px 0 12px; box-shadow: 0 1px 6px rgba(0,0,0,.04);
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px;
}
.prf-head {
  display: flex; align-items: baseline; gap: 6px; margin: 0;
}
.prf-title { color: var(--text); font-size: 12px; font-weight: 800; }
.prf-scope { color: var(--muted); font-size: 11px; font-weight: 600; }
.prf-head button {
  border: 1px solid var(--border); background: #fff; color: var(--primary);
  border-radius: 6px; padding: 3px 8px; font-size: 11px; font-weight: 700; cursor: pointer;
  margin-left: auto;
}
.prf-values { display: flex; align-items: center; gap: 8px; margin: 0; }
.prf-values label {
  display: flex; align-items: center; gap: 4px; color: var(--muted);
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px;
}
.prf-values input {
  width: 64px; border: 1px solid var(--border); border-radius: 6px; padding: 4px 6px;
  color: var(--text); font: inherit; font-size: 12px; font-weight: 700;
}
/* One shared scale with independently draggable minimum and maximum handles. */
.prf-sliders { position: relative; height: 26px; margin-top: 10px; }
.prf-slider-track, .prf-slider-track span { position: absolute; top: 10px; height: 6px; border-radius: 999px; }
.prf-slider-track { right: 9px; left: 9px; background: #e8e8e8; overflow: hidden; }
.prf-slider-track span { left: 0; width: 100%; background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--gold)); }
.prf-sliders input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 26px; margin: 0; padding: 0;
  appearance: none; -webkit-appearance: none; background: transparent; pointer-events: none;
}
.prf-sliders input[type="range"]::-webkit-slider-runnable-track { height: 6px; background: transparent; }
.prf-sliders input[type="range"]::-webkit-slider-thumb {
  appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff;
  border: 3px solid var(--primary); box-shadow: 0 2px 7px rgba(36,59,83,.28); cursor: grab; pointer-events: auto;
}
.prf-sliders input[type="range"]::-moz-range-track { height: 6px; background: transparent; }
.prf-sliders input[type="range"]::-moz-range-thumb {
  width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 3px solid var(--primary);
  box-shadow: 0 2px 7px rgba(36,59,83,.28); cursor: grab; pointer-events: auto;
}
.prf-sliders input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 3px solid rgba(36,59,83,.3); outline-offset: 2px; }
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state .es-icon { font-size: 48px; margin-bottom: 12px; }
.empty-state .es-title { font-size: 16px; font-weight: 700; color: var(--muted); margin-bottom: 18px; }

/* Coming Soon section for taxonomy categories with no products yet. */
.coming-soon-block {
  text-align: center; padding: 40px 20px; border: 1px dashed var(--border);
  border-radius: 14px; background: #fafafa;
}
.coming-soon-block .cs-icon { font-size: 40px; margin-bottom: 8px; }
.coming-soon-block .cs-title { font-size: 17px; font-weight: 800; color: var(--accent, var(--navy)); margin-bottom: 6px; }
.coming-soon-block .cs-text { font-size: 13.5px; color: var(--muted); max-width: 460px; margin: 0 auto; line-height: 1.6; }

/* ── Product Detail Page (PDP) ──────────────────────────────────────────── */
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 22px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.breadcrumb a { color: var(--primary); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .current { color: var(--text); font-weight: 600; }

.pdp { display: grid; grid-template-columns: minmax(0, 460px) 1fr; gap: 36px; align-items: start; }
.pdp-media {
  position: relative; background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius); aspect-ratio: 1/1; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.pdp-media img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.pdp-media .pid-tag { position: absolute; top: 12px; left: 12px; background: var(--primary); color:#fff; font-size:12px; font-weight:700; padding:4px 10px; border-radius:8px; }
.pdp-media .stock-tag { position: absolute; top: 12px; right: 12px; left: auto; bottom: auto; width: auto; }

/* Zoomable main image */
.pdp-media.zoomable { cursor: zoom-in; }
.pdp-media .zoom-hint {
  position: absolute; bottom: 12px; right: 12px; background: rgba(0,0,0,.62); color: #fff;
  font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 8px; pointer-events: none;
  opacity: 0; transition: opacity .15s;
}
.pdp-media.zoomable:hover .zoom-hint { opacity: 1; }

/* Fullscreen zoom lightbox */
.zoom-overlay {
  position: fixed; inset: 0; z-index: 9000; background: rgba(0,0,0,.92);
  display: none; align-items: center; justify-content: center; overflow: hidden;
}
.zoom-overlay.open { display: flex; }
.zoom-overlay img {
  max-width: 92vw; max-height: 88vh; object-fit: contain; cursor: zoom-in;
  transition: transform .12s ease-out; will-change: transform; user-select: none; -webkit-user-drag: none;
}
.zoom-overlay img.zoomed { cursor: grab; }
.zoom-overlay img.zoomed:active { cursor: grabbing; }
.zoom-close {
  position: absolute; top: 18px; right: 22px; z-index: 2; width: 42px; height: 42px;
  border-radius: 50%; border: none; background: rgba(255,255,255,.15); color: #fff;
  font-size: 20px; cursor: pointer; transition: background .15s;
}
.zoom-close:hover { background: rgba(255,255,255,.3); }
.zoom-tip { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); font-size: 12px; pointer-events: none; }

.pdp-cat { font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.pdp-name { font-size: 28px; font-weight: 900; color: var(--primary); line-height: 1.15; margin-bottom: 12px; }
.pdp-desc { font-size: 15px; color: var(--text); margin-bottom: 22px; line-height: 1.6; }

.pdp-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.pdp-meta-box { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 10px 16px; flex: 1; min-width: 120px; }
.pdp-meta-box .lbl { font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
.pdp-meta-box .val { font-size: 16px; font-weight: 800; color: var(--primary); margin-top: 2px; }

.pdp-gallery { display: flex; flex-direction: column; gap: 12px; }
.pdp-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.pdp-thumb {
  width: 64px; height: 64px; border-radius: 10px; border: 2px solid var(--border);
  background: #fff; padding: 4px; cursor: pointer; overflow: hidden; transition: border-color .15s;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pdp-thumb.active, .pdp-thumb:hover { border-color: var(--primary); }
.pdp-video { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--border); }
.pdp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

.pdp-por-box {
  display: flex; gap: 14px; align-items: flex-start; background: var(--tint);
  border: 1.5px solid var(--accent); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 22px;
}
.pdp-por-box .por-ic { font-size: 26px; }
.pdp-por-box strong { color: var(--primary); font-size: 16px; }
.pdp-por-box p { font-size: 13px; color: var(--text); margin-top: 4px; line-height: 1.55; }

.pdp-gst-note { font-size: 12px; color: var(--muted); margin-bottom: 22px; }

/* "Please note" disclaimer — bulleted so each condition reads as its own point. */
.tgs-disclaimer {
  background: var(--tint); border: 1.5px solid var(--tint-2);
  border-radius: var(--radius); padding: 14px 18px; margin-bottom: 22px;
}
.tgs-disclaimer-head {
  display: flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: 13px; color: var(--primary); margin-bottom: 8px;
}
.tgs-disclaimer ul { list-style: disc; margin: 0; padding-left: 20px; }
.tgs-disclaimer li {
  font-size: 13px; line-height: 1.6; color: var(--text); margin-bottom: 4px;
}
.tgs-disclaimer li:last-child { margin-bottom: 0; }
.tgs-disclaimer li::marker { color: var(--accent); }
.tgs-disclaimer--compact {
  background: none; border: none; padding: 0;
  font-size: 12px; color: var(--muted); line-height: 1.55;
}
.pdp-tiers { border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 26px; }
.pdp-tiers-title { background: var(--primary); color: #fff; font-weight: 700; font-size: 13px; padding: 10px 16px; }
.pdp-tier-row { display: flex; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 14px; }
.pdp-tier-row:last-child { border-bottom: none; }
/* Each row is its own flex container, so every column needs an explicit basis —
   otherwise the columns size to their own row's content and the middle one
   drifts as the qty/price text changes width. */
.pdp-tier-row .t-qty { font-weight: 700; flex: 0 0 30%; }
.pdp-tier-row .t-disc { color: var(--green); font-weight: 600; flex: 0 0 34%; text-align: center; }
.pdp-tier-row .t-price { font-weight: 800; color: var(--primary); flex: 1; text-align: right; }

.pdp-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pdp-actions .modal-action-btn { flex: 1; min-width: 180px; text-decoration: none; text-align: center; display: inline-flex; align-items: center; justify-content: center; }

@media (max-width: 760px) {
  .pdp { grid-template-columns: 1fr; gap: 22px; }
  .pdp-name { font-size: 22px; }
}

/* ── Section header ─────────────────────────────────────────────────────── */
.sec-head {
  font-size: 18px; font-weight: 800; color: var(--primary);
  margin-bottom: 18px; display: flex; align-items: center; gap: 10px;
}
.sec-head::after { content:''; flex:1; height:2px; background:var(--border); }
.latest-products-section { margin-top: 22px; }
.view-more-products { margin-left: auto; color: var(--primary); font-size: 13px; text-decoration: none; white-space: nowrap; }
.cat-circles-section { margin-top: 30px; background: #f5f5f5; border-radius: 14px; padding: 26px 28px 30px; }
.cat-circles { display: flex; flex-wrap: wrap; gap: 26px 22px; justify-content: flex-start; }
.cat-circle { display: flex; flex-direction: column; align-items: center; gap: 9px; width: 96px; text-decoration: none; color: var(--text); }
.cat-circle-badge {
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  font-size: 32px; background: var(--card); border: 2px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,.06); transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.cat-circle:hover .cat-circle-badge { transform: translateY(-3px); border-color: var(--primary); box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.cat-circle-label { font-size: 12.5px; font-weight: 700; text-align: center; line-height: 1.25; }
.cat-circle:hover .cat-circle-label { color: var(--primary); }
@media (max-width: 600px) {
  .cat-circles { gap: 16px 14px; }
  .cat-circle { width: 78px; }
  .cat-circle-badge { width: 62px; height: 62px; font-size: 26px; }
}
.homepage-all-products { display: none; }
.homepage-all-products.kit-products { display: block; }
/* ── Category hero band ─────────────────────────────────────────────────────
   Top-level section (outside .category-page) so it spans the viewport with no
   breakout maths. Inherits the navy + pattern treatment from .parallax-band. */
.cat-hero { padding: 54px 20px 58px; margin-bottom: 40px; text-align: center; }
.cat-hero-inner { max-width: 1280px; margin: 0 auto; }
.cat-hero-title {
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: 52px; line-height: 1.1; color: #fff; margin: 10px 0 6px;
}
.cat-hero-sub { color: rgba(255,255,255,.72); font-size: 14px; letter-spacing: .3px; }
/* Breadcrumb sits on navy here, so it needs the light-on-dark palette. */
.cat-hero-crumb { justify-content: center; margin-bottom: 0; color: rgba(255,255,255,.6); }
.cat-hero-crumb a { color: rgba(255,255,255,.82); }
.cat-hero-crumb a:hover { color: var(--accent); }
.cat-hero-crumb .current { color: var(--accent); }
@media (max-width: 760px) {
  .cat-hero { padding: 34px 16px 38px; margin-bottom: 26px; }
  .cat-hero-title { font-size: 34px; }
}

.category-page { max-width: 1280px; margin: 0 auto; padding: 0 20px 70px; }
.category-layout { display:grid; grid-template-columns:270px minmax(0,1fr); gap:36px; }
/* Sidebar as a self-contained card (Shopify-style filter rail). */
.category-sidebar {
  align-self: start; position: sticky; top: 18px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 14px; display:flex; flex-direction:column; gap:2px;
  box-shadow: var(--shadow);
}
.category-sidebar h2 {
  font-size:12px; text-transform:uppercase; letter-spacing:1.2px;
  color:var(--muted); font-weight:800; margin:2px 4px 12px;
  padding-bottom:12px; border-bottom:1px solid var(--border);
}
.category-sidebar a { color:var(--text); text-decoration:none; padding:9px 11px; border-radius:9px; display:flex; justify-content:center; gap:8px; align-items:center; font-size:14px; transition: background .15s ease, color .15s ease; }
.category-sidebar a:hover { background:var(--tint-2); color:var(--primary); }
/* Active item gets the gold rail so the current filter is unmistakable. */
.category-sidebar a.active { background:var(--tint); color:var(--primary); font-weight:700; box-shadow: inset 3px 0 0 var(--accent); }
.category-sidebar span { color:var(--muted); font-size:12px; }
.cat-side-ico { width:30px; height:30px; border-radius:6px; object-fit:cover; vertical-align:middle; margin-right:6px; flex:none; }
.cat-side-emoji { display:inline-block; width:30px; text-align:center; margin-right:6px; }
.category-sidebar .cat-side-lbl { display:flex; align-items:center; }
.category-sidebar .cat-side-lbl span { color:inherit; font-size:inherit; }
/* Expandable category groups (categories that have subcategories). */
.cat-side-group { border-radius:7px; }
.cat-side-group > summary {
  list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px;
  padding:8px 10px; border-radius:7px; color:var(--text); user-select:none;
  transition: background .15s ease, color .15s ease;
}
.cat-side-group > summary::-webkit-details-marker { display:none; }
.cat-side-group > summary:hover { background:var(--tint-2); color:var(--primary); }
.cat-side-group > summary.active { background:var(--tint); color:var(--primary); font-weight:700; box-shadow: inset 3px 0 0 var(--accent); }
.cat-side-lbl { flex:1; min-width:0; }
.cat-side-count { color:var(--muted); font-size:12px; }
.cat-side-caret { font-size:11px; color:var(--muted); transition: transform .2s ease; }
.cat-side-group[open] > summary .cat-side-caret { transform: rotate(180deg); }
.cat-side-subs { display:flex; flex-direction:column; gap:2px; padding:2px 0 6px; animation: catSubReveal .2s ease; }
.cat-side-subs a { padding:6px 10px 6px 30px; font-size:13px; color:var(--muted); }
.cat-side-subs a:hover, .cat-side-subs a.active { background:var(--tint); color:var(--primary); font-weight:700; }
.category-coming-soon { display:flex; justify-content:center; }
.category-coming-soon img { max-width:100%; width:600px; height:auto; border-radius:16px; box-shadow:0 8px 28px rgba(0,0,0,.12); }
@keyframes catSubReveal { from { opacity:0; transform: translateY(-4px); } to { opacity:1; transform: translateY(0); } }
.category-results-head { display:flex; justify-content:space-between; align-items:baseline; gap:12px; margin-bottom:20px; padding-bottom:14px; border-bottom:1px solid var(--border); }
.category-results-head h2 { color:var(--primary); font-family:var(--font-display); font-style:italic; font-weight:600; font-size:26px; }
.category-results-head p { color:var(--muted); font-size:13px; }
.category-color-filter { display:flex; align-items:end; gap:12px; margin:0 0 18px; padding:12px 14px; background:var(--cream-2); border:1px solid var(--border); border-radius:12px; }
.category-color-filter label { display:flex; flex-direction:column; gap:5px; color:var(--muted); font-size:12px; font-weight:700; }
.category-color-filter select { min-width:180px; padding:9px 34px 9px 11px; border:1px solid var(--border); border-radius:8px; background:#fff; color:var(--navy); font:inherit; }
.category-color-filter a { padding:9px 0; color:var(--green); font-size:13px; font-weight:700; text-decoration:none; }

/* Product tile: whole card is the link, image sits on its own tinted panel and
   the CTA only appears on hover — the usual Shopify collection-grid pattern. */
.category-product {
  color:var(--text); text-decoration:none; text-align:center;
  display:flex; flex-direction:column; gap:10px;
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius);
  padding:12px 12px 16px; overflow:hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.category-product:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(36,59,83,.14);
}
.category-product:hover strong { color:var(--primary); }
.category-product-img {
  width:100%; aspect-ratio:1; background:var(--tint);
  border-radius:10px; display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.category-product-img img { width:100%; height:100%; object-fit:contain; transition: transform .3s ease; }
.category-product:hover .category-product-img img { transform: scale(1.05); }
.category-product-img span { font-size:38px; }
.category-product strong { font-size:13px; line-height:1.4; font-weight:700; }
.category-product small { color:var(--primary); font-weight:800; font-size:14px; }
.category-product-btn {
  display:inline-flex; align-items:center; justify-content:center;
  min-height:36px; margin-top:auto; padding:9px 16px; border-radius:9px;
  background:var(--primary); color:#fff; font-size:12px; font-weight:900;
  line-height:1; text-transform:uppercase; letter-spacing:.4px;
  transition: background .15s ease;
}
.category-product:hover .category-product-btn,
.category-product:focus-visible .category-product-btn { background:var(--accent); }
.category-pagination{display:flex;gap:7px;justify-content:center;margin-top:26px}.category-pagination a{padding:7px 11px;border:1px solid var(--border);border-radius:7px;color:var(--primary);text-decoration:none}.category-pagination a.active{background:var(--primary);color:#fff}
.lp-pagination{display:flex;gap:7px;justify-content:center;flex-wrap:wrap;margin-top:24px}
.lp-pagination .lp-page{min-width:38px;text-align:center;padding:8px 12px;border:1px solid var(--border);border-radius:8px;color:var(--primary);text-decoration:none;font-weight:700;transition:background .15s,color .15s}
.lp-pagination .lp-page:hover{background:var(--cream-2)}
.lp-pagination .lp-page.active{background:var(--primary);color:#fff;border-color:var(--primary)}
.lp-pagination .lp-page.disabled{opacity:.4;pointer-events:none}
.lp-pagination .lp-ellipsis{padding:8px 4px;color:var(--muted);font-weight:700;align-self:center}
.category-pagination .cp-ellipsis{padding:7px 4px;color:var(--muted);font-weight:700}
@media(max-width:760px){
  .category-page{padding:0 12px 50px}
  .category-layout{grid-template-columns:1fr;gap:20px}
  /* Un-stick the rail on mobile: a sticky card would eat the viewport. */
  .category-sidebar{position:static;max-height:290px;overflow:auto;padding:14px 12px}
  .category-results-head{align-items:flex-start;flex-direction:column;gap:4px}
  .category-results .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}

/* ── Product grid ───────────────────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px; margin-bottom: 36px;
}

/* ── Product card ───────────────────────────────────────────────────────── */
.pcard {
  background: var(--card); border-radius: var(--radius);
  border: 1.5px solid var(--border); overflow: hidden;
  transition: transform .18s, box-shadow .18s, border-color .18s;
  display: flex; flex-direction: column; cursor: default;
}
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d9d9d9; }
.pcard.in-cart { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(36,59,83,.2); }
.pcard.inactive, .pcard.out-stock { opacity: .72; }

/* Product cards reveal as they enter the viewport. JS adds these classes so
   cards already visible on first paint are handled by the same animation. */
.product-scroll-reveal {
  opacity: 0;
  transform: translateY(24px) scale(.985);
  transition: opacity .55s ease, transform .55s cubic-bezier(.22,.61,.36,1),
              box-shadow .18s ease, border-color .18s ease;
  transition-delay: var(--product-reveal-delay, 0ms);
}
.product-scroll-reveal.product-in-view { opacity: 1; transform: translateY(0) scale(1); }
.pcard.inactive.product-in-view, .pcard.out-stock.product-in-view { opacity: .72; }
.pcard.product-in-view:hover,
.category-product.product-in-view:hover,
.brand-product-card.product-in-view:hover { transform: translateY(-3px) scale(1); }
@media (prefers-reduced-motion: reduce) {
  .product-scroll-reveal { opacity: 1; transform: none; transition: none; }
}

/* image area */
.pcard-img {
  width: 100%; aspect-ratio: 1/1; overflow: hidden; display: block;
  background: #f0f2f7; position: relative; flex-shrink: 0;
}
.pcard-img img {
  width: 100%; height: 100%; object-fit: contain; padding: 10px;
  background: #fff;
  transition: transform .25s;
}
.pcard:hover .pcard-img img { transform: scale(1.04); }
.pcard-img .pid-tag {
  position: absolute; top: 8px; left: 8px;
  background: var(--primary); color: #fff;
  font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 8px;
}
.pcard-img .added-tag {
  position: absolute; top: 8px; right: 8px;
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 8px;
  display: none;
}
.pcard.in-cart .added-tag { display: block; }
.stock-tag {
  position: absolute; left: 8px; bottom: 8px; background: rgba(17,17,17,.92);
  color: #fff; font-size: 10px; font-weight: 800; padding: 3px 7px; border-radius: 8px;
}
.stock-tag.out, .stock-tag.unavailable { background: var(--red); }

/* placeholder when no image */
.img-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  color: var(--muted);
}
.img-placeholder .ph-icon { font-size: 42px; }
.img-placeholder .ph-text { font-size: 11px; font-weight: 600; opacity: .7; }

/* card body */
.pcard-body { padding: 14px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.pcard-name { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.35;
  text-decoration: none; display: block; }
.pcard-name:hover { color: var(--primary); }
.pcard-desc { font-size: 11.5px; color: var(--muted); flex: 1; line-height: 1.4; }

/* price badges */
.price-badges { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 4px; }
.pbadge {
  border-radius: 6px; padding: 3px 8px; font-size: 11px; font-weight: 700; line-height: 1.3;
}
.pbadge-50  { background: var(--tint); color: var(--primary); }
.pbadge-100 { background: var(--cream-2); color: var(--navy); }
.pbadge-500 { background: var(--tint); color: var(--primary-dark); font-style: italic; }

/* add button */
.add-btn {
  margin-top: 10px; width: 100%; padding: 9px;
  background: var(--primary); color: #fff; border: none;
  border-radius: 9px; font-size: 13px; font-weight: 700; cursor: pointer;
  transition: background .18s;
}
.add-btn:hover { background: var(--primary-dark); }
.pcard.in-cart .add-btn { background: var(--navy); color: #fff; }
.add-btn:disabled { background: #c9c9c9; color: #fff; cursor: not-allowed; }
/* Guest "login to see price" button (rendered as a link) */
.add-btn-login { display: block; text-align: center; text-decoration: none;
  background: var(--navy); color: #fff; }
.add-btn-login:hover { background: var(--primary); }

/* ── Floating cart bar ──────────────────────────────────────────────────── */
.cart-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--primary); color: #fff;
  padding: 14px 24px; z-index: 190;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.25);
  transform: translateY(100%); transition: transform .3s ease;
}
.cart-bar.visible { transform: translateY(0); }
.cart-bar-info { display: flex; flex-direction: column; gap: 2px; }
.cart-bar-info .items { font-size: 12px; color: rgba(255,255,255,.7); }
.cart-bar-info .total { font-size: 20px; font-weight: 800; }
.cart-bar-info .total small { font-size: 12px; font-weight: 400; color: rgba(255,255,255,.6); }
.cart-items-preview {
  flex: 1; display: flex; gap: 6px; overflow-x: auto; padding: 2px 0;
}
.cart-chip {
  background: rgba(255,255,255,.15); border-radius: 20px;
  padding: 4px 10px; font-size: 11px; white-space: nowrap;
  display: flex; align-items: center; gap: 6px;
}
.cart-chip .rm { cursor: pointer; opacity: .7; font-size: 13px; }
.cart-chip .rm:hover { opacity: 1; }

.get-quote-btn {
  padding: 13px 32px; background: var(--accent); color: #fff;
  border: none; border-radius: 10px; font-size: 15px; font-weight: 800;
  cursor: pointer; white-space: nowrap; transition: transform .15s;
}
.get-quote-btn:hover { transform: scale(1.03); }

/* ── Modals ─────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.6);
  z-index: 2000; display: none; align-items: center; justify-content: center;
  padding: 16px; backdrop-filter: blur(3px);
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--card); border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  width: 100%; max-width: 460px; overflow: hidden;
  animation: slideUp .22s ease;
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.modal-head {
  background: var(--primary); color: #fff;
  padding: 18px 22px; display: flex; align-items: flex-start; justify-content: space-between;
}
.modal-head h2 { font-size: 16px; font-weight: 800; line-height: 1.3; }
.modal-head .sub { font-size: 12px; color: rgba(255,255,255,.65); margin-top: 2px; }
.modal-close {
  background: rgba(255,255,255,.15); border: none; color: #fff;
  width: 28px; height: 28px; border-radius: 50%; font-size: 16px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-left: 10px;
}
.modal-close:hover { background: rgba(255,255,255,.3); }

.modal-body { padding: 22px; }

/* qty modal */
.qty-tiers { display: flex; gap: 10px; flex-direction: column; margin-bottom: 16px; }
.qty-tier-btn {
  width: 100%; padding: 13px 16px; border: 2px solid var(--border);
  border-radius: 12px; background: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  transition: all .15s; text-align: left;
}
.qty-tier-btn:hover { border-color: var(--primary); background: var(--tint); }
.qty-tier-btn.selected { border-color: var(--accent); background: var(--cream-2); }
/* Display-only price tiers (not clickable) */
.qty-tier-btn.info { cursor: default; }
.qty-tier-btn.info:hover { border-color: var(--border); background: #fff; }
.qty-tier-btn .qt-label { font-size: 14px; font-weight: 700; color: var(--text); }
.qty-tier-btn .qt-disc  { font-size: 11px; color: var(--muted); margin-top: 2px; }
.qty-tier-btn .qt-price { font-size: 16px; font-weight: 800; color: var(--primary); }
.qty-tier-btn.por .qt-price { color: var(--red); font-size: 13px; font-style: italic; }

.custom-qty-row { margin: 12px 0; }
.custom-qty-row label { display: block; font-size: 12px; font-weight: 700; color: var(--muted);
                         text-transform: uppercase; letter-spacing: .4px; margin-bottom: 6px; }
.custom-qty-row input {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: 9px; font-size: 14px; font-weight: 600;
}
.custom-qty-row input:focus { outline: none; border-color: var(--primary); }
.any-qty-badge {
  display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 20px;
  background: var(--accent); color: #fff; font-size: 9.5px; font-weight: 800;
  letter-spacing: .3px; vertical-align: middle; text-transform: uppercase;
}
.any-qty-hint { display: block; margin-top: 5px; font-size: 11px; color: var(--accent);
  font-weight: 700; }

.por-note {
  background: var(--tint); border: 1px solid var(--primary); border-radius: 10px;
  padding: 12px 14px; font-size: 12.5px; color: var(--primary-dark); margin: 12px 0;
  display: none;
}
.por-note.show { display: block; }

.modal-action-btn {
  width: 100%; padding: 13px; border: none; border-radius: 10px;
  font-size: 15px; font-weight: 800; cursor: pointer; transition: opacity .15s;
}
.modal-action-btn:hover { opacity: .88; }
.modal-action-btn.primary { background: var(--primary); color: #fff; }
.modal-action-btn.accent  { background: var(--accent);  color: #fff; }

/* ── Customer details modal ─────────────────────────────────────────────── */
.details-modal { max-width: 520px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media(max-width:480px){ .form-grid-2 { grid-template-columns: 1fr; } }
.fgroup { display: flex; flex-direction: column; gap: 5px; }
.fgroup label { font-size: 11px; font-weight: 700; color: var(--muted);
                text-transform: uppercase; letter-spacing: .4px; }
.fgroup input, .fgroup textarea {
  padding: 10px 12px; border: 1.5px solid var(--border);
  border-radius: 9px; font-size: 14px; color: var(--text);
  background: #fff; transition: border-color .15s; outline: none;
}
.fgroup input:focus, .fgroup textarea:focus { border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(36,59,83,.12); }
.fgroup .hint { font-size: 11px; color: var(--muted); }
.fgroup.full   { grid-column: 1/-1; }

/* order summary inside details modal */
.order-summary {
  background: #f5f6fa; border-radius: 10px; padding: 14px;
  margin-bottom: 16px; max-height: 160px; overflow-y: auto;
}
.order-summary-title { font-size: 12px; font-weight: 700; color: var(--muted);
                       text-transform: uppercase; letter-spacing:.4px; margin-bottom: 8px; }
.order-row { display: flex; justify-content: space-between; align-items: flex-start;
             gap: 8px; padding: 4px 0; border-bottom: 1px solid var(--border); }
.order-row:last-child { border: 0; }
.order-row .pr-name { font-size: 12px; font-weight: 600; color: var(--text); flex:1; }
.order-row .pr-qty  { font-size: 11px; color: var(--muted); white-space: nowrap; }
.order-row .pr-amt  { font-size: 12px; font-weight: 800; color: var(--primary); white-space: nowrap; }
.order-total-row    { display: flex; justify-content: space-between; margin-top: 8px;
                      padding-top: 8px; border-top: 2px solid var(--border); }
.order-total-row .lbl { font-size: 13px; font-weight: 700; color: var(--text); }
.order-total-row .amt { font-size: 18px; font-weight: 900; color: var(--primary); }

/* ── Quote result page ───────────────────────────────────────────────────── */
.result-page { max-width: 1180px; margin: 0 auto; padding: 28px 16px 48px; }
.result-shell { display: flex; flex-direction: column; gap: 18px; }
.result-hero-card, .result-card, .result-panel {
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.result-hero-card {
  padding: 24px; background: #fff;
}
.result-kicker {
  color: var(--accent); font-size: 12px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .6px; margin-bottom: 5px;
}
.result-hero-card h1 {
  color: var(--primary); font-size: 30px; line-height: 1.15;
  font-weight: 900; margin-bottom: 8px;
}
.result-hero-card p { color: var(--muted); max-width: 720px; font-size: 14px; }
.quote-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px; margin-top: 18px;
}
.quote-stat {
  background: rgba(255,255,255,.78); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px;
}
.quote-stat span {
  display: block; color: var(--muted); font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .4px; margin-bottom: 3px;
}
.quote-stat strong { color: var(--text); font-size: 18px; font-weight: 900; }
.result-grid { display: grid; grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr); gap: 18px; }
.result-card { padding: 18px; min-width: 0; }
.result-card-title {
  color: var(--primary); font-size: 15px; font-weight: 900;
  margin-bottom: 12px;
}
.summary-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border); }
.summary-line {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.summary-line span { color: var(--muted); font-weight: 700; }
.summary-line strong { color: var(--text); text-align: right; }
.summary-line.grand { align-items: center; border-bottom: 0; padding-bottom: 2px; }
.summary-line.grand span, .summary-line.grand strong { color: var(--primary); font-size: 18px; font-weight: 900; }
.selected-card { overflow: hidden; }
.selected-products { display: flex; flex-direction: column; gap: 9px; max-height: 430px; overflow-y: auto; padding-right: 4px; }
.selected-product {
  display: grid; grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center; gap: 12px; padding: 10px;
  border: 1px solid var(--border); border-radius: 10px; background: #fbfcff;
}
.selected-img {
  width: 58px; height: 58px; border: 1px solid var(--border);
  border-radius: 8px; background: #fff; display: flex;
  align-items: center; justify-content: center; overflow: hidden;
}
.selected-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.selected-code { color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .4px; }
.selected-name { color: var(--text); font-size: 13px; font-weight: 800; line-height: 1.3; }
.selected-meta { color: var(--muted); font-size: 11px; margin-top: 3px; }
.selected-total { color: var(--primary); font-size: 13px; font-weight: 900; white-space: nowrap; }
.result-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.quote-bottom-actions { justify-content: center; margin: 26px 0 4px; }
.result-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 11px 18px; border-radius: 10px;
  font-size: 13px; font-weight: 900; text-decoration: none;
  transition: transform .15s, opacity .15s;
}
.result-btn:hover { transform: translateY(-1px); opacity: .9; }
.result-btn-primary { background: var(--primary); color: #fff; }
.result-btn-accent { background: var(--accent); color: #fff; }
.result-btn-whatsapp { background: var(--navy); color: #fff; }
.result-btn-pi { background: var(--navy); color: #fff; border: 1.5px solid var(--primary); }
.pi-box {
  margin-top: 18px; padding: 16px 18px; border: 1.5px solid var(--primary);
  border-radius: 12px; background: var(--tint);
}
.pi-box-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.pi-box-head strong { color: var(--navy); font-size: 14px; font-weight: 900; }
.pi-box-head span { color: var(--primary-dark); font-size: 12px; }
.pi-fields { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.pi-fields label { display: flex; flex-direction: column; gap: 4px; flex: 1 1 180px;
  font-size: 11px; font-weight: 800; color: var(--muted, #6b7a99);
  text-transform: uppercase; letter-spacing: .3px; }
.pi-fields input { padding: 10px 12px; border: 1.5px solid var(--border, #dde3ee);
  border-radius: 9px; font-size: 14px; font-weight: 600; }
.pi-fields input:focus { outline: none; border-color: var(--navy); }
.pi-fields .result-btn-pi { flex: 0 0 auto; }
.pi-lines { margin: 14px 0; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: #fff; }
.pi-line { display: grid; grid-template-columns: 1fr 70px 150px 110px; gap: 8px;
  align-items: center; padding: 9px 12px; border-bottom: 1px solid #eeeeee; font-size: 13px; }
.pi-line:last-child { border-bottom: 0; }
.pi-line-head { background: var(--navy); color: #fff; font-size: 10.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .3px; }
.pi-line-name strong { color: var(--navy); }
.pi-line-qty, .pi-line-total { text-align: right; font-weight: 700; }
.pi-line-head span:nth-child(2), .pi-line-head span:nth-child(4),
.pi-line-foot span:nth-child(4) { text-align: right; }
.pi-price-input { width: 100%; padding: 7px 9px; border: 1.5px solid var(--primary);
  border-radius: 7px; font-size: 13px; font-weight: 700; text-align: right; }
.pi-price-input:focus { outline: none; border-color: var(--navy); }
.pi-price-input:disabled, .pi-price-input[readonly] { color: var(--navy); background: transparent; border-color: transparent;
  opacity: 1; -webkit-text-fill-color: var(--navy); }
.pi-por { color: var(--primary-dark); font-size: 12px; }
.pi-line-foot { background: var(--tint); font-weight: 700; }
.pi-line-grand { font-size: 15px; color: var(--navy); font-weight: 900; }

/* Reseller per-line margin column (PI only) */
.pi-has-margin .pi-line { grid-template-columns: 1fr 60px 118px 130px 100px; }
.pi-margin-cell { display: flex; gap: 4px; }
.pi-margin-input { width: 60px; padding: 6px 6px; border: 1.5px solid #2e8b57; border-radius: 6px;
  font-size: 12px; font-weight: 700; text-align: right; }
.pi-margin-type { padding: 5px 4px; border: 1.5px solid #2e8b57; border-radius: 6px; font-size: 12px; font-weight: 700; }
.pi-margin-input:focus, .pi-margin-type:focus { outline: none; border-color: var(--navy); }
/* footer rows only have the last 3 cells → push them right so totals stay aligned */
.pi-has-margin .pi-line-foot span:first-child { grid-column: 1 / 4; }

@media (max-width: 560px) {
  .pi-line { grid-template-columns: 1fr 50px 110px 90px; gap: 5px; font-size: 12px; padding: 8px; }
  .pi-has-margin .pi-line { grid-template-columns: 1fr 44px 92px 92px 80px; }
  .pi-margin-input { width: 44px; }
}
.pi-mode-tabs { display: flex; gap: 8px; margin: 12px 0 16px; flex-wrap: wrap; }
.pi-mode-tab { flex: 1 1 180px; display: flex; flex-direction: column; gap: 2px;
  padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 10px; background: #fff;
  cursor: pointer; font-size: 13px; font-weight: 800; color: var(--navy); text-align: left; }
.pi-mode-tab small { font-weight: 600; font-size: 10.5px; color: var(--primary-dark); }
.pi-mode-tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pi-mode-tab.active small { color: #fff; }
.pi-section { margin-bottom: 6px; }
.pi-section-title { font-size: 11px; font-weight: 800; color: var(--navy); text-transform: uppercase;
  letter-spacing: .4px; margin: 12px 0 8px; padding-bottom: 4px; border-bottom: 1px solid var(--border); }
.result-alert {
  border-radius: 10px; padding: 12px 14px; margin-top: 14px;
  font-size: 13px; line-height: 1.45;
}
.result-alert.success { background: var(--cream-2); border:1px solid var(--navy); color:var(--navy); }
.result-alert.warn { background: var(--tint); border:1px solid var(--primary); color:var(--primary-dark); }
.direct-link {
  color: var(--muted); font-size: 11px; margin-top: 4px; word-break: break-all;
}
.result-panel {
  max-width: 520px; margin: 44px auto; padding: 34px; text-align: center;
}
.result-icon {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--tint); color: var(--red); font-size: 28px; font-weight: 900;
}
.result-panel h2 { color: var(--primary); font-size: 24px; margin-bottom: 8px; }
.result-panel p { color: var(--muted); }

/* ── Admin panel ─────────────────────────────────────────────────────────── */
.admin-page { max-width: 1180px; margin: 0 auto; padding: 26px 16px 60px; }
.admin-login, .admin-card {
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.admin-login { max-width: 420px; margin: 54px auto; padding: 28px; }
.admin-login h1, .admin-top h1 { color: var(--primary); font-size: 26px; margin-bottom: 6px; }
.admin-login label {
  display: block; color: var(--muted); font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .4px; margin: 16px 0 6px;
}
.admin-login input {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border);
  border-radius: 9px; font-size: 15px;
}
.admin-login button, .stock-form button {
  border: 0; border-radius: 9px; background: var(--primary); color: #fff;
  font-size: 13px; font-weight: 900; padding: 10px 16px; cursor: pointer;
}
.admin-login button { width: 100%; margin-top: 16px; padding: 13px; }
.admin-top {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 18px;
}
.admin-top p { color: var(--muted); }
.admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
/* Keep the primary tab bar visible while scrolling the long admin pages. */
.admin-top .admin-tabs {
  position: sticky; top: 0; z-index: 30;
  background: rgba(250,250,250,.92); backdrop-filter: blur(6px);
  padding: 10px 0; margin: -4px 0 -4px; max-width: 100%;
}
.admin-tabs a, .admin-link {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--primary); background: var(--tint); border: 1px solid var(--border);
  border-radius: 9px; padding: 8px 13px; text-decoration: none; font-weight: 800;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .12s ease;
}
.admin-tabs a:hover, .admin-link:hover { transform: translateY(-1px); border-color: var(--primary); }
.danger-link { color: var(--red); background: #fff; border-color: var(--red); }
.admin-actions-cell { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 320px; }
.admin-actions-cell form { display: inline-flex; align-items: center; gap: 6px; }
.admin-actions-cell input[type="text"] {
  width: 132px; border: 1.5px solid var(--border); border-radius: 8px; padding: 8px 9px;
}
.admin-tabs a.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.admin-alert {
  border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; font-weight: 700;
}
.admin-alert.success { background: var(--cream-2); border:1px solid var(--navy); color:var(--navy); }
.admin-alert.error { background: var(--tint); border:1px solid var(--red); color:var(--primary-dark); }
/* Shared admin form layout (Add/Update Reseller, Direct Client, etc.). */
.admin-form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px 20px; max-width: 760px; }
.admin-form > label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 11px; font-weight: 800; color: var(--muted);
  text-transform: uppercase; letter-spacing: .4px;
}
.admin-form input, .admin-form select, .admin-form textarea {
  width: 100%; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 9px;
  font-size: 14px; font-weight: 600; font-family: inherit; color: var(--text);
  background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.admin-form input::placeholder, .admin-form textarea::placeholder { font-weight: 500; color: #9aa0a6; }
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(36,59,83,.12);
}
.admin-form textarea { resize: vertical; min-height: 64px; }
.admin-form .af-full { grid-column: 1 / -1; }
.admin-form .af-check {
  flex-direction: row; align-items: center; gap: 8px; align-self: end;
  text-transform: none; letter-spacing: 0; font-size: 13.5px; font-weight: 700; color: var(--text);
}
.admin-form .af-check input { width: auto; accent-color: var(--primary); }
.admin-form button[type="submit"] {
  background: var(--primary); color: #fff; border: 0; border-radius: 10px;
  font-weight: 900; font-size: 14px; padding: 11px 26px; cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
}
.admin-form button[type="submit"]:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(36,59,83,.3); }
.admin-form button[type="submit"]:active { transform: translateY(0); }
@media (max-width: 600px) { .admin-form { grid-template-columns: 1fr; } }

.admin-card { padding: 20px; margin-bottom: 18px; transition: box-shadow .18s ease, transform .18s ease; animation: adminCardIn .35s ease both; }
.admin-card:hover { box-shadow: 0 6px 22px rgba(0,0,0,.08); }
@keyframes adminCardIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
/* Stagger the cards so the page assembles itself on load. */
.admin-card:nth-of-type(1) { animation-delay: .02s; }
.admin-card:nth-of-type(2) { animation-delay: .08s; }
.admin-card:nth-of-type(3) { animation-delay: .14s; }
.admin-card:nth-of-type(4) { animation-delay: .20s; }
.admin-card:nth-of-type(n+5) { animation-delay: .26s; }
@media (prefers-reduced-motion: reduce) { .admin-card { animation: none; } }

/* Save-confirmation toast (replaces the static success banner). */
.admin-toast {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; align-items: center; gap: 10px;
  background: var(--navy); color: #fff; font-weight: 700; font-size: 14px;
  padding: 13px 18px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.28);
  transform: translateY(24px) scale(.96); opacity: 0; pointer-events: none;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .3s ease; cursor: pointer;
}
.admin-toast.show { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.admin-toast-ic {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: #2ecc71; color: #fff; font-size: 13px; font-weight: 900;
  animation: toastPop .4s ease both .1s;
}
@keyframes toastPop { 0% { transform: scale(0); } 70% { transform: scale(1.25); } 100% { transform: scale(1); } }
.admin-card-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 14px;
}
.admin-card-head h2 { color: var(--primary); }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 760px; }
.admin-table th {
  background: var(--primary); color: #fff; padding: 10px; text-align: left;
  font-size: 12px; text-transform: uppercase; letter-spacing: .3px;
}
.admin-table td { border-bottom: 1px solid var(--border); padding: 10px; vertical-align: middle; }
.admin-table small { color: var(--muted); }
.admin-card input, .admin-card select, .admin-card textarea {
  border: 1.5px solid var(--border); border-radius: 8px; padding: 9px 10px; font: inherit;
}
.admin-product { display: flex; align-items: center; gap: 10px; min-width: 260px; }
.admin-product img {
  width: 46px; height: 46px; max-width: 46px; max-height: 46px; object-fit: contain; background: #fff;
  border: 1px solid var(--border); border-radius: 7px; padding: 3px; flex-shrink: 0;
}
.stock-form { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.stock-form input[type="number"] {
  width: 92px; padding: 9px 10px; border: 1.5px solid var(--border);
  border-radius: 8px; font-weight: 800;
}
.stock-form label { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 800; }
.admin-summary-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
  margin-bottom: 14px;
}
.admin-summary-grid div {
  background: #f6f8fc; border: 1px solid var(--border); border-radius: 10px; padding: 11px;
}
.admin-summary-grid span {
  display: block; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase;
}
.admin-summary-grid strong { color: var(--text); }
.admin-dashboard .admin-card-head p { color: var(--muted); margin-top: 3px; }
.dashboard-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dashboard-stats a {
  background: #f6f8fc; border: 1px solid var(--border); border-radius: 10px; padding: 13px;
  text-decoration: none; transition: transform .15s, box-shadow .15s;
}
.dashboard-stats a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.dashboard-stats span, .dashboard-stats small { display: block; color: var(--muted); }
.dashboard-stats strong { display: block; font-size: 24px; margin: 4px 0; }
.dashboard-stats small { font-size: 12px; }
.dashboard-charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin-bottom: 14px; }
.dashboard-chart-card .admin-card-head { margin-bottom: 4px; }
.dashboard-chart-card .admin-card-head p { color: var(--muted); font-size: 12px; margin-top: 2px; }
.dashboard-bar-chart { height: 180px; display: flex; align-items: end; gap: 10px; padding: 18px 8px 0; border-bottom: 1px solid var(--border); }
.dashboard-bar-wrap { height: 100%; flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: end; align-items: center; gap: 5px; }
.dashboard-bar { width: min(34px, 100%); min-height: 4px; background: var(--primary); border-radius: 7px 7px 2px 2px; }
.dashboard-bar-chart.visitors .dashboard-bar { background: var(--navy); }
.dashboard-bar-value { color: var(--text); font-size: 12px; font-weight: 800; }
.dashboard-bar-label { color: var(--muted); font-size: 11px; font-weight: 700; }
.dashboard-bar { transition: height .6s cubic-bezier(.2,.8,.2,1); }
/* Pie chart (conic-gradient) + legend. */
.dashboard-pie-wrap { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 8px; }
.dashboard-pie {
  width: 150px; height: 150px; border-radius: 50%; flex-shrink: 0;
  box-shadow: inset 0 0 0 6px #fff, 0 4px 16px rgba(0,0,0,.12);
  animation: pieSpinIn .7s ease both;
}
@keyframes pieSpinIn { from { transform: rotate(-120deg) scale(.6); opacity: 0; } to { transform: rotate(0) scale(1); opacity: 1; } }
.dashboard-pie-legend { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 160px; display: flex; flex-direction: column; gap: 7px; }
.dashboard-pie-legend li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.dashboard-pie-legend .pie-dot { width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; }
.dashboard-pie-legend .pie-lbl { font-weight: 700; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-pie-legend .pie-val { margin-left: auto; color: var(--muted); font-weight: 700; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .dashboard-pie { animation: none; } }
.admin-notes {
  background: var(--tint); border: 1px solid var(--primary); color: var(--primary-dark);
  border-radius: 10px; padding: 12px; margin-bottom: 14px;
}

/* ── Profile dashboard ───────────────────────────────────────────────────── */
.profile-page { max-width: 920px; margin: 0 auto; padding: 28px 16px 70px; }
.profile-card {
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px;
}
.profile-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.profile-head h1 { color: var(--primary); font-size: 26px; margin-bottom: 4px; }
.profile-head p { color: var(--muted); }
.profile-logo {
  width: 86px; height: 86px; object-fit: contain; border: 1px solid var(--border);
  border-radius: 8px; background: #fff; padding: 6px; flex-shrink: 0;
}
.profile-form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.profile-form label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .3px; }
.profile-form input, .profile-form select, .profile-form textarea {
  border: 1.5px solid var(--border); border-radius: 9px; padding: 11px 12px;
  font: inherit; color: var(--text); background: #fff; text-transform: none; letter-spacing: 0;
}
.profile-form input[readonly] { background: #f5f6f8; color: var(--muted); cursor: not-allowed; }
.profile-form .full, .profile-note, .profile-actions { grid-column: 1 / -1; }
.profile-note { color: red; font-size: 13px; font-weight: 700; }
.profile-actions { text-align: right; }
.profile-actions button {
  background: var(--primary); color: #fff; border: 0; border-radius: 9px;
  font-weight: 900; padding: 11px 22px; cursor: pointer;
}
.profile-quotes { margin-top: 18px; }
.profile-quotes .profile-head { margin-bottom: 12px; }
.profile-empty {
  border: 1.5px dashed var(--border); border-radius: 10px; padding: 18px;
  color: var(--muted); font-weight: 700; text-align: center; background: #fafafa;
}
.profile-quote-table-wrap { overflow-x: auto; }
.profile-quote-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.profile-quote-table th {
  background: var(--tint); color: var(--primary); font-size: 11px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .3px; text-align: left; padding: 10px 12px;
  border-bottom: 1.5px solid var(--border);
}
.profile-quote-table td {
  padding: 12px; border-bottom: 1px solid var(--border); color: var(--text);
  font-size: 13px; vertical-align: middle;
}
.profile-quote-table td span { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.profile-quote-table tbody tr:hover td { background: #fafafa; }
.quote-status {
  display: inline-flex !important; align-items: center; justify-content: center;
  min-width: 58px; margin: 0 !important; padding: 4px 8px; border-radius: 999px;
  font-size: 11px !important; font-weight: 900; background: #f1f1f1; color: var(--muted) !important;
}
.quote-status.sent { background: #e7f6ec; color: #128c3e !important; }
.quote-download {
  display: inline-flex; align-items: center; justify-content: center; min-height: 32px;
  padding: 7px 12px; border-radius: 8px; background: var(--primary); color: #fff;
  text-decoration: none; font-size: 12px; font-weight: 900;
}
.quote-download:hover { background: var(--primary-dark); }
.quote-missing { color: var(--muted); font-size: 12px; font-weight: 700; }

/* ── Misc ─────────────────────────────────────────────────────────────────── */
details summary { cursor:pointer; font-weight:700; color:var(--primary); padding:8px 0; }
.items-table { width:100%; font-size:12px; border-collapse:collapse; margin-top:10px; }
.items-table th { background:var(--primary); color:#fff; padding:7px 8px; text-align:left; }
.items-table td { padding:6px 8px; border-bottom:1px solid var(--border); }
.items-table tr:nth-child(even) td { background:#f8f9fc; }

/* ── Mobile navigation ──────────────────────────────────────────────────── */
@media (max-width: 800px) {
  .header { height: auto; min-height: 58px; padding: 10px 14px; gap: 10px; flex-wrap: wrap; }
  .logo-sub-wrap, .header-contact, .hu-name { display: none; }
  .header-right, .header-user { gap: 12px; min-width: 0; }
  .hu-logout { padding: 5px 8px; font-size: 11px; }
  .hu-action { font-size: 10px; }
  .hu-action span { max-width: 74px; overflow: hidden; text-overflow: ellipsis; }
  /* Search is a sibling of the header now, so it just spans the viewport. */
  .header-search { width: calc(100% - 24px); margin: 10px auto; }
  .header-search input { padding: 9px 12px; }
  .header-search button { width: 48px; }
  .header-left, .header-right { gap: 12px; }
  .hu-search-btn span { display: none; }
  .brand-logo-img { height: 54px; max-width: 130px; }
  .topbar { font-size: 11px; }
  .topbar-inner { padding: 7px 14px; gap: 8px 10px; justify-content: center; }
  /* Header is no longer a fixed height here, so the nav can't use a static offset. */
  .header { position: static; }
  .meganav { position: static; min-height: 46px; }
  .nav-toggle {
    width: 100%; min-height: 46px; padding: 0 16px; display: flex; align-items: center; gap: 10px;
    border: 0; background: transparent; color: #fff; font: inherit; font-weight: 800; cursor: pointer;
  }
  .nav-toggle-icon, .nav-toggle-icon::before, .nav-toggle-icon::after {
    display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; content: ''; transition: transform .18s;
  }
  .nav-toggle-icon { position: relative; }
  .nav-toggle-icon::before { position: absolute; top: -6px; }
  .nav-toggle-icon::after { position: absolute; top: 6px; }
  .meganav.is-open .nav-toggle-icon { background: transparent; }
  .meganav.is-open .nav-toggle-icon::before { transform: translateY(6px) rotate(45deg); }
  .meganav.is-open .nav-toggle-icon::after { transform: translateY(-6px) rotate(-45deg); }
  .meganav-inner {
    display: none; position: absolute; top: 100%; left: 0; width: 100%; max-height: calc(100vh - 104px);
    overflow-y: auto; padding: 4px 0 12px; flex-direction: column; align-items: stretch; background: var(--primary-dark);
    box-shadow: 0 10px 20px rgba(0,0,0,.24);
  }
  .meganav.is-open .meganav-inner { display: flex; }
  .mn-item, .mn-search { width: 100%; margin: 0; }
  .mn-item { display: flex; flex-direction: column; }
  .mn-link { width: 100%; justify-content: space-between; padding: 12px 18px; font-size: 14px; }
  .mn-yos-link, .mn-brand-link { justify-content: flex-start; }
  .mn-drop, .mn-flyout {
    display: none; position: static; min-width: 0; width: 100%; opacity: 1; visibility: visible; transform: none;
    border-radius: 0; box-shadow: none; background: rgba(0,0,0,.18); padding: 0;
  }
  .mn-item.open > .mn-drop { display: block; }
  .mn-drop-link { padding: 10px 32px; font-size: 13px; }
  .mn-sub:hover > .mn-flyout, .mn-sub.open > .mn-flyout { display: block; }
  .mn-search { padding: 10px 16px; }
  .mn-search input { width: 100%; }
}

@media(max-width:900px){
  .hero-carousel { height: auto; }
  .hero { min-height: 0; background-position: center; }
  .hero-content { width: min(470px, 94vw); padding-left: 28px; }
  .hero h1 { font-size: 36px; }
  .result-grid { grid-template-columns: 1fr; }
  .admin-top { align-items: flex-start; flex-direction: column; }
  .admin-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-charts { grid-template-columns: 1fr; }
  .profile-form { grid-template-columns: 1fr; }
}

@media(max-width:700px){
  .header { min-height: 60px; padding: 10px 12px; gap: 10px; }
  .brand-logo-img { height: 56px; max-width: 230px; }
  .logo-mark { font-size: 23px; }
  .logo-text { font-size: 14px; }
  .header-contact { font-size: 11px; line-height: 1.35; }
  .logo-sub-wrap, .header-contact, .hu-name { display: none; }
  .header-right, .header-user { gap: 6px; min-width: 0; }
  .hu-logout { padding: 5px 8px; font-size: 11px; }
  .page { padding: 20px 12px 30px; }
  .cat-tabs {
    flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px;
    margin: 0 -12px 22px; padding-left: 12px; padding-right: 12px;
    scrollbar-width: none;
  }
  .cat-tabs::-webkit-scrollbar { display: none; }
  .cat-tab { flex: 0 0 auto; padding: 8px 15px; }
  .sec-head { font-size: 16px; margin-bottom: 14px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pcard-body { padding: 11px; }
  .pcard-name { font-size: 12.5px; }
  .pcard-desc { font-size: 11px; }
  .price-badges { gap: 4px; }
  .pbadge { font-size: 10.5px; padding: 3px 6px; }
  .add-btn { font-size: 12px; padding: 9px 7px; }
}

@media(max-width:600px){
  .hero-carousel { height: auto; }
  .hero { align-items: flex-end; }
  .hero-content { width: 100%; margin-right: 0; padding: 120px 18px 28px; }
  .hero h1 { font-size: 31px; }
  .result-page { padding: 18px 12px 34px; }
  .result-hero-card { padding: 18px; }
  .result-hero-card h1 { font-size: 24px; }
  .quote-stats, .result-grid { grid-template-columns: 1fr; }
  .result-actions { flex-direction: column; }
  .result-btn { width: 100%; }
  .selected-product { grid-template-columns: 52px minmax(0, 1fr); }
  .selected-img { width: 52px; height: 52px; }
  .selected-total { grid-column: 2; justify-self: start; }
  .cart-bar {
    padding: 12px; flex-wrap: wrap; align-items: stretch; gap: 10px;
  }
  .cart-bar-info { min-width: calc(50% - 5px); }
  .cart-items-preview { display: none; }
  .get-quote-btn { flex: 1 1 100%; width: 100%; padding: 12px; font-size: 14px; }
  .modal-overlay { padding: 10px; align-items: flex-end; }
  .modal {
    max-width: none; max-height: calc(100vh - 20px);
    border-radius: 16px 16px 0 0; overflow-y: auto;
  }
  .modal-head { padding: 15px 16px; }
  .modal-body { padding: 16px; }
  .qty-tier-btn { padding: 11px 12px; gap: 12px; }
  .qty-tier-btn .qt-price { font-size: 14px; text-align: right; }
  .order-summary { max-height: 135px; }
}

@media(max-width:420px){
  .header { align-items: center; }
  .brand-logo-img { height: 40px; max-width: 160px; }
  .header-contact { display: none; }
  .hu-logout { padding: 4px 6px; font-size: 10px; }
  .hero-carousel { height: auto; }
  .hero { background-position: 58% center; }
  .hero-content { padding: 100px 14px 24px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 13.5px; }
  .hero-badge { font-size: 11px; padding: 5px 10px; }
  .product-grid { grid-template-columns: 1fr; }
  .pcard { max-width: 340px; width: 100%; margin: 0 auto; }
  .cart-bar-info .total { font-size: 18px; }
  .form-grid-2 { gap: 10px; }
  .summary-line { flex-direction: column; gap: 2px; }
  .summary-line strong { text-align: left; }
  .prf-values { grid-template-columns: 1fr 1fr; }
  .selected-product { grid-template-columns: 48px minmax(0, 1fr); gap: 10px; }
  .selected-img { width: 48px; height: 48px; }
  .selected-name { font-size: 12px; }
  .admin-page { padding: 18px 12px 42px; }
  .admin-login { margin: 32px auto; padding: 20px; }
  .admin-card { padding: 12px; }
  .admin-summary-grid { grid-template-columns: 1fr; }
}

/* ── Site Footer ────────────────────────────────────────────────────────── */
.site-footer { background: var(--cream); color: rgba(36,59,83,.78); margin-top: 60px;
  border-top: 1px solid var(--border); }
.footer-inner {
  max-width: 1260px; margin: 0 auto; padding: 44px 20px 30px;
  display: grid; grid-template-columns: 1.4fr auto 1fr; gap: 36px;
}
/* Push the Quick Links column to the right edge of the footer. */
.footer-inner .footer-col:last-child { justify-self: end; text-align: right; }
.footer-col a { color: rgba(0,0,0,.66); text-decoration: none; display: block; padding: 4px 0; font-size: 13.5px; }
.footer-col a:hover { color: var(--primary); }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.footer-brand .logo-mark { font-size: 22px; }
.footer-tag { color: var(--primary); font-weight: 600; font-size: 13px; margin-bottom: 14px; }
.footer-addr { font-size: 12.5px; line-height: 1.7; color: rgba(0,0,0,.55); }
.footer-contacts { margin-top: 14px; }
.footer-contacts a { color: var(--primary); font-weight: 600; }
.footer-title { color: var(--navy); font-weight: 700; font-size: 14px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .5px; }
.footer-col-catalogue { justify-self: end; min-width: 360px; }
.footer-catalogue-links { display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); column-gap: 24px; }

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,.12); padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  max-width: 1260px; margin: 0 auto;
}
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.footer-social .soc {
  width: 38px; height: 38px; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center; color: #fff;
  transition: transform .15s, filter .15s; text-decoration: none;
}
.footer-social .soc svg { width: 19px; height: 19px; }
.footer-social .soc:hover { transform: translateY(-3px); filter: brightness(.9); }
.footer-social .soc-wa { background: #25D366; }
.footer-social .soc-ig { background: linear-gradient(135deg, #833AB4, #FD1D1D 55%, #FCAF45); }
.footer-social .soc-yt { background: #FF0000; }
.footer-social .soc-fb { background: #1877F2; }
.footer-social .soc-mail { background: #1a2b5e; }
.footer-social .soc-pin { background: #E60023; }
.footer-copy { font-size: 12.5px; color: rgba(0,0,0,.5); margin-right: auto; text-align: left; }

.consultation-cta {     position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 0;
    max-width: calc(100vw - 40px);
    padding: 11px;
    border-radius: 999px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.18;
    box-shadow: 0 7px 22px rgba(18, 140, 62, .32);
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: gap .18s ease, padding .18s ease, transform .15s ease, background .15s ease, opacity .15s ease, visibility 0s linear .15s; }
.consultation-cta.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); transition-delay: 0s; }
.consultation-cta:hover,
.consultation-cta:focus-visible { background: #128C3E; gap: 10px; padding-right: 15px; transform: translateY(-2px); }
.consultation-label { max-width: 0; opacity: 0; overflow: hidden; transform: translateX(6px); transition: max-width .22s ease, opacity .16s ease, transform .18s ease; }
.consultation-cta:hover .consultation-label,
.consultation-cta:focus-visible .consultation-label { max-width: 230px; opacity: 1; transform: translateX(0); }
.consultation-cta small { display: block; margin-top: 2px; font-size: 10px; font-weight: 600; opacity: .94; }
.consultation-wa { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #25D366; font-size: 18px; flex: 0 0 34px; }
.consultation-wa svg { width: 21px; height: 21px; display: block; }

@media (max-width: 980px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-col-catalogue { justify-self: stretch; min-width: 0; grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-catalogue-links { grid-template-columns: 1fr; }
  .consultation-cta { right: 12px; bottom: 12px; max-width: calc(100vw - 24px); }
}

/* ── Simple content pages (about / contact) ─────────────────────────────── */
.content-page { max-width: 1100px; margin: 0 auto; padding: 36px 20px 40px; }
.page-hero { background: var(--primary); color:#fff; padding: 46px 20px; text-align: center; }
.page-hero h1 { font-size: 32px; font-weight: 900; margin-bottom: 8px; color: var(--gold); }
.page-hero p { font-size: 15px; color: rgba(255,255,255,.85); max-width: 640px; margin: 0 auto; }
.brand-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.brand-product-card { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1.5px solid var(--border); border-radius: 12px; color: var(--text); text-decoration: none; background: #fff; transition: transform .15s, box-shadow .15s; }
.brand-product-card:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0,0,0,.1); }
.brand-product-image { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; background: #fff; overflow: hidden; }
.brand-product-image img { width: 100%; height: 100%; object-fit: contain; }
.brand-product-image span { font-size: 40px; }
.brand-product-card strong { font-size: 14px; line-height: 1.35; }
.brand-product-card small { color: var(--muted); font-size: 12px; }
/* Full-bleed text banners — rendered in a fixed 15:4 frame. */
.distributor-hero, .contact-hero, .brands-hero, .process-hero { width: 100%; background: #fff; }
.distributor-hero img, .contact-hero img, .brands-hero img, .process-hero img {
  display: block; width: 100%;  
  object-fit: cover; object-position: center; margin: 0 auto;
}

.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 18px; margin: 28px 0; }
.about-card { background:#fff; border:1.5px solid var(--border); border-radius: var(--radius); padding: 22px; }
.about-card .ac-icon { font-size: 30px; margin-bottom: 10px; }
.about-card h3 { color: var(--primary); font-size: 16px; margin-bottom: 6px; }
.about-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.about-stats { display:flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin: 30px 0; }
.about-stat { text-align:center; }
.about-stat .num { font-size: 34px; font-weight: 900; color: var(--accent); }
.about-stat .lbl { font-size: 13px; color: var(--muted); font-weight: 600; }
.prose { font-size: 15px; line-height: 1.8; color: var(--text); }
.prose h2 { color: var(--primary); font-size: 20px; margin: 26px 0 10px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 28px; }
.contact-info-box { background:#fff; border:1.5px solid var(--border); border-radius: var(--radius); padding: 24px; }
.contact-info-box .ci-row { display:flex; gap:12px; align-items:flex-start; padding: 12px 0; border-bottom:1px solid var(--border); }
.contact-info-box .ci-row:last-child { border-bottom:none; }
.contact-info-box .ci-ic { font-size: 20px; }
.contact-info-box .ci-lbl { font-size: 12px; color: var(--muted); font-weight:600; text-transform:uppercase; letter-spacing:.4px; }
.contact-info-box .ci-val { font-size: 14px; font-weight: 600; color: var(--text); }
.contact-info-box .ci-val a { color: var(--primary); text-decoration:none; }

.contact-form-box { background:#fff; border:1.5px solid var(--border); border-radius: var(--radius); padding: 24px; }
.contact-form-box label { display:block; font-size:13px; font-weight:600; color:var(--text); margin: 12px 0 5px; }
.contact-form-box input, .contact-form-box textarea {
  width:100%; border:1.5px solid var(--border); border-radius:8px; padding:10px 12px; font-size:14px; font-family:inherit; outline:none;
}
.contact-form-box input:focus, .contact-form-box textarea:focus { border-color: var(--primary); }
.flash-msg { background:var(--cream-2); border:1.5px solid var(--green); color:var(--navy); border-radius:10px; padding:14px 18px; margin-bottom: 20px; font-weight:600; }

@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* ── Contact page v2 ─────────────────────────────────────────────────────── */
.contact-page-v2 { background: #f8f5ed; color: var(--text); }
.contact-v2-hero { min-height: 390px; display: flex; align-items: center; padding: 68px 24px 78px; }
.contact-v2-hero::before { background: linear-gradient(110deg, rgba(20,42,61,.98), rgba(32,61,83,.88)); }
.contact-v2-hero-inner { width: min(1180px, 100%); margin: 0 auto; }
.contact-v2-kicker, .contact-v2-eyebrow { display: block; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; }
.contact-v2-hero h1 { max-width: 760px; margin: 14px 0 18px; color: #fff; font-family: var(--font-display); font-size: clamp(42px, 5.5vw, 72px); font-weight: 500; line-height: 1.02; letter-spacing: -.8px; }
.contact-v2-hero h1 em { color: #e7c76f; font-weight: 500; }
.contact-v2-hero p { max-width: 650px; color: rgba(255,255,255,.75); font-size: 16px; line-height: 1.7; }
.contact-v2-promises { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 25px; }
.contact-v2-promises span { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.9); font-size: 12px; font-weight: 700; }
.contact-v2-promises span::before { content: '✓'; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(231,199,111,.15); color: #e7c76f; }
.contact-v2-wrap { width: min(1180px, calc(100% - 40px)); margin: -40px auto 0; padding-bottom: 80px; position: relative; z-index: 2; }
.contact-v2-flash { margin: 0 0 18px; border: 1px solid; border-radius: 12px; padding: 15px 18px; font-weight: 700; }
.contact-v2-flash.is-ok { background: #ecf8ef; border-color: #a6d7b0; color: #216a32; }
.contact-v2-flash.is-error { background: #fdecea; border-color: #e7aaa3; color: #a63529; }
.contact-v2-grid { display: grid; grid-template-columns: minmax(300px, .82fr) minmax(0, 1.4fr); border-radius: 22px; overflow: hidden; box-shadow: 0 24px 65px rgba(25,45,62,.16); }
.contact-v2-info { padding: 46px 42px; background: #17344b; color: #fff; }
.contact-v2-info h2, .contact-v2-form h2 { margin: 9px 0 10px; font-family: var(--font-display); font-size: 34px; font-weight: 600; line-height: 1.1; }
.contact-v2-intro { margin-bottom: 28px; color: rgba(255,255,255,.68); font-size: 13.5px; line-height: 1.65; }
.contact-v2-info .ci-row { display: flex; align-items: flex-start; gap: 14px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-v2-info .ci-ic { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 10px; background: rgba(231,199,111,.12); color: #e7c76f; }
.contact-v2-info .ci-ic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-v2-info .ci-lbl { margin-bottom: 4px; color: rgba(255,255,255,.5); font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.contact-v2-info .ci-val { color: #fff; font-size: 14px; font-weight: 700; line-height: 1.6; }
.contact-v2-info .ci-val a { color: #fff; text-decoration: none; transition: color .18s ease; }
.contact-v2-info .ci-val a:hover { color: #e7c76f; }
.contact-v2-hours { display: flex; gap: 11px; margin-top: 27px; padding: 15px; border-radius: 12px; background: rgba(255,255,255,.07); }
.contact-v2-hours > span { width: 8px; height: 8px; margin-top: 4px; border-radius: 50%; background: #65d181; box-shadow: 0 0 0 4px rgba(101,209,129,.12); }
.contact-v2-hours strong, .contact-v2-hours small { display: block; }
.contact-v2-hours strong { font-size: 12px; }.contact-v2-hours small { margin-top: 3px; color: rgba(255,255,255,.6); font-size: 10.5px; }
.contact-v2-form { padding: 46px 50px; background: #fff; }
.contact-v2-form .contact-v2-eyebrow { color: #a77c19; }
.contact-v2-form h2 { color: #17344b; }
.contact-v2-form-head > p { color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.contact-v2-fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px 18px; margin-top: 27px; }
.contact-v2-field.is-wide { grid-column: 1 / -1; }
.contact-v2-field label { display: block; margin-bottom: 7px; color: #243b53; font-size: 12px; font-weight: 800; }
.contact-v2-field label span { color: #b98922; }
.contact-v2-field input, .contact-v2-field textarea { width: 100%; border: 1px solid #dce2e7; border-radius: 10px; background: #fafbfc; padding: 12px 13px; color: #243b53; font: inherit; font-size: 13px; outline: none; transition: border-color .18s, box-shadow .18s, background .18s; }
.contact-v2-field textarea { min-height: 126px; resize: vertical; line-height: 1.55; }
.contact-v2-field input:focus, .contact-v2-field textarea:focus { border-color: #c9a548; background: #fff; box-shadow: 0 0 0 3px rgba(201,165,72,.13); }
.contact-v2-field input::placeholder, .contact-v2-field textarea::placeholder { color: #9aa8b4; }
.contact-v2-submit { width: 100%; margin-top: 20px; border: 0; border-radius: 10px; padding: 14px 18px; display: flex; align-items: center; justify-content: center; gap: 12px; background: #c9a548; color: #142a3d; font-size: 13px; font-weight: 900; letter-spacing: .3px; cursor: pointer; transition: background .18s, transform .18s, box-shadow .18s; }
.contact-v2-submit:hover { background: #d8b75c; transform: translateY(-2px); box-shadow: 0 9px 22px rgba(166,125,31,.22); }
.contact-v2-submit span:last-child { font-size: 18px; transition: transform .18s; }.contact-v2-submit:hover span:last-child { transform: translateX(4px); }
.contact-v2-privacy { margin-top: 11px; color: #8996a0; font-size: 10.5px; text-align: center; }
@media (max-width: 820px) {
  .contact-v2-hero { min-height: 350px; padding: 52px 20px 68px; }
  .contact-v2-grid { grid-template-columns: 1fr; }
  .contact-v2-info, .contact-v2-form { padding: 38px 30px; }
}
@media (max-width: 560px) {
  .contact-v2-hero { min-height: 360px; padding-inline: 17px; }
  .contact-v2-hero h1 { font-size: 41px; }
  .contact-v2-hero p { font-size: 14px; }
  .contact-v2-wrap { width: min(100% - 24px, 1180px); margin-top: -28px; padding-bottom: 55px; }
  .contact-v2-info, .contact-v2-form { padding: 32px 22px; }
  .contact-v2-fields { grid-template-columns: 1fr; gap: 16px; }
  .contact-v2-field.is-wide { grid-column: auto; }
  .contact-v2-info h2, .contact-v2-form h2 { font-size: 30px; }
}

/* ── Admin: Banners ─────────────────────────────────────────────────────── */
.banner-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 14px; margin-bottom: 14px; }
.banner-form label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; color: var(--text); }
.banner-form input { border: 1.5px solid var(--border); border-radius: 8px; padding: 9px 11px; font-size: 13px; font-family: inherit; }
.banner-form > button { background: var(--primary); color: #fff; border: none; border-radius: 8px; padding: 11px 22px; font-weight: 700; cursor: pointer; }
.brand-cms-tabs { margin-bottom: 16px; }
.brand-product-form label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; color: var(--text); }
.brand-product-form label[hidden] { display: none !important; }
.brand-product-form input, .brand-product-form select, .brand-product-form textarea { border: 1.5px solid var(--border); border-radius: 8px; padding: 9px 11px; font: inherit; }
.brand-product-form .brand-product-active { flex-direction: row; align-items: center; padding-top: 31px; }
.brand-product-form .brand-product-description { grid-column: 1 / -1; }
.brand-product-form .special-category-options, .pe-form .special-category-options {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
  padding: 14px; background: #fafafa; border: 1.5px solid var(--border); border-radius: 10px;
}
.special-category-options strong { width: 100%; font-size: 13px; margin-bottom: 2px; }
.brand-product-form .special-category-options label, .pe-form .special-category-options label {
  display: inline-flex; flex: 0 0 auto; flex-direction: row; align-items: center; gap: 7px;
  padding: 8px 12px; background: #fff; border: 1.5px solid var(--border); border-radius: 999px;
  font-size: 12.5px; font-weight: 700; cursor: pointer; transition: border-color .15s, background .15s;
}
.brand-product-form .special-category-options label:hover, .pe-form .special-category-options label:hover { border-color: var(--primary); background: var(--tint); }
.brand-product-form .special-category-options input[type="checkbox"], .pe-form .special-category-options input[type="checkbox"] {
  width: 16px; height: 16px; margin: 0; padding: 0; flex: 0 0 16px; accent-color: var(--primary);
}
.brand-product-form .special-category-options label:has(input:checked), .pe-form .special-category-options label:has(input:checked) {
  color: var(--primary-dark); border-color: var(--primary); background: var(--tint);
}
.pe-cat-group.has-conditional-subs:not(:has(.pe-cat-main input:checked)) .pe-cat-sub { display: none; }
.brand-product-form > button { background: var(--primary); color: #fff; border: 0; border-radius: 8px; padding: 11px 22px; font-weight: 700; cursor: pointer; }
.brand-product-form > .brand-product-cancel { margin-left: 8px; background: #fff; color: var(--primary); border: 1.5px solid var(--primary); }
.banner-list { display: flex; flex-direction: column; gap: 12px; }
.banner-item { display: flex; gap: 14px; align-items: center; border: 1.5px solid var(--border); border-radius: 12px; padding: 12px; }
.banner-item.off { opacity: .55; }
.banner-item img { width: 140px; height: 64px; object-fit: cover; border-radius: 8px; flex-shrink: 0; background: #eef1f7; }
.banner-meta { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.banner-meta strong { color: var(--primary); }
.banner-meta span, .banner-meta small { color: var(--muted); font-size: 12.5px; }
.banner-meta a { color: var(--accent); font-size: 12px; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.banner-actions { display: flex; gap: 8px; }
.banner-actions button { border: 1.5px solid var(--border); background: #fff; border-radius: 8px; padding: 7px 14px; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.banner-actions button.danger { color: var(--red); border-color: var(--red); }

/* ── Header login button (guests) ───────────────────────────────────────── */
.hu-login {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary); color: #fff; font-size: 13px; font-weight: 800;
  text-decoration: none; padding: 8px 16px; border-radius: 8px;
  transition: background .15s;
}
.hu-login:hover { background: var(--primary-dark); }

/* ── Showcase homepage theme ────────────────────────────────────────────── */
.showcase-strip {
  position: relative; background-size: cover; background-position: center;
  color: #fff; padding: 56px 20px;
}
.showcase-strip::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.30) 100%);
}
.showcase-strip-inner { position: relative; max-width: 1260px; margin: 0 auto; }
.showcase-strip h1 { font-size: 34px; font-weight: 900; line-height: 1.1; margin-bottom: 8px; }
.showcase-strip h1 span { color: var(--primary); }
.showcase-strip p { font-size: 15px; color: rgba(255,255,255,.85); max-width: 560px; margin-bottom: 16px; }
.showcase-cta {
  display: inline-block; background: var(--primary); color: #fff; font-weight: 800;
  text-decoration: none; padding: 11px 22px; border-radius: 10px; transition: background .15s;
}
.showcase-cta:hover { background: var(--primary-dark); }

.showcase-cats-wrap { padding-bottom: 8px; }
.showcase-cats {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px; margin-top: 4px;
}
.showcase-cat {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 22px 14px; background: var(--card); border: 2px solid var(--border);
  border-radius: 14px; cursor: pointer; transition: all .16s; font-family: inherit;
}
.showcase-cat:hover {
  border-color: var(--primary); box-shadow: 0 8px 22px rgba(36,59,83,.16);
  transform: translateY(-2px); background: var(--tint);
}
.showcase-cat .sc-ic { font-size: 30px; line-height: 1; }
.showcase-cat .sc-lbl { font-size: 13px; font-weight: 700; color: var(--text); text-align: center; }
@media (max-width: 560px) {
  .showcase-strip { padding: 40px 16px; }
  .showcase-strip h1 { font-size: 26px; }
  .showcase-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

/* ── Admin: per-product editor (stock + pricing + categories) ───────────── */
.prod-filter { display: flex; flex-wrap: wrap; align-items: end; gap: 14px 16px; margin-bottom: 16px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 12px; background: linear-gradient(180deg,#fafafa,#f4f4f5); box-shadow: inset 0 1px 0 #fff; }
.prod-filter label { display: flex; flex-direction: column; gap: 5px; font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .3px; }
.prod-filter input { padding: 8px 10px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 14px; font-weight: 700; font-family: inherit; }
.prod-filter input:focus { outline: none; border-color: var(--primary); }
.prod-filter-actions { display: flex; align-items: center; gap: 12px; }
.prod-filter-actions button { background: var(--primary); color: #fff; border: 0; border-radius: 9px; font-weight: 900; padding: 9px 20px; cursor: pointer; }
.prod-filter-search { flex: 1 1 220px; }
.prod-filter-search input { width: 100%; }
.prod-filter select { padding: 8px 10px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 14px; font-weight: 700; font-family: inherit; }
.prod-filter select:focus { outline: none; border-color: var(--primary); }
.prod-range { display: flex; flex-direction: column; gap: 6px; min-width: 210px; }
.prod-range-head { font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .3px; }
.prod-range-head em { font-style: normal; color: var(--primary); }
.prod-range-track { position: relative; height: 26px; --lo: 0%; --hi: 100%; }
/* Active-range fill between the two thumbs. */
.prod-range-track::before { content: ''; position: absolute; left: 0; right: 0; top: 11px; height: 4px; background: var(--border); border-radius: 3px; }
.prod-range-track::after { content: ''; position: absolute; top: 11px; height: 4px; left: var(--lo); right: calc(100% - var(--hi)); background: var(--primary); border-radius: 3px; }
.prod-range-track input[type="range"] {
  position: absolute; left: 0; top: 0; width: 100%; margin: 0; height: 26px;
  background: none; pointer-events: none; -webkit-appearance: none; appearance: none;
}
.prod-range-track input[type="range"]::-webkit-slider-runnable-track { height: 4px; background: transparent; border-radius: 3px; margin-top: 11px; }
.prod-range-track input[type="range"]::-moz-range-track { height: 4px; background: transparent; border-radius: 3px; }
.prod-range-track input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; pointer-events: auto;
  width: 16px; height: 16px; border-radius: 50%; background: var(--primary); border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.3); cursor: pointer; margin-top: 5px; transition: transform .12s ease;
}
.prod-range-track input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.2); }
.prod-range-track input[type="range"]::-moz-range-thumb {
  pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--primary);
  border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.3); cursor: pointer;
}
.prod-range-nums { display: flex; align-items: center; gap: 6px; }
.prod-range-nums input { width: 72px; padding: 6px 8px; border: 1.5px solid var(--border); border-radius: 7px; font-size: 13px; font-weight: 700; font-family: inherit; }
.prod-range-nums input:focus { outline: none; border-color: var(--primary); }
.prod-range-nums span { color: var(--muted); font-weight: 800; }
.prod-pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 16px; font-weight: 800; color: var(--muted); }
.prod-pager a { color: var(--primary); text-decoration: none; border: 1.5px solid var(--border); border-radius: 9px; padding: 8px 16px; }
.prod-pager a:hover { border-color: var(--primary); }
.prod-edit-list { display: flex; flex-direction: column; gap: 10px; }
.prod-edit { border: 1.5px solid var(--border); border-radius: 12px; background: #fff; overflow: hidden; transition: border-color .15s ease, box-shadow .15s ease; }
.prod-edit[open] { border-color: var(--primary); box-shadow: 0 4px 18px rgba(36,59,83,.10); }
.prod-edit:hover { border-color: var(--primary); }
/* Compact one-line summary; expands to the edit form on click. */
.pe-summary {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px; cursor: pointer;
  list-style: none; user-select: none; transition: background .15s ease;
}
.pe-summary::-webkit-details-marker { display: none; }
.pe-summary:hover { background: #fafafa; }
.pe-summary img, .pe-noimg {
  width: 40px; height: 40px; border-radius: 8px; object-fit: contain; background: #fff;
  border: 1px solid var(--border); flex-shrink: 0; display: grid; place-items: center; font-size: 20px;
}
.pe-summary-id { display: flex; flex-direction: column; min-width: 0; }
.pe-summary-id strong { color: var(--primary); font-size: 14px; }
.pe-summary-name { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }
.pe-summary-meta { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; }
.pe-chip { font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 20px; background: #f1f1f1; color: var(--muted); white-space: nowrap; }
.pe-chip.is-on { background: #e7f6ec; color: #128c3e; }
.pe-chip.is-off { background: #fde8e8; color: var(--primary); }
.pe-chip.is-out { background: #fff3cd; color: #8a6d00; }
.pe-summary-edit { font-weight: 800; color: var(--primary); font-size: 12px; white-space: nowrap; transition: transform .2s ease; }
.prod-edit[open] .pe-summary-edit { transform: rotate(180deg); }
.pe-form { padding: 4px 14px 14px; animation: peReveal .22s ease; }
@keyframes peReveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) { .pe-summary-name { max-width: 130px; } }
.pe-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.pe-head img { width: 46px; height: 46px; max-width: 46px; max-height: 46px; object-fit: contain; background: #fff; border: 1px solid var(--border); border-radius: 7px; padding: 3px; flex-shrink: 0; }
.pe-head strong { color: var(--primary); }
.pe-active { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--muted); white-space: nowrap; }
.pe-fields { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px; margin-bottom: 10px; }
.pe-fields label { display: flex; flex-direction: column; gap: 4px; font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .3px; }
.pe-fields input { padding: 8px 10px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 14px; font-weight: 700; }
.pe-fields input:focus { outline: none; border-color: var(--primary); }
.pe-fields .pe-yt input { font-weight: 500; }
.pe-image-row { display: flex; align-items: center; gap: 10px; }
.pe-image-preview { width: 44px; height: 44px; object-fit: contain; background: #fff; border: 1px solid var(--border); border-radius: 7px; padding: 3px; flex-shrink: 0; }
.pe-image-row input[type="file"] { flex: 1; min-width: 0; font-weight: 500; }
.pe-cats { border: 1px dashed var(--border); border-radius: 10px; padding: 4px 12px; margin-bottom: 10px; }
.pe-cats > summary { font-weight: 800; color: var(--primary); }
.pe-cat-count { font-weight: 600; color: var(--muted); font-size: 12px; }
.pe-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px,1fr)); gap: 12px; padding: 12px 2px; }
.pe-cat-group { border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; }
.pe-cat-main { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.pe-cat-main strong { color: var(--text); }
.pe-cat-sub { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); padding-left: 16px; margin-top: 5px; }
.pe-cat-group label input { accent-color: var(--primary); }
.pe-actions { text-align: right; }
.pe-actions button { background: var(--primary); color: #fff; border: 0; border-radius: 9px; font-weight: 900; padding: 9px 20px; cursor: pointer; }
@media (max-width: 760px) {
  .pe-fields { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pe-fields .pe-yt { grid-column: 1 / -1; }
}

/* ── Admin: category manager ────────────────────────────────────────────── */
.cat-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 12px; align-items: end; max-width: 900px; }
.cat-form label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; font-weight: 700; color: var(--text); }
.cat-form input, .cat-form select { border: 1.5px solid var(--border); border-radius: 8px; padding: 9px 11px; font-size: 14px; font-family: inherit; }
.cat-form input:focus, .cat-form select:focus { outline: none; border-color: var(--primary); }
.cat-form .cat-chk { flex-direction: row; align-items: center; gap: 7px; font-weight: 800; }
.cat-form button { background: var(--primary); color: #fff; border: 0; border-radius: 9px; font-weight: 900; padding: 10px 20px; cursor: pointer; }
.cat-list { display: flex; flex-direction: column; gap: 12px; }
.cat-block { border: 1.5px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.cat-block.is-other { border-color: var(--primary); background: var(--tint); }
.cat-block-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cat-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cat-name code, .cat-sub-pill code { background: var(--cream-2); color: var(--muted); font-size: 11px; padding: 1px 6px; border-radius: 5px; }
.cat-tag { background: var(--primary); color: #fff; font-size: 10px; font-weight: 800; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; }
.cat-del { background: #fff; color: var(--red); border: 1.5px solid var(--red); border-radius: 8px; padding: 6px 12px; font-weight: 700; font-size: 12.5px; cursor: pointer; }
.cat-subs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.cat-subs-empty { color: var(--muted); font-size: 12.5px; font-style: italic; }
.cat-sub-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--cream-2); border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px; font-size: 12.5px; font-weight: 600; }
.cat-sub-del { background: none; border: 0; color: var(--red); font-weight: 900; cursor: pointer; padding: 0 2px; }
.cat-fixed { background: var(--cream-2); color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; padding: 2px 8px; border-radius: 999px; }
.cat-sub-toggle-form { display: inline-flex; align-items: center; gap: 5px; }
.cat-sub-pill input[type="checkbox"] { accent-color: var(--primary); cursor: pointer; }
.cat-sub-pill { cursor: pointer; }
.cat-sub-pill.off { opacity: .5; text-decoration: line-through; }
.cat-sub-position { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 11px; font-weight: 700; }
.cat-sub-position input { width: 52px; border: 1px solid var(--border); border-radius: 6px; padding: 4px 5px; font: inherit; }
.cat-sub-save { border: 1px solid var(--border); border-radius: 6px; background: #fff; color: var(--primary); padding: 4px 8px; font-size: 11px; font-weight: 800; cursor: pointer; }

/* ── Quote modal: logged-in account chip (replaces customer-detail fields) ── */
.quote-acct {
  display: flex; align-items: center; gap: 12px;
  background: var(--tint); border: 1.5px solid var(--primary);
  border-radius: 12px; padding: 12px 14px; margin-bottom: 14px;
}
.quote-acct .qa-ic { font-size: 26px; line-height: 1; }
.quote-acct .qa-name { font-size: 15px; font-weight: 800; color: var(--text); }
.quote-acct .qa-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.quote-acct .qa-sub strong { color: var(--primary); }

/* ── Category catalogue downloads ───────────────────────────────────────── */
.cat-download-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.catalog-actions { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.catalog-actions a {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--primary); border-radius: 8px; padding: 8px 12px;
  color: var(--primary); background: #fff; text-decoration: none; font-size: 12px; font-weight: 900;
}
.catalog-actions a:first-child { background: var(--primary); color: #fff; }

/* Hide injected desktop report widget. */
.webpkg-desktop-report-box {
  display: none !important;
}

/* ── Downloads page ──────────────────────────────────────────────────────── */
.dl-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0 24px; }
.dl-tab {
  padding: 10px 22px; border: 1px solid #d7dbe2; border-radius: 8px;
  font-weight: 600; color: #3c424b; text-decoration: none; background: #fff;
  transition: all .15s;
}
.dl-tab:hover { border-color: var(--primary); color: var(--primary); }
.dl-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.dl-list { display: flex; flex-direction: column; gap: 12px; }
.dl-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 18px; border: 1px solid #e6e8ec; border-radius: 10px;
  background: #fbfbfc; flex-wrap: wrap;
}
.dl-row-info { display: flex; align-items: center; gap: 14px; min-width: 0; }
.dl-row-ico { font-size: 26px; line-height: 1; }
.dl-row-img { width: 46px; height: 46px; object-fit: cover; border-radius: 8px; flex-shrink: 0; border: 1px solid #e6e8ec; }
.dl-row-title { font-weight: 700; color: #1e2637; font-size: 15px; }
.dl-row-sub { color: #6e7890; font-size: 13px; }
.dl-row-actions { display: flex; gap: 10px; flex-wrap: wrap; }
/* Gold primary action so "With Pricing" reads clearly against the card. */
.dl-btn {
  padding: 8px 16px; border-radius: 8px; font-weight: 700; font-size: 14px;
  text-decoration: none; background: var(--gold); color: var(--primary);
  border: 1px solid var(--gold); white-space: nowrap;
  transition: background .15s, color .15s, opacity .15s;
}
.dl-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); opacity: 1; }
.dl-btn-alt { background: #fff; color: var(--primary); border-color: var(--primary); }
.dl-btn-alt:hover { background: var(--tint); color: var(--primary); border-color: var(--primary); opacity: 1; }

@media (max-width: 640px) {
  .dl-row { align-items: flex-start; }
  .dl-row-actions { width: 100%; }
  .dl-btn { flex: 1; text-align: center; }
}

/* ── Luxury Brands page ─────────────────────────────────────────────────── */
.btn-gold { background: var(--gold); color: var(--navy); border: 0; }
.btn-gold:hover { background: var(--gold-2); color: var(--navy); }

.luxury-head { text-align: center; max-width: 720px; margin: 8px auto 30px; }
.luxury-kicker { display: inline-block; background: rgba(201,162,74,.16); color: var(--gold-2);
  font-size: 11px; font-weight: 800; letter-spacing: .6px; padding: 6px 14px; border-radius: 20px;
  text-transform: uppercase; }
.luxury-head h1 { font-size: 34px; font-weight: 900; color: var(--navy); margin: 14px 0 10px; }
.luxury-head p { color: var(--muted); font-size: 15px; line-height: 1.6; }

.luxury-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px; margin: 0 auto 36px; max-width: 1000px; }
.luxury-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 20px; text-align: center; transition: transform .15s, box-shadow .15s, border-color .15s; }
.luxury-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold); }
.luxury-name { font-size: 19px; font-weight: 900; color: var(--navy); letter-spacing: .3px; }
.luxury-note { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.luxury-card-more { background: var(--cream-2); border-style: dashed; }

.luxury-cta { text-align: center; background: var(--cream-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 20px; max-width: 1000px; margin: 0 auto; }
.luxury-cta p { color: var(--navy); font-weight: 700; font-size: 16px; margin-bottom: 16px; }

/* ══════════════════════════════════════════════════════════════════════════
   Homepage feature sections
   Full-bleed helper: these sections live inside .page (max-width 1260px),
   so they break out to the full viewport width.
   ══════════════════════════════════════════════════════════════════════════ */
/* Full-width breakout.
   Most feature sections sit OUTSIDE .page and are already full width, so this
   is a no-op for them. `.full-bleed-in-page` is for sections nested INSIDE
   .page (max-width 1260px + horizontal padding) that still need to span the
   viewport — it cancels both the centring and the parent's padding.
   Margins, never `transform`: a transform creates a containing block and
   silently kills `background-attachment: fixed` on the parallax bands.

   `50%` is half the parent's content box and `50vw` is half the viewport, so
   `calc(50% - 50vw)` walks from the parent's edge out to the viewport edge —
   exact at any width, and it must also subtract .page's own side padding. */
.full-bleed { width: 100%; max-width: 100%; }

.full-bleed-in-page {
  width: 100vw; max-width: 100vw;
  margin-left: calc(50% - 50vw - 16px);
  margin-right: calc(50% - 50vw - 16px);
}
@media (max-width: 700px) {
  /* .page drops to 12px horizontal padding at this breakpoint. */
  .full-bleed-in-page {
    margin-left: calc(50% - 50vw - 12px);
    margin-right: calc(50% - 50vw - 12px);
  }
}

/* Parallax background layer (shared by the banded sections).
   Backgrounds are abstract tiling SVG patterns, so they repeat rather
   than cover-scale — a cover-scaled tile would blur into mush. */
.parallax-band {
  --parallax-shift: 0px;
  position: relative;
  background-color: var(--primary);
  background-size: 150px;
  background-position: center calc(50% + var(--parallax-shift));
  background-repeat: repeat;
  background-attachment: fixed;   /* the parallax effect */
  isolation: isolate;
}
.parallax-band > * { position: relative; z-index: 1; }
.parallax-band::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(36,59,83,.82), rgba(28,47,67,.9));
}
/* iOS/Android ignore background-attachment: fixed — fall back to a static cover. */
@media (hover: none), (max-width: 820px) {
  .parallax-band { background-attachment: scroll; --parallax-shift: 0px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .parallax-band { background-attachment: scroll; --parallax-shift: 0px !important; }
}

/* ── Display headings ───────────────────────────────────────────────────── */
.sec-head > span:first-child,
.hs-title, .tb-title, .wd-title, .nh-title, .cr-title {
  font-family: var(--font-display);
  font-style: italic;
  letter-spacing: .2px;
}
.tb-title, .wd-title, .nh-title, .cr-title {
  font-weight: 600; line-height: 1.15;
}
/* Gold hairline under the display headings */
.tb-title::after, .wd-title::after, .nh-title::after, .cr-title::after {
  content: ''; display: block; width: 66px; height: 2px;
  background: var(--accent); margin: 14px auto 0; border-radius: 2px;
}

/* ── Trusted by scroller (under the hero banner) ────────────────────────── */
.trusted-strip { background: #fff; padding: 42px 0 46px; overflow: hidden;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tb-title { text-align: center; font-size: 38px; color: var(--primary); margin-bottom: 30px; }
.tb-marquee { overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.tb-marquee + .tb-marquee { margin-top: 14px; }
.tb-track { display: flex; align-items: center; width: max-content;
  animation: tb-scroll 46s linear infinite; }
/* Second row travels the opposite way so the two lines read as one system. */
.tb-track--reverse { animation-direction: reverse; }
.tb-marquee:hover .tb-track { animation-play-state: paused; }
.tb-logo-link { display: inline-flex; flex: 0 0 auto; text-decoration: none; }
/* Fixed-size cell keeps every logo optically the same height regardless of
   the source artwork's aspect ratio. */
.tb-logo {
  flex: 0 0 auto;
  width: 132px; height: 60px;
  margin: 0 9px;
  object-fit: contain;
  object-position: center;
  /* Colourless at rest, full colour on hover. */
  filter: grayscale(1);
  opacity: .72;
  transition: transform .25s, opacity .25s, filter .25s;
  mix-blend-mode: multiply;
}
.tb-logo:hover { transform: scale(1.06); opacity: 1; filter: grayscale(0); }
@keyframes tb-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tb-track { animation: none; } .tb-marquee { overflow-x: auto; } }
@media (max-width: 600px) {
  .tb-title { font-size: 30px; }
  .tb-logo { width: 96px; height: 44px; margin: 0 6px; }
}

/* ── Value props band ───────────────────────────────────────────────────── */
/* Navy gradient card with gold-ring icons, italic serif titles and a thin
   divider between columns. Rendered in HTML rather than as a flat image so the
   copy stays selectable, translatable and responsive. */
.value-props { padding: 0 16px; margin: 46px auto; max-width: 1260px; }
.vp-card {
  position: relative; overflow: hidden; border-radius: 18px;
  padding: 46px 30px 50px;
  background:
    radial-gradient(120% 150% at 12% 0%, #1c3d63 0%, rgba(28,61,99,0) 55%),
    linear-gradient(135deg, #0d2440 0%, #12365c 50%, #0b1f38 100%);
  box-shadow: 0 12px 40px rgba(11, 31, 56, .28);
}
/* Decorative gold arcs in the opposite corners, matching the artwork. */
.vp-card::before, .vp-card::after {
  content: ''; position: absolute; width: 340px; height: 340px;
  border-radius: 50%; border: 2px solid transparent; pointer-events: none;
}
.vp-card::before {
  top: -190px; left: -110px;
  border-top-color: var(--gold); border-right-color: rgba(201,162,74,.35);
  transform: rotate(-18deg);
}
.vp-card::after {
  bottom: -200px; right: -120px;
  border-bottom-color: var(--gold); border-left-color: rgba(201,162,74,.35);
  transform: rotate(-12deg);
}

.vp-grid {
  position: relative; z-index: 1;
  max-width: 1120px; margin: 0 auto; display: grid; gap: 26px 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.vp-item {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; color: #fff; padding: 0 22px; position: relative;
}
/* Hairline divider between columns (not after the last one). */
.vp-item + .vp-item::before {
  content: ''; position: absolute; left: 0; top: 6%; bottom: 6%;
  width: 1px; background: linear-gradient(180deg,
    rgba(201,162,74,0) 0%, rgba(201,162,74,.4) 22%,
    rgba(201,162,74,.4) 78%, rgba(201,162,74,0) 100%);
}
.vp-ico {
  width: 84px; height: 84px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--gold);
  background: radial-gradient(circle at 50% 45%, #14375c 0%, #0c2340 100%);
  color: var(--gold);
  box-shadow: 0 0 18px rgba(201,162,74,.45), inset 0 0 12px rgba(201,162,74,.18);
  transition: transform .25s, box-shadow .25s;
}
.vp-item:hover .vp-ico {
  transform: translateY(-4px);
  box-shadow: 0 0 26px rgba(201,162,74,.7), inset 0 0 14px rgba(201,162,74,.24);
}
.vp-ico svg { display: block; }

/* Small gold rule with a centre dot, sitting under each icon. */
.vp-rule {
  position: relative; width: 78px; height: 1px; margin: 20px 0 14px;
  background: linear-gradient(90deg,
    rgba(201,162,74,0) 0%, rgba(201,162,74,.75) 25%,
    rgba(201,162,74,.75) 75%, rgba(201,162,74,0) 100%);
}
.vp-rule::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px;
  border-radius: 50%; background: var(--gold);
}

.vp-label {
  font-family: var(--font-display); font-style: italic;
  font-size: 25px; font-weight: 700; line-height: 1.22; color: #fff;
}
.vp-desc {
  margin: 12px 0 0; max-width: 22ch;
  font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.72);
}

@media (max-width: 900px) {
  .vp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 0; }
  /* Divider only between the two columns of each row. */
  .vp-item + .vp-item::before { display: none; }
  .vp-item:nth-child(even)::before { display: block; }
  .vp-card { padding: 38px 20px 42px; }
}
@media (max-width: 560px) {
  .vp-grid { grid-template-columns: 1fr; gap: 34px 0; }
  .vp-item::before, .vp-item:nth-child(even)::before { display: none !important; }
  .vp-label { font-size: 22px; }
  .vp-card { padding: 32px 16px 36px; }
}

/* ── Need Help / FAQ band ───────────────────────────────────────────────── */
.need-help { padding: 70px 20px; margin: 56px 0; }
.nh-inner { max-width: 780px; margin: 0 auto; text-align: center; color: #fff; }
.nh-title { font-size: 48px; margin-bottom: 12px; }
.nh-sub { font-size: 15px; color: rgba(255,255,255,.86); margin-bottom: 38px; }
.nh-rows { display: flex; flex-direction: column; gap: 22px; margin-bottom: 42px; }
.nh-lbl { font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 7px; }
.nh-val { font-size: 20px; color: #fff; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.45); padding-bottom: 3px; transition: color .15s, border-color .15s; }
a.nh-val:hover { border-bottom-color: var(--accent); color: var(--accent); }
.nh-plain { font-size: 19px; border-bottom: 0; }
.nh-faqs { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.nh-faq {
  background: rgba(255,255,255,.96); color: var(--text);
  border-radius: 12px; border: 0; overflow: hidden;
  transition: box-shadow .2s;
}
.nh-faq[open] { box-shadow: 0 8px 26px rgba(0,0,0,.22); }
.nh-faq summary {
  display: flex; align-items: center; gap: 15px; cursor: pointer; list-style: none;
  padding: 19px 22px; font-weight: 600; font-size: 15px; line-height: 1.4;
}
.nh-faq summary::-webkit-details-marker { display: none; }
.nh-faq summary::after {
  content: '+'; margin-left: auto; flex: 0 0 auto;
  width: 30px; height: 30px; border: 1.5px solid var(--primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 400; line-height: 1; color: var(--primary);
  transition: background .18s, color .18s;
}
.nh-faq summary:hover::after { background: var(--primary); color: #fff; }
.nh-faq[open] summary::after { content: '−'; background: var(--primary); color: #fff; }
.nh-faq .nh-ic { flex: 0 0 auto; color: var(--accent-dark); }
.nh-faq p { padding: 0 22px 20px 62px; font-size: 14px; line-height: 1.65; color: var(--muted); }
@media (max-width: 560px) {
  .need-help { padding: 52px 16px; }
  .nh-title { font-size: 36px; }
  .nh-faq p { padding-left: 22px; }
}

/* ── We Deliver Across India ────────────────────────────────────────────── */
.deliver-section { padding: 48px 20px; margin: 40px 0; background: var(--cream-2); }
.wd-title { text-align: center; font-size: 34px; color: var(--primary); margin-bottom: 26px; }
/* Locations scroll as a continuous marquee — the tile list is duplicated in the
   markup so the track can loop seamlessly at -50%. */
.wd-marquee { overflow: hidden; position: relative; padding-bottom: 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.wd-track { display: flex; align-items: center; gap: 10px; width: max-content;
  animation: wd-scroll 52s linear infinite; }
.wd-marquee:hover .wd-track { animation-play-state: paused; }
@keyframes wd-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.wd-city { flex: 0 0 78px; transition: transform .22s; }
.wd-city:hover { transform: translateY(-5px); }
/* Artwork carries its own navy background and name plate, so the tile just
   needs clipping + a soft lift on hover.
   Source PNGs vary from 1.07 to 1.65 aspect, so a fixed ratio equalises the
   tile heights. `contain` (not `cover`) because the name plate runs the full
   width of the artwork — cropping would cut the city name off at both ends.
   The navy backdrop matches the artwork so the letterboxing is invisible. */
.wd-ico {
  display: block; width: 100%; aspect-ratio: 5 / 4;
  object-fit: contain; object-position: center;
  border-radius: 8px; background: #082949;
  box-shadow: 0 3px 10px rgba(36, 59, 83, .14);
  transition: box-shadow .22s;
}
.wd-city:hover .wd-ico { box-shadow: 0 6px 16px rgba(36, 59, 83, .22); }
@media (prefers-reduced-motion: reduce) {
  .wd-track { animation: none; }
  .wd-marquee { overflow-x: auto; }
}
@media (max-width: 900px) {
  .wd-city { flex: 0 0 68px; }
}
@media (max-width: 560px) {
  .wd-track { gap: 8px; }
  .wd-city { flex: 0 0 58px; }
  .wd-title { font-size: 26px; } .deliver-section { padding: 34px 16px; }
}

/* ── Customer review scroller ───────────────────────────────────────────── */
.reviews-section { padding: 66px 0 130px; overflow: hidden; }
.cr-title { text-align: center; font-size: 42px; color: var(--primary); margin-bottom: 38px; }
.cr-marquee { overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.cr-track { display: flex; align-items: stretch; gap: 24px; width: max-content;
  animation: cr-scroll 68s linear infinite; padding: 6px 0; }
.cr-marquee:hover .cr-track { animation-play-state: paused; }
.cr-card {
  flex: 0 0 350px; background: #fff; color: var(--text);
  border: 1px solid var(--border); border-top: 3px solid var(--accent);
  border-radius: var(--radius); padding: 26px 26px 24px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--shadow); transition: transform .22s, box-shadow .22s;
}
.cr-card:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(36,59,83,.14); }
.cr-stars { color: var(--accent); font-size: 16px; letter-spacing: 3px; }
.cr-text { font-size: 14px; line-height: 1.68; color: var(--text); flex: 1 1 auto; }
.cr-name { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.1px;
  color: var(--muted); padding-top: 4px; border-top: 1px solid var(--border); }
@keyframes cr-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .cr-track { animation: none; } .cr-marquee { overflow-x: auto; } }
@media (max-width: 560px) { .cr-card { flex-basis: 286px; padding: 22px; } .cr-title { font-size: 32px; } }

/* ── Follow us on Instagram: 4-up collage with centered overlay ──────────── */
/* Single commissioned banner — handle, tagline and category labels are baked
   into the artwork, so the whole image is one link with no text overlay. */
.ig-banner {
  display: block; text-decoration: none;
  transition: filter .25s;
}
.ig-banner img { display: block; width: 100%; height: auto; }
.ig-banner:hover { filter: brightness(1.03); }

/* ── Footer: calling time + newsletter ──────────────────────────────────── */
.footer-hours { font-size: 13px; color: #000; font-weight: 600; margin: 10px 0 4px; }
.footer-news-tag { font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 14px; }
.footer-news { display: flex; gap: 0; max-width: 320px; border-radius: 8px; overflow: hidden; }
.footer-news input {
  flex: 1 1 auto; min-width: 0; border: 1px solid var(--border); border-right: 0; outline: 0;
  padding: 11px 13px; font: inherit; font-size: 13px; background: #fff; color: var(--text);
}
.footer-news button {
  flex: 0 0 auto; border: 0; cursor: pointer;
  background: var(--accent); color: #fff; font: inherit; font-size: 13px; font-weight: 800;
  padding: 0 18px; transition: background .15s;
}
.footer-news button:hover { background: var(--accent-dark); }
@media (max-width: 600px) { .footer-news { max-width: none; } }
.footer-news-msg { font-size: 12.5px; font-weight: 600; margin-top: 10px; }
.footer-news-msg.ok  { color: #2e8b57; }
.footer-news-msg.err { color: #c0392b; }

/* ── Eco-friendly products band ─────────────────────────────────────────── */
.eco-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(46,139,87,.09), transparent 42%),
    radial-gradient(circle at 88% 82%, rgba(46,139,87,.08), transparent 44%),
    var(--cream);
  padding: 62px 20px 66px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.eco-inner { max-width: 1260px; margin: 0 auto; }
.eco-head { text-align: center; margin-bottom: 34px; }
.eco-kicker {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 2.2px;
  text-transform: uppercase; color: #2e8b57;
  background: rgba(46,139,87,.1); border: 1px solid rgba(46,139,87,.28);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.eco-title {
  font-family: var(--font-display); font-style: italic; font-size: 44px; font-weight: 600;
  color: var(--primary); line-height: 1.15; margin-bottom: 10px;
}
.eco-title::after {
  content: ''; display: block; width: 66px; height: 2px;
  background: #2e8b57; margin: 14px auto 0; border-radius: 2px;
}
.eco-sub { font-size: 14.5px; color: var(--muted); max-width: 620px; margin: 0 auto; line-height: 1.6; }
.eco-grid { margin-bottom: 30px; }
.pflag.eco { background: #2e8b57; color: #fff; }
.eco-cta { text-align: center; }
.eco-cta a {
  display: inline-block; text-decoration: none;
  color: #2e8b57; border: 1.5px solid #2e8b57; border-radius: 999px;
  font-size: 13.5px; font-weight: 800; padding: 11px 26px;
  transition: background .18s, color .18s;
}
.eco-cta a:hover { background: #2e8b57; color: #fff; }
@media (max-width: 560px) { .eco-title { font-size: 32px; } .eco-section { padding: 46px 16px 50px; } }

/* ══════════════════════════════════════════════════════════════════════════
   WhatsApp direct-contact band (homepage, above the FAQ)
   Two-column dark-green card: copy on the left, proof points + CTA on the
   right. Collapses to a single stacked column on narrow screens.
   ══════════════════════════════════════════════════════════════════════════ */
.wa-band { margin: 24px auto 28px; padding: 0 40px; max-width: 1040px; }

.wa-band-card {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px 34px;
  align-items: center;
  padding: 20px 26px;
  border-radius: 14px;
  /* Gold gradient pulled from the theme tokens (--gold / --gold-2). */
  background: linear-gradient(135deg, #d4ad57 0%, #c9a24a 55%, #b98f38 100%);
  box-shadow: 0 8px 26px rgba(185, 143, 56, .28);
}

/* ── Left column ────────────────────────────────────────────────────────── */
.wa-band-kicker {
  display: inline-flex; align-items: center; gap: 7px;
  color: rgba(36, 59, 83, .72); font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.3px;
}
.wa-band-title {
  margin: 8px 0 0;
  color: var(--navy); font-size: 21px; font-weight: 800; line-height: 1.2;
  letter-spacing: -.2px;
}
.wa-band-sub {
  margin: 7px 0 0;
  color: rgba(36, 59, 83, .78); font-size: 12px; line-height: 1.5;
}

/* ── Right column ───────────────────────────────────────────────────────── */
.wa-band-list { list-style: none; margin: 0 0 13px; padding: 0; display: grid; gap: 6px; }
.wa-band-list li {
  position: relative; padding-left: 22px;
  color: var(--navy); font-size: 12px; font-weight: 600;
}
/* Check disc drawn in CSS so the band ships no extra image requests.
   Navy disc + gold tick keeps it legible on the gold card. */
.wa-band-list li::before {
  content: ''; position: absolute; left: 0; top: 1px;
  width: 14px; height: 14px; border-radius: 50%; background: var(--navy);
}
.wa-band-list li::after {
  content: ''; position: absolute; left: 4.2px; top: 4.2px;
  width: 5px; height: 2.5px;
  border-left: 2px solid #f0d69a; border-bottom: 2px solid #f0d69a;
  transform: rotate(-45deg);
}

.wa-band-btn {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 17px; border-radius: 999px;
  background: var(--navy); color: #fff;
  font-size: 13px; font-weight: 800; text-decoration: none;
  box-shadow: 0 4px 13px rgba(36, 59, 83, .26);
  transition: background .18s, transform .18s, box-shadow .18s;
}
.wa-band-btn:hover {
  background: var(--navy-2); transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(36, 59, 83, .34);
}
.wa-band-btn .wa-band-arrow { margin-left: auto; font-size: 15px; font-weight: 500; }
.wa-band-note {
  display: block; margin-top: 6px;
  color: rgba(36, 59, 83, .6); font-size: 10px; letter-spacing: .2px;
}

@media (max-width: 860px) {
  .wa-band { padding: 0 18px; }
  .wa-band-card { grid-template-columns: 1fr; gap: 18px; padding: 20px 18px; }
  .wa-band-title { font-size: 19px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   Category-browse section header (kicker + serif title + search/tag controls
   + horizontal category chip row + result count). Used by the Diwali row.
   ══════════════════════════════════════════════════════════════════════════ */
.cat-browse-head { margin-bottom: 22px; }

.cbh-kicker {
  display: block; margin-bottom: 6px;
  color: var(--accent); font-size: 10.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.6px;
}

.cbh-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px 24px;
}
.cbh-title {
  margin: 0; font-family: var(--font-display);
  font-size: 40px; font-weight: 600; line-height: 1.1; color: var(--text);
}
/* Accent word is italic + gold, matching the display-font treatment used
   elsewhere on the homepage. */
.cbh-title em { font-style: italic; color: var(--accent); }

.cbh-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cbh-search {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--card); color: var(--muted); min-width: 230px;
}
.cbh-search input {
  border: 0; outline: none; background: transparent; flex: 1;
  font-family: inherit; font-size: 13px; color: var(--text); min-width: 0;
}
.cbh-search input::placeholder { color: var(--muted); }
.cbh-select {
  padding: 9px 16px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--card); font-family: inherit; font-size: 13px;
  color: var(--text); cursor: pointer; outline: none; min-width: 130px;
}
.cbh-search:focus-within, .cbh-select:focus { border-color: var(--accent); }

/* ── Category chip row ──────────────────────────────────────────────────── */
.cbh-chips-wrap { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.cbh-chips {
  display: flex; gap: 8px; overflow-x: auto; scroll-behavior: smooth;
  scrollbar-width: none; padding: 2px 0;
}
.cbh-chips::-webkit-scrollbar { display: none; }
.cbh-chip {
  flex: 0 0 auto; padding: 8px 17px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--card);
  font-family: inherit; font-size: 12.5px; font-weight: 600; color: var(--text);
  cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.cbh-chip:hover { border-color: var(--accent); }
.cbh-chip.active {
  background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 700;
}
.cbh-arrow {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--card);
  color: var(--text); font-size: 16px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.cbh-arrow:hover { border-color: var(--accent); }

.cbh-count {
  margin: 12px 0 0; font-family: var(--font-display); font-style: italic;
  font-size: 13px; color: var(--muted);
}

@media (max-width: 700px) {
  .cbh-title { font-size: 30px; }
  .cbh-row { flex-direction: column; align-items: flex-start; }
  .cbh-controls { width: 100%; }
  .cbh-search { flex: 1 1 auto; min-width: 0; }
}

/* ══════════════════════════════════════════════════════════════════════════
   REFERENCE-LAYOUT REBUILD
   Header utility bar, nav bar, trust/feature strips and footer columns,
   restyled to match the approved homepage design.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Top utility bar ────────────────────────────────────────────────────── */
/* The bar itself stays full-bleed (the base rule above handles background and
   layout); only the palette changes to the darker navy from the reference. */
.topbar { background: var(--navy-2); color: rgba(255,255,255,.86); font-size: 12px; font-weight: 500; }
.topbar a { color: rgba(255,255,255,.86); }
.topbar a:hover { color: var(--gold); text-decoration: none; }
.tb-sep { color: rgba(255,255,255,.28); opacity: 1; }

/* ── Header ─────────────────────────────────────────────────────────────── */
/* NOTE: .header keeps its base full-width sticky layout — do not add a
   max-width here, it must span the viewport. */
.header-right { display: flex; align-items: center; gap: 22px; }
.hu-action {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: var(--text); text-decoration: none; font-size: 11.5px; font-weight: 600;
  transition: color .15s;
}
.hu-action:hover { color: var(--gold-2); }
/* Cart badge — count is written by the homepage quote JS. */
.hu-cart-ico { position: relative; display: block; }
.hu-cart-badge {
  position: absolute; top: -5px; right: -8px; min-width: 17px; height: 17px;
  padding: 0 4px; border-radius: 999px; background: var(--gold); color: var(--navy);
  font-size: 10px; font-weight: 800; line-height: 17px; text-align: center;
}

/* ── Nav bar ────────────────────────────────────────────────────────────── */
/* Matches the rest of the bar — no separate tab colour. */
.mn-allcats > .mn-link {
  background: none; color: #fff !important; font-weight: 400;
}
.mn-allcats > .mn-link:hover,
.mn-allcats.open > .mn-link { background: rgba(36,59,83,.18); font-weight: 700; }
.mn-burger {
  display: inline-block; width: 13px; height: 9px; margin-right: 7px;
  border-top: 2px solid currentColor; border-bottom: 2px solid currentColor;
  position: relative; vertical-align: middle;
}
.mn-burger::after {
  content: ''; position: absolute; left: 0; top: 3px;
  width: 100%; border-top: 2px solid currentColor;
}

/* ── Trust stats strip ──────────────────────────────────────────────────── */
.trust-strip { background: var(--navy); color: #fff; }
.trust-inner {
  max-width: 1260px; margin: 0 auto; padding: 0 16px;
  display: flex; align-items: stretch; flex-wrap: wrap;
}
.ts-item {
  flex: 1 1 150px; display: flex; align-items: center; gap: 10px;
  padding: 16px 14px; color: var(--gold);
}
.ts-item > div { display: flex; flex-direction: column; line-height: 1.25; }
.ts-item strong { color: #fff; font-size: 13.5px; font-weight: 800; }
.ts-item span { color: rgba(255,255,255,.62); font-size: 11.5px; }
.ts-cta {
  flex: 1 1 220px; display: flex; flex-direction: column; justify-content: center;
  padding: 16px 22px; background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  color: var(--navy); text-decoration: none; transition: filter .15s;
}
.ts-cta:hover { filter: brightness(1.06); }
.ts-cta-kicker { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.1px; opacity: .8; }
.ts-cta-title { font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: .3px; }

/* ── Service feature strip ──────────────────────────────────────────────── */
.feature-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
  margin: 18px 0 4px; padding: 16px 18px;
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
}
.fs-item { display: flex; align-items: center; gap: 11px; color: var(--gold-2); }
.fs-item > div { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.fs-item strong {
  color: var(--text); font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .4px;
}
.fs-item span, .fs-item a { color: var(--muted); font-size: 11.5px; }
.fs-item a { text-decoration: none; }
.fs-item a:hover { color: var(--gold-2); text-decoration: underline; }

/* ── Footer columns + payment chips ─────────────────────────────────────── */
.footer-contact-list { display: flex; flex-direction: column; gap: 9px; }
.footer-contact-list a, .footer-contact-hours {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 12.5px; line-height: 1.45;
}
.footer-contact-list svg { flex: 0 0 auto; margin-top: 2px; color: var(--gold); }
.footer-pay { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin-top: 12px; }
.fp-chip {
  padding: 3px 9px; border-radius: 4px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.72); font-size: 10px; font-weight: 700; letter-spacing: .4px;
}

@media (max-width: 900px) {
  .feature-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .header { flex-wrap: wrap; gap: 12px; }
  .header-search { order: 3; flex: 1 1 100%; max-width: none; }
  .header-right { gap: 16px; }
  .topbar-inner { justify-content: center; gap: 10px; font-size: 11px; }
  .ts-cta { flex-basis: 100%; }
}
@media (max-width: 520px) {
  .feature-strip { grid-template-columns: 1fr; }
}
