/* ============================================================
   SkinLand design system — dark luxury (charcoal + sage)
   mobile-first, zero-framework
   ============================================================ */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --c-bg: #141417;            /* near-black charcoal */
  --c-bg-soft: #1a1a1e;       /* subtle lift for alt sections */
  --c-surface: #1e1f24;       /* cards */
  --c-surface-2: #26282e;     /* lifted controls */
  --c-border: rgba(255, 255, 255, 0.10);
  --c-border-strong: rgba(255, 255, 255, 0.18);
  --c-tile: #ffffff;          /* white tile for product photos (so white-bg shots blend) */

  --c-ink: #ece8e1;           /* warm off-white, primary text */
  --c-ink-soft: #a7a49c;      /* muted secondary */
  --c-ink-faint: #8f8c84;     /* faint / meta — AA on all dark bgs (>=4.9:1) */

  --c-accent: #97a67d;        /* sage botanical */
  --c-accent-strong: #aebb92; /* hover / large */
  --c-accent-text: #b6c39a;   /* lighter sage for small text on dark (AA) */
  --c-accent-soft: rgba(151, 166, 125, 0.14);
  --c-on-accent: #15161a;     /* text/icon colour on a sage (--c-accent) fill */

  --c-danger: #e1938b;
  --c-success: #9bbd8f;

  --c-header-bg: rgb(20 20 23 / .82);

  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 3px rgb(0 0 0 / .4);
  --shadow-md: 0 14px 40px rgb(0 0 0 / .5);
  --container: 1200px;
  --header-h: 64px;
}

/* Light theme — warm ivory + charcoal + deeper sage. The hero, CTA bands and
   footer stay dark in both themes (intentional "dark islands"). */
:root[data-theme="light"] {
  --c-bg: #f5f3ee;
  --c-bg-soft: #ece9e2;
  --c-surface: #ffffff;
  --c-surface-2: #f1eee7;
  --c-border: rgba(35, 34, 32, 0.12);
  --c-border-strong: rgba(35, 34, 32, 0.22);
  --c-tile: #ffffff;

  --c-ink: #232220;
  --c-ink-soft: #5c5a53;
  --c-ink-faint: #716f68;     /* AA on ivory (>=4.9:1) */

  --c-accent: #62704a;        /* deeper sage so fills read on ivory */
  --c-accent-strong: #51603c;
  --c-accent-text: #4d5a37;   /* deep olive — AA for small text/links on light */
  --c-accent-soft: rgba(98, 112, 74, 0.12);
  --c-on-accent: #ffffff;

  --c-danger: #b3372f;
  --c-success: #2f7d4f;

  --c-header-bg: rgb(252 251 248 / .85);

  --shadow-sm: 0 1px 3px rgb(35 34 32 / .08);
  --shadow-md: 0 16px 42px rgb(35 34 32 / .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-accent-text); }
h1, h2, h3, h4 { line-height: 1.22; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.8rem, 3vw, 2.35rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .container { padding-inline: 24px; } }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--c-accent); color: var(--c-on-accent); padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* Author-defined focus ring */
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; border-radius: 3px; }
.btn:focus-visible { outline-offset: 3px; }
.cart-button:focus-visible, .nav-toggle:focus-visible { outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: .92rem;
  padding: 10px 20px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; text-align: center;
  transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--c-accent); color: var(--c-on-accent); }
.btn-primary:hover { background: var(--c-accent-strong); }
.btn-accent { background: var(--c-accent); color: var(--c-on-accent); }
.btn-accent:hover { background: var(--c-accent-strong); }
.btn-ghost { background: transparent; color: var(--c-ink); border-color: var(--c-border-strong); }
.btn-ghost:hover { background: rgb(255 255 255 / .07); border-color: var(--c-accent); color: var(--c-accent-text); }
/* Fixed light button — always used over dark islands (hero, CTA band) */
.btn-light { background: #ece8e1; color: #1a1a1c; }
.btn-light:hover { background: #fff; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--c-header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
}
.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--c-ink); margin-right: auto; }
.logo-mark { width: 30px; height: 30px; color: var(--c-accent); }
.logo-text { font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.05; display: flex; flex-direction: column; }
.logo-text small { font-weight: 600; font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-ink-soft); }

.main-nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 8px 13px; border-radius: 8px;
  color: var(--c-ink-soft); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.main-nav a:hover { background: rgb(255 255 255 / .06); color: var(--c-ink); }
.main-nav a[aria-current="page"] { color: var(--c-accent-text); background: var(--c-accent-soft); }

.nav-toggle { display: none; }

.header-actions { display: flex; align-items: center; gap: 6px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--c-ink); text-decoration: none; font-weight: 700; font-size: .92rem;
  padding: 8px 12px; border-radius: 8px;
}
.header-phone:hover { background: rgb(255 255 255 / .06); }
.header-phone svg { width: 17px; height: 17px; color: var(--c-accent); }
.cart-button {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 1px solid var(--c-border); border-radius: 50%;
  background: rgb(255 255 255 / .06); color: var(--c-ink); cursor: pointer;
}
.cart-button:hover { background: rgb(255 255 255 / .12); border-color: var(--c-border-strong); }
.cart-button svg { width: 21px; height: 21px; }
.cart-count {
  position: absolute; top: -4px; right: -4px;
  min-width: 19px; height: 19px; padding: 0 5px;
  background: var(--c-accent); color: var(--c-on-accent);
  font-size: .72rem; font-weight: 800; line-height: 19px;
  border-radius: 999px; text-align: center;
}
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 34px; padding: 0 9px; border: 1px solid var(--c-border); border-radius: 999px;
  background: transparent; color: var(--c-ink); text-decoration: none;
  font-weight: 700; font-size: .8rem; letter-spacing: .04em;
}
.lang-switch:hover { background: rgb(128 128 128 / .1); border-color: var(--c-border-strong); }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 1px solid var(--c-border); border-radius: 50%;
  background: rgb(128 128 128 / .06); color: var(--c-ink); cursor: pointer;
}
.theme-toggle:hover { background: rgb(128 128 128 / .14); border-color: var(--c-border-strong); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: inline-block; }

@media (max-width: 919px) {
  .header-phone span { display: none; }
  .header-phone { padding: 8px; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; padding: 10px;
    background: none; border: 1px solid var(--c-border); border-radius: 8px; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--c-ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { order: 5; }
  .main-nav ul {
    display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; gap: 0; padding: 8px;
    background: var(--c-surface); border-bottom: 1px solid var(--c-border); box-shadow: var(--shadow-md);
  }
  .main-nav ul.is-open { display: flex; }
  .main-nav a { padding: 13px 16px; font-size: 1.05rem; }
}

/* ---------- Hero (image-driven, dark luxury) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: #fff;
  min-height: clamp(400px, 60vh, 560px);
  display: flex; align-items: center;
  padding: clamp(56px, 6vw, 80px) 0;
  background: #0d0d0f;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url('/images/hero-dark.jpg') center right / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(13,13,15,.94) 0%, rgba(13,13,15,.88) 40%, rgba(13,13,15,.70) 70%, rgba(13,13,15,.35) 100%),
    linear-gradient(0deg, rgba(13,13,15,.55) 0%, rgba(13,13,15,0) 42%);
}
.hero-inner { position: relative; z-index: 1; display: block; }
.hero-content { max-width: 600px; }
.hero-eyebrow {
  text-transform: uppercase; letter-spacing: .22em; font-size: .72rem; font-weight: 700;
  color: #b6c39a; margin: 0 0 16px; /* fixed light sage — hero is always dark */
  display: inline-flex; align-items: center; gap: 10px;
}
.hero-eyebrow::before { content: ""; width: 26px; height: 1px; background: #97a67d; }
.hero h1 { color: #fff; margin-bottom: .42em; text-wrap: balance; }
.hero p.lead { font-size: clamp(1rem, 2vw, 1.18rem); color: rgb(255 255 255 / .9); max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 879px) {
  .hero { min-height: 540px; }
  .hero::before { background-position: 62% center; }
  .hero::after { background: linear-gradient(180deg, rgba(13,13,15,.72) 0%, rgba(13,13,15,.84) 100%); }
}

/* ---------- USP strip ---------- */
.usp-strip { background: var(--c-bg-soft); border-bottom: 1px solid var(--c-border); }
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 4px; padding-block: 16px; }
.usp { display: flex; align-items: center; gap: 11px; padding: 8px 10px; font-size: .88rem; font-weight: 600; color: var(--c-ink-soft); }
.usp svg { flex: none; width: 22px; height: 22px; color: var(--c-accent); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(44px, 4.5vw, 64px); }
.section-alt { background: var(--c-bg-soft); border-block: 1px solid var(--c-border); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 28px; }
.section-head p { color: var(--c-ink-soft); margin: 0; }
.section-link { font-weight: 700; white-space: nowrap; color: var(--c-accent-text); text-decoration: none; }
.section-link:hover { text-decoration: underline; }

/* ---------- Product grid & cards (uniform white tiles) ---------- */
.product-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
@media (min-width: 1020px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius);
  overflow: hidden; transition: border-color .18s, transform .18s, box-shadow .18s;
}
.product-card:hover { transform: translateY(-3px); border-color: var(--c-border-strong); box-shadow: var(--shadow-md); }
.product-card-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }
/* inset white tile — fixed ratio + padding so every product reads uniform */
.product-card-media {
  position: relative; aspect-ratio: 1; background: var(--c-tile);
  margin: 12px; border-radius: var(--radius-sm); padding: 16px; overflow: hidden;
}
.product-card-media img { width: 100%; height: 100%; object-fit: contain; }
.product-card-noimg {
  display: grid; place-items: center; height: 100%;
  background: var(--c-accent-soft); color: var(--c-accent); font-weight: 800;
}
.product-card-body { padding: 2px 16px 4px; display: flex; flex-direction: column; flex: 1; }
.product-card-brand { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent-text); margin: 0 0 6px; }
.product-card-name {
  font-size: .9rem; font-weight: 500; line-height: 1.4; margin: 0 0 10px; color: var(--c-ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.8em; /* reserve exactly 2 lines (1.4 × 2) so price + button align across cards */
}
.product-card-price { font-size: 1.05rem; font-weight: 700; margin: 0; color: var(--c-ink); }
.btn-card { margin: 12px 16px 16px; padding: 9px 16px; font-size: .88rem; }
.is-soldout .product-card-media img { opacity: .4; filter: grayscale(.55); }

.badge {
  position: absolute; top: 18px; left: 18px;
  padding: 4px 11px; border-radius: 999px;
  font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.badge-soldout { background: rgb(20 20 23 / .9); color: #fff; backdrop-filter: blur(2px); }

/* ---------- Brand cards (logo on white tile) ---------- */
.brand-cards { display: grid; gap: 22px; }
@media (min-width: 720px) { .brand-cards { grid-template-columns: 1fr 1fr; } }
.brand-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius);
  color: var(--c-ink); text-decoration: none; padding: 26px;
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.brand-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--c-accent); }
.brand-card-logo {
  display: flex; align-items: center; justify-content: center;
  background: var(--c-tile); border-radius: var(--radius-sm);
  padding: 28px; min-height: 138px; margin-bottom: 22px;
}
.brand-card-logo img { max-height: 78px; width: auto; object-fit: contain; }
.brand-card p { margin: 0; color: var(--c-ink-soft); font-size: .95rem; flex: 1; }
.brand-card-count {
  position: absolute; top: 18px; right: 18px; font-size: .78rem; font-weight: 700;
  color: var(--c-accent-text); background: var(--c-accent-soft); padding: 4px 12px; border-radius: 999px;
}
.brand-card-cta { margin-top: 20px; font-weight: 700; color: var(--c-accent-text); }
.brand-card:hover .brand-card-cta { text-decoration: underline; }

/* ---------- CTA band (dark island in both themes) ---------- */
.cta-band {
  position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
  background:
    radial-gradient(120% 140% at 88% 12%, rgba(151,166,125,.20) 0%, rgba(151,166,125,0) 58%),
    linear-gradient(135deg, #202126 0%, #16171a 100%);
  border: 1px solid rgb(255 255 255 / .08);
  color: #ece8e1; border-radius: var(--radius); padding: clamp(30px, 5vw, 52px);
}
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { color: #b5b2aa; margin: 0; max-width: 62ch; }
.cta-band .btn { flex: none; }

/* ---------- Shop toolbar ---------- */
.shop-layout { display: grid; gap: 28px; }
@media (min-width: 920px) { .shop-layout { grid-template-columns: 240px 1fr; align-items: start; } }
.shop-filters { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 18px; }
.shop-filters > summary {
  font-weight: 700; font-size: 1rem; cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
}
.shop-filters > summary::-webkit-details-marker { display: none; }
.shop-filters > summary::after {
  content: ''; width: 9px; height: 9px; margin-right: 4px;
  border-right: 2px solid var(--c-ink-soft); border-bottom: 2px solid var(--c-ink-soft);
  transform: rotate(45deg); transition: transform .2s;
}
.shop-filters[open] > summary::after { transform: rotate(-135deg); }
@media (min-width: 920px) {
  .shop-filters { position: sticky; top: calc(var(--header-h) + 16px); }
  .shop-filters > summary { display: none; }
  .shop-filters > *:not(summary) { display: block !important; }
  .shop-filters::details-content { content-visibility: visible !important; }
}
.filter-group { border-top: 1px solid var(--c-border); padding-block: 12px; }
.filter-group h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .09em; color: var(--c-ink-soft); margin-bottom: 8px; }
.filter-group label { display: flex; align-items: center; gap: 9px; padding: 4px 0; font-size: .93rem; cursor: pointer; color: var(--c-ink); }
.filter-group input { accent-color: var(--c-accent); width: 16px; height: 16px; }
.shop-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 20px; }
.shop-search { flex: 1 1 220px; position: relative; }
.shop-search input {
  width: 100%; padding: 11px 14px 11px 40px;
  border: 1px solid var(--c-border); border-radius: 999px;
  font: inherit; font-size: .95rem; background: var(--c-surface); color: var(--c-ink);
}
.shop-search input::placeholder { color: var(--c-ink-faint); }
.shop-search svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--c-ink-soft); pointer-events: none; }
.shop-sort select {
  padding: 10px 14px; border: 1px solid var(--c-border); border-radius: 999px;
  font: inherit; font-size: .9rem; background: var(--c-surface); color: var(--c-ink); cursor: pointer;
}
.shop-count { font-size: .9rem; color: var(--c-ink-soft); margin-left: auto; }
.shop-empty { text-align: center; padding: 48px 0; color: var(--c-ink-soft); }

/* ---------- Product page ---------- */
.breadcrumbs { font-size: .85rem; margin: 18px 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: '›'; margin-right: 6px; color: var(--c-ink-faint); }
.breadcrumbs a { text-decoration: none; color: var(--c-ink-soft); }
.breadcrumbs a:hover { color: var(--c-accent-text); }
.breadcrumbs [aria-current] { color: var(--c-ink-faint); }

.product-layout { display: grid; gap: 32px; margin-bottom: 48px; }
@media (min-width: 880px) { .product-layout { grid-template-columns: 1fr 1fr; align-items: start; } }
.product-gallery { position: sticky; top: calc(var(--header-h) + 16px); }
.product-gallery-main {
  background: var(--c-tile); border: 1px solid var(--c-border); border-radius: var(--radius);
  aspect-ratio: 1; padding: 28px; display: grid; place-items: center;
}
.product-gallery-main img { max-height: 100%; object-fit: contain; cursor: zoom-in; }
.product-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.product-thumbs button {
  width: 64px; height: 64px; padding: 6px; background: var(--c-tile);
  border: 1px solid var(--c-border); border-radius: var(--radius-sm); cursor: pointer;
}
.product-thumbs button[aria-current="true"] { border-color: var(--c-accent); box-shadow: 0 0 0 1px var(--c-accent); }
.product-thumbs img { width: 100%; height: 100%; object-fit: contain; }

.product-info .brand-link { font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c-accent-text); text-decoration: none; }
.product-price { font-size: 1.5rem; font-weight: 800; margin: 12px 0 2px; color: var(--c-ink); }
.product-vat { font-size: .82rem; color: var(--c-ink-soft); margin-bottom: 18px; }
.product-buy { display: flex; gap: 12px; align-items: stretch; margin: 20px 0; }
.qty {
  display: inline-flex; align-items: center; border: 1px solid var(--c-border);
  border-radius: 999px; background: var(--c-surface);
}
.qty button { width: 38px; height: 42px; font-size: 1.15rem; background: none; border: none; cursor: pointer; color: var(--c-accent-text); font-weight: 800; }
.qty input { width: 40px; text-align: center; border: none; font: inherit; font-weight: 700; background: none; color: var(--c-ink); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { display: none; }
.product-meta { font-size: .88rem; color: var(--c-ink-soft); display: grid; gap: 6px; margin-top: 18px; }
.product-meta svg { width: 17px; height: 17px; color: var(--c-accent); vertical-align: -3px; margin-right: 7px; }
.soldout-note {
  background: rgb(225 147 139 / .12); border: 1px solid rgb(225 147 139 / .32); color: var(--c-danger);
  padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 600; margin: 20px 0;
}

.product-description { max-width: 76ch; }
.product-description h2 { font-size: 1.2rem; margin-top: 0; }
.product-description p { color: var(--c-ink-soft); }

/* ---------- Content pages ---------- */
.page-head { padding: clamp(32px, 3.5vw, 44px) 0 8px; }
.page-head p.lead { color: var(--c-ink-soft); font-size: 1.02rem; max-width: 64ch; }
.prose { max-width: 76ch; padding-bottom: 56px; color: var(--c-ink); }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--c-accent-text); }
.info-callout {
  background: var(--c-accent-soft); border: 1px solid rgb(151 166 125 / .28); border-radius: var(--radius);
  padding: 18px 22px; margin: 22px 0; font-weight: 600; color: var(--c-ink);
}

/* ---------- TrichoTest homepage promo ---------- */
.trichotest-promo {
  display: grid; gap: 28px; align-items: center;
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: clamp(22px, 4vw, 40px);
}
@media (min-width: 820px) { .trichotest-promo { grid-template-columns: .8fr 1.2fr; } }
.trichotest-promo-media { background: var(--c-tile); border-radius: var(--radius-sm); padding: 18px; }
.trichotest-promo-media img { width: 100%; max-width: 360px; margin-inline: auto; }
.trichotest-promo-body h2 { margin: 6px 0 10px; }
.trichotest-promo-body p { color: var(--c-ink-soft); margin: 0; max-width: 58ch; }

/* ---------- TrichoTest infographics ---------- */
.tt-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 20px 0 8px; }
@media (min-width: 640px) { .tt-stats { grid-template-columns: repeat(4, 1fr); } }
.tt-stat { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 18px; text-align: center; }
.tt-stat b { display: block; font-size: 1.7rem; font-weight: 800; color: var(--c-accent-text); line-height: 1; }
.tt-stat span { display: block; margin-top: 6px; font-size: .82rem; color: var(--c-ink-soft); }

.tt-cats { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 16px 0 8px; }
@media (min-width: 560px) { .tt-cats { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .tt-cats { grid-template-columns: 1fr 1fr 1fr; } }
.tt-cat { display: flex; align-items: center; gap: 12px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-sm); padding: 13px 16px; font-size: .92rem; font-weight: 600; }
.tt-cat svg { flex: none; width: 22px; height: 22px; color: var(--c-accent); }

.tt-methods { display: grid; gap: 14px; margin: 16px 0; }
@media (min-width: 720px) { .tt-methods { grid-template-columns: repeat(3, 1fr); } }
.tt-method { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 22px; }
.tt-method .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--c-accent-soft); color: var(--c-accent); display: grid; place-items: center; margin-bottom: 12px; }
.tt-method .ic svg { width: 24px; height: 24px; }
.tt-method h3 { font-size: 1.05rem; margin: 0 0 4px; }
.tt-method p { margin: 0; color: var(--c-ink-soft); font-size: .9rem; }

/* Report drug-efficacy preview */
.report-panel { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 22px; margin: 16px 0; }
.report-row { display: grid; grid-template-columns: 130px 1fr 70px; align-items: center; gap: 12px; padding: 7px 0; font-size: .9rem; }
.report-row .bar { height: 9px; border-radius: 999px; background: var(--c-bg-soft); overflow: hidden; }
.report-row .bar i { display: block; height: 100%; border-radius: 999px; }
.report-row b { text-align: right; font-weight: 700; font-size: .85rem; }
.report-row.blocked span, .report-row.blocked b { color: var(--c-danger); }
.report-note { font-size: .8rem; color: var(--c-ink-soft); margin: 14px 0 0; }
.report-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; font-size: .8rem; color: var(--c-ink-soft); }
.report-legend i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }

/* ---------- Process steps (TrichoTest) ---------- */
.steps-grid { display: grid; gap: 16px; margin: 8px 0 40px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }
.step-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 24px 22px; }
.step-card .step-num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--c-accent-soft); color: var(--c-accent-text); font-weight: 800; margin-bottom: 14px; }
.step-card h3 { font-size: 1.02rem; margin: 0 0 6px; }
.step-card p { color: var(--c-ink-soft); margin: 0; font-size: .92rem; }

/* ---------- Service cards ---------- */
.service-grid { display: grid; gap: 22px; }
@media (min-width: 720px) { .service-grid { grid-template-columns: 1fr 1fr; } }
.service-card {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 8px;
}
.service-card h3 { font-size: 1.2rem; margin: 0; }
.service-card p { color: var(--c-ink-soft); margin: 0; flex: 1; }
.service-card .btn { align-self: flex-start; margin-top: 12px; }
.service-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--c-accent-soft); display: grid; place-items: center; color: var(--c-accent); }
.service-icon svg { width: 24px; height: 24px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--c-border); border-radius: var(--radius-sm);
  font: inherit; background: var(--c-surface); color: var(--c-ink);
}
.field input::placeholder, .field textarea::placeholder { color: var(--c-ink-faint); }
.field input:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--c-accent); outline-offset: 1px;
}
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pill { flex: 1 1 160px; }
.radio-pill input { position: absolute; opacity: 0; }
.radio-pill span {
  display: block; padding: 12px 16px; text-align: center; font-weight: 700; font-size: .92rem;
  border: 1px solid var(--c-border); border-radius: var(--radius-sm); cursor: pointer; background: var(--c-surface); color: var(--c-ink);
}
.radio-pill input:checked + span { border-color: var(--c-accent); background: var(--c-accent-soft); color: var(--c-accent-text); }
.radio-pill input:focus-visible + span { outline: 2px solid var(--c-accent); outline-offset: 2px; }

/* ---------- DPD locker combobox ---------- */
.locker-combobox { position: relative; }
.locker-combobox > input {
  width: 100%; padding: 11px 14px 11px 40px;
  border: 1px solid var(--c-border); border-radius: var(--radius-sm);
  background: var(--c-surface); color: var(--c-ink); font: inherit;
}
.locker-combobox > input::placeholder { color: var(--c-ink-faint); }
.locker-search-icon { position: absolute; left: 13px; top: 13px; width: 18px; height: 18px; color: var(--c-ink-soft); pointer-events: none; }
.locker-results {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px);
  margin: 0; padding: 6px; list-style: none; max-height: 320px; overflow-y: auto;
  background: var(--c-surface); border: 1px solid var(--c-border-strong);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
}
.locker-results li { padding: 9px 12px; border-radius: 8px; cursor: pointer; font-size: .9rem; }
.locker-results li:hover, .locker-results li[aria-selected="true"] { background: var(--c-accent-soft); }
.locker-results li b { display: block; font-weight: 700; }
.locker-results li span { color: var(--c-ink-soft); font-size: .83rem; }
.locker-results .locker-empty { color: var(--c-ink-soft); cursor: default; }
.locker-results .locker-empty:hover { background: none; }
.locker-selected { margin: 10px 0 0; padding: 10px 14px; background: var(--c-accent-soft); border: 1px solid rgb(151 166 125 / .26); border-radius: var(--radius-sm); font-size: .9rem; }
.locker-selected b { color: var(--c-accent-text); }

/* ---------- Cart page & drawer ---------- */
.cart-overlay {
  position: fixed; inset: 0; z-index: 60;
  background: rgb(0 0 0 / .62); backdrop-filter: blur(3px);
}
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 61;
  width: min(420px, 100vw);
  background: var(--c-bg-soft); border-left: 1px solid var(--c-border); box-shadow: var(--shadow-md);
  display: flex; flex-direction: column;
  animation: drawer-in .22s ease;
}
@keyframes drawer-in { from { translate: 30px 0; opacity: 0; } }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--c-border); }
.cart-head h2 { margin: 0; font-size: 1.15rem; }
.cart-close { background: none; border: none; font-size: 1.1rem; cursor: pointer; padding: 8px; color: var(--c-ink-soft); }
.cart-close:hover { color: var(--c-ink); }
.cart-items { flex: 1; overflow-y: auto; padding: 12px 20px; }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--c-border); align-items: center; }
.cart-line img { width: 64px; height: 64px; object-fit: contain; background: var(--c-tile); border: 1px solid var(--c-border); border-radius: var(--radius-sm); padding: 4px; }
.cart-line-name { font-size: .88rem; font-weight: 600; line-height: 1.3; text-decoration: none; color: inherit; }
.cart-line-price { font-size: .92rem; font-weight: 800; white-space: nowrap; }
.cart-line-controls { grid-column: 2 / -1; display: flex; align-items: center; gap: 12px; }
.cart-line-controls .qty button { height: 34px; width: 32px; }
.cart-line-remove { background: none; border: none; color: var(--c-ink-soft); font-size: .82rem; cursor: pointer; text-decoration: underline; padding: 4px; }
.cart-line-remove:hover { color: var(--c-danger); }
.cart-foot { padding: 16px 20px 20px; border-top: 1px solid var(--c-border); display: grid; gap: 10px; background: var(--c-surface); }
.cart-subtotal { display: flex; justify-content: space-between; font-size: 1.05rem; }
.cart-empty { padding: 48px 20px; text-align: center; color: var(--c-ink-soft); display: grid; gap: 14px; justify-items: center; }

.cart-progress { font-size: .85rem; }
.cart-progress .bar { height: 6px; background: var(--c-border); border-radius: 999px; overflow: hidden; margin-top: 6px; }
.cart-progress .bar i { display: block; height: 100%; background: var(--c-accent); border-radius: 999px; transition: width .25s; }
.cart-progress.minimum { color: var(--c-danger); font-weight: 600; }
.cart-progress.free { color: var(--c-success); font-weight: 700; }

.cart-page-list { display: grid; gap: 0; margin-bottom: 24px; }
.cart-summary {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 22px; display: grid; gap: 10px; max-width: 420px;
}
.cart-summary .row { display: flex; justify-content: space-between; font-size: .95rem; }
.cart-summary .row.total { font-size: 1.15rem; font-weight: 800; border-top: 1px solid var(--c-border); padding-top: 10px; }

/* ---------- Order/checkout ---------- */
.checkout-layout { display: grid; gap: 32px; padding-bottom: 56px; }
@media (min-width: 920px) { .checkout-layout { grid-template-columns: 1.2fr .8fr; align-items: start; } }
.order-note { background: var(--c-accent-soft); border: 1px solid rgb(151 166 125 / .24); border-radius: var(--radius-sm); padding: 14px 18px; font-size: .92rem; margin-bottom: 22px; }

/* ---------- Footer (dark island in both themes — fixed colours) ---------- */
.site-footer { background: #0f0f11; color: #a7a49c; margin-top: 56px; border-top: 1px solid rgb(255 255 255 / .1); }
.footer-grid { display: grid; gap: 32px; padding-block: 52px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1.2fr; } }
.footer-logo { font-size: 1.3rem; font-weight: 800; color: #ece8e1; margin: 0; }
.footer-tagline { color: #b6c39a; font-weight: 600; font-size: .9rem; margin: 2px 0 10px; }
.footer-note { font-size: .88rem; }
.site-footer h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: #8f8c84; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #a7a49c; text-decoration: none; font-size: .93rem; }
.site-footer a:hover { color: #ece8e1; text-decoration: underline; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgb(255 255 255 / .06); color: #ece8e1; }
.footer-social a:hover { background: rgb(151 166 125 / .2); color: #b6c39a; }
.footer-social svg { width: 19px; height: 19px; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .1); padding-block: 18px; font-size: .82rem; }
.footer-bottom p { margin: 0; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 20px; left: 50%; translate: -50% 0; z-index: 70;
  background: var(--c-surface-2); color: var(--c-ink); border: 1px solid var(--c-border-strong);
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: .92rem; box-shadow: var(--shadow-md);
  animation: toast-in .2s ease;
}
@keyframes toast-in { from { translate: -50% 12px; opacity: 0; } }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Laptop-width compaction ----------
   The desktop layout is tuned for wide displays (~1700px+, e.g. 16" screens).
   On a narrower laptop viewport (≈1280–1440px CSS px, common on Windows laptops
   at 100% scaling) the whole UI renders oversized. `zoom` scales the entire UI
   down uniformly — exactly like the browser's own zoom — graduated by width so
   it stays balanced. Mobile (<1024px) and wide screens (≥1660px) are untouched.
   zoom-safe: no full-bleed 100vw elements bind in this range. */
@media (min-width: 1024px) and (max-width: 1279px) { :root { zoom: 0.78; } }
@media (min-width: 1280px) and (max-width: 1439px) { :root { zoom: 0.80; } }
@media (min-width: 1440px) and (max-width: 1659px) { :root { zoom: 0.88; } }
