/* ═══════════════════════════════════════════════════════════════════
   Koushik Gold — inner pages (catalogue, visit us, contact)
   Inherits every design token from styles.css. Unlike the home page,
   these pages are flow-based and fluid at every width.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Page shell (overrides the home page's fixed canvas) ─────────── */
.page--flow {
  width: 100%;
  height: auto;
  max-width: none;
  transform: none;
  overflow: visible;
  background: var(--white);
}
.page--flow .stage { height: auto; }

/* header + footer are static on inner pages, not canvas-positioned */
.page--flow .hdr,
.page--flow .ftr,
.page--flow .copyright {
  position: relative; left: auto; top: auto;
  width: 100%; height: auto;
}

.page--flow .hdr {
  display: flex; align-items: center;
  height: 100px; padding: 0 clamp(16px, 3vw, 48px);
  opacity: 1; animation: none;
  position: sticky; top: 0; z-index: 80;
  box-shadow: 0 1px 0 rgba(3, 30, 36, .07);
}
/* `relative`, not `static`: the two logo images inside are absolutely
   positioned, so the link has to stay their containing block. Left static
   they escape and anchor to the sticky .hdr instead, pinning the logo to
   the header's top-left corner. */
.page--flow .hdr__logo {
  position: relative; left: auto; top: auto;
  flex: 0 0 auto; margin-right: auto;
}
.page--flow .nav { position: static; width: auto; }
.page--flow .search { position: static; margin: 0 0 0 clamp(12px, 2vw, 34px); flex: 0 0 234px; }
.page--flow .btn-enquire { position: static; margin-left: clamp(12px, 1.6vw, 22px); flex: 0 0 auto; }
/* mega-menu hangs off the header, centred on the page */
.page--flow .mega {
  left: 50%; top: 100%;
  transform: translateX(-50%) translateY(-10px);
  width: min(1100px, calc(100vw - 48px));
}
.page--flow .mega.is-open { transform: translateX(-50%) translateY(0); }

/* ── Footer (flow variant used on every inner page) ─────────────── */
.ftr--flow {
  position: relative; left: auto; top: auto;
  width: 100%; height: auto; min-height: 0;
  padding: clamp(38px, 5vw, 58px) 0 clamp(32px, 4vw, 46px);
  background: linear-gradient(90deg, #033d41 0%, #035561 50%, #045a68 100%);
  color: var(--white);
  overflow: hidden;
}
.ftr--flow .ftr__inner {
  width: 100%; max-width: 1320px; margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px);
  display: grid; gap: clamp(22px, 2.4vw, 38px);
  grid-template-columns: 190px minmax(210px, 1.3fr) repeat(3, minmax(0, 1fr));
  align-items: start;
}
.ftr--flow .ftr__brand {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center;
}
/* Desktop-only: the home page never shows a footer logo (its own
   .ftr__logo-mob stays display:none at this width), so this only
   touches the inner-page (.ftr--flow) footer brand mark. */
.ftr--flow .ftr__brand img { width: 120px; height: 80px; object-fit: contain; }
.ftr--flow .ftr__brand span {
  font: 500 15px/1 var(--sans); letter-spacing: 2.4px; color: #fff;
}
.ftr--flow .ftr__col { min-width: 0; }
.ftr--flow .ftr__head {
  position: static; left: auto; top: auto;
  margin-bottom: 14px;
  font: 500 17px/1.2 var(--sans);
  color: var(--gold);
  text-decoration: underline; text-underline-offset: 4px;
  white-space: normal;
}
.ftr--flow .ftr__addr {
  position: static; width: auto;
  font: 400 15px/1.7 var(--sans); color: var(--white);
  margin-bottom: 0;
}
.ftr--flow .ftr__row {
  position: static; left: auto; top: auto;
  display: flex; align-items: flex-start; gap: 12px;
  height: auto; margin-top: 20px;   /* one 20px rhythm for address, phone and email */
  font: 400 15px/1.6 var(--sans);
}
.ftr--flow .ftr__row svg { flex: 0 0 20px; margin-top: 2px; }
/* the address carries the same pin/gap treatment as the phone and email
   rows, so all three lines start on one edge in this footer too */
.ftr--flow .ftr__addr {
  display: flex; align-items: flex-start; gap: 12px;
  font: 400 15px/1.6 var(--sans);
}
.ftr--flow .ftr__addr svg { flex: 0 0 20px; margin-top: 2px; }
.ftr--flow .ftr__addr span { margin-left: 0; }
.ftr--flow .ftr__row a { margin-left: 0; white-space: normal; }
/* the flow footer spaces the row with gap, so the icon offset is not needed */
.ftr--flow .ftr__row > .ftr__nums { margin-left: 0; white-space: normal; }
.ftr--flow .ftr__list { position: static; left: auto; top: auto; width: auto; }
.ftr--flow .ftr__list li { height: auto; margin-bottom: 9px; }
.ftr--flow .ftr__list a { line-height: 1.5; white-space: normal; }
.ftr--flow .ftr__social {
  position: static; left: auto; top: auto;
  display: flex; gap: 12px; width: auto; height: auto;
}
.ftr--flow .soc { position: static; left: auto; }

.page--flow .copyright {
  position: relative; left: auto; top: auto;
  width: 100%; height: auto; padding: 18px 20px;
}
.page--flow .copyright p {
  position: static; left: auto; top: auto; white-space: normal;
}

@media (max-width: 860px) {
  .ftr--flow .ftr__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr--flow .ftr__brand { align-items: flex-start; text-align: left; grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .ftr--flow .ftr__inner { grid-template-columns: minmax(0, 1fr); }
}

/* ── Layout primitives ──────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px);
}

/* ── Breadcrumbs ────────────────────────────────────────────────── */
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  /* it is an <ol>: clear the UA's list padding and markers so the trail
     starts flush with the page title and the sidebar below it */
  list-style: none;
  padding: 0;
  margin: 26px 0 4px;
  font: 400 15px/1.4 var(--sans);
  color: var(--muted);
}
.crumbs li { display: flex; align-items: center; gap: 8px; }
.crumbs li + li::before {
  content: '›'; color: var(--gold-line); font-size: 17px; line-height: 1;
}
.crumbs a { color: var(--teal); transition: color .2s var(--ease-out); }
.crumbs a:hover { color: var(--gold-line); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current="page"] span { color: var(--ink); }

/* ── Page head ──────────────────────────────────────────────────── */
.phead { padding: 10px 0 26px; }
.phead__eyebrow {
  font: 400 clamp(15px, 1.4vw, 18px)/1.3 var(--sans);
  letter-spacing: .9px; color: var(--gold-label);
  margin-bottom: 6px;
}
.phead__title {
  font: 600 clamp(30px, 4.2vw, 46px)/1.15 var(--serif);
  color: var(--ink);
}
.phead__sub {
  margin-top: 12px; max-width: 62ch;
  font: 400 clamp(15px, 1.3vw, 17px)/1.6 var(--sans);
  color: var(--muted);
}
.phead__count {
  margin-top: 14px;
  font: 500 14px/1 var(--sans);
  letter-spacing: .5px; color: var(--teal);
}
/* shown only while a search term is active, so the shopper can undo it */
.phead__clear {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 12px; padding: 7px 14px;
  border: 1px solid var(--hairline); border-radius: 999px;
  background: #fff; cursor: pointer;
  font: 500 13px/1 var(--sans); letter-spacing: .3px; color: var(--muted);
  transition: border-color .25s var(--ease-out), color .25s var(--ease-out),
              background .25s var(--ease-out);
}
.phead__clear span { font-size: 15px; line-height: 1; }
.phead__clear:hover { border-color: var(--teal); color: var(--teal); background: #f7fbfb; }
.phead__clear:focus-visible { outline: 2px solid var(--menu-accent); outline-offset: 2px; }
.phead__clear[hidden] { display: none; }

/* ── Catalogue layout ───────────────────────────────────────────── */
.catalogue {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  gap: clamp(22px, 3vw, 46px);
  align-items: start;
  padding-bottom: 72px;
}

/* ── Filter sidebar ─────────────────────────────────────────────── */
.filters {
  position: sticky; top: 124px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 20px 18px 12px;
  background: #fff;
}
.filters__title {
  font: 600 22px/1.2 var(--serif);
  color: var(--ink);
  margin-bottom: 16px;
}
.fgroup { border-top: 1px solid #eef2f3; padding: 12px 0 4px; }
.fgroup:first-of-type { border-top: 0; padding-top: 0; }
.fgroup__head {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 4px 0 10px;
  font: 500 15px/1.2 var(--sans);
  color: var(--menu-accent);
  letter-spacing: .3px;
}
.fgroup__chev {
  width: 8px; height: 8px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(225deg) translate(-2px, -2px);
  transition: transform .28s var(--ease-out);
}
.fgroup[data-open="false"] .fgroup__chev { transform: rotate(45deg) translate(-1px, -1px); }
.fgroup__list {
  display: grid;
  /* every <li> lands in its own implicit row, so the collapse has to size the
     implicit tracks too — grid-template-rows alone only ever closed the first
     option and left the rest of the list holding the panel open */
  grid-template-rows: 1fr;
  grid-auto-rows: 1fr;
  transition: grid-template-rows .3s var(--ease-out),
              grid-auto-rows .3s var(--ease-out),
              opacity .25s var(--ease-out);
  overflow: hidden;
  /* the row tracks animate layout every frame; containment keeps that work
     inside this list instead of reflowing the whole catalogue page */
  contain: layout paint;
}
.fgroup[data-open="false"] .fgroup__list {
  grid-template-rows: 0fr; grid-auto-rows: 0fr; opacity: 0;
}
.fgroup__list > li { min-height: 0; }
.fgroup[data-open="false"] .fgroup__list > li { visibility: hidden; }

.fopt {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 2px; cursor: pointer;
  font: 400 14px/1.35 var(--sans);
  color: var(--ink);
  transition: color .18s var(--ease-out);
}
.fopt:hover { color: var(--menu-accent); }
.fopt input { position: absolute; opacity: 0; width: 0; height: 0; }
.fopt__box {
  flex: 0 0 15px; width: 15px; height: 15px;
  border: 1.5px solid #b9c6c9; border-radius: 3px;
  position: relative;
  transition: background .2s var(--ease-out), border-color .2s var(--ease-out);
}
.fopt input:checked + .fopt__box {
  background: var(--teal); border-color: var(--teal);
}
.fopt input:checked + .fopt__box::after {
  content: ''; position: absolute; left: 4px; top: 1px;
  width: 4px; height: 8px;
  border-right: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(42deg);
}
.fopt input:focus-visible + .fopt__box {
  outline: 2px solid var(--menu-accent); outline-offset: 2px;
}
.fopt__label { flex: 1 1 auto; }
.fopt__n {
  font-size: 12px; color: #9aa9ac;
  font-variant-numeric: tabular-nums;
}
.fopt.is-empty { opacity: .42; }

/* mobile: filters collapse into a disclosure above the grid */
.filters__toggle { display: none; }

/* ── Product grid ───────────────────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: clamp(18px, 2.2vw, 30px) clamp(14px, 1.8vw, 26px);
}
.grid.is-empty { display: block; }

.pcard {
  position: relative;   /* anchors the round "add to enquiry" control */
  display: flex; flex-direction: column;
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity .6s var(--ease-out) var(--rv-delay, 0ms),
    transform .6s var(--ease-out) var(--rv-delay, 0ms);
}
.pcard.is-in { opacity: 1; transform: none; }

.pcard__media {
  position: relative; display: block;
  /* taller than 4:5 so full-length harams and low-hanging pendants fit
     inside the card instead of being cut off at the bottom */
  aspect-ratio: 62 / 100;
  border-radius: 10px;
  overflow: hidden;
  background: #f1f1f0;
  box-shadow: 0 2px 10px rgba(3, 30, 36, .07);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.pcard__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out);
}
.pcard__media:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.pcard__media:hover img,
.pcard__media:focus-within img { transform: scale(1.07); }
/* promote the photo to its own layer only while the card is being hovered —
   a permanent hint would hold a compositor layer for all 55 cards at once */
.pcard__media:hover img,
.pcard__media:focus-within img { will-change: transform; }

.pcard__quick {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 11px 10px;
  background: rgba(3, 81, 93, .93);
  color: #fff; text-align: center;
  font: 500 15px/1 var(--sans);
  transform: translateY(101%);
  transition: transform .34s var(--ease-out);
}
.pcard__media:hover .pcard__quick,
.pcard__media:focus-visible .pcard__quick { transform: translateY(0); }

.pcard__body { padding: 12px 2px 0; text-align: center; }
.pcard__name {
  font: 400 16px/1.35 var(--sans);
  color: var(--ink);
}
.pcard__cat {
  margin-top: 4px;
  font: 400 13px/1.3 var(--sans);
  letter-spacing: .4px;
  color: var(--gold-label);
}

/* ── Empty state ────────────────────────────────────────────────── */
.empty {
  border: 1px dashed var(--hairline);
  border-radius: 14px;
  padding: clamp(34px, 6vw, 64px) clamp(20px, 4vw, 48px);
  text-align: center;
  background: #fcfdfd;
}
.empty svg { margin: 0 auto 18px; }
.empty h3 { font: 600 25px/1.25 var(--serif); color: var(--ink); }
.empty p {
  margin: 10px auto 0; max-width: 52ch;
  font: 400 15px/1.6 var(--sans); color: var(--muted);
}
.empty__actions {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  margin-top: 24px;
}

/* ── Buttons ────────────────────────────────────────────────────── */
.btn-solid, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 26px;
  border-radius: 6px;
  font: 500 16px/1 var(--sans); letter-spacing: .5px;
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out),
              background .28s var(--ease-out), color .28s var(--ease-out);
}
.btn-solid { background: var(--teal); color: #fff; }
.btn-solid:hover {
  background: var(--teal-deep); transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(3, 81, 93, .32);
}
.btn-ghost { border: 1px solid var(--gold-line); color: var(--ink); }
.btn-ghost:hover {
  background: var(--gold-line); color: #fff; transform: translateY(-2px);
}

/* "Send an enquiry" and "Browse the collection" sit side by side on the
   visit-us page - their natural widths (192px vs 240px, from padding
   plus their own text) made them read as mismatched. Both match the
   wider one's width here without touching .btn-solid/.btn-ghost
   anywhere else they are used. */
.visit__cta .btn-solid, .visit__cta .btn-ghost {
  min-width: 240px; text-align: center;
}

/* ── Mega-menu: wide layout for the full taxonomy ───────────────── */
.page--flow .mega,
.mega--full {
  min-height: 0;
  padding: 30px 34px 32px;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 1px 216px;
  gap: 28px;
  align-items: start;
}
.page--flow .mega__col,
.page--flow .mega__types,
.mega--full .mega__col,
.mega--full .mega__types {
  position: static; left: auto; top: auto; width: auto; min-width: 0;
}
.mega__typecols {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 18px;
}
.page--flow .mega__list,
.mega--full .mega__list { margin-top: 14px; }
.page--flow .mega__list li,
.mega--full .mega__list li {
  height: auto; padding: 5px 0; opacity: 1; transform: none; animation: none;
}
.page--flow .mega__heading,
.mega--full .mega__heading { font-size: 16px; letter-spacing: .4px; }

/* the divider and promo are canvas-positioned on the home page —
   re-flow them into the grid here */
.page--flow .mega__divider,
.mega--full .mega__divider {
  position: static; left: auto; top: auto;
  width: 1px; height: 100%; min-height: 200px;
  background: rgba(11, 124, 147, .28);
}
.page--flow .mega__promo,
.mega--full .mega__promo {
  position: static; left: auto; top: auto;
  display: block; text-align: center;
}
.mega__promo img {
  width: 100%; height: auto; aspect-ratio: 213 / 173;
  object-fit: cover; border-radius: 10px;
  transition: transform .5s var(--ease-out);
}
.mega__promo span {
  display: block; margin-top: 10px;
  font: 500 15px/1 var(--sans); color: var(--menu-accent);
}
.mega__promo:hover img { transform: scale(1.04); }

/* ── Editorial sections (Visit Us / Contact) ────────────────────── */
.sec { padding: clamp(34px, 5vw, 62px) 0; }
.sec--tint { background: #fafbfb; }
.sec__title {
  font: 600 clamp(26px, 3.2vw, 36px)/1.2 var(--serif);
  color: var(--ink); margin-bottom: 8px;
}
.sec__lede {
  max-width: 62ch; margin-bottom: 26px;
  font: 400 16px/1.65 var(--sans); color: var(--muted);
}
.cols {
  display: grid; gap: clamp(20px, 3vw, 40px);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.infocard {
  border: 1px solid var(--hairline);
  border-radius: 12px; padding: 24px 22px;
  background: #fff;
}
.infocard h3,
.infocard h2 {
  font: 500 17px/1.3 var(--sans); color: var(--menu-accent);
  margin-bottom: 10px; letter-spacing: .3px;
}
.infocard p, .infocard address {
  font: 400 16px/1.7 var(--sans); color: var(--ink);
}
.cols--form { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
@media (max-width: 860px) {
  .cols--form { grid-template-columns: minmax(0, 1fr); }
}
.infocard a { color: var(--teal); overflow-wrap: anywhere; }
.infocard p, .infocard address { overflow-wrap: anywhere; }
.ftr--flow .ftr__row a { overflow-wrap: anywhere; }

.infocard a:hover { color: var(--gold-line); text-decoration: underline; text-underline-offset: 3px; }
.map-embed {
  width: 100%; aspect-ratio: 16/7; min-height: 260px;
  border: 0; border-radius: 12px;
  filter: saturate(.92);
}

/* ── Enquiry form ───────────────────────────────────────────────── */
.form { display: grid; gap: 16px; max-width: 640px; }
.field { display: grid; gap: 6px; }
.field label {
  font: 500 14px/1 var(--sans); color: var(--ink); letter-spacing: .3px;
}
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--hairline); border-radius: 8px;
  font: 400 16px/1.4 var(--sans); color: var(--ink);
  background: #fff;
  transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--menu-accent);
  box-shadow: 0 0 0 3px rgba(11, 124, 147, .14);
}
/* Validation state. The form is `novalidate`, so the browser's own
   bubbles are off and these are the only failure feedback there is —
   an empty required field used to silently move focus and say nothing. */
.field__err {
  display: none;
  font: 400 13px/1.45 var(--sans); color: #a3342d;
}
.field--invalid .field__err { display: block; }
.field--invalid input,
.field--invalid textarea,
.field--invalid select { border-color: #c0483d; background: #fffafa; }
.field--invalid input:focus,
.field--invalid textarea:focus { box-shadow: 0 0 0 3px rgba(192, 72, 61, .16); border-color: #c0483d; }

.form__note { font: 400 14px/1.6 var(--sans); color: var(--muted); }
.form__ok {
  border: 1px solid var(--gold-line); border-radius: 8px;
  padding: 14px 16px; background: #fffdf6;
  font: 400 15px/1.6 var(--sans); color: var(--ink);
}

/* ═══════════════ RESPONSIVE ═══════════════════════════════════════ */

/* Between the mobile drawer (<=1023) and the 1440 reference width the header
   row is wider than the viewport: the 67px nav gap is a 1440-only figure, and
   the search box is rigid. Left alone the nav collides with the logo and the
   Enquire button overflows the header. Compress the row's spacing here only —
   1440 and above keep the original Figma metrics untouched. */
@media (min-width: 1024px) and (max-width: 1439px) {
  .page--flow .hdr { gap: clamp(8px, 1vw, 20px); }
  .page--flow .nav { gap: clamp(20px, calc(6.4vw - 25px), 67px); }
  .page--flow .search {
    flex: 0 1 auto;
    width: clamp(110px, 12vw, 234px);
    min-width: 0;
    margin-left: clamp(10px, 1.4vw, 34px);
  }
  .page--flow .btn-enquire { margin-left: clamp(10px, 1.2vw, 22px); }
}

@media (max-width: 1023px) {
  /* styles.css gives the HOME page's mobile .ftr a 54px margin-top, to
     open a gap after that page's reviews marquee. .ftr is also the base
     class every inner page's footer carries, so that margin leaked onto
     every .page--flow page too - on visit-us it read as a dead white gap
     between "Browse the collection" and the footer. Inner pages already
     get their spacing from the .sec padding above, so this cancels it
     here specifically (two classes beats styles.css's one on
     specificity, so this wins regardless of stylesheet order). */
  .page--flow .ftr { margin-top: 0; }

  .page--flow .hdr {
    height: auto; padding: 10px 16px;
    justify-content: space-between; gap: 12px;
  }
  /* restore the slide-in drawer: the desktop `.page--flow .nav` rule
     out-specifies the shared mobile styles, so re-state it here */
  .page--flow .nav {
    position: fixed; right: 0; top: 0; bottom: 0; left: auto;
    width: min(88vw, 350px); height: 100dvh;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0;
  }
  .page--flow .search,
  .page--flow .btn-enquire {
    margin: 0; flex: 0 0 auto; width: 100%;
  }
  .page--flow .search { margin: 4px 0 14px; }
  .page--flow .btn-enquire { margin-top: 20px; }
  .page--flow .mega { width: 100%; transform: none !important; }
  /* The panel is an accordion on a phone. These selectors have to carry
     the .page--flow prefix, because the plain .mega.is-open rule in
     styles.css is the same weight and loses to anything here. */
  .page--flow .mega,
  .mega--full { display: none; padding: 4px 0 10px; }
  .page--flow .mega.is-open,
  .mega--full.is-open { display: block; }
  .mega__typecols { grid-template-columns: 1fr; }
  /* the bridal photograph is desktop-only - it pushed the whole type
     list below the fold on a phone */
  .mega--full .mega__divider,
  .page--flow .mega__divider,
  .page--flow .mega__promo,
  .mega--full .mega__promo,
  .mega__promo { display: none; }

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

  /* filters become a collapsible panel above the grid */
  .filters__toggle {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; height: 48px; padding: 0 16px;
    margin-bottom: 14px;
    border: 1px solid var(--hairline); border-radius: 10px;
    background: #fff;
    font: 500 15px/1 var(--sans); color: var(--ink);
  }
  .filters__toggle .fgroup__chev { transform: rotate(45deg) translate(-1px, -1px); }
  .filters__toggle[aria-expanded="true"] .fgroup__chev { transform: rotate(225deg) translate(-2px, -2px); }
  .filters { position: static; margin-bottom: 22px; }
  .filters[hidden] { display: none; }
  .fgroup__list { max-height: none; }
}

@media (max-width: 640px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .pcard__name { font-size: 14px; }
  .pcard__cat { font-size: 12px; }
  .crumbs { font-size: 13.5px; margin-top: 18px; }
}

@media (max-width: 380px) {
  /* the pairs hold all the way down - see the two-up block below */
}

@media (prefers-reduced-motion: reduce) {
  /* cards still fade in as they are reached - they just do not rise */
  .pcard {
    transform: none !important;
    transition: opacity .55s var(--ease-out) var(--rv-delay, 0ms) !important;
  }
  /* the Quick View bar still only appears on hover/focus — it just
     snaps in rather than sliding, so the grid stays uncluttered */
  .pcard__quick { transition: none; }
  .pcard__media, .pcard__media img { transition: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE
   ═══════════════════════════════════════════════════════════════════ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.pdp {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 4vw, 62px);
  align-items: start;
  padding: 4px 0 clamp(40px, 5vw, 64px);
}

/* ── Gallery ────────────────────────────────────────────────────── */
.pdp__main {
  border-radius: 12px;
  overflow: hidden;
  background: #f1f1f0;
  aspect-ratio: 62 / 100;
  box-shadow: 0 4px 18px rgba(3, 30, 36, .10);
}
.pdp__main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.pdp__thumb {
  padding: 0; border-radius: 10px; overflow: hidden;
  aspect-ratio: 1 / 1; background: #f1f1f0;
  border: 2px solid transparent;
  transition: border-color .25s var(--ease-out), transform .25s var(--ease-out);
}
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumb:hover { transform: translateY(-3px); }
.pdp__thumb.is-active { border-color: var(--teal); }

/* ── Info column ────────────────────────────────────────────────── */
.pdp__title {
  font: 600 clamp(28px, 3.4vw, 40px)/1.15 var(--serif);
  color: var(--ink);
}
.pdp__desc {
  margin-top: 16px;
  font: 400 clamp(15px, 1.25vw, 17px)/1.65 var(--sans);
  color: var(--muted);
}

/* ── Accordions ─────────────────────────────────────────────────── */
.acc { margin-top: 26px; }
.acc h2 { margin: 0; }
.acc__head {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
  font: 400 clamp(19px, 1.8vw, 24px)/1.3 var(--sans);
  color: var(--ink);
  text-align: left;
}
.acc__chev {
  flex: 0 0 auto;
  width: 10px; height: 10px;
  border-right: 1.7px solid var(--muted);
  border-bottom: 1.7px solid var(--muted);
  transform: rotate(225deg) translate(-2px, -2px);
  transition: transform .3s var(--ease-out);
}
.acc[data-open="false"] .acc__chev { transform: rotate(45deg) translate(-1px, -1px); }
.acc__body {
  display: grid; grid-template-rows: 1fr;
  transition: grid-template-rows .32s var(--ease-out), opacity .26s var(--ease-out);
  opacity: 1;
  contain: layout paint;
}
.acc[data-open="false"] .acc__body { grid-template-rows: 0fr; opacity: 0; }
.acc__body > * { min-height: 0; overflow: hidden; }

/* ── Spec table ─────────────────────────────────────────────────── */
.spec {
  width: 100%;
  margin: 20px 0 4px;
  border-collapse: collapse;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  overflow: hidden;
  font: 400 15px/1.5 var(--sans);
}
.spec th, .spec td {
  padding: 12px 18px;
  border: 1px solid var(--hairline);
  text-align: center;
  font-weight: 400;
}
.spec th { color: var(--ink); width: 42%; background: #fcfdfd; }
.spec td { color: var(--muted); }

.pdp__care {
  margin: 18px 0 4px;
  font: 400 15px/1.7 var(--sans);
  color: var(--muted);
}
.pdp__actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 30px;
}

/* ── Trust strip ────────────────────────────────────────────────── */
.trust {
  background: #fdf8ec;
  border-top: 1px solid #f2e8d2;
  border-bottom: 1px solid #f2e8d2;
  padding: clamp(20px, 2.6vw, 30px) 0;
}
/* Four fixed columns, never `auto-fit`. auto-fit with a 190px floor
   resolved to THREE columns between 641px and 768px, which left the
   fourth promise stranded alone on a second row. The count is now
   explicit at every width: four across, or two-by-two. */
.trust__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px clamp(14px, 2vw, 30px);
}
/* flex-start, not center: centring each icon+label pair inside its own
   cell positioned it by the length of its own label, so the four gold
   circles sat at a 26px spread instead of on an even rhythm. */
.trust__item {
  display: flex; align-items: center; justify-content: flex-start; gap: 12px;
  text-align: left;
}
.trust__icon {
  flex: 0 0 40px; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  color: var(--gold-line);
}
.trust__label {
  font: 400 clamp(14px, 1.15vw, 16px)/1.35 var(--sans);
  color: var(--ink);
}
/* Conditional break inside each promise. Off by default: from 641px up
   every label fits on one line, and a forced break there would leave one
   item taller than the rest. Switched on with the stacked phone layout
   below, where the labels otherwise wrapped unevenly — two of four on one
   line, two on two. */
.trust__brk { display: none; }

/* ── Related products ───────────────────────────────────────────── */
.rel { padding: clamp(38px, 5vw, 60px) 0 clamp(44px, 6vw, 72px); }
.rel__title {
  display: flex; align-items: center; gap: clamp(14px, 2.5vw, 30px);
  margin-bottom: clamp(24px, 3vw, 38px);
  font: 600 clamp(26px, 3.2vw, 36px)/1.2 var(--serif);
  color: var(--ink);
}
.rel__title::before, .rel__title::after {
  content: ''; flex: 1 1 auto; height: 1px;
}
.rel__title::before { background: linear-gradient(90deg, rgba(3,81,93,0), rgba(3,81,93,.45)); }
.rel__title::after  { background: linear-gradient(90deg, rgba(3,81,93,.45), rgba(3,81,93,0)); }
.rel__title span { flex: 0 0 auto; white-space: nowrap; }
.rel__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(18px, 2.2vw, 30px) clamp(14px, 1.8vw, 26px);
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .pdp { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .pdp__thumbs { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); }
}
/* On the mobile interface (the same 1023px the header switches at) the
   three actions share one full-width column, so "Enquire about this piece"
   and "Add to enquiry" read as an identical pair rather than a ragged row. */
@media (max-width: 1023px) {
  .pdp__actions .btn-solid,
  .pdp__actions .btn-ghost,
  .pdp__actions .enq-add--wide { flex: 1 1 100%; width: 100%; }
}
/* Below this the four columns leave too little room beside each 40px
   icon and every label starts wrapping, so the strip folds to two-by-two
   while the icon and label stay side by side. This is the band that used
   to render three-plus-one. */
@media (max-width: 860px) {
  .trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* icon above the label, both centred — the pair no longer fits on one
     line at phone widths */
  .trust__item { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
  /* every promise now reads as two stacked words, so the four cells match */
  .trust__brk { display: inline; }
  .rel__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec th, .spec td { padding: 10px 12px; font-size: 14px; }
}

/* ═══════════ MOBILE: PRODUCTS TWO AT A TIME ═══════════
   Every listing on a phone reads as pairs - two products, then the
   next two - rather than reflowing to one wide card on small screens
   or three cramped ones on a large one. 1023px is the same width the
   header switches to its mobile drawer at.
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
  .grid,
  .rel__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }
}
@media (max-width: 380px) {
  .grid,
  .rel__grid { gap: 14px 10px; }
  .pcard__name { font-size: 14px; }
  .pcard__cat  { font-size: 12px; }
}

/* Cards arrive in rows of two. The stagger is by row rather than by
   card so a pair lands together, and it is capped so the tail of a
   long grid is never left waiting. Transform and opacity only: both
   are composited, so scrolling stays smooth while they run. */
@media (max-width: 1023px) {
  .grid .pcard,
  .rel__grid .pcard {
    transition:
      opacity   .5s var(--ease-out) var(--rv-delay, 0ms),
      transform .5s var(--ease-out) var(--rv-delay, 0ms);
  }
  .grid .pcard[data-reveal]:not(.is-in),
  .rel__grid .pcard[data-reveal]:not(.is-in) {
    opacity: 0; transform: translate3d(0, 14px, 0);
  }
  .grid .pcard.is-in,
  .rel__grid .pcard.is-in { opacity: 1; transform: none; }
}

/* The five chokers added 3 Sep are cropped to frame the piece itself
   (see scratchpad/recrop.py), so the card shows them centred with no
   further crop of its own. */

/* js/chrome.js injects the shared header into this empty div, and it runs
   after first paint - so the bar renders at zero height and everything
   below it drops into place a moment later. On the catalogue pages that
   single reflow was most of a 0.95 layout shift. The header geometry is
   fixed (80px on phones, 100px from 1024px up), so the box is reserved
   up front and the injection changes nothing. */
#siteHeader { min-height: 80px; }
@media (min-width: 1024px) {
  #siteHeader { min-height: 100px; }
}

/* chrome.js injects the footer here too, and it lands after first paint.
   Retested with the deferred scripts in place: reserving the measured
   height removes the remaining shift on the product pages.
   #siteFooter holds both the <footer> and the copyright bar chrome.js
   appends after it, so the reserved height is the two together - not
   just the footer, which was leaving a dead strip below the copyright
   line at the very bottom of every inner page. These were also sized
   for the footer's WhatsApp line, since removed (see js/chrome.js), so
   they were carrying that leftover height forward too. Re-measured
   against both children as they actually render now: 805 + 53 on
   phones, 302 + 53 from 1024px up. */
#siteFooter { min-height: 858px; }
@media (min-width: 1024px) {
  #siteFooter { min-height: 355px; }
}

/* ═══════════════════════════════════════════════════════════════════
   TOUCH INTERACTION MODEL  (mirrors the block at the foot of
   styles.css — see the note there for why)
   ═══════════════════════════════════════════════════════════════════ */
@media (hover: none) {
  .pcard__media:hover        { transform: none; box-shadow: 0 2px 10px rgba(3, 30, 36, .07); }
  .pcard__media:hover img,
  .mega__promo:hover img     { transform: none; }
  .pcard__media:hover img    { will-change: auto; }
  .pdp__thumb:hover          { transform: none; }
  .btn-solid:hover,
  .btn-ghost:hover           { transform: none; }

  /* The Quick View bar only ever slid up on hover, so on a phone it sat
     permanently parked one pixel below the photo — invisible, but still
     announced. The card is a plain link to the same page, so the label
     is redundant here rather than hidden information. */
  .pcard__quick              { display: none; }

  /* press feedback */
  .pcard__media:active       { transform: scale(.975); }
  .pdp__thumb:active         { transform: scale(.94); }
  .btn-solid:active,
  .btn-ghost:active,
  .phead__clear:active,
  .fopt:active               { transform: scale(.97); }
  .pcard__media, .pdp__thumb, .phead__clear, .fopt {
    transition: transform .13s var(--ease-out), box-shadow .3s var(--ease-out),
                border-color .25s var(--ease-out), background .28s var(--ease-out),
                color .28s var(--ease-out);
  }
}

/* Light reflection across the piece, cursor devices only — the
   catalogue twin of the .ccard / .scard sheen in styles.css. */
@media (hover: hover) and (pointer: fine) {
  .pcard__media::after {
    content: ''; position: absolute; inset: 0; z-index: 2;
    pointer-events: none;
    background: linear-gradient(104deg,
        rgba(255,255,255,0)   42%,
        rgba(255,246,224,.34) 50%,
        rgba(255,255,255,0)   58%);
    transform: translateX(-130%);
    transition: transform .85s var(--ease-soft);
  }
  .pcard__media:hover::after { transform: translateX(130%); }
  /* the label reads over the light band, not under it */
  .pcard__quick { z-index: 3; }
}

/* ═══════════════════════════════════════════════════════════════════
   INNER-PAGE ENTRANCE
   The home page has its own choreographed intro; every other page used
   to arrive as a static block and only the product cards moved. The
   head of each page now settles in as a short sequence - breadcrumb,
   eyebrow, title, lede - with the sidebar and the product detail
   following. All of it is above the fold, so it plays on load (a CSS
   animation, not a scroll reveal), and it uses `backwards` fill only:
   once finished, each element is back on its own styles, so sticky
   positioning and hover transforms are untouched.
   ═══════════════════════════════════════════════════════════════════ */
@keyframes kgRise {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes kgZoom {
  from { opacity: 0; transform: scale(.965); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes kgDrop {
  from { opacity: 0; transform: translate3d(0, -8px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

.page--flow .crumbs                 { animation: kgFade .6s var(--ease-out) .04s backwards; }
.page--flow .phead > *              { animation: kgRise .7s var(--ease-out) backwards; }
.page--flow .phead > :nth-child(1)  { animation-delay: .08s; }
.page--flow .phead > :nth-child(2)  { animation-delay: .16s; }
.page--flow .phead > :nth-child(3)  { animation-delay: .26s; }
.page--flow .phead > :nth-child(4)  { animation-delay: .34s; }
.page--flow .phead > :nth-child(n+5){ animation-delay: .4s; }
.page--flow .filters__toggle        { animation: kgRise .6s var(--ease-out) .3s backwards; }

/* product detail: the photograph eases up out of a slight zoom, the
   copy column follows line by line */
.pdp__main                          { animation: kgZoom .9s var(--ease-out) .08s backwards; }
.pdp__thumbs                        { animation: kgFade .6s var(--ease-out) .4s backwards; }
.pdp__info > *                      { animation: kgRise .65s var(--ease-out) backwards; }
.pdp__info > :nth-child(1)          { animation-delay: .14s; }
.pdp__info > :nth-child(2)          { animation-delay: .22s; }
.pdp__info > :nth-child(3)          { animation-delay: .3s; }
.pdp__info > :nth-child(4)          { animation-delay: .38s; }
.pdp__info > :nth-child(n+5)        { animation-delay: .46s; }

/* 404 */
.page--flow .nf > *                 { animation: kgRise .7s var(--ease-out) backwards; }
.page--flow .nf > :nth-child(2)     { animation-delay: .1s; }
.page--flow .nf > :nth-child(3)     { animation-delay: .2s; }

/* the filter sidebar slides in beside the grid on desktop; on a phone it
   is a disclosure, and the same rule makes it unfold each time it opens
   (display: none -> block restarts a CSS animation) */
@media (min-width: 1024px) {
  .filters { animation: kgRise .7s var(--ease-out) .32s backwards; }
}
@media (max-width: 1023px) {
  .filters { animation: kgDrop .34s var(--ease-out) backwards; }
}

/* enquiry confirmation and field errors arrive rather than pop */
.form__ok               { animation: kgRise .45s var(--ease-out) backwards; }
.field__err:not(:empty) { animation: kgDrop .3s var(--ease-out) backwards; }

/* Reduce, not remove: with the OS asking for less motion nothing travels
   or scales, but the page still dissolves in rather than snapping. The
   blanket rule in styles.css zeroes every duration, so these restore a
   duration explicitly. */
@media (prefers-reduced-motion: reduce) {
  .page--flow .crumbs, .page--flow .phead > *, .page--flow .filters__toggle,
  .pdp__main, .pdp__thumbs, .pdp__info > *, .page--flow .nf > *,
  .filters, .form__ok, .field__err:not(:empty) {
    animation-name: kgFade !important;
    animation-duration: .5s !important;
  }
}
