/* ==========================================================
   Safa Beauty Lab — design system
   White canvas · ink type · soft lavender accents (brand logo is black)
   Logical properties throughout so Arabic (RTL) mirrors automatically.
   ========================================================== */

:root {
  --bg: #FFFFFF;
  --bg-2: #F7F5FA;
  --ink: #0E0E10;
  --ink-2: #5B5A63;
  --ink-3: #C9C6D0;
  --line: #ECE9F1;
  --lav: #EFE7FC;
  --lav-2: #DFCFF8;
  --accent: #6A4BB5;
  --error: #B42318;

  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem; --s5: 3rem; --s6: 4.5rem;
  --r-sm: 12px; --r: 20px; --r-lg: 28px;
  --shadow-1: 0 1px 2px rgb(14 14 16 / .04), 0 6px 20px rgb(14 14 16 / .06);
  --shadow-2: 0 2px 6px rgb(14 14 16 / .05), 0 28px 60px -16px rgb(40 20 80 / .18);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.7, 0, .84, 0);
  --ease-spring: cubic-bezier(.2, .9, .25, 1.05);
  --t-fast: 180ms; --t: 320ms; --t-slow: 1000ms;

  --z-header: 40; --z-float: 50; --z-scrim: 90; --z-drawer: 100; --z-toast: 110;
}
html[lang="ar"] { --sans: "IBM Plex Sans Arabic", "Manrope", system-ui, sans-serif; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
em { font-style: normal; color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--lav-2); }
section[id], main { scroll-margin-top: 80px; }

.container { width: min(1240px, 100% - 2 * clamp(1.25rem, 4vw, 3rem)); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 999; background: var(--ink); color: #fff; padding: .75rem 1rem; border-radius: var(--r-sm); }
.skip:focus { top: 1rem; }

/* ---------- type ---------- */
.display { font-weight: 600; font-size: clamp(2.75rem, 6vw, 5.25rem); line-height: .98; letter-spacing: -.05em; }
.h2 { font-weight: 600; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
.lead { font-size: clamp(1rem, 1.25vw, 1.125rem); color: var(--ink-2); max-width: 46ch; text-wrap: pretty; }
.eyebrow { display: flex; align-items: center; gap: .5em; font-size: .9375rem; font-weight: 500; color: var(--ink-2); margin-block-end: var(--s2); }
.eyebrow::before { content: ""; width: .8em; height: .8em; flex: none; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.5c1 0 1.4 1.6 1.2 3.3C10.6 3.8 12.2 3.4 12.7 4.3s-.6 2-2.2 2.7c1.6.7 2.7 1.9 2.2 2.7s-2.1.5-3.5-.5c.2 1.7-.2 3.3-1.2 3.3S6.6 10.9 6.8 9.2C5.4 10.2 3.8 10.6 3.3 9.7s.6-2 2.2-2.7C3.9 6.3 2.8 5.1 3.3 4.3s2.1-.5 3.5.5C6.6 3.1 7 1.5 8 1.5Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.5c1 0 1.4 1.6 1.2 3.3C10.6 3.8 12.2 3.4 12.7 4.3s-.6 2-2.2 2.7c1.6.7 2.7 1.9 2.2 2.7s-2.1.5-3.5-.5c.2 1.7-.2 3.3-1.2 3.3S6.6 10.9 6.8 9.2C5.4 10.2 3.8 10.6 3.3 9.7s.6-2 2.2-2.7C3.9 6.3 2.8 5.1 3.3 4.3s2.1-.5 3.5.5C6.6 3.1 7 1.5 8 1.5Z'/%3E%3C/svg%3E") center / contain no-repeat; }
html[lang="ar"] .display, html[lang="ar"] .h2 { letter-spacing: 0; line-height: 1.25; }
html[lang="ar"] .eyebrow { letter-spacing: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 50px; padding: 0 1.5rem; border-radius: 14px; font-weight: 600; font-size: .9375rem;
  transition: transform var(--t-fast) var(--ease-out), background-color var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out), border-color var(--t), color var(--t);
  touch-action: manipulation; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn { overflow: hidden; }
/* label rolls up and is replaced by itself (text-shadow copy) — a quiet, tactile hover */
.btn__label { display: inline-block; text-shadow: 0 2.5em currentColor; transition: transform 600ms var(--ease-spring); }
@media (hover: hover) { .btn:hover .btn__label { transform: translateY(-2.5em); } }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2a2930; box-shadow: 0 12px 28px -12px rgb(14 14 16 / .6); }
.btn--soft { background: var(--lav); color: var(--ink); box-shadow: inset 0 0 0 1px var(--lav-2); }
.btn--soft:hover { background: var(--lav-2); }
.btn--line { border: 1px solid var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--sm { min-height: 42px; padding: 0 1.1rem; font-size: .875rem; border-radius: 12px; }
.btn--block { width: 100%; }
.btn .wa { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }

.icon-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; transition: background-color var(--t-fast); }
.icon-btn:hover { background: var(--bg-2); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: var(--z-header); transition: background-color var(--t), box-shadow var(--t), transform var(--t) var(--ease-out); }
.header.is-scrolled { background: rgb(255 255 255 / .82); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__row { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.logo img { height: 40px; width: auto; }
.logo--light img { filter: invert(1); height: 56px; }
.nav { display: flex; gap: var(--s4); font-size: .9375rem; font-weight: 500; }
.nav a { position: relative; padding-block: .5rem; color: var(--ink-2); transition: color var(--t-fast); }
.nav a::after { content: ""; position: absolute; inset: auto 0 .15rem; height: 1.5px; border-radius: 2px; background: var(--ink); transform: scaleX(0); transition: transform var(--t) var(--ease-out); }
.nav a:hover, .nav a.is-current { color: var(--ink); }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: .35rem; }
.lang { min-height: 42px; padding: 0 .9rem; border-radius: 12px; font-size: .875rem; font-weight: 500; transition: background-color var(--t-fast); }
.lang:hover { background: var(--bg-2); }
.cart-count { position: absolute; top: 3px; inset-inline-end: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font: 600 .6875rem/18px var(--sans); text-align: center; transform: scale(0); transition: transform var(--t) var(--ease-out); }
.cart-count.has-items { transform: scale(1); }
.cart-count.bump { animation: bump 500ms var(--ease-out); }
.menu-btn { display: none; }

@media (max-width: 960px) {
  .menu-btn { display: grid; }
  .hide-sm { display: none; }
  .logo img { height: 34px; }
  .nav {
    position: fixed; inset: 76px 0 auto; flex-direction: column; gap: 0;
    background: #fff; padding: var(--s1) clamp(1.25rem, 4vw, 3rem) var(--s4); box-shadow: 0 30px 40px -24px rgb(14 14 16 / .25);
    font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--t) var(--ease-out), transform var(--t) var(--ease-out), visibility 0s var(--t);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav a { padding-block: .9rem; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav a::after { display: none; }
}

/* ---------- hero ---------- */
.hero { padding-block: 76px 0; overflow: clip; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 1.05fr) 220px; align-items: end; min-height: min(calc(100svh - 76px), 820px); }
.hero__copy { position: relative; z-index: 2; padding-block: var(--s4) clamp(3rem, 8vh, 6rem); align-self: stretch; display: flex; flex-direction: column; }
.pill { display: inline-flex; align-self: flex-start; align-items: center; gap: .6rem; padding: .3rem .85rem .3rem .3rem; border: 1.5px solid var(--ink); border-radius: 999px; font-size: .8125rem; font-weight: 600; margin-block-end: auto; }
html[dir="rtl"] .pill { padding: .3rem .3rem .3rem .85rem; }
.pill__faces { display: flex; }
.pill__faces img { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; background: var(--lav); }
.pill__faces img + img { margin-inline-start: -9px; }
.hero .display { margin-block: var(--s5) var(--s3); width: 125%; max-width: 9em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .65rem; margin-block-start: var(--s4); }

.hero__photo { position: relative; z-index: 1; align-self: end; aspect-ratio: 4 / 5; width: 100%; max-height: calc(100svh - 76px); margin-inline: auto; }
.hero__img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  filter: brightness(1.05) saturate(1.02);
  /* fade every edge into the white page, like a cut-out */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 58%, transparent 96%), linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 58%, transparent 96%), linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-composite: intersect;
  opacity: 0; transform: scale(1.04); transition: opacity 1.2s var(--ease-out), transform 1.6s var(--ease-out);
}
.hero__img.is-ready { opacity: 1; transform: none; }
.scan { position: absolute; inset: 0; pointer-events: none; container-type: size; }
.scan__box {
  position: absolute; left: var(--x); top: var(--y); width: var(--s); aspect-ratio: 1;
  border: 1.5px solid rgb(255 255 255 / .95); border-radius: 4px; box-shadow: 0 0 0 1px rgb(14 14 16 / .06);
  opacity: 0; transform: scale(1.25); transition: opacity 500ms var(--ease-out), transform 700ms var(--ease-out);
}
.scan__box::before { content: ""; position: absolute; top: 6px; left: 6px; width: 5px; height: 5px; border-radius: 50%; background: #fff; }
.scan__box i { position: absolute; left: 6px; bottom: 5px; font: 600 .625rem/1.2 var(--sans); font-style: normal; color: #fff; text-shadow: 0 1px 6px rgb(0 0 0 / .4); letter-spacing: .02em; }
.scan__box.is-on { opacity: 1; transform: none; }
/* scan line + hint follow --p (0→1 scroll progress, set by JS) */
.scan__line { position: absolute; left: 26%; right: 26%; top: 8%; height: 1px; background: linear-gradient(90deg, transparent, #fff, transparent); box-shadow: 0 0 14px 2px rgb(223 207 248 / .9); transform: translateY(calc(var(--p, 0) * 62cqh)); opacity: var(--lo, 0); transition: opacity 300ms; }
.scrub-hint { position: absolute; left: 50%; bottom: 10%; translate: -50% 0; z-index: 2; display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .8rem; border-radius: 999px; background: rgb(255 255 255 / .85); box-shadow: var(--shadow-1); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: .75rem; font-weight: 600; white-space: nowrap; transition: opacity 400ms, transform 400ms var(--ease-out); }
.scrub-hint svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; animation: nudge 1.6s ease-in-out infinite; }
.hero__photo.is-scrubbed .scrub-hint { opacity: 0; transform: translateY(8px); }
/* desktop: pin the hero while one extra screen of scrolling scrubs the video */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .hero { height: 190svh; padding-block-start: 0; }
  .hero__grid { position: sticky; top: 0; height: 100svh; min-height: 0; padding-block-start: 76px; }
}

.stats { position: relative; z-index: 2; display: grid; gap: var(--s4); align-self: center; margin: 0; justify-items: end; text-align: end; }
.stat { display: grid; grid-template-columns: auto auto; gap: 0 var(--s2); align-items: center; }
.stat__icon { grid-row: span 2; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgb(255 255 255 / .75); box-shadow: var(--shadow-1); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.stat__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--ink-2); stroke-width: 1.3; stroke-linecap: round; }
.stat dt { font-size: 2rem; font-weight: 600; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat dd { margin: 0; font-size: .8125rem; color: var(--ink-2); max-width: 15ch; justify-self: end; }
html[lang="ar"] .stat dt { letter-spacing: 0; }

@media (max-width: 1100px) { .hero__grid { grid-template-columns: 1fr minmax(0, 1fr) 190px; } .stat dt { font-size: 1.6rem; } }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__copy { padding-block: var(--s3) var(--s2); }
  .pill { margin-block-end: 0; }
  .hero .display { width: auto; margin-block: var(--s4) var(--s2); }
  .hero__photo { max-width: 460px; max-height: none; margin-block-start: var(--s2); }
  .stats { grid-template-columns: repeat(3, 1fr); justify-items: stretch; text-align: start; gap: .6rem; padding-block: 0 var(--s5); margin-block-start: calc(var(--s6) * -1); }
  .stat { grid-template-columns: 1fr; gap: .35rem; padding: .9rem; border-radius: var(--r); background: rgb(255 255 255 / .88); box-shadow: var(--shadow-1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .stat__icon { grid-row: auto; width: 34px; height: 34px; border-radius: 10px; box-shadow: none; background: var(--lav); }
  .stat__icon svg { width: 20px; height: 20px; }
  .stat dt { font-size: 1.3rem; }
  .stat dd { justify-self: start; font-size: .75rem; }
}

/* ---------- science split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: min(84vh, 760px); }
.split__photo { position: relative; overflow: hidden; }
.split__photo img { width: 100%; height: calc(100% + 80px); margin-block-start: -40px; object-fit: cover; translate: 0 var(--py, 0px); transform: scale(1.06); transition: transform 1.8s var(--ease-out); }
.split__photo.is-in img { transform: none; }
.tag-dot {
  position: absolute; left: var(--x); top: var(--y); display: grid; justify-items: center; gap: .45rem;
  font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgb(0 0 0 / .4);
  opacity: 0; transform: translateY(10px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(.6s + var(--d) * 220ms);
}
.tag-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: ping 2.4s var(--ease-out) infinite; animation-delay: calc(var(--d) * 400ms); }
.split__photo.is-in .tag-dot, html:not(.js) .tag-dot { opacity: 1; transform: none; }
html[lang="ar"] .tag-dot { letter-spacing: 0; font-size: .8125rem; }

.split__panel {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s3);
  padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 5rem);
  background: linear-gradient(180deg, var(--lav) 0%, #F8F4FE 55%, #fff 100%);
}
.split__text { color: var(--ink-2); max-width: 42ch; font-size: .9375rem; }
.split__line { position: relative; flex: 1; min-height: 100px; max-height: 220px; width: 1.5px; background: linear-gradient(var(--lav-2), var(--accent)); transform-origin: top; transform: scaleY(0); transition: transform 1.6s var(--ease-out) .3s; }
.split__line::after { content: ""; position: absolute; bottom: -1px; left: 50%; width: 9px; height: 9px; border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: translate(-50%, 0) rotate(45deg); }
.split__line.is-in, html:not(.js) .split__line { transform: none; }
.split__big { font-size: clamp(2rem, 4.2vw, 3.6rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
html[lang="ar"] .split__big { letter-spacing: 0; line-height: 1.3; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; min-height: 0; } .split__photo { aspect-ratio: 4 / 4.2; } .split__line { min-height: 90px; flex: none; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 8rem); }
.section--soft { background: var(--bg-2); }
.section--lav { background: linear-gradient(180deg, #fff 0%, var(--lav) 100%); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; margin-block-end: var(--s5); }

/* ---------- shop ---------- */
.filters { position: relative; isolation: isolate; display: flex; gap: .3rem; padding: .3rem; border-radius: 16px; background: var(--bg-2); }
.thumb { position: absolute; top: 0; left: 0; z-index: -1; border-radius: 12px; background: #fff; box-shadow: var(--shadow-1); pointer-events: none;
  transition: transform 550ms var(--ease-spring), width 550ms var(--ease-spring), height 550ms var(--ease-spring); }
.thumb.no-anim { transition: none; }
.filter { min-height: 42px; padding: 0 1.1rem; border-radius: 12px; font-size: .875rem; font-weight: 600; color: var(--ink-2); transition: background-color var(--t) var(--ease-out), color var(--t), box-shadow var(--t); }
.filter:hover { color: var(--ink); }
.filter.is-active { color: var(--ink); }
html:not(.js) .filter.is-active { background: #fff; box-shadow: var(--shadow-1); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: var(--s3); }
.card { display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--bg-2); overflow: hidden; }
.card.is-hidden { display: none; }
.card__media { position: relative; aspect-ratio: 1 / 1.05; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 70%, var(--glow) 0 30%, transparent 62%); }
/* light on glass: --lx/--ly is the lamp position (pointer on desktop, scroll on touch);
   the bottle's shadow falls away from the light */
@property --lx { syntax: "<percentage>"; inherits: true; initial-value: 30%; }
@property --ly { syntax: "<percentage>"; inherits: true; initial-value: 26%; }
@property --sx { syntax: "<length>"; inherits: true; initial-value: 4px; }
.card__media { transition: --lx 900ms var(--ease-out), --ly 900ms var(--ease-out), --sx 900ms var(--ease-out); }
.card__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--lx) var(--ly), rgb(255 255 255 / .95) 0, rgb(255 255 255 / .4) 10%, rgb(255 255 255 / 0) 32%), radial-gradient(circle at var(--lx) var(--ly), rgb(46 26 90 / 0) 34%, rgb(46 26 90 / .08) 95%); }
.card__media svg, .cart-line__img svg { direction: ltr; } /* keep the Safa* label reading left-to-right in Arabic */
.card__media svg { height: 80%; width: auto; filter: drop-shadow(var(--sx) 22px 18px rgb(40 20 80 / .16)); }
.card__tag { position: absolute; top: 1rem; inset-inline-start: 1rem; padding: .3rem .7rem; border-radius: 999px; background: #fff; font-size: .75rem; font-weight: 600; box-shadow: var(--shadow-1); }
html[lang="ar"] .card__tag { letter-spacing: 0; font-size: .75rem; }
.card__body { display: grid; gap: .3rem; padding: .25rem 1.4rem 1.4rem; flex: 1; }
.card__name { font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; }
.card__desc { font-size: .875rem; color: var(--ink-2); }
.card__media--photo { background: none; }
.card__media--photo img, .cart-line__img img { width: 100%; height: 100%; object-fit: cover; }
.card__media--photo::after { opacity: .35; }
.card__more { width: fit-content; min-height: 32px; display: flex; align-items: center; font-size: .85rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.card__media > a { display: contents; }
.card__foot { display: flex; align-items: center; justify-content: space-between; margin-block-start: auto; padding-block-start: .9rem; }
.price { font-weight: 600; font-variant-numeric: tabular-nums; }
.add { min-height: 44px; padding: 0 1.1rem; border-radius: 12px; background: var(--ink); color: #fff; font-size: .875rem; font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; transition: background-color var(--t-fast), transform var(--t-fast); }
.add:hover { background: var(--accent); }
.add__icon { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.add__plus { transform-box: fill-box; transform-origin: center; transition: transform 450ms var(--ease-spring), opacity 200ms; }
.add__check { stroke-dasharray: 14; stroke-dashoffset: 14; transition: stroke-dashoffset 450ms var(--ease-out) 120ms; }
.add.is-added .add__plus { transform: rotate(90deg) scale(.3); opacity: 0; }
.add.is-added .add__check { stroke-dashoffset: 0; }
/* droplet that carries the product to the bag */
.fly { position: fixed; z-index: var(--z-toast); width: 14px; height: 14px; margin: -7px 0 0 -7px; pointer-events: none; }
.fly i { display: block; width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 18%, var(--tint) 45%); box-shadow: 0 4px 10px rgb(40 20 80 / .25), inset 0 0 0 1px rgb(14 14 16 / .08); }
.add:active { transform: scale(.95); }
.add.is-added { background: var(--accent); }

/* ---------- statement (scroll-lit words) ---------- */
.statement { padding-block: clamp(3rem, 8vw, 6rem); overflow: hidden; }
/* the padding is the tags' runway: top/bottom bands stay clear of the sentence */
.statement__inner { position: relative; padding-block: clamp(8rem, 10vw, 8.5rem); }
.statement__text { max-width: 22em; margin-inline: auto; text-align: center; font-weight: 600; font-size: clamp(1.75rem, 3.8vw, 3.1rem); line-height: 1.12; letter-spacing: -.035em; color: var(--ink-3); }
html[lang="ar"] .statement__text { letter-spacing: 0; line-height: 1.45; }
.statement__text .w { transition: color 400ms var(--ease-out); }
.statement__text .w.on { color: var(--ink); }
.float-chip {
  position: absolute; left: var(--x); top: var(--y, auto); bottom: var(--b, auto); display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem .85rem; border-radius: 12px; background: #fff; box-shadow: var(--shadow-1); font-size: .875rem; font-weight: 600;
  rotate: var(--r); translate: 0 var(--py, 0px); will-change: translate;
}
.float-chip svg { width: 15px; height: 15px; fill: currentColor; }
@media (max-width: 760px) {
  .float-chip { font-size: .75rem; padding: .4rem .65rem; }
  .float-chip:nth-of-type(1) { top: .5rem; left: 4%; } .float-chip:nth-of-type(2) { top: 2rem; left: 58%; }
  .float-chip:nth-of-type(3) { display: none; }
  .float-chip:nth-of-type(4) { top: auto; bottom: 2rem; left: 6%; } .float-chip:nth-of-type(5) { top: auto; bottom: .5rem; left: 56%; }
}

/* ---------- actives ---------- */
.actives { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); }
.active { background: #fff; border-radius: var(--r-lg); padding: var(--s4) var(--s3); display: grid; gap: .6rem; align-content: start; }
.active__pct { justify-self: start; padding: .3rem .7rem; border-radius: 999px; background: var(--lav); color: var(--accent); font-size: .8125rem; font-weight: 700; margin-block-end: var(--s3); }
.active h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; }
.active p { font-size: .9375rem; color: var(--ink-2); }
@media (max-width: 960px) { .actives { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .actives { grid-template-columns: 1fr; } }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.step { position: relative; padding-block-start: var(--s4); display: grid; gap: .6rem; }
.step::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease-out) calc(var(--i, 0) * 150ms + 200ms); }
html[dir="rtl"] .step::before { transform-origin: right; }
.step.is-in::before, html:not(.js) .step::before { transform: scaleX(1); }
.step__n { font-size: .875rem; font-weight: 700; color: var(--accent); }
.step h3 { font-size: 1.6rem; font-weight: 600; letter-spacing: -.03em; }
.step p { color: var(--ink-2); max-width: 34ch; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- consultation ---------- */
.consult { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: start; }
.consult .h2 { margin-block-end: var(--s3); }
.price-tag { display: flex; align-items: baseline; gap: .4rem; margin-block-start: var(--s4); }
.price-tag strong { display: inline-block; font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 600; letter-spacing: -.04em; }
.price-tag span { color: var(--ink-2); font-weight: 500; }
html[lang="ar"] .price-tag strong { letter-spacing: 0; }
.price-note { margin-block-start: .35rem; font-size: .875rem; color: var(--ink-2); }
.ticks { display: grid; gap: .85rem; margin-block-start: var(--s4); font-weight: 500; }
.ticks li { display: flex; gap: .75rem; align-items: center; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 8.5 2.5 2.5L12 5.5'/%3E%3C/svg%3E") center / 14px no-repeat; }

.form { background: #fff; border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow-2); display: grid; gap: var(--s3); }
.field { border: 0; margin: 0; padding: 0; display: grid; gap: .45rem; min-width: 0; }
.field legend { font-size: .875rem; font-weight: 600; padding: 0; margin-block-end: .55rem; }
.field > label { font-size: .875rem; font-weight: 600; }
.opt { color: var(--ink-2); font-weight: 400; }
.field input, .field select { width: 100%; min-height: 52px; padding: 0 1rem; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); font-size: 1rem; transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast); }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--lav); }
.field input[aria-invalid="true"] { border-color: var(--error); }
html[dir="rtl"] .field input[type="tel"] { text-align: right; }
.help { font-size: .8125rem; color: var(--ink-2); }
.err { font-size: .8125rem; color: var(--error); }
.err:empty { display: none; }
.form__errors { padding: 1rem; border-radius: 14px; background: #FEF3F2; color: var(--error); font-size: .875rem; }
.form__errors a { text-decoration: underline; }
.seg { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(3, 1fr); gap: .3rem; padding: .3rem; border-radius: 16px; background: var(--bg-2); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 44px; border-radius: 12px; font-size: .875rem; font-weight: 500; text-align: center; transition: background-color var(--t) var(--ease-out), box-shadow var(--t); }
.seg input:checked + span { font-weight: 600; }
html:not(.js) .seg input:checked + span { background: #fff; box-shadow: var(--shadow-1); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { min-height: 40px; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line); font-size: .875rem; font-weight: 500; color: var(--ink-2); transition: all var(--t-fast); animation: fadeUp 400ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 40ms); }
.chip { display: inline-flex; align-items: center; }
.chip__check { width: 0; height: 14px; flex: none; opacity: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 14; stroke-dashoffset: 14;
  transition: width 380ms var(--ease-spring), margin 380ms var(--ease-spring), opacity 200ms, stroke-dashoffset 400ms var(--ease-out) 120ms; }
.chip[aria-pressed="true"] .chip__check { width: 14px; margin-inline-end: .4rem; opacity: 1; stroke-dashoffset: 0; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--lav); border-color: var(--accent); color: var(--accent); }
@media (max-width: 900px) { .consult { grid-template-columns: 1fr; gap: var(--s5); } }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #F2F0F5; padding-block: var(--s6) var(--s3); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--s4); padding-block-end: var(--s5); }
.footer__note { color: #A9A6B2; margin-block-start: var(--s2); max-width: 30ch; }
.footer__h { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #A9A6B2; margin-block-end: var(--s2); }
.footer ul { display: grid; gap: .2rem; }
.footer ul a { display: inline-block; padding-block: .4rem; background: linear-gradient(currentColor, currentColor) left calc(100% - .3rem) / 0 1px no-repeat; transition: background-size 500ms var(--ease-out), color var(--t-fast); }
html[dir="rtl"] .footer ul a { background-position: right calc(100% - .3rem); }
.footer ul a:hover, .footer ul a:focus-visible { background-size: 100% 1px; }
.footer__h { letter-spacing: 0; text-transform: none; font-size: .875rem; font-weight: 600; }
/* brand sign-off: logo at a calm size, a closing line and a way back up */
.footer__sign { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--s4); padding-block: var(--s5) var(--s5); border-top: 1px solid rgb(255 255 255 / .1); }
.footer__mark { width: min(100%, 640px); }
.footer__mark img { display: block; width: 100%; height: auto; filter: invert(1); clip-path: inset(0 0 0 0); }
.js .footer__mark img { clip-path: inset(100% 0 0 0); transform: translateY(6%); transition: clip-path 1.6s var(--ease-spring), transform 1.6s var(--ease-spring); }
.js .footer__mark.is-in img { clip-path: inset(-2% -2% -2% -2%); transform: none; }
.footer__side { display: grid; justify-items: end; gap: var(--s3); padding-block-end: .4rem; text-align: end; }
.footer__line { max-width: 14ch; font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 500; line-height: 1.2; letter-spacing: -.02em; color: #F2F0F5; text-wrap: balance; }
html[lang="ar"] .footer__line { letter-spacing: 0; line-height: 1.5; }
.footer__top { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: 0 .4rem 0 1rem; border-radius: 999px; border: 1px solid rgb(255 255 255 / .18); font-size: .875rem; font-weight: 500; color: #F2F0F5; transition: border-color var(--t), background-color var(--t); }
html[dir="rtl"] .footer__top { padding: 0 1rem 0 .4rem; }
.footer__top svg { width: 32px; height: 32px; padding: 8px; border-radius: 50%; background: #F2F0F5; color: var(--ink); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 500ms var(--ease-spring); }
.footer__top:hover { border-color: rgb(255 255 255 / .45); }
.footer__top:hover svg { transform: translateY(-3px); }
@media (max-width: 760px) {
  .footer__sign { grid-template-columns: 1fr; gap: var(--s4); }
  .footer__side { justify-items: start; text-align: start; grid-auto-flow: column; align-items: center; justify-content: space-between; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.footer__base { border-top: 1px solid rgb(255 255 255 / .1); padding-block-start: var(--s3); font-size: .8125rem; color: #A9A6B2; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }

/* ---------- cart drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: var(--z-scrim); background: rgb(14 14 16 / .4); opacity: 0; transition: opacity var(--t) var(--ease-out); }
.scrim.is-open { opacity: 1; }
.cart { position: fixed; inset-block: 0; inset-inline-end: 0; z-index: var(--z-drawer); width: min(440px, 100%); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 440ms var(--ease-out); box-shadow: var(--shadow-2); }
html[dir="rtl"] .cart { transform: translateX(-100%); }
.cart.is-open, html[dir="rtl"] .cart.is-open { transform: none; }
.cart.is-closing { transition-duration: 260ms; transition-timing-function: var(--ease-in); }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: var(--s3); border-bottom: 1px solid var(--line); }
.cart__head h2 { font-size: 1.25rem; font-weight: 600; }
.cart__items { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: var(--s1) var(--s3); }
.cart__empty { flex: 1; padding: var(--s4) var(--s3); color: var(--ink-2); }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: var(--s2); align-items: center; padding-block: var(--s2); border-bottom: 1px solid var(--line); animation: fadeUp 360ms var(--ease-out) both; }
.cart-line__img { width: 64px; height: 72px; border-radius: 14px; overflow: hidden; background: var(--bg-2); display: grid; place-items: center; }
.cart-line__img svg { height: 80%; width: auto; }
.cart-line__name { font-weight: 600; font-size: .9375rem; }
.qty { display: inline-flex; align-items: center; gap: .25rem; margin-block-start: .35rem; border: 1px solid var(--line); border-radius: 12px; }
.qty button { width: 36px; height: 36px; border-radius: 10px; font-size: 1.1rem; line-height: 1; }
.qty button:hover { background: var(--bg-2); }
.qty span { min-width: 1.5ch; text-align: center; font-weight: 600; font-size: .875rem; }
.cart__foot { padding: var(--s3); border-top: 1px solid var(--line); display: grid; gap: var(--s2); padding-block-end: max(var(--s3), env(safe-area-inset-bottom)); }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; }
.link-btn { background: none; border: 0; padding: .25rem; font: inherit; font-size: .875rem; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; justify-self: center; }
.link-btn:disabled { opacity: .4; cursor: default; }
.cart__total strong { font-size: 1.25rem; font-weight: 700; }

/* ---------- floating whatsapp + toast ---------- */
.wa-float { position: fixed; z-index: var(--z-float); inset-inline-end: clamp(1rem, 3vw, 1.75rem); bottom: max(clamp(1rem, 3vw, 1.75rem), env(safe-area-inset-bottom)); width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--ink); color: #fff; box-shadow: 0 14px 30px -10px rgb(14 14 16 / .5), 0 0 0 1px rgb(255 255 255 / .14); transition: transform var(--t) var(--ease-out), background-color var(--t); animation: fadeUp 700ms var(--ease-out) 2s both; }
.wa-float:hover { transform: scale(1.06); background: var(--accent); }
.wa-float svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.toast { width: max-content; max-width: calc(100% - 2rem); text-align: center; position: fixed; z-index: var(--z-toast); left: 50%; bottom: 1.5rem; translate: -50% 0; padding: .85rem 1.25rem; border-radius: 14px; background: var(--ink); color: #fff; font-size: .875rem; font-weight: 500; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity var(--t) var(--ease-out), transform var(--t) var(--ease-out); }
.toast.is-on { opacity: 1; transform: none; }

/* ==========================================================
   MOTION — transform / opacity / filter only
   ========================================================== */
/* word-by-word blur-in (spans added by JS on [data-split]) */
.js [data-split] .w { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(.35em); }
.js [data-split].is-in .w { animation: blurIn 1s var(--ease-out) forwards; animation-delay: calc(var(--w) * 70ms + var(--base, 0ms)); }
.hero .display { --base: 250ms; }

/* generic fade for hero bits */
.fade-in { opacity: 0; animation: fadeUp 900ms var(--ease-out) forwards; animation-delay: calc(var(--d) * 80ms + 200ms); }

/* scroll reveal (only with JS so content is never hidden without it) */
.js .reveal { opacity: 0; transition: opacity 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; }

@keyframes blurIn { to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes nudge { 50% { transform: translateY(3px); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgb(255 255 255 / .7); } 80%, 100% { box-shadow: 0 0 0 12px rgb(255 255 255 / 0); } }
@keyframes bump { 40% { transform: scale(1.35); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0s !important; }
  .scan__line, .scrub-hint { display: none; }
  .statement__text .w { color: var(--ink); }
}

/* ---------- product page (product.html) ---------- */
.pdp-page { --serif: "Newsreader", Georgia, "Times New Roman", serif; }
html[lang="ar"] .pdp-page { --serif: var(--sans); }
.pdp { padding-block-start: 76px; }
.pdp-hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; padding-block: clamp(1.25rem, 3vw, 2.5rem) var(--s6); }

/* gallery: main photo + two tiles; stays in view while the buy column scrolls */
.pdp-gallery { position: sticky; top: 96px; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.pdp-shot { position: relative; margin: 0; overflow: hidden; border-radius: var(--r); background: var(--stage); aspect-ratio: 1; outline: 1px solid rgb(14 14 16 / .06); outline-offset: -1px; } /* hairline keeps white studio photos from melting into the page */
.pdp-shot--main { grid-column: 1 / -1; aspect-ratio: 1 / .9; transition: --lx 900ms var(--ease-out), --ly 900ms var(--ease-out); }
.pdp-shot img { width: 100%; height: 100%; object-fit: var(--fit, cover); }
.pdp-shot--main img { animation: settle 1.6s var(--ease-out) both; }
.pdp-shot--main::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--lx) var(--ly), rgb(255 255 255 / .2), rgb(255 255 255 / 0) 40%); }
.pdp-shot .card__tag { z-index: 2; }
.pdp-shot--zoom img { transform: scale(2.3); transform-origin: 60% 46%; }
.pdp-formula { display: grid; align-content: center; gap: .5rem; padding: clamp(1rem, 2.4vw, 1.75rem); background: var(--lav); }
.pdp-formula p { display: flex; align-items: baseline; gap: .7rem; font-size: .9375rem; color: var(--ink-2); }
.pdp-formula span { min-width: 2.3em; font: 300 clamp(1.9rem, 3.2vw, 2.9rem)/1 var(--serif); letter-spacing: -.02em; color: var(--ink); }
@keyframes settle { from { transform: scale(1.06); } }

/* buy column */
.pdp-buy { animation: fadeUp 1s var(--ease-out) .15s both; }
.pdp-brand { margin-block-end: .6rem; font-size: .9375rem; font-weight: 600; color: var(--accent); }
.pdp-title { font: 300 clamp(2.5rem, 4.6vw, 3.9rem)/1.02 var(--serif); letter-spacing: -.025em; text-wrap: balance; }
.pdp-dots { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-block: 1.2rem 1.5rem; font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.pdp-dots li { display: flex; align-items: center; gap: .45rem; }
.pdp-dots li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.pdp-dots li:nth-child(2)::before { background: #9B7BE0; }
.pdp-dots li:nth-child(3)::before { background: var(--lav-2); }
.pdp-lead { max-width: 50ch; font-size: 1.0625rem; color: var(--ink-2); text-wrap: pretty; }
.pdp-label { margin-block: var(--s4) .6rem; font-size: .875rem; font-weight: 600; }
.pdp-option__card { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 1rem; padding: .7rem 1.1rem .7rem .7rem; border: 1.5px solid var(--ink); border-radius: 16px; }
html[dir="rtl"] .pdp-option__card { padding: .7rem .7rem .7rem 1.1rem; }
.pdp-option__card img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.pdp-option__card strong { display: block; font-weight: 600; }
.pdp-option__card small { font-size: .8125rem; color: var(--ink-2); }
.pdp-option__price, .pdp-add #addTotal { font-weight: 600; font-variant-numeric: tabular-nums; }
.pdp-cart { display: grid; grid-template-columns: auto 1fr; gap: .75rem; margin-block-start: 1rem; }
.qty--lg { height: 56px; margin: 0; border-radius: 14px; }
.qty--lg button { width: 44px; height: 100%; }
.pdp-add { min-height: 56px; justify-content: space-between; font-size: 1rem; }
.pdp-add.is-added { background: var(--accent); }
.pdp-note { margin-block-start: .8rem; text-align: center; font-size: .8125rem; color: var(--ink-2); }
.pdp-sub { margin-block: var(--s5) .8rem; font-size: 1rem; font-weight: 600; }
.pdp-perks { border-top: 1px solid var(--line); }
.pdp-perks li { display: flex; align-items: center; gap: .85rem; padding-block: .8rem; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.pdp-perks svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* accordions (native details) */
.pdp-acc { margin-block-start: var(--s4); border-top: 1px solid var(--ink); }
.pdp-acc details { border-bottom: 1px solid var(--line); }
.pdp-acc summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px; font-weight: 600; cursor: pointer; list-style: none; }
.pdp-acc summary::-webkit-details-marker { display: none; }
.pdp-acc summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; transition: transform var(--t) var(--ease-out); }
.pdp-acc details[open] summary::after { transform: rotate(45deg); }
.pdp-acc details > :not(summary) { padding-block-end: 1.25rem; color: var(--ink-2); animation: fadeUp 420ms var(--ease-out); }
.pdp-bullets { display: grid; gap: .5rem; }
.pdp-bullets li { display: flex; gap: .7rem; }
.pdp-bullets li::before { content: ""; flex: none; width: 6px; height: 6px; margin-block-start: .65em; border-radius: 50%; background: var(--accent); }
.pdp-ing { display: grid; gap: .9rem; margin: 0; }
.pdp-ing dt { font-weight: 600; color: var(--ink); }
.pdp-ing dt span { color: var(--accent); }
.pdp-ing dd { margin: .15rem 0 0; }

/* bands below the fold */
.pdp-band { padding-block: clamp(4rem, 9vw, 7rem); }
.pdp-band--soft { background: var(--bg-2); }
.pdp-band--lav { background: linear-gradient(180deg, #fff 0%, var(--lav) 100%); }
.pdp-h2 { font: 300 clamp(2.1rem, 4vw, 3.4rem)/1.05 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.pdp-actives { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); margin-block-start: var(--s5); }
.pdp-actives li { display: grid; gap: .6rem; align-content: start; padding: var(--s4) var(--s3); border-radius: var(--r-lg); background: #fff; }
.pdp-actives__pct { margin-block-end: var(--s2); font: 300 clamp(3rem, 6vw, 4.75rem)/1 var(--serif); letter-spacing: -.03em; color: var(--accent); }
.pdp-actives h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; }
.pdp-actives p { font-size: .9375rem; color: var(--ink-2); }
.pdp-fit { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--s5); align-items: start; }
.pdp-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-block-start: var(--s3); }
.pdp-chips li { padding: .55rem 1rem; border-radius: 999px; background: var(--lav); font-size: .9375rem; font-weight: 500; }
.pdp-fit__cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.pdp-fit__cols h3 { margin-block-end: .6rem; padding-block-start: 1rem; border-top: 1px solid var(--ink); font-size: 1rem; font-weight: 600; }
.pdp-fit__cols p { color: var(--ink-2); }
.pdp-faq { display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--s5); align-items: start; }
.pdp-faq__lead { max-width: 36ch; margin-block: var(--s2) var(--s3); color: var(--ink-2); }
.pdp-faq .pdp-acc { margin: 0; }
.pdp-missing { display: grid; justify-items: start; gap: var(--s3); padding-block: var(--s6); }
html[lang="ar"] .pdp-title, html[lang="ar"] .pdp-h2 { font-weight: 600; line-height: 1.3; letter-spacing: 0; }
html[lang="ar"] .pdp-title { font-size: clamp(2rem, 4vw, 3rem); }
html[lang="ar"] .pdp-h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }

/* slim buy bar once the main button has scrolled away */
.pdp-bar { position: fixed; inset: auto 0 0; z-index: var(--z-float); padding-block-end: env(safe-area-inset-bottom); background: rgb(255 255 255 / .9); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 -1px 0 var(--line); transform: translateY(100%); transition: transform 420ms var(--ease-out); }
.pdp-bar.is-on { transform: none; }
.pdp-bar__row { display: flex; align-items: center; gap: .9rem; min-height: 68px; }
.pdp-bar img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.pdp-bar p { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; column-gap: .9rem; font-size: .875rem; line-height: 1.35; }
.pdp-bar strong { flex-basis: 100%; overflow: hidden; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.pdp-bar span { color: var(--ink-2); }
.pdp-page .footer { padding-block-end: calc(var(--s3) + 68px); }

@media (max-width: 900px) {
  .pdp-hero, .pdp-fit, .pdp-faq { grid-template-columns: 1fr; }
  .pdp-gallery { position: static; }
  .pdp-actives { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pdp-gallery { gap: .5rem; }
  .pdp-fit__cols { grid-template-columns: 1fr; }
  .pdp-formula { padding: .9rem; gap: .35rem; }
  .pdp-formula p { display: grid; gap: 0; font-size: .75rem; line-height: 1.3; }
  .pdp-formula span { font-size: 1.6rem; }
}

/* ---------- cash on delivery (inside the bag drawer, cod.js) ---------- */
.cart.is-cod .cart__items, .cart.is-cod .cart__empty, .cart.is-cod .cart__foot { display: none; }
.cod { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: var(--s2) var(--s3) max(var(--s3), env(safe-area-inset-bottom)); animation: fadeUp 360ms var(--ease-out) both; }
.cod__back { justify-self: start; margin-inline-start: -.25rem; }
.cod__title { margin-block: var(--s1) .35rem; font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; }
.cod__lead { margin-block-end: var(--s3); font-size: .9375rem; color: var(--ink-2); }
.cod__form { display: grid; gap: var(--s2); }
.cod .field textarea { width: 100%; min-height: 92px; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); font: inherit; font-size: 1rem; resize: vertical; transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast); }
.cod .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--lav); }
.cod .field [aria-invalid="true"] { border-color: var(--error); }
.cod .cart__total { padding-block-start: var(--s1); border-top: 1px solid var(--line); }
.cod .hp { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cod__done { display: grid; gap: var(--s2); justify-items: start; padding-block-start: var(--s3); }
.cod__done .btn { margin-block-start: var(--s1); }
.cod__tick { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--lav); color: var(--accent); }
.cod__tick svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cart__foot .btn--line:disabled, .cart__foot .btn--dark:disabled { opacity: .4; cursor: default; }
