/* MD Cosmetics — site stylesheet (mdcosmetics-site).
   The approved preview's site.css (v1) converted for the plugin (inventory 03 §1.4, spec §5):
   every colour, font, text size, radius and shadow is a custom property printed by MDC_Tokens
   (`:root`, from the Colours & fonts and Sizes & spacing tabs), translucent colours are
   `rgb(var(--x-rgb) / alpha)`, the header height is `--hh` (below), and the preview bar's
   rules are gone. No :root block and no @font-face here (tokens and fonts come from PHP). */
/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 var(--fs-body)/1.6 var(--font-body);
  color: var(--text);
  background: var(--paper);
  overflow-x: clip;
  overflow-wrap: break-word;
  --hh: var(--header-h);
}
@media (min-width: 900px) { body { --hh: var(--header-h-lg); } }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .15em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: var(--fw-head); line-height: 1.1; }
h1, h2 { text-transform: uppercase; letter-spacing: var(--track); }
h1 { font-size: var(--fs-h1); font-weight: var(--fw-h1); line-height: 1.02; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: var(--focus-width) solid var(--focus); outline-offset: 3px; border-radius: var(--r-xs); }
.on-ink :focus-visible, .header :focus-visible, .topbar :focus-visible, .footer :focus-visible, .band--ink :focus-visible { outline-color: var(--gold-hi); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 10000; padding: .6rem 1rem; background: var(--pink); color: var(--white); border-radius: var(--r-sm); font-weight: 600; }
.skip:focus { top: 1rem; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--wide { width: min(100% - 2 * var(--gutter), var(--wrap-wide)); margin-inline: auto; }
.section { padding-block: var(--space-section); }
.section--tight { padding-block: var(--space-block); }
.bg-cream { background: var(--cream); }
.bg-paper { background: var(--paper); }

/* section headings */
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .75rem 2rem; margin-bottom: var(--space-block); }
.sec-head__title { position: relative; padding-bottom: .85rem; }
.sec-head__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 3.25rem; height: 2px; background: var(--metal); }
.sec-head__sub { margin: .35rem 0 0; color: var(--muted); max-width: 52ch; }
.sec-head__link { font-family: var(--font-head); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; font-size: var(--fs-small); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: .1rem; }
.sec-head__link:hover { border-bottom-color: var(--pink); color: var(--pink-deep); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.5rem; border-radius: var(--r-pill);
  font-family: var(--font-head); font-weight: 500; font-size: var(--fs-btn); letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; border: 1.5px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .15s;
  white-space: normal; overflow-wrap: anywhere; text-align: center;
}
.btn .icon { width: 20px; height: 20px; }
.btn--pink { background: var(--pink); color: var(--white); border-color: var(--pink); }
.btn--pink:hover { background: var(--pink-deep); border-color: var(--pink-deep); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--text); }
.btn--ghost:hover { background: var(--text); color: var(--on-ink); }
.btn--gold { background: transparent; color: var(--gold-hi); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold); color: var(--ink); }
.btn--sm { min-height: 42px; padding: .5rem 1.1rem; font-size: var(--fs-btn-sm); }
.btn--block { width: 100%; }
.btn:active { transform: translateY(1px); }

/* ---------- chrome: top bar, header, nav ---------- */
.topbar { background: var(--ink); color: var(--gold); font-size: var(--fs-tiny); letter-spacing: .02em; }
.topbar .wrap--wide { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 1.25rem; padding-block: .45rem; text-align: center; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar__sep { opacity: .55; }
@media (max-width: 699px) { .topbar__addr { display: none; } }

.header { position: sticky; top: 0; z-index: 900; background: var(--ink); color: var(--on-ink); border-bottom: 1px solid rgb(var(--gold-rgb) / .28); }
.header__row { display: flex; align-items: center; gap: 1rem; min-height: var(--hh); padding-block: .5rem; }
.logo { display: block; flex: none; }
.logo img { width: var(--logo-w); height: auto; }
.header__spacer { flex: 1; }
.search { display: flex; flex: 1; max-width: 520px; }
.search__field { position: relative; flex: 1; }
.search__field input {
  width: 100%; min-height: 44px; padding: .55rem 2.9rem .55rem 1.1rem; border-radius: var(--r-pill);
  border: 1px solid rgb(var(--white-rgb) / .16); background: rgb(var(--white-rgb) / .07); color: var(--on-ink);
}
.search__field input::placeholder { color: var(--on-ink-muted); }
.search__field input:focus { outline: 2px solid var(--gold); outline-offset: 1px; background: rgb(var(--white-rgb) / .1); }
.search__btn { position: absolute; right: .3rem; top: 50%; translate: 0 -50%; width: 38px; height: 38px; display: grid; place-items: center; border: 0; background: transparent; color: var(--gold); border-radius: 50%; }
.search__btn:hover { background: rgb(var(--gold-rgb) / .15); }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--sm { width: 18px; height: 18px; }
.icon--fill { fill: currentColor; stroke: none; }
.header__actions { display: flex; align-items: center; gap: .25rem; }
.iconbtn { position: relative; display: inline-flex; align-items: center; gap: .45rem; min-width: 44px; min-height: 44px; padding: .4rem .6rem; border: 0; background: transparent; color: var(--on-ink); border-radius: var(--r-pill); text-decoration: none; font-size: var(--fs-small); }
.iconbtn:hover { color: var(--gold-hi); }
.iconbtn--menu .icon--close { display: none; }

.nav { background: var(--ink); }
.nav__list { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 .25rem; border-top: 1px solid rgb(var(--white-rgb) / .08); }
.nav__list a { display: block; padding: .8rem .9rem; color: var(--on-ink); text-decoration: none; font-family: var(--font-head); font-weight: 500; letter-spacing: .07em; text-transform: uppercase; font-size: var(--fs-nav); border-bottom: 2px solid transparent; }
.nav__list a:hover, .nav__list a[aria-current="page"] { color: var(--gold-hi); border-bottom-color: var(--gold); }
.nav__panelhead, .nav__search, .nav__close { display: none; }

@media (min-width: 900px) {
  .logo img { width: var(--logo-w-lg); }
  .iconbtn--menu { display: none; }
}

/* mobile: hamburger + full-height panel (works without JS via :target) */
@media (max-width: 899px) {
  .search { display: none; }
  .nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(100%, 380px); z-index: 950; background: var(--ink); color: var(--on-ink); overflow-y: auto; padding: 0 var(--gutter) 2rem;
         transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility 0s .25s; box-shadow: var(--shadow); }
  body.nav-open::before { content: ""; position: fixed; inset: 0; z-index: 940; background: var(--shade); }
  /* The header (z-index 900) is the panel's stacking context: lift it above the dim layer, or the
     layer covers the open panel and every tap in it closes the menu (a bug in the preview). */
  body.nav-open .header { z-index: 960; }
  .nav:target, .nav.is-open { transform: none; visibility: visible; transition: transform .25s ease; }
  .nav__panelhead { display: flex; align-items: center; justify-content: space-between; min-height: var(--hh); border-bottom: 1px solid rgb(var(--gold-rgb) / .28); }
  .nav__panelhead span { font-family: var(--font-head); text-transform: uppercase; letter-spacing: var(--track); color: var(--gold); }
  .nav__close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgb(var(--white-rgb) / .2); color: var(--on-ink); text-decoration: none; background: transparent; }
  .nav__search { display: flex; padding-block: 1rem; }
  .nav__search .search { display: flex; max-width: none; }
  .nav__list { flex-direction: column; border-top: 0; gap: 0; }
  .nav__list a { padding: .95rem .25rem; font-size: var(--fs-md); border-bottom: 1px solid rgb(var(--white-rgb) / .08); }
  .nav__list a:hover, .nav__list a[aria-current="page"] { border-bottom-color: rgb(var(--white-rgb) / .08); }
  .nav__extra { margin-top: 1.5rem; display: grid; gap: .6rem; font-size: var(--fs-small); color: var(--on-ink-muted); }
  .nav__extra a { color: var(--gold); text-decoration: none; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 900px) { .nav__extra { display: none; } }

/* ---------- hero ---------- */
.hero { background: var(--cream); overflow: hidden; }
.hero__grid { display: grid; gap: 2rem; align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero__eyebrow { display: inline-block; margin-bottom: 1rem; font-family: var(--font-head); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; font-size: var(--fs-tiny); color: var(--pink-deep); }
.hero__sub { max-width: 46ch; margin: 1.25rem 0 1.75rem; font-size: var(--fs-lead); color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__strap { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line-strong); font-family: var(--font-head); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: var(--fs-tiny); color: var(--muted); }
.hero__figure { position: relative; margin: 0; width: min(100%, 420px); justify-self: center; }
.hero__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-arch); }
.hero__figure::before { content: ""; position: absolute; inset: -12px; translate: 12px 12px; border: 1.5px solid var(--gold); border-radius: var(--r-arch); pointer-events: none; }
.hero__figure::after { content: ""; position: absolute; left: 50%; bottom: -1.9rem; width: 3rem; height: 2px; translate: -50%; background: var(--metal); }
.hero__figure--plain::before, .hero__figure--plain::after { content: none; }
@media (max-width: 759px) { .hero__figure { order: -1; margin-bottom: 3rem; width: min(100% - 14px, 420px); } }
@media (min-width: 760px) {
  .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3rem; }
  .hero__figure { width: min(100%, 460px); justify-self: end; margin-right: 1rem; }
}

/* ---------- category tiles ---------- */
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.cat { display: block; text-decoration: none; color: inherit; }
.cat img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-tile); background: var(--cream); }
.cat__label { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .7rem .2rem 0; font-family: var(--font-head); font-weight: 500; letter-spacing: .07em; text-transform: uppercase; font-size: var(--fs-nav); }
.cat__label .icon { width: 16px; height: 16px; color: var(--gold); opacity: 0; translate: -4px 0; transition: opacity .15s, translate .15s; }
.cat:hover .cat__label .icon, .cat:focus-visible .cat__label .icon { opacity: 1; translate: 0; }
.cat:hover img { filter: saturate(1.05); }
.cat__count { display: block; margin-top: .15rem; font-family: var(--font-body); font-weight: 400; letter-spacing: 0; text-transform: none; font-size: var(--fs-tiny); color: var(--muted); }
@media (min-width: 700px) { .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; } }

/* ---------- product cards ---------- */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
@media (min-width: 700px) { .products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.25rem; } }
@media (min-width: 1000px) { .products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; container-type: inline-size; }
.card__media { position: relative; display: block; border-radius: var(--r-tile); overflow: hidden; background: var(--cream); }
.card__media img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .35s ease; }
.card__media:empty { aspect-ratio: 1; }
.card:hover .card__media img { transform: scale(1.03); }
.badge { position: absolute; top: .75rem; left: .75rem; z-index: 1; padding: .3rem .6rem; border-radius: var(--r-pill); font-family: var(--font-head); font-weight: 600; font-size: var(--fs-micro); letter-spacing: .08em; text-transform: uppercase; }
.badge--new { background: var(--pink); color: var(--white); }
.badge--best { background: var(--gold-hi); color: var(--ink); }
.badge--low { background: var(--ink); color: var(--gold-hi); }
.card__body { display: flex; flex-direction: column; gap: .3rem; padding: .85rem .15rem 0; flex: 1; min-width: 0; }
.card__cat { font-size: var(--fs-tiny); color: var(--muted); }
.card__name { font-size: var(--fs-h3); font-weight: 500; line-height: 1.3; text-transform: none; letter-spacing: 0; }
.card__name a { text-decoration: none; }
.card__name a::after { content: ""; position: absolute; inset: 0; }
.card__name a:hover { color: var(--pink-deep); }
.card__row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; padding-top: .5rem; min-height: calc(44px + .5rem); }
.price { font-family: var(--font-head); font-weight: 500; font-size: var(--fs-price); letter-spacing: .01em; }
.card__row .price { min-width: min-content; }
.price--was { font-size: var(--fs-small); color: var(--muted); text-decoration: line-through; margin-left: .35rem; font-weight: 400; }
.card__add { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .35rem .9rem; border-radius: var(--r-pill); border: 1.5px solid var(--text); background: transparent; font-family: var(--font-head); font-weight: 500; font-size: var(--fs-add); letter-spacing: .06em; text-transform: uppercase; color: var(--text); text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.card__add:hover, .card__add:focus-visible { background: var(--pink); border-color: var(--pink); color: var(--white); }
.card__add .icon { width: 16px; height: 16px; }
@media (max-width: 480px) {
  .card__add .card__add-txt { display: none; }
  .card__add { width: 44px; padding: 0; justify-content: center; }
}
/* A narrow card (3-column tablets) drops the button's glyph before its label (“Ask on WhatsApp”,
   longer than the design's “Add to basket”) has to wrap, so the cards keep the design's height
   (spec R4). Phones keep the glyph-only circle above. */
@media (min-width: 481px) {
  @container (max-width: 15rem) { .card__add .icon { display: none; } }
}

/* ---------- story band (blush, flower corner) ---------- */
.story { position: relative; background: var(--blush); overflow: hidden; }
.story__flower { position: absolute; right: -2rem; top: -2rem; width: clamp(180px, 26vw, 340px); height: auto; color: var(--paper); opacity: .9; pointer-events: none; }
.story__grid { position: relative; display: grid; gap: 1.5rem; }
.story__lead { font-family: var(--font-head); font-size: var(--fs-story); font-weight: 500; letter-spacing: .01em; color: var(--ink); }
.story__text { max-width: 60ch; font-size: var(--fs-lead); }
.story__sign { margin-top: 1.25rem; font-family: var(--font-head); font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; font-size: var(--fs-small); }
.story__sign::before { content: ""; display: inline-block; width: 2rem; height: 1.5px; margin-right: .75rem; vertical-align: middle; background: var(--ink); }
@media (min-width: 900px) { .story__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; align-items: start; } }

/* ---------- why MD ---------- */
.why { display: grid; gap: 1.5rem 2rem; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); }
.why__item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: .9rem; align-items: start; }
.why__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--gold-hi); }
.why__icon .icon { width: 20px; height: 20px; }
.why__item h3 { font-size: var(--fs-md); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .25rem; }
.why__item p { font-size: var(--fs-small); color: var(--muted); }

/* ---------- ink bands (trade callout) ---------- */
.band--ink { background: var(--ink); color: var(--on-ink); border-top: 2px solid transparent; border-image: var(--metal) 1; }
.trade { display: grid; gap: 1.25rem; align-items: center; }
.trade h2 { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trade p { color: var(--on-ink-muted); max-width: 56ch; }
.trade__cta { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 900px) { .trade { grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; } }

/* ---------- visit us ---------- */
.visit { display: grid; gap: 2rem; }
.visit__list { display: grid; gap: 1.1rem; }
.visit__list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: .8rem; align-items: start; }
.visit__list .icon { color: var(--sand); margin-top: .15rem; }
.visit__list strong { display: block; font-family: var(--font-head); font-weight: 500; letter-spacing: .05em; text-transform: uppercase; font-size: var(--fs-tiny); color: var(--muted); margin-bottom: .1rem; }
.visit__list a { text-decoration: none; border-bottom: 1px solid var(--gold); }
.visit__list a:hover { color: var(--pink-deep); border-bottom-color: var(--pink); }
.socials { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.socials a { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .4rem .9rem .4rem .7rem; border: 1px solid var(--line-strong); border-radius: var(--r-pill); text-decoration: none; font-size: var(--fs-small); background: var(--paper); }
.socials a:hover { border-color: var(--pink); color: var(--pink-deep); }
.socials .icon { width: 18px; height: 18px; }
.map { position: relative; min-height: 300px; border: 1px dashed var(--sand); border-radius: var(--r-tile); background:
  linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
  linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px, var(--cream); display: grid; place-items: center; text-align: center; padding: 2rem; }
.map__pin { width: 44px; height: 44px; color: var(--pink); }
.map p { margin: .5rem 0 0; color: var(--muted); font-size: var(--fs-small); }
.map strong { display: block; font-family: var(--font-head); font-weight: 500; letter-spacing: .05em; text-transform: uppercase; font-size: var(--fs-small); color: var(--text); }
.map--live { padding: 0; overflow: hidden; border-style: solid; }
.map--live iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__picture { position: absolute; inset: 0; display: block; }
.map__picture img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; filter: saturate(.85) contrast(1.02); }
.map__picture:focus-visible { outline: var(--focus-width) solid var(--focus); outline-offset: calc(var(--focus-width) * -1); }
.map__credit { position: absolute; right: 0; bottom: 0; z-index: 1; padding: 0 .4rem; background: var(--paper); color: var(--text); font-size: var(--fs-micro); line-height: 1.5; text-decoration: none; border-top-left-radius: var(--r-xs); }
.map__credit:hover, .map__credit:focus-visible { text-decoration: underline; }
.map__save { font-weight: 600; }
/* The live map (site.js mapLive / mapConsent): invisible and untouchable until it has loaded, then it
   fades in over the picture (or the card), which leaves the accessibility tree. */
.map .map__live { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; border: 0; opacity: 0; pointer-events: none; transition: opacity .4s ease; }
.map.map--ready .map__live { opacity: 1; pointer-events: auto; }
.map.map--ready .map__credit { display: none; }
.map__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .75rem; margin-top: 1rem; }
.map__open { color: var(--text); border-bottom: 1px solid var(--gold); text-decoration: none; }
.map__open:hover { color: var(--pink-deep); border-bottom-color: var(--pink); }
.map__bar { position: absolute; left: .75rem; right: .75rem; bottom: 1.5rem; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem 1rem; padding: .5rem .75rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow); text-align: center; }
.map__bar .map__consent { margin: 0; flex: 1 1 14rem; }
.map__bar .map__actions { margin-top: 0; }
@media (min-width: 900px) { .visit { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 4rem; align-items: start; } .map { min-height: 380px; } }

/* ---------- newsletter ---------- */
.newsletter { background: var(--cream); border-top: 1px solid var(--line); }
.newsletter__grid { display: grid; gap: 1.25rem; align-items: center; }
.newsletter p { color: var(--muted); }
.newsletter form { display: flex; flex-wrap: wrap; gap: .6rem; }
.newsletter .newsletter__status { flex: 0 0 100%; margin: 0; color: var(--text); font-size: var(--fs-small); }
.newsletter .newsletter__status.is-error { color: var(--pink-deep); }
.newsletter .newsletter__note { flex: 0 0 100%; color: var(--muted); font-size: var(--fs-small); }
.newsletter__note p { margin: 0; }
.newsletter input[aria-invalid="true"] { border-color: var(--pink-deep); }
.field { flex: 1; min-width: 200px; }
.field input { width: 100%; min-height: 48px; padding: .6rem 1.1rem; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--paper); }
.field input:focus { outline: 2px solid var(--pink); outline-offset: 1px; }
@media (min-width: 900px) { .newsletter__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; } }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--on-ink-muted); font-size: var(--fs-small); }
.footer__grid { display: grid; gap: 2rem; padding-block: 3rem 2rem; border-bottom: 1px solid rgb(var(--white-rgb) / .08); }
.footer h2 { font-size: var(--fs-tiny); color: var(--gold); margin-bottom: .9rem; }
.footer ul { display: grid; gap: .45rem; }
.footer a { color: var(--on-ink); text-decoration: none; }
.footer a:hover { color: var(--gold-hi); text-decoration: underline; }
.footer__brand img { width: var(--logo-footer-w); margin-bottom: .75rem; }
.footer__tag { font-family: var(--font-head); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; font-size: var(--fs-tiny); background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__strap { color: var(--on-ink-muted); font-size: var(--fs-tiny); letter-spacing: .06em; margin-top: .25rem; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-block: 1.25rem; font-size: var(--fs-tiny); }
.footer__bottom p { margin: 0; }
/* Policy links, “Cookie settings” and the Companies Act line (spec §15.4). */
.footer__legal a, .footer__legal .linklike { color: var(--on-ink-muted); }
.footer__legal a:hover, .footer__legal .linklike:hover { color: var(--gold-hi); }
.footer__company { flex-basis: 100%; }
.linklike { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
@media (min-width: 480px) { .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer__brand { grid-column: 1 / -1; } }
@media (min-width: 900px) { .footer__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); } .footer__brand { grid-column: auto; } }

/* ---------- breadcrumb & page titles ---------- */
.crumb { padding-block: 1rem; font-size: var(--fs-small); color: var(--muted); }
.crumb ol { display: flex; flex-wrap: wrap; gap: .4rem; }
.crumb li + li::before { content: var(--crumb-sep); margin-right: .4rem; color: var(--sand); }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.crumb [aria-current] { color: var(--text); }
.page-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; margin-bottom: 1.25rem; }
.page-head h1 { font-size: var(--fs-h1-page); }
.page-head__count { color: var(--muted); }

/* ---------- shop: chips, filters, grid ---------- */
.chips { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: 1rem; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.chip { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: .4rem 1rem; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--paper); text-decoration: none; font-family: var(--font-head); font-weight: 500; font-size: var(--fs-tiny); letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.chip:hover { border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--gold-hi); border-color: var(--ink); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.sort { display: flex; align-items: center; gap: .6rem; font-size: var(--fs-small); color: var(--muted); }
.sort select { min-height: 44px; padding: .4rem 2.2rem .4rem .9rem; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--paper) var(--chevron) no-repeat right .9rem center; appearance: none; color: var(--text); }
.shop-page { padding-bottom: var(--space-section); }
.shop { display: grid; gap: 2rem; }
.products--shop[aria-busy="true"] { opacity: .6; transition: opacity .15s; }
.filters { border: 1px solid var(--line-strong); border-radius: var(--r-tile); background: var(--cream); padding: 0 1.1rem; align-self: start; }
.filters summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 52px; padding-block: .5rem; cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; font-size: var(--fs-ui); }
.filters summary::-webkit-details-marker { display: none; }
.filters summary .icon { transition: transform .2s; }
.filters[open] summary .icon { transform: rotate(180deg); }
.filters__group { padding-block: 1rem; border-top: 1px solid var(--line-strong); }
.filters__group legend, .filters__group h3 { font-family: var(--font-head); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-size: var(--fs-tiny); color: var(--muted); margin-bottom: .6rem; padding: 0 .6rem 0 0; }
.filters fieldset { border: 0; margin: 0; padding: 0; }
.filters fieldset.filters__group { border-top: 1px solid var(--line-strong); }
.check { display: flex; align-items: center; gap: .6rem; min-height: 36px; font-size: var(--fs-small); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--pink); }
.check__n { margin-left: auto; color: var(--muted); font-size: var(--fs-tiny); }
.filters__reset { margin-block: .5rem 1rem; background: none; border: 0; padding: .4rem 0; text-decoration: underline; color: var(--muted); font-size: var(--fs-small); }
.filters__reset:hover { color: var(--pink-deep); }
a.filters__reset { display: inline-block; }
.filters__apply { display: flex; width: 100%; margin-top: 1rem; }
.empty { display: none; grid-column: 1 / -1; padding: 3rem 1rem; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--r-tile); color: var(--muted); }
.empty.is-visible { display: block; }
.pager { display: flex; justify-content: center; align-items: center; gap: .35rem; margin-top: 3rem; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 .8rem; border-radius: var(--r-pill); text-decoration: none; font-family: var(--font-head); font-weight: 500; font-size: var(--fs-ui); border: 1px solid transparent; }
.pager a:hover { border-color: var(--text); }
.pager [aria-current] { background: var(--ink); color: var(--gold-hi); }
.pager .pager__muted { color: var(--muted); }
@media (min-width: 900px) {
  .shop { grid-template-columns: var(--sidebar-w) minmax(0, 1fr); gap: 3rem; }
  .filters summary { pointer-events: none; }
  .filters summary .icon { display: none; }
  .products--shop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) { .products--shop { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- product page ---------- */
.pdp { display: grid; gap: 2rem; padding-bottom: var(--space-section); }
.gallery__main { position: relative; border-radius: var(--r-tile); overflow: hidden; background: var(--cream); }
.gallery__main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.gallery__main:empty { aspect-ratio: 4 / 5; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; margin-top: .6rem; }
.gallery__thumbs a { display: block; border-radius: var(--r-sm); overflow: hidden; border: 2px solid transparent; }
.gallery__thumbs a[aria-current="true"] { border-color: var(--gold); }
.gallery__thumbs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pdp__cat { font-size: var(--fs-small); color: var(--muted); }
.pdp__cat a { text-decoration: none; border-bottom: 1px solid var(--gold); }
.pdp h1 { font-size: var(--fs-h1-pdp); text-transform: none; letter-spacing: .01em; font-weight: 500; margin-top: .5rem; }
.pdp__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1rem; margin: 1rem 0 .5rem; }
.pdp__price .price { font-size: var(--fs-price-pdp); }
.pdp__lead { margin-top: 1rem; max-width: 52ch; }
.pdp__price small { color: var(--muted); font-size: var(--fs-small); }
.rating { display: flex; align-items: center; gap: .5rem; font-size: var(--fs-small); color: var(--muted); }
.rating__stars { display: inline-flex; gap: 1px; color: var(--gold); }
.rating__stars svg { width: 16px; height: 16px; fill: currentColor; }
.rating__stars .is-off { color: var(--sand); }
.review + .review { margin-top: 1rem; }
.review__head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .25rem; }
.rating a { text-decoration: none; border-bottom: 1px solid var(--gold); color: var(--text); }
.pdp__rule { height: 1px; margin-block: 1.5rem; background: var(--line-strong); }
.variant { border: 0; margin: 0 0 1.25rem; padding: 0; }
.variant legend { font-family: var(--font-head); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-size: var(--fs-tiny); color: var(--muted); margin-bottom: .6rem; padding: 0; }
.variant legend output { color: var(--text); }
.variant__opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { position: relative; }
.pill input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; justify-content: center; min-width: 56px; min-height: 44px; padding: .4rem .9rem; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); font-family: var(--font-head); font-weight: 500; font-size: var(--fs-ui); background: var(--paper); transition: border-color .15s, background .15s, color .15s; overflow-wrap: anywhere; }
.pill input:checked + span { background: var(--ink); color: var(--gold-hi); border-color: var(--ink); }
.pill input:focus-visible + span { outline: 2px solid var(--pink); outline-offset: 2px; }
.pill:hover span { border-color: var(--text); }
.pill input:disabled, .swatch input:disabled { cursor: not-allowed; }
.pill input:disabled + span, .swatch input:disabled + span { color: var(--muted); border-style: dashed; text-decoration: line-through; opacity: .6; }
.swatch { position: relative; }
.swatch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.swatch span { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: .3rem .9rem .3rem .4rem; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); font-size: var(--fs-small); background: var(--paper); }
.swatch i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--paper); box-shadow: 0 0 0 1px var(--line-strong); background: var(--dot); }
.swatch input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.swatch input:focus-visible + span { outline: 2px solid var(--pink); outline-offset: 2px; }
.buy { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: .5rem; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); overflow: hidden; }
.qty button { width: 44px; height: 46px; border: 0; background: transparent; display: grid; place-items: center; }
.qty button:hover { background: var(--cream); }
.qty input { width: 48px; height: 46px; border: 0; text-align: center; font-family: var(--font-head); font-weight: 500; font-size: var(--fs-md); -moz-appearance: textfield; appearance: textfield; background: transparent; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy .btn--pink { flex: 1; min-width: 200px; }
.buy-alt { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.buy-alt .btn { flex: 1 1 100%; white-space: normal; text-align: center; }
.trust { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; margin-top: 1.25rem; font-size: var(--fs-small); color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: .4rem; }
.trust .icon { width: 16px; height: 16px; color: var(--gold); stroke-width: 2.2; }
.acc { margin-top: 2rem; border-top: 1px solid var(--line-strong); }
.acc details { border-bottom: 1px solid var(--line-strong); }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding-block: .6rem; cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; font-size: var(--fs-ui); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .icon { color: var(--sand); transition: transform .2s; }
.acc details[open] summary .icon { transform: rotate(45deg); }
.acc__body { padding: 0 0 1.25rem; color: var(--text); max-width: 62ch; }
.acc__body p { margin-bottom: .75em; }
.spec { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .45rem 1.5rem; font-size: var(--fs-small); }
.spec dt { font-family: var(--font-head); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; font-size: var(--fs-tiny); color: var(--muted); padding-top: .15rem; }
.spec dd { margin: 0; }
.spec dt, .spec dd { overflow-wrap: anywhere; }
@media (max-width: 719px) { .gallery { max-width: 560px; margin-inline: auto; width: 100%; } }
@media (min-width: 720px) { .pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; } .gallery { position: sticky; top: calc(var(--hh) + 1rem); } }
@media (min-width: 900px) { .pdp { gap: 4rem; } }

/* mobile sticky order bar */
.stickybar { display: none; }
@media (max-width: 899px) {
  .stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 800; display: flex; align-items: center; gap: 1rem; padding: .6rem var(--gutter); background: var(--paper); border-top: 1px solid var(--line-strong); box-shadow: var(--shadow-up); transition: bottom .2s; }
  .stickybar .price { font-size: var(--fs-price-bar); }
  .stickybar .btn { flex: 1; }
  .stickybar small { display: block; color: var(--muted); font-size: var(--fs-tiny); line-height: 1.2; }
  body.has-stickybar { padding-bottom: var(--stickybar-h); }
}

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 1.25rem; z-index: 10001; translate: -50% 0; max-width: min(92vw, 420px); padding: .8rem 1.1rem; border-radius: var(--r-sm); background: var(--ink); color: var(--on-ink); font-size: var(--fs-small); box-shadow: var(--shadow); border-left: 3px solid var(--gold); opacity: 0; translate: -50% 12px; transition: opacity .2s, translate .2s; pointer-events: none; }
.toast.is-visible { opacity: 1; translate: -50% 0; }
body.has-stickybar .toast { bottom: calc(var(--stickybar-h) + 1rem); }

/* ---------- cookie banner (spec §15.5): only while a cookie-setting service is on; fixed buttons sit
   above it through --cookie-banner-h, which site.js sets while it is open ---------- */
.cookie-banner {
  position: fixed; left: var(--gutter); right: var(--gutter); bottom: var(--gutter); z-index: 1000;
  max-width: 44rem; margin: 0 auto; padding: 1rem 1.25rem;
  display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center;
  background: var(--ink); color: var(--on-ink); border-radius: var(--r-sm); border-top: 3px solid var(--gold); box-shadow: var(--shadow);
  font-size: var(--fs-small);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; flex: 1 1 18rem; }
.cookie-banner a { color: var(--gold-hi); }
.cookie-banner__actions { display: flex; gap: .5rem; }
.cookie-banner .btn--ghost { color: var(--on-ink); border-color: var(--on-ink); }
.cookie-banner .btn--ghost:hover { background: var(--on-ink); color: var(--ink); }
.stickybar, .toast { margin-bottom: var(--cookie-banner-h, 0); }
/* Long text pages (privacy, cookies, any WordPress page): readable headings and lists. */
.page-content h2 { font-size: var(--fs-h3); margin: 1.75em 0 .5em; }
.page-content ul, .page-content ol { margin: 0 0 1em; padding-left: 1.25rem; }
.page-content li { list-style: disc; margin: 0 0 .4em; }
.page-content ol li { list-style: decimal; }
.page-content a { color: inherit; }

/* ---------- misc ---------- */
.note { font-size: var(--fs-tiny); color: var(--muted); }

/* Long owner text (tools/edge-checks.sh; playbook §7.1, lessons from 01): grid and flex children
   may shrink below their longest word, so an unbroken word breaks (body: overflow-wrap:
   break-word) instead of widening the page. Words inside a button or a fieldset break anywhere.
   Normal wording never reaches these limits, so the design's layout is unchanged. */
.topbar .wrap--wide > *, .hero__grid > *, .hero__cta > *, .sec-head > *, .trade > *, .trade__cta > *,
.story__grid > *, .newsletter__grid > *, .footer__bottom > *, .crumb li, .page-head > *, .pdp > *, .stickybar > *,
.card__add { min-width: 0; }
.filters fieldset { min-width: 0; overflow-wrap: anywhere; }
.card__add-txt { min-width: 0; overflow-wrap: anywhere; }

/* Windows high contrast: the metallic text fills vanish, so they fall back to plain text; the
   focus ring uses the system colour. */
@media (forced-colors: active) { :focus-visible { outline: 2px solid CanvasText; } }
@media (forced-colors: active) { .trade h2, .footer__tag { color: CanvasText; background: none; } }

/* ---------- motion (1.0.2): dropdowns (shop filters, product details) fade down as they open, the
   cookie banner fades in and out, the shop grid fades back after loading, the product photo fades
   when it changes, and pages crossfade (opted in by MDC_Front::page_transitions()). Older browsers
   switch instantly. ---------- */
.filters[open] > :not(summary), .acc details[open] > :not(summary) { animation: mdc-drop .25s ease; }
.products--shop { transition: opacity .2s; }
.cookie-banner { transition: opacity .25s ease, display .25s allow-discrete; } /* fade only: site.js measures its top edge to lift the order bar */
.cookie-banner[hidden] { opacity: 0; pointer-events: none; }
@starting-style { .cookie-banner:not([hidden]) { opacity: 0; } }
.is-swap { animation: mdc-fade .3s ease; }
@keyframes mdc-drop { from { opacity: 0; translate: 0 -.4rem; } to { opacity: 1; translate: 0 0; } }
@keyframes mdc-fade { from { opacity: 0; } to { opacity: 1; } }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
}
