/* ══════════════════════════════════════════════════════════════════════
   SILSILA — maison design system.

   Rules this file obeys, deliberately:
     · no card boxes, no borders around products, no radius, no shadows
     · no teal fields; teal is a hairline, a rule and a hover state
     · the canvas is warm white and ivory; the products carry the colour
     · one serif for campaign statements, one grotesque for utility
     · Arabic is art-directed to the same standard, not scaled down
     · motion is opacity and 12px of travel, nothing else
   ══════════════════════════════════════════════════════════════════════ */

@font-face{font-family:'Inter';src:url('/assets/fonts/inter-latin-400-normal.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'Inter';src:url('/assets/fonts/inter-latin-500-normal.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:'Inter';src:url('/assets/fonts/inter-latin-600-normal.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:'Cormorant Garamond';src:url('/assets/fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:'Cormorant Garamond';src:url('/assets/fonts/cormorant-garamond-latin-700-normal.woff2') format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:'IBM Plex Sans Arabic';src:url('/assets/fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'IBM Plex Sans Arabic';src:url('/assets/fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:'Noto Kufi Arabic';src:url('/assets/fonts/noto-kufi-arabic-arabic-500-normal.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:'Noto Kufi Arabic';src:url('/assets/fonts/noto-kufi-arabic-arabic-600-normal.woff2') format('woff2');font-weight:600;font-display:swap}

:root {
  --teal: #7eb1ab;
  --teal-deep: #5f938d;

  --canvas: #fdfcfa;
  --ivory: #f7f4ef;
  --hair: #e8e4dd;
  --ink: #16150f;
  --body: #4c4842;
  --mute: #8b857c;
  --night: #14130f;

  --wa: #1faa59;

  --wide: 1560px;
  --read: 40rem;
  --gut: clamp(1.25rem, 4.2vw, 4rem);
  --air: clamp(4.5rem, 9vw, 10rem);
  --air-s: clamp(2.75rem, 5vw, 5.5rem);

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --ar: 'IBM Plex Sans Arabic', 'Tahoma', sans-serif;
  --ar-d: 'Noto Kufi Arabic', 'IBM Plex Sans Arabic', 'Tahoma', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html[lang='ar'] body { font-family: var(--ar); line-height: 1.95; }
/* height:auto is load-bearing: the width/height attributes on every img are
   presentational hints, and without this the hinted height wins and every
   aspect-ratio below is ignored. */
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 1px solid var(--teal-deep); outline-offset: 4px; }
::selection { background: var(--teal); color: #fff; }

/* ── type ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  margin: 0; color: var(--ink); font-weight: 600;
  font-family: var(--serif); line-height: 1.1; letter-spacing: -0.005em;
}
html[lang='ar'] h1, html[lang='ar'] h2, html[lang='ar'] h3, html[lang='ar'] h4 {
  font-family: var(--ar-d); font-weight: 500; line-height: 1.42; letter-spacing: 0;
}
.d1 { font-size: clamp(2.4rem, 1.1rem + 4.6vw, 5rem); }
.d2 { font-size: clamp(1.9rem, 1.1rem + 2.9vw, 3.4rem); }
.d3 { font-size: clamp(1.35rem, 1rem + 1.3vw, 1.9rem); }
html[lang='ar'] .d1 { font-size: clamp(1.95rem, 1rem + 3.6vw, 3.9rem); }
html[lang='ar'] .d2 { font-size: clamp(1.6rem, 1rem + 2.2vw, 2.7rem); }

.eyebrow {
  margin: 0; font-family: var(--sans);
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--mute);
}
html[lang='ar'] .eyebrow { font-family: var(--ar); font-size: 0.86rem; letter-spacing: 0.06em; text-transform: none; }
.lede { font-size: clamp(1rem, 0.97rem + 0.2vw, 1.1rem); color: var(--body); }
.small { font-size: 0.86rem; color: var(--mute); }
.num { font-family: var(--sans); direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── links and the one button shape ───────────────────────────────── */
.ln {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink);
  padding-bottom: 0.45rem; border-bottom: 1px solid currentColor;
  transition: color 0.3s ease, border-color 0.3s ease;
}
html[lang='ar'] .ln { font-family: var(--ar); font-size: 0.92rem; letter-spacing: 0.02em; text-transform: none; }
.ln:hover { color: var(--teal-deep); }
.ln--light { color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.ln--light:hover { color: #fff; border-color: #fff; }
.act {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 2.2rem;
  background: var(--ink); color: #fff;
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  transition: background 0.3s ease;
}
html[lang='ar'] .act { font-family: var(--ar); font-size: 0.95rem; letter-spacing: 0.02em; text-transform: none; }
.act:hover { background: #000; }
.act--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.act--line:hover { background: var(--ink); color: #fff; }
.act--wa { background: var(--wa); }
.act--wa:hover { background: #17914b; }
.act--wide { width: 100%; }
.act[disabled] { opacity: 0.4; pointer-events: none; }

/* ── frame ────────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--wide); margin-inline: auto; padding-inline: var(--gut); }
.read { max-width: var(--read); }
.rule { height: 1px; background: var(--hair); border: 0; margin: 0; }

/* ── header: thin, ivory, centred wordmark ────────────────────────── */
.hdr {
  position: sticky; top: 0; z-index: 80;
  background: rgba(253, 252, 250, 0.92);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--hair);
}
.hdr__nav { display: flex; align-items: center; gap: clamp(1.1rem, 2vw, 2.3rem); }
.hdr__nav a::after {
  content: ''; position: absolute; inset-inline: 0; bottom: 0.15rem; height: 1px;
  background: var(--teal); transform: scaleX(0); transform-origin: center;
  transition: transform 0.3s ease;
}
.hdr__nav a:hover::after, .hdr__nav a[aria-current='page']::after { transform: scaleX(1); }
.ic { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; }
.ic svg { width: 19px; height: 19px; stroke: var(--ink); fill: none; stroke-width: 1.2; }
.ic:hover svg { stroke: var(--teal-deep); }
.dot {
  position: absolute; top: 9px; inset-inline-end: 7px;
  min-width: 15px; height: 15px; padding: 0 3px; border-radius: 999px;
  background: var(--teal-deep); color: #fff; font-size: 0.6rem; line-height: 15px;
  text-align: center; direction: ltr; unicode-bidi: isolate;
}
.lang {
  display: inline-flex; align-items: center; height: 46px; padding-inline: 0.65rem;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.16em; color: var(--ink);
}
html[lang='ar'] .lang { font-size: 0.9rem; letter-spacing: 0; }
.lang:hover { color: var(--teal-deep); }@media (max-width: 66rem) {
  .util .lang { display: none; }}

/* full-screen menu, quiet fade */
/* ── THE MENU, WITH A FLOOR UNDER IT ──────────────────────────────────
   A drawer that only opens by script is a drawer that becomes a dead end the
   moment the script does not run — a blocked file, a stale cache, one error
   earlier in the bundle. So the panel's DEFAULT state is a plain visible list
   in the flow of the page, and it is only promoted to an overlay drawer once
   the document has been marked as script-capable. Nothing to tap and nothing
   happening is never a state a customer can reach. */
.menu {
  background: var(--canvas);
  overflow-y: auto; padding: 1rem var(--gut) 2rem;
  border-bottom: 1px solid var(--line);
}
.js .menu {
  position: fixed; inset: 0; z-index: 95;
  opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0.35s;
  padding: 1rem var(--gut) 4rem;
  border-bottom: 0;
}
.js .menu.on { opacity: 1; visibility: visible; }
.menu__top { display: flex; align-items: center; justify-content: space-between; min-height: 62px; }
.menu__list { margin: 2rem 0 0; }
.menu__list a {
  display: block; padding: 1.05rem 0; border-bottom: 1px solid var(--hair);
  font-family: var(--serif); font-size: 1.5rem; color: var(--ink);
}
html[lang='ar'] .menu__list a { font-family: var(--ar-d); font-size: 1.3rem; }
.menu__sub a { font-family: var(--sans); font-size: 0.95rem; color: var(--body); padding: 0.65rem 0 0.65rem 1rem; border-bottom: 0; }
html[lang='ar'] .menu__sub a { font-family: var(--ar); padding: 0.65rem 1rem 0.65rem 0; }
.menu__foot { margin-top: 2.5rem; display: flex; gap: 1.5rem; }

/* ── dark quiet section ───────────────────────────────────────────── */
.night { background: var(--night); color: rgba(255, 255, 255, 0.76); }
.night h1, .night h2, .night h3 { color: #fff; }
.night .eyebrow { color: rgba(255, 255, 255, 0.6); }
.ivorybg { background: var(--ivory); }

/* ── filters, one quiet line ──────────────────────────────────────── */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.6rem; padding-block: 1.4rem; border-block: 1px solid var(--hair); }
.f {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute);
  padding-bottom: 0.25rem; border-bottom: 1px solid transparent;
}
html[lang='ar'] .f { font-size: 0.9rem; letter-spacing: 0; text-transform: none; }
.f:hover { color: var(--ink); }
.f[aria-pressed='true'] { color: var(--ink); border-bottom-color: var(--teal); }
select.f {
  color: var(--ink); border: 0; appearance: none; -webkit-appearance: none;
  padding-inline-end: 1.3rem; background: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%);
  background-position: right 0.35rem center, right 0.05rem center;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
html[dir='rtl'] select.f { background-position: left 0.05rem center, left 0.35rem center; }
select.f:focus { outline-offset: 2px; }
.fcount { margin-inline-start: auto; font-size: 0.78rem; letter-spacing: 0.12em; color: var(--mute); }

/* ── product detail ──────────────────────────────────────────────── */
.pdp { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 6rem); align-items: start; }@media (max-width: 60rem) { .pdp { grid-template-columns: 1fr; }}
.pdp__thumbs { display: flex; gap: 0.5rem; }
.pdp__thumbs button { width: 62px; opacity: 0.5; transition: opacity 0.3s ease; }
.pdp__thumbs button[aria-pressed='true'] { opacity: 1; }
.pdp__thumbs img { aspect-ratio: 3 / 4; object-fit: cover; background: var(--ivory); }
.pdp__i { display: grid; gap: 1.35rem; position: sticky; top: 104px; }@media (max-width: 60rem) { .pdp__i { position: static; }}
.facts { display: grid; margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 1.5rem; padding: 0.85rem 0; border-bottom: 1px solid var(--hair); font-size: 0.9rem; }
.facts dt { color: var(--mute); margin: 0; }
.facts dd { margin: 0; color: var(--ink); text-align: end; }
.facts .soon { color: var(--mute); }
.qty { display: inline-flex; align-items: center; box-shadow: inset 0 0 0 1px var(--hair); }
.qty button { width: 46px; height: 52px; color: var(--ink); }
.qty input { width: 46px; height: 52px; border: 0; text-align: center; font: inherit; background: none; direction: ltr; }
.fold { border-top: 1px solid var(--hair); }
.fold details { border-bottom: 1px solid var(--hair); }
.fold summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; color: var(--ink); font-size: 0.92rem; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary i { width: 8px; height: 8px; border-inline-end: 1px solid var(--ink); border-block-end: 1px solid var(--ink); transform: rotate(45deg); transition: transform 0.3s ease; }
.fold details[open] summary i { transform: rotate(225deg); }
.fold__b { padding-bottom: 1.15rem; font-size: 0.92rem; color: var(--body); }
.buybar {
  position: fixed; inset-inline: 0; bottom: 60px; z-index: 84; display: none;
  gap: 0.6rem; padding: 0.7rem var(--gut) calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(253, 252, 250, 0.97); border-top: 1px solid var(--hair);
}@media (max-width: 60rem) { .buybar { display: flex; }}
.buybar .act { flex: 1; min-height: 48px; padding: 0 1rem; }

/* ── lines: bag, wishlist ─────────────────────────────────────────── */
.lines { display: grid; }
.lrow { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 1.4rem; align-items: start; padding: 1.6rem 0; border-bottom: 1px solid var(--hair); }
.lrow img { width: 84px; aspect-ratio: 3 / 4; object-fit: cover; background: var(--ivory); }
.lrow__n { font-family: var(--serif); font-size: 1rem; color: var(--ink); }
html[lang='ar'] .lrow__n { font-family: var(--ar-d); }
.lrow__x { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
html[lang='ar'] .lrow__x { font-size: 0.88rem; letter-spacing: 0; text-transform: none; }
.lrow__x:hover { color: var(--ink); }
.side { display: grid; gap: 1.1rem; align-content: start; }
.side__r { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.95rem; }
.side__r b { color: var(--ink); font-weight: 500; }
.split2 { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }@media (max-width: 60rem) { .split2 { grid-template-columns: 1fr; }}
.fld { display: grid; gap: 0.4rem; }
.fld label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
html[lang='ar'] .fld label { font-size: 0.88rem; letter-spacing: 0; text-transform: none; }
.fld input, .fld textarea {
  width: 100%; min-height: 52px; padding: 0.8rem 0; background: none;
  border: 0; border-bottom: 1px solid var(--hair); font: inherit; color: var(--ink);
}
.fld textarea { min-height: 90px; resize: vertical; }
.fld input:focus, .fld textarea:focus { outline: none; border-bottom-color: var(--teal); }
.empty { text-align: center; padding-block: clamp(3rem, 8vw, 6rem); display: grid; justify-items: center; gap: 1.8rem; }
.emptynav { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; justify-content: center; }
.soonnote { border-inline-start: 1px solid var(--teal); padding-inline-start: 1rem; font-size: 0.88rem; color: var(--mute); }

/* ── footer ───────────────────────────────────────────────────────── */
.ft { background: var(--night); color: rgba(255, 255, 255, 0.66); }
.ft a:hover { color: #fff; }
.ft__g { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(2rem, 4vw, 4.5rem); padding-block: clamp(3.5rem, 6vw, 6rem); }@media (max-width: 60rem) { .ft__g { grid-template-columns: 1fr 1fr; }}@media (max-width: 34rem) { .ft__g { grid-template-columns: 1fr; }}
.ft h4 { color: #fff; font-family: var(--sans); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 1.3rem; }
html[lang='ar'] .ft h4 { font-family: var(--ar); font-size: 0.88rem; letter-spacing: 0.02em; text-transform: none; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; font-size: 0.88rem; }
.ft__mark img { height: 30px; margin-bottom: 1.4rem; }
.ft__legal { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-block: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; font-size: 0.74rem; letter-spacing: 0.08em; }

/* ── motion: opacity and 12px, nothing else ───────────────────────── */
.rise { opacity: 0; transform: translateY(12px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.22,.61,.36,1); }
.rise.in { opacity: 1; transform: none; }@media print { .rise { opacity: 1 !important; transform: none !important; }}

/* ── toast ────────────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 78px; inset-inline: var(--gut); z-index: 96;
  margin-inline: auto; max-width: 24rem; text-align: center;
  background: var(--ink); color: #fff; padding: 0.9rem 1.2rem;
  font-size: 0.84rem; letter-spacing: 0.04em;
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.toast.is-on { opacity: 1; transform: none; }@media (min-width: 66rem) { .toast { bottom: 28px; }}

/* ── the closing moment ───────────────────────────────────────────────── */
.close { border-top: 1px solid var(--line); padding-top: clamp(2.2rem, 5vw, 3.4rem); }
.close__a { display: flex; flex-wrap: wrap; gap: 1.1rem 2.2rem; margin: 0; }

/* ── 2. filter chips were 26px tall with 11.52px type ─────────────────
   Measured on the phone shop page: 119x26, 97x26, 95x26, 84x26, 49x26.
   The guideline is 44x44. Type goes to 12px and the height comes from
   real padding, so the chip is genuinely hittable rather than merely
   surrounded by space. */
.f {
  font-size: 0.78rem;              /* was 0.72rem = 11.52px */
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-block: 0.55rem;
  padding-bottom: calc(0.55rem - 1px);   /* keeps the 1px underline where it was */
}
html[lang='ar'] .f { font-size: 0.92rem; }
select.f { min-height: 44px; padding-block: 0; }
.filters { row-gap: 0; }           /* the chips now carry their own vertical room */
.fcount {
  font-size: 0.8rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* ── 4. the footer wordmark was stretched to nearly 4x its width ──────
   The file is 600x169, a ratio of 3.55:1. The rule was `height: 30px`
   with no width, and something upstream gave the element the full 350px
   column, so it rendered 350x30 on a phone and 382x30 on a desktop:
   11.67:1 and 12.74:1. It is the brand's own name.

   Rather than rely on `width: auto` surviving whatever set the width, the
   ratio is declared outright and object-fit is contain, so this element
   cannot be stretched again by any later rule. */
.ft__mark img {
  height: 30px;
  width: auto;
  max-width: 100%;
  aspect-ratio: 600 / 169;
  object-fit: contain;
  margin-bottom: 1.4rem;
}

/* ── 5. the footer headings became h3 ─────────────────────────────────
   They were h4 with no h3 above them anywhere on the page, which is what
   produced the h1 -> h4 jump measured on every page in both languages.
   The rules move with them; the type is unchanged apart from the floor. */
/* h2, not h3, and not h4 as originally shipped.
   h4 with no h3 above it produced an h1 -> h4 jump on every page. Promoting
   to h3 fixed the pages that have h2 sections and created a NEW h1 -> h3 jump
   on the pages whose only heading is the h1: the shop, the cart and search.
   h2 is correct at both: these are top-level groups of the footer landmark,
   peers of the page's own sections, and h1 -> h2 can never skip a level. */
.ft h2 {
  color: #fff;
  font-family: var(--sans);
  font-size: 0.75rem;             /* 0.68rem was 10.88px; 0.72rem was still 11.52px */
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
}
html[lang='ar'] .ft h2 {
  font-family: var(--ar);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

/* ── 9. the last of the sub-12px type, each measured ──────────────────
   .eyebrow is the small caps label above every section heading on the
   site, so it appeared on nearly every page; .ln is the underlined
   inline link that follows most of them; .act is the "Load more" button
   at the foot of the catalogue. All three are 12px now. */
.eyebrow { font-size: 0.75rem; }   /* was 0.70rem = 11.20px */
.ln { font-size: 0.75rem; }        /* was 0.72rem = 11.52px */
.act { font-size: 0.78rem; }       /* was 0.74rem = 11.84px */
html[lang='ar'] .eyebrow { font-size: 0.9rem; }

/* ── 6. remaining sub-12px labels, each measured in the page ──────────── */
.ft__legal { font-size: 0.78rem; }            /* the product reference on a card */
.small { font-size: 0.875rem; }

/* ── 7. focus was a 1px hairline ──────────────────────────────────────
   Visible, but only just, and it vanished against the teal band. Two
   pixels and a wider offset, in the same colour. */
:focus-visible {
  outline: 2px solid var(--teal-deep);
  outline-offset: 3px;
}

/* ── 8. the open menu is a dialog, so it behaves like one ─────────────
   The focus trap is in js/site.js. This is the part it needs: while the
   menu is open nothing behind it may be reached by a pointer either, or a
   tap lands on the page underneath. */
body:has(.menu.on) main,
body:has(.menu.on) .ft { pointer-events: none; }

/* ── 10. the catalogue pager ───────────────────────────────────────────
   Page 1 renders 24 cards and /page/N/ documents hold the rest. This is
   the control that joins them: a Load more that the script upgrades into
   an in-place append, and beneath it the numbered pages as real links, so
   the sequence is walkable with no script and by a crawler.

   The numbers are deliberately quiet. They are there for a crawler and
   for the visitor who wants page 9, not as the primary way to browse. */
.pager {
  display: grid;
  justify-items: center;
  gap: 1.1rem;
  margin-top: clamp(2.6rem, 5vw, 4rem);
  text-align: center;
}
.pager__n { margin: 0; color: var(--mute); }
.pager .act { min-height: 44px; display: inline-flex; align-items: center; }
.pager .act[aria-busy='true'] { opacity: 0.6; pointer-events: none; }
.pager__links {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.15rem 0.35rem;
}
/* every page number is a 44px target, which is what the old 26px filter
   chips were not */
.pager__links a,
.pager__cur {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--mute);
  border-bottom: 1px solid transparent;
}
.pager__links a:hover { color: var(--ink); }
.pager__cur {
  color: var(--ink);
  border-bottom-color: var(--teal);
}
.pager__links .ln { min-width: 0; padding-inline: 0.5rem; }@media (max-width: 40rem) {
  .pager__links {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    max-width: 100%;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 2rem), transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 2rem), transparent 100%);
  }
  html[dir='rtl'] .pager__links {
    -webkit-mask-image: linear-gradient(to left, #000 0, #000 calc(100% - 2rem), transparent 100%);
    mask-image: linear-gradient(to left, #000 0, #000 calc(100% - 2rem), transparent 100%);
  }
  .pager__links a, .pager__cur { scroll-snap-align: center; }}        /* was 0.70rem = 11.20px */
.util .lang { font-size: 0.75rem; }
html[lang='ar'] .util .lang { font-size: 0.9rem; }
/* the pager's Previous and Next were 16px wide because .ln reset the
   minimum; they are targets like any other */
.pager__links .ln { min-width: 44px; justify-content: center; }@media all {
  /* real padding rather than an absolute overlay: the box a finger hits is
     the box the browser reports, and it cannot cover a neighbouring link */
  .ln { display: inline-flex; align-items: center; min-height: 44px; }
  /* breadcrumbs sit as a row of small links; space them so each is tappable */
  .small a, nav[aria-label='Breadcrumb'] a { display: inline-flex; align-items: center; min-height: 28px; }
  .ft__legal a, .ft a { min-height: 44px; display: inline-flex; align-items: center; }}
  from { transform: scale(1.005) translate3d(0, 0, 0); }
  to   { transform: scale(1.075) translate3d(-1.1%, -1.6%, 0); }}
.pdp__i .act {
  min-height: 48px; display: inline-flex;
  align-items: center; justify-content: center; text-align: center;
}
.pdp__i .qty { min-height: 48px; }

/* ── FIX: the filter bar read as one undifferentiated run ──────────────
   Fifteen chips of two different kinds — piece type and tone — sat in a
   single wrap with the sort control stranded mid-row and the count adrift.
   They are now two labelled groups on their own lines, with the sort and
   the count squared off to the end on a line of their own. */
.filters {
  display: grid;
  gap: 0.9rem;
  align-items: stretch;
  padding-block: 1.4rem;
  border-block: 1px solid var(--hair);
}
.fgroup {
  display: flex; flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  min-width: 0;                 /* a scrolling chip row must not push its parent */
}
/* the tone row is the quieter of the two, and is set apart by a hairline
   rather than by a heading, so no new copy is invented in either language */
.fgroup--tone {
  padding-top: 0.85rem;
  border-top: 1px solid var(--hair);
}
.ftools {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.2rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--hair);
}
.ftools .fcount { margin-inline-start: 0; }
/* the count lost its space because the isolated numeral sits flush against
   the following word */
.fcount .num { margin-inline-end: 0.45em; }
html[lang="ar"] .fcount .num { margin-inline-end: 0.5em; }@media (max-width: 48rem) {
  .fgroup { gap: 0.4rem 1.1rem; }
  .ftools { flex-wrap: wrap; gap: 0.6rem; }}

/* ── 4. the count: number and noun are separate boxes with a real gap,
       so no collapsing whitespace can join them ─────────────────────── */
.fcount { display: inline-flex; align-items: baseline; gap: 0.4em; }
.fcount .num { margin-inline-end: 0; }@media (max-width: 60rem) {
  .fgroup {
    flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
  }
  .fgroup::-webkit-scrollbar { display: none; }
  .fgroup > .f { flex: 0 0 auto; }}
.ft ul { display: grid; }

/* header icon buttons (search, wishlist, cart) */
.ic { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.act--wa:hover { background: #0e6c35; }
/* language switch: always visible, one short word, a real target */
.hdr .util .lang { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; min-width: 44px; padding: 0 0.7rem; margin-inline-start: 0.2rem; border: 1px solid var(--hair); border-radius: 999px; font-size: 0.8rem; letter-spacing: 0.04em; color: var(--ink); text-decoration: none; }
.hdr .util .lang:hover, .hdr .util .lang:focus-visible { border-color: var(--ink); color: var(--ink); }
html[lang='ar'] .hdr .util .lang { font-size: 0.8rem; letter-spacing: 0.06em; }

/* ══════════════════════════════════════════════════════════════════════
   COMPONENT LAYER (V4.0) — the single source for spacing, cards, grids,
   hero, features, tiles, header, gallery and interaction states. Earlier
   rules for these components were removed from the sheet above.
   ══════════════════════════════════════════════════════════════════════ */

/* ── tokens ───────────────────────────────────────────────────────── */
:root {
  --mute: #6f6a61;
  --wa: #11813f;                                   /* 4.98:1 on white text */
  --sec: clamp(3rem, 4.6vw, 4.5rem);               /* between sections: 48–72px */
  --sec-s: clamp(1.75rem, 2.8vw, 2.75rem);         /* inside a section / band padding */
  --h-desc: clamp(0.75rem, 1vw, 1rem);             /* heading → supporting text: 12–16px */
  --h-grid: clamp(1.25rem, 2vw, 1.75rem);          /* intro → product grid: 20–28px */
  --img-txt: clamp(0.75rem, 1vw, 1rem);            /* product image → details: 12–16px */
  --air: var(--sec);
  --air-s: var(--sec-s);
}
@media (max-width: 47.99rem) {
  :root { --sec: clamp(1.75rem, 7.5vw, 2.5rem); --sec-s: 1.5rem; }   /* 28–40px */
}
[hidden] { display: none !important; }
.sec { padding-top: var(--sec); }
.sec--tight { padding-top: var(--h-grid); }
.sec--pad { padding-bottom: var(--sec); }
.sec.ivorybg { margin-top: var(--sec); padding-top: var(--sec); }
.sec.ivorybg .feat { margin-top: 0; }
.sec-pad-b { padding-bottom: var(--sec); }
.air { padding-block: var(--sec); }
.air-s { padding-block: var(--sec-s); }
main > .sec:last-of-type, main > .night { margin-bottom: 0; }

/* ── headings ─────────────────────────────────────────────────────── */
.head { display: grid; justify-items: center; gap: var(--h-desc); text-align: center; margin-bottom: var(--h-grid); }
.head p { margin: 0; max-width: 50ch; color: var(--mute); }
.head--start { justify-items: start; text-align: start; }
.more-l { text-align: center; margin: var(--h-grid) 0 0; }

.hero__acts { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0.6rem 0 0; }

/* ── category strip ───────────────────────────────────────────────── */
.strip { display: flex; gap: 0.5rem; align-items: center; overflow-x: auto; scrollbar-width: none; padding-block: 0.9rem; -webkit-overflow-scrolling: touch; }
.strip::-webkit-scrollbar { display: none; }
.strip__l { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); white-space: nowrap; margin-inline-end: 0.3rem; }
html[lang='ar'] .strip__l { letter-spacing: 0; text-transform: none; }
.chip { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.05rem; border: 1px solid var(--hair); border-radius: 999px; font-size: 0.9rem; color: var(--ink); text-decoration: none; background: #fff; white-space: nowrap; }
.chip:hover, .chip:focus-visible { border-color: var(--ink); }

/* ── product card ─────────────────────────────────────────────────── */
.pi { position: relative; display: flex; flex-direction: column; text-align: start; min-width: 0; }
.pi__img { display: block; position: relative; overflow: hidden; background: var(--ivory); aspect-ratio: 4 / 5; }
.pi__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.22,.61,.36,1); }
.pi:hover .pi__img img { transform: scale(1.03); }
.save { position: absolute; top: 0.5rem; inset-inline-end: 0.5rem; z-index: 2; width: 44px; height: 44px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center; border-radius: 999px;
  background: rgba(253, 252, 250, 0.88); color: var(--ink); opacity: 0; transition: opacity 0.2s ease; }
.pi:hover .save, .save[aria-pressed='true'], .save:focus-visible { opacity: 1; }
@media (hover: none) { .save { opacity: 1; } }
.save svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 1.4; }
.save[aria-pressed='true'] svg { fill: var(--teal); stroke: var(--teal-deep); }
.pi__b { padding-top: var(--img-txt); display: grid; gap: 0.25rem; align-content: start; }
.pi__n { font-family: var(--serif); font-size: 1.02rem; line-height: 1.35; color: var(--ink); display: inline-block; padding-block: 0.35rem; overflow-wrap: anywhere; }
html[lang='ar'] .pi__n { font-family: var(--ar-d); font-size: 0.98rem; }
.pi__r { font-size: 0.74rem; letter-spacing: 0.14em; color: var(--mute); }
.pi__p { font-size: 0.9rem; color: var(--ink); }
.pi__p--ask { color: var(--mute); }

/* ── grids: by width, then by item count ──────────────────────────── */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.6rem, 3vw, 2.75rem) clamp(0.9rem, 1.8vw, 1.5rem); align-items: start; }
.pgrid[data-n='1'], .pgrid[data-n='2'], .pgrid[data-n='3'] { justify-content: center; }
.pgrid[data-n='1'] { grid-template-columns: minmax(0, 20rem); }
.pgrid[data-n='2'] { grid-template-columns: repeat(2, minmax(0, 19rem)); }
.pgrid[data-n='3'] { grid-template-columns: repeat(3, minmax(0, 19rem)); }
@media (max-width: 74.99rem) {
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pgrid[data-n='2'] { grid-template-columns: repeat(2, minmax(0, 18rem)); }
}
@media (max-width: 47.99rem) {
  .pgrid, .pgrid[data-n='2'], .pgrid[data-n='3'] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 0.9rem; }
  .pgrid[data-n='1'] { grid-template-columns: minmax(0, 18rem); }
}
@media (max-width: 22.49rem) { .pgrid, .pgrid[data-n='2'], .pgrid[data-n='3'] { grid-template-columns: minmax(0, 1fr); } }
.prow { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(14rem, 1fr); gap: clamp(0.9rem, 1.8vw, 1.5rem); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 0.25rem; }
.prow::-webkit-scrollbar { display: none; }
.prow > * { scroll-snap-align: start; }
@media (min-width: 75rem) { .prow { grid-auto-columns: minmax(0, 1fr); overflow: visible; } }

/* ── image-and-text feature (whole product, no crop) ──────────────── */
.feat { display: grid; grid-template-columns: minmax(0, 34rem) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4.5rem); align-items: center; }
.feat--rev { grid-template-columns: minmax(0, 1fr) minmax(0, 34rem); }
.feat--rev .feat__m, .feat--rev .feat__v { order: 2; }
.feat__m { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ivory); }
.feat__m img { display: block; width: 100%; height: 100%; object-fit: cover; }
.feat__c { display: grid; gap: var(--h-desc); justify-items: start; max-width: 36rem; }
.feat__c .lede { margin: 0; }
.feat__c .ln { margin-top: 0.4rem; }
@media (max-width: 59.99rem) {
  .feat, .feat--rev { grid-template-columns: 1fr; gap: 1.25rem; }
  .feat--rev .feat__m, .feat--rev .feat__v { order: 0; }
  .feat__m { max-width: 20rem; margin-inline: auto; width: 100%; }
}
.feat__m--tall { aspect-ratio: auto; height: clamp(24rem, 60vh, 36rem); width: calc(clamp(24rem, 60vh, 36rem) * 9 / 16); background: none; justify-self: center; }
.feat__m--tall img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 59.99rem) { .feat__m--tall { height: clamp(20rem, 55vh, 28rem); width: calc(clamp(20rem, 55vh, 28rem) * 9 / 16); } }
/* ── occasion tiles: 3:4 exports in 3:4 frames ────────────────────── */
.worlds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.8rem, 1.6vw, 1.5rem); }
.world { display: block; position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--ivory); }
.world img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.22,.61,.36,1); }
.world:hover img { transform: scale(1.03); }
.world::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 9, 7, 0.55), rgba(10, 9, 7, 0) 55%); }
.world__c { position: absolute; z-index: 2; inset: auto 0 0 0; padding: clamp(1rem, 2.5vw, 2rem); display: grid; justify-items: center; text-align: center; }
.world__c .d3 { color: #fff; font-family: var(--serif); }
html[lang='ar'] .world__c .d3 { font-family: var(--ar-d); }
@media (max-width: 47.99rem) {
  .worlds { grid-auto-flow: column; grid-auto-columns: 70vw; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); }
  .worlds::-webkit-scrollbar { display: none; }
  .world { scroll-snap-align: start; }
}

/* ── header ───────────────────────────────────────────────────────── */
.hdr__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 72px; gap: 1rem; }
.hdr__nav a { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; padding-block: 0.5rem; position: relative; }
html[lang='ar'] .hdr__nav a { font-size: 0.9rem; letter-spacing: 0.02em; text-transform: none; }
.mark { justify-self: center; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; }
.mark img { height: 30px; width: auto; max-width: 100%; }
.util { justify-self: end; display: flex; align-items: center; gap: 0.15rem; }
.burger { display: none; }
@media (min-width: 66rem) and (max-width: 80rem) {
  .hdr__nav { gap: clamp(0.8rem, 1.5vw, 1.4rem); }
  .hdr__nav a { font-size: 0.66rem; letter-spacing: 0.1em; }
  .mark img { height: 26px; }
}
@media (max-width: 65.99rem) {
  .hdr__in { grid-template-columns: auto 1fr auto; min-height: 62px; }
  .hdr__nav a { display: none; }
  .burger { display: inline-flex; align-items: center; gap: 0.45rem; width: auto; padding-inline: 0.55rem; }
  .burger__l { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
  html[lang='ar'] .burger__l { letter-spacing: 0; text-transform: none; font-size: 0.85rem; }
  .mark img { height: 24px; }
}
@media (max-width: 30rem) { .burger__l { display: none; } }
.tabs { position: fixed; inset-inline: 0; bottom: 0; z-index: 85; display: none; background: rgba(253, 252, 250, 0.96); border-top: 1px solid var(--hair); padding-bottom: env(safe-area-inset-bottom); backdrop-filter: saturate(1.2) blur(10px); }
@media (max-width: 65.99rem) { .tabs { display: flex; } }
.tabs a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; position: relative; }
.tabs svg { width: 20px; height: 20px; stroke: var(--mute); fill: none; stroke-width: 1.2; }
.tabs span { font-size: 0.72rem; letter-spacing: 0.04em; color: var(--mute); }
html[lang='ar'] .tabs span { letter-spacing: 0; }
.tabs a[aria-current='page'] svg { stroke: var(--ink); }
.tabs a[aria-current='page'] span { color: var(--ink); }
@media (max-width: 65.99rem) { body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); } }

/* ── product page: gallery, actions, viewer ───────────────────────── */
@media (min-width: 60.01rem) { .pdp { grid-template-columns: minmax(0, 38rem) minmax(0, 1fr); } }   /* the originals are 900px wide: no panel is stretched past sharpness */
.pdp__gal { display: grid; gap: 0.6rem; }
@media (min-width: 60rem) {
  .pdp__gal:not([data-n='1']) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pdp__gal:not([data-n='1']) .shot:first-child { grid-column: 1 / -1; }
}
.shot { margin: 0; }
.shot__b { display: block; width: 100%; padding: 0; border: 0; background: var(--ivory); cursor: zoom-in; }
.shot img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--ivory); }
.gal-hint { display: none; margin: 0.5rem 0 0; color: var(--mute); }
@media (max-width: 59.99rem) {
  .pdp__gal { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0.5rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); }
  .pdp__gal::-webkit-scrollbar { display: none; }
  .pdp__gal .shot { flex: 0 0 88%; scroll-snap-align: start; }
  .pdp__gal .shot:only-child { flex-basis: 100%; }
  .gal-hint { display: block; }
}
.pdp__i .lede.num { color: var(--ink); font-size: 1.15rem; letter-spacing: 0.02em; }
.pdp__i > div[style*="display:flex"] { display: grid !important; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.6rem; align-items: stretch; }
.pdp__i > div[style*="display:flex"] > .qty { grid-column: 1; grid-row: 1; }
.pdp__i > div[style*="display:flex"] > [data-add] { grid-column: 2; grid-row: 1; }
.pdp__i > div[style*="display:flex"] > [data-wish] { grid-column: 3; grid-row: 1; }
.pdp__i > div[style*="display:flex"] > [data-buy] { grid-column: 1 / -1; grid-row: 2; }
.pdp__i > div[style*="display:flex"] > a.act { grid-column: 1 / -1; grid-row: 3; }
.pdp__i .act { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; text-align: center; }
.pdp__i .qty { min-height: 48px; }
@media (max-width: 47.99rem) {
  .pdp__i > div[style*="display:flex"] { grid-template-columns: auto minmax(0, 1fr); }
  .pdp__i > div[style*="display:flex"] > [data-wish] { grid-column: 2; grid-row: 1; }
  .pdp__i > div[style*="display:flex"] > [data-add] { grid-column: 1 / -1; grid-row: 2; }
  .pdp__i > div[style*="display:flex"] > [data-buy] { grid-row: 3; }
  .pdp__i > div[style*="display:flex"] > a.act { grid-row: 4; }
}
/* the viewer */
.lb { position: fixed; inset: 0; z-index: 120; background: rgba(20, 19, 15, 0.96); display: grid; grid-template-rows: auto 1fr; color: #fff; }
.lb[hidden] { display: none !important; }
.lb__bar { display: flex; align-items: center; justify-content: space-between; padding: 0.6rem var(--gut); gap: 1rem; }
.lb__n { font-size: 0.8rem; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.75); }
.lb__x, .lb__p, .lb__nx { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: rgba(255, 255, 255, 0.12); color: #fff; padding: 0 0.9rem; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.lb__x:hover, .lb__p:hover, .lb__nx:hover { background: rgba(255, 255, 255, 0.22); }
.lb__stage { position: relative; display: grid; place-items: center; overflow: hidden; touch-action: pan-y; }
.lb__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lb__p, .lb__nx { position: absolute; top: 50%; transform: translateY(-50%); }
.lb__p { inset-inline-start: 0.75rem; } .lb__nx { inset-inline-end: 0.75rem; }
.lb__p[disabled], .lb__nx[disabled] { opacity: 0.3; pointer-events: none; }
.lb :focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ── listing states ───────────────────────────────────────────────── */
.errbar + .pgrid { margin-top: var(--h-grid); }
.state { text-align: center; color: var(--mute); margin: var(--h-grid) 0; }
.pgrid[aria-busy='true'] { opacity: 0.55; transition: opacity 0.2s; }
.morewrap { margin: var(--sec-s) 0 0; display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.morewrap__n { letter-spacing: 0.04em; color: var(--mute); }
.morewrap .act { min-width: 14rem; }
.errbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.8rem 1.4rem; padding: 0.9rem 1rem; margin: var(--h-grid) 0 0; background: var(--ivory); border: 1px solid var(--hair); }
.errbar p { margin: 0; }
.f--clear { text-decoration: underline; text-underline-offset: 3px; }

/* ── WhatsApp control, toast link, contact buttons ─────────────────── */
.wa-fab { position: fixed; inset-inline-end: 1rem; bottom: calc(60px + 0.9rem + env(safe-area-inset-bottom)); z-index: 83;
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 56px; padding: 0 1.15rem 0 0.95rem; border-radius: 999px;
  background: var(--wa); color: #fff; text-decoration: none; font-size: 0.95rem; font-weight: 500; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22); }
.wa-fab svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.wa-fab:hover { background: #0e6c35; color: #fff; }
.wa-fab:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (min-width: 66rem) { .wa-fab { bottom: 1.4rem; inset-inline-end: 1.4rem; } }
html.is-cart .wa-fab { display: none; }           /* the order pages already carry the WhatsApp action */
@media (max-width: 65.99rem) { html.is-pdp .wa-fab { display: none; } }
.toast__a { display: inline-block; margin-inline-start: 0.9rem; color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.contact__acts { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.6rem 0 0; }
.contact__btn { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 52px; padding: 0 1.3rem; text-decoration: none; }
.contact__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.act--ig { background: var(--ink); color: #fff; }
.act--ig:hover { background: #2a2824; color: #fff; }
.act--light { background: #fff; color: var(--ink); }
.ft__ig { display: inline-flex; align-items: center; gap: 0.5rem; }
.ft__ig svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.act--wa:hover { background: #0e6c35; }
/* sticky buy bar and floating control must never cover the last form field */
.buybar { padding-bottom: calc(0.7rem + env(safe-area-inset-bottom)); }
html.is-pdp body { padding-bottom: calc(60px + 64px + env(safe-area-inset-bottom)); }
@media (min-width: 60rem) { html.is-pdp body { padding-bottom: 0; } }
@media (prefers-reduced-motion: reduce) {
  .pi__img img, .world img, .rise { transition: none !important; transform: none !important; opacity: 1 !important; }
}
/* the panel must be focusable the moment it opens: visibility flips at once
   on open and only after the fade on close */
.js .menu.on { transition: opacity 0.35s ease, visibility 0s; }
.js .menu { transition: opacity 0.35s ease, visibility 0s linear 0.35s; }
/* narrowest phones: the header cannot hold five controls beside the logo;
   search is also in the bottom tab bar, so its header icon steps aside */
@media (max-width: 22.49rem) {
  .util { gap: 0; }
  .util .ic[href$="/search/"] { display: none; }
  .hdr .util .lang { min-width: 44px; padding: 0 0.3rem; margin-inline-start: 0; }
  .util .ic { width: 40px; }
  .mark img { height: 20px; }
}


/* ── V4.1 video hero ─────────────────────────────────────────────────
   The boutique film is a 464×832 portrait clip. It is never stretched: on
   phones it fills the hero at (below) its native size; from tablet up it
   stands beside the heading as a 4:5 panel cut from the portrait frame,
   so the subjects — which the footage keeps centred — stay in view. A
   1920-wide landscape master is what a full-width desktop hero needs. */
.vhero { background: var(--ivory); }
.vhero__in { display: grid; grid-template-columns: minmax(0, 34rem) auto; justify-content: center; align-items: center; gap: clamp(2rem, 6vw, 7rem); min-height: 0; }
.vhero__c { display: grid; gap: var(--h-desc); max-width: 34rem; padding-block: var(--sec-s); }
.vhero--col .vhero__m { height: clamp(400px, 46vh, 480px); }
.vhero--col .d1 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem); }
.vhero__c .lede { margin: 0; }
.vhero__c .hero__acts { margin-top: 0.6rem; }
.vhero__m { position: relative; height: clamp(440px, 54vh, 560px); aspect-ratio: 4 / 5; overflow: hidden; background: #0f1a1c; }
.vhero__m video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; background: #0f1a1c url('/assets/video/poster.webp') center 45% / cover no-repeat; }
.vhero .d1 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.6rem); }
@media (max-width: 59.99rem) {
  .vhero__in { grid-template-columns: 1fr; gap: 0; padding-inline: 0; }
  .vhero__m { order: -1; height: clamp(340px, 58vh, 460px); width: 100%; aspect-ratio: auto; }
  .vhero__m video { object-position: center 42%; }
  .vhero__c { padding: 1.2rem var(--gut) 1.5rem; max-width: none; }
  .vhero .d1 { font-size: clamp(1.8rem, 7.5vw, 2.5rem); }
  .vhero__c .hero__acts .act { flex: 1 1 12rem; }
}
/* the control: always visible, 44px, readable on any frame */
.vid__btn { position: absolute; inset-inline-start: 0.75rem; bottom: 0.75rem; z-index: 2; width: 44px; height: 44px; border-radius: 999px; background: rgba(253, 252, 250, 0.92); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; padding: 0; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25); }
.vid__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.vid__btn svg { width: 20px; height: 20px; fill: currentColor; }
.vid__btn svg + svg, .vid__btn[aria-pressed='true'] svg:first-child { display: none; }
.vid__btn[aria-pressed='true'] svg + svg { display: block; }
.is-off .vid__btn { display: none; }
/* a larger play affordance on the poster when playback did not start */
[data-film]:not(.is-playing)::after { content: ''; position: absolute; inset-inline-end: 0.75rem; bottom: 0.75rem; width: 0; height: 0; }

/* compact sequence after a collection hero */
.vhero + nav.wrap.small { padding-top: 1rem !important; }
.vhero + nav.wrap.small + section .filters { margin-top: 0.4rem; }

/* ── Visit us at Tawar Mall ─────────────────────────────────────────── */
.visit { background: var(--ivory); }
.visit__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(1.5rem, 4vw, 4.5rem); align-items: center; }
.visit__c { display: grid; gap: var(--h-desc); max-width: 38rem; }
.visit__c .lede { margin: 0; }
.visit__loc { display: flex; align-items: center; gap: 0.7rem; margin: 0.4rem 0 0; }
.visit__loc svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; flex: 0 0 auto; }
.visit__k { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
html[lang='ar'] .visit__k { letter-spacing: 0; text-transform: none; }
.visit__v { display: block; font-size: 1rem; color: var(--ink); }
.visit__acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; margin-top: 0.6rem; }
.vbtn { display: inline-flex; align-items: center; justify-content: flex-start; gap: 0.65rem; min-height: 52px; padding: 0 1rem; text-transform: none; letter-spacing: 0.02em; font-size: 0.9rem; text-align: start; }
.vbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.vbtn .num { letter-spacing: 0.02em; }
.visit__m { position: relative; height: clamp(420px, 56vh, 560px); aspect-ratio: 9 / 16; overflow: hidden; background: #0f1a1c; justify-self: end; }
.visit__m video { display: block; width: 100%; height: 100%; object-fit: cover; background: #0f1a1c url('/assets/video/poster.webp') center / cover no-repeat; }
@media (max-width: 59.99rem) {
  .visit__in { grid-template-columns: 1fr; gap: 1.25rem; }
  .visit__c { display: contents; }               /* heading + location first, then the film, then the buttons */
  .visit__c > .eyebrow { order: 1; } .visit__c > .d2 { order: 2; } .visit__c > .lede { order: 3; } .visit__loc { order: 4; }
  .visit__m { order: 5; justify-self: center; height: clamp(360px, 60vh, 480px); }
  .visit__acts { order: 6; grid-template-columns: 1fr; }
  .vbtn { min-height: 56px; }
}
@media (max-width: 30rem) { .visit__acts { grid-template-columns: 1fr; } }

@media (max-width: 65.99rem) { .wa-fab.is-tucked { transform: translateY(160%); opacity: 0; pointer-events: none; } .wa-fab { transition: transform 0.3s ease, opacity 0.3s ease; } }


/* ── V4.2 filter component ───────────────────────────────────────────
   Desktop: a compact ivory panel at the foot of the hero — style buttons,
   labelled swatches, sort, count, active chips. Phone: a one-line toolbar
   (Filters · sort · count) opening a bottom sheet. One state behind both. */
:root { --teal-ink: #0f4c47; }
.fb__wrap { padding-block: 0.9rem 1rem; }
.vhero .fb__wrap { border-top: 1px solid var(--hair); background: var(--ivory); }
.fb { display: grid; gap: 0.6rem; }
.fb__d { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem 1.6rem; }
.fb__g { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.7rem; min-width: 0; }
.fb__l { font-size: 0.78rem; letter-spacing: 0.04em; color: var(--ink); white-space: nowrap; margin-inline-end: 0.3rem; }
.fb__cats { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.fc { min-height: 44px; padding: 0 1.1rem; border-radius: 999px; border: 1px solid var(--hair); background: #fff; color: var(--ink); font-size: 0.9rem; white-space: nowrap; display: inline-flex; align-items: center; }
.fc:hover { border-color: var(--ink); }
.fc[aria-pressed='true'] { background: var(--teal-ink); border-color: var(--teal-ink); color: #fff; font-weight: 500; }
.fb__sw { display: flex; flex-wrap: wrap; gap: 0.25rem 0.9rem; }
.fs { min-height: 44px; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0 0.4rem; border-radius: 999px; border: 1px solid transparent; background: none; color: var(--ink); font-size: 0.9rem; }
.fs__dot { width: 22px; height: 22px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12), inset 0 -3px 6px rgba(0, 0, 0, 0.15), inset 0 3px 6px rgba(255, 255, 255, 0.35); flex: 0 0 auto; }
.fs:hover .fs__dot { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--ink); }
.fs[aria-pressed='true'] { border-color: var(--teal-ink); background: #fff; font-weight: 500; padding-inline: 0.5rem 0.9rem; }
.fs[aria-pressed='true'] .fs__dot { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--teal-ink); }
.fb__tools { display: flex; align-items: center; gap: 1rem; margin-inline-start: auto; }
.fb__sort { display: inline-flex; align-items: center; gap: 0.5rem; }
.fsel { min-height: 44px; padding: 0 2.2rem 0 0.9rem; border: 1px solid var(--hair); border-radius: 6px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316150f' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.7rem center / 16px; appearance: none; font: inherit; font-size: 0.9rem; color: var(--ink); }
html[dir='rtl'] .fsel { padding: 0 0.9rem 0 2.2rem; background-position: left 0.7rem center; }
.fb__count { font-size: 0.85rem; color: var(--mute); white-space: nowrap; }
.fb__active { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.fb__active[hidden] { display: none !important; }
.chipx { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 40px; padding: 0 0.6rem 0 0.9rem; border-radius: 999px; background: #fff; border: 1px solid var(--teal-ink); color: var(--teal-ink); font-size: 0.85rem; }
.chipx i { font-style: normal; font-size: 1.1rem; line-height: 1; }
.chipclear { min-height: 40px; padding: 0 0.6rem; font-size: 0.82rem; letter-spacing: 0.04em; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* mobile toolbar */
.fb__m { display: none; align-items: center; gap: 0.5rem; flex-wrap: wrap; min-width: 0; }
.fb__open { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0 1rem; border: 1px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink); font-size: 0.9rem; }
.fb__open svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.fb__n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--teal-ink); color: #fff; font-size: 0.72rem; display: inline-flex; align-items: center; justify-content: center; }
.fb__n[hidden] { display: none !important; }
.fsel--m { flex: 1 1 7rem; min-width: 0; width: auto; max-width: 100%; }
.fb__m .fb__count { margin-inline-start: auto; flex: 0 0 auto; }
@media (max-width: 22.49rem) { .fb__m .fb__count { flex-basis: 100%; margin-inline-start: 0; text-align: end; } }
@media (max-width: 47.99rem) {
  .fb__d { display: none; }
  .fb__m { display: flex; }
  .fb__active { gap: 0.4rem; }
}
/* the sheet */
.fsh { position: fixed; inset: 0; z-index: 130; background: rgba(20, 19, 15, 0.45); display: flex; align-items: flex-end; }
.fsh[hidden] { display: none !important; }
.fsh__p { width: 100%; max-height: min(88vh, 100dvh - 2rem); background: #fff; border-radius: 18px 18px 0 0; display: grid; grid-template-rows: auto 1fr auto; box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.2); }
.fsh__h { display: flex; align-items: center; justify-content: space-between; padding: 1.4rem var(--gut) 0.9rem; position: relative; border-bottom: 1px solid var(--hair); }
.fsh__grab { position: absolute; top: 0.5rem; left: 50%; transform: translateX(-50%); width: 40px; height: 4px; border-radius: 999px; background: var(--hair); }
.fsh__t { margin: 0; font-family: var(--serif); font-size: 1.6rem; color: var(--ink); }
html[lang='ar'] .fsh__t { font-family: var(--ar-d); }
.fsh__x { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; color: var(--ink); }
.fsh__x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.fsh__b { overflow-y: auto; padding: 0.9rem var(--gut) 1rem; display: grid; gap: 1.1rem; -webkit-overflow-scrolling: touch; }
.fsh__b .fb__g { flex-direction: column; align-items: stretch; gap: 0.6rem; padding-bottom: 1rem; border-bottom: 1px solid var(--hair); }
.fsh__b .fb__g:last-child { border-bottom: 0; padding-bottom: 0; }
.fsh__b .fb__l { font-size: 1rem; font-weight: 500; margin: 0; }
.fsh__b .fb__cats { gap: 0.6rem; }
.fsh__b .fc { min-height: 48px; padding: 0 1.3rem; font-size: 0.95rem; }
.fsh__b .fb__sw { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.fsh__b .fs { min-height: 56px; border: 1px solid var(--hair); border-radius: 12px; padding: 0 0.9rem; justify-content: flex-start; gap: 0.8rem; }
.fsh__b .fs__dot { width: 30px; height: 30px; }
.fsh__b .fs[aria-pressed='true'] { border-color: var(--teal-ink); box-shadow: inset 0 0 0 1px var(--teal-ink); }
.fsh__b .fb__sort { display: grid; gap: 0.5rem; }
.fsh__b .fsel { min-height: 52px; width: 100%; }
.fsh__show .num { margin-inline: 0.25em; }
.fsh__f { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; align-items: center; padding: 0.9rem var(--gut) calc(0.9rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--hair); background: #fff; }
.fsh__f .act { min-height: 52px; }
.fsh__show { background: var(--teal-ink); border-radius: 10px; text-transform: none; letter-spacing: 0.02em; font-size: 0.95rem; }
.fsh__show:hover { background: #0b3b37; }
@media (min-width: 48rem) { .fsh__p { max-width: 30rem; margin: 0 auto 1.5rem; border-radius: 18px; } }
/* homepage panel: no count, no chips */
[data-fbar-link] .fb__tools .fb__count { display: none; }

/* ── V3.5 catalogue: prices and multi-angle galleries ──────────────────
   A set can carry up to four photographs. On a phone they used to stack,
   pushing the name and the price four screens down; now they swipe, with
   the edge of the next shot visible so the swipe is discoverable. Wider
   screens keep the stacked gallery beside the details. */
@media (max-width: 60rem) {
  .pdp__gal { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0.5rem;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); }
  .pdp__gal::-webkit-scrollbar { display: none; }
  .pdp__gal .shot { flex: 0 0 88%; scroll-snap-align: start; }
  .pdp__gal .shot:only-child { flex-basis: 100%; }
}
/* the price is the second thing read after the name: ink, not muted */
.pdp__i .lede.num { color: var(--ink); font-size: 1.15rem; letter-spacing: 0.02em; }
