/*
 * Nasaeem Theme — layout and components. Colours, gradients and fonts come from brand.css only.
 * Written with logical properties (inline/block, start/end) so one file serves LTR and RTL.
 * Ornaments are static files in assets/img (khatam, rule, sadu). No clip-path or mask ever sits on a
 * focusable element: both would clip its focus ring.
 */

/* ── Scale ────────────────────────────────────────────────────────────────── */
:root {
  --t-xs: .75rem;   --t-sm: .875rem;  --t-base: 1rem;  --t-md: 1.3125rem;
  --t-lg: 1.75rem;  --t-xl: 2.375rem; --t-2xl: 3.125rem;
  --wrap: 88rem;
  --pad: 1.25rem;               /* wrap padding; 2rem from 48rem */
  --radius: 0;
  --radius-in: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 48rem) { :root { --pad: 2rem; } }

/* ── Base ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--vc-paper); color: var(--vc-oud);
  font: 400 var(--t-base)/1.65 var(--vc-font-body);
  -webkit-font-smoothing: antialiased;
}
[dir="rtl"] body { font-size: 1.0625rem; line-height: 1.8; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: var(--vc-foil); text-underline-offset: .2em; }
a:hover { color: var(--vc-antique); }
button { font: inherit; color: inherit; }
/* Prices read "K.D. 12.000" in both languages: the amount is isolated from the Arabic text around it. */
.woocommerce-Price-amount { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--vc-antique); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a.sr-only:focus {
  position: fixed; z-index: 100; top: .5rem; inset-inline-start: .5rem; width: auto; height: auto; clip: auto;
  padding: .75rem 1rem; background: var(--vc-paper); color: var(--vc-oud); font-weight: 600;
}

h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.2; text-wrap: balance; }
h1, h2 { font-family: var(--vc-font-display); letter-spacing: .01em; }
[dir="rtl"] h1, [dir="rtl"] h2 { font-family: var(--vc-font-display-ar); font-weight: 700; letter-spacing: 0; line-height: 1.5; }
h3 { font-size: var(--t-base); font-weight: 600; }
p { margin: 0 0 1em; }
.muted { color: var(--vc-smoke); }
.small { font-size: var(--t-sm); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.wrap--narrow { max-width: 58rem; }
.wrap--text { max-width: 44rem; }

main.page { padding-block: 2.5rem 5rem; }
.page-title { font-size: var(--t-lg); margin-bottom: 1.75rem; }
@media (min-width: 48rem) { .page-title { font-size: var(--t-xl); } }

/* Gold-foil text. inline-block so the gradient spans the glyphs, not the whole line. The gradient only
   paints inside the box, and Ruqaa's lam/alif and dots rise above the line box, so the padding gives
   them room (top and bottom too) and the equal negative margin keeps the layout unchanged.
   Large text only (see brand.css). */
.foil-text {
  display: inline-block; padding: .35em .08em; margin: -.35em -.08em;
  background: var(--vc-foil-text) 0 0 / 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.foil-text--dark { background-image: var(--vc-foil-text-dark); }
@supports not ((background-clip: text) or (-webkit-background-clip: text)) {
  .foil-text { background: none; color: var(--vc-antique); }
  .foil-text--dark { color: var(--vc-pale-gold); }
}

/* Full-bleed band from inside a .wrap: the colour reaches the window edges without widening the page. */
.bleed { box-shadow: 0 0 0 100vmax var(--bleed); clip-path: inset(0 -100vmax); background: var(--bleed); }
.bleed--sand { --bleed: var(--vc-sand); padding-block: 3rem 3.5rem; }
@media (min-width: 64rem) { .bleed--sand { padding-block: 4.5rem 5rem; } }

/* ── Ornaments ────────────────────────────────────────────────────────────── */
/* Sadu: the woven band. Teeth and eyes come from a mask tile that repeats in whole tiles ("round"),
   so no tooth is cut at either edge; the two edge rules are drawn here, so there are no seams. */
.sadu {
  display: block; height: 28px; background: var(--vc-foil-band);
  -webkit-mask: url(../img/sadu-teeth.svg) 0 0 / 20px 28px round no-repeat,
                linear-gradient(#000 0 0) 0 0 / 100% 2px no-repeat, linear-gradient(#000 0 0) 0 100% / 100% 2px no-repeat;
          mask: url(../img/sadu-teeth.svg) 0 0 / 20px 28px round no-repeat,
                linear-gradient(#000 0 0) 0 0 / 100% 2px no-repeat, linear-gradient(#000 0 0) 0 100% / 100% 2px no-repeat;
}
@media (max-width: 47.99rem) {
  .sadu { height: 21px; -webkit-mask-size: 15px 21px, 100% 2px, 100% 2px; mask-size: 15px 21px, 100% 2px, 100% 2px; }
}
.sadu--slim { height: 14px; margin-bottom: 1rem; -webkit-mask-size: 10px 14px, 100% 1px, 100% 1px; mask-size: 10px 14px, 100% 1px, 100% 1px; }
@supports not ((mask-repeat: round) or (-webkit-mask-repeat: round)) { .sadu { height: 2px; -webkit-mask: none; mask: none; } }
@media (forced-colors: active) { .sadu { display: none; } }

/* Section heads: the title, with a short gold rule under it. */
.section__head h2::after {
  content: ""; display: block; width: 72px; height: 10px; margin-top: .5rem;
  background: url(../img/rule.svg) no-repeat 0 0 / 72px 10px;
}
[dir="rtl"] .section__head h2::after { transform: scaleX(-1); }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3.25rem; padding: 0 1.75rem; border: 0; border-radius: var(--radius);
  background: var(--vc-foil-grad) 0 0 / 200% 100%; color: var(--vc-oud);
  box-shadow: inset 0 0 0 1px rgb(110 74 18 / .35), var(--vc-shadow-warm);
  font-size: var(--t-base); font-weight: 600; line-height: 1.3; text-align: center; text-decoration: none;
  cursor: pointer; transition: background-position .4s var(--ease), transform .1s;
}
.btn:hover { color: var(--vc-oud); }
@media (hover: hover) { .btn:hover { background-position: 100% 0; } }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn.disabled { filter: saturate(.3); opacity: .6; box-shadow: none; cursor: not-allowed; }
@media (max-width: 29.99rem) { .btn { padding-inline: 1.25rem; } }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--vc-antique); color: var(--vc-antique); }
.btn--ghost:hover { background: var(--vc-sand-lt); color: var(--vc-antique-dk); }
.btn--light { background-image: var(--vc-foil-text-dark); color: var(--vc-resin); box-shadow: none; }
.btn--light:hover { color: var(--vc-resin); }
.btn--block { width: 100%; }
.btn.loading { opacity: .6; pointer-events: none; }
.link {
  color: var(--vc-antique); font-weight: 600; text-decoration: underline 1.5px var(--vc-leaf); text-underline-offset: .3em;
}
.link:hover { color: var(--vc-antique-dk); }
.link-quiet {
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--vc-smoke);
  font-size: var(--t-sm); text-decoration: underline; text-decoration-color: var(--vc-foil);
}
.link-quiet:hover { color: var(--vc-antique); }

/* ── Forms ────────────────────────────────────────────────────────────────── */
.field { margin-bottom: 1.1rem; }
.field > label, .label { display: block; margin-bottom: .35rem; font-size: var(--t-sm); font-weight: 600; }
.req { color: var(--vc-error); margin-inline-start: .15em; }
.input, .field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="password"], .field input[type="number"], .field select, .field textarea, select.input {
  width: 100%; min-height: 3rem; padding: .6rem .8rem;
  border: 1px solid var(--vc-line-ui); border-radius: var(--radius-in); background: var(--vc-paper);
  color: var(--vc-oud); font: inherit; font-size: var(--t-base);
}
textarea.input, .field textarea { min-height: 6rem; resize: vertical; }
.input:focus, .field :is(input, select, textarea):focus { outline: none; border-color: var(--vc-antique); box-shadow: 0 0 0 3px rgb(201 162 74 / .3); }
.input:disabled { background: var(--vc-mist); color: var(--vc-ash); }
.input::placeholder, .field ::placeholder { color: var(--vc-ash); }
select.input, .field select, .variations select {
  appearance: none; padding-inline-end: 2.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%237A5716' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .85rem center;
}
[dir="rtl"] :is(select.input, .field select, .variations select) { background-position: left .85rem center; }
.field-row { display: grid; gap: .75rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field-row .field { margin-bottom: 1.1rem; }
.hint { font-size: var(--t-xs); color: var(--vc-smoke); margin-top: .3rem; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset:disabled { display: none; }

/* Option cards: delivery method, payment method. */
.choice {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: .75rem; row-gap: .1rem; margin-bottom: .6rem;
  padding: .9rem 1rem; border: 1px solid var(--vc-line-ui); border-radius: var(--radius); cursor: pointer;
}
.choice:hover { background: var(--vc-sand-lt); }
.choice:has(input:checked) { border-color: var(--vc-antique); box-shadow: inset 0 0 0 1px var(--vc-antique); background: var(--vc-sand-lt); }
.choice input { accent-color: var(--vc-antique); width: 1.1rem; height: 1.1rem; margin: 0; }
.choice__text { flex: 1; font-weight: 600; }
.choice__meta { color: var(--vc-smoke); font-size: var(--t-sm); }
/* Phones: the note goes under the label instead of squeezing it onto three lines. */
@media (max-width: 29.99rem) { .choice__meta { grid-column: 2; } }

/* Panels: checkout sections and summaries. */
.panel { border: 1px solid var(--vc-foil); border-radius: var(--radius); padding: 1.5rem; background: var(--vc-paper); }
.panel + .panel { margin-top: 1.25rem; }
.panel__title { font-family: var(--vc-font-body); font-size: var(--t-md); font-weight: 600; margin-bottom: 1.1rem; }
[dir="rtl"] .panel__title { font-family: var(--vc-font-body); font-weight: 600; line-height: 1.5; }

/* ── Announcement + masthead ──────────────────────────────────────────────── */
.announce {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 1rem;
  min-height: 2.25rem; padding: .375rem 1rem; background: var(--vc-sand);
  border-bottom: 2px solid; border-image: var(--vc-foil-band) 1;
  color: var(--vc-oud); font-size: .8125rem; text-align: center;
}
.announce p { margin: 0; }
.announce__lang {
  position: absolute; inset-inline-end: .5rem; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.25rem; padding-inline: .5rem;
  font-weight: 600; color: var(--vc-antique); text-decoration: none;
}
@media (max-width: 63.99rem) { .announce { justify-content: flex-start; padding-inline-end: 5.5rem; text-align: start; } }

.masthead { position: sticky; top: 0; z-index: 40; background: var(--vc-paper); border-bottom: 1px solid var(--vc-foil); }
.masthead__bar {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: .25rem; min-height: 3.5rem;
}
@media (min-width: 64rem) { .masthead__bar { min-height: 4.5rem; gap: .5rem; } }
@media (max-width: 29.99rem) { .masthead .wrap { padding-inline: .5rem; } }
.masthead__start, .masthead__end { display: flex; align-items: center; gap: 0; }
.masthead__end { justify-content: flex-end; }
@media (min-width: 64rem) { .masthead__start, .masthead__end { gap: .15rem; } }

.brand { display: flex; flex-direction: row; align-items: center; gap: .5rem; min-height: 2.75rem; text-decoration: none; color: var(--vc-oud); line-height: 1.2; }
.brand:hover { color: var(--vc-oud); }
.brand__mark { width: 1.5rem; height: 1.5rem; flex: none; }
.brand__name { font-family: var(--vc-font-display); font-size: clamp(1rem, .75rem + 1vw, 1.5rem); letter-spacing: .02em; white-space: nowrap; }
[dir="rtl"] .brand__name { font-family: var(--vc-font-display-ar); font-weight: 700; font-size: clamp(1.1875rem, .8rem + 1.6vw, 1.75rem); letter-spacing: 0; line-height: 1.45; }
/* English below 24px is not large text, so the gradient (3.83:1) gives way to solid ink there. */
[dir="ltr"] .masthead .brand__name.foil-text { background: none; color: var(--vc-oud); }
@media (min-width: 64rem) { [dir="ltr"] .masthead .brand__name.foil-text { background: var(--vc-foil-text) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; } }
@media (max-width: 29.99rem) {
  .brand__mark { display: none; }
  [dir="ltr"] .brand__name { white-space: normal; text-align: center; max-width: 9.5rem; font-size: 1rem; line-height: 1.15; }
}

.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.75rem; height: 2.75rem; padding: 0 .4rem; border: 0; background: none;
  color: var(--vc-oud); text-decoration: none; cursor: pointer; border-radius: var(--radius);
}
.icon-btn:hover { color: var(--vc-antique); }
.icon-btn svg { width: 1.375rem; height: 1.375rem; }
.icon-btn--text { font-size: var(--t-sm); font-weight: 600; }
/* Bag count on a small gold khatam (ink on its darkest gold: 5.23:1). */
.badge {
  position: absolute; top: .05rem; inset-inline-end: 0; display: grid; place-items: center;
  width: 1.375rem; height: 1.375rem; background: url(../img/khatam.svg) center / contain no-repeat;
  color: var(--vc-oud); font-size: .6875rem; font-weight: 600; line-height: 1;
}
.badge.is-bumped { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

.only-wide { display: none !important; }
@media (min-width: 64rem) { .only-wide { display: inline-flex !important; } .only-narrow { display: none !important; } }

/* Search inside the masthead (wide screens). */
form.search { display: flex; align-items: center; border-bottom: 1px solid var(--vc-line-ui); }
form.search input { width: 14rem; min-height: 2.75rem; border: 0; background: none; padding: 0 .25rem; font: inherit; font-size: var(--t-sm); color: var(--vc-oud); }
form.search input::placeholder { color: var(--vc-ash); }
/* The browser's clear button, in the theme's gold instead of system blue. */
form.search input::-webkit-search-cancel-button {
  -webkit-appearance: none; appearance: none; width: .875rem; height: .875rem; cursor: pointer; background: var(--vc-antique);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6l12 12M18 6L6 18' stroke='%23000' stroke-width='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6l12 12M18 6L6 18' stroke='%23000' stroke-width='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
form.search input:focus { outline: none; }
form.search:focus-within { border-color: var(--vc-antique); box-shadow: 0 1px 0 var(--vc-antique); }

/* Account menu: a native <details> disclosure. */
.menu { position: relative; }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu__list {
  position: absolute; inset-inline-end: 0; top: calc(100% + .35rem); z-index: 50; min-width: 12rem;
  margin: 0; padding: .4rem 0; list-style: none; background: var(--vc-paper);
  border: 1px solid var(--vc-foil); box-shadow: var(--vc-shadow-warm);
}
.menu__list a, .menu__list .menu__who { display: flex; align-items: center; min-height: 2.75rem; padding: 0 1rem; font-size: var(--t-sm); text-decoration: none; }
.menu__who { color: var(--vc-smoke); border-bottom: 1px solid var(--vc-foil); margin-bottom: .3rem; }
.menu__list a:hover { background: var(--vc-sand-lt); }

/* Language switch: shows only the other language. */
.lang a[aria-current] { display: none; }

/* Category row: below the masthead, scrolls away with the page. */
.cats { border-bottom: 1px solid var(--vc-foil); background: var(--vc-paper); }
.cats ul { display: flex; justify-content: center; gap: 1.5rem; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.cats ul::-webkit-scrollbar { display: none; }
@media (min-width: 64rem) { .cats ul { gap: 2.5rem; } }
.cats a { position: relative; display: block; padding-block: .75rem; text-decoration: none; white-space: nowrap; }
.cats a:hover, .cats a[aria-current] { color: var(--vc-antique); }
.cats a[aria-current]::after {
  content: ""; position: absolute; bottom: .25rem; inset-inline-start: 50%; width: 8px; height: 8px; margin-inline-start: -4px;
  background: url(../img/khatam.svg) center / contain no-repeat;
}
@media (max-width: 63.99rem) {
  /* The row's far end fades out: the right edge in English, the left edge in Arabic. */
  .cats ul { justify-content: flex-start; -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); }
  [dir="rtl"] .cats ul { -webkit-mask-image: linear-gradient(to left, #000 85%, transparent); mask-image: linear-gradient(to left, #000 85%, transparent); }
  .cats li:last-child { padding-inline-end: 2.5rem; }
}

/* Mobile drawer: a native <dialog>. */
.drawer {
  margin: 0; margin-inline-end: auto; height: 100dvh; max-height: none; width: min(22rem, 88vw);
  padding: 1.25rem; border: 0; background: var(--vc-paper); color: var(--vc-oud);
}
.drawer::backdrop { background: rgb(42 28 18 / .4); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.drawer__brand { display: flex; align-items: center; gap: .5rem; }
.drawer__brand img { width: 1.25rem; height: 1.25rem; }
.drawer nav a { display: flex; align-items: center; min-height: 3rem; border-bottom: 1px solid var(--vc-foil); text-decoration: none; }
.drawer nav a.drawer__cat { padding-inline-start: 1rem; color: var(--vc-smoke); }
.drawer form.search { margin-bottom: 1rem; }
.drawer form.search input { flex: 1 1 0; width: auto; min-width: 0; }
.drawer__langs { display: flex; gap: .5rem; margin-top: 1.25rem; }
.drawer__langs a { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 2.75rem; border: 1px solid var(--vc-line-ui); text-decoration: none; }
.drawer__langs a[aria-current] { border-color: var(--vc-antique); background: var(--vc-sand-lt); color: var(--vc-antique); }

/* ── Hero: the majlis stage ───────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; }
.hero__inner { display: grid; }
.hero__text { padding-block: 1rem 1.25rem; }
.hero__title { margin-bottom: .5rem; font-size: clamp(2.125rem, .5rem + 3.4vw, 4.25rem); line-height: 1.1; }
[dir="rtl"] .hero__title { font-size: clamp(2.75rem, .6rem + 5.2vw, 5.5rem); line-height: 1.4; }
.hero__title span { display: block; }
.hero__title .foil-text { width: fit-content; }
.hero__lead { max-width: 28rem; margin-bottom: 1rem; font-family: var(--vc-font-display); font-size: 1.125rem; line-height: 1.55; color: var(--vc-oud); }
[dir="rtl"] .hero__lead { font-family: var(--vc-font-book-ar); line-height: 1.75; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.25rem; }
.hero__actions .link { display: inline-flex; align-items: center; min-height: 3rem; }

.hero__stage { position: relative; margin-inline: calc(-1 * var(--pad)); aspect-ratio: 6 / 5; max-height: 34rem; background: var(--vc-stage); }
.hero__stage picture { position: absolute; inset: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 75%; }
.hero__tag {
  position: absolute; bottom: 1rem; inset-inline-start: 1rem;
  display: inline-flex; align-items: center; min-height: 2.75rem; padding-inline: 1rem;
  background: rgb(255 253 248 / .95); color: var(--vc-antique); font-size: var(--t-sm); font-weight: 600; text-decoration: none;
  box-shadow: inset 0 0 0 1px rgb(122 87 22 / .2);
}
.hero__tag:hover { color: var(--vc-antique-dk); background: var(--vc-paper); }

@media (min-width: 64rem) {
  .hero__inner { grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); column-gap: 3rem; min-height: clamp(32rem, 72vh, 46rem); }
  .hero__text { align-self: center; padding-block: 3rem; }
  .hero__lead { margin-bottom: 2rem; font-size: 1.375rem; }
  .hero__title { margin-bottom: 1.25rem; }
  /* The stage runs to the window edge (logical, so it mirrors); .hero clips the scrollbar overshoot. */
  .hero__stage { margin-inline: 0 calc(-1 * var(--pad) - max(0px, (100vw - var(--wrap)) / 2)); aspect-ratio: auto; max-height: none; }
  .hero__img { object-position: 50% 60%; }
}

/* The one orchestrated moment, once per visit (html.intro): the stage settles, the words are revealed,
   the foil catches the light, the lead and button appear. End states are the plain CSS states. */
@media (prefers-reduced-motion: no-preference) {
  .intro .hero__img { animation: settle 1.2s var(--ease) backwards; }
  .intro .hero__title span { animation: reveal-rtl .7s ease-out .3s backwards; }
  .intro .hero__title span + span { animation-delay: .55s; }
  [dir="ltr"].intro .hero__title span { animation-name: reveal-ltr; }
  .intro .hero__lead, .intro .hero__actions { animation: appear .4s ease-out .9s backwards; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 48rem) {
  .intro .hero__title .foil-text { animation: reveal-rtl .7s ease-out .55s backwards, sheen 1.6s var(--ease) .55s backwards; }
  [dir="ltr"].intro .hero__title .foil-text { animation-name: reveal-ltr, sheen; }
}
@keyframes settle { from { transform: scale(1.04); } }
@keyframes reveal-rtl { from { clip-path: inset(-.4em -.2em -.4em 100%); } to { clip-path: inset(-.4em -.2em); } }
@keyframes reveal-ltr { from { clip-path: inset(-.4em 100% -.4em -.2em); } to { clip-path: inset(-.4em -.2em); } }
@keyframes sheen { from { background-position: 100% 0; } }
@keyframes appear { from { opacity: 0; } }

/* ── Sections ─────────────────────────────────────────────────────────────── */
.section { margin-top: 4rem; }
@media (min-width: 64rem) { .section { margin-top: 6rem; } }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.section__head h2 { font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2.375rem); line-height: 1.15; }
[dir="rtl"] .section__head h2 { font-size: clamp(1.875rem, 1.3rem + 1.5vw, 2.75rem); line-height: 1.5; }
.section__head > a { display: inline-flex; align-items: center; min-height: 2.75rem; white-space: nowrap; margin-bottom: .5rem; }

/* Best sellers: a sand band. Phones and tablets scroll it sideways; wide screens show the grid. */
.shelf { background: var(--vc-sand); padding-block: 2.5rem 3rem; }
@media (min-width: 64rem) { .shelf { padding-block: 5rem; } }

/* Shop by kind: picture tiles, names under the pictures. */
.niches { display: grid; gap: 1.75rem 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
@media (max-width: 63.99rem) {
  .niches.is-odd > li:last-child { grid-column: 1 / -1; }
  .niches.is-odd > li:last-child .niche__media { aspect-ratio: 16 / 9; }
  .niches.is-odd > li:last-child .niche__media img { object-position: 50% 70%; }
}
@media (min-width: 64rem) {
  .niches { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 1.5rem; }
  .niches:has(> li:nth-child(6)) { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.niche { display: block; text-decoration: none; color: var(--vc-oud); }
.niche:hover { color: var(--vc-oud); }
.niche__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--vc-stage); }
.niche__media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgb(122 87 22 / .12); }
.niche__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.niche__name { display: block; margin-top: .75rem; font-family: var(--vc-font-display); font-size: 1.5rem; line-height: 1.15; transition: color .15s; }
[dir="rtl"] .niche__name { font-family: var(--vc-font-display-ar); font-weight: 700; line-height: 1.4; }
@media (min-width: 64rem) { .niche__name { font-size: 2rem; } }
.niche__count { display: block; font-size: .8125rem; color: var(--vc-smoke); }
@media (hover: hover) {
  .niche:hover .niche__media img { transform: scale(1.04); }
  .niche:hover .niche__name { color: var(--vc-antique); }
}

/* Personalisation band: resin, with the sadu above and below. */
.sadu--band { margin-top: 4rem; }
.band + .sadu--band { margin-top: 0; }
@media (min-width: 64rem) { .sadu--band { margin-top: 6rem; } }
.band { background: var(--vc-resin); color: var(--vc-paper); overflow: clip; } /* the bottle's halo stays inside */
.band__inner { display: grid; gap: 2rem; padding-block: 3.5rem; }
@media (min-width: 48rem) {
  .band__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); grid-template-areas: "text bottle" "cta bottle"; gap: 1.5rem 4rem; align-items: center; }
  .band__text { grid-area: text; align-self: end; }
  .band__bottle { grid-area: bottle; }
  .band__cta { grid-area: cta; align-self: start; }
}
@media (min-width: 64rem) { .band__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); padding-block: 5.5rem; } }
.band h2 { margin-bottom: 1rem; font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem); line-height: 1.2; }
[dir="rtl"] .band h2 { font-size: clamp(1.875rem, 1.3rem + 1.5vw, 2.75rem); line-height: 1.5; }
.band p { max-width: 30rem; margin-bottom: 1.5rem; }
.band__label { display: block; font-size: var(--t-sm); font-weight: 600; color: var(--vc-pale-gold); margin-bottom: .35rem; }
.band__input {
  display: block; width: 100%; max-width: 20rem; min-height: 3rem; padding: .5rem .8rem;
  border: 1px solid var(--vc-pale-gold); border-radius: var(--radius-in); background: var(--vc-paper);
  color: var(--vc-resin); font: inherit; font-size: var(--t-base);
}
.band__input::placeholder { color: var(--vc-ash); }
.band__input:focus { outline: none; box-shadow: 0 0 0 3px var(--vc-pale-gold); }
.band :focus-visible { outline-color: var(--vc-pale-gold); }
.band__bottle {
  position: relative; z-index: 0; width: 100%; max-width: 16rem; margin-inline: auto; aspect-ratio: 4 / 5;
  container-type: inline-size; outline: 1px solid rgb(201 162 74 / .6); outline-offset: 8px;
}
@media (min-width: 48rem) { .band__bottle { max-width: none; } }
.band__bottle::before {
  content: ""; position: absolute; inset: -14%; z-index: -1;
  background: radial-gradient(closest-side, rgb(227 154 46 / .35), transparent);
}
.band__bottle img { width: 100%; height: 100%; }
/* The label area of the painted bottle (the art is never mirrored, so physical left). */
.band__engraving {
  position: absolute; left: 38.5%; width: 23%; top: 52%; height: 16%;
  display: flex; align-items: center; justify-content: center; overflow: hidden; text-align: center;
  font-family: "Amiri", var(--vc-font-display); font-weight: 700; font-size: 1.125rem; font-size: clamp(.8125rem, 5.4cqi, 1.375rem);
  line-height: 1.3; color: #3E2008; text-shadow: 0 1px 0 rgb(255 240 200 / .65);
  overflow-wrap: break-word; word-break: normal;
}
.band__engraving[data-long] { font-size: clamp(.75rem, 4.2cqi, 1.125rem); }

/* Trust row: each promise on a gold khatam medallion. */
.trust { margin-top: 4rem; margin-bottom: 4rem; }
@media (min-width: 64rem) { .trust { margin-top: 5rem; margin-bottom: 6rem; } }
.trust ul { display: grid; gap: 2rem 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
@media (min-width: 64rem) { .trust ul { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); } }
.trust li { display: grid; justify-items: center; gap: .15rem; font-size: var(--t-sm); text-align: center; }
.medal { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: .6rem; background: url(../img/khatam.svg) center / contain no-repeat; color: var(--vc-oud); }
@media (min-width: 64rem) { .medal { width: 3.5rem; height: 3.5rem; } }
.medal svg { width: 1.375rem; height: 1.375rem; }
.trust strong { font-weight: 600; }
.trust span:not(.medal) { color: var(--vc-smoke); }
.trust a { color: var(--vc-antique); }

/* ── Product cards ────────────────────────────────────────────────────────── */
.products { display: grid; gap: 2rem 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
@media (min-width: 48rem) { .products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 1.5rem; } }
@media (min-width: 64rem) { .products--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3.5rem 2rem; } }

.card { position: relative; isolation: isolate; display: flex; flex-direction: column; min-width: 0; }
.card__media { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--vc-stage); transition: transform .25s var(--ease); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
/* A hairline frame: deliberate on sand, and on white real photos. */
.card__media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgb(122 87 22 / .12); pointer-events: none; }
/* The lift shadow fades in by opacity; box-shadow itself is never animated. */
.card__media::before { content: ""; position: absolute; inset: 0; z-index: -1; box-shadow: var(--vc-shadow-warm); opacity: 0; transition: opacity .25s; }
@media (hover: hover) {
  .card:hover .card__media { transform: translateY(-4px); }
  .card:hover .card__media::before { opacity: 1; }
}
.card__ribbon {
  position: absolute; top: .75rem; inset-inline-start: 0; padding: .25rem .625rem;
  background: var(--vc-resin); color: var(--vc-pale-gold); font-size: .75rem; font-weight: 600;
}
.card__name {
  margin: .875rem 0 .125rem; font-family: var(--vc-font-display); font-size: 1.0625rem; font-weight: 400; line-height: 1.35;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; min-height: calc(2 * 1.35em);
}
[dir="rtl"] .card__name { font-family: var(--vc-font-book-ar); font-weight: 700; font-size: 1.125rem; line-height: 1.55; min-height: calc(2 * 1.55em); }
@media (min-width: 48rem) { .card__name { font-size: 1.1875rem; } [dir="rtl"] .card__name { font-size: 1.25rem; } }
.card__name a { text-decoration: none; }
.card__name a:hover { color: var(--vc-antique); }
.card__family { margin: 0; min-height: 1.5em; font-size: .8125rem; line-height: 1.5; color: var(--vc-smoke); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__price { margin: .375rem 0 auto; color: var(--vc-antique); font-size: 1rem; font-weight: 600; line-height: 1.3; }
.card__price :is(.amount, del, ins) { white-space: nowrap; }
.card__price del { display: block; color: var(--vc-ash); font-size: var(--t-sm); font-weight: 400; }
.card__price ins { text-decoration: none; }
.card__action {
  display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; min-height: 2.75rem; margin-top: .75rem;
  padding-inline: .5rem; box-shadow: inset 0 0 0 1.5px var(--vc-antique); color: var(--vc-antique);
  font-size: var(--t-sm); font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none;
  transition: background-color .15s, color .15s;
}
.card__add::before { content: ""; flex: none; width: 10px; height: 10px; background: url(../img/khatam.svg) center / contain no-repeat; }
:is(.card__add, .card__choose):focus-visible, .card__add:not(.added):is(:hover) { background: var(--vc-foil-grad); box-shadow: inset 0 0 0 1px rgb(110 74 18 / .35); color: var(--vc-oud); }
.card__add.loading { opacity: .7; cursor: progress; }
.card__add.added { background: var(--vc-resin); box-shadow: none; color: var(--vc-pale-gold); }
.card__add.added::before { display: none; }
.card__na { box-shadow: inset 0 0 0 1px var(--vc-foil); color: var(--vc-smoke); font-weight: 400; }
.added_to_cart { display: none; }

/* Best-seller row: scrolls sideways below 64rem with the next card peeking; a grid above. */
.products--row {
  grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72vw; gap: 1rem;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: .25rem var(--pad) .75rem; scroll-padding-inline: var(--pad); scrollbar-width: thin; scrollbar-color: var(--vc-line-ui) transparent;
}
.products--row > .card { scroll-snap-align: start; }
@media (min-width: 48rem) { .products--row { grid-auto-columns: 30%; gap: 1.5rem; } }
@media (min-width: 64rem) {
  .products--row {
    grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3rem 2rem;
    max-width: var(--wrap); margin-inline: auto; overflow: visible; scroll-snap-type: none;
  }
  .products--row.is-few { grid-template-columns: repeat(auto-fit, minmax(0, 20rem)); justify-content: center; }
}
.products--row:focus-visible { outline-offset: -2px; }

/* Wishlist heart (cards and product page). */
.wish {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.75rem;
  border: 0; padding: 0; background: none; cursor: pointer; color: var(--vc-oud);
}
.wish svg { width: 1.125rem; height: 1.125rem; }
.wish .is-on { display: none; }
.wish[aria-pressed="true"] { color: var(--vc-antique); }
.wish[aria-pressed="true"] .is-off { display: none; }
.wish[aria-pressed="true"] .is-on { display: block; }
.card .wish { position: absolute; top: .25rem; inset-inline-end: .25rem; width: 2.75rem; height: 2.75rem; z-index: 1; }
.card .wish::before { content: ""; position: absolute; inset: .375rem; border-radius: 50%; background: rgb(255 253 248 / .9); z-index: -1; }

/* ── Shop archive ─────────────────────────────────────────────────────────── */
.archive-head { background: var(--vc-sand); padding-block: 2rem 1.75rem; }
@media (min-width: 64rem) { .archive-head { padding-block: 3.5rem 3rem; } }
.archive-head h1 { font-size: clamp(1.875rem, 1.3rem + 1.4vw, 2.75rem); line-height: 1.15; }
[dir="rtl"] .archive-head h1 { font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem); line-height: 1.5; }
.archive-head .result-count { margin: .25rem 0 0; }
.archive-head__lead { max-width: 40rem; margin: .75rem 0 0; font-family: var(--vc-font-display); font-size: 1.125rem; line-height: 1.55; }
[dir="rtl"] .archive-head__lead { font-family: var(--vc-font-book-ar); line-height: 1.75; }
.archive__body { padding-block: 1.5rem 5rem; }
.toolbar { display: flex; justify-content: flex-end; margin-bottom: 1.5rem; }
.toolbar select { width: auto; min-height: 3rem; font-size: var(--t-sm); }
.result-count { margin: 0; font-size: var(--t-sm); color: var(--vc-smoke); }
.woocommerce-pagination ul { display: flex; justify-content: center; gap: .25rem; margin: 3.5rem 0 0; padding: 0; list-style: none; }
.woocommerce-pagination :is(a, span) {
  position: relative; z-index: 0; display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.75rem; height: 2.75rem; padding-inline: .5rem; font-weight: 600; text-decoration: none;
}
.woocommerce-pagination .current::before {
  content: ""; position: absolute; z-index: -1; inset: 50% auto auto 50%; width: 2.25rem; height: 2.25rem; translate: -50% -50%;
  background: url(../img/khatam.svg) center / contain no-repeat;
}

/* ── Breadcrumb ───────────────────────────────────────────────────────────── */
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.75rem; padding: 0; list-style: none; font-size: .8125rem; color: var(--vc-smoke); }
.crumbs li + li::before { content: "/"; margin-inline-end: .4rem; color: var(--vc-line-ui); }
.crumbs a { text-decoration: none; }
@media (max-width: 47.99rem) { .crumbs { display: none; } }

/* ── Single product ───────────────────────────────────────────────────────── */
.product { display: grid; gap: 1.5rem; }
@media (min-width: 56rem) { .product { grid-template-columns: minmax(0, 54fr) minmax(0, 46fr); gap: 4rem; align-items: start; } }
.gallery { position: sticky; top: 6rem; }
@media (max-width: 55.99rem) { .gallery { position: static; margin-inline: calc(-1 * var(--pad)); } }
.gallery__main { position: relative; display: block; width: 100%; padding: 0; border: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--vc-stage); cursor: zoom-in; }
.gallery__main::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgb(122 87 22 / .12); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 55.99rem) {
  .gallery__main { aspect-ratio: 1 / 1; }
  .gallery__main img { object-position: 50% 70%; }
}
.gallery__thumbs { display: flex; gap: .5rem; margin-top: .75rem; overflow-x: auto; }
@media (max-width: 55.99rem) { .gallery__thumbs { padding-inline: var(--pad); } }
.gallery__thumbs button { flex: none; width: 4.5rem; aspect-ratio: 4 / 5; padding: 0; border: 1px solid var(--vc-foil); overflow: hidden; background: var(--vc-stage); cursor: pointer; }
@media (max-width: 55.99rem) { .gallery__thumbs button { width: 3.25rem; } }
.gallery__thumbs button[aria-current="true"] { border: 2px solid; border-image: var(--vc-foil-grad) 1; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.product__cat { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: var(--t-sm); font-weight: 600; color: var(--vc-antique); text-decoration: none; }
.product__title { margin: 0 0 .5rem; font-size: clamp(1.625rem, 1.2rem + 1.1vw, 2.25rem); line-height: 1.2; }
[dir="rtl"] .product__title { font-size: clamp(1.875rem, 1.3rem + 1.4vw, 2.625rem); line-height: 1.5; }
.product__price { margin-bottom: 1.25rem; color: var(--vc-antique); font-size: 1.5rem; font-weight: 600; line-height: 1.3; }
@media (min-width: 48rem) { .product__price { font-size: 1.75rem; } }
.product__price del { font-size: var(--t-base); font-weight: 400; color: var(--vc-ash); }
.product__price ins { text-decoration: none; }
.product__lead { margin-bottom: 1.5rem; font-family: var(--vc-font-display); font-size: 1.125rem; line-height: 1.55; }
[dir="rtl"] .product__lead { font-family: var(--vc-font-book-ar); line-height: 1.75; }
@media (min-width: 64rem) { .product__lead { font-size: 1.25rem; } }
.product__lead p:last-child { margin: 0; }
.stock { display: inline-flex; align-items: center; gap: .45rem; font-size: var(--t-sm); margin-bottom: 1.25rem; }
.stock::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; }
.stock.in-stock { color: var(--vc-ok); }
.stock.out-of-stock { color: var(--vc-error); }

.buy { scroll-margin-top: 5rem; }
.variations { margin-bottom: .75rem; }
.variations .field > label { font-size: var(--t-sm); font-weight: 600; }
.reset_variations { display: inline-flex; align-items: center; min-height: 2.75rem; margin-bottom: .25rem; font-size: var(--t-sm); color: var(--vc-smoke); }
.single_variation .woocommerce-variation-price { font-size: 1.5rem; font-weight: 600; color: var(--vc-antique); margin-bottom: .5rem; }
.single_variation .woocommerce-variation-availability .stock { margin-bottom: .75rem; }
.single_variation:empty { display: none; }
.woocommerce-variation-add-to-cart-disabled .single_add_to_cart_button { filter: saturate(.3); opacity: .6; box-shadow: none; cursor: not-allowed; }
.buy__row { display: flex; gap: .75rem; align-items: stretch; margin-top: 1rem; }
.buy__row .btn { flex: 1; min-height: 3.5rem; }
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--vc-line-ui); border-radius: var(--radius-in); background: var(--vc-paper); }
.buy__row .qty { min-height: 3.5rem; }
.qty button { width: 2.75rem; min-height: 2.75rem; border: 0; background: none; cursor: pointer; font-size: 1.15rem; color: var(--vc-oud); }
.qty button:hover { color: var(--vc-antique); background: var(--vc-sand-lt); }
.qty input {
  width: 3rem; border: 0; text-align: center; font: inherit; font-weight: 600; color: var(--vc-oud); background: none;
  -moz-appearance: textfield;
}
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.product__aside { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.5rem; margin-top: 1rem; font-size: var(--t-sm); }
.product__aside a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--vc-antique); font-weight: 600; }

/* Scent profile: an ivory panel under a foil line; the notes settle like oil, lightest on top. */
.scent {
  margin-bottom: 1.25rem; padding: 1.25rem; background: var(--vc-paper);
  border-style: solid; border-width: 3px 0 0; border-image: var(--vc-foil-grad) 1;
  box-shadow: inset 0 0 0 1px var(--vc-foil), 0 1px 0 var(--vc-foil);
}
@media (min-width: 48rem) { .scent { padding: 1.5rem; } }
.scent .scent__title { margin-bottom: .25rem; font-family: var(--vc-font-body); font-size: var(--t-sm); font-weight: 600; line-height: 1.5; color: var(--vc-smoke); }
.scent__family { margin-bottom: 1rem; font-family: var(--vc-font-display); font-size: 1.3125rem; line-height: 1.4; color: var(--vc-antique); }
[dir="rtl"] .scent__family { font-family: var(--vc-font-display-ar); font-weight: 700; font-size: 1.75rem; line-height: 1.5; }
.scent dl { margin: 0; }
.scent dd { margin: 0; }
.scent__notes { display: grid; margin-bottom: 1rem !important; }
.scent__note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .125rem 1rem; min-height: 3.25rem; padding: .5rem 1rem; }
.scent__note--top { background: var(--vc-sand-lt); }
.scent__note--heart { background: var(--vc-sand); }
.scent__note--base { background: var(--vc-sand-dk); }
.scent__note dt { font-size: var(--t-sm); color: var(--vc-smoke); }
.scent__note dd { font-size: .9375rem; font-weight: 600; color: var(--vc-oud); }
.scent__scales > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1rem; padding-block: .6rem; border-top: 1px solid var(--vc-foil); }
.scent__scales dt { font-size: var(--t-sm); color: var(--vc-smoke); }
.scent__scales dd { display: inline-flex; align-items: center; gap: .75rem; font-size: var(--t-sm); font-weight: 600; }
/* One khatam per step of the attribute's own scale; the text value is what screen readers get. */
.meter { display: inline-flex; gap: 6px; }
.meter i { width: 14px; height: 14px; background: url(../img/khatam-line.svg) center / contain no-repeat; }
.meter i.on { background-image: url(../img/khatam.svg); }

/* Variation options as chips (the select underneath stays the source of truth). */
.has-chips select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.opt {
  min-height: 2.75rem; padding: 0 1.125rem; border: 1px solid var(--vc-line-ui); background: var(--vc-paper);
  font-size: .9375rem; cursor: pointer; transition: background-color .15s, color .15s;
}
.opt:hover { background: var(--vc-sand-lt); }
.opt[aria-pressed="true"] { border: 1.5px solid #6C4E16; background: var(--vc-foil-grad); color: var(--vc-oud); font-weight: 600; }
.opt:disabled { color: var(--vc-ash); text-decoration: line-through; cursor: not-allowed; }

/* Payment and delivery reassurance under the buy button. */
.assure { display: grid; gap: .45rem; margin: 1.25rem 0 0; padding: 1rem 1.25rem; list-style: none; background: var(--vc-sand-lt); font-size: var(--t-sm); color: var(--vc-oud); }
.assure li { display: flex; align-items: center; gap: .625rem; }
.assure li::before { content: ""; flex: none; width: 10px; height: 10px; background: url(../img/khatam.svg) center / contain no-repeat; }

/* How to wear / burn: the shop's own advice, per kind. */
.how { max-width: 44rem; margin-top: 4rem; }
.how h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: .75rem; }

.specs { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.specs th, .specs td { padding: .75rem 0; border-bottom: 1px solid var(--vc-foil); text-align: start; vertical-align: top; }
.specs th { width: 35%; font-weight: 400; color: var(--vc-smoke); }
.grouped_form .specs th a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--vc-oud); font-weight: 600; }

.stars { display: inline-flex; gap: 3px; vertical-align: middle; }
.stars i { width: 16px; height: 16px; background: url(../img/khatam-line.svg) center / contain no-repeat; }
.stars i.on { background-image: url(../img/khatam.svg); }
.review { padding-block: 1.25rem; border-bottom: 1px solid var(--vc-foil); }
.review__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .4rem; }
.review__who { font-weight: 600; }
.review p { font-family: var(--vc-font-display); font-size: 1.0625rem; line-height: 1.6; }
[dir="rtl"] .review p { font-family: var(--vc-font-book-ar); font-size: 1.125rem; line-height: 1.75; }
.review__date { font-size: var(--t-xs); color: var(--vc-smoke); }
.rate { display: flex; gap: .15rem; direction: ltr; }

.rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate label { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; font-size: 1.85rem; line-height: 1; color: var(--vc-line-ui); cursor: pointer; }
/* Fill the chosen star and every star before it (stars are in DOM order 5→1, shown 1→5). */
.rate { flex-direction: row-reverse; justify-content: flex-end; }
[dir="rtl"] .rate { justify-content: flex-start; }
.rate label:hover, .rate label:hover ~ label, .rate input:checked ~ label { color: var(--vc-antique); }
.rate input:focus-visible + label { outline: 2px solid var(--vc-antique); }

.prose > p:first-child { font-family: var(--vc-font-display); font-size: 1.125rem; line-height: 1.55; }
[dir="rtl"] .prose > p:first-child { font-family: var(--vc-font-book-ar); line-height: 1.75; }

/* Lightbox: native <dialog>. */
.lightbox { max-width: min(92vw, 60rem); max-height: 92vh; padding: 0; border: 0; background: transparent; }
.lightbox::backdrop { background: rgb(42 28 18 / .88); }
.lightbox img { max-height: 88vh; width: auto; margin: auto; }
.lightbox__close { position: fixed; top: 1rem; inset-inline-end: 1rem; color: var(--vc-paper); }

/* Phone buy bar: resin, fixed to the bottom while the page's own buy row is off screen. */
.buybar {
  position: fixed; z-index: 45; inset-inline: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: calc(4rem + env(safe-area-inset-bottom)); padding: .5rem 1rem calc(.5rem + env(safe-area-inset-bottom));
  background: var(--vc-resin); color: var(--vc-pale-gold);
}
.buybar__price { font-size: 1.125rem; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.buybar .btn { min-height: 3rem; box-shadow: none; }
.buybar :focus-visible { outline-color: var(--vc-pale-gold); }
@media (min-width: 56rem) { .buybar { display: none !important; } }
body.has-buybar { padding-bottom: calc(4rem + env(safe-area-inset-bottom)); }
body.has-buybar .toast { bottom: calc(5rem + env(safe-area-inset-bottom)); }

/* ── Cart ─────────────────────────────────────────────────────────────────── */
.split { display: grid; gap: 2rem; }
@media (min-width: 60rem) { .split { grid-template-columns: minmax(0, 1fr) 22rem; gap: 3rem; align-items: start; } .split > aside { position: sticky; top: 6rem; } }
.lines { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--vc-foil); }
.line { display: grid; grid-template-columns: 6rem minmax(0, 1fr) auto; gap: 1rem; padding-block: 1.25rem; border-bottom: 1px solid var(--vc-foil); }
.line__media { position: relative; aspect-ratio: 4 / 5; background: var(--vc-stage); overflow: hidden; }
.line__media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgb(122 87 22 / .12); }
.line__media img { width: 100%; height: 100%; object-fit: cover; }
.line__name { font-weight: 600; text-decoration: none; }
.line__meta { font-size: var(--t-sm); color: var(--vc-smoke); margin-top: .2rem; }
.line__extra { font-size: var(--t-xs); color: var(--vc-smoke); margin-top: .35rem; }
.line__controls { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: .75rem; }
.line__controls .qty input { width: 2.5rem; }
.line__controls .link-quiet, .cart-foot :is(a, button) { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; }
.line__total { font-weight: 600; text-align: end; white-space: nowrap; }
.cart-foot { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; font-size: var(--t-sm); }

/* Order summary (cart and checkout): a sand panel under a foil line. */
.split > aside.panel { background: var(--vc-sand); border: 0; border-top: 3px solid; border-image: var(--vc-foil-grad) 1; }
.summary__rows { margin: 0; }
.summary__row { display: flex; justify-content: space-between; gap: 1rem; padding-block: .55rem; font-size: var(--t-sm); }
.summary__row dt { color: var(--vc-smoke); }
.summary__row dd { margin: 0; text-align: end; }
.summary__row--total { margin-top: .5rem; padding-top: .9rem; border-top: 1px solid var(--vc-line-ui); font-size: var(--t-base); font-weight: 600; }
.summary__row--total dd { color: var(--vc-oud); font-size: 1.5rem; }
.summary__note { font-size: var(--t-xs); color: var(--vc-smoke); margin: .75rem 0 1.25rem; }
.summary__items { margin: 0 0 .5rem; padding: 0 0 .75rem; list-style: none; border-bottom: 1px solid var(--vc-line-ui); }
.summary__items li { display: flex; justify-content: space-between; gap: 1rem; padding-block: .3rem; font-size: var(--t-sm); }
.summary__items span:first-child { color: var(--vc-smoke); }
.summary__opts { display: block; font-size: var(--t-xs); }
.summary .btn { margin-top: .5rem; min-height: 3.5rem; }
#place_order { min-height: 3.5rem; }
.coupon { display: flex; gap: .5rem; }
.coupon .input { flex: 1; }
.coupon__msg { margin: .5rem 0 0; font-size: var(--t-sm); }
.coupon__msg.is-ok { color: var(--vc-ok); }
.coupon__msg.is-error { color: var(--vc-error); }

/* Empty states. */
.empty { text-align: center; padding-block: 4rem; }
.empty h2 { font-size: var(--t-lg); margin-bottom: .5rem; }
.empty p { color: var(--vc-smoke); margin-bottom: 1.75rem; }

/* ── Notices (WooCommerce) ────────────────────────────────────────────────── */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem;
  margin: 0 0 1.5rem; padding: .9rem 1.1rem; list-style: none;
  border: 1px solid var(--vc-foil); border-inline-start: 3px solid var(--vc-leaf); border-radius: var(--radius);
  background: var(--vc-paper); font-size: var(--t-sm);
}
.woocommerce-error { border-inline-start-color: var(--vc-error); display: block; }
.woocommerce-error li + li { margin-top: .35rem; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; color: var(--vc-antique); font-weight: 600; text-decoration: underline; background: none; border: 0; }
.blockUI.blockOverlay { background: rgb(255 253 248 / .6) !important; }

/* Toast after add-to-cart. */
.toast {
  position: fixed; z-index: 60; inset-inline: 1rem; bottom: 1rem; margin-inline: auto; max-width: 24rem;
  display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 1.1rem;
  background: var(--vc-resin); color: var(--vc-paper); font-size: var(--t-sm);
  transform: translateY(150%); transition: transform .3s var(--ease);
}
.toast.is-visible { transform: none; }
.toast a { color: var(--vc-pale-gold); font-weight: 600; }
.toast :focus-visible { outline-color: var(--vc-pale-gold); }

/* ── Order received + account ─────────────────────────────────────────────── */
.thanks { text-align: center; padding-block: 2rem 2.5rem; }
.thanks__seal { width: 3.5rem; height: 3.5rem; margin: 0 auto 1rem; color: var(--vc-leaf); }
.thanks h1 { font-size: var(--t-xl); margin-bottom: .5rem; }
.facts { display: grid; gap: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 2rem; border: 1px solid var(--vc-foil); }
@media (min-width: 48rem) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts div { padding: 1rem 1.1rem; border-bottom: 1px solid var(--vc-foil); }
.facts dt { font-size: var(--t-xs); color: var(--vc-smoke); }
.facts dd { margin: .2rem 0 0; font-weight: 600; }
.status { display: inline-block; padding: .1rem .6rem; border-radius: 2rem; font-size: var(--t-xs); font-weight: 600; background: var(--vc-mist); }
.status--processing, .status--completed { background: #E7F0E9; color: var(--vc-ok); }
.status--failed, .status--cancelled { background: #F6E5E2; color: var(--vc-error); }
.status--pending, .status--on-hold { background: var(--vc-sand-lt); color: var(--vc-antique-dk); }

.account { display: grid; gap: 2rem; }
@media (min-width: 56rem) { .account { grid-template-columns: 14rem minmax(0, 1fr); gap: 3rem; } }
.account-nav ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--vc-foil); }
.account-nav a { display: flex; align-items: center; min-height: 2.75rem; border-bottom: 1px solid var(--vc-foil); text-decoration: none; font-size: var(--t-sm); }
.account-nav .is-active a { color: var(--vc-antique); font-weight: 600; }
.table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.table th, .table td { padding: .75rem .5rem; border-bottom: 1px solid var(--vc-foil); text-align: start; }
.table th { font-weight: 600; color: var(--vc-smoke); }
.auth { max-width: 26rem; margin-inline: auto; }
.auth .page-title { text-align: center; }
.auth__switch { text-align: center; margin-top: 1.5rem; font-size: var(--t-sm); color: var(--vc-smoke); }
.check { display: flex; align-items: center; gap: .5rem; font-size: var(--t-sm); margin-bottom: 1rem; }
.check input { accent-color: var(--vc-antique); }

/* Plain page content. */
.prose { max-width: 44rem; }
.prose h2 { font-size: var(--t-md); margin: 2rem 0 .75rem; }

/* ── Footer: deep resin under a sadu band ─────────────────────────────────── */
.foot { margin-top: 0; background: var(--vc-resin-dk); color: var(--vc-paper); }
.foot > .sadu { margin: 0; }
.foot__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.5rem; padding-block: 3.5rem 2rem; }
.foot__grid > :first-child, .foot__grid > :last-child { grid-column: 1 / -1; }
@media (min-width: 48rem) {
  .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .foot__grid > :first-child, .foot__grid > :last-child { grid-column: auto; }
}
.foot__brand .brand { color: var(--vc-paper); }
.foot__brand .brand__mark { width: 1.75rem; height: 1.75rem; }
.foot__brand .brand__name { font-size: 2rem; white-space: normal; }
[dir="rtl"] .foot__brand .brand__name { font-size: 2rem; }
.foot__about { max-width: 22rem; margin-top: 1rem; font-family: var(--vc-font-display); font-size: 1.0625rem; line-height: 1.6; color: var(--vc-pale-gold); }
[dir="rtl"] .foot__about { font-family: var(--vc-font-book-ar); line-height: 1.75; }
.foot h2 { font-family: var(--vc-font-body); font-size: var(--t-sm); font-weight: 600; margin-bottom: .75rem; color: var(--vc-pale-gold); }
[dir="rtl"] .foot h2 { font-family: var(--vc-font-body); font-weight: 600; line-height: 1.5; }
.foot ul { margin: 0; padding: 0; list-style: none; }
.foot li { display: flex; align-items: center; min-height: 2.75rem; font-size: .9375rem; }
.foot li > a { display: flex; align-items: center; min-height: 2.75rem; }
@media (min-width: 48rem) { .foot li, .foot li > a { min-height: 2rem; } }
.foot a { text-decoration: none; color: var(--vc-paper); }
.foot a:hover { color: var(--vc-pale-gold); text-decoration: underline; }
.foot :focus-visible { outline-color: var(--vc-pale-gold); }
.pay-marks { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.25rem; }
.pay-marks svg { height: 1.5rem; width: auto; }
.foot__base {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem;
  border-top: 1px solid rgb(243 217 155 / .2); font-size: .8125rem; color: #CDB99A;
}
.foot__base p { margin: 0; }
.foot__base a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--vc-pale-gold); }

/* ── Plugin markup, themed ────────────────────────────────────────────────── */
select.vc-currency, .vc-currency select { min-height: 2.75rem; border: 0; background-color: transparent; font: inherit; font-size: var(--t-sm); font-weight: 600; color: var(--vc-oud); cursor: pointer; }
.vc-currency .vcgc-picker__button { border-color: var(--vc-line-ui); color: var(--vc-oud); }
.vc-currency .vcgc-picker__list { background: var(--vc-paper); color: var(--vc-oud); border: 1px solid var(--vc-foil); }
.vc-currency .vcgc-picker__option[aria-selected="true"] { color: var(--vc-antique); }
/* VibeCraft Customization panel: ivory, square, with a slim sadu above it (theme template). */
.vcc-panel { border-radius: 0; background: var(--vc-paper); border: 1px solid var(--vc-line-ui); padding: 1.25rem; }
.vcc-text, .vcc-preview { border-radius: var(--radius-in); }
.vcc-fee { border-radius: 0; background: var(--vc-sand-lt); color: var(--vc-antique); }
.vcc-upload { border-radius: 0; min-height: 2.75rem; } /* its file input fills it, so this is the tap area */

/* WooCommerce item data (size, scent, engraving) under cart and order lines. */
dl.variation { display: grid; grid-template-columns: auto 1fr; gap: .1rem .5rem; margin: 0; }
dl.variation dt { font-weight: 600; }
dl.variation dd { margin: 0; }
dl.variation p { margin: 0; }
/* WooCommerce terms + privacy text at checkout; the coupon form stays visible (WC hides it by default). */
.woocommerce-terms-and-conditions-wrapper { font-size: var(--t-xs); color: var(--vc-smoke); margin-top: 1rem; }
.woocommerce-privacy-policy-text p { margin: 0 0 .5rem; }
form.checkout_coupon { display: block !important; }
.coupon-error-notice { color: var(--vc-error); font-size: var(--t-xs); margin-top: .35rem; }

/* Cart / checkout / thank-you run inside page.php (WooCommerce shortcodes). */
.wc-view.wrap--narrow { margin-inline: auto; }

/* ── Motion and media preferences ─────────────────────────────────────────── */

/* ── Live search results (header search, and inside the phone menu) ───────────── */
form.search { position: relative; }
.suggest {
  position: absolute; inset-inline: 0; top: calc(100% + .5rem); z-index: 60; min-width: 20rem;
  background: var(--vc-paper); border: 1px solid var(--vc-foil); box-shadow: 0 18px 36px -18px rgb(62 38 20 / .45);
}
.suggest[hidden] { display: none; }
/* In the phone menu the results take their own full-width line under the box. */
.drawer form.search { flex-wrap: wrap; border-bottom: 0; }
.drawer form.search:focus-within { box-shadow: none; }
/* The underline belongs to the box row, not to the results under it. */
.drawer form.search > :is(input, button) { border-bottom: 1px solid var(--vc-line-ui); }
.drawer form.search:focus-within > :is(input, button) { border-bottom-color: var(--vc-antique); box-shadow: 0 1px 0 var(--vc-antique); }
.drawer .suggest { position: static; flex: 1 0 100%; min-width: 0; margin-top: .5rem; box-shadow: none; }
.suggest__list { margin: 0; padding: .25rem 0; list-style: none; }
.suggest__item { display: flex; align-items: center; gap: .75rem; min-height: 3.5rem; padding: .375rem .75rem; color: var(--vc-oud); text-decoration: none; }
.suggest__item:hover, .suggest__item:focus-visible { background: var(--vc-sand-lt); }
.suggest__item:focus-visible { outline-offset: -2px; }
.suggest__item img { flex: none; width: 2.5rem; height: 3.125rem; object-fit: cover; background: var(--vc-stage); }
.suggest__text { display: grid; min-width: 0; }
.suggest__name { overflow: hidden; font-size: var(--t-sm); font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
[dir="rtl"] .suggest__name { font-family: var(--vc-font-book-ar); font-size: 1rem; font-weight: 700; }
.suggest__price { font-size: var(--t-xs); color: var(--vc-antique); }
.suggest__all { display: flex; align-items: center; min-height: 2.75rem; padding: 0 .75rem; border-top: 1px solid var(--vc-foil); color: var(--vc-antique); font-size: var(--t-sm); font-weight: 600; }
.suggest__all:focus-visible { outline-offset: -2px; }
.suggest__empty { margin: 0; padding: .875rem .75rem; color: var(--vc-smoke); font-size: var(--t-sm); }

/* ── Cart drawer: lines scroll, the subtotal and the two buttons stay at the bottom ── */
.drawer--cart { margin-inline: auto 0; width: min(26rem, 92vw); padding: 0; }
.drawer--cart[open] { display: flex; flex-direction: column; }
.drawer--cart .drawer__head { margin: 0; padding: .75rem .75rem .75rem 1.25rem; border-bottom: 1px solid var(--vc-foil); }
[dir="rtl"] .drawer--cart .drawer__head { padding: .75rem 1.25rem .75rem .75rem; }
.drawer__title { margin: 0; font-size: 1.375rem; }
.drawer__title:focus { outline: none; }
.nasaeem-mini-cart { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.nasaeem-mini-cart[aria-busy="true"] { opacity: .55; }
.lines--mini { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding-inline: 1.25rem; border-top: 0; }
.lines--mini .line { grid-template-columns: 4.5rem minmax(0, 1fr) auto; gap: .875rem; padding-block: 1rem; }
.lines--mini .line:last-child { border-bottom: 0; }
.lines--mini .line__name { font-size: var(--t-sm); }
[dir="rtl"] .lines--mini .line__name { font-family: var(--vc-font-book-ar); font-size: 1.0625rem; }
.lines--mini .line__controls { margin-top: .5rem; }
/* Phones: the line total moves under the controls so the name keeps its width. */
@media (max-width: 29.99rem) {
  .lines--mini .line { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .lines--mini .line__total { grid-column: 2; text-align: start; }
}
.mini-foot { display: grid; gap: .5rem; padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--vc-foil); background: var(--vc-sand-lt); }
.mini-foot__row { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font-size: var(--t-sm); }
.mini-foot__row strong { font-size: 1.125rem; }
.mini-foot .hint { margin: 0 0 .5rem; }
.mini-empty { display: grid; justify-items: center; gap: 1rem; padding: 3rem 1.25rem; color: var(--vc-smoke); text-align: center; }
.mini-empty p { margin: 0; }

/* ── Shop filters: scent family and occasion, as chips ───────────────────────── */
.filters { display: grid; gap: .875rem; margin-bottom: 1.5rem; }
.filters__group { display: grid; gap: .375rem; min-width: 0; }
@media (min-width: 48rem) { .filters__group { grid-template-columns: 9rem minmax(0, 1fr); align-items: center; gap: 1rem; } }
.filters__label { color: var(--vc-smoke); font-size: var(--t-sm); }
/* Choices wrap rather than scroll, so the selected one is never off screen. */
.filters__list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1rem; border: 1px solid var(--vc-line-ui);
  background: var(--vc-paper); color: var(--vc-oud); font-size: .9375rem; text-decoration: none; white-space: nowrap;
  transition: background-color .15s;
}
@media (hover: hover) { .chip:hover { background: var(--vc-sand-lt); } }
.chip[aria-current] { border: 1.5px solid #6C4E16; background: var(--vc-foil-grad); font-weight: 600; }


/* ── Back-in-stock form (VibeCraft Stock Alerts) ─────────────────────────────── */
.vcsa { margin: 0 0 1.25rem; padding: 1.25rem 1.25rem .25rem; border: 1px solid var(--vc-foil); background: var(--vc-paper); }
.vcsa__title { margin: 0 0 .35rem; font-size: 1.375rem; }
.vcsa__intro { margin: 0 0 1.1rem; color: var(--vc-smoke); font-size: var(--t-sm); }
.vcsa__msg { margin: 0 0 1rem; padding: .75rem 1rem; background: var(--vc-sand-lt); color: var(--vc-oud); font-size: var(--t-sm); }
.vcsa__msg[data-state="error"] { color: var(--vc-error); }
.vcsa .btn { min-height: 3.5rem; }
.vcsa__privacy { margin: .6rem 0 1rem; }
.vcsa__privacy a { color: var(--vc-antique); }
/* Phone and email read left to right; in Arabic they still line up with their labels. */
[dir="rtl"] .vcsa input[dir="ltr"] { text-align: right; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media (forced-colors: active) {
  .foil-text { background: none; color: CanvasText; }
  .btn, .card__action, .opt { border: 1px solid ButtonText; }
  /* Selection is shown by colour and gradient elsewhere; here it needs a system-colour mark of its own. */
  .opt[aria-pressed="true"], .gallery__thumbs button[aria-current="true"], .chip[aria-current] { outline: 3px solid Highlight; outline-offset: 1px; border-image: none; }
  .cats a[aria-current], .drawer__langs a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .3em; }
}
@media print {
  .masthead, .announce, .cats, .foot, .toast, .buybar, .sadu { display: none; }
  .foil-text { background: none; color: var(--vc-antique); -webkit-text-fill-color: currentColor; }
}
/* WordPress' own rule, kept here so sale-price notes stay hidden even if core CSS is dequeued. */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* My account → orders: Newer / Older links under the table. */
.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.pager .link:only-child { margin-inline-start: auto; }
