/* ==========================================================================
   shop.css — BHUTE INFOTECH storefront.

   Nothing here is shared with the CRM. The CRM is a dark, dense working tool
   used all day by six people who know it; the shop is a bright, calm page seen
   once by somebody deciding whether to trust us with ₹60,000. They should not
   look alike, and they do not.

   Navy for authority, a clear blue for anything you can act on, one orange
   reserved for savings and nothing else. Light ground throughout: a customer
   comparing three shops on a phone in daylight should not be the one to adapt.
   ========================================================================== */

:root {
  /* ink and ground */
  --navy:      #0b1b3a;
  --navy-2:    #142a52;
  --ink:       #16203a;
  --ink-2:     #48566f;
  --ink-3:     #7b879d;
  --line:      #e2e7ef;
  --line-2:    #eef1f6;
  --bg:        #ffffff;
  --bg-2:      #f6f8fb;
  --bg-3:      #eff3f9;

  /* the one thing you click */
  --blue:      #1857c4;
  --blue-dk:   #12439a;
  --blue-lt:   #e8f0fe;

  /* reserved: savings, and nothing else */
  --orange:    #e2620d;
  --orange-lt: #fdf0e6;

  /* states */
  --green:     #0f7a53;
  --green-lt:  #e6f5ef;
  --amber:     #9a6206;
  --amber-lt:  #fdf3e0;
  --grey-lt:   #eef1f6;
  --wa:        #1da851;

  --r:    12px;
  --r-sm: 8px;
  --r-lg: 18px;
  --shadow:    0 1px 2px rgba(11,27,58,.06), 0 4px 14px rgba(11,27,58,.05);
  --shadow-up: 0 6px 26px rgba(11,27,58,.11);
  --wrap: 1220px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.6 ui-sans-serif, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; color: var(--navy); text-wrap: balance; letter-spacing: -.011em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 3px; }

/* -------------------------------------------------------------- topbar --- *
 * The optional contact strip above the header — Phase 11. Darker than the
 * header itself (not the same navy) so the two read as two distinct bars
 * stacked, not one tall header; thin enough that it never competes with
 * the header's own brand/search/nav for attention. */
.topbar { background: #081429; color: #9fb4d8; font-size: 12.3px; }
.topbar-in {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 32px; flex-wrap: wrap; padding-top: 5px; padding-bottom: 5px;
}
.topbar-contact { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar-contact a, .topbar-hours {
  display: inline-flex; align-items: center; gap: 6px; color: #9fb4d8;
}
.topbar-contact a:hover { color: #fff; text-decoration: none; }
.topbar-contact svg, .topbar-hours svg { flex: 0 0 auto; opacity: .85; }
@media (max-width: 560px) {
  .topbar-in { justify-content: flex-start; gap: 10px 16px; }
}

/* ---------------------------------------------------------------- header -- */
.hdr {
  background: var(--navy);
  color: #fff;
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 1px 0 rgba(255,255,255,.07);
}
.hdr-in {
  display: grid;
  /* Phase 11: the nav only takes the room its own labels need; the search
     bar — "logo + big search bar" in the reference brief — gets whatever
     is left over, up to its own max-width below, instead of being squeezed
     to a fixed 210px beside a nav column that used to claim the 1fr. */
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 66px;
}

.brand { display: flex; align-items: center; gap: 11px; color: #fff; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(150deg, #2a6ae0, #1043a2); color: #fff; flex: 0 0 auto;
}
/* An uploaded logo is not boxed in the blue tile the built-in mark uses —
   many are transparent PNGs, and a gradient behind one looks like a bug.
   object-fit: contain keeps the file's own aspect ratio; nothing here ever
   stretches or crops it. */
.brand-mark.has-logo {
  background: none; border-radius: 0; width: auto; height: 38px; max-width: 160px;
}
.brand-mark.has-logo img { height: 100%; width: auto; max-width: 160px; object-fit: contain; display: block; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt strong { font-size: 15.5px; font-weight: 700; letter-spacing: .012em; white-space: nowrap; }
.brand-txt em { font-style: normal; font-size: 11px; color: #9fb4d8; letter-spacing: .045em;
                text-transform: uppercase; white-space: nowrap; }

.nav { display: flex; gap: 3px; flex-wrap: nowrap; }
.nav a {
  color: #cddaf0; padding: 8px 11px; border-radius: var(--r-sm);
  font-size: 13.6px; font-weight: 500; white-space: nowrap;
}
.nav a:hover { background: rgba(255,255,255,.09); color: #fff; text-decoration: none; }
.nav a.on { background: rgba(255,255,255,.14); color: #fff; }

.hdr-search { position: relative; display: flex; align-items: center; width: 100%; max-width: 440px; }
.hdr-search svg { position: absolute; left: 13px; color: var(--ink-3); pointer-events: none; }
.hdr-search input {
  width: 100%; padding: 10.5px 14px 10.5px 36px;
  border: 1px solid transparent; border-radius: 999px;
  background: rgba(255,255,255,.11); color: #fff; font-size: 14px; font-family: inherit;
}
.hdr-search input::placeholder { color: #9fb4d8; }
.hdr-search input:focus { outline: none; background: #fff; color: var(--ink); border-color: var(--blue); }
.hdr-search input:focus + button, .hdr-search input:focus ~ svg { color: var(--ink-2); }

/* ------------------------------------------------- search suggestions --- *
 * The live dropdown under either search box — Phase 13 of the Online Store
 * Upgrade. One component, anchored to whichever form owns it: the header's
 * dark .hdr-search and the /search page's own light .search-form both get
 * `position: relative` here so the exact same markup and classes work in
 * both places without a second stylesheet. The popover itself is always
 * light, the same surface share-pop already uses just below. */
.hdr-search, .search-form { position: relative; }

.suggest-pop {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 70;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-up); padding: 6px; max-height: 70vh; overflow-y: auto;
  opacity: 0; transform: translateY(-4px); pointer-events: none;
  transition: opacity .12s, transform .12s;
}
.suggest-pop.on { opacity: 1; transform: translateY(0); pointer-events: auto; }
.search-form .suggest-pop { max-width: 560px; }

.sug-group + .sug-group { margin-top: 4px; padding-top: 7px; border-top: 1px solid var(--line-2); }
.sug-label {
  font-size: 10.6px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-3); padding: 7px 10px 4px; display: block;
}
.sug-row {
  display: flex; align-items: center; gap: 11px; padding: 7px 10px; border-radius: var(--r-sm);
  color: var(--ink); cursor: pointer;
}
.sug-row:hover, .sug-row.on { background: var(--bg-2); text-decoration: none; }
.sug-thumb {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: var(--r-sm); background: var(--bg-3);
  display: grid; place-items: center; overflow: hidden;
}
.sug-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.sug-thumb svg { color: #b6c2d6; }
.sug-b { flex: 1; min-width: 0; }
.sug-name {
  font-size: 13.6px; font-weight: 600; color: var(--ink); line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sug-meta { font-size: 11.8px; color: var(--ink-3); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sug-price { flex: 0 0 auto; text-align: right; font-variant-numeric: tabular-nums; }
.sug-price strong { font-size: 13.6px; font-weight: 700; color: var(--navy); display: block; }
.sug-price s { font-size: 11.3px; color: var(--ink-3); }

.sug-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 10px 7px; }

.sug-more {
  display: block; text-align: center; padding: 10px; margin-top: 2px; border-top: 1px solid var(--line-2);
  font-size: 13px; font-weight: 600; color: var(--blue); border-radius: 0 0 calc(var(--r) - 1px) calc(var(--r) - 1px);
}
.sug-more:hover { background: var(--bg-2); text-decoration: none; }

.sug-empty, .sug-busy { padding: 18px 12px; text-align: center; color: var(--ink-2); font-size: 13px; }

@media (max-width: 760px) {
  .hdr-search .suggest-pop { left: -4px; right: -4px; }
}

.hdr-cart { position: relative; color: #cddaf0; padding: 8px; border-radius: var(--r-sm); display: grid; place-items: center; }
.hdr-cart:hover { background: rgba(255,255,255,.09); color: #fff; }
.cart-n {
  position: absolute; top: 1px; right: 0;
  background: var(--orange); color: #fff; font-size: 10.5px; font-weight: 700;
  min-width: 17px; height: 17px; border-radius: 999px; display: grid; place-items: center; padding: 0 4px;
}
.hdr-burger { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; border-radius: var(--r-sm); }

/* --------------------------------------------------------------- crumbs --- */
.crumbs { background: var(--bg-2); border-bottom: 1px solid var(--line); font-size: 12.8px; }
.crumbs .wrap { display: flex; gap: 8px; align-items: center; padding-top: 11px; padding-bottom: 11px; flex-wrap: wrap; }
.crumbs a { color: var(--ink-2); }
.crumbs span[aria-hidden] { color: var(--ink-3); }
.crumbs span[aria-current] { color: var(--ink); font-weight: 600; }

/* ----------------------------------------------------------------- hero --- */
.hero {
  background:
    radial-gradient(900px 420px at 82% -8%, rgba(40,110,235,.30), transparent 62%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; padding: 64px 0 68px;
}
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(29px, 4.4vw, 45px); font-weight: 700; letter-spacing: -.022em; }
.hero-lede { color: #c3d3ec; font-size: 16.5px; margin-top: 15px; max-width: 44ch; }
.hero-acts { display: flex; gap: 12px; margin-top: 27px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; margin-top: 34px; flex-wrap: wrap; }
.hero-stat b { display: block; font-size: 25px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.hero-stat span { font-size: 12.3px; color: #9fb4d8; letter-spacing: .035em; text-transform: uppercase; }

/* The hero's right side is the actual product mix, drawn from the catalogue —
   a picture of what we sell beats a stock photograph of somebody else's shop. */
.hero-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.hero-tile {
  background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--r); padding: 15px 16px; color: #fff;
}
.hero-tile:hover { background: rgba(255,255,255,.13); text-decoration: none; }
.hero-tile:hover .hero-tile-ic { background: rgba(255,255,255,.22); }
.hero-tile-ic {
  width: 30px; height: 30px; border-radius: 9px; background: rgba(255,255,255,.13);
  color: #fff; display: grid; place-items: center; margin-bottom: 9px;
  transition: background .13s;
}
.hero-tile b { display: block; font-size: 14.5px; font-weight: 600; }
.hero-tile span { font-size: 12px; color: #9fb4d8; }

/* --------------------------------------------------------- hero slider --- *
   Promotional banners, entirely separate from .hero above (which stays as
   the shop's own always-on introduction). Off, or with nothing scheduled
   right now, this whole section is simply absent — no empty strip, no
   placeholder. One slide needs no JavaScript at all: it shows as a plain,
   static banner, and its CTA is a real link underneath it either way. */
.hero-slider {
  position: relative; overflow: hidden; background: var(--navy);
  height: clamp(260px, 38vw, 480px);
}
.hero-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .7s ease, transform .7s ease;
}
.hero-slide.on { opacity: 1; visibility: visible; z-index: 1; }
.anim-slide .hero-slide { transform: translateX(18px); }
.anim-slide .hero-slide.on { transform: translateX(0); }
.hero-slide picture, .hero-slide img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-slide::after {
  /* A photograph under white text needs help on its left edge, wherever the
     photograph itself is light. */
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,27,58,.82) 0%, rgba(11,27,58,.55) 38%, rgba(11,27,58,.08) 72%);
}
.hero-slide-in { position: relative; height: 100%; display: flex; align-items: center; z-index: 1; }
.hero-slide-copy { max-width: 46ch; }
.hs-sub {
  display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 10px;
}
.hero-slide-copy h2 {
  color: #fff; font-size: clamp(24px, 3.6vw, 38px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15;
}
.hero-slide-copy p { color: #cfdcf2; font-size: 15px; margin-top: 12px; max-width: 42ch; }
.hero-slide-copy .btn { margin-top: 20px; }

.hs-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35);
  background: rgba(11,27,58,.45); color: #fff; display: grid; place-items: center; cursor: pointer;
}
.hs-arrow:hover { background: rgba(11,27,58,.7); }
.hs-prev { left: 16px; } .hs-next { right: 16px; }

.hs-dots { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.hs-dot {
  width: 8px; height: 8px; border-radius: 999px; border: none; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.4);
}
.hs-dot.on { background: #fff; width: 22px; border-radius: 999px; }

@media (max-width: 720px) {
  .hero-slider { height: clamp(300px, 82vw, 440px); }
  .hs-arrow { display: none; }   /* the mobile bottom nav already owns the thumb's attention */
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity .3s ease; }
  .anim-slide .hero-slide, .anim-slide .hero-slide.on { transform: none; }
}

/* --------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 17px; border-radius: var(--r-sm); border: 1px solid transparent;
  font: 600 13.8px/1 inherit; cursor: pointer; white-space: nowrap;
  transition: background .13s, border-color .13s, transform .05s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 13px 24px; font-size: 15px; }

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dk); }

.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-2); border-color: #cfd8e6; }

.btn-light { background: rgba(255,255,255,.13); color: #fff; border-color: rgba(255,255,255,.24); }
.btn-light:hover { background: rgba(255,255,255,.22); }

.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #179145; }

.btn-add { background: var(--blue-lt); color: var(--blue-dk); border-color: #cfe0fb; }
.btn-add:hover { background: #dbe8fd; }
.btn-add.in { background: var(--green-lt); color: var(--green); border-color: #c6e6d8; }

.btn[disabled] { opacity: .5; pointer-events: none; }

/* -------------------------------------------------------------- sections -- */
.sec { padding: 52px 0; }
.sec-alt { background: var(--bg-2); }
.sec-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.sec-hd h2 { font-size: 23px; font-weight: 700; display: flex; align-items: center; gap: 9px; }
/* The orange that's reserved for savings and nothing else, on the one
   heading that actually is about savings. */
.sec-flame { color: var(--orange); display: inline-flex; }
.sec-hd p { color: var(--ink-2); font-size: 14px; margin-top: 5px; }
.sec-hd a { font-size: 13.6px; font-weight: 600; white-space: nowrap; }

/* ------------------------------------------------------------ categories -- */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 13px; }
.cat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 19px 17px; display: flex; flex-direction: column; gap: 4px;
  transition: border-color .13s, box-shadow .13s, transform .13s;
}
.cat:hover { text-decoration: none; border-color: #bcd0ee; box-shadow: var(--shadow-up); transform: translateY(-2px); }
.cat-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--blue-lt); color: var(--blue-dk);
          display: grid; place-items: center; margin-bottom: 7px; }
.cat b { color: var(--navy); font-size: 14.6px; font-weight: 650; }
.cat span { color: var(--ink-3); font-size: 12.4px; }

/* ---------------------------------------------- shop-by-category grid --- *
 * The home page's "Shop by category" section only (pages/home.php) — the
 * full /categories directory and the brands strip keep the plain .cats/.cat
 * above, unchanged. Image size, fit, position, shape, card radius, gap,
 * cards-per-row and hover effect are the admin's own settings (Online Store
 * -> Settings -> Shop by Category), arriving as the CSS custom properties
 * pages/catgridcss.php serves (see that file and
 * shop_category_grid_css_vars()'s doc comment for why a whole stylesheet
 * route exists for this instead of an inline style). Every var() below
 * names a sane fallback, so the section still looks right on the one
 * request where that small stylesheet has not reached the browser yet. */
.cg-grid {
  display: grid;
  grid-template-columns: repeat(var(--cg-cols-mobile, 2), 1fr);
  gap: var(--cg-gap, 13px);
}
@media (min-width: 640px) {
  .cg-grid { grid-template-columns: repeat(var(--cg-cols-tablet, 4), 1fr); }
}
@media (min-width: 1020px) {
  .cg-grid { grid-template-columns: repeat(var(--cg-cols-desktop, 6), 1fr); }
}

.cg-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--cg-radius, 12px);
  padding: 16px 14px; display: flex; gap: 12px; text-decoration: none; min-width: 0;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.cg-card:hover {
  text-decoration: none; border-color: #bcd0ee;
  box-shadow: var(--cg-shadow-hover, none);
  transform: translateY(var(--cg-lift-y, 0));
}
.cg-card.cg-layout-vertical   { flex-direction: column; align-items: center; text-align: center; }
.cg-card.cg-layout-horizontal { flex-direction: row; align-items: center; text-align: left; }

.cg-imgwrap {
  position: relative; flex: none; overflow: hidden;
  width: var(--cg-img-w, 160px); height: var(--cg-img-h, 160px);
  max-width: 100%;
  border-radius: var(--cg-img-radius, 10px);
  /* Skeleton: a soft shimmer sits behind every image from the first paint.
     A lazy-loaded <img> is transparent until it actually loads, so the
     shimmer shows through until then and is simply painted over once the
     picture arrives — no JS, no "loaded" class to toggle. */
  background: linear-gradient(100deg, var(--bg-3) 28%, var(--line-2) 45%, var(--bg-3) 62%);
  background-size: 200% 100%;
  animation: cg-shimmer 1.6s ease-in-out infinite;
}
.cg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: var(--cg-img-fit, cover); object-position: var(--cg-img-pos, center);
  transition: transform .25s ease;
}
.cg-card:hover .cg-img { transform: scale(var(--cg-zoom-scale, 1)); }

.cg-icwrap {
  display: grid; place-items: center; background: var(--blue-lt); color: var(--blue-dk);
}

.cg-badge {
  position: absolute; top: 6px; left: 6px; background: var(--blue); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 999px; line-height: 1.6;
}

.cg-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cg-layout-vertical .cg-body { align-items: center; }
.cg-name { color: var(--navy); font-size: 14.6px; font-weight: 650; overflow-wrap: anywhere; }
.cg-count { color: var(--ink-3); font-size: 12.4px; }

@keyframes cg-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ----------------------------------------------------------------- grid --- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); gap: 17px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .13s, box-shadow .13s, transform .13s;
}
.card:hover { border-color: #c6d5ec; box-shadow: var(--shadow-up); transform: translateY(-2px); }

.card-img {
  position: relative; display: block; aspect-ratio: 4 / 3;
  background: var(--bg-3); overflow: hidden;
}
.card-img picture { display: block; width: 100%; height: 100%; }
.card-img img { width: 100%; height: 100%; object-fit: contain; padding: 13px; }
.card-img .ph { position: absolute; inset: 0; display: grid; place-items: center; color: #b6c2d6; }

.tag-off {
  position: absolute; top: 9px; left: 9px;
  background: var(--orange); color: #fff; font-size: 11.3px; font-weight: 700;
  padding: 3px 8px; border-radius: 999px; letter-spacing: .01em;
}

.card-b { padding: 14px 15px 15px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card-cat { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.card-name { font-size: 14.6px; font-weight: 650; line-height: 1.35; }
.card-name a { color: var(--navy); }
.card-sub {
  color: var(--ink-2); font-size: 12.7px; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 4px; }
.card-price strong { font-size: 18.5px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.card-price strong.ask { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.card-price s { color: var(--ink-3); font-size: 13px; font-variant-numeric: tabular-nums; }

.card-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.pill { font-size: 11.2px; font-weight: 600; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.pill-ok    { background: var(--green-lt); color: var(--green); }
.pill-warn  { background: var(--amber-lt); color: var(--amber); }
.pill-no    { background: #fdeaea; color: #a5262a; }
.pill-info  { background: var(--blue-lt); color: var(--blue-dk); }
.pill-plain { background: var(--grey-lt); color: var(--ink-2); }

.card-act { display: grid; grid-template-columns: 1fr auto; gap: 7px; margin-top: 3px; }
.card-act .btn { padding: 8px 12px; font-size: 13px; }

/* --------------------------------------------------------------- filters -- */
.lay { display: grid; grid-template-columns: 236px 1fr; gap: 30px; align-items: start; }

.side { position: sticky; top: 86px; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin-bottom: 13px; }
.side-box h3 { font-size: 12.4px; font-weight: 700; letter-spacing: .055em; text-transform: uppercase;
               color: var(--ink-3); margin-bottom: 11px; }
.side-list li { margin-bottom: 1px; }
.side-list a {
  display: flex; justify-content: space-between; gap: 8px; align-items: center;
  padding: 7px 9px; border-radius: var(--r-sm); color: var(--ink); font-size: 13.5px;
}
.side-list a:hover { background: var(--bg-2); text-decoration: none; }
.side-list a.on { background: var(--blue-lt); color: var(--blue-dk); font-weight: 650; }
.side-list .n { color: var(--ink-3); font-size: 11.8px; font-variant-numeric: tabular-nums; }
.side-list a.on .n { color: var(--blue-dk); }

.f-row { display: flex; gap: 8px; align-items: center; }
.f-row input {
  width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-sm);
  font: inherit; font-size: 13.3px; color: var(--ink); background: #fff;
}
.f-row input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-lt); }
.f-check { display: flex; align-items: center; gap: 9px; font-size: 13.4px; cursor: pointer; padding: 5px 0; }
.f-check input { width: 16px; height: 16px; accent-color: var(--blue); }

.bar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-bottom: 18px; flex-wrap: wrap;
}
.bar-n { color: var(--ink-2); font-size: 13.5px; }
.bar-n strong { color: var(--navy); }
.bar select {
  padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-sm);
  font: inherit; font-size: 13.3px; background: #fff; color: var(--ink); cursor: pointer;
}
.bar select:focus { outline: none; border-color: var(--blue); }

.chips { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue-lt); color: var(--blue-dk); border-radius: 999px;
  padding: 5px 11px; font-size: 12.6px; font-weight: 600;
}
.chip:hover { text-decoration: none; background: #dbe8fd; }

/* --------------------------------------------------------------- product -- */
.pd { display: grid; grid-template-columns: 1.02fr 1fr; gap: 42px; padding: 34px 0 12px; align-items: start; }

.pd-gal { position: sticky; top: 86px; }
.pd-main {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--r-lg);
  aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; position: relative;
}
.pd-main picture { display: block; width: 100%; height: 100%; }
.pd-main img { width: 100%; height: 100%; object-fit: contain; padding: 26px; }
.pd-main .ph { color: #b6c2d6; display: grid; place-items: center; gap: 10px; font-size: 13px; }
.pd-thumbs { display: flex; gap: 9px; margin-top: 11px; flex-wrap: wrap; }
.pd-thumb {
  width: 66px; height: 66px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg-3); padding: 5px; cursor: pointer; overflow: hidden;
  transition: border-color .13s;
}
.pd-thumb:hover { border-color: #bcd0ee; }
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumb.on, .pd-thumb.on:hover { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue-lt); }

.pd-cat { font-size: 11.4px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.pd h1 { font-size: clamp(22px, 3vw, 30px); font-weight: 700; margin: 7px 0 9px; }
.pd-brand { color: var(--ink-2); font-size: 14px; }
.pd-brand b { color: var(--ink); }

.pd-price { display: flex; align-items: baseline; gap: 10px; margin: 20px 0 6px; flex-wrap: wrap; }
.pd-price .lbl { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
                  color: var(--ink-3); align-self: center; }
.pd-price .lbl:not(:first-child) { margin-left: 4px; }
.pd-price .now { font-size: 31px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.pd-price .was { font-size: 16px; color: var(--ink-3); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.pd-price .off { background: var(--orange-lt); color: var(--orange); font-size: 12.6px; font-weight: 700;
                 padding: 4px 10px; border-radius: 999px; flex-basis: 100%; }
.pd-tax { color: var(--ink-3); font-size: 12.4px; }

.pd-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 17px 0; }
.pd-acts { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 8px; align-items: center; }
.pd-acts .btn { flex: 1 1 auto; min-width: 150px; }

/* --------------------------------------------------------------- share --- *
 * The product page's Share button (pd-acts, alongside WhatsApp/Call) and its
 * desktop popover of networks — see js/shop.js's own "share" section for the
 * behaviour: native navigator.share() on a narrow viewport, this popover
 * everywhere else. .share-wrap takes over the .pd-acts .btn sizing rule
 * above because the button itself is no longer a direct flex child once it
 * is wrapped (needed so the popover can anchor to it with position:relative). */
.share-wrap { position: relative; flex: 1 1 auto; min-width: 150px; }
.share-wrap .btn { width: 100%; }
.share-pop {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 80;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-up); padding: 6px; min-width: 196px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; transform: translateY(-4px); pointer-events: none;
  transition: opacity .14s, transform .14s;
}
.share-pop.on { opacity: 1; transform: translateY(0); pointer-events: auto; }
.share-opt {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--r-sm);
  color: var(--ink); font-size: 13.8px; font-weight: 550; text-decoration: none;
  background: none; border: none; width: 100%; text-align: left; cursor: pointer;
  font-family: inherit;
}
.share-opt:hover { background: var(--bg-2); text-decoration: none; }
.share-opt svg { flex: none; color: var(--ink-2); }
@media (max-width: 480px) {
  .share-pop { left: auto; right: 0; }
}

/* ------------------------------------------------------- quantity stepper --
   Used on the product page (nothing stored until "Add" is pressed) and on
   each enquiry-list row (writes straight to storage on every change) — see
   js/shop.js. Same three controls, same look, wherever it appears. */
.qty-step {
  display: inline-flex; align-items: stretch; border: 1px solid var(--line); border-radius: var(--r-sm);
  overflow: hidden; flex: none; height: 42px;
}
.qty-step button {
  width: 36px; border: 0; background: var(--bg-2); color: var(--navy); font-size: 17px; font-weight: 700;
  cursor: pointer; line-height: 1;
}
.qty-step button:hover { background: var(--bg-3); }
.qty-step input {
  width: 42px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  text-align: center; font: inherit; font-variant-numeric: tabular-nums; font-weight: 650; color: var(--ink);
  -moz-appearance: textfield;
}
.qty-step input::-webkit-outer-spin-button, .qty-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pd-note {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 13px 15px; font-size: 13px; color: var(--ink-2); margin-top: 16px;
}
.pd-note strong { color: var(--ink); }

.pd-sec { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.pd-sec h2 { font-size: 16px; font-weight: 650; margin-bottom: 11px; }
.pd-desc { color: var(--ink-2); font-size: 14.2px; line-height: 1.72; white-space: pre-line; }

.spec { width: 100%; border-collapse: collapse; font-size: 13.6px; }
.spec th, .spec td { text-align: left; padding: 10px 13px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.spec th { color: var(--ink-3); font-weight: 600; width: 40%; }
.spec td { color: var(--ink); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }

/* --------------------------------------------------------------- enquiry -- */
.enq { max-width: 780px; margin: 0 auto; }
.enq-item {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 15px; align-items: center;
  padding: 15px 0; border-bottom: 1px solid var(--line-2);
}
.enq-img { width: 72px; height: 72px; background: var(--bg-3); border-radius: var(--r-sm); overflow: hidden;
           display: grid; place-items: center; flex: none; }
.enq-img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.enq-info { min-width: 0; }
.enq-nm { font-weight: 650; color: var(--navy); font-size: 14.4px; }
.enq-sub { color: var(--ink-2); font-size: 12.6px; margin-top: 2px; display: block; }
.enq-price { display: block; margin-top: 4px; font-variant-numeric: tabular-nums; }
.enq-price .enq-mrp { color: var(--ink-3); text-decoration: line-through; font-size: 12.6px; margin-right: 6px; }
.enq-price b { color: var(--navy); font-size: 15px; }
.enq-price .enq-each { color: var(--ink-3); font-size: 12px; margin-left: 4px; }
.enq-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.enq-rm { background: none; border: 0; color: var(--ink-3); cursor: pointer; padding: 8px; border-radius: var(--r-sm); font: inherit; font-size: 13px; }
.enq-rm:hover { background: #fdeaea; color: #a5262a; }
.enq-foot { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.enq-foot-sub { margin-top: 12px; }

.enq-summary {
  margin-top: 18px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 14px 18px; display: flex; flex-direction: column; gap: 8px; max-width: 340px; margin-left: auto;
}
.enq-summary > div { display: flex; justify-content: space-between; gap: 12px; font-size: 13.6px; color: var(--ink-2); }
.enq-summary b { font-variant-numeric: tabular-nums; color: var(--ink); }
.enq-summary .save b { color: var(--green, #1a7f4b); }
.enq-summary .total { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 2px; }
.enq-summary .total span, .enq-summary .total b { font-size: 16px; font-weight: 700; color: var(--navy); }

.enq-card {
  margin-top: 26px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
}
.enq-card h3 { font-size: 16px; font-weight: 650; margin-bottom: 6px; }
.enq-card > p { color: var(--ink-2); font-size: 13.2px; line-height: 1.6; margin-bottom: 16px; }
.enq-card .field-grid { display: flex; flex-direction: column; gap: 16px; max-width: 460px; }
.enq-card .field label {
  display: block; font-size: 13.4px; font-weight: 650; color: var(--navy); margin-bottom: 6px;
}
.enq-card .field .req { color: #c0392b; }
.enq-card .field input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm);
  font: inherit; font-size: 15px; color: var(--ink); background: #fff; min-height: 46px;
}
.enq-card .field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-lt); }
.enq-card .field input[aria-invalid="true"] { border-color: #c0392b; }
.enq-card .field input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(192,57,43,.15); }
.f-err { display: block; margin-top: 6px; font-size: 12.6px; color: #a5262a; }

/* ------------------------------------------------------------------ cta --- */
.cta { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 42px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: 21px; font-weight: 650; }
.cta p { color: #c3d3ec; font-size: 14.3px; margin-top: 6px; max-width: 52ch; }

/* -------------------------------------------------------------- why us ---- */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 15px; }
.why-i {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 19px;
  transition: border-color .13s, box-shadow .13s, transform .13s;
}
.why-i:hover { border-color: #bcd0ee; box-shadow: var(--shadow-up); transform: translateY(-2px); }
.why-i .ic { width: 34px; height: 34px; border-radius: 9px; background: var(--blue-lt); color: var(--blue-dk);
             display: grid; place-items: center; margin-bottom: 11px; }
.why-i b { display: block; color: var(--navy); font-size: 14.6px; font-weight: 650; margin-bottom: 4px; }
.why-i span { color: var(--ink-2); font-size: 13.1px; line-height: 1.55; }

/* --------------------------------------------------------------- footer --- */
.foot { background: var(--navy); color: #a9bcd9; padding: 44px 0 0; margin-top: 60px; }
/* The call to action is already dark and full-width; a 60px white gap between
   it and the footer reads as a rendering fault rather than as breathing room. */
.cta + .foot { margin-top: 0; }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 34px; }
.foot-brand { color: #fff; font-size: 16.5px; font-weight: 700; margin-bottom: 9px; }
.foot-about p { font-size: 13.4px; line-height: 1.65; max-width: 40ch; }
.foot-addr { margin-top: 11px !important; color: #8ea4c6; }
.foot-addr a { color: #9fc0f5; margin-left: 8px; }
.foot h4 { color: #fff; font-size: 12.4px; font-weight: 700; letter-spacing: .06em;
           text-transform: uppercase; margin-bottom: 13px; }
.foot ul li { margin-bottom: 8px; }
.foot ul a { color: #a9bcd9; font-size: 13.4px; }
.foot ul a:hover { color: #fff; }
.foot ul .ico-link { display: inline-flex; align-items: center; gap: 7px; }
.foot ul .ico-link svg { flex: none; opacity: .8; }
.foot-hours { font-size: 12.7px; color: #8ea4c6; margin-top: 12px; }
.foot-btm {
  border-top: 1px solid rgba(255,255,255,.11); padding: 17px 20px; font-size: 12.3px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #8ea4c6;
}

/* ------------------------------------------------------------- mobile bar - */
.mobar { display: none; }

/* ---------------------------------------------------------------- empty --- */
.empty { text-align: center; padding: 54px 20px; }
.empty h3 { font-size: 17px; margin-bottom: 7px; }
.empty p { color: var(--ink-2); font-size: 14px; max-width: 46ch; margin: 0 auto; }

.pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 34px; }
.pager-at { color: var(--ink-2); font-size: 13.3px; }

/* ---------------------------------------------------------------- toast --- */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(12px);
  background: var(--navy); color: #fff; padding: 11px 19px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow-up);
  opacity: 0; transition: opacity .18s, transform .18s; z-index: 90; pointer-events: none;
}
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ------------------------------------------------------------ plain page -- */
.shop-plain { display: grid; place-items: center; min-height: 100vh; background: var(--bg-2); }
.plain-wrap { text-align: center; padding: 40px 24px; max-width: 460px; }
.plain-mark { font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
              color: var(--ink-3); margin-bottom: 18px; }
.plain-wrap h1 { font-size: 23px; margin-bottom: 10px; }
.plain-wrap p { color: var(--ink-2); margin-bottom: 22px; }
.plain-sub { margin-top: 16px !important; font-size: 13.5px; }

/* =========================================================== responsive == */
/* The category links leave the bar one at a time as it narrows, rather than
   the bar wrapping onto a second line. Home, All Products and Contact stay,
   so every category is still two clicks away at any width, and the burger
   menu below 860px carries the whole list. */
@media (max-width: 1180px) { .nav .nav-cat:nth-child(n+5) { display: none; } }
@media (max-width: 1060px) { .nav .nav-cat:nth-child(n+4) { display: none; } }
@media (max-width:  940px) { .nav .nav-cat:nth-child(n+3) { display: none; } }
/* The tagline under the name is decorative, and it is 30 characters long.
   Below a laptop it is what is costing the navigation its categories. */
@media (max-width: 1100px) { .brand-txt em { display: none; } }

@media (max-width: 1040px) {
  .hero-in { grid-template-columns: 1fr; gap: 32px; }
  .lay { grid-template-columns: 1fr; }
  .side { position: static; }
  .side-box { margin-bottom: 12px; }
  .pd { grid-template-columns: 1fr; gap: 28px; }
  .pd-gal { position: static; }
  .foot-in { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 860px) {
  .hdr-in { grid-template-columns: 1fr auto auto; min-height: 60px; gap: 10px; }
  .hdr-burger { display: grid; order: 3; }
  .hdr-cart { order: 2; }
  .hdr-search { order: 4; grid-column: 1 / -1; padding-bottom: 11px; }
  .hdr-search input { width: 100%; }
  .nav {
    order: 5; grid-column: 1 / -1; display: none;
    flex-direction: column; gap: 1px; padding-bottom: 12px;
    border-top: 1px solid rgba(255,255,255,.1); padding-top: 10px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 11px 12px; }
  /* The burger menu is a list, not a bar, so nothing has to step out of it.
     Written with :nth-child so it outranks the three rules above, which hide
     categories by position. */
  .nav .nav-cat:nth-child(n+1) { display: block; }

  .sec { padding: 38px 0; }
  .hero { padding: 44px 0 48px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .card-b { padding: 11px 12px 12px; gap: 6px; }
  .card-name { font-size: 13.6px; }
  .card-price strong { font-size: 16.5px; }
  .card-act { grid-template-columns: 1fr; }
  .cats { grid-template-columns: repeat(auto-fill, minmax(142px, 1fr)); gap: 10px; }
  .foot { margin-bottom: 58px; }

  /* The bottom bar is how a phone actually gets used: thumb at the bottom,
     the four things anybody came for, always reachable. */
  .mobar {
    display: grid; grid-template-columns: repeat(4, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: #fff; border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -2px 14px rgba(11,27,58,.07);
  }
  .mobar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    padding: 9px 4px 8px; color: var(--ink-2); font-size: 10.6px; font-weight: 600; position: relative;
  }
  .mobar a:hover { text-decoration: none; color: var(--blue); }
  .mobar .cart-n { top: 4px; right: 50%; margin-right: -20px; }

  /* The enquiry list's customer-details form and its WhatsApp button are the
     one flow on the whole site closest to a checkout — full-width controls,
     stacked, so a thumb never has to aim. */
  .enq-summary { max-width: none; }
  .enq-card .field-grid { max-width: none; }
  .enq-foot { flex-direction: column; align-items: stretch; }
  .enq-foot .btn { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 14px; }
  /* The tagline wraps to two lines on a phone and makes the bar 20px taller
     for no gain — the hero says the same thing immediately below it. */
  .brand-txt em { display: none; }
  .brand-mark { width: 34px; height: 34px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero-stats { gap: 20px; }
  .foot-in { grid-template-columns: 1fr; gap: 24px; }
  .enq-item { grid-template-columns: 56px 1fr; grid-template-areas: "img info" "actions actions"; gap: 8px 11px; }
  .enq-img { width: 56px; height: 56px; grid-area: img; }
  .enq-info { grid-area: info; }
  .enq-actions { grid-area: actions; justify-content: space-between; }
  .enq-summary { max-width: none; margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .card:hover, .cat:hover { transform: none; }
  .cg-card:hover, .cg-card:hover .cg-img { transform: none; }
}

@media print {
  .hdr, .foot, .cta, .mobar, .toast, .card-act, .pd-acts, .side { display: none !important; }
  body { background: #fff; }
}

/* ==========================================================================
   UTILITIES

   A handful of classes rather than inline style attributes. Not tidiness:
   the shop's Content Security Policy is style-src 'self' with no
   'unsafe-inline', which means a style attribute does not apply — and that
   strictness is worth keeping, because it is one more thing an injected
   fragment cannot do. The CRM cannot manage this (several hundred inline
   styles); a shop of nine pages can.
   ========================================================================== */
.u-full      { width: 100%; }
.u-mt-sm     { margin-top: 8px; }
.u-mt        { margin-top: 18px; }
.u-mt-lg     { margin-top: 24px; }
.u-mb        { margin-bottom: 11px; }
.u-center    { text-align: center; }
.u-plain     { text-decoration: none; }
.u-dim       { color: var(--ink-3); }
.u-faint     { opacity: .65; }
.u-row-c     { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.u-chips-c   { justify-content: center; margin-top: 20px; }
.u-ask       { font-size: 20px; }
.u-wa-ic     { background: #e6f6ec; color: var(--wa); }
.u-why-wide  { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.f-select {
  width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-sm);
  font: inherit; font-size: 13.3px; margin-bottom: 16px; background: #fff; color: var(--ink);
}
.f-select:focus { outline: none; border-color: var(--blue); }

.search-form { display: flex; gap: 9px; max-width: 560px; margin-bottom: 26px; }
.search-form input {
  flex: 1; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--r-sm);
  font: inherit; font-size: 14.5px; color: var(--ink); background: #fff;
}
.search-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-lt); }

/* A brand has no icon, so it wears its initial. Same tile, same size. */
.cat-ic-txt { font-weight: 800; font-size: 16px; line-height: 1; }

/* The brand leads the card's eyebrow line, so it reads at a glance. */
.card-cat b { color: var(--ink-2); font-weight: 700; }

/* ==========================================================================
   Legal Pages (Privacy Policy / Terms of Service) — rendered content.

   These class names are shared VERBATIM with ../../css/style.css (the CRM's
   own stylesheet) — see that file's matching comment. The sanitizer in
   includes/legalpages.php outputs one of the legal-ta-*/legal-lh-* class
   names instead of an inline `style`, specifically because this shop's own
   CSP (style-src 'self', no unsafe-inline — shop/lib/boot.php) drops an
   inline style attribute silently. Change one side, change both.
   ========================================================================== */
.legal-ta-center{text-align:center}
.legal-ta-right{text-align:right}
.legal-ta-justify{text-align:justify}
.legal-lh-tight{line-height:1.15}
.legal-lh-loose{line-height:1.75}
.legal-lh-double{line-height:2}

.legal-body{line-height:1.7;font-size:15px;color:var(--ink-2);max-width:760px}
.legal-body h1{font-size:26px;margin:0 0 16px;color:var(--ink)}
.legal-body h2{font-size:19px;margin:26px 0 10px;color:var(--ink)}
.legal-body h3{font-size:16px;margin:18px 0 8px;color:var(--ink)}
.legal-body h4{font-size:15px;margin:16px 0 6px;color:var(--ink)}
.legal-body p{margin:0 0 14px}
.legal-body ul,.legal-body ol{margin:0 0 14px;padding-left:24px}
.legal-body li{margin-bottom:5px}
.legal-body a{color:var(--blue);text-decoration:underline}
.legal-body table{border-collapse:collapse;width:100%;margin:0 0 16px}
.legal-body th,.legal-body td{border:1px solid var(--line);padding:8px 11px;text-align:left;font-size:14px}
.legal-body th{background:var(--bg-2);font-weight:600}
.legal-body blockquote{margin:0 0 14px;padding:9px 16px;border-left:3px solid var(--line);color:var(--ink-3)}
.legal-body hr{border:none;border-top:1px solid var(--line);margin:20px 0}
.legal-updated{font-size:13px;color:var(--ink-3);margin-bottom:22px}
