/* photoframers.co.uk — shared design tokens
   Heritage British × Scandi minimal × Forest + Cream
*/

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700;800&family=Geist+Mono:wght@400;500&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  /* — Brand palette · CONTEMPORARY GALLERY ————————————————
     White + Jet + Sea mist + Cool grey.
     Variable names preserved so all pages re-skin without per-page edits:
       --forest-* → ink / dark surfaces / button-primary fills
       --cream-*  → bg surfaces (with subtle cool tint)
       --brass-*  → cool teal accent (CTAs, links, italic accent words)
  */
  --forest-900: #0a0a0a;   /* jet, body type */
  --forest-800: #14181a;   /* dark surfaces (footer, dark heroes) */
  --forest-700: #1a1f22;   /* primary dark — buttons, nav */
  --forest-600: #2a3236;
  --forest-500: #3a4549;
  --forest-400: #5a6a72;   /* cool grey */
  --forest-300: #8a989f;
  --forest-200: #b4c0c4;
  --forest-100: #dde2e5;
  --forest-50:  #eef1f2;

  --cream-50:   #ffffff;   /* pure white */
  --cream-100:  #f7f8f9;   /* very subtle cool off-white */
  --cream-200:  #e8ecee;   /* light cool grey */
  --cream-300:  #c8d4d0;   /* sea mist accent surface */
  --cream-400:  #a0b0ad;

  --ink-900:    #0a0a0a;
  --ink-700:    #2a3236;
  --ink-500:    #5a6a72;
  --ink-400:    #7a8a92;
  --ink-300:    #9aa8b0;
  --ink-200:    #c4ced2;
  --ink-100:    #e0e6e8;

  --paper:      #ffffff;
  --paper-warm: #ffffff;

  --brass-500:  #2d5961;   /* deep cool teal — primary accent */
  --brass-600:  #1d4148;   /* hover */
  --brass-300:  #c8d4d0;   /* sea mist for light accents on dark */

  --oak-500:    #2d5961;
  --walnut-500: #1a1f22;

  --red-500:    #c4524a;   /* muted sale red (less aggressive than electric red) */

  /* — Type ———————————————————————————————— */
  --font-display: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-italic: "Instrument Serif", Georgia, serif;

  /* — Spacing ——————————————————————————————— */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-32: 128px;

  /* — Radius ———————————————————————————————— */
  --r-sm: 2px;
  --r-md: 4px;
  --r-lg: 8px;
  --r-xl: 16px;
  --r-full: 999px;

  /* — Container ————————————————————————————— */
  --container: 1320px;
  --container-narrow: 1080px;
}

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

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--cream-50);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: inherit;
}

/* — Type styles ————————————————————————— */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brass-500);
}

.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
  color: var(--forest-900);
  text-wrap: balance;
}
.display em { color: var(--brass-500); font-family: var(--font-italic); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.035em; line-height: 0.98; }
h1 em, h2 em, h3 em {
  color: var(--brass-500) !important;
  font-family: var(--font-italic) !important;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.bold-hero h1 em, .manifesto h2 em, .mtm-text h2 em, .cta-block h2 em,
.letters h2 em, .index-strip h2 em, .edit-card.dark h3 em,
.stats-band h2 em, .stat-item strong em {
  color: #ffd84a !important;
}

h1, h2, h3, h4 { margin: 0; font-weight: 500; }

.muted { color: var(--ink-500); }

/* — Layout ——————————————————————————— */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-8);
}
.container.narrow { max-width: var(--container-narrow); }

/* — Buttons —————————————————————————— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  height: 48px;
  padding: 0 var(--sp-8);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--r-md);
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.05s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--brass-500);
  color: #ffffff;
}
.btn-primary:hover { background: var(--brass-600); }

.btn-ink {
  background: var(--forest-700);
  color: var(--cream-50);
}
.btn-ink:hover { background: var(--forest-800); }

.btn-secondary {
  background: transparent;
  color: var(--brass-500);
  box-shadow: inset 0 0 0 1.5px var(--brass-500);
}
.btn-secondary:hover { background: var(--brass-500); color: white; }

.btn-ghost {
  background: transparent;
  color: var(--forest-700);
}
.btn-ghost:hover { background: var(--forest-100); }

.btn-sm { height: 36px; padding: 0 var(--sp-5); font-size: 13px; }
.btn-lg { height: 56px; padding: 0 var(--sp-10); font-size: 15px; }

/* — Site chrome ————————————————————— */
.topbar {
  background: var(--forest-700);
  color: var(--cream-100);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
}
.topbar-msg { display: flex; align-items: center; gap: var(--sp-4); }
.topbar-msg .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--brass-300);
}
.topbar-links { display: flex; gap: var(--sp-6); opacity: 0.85; }
.topbar-links a:hover { opacity: 1; color: white; }

.navbar {
  background: var(--cream-50);
  border-bottom: 1px solid var(--ink-100);
  position: relative;
  z-index: 10;
}
.navbar-inner {
  display: flex;
  align-items: center;
  height: 76px;
  gap: var(--sp-12);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark {
  width: 36px; height: 36px;
  background: var(--brass-500);
  color: #ffffff;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.04em;
  position: relative;
}
.brand-mark::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 2px;
  pointer-events: none;
}
.brand-mark .gem-f {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  color: #ffd84a;
  margin-left: -2px;
}
.brand-text {
  display: flex; flex-direction: column; line-height: 1;
}
.brand-text .name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--forest-900);
}
.brand-text .tld {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-500);
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: var(--sp-8);
  font-size: 14px;
  font-weight: 500;
  flex: 1;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  color: var(--ink-900);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--forest-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links .caret {
  width: 8px; height: 8px;
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.5;
}
.nav-icons {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.icon-btn {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  color: var(--ink-900);
  position: relative;
  transition: background 0.15s;
}
.icon-btn:hover { background: var(--forest-50); }
.icon-btn .badge {
  position: absolute;
  top: 6px; right: 6px;
  background: var(--forest-700);
  color: var(--cream-50);
  font-size: 10px;
  font-weight: 600;
  min-width: 16px; height: 16px;
  border-radius: var(--r-full);
  display: grid; place-items: center;
  padding: 0 4px;
}

/* — Mega-menu ———————————————————————— */
.has-mega {
  position: static;
}
.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--paper);
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
  box-shadow: 0 24px 40px -20px rgba(0,0,0,0.12);
  z-index: 100;
  display: none;
  padding: var(--sp-12) 0 var(--sp-10);
}
.has-mega:hover .mega,
.has-mega:focus-within .mega,
.has-mega.open .mega {
  display: block;
}
.mega-inner {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1.4fr 1.2fr;
  gap: var(--sp-10);
}
.mega-col h5 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-500);
  margin: 0 0 var(--sp-5);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--ink-100);
}
.mega-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-3);
}
.mega-col li a {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 14px;
  color: var(--ink-700);
  padding: 4px 0;
  transition: color 0.12s;
  text-decoration: none;
}
.mega-col li a:hover { color: var(--brass-500); }
.mega-col li a .ct {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-400);
  letter-spacing: 0.06em;
}
.mega-col li a::after {
  display: none;
}
.mega-swatch {
  width: 18px; height: 18px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.18);
  flex-shrink: 0;
}
.mega-collections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}
.mega-coll-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.mega-coll-card .img {
  aspect-ratio: 4/5;
  background: var(--cream-200);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  padding: 12px;
  transition: background 0.12s;
}
.mega-coll-card:hover .img { background: var(--cream-300); }
.mega-coll-card .img .pf-frame {
  width: 80%;
  aspect-ratio: 3/4;
  --mat-w: 10px;
  --frame-bevel: 5px;
}
.mega-coll-card .nm {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--forest-900);
  letter-spacing: -0.015em;
}
.mega-coll-card .ct {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-500);
  letter-spacing: 0.06em;
}
.mega-feature {
  background: var(--cream-100);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  min-height: 280px;
}
.mega-feature .tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-500);
}
.mega-feature h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--forest-900);
  margin: var(--sp-3) 0 var(--sp-3);
}
.mega-feature h4 em {
  color: var(--brass-500) !important;
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
}
.mega-feature p {
  font-size: 13px;
  color: var(--ink-500);
  margin: 0;
  line-height: 1.5;
}
.mega-feature .cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--brass-500);
  border-bottom: 1px solid var(--brass-500);
  padding-bottom: 2px;
  align-self: flex-start;
  margin-top: var(--sp-4);
}
.mega-feature .ph {
  position: absolute;
  right: -20%; bottom: -10%;
  width: 70%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  opacity: 0.95;
}
.mega-feature .ph .pf-frame {
  width: 75%;
  aspect-ratio: 3/4;
}
.mega-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.18);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}
.has-mega:hover ~ .mega-backdrop,
.has-mega:focus-within ~ .mega-backdrop,
.navbar.mega-open .mega-backdrop {
  opacity: 1;
  pointer-events: auto;
}

/* — Footer ————————————————————————— */
.footer {
  background: var(--forest-800);
  color: var(--cream-100);
  padding: var(--sp-20) 0 var(--sp-8);
  font-size: 14px;
}
.footer a { color: var(--cream-200); }
.footer a:hover { color: white; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-16);
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-50);
  margin-bottom: var(--sp-5);
  font-weight: 500;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--sp-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--cream-300);
}
.footer-payments {
  display: flex; gap: var(--sp-3); align-items: center; opacity: 0.7;
}

/* — Reusable: CSS-rendered frame ————————————————————
   .pf-frame is a self-contained block that paints a picture frame with
   moulding, mat, and (optional) art placeholder. Sizing controlled via
   --frame-w/--frame-h or width/height on .pf-frame. */
.pf-frame {
  position: relative;
  display: block;
  --frame-bevel: 14px;
  --mat-w: 28px;
  --moulding: var(--forest-900);
  --moulding-hi: var(--forest-700);
  --moulding-lo: #050a07;
  --mat: var(--cream-50);
  filter:
    drop-shadow(0 4px 6px rgba(20,30,25,0.14))
    drop-shadow(0 16px 28px rgba(20,30,25,0.12));
}
.pf-frame .pf-moulding {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--moulding-hi) 0%, var(--moulding) 45%, var(--moulding-lo) 100%);
  border-radius: 1px;
}
.pf-frame .pf-mat {
  position: absolute;
  inset: var(--frame-bevel);
  background: var(--mat);
  box-shadow:
    inset 0 2px 3px rgba(0,0,0,0.18),
    inset 0 -1px 1px rgba(0,0,0,0.04);
}
.pf-frame .pf-art {
  position: absolute;
  inset: calc(var(--frame-bevel) + var(--mat-w));
  background: var(--ink-100);
  overflow: hidden;
}
.pf-frame .pf-art img { width: 100%; height: 100%; object-fit: cover; }

/* Variant fills */
.pf-frame[data-frame="oak"] {
  --moulding-hi: #d8b988;
  --moulding: #c19a5e;
  --moulding-lo: #8f6a39;
}
.pf-frame[data-frame="walnut"] {
  --moulding-hi: #8d6443;
  --moulding: #6b4a30;
  --moulding-lo: #3e2916;
}
.pf-frame[data-frame="white"] {
  --moulding-hi: #ffffff;
  --moulding: #efeae0;
  --moulding-lo: #c8c2b3;
}
.pf-frame[data-frame="natural"] {
  --moulding-hi: #ead7b6;
  --moulding: #d6bf95;
  --moulding-lo: #a8906a;
}
.pf-frame[data-frame="forest"] {
  --moulding-hi: #2e5645;
  --moulding: #1f3a2c;
  --moulding-lo: #0d1d15;
}
.pf-frame[data-frame="brass"] {
  --moulding-hi: #e0c184;
  --moulding: #b8965a;
  --moulding-lo: #7e6336;
}

/* Wood-grain overlay (subtle striations) */
.pf-frame[data-frame="oak"] .pf-moulding,
.pf-frame[data-frame="walnut"] .pf-moulding,
.pf-frame[data-frame="natural"] .pf-moulding {
  background-image:
    repeating-linear-gradient(
      92deg,
      transparent 0 3px,
      rgba(0,0,0,0.05) 3px 4px,
      transparent 4px 9px,
      rgba(0,0,0,0.03) 9px 10px
    ),
    linear-gradient(135deg, var(--moulding-hi) 0%, var(--moulding) 45%, var(--moulding-lo) 100%);
}

/* Inner & outer rebate lines for realism */
.pf-frame .pf-mat::before {
  content: ""; position: absolute; inset: -2px;
  border: 1px solid rgba(0,0,0,0.18);
  pointer-events: none;
}
.pf-frame .pf-mat::after {
  content: ""; position: absolute; inset: calc(var(--mat-w) - var(--frame-bevel) - 2px);
  border: 1px solid rgba(0,0,0,0.12);
  pointer-events: none;
}

/* — Product card ———————————————————— */
.product-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  text-decoration: none;
  color: inherit;
}
.product-card .pc-image {
  aspect-ratio: 1;
  background: var(--cream-100);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
}
.product-card:hover .pc-image { background: var(--cream-200); }
.product-card .pc-tag {
  position: absolute;
  top: var(--sp-4); left: var(--sp-4);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--brass-500);
  color: #ffffff;
  padding: 4px 8px;
  border-radius: var(--r-sm);
}
.product-card .pc-tag.sale { background: var(--red-500); }
.product-card .pc-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--forest-900);
  letter-spacing: -0.01em;
  margin-top: 2px;
}
.product-card .pc-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  color: var(--ink-500);
}
.product-card .pc-price {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--forest-900);
}
.product-card .pc-price .strike {
  color: var(--ink-400);
  text-decoration: line-through;
  margin-right: 4px;
}

/* — USP strip ————————————————————— */
.usp-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-12);
  padding: var(--sp-10) 0;
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
}
.usp {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}
.usp .ic {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--cream-100);
  display: grid; place-items: center;
  flex-shrink: 0;
  color: var(--forest-700);
}
.usp h4 {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}
.usp p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-500);
  line-height: 1.45;
}

/* Hide scrollbars on horizontal scroll rails */
.no-scrollbar { scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* Mobile menu drawer — always hidden off-canvas (base state, before media query)
   so it doesn't render inline beneath the footer on desktop. */
.pf-mobile-menu {
  position: fixed;
  top: 0; bottom: 0; left: 0;
  width: 92%;
  max-width: 380px;
  background: var(--paper);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(.4,.0,.2,1);
  box-shadow: 0 10px 40px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  visibility: hidden;
}
.pf-mobile-menu.open { transform: translateX(0); visibility: visible; }
.pf-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.pf-mobile-overlay.open { opacity: 1; pointer-events: auto; }

/* ═══════════════════════════════════════════════════════════════════
   MOBILE & TABLET RESPONSIVE
   Breakpoints:
     ≤ 1024px  — tablet (compress grids, smaller padding)
     ≤  768px  — mobile (stack, hamburger nav, full-bleed cards)
     ≤  480px  — small mobile (tighter)
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Tablet ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root {
    --container: 100%;
    --sp-24: 64px;
    --sp-20: 56px;
    --sp-16: 48px;
  }
  .container { padding: 0 var(--sp-6); }
  .navbar-inner { gap: var(--sp-6); }
  .nav-links { gap: var(--sp-5); font-size: 13px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--sp-8); }
  .footer-grid .footer-col:nth-child(5) {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--sp-8);
    margin-top: var(--sp-4);
  }
}

/* ─── Mobile (≤768px) ───────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --sp-24: 56px;
    --sp-20: 48px;
    --sp-16: 40px;
    --sp-12: 32px;
    --sp-10: 28px;
  }
  body { font-size: 15px; }

  .container { padding: 0 var(--sp-5); }

  /* — Topbar — */
  .topbar { font-size: 11px; }
  .topbar-inner { height: 32px; }
  .topbar-msg span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .topbar-links { display: none; }

  /* — Navbar — */
  .navbar-inner {
    height: 64px;
    gap: var(--sp-3);
  }
  .brand-mark { width: 32px; height: 32px; font-size: 16px; }
  .brand-text .name { font-size: 16px; }
  .brand-text .tld { font-size: 9px; }

  /* Hide desktop nav links — show hamburger instead */
  .nav-links { display: none; }
  .nav-icons .icon-btn:not([aria-label="Basket"]):not(.pf-menu-btn) {
    display: none;
  }
  /* Always show hamburger + basket on mobile */
  .pf-menu-btn { display: grid !important; }

  /* — Mobile menu drawer (overrides base for ≤768px) — */
  .pf-mobile-menu {
    visibility: visible;
  }
  .pf-mm-head {
    padding: var(--sp-5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--ink-100);
  }
  .pf-mm-head .brand { gap: var(--sp-2); }
  .pf-mm-close {
    width: 36px; height: 36px;
    border-radius: var(--r-md);
    background: var(--cream-100);
    display: grid; place-items: center;
    color: var(--ink-900);
    font-size: 22px;
    line-height: 1;
  }
  .pf-mm-body {
    flex: 1;
    overflow-y: auto;
    padding: var(--sp-5);
  }
  .pf-mm-section {
    margin-bottom: var(--sp-8);
  }
  .pf-mm-section h5 {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brass-500);
    margin: 0 0 var(--sp-3);
    padding-bottom: var(--sp-2);
    border-bottom: 1px solid var(--ink-100);
  }
  .pf-mm-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--sp-2);
  }
  .pf-mm-section li a {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-2) 0;
    font-size: 16px;
    color: var(--ink-900);
    font-weight: 500;
  }
  .pf-mm-section li a .ct {
    margin-left: auto;
    color: var(--ink-400);
    font-family: var(--font-mono);
    font-size: 12px;
  }
  .pf-mm-section .pf-mm-swatch {
    width: 18px; height: 18px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
  }
  .pf-mm-foot {
    border-top: 1px solid var(--ink-100);
    padding: var(--sp-5);
    background: var(--cream-100);
    font-size: 13px;
  }
  .pf-mm-foot a {
    display: block;
    padding: 6px 0;
    color: var(--ink-700);
  }

  /* Hide desktop mega-menu */
  .has-mega .mega { display: none !important; }
  .has-mega .caret { display: none; }
  .mega-backdrop { display: none; }

  /* — Footer — */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8) var(--sp-6);
    margin-bottom: var(--sp-10);
  }
  .footer-grid .footer-col:first-child {
    grid-column: 1 / -1;
  }
  .footer-grid .footer-col:nth-child(5) {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: var(--sp-4);
    text-align: center;
  }

  /* — USP strip — stack to 2x2 */
  .usp-strip {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-6) var(--sp-4);
    padding: var(--sp-8) 0;
  }
  .usp { font-size: 13px; }

  /* — Section heads / buttons — */
  .sec-head {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-4);
    margin-bottom: var(--sp-8);
  }
  .sec-head .sub { font-size: 14px; }
  .btn-lg { height: 48px; font-size: 14px; padding: 0 var(--sp-6); }
  .btn { white-space: nowrap; }

  /* — Product card defaults — */
  .products-grid,
  .related-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: var(--sp-6) var(--sp-4) !important;
  }
  .product-card .pc-name { font-size: 16px; }
  .product-card .pc-meta { font-size: 12px; }
}

/* ─── Small mobile (≤480px) ─────────────────────────── */
@media (max-width: 480px) {
  :root {
    --sp-20: 40px;
    --sp-24: 48px;
  }
  .container { padding: 0 var(--sp-4); }
  .brand-text { display: none; }
  .topbar-msg { font-size: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .usp-strip { grid-template-columns: 1fr; }
  .btn { font-size: 13px; }
}
