@charset "UTF-8";
/* ==========================================================================
   Lymphoedema Bandages Kenya — stylesheet
   Palette is taken directly from the logo: deep navy, silver-grey, white.
   ========================================================================== */

/* ---- 1. Tokens ---------------------------------------------------------- */
:root {
  /* Brand — sampled from the logo artwork */
  --ink:        #05092F;   /* logo lettering + outer arc */
  --ink-800:    #0B1244;
  --ink-600:    #1B2359;
  --ink-300:    #7E85AA;
  --silver:     #8C9298;   /* logo inner arc */
  --silver-400: #A9AFB5;
  --silver-200: #CDD2D7;
  --control-line: #7B8592;   /* 3.7:1 on white, 3.2:1 on mist — borders of real controls */
  --silver-100: #E3E6E9;

  /* Navy depth + navy-tinted neutrals (no new hues — all derived from the logo navy) */
  --ink-950:    #02041A;
  --ink-900:    #030724;
  --ink-700:    #121B58;
  --on-ink:     #C9CEE3;      /* body text on navy */
  --on-ink-2:   #9CA3C4;      /* secondary text on navy */
  --blue:       #2B3A9C;      /* the logo navy, lightened — same 232° hue */
  --blue-soft:  #DCE3F6;
  --mist:       #E8EDF8;
  --mist-2:     #DCE4F4;
  --mist-line:  #CCD6EC;

  /* Neutrals */
  --paper:      #FFFFFF;
  --paper-2:    #F5F7FB;
  --paper-3:    #EDF0F7;
  --line:       #E1E4E9;
  --line-soft:  #EDEFF2;

  /* Text */
  --text:       #14182C;
  --text-2:     #4B5162;
  --text-3:     #646B78;

  /* Type */
  --ui:    'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --prose: 'Source Serif 4', Georgia, 'Times New Roman', serif;

  --t-xs:   0.8125rem;
  --t-sm:   0.9375rem;
  --t-base: 1.0625rem;
  --t-lg:   1.1875rem;
  --t-xl:   1.4375rem;
  --t-2xl:  1.8125rem;
  --t-3xl:  clamp(2rem, 1.4rem + 2.4vw, 2.75rem);
  --t-4xl:  clamp(2.4rem, 1.5rem + 3.6vw, 3.75rem);

  /* Space */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 88px;
  --section: clamp(56px, 7vw, 104px);
  --gutter: clamp(20px, 4vw, 40px);
  --wrap: 1200px;

  --r: 3px;
  --r-lg: 6px;

  --shadow-1: 0 1px 2px rgba(5, 9, 47, .06), 0 1px 1px rgba(5, 9, 47, .04);
  --shadow-2: 0 12px 32px rgba(5, 9, 47, .10), 0 2px 6px rgba(5, 9, 47, .05);
  --shadow-3: 0 28px 70px rgba(5, 9, 47, .22);

  /* Stockinette stitch — rows of small Vs, the structure of the knit itself */
  --knit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='11' viewBox='0 0 12 11'%3E%3Cpath d='M1.5 1.5 6 9.5l4.5-8' fill='none' stroke='%23FFFFFF' stroke-opacity='.055' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E");
  /* The broken ring from the logo, drawn as line work for dark surfaces */
  --ring: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M38 100a62 62 0 1 1 62 62' stroke='%238C9298' stroke-opacity='.34' stroke-width='3'/%3E%3Cpath d='M58 100a42 42 0 1 1 42 42' stroke='%23FFFFFF' stroke-opacity='.14' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E");
  --r-xl: 14px;
}

/* ---- 2. Reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  font-family: var(--ui);
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
/* <picture> wrappers must not form a box, so every existing `.parent img` rule and
   every flex/grid layout keeps behaving exactly as it did with a bare <img>. */
picture { display: contents; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--blue); text-decoration-color: var(--blue-soft); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.018em; line-height: 1.15; }
h1 { font-size: var(--t-4xl); letter-spacing: -0.03em; }
h2 { font-size: var(--t-3xl); letter-spacing: -0.024em; }
h3 { font-size: var(--t-xl); }
h4 { font-size: var(--t-lg); }
p  { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s6) 0; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  border-radius: 2px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .95);
}
/* On navy surfaces the dark ring is invisible, so invert both halves. */
.hero :focus-visible, .page-head :focus-visible, .cta-band :focus-visible,
.section--ink :focus-visible, .footer :focus-visible, .topbar :focus-visible,
.filters__head :focus-visible, .tile:focus-visible, .kit-card--feature:focus-visible {
  outline-color: #fff;
  box-shadow: 0 0 0 6px rgba(5, 9, 47, .95);
}
::selection { background: var(--ink); color: #fff; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r) 0;
}
.skip:focus { left: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---- 3. Layout ---------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 780px; }
.section { padding-block: var(--section); }
.section--tint { background: var(--mist); }
.section--ink { background: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(43,58,156,.45) 0%, rgba(43,58,156,0) 70%), var(--knit), var(--ink); color: var(--on-ink); }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--rule { border-top: 1px solid var(--line); }

.prose { font-family: var(--prose); font-size: 1.0625rem; line-height: 1.72; color: var(--text-2); }
.prose p { max-width: 68ch; }
.prose h2, .prose h3 { font-family: var(--ui); color: var(--text); margin: 2em 0 .55em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose li { max-width: 66ch; margin-bottom: .4em; }
.prose strong { color: var(--text); font-weight: 600; }

.lede { font-family: var(--prose); font-size: clamp(1.0625rem, 1rem + .4vw, 1.28rem); line-height: 1.62; color: var(--text-2); max-width: 60ch; }

.section-head { max-width: 62ch; margin-bottom: var(--s7); }
.section-head p { font-family: var(--prose); color: var(--text-2); margin-top: var(--s3); margin-bottom: 0; }

.grid { display: grid; gap: var(--s5); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .grid--2 { grid-template-columns: 1fr; } }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.grid--catalogue { grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); }

/* ---- 4. Buttons --------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; min-height: 46px;
  font-size: var(--t-sm); font-weight: 600; letter-spacing: .005em;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd); border-radius: var(--r);
  text-decoration: none; cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.btn:hover { --btn-bg: var(--blue); --btn-bd: var(--blue); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--control-line); }
.btn--ghost:hover { --btn-bg: var(--paper-2); --btn-fg: var(--ink); --btn-bd: var(--silver); }

.btn--quiet { --btn-bg: transparent; --btn-fg: var(--text-2); --btn-bd: transparent; padding-inline: 10px; }
.btn--quiet:hover { --btn-fg: var(--ink); --btn-bg: var(--paper-3); }

.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: var(--silver-100); --btn-bd: var(--silver-100); }

.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.42); }
.btn--outline-light:hover { --btn-bg: rgba(255,255,255,.10); --btn-bd: rgba(255,255,255,.75); }

.btn--wa { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--control-line); }
.btn--wa:hover { --btn-bd: var(--silver); --btn-bg: var(--paper-2); }
.btn--block { width: 100%; }
.btn--sm { min-height: 38px; padding: 8px 15px; font-size: var(--t-xs); }
.btn[disabled] { opacity: .55; pointer-events: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* ---- 5. Header ---------------------------------------------------------- */
.masthead {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.masthead__bar { display: flex; align-items: center; gap: var(--s5); min-height: 100px; transition: min-height .25s ease; }
.brand { display: flex; align-items: center; flex: none; text-decoration: none; }
.brand img { height: 68px; width: auto; transition: height .25s ease; }
@media (max-width: 1320px) { .brand img { height: 62px; } }
.masthead.is-compact .masthead__bar { min-height: 76px; }
.masthead.is-compact .brand img { height: 52px; }

/* Laptop widths: the full nav, the logo and the CTA only just fit inside the
   1200px container, so tighten both rather than drop to the burger menu. */
@media (min-width: 1200px) and (max-width: 1420px) {
  .masthead__bar { gap: var(--s3); }
  .brand img { height: 52px; }
  .masthead.is-compact .brand img { height: 46px; }
  .nav a { padding-inline: 8px; }
  .masthead__cta .btn { padding-inline: 16px; }
}

.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a {
  padding: 9px 11px; border-radius: var(--r);
  font-size: var(--t-sm); font-weight: 500; color: var(--text-2); text-decoration: none;
  white-space: nowrap; transition: color .15s ease, background-color .15s ease;
}
.nav a:hover { color: var(--blue); background: var(--mist); }
.nav a[aria-current="page"] { color: var(--blue); font-weight: 600; box-shadow: inset 0 -3px 0 var(--blue); border-radius: var(--r) var(--r) 0 0; }
.masthead__cta { display: flex; align-items: center; gap: var(--s2); flex: none; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--control-line); background: #fff;
  border-radius: var(--r); color: var(--ink); cursor: pointer;
}
.icon-btn:hover { border-color: var(--silver); background: var(--paper-2); }
.icon-btn svg { width: 20px; height: 20px; }

.burger { display: none; }
@media (max-width: 1199px) {
  .nav, .masthead__cta .icon-btn { display: none; }
  .masthead__cta { margin-left: auto; }
  .burger { display: inline-flex; }
  .masthead__bar { min-height: 88px; }
  .brand img { height: 60px; }
  .masthead.is-compact .masthead__bar { min-height: 72px; }
  .masthead.is-compact .brand img { height: 48px; }
}
@media (max-width: 560px) {
  .masthead__cta { display: none; }
  .masthead__bar { gap: var(--s3); min-height: 78px; justify-content: space-between; }
  .brand img { height: 52px; }
  .masthead.is-compact .masthead__bar { min-height: 66px; }
  .masthead.is-compact .brand img { height: 44px; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 90;
  background: #fff; padding: var(--s5) var(--gutter) 120px;
  overflow-y: auto; display: none;
}
.drawer[data-open="true"] { display: block; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s6); }
.drawer nav { display: grid; }
.drawer nav a {
  padding: 15px 0; border-bottom: 1px solid var(--line-soft);
  font-size: 1.125rem; font-weight: 500; color: var(--text); text-decoration: none;
}
.drawer nav a[aria-current="page"] { color: var(--blue); font-weight: 600; box-shadow: inset 3px 0 0 var(--blue); padding-left: 14px; }
.drawer__actions { display: grid; gap: var(--s3); margin-top: var(--s6); }

/* ---- 6. Hero ------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse 65% 85% at 82% 38%, rgba(43,58,156,.62) 0%, rgba(43,58,156,0) 70%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(43,58,156,.30) 0%, rgba(43,58,156,0) 70%),
    var(--knit),
    linear-gradient(160deg, #0A1142 0%, var(--ink) 55%, var(--ink-900) 100%);
  color: var(--on-ink);
}
.hero::before {
  content: ""; position: absolute; z-index: -1;
  width: min(980px, 110vw); aspect-ratio: 1; right: -18%; top: 50%; transform: translateY(-50%);
  background: no-repeat center / contain var(--ring);
}
.hero__inner {
  display: grid; gap: clamp(32px, 5vw, 72px); align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  padding-block: clamp(48px, 6vw, 92px) clamp(96px, 10vw, 140px);
}
@media (max-width: 920px) { .hero__inner { grid-template-columns: 1fr; padding-bottom: 104px; } }

.hero h1 { color: #fff; max-width: 14ch; }
.hero__tag { font-size: var(--t-sm); color: var(--on-ink-2); margin-bottom: var(--s5); display: flex; align-items: center; gap: 12px; }
.hero__tag::before { content: ""; width: 28px; height: 1px; background: var(--silver); }
.hero__lede { margin-top: var(--s5); color: var(--on-ink); }
.hero .btn-row { margin-top: var(--s6); }
.hero__meta {
  margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: var(--s3) var(--s6);
  font-size: var(--t-sm); color: var(--on-ink-2);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 16px; height: 16px; color: var(--silver-400); flex: none; }

/* Photo mosaic */
.mosaic {
  display: grid; gap: 14px;
  grid-template-columns: 1.05fr 1fr; grid-template-rows: 1fr 1fr;
  aspect-ratio: 1 / 1.02;
}
.mosaic figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--r-xl); background: #fff; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.mosaic figure:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic figure:first-child img { object-position: 30% center; }
.mosaic figcaption {
  position: absolute; left: 10px; bottom: 10px;
  padding: 6px 11px; border-radius: 100px;
  background: rgba(5,9,47,.82); color: #fff; font-size: var(--t-xs); font-weight: 500;
  backdrop-filter: blur(4px);
}
@media (max-width: 920px) {
  .mosaic { aspect-ratio: auto; grid-template-columns: repeat(3, 1fr); grid-template-rows: none; gap: 10px; }
  .mosaic figure:first-child { grid-row: auto; }
  .mosaic figure { aspect-ratio: 1; border-radius: 10px; }
  .mosaic figcaption { display: none; }
}

/* ---- 7. Trust strip ----------------------------------------------------- */
.trust { position: relative; z-index: 2; margin-top: -64px; }
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--r-xl);
  box-shadow: 0 18px 50px rgba(5, 9, 47, .14), 0 2px 6px rgba(5,9,47,.05);
  padding: var(--s6) var(--s5);
}
.trust__item { padding-inline: var(--s5); border-left: 1px solid var(--line); }
.trust__item:first-child { border-left: 0; }
.trust__item h3 { font-size: var(--t-base); margin-bottom: 5px; }
.trust__item p { font-family: var(--prose); font-size: var(--t-sm); color: var(--text-2); margin: 0; }
.trust__icon {
  width: 44px; height: 44px; border-radius: 50%; margin-bottom: 14px;
  display: grid; place-items: center; background: linear-gradient(145deg, var(--blue), var(--ink)); color: #fff;
}
.trust__icon svg { width: 22px; height: 22px; }
@media (max-width: 880px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: var(--s6) 0; }
  .trust__item:nth-child(odd) { border-left: 0; }
}
@media (max-width: 480px) {
  .trust__grid { grid-template-columns: 1fr; gap: var(--s5); }
  .trust__item { border-left: 0; padding-inline: var(--s2); }
}

/* ---- 8. Cards ----------------------------------------------------------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  overflow: hidden; text-decoration: none; color: inherit;
}
a.card { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
a.card:hover { border-color: var(--blue); box-shadow: 0 16px 36px rgba(43,58,156,.16); transform: translateY(-3px); }
a.card:hover .card__media img { transform: scale(1.035); }
a.card:hover .card__title { text-decoration: underline; text-decoration-color: var(--silver); }

.card__media { position: relative; background: #fff; border-bottom: 1px solid var(--line-soft); overflow: hidden; }
.card__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s ease; }
.card__cat { font-size: var(--t-xs); font-weight: 600; color: var(--blue); margin-bottom: 6px; }
.card__body { padding: var(--s5); display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: var(--t-lg); font-weight: 600; letter-spacing: -.015em; }
.card__text { font-family: var(--prose); font-size: var(--t-sm); color: var(--text-2); margin: 9px 0 0; }
.card__foot {
  margin-top: auto; padding-top: var(--s5);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s2) var(--s3);
  font-size: var(--t-xs);
}
.card__price { color: var(--text); font-weight: 600; }
.card__link { font-size: var(--t-sm); font-weight: 600; color: var(--blue); white-space: nowrap; }

/* Category tiles: full-bleed photograph, navy veil, text on top */
.bento {
  display: grid; gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(250px, auto);
}
.bento > :nth-child(1) { grid-column: span 2; grid-row: span 2; }
.bento > :nth-child(2) { grid-column: span 2; }
.bento > :nth-child(5), .bento > :nth-child(6) { grid-column: span 2; }
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(240px, auto); }
  .bento > * { grid-column: auto !important; grid-row: auto !important; }
  .bento > :nth-child(1) { grid-column: span 2 !important; }
}
@media (max-width: 560px) {
  .bento, .bento--3 { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .bento > :nth-child(1) { grid-column: auto !important; }
  .tile__text { display: none; }
  .tile__body { padding-top: 64px; }
  .bento > :nth-child(1) .tile__title { font-size: var(--t-xl); }
}
.bento--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 320px; }
.bento--3 > * { grid-column: auto !important; grid-row: auto !important; }
@media (max-width: 860px) { .bento--3 { grid-template-columns: 1fr; grid-auto-rows: 280px; } }

.tile {
  position: relative; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl); text-decoration: none; color: #fff; background: var(--ink);
  min-height: 250px;
}
.tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s ease; }
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5,9,47,0) 40%, rgba(5,9,47,.3) 100%);
}
.tile:hover .tile__img { transform: scale(1.05); }
.tile__body {
  width: 100%; padding: 84px var(--s5) var(--s5);
  /* the veil travels with the text, so it stays legible however tall the copy runs */
  background: linear-gradient(0deg, rgba(3,7,36,.95) 0%, rgba(3,7,36,.86) 58%, rgba(3,7,36,0) 100%);
}
.tile__text { max-width: 46ch; }
.tile__count {
  display: inline-block; margin-bottom: 10px; padding: 3px 10px; border-radius: 100px;
  background: rgba(5, 9, 47, .78); border: 1px solid rgba(255, 255, 255, .45);
  font-size: var(--t-xs);
}
.tile__title { display: block; font-size: var(--t-xl); font-weight: 600; letter-spacing: -.02em; }
.bento > :nth-child(1) .tile__title { font-size: var(--t-2xl); }
.tile__text { font-family: var(--prose); font-size: var(--t-sm); color: rgba(255,255,255,.82); margin: 8px 0 0; }
.tile__link {
  display: inline-block; margin-top: 14px; font-size: var(--t-sm); font-weight: 600;
  padding-bottom: 2px; border-bottom: 1px solid rgba(255,255,255,.45);
}
.tile:hover .tile__link { border-bottom-color: #fff; }
.tile:focus-visible { outline-offset: 4px; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px; border: 1px solid var(--silver-200); border-radius: 100px;
  font-size: var(--t-xs); color: var(--text-2); background: #fff; white-space: nowrap;
}
.chip--stock { border-color: var(--silver-200); color: var(--text-2); }
.chip--stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* ---- 9. Products page --------------------------------------------------- */
.catalogue { display: grid; grid-template-columns: 244px minmax(0, 1fr); gap: var(--s7); align-items: start; }
@media (max-width: 940px) { .catalogue { grid-template-columns: 1fr; gap: var(--s5); } }

.searchbar { position: relative; margin-bottom: var(--s6); max-width: 560px; }
.searchbar input {
  width: 100%; padding: 14px 16px 14px 46px;
  border: 1px solid var(--control-line); border-radius: var(--r); background: #fff;
}
.searchbar input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(5,9,47,.09); }
.searchbar svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; color: var(--silver); }

.filters { border: 1px solid var(--mist-line); border-radius: var(--r-lg); background: #fff; overflow: hidden; }
.filters__group { border-bottom: 1px solid var(--line-soft); padding: var(--s4) var(--s5); }
.filters__group:last-child { border-bottom: 0; }
.filters__group > h3 { font-size: var(--t-sm); font-weight: 600; margin-bottom: 11px; }
.filters label {
  display: flex; align-items: center; gap: 10px; padding: 7px 0; min-height: 36px;
  font-size: var(--t-sm); color: var(--text-2); cursor: pointer;
}
.filters label:hover { color: var(--ink); }
.filters input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.filters__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s4) var(--s5); background: var(--ink); color: #fff; border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.filters__head h2 { font-size: var(--t-base); color: #fff; }
.filters__head .btn--quiet { --btn-fg: var(--on-ink); }
.filters__head .btn--quiet:hover { --btn-fg: #fff; --btn-bg: rgba(255,255,255,.1); }

.filters-toggle { display: none; width: 100%; margin-bottom: var(--s4); }
@media (max-width: 940px) {
  .filters-toggle { display: inline-flex; }
  .filters { display: none; }
  .filters[data-open="true"] { display: block; margin-bottom: var(--s5); }
}

.results-bar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s3);
  margin-bottom: var(--s5); font-size: var(--t-sm); color: var(--text-3);
}
.active-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: var(--s5); }
.active-filters button {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 10px; border: 1px solid var(--control-line); background: var(--paper-2);
  border-radius: 100px; font-size: var(--t-xs); color: var(--text-2); cursor: pointer;
}
.active-filters button:hover { border-color: var(--ink); color: var(--ink); }

.empty {
  border: 1px dashed var(--silver-200); border-radius: var(--r-lg);
  padding: var(--s8) var(--s5); text-align: center; color: var(--text-2);
}
.empty h3 { margin-bottom: 8px; color: var(--text); }

/* ---- 10. Product detail ------------------------------------------------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } }

.gallery__main {
  border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-1);
}
.gallery__main.is-placeholder { background: var(--paper-2); }
.gallery__pending {
  margin: 12px 0 0; padding: 10px 14px; border-radius: var(--r-lg);
  background: var(--mist); font-size: var(--t-sm); color: var(--text-2);
}
.gallery__thumbs[hidden] { display: none; }
.gallery__main img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gallery__thumbs { display: flex; gap: var(--s3); margin-top: var(--s3); }
.gallery__thumbs button {
  flex: 0 0 88px; border-radius: 10px; padding: 0; background: var(--paper-2); cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
}
.gallery__thumbs button[aria-current="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.gallery__thumbs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.pdp__eyebrow { font-size: var(--t-sm); color: var(--text-3); margin-bottom: 10px; }
.pdp__eyebrow a { color: var(--text-3); }
.pdp h1 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.4rem); }
.pdp__summary { font-family: var(--prose); color: var(--text-2); margin-top: var(--s4); max-width: 52ch; }
.pdp__meta { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.pdp__price {
  margin-top: var(--s5); padding: var(--s4) 0; border-block: 1px solid var(--line);
  display: flex; align-items: baseline; gap: var(--s3);
}
.pdp__price strong { font-size: var(--t-lg); }
.pdp__price span { font-size: var(--t-sm); color: var(--text-3); }

.opt { margin-top: var(--s5); }
.opt__label { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); margin-bottom: 10px; }
.opt__label h3 { font-size: var(--t-sm); font-weight: 600; }
.opt__label em { font-style: normal; font-size: var(--t-sm); color: var(--text-3); }
.opt__values { display: flex; flex-wrap: wrap; gap: 9px; }
.opt__values button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; min-height: 42px;
  border: 1px solid var(--control-line); border-radius: var(--r); background: #fff;
  font-size: var(--t-sm); color: var(--text-2); cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.opt__values button:hover { border-color: var(--silver); color: var(--ink); }
.opt__values button[aria-checked="true"] {
  border-color: var(--ink); color: var(--ink); font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--ink);
}
.opt__swatch { width: 15px; height: 15px; border-radius: 50%; border: 1px solid rgba(5,9,47,.22); flex: none; }
.opt__note { font-family: var(--prose); font-size: var(--t-sm); color: var(--text-3); margin: 9px 0 0; }

.pdp__actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin-top: var(--s6); }
@media (max-width: 420px) { .pdp__actions { grid-template-columns: 1fr; } }
.pdp__wa { margin-top: var(--s3); }

.notice {
  margin-top: var(--s5); padding: var(--s4) var(--s5);
  background: var(--paper-2); border: 1px solid var(--line); border-left: 3px solid var(--ink);
  border-radius: 0 var(--r) var(--r) 0;
  font-family: var(--prose); font-size: var(--t-sm); color: var(--text-2);
}
.notice p { margin: 0; }
.notice p + p { margin-top: .6em; }
.notice strong { color: var(--text); font-family: var(--ui); font-weight: 600; }

/* Detail tabs / sections */
.detail { margin-top: var(--section); border-top: 1px solid var(--line); }
.detail__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); padding-top: var(--s7); }
@media (max-width: 900px) { .detail__grid { grid-template-columns: 1fr; } }
.detail h2 { font-size: var(--t-2xl); margin-bottom: var(--s4); }
.detail section + section { margin-top: var(--s8); }

.spec-table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.spec-table th, .spec-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.spec-table th { font-weight: 600; width: 46%; padding-right: var(--s4); }
.spec-table td { color: var(--text-2); }

.tick-list { list-style: none; padding: 0; }
.tick-list li { position: relative; padding-left: 28px; margin-bottom: 11px; font-family: var(--prose); color: var(--text-2); max-width: 62ch; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .58em;
  width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}

.aside-card { border: 1px solid var(--mist-line); border-radius: var(--r-xl); padding: var(--s6) var(--s5); background: var(--mist); position: sticky; top: 112px; }
.aside-card h3 { font-size: var(--t-lg); margin-bottom: 10px; }
.aside-card p { font-family: var(--prose); font-size: var(--t-sm); color: var(--text-2); }
.aside-card .btn { margin-top: var(--s2); }
@media (max-width: 900px) { .aside-card { position: static; } }

/* ---- 11. Accordion ------------------------------------------------------ */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s4);
  width: 100%; padding: 20px 0; background: none; border: 0; cursor: pointer;
  text-align: left; font-size: var(--t-lg); font-weight: 600; color: var(--text); letter-spacing: -.012em;
}
.acc__btn:hover { color: var(--ink-600); }
.acc__icon { flex: none; width: 20px; height: 20px; margin-top: 4px; position: relative; }
.acc__icon::before, .acc__icon::after {
  content: ""; position: absolute; background: var(--blue); border-radius: 1px;
  transition: transform .2s ease, opacity .2s ease;
}
.acc__icon::before { inset: 9px 0 auto; height: 2px; }
.acc__icon::after  { inset: 0 9px auto; width: 2px; height: 20px; }
.acc__btn[aria-expanded="true"] .acc__icon::after { transform: scaleY(0); opacity: 0; }
.acc__panel { display: none; padding-bottom: 22px; }
.acc__panel[data-open="true"] { display: block; }
.acc__panel > *:last-child { margin-bottom: 0; }

/* ---- 12. Education / articles ------------------------------------------- */
.edu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 16px; }
.edu-item { background: #fff; padding: var(--s6) var(--s5); border-radius: var(--r-xl); border: 1px solid var(--mist-line); transition: transform .22s ease, box-shadow .22s ease; }
a.edu-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.edu-item__icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, var(--blue), var(--ink)); color: #fff; margin-bottom: 18px; }
.edu-item__icon svg { width: 20px; height: 20px; }
.edu-item h3 { font-size: var(--t-lg); margin-bottom: 10px; }
.edu-item p { font-family: var(--prose); font-size: var(--t-sm); color: var(--text-2); margin: 0; }

/* ---- 12b. Bandaging layers (a genuine application sequence) ---------- */
.layers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: layer; position: relative; }
.layers::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 118px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28) 12%, rgba(255,255,255,.28) 88%, transparent);
}
.layer { position: relative; counter-increment: layer; }
.layer__img {
  position: relative; width: 236px; max-width: 100%; aspect-ratio: 1; border-radius: 50%;
  margin-bottom: var(--s5); background: #fff; border: 4px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 44px rgba(0,0,0,.35);
}
.layer__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.layer__num {
  position: absolute; left: 4px; top: 4px; width: 42px; height: 42px; border-radius: 50%; z-index: 1;
  display: grid; place-items: center; background: #fff; color: var(--ink);
  font-weight: 700; font-size: var(--t-sm); box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
.layer__num::before { content: counter(layer); }
.layer h3 { font-size: var(--t-lg); margin-bottom: 6px; }
.layer p { font-family: var(--prose); font-size: var(--t-sm); color: var(--on-ink); margin: 0 0 10px; max-width: 32ch; }
.layer a { display: inline-block; padding: 12px 0; color: #fff; font-size: var(--t-sm); font-weight: 600; text-decoration-color: rgba(255,255,255,.4); }
@media (max-width: 980px) {
  .layers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s7) var(--s5); }
  .layers::before { display: none; }
}
@media (max-width: 520px) {
  .layers { grid-template-columns: 1fr; }
  .layer { display: grid; grid-template-columns: 104px 1fr; column-gap: 18px; row-gap: 4px; align-items: start; }
  .layer__img { width: 104px; margin: 0; grid-row: 1 / span 3; grid-column: 1; }
  .layer h3, .layer p, .layer a { grid-column: 2; }
  .layer h3 { margin-top: 10px; }
  .layer__num { width: 34px; height: 34px; }
}

/* Split feature with a photograph */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } }
.feature__img { position: relative; }
.feature__img img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--shadow-3); }
.feature__img::before {
  content: ""; position: absolute; inset: -22px 22px 22px -22px; z-index: -1; border-radius: var(--r-xl);
  background: var(--knit), var(--ink);
}
.feature--reverse .feature__img { order: 2; }
@media (max-width: 900px) { .feature--reverse .feature__img { order: 0; } .feature__img::before { inset: -12px 12px 12px -12px; } }

/* Section heading row with trailing link */
.section-row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s5); flex-wrap: wrap; margin-bottom: var(--s7); }
.section-row .section-head { margin-bottom: 0; }

/* ---- 13. Call to action band -------------------------------------------- */
.cta-band { position: relative; overflow: hidden; background: var(--knit), linear-gradient(120deg, var(--blue) 0%, var(--ink-700) 38%, var(--ink) 75%, var(--ink-900) 100%); color: #fff; }
.cta-band::before {
  content: ""; position: absolute; right: -120px; top: -110px; width: 460px; height: 460px;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-width='5' stroke-linecap='round'%3E%3Cpath d='M26 50a24 24 0 1 1 24 24'/%3E%3Cpath d='M74 50a24 24 0 0 1-11 20'/%3E%3C/g%3E%3C/svg%3E");
  opacity: .11; pointer-events: none;
}
.cta-band .wrap { position: relative; }
.cta-band h2 { color: #fff; max-width: 22ch; }
.cta-band p { font-family: var(--prose); color: rgba(255,255,255,.78); max-width: 56ch; margin-top: var(--s4); }
.cta-band .btn-row { margin-top: var(--s6); }

/* ---- 14. Forms ---------------------------------------------------------- */
.field { margin-bottom: var(--s4); }
.field label { display: block; font-size: var(--t-sm); font-weight: 600; margin-bottom: 7px; }
.field .req { color: var(--text-3); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; background: #fff;
  border: 1px solid var(--control-line); border-radius: var(--r);
  font-size: 1rem;            /* 16px+ stops iOS Safari zooming the page when a field is tapped */
  min-height: 48px;
}
.field textarea { min-height: 118px; resize: vertical; font-family: var(--ui); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(5,9,47,.09);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: #9B2C2C; box-shadow: 0 0 0 3px rgba(155,44,44,.10);
}
.field__error { display: none; font-size: var(--t-xs); color: #9B2C2C; margin-top: 6px; }
.field__error[data-show="true"] { display: block; }
.field__hint { font-size: var(--t-xs); color: var(--text-3); margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; width: 0; }

.form-panel { border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--s6); background: #fff; box-shadow: var(--shadow-2); }
.form-privacy { font-size: var(--t-xs); color: var(--text-3); margin-top: var(--s4); }

.form-done { text-align: center; padding: var(--s6) var(--s4); }
.form-done h3 { margin-bottom: 10px; }
.form-done p { font-family: var(--prose); color: var(--text-2); max-width: 46ch; margin-inline: auto; }
.form-done__mark {
  width: 52px; height: 52px; margin: 0 auto var(--s4);
  border: 2px solid var(--ink); border-radius: 50%;
  display: grid; place-items: center; color: var(--ink);
}
.form-done__mark svg { width: 24px; height: 24px; }

/* ---- 15. Modal ---------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal[data-open="true"] { display: block; }
.modal__scrim { position: absolute; inset: 0; background: rgba(5, 9, 47, .55); backdrop-filter: blur(2px); }
.modal__panel {
  position: relative; margin: min(6vh, 56px) auto var(--s6); width: min(620px, calc(100% - 32px));
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-3);
  max-height: 88vh; overflow-y: auto;
}
.modal__head {
  position: sticky; top: 0; background: #fff; z-index: 1;
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s4);
  padding: var(--s5) var(--s6); border-bottom: 1px solid var(--line);
}
.modal__head h2 { font-size: var(--t-xl); }
.modal__head p { font-size: var(--t-sm); color: var(--text-3); margin: 5px 0 0; }
.modal__body { padding: var(--s6); }
.modal__close {
  flex: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff;
  border-radius: var(--r); cursor: pointer; color: var(--text-2); display: grid; place-items: center;
}
.modal__close:hover { border-color: var(--silver); color: var(--ink); }
.modal__close svg { width: 17px; height: 17px; }
body.is-locked { overflow: hidden; }

/* ---- 16. Sticky contact ------------------------------------------------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 55;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 18px; background: var(--ink); color: #fff;
  border-radius: 100px; box-shadow: var(--shadow-2); text-decoration: none;
  font-size: var(--t-sm); font-weight: 600;
}
.wa-float:hover { background: var(--ink-600); }
.wa-float svg { width: 21px; height: 21px; }

.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: none;
  grid-template-columns: repeat(3, 1fr);
  background: #fff; border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 11px 4px; min-height: 60px; text-decoration: none;
  font-size: var(--t-xs); font-weight: 600; color: var(--text-2); border-left: 1px solid var(--line-soft);
}
.mobile-bar a:first-child { border-left: 0; }
.mobile-bar a svg { width: 21px; height: 21px; color: var(--ink); }
.mobile-bar a.is-primary { background: var(--ink); color: #fff; }
.mobile-bar a.is-primary svg { color: #fff; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; }
  .wa-float { display: none; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}

/* ---- 17. Contact page --------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: var(--s4); padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { padding-top: 0; }
.contact-list svg { width: 22px; height: 22px; color: var(--ink); flex: none; margin-top: 2px; }
.contact-list h3 { font-size: var(--t-base); margin-bottom: 3px; }
.contact-list a { font-family: var(--prose); font-size: var(--t-lg); color: var(--ink); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list p { font-family: var(--prose); font-size: var(--t-sm); color: var(--text-2); margin: 4px 0 0; }

.map-panel {
  margin-top: var(--s7); border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--paper-2); overflow: hidden;
}
.map-panel iframe { width: 100%; height: 380px; border: 0; display: block; }
.map-panel__empty { padding: var(--s8) var(--s5); text-align: center; color: var(--text-3); }
.map-panel__empty svg { width: 30px; height: 30px; color: var(--silver); margin-bottom: 12px; }

/* ---- 18. Footer --------------------------------------------------------- */
.footer { background: var(--knit), var(--ink-950); color: rgba(255,255,255,.72); padding-block: var(--s9) var(--s6); margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(140px, 1fr)); gap: var(--s7) var(--s5); }
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; gap: var(--s6); } }
.footer__brand img { height: 72px; width: auto; background: #fff; padding: 12px 18px; border-radius: 12px; }
.footer__brand p { font-family: var(--prose); font-size: var(--t-sm); margin-top: var(--s4); max-width: 40ch; color: rgba(255,255,255,.72); }
.footer h3 { font-size: var(--t-sm); font-weight: 600; color: #fff; margin-bottom: var(--s4); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 4px; }
.footer li a { display: inline-block; padding: 11px 0; }
.footer a { color: rgba(255,255,255,.72); text-decoration: none; font-size: var(--t-sm); }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__social { display: flex; gap: 10px; margin-top: var(--s5); }
.footer__social a {
  width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.22); border-radius: var(--r);
  display: grid; place-items: center; color: rgba(255,255,255,.8);
}
.footer__social a:hover { border-color: #fff; color: #fff; }
.footer__social svg { width: 17px; height: 17px; }
.footer__base {
  margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid rgba(255,255,255,.16);
  display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); justify-content: space-between;
  font-size: var(--t-xs); color: rgba(255,255,255,.55);
}
.footer__base a { font-size: var(--t-xs); color: rgba(255,255,255,.55); }
.footer__disclaimer { max-width: 70ch; font-family: var(--prose); }

/* ---- 19. Page header ---------------------------------------------------- */
.page-head {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse 55% 120% at 90% 50%, rgba(43,58,156,.55) 0%, rgba(43,58,156,0) 70%),
    var(--knit), linear-gradient(160deg, #0A1142 0%, var(--ink) 60%, var(--ink-900) 100%);
  color: var(--on-ink); padding-block: clamp(44px, 5.5vw, 84px);
}
.page-head::before {
  content: ""; position: absolute; z-index: -1; width: 560px; aspect-ratio: 1;
  right: -120px; top: 50%; transform: translateY(-50%);
  background: no-repeat center / contain var(--ring);
}
.page-head h1 { max-width: 20ch; color: #fff; }
.page-head .lede { margin-top: var(--s4); color: var(--on-ink); }
.page-head .crumbs, .page-head .crumbs a { color: var(--on-ink-2); }
.page-head .crumbs a:hover { color: #fff; }
.page-head .muted { color: var(--on-ink) !important; }
.crumbs { font-size: var(--t-sm); color: var(--text-3); margin-bottom: var(--s4); }
.crumbs a { color: var(--text-3); text-decoration: none; display: inline-block; padding: 11px 0; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span { padding-inline: 7px; color: var(--silver-400); }
.crumbs > span.muted { color: var(--text-3); padding-inline: 0; }   /* current page: 5.4:1 */

/* ---- 20. Utilities ------------------------------------------------------ */
.stack > * + * { margin-top: var(--s4); }
.muted { color: var(--text-3); }
.text-center { text-align: center; }
.mt-6 { margin-top: var(--s6); }
.mt-7 { margin-top: var(--s7); }
.mb-0 { margin-bottom: 0; }
.js-hidden { display: none !important; }
@media print {
  .masthead, .footer, .wa-float, .mobile-bar, .modal, .cta-band { display: none !important; }
}

.tile__img { object-position: center 35%; }

.drawer__top .brand img { height: 52px; }

/* ---- Contact bar above the header ---------------------------------------- */
.topbar { background: var(--knit), linear-gradient(90deg, var(--ink) 0%, #141F6B 100%); color: var(--on-ink); font-size: var(--t-xs); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 38px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; padding: 6px 0; }
.topbar a:hover { text-decoration: underline; text-decoration-color: rgba(255,255,255,.5); }
.topbar svg { width: 14px; height: 14px; flex: none; }
.topbar__links { display: flex; gap: var(--s5); }
.topbar__place { display: inline-flex; align-items: center; gap: 7px; color: var(--on-ink-2); }
@media (max-width: 560px) { .topbar { display: none; } }
@media (max-width: 760px) { .topbar__place { display: none; } .topbar__inner { justify-content: center; } }

/* a thin blue rule under the header ties it to the navy sections */
.masthead { border-bottom: 3px solid var(--blue); }

/* ---- Kit type descriptions + modified-kit builder -------------------------- */
.opt__hint {
  margin: 12px 0 0; padding: 10px 14px; border-radius: var(--r-lg);
  background: var(--mist); border-left: 3px solid var(--blue);
  font-family: var(--prose); font-size: var(--t-sm); color: var(--text-2);
}
.opt__hint:empty { display: none; }

.kit-builder {
  margin: 4px 0 var(--s5); padding: var(--s5); min-width: 0;
  border: 1px solid var(--mist-line); border-radius: var(--r-lg); background: var(--mist);
}
.kit-builder[hidden] { display: none; }
.kit-builder legend {
  padding: 4px 12px; border-radius: 100px; background: var(--ink); color: #fff;
  font-size: var(--t-sm); font-weight: 600;
}
.kit-builder__intro { font-size: var(--t-sm); color: var(--text-2); margin: 10px 0 14px; }
.kit-rows { display: grid; gap: 8px; margin-bottom: var(--s5); }
.kit-row {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  padding: 8px 8px 8px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.kit-row.is-set { border-color: var(--blue); box-shadow: inset 3px 0 0 var(--blue); }
.kit-row label { font-size: var(--t-sm); color: var(--text); line-height: 1.35; }
.stepper { display: flex; align-items: center; flex: none; border: 1px solid var(--control-line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.stepper button {
  width: 44px; height: 44px; border: 0; background: var(--paper-2); color: var(--ink);
  font-size: 1.25rem; font-weight: 600; cursor: pointer; line-height: 1;
}
.stepper button:hover { background: var(--mist-2); color: var(--blue); }
.stepper input {
  width: 48px; height: 44px; min-height: 0; border: 0; text-align: center; padding: 0;
  font-size: 1rem; font-weight: 600; -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: 2px solid var(--blue); outline-offset: -2px; }
.kit-photo {
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
  padding: 14px; background: #fff; border: 1px dashed var(--blue); border-radius: var(--r-lg);
  font-size: var(--t-sm); color: var(--text-2);
}
.kit-photo input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--blue); }
.kit-photo strong { color: var(--text); }
.kit-builder .field__error { margin-top: 10px; }
@media (max-width: 420px) {
  .kit-builder { padding: var(--s4); }
  .kit-row { padding-left: 12px; }
  .stepper button { width: 42px; }
  .stepper input { width: 40px; }
}
.form-done__photo {
  margin-top: 16px !important; padding: 12px 16px; border-radius: var(--r-lg);
  background: var(--mist); border-left: 3px solid var(--blue); text-align: left;
}

/* Kit-type cards on the bandaging page */
.kit-card { display: flex; flex-direction: column; padding: var(--s6) var(--s5); background: #fff;
  border: 1px solid var(--mist-line); border-radius: var(--r-xl); text-decoration: none; color: inherit;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
a.kit-card:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: 0 16px 36px rgba(43,58,156,.16); }
.kit-card h3 { font-size: var(--t-lg); margin-bottom: 8px; }
.kit-card p { font-family: var(--prose); font-size: var(--t-sm); color: var(--text-2); margin: 0 0 16px; }
.kit-card span { margin-top: auto; font-size: var(--t-sm); font-weight: 600; color: var(--blue); }
.kit-card--feature { background: radial-gradient(ellipse 80% 90% at 100% 0%, rgba(43,58,156,.5) 0%, rgba(43,58,156,0) 70%), var(--knit), var(--ink); border-color: var(--ink); color: #fff; }
.kit-card--feature h3 { color: #fff; }
.kit-card--feature p { color: var(--on-ink); }
.kit-card--feature span { color: #fff; }

/* the hidden attribute must win over .field-row { display: grid } */
.field-row[hidden], [data-garment-fields][hidden] { display: none; }

/* ---- Phones: the enquiry form becomes a full-screen sheet ------------------ */
@media (max-width: 560px) {
  .modal__panel {
    margin: 0; width: 100%; height: 100%; max-height: 100%;
    border-radius: 0; display: flex; flex-direction: column;
  }
  .modal__head { padding: 14px 16px; align-items: center; }
  .modal__head h2 { font-size: 1.2rem; }
  .modal__head p { font-size: var(--t-xs); margin-top: 2px; }
  .modal__body { padding: 16px 16px calc(24px + env(safe-area-inset-bottom)); }
  .kit-builder { padding: 14px 12px; margin-inline: -4px; }
  .kit-row { padding: 6px 6px 6px 10px; gap: 8px; }
  .stepper button { width: 40px; height: 44px; }
  .stepper input { width: 34px; }
}


/* ---- Accessibility corrections ------------------------------------------- */
/* Touch targets: everything a thumb must hit needs 44px of height. */
.filters label { min-height: 44px; }
.active-filters button { min-height: 44px; }
.filters__head .btn--quiet { min-height: 44px; }
.form-privacy a { display: inline-block; padding: 6px 0; }

/* Links in running text must not rely on colour alone. */
.prose a, .form-privacy a, .footer__disclaimer a {
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
}

/* The sticky masthead repainted a backdrop blur on every scroll frame, which is
   the most expensive common effect on a mid-range Android GPU. */
.masthead { background: rgba(255, 255, 255, .97); backdrop-filter: none; }

/* 400% zoom: a min-content stepper could push the contact grid wider than the screen. */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .kit-builder { margin-inline: 0; }
  .kit-row { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .kit-row .stepper { width: 100%; }
  .stepper button { flex: 1; width: auto; min-width: 48px; }
  .stepper input { flex: 0 0 64px; width: 64px; }
}

/* ---- Product page skeleton ----------------------------------------------- */
/* The PDP is built by JS. Without reserved space the footer sits mid-screen and
   is then shoved down a whole viewport — a 0.79 layout shift. */
.pdp-skeleton { display: grid; grid-template-columns: minmax(0,1.06fr) minmax(0,1fr);
  gap: clamp(28px, 4vw, 64px); align-items: start; }
.pdp-skeleton__media { aspect-ratio: 1/1; border-radius: var(--r-xl); background: var(--paper-2);
  border: 1px solid var(--line); }
.pdp-skeleton__info { display: grid; gap: 18px; padding-top: 8px; }
.pdp-skeleton__line { display: block; height: 1.1rem; border-radius: 6px; background: var(--paper-3); }
@media (max-width: 900px) { .pdp-skeleton { grid-template-columns: 1fr; } }
.pdp-shell.is-ready .pdp-skeleton { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .pdp-skeleton__media, .pdp-skeleton__line { animation: pdp-pulse 1.6s ease-in-out infinite; }
  @keyframes pdp-pulse { 50% { opacity: .55; } }
}
