/* ============================================================
   OUM RAY — Design System
   by Oum Ray Souk · Huisstijl 2026
   Tokens afgeleid van Deliverable 1–3 (logo, palette, typografie)
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Merkkleuren — exact uit het kleurpalet */
  --red:        #7A1730;   /* Deep Lipstick Red  — signature accent */
  --red-deep:   #5C1024;
  --red-soft:   #9B2742;
  --gold:       #C4A15A;   /* Refined Gold */
  --gold-lit:   #D9BC80;
  --gold-deep:  #A88541;
  --blush:      #DEC4B8;   /* Oum Ray Blush — primaire merktoon 30% */
  --blush-lo:   #EEDCD3;
  --blush-hi:   #CBA898;
  --ivory:      #F4EFE7;   /* Warm Ivory — basis 25% */
  --ivory-hi:   #FBF8F3;
  --graphite:   #393939;   /* tekst & UI */
  --charcoal:   #211E1C;   /* sterke nadruk */
  --platinum:   #C7C8C9;   /* dividers & vlakken */

  /* Semantisch */
  --bg:          var(--ivory-hi);
  --bg-alt:      var(--ivory);
  --bg-blush:    #F6E9E3;
  --ink:         var(--charcoal);
  --ink-soft:    #6A6360;
  --ink-mute:    #938B87;
  --line:        #E4DAD2;
  --line-strong: #D3C4BA;

  --ok:    #3F6B52;
  --warn:  #A9761F;
  --info:  #4A5F77;

  /* Typografie */
  --display: "Didot", "Bodoni 72", "Playfair Display", "Cormorant Garamond", "Times New Roman", serif;
  --sans:    "Avenir Next", "Avenir", "Futura", "Helvetica Neue", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:    "SF Mono", "IBM Plex Mono", ui-monospace, Menlo, monospace;

  /* Ritme */
  --gut: 24px;
  --max: 1360px;
  --r-sm: 2px;
  --r-md: 4px;
  --r-lg: 10px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(33,30,28,.05), 0 2px 8px rgba(33,30,28,.04);
  --shadow-md: 0 4px 14px rgba(33,30,28,.07), 0 12px 40px rgba(33,30,28,.06);
  --shadow-lg: 0 18px 60px rgba(33,30,28,.14);

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- 2. Typografie ---------- */
.display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: .012em;
  line-height: 1.04;
  color: var(--charcoal);
  margin: 0;
}
.d-xxl { font-size: clamp(40px, 6.1vw, 80px); }
.d-xl  { font-size: clamp(34px, 4.6vw, 62px); }
.d-lg  { font-size: clamp(26px, 3.1vw, 40px); }
.d-md  { font-size: clamp(21px, 2.2vw, 28px); }
.d-sm  { font-size: clamp(18px, 1.7vw, 22px); }

.eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 14px;
  display: block;
}
.eyebrow--ink  { color: var(--ink-mute); }
.eyebrow--red  { color: var(--red); }

.lede {
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.72;
  color: var(--ink-soft);
  max-width: 46ch;
}
.muted { color: var(--ink-soft); }
.mute-xs { color: var(--ink-mute); font-size: 12.5px; }

.script {
  font-family: var(--display);
  font-style: italic;
  color: var(--gold-deep);
  font-size: clamp(19px, 2.1vw, 26px);
  letter-spacing: .005em;
}

/* ---------- 3. Signature: O-motief & gouden regel ---------- */
.o-mark { display: inline-block; color: var(--charcoal); }
.o-mark svg { display: block; width: 100%; height: 100%; }

/* De gouden haarlijn met ruit — merkdevice uit de huisstijl */
.rule {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 20px 0;
}
.rule::before, .rule::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--gold) 22%, var(--gold) 78%, transparent);
  opacity: .6;
}
.rule i {
  width: 5px; height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: none;
}
.rule--left { max-width: 190px; }
.rule--left::before { display: none; }
.rule--left::after  { background: linear-gradient(90deg, var(--gold), transparent); }
.rule--tight { margin: 12px 0; }

/* Wordmark lockup
   ----------------------------------------------------------------
   Het echte merkteken, niet nagezet met een systeemletter. De twee
   regels staan als losse SVG's in assets/img en worden als CSS-mask
   gebruikt: dan komt de kleur uit `currentColor` en werkt dezelfde
   vorm op ivoor én op antraciet, zonder tweede bestand.

   De onderlinge breedteverhouding (subregel = 64,3% van het woord)
   is die van de aangeleverde tekening. De verticale ruimte ertussen
   niet: in het bronbestand staat daar 33% van de woordbreedte, wat
   klopt op een visitekaartje maar een websitekop twee keer zo hoog
   maakt. Die ruimte is hier teruggebracht tot een paar pixels. */
.wordmark {
  --wm-breedte: 150px;
  --wm-gat: 6px;
  display: inline-block;
  line-height: 1;
  color: var(--charcoal);
}
.wordmark i {
  display: block;
  background: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center;  mask-position: center;
  -webkit-mask-size: contain;     mask-size: contain;
}
.wordmark__woord {
  width: var(--wm-breedte);
  aspect-ratio: 835.17 / 167.7;
  -webkit-mask-image: url(img/wordmark-oum-ray.svg);
  mask-image: url(img/wordmark-oum-ray.svg);
}
.wordmark__sub {
  width: calc(var(--wm-breedte) * .643);
  aspect-ratio: 536.79 / 29.75;
  margin: var(--wm-gat) auto 0;
  color: var(--ink-soft);
  -webkit-mask-image: url(img/wordmark-by-oum-ray-souk.svg);
  mask-image: url(img/wordmark-by-oum-ray-souk.svg);
}
.wordmark--sm  { --wm-breedte: 108px; --wm-gat: 4px; }
.wordmark--lg  { --wm-breedte: 228px; --wm-gat: 9px; }
.wordmark--light { color: var(--ivory-hi); }
.wordmark--light .wordmark__sub { color: rgba(244,239,231,.72); }

/* Geen mask-ondersteuning: dan liever de merknaam als tekst dan niets. */
@supports not ((-webkit-mask-image: url(#a)) or (mask-image: url(#a))) {
  .wordmark i { background: none; }
  .wordmark i::after {
    content: attr(data-tekst);
    display: block;
    font-family: var(--display);
    letter-spacing: .1em;
    color: var(--charcoal);
    font-size: 26px;
  }
  .wordmark__sub::after { font-size: 7.5px; letter-spacing: .3em; color: var(--ink-soft); }
}

/* ---------- 4. Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 940px; }
.section { padding: clamp(56px, 8vw, 108px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--ivory { background: var(--ivory); }
.section--blush { background: var(--bg-blush); }
.section--dark  { background: var(--charcoal); color: var(--ivory); }
.section--dark .display { color: var(--ivory-hi); }
.section--dark .lede { color: rgba(244,239,231,.7); }

.grid { display: grid; gap: var(--gut); }
.grid > * { min-width: 0; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: 12px; }
.row--between { justify-content: space-between; }
.row--wrap { flex-wrap: wrap; }
.spacer { flex: 1; }

/* ---------- 5. Knoppen ---------- */
.btn {
  --btn-bg: var(--red);
  --btn-fg: var(--ivory-hi);
  --btn-bd: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 30px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-sm);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .28s var(--ease), color .28s var(--ease),
              border-color .28s var(--ease), transform .28s var(--ease);
  text-align: center;
}
.btn:hover { --btn-bg: var(--red-deep); --btn-bd: var(--red-deep); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .38; pointer-events: none; }
.btn svg { flex: none; }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--charcoal); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--charcoal); --btn-fg: var(--ivory-hi); --btn-bd: var(--charcoal); }

.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--charcoal); --btn-bd: var(--gold); }
.btn--gold:hover { --btn-bg: var(--gold-deep); --btn-bd: var(--gold-deep); --btn-fg: var(--ivory-hi); }

.btn--light { --btn-bg: var(--ivory-hi); --btn-fg: var(--charcoal); --btn-bd: var(--ivory-hi); }
.btn--light:hover { --btn-bg: var(--blush); --btn-bd: var(--blush); }

.btn--sm { padding: 10px 18px; font-size: 10px; letter-spacing: .16em; }
.btn--lg { padding: 18px 40px; font-size: 11.5px; }
.btn--block { display: flex; width: 100%; }

.link-u {
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  transition: border-color .25s, color .25s;
  cursor: pointer;
}
.link-u:hover { color: var(--red); border-color: var(--red); }

/* ---------- 6. Chips / keuzevlakken ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--ivory-hi);
  font-size: 11.5px;
  letter-spacing: .06em;
  cursor: pointer;
  transition: all .22s var(--ease);
  white-space: nowrap;
}
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"], .chip.is-on {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--ivory-hi);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: var(--r-sm);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--blush);
  color: var(--charcoal);
}
.tag--red   { background: var(--red); color: var(--ivory-hi); }
.tag--gold  { background: var(--gold); color: var(--charcoal); }
.tag--line  { background: transparent; border: 1px solid var(--line-strong); color: var(--ink-soft); }
.tag--ok    { background: #E4EDE7; color: var(--ok); }
.tag--warn  { background: #F6EBD8; color: var(--warn); }
.tag--info  { background: #E5EAF0; color: var(--info); }

/* Materiaal-swatch */
.sw {
  width: 26px; height: 26px;
  border-radius: 50%;
  flex: none;
  border: 1px solid rgba(33,30,28,.16);
  box-shadow: inset 0 -3px 6px rgba(0,0,0,.14), inset 0 3px 5px rgba(255,255,255,.5);
}
.sw--g18 { background: linear-gradient(140deg,#F4DCA2,#C9A253 48%,#8F6C2C); }
.sw--g14 { background: linear-gradient(140deg,#F1DDB4,#CDB176 48%,#9A8148); }
.sw--r18 { background: linear-gradient(140deg,#F7D9CB,#D79A85 48%,#A96A56); }
.sw--r14 { background: linear-gradient(140deg,#F8E1D7,#DCA994 48%,#B27C67); }
.sw--sil { background: linear-gradient(140deg,#FFFFFF,#DCDEE0 48%,#9EA3A8); }
.sw--plt { background: linear-gradient(140deg,#F3F4F5,#C7C8C9 48%,#8D9195); }

/* ---------- 7. Kaarten ---------- */
.card {
  background: var(--ivory-hi);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.card--pad { padding: 22px; }
.card--soft { box-shadow: var(--shadow-sm); }

/* Productkaart */
.pcard { cursor: pointer; position: relative; background: none; border: 0; padding: 0; text-align: left; width: 100%; }
.pcard__media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-blush);
  border-radius: var(--r-md);
}
.pcard__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter .6s var(--ease);
}
.pcard:hover .pcard__media img { transform: scale(1.07); }
.pcard__flags { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.pcard__fav {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 0;
  background: rgba(251,248,243,.9);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  cursor: pointer;
  color: var(--ink-soft);
  transition: color .2s, background .2s, transform .2s;
}
.pcard__fav:hover { transform: scale(1.08); }
.pcard__fav.is-on { color: var(--red); }
.pcard__body { padding: 15px 2px 0; }
.pcard__name { font-family: var(--display); font-size: 17px; line-height: 1.25; margin: 0 0 3px; }
.pcard__meta { font-size: 11.5px; color: var(--ink-mute); letter-spacing: .04em; }
.pcard__price { margin-top: 7px; font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.pcard__price s { color: var(--ink-mute); font-weight: 400; margin-right: 7px; }
.pcard__dots { display: flex; gap: 5px; margin-top: 9px; }
.pcard__dots .sw { width: 13px; height: 13px; }

/* Waarde-item met icoon */
.vitem { display: flex; gap: 14px; align-items: flex-start; }
.vitem__ico {
  width: 40px; height: 40px; flex: none;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold-deep);
}
.vitem h4 { margin: 0 0 3px; font-size: 11px; letter-spacing: .17em; text-transform: uppercase; font-weight: 600; }
.vitem p  { margin: 0; font-size: 13px; color: var(--ink-soft); line-height: 1.55; }

/* ---------- 8. Formulieren ---------- */
.field { display: block; margin-bottom: 16px; }
.field > span {
  display: block;
  font-size: 10px;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 7px;
  font-weight: 600;
}
.input, .select, .textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--ivory-hi);
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,161,90,.16);
}
.textarea { min-height: 88px; resize: vertical; line-height: 1.6; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23938B87' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* Stepper */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-sm); }
.qty button {
  width: 38px; height: 38px;
  background: none; border: 0; cursor: pointer;
  color: var(--ink-soft); font-size: 16px;
  display: grid; place-items: center;
  transition: color .2s;
}
.qty button:hover { color: var(--red); }
.qty span { min-width: 34px; text-align: center; font-size: 14px; font-weight: 600; }

/* ---------- 9. Stap-indicator (O-motief) ---------- */
.steps { display: flex; align-items: center; gap: 0; }
.steps__i { display: flex; align-items: center; gap: 10px; flex: none; }
.steps__dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 600;
  color: var(--ink-mute);
  background: var(--ivory-hi);
  transition: all .35s var(--ease);
  flex: none;
}
.steps__lbl {
  font-size: 10px; letter-spacing: .17em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 600; white-space: nowrap;
  transition: color .35s var(--ease);
}
.steps__bar { flex: 1; height: 1px; background: var(--line-strong); margin: 0 14px; min-width: 18px; position: relative; overflow: hidden; }
.steps__bar::after {
  content: ""; position: absolute; inset: 0;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.steps__i.is-done .steps__dot { border-color: var(--gold); background: var(--gold); color: var(--charcoal); }
.steps__i.is-done + .steps__bar::after { transform: scaleX(1); }
.steps__i.is-now .steps__dot { border-color: var(--red); background: var(--red); color: var(--ivory-hi); }
.steps__i.is-now .steps__lbl { color: var(--charcoal); }

/* ---------- 10. Exploded view ---------- */
.explode { position: relative; background: radial-gradient(ellipse at 50% 34%, var(--blush-lo), var(--bg-blush) 62%, #EBD9D1); border-radius: var(--r-md); overflow: hidden; }
.explode__stage { position: relative; width: 100%; aspect-ratio: 4/5; }
.explode__stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.explode__hint {
  position: absolute; left: 16px; bottom: 14px;
  font-size: 9.5px; letter-spacing: .17em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 600;
  display: flex; align-items: center; gap: 7px;
}
.explode__toggle { position: absolute; top: 14px; right: 14px; display: flex; gap: 6px; z-index: 3; }

.layer { transition: transform .85s var(--ease-out), opacity .6s var(--ease); }
.callout { opacity: 0; transition: opacity .5s var(--ease) .25s; }
.is-exploded .callout { opacity: 1; }

/* ---------- 11. Tabellen ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th {
  text-align: left;
  font-size: 9.5px; letter-spacing: .17em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 600;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}
.tbl td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tbody tr { transition: background .18s; }
.tbl tbody tr:hover { background: var(--ivory); }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- 12. Statistiek-tegel ---------- */
.stat { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--ivory-hi); }
.stat__k { font-size: 9.5px; letter-spacing: .17em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; }
.stat__v { font-family: var(--display); font-size: 30px; line-height: 1.1; margin: 9px 0 4px; font-variant-numeric: tabular-nums; }
.stat__d { font-size: 11.5px; color: var(--ink-soft); }
.stat__d b { font-weight: 600; }
.up   { color: var(--ok); }
.down { color: var(--red-soft); }

/* ---------- 13. Toast & modal ---------- */
.toast-host { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: calc(100% - 32px); max-width: 420px; }
.toast {
  background: var(--charcoal); color: var(--ivory-hi);
  padding: 13px 20px; border-radius: var(--r-sm);
  font-size: 12.5px; letter-spacing: .03em;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 11px;
  animation: toastIn .42s var(--ease-out);
  width: 100%;
}
.toast--gold { background: var(--gold); color: var(--charcoal); }
.toast--red  { background: var(--red); }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.modal-host { position: fixed; inset: 0; z-index: 300; display: none; }
.modal-host.is-open { display: block; }
.modal-host__bg { position: absolute; inset: 0; background: rgba(33,30,28,.5); backdrop-filter: blur(3px); animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
.modal {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: calc(100% - 32px); max-width: 560px;
  max-height: 88vh; overflow-y: auto;
  background: var(--ivory-hi); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  animation: pop .42s var(--ease-out);
}
@keyframes pop { from { opacity: 0; transform: translate(-50%,-46%) scale(.97); } to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
.modal__hd { padding: 22px 24px 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.modal__bd { padding: 18px 24px 24px; }
.modal__x { width: 34px; height: 34px; border: 0; background: none; cursor: pointer; color: var(--ink-mute); font-size: 20px; line-height: 1; flex: none; border-radius: 50%; transition: background .2s; }
.modal__x:hover { background: var(--ivory); color: var(--red); }

/* ---------- 14. Social ---------- */
.soc { display: flex; gap: 9px; }
.soc a {
  width: 38px; height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink-soft);
  transition: all .25s var(--ease);
}
.soc a:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory-hi); transform: translateY(-2px); }
.soc--light a { border-color: rgba(244,239,231,.28); color: rgba(244,239,231,.8); }
.soc--light a:hover { background: var(--ivory-hi); color: var(--charcoal); border-color: var(--ivory-hi); }

/* WhatsApp floating */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 120;
  display: flex; align-items: center; gap: 10px;
  background: var(--charcoal); color: var(--ivory-hi);
  padding: 12px 18px 12px 14px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-lg);
  cursor: pointer; border: 0;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  transition: transform .3s var(--ease), background .3s;
}
.wa:hover { transform: translateY(-3px); background: var(--red); }
.wa svg { flex: none; }

/* ---------- 15. Utilities ---------- */
.tc { text-align: center; }
.tr { text-align: right; }
.sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.hide { display: none !important; }
.mt-0 { margin-top: 0 } .mt-1 { margin-top: 8px } .mt-2 { margin-top: 16px }
.mt-3 { margin-top: 24px } .mt-4 { margin-top: 34px } .mt-5 { margin-top: 48px }
.mb-0 { margin-bottom: 0 } .mb-2 { margin-bottom: 16px } .mb-3 { margin-bottom: 24px } .mb-4 { margin-bottom: 34px }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .85s var(--ease-out), transform .85s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 16. Responsief ---------- */
@media (max-width: 1024px) {
  .g-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .g-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 720px) {
  :root { --gut: 18px; }
  .g-2, .g-3, .g-4 { grid-template-columns: minmax(0,1fr); }
  .steps__lbl { display: none; }
  .steps__bar { margin: 0 8px; }
}

/* ---------- 17. Gedeelde commerce-componenten ----------
   Gebruikt door website, app én portalen. Niet dupliceren
   in de losse <style>-blokken van de pagina's.          */

/* Verpakkingskiezer */
.packs { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.pack {
  border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
  background: var(--ivory-hi); cursor: pointer; transition: all .26s var(--ease);
  text-align: left; padding: 0; width: 100%;
}
.pack:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.pack.is-on { border-color: var(--charcoal); }
.pack__img { aspect-ratio: 4/3; overflow: hidden; background: var(--blush); }
.pack__img img { width: 100%; height: 100%; object-fit: cover; }
.pack__b { padding: 13px 15px 16px; }
.pack__b b { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.pack__b span { font-size: 11.5px; color: var(--ink-soft); line-height: 1.5; display: block; }
.pack__p { margin-top: 8px; font-size: 11px; font-weight: 600; color: var(--gold-deep); letter-spacing: .1em; }

/* Cadeaukaart-preview */
.gcard {
  background: var(--ivory-hi); border: 1px solid var(--line-strong);
  border-radius: var(--r-sm); padding: 30px 26px; text-align: center;
  position: relative; min-height: 190px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.gcard__logo { margin-bottom: 14px; }
.gcard__to { font-size: 21px; margin-bottom: 8px; color: var(--charcoal); word-break: break-word; }
.gcard__msg { font-size: 13px; color: var(--ink-soft); line-height: 1.65; max-width: 34ch; }
.gcard__o { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); color: var(--gold); opacity: .6; }

/* Keuzevlak in een flow */
.opt {
  display: flex; gap: 14px; align-items: flex-start; width: 100%; text-align: left;
  padding: 16px 18px; border: 1px solid var(--line-strong); border-radius: var(--r-md);
  background: var(--ivory-hi); cursor: pointer; transition: all .24s var(--ease);
}
.opt:hover { border-color: var(--gold); }
.opt.is-on { border-color: var(--charcoal); background: var(--ivory); box-shadow: var(--shadow-sm); }
.opt__ck {
  width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line-strong);
  flex: none; display: grid; place-items: center; margin-top: 1px;
  color: transparent; transition: all .24s;
}
.opt.is-on .opt__ck { background: var(--red); border-color: var(--red); color: #fff; }
.opt b { display: block; font-size: 13.5px; margin-bottom: 2px; }
.opt > span > span, .opt span span { font-size: 12px; color: var(--ink-soft); line-height: 1.5; }

/* Afwerkingskiezer */
.fin {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 8px; border: 1px solid var(--line-strong); border-radius: var(--r-md);
  background: var(--ivory-hi); cursor: pointer; transition: all .24s var(--ease); text-align: center;
}
.fin:hover { border-color: var(--gold); }
.fin.is-on { border-color: var(--charcoal); background: var(--ivory); }
.fin b { font-size: 11px; letter-spacing: .06em; line-height: 1.3; }
.fin span { font-size: 10px; color: var(--ink-mute); }

/* Mandregel */
.cline { display: grid; grid-template-columns: 78px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cline img { width: 78px; height: 78px; object-fit: cover; border-radius: var(--r-sm); }
.cline__n { font-family: var(--display); font-size: 16px; margin: 0 0 3px; font-weight: 400; }
.cline__m { font-size: 11.5px; color: var(--ink-mute); line-height: 1.55; }
.cline__x { background: none; border: 0; color: var(--ink-mute); cursor: pointer; font-size: 11px;
            text-decoration: underline; padding: 0; margin-top: 6px; }
.cline__x:hover { color: var(--red); }

/* Totaalregels */
.trow { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; padding: 6px 0; }
.trow--big { font-size: 16px; font-weight: 600; padding-top: 14px; margin-top: 8px; border-top: 1px solid var(--line-strong); }

/* Specificaties */
.specs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: var(--line);
         border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; margin: 0; }
.specs div { background: var(--ivory-hi); padding: 11px 13px; }
.specs dt { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute);
            font-weight: 600; margin: 0 0 3px; }
.specs dd { margin: 0; font-size: 13px; }

/* Aanbevolen match */
.match { display: grid; grid-template-columns: 62px 1fr auto; gap: 12px; align-items: center;
         padding: 11px 0; border-bottom: 1px solid var(--line); }
.match img { width: 62px; height: 62px; object-fit: cover; border-radius: var(--r-sm); }
.match b { font-size: 13.5px; display: block; }
.match span { font-size: 11.5px; color: var(--ink-mute); }

/* Deelkaart voor socials */
.sharecard { aspect-ratio: 4/5; border-radius: var(--r-md); overflow: hidden; position: relative;
             background: var(--bg-blush); display: flex; flex-direction: column; }
.sharecard__img { flex: 1; overflow: hidden; }
.sharecard__img img { width: 100%; height: 100%; object-fit: cover; }
.sharecard__ft { background: var(--red); color: var(--ivory-hi); padding: 16px 18px; text-align: center; flex: none; }
.sharecard__ft b { font-family: var(--display); font-size: 19px; letter-spacing: .09em; display: block; font-weight: 400; }
.sharecard__ft span { font-size: 7.5px; letter-spacing: .28em; opacity: .8; display: block; margin-top: 3px; }
.sharecard__tag { position: absolute; top: 14px; left: 14px; background: rgba(251,248,243,.92);
                  padding: 6px 11px; border-radius: var(--r-sm); font-size: 9px; letter-spacing: .18em;
                  text-transform: uppercase; font-weight: 600; z-index: 2; }

@media (max-width: 720px) {
  .packs { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* ---------- 18. Mobiele verfijning ----------
   Alles hieronder zit in een media query of achter (pointer: coarse),
   zodat het desktopontwerp onveranderd blijft. Enige uitzondering:
   minmax(0,1fr) hierboven — dat is een bugfix, geen ontwerpwijziging.  */

/* Afwerkingskiezer: zes kolommen passen niet onder ~900px */
.fins { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; }
@media (max-width: 900px) { .fins { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 360px) { .fins { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Specificaties: twee kolommen worden te smal voor "41–45 cm verstelbaar" */
@media (max-width: 420px) {
  .specs { grid-template-columns: minmax(0, 1fr); }
}

/* Aanbevolen match: de prijsknop mag onder de tekst vallen op zeer smal */
@media (max-width: 360px) {
  .match { grid-template-columns: 52px minmax(0, 1fr); row-gap: 8px; }
  .match img { width: 52px; height: 52px; }
  .match > :last-child { grid-column: 2; justify-self: start; }
}

/* Mandregel op zeer smalle schermen */
@media (max-width: 360px) {
  .cline { grid-template-columns: 60px minmax(0, 1fr); row-gap: 10px; }
  .cline img { width: 60px; height: 60px; }
  .cline > :last-child { grid-column: 2; display: flex; align-items: center;
                         justify-content: space-between; gap: 12px; }
}

/* Wordmark: 150px is te breed naast vier icoonknoppen onder 380px */
@media (max-width: 380px) {
  .wordmark    { --wm-breedte: 116px; --wm-gat: 4px; }
  .wordmark--lg { --wm-breedte: 182px; --wm-gat: 7px; }
}

/* Ademruimte op zeer smalle schermen */
@media (max-width: 360px) {
  :root { --gut: 14px; }
  .btn { padding: 14px 20px; letter-spacing: .14em; }
  .btn--lg { padding: 16px 22px; }
  .card--pad { padding: 16px; }
}

/* Leesbaarheid: niets onder 8px op een telefoon */
@media (max-width: 430px) {
  .tag { font-size: 10px; }
  .specs dt, .stat__k { font-size: 10px; }
  .lbs__eyebrow { font-size: 10px; }
}

/* Raakvlakken van minimaal ~44px op touch, zonder het ontwerp te verschuiven */
@media (pointer: coarse) {
  .link-u { position: relative; }
  .link-u::after { content: ""; position: absolute; inset: -13px -8px; }
  .pcard__fav { width: 40px; height: 40px; }
  .qty button { width: 44px; height: 44px; }
  .chip { padding-block: 11px; }
  .soc a { width: 44px; height: 44px; }
}

/* Knoprijen en chips mogen afbreken op zeer smalle schermen.
   .row is bewust nowrap op desktop; hier alleen als het niet past. */
@media (max-width: 400px) {
  .row { flex-wrap: wrap; }
  .fbar { gap: 7px; }
  .chip { font-size: 11px; padding: 8px 11px; max-width: 100%; }
  .btn { padding-inline: 18px; }
  .qty { flex: none; }
}

/* De actieknoppen onder de PDP passen niet naast elkaar onder ~400px */
@media (max-width: 400px) {
  .drawer__bd .row > .btn--sm { flex: 1 1 100%; }
}

/* ============================================================
   21. Talenkeuze
   ============================================================
   Rechtsboven, naast de pictogrammen. Compact gehouden omdat de
   koptekst op 320px al vol staat: alleen de taalcode, de volledige
   naam staat in de lijst. */

.taal { position: relative; flex: none; }

.taal__knop {
  display: flex; align-items: center; gap: 5px;
  height: 40px; padding: 0 9px;
  border: 1px solid var(--line); border-radius: 999px;
  background: none; cursor: pointer; color: var(--charcoal);
  font: 600 10.5px/1 inherit; letter-spacing: .14em;
  transition: border-color .2s, background .2s;
}
.taal__knop:hover { border-color: var(--gold); background: var(--ivory); }
.taal__knop:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.taal__pijl { transition: transform .22s var(--ease); opacity: .6; }
.taal.is-open .taal__pijl { transform: rotate(180deg); }

.taal__lijst {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 300;
  min-width: 182px; margin: 0; padding: 6px;
  list-style: none;
  background: var(--ivory-hi); border: 1px solid var(--line);
  border-radius: var(--r-sm); box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.taal.is-open .taal__lijst { opacity: 1; visibility: visible; transform: none; }

.taal__optie {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 4px; cursor: pointer;
  transition: background .16s;
}
.taal__optie:hover { background: var(--ivory); }
.taal__optie:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: -2px; }
.taal__optie.is-aan { background: var(--bg-blush); }
.taal__optiekort {
  font-size: 9.5px; font-weight: 700; letter-spacing: .14em;
  color: var(--gold-deep); min-width: 20px;
}
.taal__optienaam { font-size: 13px; color: var(--charcoal); }

/* Op de app- en portalenpagina is er geen koptekst om in te hangen.
   Daar zweeft de keuze rechtsboven in het beeld. */
.taal--vast {
  position: fixed; top: 14px; right: 16px; z-index: 400;
}
.taal--vast .taal__knop {
  background: rgba(251,248,243,.92); backdrop-filter: blur(8px);
}

@media (max-width: 380px) {
  /* Op 320px staan logo plus vijf knoppen in de kop. Het pijltje is
     decoratief, dus dat gaat er als eerste uit: dat scheelt de laatste
     paar pixels zonder dat de knop onduidelijk wordt. */
  .taal__knop { height: 36px; padding: 0 8px; gap: 0; }
  .taal__pijl { display: none; }
  .taal__lijst { min-width: 164px; }
}

/* ============================================================
   22. Rechts-naar-links (Arabisch)
   ============================================================
   De opmaak is grotendeels logisch opgebouwd, dus dir="rtl" doet
   het meeste werk. Hieronder alleen wat met de hand op een fysieke
   kant staat en dus zou blijven hangen. */

[dir="rtl"] body { text-align: right; }

[dir="rtl"] .hero__inner { margin-left: 0; margin-right: auto; }
[dir="rtl"] .hero__badge { left: auto; right: 26px; }

[dir="rtl"] .rule--left { margin-left: 0; margin-right: 0; }
[dir="rtl"] .rule--left i { transform-origin: right; }

[dir="rtl"] .taal__lijst { right: auto; left: 0; }
[dir="rtl"] .taal--vast { right: auto; left: 16px; }

[dir="rtl"] .hdr__nav a::after { transform-origin: left; }
[dir="rtl"] .hdr__nav a:hover::after { transform-origin: right; }

[dir="rtl"] .finder__s,
[dir="rtl"] .note--num { text-align: right; }

[dir="rtl"] .wa { right: auto; left: 18px; }
[dir="rtl"] .toast { right: auto; left: 18px; }

[dir="rtl"] .drawer__panel { right: auto; left: 0; transform: translateX(-102%); }
[dir="rtl"] .drawer.is-open .drawer__panel { transform: none; }

[dir="rtl"] .steps__i::before { right: auto; left: 0; }

/* Een pijl die naar voren wijst, wijst in het Arabisch naar links. */
[dir="rtl"] .btn .ico--arrow,
[dir="rtl"] #ctaArrow svg { transform: scaleX(-1); }

/* Bedragen, maten en modelnummers blijven van links naar rechts staan,
   anders springt het euroteken naar de verkeerde kant. */
[dir="rtl"] .price,
[dir="rtl"] .num,
[dir="rtl"] .jewel__specs dd { direction: ltr; unicode-bidi: embed; }
[dir="rtl"] .price, [dir="rtl"] .num { display: inline-block; }

/* Merkregels staan in Latijns schrift. In een RTL-pagina zet de
   bidi-algoritme hun slotpunt aan de verkeerde kant ("JEWELLERY." werd
   ".JEWELLERY"). Een eigen leesrichting lost dat op; de regel blijft
   rechts uitlijnen en volgt dus gewoon de Arabische opmaak. */
[dir="rtl"] .hero h1,
[dir="rtl"] .script,
[dir="rtl"] .ftr__claim,
[dir="rtl"] .wordmark,
[dir="rtl"] .sharecard__ft,
[dir="rtl"] .gcard__logo {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: right;
}
