/* NEKSHE by Neha — lavender, plum, rose gold, pearl */

/* Tajawal (Arabic) is served from here, not Google Fonts, so its line height can be pinned.
   The font carries two sets of line-height numbers: phones, Macs and Linux use one, Windows the
   other (far more room above the letters), so on Windows every Arabic label sat about 0.18em low
   in its pill or button. The overrides are the first set, now used everywhere. */
@font-face {
  font-family: "Tajawal"; font-weight: 300; font-display: swap;
  src: url("../assets/fonts/tajawal-300-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC, U+102E0-102FB, U+10E60-10EFF, U+1EE00-1EEFF;
  ascent-override: 64.5%; descent-override: 35.5%; line-gap-override: 20%;
}
@font-face {
  font-family: "Tajawal"; font-weight: 300; font-display: swap;
  src: url("../assets/fonts/tajawal-300-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  ascent-override: 64.5%; descent-override: 35.5%; line-gap-override: 20%;
}
@font-face {
  font-family: "Tajawal"; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/tajawal-400-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC, U+102E0-102FB, U+10E60-10EFF, U+1EE00-1EEFF;
  ascent-override: 64.3%; descent-override: 35.7%; line-gap-override: 20%;
}
@font-face {
  font-family: "Tajawal"; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/tajawal-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  ascent-override: 64.3%; descent-override: 35.7%; line-gap-override: 20%;
}
@font-face {
  font-family: "Tajawal"; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/tajawal-500-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC, U+102E0-102FB, U+10E60-10EFF, U+1EE00-1EEFF;
  ascent-override: 64.3%; descent-override: 35.7%; line-gap-override: 20%;
}
@font-face {
  font-family: "Tajawal"; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/tajawal-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  ascent-override: 64.3%; descent-override: 35.7%; line-gap-override: 20%;
}

:root {
  --plum-900: #2f1a35;
  --plum: #4a2c4f;
  --plum-600: #6b4a72;
  --mauve: #8f7499;
  --lav-50: #fbf8fc;
  --lav-100: #f5eff7;
  --lav-200: #ebe0ef;
  --lav-300: #d9c8e1;
  --lav-400: #bba3c7;
  --gold: #b8895a;
  --gold-light: #d9b48a;
  --gold-grad: linear-gradient(135deg, #e2c29e, #b8895a 50%, #d9b48a);
  --pearl: #fffdf9;

  --serif-display: "Bodoni Moda", "Didot", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --radius: 2px;
  --shadow: 0 18px 40px -24px rgba(74, 44, 79, 0.45);
  --header-h: 100px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--plum);
  background: var(--lav-50);
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

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

h1, h2, h3 {
  font-family: var(--serif-display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
}

h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Side margin for every section: room to breathe on a laptop, still usable on a phone. */
.container { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.center { text-align: center; margin-top: 2.5rem; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--mauve);
  margin: 0 0 0.75rem;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.85rem 1.8rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--plum);
  background: var(--plum);
  color: var(--pearl);
  border-radius: var(--radius);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:hover { background: var(--plum-900); border-color: var(--plum-900); }
.btn svg { width: 16px; height: 16px; }
.btn-lg { padding: 1.05rem 2.3rem; }

.btn-buy { background: var(--plum); }
.btn-buy:hover { background: var(--gold); border-color: var(--gold); }

.btn-ghost { background: transparent; color: var(--plum); }
.btn-ghost:hover { background: var(--plum); color: var(--pearl); }

.btn-light { background: var(--pearl); color: var(--plum); border-color: var(--pearl); }
.btn-light:hover { background: transparent; color: var(--pearl); }

/* ---------- announcement ---------- */

.announce {
  background: var(--plum);
  color: var(--lav-100);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0.55rem 16px;
}
.announce p { margin: 0; }
.announce a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 252, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lav-200);
  transition: box-shadow 0.3s var(--ease);
}
#site-header { display: contents; }
.header.scrolled { box-shadow: 0 8px 24px -18px rgba(74, 44, 79, 0.5); }

.header-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.9rem 0 0.4rem;
}

.brand { grid-column: 2; display: flex; align-items: center; gap: 12px; }
.brand-text { display: flex; flex-direction: column; align-items: center; }
.brand-name {
  font-family: var(--serif-display);
  font-size: 1.65rem;
  letter-spacing: 0.32em;
  margin-right: -0.32em;
  color: var(--plum);
  line-height: 1;
}
.brand-sub {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--mauve);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* align-items: the language pill is shorter than the 40px icon buttons; without it the pill sat at the top, 4px high. */
.header-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 4px; }
.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--plum);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.icon-btn:hover { background: var(--lav-200); }
.icon-btn.wa:hover { color: #1f9d55; }
.icon-btn svg { width: 20px; height: 20px; }
.menu-toggle { display: none; grid-column: 1; }

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.6rem);
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.8rem 0 0.9rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  position: relative;
}
.nav-link svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.55rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-drawer-head,
.nav-drawer-foot,
.nav-scrim { display: none; }

/* mega menu */
.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--lav-50);
  border-top: 1px solid var(--lav-200);
  border-bottom: 1px solid var(--lav-200);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s var(--ease);
}
.has-mega:hover .mega,
.has-mega.open .mega,
.has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.has-mega:hover .mega-toggle svg,
.has-mega.open .mega-toggle svg { transform: rotate(180deg); }

.mega-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.2fr;
  gap: 2rem;
  padding: 2.2rem 0 2.4rem;
}
.mega-title {
  font-family: var(--serif-display);
  font-size: 1.25rem;
  display: block;
  margin-bottom: 0.9rem;
}
.mega-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.mega-col a { font-size: 0.92rem; color: var(--plum-600); transition: color 0.3s var(--ease); }
.mega-col a:hover { color: var(--gold); }
.mega-all { font-size: 0.7rem !important; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; }
.mega-feature { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.mega-feature img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.mega-feature:hover img { transform: scale(1.04); }
.mega-feature-text {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(transparent, rgba(47, 26, 53, 0.75));
  color: var(--pearl);
  font-family: var(--serif-display);
  font-size: 1.05rem;
}

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(80vh, 720px);
  background: var(--lav-100);
}
.hero-text {
  align-self: center;
  max-width: 620px;
  padding: 4rem clamp(1.5rem, 6vw, 6rem);
}
.hero-title {
  font-size: clamp(2.3rem, 3.6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 1.2rem;
}
.hero-tagline { font-size: 1.1rem; color: var(--plum-600); max-width: 40ch; margin: 0 0 2rem; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 72%; }

/* ---------- sections ---------- */

.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-tinted { background: var(--lav-100); }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.8rem;
}
.view-all {
  display: inline-block;
  padding: 0.5rem 0 2px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  white-space: nowrap;
}
.view-all:hover { color: var(--gold); }

/* category tiles: photo with the label on top */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--lav-200); }
.cat-media { position: absolute; inset: 0; }
.cat-media img,
.cat-media .art { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.cat-tile:hover img,
.cat-tile:hover .art { transform: scale(1.04); }
.cat-tile::after {
  content: "";
  position: absolute;
  inset: 45% 0 0 0;
  background: linear-gradient(transparent, rgba(47, 26, 53, 0.7));
}
.cat-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.4rem; color: var(--pearl); }
.cat-text h3 { font-size: 1.8rem; }
.cat-text p { margin: 0.2rem 0 0; font-size: 0.95rem; color: rgba(255, 255, 255, 0.85); }

/* product grid + card */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 20px; }

.card { display: flex; flex-direction: column; }
.card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--lav-200);
}
.card-media img,
.card-media .art { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.card:hover .card-media img,
.card:hover .card-media .art { transform: scale(1.04); }

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 0.25rem 0.55rem;
  background: var(--pearl);
  color: var(--plum);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-body { display: flex; flex-direction: column; flex: 1; padding: 0.9rem 0 0; }
.card-cat { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mauve); margin: 0 0 0.25rem; }
.card-title { font-family: var(--sans); font-weight: 400; font-size: 0.98rem; line-height: 1.35; }
.card-title a { display: block; padding: 0.15rem 0; }
.card-title a:hover { color: var(--gold); }
.card-price { font-weight: 500; margin: 0.3rem 0 0.9rem; }
.card .btn-buy { margin-top: auto; width: 100%; padding: 0.75rem 1rem; }

/* perfume feature */
.feature {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(3.5rem, 7vw, 5.5rem) max(var(--gutter), calc((100% - 1240px) / 2));
  background: var(--plum-900);
  color: var(--lav-100);
}
.feature .eyebrow { color: var(--gold-light); }
.feature h2 { color: var(--pearl); margin-bottom: 1rem; }
.feature p { max-width: 42ch; margin: 0 0 1.8rem; color: var(--lav-200); }
.feature-minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mini { display: block; text-align: center; }
.mini-media { aspect-ratio: 4 / 5; overflow: hidden; }
.mini-media img,
.mini-media .art { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.mini:hover img,
.mini:hover .art { transform: scale(1.05); }
.mini span { display: block; margin-top: 0.7rem; font-size: 0.95rem; color: var(--pearl); }
.feature:has(.feature-minis:empty) { grid-template-columns: 1fr; text-align: center; }
.feature:has(.feature-minis:empty) .feature-minis { display: none; }
.feature:has(.feature-minis:empty) p { margin-inline: auto; }

/* story */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}
.story-media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.story-text p { font-size: 1.05rem; color: var(--plum-600); max-width: 48ch; }
.story-text h2 { margin-bottom: 1rem; }
.story-sign { font-family: var(--serif-display); font-size: 1.25rem !important; color: var(--plum) !important; }

/* promises */
.promises { border-top: 1px solid var(--lav-200); border-bottom: 1px solid var(--lav-200); background: var(--pearl); }
/* Any number of promises: rows of up to four, the last row centred. A short gold
   line marks each one, so no divider can end up out of line. */
.promise-row { display: flex; flex-wrap: wrap; justify-content: center; padding: 1.2rem 0; }
.promise { flex: 0 1 25%; padding: 1.4rem 1.4rem; text-align: center; }
.promise::before { content: ""; display: block; width: 28px; height: 1px; margin: 0 auto 1rem; background: var(--gold); }
.promise h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.promise h3::first-letter { text-transform: uppercase; }
.promise p { margin: 0; font-size: 0.9rem; color: var(--plum-600); }

/* ---------- shop page ---------- */

.page-banner {
  padding: clamp(2.2rem, 5vw, 3.5rem) max(var(--gutter), calc((100% - 1240px) / 2)) 0.6rem;
}
.page-banner h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-blurb { font-size: 1rem; color: var(--plum-600); margin: 0.4rem 0 0; }

.shop { padding: 2rem 0 5rem; }
.tabs {
  display: flex;
  justify-content: flex-start;
  gap: 0.4rem;
  border-bottom: 1px solid var(--lav-200);
  margin-bottom: 1.4rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab {
  padding: 0.9rem 1.2rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mauve);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}
.tab:hover { color: var(--plum); }
.tab.is-active { color: var(--plum); border-color: var(--gold); }

.shop-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 0.45rem 1rem;
  border: 1px solid var(--lav-300);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--plum-600);
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.chip:hover { border-color: var(--plum-600); }
.chip.is-active { background: var(--plum); border-color: var(--plum); color: var(--pearl); }
.shop-meta { display: flex; align-items: center; gap: 1.2rem; margin-left: auto; font-size: 0.85rem; color: var(--mauve); }
.sort { display: flex; align-items: center; gap: 8px; }
.sort span { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; }
.sort select {
  font: inherit;
  color: var(--plum);
  background: var(--pearl);
  border: 1px solid var(--lav-300);
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius);
}
.empty { grid-column: 1 / -1; text-align: center; font-size: 1.05rem; color: var(--plum-600); padding: 3rem 0; }

/* ---------- product page ---------- */

.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 1.4rem 0; font-size: 0.8rem; color: var(--mauve); }
.crumbs a:hover { color: var(--plum); }

.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; padding-bottom: 2rem; }
.pdp-gallery { position: sticky; top: calc(var(--header-h) + 1rem); }
.pdp-media { position: relative; aspect-ratio: 1; background: var(--lav-200); overflow: hidden; }
.pdp-slides { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.pdp-slides::-webkit-scrollbar { display: none; }
.pdp-slides img { flex: 0 0 100%; scroll-snap-align: start; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.pdp-thumb {
  flex: 0 0 72px;
  height: 72px;
  padding: 0;
  border: 1px solid transparent;
  background: var(--lav-200);
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s var(--ease), border-color 0.3s var(--ease);
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-thumb:hover { opacity: 0.9; }
.pdp-thumb.is-active { opacity: 1; border-color: var(--gold); }
/* Second photo fades in when you point at a card. */
.card-media .card-alt { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s var(--ease), transform 0.7s var(--ease); }
.card:hover .card-media .card-alt { opacity: 1; }
.pdp-media img,
.pdp-media .art { width: 100%; height: 100%; object-fit: cover; }
.pdp-title { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.pdp-tagline { font-size: 1.05rem; color: var(--plum-600); margin: 0.5rem 0 1rem; }
.pdp-price { font-size: 1.4rem; font-weight: 400; letter-spacing: 0.05em; margin: 0 0 1.2rem; }
.pdp-desc { color: var(--plum-600); font-size: 1.02rem; }

.pdp-actions { display: flex; gap: 12px; margin: 1.6rem 0 0.8rem; }
.pdp-actions .btn-buy { flex: 1; }
.qty { display: flex; align-items: center; border: 1px solid var(--lav-300); background: var(--pearl); }
.qty button { width: 42px; height: 100%; font-size: 1.2rem; }
.qty button:hover { background: var(--lav-100); }
.qty output { min-width: 28px; text-align: center; font-weight: 500; }
.pdp-note { font-size: 0.85rem; color: var(--mauve); margin: 0 0 1.6rem; }

.pdp-details { border-top: 1px solid var(--lav-200); border-bottom: 1px solid var(--lav-200); padding: 1rem 0; }
.pdp-details summary { cursor: pointer; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; }
/* The Details box slides open and shut (main.js smoothDetails); its arrow turns with it. */
.pdp-details summary { list-style: none; position: relative; padding-right: 1.5rem; }
.pdp-details summary::-webkit-details-marker { display: none; }
.pdp-details summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-75%) rotate(45deg);
  transition: transform 0.4s var(--ease);
}
.pdp-details[open]:not(.is-closing) summary::after { transform: translateY(-25%) rotate(-135deg); }
.pdp-details ul { transition: opacity 0.4s var(--ease); }
.pdp-details.is-closing ul { opacity: 0; }
.pdp-details ul { margin: 0.9rem 0 0; padding-left: 1.1rem; color: var(--plum-600); }
.pdp-details li::marker { color: var(--gold); }
.pdp-credit { font-size: 0.72rem; color: var(--mauve); margin: 0.8rem 0 0; }

.not-found { text-align: center; padding: 6rem 0; }
.not-found h1 { margin-bottom: 1.5rem; }
.not-found .page-blurb { margin: -0.6rem auto 1.8rem; max-width: 46ch; }

/* ---------- footer ---------- */

.footer { background: var(--plum-900); color: var(--lav-200); padding-top: 4rem; }
.footer .container { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; padding-bottom: 3rem; }
.footer-brand { justify-self: start; }
/* The same lockup as the header: "by Neha" centred under the wordmark. The negative
   right margins cancel the letter-spacing after the last letter, which would
   otherwise push each line off-centre. */
.footer-lockup { display: inline-flex; flex-direction: column; align-items: center; }
.footer .brand-name { color: var(--pearl); margin: 0 -0.32em 0 0; }
.footer .brand-sub { margin: 8px -0.4em 0 0; }
.footer-tag { font-size: 0.95rem; margin: 1.5rem 0 0; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer h4 { font-family: var(--sans); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-light); margin: 0 0 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer a { color: var(--lav-200); transition: color 0.3s var(--ease); }
.footer a:hover { color: var(--pearl); }
.footer-legal { text-align: center; font-size: 0.75rem; letter-spacing: 0.08em; color: var(--lav-400); border-top: 1px solid rgba(217, 200, 225, 0.15); padding: 1.2rem 16px; margin: 0; }

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .mega-inner { grid-template-columns: repeat(3, 1fr); }
  .mega-feature { display: none; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }

  /* backdrop-filter would make the header the containing block for the fixed drawer */
  .header { backdrop-filter: none; background: var(--lav-50); }
  /* Equal side columns keep the logo in the middle of the screen, not of the space left over. */
  .header-top { grid-template-columns: 1fr auto 1fr; column-gap: 8px; padding: 0.5rem 0; }
  .menu-toggle { display: grid; margin-left: -8px; justify-self: start; }
  .brand { justify-self: center; }
  .brand-name { font-size: 1.3rem; }
  .brand-sub { font-size: 0.55rem; margin-top: 4px; }
  .header-actions a[aria-label="Instagram"] { display: none; }

  /* slide-out drawer */
  .nav {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(360px, 88vw);
    display: flex;
    flex-direction: column;
    background: var(--lav-50);
    z-index: 60;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.35s var(--ease), visibility 0.35s var(--ease);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 20px calc(20px + env(safe-area-inset-bottom));
  }
  .menu-open .nav { transform: none; visibility: visible; box-shadow: 12px 0 40px -20px rgba(47, 26, 53, 0.5); }
  .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(47, 26, 53, 0.45);
    z-index: 55;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
  }
  .menu-open .nav-scrim { opacity: 1; pointer-events: auto; }
  .nav-drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 64px;
    border-bottom: 1px solid var(--lav-200);
  }
  .nav-drawer-head .brand-name { font-size: 1.2rem; }

  .nav-list { flex-direction: column; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--lav-200); }
  .nav-cat { display: none; }            /* categories are listed under Shop instead */
  .nav-link { width: 100%; justify-content: space-between; padding: 1.1rem 0; font-size: 0.78rem; }
  .nav-link::after { display: none; }

  /* in the drawer, Shop is always expanded */
  .mega-toggle { pointer-events: none; padding-bottom: 0.4rem; color: var(--mauve); }
  .mega-toggle svg { display: none; }
  .mega,
  .has-mega:hover .mega {
    position: static;
    display: block;
    box-shadow: none;
    border: 0;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
  }
  .mega-inner { grid-template-columns: 1fr; gap: 0; padding: 0 0 0.6rem; width: 100%; }
  .mega-col { padding: 0.9rem 0; }
  .mega-col + .mega-col { border-top: 1px dashed var(--lav-300); }
  .mega-title { font-size: 1.35rem; margin-bottom: 0.5rem; }
  .mega-col ul { grid-template-columns: 1fr 1fr; gap: 0.5rem 1rem; }
  .mega-col a { display: block; padding: 0.15rem 0; font-size: 0.98rem; }
  .mega-col li:last-child { grid-column: 1 / -1; }

  .nav-drawer-foot {
    display: grid;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 1.4rem;
  }
  .nav-drawer-foot a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.7rem 0;
    font-size: 0.9rem;
    color: var(--plum-600);
  }
  .nav-drawer-foot svg { width: 20px; height: 20px; }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; height: 48vh; min-height: 300px; max-height: 440px; }
  .hero-text { padding: 2rem var(--gutter) 2.6rem; max-width: none; }

  .feature { grid-template-columns: 1fr; text-align: center; }
  .feature p { margin-inline: auto; }

  .story { grid-template-columns: 1fr; }

  .promise { flex-basis: 50%; padding: 1.1rem 0.8rem; }

  .pdp { grid-template-columns: 1fr 1fr; gap: 1.6rem; }

  .footer .container { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .pdp { grid-template-columns: 1fr; }
  .pdp-gallery { position: relative; top: 0; }
}

@media (max-width: 600px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  /* category tiles scroll sideways */
  .cat-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 72%;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .cat-tile { scroll-snap-align: start; }
  .cat-text h3 { font-size: 1.5rem; }
  .hero-ctas .btn { flex: 1; padding-inline: 1rem; }
  .section-head { margin-bottom: 1.2rem; }
  .card-title { font-size: 0.92rem; }
  .card .btn-buy { padding: 0.7rem 0.5rem; letter-spacing: 0.12em; }
  .feature-minis { gap: 10px; }
  .mini span { font-size: 0.82rem; }
  .shop-meta { margin-left: 0; width: 100%; justify-content: space-between; }
  .tabs { justify-content: flex-start; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .pdp-actions .btn-lg { padding-inline: 1rem; }
  .tab { padding: 0.85rem 0.7rem; font-size: 0.68rem; letter-spacing: 0.14em; }
  .wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; }
}

/* Smooth hovers: links and controls that change colour on hover fade instead of
   jumping, and zooming photos stay crisp instead of shimmering. */
.view-all, .card-title a, .tab, .crumbs a, .qty button, .cmp-more, .icon-btn, .nav-link {
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.mega-feature img, .cat-media img, .cat-media .art, .card-media img, .card-media .art, .mini-media img, .mini-media .art {
  will-change: transform;
  backface-visibility: hidden;
}
/* The menu fades out fully before it stops catching the pointer. */
.mega { transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s; }
.has-mega:hover .mega,
.has-mega.open .mega,
.has-mega:focus-within .mega { transition-delay: 0s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }

/* Stock: "Only 3 left" / "Sold out" on the photo. */
.stock-flag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  padding: 0.3rem 0.6rem;
  background: var(--plum);
  color: var(--pearl);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.stock-flag.is-out { background: var(--mauve); }
.is-sold-out .card-media img,
.is-sold-out .card-media .art { opacity: 0.6; }
.btn.is-disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; }

/* Reviews */
.stars { color: var(--lav-300); letter-spacing: 0.08em; }
.stars .on { color: var(--gold); }
.card-rating { margin: 0 0 0.2rem; font-size: 0.8rem; color: var(--mauve); }
.rv-avg { font-family: "Jost", sans-serif; font-size: 0.9rem; color: var(--mauve); margin-left: 0.6rem; white-space: nowrap; }
.rv-section { padding-top: 1rem; }
.rv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; align-items: start; }
.rv-card { background: var(--pearl); border: 1px solid var(--lav-200); overflow: hidden; transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease); }
.rv-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.rv-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--lav-200); }
.rv-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.rv-card:hover .rv-photo img { transform: scale(1.04); }
.rv-body { padding: 1.1rem 1.2rem 1.2rem; }
.rv-body .stars { margin: 0 0 0.5rem; }
.rv-text { margin: 0 0 0.8rem; color: var(--plum-900); line-height: 1.6; }
.rv-meta { margin: 0; font-size: 0.8rem; color: var(--mauve); }
.rv-meta strong { font-weight: 500; color: var(--plum); }
.rv-lead { color: var(--plum-600); }
.rv-cta { text-align: center; margin: 2rem 0 0; }

.rv-form-wrap { max-width: 640px; margin: 4rem auto 0; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--pearl); border: 1px solid var(--lav-200); scroll-margin-top: calc(var(--header-h) + 1rem); }
.rv-form-wrap h2 { margin-top: 0; }
.rv-form { display: grid; gap: 1.1rem; }
.rv-field { display: grid; gap: 0.35rem; }
.rv-field label, .rv-stars legend { font-size: 0.74rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--plum); }
.rv-field input[type="text"], .rv-field select, .rv-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: var(--plum-900);
  background: #fff;
  border: 1px solid var(--lav-300);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.rv-field input:focus, .rv-field select:focus, .rv-field textarea:focus { outline: none; border-color: var(--plum-600); box-shadow: 0 0 0 3px var(--lav-200); }
.rv-field input[type="file"] { font: inherit; font-size: 0.9rem; }
.rv-field input[type="file"]::file-selector-button {
  margin-right: 0.9rem;
  padding: 0.6rem 1.1rem;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--plum);
  background: transparent;
  border: 1px solid var(--plum);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.rv-field input[type="file"]::file-selector-button:hover { background: var(--plum); color: var(--pearl); }
.rv-stars { border: 0; padding: 0; margin: 0; }
.rv-stars-row { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rv-stars-row input { position: absolute; opacity: 0; pointer-events: none; }
.rv-stars-row label { font-size: 2rem; line-height: 1; color: var(--lav-300); cursor: pointer; transition: color 0.2s var(--ease), transform 0.2s var(--ease); }
.rv-stars-row label:hover,
.rv-stars-row label:hover ~ label,
.rv-stars-row input:checked ~ label { color: var(--gold); }
.rv-stars-row label:hover { transform: scale(1.12); }
.rv-stars-row input:focus-visible + label { outline: 2px solid var(--plum-600); outline-offset: 2px; }
/* Hidden without pushing it off one side: in Arabic (right to left) a box 9,999px off to
   the left made the whole page scroll sideways, and phones showed it blank. */
.rv-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rv-error, .errorlist { margin: 0; padding: 0; list-style: none; color: #a3324b; font-size: 0.88rem; }
.rv-small { margin: 0; font-size: 0.8rem; color: var(--mauve); }
.rv-thanks { text-align: center; }

/* Language switch (header) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 0.8rem;
  margin-inline-end: 4px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--plum);
  border: 1px solid var(--lav-300);
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.lang-switch:hover { background: var(--plum); border-color: var(--plum); color: var(--pearl); }
.lang-switch[lang="ar"] { font-family: "Tajawal", var(--sans); font-size: 0.92rem; }
.lang-switch[lang="en"] { font-family: "Jost", sans-serif; letter-spacing: 0.06em; }

/* ---------- Arabic: Arabic fonts, no letter-spacing (it breaks joined letters),
   slightly larger small print, and everything that sits on a side mirrored. ---------- */
html[lang="ar"] {
  --serif-display: "Amiri", "Bodoni Moda", Georgia, serif;
  --sans: "Tajawal", "Jost", "Helvetica Neue", Arial, sans-serif;
}
html[lang="ar"] * { letter-spacing: 0 !important; }
html[lang="ar"] .brand-name { font-family: "Bodoni Moda", Georgia, serif; letter-spacing: 0.32em !important; }
html[lang="ar"] .brand-sub { font-family: "Jost", sans-serif; letter-spacing: 0.4em !important; }
html[lang="ar"] .lang-switch[lang="en"] { letter-spacing: 0.06em !important; }
html[lang="ar"] :is(.eyebrow, .btn, .tab, .nav-link, .footer h4, .pdp-details summary, .stock-flag, .badge,
  .view-all, .card-cat, .rv-field label, .rv-stars legend, .chip, .sort span) { font-size: 0.9rem; }
html[lang="ar"] .mega-all { font-size: 0.85rem !important; }
html[lang="ar"] :is(h1, h2, h3, .hero-title, .pdp-title) { line-height: 1.35; }
html[lang="ar"] :is(.badge, .stock-flag) { left: auto; right: 10px; }
html[lang="ar"] .wa-float { right: auto; left: 20px; }
html[lang="ar"] .pdp-details summary { padding-right: 0; padding-left: 1.5rem; }
html[lang="ar"] .pdp-details summary::after { right: auto; left: 4px; }
html[lang="ar"] .pdp-details ul { padding-left: 0; padding-right: 1.1rem; }
html[lang="ar"] .shop-meta { margin-left: 0; margin-right: auto; }
html[lang="ar"] .rv-avg { margin-left: 0; margin-right: 0.6rem; }
html[lang="ar"] .rv-field input[type="file"]::file-selector-button { margin-right: 0; margin-left: 0.9rem; }
html[lang="ar"] .cmp-perks li::before { margin-right: 0; margin-left: 0.6rem; }
html[lang="ar"] .rv-field input[name="name"] { text-align: right; }

@media (max-width: 860px) {
  html[lang="ar"] .menu-toggle { margin-left: 0; margin-right: -8px; }
  html[lang="ar"] .nav { left: auto; right: 0; transform: translateX(100%); }
  html[lang="ar"] .menu-open .nav { transform: none; box-shadow: -12px 0 40px -20px rgba(47, 26, 53, 0.5); }
  .lang-switch { height: 30px; padding: 0 0.55rem; margin-inline-end: 0; font-size: 0.74rem; }
  html[lang="ar"] .lang-switch[lang="en"] { letter-spacing: 0.02em !important; }
}
@media (max-width: 600px) {
  html[lang="ar"] .wa-float { right: auto; left: 14px; }
}
/* Small phones: room for the logo and both header buttons side by side. */
@media (max-width: 380px) {
  .brand-name { font-size: 1.15rem; }
  .lang-switch { padding: 0 0.45rem; font-size: 0.7rem; }
}

/* Going from page to page fades instead of blinking. */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: 0.3s; animation-timing-function: var(--ease); }

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

/* ---------- campaign landing page (/c/<name>/) ---------- */

.cmp-hero { display: grid; grid-template-columns: 1.1fr 1fr; min-height: min(86vh, 760px); background: var(--lav-100); }
.cmp-hero-media { position: relative; background: var(--lav-200); }
.cmp-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp-hero-text { align-self: center; max-width: 560px; padding: 4rem clamp(1.5rem, 5vw, 5rem); }
.cmp-title { font-size: clamp(2.3rem, 4vw, 3.8rem); line-height: 1.05; letter-spacing: -0.01em; margin: 0 0 1rem; }
.cmp-sub { font-size: 1.1rem; color: var(--plum-600); max-width: 38ch; margin: 0 0 1.6rem; }
.cmp-price { font-size: 1.6rem; letter-spacing: 0.04em; margin: 0 0 1.4rem; }
.cmp-cta { width: 100%; max-width: 360px; }
.cmp-offer { font-size: 0.85rem; color: var(--gold); letter-spacing: 0.06em; margin: 0.9rem 0 0; }
.cmp-more { display: inline-block; margin-top: 1.4rem; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; border-bottom: 1px solid var(--lav-400); padding-bottom: 2px; }
.cmp-more:hover { border-color: var(--plum); }

.cmp-perks { background: var(--plum); color: var(--lav-200); }
.cmp-perks ul { list-style: none; margin: 0 auto; padding: 1.3rem 0; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.8rem 2rem; text-align: center;
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; }
.cmp-perks li::before { content: "✦"; color: var(--gold-light); margin-right: 0.6rem; }

.cmp-story { max-width: 720px; text-align: center; }
.cmp-story h2 { margin-bottom: 1.2rem; }
.cmp-desc { font-size: 1.08rem; color: var(--plum-600); margin: 0 auto 1.6rem; max-width: 60ch; }
.cmp-details { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cmp-details li { border: 1px solid var(--lav-300); border-radius: 999px; padding: 0.45rem 1rem; font-size: 0.88rem; color: var(--plum-600); }

.cmp-final { background: var(--plum-900); color: var(--lav-200); text-align: center; padding: clamp(3rem, 7vw, 5.5rem) 0; }
.cmp-final h2 { color: var(--pearl); margin-bottom: 0.6rem; }
.cmp-final p { margin: 0 0 1.8rem; letter-spacing: 0.04em; }

.cmp-bar { display: none; }
body[data-page="campaign"] .wa-float { display: none; }  /* the page has its own order button */

@media (max-width: 860px) {
  .cmp-hero { grid-template-columns: 1fr; min-height: 0; }
  .cmp-hero-media { aspect-ratio: 1; }
  .cmp-hero-text { padding: 2rem var(--gutter) 2.5rem; max-width: none; }
  .cmp-cta { max-width: none; }
  .cmp-perks ul { grid-template-columns: 1fr 1fr; font-size: 0.68rem; letter-spacing: 0.1em; }
  .cmp-bar { display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--pearl);
    box-shadow: 0 -8px 24px -12px rgba(74, 44, 79, 0.35); }
  .cmp-bar-price { font-size: 1.1rem; white-space: nowrap; }
  .cmp-bar .btn { flex: 1; }
  body[data-page="campaign"] { padding-bottom: 72px; }
}
