@font-face {
  font-family: "Cairo";
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Cairo-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Cairo";
  font-weight: 700;
  font-display: swap;
  src: url("fonts/Cairo-Bold.woff2") format("woff2");
}
/* Display face for headings and product names only: Naskh for Arabic, Cormorant for Latin.
   Single static weights subset from the Google Fonts OFL files; the browser fetches only the script a page uses. */
@font-face {
  font-family: "KF Display";
  font-weight: 400;
  font-display: swap;
  src: url("fonts/NotoNaskhArabic-Display.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+200C-200F, U+25CC;
}
/* Real bold Naskh (Google Fonts Arabic subset) so the hero headline holds up over busy banners. */
@font-face {
  font-family: "KF Display";
  font-weight: 700;
  font-display: swap;
  src: url("fonts/NotoNaskhArabic-Bold.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+200C-200F, U+25CC;
}
@font-face {
  font-family: "KF Display";
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/CormorantGaramond-Display.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201E, U+2022, U+2026, U+20AC;
}
@font-face {
  font-family: "Pinyon Script";
  font-display: swap;
  src: url("fonts/PinyonScript-Regular.woff2") format("woff2");
}

/* Pages cross-fade and the tapped product image travels to its detail page. */
@view-transition { navigation: auto; }

:root {
  --page: #ffffff;
  --ink: #0d0d0d;
  --ink-soft: #55504a;
  --line: #e7e2d6;
  --line-strong: #8a8478; /* 3.7:1 on white: borders of fields and controls */
  --sand: #f9f4e3;
  --gold: #d4af37;
  --gold-text: #8a6508; /* 5.3:1 on white, for small text */
  --danger: #b3261e;
  --on-ink: #ffffff; /* text on an ink-coloured surface */
  --on-gold: #0d0d0d; /* text on a gold surface, the same in both themes */
  --glass: rgba(255, 255, 255, 0.92);
  --ok-bg: #e6f4ea;
  --ok-text: #1e6b3a;
  --ok-track: rgba(30, 107, 58, 0.2);
  --danger-bg: #fdecea;
  --gold-hairline: rgba(138, 101, 8, 0.25);
  --gold-track: rgba(138, 101, 8, 0.2);
  --show-sun: none;
  --show-moon: block;
  color-scheme: light;
  --media-scrim: rgba(13, 13, 13, 0.78); /* over photos: the same in both themes */
  --on-media: #ffffff;
  --logo-disc: #ffffff; /* brand logos are drawn on white, so the disc stays white in dark mode too */
  --shadow-float: 0 1px 2px rgba(13, 13, 13, 0.12), 0 4px 12px rgba(13, 13, 13, 0.1); /* controls floating over photos */
  --font-display: "KF Display", "Cairo", Georgia, serif;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --header-h: 72px;
}

/* Dark palette from the app's dark theme (AppColors); the same list serves the system setting and the manual override. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --page: #0d0d0d;
  --ink: #fafafa;
  --ink-soft: #b0b0b0;
  --line: #2e2e2e;
  --line-strong: #8a8a8a; /* 5.5:1 on the page, 4.7:1 on sand */
  --sand: #1e1e1e;
  --gold-text: #e8d48a;
  --danger: #ff6f69;
  --on-ink: #0d0d0d;
  --glass: rgba(13, 13, 13, 0.92);
  --ok-bg: #12301c;
  --ok-text: #7fd49a;
  --ok-track: rgba(127, 212, 154, 0.25);
  --danger-bg: #3a1613;
  --gold-hairline: rgba(232, 212, 138, 0.3);
  --gold-track: rgba(232, 212, 138, 0.2);
  --show-sun: block;
  --show-moon: none;
  color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --page: #0d0d0d;
  --ink: #fafafa;
  --ink-soft: #b0b0b0;
  --line: #2e2e2e;
  --line-strong: #8a8a8a; /* 5.5:1 on the page, 4.7:1 on sand */
  --sand: #1e1e1e;
  --gold-text: #e8d48a;
  --danger: #ff6f69;
  --on-ink: #0d0d0d;
  --glass: rgba(13, 13, 13, 0.92);
  --ok-bg: #12301c;
  --ok-text: #7fd49a;
  --ok-track: rgba(127, 212, 154, 0.25);
  --danger-bg: #3a1613;
  --gold-hairline: rgba(232, 212, 138, 0.3);
  --gold-track: rgba(232, 212, 138, 0.2);
  --show-sun: block;
  --show-moon: none;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 16px/1.7 "Cairo", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); /* room for the mobile tab bar */
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; touch-action: manipulation; }
h1, h2, p, ul, ol, fieldset { margin: 0; padding: 0; border: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }

.skip-link { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--ink); color: var(--on-ink); padding: 8px 16px; z-index: 100; }
.skip-link:focus { top: 8px; }

/* ---------- bars ---------- */
.announcement { overflow: hidden; white-space: nowrap; font-size: 13px; line-height: 36px; }
.announcement-track { display: inline-flex; animation: marquee 40s linear infinite; }
.announcement-track span { padding-inline: 24px; }
.announcement:hover .announcement-track, .announcement:focus-within .announcement-track { animation-play-state: paused; }
[dir="rtl"] .announcement-track { animation-name: marquee-rtl; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
/* Free-shipping progress and the welcome offer share one row, halves on phones, so the hero starts higher. */
.shipping-bar { display: flex; justify-content: center; background: var(--sand); color: var(--gold-text); text-align: center; font-size: 12px; line-height: 1.35; font-weight: 700; transition: background 300ms, color 300ms; }
.shipping-bar.is-reached { background: var(--ok-bg); color: var(--ok-text); }
.shipping-bar-main, .shipping-offer { flex: 1 1 0; min-width: 0; display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 44px; padding: 4px 10px; color: inherit; }
.shipping-offer { display: flex; align-items: center; justify-content: center; gap: 6px; border-inline-start: 1px solid var(--gold-hairline); }
.shipping-offer svg { width: 16px; height: 16px; flex: none; }
.shipping-progress { display: block; width: min(420px, 100%); height: 4px; border-radius: 4px; background: var(--gold-track); overflow: hidden; }
.shipping-bar.is-reached .shipping-progress { background: var(--ok-track); }
.shipping-progress i { display: block; height: 100%; width: calc(var(--ratio, 0) * 100%); background: currentColor; transition: width 400ms var(--ease); }
/* Phones keep the offer row's space until it is known whether there is an offer, so the page does not jump. */
@media (max-width: 699px) {
  .shipping-bar.is-offer-pending .shipping-offer { display: flex !important; visibility: hidden; }
}
@media (min-width: 700px) {
  .shipping-bar { font-size: 13px; }
  .shipping-bar-main, .shipping-offer { flex: 0 1 auto; padding-inline: 20px; }
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  min-height: var(--header-h); padding: 6px var(--gutter);
  background: var(--page);
  border-bottom: 1px solid transparent; transition: border-color 200ms;
}
.site-header.is-scrolled { border-color: var(--line); }
.logo { grid-column: 2; grid-row: 1; }
.logo img { height: 56px; width: auto; max-width: none; }
.search { grid-column: 1 / -1; grid-row: 2; display: flex; align-items: center; border-bottom: 1px solid var(--line-strong); transition: border-color 200ms; }
.search:focus-within { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: 2px; }
.search input { flex: 1; min-width: 0; height: 44px; border: 0; background: none; outline: none; }
.search button, .cart-button, .search-toggle { width: 44px; height: 44px; display: grid; place-items: center; }
/* Phones: search folds into an icon beside the cart and opens as a row under the header.
   Without the script the row simply stays open. */
.search-toggle { display: none; grid-column: 3; grid-row: 1; justify-self: end; margin-inline-end: 44px; }
@media (max-width: 899px) {
  .js-search .search-toggle { display: grid; }
  .js-search .site-header:not(.is-search-open) .search { display: none; }
  /* Animated only when the visitor opens it, not when a results page loads open. */
  .site-header.is-search-toggled .search { animation: rise 200ms var(--ease); }
  .site-header.is-search-open .search-toggle { color: var(--gold-text); }
}
.header-tools { grid-column: 1; grid-row: 1; justify-self: start; display: flex; align-items: center; }
.languages { position: relative; font-size: 13px; }
.theme-toggle { width: 44px; height: 44px; display: grid; place-items: center; }
.theme-toggle .icon-sun { display: var(--show-sun); }
.theme-toggle .icon-moon { display: var(--show-moon); }
.languages summary { list-style: none; cursor: pointer; height: 44px; min-width: 44px; display: grid; place-items: center; letter-spacing: 0.08em; }
.languages summary::-webkit-details-marker { display: none; }
.languages-menu { position: absolute; inset-inline-start: 0; top: 100%; background: var(--page); border: 1px solid var(--line); min-width: 150px; padding: 6px 0; }
.languages-menu a { display: flex; align-items: center; min-height: 44px; padding: 0 16px; }
.languages-menu a:hover, .languages-menu a[aria-current] { background: var(--sand); }
.cart-button { grid-column: 3; grid-row: 1; justify-self: end; position: relative; }
.cart-count { position: absolute; top: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--ink); color: var(--on-ink); font-size: 11px; line-height: 18px; text-align: center; }
.cart-count.is-bumped { animation: bump 400ms var(--ease); }
@keyframes bump { 40% { transform: scale(1.5); } }

/* Mobile: the two top-level destinations sit in a bottom tab bar, like the app. */
.site-nav {
  position: fixed; inset: auto 0 0 0; z-index: 40;
  display: flex; justify-content: space-around;
  background: var(--page); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.site-nav a { flex: 1; min-height: 64px; display: grid; place-items: center; align-content: center; gap: 2px; font-size: 12px; color: var(--ink-soft); }
.site-nav a[aria-current] { color: var(--ink); font-weight: 700; position: relative; }
/* Gold marks where you are: a short bar on the tab, the underline on desktop. */
.site-nav a[aria-current]::before { content: ""; position: absolute; top: 0; inset-inline: 30%; height: 2px; background: var(--gold); }

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .site-header { grid-template-rows: auto auto; row-gap: 0; background: var(--glass); backdrop-filter: blur(12px); }
  .site-nav { position: static; grid-column: 1 / -1; grid-row: 2; justify-content: center; gap: 40px; border: 0; background: none; padding: 0; }
  .site-nav a { flex: none; min-height: 44px; font-size: 14px; letter-spacing: 0.04em; position: relative; }
  .site-nav svg { display: none; }
  .site-nav a::after { content: ""; position: absolute; inset: auto 0 6px 0; height: 1px; background: var(--ink); transform: scaleX(0); transition: transform 300ms var(--ease); }
  .site-nav a:hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); }
  .site-nav a[aria-current]::before { display: none; }
  .site-nav a[aria-current]::after { background: var(--gold); height: 2px; }
  .logo img { height: 64px; }
  .search { grid-column: 1; grid-row: 1; max-width: 280px; }
  .header-tools { grid-column: 3; justify-self: end; margin-inline-end: 52px; }
  .languages-menu { inset-inline: auto 0; }
}

/* ---------- shared blocks ---------- */
.section { padding: clamp(36px, 5vw, 72px) var(--gutter); max-width: 1440px; margin-inline: auto; }
/* Type scale 16 / 20 / 28 / 40 / 56: the display face carries headings and product names, Cairo the rest. */
.section-title, .page-title, .product-info h1, .card-name, .hero h1 { font-family: var(--font-display); font-weight: 400; text-wrap: balance; }
.section-title { font-size: clamp(24px, 2.6vw, 28px); line-height: 1.35; margin-bottom: 24px; }
.section-title::after { content: ""; display: block; width: 40px; height: 1px; margin-top: 10px; background: var(--gold); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.more { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.page-title { font-size: clamp(28px, 5vw, 40px); line-height: 1.3; }
.empty { color: var(--ink-soft); padding: 48px 0; text-align: center; }
.catalog-empty { display: grid; justify-items: center; gap: 12px; }
.empty-title { font-family: var(--font-display); font-size: 24px; color: var(--ink); }

.button { display: inline-grid; place-items: center; min-height: 52px; padding: 0 36px; font-weight: 700; letter-spacing: 0.04em; transition: background 250ms, color 250ms, transform 150ms; }
.button:active { transform: scale(0.98); }
.button-gold { background: var(--ink); color: var(--on-ink); border: 1px solid var(--ink); }
.button-gold:hover { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.button-wide { width: 100%; }
.button[disabled] { background: var(--line); border-color: var(--line); color: var(--ink-soft); cursor: not-allowed; }

/* ---------- home ---------- */
.hero { text-align: center; padding: clamp(40px, 8vw, 96px) var(--gutter) clamp(32px, 5vw, 56px); display: grid; justify-items: center; gap: 12px; }
.hero-script { font: 400 clamp(44px, 8vw, 96px)/1 "Pinyon Script", cursive; color: var(--gold); direction: ltr; clip-path: inset(0 100% 0 0); animation: write 1600ms var(--ease) 200ms forwards; }
@keyframes write { to { clip-path: inset(0 -10% 0 0); } }
.hero h1 { font-size: clamp(28px, 3.2vw, 46px); font-weight: 700; line-height: 1.25; max-width: 26ch; }
.hero-lead { color: var(--ink-soft); max-width: 46ch; text-wrap: pretty; }
.hero .button { margin-top: 12px; }
/* With banners, the headline sits on the first slide over a bottom scrim, so the offer is the first thing seen. */
.hero-over { position: absolute; inset: auto 0 0 0; z-index: 1; padding: 96px var(--gutter) 52px; gap: 8px; color: var(--on-media); background: linear-gradient(to top, var(--media-scrim) 45%, transparent); pointer-events: none; }
.hero-over > * { pointer-events: auto; }
.hero-over .hero-script { font-size: clamp(36px, 6vw, 64px); }
.hero-over .hero-lead { color: var(--on-media); opacity: 0.85; }
.hero-over .button-gold { background: var(--gold); border-color: var(--gold); color: var(--on-gold); margin-top: 8px; }
.hero-over .button-gold:hover { background: var(--on-media); border-color: var(--on-media); color: var(--on-gold); }
/* Phones: the header already shows the logo, so the overlay keeps only the headline and the button. */
@media (max-width: 699px) {
  .hero-over { padding-top: 64px; }
  .hero-over .hero-lead, .hero-over .hero-script { display: none; }
  .hero-over h1 { font-size: 24px; }
  .hero-over .button { min-height: 48px; }
}
/* The headline and button show at once: they are the first paint, so no delay before them. */
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.banners { position: relative; }
.banners-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.banners-track::-webkit-scrollbar { display: none; }
.banner { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sand); }
.banner img { width: 100%; height: 100%; object-fit: cover; }
.banner-dots { position: absolute; inset: auto 0 0 0; z-index: 2; display: flex; justify-content: center; }
.banner-dots button { width: 44px; height: 44px; display: grid; place-items: center; }
.banner-dots button::before { content: ""; width: 24px; height: 2px; background: rgba(255, 255, 255, 0.5); transition: background 300ms; }
.banner-dots button[aria-current]::before { background: #fff; }
/* Every screen, app included, shows banners at the agreed 1280x720 upload size (16:9), so nothing is cropped.
   On phones that slide is too short for the headline, so it moves under the picture and the dots stay on it. */
@media (max-width: 699px) {
  .hero-over { position: static; padding: 20px var(--gutter) 8px; background: none; color: inherit; }
  .banner-dots { inset: calc(100vw * 9 / 16 - 44px) 0 auto 0; }
}

.brands { display: flex; gap: clamp(16px, 3vw, 40px); overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.brands::-webkit-scrollbar { display: none; }
.brand { flex: none; width: clamp(84px, 10vw, 128px); display: grid; justify-items: center; gap: 10px; font-size: 13px; text-align: center; }
/* Every logo sits on the same white disc with the same gold ring, whatever its own background. */
.brand img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 14%; box-sizing: border-box; border-radius: 50%; background: var(--logo-disc); box-shadow: 0 0 0 1px var(--gold-hairline); transition: box-shadow 300ms, transform 500ms var(--ease); }
.brand span { line-height: 1.4; min-height: 2.8em; }
@media (hover: hover) { .brand:hover img { box-shadow: 0 0 0 1px var(--gold); transform: scale(1.04); } }

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px) clamp(12px, 2vw, 28px); }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: grid; gap: 12px; align-content: start; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.card-media img { width: 100%; height: 100%; object-fit: contain; transition: transform 900ms var(--ease); }
@media (hover: hover) { .card:hover .card-media img { transform: scale(1.05); } }
.card.is-sold-out .card-media img { opacity: 0.55; }
.card-body { display: grid; gap: 2px; }
.card-brand { font-size: 12px; letter-spacing: 0.08em; color: var(--gold-text); }
/* Names keep two lines and the rating row keeps its height, so prices line up across a row. */
.card-name { font-size: 18px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.card-body .stars, .card-body .stars-none { min-height: 22px; }
.card-low { color: var(--danger); font-size: 13px; font-weight: 700; }
.stars { font-size: 13px; color: var(--ink-soft); }
.stars small { color: var(--ink-soft); font-size: inherit; }
.stars .gr-stars { font-size: 14px; vertical-align: -1px; }
.price { display: flex; gap: 10px; align-items: baseline; font-variant-numeric: tabular-nums; }
.price ins { text-decoration: none; font-weight: 700; }
/* A sale price is green; the product page leaves the del empty when there is no sale. */
.price ins:has(+ del:not(:empty)) { color: var(--ok-text); }
.price del { color: var(--ink-soft); font-size: 0.85em; }
.badge { position: absolute; top: 10px; inset-inline-start: 10px; padding: 2px 10px; font-size: 12px; font-weight: 700; }
/* The discount sits right after the struck-through price it explains. */
.price { flex-wrap: wrap; }
/* A solid red tag; page-coloured text keeps contrast in both themes. */
.price .off { align-self: center; padding: 2px 8px; border-radius: 4px; background: var(--danger); color: var(--page); font-size: 0.9em; font-weight: 700; line-height: 1.4; }
.price .off:empty { display: none; }
.badge-out { inset-inline-start: auto; inset-inline-end: 10px; background: var(--page); color: var(--ink); }

/* ---------- catalog ---------- */
.page-head { padding-bottom: 0; display: grid; gap: 24px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 44px; display: grid; place-items: center; padding: 0 18px; border: 1px solid var(--line); font-size: 14px; transition: border-color 200ms, background 200ms, color 200ms; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; margin-top: 48px; }
.pagination > * { min-width: 44px; height: 44px; display: grid; place-items: center; }
.pagination [aria-current] { border-bottom: 2px solid var(--ink); font-weight: 700; }

/* ---------- product page ---------- */
.product { display: grid; gap: clamp(24px, 4vw, 64px); }
@media (min-width: 900px) {
  .product { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: start; }
  .product-info { position: sticky; top: calc(var(--header-h) + 64px); }
}
/* A swipeable strip, one image per view; images keep their whole shape. */
.gallery-main { display: flex; aspect-ratio: 4 / 5; background: var(--sand); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery-main::-webkit-scrollbar { display: none; }
.gallery-main img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: start; }
.gallery-main img[data-gallery-main] { view-transition-name: product-image; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.gallery-thumbs button { flex: none; width: 72px; aspect-ratio: 4 / 5; background: var(--sand); border-bottom: 2px solid transparent; }
.gallery-thumbs button.is-active { border-color: var(--ink); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product-info { display: grid; gap: 12px; }
.product-info h1 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 400; line-height: 1.25; }
.concentration { color: var(--ink-soft); font-size: 14px; }
.price-large { font-size: 22px; margin-block: 8px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.sizes legend { font-size: 13px; color: var(--ink-soft); margin-bottom: 8px; }
.size input { position: absolute; opacity: 0; }
.size span { display: grid; place-items: center; min-width: 72px; min-height: 44px; padding: 4px 14px; border: 1px solid var(--line-strong); cursor: pointer; transition: border-color 200ms, background 200ms, color 200ms; }
.size input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.size input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.size span small { font-size: 13px; line-height: 1.3; }
.size input[data-stock="0"] + span { color: var(--ink-soft); text-decoration: line-through; cursor: not-allowed; background: var(--sand); }

/* The pyramid widens from top to base, the way a scent settles. */
.notes { background: var(--sand); padding: clamp(40px, 7vw, 88px) var(--gutter); text-align: center; }
.notes .section-title::after { margin-inline: auto; }
.notes-lead { color: var(--ink-soft); margin: -16px 0 32px; }
/* Typographic, not boxed: each layer sits under a gold hairline that widens towards the base. */
.pyramid { display: grid; gap: 28px; justify-items: center; }
.pyramid li { display: grid; gap: 2px; padding-top: 18px; width: min(100%, 420px); background: linear-gradient(var(--gold), var(--gold)) top center / 40% 1px no-repeat; }
.pyramid .pyramid-heart { width: min(100%, 620px); background-size: 65% 1px; }
.pyramid .pyramid-base { width: min(100%, 820px); background-size: 90% 1px; }
.pyramid strong { font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1.35; }
.pyramid small { color: var(--ink-soft); font-size: 13px; }
.pyramid span { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin-top: 8px; font-family: var(--font-display); font-size: 19px; line-height: 1.5; }
.pyramid i { font-style: normal; }

.description p { max-width: 68ch; white-space: pre-line; color: var(--ink-soft); }
.reviews ul { display: grid; gap: 20px; max-width: 68ch; }
.review { border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.review header { display: flex; justify-content: space-between; gap: 12px; }
.not-found { text-align: center; display: grid; justify-items: center; gap: 20px; padding-block: clamp(56px, 10vw, 120px); }
.not-found .hero-script { color: var(--gold-text); font-size: clamp(36px, 6vw, 64px); }
.not-found-body { color: var(--ink-soft); max-width: 46ch; text-wrap: pretty; }
.not-found-search { display: flex; gap: 8px; width: min(100%, 440px); }
.not-found-search input { flex: 1; min-width: 0; min-height: 48px; padding-inline: 14px; border: 1px solid var(--line); background: var(--page); color: var(--ink); font-size: 16px; }
.not-found .button:not(.button-gold), .catalog-empty .button { border: 1px solid var(--ink); }
.not-found-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ---------- payment marks, trust list, checkout steps ---------- */
.pay-marks { display: inline-flex; flex-wrap: wrap; gap: 6px; color: var(--ink-soft); vertical-align: middle; }
.pay-mark { display: block; flex: none; }
.trust-list { display: grid; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }
.trust-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.trust-list svg:first-child { color: var(--gold-text); flex: none; }
.trust-list a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; margin-block: -12px; }
.steps { display: flex; gap: 8px; margin-bottom: 24px; font-size: 13px; color: var(--ink-soft); counter-reset: step; }
.steps li { flex: 1; display: grid; gap: 8px; counter-increment: step; }
.steps li::before { content: ""; height: 2px; background: var(--line); }
.steps li.is-done::before, .steps li[aria-current]::before { background: var(--gold); }
.steps li[aria-current] { color: var(--ink); font-weight: 700; }

/* ---------- phone buy bar (product page) ---------- */
.buy-bar { position: fixed; inset-inline: 0; bottom: calc(64px + env(safe-area-inset-bottom, 0px)); z-index: 34; display: flex; align-items: center; gap: 12px; padding: 10px var(--gutter); background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); animation: rise 200ms var(--ease); }
.buy-bar[hidden] { display: none; }
.buy-bar-price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.buy-bar .button { flex: 1; min-height: 48px; }
@media (max-width: 899px) { body.has-buy-bar .fab-stack, body.has-buy-bar .welcome-teaser { bottom: calc(64px + 68px + 16px + env(safe-area-inset-bottom, 0px)); } body.has-buy-bar .toast { bottom: calc(80px + 68px + env(safe-area-inset-bottom, 0px)); } }
@media (min-width: 900px) { .buy-bar { display: none; } }
@media (prefers-reduced-motion: reduce) { .buy-bar { animation: none; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 48px; padding: 48px var(--gutter) 24px; color: var(--ink-soft); font-size: 14px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 16px; max-width: 1440px; margin-inline: auto; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand { display: grid; gap: 12px; justify-items: start; align-content: start; max-width: 36ch; }
.site-footer img { height: 72px; width: auto; }
.site-footer small { font-size: 13px; }
.site-footer nav { display: grid; align-content: start; justify-items: start; color: var(--ink); }
.site-footer nav h2 { font-family: var(--font-display); font-weight: 400; font-size: 18px; color: var(--ink); margin-bottom: 4px; }
.site-footer nav a, .site-footer nav button { min-height: 44px; display: flex; align-items: center; text-align: start; }
.footer-base { max-width: 1440px; margin: 32px auto 0; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.site-footer .pay-marks { color: var(--ink-soft); }
@media (min-width: 700px) { .footer-cols { grid-template-columns: 2fr 1fr 1fr; } .footer-brand { grid-column: auto; } }

/* ---------- cart drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(13, 13, 13, 0.5); animation: fade 250ms; }
@keyframes fade { from { opacity: 0; } }
.cart-drawer { position: fixed; inset-block: 0; inset-inline-end: 0; z-index: 70; width: min(420px, 100vw); background: var(--page); display: grid; grid-template-rows: auto 1fr auto; animation: slide-in 350ms var(--ease); }
[dir="rtl"] .cart-drawer { animation-name: slide-in-rtl; }
@keyframes slide-in { from { transform: translateX(100%); } }
@keyframes slide-in-rtl { from { transform: translateX(-100%); } }
.cart-drawer > header, .cart-drawer > footer p { display: flex; align-items: center; justify-content: space-between; }
.cart-drawer > header, .cart-drawer > footer { padding: 16px 20px; }
.cart-drawer > footer { display: grid; gap: 12px; }
.cart-drawer > header { border-bottom: 1px solid var(--line); }
.cart-drawer > header button { width: 44px; height: 44px; display: grid; place-items: center; }
.cart-drawer > footer { border-top: 1px solid var(--line); padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); font-size: 18px; }
.cart-drawer h2 { font-size: 20px; font-weight: 400; }
.cart-drawer ul { overflow-y: auto; padding: 8px 20px; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 72px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--sand); }
.cart-item small { color: var(--ink-soft); display: block; }
.cart-item .qty { display: flex; align-items: center; gap: 4px; margin-top: 6px; }
.cart-item .qty button { width: 44px; height: 44px; border: 1px solid var(--line-strong); }
.cart-item .qty bdi { min-width: 28px; text-align: center; }
.cart-item .remove { align-self: start; width: 44px; height: 44px; color: var(--ink-soft); font-size: 20px; }
.cart-empty { text-align: center; color: var(--ink-soft); padding: 64px 0; }

.toast { position: fixed; inset-inline: 16px; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); z-index: 80; margin-inline: auto; width: fit-content; max-width: calc(100vw - 32px); background: var(--ink); color: var(--on-ink); padding: 12px 20px; animation: rise 300ms var(--ease); }

/* ---------- scroll reveal (only once the script is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; }
  html { scroll-behavior: auto; }
  .announcement-track { animation: none; }
  .spinner { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}

/* Arabic letters join: spacing or uppercase would break them. */
html[lang="ar"] * { letter-spacing: normal !important; text-transform: none !important; }

/* ---------- checkout ---------- */
.checkout { display: grid; gap: 24px; }
.notice { background: var(--danger-bg); color: var(--danger); padding: 12px 16px; }
.checkout-empty { display: grid; justify-items: center; gap: 24px; padding-block: 64px; color: var(--ink-soft); }
.checkout-form { display: grid; gap: clamp(24px, 4vw, 64px); align-items: start; }
@media (min-width: 900px) { .checkout-form { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); } }
.checkout-fields { display: grid; gap: 32px; }
/* min-width: fieldsets and inputs keep their intrinsic width and pushed the page wider than a phone. */
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; min-width: 0; }
.field input, .field select { width: 100%; min-width: 0; }
.fields legend { font-family: var(--font-display); font-weight: 400; font-size: 22px; margin-bottom: 16px; }
.field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; font-size: 14px; }
.field-wide { grid-column: 1 / -1; }
.field input, .field select, .coupon input { height: 48px; padding: 0 12px; border: 1px solid var(--line-strong); background: var(--page); font-size: 16px; transition: border-color 200ms; }
.field input:focus, .field select:focus, .coupon input:focus { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: 2px; }
.field small { color: var(--ink-soft); }
/* Address search: magnifier at the start, small spinner while it searches, results under it. */
.address-search { position: relative; }
.address-search input { padding-inline-start: 40px; }
.address-search::before { content: ""; position: absolute; inset-inline-start: 12px; bottom: 14px; width: 20px; height: 20px; background: var(--ink-soft); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M15.5 15.5 21 21' stroke='black' stroke-width='2'/%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%3Ccircle cx='10.5' cy='10.5' r='6.5' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M15.5 15.5 21 21' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat; }
.address-search.is-loading::after { content: ""; position: absolute; inset-inline-end: 40px; bottom: 16px; width: 16px; height: 16px; border: 2px solid var(--line); border-top-color: var(--gold); border-radius: 50%; animation: spin 900ms linear infinite; }
.address-results { margin: -8px 0 0; padding: 0; list-style: none; border: 1px solid var(--line-strong); background: var(--page); }
.address-results li + li { border-top: 1px solid var(--line); }
.address-results button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 10px 12px; border: 0; background: none; color: inherit; font: inherit; font-size: 14px; text-align: start; cursor: pointer; }
.address-results button svg { flex: none; color: var(--gold); }
.address-results button span { flex: 1; text-align: match-parent; }
.address-results button:hover, .address-results button:focus-visible { background: var(--line); }
.address-results button:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.pay-options { display: grid; gap: 8px; }
.pay-option { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 16px; border: 1px solid var(--line); cursor: pointer; transition: border-color 200ms; }
.pay-option:has(input:checked) { border-color: var(--ink); }
.pay-option input { accent-color: var(--ink); width: 18px; height: 18px; }
.pay-option span { display: grid; }
.pay-option small { color: var(--ink-soft); }
.pay-option small.is-error { color: var(--danger); }
.pay-option .pay-marks { display: inline-flex; flex-wrap: nowrap; margin-inline-start: auto; }
.checkout-trust { margin-top: 16px; }
.pay-option:has(input:disabled) { cursor: not-allowed; }
.pay-option:has(input:disabled) strong { color: var(--ink-soft); }
.summary { background: var(--sand); padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; }
@media (min-width: 900px) { .summary { position: sticky; top: calc(var(--header-h) + 64px); } }
.summary .section-title { margin: 0; }
.summary-items { display: grid; gap: 12px; }
.summary-items li { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.summary-items img { width: 48px; aspect-ratio: 4 / 5; object-fit: cover; }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; min-width: 0; }
.coupon button { padding: 0 18px; border: 1px solid var(--ink); font-weight: 700; }
.coupon-note { font-size: 14px; }
.coupon-note.is-ok { color: var(--ok-text); }
.coupon-note.is-error { color: var(--danger); }
.totals { display: grid; gap: 8px; margin: 0; font-variant-numeric: tabular-nums; }
.totals div { display: flex; justify-content: space-between; gap: 16px; }
.totals dd { margin: 0; }
.totals-grand { border-top: 1px solid var(--line); padding-top: 12px; font-size: 18px; font-weight: 700; }
.order-result { text-align: center; padding-block: 96px; }
.order-result > div { display: grid; justify-items: center; gap: 20px; }
.order-result p { white-space: pre-line; color: var(--ink-soft); }
.order-id { display: grid; justify-items: center; gap: 8px; padding: 20px 24px; border: 1px solid var(--line); }
.order-id strong { font-size: 18px; letter-spacing: 0.04em; overflow-wrap: anywhere; user-select: all; }
.order-id small { color: var(--ok-text); }
.order-delivery strong { color: var(--ink); }
.guest-orders { display: grid; gap: 12px; width: 100%; max-width: 480px; }
.guest-orders a { display: block; min-height: 44px; padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.field .field-error, .totals dd.is-error { color: var(--danger); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.phone-fields { display: grid; grid-template-columns: minmax(0, 10rem) minmax(0, 1fr); gap: 12px; }
.welcome-coupon { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 14px; border: 1px solid var(--gold); background: var(--page); font-size: 14px; }
.welcome-coupon p { flex: 1 1 12rem; }
.welcome-coupon .button { min-height: 44px; padding: 0 20px; border: 1px solid var(--ink); }
.shipping-hint { font-size: 13px; color: var(--gold-text); }
.cart-lines { display: grid; gap: 16px; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: start; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.cart-line img { width: 72px; aspect-ratio: 4 / 5; object-fit: cover; }
.cart-line > div { display: grid; gap: 4px; }
.cart-line small { color: var(--ink-soft); }
.cart-line .qty { display: flex; align-items: center; gap: 4px; }
.cart-line .qty button, .cart-line .remove { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); }
.cart-line .remove { border: 0; color: var(--ink-soft); font-size: 20px; }
.cart-line .qty bdi { min-width: 28px; text-align: center; }
.opt-in { display: grid; gap: 8px; width: 100%; max-width: 480px; padding: 20px; border: 1px solid var(--line); text-align: start; }
.opt-in h2 { font-size: 16px; font-weight: 700; }
.opt-in label { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; cursor: pointer; }
.opt-in input { width: 20px; height: 20px; accent-color: var(--ink); }
.opt-in .is-ok { color: var(--ok-text); }
.opt-in .is-error { color: var(--danger); }
.spinner { width: 40px; height: 40px; border: 2px solid var(--line); border-top-color: var(--gold); border-radius: 50%; animation: spin 900ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- shell: account / wishlist links, footer cookie button ---------- */
/* Phones show them in the bottom tab bar; the header keeps only language, logo and cart. */
.header-links { display: none; }
.site-footer nav button { min-height: 44px; display: grid; place-items: center; }
.header-links a { width: 44px; height: 44px; display: grid; place-items: center; }
.header-links a[aria-current] { color: var(--gold-text); }
@media (min-width: 900px) {
  .header-links { display: flex; grid-column: 3; grid-row: 1; justify-self: end; margin-inline-end: 52px; }
  .header-tools { margin-inline-end: 144px; }
  .site-nav .nav-extra { display: none; }
}

/* ---------- shell: WhatsApp button, welcome offer, Google reviews extras ---------- */
/* Floating controls sit above the mobile tab bar (64px) and never over the cookie banner. */
.fab-stack, .welcome-teaser { position: fixed; z-index: 35; bottom: calc(64px + 16px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; }
.fab-stack { inset-inline-end: 16px; gap: 10px; }
.welcome-teaser { inset-inline-start: 16px; background: var(--gold); color: var(--on-gold); border-radius: 999px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25); animation: rise 300ms var(--ease); }
@media (min-width: 900px) { .fab-stack, .welcome-teaser { bottom: 20px; } }
@media (max-width: 899px) { body:has([data-consent]:not([hidden])) :is(.fab-stack, .welcome-teaser) { display: none; } }
.wa-button { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #0d0d0d; border: 2px solid var(--gold); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3); transition: transform 200ms var(--ease); }
.wa-button:hover { transform: scale(1.06); }
.wa-bubble { display: flex; align-items: center; max-width: 230px; background: var(--page); border: 1px solid rgba(212, 175, 55, 0.45); border-radius: 14px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); animation: rise 250ms var(--ease); }
.wa-bubble a { display: grid; padding-block: 8px; padding-inline: 12px 0; font-size: 13px; line-height: 1.4; }
.wa-bubble span { color: var(--ink-soft); font-size: 12px; }
.wa-bubble button { flex: none; width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink-soft); }
.wa-bubble svg { width: 16px; height: 16px; }
.welcome-open { display: flex; align-items: center; gap: 6px; min-height: 44px; padding-inline: 14px 4px; font-weight: 700; }
.welcome-dismiss { width: 44px; height: 44px; display: grid; place-items: center; }
.welcome-open svg, .welcome-dismiss svg { width: 18px; height: 18px; }
.welcome-dialog { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; padding: 16px; background: rgba(13, 13, 13, 0.5); animation: fade 250ms; }
.welcome-card { display: grid; justify-items: center; gap: 12px; width: min(380px, 100%); padding: 28px 24px 20px; text-align: center; background: var(--page); border-top: 2px solid var(--gold); animation: rise 300ms var(--ease); }
.welcome-card > svg { width: 44px; height: 44px; color: var(--gold-text); }
.welcome-card h2 { font-size: 20px; font-weight: 700; }
.welcome-card p { color: var(--ink-soft); }
.welcome-code { min-height: 44px; padding: 0 20px; border: 1px solid var(--gold-text); color: var(--gold-text); font-weight: 700; letter-spacing: 0.1em; }
.welcome-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; width: 100%; }
.welcome-actions > button { min-height: 44px; padding: 0 16px; color: var(--ink-soft); }
.welcome-actions .button { min-height: 48px; padding: 0 24px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gr-photos { display: flex; gap: 10px; overflow-x: auto; margin-bottom: 20px; scrollbar-width: none; }
.gr-photos::-webkit-scrollbar { display: none; }
.gr-photos a { flex: none; }
.gr-photos img { height: 128px; width: auto; border-radius: 12px; object-fit: cover; background: var(--sand); }
.google-reviews .gr-text.is-open { display: block; -webkit-line-clamp: unset; }
.gr-more, .gr-switch { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold-text); font-size: 13px; text-decoration: underline; }
.gr-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; margin-top: 8px; }
.gr-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold-text); text-decoration: underline; }

/* Show-password eye inside the field, on the inline end so it works in RTL and LTR. */
.pw { position: relative; display: block; }
.pw input { padding-inline-end: 48px; }
.pw button { position: absolute; inset-block: 0; inset-inline-end: 0; width: 48px; display: grid; place-items: center; border: 0; background: none; color: var(--ink-soft); cursor: pointer; }
.pw button:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }
.pw button[aria-pressed="true"] .eye, .pw button:not([aria-pressed="true"]) .eye-off { display: none; }
