/* =========================================================
   KERANI — Vital Organics Cairo
   Palette drawn from the logo: ivory paper, brushed bronze,
   verdigris patina and botanical sage.
   Uses logical properties throughout so RTL works for free.
   ========================================================= */

:root {
  --ivory: #FAF7F2;
  --silk: #F4EEE5;
  --sand: #EADFCF;
  --line: #E6DACA;
  --bronze: #A8704F;
  --bronze-deep: #8C5A3E;
  --bronze-light: #C99A70;
  --clay: #A3634B;
  --patina: #7FA293;
  --patina-soft: #DCE7E1;
  --sage: #8A9A86;
  --sage-deep: #5F7263;
  --ink: #221F1E;
  --ink-soft: #5C534D;
  --muted: #8B8079;
  --white: #FFFDF9;

  --font-display: 'Cinzel', 'Amiri', serif;
  --font-serif: 'Cormorant Garamond', 'Amiri', serif;
  --font-sans: 'Plus Jakarta Sans', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --track: .22em;
  --track-sm: .12em;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 20px 50px -24px rgba(90, 58, 40, .28);
  --shadow-soft: 0 10px 30px -18px rgba(90, 58, 40, .25);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 104px;
}

/* Arabic: letter-spacing breaks joined script, so tracking is zeroed */
html[lang="ar"] {
  --font-display: 'Amiri', serif;
  --font-serif: 'Amiri', serif;
  --font-sans: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --track: 0;
  --track-sm: 0;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: italic; }
html[lang="ar"] em { font-style: normal; }
::selection { background: var(--patina-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--ivory); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
[dir="rtl"] .flip { transform: scaleX(-1); }
.flip-inv { transform: scaleX(-1); }
[dir="rtl"] .flip-inv { transform: none; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--sage-deep);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
html[lang="ar"] .eyebrow { font-size: .9rem; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -.01em;
  margin-top: 14px;
}
html[lang="ar"] .section-title { line-height: 1.35; letter-spacing: 0; }
.section-title em, .hero__title em { color: var(--bronze); }
.section-text { color: var(--ink-soft); max-width: 560px; margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: .78rem; font-weight: 500; letter-spacing: var(--track-sm); text-transform: uppercase;
  border-radius: 999px; transition: all .4s var(--ease); position: relative; overflow: hidden; isolation: isolate;
}
html[lang="ar"] .btn { font-size: .95rem; }
.btn svg { width: 18px; height: 18px; transition: translate .4s var(--ease); }
.btn--bronze {
  padding: 17px 30px;
  background: linear-gradient(135deg, var(--bronze-light), var(--bronze) 45%, var(--bronze-deep));
  color: var(--white);
  box-shadow: 0 12px 28px -14px rgba(140, 90, 62, .8);
}
.btn--bronze::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  translate: -120% 0; transition: translate .8s var(--ease);
}
.btn--bronze:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(140, 90, 62, .85); }
.btn--bronze:hover::after { translate: 120% 0; }
.btn--bronze:hover svg { translate: 4px 0; }
[dir="rtl"] .btn--bronze:hover svg { translate: -4px 0; }
.btn--bronze:active { transform: translateY(0) scale(.98); }
.btn--link { padding: 10px 2px; color: var(--ink); border-radius: 0; }
.btn--link::before {
  content: ""; position: absolute; inset-inline: 0; bottom: 4px; height: 1px; background: currentColor;
  transform: scaleX(.35); transform-origin: var(--origin, left); transition: transform .5s var(--ease);
}
[dir="rtl"] .btn--link::before { --origin: right; }
.btn--link:hover { color: var(--bronze); }
.btn--link:hover::before { transform: scaleX(1); }
.btn--link:hover svg { translate: 4px 0; }
[dir="rtl"] .btn--link:hover svg { translate: -4px 0; }
.btn--block { width: 100%; }

.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; transition: background .3s; position: relative; }
.icon-btn:hover { background: var(--silk); }
.icon-btn svg { width: 22px; height: 22px; }
.round-btn {
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center;
  transition: all .35s var(--ease); background: var(--white);
}
.round-btn svg { width: 18px; height: 18px; }
.round-btn:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

.stars { display: inline-flex; gap: 2px; color: var(--bronze); }
.stars svg { width: 14px; height: 14px; fill: currentColor; }

/* ---------- Announcement ---------- */
.announce {
  background: var(--ink); color: #EFE5D8;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 10px 16px; text-align: center;
  font-size: .72rem; letter-spacing: var(--track-sm); text-transform: uppercase;
}
html[lang="ar"] .announce { font-size: .85rem; }
.announce__mark { width: 15px; height: 15px; color: var(--patina); flex: none; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 247, 242, .86);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .4s, box-shadow .4s;
}
.header.scrolled .header__inner { height: 84px; }
.header.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -26px rgba(0, 0, 0, .4); }
.header__inner { height: var(--header-h); transition: height .5s var(--ease); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); font-size: .78rem; letter-spacing: var(--track-sm); text-transform: uppercase; }
html[lang="ar"] .nav { font-size: .95rem; gap: 26px; }
.nav--end { justify-content: flex-end; gap: 22px; }
.nav a, .cart-btn, .lang-btn { position: relative; padding-block: 6px; transition: color .3s; white-space: nowrap; }
.nav--start a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--bronze);
  transform: scaleX(0); transition: transform .45s var(--ease);
}
.nav a:hover, .cart-btn:hover, .lang-btn:hover { color: var(--bronze); }
.nav--start a:hover::after { transform: scaleX(1); }
.nav__icon-link, .cart-btn, .lang-btn { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: var(--track-sm); }
.nav__icon-link svg, .cart-btn svg, .lang-btn svg { width: 19px; height: 19px; }
.lang-btn { font-size: .78rem; font-family: 'IBM Plex Sans Arabic', var(--font-sans); }
html[lang="ar"] .lang-btn { font-family: 'Plus Jakarta Sans', sans-serif; font-size: .75rem; letter-spacing: .1em; }
.cart-btn.bump svg { animation: bump .6s var(--ease); }
@keyframes bump { 30% { transform: scale(1.3) rotate(-8deg); } 60% { transform: scale(.92); } }

.logo { display: grid; justify-items: center; line-height: 1; text-align: center; }
.logo__emblem {
  width: 58px; height: 48px; margin-bottom: 5px; overflow: visible;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .8)) drop-shadow(0 2px 3px rgba(140, 90, 62, .18));
  transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), transform .7s var(--ease);
}
.logo:hover .logo__emblem { transform: translateY(-2px) scale(1.04); }
.header.scrolled .logo__emblem { width: 44px; height: 36px; margin-bottom: 3px; }
.logo__mark { width: 34px; height: 34px; margin-bottom: 4px; transition: transform .6s var(--ease); }
.logo:hover .logo__mark { transform: translateY(-2px) scale(1.06); }
.logo__word {
  font-family: 'Cinzel', serif; font-weight: 600; font-size: 1.7rem; letter-spacing: .26em; margin-inline-end: -.26em;
  background: linear-gradient(100deg, #8C5A3E 0%, #B98763 28%, #E6C39E 46%, #B07A55 62%, #8C5A3E 100%);
  background-size: 220% 100%; background-position: 0 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: background-position 1.4s var(--ease), font-size .5s var(--ease);
}
.logo:hover .logo__word { background-position: 100% 0; }
.header.scrolled .logo__word { font-size: 1.5rem; }
[dir="rtl"] .logo__word { margin-inline-end: 0; margin-inline-start: -.26em; direction: ltr; }
.logo__sub {
  display: flex; align-items: center; gap: 8px; margin-top: 7px;
  font-size: .55rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--sage-deep);
}
.logo__sub > span { margin-inline-end: -.32em; }
.logo__sub::before, .logo__sub::after { content: ""; width: 16px; height: 1px; background: linear-gradient(90deg, transparent, var(--bronze-light)); }
.logo__sub::after { transform: scaleX(-1); }
html[lang="ar"] .logo__sub { letter-spacing: 0; font-size: .72rem; }
html[lang="ar"] .logo__sub > span { margin: 0; }
.logo--sm { display: flex; align-items: center; gap: 10px; }
.logo--sm .logo__mark { width: 28px; height: 28px; margin: 0; }
.logo--sm .logo__word { font-size: 1.2rem; }

.header__burger, .header__cart-mobile { display: none; }
.dot {
  position: absolute; top: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px;
  background: var(--bronze); color: #fff; font-size: .62rem; display: grid; place-items: center; font-weight: 600;
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-top: clamp(48px, 7vw, 104px); background: #16211A; color: #F6EFE4; }
.hero__bg {
  position: absolute; inset: -4%; z-index: -2;
  background: url("../assets/hero-jungle.jpg") center 40% / cover no-repeat;
  animation: jungle 30s ease-in-out infinite alternate;
}
@keyframes jungle { to { transform: scale(1.06) translate(-1%, -1%); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 22, 17, .92) 0%, rgba(14, 22, 17, .78) 38%, rgba(14, 22, 17, .35) 70%, rgba(14, 22, 17, .2) 100%),
    linear-gradient(180deg, rgba(14, 22, 17, .45) 0%, transparent 30%, transparent 75%, rgba(14, 22, 17, .7) 100%);
}
[dir="rtl"] .hero::before {
  background:
    linear-gradient(270deg, rgba(14, 22, 17, .92) 0%, rgba(14, 22, 17, .78) 38%, rgba(14, 22, 17, .35) 70%, rgba(14, 22, 17, .2) 100%),
    linear-gradient(180deg, rgba(14, 22, 17, .45) 0%, transparent 30%, transparent 75%, rgba(14, 22, 17, .7) 100%);
}
.hero .eyebrow { color: #A9C7B8; }
.hero .hero__title { color: #FAF4EA; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero .hero__title em { color: #DDAE84; }
.hero .hero__text { color: #D9D3C7; }
.hero .btn--link { color: #FAF4EA; }
.hero .btn--link:hover { color: #DDAE84; }
.hero .hero__proof { border-top-color: rgba(255, 255, 255, .16); }
.hero .hero__rating { color: #FAF4EA; }
.hero .stars { color: #DDAE84; }
.hero .hero__trust li { color: #CFC8BB; }
.hero .hero__trust svg { color: #A9C7B8; }
.hero .hero__inset { border-color: #F3EADC; }
.hero .hero__arch-line { border-color: #DDAE84; opacity: .6; }
.hero .hero__arch { box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .7); }
.hero__inner {
  position: relative; display: grid; grid-template-columns: 1.08fr 1fr; align-items: center;
  gap: clamp(32px, 6vw, 110px); padding-bottom: clamp(56px, 7vw, 100px);
}
.hero__title {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(2.9rem, 6.2vw, 5.9rem); line-height: .98; letter-spacing: -.02em; margin-top: 24px;
}
.hero__title em { display: block; }
html[lang="ar"] .hero__title { line-height: 1.3; letter-spacing: 0; font-size: clamp(2.5rem, 5.4vw, 4.9rem); }
.hero__text { margin-top: 28px; max-width: 440px; color: var(--ink-soft); font-size: 1.06rem; }
.hero__actions { margin-top: 38px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; }
.hero__proof { margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line); display: grid; gap: 14px; max-width: 480px; }
.hero__rating { display: flex; align-items: center; gap: 10px; font-size: .84rem; color: var(--ink); font-weight: 500; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero__trust li { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--ink-soft); }
.hero__trust svg { width: 17px; height: 17px; color: var(--patina); }

.hero__visual { position: relative; width: min(100%, 500px); justify-self: end; padding-bottom: 40px; }
.hero__arch {
  position: relative; aspect-ratio: 4 / 5.4; border-radius: 999px 999px 26px 26px; overflow: hidden;
  box-shadow: 0 50px 90px -50px rgba(90, 58, 40, .6);
}
.hero__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform: scale(1.06); animation: kenburns 18s ease-in-out infinite alternate; }
.hero__arch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(250, 247, 242, 0) 60%, rgba(34, 31, 30, .28)); }
@keyframes kenburns { to { transform: scale(1.12) translateY(-10px); } }
.hero__arch-line {
  position: absolute; inset: -16px -16px 24px 16px; border: 1px solid var(--bronze-light); opacity: .55;
  border-radius: 999px 999px 30px 30px; pointer-events: none;
}
[dir="rtl"] .hero__arch-line { inset: -16px 16px 24px -16px; }
.hero__inset {
  position: absolute; inset-inline-start: -22%; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 8px solid var(--ivory); box-shadow: var(--shadow); animation: float 8s ease-in-out infinite;
}
.hero__inset img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero__badge {
  position: absolute; inset-inline-end: -10%; top: 18%; padding: 16px 20px; display: grid; gap: 2px; max-width: 160px;
  background: rgba(255, 253, 249, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .9); border-radius: 18px; box-shadow: var(--shadow-soft); animation: float 7s ease-in-out infinite -2s;
}
.hero__badge strong { font-family: var(--font-serif); font-weight: 500; font-size: 2.2rem; line-height: 1; color: var(--bronze); }
.hero__badge span { font-size: .72rem; line-height: 1.4; color: var(--ink-soft); }
.hero__caption {
  position: absolute; inset-inline: 42% 8%; bottom: 64px; display: flex; gap: 12px; justify-content: space-between; align-items: center;
  color: #FFF8EE; font-size: .7rem; letter-spacing: var(--track); text-transform: uppercase; pointer-events: none;
}
html[lang="ar"] .hero__caption { font-size: .85rem; }
.hero__caption span:last-child { font-family: var(--font-serif); font-size: 1.1rem; letter-spacing: 0; font-style: italic; }
@keyframes float { 50% { transform: translateY(-8px); } }

.marquee { background: #0F1812; color: #E6D6C4; border-top: 1px solid rgba(221, 174, 132, .18); overflow: hidden; padding-block: 18px; position: relative; }
.marquee__track { display: flex; width: max-content; gap: 34px; align-items: center; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font-family: var(--font-serif); font-style: italic; font-size: 1.35rem; white-space: nowrap; }
html[lang="ar"] .marquee span { font-style: normal; font-size: 1.2rem; }
.marquee i { font-style: normal; color: var(--patina); font-size: .8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 130px); }
.section-head { text-align: center; display: grid; justify-items: center; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .section-text { margin-inline: auto; }
.section-head--row { text-align: start; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* ---------- Ingredients ---------- */
.ingredients { background: linear-gradient(180deg, var(--ivory), var(--silk)); }
.ing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ing-card {
  position: relative; padding: 36px 28px 32px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s;
  overflow: hidden; isolation: isolate;
}
.ing-card::before {
  content: ""; position: absolute; inset: auto -30% -60% -30%; height: 80%; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(127, 162, 147, .22), transparent 65%);
  opacity: 0; transition: opacity .6s var(--ease);
}
.ing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.ing-card:hover::before { opacity: 1; }
.ing-card__icon {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: var(--silk); color: var(--bronze); margin-bottom: 26px;
  transition: background .6s var(--ease), color .6s var(--ease), transform .8s var(--ease);
}
.ing-card__icon svg { width: 40px; height: 40px; }
.ing-card:hover .ing-card__icon { background: var(--patina-soft); color: var(--sage-deep); transform: rotate(-8deg) scale(1.05); }
.ing-card__num { position: absolute; top: 28px; inset-inline-end: 28px; font-family: var(--font-serif); font-size: 1.1rem; color: var(--sand); transition: color .6s; }
.ing-card:hover .ing-card__num { color: var(--bronze-light); }
.ing-card h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.45rem; line-height: 1.2; }
.ing-card p { margin-top: 10px; color: var(--ink-soft); font-size: .92rem; }

/* ---------- Products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product { display: flex; flex-direction: column; }
.product__media {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--silk); display: grid; place-items: center; isolation: isolate;
}
.product__media::before {
  content: ""; position: absolute; inset: 12% 14% 0; z-index: -1;
  border-radius: 999px 999px 0 0; background: var(--tone, var(--sand));
  transition: transform .8s var(--ease);
}
.product__media svg { width: 72%; height: auto; transition: transform .8s var(--ease); filter: drop-shadow(0 18px 18px rgba(90, 58, 40, .15)); }
.product:hover .product__media svg { transform: translateY(-8px) scale(1.04); }
.product:hover .product__media::before { transform: scale(1.04); }
.product__tag {
  position: absolute; top: 16px; inset-inline-start: 16px; padding: 6px 12px; border-radius: 99px;
  background: var(--white); font-size: .66rem; letter-spacing: var(--track-sm); text-transform: uppercase; color: var(--sage-deep);
}
html[lang="ar"] .product__tag { font-size: .78rem; }
.product__wish {
  position: absolute; top: 12px; inset-inline-end: 12px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--white); display: grid; place-items: center; transition: all .35s var(--ease);
}
.product__wish svg { width: 18px; height: 18px; }
.product__wish:hover, .product__wish.on { color: var(--clay); transform: scale(1.08); }
.product__wish.on { --heart-fill: currentColor; }
.product__add {
  position: absolute; inset-inline: 14px; bottom: 14px; padding: 14px; border-radius: 99px;
  background: rgba(34, 31, 30, .92); color: var(--ivory);
  font-size: .74rem; letter-spacing: var(--track-sm); text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; transform: translateY(12px); transition: all .45s var(--ease);
}
html[lang="ar"] .product__add { font-size: .9rem; }
.product__add svg { width: 16px; height: 16px; }
.product:hover .product__add, .product__add:focus-visible { opacity: 1; transform: none; }
.product__add:hover { background: var(--bronze); }
.product__add.done { background: var(--sage-deep); opacity: 1; transform: none; }
.product__body { padding: 18px 4px 0; display: grid; gap: 4px; }
.product__meta { display: flex; align-items: center; gap: 8px; font-size: .76rem; color: var(--muted); }
.product__name { font-family: var(--font-serif); font-weight: 500; font-size: 1.35rem; line-height: 1.25; }
.product__desc { font-size: .86rem; color: var(--ink-soft); }
.product__price { margin-top: 6px; font-weight: 500; letter-spacing: .02em; }
.product__price small { color: var(--muted); font-weight: 400; margin-inline-start: 6px; }

/* ---------- Story ---------- */
.story { background: var(--silk); position: relative; overflow: hidden; }
.story__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.story__media { position: relative; }
.story__media > img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 50%; background: #F2ECE2;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow);
}
.story__stamp {
  position: absolute; inset-inline-end: -18px; bottom: 40px; width: 132px; height: 132px; border-radius: 50%;
  background: var(--ink); color: #EFE5D8; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center;
  font-size: .64rem; letter-spacing: var(--track-sm); text-transform: uppercase; line-height: 1.4; padding: 18px;
  box-shadow: var(--shadow);
}
html[lang="ar"] .story__stamp { font-size: .8rem; }
.story__stamp svg { width: 30px; height: 30px; }
.story__copy > p:not(.eyebrow) { margin-top: 20px; color: var(--ink-soft); }
.steps { margin-top: 36px; display: grid; gap: 4px; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); transition: padding .5s var(--ease); }
.steps li:hover { padding-inline-start: 8px; }
.steps span { font-family: var(--font-serif); font-size: 1.5rem; color: var(--bronze); line-height: 1.2; }
.steps h3 { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 500; line-height: 1.25; }
.steps p { font-size: .9rem; color: var(--ink-soft); }
.stats { margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stats div { padding: 18px; border-radius: var(--radius); background: var(--white); text-align: center; }
.stats dt { font-family: var(--font-serif); font-size: 2rem; line-height: 1; color: var(--bronze); }
.stats dd { margin-top: 6px; font-size: .78rem; color: var(--ink-soft); }

/* ---------- Story emblem card (vector emblem + live type, sharp at any size) ---------- */
.story__card {
  aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden; position: relative;
  display: grid; align-content: center; justify-items: center; padding: 14% 9% 10%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .3 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(120% 75% at 50% 18%, #FCF9F3 0%, #F3ECE0 58%, #E9DFCF 100%);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .6), inset 0 -40px 80px -40px rgba(120, 90, 60, .18);
}
.story__card-emblem { width: 88%; height: auto; }
.story__card-word {
  font-family: 'Cinzel', serif; font-weight: 500; font-size: clamp(2rem, 4.4vw, 3.5rem); letter-spacing: .08em; line-height: 1; margin-top: 8%;
  color: #95643F; text-shadow: 0 1px 0 rgba(255, 255, 255, .8), 0 -1px 0 rgba(90, 60, 35, .25);
}
.story__card-sub, .story__card-city {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 500; text-transform: uppercase; color: #8A6143;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
}
.story__card-sub { font-size: clamp(.78rem, 1.45vw, 1.12rem); letter-spacing: .14em; margin-top: 4%; }
.story__card-city { font-size: clamp(.66rem, 1.15vw, .9rem); letter-spacing: .18em; margin-top: 4%; }
@media (max-width: 860px) {
  .story__card-word { font-size: clamp(2rem, 9vw, 3rem); }
  .story__card-sub { font-size: clamp(.78rem, 3.4vw, 1rem); }
  .story__card-city { font-size: clamp(.66rem, 2.8vw, .85rem); }
}
/* ---------- Rituals ---------- */
.ritual-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: r; }
.ritual { text-align: center; padding: 28px 26px 36px; border-radius: var(--radius-lg); transition: background .5s var(--ease); }
.ritual:hover { background: var(--silk); }
.ritual__art {
  width: 180px; height: 210px; margin: 0 auto 22px; border-radius: 999px 999px 24px 24px;
  background: linear-gradient(180deg, var(--patina-soft), var(--silk)); display: grid; place-items: end center; padding-bottom: 14px;
}
.ritual__art svg { width: 130px; height: 170px; transition: transform .7s var(--ease); }
.ritual:hover .ritual__art svg { transform: translateY(-6px) rotate(-3deg); }
.ritual__step { font-size: .7rem; letter-spacing: var(--track); text-transform: uppercase; color: var(--sage-deep); }
html[lang="ar"] .ritual__step { font-size: .88rem; }
.ritual h3 { font-family: var(--font-serif); font-weight: 400; font-size: 2rem; margin-top: 4px; }
.ritual p:last-child { color: var(--ink-soft); font-size: .92rem; margin-top: 8px; max-width: 300px; margin-inline: auto; }

/* ---------- Reviews ---------- */
.reviews { background: linear-gradient(180deg, var(--ivory), var(--silk)); }
.reviews__summary { margin-top: 14px; display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--ink-soft); }
.carousel-nav { display: flex; gap: 10px; }
.review-track {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 8px; scrollbar-width: none; outline: none;
}
.review-track::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start;
  padding: 34px 32px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.review__quote { font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.5; flex: 1; }
html[lang="ar"] .review__quote { font-size: 1.2rem; line-height: 1.8; }
.review__quote::before { content: "“"; display: block; font-size: 3.4rem; line-height: .6; color: var(--bronze-light); margin-bottom: 10px; }
html[lang="ar"] .review__quote::before { content: "”"; }
.review__who { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.review__avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--patina-soft); color: var(--sage-deep); font-family: var(--font-serif); font-size: 1.1rem;
}
.review__name { font-weight: 500; font-size: .9rem; }
.review__verified { display: flex; align-items: center; gap: 4px; font-size: .74rem; color: var(--sage-deep); }
.review__verified svg { width: 14px; height: 14px; }
.review__product { font-size: .74rem; color: var(--muted); margin-inline-start: auto; text-align: end; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #D9CFC3; padding-top: clamp(64px, 8vw, 110px); }
.newsletter { text-align: center; max-width: 620px; margin-inline: auto; padding-bottom: clamp(56px, 7vw, 90px); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.newsletter__mark { width: 70px; height: 52px; margin: 0 auto 22px; }
.newsletter h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.9rem, 3.6vw, 2.8rem); color: var(--ivory); line-height: 1.2; }
.newsletter > p { margin-top: 12px; color: #B5AAA0; }
.newsletter__form {
  margin-top: 30px; display: flex; gap: 8px; padding: 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); transition: border-color .3s;
}
.newsletter__form:focus-within { border-color: var(--bronze-light); }
.newsletter__form input { flex: 1; min-width: 0; background: none; border: 0; padding: 0 20px; color: var(--ivory); outline: none; }
.newsletter__form input::placeholder { color: #8F857C; }
.newsletter__form .btn { padding: 14px 26px; }
.newsletter__msg { margin-top: 14px; min-height: 1.5em; font-size: .88rem; color: var(--patina); }
.newsletter__msg.err { color: #E3A48C; }

.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-block: 64px; }
.footer .logo { justify-items: start; text-align: start; }
.footer .logo__emblem { width: 70px; height: 58px; filter: none; }
.footer .logo__sub::before { display: none; }
.footer .logo__word { background: linear-gradient(180deg, #E3BE98, #B98763); -webkit-background-clip: text; background-clip: text; }
.footer .logo__sub { color: var(--patina); }
.footer__brand p { margin-top: 20px; font-size: .9rem; color: #A89D93; max-width: 300px; }
.footer h3 { font-size: .72rem; letter-spacing: var(--track); text-transform: uppercase; color: var(--ivory); font-weight: 500; margin-bottom: 18px; }
html[lang="ar"] .footer h3 { font-size: .95rem; }
.footer ul { display: grid; gap: 10px; font-size: .9rem; }
.footer ul a { color: #B5AAA0; transition: color .3s, padding .4s var(--ease); }
.footer ul a:hover { color: var(--bronze-light); padding-inline-start: 4px; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); display: grid; place-items: center; transition: all .35s var(--ease); }
.socials a svg { width: 18px; height: 18px; }
.socials a:hover { background: var(--bronze); border-color: var(--bronze); color: #fff; transform: translateY(-3px); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 26px 34px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; color: #8F857C; }
.payments { display: flex; flex-wrap: wrap; gap: 8px; }
.pay { padding: 6px 12px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .14); font-size: .68rem; font-weight: 600; letter-spacing: .06em; color: #CFC4B8; background: rgba(255, 255, 255, .03); }

/* ---------- Drawers ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(34, 31, 30, .38); backdrop-filter: blur(3px); opacity: 0; transition: opacity .45s var(--ease); }
.scrim.show { opacity: 1; }
.drawer {
  position: fixed; top: 0; bottom: 0; z-index: 70; width: min(440px, 100%);
  background: var(--ivory); display: flex; flex-direction: column;
  transition: transform .55s var(--ease), visibility .55s; visibility: hidden;
  box-shadow: 0 0 60px rgba(0, 0, 0, .15);
}
/* closed drawers stay inside the viewport (clipped, not translated off-screen) so phones never get a sideways scroll */
.drawer { transition: clip-path .6s var(--ease), opacity .45s var(--ease), visibility .6s; opacity: 0; }
.drawer--cart { inset-inline-end: 0; clip-path: inset(0 0 0 100%); }
.drawer--menu { inset-inline-start: 0; width: min(360px, 88%); clip-path: inset(0 100% 0 0); }
[dir="rtl"] .drawer--cart { clip-path: inset(0 100% 0 0); }
[dir="rtl"] .drawer--menu { clip-path: inset(0 0 0 100%); }
.drawer.open { clip-path: inset(0 0 0 0) !important; opacity: 1; visibility: visible; }

.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-family: var(--font-serif); font-weight: 500; font-size: 1.6rem; }
.drawer__head small { font-family: var(--font-sans); font-size: .85rem; color: var(--muted); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer__foot { padding: 20px 24px 26px; border-top: 1px solid var(--line); background: var(--silk); }
.drawer__row { display: flex; justify-content: space-between; font-size: 1.05rem; }
.drawer__note { font-size: .78rem; color: var(--muted); margin: 6px 0 16px; }

.ship-progress { padding: 16px 24px; background: var(--patina-soft); font-size: .84rem; color: var(--sage-deep); }
.ship-progress__bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .7); margin-top: 10px; overflow: hidden; }
.ship-progress__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--patina), var(--bronze)); border-radius: inherit; transition: width .7s var(--ease); }
[dir="rtl"] .ship-progress__bar span { margin-inline-start: 0; background: linear-gradient(270deg, var(--patina), var(--bronze)); }

.cart-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); animation: slideIn .5s var(--ease); }
@keyframes slideIn { from { opacity: 0; transform: translateY(8px); } }
.cart-item__img { width: 80px; height: 96px; border-radius: 14px; background: var(--tone, var(--silk)); display: grid; place-items: center; }
.cart-item__img svg { width: 64px; height: 80px; } .cart-item__img svg.art-set { width: 76px; }
.cart-item__name { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 500; line-height: 1.25; display: block; }
.cart-item__size { font-size: .76rem; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; margin-top: 8px; }
.qty button { width: 30px; height: 30px; display: grid; place-items: center; font-size: 1rem; color: var(--ink-soft); border-radius: 50%; }
.qty button:hover { color: var(--bronze); }
.qty span { min-width: 22px; text-align: center; font-size: .85rem; }
.cart-item__end { text-align: end; display: grid; gap: 10px; justify-items: end; }
.cart-item__price { font-weight: 500; font-size: .92rem; white-space: nowrap; }
.cart-item__remove { font-size: .72rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.cart-item__remove:hover { color: var(--clay); }
.cart-empty { text-align: center; padding: 60px 10px; display: grid; justify-items: center; gap: 12px; color: var(--ink-soft); }
.cart-empty svg { width: 90px; height: 70px; opacity: .8; }
.cart-empty h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.6rem; color: var(--ink); }

.menu-links { display: grid; padding: 18px 24px; }
.menu-links a { font-family: var(--font-serif); font-size: 1.7rem; padding: 12px 0; border-bottom: 1px solid var(--line); transition: color .3s, padding .4s var(--ease); }
.menu-links a:hover { color: var(--bronze); padding-inline-start: 8px; }
.lang-btn--menu { margin: 10px 24px; font-size: .85rem; }

.toast {
  position: fixed; bottom: 24px; left: 50%; z-index: 90; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--ivory); padding: 13px 22px; border-radius: 99px; font-size: .86rem;
  transition: all .45s var(--ease); box-shadow: var(--shadow); white-space: nowrap;
  max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   Inner pages: shop, product, story, rituals, account, contact
   ========================================================= */
.nav--start a.is-active { color: var(--bronze); }
.nav--start a.is-active::after { transform: scaleX(1); }
.nav__icon-link.is-active { color: var(--bronze); }
.menu-links a.is-active { color: var(--bronze); }

/* ---------- Page hero (jungle banner) ---------- */
.page-hero, .cta-band { position: relative; overflow: hidden; isolation: isolate; background: #16211A; color: #F6EFE4; }
.page-hero::before, .cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(14, 22, 17, .72), rgba(14, 22, 17, .86));
}
.page-hero__inner { padding-block: clamp(64px, 9vw, 120px); text-align: center; display: grid; justify-items: center; }
.page-hero--short .page-hero__inner { padding-block: clamp(48px, 6vw, 80px); }
.page-hero .eyebrow { color: #A9C7B8; margin-top: 22px; }
.page-hero__title {
  font-family: var(--font-serif); font-weight: 400; color: #FAF4EA;
  font-size: clamp(2.4rem, 5.2vw, 4.4rem); line-height: 1.05; letter-spacing: -.015em; margin-top: 14px; max-width: 900px;
}
.page-hero--short .page-hero__title { margin-top: 18px; }
html[lang="ar"] .page-hero__title { line-height: 1.35; letter-spacing: 0; }
.page-hero__title em, .cta-band h2 em { color: #DDAE84; }
.page-hero__text { margin-top: 18px; max-width: 580px; color: #D9D3C7; font-size: 1.04rem; }

.crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; font-size: .74rem; letter-spacing: var(--track-sm); text-transform: uppercase; color: #CFC8BB; }
html[lang="ar"] .crumbs { font-size: .88rem; }
.crumbs a { color: #A9C7B8; transition: color .3s; }
.crumbs a:hover { color: #DDAE84; }
.crumbs span[aria-hidden] { opacity: .5; }
.crumbs--light { justify-content: flex-start; color: var(--muted); margin-bottom: 32px; }
.crumbs--light a { color: var(--sage-deep); }
.crumbs--light a:hover { color: var(--bronze); }

.story__cta { margin-top: 30px; }
.section-cta { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- Product cards: links ---------- */
.product__img-link { display: grid; place-items: center; width: 100%; height: 100%; }
.product__img-link svg { width: 72%; }
.product__img-link svg.art-set { width: 92%; }
.product__name a { transition: color .3s; }
.product__name a:hover { color: var(--bronze); }
.product__price s { color: var(--muted); font-weight: 400; margin-inline-start: 8px; font-size: .9em; }
.product-grid--three { grid-template-columns: repeat(3, 1fr); }

/* ---------- Shop ---------- */
.shop { padding-top: clamp(40px, 5vw, 64px); }
.shop-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 10px 18px; border-radius: 99px; border: 1px solid var(--line); background: var(--white);
  font-size: .76rem; letter-spacing: var(--track-sm); text-transform: uppercase; transition: all .35s var(--ease);
}
html[lang="ar"] .chip { font-size: .92rem; }
.chip:hover { border-color: var(--bronze-light); color: var(--bronze); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.shop-bar__end { display: flex; align-items: center; gap: 18px; }
.shop-count { font-size: .84rem; color: var(--muted); }
.select select {
  appearance: none; -webkit-appearance: none; padding: 11px 40px 11px 18px; border-radius: 99px; border: 1px solid var(--line);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238C5A3E' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 16px center;
  font-size: .84rem; cursor: pointer;
}
[dir="rtl"] .select select { padding: 11px 18px 11px 40px; background-position: left 16px center; }
.shop-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 60px 0; }
.product-grid--shop { row-gap: 44px; }

.perks { padding-block: clamp(48px, 6vw, 72px); background: var(--silk); }
.perks__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.perk { display: flex; gap: 16px; align-items: flex-start; }
.perk > svg { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--white); color: var(--bronze); flex: none; }
.perk h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.25rem; line-height: 1.3; }
.perk p { font-size: .88rem; color: var(--ink-soft); }

/* ---------- Product page ---------- */
.pdp { padding-top: clamp(32px, 4vw, 56px); }
.pdp__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.pdp__media {
  position: sticky; top: calc(var(--header-h) + 24px); aspect-ratio: 1 / 1.08; border-radius: var(--radius-lg);
  background: var(--silk); display: grid; place-items: center; overflow: hidden; isolation: isolate;
}
.pdp__arch {
  width: 72%; aspect-ratio: 1 / 1.25; border-radius: 999px 999px 24px 24px; background: var(--tone, var(--sand));
  display: grid; place-items: end center; padding-bottom: 6%;
}
.pdp__art { width: 78%; filter: drop-shadow(0 24px 24px rgba(90, 58, 40, .18)); animation: float 7s ease-in-out infinite; }
.pdp__art.art-set { width: 118%; }
.pdp__media .product__tag { top: 22px; inset-inline-start: 22px; }
.pdp__badges { position: absolute; bottom: 20px; inset-inline: 20px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pdp__badges li { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; background: rgba(255, 253, 249, .88); font-size: .74rem; color: var(--ink-soft); }
.pdp__badges svg { width: 15px; height: 15px; color: var(--patina); }
.pdp__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.08; margin-top: 12px; }
html[lang="ar"] .pdp__title { line-height: 1.35; }
.pdp__meta { margin-top: 14px; }
.pdp__price { margin-top: 18px; font-size: 1.5rem; font-weight: 500; display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.pdp__price s { font-size: 1rem; color: var(--muted); font-weight: 400; }
.pdp__save { font-size: .74rem; padding: 4px 10px; border-radius: 99px; background: var(--patina-soft); color: var(--sage-deep); }
.pdp__lead { margin-top: 20px; color: var(--ink-soft); font-size: 1.02rem; }
.pdp__size { margin-top: 22px; display: flex; gap: 12px; align-items: center; font-size: .86rem; color: var(--muted); }
.pdp__size strong { padding: 7px 16px; border: 1px solid var(--ink); border-radius: 99px; color: var(--ink); font-weight: 500; }
.pdp__buy { margin-top: 28px; display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.qty--lg { margin: 0; height: 56px; padding-inline: 8px; }
.qty--lg button { width: 38px; height: 38px; font-size: 1.2rem; }
.qty--lg span { min-width: 30px; font-size: 1rem; }
.pdp__add { flex: 1; min-width: 220px; height: 56px; }
.pdp__add svg { width: 18px; height: 18px; }
.product__wish--pdp { width: 56px; height: 56px; }
.product__wish--pdp.on { --heart-fill: currentColor; color: var(--clay); }
.pdp__ship { margin-top: 18px; display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--ink-soft); }
.pdp__ship svg { width: 17px; height: 17px; color: var(--patina); flex: none; }
.accordion { margin-top: 32px; border-top: 1px solid var(--line); }
.accordion details, .faq__item { border-bottom: 1px solid var(--line); }
.accordion summary, .faq__item summary {
  list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-serif); font-size: 1.25rem; font-weight: 500;
}
.accordion summary::-webkit-details-marker, .faq__item summary::-webkit-details-marker { display: none; }
.accordion summary::after, .faq__item summary::after { content: "+"; font-family: var(--font-sans); font-size: 1.3rem; color: var(--bronze); transition: transform .4s var(--ease); }
.accordion details[open] summary::after, .faq__item[open] summary::after { transform: rotate(45deg); }
.accordion p, .faq__item p { padding-bottom: 22px; color: var(--ink-soft); font-size: .95rem; max-width: 640px; }
.related { background: var(--silk); }
.related .product__media { background: var(--ivory); }

/* ---------- Story page ---------- */
.quote-band { text-align: center; }
.big-quote { max-width: 860px; margin-inline: auto; display: grid; justify-items: center; gap: 22px; }
.big-quote svg { width: 80px; height: 60px; }
.big-quote p { font-family: var(--font-serif); font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.35; font-style: italic; }
html[lang="ar"] .big-quote p { font-style: normal; line-height: 1.7; }
.big-quote cite { font-style: normal; font-size: .78rem; letter-spacing: var(--track); text-transform: uppercase; color: var(--sage-deep); }
html[lang="ar"] .big-quote cite { font-size: .95rem; }
.ing-card__origin { margin-top: 16px !important; font-size: .72rem !important; letter-spacing: var(--track-sm); text-transform: uppercase; color: var(--sage-deep) !important; }
html[lang="ar"] .ing-card__origin { font-size: .86rem !important; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 30px; inset-inline: 12%; height: 1px; background: linear-gradient(90deg, transparent, var(--bronze-light), transparent); }
.timeline li { text-align: center; display: grid; justify-items: center; gap: 10px; position: relative; }
.timeline__n {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--ivory);
  border: 1px solid var(--bronze-light); font-family: var(--font-serif); font-size: 1.3rem; color: var(--bronze); margin-bottom: 8px;
}
.timeline h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.4rem; }
.timeline p { font-size: .9rem; color: var(--ink-soft); max-width: 240px; }
.values { background: var(--silk); }
.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 32px 26px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value svg { width: 48px; height: 48px; padding: 12px; border-radius: 50%; background: var(--patina-soft); color: var(--sage-deep); margin-bottom: 20px; }
.value h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.35rem; line-height: 1.25; }
.value p { margin-top: 8px; font-size: .9rem; color: var(--ink-soft); }
.cta-band__inner { padding-block: clamp(72px, 9vw, 120px); text-align: center; display: grid; justify-items: center; gap: 16px; }
.cta-band h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.2rem, 4.4vw, 3.6rem); color: #FAF4EA; line-height: 1.1; }
.cta-band p { color: #D9D3C7; max-width: 480px; margin-bottom: 12px; }

/* ---------- Rituals page ---------- */
.ritual-plan--night { background: var(--silk); }
.ritual-plan .section-head--row { align-items: flex-end; }
.ritual-plan .section-head--row .section-text { margin: 0; max-width: 380px; }
.ritual-steps { display: grid; gap: 16px; }
.ritual-step {
  display: grid; grid-template-columns: 90px 1fr minmax(260px, 340px); gap: 28px; align-items: center;
  padding: 28px 32px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line);
  transition: box-shadow .5s var(--ease), transform .5s var(--ease);
}
.ritual-step:hover { box-shadow: var(--shadow-soft); transform: translateY(-3px); }
.ritual-step__n { font-family: var(--font-serif); font-size: 3rem; line-height: 1; color: var(--bronze-light); }
.ritual-step h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.9rem; line-height: 1.1; }
.ritual-step p { margin-top: 8px; color: var(--ink-soft); font-size: .95rem; max-width: 460px; }
.mini-product { display: flex; align-items: center; gap: 16px; padding: 12px; border-radius: 20px; background: var(--silk); }
.mini-product__art { width: 84px; height: 96px; border-radius: 16px; background: var(--tone); display: grid; place-items: center; flex: none; }
.mini-product__art svg { width: 76%; }
.mini-product__art svg.art-set { width: 96%; }
.mini-product__name { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 500; line-height: 1.25; display: block; }
.mini-product__name:hover { color: var(--bronze); }
.mini-product__price { font-size: .85rem; margin-top: 2px; }
.mini-product__price small { color: var(--muted); }
.mini-product__add { padding: 4px 0; margin-top: 4px; font-size: .7rem; }
.tips__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tip { padding: 34px 30px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); }
.tip__n { font-family: var(--font-serif); font-style: italic; font-size: 1.6rem; color: var(--bronze); }
.tip h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.4rem; margin-top: 10px; }
.tip p { margin-top: 8px; color: var(--ink-soft); font-size: .92rem; }

/* ---------- Panels & forms (account, contact) ---------- */
.account__grid, .contact__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.panel { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.panel--soft { background: var(--silk); box-shadow: none; }
.panel__title { font-family: var(--font-serif); font-weight: 400; font-size: 1.9rem; line-height: 1.15; }
.panel__text { margin-top: 8px; color: var(--ink-soft); font-size: .92rem; }
.tabs { display: flex; gap: 6px; padding: 5px; border-radius: 99px; background: var(--silk); margin-bottom: 28px; }
.tab { flex: 1; padding: 12px; border-radius: 99px; font-size: .78rem; letter-spacing: var(--track-sm); text-transform: uppercase; color: var(--ink-soft); transition: all .35s var(--ease); }
html[lang="ar"] .tab { font-size: .95rem; }
.tab.is-active { background: var(--white); color: var(--ink); box-shadow: 0 6px 16px -10px rgba(90, 58, 40, .4); }
.form { display: grid; gap: 18px; margin-top: 8px; }
.panel--soft .form { margin-top: 22px; }
.form__two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: .74rem; letter-spacing: var(--track-sm); text-transform: uppercase; color: var(--ink-soft); }
html[lang="ar"] .field > span { font-size: .9rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--ivory);
  transition: border-color .3s, box-shadow .3s; outline: none; resize: vertical;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--bronze-light); box-shadow: 0 0 0 4px rgba(201, 154, 112, .15); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #C9826A; background: #FDF3EF; }
.form__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.check { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--ink-soft); cursor: pointer; }
.check input { accent-color: var(--bronze); width: 17px; height: 17px; }
.form__link { font-size: .86rem; color: var(--bronze); text-decoration: underline; text-underline-offset: 3px; }
.form .btn--bronze { justify-self: start; }
.form .btn--block { justify-self: stretch; }
.form__msg { min-height: 1.4em; font-size: .9rem; }
.form__msg.ok { color: var(--sage-deep); }
.form__msg.err { color: var(--clay); }
.account__side { display: grid; gap: 24px; }
.account__perks { display: grid; gap: 12px; padding: 0 8px; }
.account__perks li { display: flex; gap: 10px; align-items: center; font-size: .92rem; color: var(--ink-soft); }
.account__perks svg { width: 18px; height: 18px; color: var(--patina); flex: none; }

.info-card { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--ink); color: #E6DCCF; position: relative; overflow: hidden; }
.info-card__mark { width: 90px; height: 75px; margin-bottom: 18px; }
.info-card .panel__title { color: var(--ivory); }
.info-list { margin-top: 22px; display: grid; gap: 16px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.info-list svg { width: 19px; height: 19px; color: var(--patina); flex: none; margin-top: 3px; }
.socials--dark { margin-top: 28px; }
.faq { background: var(--silk); }
.faq__inner { max-width: 860px; }
.faq__item summary { font-size: 1.3rem; }

/* ---------- Responsive (inner pages) ---------- */
@media (max-width: 1100px) {
  .product-grid--three { grid-template-columns: repeat(2, 1fr); }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .ritual-step { grid-template-columns: 70px 1fr; }
  .ritual-step .mini-product { grid-column: 2; }
}
@media (max-width: 860px) {
  .pdp__grid, .account__grid, .contact__grid { grid-template-columns: 1fr; }
  .pdp__media { position: relative; top: 0; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .timeline::before { display: none; }
  .perks__grid, .tips__grid { grid-template-columns: 1fr; }
  .shop-bar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .shop-bar > * { min-width: 0; max-width: 100%; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; max-width: calc(100% + 32px); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; }
  .shop-bar__end { justify-content: space-between; }
}
@media (max-width: 640px) {
  .product-grid.product-grid--shop { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; margin: 0; padding: 0; gap: 26px 12px; }
  .product-grid--shop .product__add { padding: 9px; font-size: .64rem; inset-inline: 8px; bottom: 8px; }
  .pdp__add { flex: 1 1 100%; order: 3; }
  .pdp__buy .qty--lg { flex: 1; justify-content: space-between; }
  .product-grid--shop .product { flex: none; }
  .product-grid--shop .product__name { font-size: 1.1rem; }
  .product-grid--shop .product__desc { display: none; }
  .product-grid--three { display: flex; }
  .values__grid { grid-template-columns: 1fr; }
  .ritual-step { grid-template-columns: 1fr; gap: 14px; padding: 24px 20px; }
  .ritual-step .mini-product { grid-column: auto; }
  .ritual-step__n { font-size: 2.2rem; }
  .form__two { grid-template-columns: 1fr; }
  .pdp__buy .qty--lg { flex: none; }
  .pdp__add { min-width: 0; }
  .timeline { grid-template-columns: 1fr; }
}

/* ---------- Continuous botanical vines (built in js/main.js) ---------- */
body { position: relative; }
.section { position: relative; }
.section > .container, .footer > .container { position: relative; z-index: 2; }
.vines {
  position: absolute; left: 0; right: 0; z-index: 1; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 90px, #000 calc(100% - 160px), transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 90px, #000 calc(100% - 160px), transparent 100%);
}
.vine { position: absolute; top: 0; bottom: 0; left: 0; }
.vine--r { left: auto; right: 0; transform: scaleX(-1); }
.vine svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.vine .stem { fill: none; stroke-width: 3.2; stroke-linecap: round; opacity: .85; }
.vine .stem-hi { fill: none; stroke: #EFE6D2; stroke-width: .9; stroke-linecap: round; opacity: .55; transform: translateX(-.8px); }
.vine .leaflet { opacity: 0; transition: opacity .9s var(--ease); }
.vine .leaflet.on { opacity: .85; }
.vine .tendril { fill: none; stroke: #97906E; stroke-width: 1.3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) .35s; }
.vine .tendril.on { stroke-dashoffset: 0; }
.vine__leaf {
  position: absolute; height: auto; max-width: none; opacity: 0; scale: .35;
  transform: rotate(var(--r, 0deg));
  filter: saturate(.85) sepia(.06) drop-shadow(0 8px 10px rgba(60, 50, 30, .12));
  transition: opacity 1.2s var(--ease), scale 1.5s var(--ease);
}
.vine__leaf.on { opacity: var(--o, .85); scale: 1; animation: leafsway var(--dur, 7s) ease-in-out var(--delay, 0s) infinite alternate; }
@keyframes leafsway { from { rotate: -3deg; } to { rotate: 3deg; } }
@media (max-width: 860px) { .vine__leaf.on { opacity: .45; } }
@media (prefers-reduced-motion: reduce) {
  .vine__leaf { opacity: var(--o, .85); scale: 1; }
  .vine .tendril { stroke-dashoffset: 0; }
  .vine .leaflet { opacity: .85; }
}
/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1240px) { .nav--start a:nth-child(3) { display: none; } }
@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .nav--start a:nth-child(n+3) { display: none; }
  .ing-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .review { flex-basis: calc((100% - 22px) / 2); }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .nav { display: none; }
  .header__inner { grid-template-columns: 42px 1fr 42px; gap: 8px; }
  .header__burger, .header__cart-mobile { display: grid; }
  .logo__emblem, .header.scrolled .logo__emblem { width: 40px; height: 33px; margin-bottom: 2px; }
  .logo__word, .header.scrolled .logo__word { font-size: 1.2rem; }
  .header .logo__sub { display: none; }
  .header.scrolled .header__inner { height: var(--header-h); }

  .hero__inner { grid-template-columns: 1fr; }
  .hero::before, [dir="rtl"] .hero::before { background: linear-gradient(180deg, rgba(14, 22, 17, .88) 0%, rgba(14, 22, 17, .72) 50%, rgba(14, 22, 17, .5) 75%, rgba(14, 22, 17, .8) 100%); }
  .hero__copy { text-align: center; display: grid; justify-items: center; }
  .hero__text { margin-inline: auto; }
  .hero__actions, .hero__trust, .hero__rating { justify-content: center; }
  .hero__proof { justify-items: center; }
  .hero__visual { justify-self: center; width: min(78%, 420px); }

  .story__inner { grid-template-columns: 1fr; }
  .story__media { max-width: 460px; margin-inline: auto; width: 100%; }
  .story__stamp { inset-inline-end: 0; width: 112px; height: 112px; }
  .ritual-grid { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .ing-grid { grid-template-columns: 1fr; }
  .product-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
    margin-inline: -16px; padding-inline: 16px; scrollbar-width: none;
  }
  .product-grid::-webkit-scrollbar { display: none; }
  .product { flex: 0 0 72%; scroll-snap-align: start; }
  .product__add { opacity: 1; transform: none; padding: 11px; }
  .review { flex-basis: 88%; padding: 28px 24px; }
  .section-head--row { align-items: flex-start; }
  .stats { gap: 10px; }
  .stats div { padding: 14px 8px; }
  .stats dt { font-size: 1.6rem; }
  .hero__visual { width: 74%; }
  .hero__inset { inset-inline-start: -14%; width: 44%; border-width: 5px; }
  .hero__badge { inset-inline-end: -12%; padding: 11px 13px; }
  .hero__badge strong { font-size: 1.6rem; }
  .hero__badge span { font-size: .64rem; }
  .hero__caption { bottom: 58px; justify-content: flex-end; }
  .hero__caption span:first-child { display: none; }
  .marquee span { font-size: 1.1rem; }
  .newsletter__form { flex-direction: column; border-radius: 22px; padding: 8px; }
  .newsletter__form input { padding: 14px 16px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; padding-block: 48px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .announce { font-size: .64rem; }
}

/* =========================================================
   Header v2 — transparent over dark heroes, solid on scroll,
   rotating announcement, mega menu and instant search
   ========================================================= */
.announce { position: relative; z-index: 41; padding: 0; height: 38px; overflow: hidden; background: #111A14; border-bottom: 1px solid rgba(221, 174, 132, .14); }
.announce__track { position: relative; height: 100%; width: 100%; }
.mega a { white-space: normal; }
.mega a::after { display: none !important; }
.announce__msg {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; padding-inline: 16px;
  opacity: 0; transform: translateY(100%); transition: opacity .7s var(--ease), transform .7s var(--ease); white-space: nowrap;
}
.announce__msg.is-on { opacity: 1; transform: none; }
.announce__msg.is-out { opacity: 0; transform: translateY(-100%); }
.announce__msg svg { width: 14px; height: 14px; color: var(--patina); flex: none; }
.announce__msg span { overflow: hidden; text-overflow: ellipsis; }

.header { border-bottom: 1px solid transparent; transition: background .5s var(--ease), border-color .5s, box-shadow .5s, color .4s; }
.header::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 1px; opacity: 0; transition: opacity .5s;
  background: linear-gradient(90deg, transparent, rgba(201, 154, 112, .7), transparent);
}
.header.scrolled::after, .header.is-solid::after { opacity: 1; }
.header.scrolled { box-shadow: 0 18px 40px -30px rgba(40, 30, 20, .45); border-color: transparent; }
.header__inner { height: var(--header-h); }
.header.scrolled .header__inner { height: 84px; }

.nav--start { gap: clamp(18px, 2.2vw, 34px); }
.nav__item { position: static; display: flex; align-items: center; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 6px; padding-block: 10px; white-space: nowrap; transition: color .3s; }
.nav--start .nav__link::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: center; transition: transform .45s var(--ease);
}
.nav--start .nav__link:hover::after, .nav--start .nav__link.is-active::after, .nav__item--mega:hover .nav__link::after { transform: scaleX(1); }
.nav__caret { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.nav__item--mega:hover .nav__caret, .nav__item--mega:focus-within .nav__caret { transform: rotate(180deg); }

.nav--end { gap: 6px; }
.nav__sep { width: 1px; height: 22px; background: currentColor; opacity: .2; margin-inline: 8px; }
.hicon { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; transition: background .3s, color .3s; }
.hicon svg { width: 21px; height: 21px; }
.hicon:hover { background: rgba(140, 90, 62, .1); color: var(--bronze); }
.hicon.is-active { color: var(--bronze); }
.hicon__badge {
  position: absolute; top: 3px; inset-inline-end: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px;
  background: linear-gradient(135deg, var(--bronze-light), var(--bronze-deep)); color: #fff;
  font-size: .62rem; font-weight: 600; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--ivory); transition: box-shadow .4s;
}
.cart-btn { padding: 0; }
.lang-btn { padding: 8px 10px; border-radius: 99px; transition: background .3s, color .3s; }
.lang-btn:hover { background: rgba(140, 90, 62, .1); }
.header__mobile-end { display: none; }

/* --- transparent state over a dark hero --- */
body.has-dark-hero .header { margin-bottom: calc(-1 * var(--header-h)); }
body.has-dark-hero .header.scrolled { margin-bottom: -84px; }
body.has-dark-hero .hero { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 88px)); }
body.has-dark-hero .page-hero { padding-top: var(--header-h); }
body.has-dark-hero .header:not(.scrolled):not(.is-solid) {
  background: linear-gradient(180deg, rgba(10, 16, 12, .55), rgba(10, 16, 12, 0));
  backdrop-filter: none; -webkit-backdrop-filter: none; color: #F3EBDD;
}
body.has-dark-hero .header:not(.scrolled):not(.is-solid) .nav a:hover,
body.has-dark-hero .header:not(.scrolled):not(.is-solid) .nav__link.is-active,
body.has-dark-hero .header:not(.scrolled):not(.is-solid) .hicon:hover,
body.has-dark-hero .header:not(.scrolled):not(.is-solid) .lang-btn:hover { color: #E6C39E; }
body.has-dark-hero .header:not(.scrolled):not(.is-solid) .hicon:hover,
body.has-dark-hero .header:not(.scrolled):not(.is-solid) .lang-btn:hover { background: rgba(255, 255, 255, .1); }
body.has-dark-hero .header:not(.scrolled):not(.is-solid) .logo__word { background-image: linear-gradient(100deg, #D9AE86 0%, #F3D9B8 40%, #FFF1DE 50%, #E2BB93 62%, #C99A70 100%); }
body.has-dark-hero .header:not(.scrolled):not(.is-solid) .logo__sub { color: #B9D2C6; }
body.has-dark-hero .header:not(.scrolled):not(.is-solid) .logo__emblem { filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .35)) brightness(1.18); }
body.has-dark-hero .header:not(.scrolled):not(.is-solid) .hicon__badge { box-shadow: 0 0 0 2px rgba(20, 30, 24, .9); }
body.has-dark-hero .header:not(.scrolled):not(.is-solid) .dot { box-shadow: 0 0 0 2px rgba(20, 30, 24, .9); }
.header.is-solid { background: rgba(250, 247, 242, .97); color: var(--ink); }

/* --- mega menu --- */
.mega {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--ivory); color: var(--ink);
  border-top: 1px solid var(--line); box-shadow: 0 40px 60px -40px rgba(40, 30, 20, .45);
  opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.nav__item--mega:hover .mega, .nav__item--mega:focus-within .mega, .nav__item--mega.is-open .mega { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.mega__inner { display: grid; grid-template-columns: 1fr 1.8fr 1fr; gap: 40px; padding-block: 36px 40px; text-transform: none; letter-spacing: 0; font-size: 1rem; }
.mega__title { font-size: .7rem; letter-spacing: var(--track); text-transform: uppercase; color: var(--sage-deep); margin-bottom: 18px; }
html[lang="ar"] .mega__title { font-size: .88rem; }
.mega__cats { display: grid; }
.mega__cats a { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--font-serif); font-size: 1.35rem; transition: color .3s, padding .4s var(--ease); }
.mega__cats a svg { width: 16px; height: 16px; opacity: 0; transform: translateX(-6px); transition: all .4s var(--ease); }
[dir="rtl"] .mega__cats a svg { transform: scaleX(-1) translateX(-6px); }
.mega__cats a:hover { color: var(--bronze); padding-inline-start: 6px; }
.mega__cats a:hover svg { opacity: 1; transform: none; }
[dir="rtl"] .mega__cats a:hover svg { transform: scaleX(-1); }
.mega__all { margin-top: 18px; font-size: .72rem; }
.mega__products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mega-card { display: grid; gap: 10px; }
.mega-card__art { aspect-ratio: 1 / 1.1; border-radius: 20px; background: var(--tone); display: grid; place-items: center; overflow: hidden; }
.mega-card__art svg { width: 66%; transition: transform .6s var(--ease); }
.mega-card:hover .mega-card__art svg { transform: translateY(-5px) scale(1.04); }
.mega-card__name { font-family: var(--font-serif); font-size: 1.1rem; line-height: 1.25; transition: color .3s; }
.mega-card:hover .mega-card__name { color: var(--bronze); }
.mega-card__price { font-size: .82rem; color: var(--muted); }
.mega__feature { position: relative; border-radius: 22px; overflow: hidden; min-height: 280px; display: block; isolation: isolate; }
.mega__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transition: transform 1.2s var(--ease); z-index: -1; }
.mega__feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 26, 20, .05) 20%, rgba(18, 26, 20, .9)); }
.mega__feature:hover img { transform: scale(1.06); }
.mega__feature-copy { position: absolute; inset-inline: 22px; bottom: 22px; display: grid; gap: 4px; color: #FAF4EA; }
.mega__feature-copy small { font-size: .66rem; letter-spacing: var(--track); text-transform: uppercase; color: #B9D2C6; }
html[lang="ar"] .mega__feature-copy small { font-size: .82rem; }
.mega__feature-copy strong { font-family: var(--font-serif); font-weight: 400; font-size: 1.6rem; line-height: 1.15; }
.mega__feature-copy em { font-style: normal; font-size: .72rem; letter-spacing: var(--track-sm); text-transform: uppercase; color: #E6C39E; margin-top: 6px; }

/* --- search overlay --- */
.search { position: fixed; inset: 0; z-index: 80; background: rgba(20, 26, 22, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s var(--ease); }
.search.show { opacity: 1; }
.search__inner {
  background: var(--ivory); border-radius: 0 0 28px 28px; padding-block: 28px 32px; box-shadow: var(--shadow);
  width: 100%; max-width: none; padding-inline: max(16px, calc((100% - 1000px) / 2));
  transform: translateY(-24px); transition: transform .5s var(--ease);
}
.search.show .search__inner { transform: none; }
.search__bar { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--ink); padding-bottom: 12px; }
.search__bar > svg { width: 24px; height: 24px; color: var(--bronze); flex: none; }
.search__bar input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-family: var(--font-serif); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--ink); }
.search__bar input::-webkit-search-cancel-button { display: none; }
.search__hint { margin-top: 14px; font-size: .84rem; color: var(--muted); }
.search__results { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; max-height: 60vh; overflow-y: auto; }
.search-hit { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 18px; transition: background .3s; }
.search-hit:hover, .search-hit:focus-visible { background: var(--silk); }
.search-hit__art { width: 60px; height: 68px; border-radius: 14px; background: var(--tone); display: grid; place-items: center; flex: none; }
.search-hit__art svg { width: 74%; }
.search-hit__art svg.art-set { width: 96%; }
.search-hit__name { font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.2; }
.search-hit__name mark { background: none; color: var(--bronze); }
.search-hit__meta { font-size: .8rem; color: var(--muted); }
.search__empty { color: var(--muted); padding: 10px 0; }

@media (max-width: 1240px) { .nav--start .nav__link[data-nav="story"] { display: none; } }
@media (max-width: 1100px) { .nav--start .nav__link[data-nav="rituals"] { display: none; } .mega__inner { grid-template-columns: 1fr 1.6fr; } .mega__feature { display: none; } }
@media (max-width: 860px) {
  .header__inner { grid-template-columns: 90px 1fr 90px; }
  .header__mobile-end { display: flex; justify-content: flex-end; gap: 2px; }
  .header.scrolled .header__inner { height: var(--header-h); }
  body.has-dark-hero .header.scrolled { margin-bottom: calc(-1 * var(--header-h)); }
  .announce { height: 34px; font-size: .62rem; }
  html[lang="ar"] .announce { font-size: .78rem; }
}
