/* ==========================================================================
   Taj Maalem — storefront styles
   Logical properties throughout: one stylesheet for Arabic (RTL) and French (LTR).
   ========================================================================== */

/* Tokens ------------------------------------------------------------------- */
:root {
	--bg: #EBE2CC;
	--bg-2: #DED6C1;
	--surface: #CFC6B1;
	--muted: #B7B09E;
	--paper: #F3EDDF;
	--cream: #FBF8F2; /* white-cream sections, header, cards */
	--ink: #1F1812;
	--ink-2: #5C5044;
	--dark: #261D16;
	--dark-2: #3A2D22;
	--light: #F4EFE3;
	--sale: #8E3B24;
	--ok: #4D5A3B;
	--line: rgba(31, 24, 18, .12);
	--line-2: #80725F; /* control boundaries: ≥3:1 on paper, bg and bg-2 (WCAG 1.4.11) */
	--line-light: rgba(244, 239, 227, .22);

	--f-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--f-latin: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--head-stretch: 112%;
	--head-weight: 800;
	--w-display: 800; /* big editorial headings */
	--w-strong: 700;  /* small strong labels */
	--w-ui: 600;      /* buttons, nav, labels, product info */
	--head-case: uppercase;
	--track-label: .18em;
	--lh-head: .98;
	--lh-body: 1.6;
	--fs-body: 15px;

	--gutter: clamp(16px, 3.4vw, 48px);
	--gap: clamp(10px, 1.2vw, 20px);
	--max: 1520px;
	--section: clamp(56px, 7vw, 112px);
	--header-main: 96px;
	--header-nav: 52px;
	--header-h: calc(var(--header-main) + var(--header-nav) + 2px);
	--rule: #CDBA96;
	--ease: cubic-bezier(.22, .61, .36, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
}
/* Arabic: Almarai throughout — body 400, buttons / labels / nav 700, headings 700, big display titles 800. */
html[lang^="ar"] {
	--f-head: "Almarai", "Segoe UI", Tahoma, sans-serif;
	--f-body: "Almarai", "Segoe UI", Tahoma, sans-serif;
	--head-stretch: 100%;
	--head-weight: 700;
	--w-display: 800;
	--w-strong: 700;
	--w-ui: 700;
	--head-case: none;
	--track-label: 0;
	--lh-head: 1.25;
	--lh-body: 1.8;
	--fs-body: 15px;
}

/* Base --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
a, button, input, select, textarea, summary, label { touch-action: manipulation; }
h1, h2, h3, .hero__title, .promo__title, .collection-hero__title, .head__title, .tile__title { text-wrap: balance; }
.price, .card__price, .price-lg, .buybar__price, .shop_table td, .woocommerce-mini-cart__total { font-variant-numeric: tabular-nums; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: var(--fs-body); line-height: var(--lh-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: var(--w-ui); }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }
.site-main { display: block; outline: none; }
.sr-only, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--bg); padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }
.tm-hidden, .hp { display: none !important; }
.i { width: 20px; height: 20px; flex: none; }
[dir="rtl"] .i-dir { transform: scaleX(-1); }
.i-flip { transform: scaleX(-1); }
[dir="rtl"] .i-flip { transform: none; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }

/* Type components ---------------------------------------------------------- */
.label, .eyebrow { display: inline-block; font-size: 11.5px; font-weight: var(--w-ui); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-2); margin-block-end: 14px; }
html[lang^="ar"] .label, html[lang^="ar"] .eyebrow { font-size: 13px; text-transform: none; }
.label--light { color: rgba(244, 239, 227, .85); }
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-block-end: clamp(20px, 2.5vw, 36px); }
.head__title { font-family: var(--f-head); font-weight: var(--head-weight); font-stretch: var(--head-stretch); text-transform: var(--head-case); font-size: clamp(26px, 2.6vw, 42px); line-height: var(--lh-head); letter-spacing: -.01em; }
html[lang^="ar"] .head__title { letter-spacing: 0; }
.head__end { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: var(--w-ui); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; border-bottom: 1px solid currentColor; padding-block-end: 4px; }
html[lang^="ar"] .link-arrow { text-transform: none; letter-spacing: 0; font-size: 14px; }
.link-arrow .i { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }
[dir="rtl"] .link-arrow:hover .i { transform: scaleX(-1) translateX(4px); }
.link-quiet, .link-line { font-size: 13px; color: var(--ink-2); text-decoration: underline; text-underline-offset: .25em; }

/* Buttons */
.btn, .button, button.button, a.button, input.button, #place_order, .checkout-button, .single_add_to_cart_button {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-height: 50px; padding: 14px 28px; border: 1px solid var(--ink); border-radius: 0;
	background: var(--ink); color: var(--light);
	font-family: var(--f-body); font-size: 12.5px; font-weight: var(--w-ui); letter-spacing: .14em; text-transform: uppercase; line-height: 1.2; text-align: center;
	cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
html[lang^="ar"] .btn, html[lang^="ar"] .button, html[lang^="ar"] #place_order, html[lang^="ar"] .checkout-button, html[lang^="ar"] .single_add_to_cart_button { font-size: 14px; letter-spacing: 0; text-transform: none; }
.btn:hover, .button:hover, #place_order:hover, .checkout-button:hover, .single_add_to_cart_button:hover { background: var(--dark-2); border-color: var(--dark-2); }
.btn .i { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover .i-arrow { transform: translateX(4px); }
[dir="rtl"] .btn:hover .i-arrow { transform: scaleX(-1) translateX(4px); }
.btn--light { background: var(--light); border-color: var(--light); color: var(--ink); }
.btn--light:hover { background: #fff; border-color: #fff; }
.btn--outline-light { background: transparent; border-color: rgba(244, 239, 227, .7); color: var(--light); }
.btn--outline-light:hover { background: var(--light); color: var(--ink); border-color: var(--light); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--light); }
.btn--small { min-height: 42px; padding: 10px 20px; }
.button:disabled, .button.disabled, .single_add_to_cart_button.disabled { opacity: .4; cursor: not-allowed; }
.button.loading { opacity: .7; }
a.added_to_cart { display: none; }

.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 11.5px; font-weight: var(--w-ui); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
html[lang^="ar"] .pill { font-size: 13px; letter-spacing: 0; text-transform: none; }
.pill .i { width: 14px; height: 14px; }
.pill:hover { border-color: var(--ink); }
.pill.is-active, .pill--dark { background: var(--ink); color: var(--light); border-color: var(--ink); }
.pill--dark:hover { background: var(--dark-2); }
.pill--light { background: var(--light); color: var(--ink); border-color: var(--light); }
.pills { display: inline-flex; gap: 6px; }
.round-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; transition: background-color .25s var(--ease), color .25s var(--ease), opacity .25s; }
.round-btn:hover { background: var(--ink); color: var(--light); border-color: var(--ink); }
.round-btn:disabled { opacity: .3; pointer-events: none; }
.round-btn .i { width: 18px; height: 18px; }
.round-btn--light { color: var(--light); border-color: rgba(244, 239, 227, .5); }
.round-btn--light:hover { background: var(--light); color: var(--ink); border-color: var(--light); }

.badge { display: inline-block; padding: 4px 9px; border-radius: 999px; background: var(--light); color: var(--ink); font-size: 10.5px; font-weight: var(--w-strong); letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; }
html[lang^="ar"] .badge { font-size: 12px; letter-spacing: 0; text-transform: none; font-weight: var(--w-ui); }
.badge--sale { background: var(--ink); color: var(--light); font-family: var(--f-latin); }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--dot, var(--surface)); box-shadow: inset 0 0 0 1px rgba(31, 24, 18, .2); flex: none; }

/* Prices */
.price del, .card__price del, .price-lg del, .buybar__price del { color: var(--ink-2); font-weight: 400; margin-inline-end: 6px; text-decoration-thickness: 1px; }
.price ins, .card__price ins, .price-lg ins, .buybar__price ins { text-decoration: none; }
.price-lg { font-size: 22px; font-weight: var(--w-ui); }
bdi { unicode-bidi: isolate; }

/* Top bar ------------------------------------------------------------------ */
.topbar { position: relative; background: var(--bg); color: var(--dark); font-size: 11px; font-weight: var(--w-ui); letter-spacing: .3em; text-transform: uppercase; }
html[lang^="ar"] .topbar { font-size: 13px; letter-spacing: 0; text-transform: none; }
.topbar__inner { display: grid; grid-template-columns: 32px minmax(0, 1fr) 32px; align-items: center; max-width: 560px; margin-inline: auto; padding-inline: 12px; }
.topbar__msgs { display: grid; min-height: 38px; }
.topbar__msg { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s linear .45s; }
.topbar__msg.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.topbar__msg .i { width: 17px; height: 17px; flex: none; }
/* The line icons are thin fills: a hairline stroke in the same colour thickens them a touch. */
.topbar .i path { stroke: currentColor; stroke-width: 9; stroke-linejoin: round; }
.topbar__btn { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--dark); opacity: .85; transition: opacity .2s, background-color .2s; }
.topbar__btn:hover, .topbar__btn:focus-visible { opacity: 1; background: rgba(38, 29, 22, .1); }
.topbar__btn .i { width: 14px; height: 14px; }
.topbar :focus-visible { outline-color: var(--dark); }

/* Header — two rows: search · centred logo · account + bag, then a centred nav row ------ */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--cream); color: var(--ink); border-bottom: 1px solid var(--rule); transition: transform .4s var(--ease), background-color .3s var(--ease), color .3s var(--ease), border-color .3s; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__main { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: var(--header-main); max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.site-header__start { justify-self: start; display: flex; align-items: center; gap: 4px; }
.site-header__brand { justify-self: center; }
.site-header__end { justify-self: end; display: flex; align-items: center; gap: 6px; }
.site-header .site-header__burger { display: none; }

.primary-nav { border-top: 1px solid var(--rule); transition: border-color .3s; }
.primary-nav > ul { display: flex; align-items: center; justify-content: center; gap: clamp(32px, 5vw, 88px); height: var(--header-nav); padding-inline: var(--gutter); }
.primary-nav > ul > li > a { position: relative; display: block; padding-block: 6px; font-size: 12.5px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; }
html[lang^="ar"] .primary-nav > ul > li > a { font-size: 15px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.primary-nav > ul > li > a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .3s var(--ease); }
.primary-nav > ul > li > a:hover::after, .primary-nav > ul > li > a[aria-current]::after { transform: scaleX(1); }

/* Collections dropdown: links + two photo tiles, full width under the header. */
.primary-nav__toggle { position: relative; display: inline-flex; align-items: center; gap: 8px; padding-block: 6px; font-size: 12.5px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; }
html[lang^="ar"] .primary-nav__toggle { font-size: 15px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.primary-nav__toggle .i { width: 13px; height: 13px; transition: transform .3s var(--ease); }
.primary-nav__toggle::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .3s var(--ease); }
.primary-nav__toggle[aria-current]::after, .has-sub:hover .primary-nav__toggle::after, .has-sub.is-open .primary-nav__toggle::after { transform: scaleX(1); }
.has-sub:hover .primary-nav__toggle .i, .has-sub.is-open .primary-nav__toggle .i { transform: rotate(180deg); }
.subnav { position: absolute; inset-inline: 0; top: 100%; z-index: 5; background: var(--cream); color: var(--ink); border-block: 1px solid var(--rule); box-shadow: 0 24px 40px rgba(31, 24, 18, .12); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s; }
.has-sub:hover .subnav, .has-sub:focus-within .subnav, .has-sub.is-open .subnav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.has-sub.is-closed .subnav { opacity: 0; visibility: hidden; }
/* Collections mega menu: big links on one side, a photo stage that follows the hovered link, Moroccan motifs. */
.subnav { overflow: hidden; }
.subnav__burst { position: absolute; bottom: -90px; inset-inline-start: -70px; width: 260px; height: auto; color: var(--line-2); opacity: .08; pointer-events: none; }
.subnav__band { position: absolute; bottom: 0; inset-inline: 0; width: 100%; height: 18px; color: var(--line-2); opacity: .3; pointer-events: none; }
.subnav__inner { position: relative; display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: clamp(28px, 4vw, 64px); align-items: stretch; padding-block: 24px 40px; }
.subnav__label { display: flex; align-items: center; gap: 10px; margin-block-end: 14px; font-size: 11.5px; font-weight: var(--w-ui); letter-spacing: .3em; text-transform: uppercase; color: var(--line-2); }
html[lang^="ar"] .subnav__label { font-size: 14px; letter-spacing: 0; }
.subnav__label-star { width: 11px; height: 11px; color: var(--sale); }
.subnav__links { display: grid; align-content: start; border-top: 1px solid var(--line); }
.subnav__links a { display: flex; align-items: center; gap: 12px; padding-block: 10px; border-bottom: 1px solid var(--line); font-family: var(--f-head); font-weight: 700; font-stretch: var(--head-stretch); text-transform: var(--head-case); font-size: clamp(16px, 1.4vw, 20px); letter-spacing: -.01em; color: var(--ink); }
html[lang^="ar"] .subnav__links a { font-size: clamp(17px, 1.4vw, 21px); letter-spacing: 0; }
.subnav__links a::after, .subnav__shot::after { content: none; }
.subnav__star { width: 14px; height: 14px; flex: none; color: var(--sale); opacity: 0; transform: scale(.3) rotate(-45deg); transition: opacity .35s var(--ease), transform .5s var(--ease-out); }
.subnav__name { transform: translateX(-24px); transition: transform .5s var(--ease-out), color .3s var(--ease); }
[dir="rtl"] .subnav__name { transform: translateX(24px); }
.subnav__links .i { width: 20px; height: 20px; margin-inline-start: auto; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .4s var(--ease-out); }
[dir="rtl"] .subnav__links .i { transform: scaleX(-1) translateX(-8px); }
.subnav__links a:hover .subnav__star, .subnav__links a:focus-visible .subnav__star, .subnav__links a.is-active .subnav__star { opacity: 1; transform: none; }
.subnav__links a:hover .subnav__name, .subnav__links a:focus-visible .subnav__name, .subnav__links a.is-active .subnav__name { transform: none; }
.subnav__links a:hover .i, .subnav__links a:focus-visible .i, .subnav__links a.is-active .i { opacity: 1; transform: none; }
[dir="rtl"] .subnav__links a:hover .i, [dir="rtl"] .subnav__links a:focus-visible .i, [dir="rtl"] .subnav__links a.is-active .i { transform: scaleX(-1); }
.subnav__links a:not(.is-active):not(:hover) .subnav__name { color: var(--ink-2); }
.subnav__stage { position: relative; min-height: clamp(180px, 15vw, 230px); overflow: hidden; background: var(--bg-2); }
.subnav__shot { position: absolute; inset: 0; color: var(--light); opacity: 0; transition: opacity .6s var(--ease); }
.subnav__shot.is-active { opacity: 1; }
.subnav__shot img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 30%); transform: scale(1.06); transition: transform 1.4s var(--ease-out); }
.subnav__shot.is-active img { transform: none; }
.subnav__shot::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(20, 15, 11, .62), rgba(20, 15, 11, 0) 55%); }
.subnav__caption { position: absolute; inset-inline: 0; bottom: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 16px 20px; }
.subnav__caption-name { font-family: var(--f-head); font-weight: var(--w-display); font-stretch: var(--head-stretch); text-transform: var(--head-case); font-size: clamp(20px, 1.8vw, 28px); line-height: 1; letter-spacing: -.02em; }
html[lang^="ar"] .subnav__caption-name { letter-spacing: 0; line-height: 1.3; }
.subnav__caption-cta { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: var(--w-ui); letter-spacing: .28em; text-transform: uppercase; }
html[lang^="ar"] .subnav__caption-cta { font-size: 14px; letter-spacing: 0; }
.subnav__caption-cta .i { width: 16px; height: 16px; }

/* Phone menu: collection links nested under "Collections". */
/* Phone menu: collections as a swipeable row of photo cards that bleeds to the panel edge. */
.menu-nav__sub { display: grid; grid-auto-flow: column; grid-auto-columns: 132px; gap: 10px; margin-block-start: -4px; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
.menu-nav__sub::-webkit-scrollbar { display: none; }
.menu-nav .menu-nav__sub li { border: 0; scroll-snap-align: start; }
.menu-nav .menu-nav__sub .menu-tile { position: relative; display: block; aspect-ratio: 3 / 4; padding: 0; overflow: hidden; border-radius: 4px; background: var(--dark); color: var(--light); }
.menu-tile img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 30%); transition: transform .6s var(--ease-out); }
.menu-tile::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(to top, rgba(20, 15, 11, .78), rgba(20, 15, 11, 0)); }
.menu-tile__label { position: absolute; inset-inline: 12px; bottom: 10px; z-index: 1; font-size: 14px; font-weight: var(--w-ui); line-height: 1.25; }
.menu-tile:active img { transform: scale(1.05); }
.menu-search { padding: 16px var(--gutter) 4px; }
.menu-search__form { display: flex; align-items: center; gap: 10px; min-height: 50px; padding-inline: 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--cream); transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.menu-search__form:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(31, 24, 18, .08); }
.menu-search__icon { width: 20px; height: 20px; flex: none; color: var(--ink-2); }
.menu-search__form input[type="search"] { flex: 1; min-width: 0; height: 48px; padding: 0; border: 0; background: transparent; font-size: 16px; color: var(--ink); outline: none; }
.menu-search__form input::placeholder { color: var(--line-2); opacity: 1; }
.menu-search__form input::-webkit-search-cancel-button { display: none; }
.menu-search__terms { display: flex; gap: 8px; margin-inline: calc(var(--gutter) * -1); padding: 12px var(--gutter) 6px; overflow-x: auto; scrollbar-width: none; }
.menu-search__terms::-webkit-scrollbar { display: none; }
.menu-search__terms a { flex: none; display: inline-flex; align-items: center; min-height: 36px; padding-inline: 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; color: var(--ink); transition: background-color .2s, color .2s; }
.menu-search__terms a:hover, .menu-search__terms a:focus-visible { background: var(--ink); color: var(--light); }
.menu-service { display: grid; gap: 10px; margin-block-start: auto; padding: 16px var(--gutter); border-top: 1px solid var(--line); }
.menu-service__note { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
.menu-service__note .i { width: 18px; height: 18px; flex: none; }
.menu-service__wa { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; background: var(--dark); color: var(--light); font-size: 14px; font-weight: var(--w-ui); transition: background-color .25s var(--ease); }
.menu-service__wa:hover { background: var(--dark-2); }
.menu-service__wa .i { width: 18px; height: 18px; color: #D9C49A; }

.brand { display: inline-flex; align-items: center; }
.brand__logo { display: block; width: auto; height: 72px; }
.panel__head .brand__logo { height: 52px; }
.brand--light .brand__logo { height: 80px; }

.icon-btn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; transition: background-color .25s var(--ease); }
.icon-btn:hover { background: rgba(31, 24, 18, .07); }
.bag-link__icon { position: relative; display: grid; place-items: center; }
.bag-count { position: absolute; top: -9px; inset-inline-end: -12px; min-width: 17px; height: 17px; padding-inline: 4px; border-radius: 9px; background: var(--ink); color: var(--light); font-family: var(--f-latin); font-size: 10px; font-weight: 700; line-height: 17px; text-align: center; transition: transform .3s var(--ease-out); }
.bag-count.is-empty { transform: scale(0); }
.bag-count.is-bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.35); } }

.lang-switch { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: 8px; font-size: 12px; font-weight: var(--w-ui); }
.lang-switch__link { display: inline-grid; place-items: center; min-width: 28px; min-height: 32px; padding: 4px 2px; color: var(--ink-2); letter-spacing: .08em; transition: color .2s, opacity .2s; }
.lang-switch__link.is-current, .lang-switch__link:hover { color: var(--ink); }
.site-footer .lang-switch__link { color: var(--light); opacity: .8; }
.lang-switch__link[lang="ar"] { font-family: "Almarai", "Segoe UI", Tahoma, sans-serif; font-weight: 700; letter-spacing: 0; font-size: 13px; }
.lang-switch__link.is-current { box-shadow: inset 0 -1.5px 0 currentColor; }
.lang-switch__sep { opacity: .35; }

/* Home: both rows float transparent over the hero photo and turn solid once scrolled. */
.home .site-header:not(.is-scrolled) { background: transparent; border-color: transparent; color: var(--light); }
.home .site-header:not(.is-scrolled) .primary-nav { border-color: rgba(244, 239, 227, .28); }
.home .site-header:not(.is-scrolled) .lang-switch__link { color: var(--light); opacity: .8; }
.home .site-header:not(.is-scrolled) .lang-switch__link.is-current, .home .site-header:not(.is-scrolled) .lang-switch__link:hover { opacity: 1; }
.home .site-header:not(.is-scrolled) .icon-btn:hover { background: rgba(244, 239, 227, .14); }
.home .site-header:not(.is-scrolled) .bag-count { background: var(--light); color: var(--ink); }
.home .site-header:not(.is-scrolled) .brand__logo { filter: drop-shadow(0 1px 2px rgba(20, 15, 11, .55)) drop-shadow(0 0 14px rgba(20, 15, 11, .45)); }
.home .hero { margin-block-start: calc(var(--header-h) * -1 - 1px); padding-block-start: var(--header-h); min-height: calc(clamp(520px, 78vh, 760px) + var(--header-h)); }
.home .hero::before { content: ""; position: absolute; inset: 0 0 auto; z-index: 1; height: calc(var(--header-h) + 140px); background: linear-gradient(to bottom, rgba(20, 15, 11, .62) 0%, rgba(20, 15, 11, .42) 45%, rgba(20, 15, 11, 0) 100%); pointer-events: none; } /* keeps the menu readable on bright photos */

/* Panels ------------------------------------------------------------------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(31, 24, 18, .45); opacity: 0; transition: opacity .35s var(--ease); }
.scrim.is-open { opacity: 1; }
.panel { position: fixed; z-index: 70; display: flex; flex-direction: column; background: var(--bg); transition: transform .5s var(--ease-out), opacity .35s var(--ease); }
.panel__head { display: flex; align-items: center; justify-content: space-between; min-height: 72px; padding: 0 var(--gutter); border-bottom: 1px solid var(--line); }
/* Phone menu: the language switch sits in the top bar, before the close button. */
.panel__head .lang-switch { margin-inline: auto 8px; gap: 10px; font-size: 13px; }
.panel__head .lang-switch__link { min-width: 32px; min-height: 44px; }
.panel__head .lang-switch__link[lang="ar"] { font-size: 15px; }
.panel--menu { top: 0; bottom: 0; inset-inline-start: 0; width: min(420px, 100%); transform: translateX(-100%); }
[dir="rtl"] .panel--menu { transform: translateX(100%); }
.panel--menu.is-open { transform: none; }
.panel--menu { overflow-y: auto; overscroll-behavior: contain; }
.menu-nav { flex: none; padding: 4px var(--gutter) 8px; }
.menu-nav li { border-bottom: 1px solid var(--line); }
.menu-nav a { display: flex; align-items: center; justify-content: space-between; padding-block: 15px; }
.menu-nav__account .i { width: 24px; height: 24px; color: var(--ink-2); }
.menu-nav__n { display: none; }
.menu-nav__l { font-family: var(--f-head); font-weight: var(--head-weight); font-stretch: var(--head-stretch); text-transform: var(--head-case); font-size: 24px; line-height: 1.2; }
.panel__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px var(--gutter) calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.menu-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; }

/* Search — a slim bar that drops from the top: icon, input, close, and a quiet row of popular words. */
.panel--search { inset: 0 0 auto 0; border-block-end: 1px solid var(--rule); box-shadow: 0 20px 40px -24px rgba(31, 24, 18, .35); transform: translateY(-100%); }
.panel--search.is-open { transform: none; }
.search-panel__inner { width: 100%; padding-block: 18px 16px; }
.search-form { display: flex; align-items: center; gap: 14px; padding-block-end: 12px; border-block-end: 1px solid var(--ink); }
.search-form__icon { width: 22px; height: 22px; flex: none; color: var(--ink-2); }
.search-form input[type="search"] { flex: 1; min-width: 0; height: 48px; padding: 0; border: 0; background: transparent; font-size: clamp(18px, 1.8vw, 22px); color: var(--ink); outline: none; }
.search-form input::placeholder { color: var(--line-2); opacity: 1; }
.search-form input::-webkit-search-cancel-button { display: none; }
.search-panel__close { display: grid; flex: none; place-items: center; width: 44px; height: 44px; color: var(--ink); }
.search-panel__close .i { width: 22px; height: 22px; transition: transform .4s var(--ease); }
.search-panel__close:hover .i { transform: rotate(90deg); }
.search-panel__terms { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding-block-start: 14px; font-size: 13.5px; }
.search-panel__terms span { color: var(--line-2); }
.search-panel__terms a { color: var(--ink); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .3s var(--ease); }
.search-panel__terms a:hover, .search-panel__terms a:focus-visible { text-decoration-color: currentColor; }

.panel--drawer { top: 0; bottom: 0; inset-inline-end: 0; width: min(440px, 100%); transform: translateX(100%); }
[dir="rtl"] .panel--drawer { transform: translateX(-100%); }
.panel--drawer.is-open { transform: none; }
.drawer__title { font-family: var(--f-head); font-weight: var(--head-weight); font-stretch: var(--head-stretch); text-transform: var(--head-case); font-size: 18px; }
.drawer__content { flex: 1; overflow: auto; padding: 8px var(--gutter) 20px; display: flex; flex-direction: column; }
.drawer__note { display: flex; gap: 10px; padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom)); background: var(--bg-2); font-size: 12.5px; color: var(--ink-2); }
.drawer__note .i { width: 16px; height: 16px; margin-top: 3px; }

.woocommerce-mini-cart { display: flex; flex-direction: column; }
.woocommerce-mini-cart-item { position: relative; display: grid; grid-template-columns: 80px 1fr; column-gap: 14px; padding-block: 16px; padding-inline-end: 28px; border-bottom: 1px solid var(--line); font-size: 13px; }
.woocommerce-mini-cart-item > a:not(.remove) { display: contents; font-weight: var(--w-ui); font-size: 14px; }
.woocommerce-mini-cart-item img { grid-row: 1 / span 3; width: 80px; height: 100px; object-fit: cover; background: var(--bg-2); }
.woocommerce-mini-cart-item .remove { position: absolute; top: 14px; inset-inline-end: 0; width: 24px; height: 24px; display: grid; place-items: center; font-size: 18px; color: var(--ink-2); }
.woocommerce-mini-cart-item dl.variation { grid-column: 2; display: grid; grid-template-columns: auto 1fr; gap: 0 6px; margin-block: 4px; color: var(--ink-2); }
.woocommerce-mini-cart-item dl.variation dd p { margin: 0; }
.woocommerce-mini-cart-item .quantity { grid-column: 2; display: block; border: 0; background: none; color: var(--ink-2); }
.woocommerce-mini-cart__total { display: flex; justify-content: space-between; padding-block: 18px 12px; margin-block-start: auto; font-size: 15px; font-weight: var(--w-ui); }
.woocommerce-mini-cart__buttons { display: grid; gap: 8px; }
.woocommerce-mini-cart__buttons .button:not(.checkout) { background: transparent; color: var(--ink); }
.woocommerce-mini-cart__buttons .button:not(.checkout):hover { background: var(--ink); color: var(--light); }
.woocommerce-mini-cart__empty-message { margin: auto; text-align: center; font-weight: var(--w-ui); color: var(--ink-2); padding-block: 48px; }

/* Hero — full-bleed photo ------------------------------------------------------ */
.hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(520px, 78vh, 760px); overflow: hidden; background: var(--dark); color: var(--light); }
.hero__media { position: absolute; inset: 0; }
.hero__media picture { display: contents; }
/* --hz (load) and --hs (scroll) are driven by GSAP; both rest at 1. */
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; transform: scale(calc(var(--hz, 1) * var(--hs, 1) * 1.1)); will-change: transform; }
/* In Arabic the copy sits on the right: mirror the photo so the model stands away from it. */
[dir="rtl"] .hero__media img { transform: scale(calc(var(--hz, 1) * var(--hs, 1) * -1.1), calc(var(--hz, 1) * var(--hs, 1) * 1.1)); }
/* Soft shade only on the text side so the copy stays readable over the bright sky. */
/* Shade rises from the bottom, where the headline and bar sit. */
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 15, 11, .58) 0%, rgba(20, 15, 11, .22) 28%, rgba(20, 15, 11, 0) 48%); } /* only behind the copy: the daylight photo stays bright */
.hero__content { position: relative; z-index: 2; width: 100%; padding-block: 56px 32px; }
.hero__title { display: grid; gap: .02em; margin-block-end: clamp(28px, 4vw, 52px); font-family: var(--f-head); font-weight: var(--w-display); font-stretch: var(--head-stretch); text-transform: var(--head-case); font-size: clamp(40px, 5.6vw, 88px); line-height: .95; letter-spacing: -.025em; }
html[lang^="ar"] .hero__title { font-weight: var(--w-display); letter-spacing: 0; line-height: 1.32; font-size: clamp(40px, 5.4vw, 84px); }
.hero__line { display: block; }
.hero__line--solid { color: var(--light); }
/* Second line drawn as an outline only. */
.hero__line--outline { color: transparent; -webkit-text-stroke: 1.2px var(--light); paint-order: stroke fill; }
/* Joined Arabic letters overlap, so a text-stroke shows seams inside words: the outline is traced from the solid shape by an SVG filter (#tm-outline in hero.php) instead. */
html[lang^="ar"] .hero__line--outline { color: var(--light); -webkit-text-stroke: 0; filter: url(#tm-outline); }
.hero__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hero__text { max-width: 380px; font-size: 15.5px; line-height: 1.6; opacity: .9; }
.hero__btn { display: inline-flex; align-items: center; justify-content: center; flex: none; min-height: 56px; padding-inline: 44px; background: var(--light); color: var(--ink); font-size: 11.5px; font-weight: var(--w-ui); letter-spacing: .32em; text-transform: uppercase; transition: background-color .4s var(--ease), color .4s var(--ease); }
html[lang^="ar"] .hero__btn { font-size: 15px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.hero__btn:hover, .hero__btn:focus-visible { background: var(--dark); color: var(--light); }
.hero__btn:focus-visible { outline: 1px solid var(--light); outline-offset: 4px; }

/* Services ----------------------------------------------------------------- */
/* Services marquee — the store's promises glide across a dark band. */
.marquee { overflow: hidden; background: var(--dark); color: var(--light); border-block: 1px solid rgba(205, 186, 150, .22); }
.marquee__track { display: flex; width: max-content; animation: marquee 52s linear infinite; }
[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; align-items: center; }
.marquee__item { display: flex; align-items: center; gap: 14px; padding-block: 26px; white-space: nowrap; }
.marquee__item::after { content: ""; width: 7px; height: 7px; margin-inline: 44px; background: var(--rule); transform: rotate(45deg); flex: none; }
.marquee__item .i { width: 28px; height: 28px; color: var(--rule); }
.marquee__title { font-size: 14px; font-weight: var(--w-ui); letter-spacing: .2em; text-transform: uppercase; }
html[lang^="ar"] .marquee__title { font-size: 17px; letter-spacing: 0; text-transform: none; }
.marquee__text { font-size: 13.5px; color: rgba(244, 239, 227, .62); }
html[lang^="ar"] .marquee__text { font-size: 14.5px; }
.marquee__text::before { content: "—"; margin-inline-end: 12px; color: rgba(244, 239, 227, .35); }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* Categories --------------------------------------------------------------- */
.cats.section { padding-block: clamp(40px, 4.5vw, 72px) 0; background: var(--cream); }
.cats__grid { display: flex; gap: clamp(10px, 1.2vw, 16px); height: clamp(300px, 24vw, 380px); }
.cats__grid > li { flex: 1 1 0; min-width: 0; transition: flex-grow .8s var(--ease-out); }
.cats__nav { display: none; }
.cats__grid > li:hover, .cats__grid > li:focus-within, .cats__grid:not(:hover):not(:focus-within) > li:first-child { flex-grow: 1.8; }
.cat { position: relative; display: block; height: 100%; overflow: hidden; background: var(--dark); color: var(--light); }
.cat__media { position: absolute; inset: 0; }
.cat__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); transform: scale(1.06); transition: transform 1.2s var(--ease-out); }
.cat__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 15, 11, .66), rgba(20, 15, 11, 0) 55%), rgba(20, 15, 11, .32); transition: background-color .6s var(--ease); }
li:hover > .cat .cat__media img, li:focus-within > .cat .cat__media img, .cats__grid:not(:hover):not(:focus-within) > li:first-child .cat__media img { transform: scale(1); }
li:hover > .cat .cat__media::after, li:focus-within > .cat .cat__media::after, .cats__grid:not(:hover):not(:focus-within) > li:first-child .cat__media::after { background-color: rgba(20, 15, 11, .04); }
.cat__body { position: absolute; inset-inline: 0; bottom: 0; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: clamp(20px, 2.4vw, 36px); }
.cat__title { min-width: 0; font-family: var(--f-head); font-weight: var(--w-display); font-stretch: var(--head-stretch); text-transform: var(--head-case); font-size: clamp(24px, 2.6vw, 44px); line-height: .95; letter-spacing: -.02em; }
html[lang^="ar"] .cat__title { font-weight: 700; letter-spacing: 0; line-height: 1.35; }
.cat__cta { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; min-height: 48px; padding-inline: 32px; background: var(--light); color: var(--ink); font-size: 10.5px; font-weight: var(--w-ui); letter-spacing: .3em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease), background-color .4s var(--ease), color .4s var(--ease); }
li:hover > .cat .cat__cta, li:focus-within > .cat .cat__cta, .cats__grid:not(:hover):not(:focus-within) > li:first-child .cat__cta { opacity: 1; transform: none; }
html[lang^="ar"] .cat__cta { font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.cat:hover .cat__cta, .cat:focus-visible .cat__cta { background: var(--dark); color: var(--light); }

/* Product rail (carousel) -------------------------------------------------- */
.rail__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail__viewport::-webkit-scrollbar { display: none; }
.rail__track { --pad: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); display: grid; grid-auto-flow: column; grid-auto-columns: calc((min(100vw, var(--max)) - 2 * var(--gutter) - 3 * var(--gap)) / 4); gap: var(--gap); padding-inline: var(--pad); width: max-content; min-width: 100%; }
.rail__item { scroll-snap-align: start; scroll-margin-inline: var(--pad); }
.rail__item.is-filtered { display: none; }
.rail__foot { display: flex; align-items: center; gap: 24px; margin-block-start: 28px; }
.rail__progress { flex: 1; height: 2px; background: var(--line); overflow: hidden; }
.rail__progress span { display: block; height: 100%; width: 30%; background: var(--ink); transform-origin: left; transition: transform .2s linear, width .2s; }
[dir="rtl"] .rail__progress span { margin-inline-start: 0; }
.rail__arrows { display: flex; gap: 8px; }

/* Product card — centred and quiet: badge, discount and "Add +" on the photo; info centred below ------ */
.card { position: relative; display: flex; flex-direction: column; height: 100%; }
.card__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-2); }
.card__link { position: absolute; inset: 0; }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s var(--ease), transform 1.6s var(--ease-out); }
.card__img--alt { opacity: 0; }
.card__tag { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2; font-size: 10px; font-weight: var(--w-ui); letter-spacing: .24em; text-transform: uppercase; line-height: 1.2; padding: 6px 10px; background: rgba(244, 239, 227, .92); color: var(--ink); pointer-events: none; }
.card__tag::before { content: ""; display: inline-block; vertical-align: middle; width: 6px; height: 6px; margin-inline-end: 8px; margin-block-start: -2px; border-radius: 50%; background: currentColor; }
html[lang^="ar"] .card__tag { font-size: 12.5px; font-weight: var(--w-ui); letter-spacing: 0; }
.card__info { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding-block: 18px 8px; text-align: center; }
.card__cat { font-size: 10px; font-weight: var(--w-ui); letter-spacing: .3em; text-transform: uppercase; color: var(--line-2); }
html[lang^="ar"] .card__cat { font-size: 12.5px; letter-spacing: 0; }
.card__title { font-family: var(--f-head); font-weight: 600; font-stretch: var(--head-stretch); font-size: clamp(15px, 1.15vw, 17px); line-height: 1.3; letter-spacing: -.005em; text-wrap: balance; }
html[lang^="ar"] .card__title { font-size: clamp(16px, 1.2vw, 18px); letter-spacing: 0; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__price { display: flex; flex-direction: row-reverse; justify-content: center; align-items: baseline; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.card__price del { font-size: 12.5px; font-weight: 400; color: var(--line-2); }
/* Discount badge on the photo, opposite the editorial tag. */
.card__off { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; padding: 5px 9px; background: var(--sale); color: var(--light); font-size: 11px; font-weight: var(--w-ui); letter-spacing: .04em; line-height: 1.2; pointer-events: none; }
/* With an editorial badge too, the discount sits just under it on the same side. */
.card__tag + .card__off { top: 48px; inset-inline-start: 14px; inset-inline-end: auto; }
/* "Add +" pill centred at the bottom of the photo. */
/* Under the price, on every card; pushed to the bottom so the buttons of a row line up. */
.card__buy { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; align-self: stretch; min-height: 42px; margin-block-start: auto; padding-inline: 8px; background: var(--ink); color: var(--light); font-size: 11px; font-weight: var(--w-ui); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; transition: background-color .25s var(--ease); }
html[lang^="ar"] .card__buy { font-size: 14px; letter-spacing: 0; text-transform: none; }
.card__buy:hover, .card__buy:focus-visible { background: var(--dark-2); }
.card__price { margin-block-end: 6px; }
.card__colors { position: relative; z-index: 2; display: flex; justify-content: center; gap: 6px; margin-block-start: 4px; }
.card__swatch { width: 8px; height: 8px; border-radius: 50%; background: var(--dot); box-shadow: inset 0 0 0 1px rgba(31, 24, 18, .22); }
@media (hover: hover) {
	.card--has-alt:hover .card__img--alt { opacity: 1; }
	.card:hover .card__img { transform: scale(1.04); }
}

/* Home — four new pieces after the category panels. */
.selection { padding-block: clamp(56px, 6vw, 96px); background: var(--cream); }
.selection__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-block-end: clamp(22px, 2.6vw, 36px); }
.selection__title { font-family: var(--f-head); font-weight: 600; font-stretch: var(--head-stretch); text-transform: var(--head-case); font-size: clamp(22px, 2vw, 30px); letter-spacing: .02em; }
html[lang^="ar"] .selection__title { font-weight: 700; letter-spacing: 0; }
.selection__all { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; padding-block-end: 4px; border-bottom: 1px solid currentColor; }
html[lang^="ar"] .selection__all { font-size: 14px; letter-spacing: 0; text-transform: none; }
.selection__all:hover { opacity: .65; }
/* Up to four cards a row, centred — three new arrivals sit in the middle, not against one side. */
.selection__grid { --cols: 4; display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 20px; }
.selection__grid > li { flex: 0 0 calc((100% - (var(--cols) - 1) * 20px) / var(--cols)); min-width: 0; }

/* Promo banner ------------------------------------------------------------- */
.promo { position: relative; display: grid; place-items: center; min-height: clamp(400px, 58vh, 600px); padding-block: 56px; overflow: hidden; background: var(--dark); color: var(--light); text-align: center; }
.promo__media { position: absolute; inset: -6% 0; }
.promo__media img { width: 100%; height: 100%; object-fit: cover; object-position: 74% 14%; }
.promo__media::after { content: ""; position: absolute; inset: 0; background: rgba(20, 15, 11, .38); }
.promo__content { position: relative; z-index: 1; display: grid; justify-items: center; }
.promo__title { max-width: 18ch; font-family: var(--f-head); font-weight: var(--head-weight); font-stretch: var(--head-stretch); text-transform: var(--head-case); font-size: clamp(32px, 4.4vw, 68px); line-height: var(--lh-head); letter-spacing: -.02em; margin-block-end: 32px; }
html[lang^="ar"] .promo__title { letter-spacing: 0; }
.promo__text { max-width: 460px; font-size: 16px; opacity: .9; margin-block-end: 28px; }

/* Scroller — the promises as an oversized banner that moves with the page scroll. */
.scroller { overflow: hidden; padding-block: clamp(18px, 2vw, 28px); background: var(--dark-2); color: var(--light); }
.scroller__track { display: flex; width: max-content; will-change: transform; }
.motion .scroller__track:not(.is-driven) { animation: marquee 60s linear infinite; }
[dir="rtl"].motion .scroller__track:not(.is-driven) { animation-name: marquee-rtl; }
.scroller__list { display: flex; align-items: center; }
.scroller__item { display: flex; align-items: center; gap: clamp(14px, 1.4vw, 22px); padding-inline-end: clamp(36px, 4vw, 64px); font-family: var(--f-head); font-weight: 600; font-stretch: var(--head-stretch); text-transform: var(--head-case); font-size: clamp(15px, 1.5vw, 22px); line-height: 1.3; letter-spacing: .16em; white-space: nowrap; }
.scroller__item:nth-child(even) .scroller__word { color: rgba(244, 239, 227, .5); }
html[lang^="ar"] .scroller__item { font-size: clamp(17px, 1.6vw, 24px); letter-spacing: 0; line-height: 1.6; }
.scroller__icon { flex: none; width: 1.15em; height: 1.15em; color: #D9C49A; }

/* Craft feature — split headline, scroll-driven three-photo gallery, craft details. */
.craft { overflow: hidden; padding-block: var(--section); background: var(--dark-2); color: var(--light); }
.craft__head { display: grid; grid-template-columns: 1.35fr 1fr; align-items: end; gap: clamp(32px, 5vw, 96px); margin-block-end: clamp(48px, 6vw, 96px); }
.craft__label { margin-block-end: 22px; font-size: 11.5px; font-weight: var(--w-ui); letter-spacing: .3em; text-transform: uppercase; color: #D9C49A; }
html[lang^="ar"] .craft__label { font-size: 15px; letter-spacing: 0; }
.craft__title { display: grid; font-family: var(--f-head); font-weight: var(--w-display); font-stretch: var(--head-stretch); text-transform: var(--head-case); font-size: clamp(40px, 5.6vw, 92px); line-height: .95; letter-spacing: -.025em; }
html[lang^="ar"] .craft__title { line-height: 1.2; letter-spacing: 0; }
.craft__line--outline { color: transparent; -webkit-text-stroke: 1.2px var(--light); }
html[lang^="ar"] .craft__line--outline { color: #D9C49A; -webkit-text-stroke: 0; }
.craft__intro p { max-width: 42ch; margin-block-end: 32px; font-size: 16px; line-height: 1.7; color: rgba(244, 239, 227, .72); }
.craft__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.craft__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding-inline: 40px; background: var(--light); color: var(--ink); font-size: 11.5px; font-weight: var(--w-ui); letter-spacing: .3em; text-transform: uppercase; transition: background-color .4s var(--ease); }
.craft__btn:hover, .craft__btn:focus-visible { background: #D9C49A; }
.craft__btn:focus-visible, .craft__link:focus-visible { outline: 1px solid var(--light); outline-offset: 4px; }
.craft__link { display: inline-flex; align-items: center; gap: 12px; padding-block: 6px; border-block-end: 1px solid rgba(244, 239, 227, .4); font-size: 11.5px; font-weight: var(--w-ui); letter-spacing: .3em; text-transform: uppercase; transition: border-color .3s var(--ease); }
.craft__link:hover { border-color: var(--light); }
.craft__link .i { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.craft__link:hover .i { transform: translateX(4px); }
[dir="rtl"] .craft__link:hover .i { transform: scaleX(-1) translateX(4px); }
html[lang^="ar"] .craft__btn, html[lang^="ar"] .craft__link { font-size: 15px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.craft__gallery { display: grid; grid-template-columns: 1fr 1.35fr 1fr; align-items: center; gap: clamp(12px, 1.6vw, 24px); }
.craft__fig { margin: 0; overflow: hidden; aspect-ratio: 1 / 1; background: var(--dark); }
.craft__fig img { width: 100%; height: 100%; object-fit: cover; }
.craft__fig--start { align-self: end; }
.craft__fig--end { align-self: start; }
.craft__fig--main { aspect-ratio: 5 / 4; }
.craft__fig--main img { object-position: 50% 30%; }
.craft__details { display: grid; grid-template-columns: repeat(3, 1fr); margin-block-start: clamp(48px, 6vw, 96px); border-block-start: 1px solid rgba(244, 239, 227, .18); }
.craft__detail { display: flex; align-items: center; gap: 18px; padding-block-start: 28px; font-family: var(--f-head); font-weight: 600; font-stretch: var(--head-stretch); text-transform: var(--head-case); font-size: clamp(18px, 1.8vw, 28px); letter-spacing: .02em; }
.craft__detail::before { content: ""; flex: none; width: 14px; height: 14px; background: #D9C49A; clip-path: polygon(50% 0%, 64.6% 14.6%, 85.4% 14.6%, 85.4% 35.4%, 100% 50%, 85.4% 64.6%, 85.4% 85.4%, 64.6% 85.4%, 50% 100%, 35.4% 85.4%, 14.6% 85.4%, 14.6% 64.6%, 0% 50%, 14.6% 35.4%, 14.6% 14.6%, 35.4% 14.6%); }
html[lang^="ar"] .craft__detail { font-size: clamp(20px, 1.9vw, 30px); letter-spacing: 0; }

/* FAQ deck — fanned question cards that flip to their answer. */
/* Home FAQ: the title beside the questions; one answer open at a time. */
.hfaq { padding-block: var(--section); background: var(--cream); }
.hfaq__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: clamp(32px, 6vw, 110px); }
.hfaq__label { margin-block-end: 14px; font-size: 11.5px; font-weight: var(--w-ui); letter-spacing: .3em; text-transform: uppercase; color: var(--line-2); }
html[lang^="ar"] .hfaq__label { font-size: 15px; letter-spacing: 0; }
.hfaq__title { margin-block-end: 18px; font-family: var(--f-head); font-weight: var(--w-display); font-stretch: var(--head-stretch); text-transform: var(--head-case); font-size: clamp(32px, 4.2vw, 64px); line-height: .98; letter-spacing: -.02em; }
html[lang^="ar"] .hfaq__title { line-height: 1.25; letter-spacing: 0; }
.hfaq__text { max-width: 36ch; margin-block-end: 28px; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.hfaq__more { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 15px; color: var(--ink-2); }
.hfaq__link { display: inline-flex; align-items: center; gap: 10px; padding-block: 8px 4px; border-block-end: 1px solid var(--ink); color: var(--ink); font-size: 11.5px; font-weight: var(--w-ui); letter-spacing: .24em; text-transform: uppercase; }
html[lang^="ar"] .hfaq__link { font-size: 15px; letter-spacing: 0; text-transform: none; }
.hfaq__link .i { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.hfaq__link:hover .i { transform: translateX(4px); }
[dir="rtl"] .hfaq__link:hover .i { transform: scaleX(-1) translateX(4px); }
.hfaq__list { border-block-start: 1px solid var(--line-2); }
.hfaq__item { border-block-end: 1px solid var(--line-2); }
.hfaq__q { display: flex; align-items: center; gap: 14px; min-height: 68px; padding-block: 16px; cursor: pointer; list-style: none; }
.hfaq__q::-webkit-details-marker { display: none; }
.hfaq__q:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.hfaq__star { flex: none; width: 13px; height: 13px; color: var(--sale); }
.hfaq__q-text { flex: 1; min-width: 0; font-family: var(--f-head); font-weight: var(--w-strong); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.35; }
.hfaq__toggle { display: grid; flex: none; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line-2); border-radius: 50%; transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease); }
.hfaq__toggle .i { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.hfaq__item[open] .hfaq__toggle { border-color: var(--ink); background: var(--ink); color: var(--light); }
.hfaq__item[open] .hfaq__toggle .i { transform: rotate(45deg); }
.hfaq__a { padding-block-end: 20px; padding-inline-start: 27px; color: var(--ink-2); font-size: 15.5px; line-height: 1.7; }
.hfaq__a p { max-width: 58ch; margin: 0; }
@media (hover: hover) {
	.hfaq__q:hover .hfaq__toggle { border-color: var(--ink); }
}
@media (max-width: 899px) {
	.hfaq__inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.hfaq__text { max-width: none; margin-block-end: 18px; }
	.hfaq__q { gap: 12px; min-height: 60px; padding-block: 14px; }
	.hfaq__a { padding-block-end: 18px; font-size: 15px; }
}




/* Manifesto — the brand's own words in oversized type, a photo showing through the letters. */
.manifesto { overflow: hidden; padding-block: clamp(80px, 10vw, 160px); background: var(--cream); text-align: center; }
.manifesto__inner { margin-block: 0; }
.manifesto__quote { max-width: 1000px; margin-inline: auto; font-family: var(--f-head); font-weight: var(--w-display); font-stretch: var(--head-stretch); text-transform: var(--head-case); font-size: clamp(28px, 4vw, 68px); line-height: .98; letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
html[lang^="ar"] .manifesto__quote { font-size: clamp(28px, 3.6vw, 62px); line-height: 1.35; letter-spacing: 0; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.manifesto__quote.has-fill p { padding-block: .1em .25em; margin-block: -.1em -.25em; background-image: linear-gradient(rgba(31, 24, 18, .32), rgba(31, 24, 18, .32)), var(--fill); background-size: cover; background-position: 50% var(--fill-y, 40%); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.manifesto__by { display: inline-flex; align-items: center; gap: 18px; margin-block-start: clamp(36px, 4vw, 56px); font-size: 12px; font-weight: var(--w-ui); letter-spacing: .32em; text-transform: uppercase; color: var(--line-2); }
html[lang^="ar"] .manifesto__by { font-size: 16px; letter-spacing: 0; }
.manifesto__rule { width: 56px; height: 1px; background: currentColor; transform-origin: left; }
[dir="rtl"] .manifesto__rule { transform-origin: right; }

/* Moroccan motifs (inc/motifs.php): sfifa-style trim bands, khatam ornament, star burst. */
.motif { display: block; }
.site-footer__band, .craft__band { position: absolute; top: 10px; inset-inline: 0; z-index: 1; width: 100%; height: 24px; color: #D9C49A; opacity: .55; pointer-events: none; }
.craft { position: relative; }
.manifesto__ornament { width: clamp(96px, 9vw, 130px); height: auto; margin: 0 auto clamp(26px, 3vw, 40px); color: var(--line-2); }
.selection__star { display: inline-block; width: .6em; height: .6em; margin-inline-end: .4em; vertical-align: .06em; color: var(--sale); }
/* Eight-point khatam as a CSS shape (badges). */
.card__tag::before { border-radius: 0; clip-path: polygon(50% 0%, 64.6% 14.6%, 85.4% 14.6%, 85.4% 35.4%, 100% 50%, 85.4% 64.6%, 85.4% 85.4%, 64.6% 85.4%, 50% 100%, 35.4% 85.4%, 14.6% 85.4%, 14.6% 64.6%, 0% 50%, 14.6% 35.4%, 14.6% 14.6%, 35.4% 14.6%); width: 8px; height: 8px; background: var(--sale); }

/* Reviews — "one big voice": one real review at a time, story-style progress bars. */
.voices { padding-block: var(--section); background: var(--bg-2); }
.voices__label { margin-block-end: clamp(24px, 3vw, 40px); font-size: 11.5px; font-weight: var(--w-ui); letter-spacing: .3em; text-transform: uppercase; color: var(--line-2); }
html[lang^="ar"] .voices__label { font-size: 15px; letter-spacing: 0; }
.voices__bars { display: flex; gap: 8px; max-width: 560px; margin-block-end: clamp(32px, 4vw, 56px); }
.voices__bar { position: relative; flex: 1; height: 18px; }
.voices__bar::before, .voices__fill { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 2px; margin-block-start: -1px; }
.voices__bar::before { background: rgba(31, 24, 18, .16); }
.voices__fill { background: var(--ink); transform: scaleX(0); transform-origin: left; }
[dir="rtl"] .voices__fill { transform-origin: right; }
.voices__bar.is-done .voices__fill, .voices__bar[aria-current="true"] .voices__fill { transform: scaleX(1); }
.motion .voices__bar[aria-current="true"] .voices__fill { animation: voice-fill 7s linear forwards; }
.motion .voices.is-paused .voices__fill { animation-play-state: paused; }
@keyframes voice-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.voices__stars { margin-block-end: 22px; }
.voices__stars .i { width: 20px; height: 20px; }
.voices__quote { max-width: 24ch; font-family: var(--f-head); font-weight: 600; font-stretch: var(--head-stretch); font-size: clamp(30px, 4.2vw, 64px); line-height: 1.08; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
html[lang^="ar"] .voices__quote { line-height: 1.45; letter-spacing: 0; font-size: clamp(28px, 3.6vw, 54px); }
.motion .voice.is-active .voice__w { display: inline-block; animation: voice-word .8s var(--ease-out) both; animation-delay: calc(var(--i) * 40ms); }
@keyframes voice-word { from { opacity: 0; transform: translateY(.35em); filter: blur(6px); } }
.voice { margin: 0; }
.voice__by { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-block-start: clamp(28px, 3vw, 44px); }
.voice__thumb { flex: none; width: 56px; height: 56px; overflow: hidden; background: var(--surface); }
.voice__thumb img { width: 100%; height: 100%; object-fit: cover; }
.voice__who { display: grid; gap: 2px; font-size: 15px; }
.voice__who a { font-size: 13.5px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }

/* Stars & verified badge (home and product page). */
.stars { display: inline-flex; gap: 3px; color: #8C6B3F; }
.stars .i { width: 16px; height: 16px; }
.stars .i:not(.is-on) { color: var(--line-2); }
.review__badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: var(--w-ui); color: #6E5530; }
.review__badge .i { width: 15px; height: 15px; }


/* Footer ------------------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; background: var(--dark); color: var(--light); padding-block-start: clamp(44px, 5vw, 72px); }
@media (hover: hover) { .site-footer a:hover { opacity: .7; } }
.site-footer__toggle { display: none; }
.site-footer__top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px var(--gap); padding-block-end: 48px; }
.site-footer__claim { max-width: 300px; margin-block: 20px; font-size: 14px; color: rgba(244, 239, 227, .7); }
.site-footer__h { margin-block-end: 16px; font-size: 11.5px; font-weight: var(--w-strong); letter-spacing: .18em; text-transform: uppercase; color: rgba(244, 239, 227, .55); }
html[lang^="ar"] .site-footer__h { font-size: 13px; letter-spacing: 0; text-transform: none; }
.site-footer__col ul { display: grid; gap: 10px; font-size: 14px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 22px; border-top: 1px solid var(--line-light); font-size: 12px; color: rgba(244, 239, 227, .6); }
.site-footer__legal { display: flex; gap: 20px; }

.site-footer__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-block-end: clamp(40px, 4vw, 56px); padding-block-end: clamp(32px, 3.4vw, 48px); border-block-end: 1px solid var(--line-light); }
.site-footer__call { font-family: var(--f-head); font-weight: var(--w-display); font-stretch: var(--head-stretch); text-transform: var(--head-case); font-size: clamp(22px, 2.4vw, 36px); line-height: 1.1; letter-spacing: -.015em; text-wrap: balance; }
html[lang^="ar"] .site-footer__call { line-height: 1.4; letter-spacing: 0; }
.site-footer__btn { display: inline-flex; align-items: center; gap: 14px; min-height: 56px; padding-inline: 36px; background: var(--light); color: var(--ink); font-size: 11.5px; font-weight: var(--w-ui); letter-spacing: .3em; text-transform: uppercase; transition: background-color .4s var(--ease); }
.site-footer a.site-footer__btn:hover, .site-footer__btn:focus-visible { opacity: 1; background: #D9C49A; }
.site-footer__btn:focus-visible { outline: 1px solid var(--light); outline-offset: 4px; }
html[lang^="ar"] .site-footer__btn { font-size: 15px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.site-footer__btn .i { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.site-footer__btn:hover .i { transform: translateX(4px); }
[dir="rtl"] .site-footer__btn:hover .i { transform: scaleX(-1) translateX(4px); }
/* Wordmark: letters spread across the full footer width (container units), each rising on reveal. */
.site-footer { container-type: inline-size; }
.site-footer__word { display: flex; justify-content: space-between; align-items: flex-end; padding-inline: var(--gutter); font-family: var(--f-latin); font-stretch: 125%; font-weight: 800; font-size: 12.4vw; font-size: 12.4cqi; line-height: .8; color: #D9C49A; opacity: .5; filter: blur(3px); -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 105%); mask-image: linear-gradient(to bottom, #000 30%, transparent 105%); user-select: none; }
.site-footer__word span { display: block; overflow: hidden; }
.site-footer__word b { display: block; font-weight: inherit; }
.site-footer__word .is-gap { width: .25em; }
.motion .site-footer__word b { transform: translateY(105%); }
.motion-done .site-footer__word b { transform: none; }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-light); border-radius: 50%; }
.socials--ink a { border-color: var(--line-2); }

/* Collection pages --------------------------------------------------------- */
.collection-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(340px, 50vh, 520px); overflow: hidden; background: var(--dark); color: var(--light); }
.collection-hero--tall { min-height: clamp(460px, 78vh, 820px); }
.collection-hero__media { position: absolute; inset: 0; }
.collection-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
/* Arabic copy sits on the right: mirror the atelier photo so the calm wall stays under the text. The flip sits on the wrapper because GSAP scales the img itself. */
[dir="rtl"] .collection-hero__media--atelier, [dir="rtl"] .collection-hero__media--flip { scale: -1 1; }
.collection-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 15, 11, .75), rgba(20, 15, 11, .15) 70%); }
.collection-hero__content { position: relative; z-index: 1; padding-block: 40px clamp(32px, 4vw, 56px); }
.collection-hero__title { font-family: var(--f-head); font-weight: var(--head-weight); font-stretch: var(--head-stretch); text-transform: var(--head-case); font-size: clamp(40px, 6vw, 96px); line-height: var(--lh-head); letter-spacing: -.02em; margin-block-end: 12px; }
html[lang^="ar"] .collection-hero__title { letter-spacing: 0; }
.collection-hero__lede { max-width: 520px; font-size: 16px; opacity: .88; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 18px; font-size: 12px; opacity: .8; }
.crumbs a:hover { text-decoration: underline; }
.crumbs__sep { opacity: .5; }

.collection-tabs { padding-block: clamp(24px, 3vw, 40px) 0; }
.collection-tabs ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 36px; }
.collection-tabs a { display: block; padding-block: 8px; font-size: 13px; font-weight: var(--w-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); border-bottom: 2px solid transparent; }
html[lang^="ar"] .collection-tabs a { font-size: 16px; letter-spacing: 0; text-transform: none; }
.collection-tabs a:hover, .collection-tabs a[aria-current] { color: var(--ink); border-color: var(--ink); }

.shop { padding-block: 0 var(--section); }
/* Collection pages (shop, men, children, babies, search) and product pages on white cream. */
.site-main:has(> .shop), .site-main:has(> .pdp) { background: var(--cream); }
/* Collection toolbar — filter pills with floating panels, count, sort, active chips. */
.toolbar { position: relative; z-index: 6; margin-block: 24px 32px; }
.toolbar__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-block: 14px; border-block: 1px solid var(--line); }
.toolbar__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.fpill { position: relative; }
.fpill__btn { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding-inline: 18px 14px; border: 1px solid rgba(31, 24, 18, .25); border-radius: 999px; background: var(--cream); font-size: 13px; font-weight: var(--w-ui); color: var(--ink); transition: border-color .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease); }
html[lang^="ar"] .fpill__btn { font-size: 15px; }
.fpill__btn:hover { border-color: var(--ink); }
.fpill__btn[aria-expanded="true"], .fpill.has-value .fpill__btn { border-color: var(--ink); background: var(--ink); color: var(--light); }
.fpill__btn .i { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.fpill__btn[aria-expanded="true"] .i { transform: rotate(180deg); }
.fpill__count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding-inline: 5px; border-radius: 10px; background: var(--sale); color: var(--light); font-size: 11px; font-variant-numeric: tabular-nums; }
.fpill__panel { position: absolute; top: calc(100% + 10px); inset-inline-start: 0; z-index: 10; width: min(360px, calc(100vw - 2 * var(--gutter))); padding: 18px; border: 1px solid rgba(31, 24, 18, .14); border-radius: 14px; background: var(--cream); box-shadow: 0 24px 48px -20px rgba(31, 24, 18, .4); }
.motion .fpill__panel:not([hidden]) { animation: fpanel-in .3s var(--ease-out); }
@keyframes fpanel-in { from { opacity: 0; transform: translateY(-6px); } }
.fpill__group { display: grid; gap: 6px; margin: 0 0 16px; padding: 0; border: 0; max-height: 320px; overflow-y: auto; }
.fpill__panel--color .fpill__group { grid-template-columns: 1fr 1fr; }
.fpill__panel--size .fpill__group { grid-template-columns: repeat(3, 1fr); }
.fopt { position: relative; display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 12px; border: 1px solid transparent; border-radius: 10px; font-size: 13.5px; cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.fpill__panel--size .fopt { justify-content: center; padding-inline: 6px; border-color: rgba(31, 24, 18, .16); text-align: center; font-size: 13px; }
html[lang^="ar"] .fopt { font-size: 14.5px; }
.fopt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.fopt:hover { background: var(--bg-2); }
.fopt:has(input:checked) { border-color: var(--ink); background: var(--bg-2); font-weight: var(--w-ui); }
.fpill__panel--size .fopt:has(input:checked) { background: var(--ink); color: var(--light); }
.fopt:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 1px; }
.fopt__dot { flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--dot); box-shadow: inset 0 0 0 1px rgba(31, 24, 18, .2); }
.fopt:has(input:checked) .fopt__dot { box-shadow: 0 0 0 2px var(--cream), 0 0 0 3px var(--ink); }
.fpill__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block-start: 14px; border-block-start: 1px solid rgba(31, 24, 18, .12); }
.fpill__clear { font-size: 13px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.fpill__clear:hover { color: var(--ink); }
.fpill__apply { min-height: 40px; padding-inline: 22px; border-radius: 999px; background: var(--ink); color: var(--light); font-size: 12px; font-weight: var(--w-ui); letter-spacing: .14em; text-transform: uppercase; transition: background-color .25s var(--ease); }
html[lang^="ar"] .fpill__apply { font-size: 14px; letter-spacing: 0; }
.fpill__apply:hover { background: var(--dark-2); }
.toolbar__count { margin-inline-start: auto; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.toolbar__sort { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding-inline: 18px 38px; border: 1px solid rgba(31, 24, 18, .25); border-radius: 999px; background: var(--cream); transition: border-color .25s var(--ease); }
.toolbar__sort:hover, .toolbar__sort:focus-within { border-color: var(--ink); }
.toolbar__sort-k { font-size: 12.5px; color: var(--ink-2); }
.toolbar__sort select { appearance: none; border: 0; background: transparent; padding: 0; font-size: 13px; font-weight: var(--w-ui); color: var(--ink); cursor: pointer; }
html[lang^="ar"] .toolbar__sort select, html[lang^="ar"] .toolbar__sort-k { font-size: 14.5px; }
.toolbar__sort select:focus { outline: none; }
.toolbar__sort .i { position: absolute; inset-inline-end: 14px; width: 15px; height: 15px; pointer-events: none; }
.toolbar__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-block-start: 14px; }
.fchip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 14px; border-radius: 999px; background: var(--bg-2); font-size: 13px; color: var(--ink); transition: background-color .25s var(--ease); }
.fchip .i { width: 13px; height: 13px; opacity: .6; }
.fchip:hover { background: var(--surface); }
.fchip:hover .i { opacity: 1; }
.fchip-clear { margin-inline-start: 6px; font-size: 13px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }

.grid--products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px var(--gap); }
.grid__item { min-width: 0; }
.grid__item.is-filtered { display: none; }
.grid__item--tile { grid-column: span var(--span, 1); }
.tile { position: relative; display: flex; align-items: flex-end; height: 100%; min-height: 100%; overflow: hidden; background: var(--dark); color: var(--light); }
.grid--products .tile { aspect-ratio: auto; }
.tile__media { position: absolute; inset: 0; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.tile:hover .tile__media img { transform: scale(1.04); }
.tile__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 15, 11, .75), rgba(20, 15, 11, .05) 60%); }
.tile__text { position: relative; z-index: 1; display: grid; justify-items: start; gap: 16px; padding: clamp(18px, 2vw, 32px); }
.tile__title { max-width: 18ch; font-family: var(--f-head); font-weight: var(--head-weight); font-stretch: var(--head-stretch); text-transform: var(--head-case); font-size: clamp(20px, 2vw, 30px); line-height: 1.15; }
html[lang^="ar"] .tile__title { line-height: 1.4; }
.woocommerce-pagination { margin-block-start: 56px; }
.woocommerce-pagination ul { display: flex; justify-content: center; gap: 6px; }
.woocommerce-pagination a, .woocommerce-pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; }
.woocommerce-pagination .current { background: var(--ink); color: var(--light); border-color: var(--ink); }
.empty { display: grid; justify-items: center; gap: 18px; padding-block: 72px; text-align: center; }
.empty__title { font-family: var(--f-head); font-weight: var(--head-weight); font-size: 22px; }

.size-guide { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px var(--gap); scroll-margin-top: calc(var(--header-h) + 16px); border-top: 1px solid var(--line); }
.size-guide__head { grid-column: 1 / span 5; }
.size-guide__head .eyebrow { display: none; }
.size-guide__head .section-title { font-family: var(--f-head); font-weight: var(--head-weight); font-stretch: var(--head-stretch); text-transform: var(--head-case); font-size: clamp(26px, 2.6vw, 40px); line-height: var(--lh-head); margin-block-end: 14px; }
.size-guide__head p { max-width: 420px; color: var(--ink-2); }
.size-guide__table { grid-column: 7 / -1; }
.size-guide table { width: 100%; border-collapse: collapse; font-size: 14px; }
.size-guide th, .size-guide td { padding: 12px 6px; text-align: start; font-weight: 400; border-bottom: 1px solid var(--line); }
.size-guide thead th { font-size: 11.5px; font-weight: var(--w-strong); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); border-bottom-color: var(--ink); }
html[lang^="ar"] .size-guide thead th { font-size: 13px; letter-spacing: 0; text-transform: none; }
.size-guide tbody th { font-weight: var(--w-ui); }
.size-guide--compact { display: block; border: 0; }
/* Size guide (shop pages) — horizontal height scale in cm, one marker per size, labels alternating above / below. */
.sg { border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.sg__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 12px 48px; margin-block-end: clamp(28px, 3vw, 44px); }
.sg__label { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: var(--w-ui); letter-spacing: .3em; text-transform: uppercase; color: var(--line-2); }
html[lang^="ar"] .sg__label { font-size: 15px; letter-spacing: 0; }
.sg__star { width: 11px; height: 11px; color: var(--sale); }
.sg__title { font-family: var(--f-head); font-weight: var(--w-display); font-stretch: var(--head-stretch); text-transform: var(--head-case); font-size: clamp(30px, 3.6vw, 56px); line-height: 1; letter-spacing: -.02em; }
html[lang^="ar"] .sg__title { line-height: 1.3; letter-spacing: 0; }
.sg__text { max-width: 52ch; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.sg__scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--muted) transparent; padding-inline: var(--gutter); }
.sg__scale { position: relative; min-width: max(100%, calc(var(--cols) * 108px)); max-width: calc(var(--max) - 2 * var(--gutter)); height: 300px; margin-inline: auto; }
.sg__line { position: absolute; top: 50%; inset-inline: 0; height: 2px; background: rgba(31, 24, 18, .18); }
.sg__tick { position: absolute; inset-inline-start: var(--at); top: -6px; width: 1px; height: 14px; background: rgba(31, 24, 18, .3); }
.sg__tick > span { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); font-family: var(--f-latin); font-size: 10.5px; color: var(--line-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sg__range { position: absolute; top: -3px; inset-inline-start: var(--from); width: calc(var(--to) - var(--from)); height: 8px; border-radius: 4px; background: var(--ink); opacity: .85; transition: background-color .25s var(--ease), transform .25s var(--ease); }
.sg__range--alt { background: var(--line-2); }
.sg__unit { position: absolute; top: calc(50% + 18px); inset-inline-end: -26px; font-size: 10.5px; color: var(--line-2); }
/* Each marker: a thin stem from the line to its card. */
.sg__mark { position: absolute; inset-inline-start: var(--at); width: 0; }
.sg__mark--up { bottom: calc(50% + 10px); }
.sg__mark--down { top: calc(50% + 40px); }
.sg__mark::before { content: ""; position: absolute; left: 0; width: 1px; background: rgba(31, 24, 18, .25); }
.sg__mark--up::before { top: 100%; height: 6px; }
.sg__mark--down::before { bottom: 100%; height: 34px; }
.sg__card { position: absolute; left: 50%; display: grid; justify-items: center; gap: 2px; min-width: 92px; padding: 8px 12px; border: 1px solid rgba(31, 24, 18, .14); border-radius: 10px; background: var(--cream); text-align: center; white-space: nowrap; transform: translateX(-50%); transition: border-color .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), transform .3s var(--ease-out); }
.sg__mark--up .sg__card { bottom: 0; }
.sg__mark--down .sg__card { top: 0; }
.sg__size { font-family: var(--f-head); font-weight: 700; font-stretch: var(--head-stretch); font-size: 14.5px; unicode-bidi: plaintext; }
html[lang^="ar"] .sg__size { font-size: 15px; }
.sg__cm { font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sg__mark:hover .sg__card { border-color: var(--ink); background: var(--ink); color: var(--light); transform: translateX(-50%) translateY(-2px); }
.sg__mark:hover .sg__cm { color: rgba(244, 239, 227, .75); }

/* Product page ------------------------------------------------------------- */
.pdp { padding-block-start: 24px; }
.pdp__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.pdp__gallery { grid-column: 1 / span 6; position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: start; }
.pdp__gallery:not(:has(.pdp__thumbs)) { grid-template-columns: minmax(0, 1fr); }
/* Square main stage: one image at a time, thumbnails (or a swipe) scroll it. */
.pdp__track { grid-column: -2 / -1; grid-row: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; background: var(--bg-2); }
.pdp__track::-webkit-scrollbar { display: none; }
.pdp__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.pdp__img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 30%; }
.pdp__thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 10px; max-height: 100%; overflow-y: auto; scrollbar-width: none; }
.pdp__thumb { flex: none; width: 100%; aspect-ratio: 1 / 1; padding: 0; overflow: hidden; border: 1px solid transparent; background: var(--bg-2); opacity: .55; transition: opacity .3s var(--ease), border-color .3s var(--ease); }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumb:hover { opacity: .85; }
.pdp__thumb[aria-current="true"] { border-color: var(--ink); opacity: 1; }
.pdp__thumb:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.pdp__tags { position: absolute; top: 14px; inset-inline-start: calc(76px + 14px + 14px); z-index: 2; display: flex; gap: 6px; }
.pdp__gallery:not(:has(.pdp__thumbs)) .pdp__tags { inset-inline-start: 14px; }
.pdp__tags .tag { display: inline-block; padding: 4px 9px; border-radius: 999px; background: var(--light); font-size: 11px; font-weight: var(--w-strong); }
.pdp__tags .tag--sale { background: var(--ink); color: var(--light); }
.pdp__summary { grid-column: 8 / span 5; align-self: stretch; }
.pdp__sticky { position: sticky; top: calc(var(--header-h) + 20px); padding-block-end: 32px; }
.pdp__summary .eyebrow a:hover { text-decoration: underline; }
.pdp__title { font-family: var(--f-head); font-weight: var(--head-weight); font-stretch: var(--head-stretch); text-transform: var(--head-case); font-size: clamp(26px, 2.4vw, 38px); line-height: 1.1; letter-spacing: -.01em; margin-block-end: 14px; }
html[lang^="ar"] .pdp__title { line-height: 1.35; letter-spacing: 0; }
.pdp__price { margin-block-end: 18px; }
.pdp__excerpt { margin-block-start: 22px; color: var(--ink-2); }
.pdp__excerpt p { margin: 0; }
.pdp__buy { padding-block-start: 24px; border-top: 1px solid var(--line); }
.variations_form .variations, .variations_form .variations tbody, .variations_form .variations tr, .variations_form .variations th, .variations_form .variations td { display: block; width: 100%; padding: 0; border: 0; text-align: start; }
.variations_form .variations tr { margin-block-end: 16px; }
.variations_form .variations th.label label { display: block; margin-block-end: 7px; font-size: 12px; font-weight: var(--w-strong); letter-spacing: .12em; text-transform: uppercase; }
html[lang^="ar"] .variations_form .variations th.label label { font-size: 14px; letter-spacing: 0; text-transform: none; }
.tm-chosen { margin-inline-start: 6px; font-weight: 400; color: var(--ink-2); letter-spacing: 0; text-transform: none; }
.swatches select { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-2); background: var(--paper); }
.swatches.is-enhanced select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.swatch-list { display: flex; flex-wrap: wrap; gap: 6px; }
.swatch { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 5px 11px; border: 1px solid var(--line-2); font-size: 12.5px; transition: border-color .2s, background-color .2s, color .2s; }
.swatch:hover { border-color: var(--ink); }
.swatch[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--light); }
.swatch[aria-pressed="true"] .dot { box-shadow: 0 0 0 2px var(--light); }
.swatch:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.swatch--size { flex-direction: column; justify-content: center; gap: 0; min-width: 0; line-height: 1.25; font-weight: var(--w-ui); }
.swatch__detail { font-size: 11px; font-weight: 400; opacity: .7; }
/* Mixed-script labels ("54 · S", "0–3 أشهر") take the direction of their own first letter. */
.swatch--size > span:first-child, .size-guide tbody th, .chip, .fopt__name, .fchip, dl.variation dd { unicode-bidi: plaintext; }
.reset_variations { margin-block-start: 6px; }
.single_variation_wrap .woocommerce-variation { margin-block-end: 12px; }
.woocommerce-variation-add-to-cart, form.cart:not(.variations_form) { display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; }
.single_add_to_cart_button { flex: 1; min-height: 54px; }
/* Product page: "Buy now" is the main action, on its own line; "Add to bag" sits quietly beside the quantity. */
.single_add_to_cart_button:not(.tm-buy-now) { border-color: var(--ink); background: transparent; color: var(--ink); }
.single_add_to_cart_button:not(.tm-buy-now):hover { background: var(--ink); color: var(--light); }
.tm-buy-now { flex: 1 0 100%; }
.quantity { display: inline-flex; align-items: stretch; border: 1px solid var(--line-2); background: var(--paper); }
.quantity .qty { width: 46px; border: 0; background: transparent; text-align: center; font-size: 15px; font-weight: var(--w-ui); appearance: textfield; -moz-appearance: textfield; }
.quantity .qty::-webkit-inner-spin-button, .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { display: grid; place-items: center; width: 42px; }
.qty-btn:hover { background: var(--bg-2); }
.qty-btn .i { width: 16px; height: 16px; }
.quantity.hidden { display: none; }
/* Product page promises: four columns in one card — icon and title. */
.pdp__service { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 22px 0 0; padding: 18px 10px; list-style: none; border: 1px solid rgba(31, 24, 18, .12); border-radius: 12px; background: var(--cream); }
.pdp__promise { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-inline: 8px; text-align: center; }
.pdp__promise + .pdp__promise { border-inline-start: 1px solid rgba(31, 24, 18, .1); }
.pdp__promise-icon { display: grid; flex: none; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--bg-2); color: var(--ink); }
.pdp__promise-icon .i { width: 20px; height: 20px; }
.pdp__promise-title { font-size: 14px; font-weight: var(--w-strong); line-height: 1.35; color: var(--ink); }
html[lang^="ar"] .pdp__promise-title { font-size: 16px; line-height: 1.55; }
/* Without motion: all promises listed, no dots. */
.pdp__acc { margin-block-start: 10px; }
.pdp__acc .accordion__item summary { font-size: 12.5px; font-weight: var(--w-strong); letter-spacing: .12em; text-transform: uppercase; }
html[lang^="ar"] .pdp__acc .accordion__item summary { font-size: 15px; letter-spacing: 0; text-transform: none; }

.buybar { position: fixed; inset-inline: 0; bottom: 0; z-index: 30; display: none; align-items: center; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); transform: translateY(100%); visibility: hidden; transition: transform .4s var(--ease-out), visibility 0s linear .4s; }
.buybar.is-visible { transform: none; visibility: visible; transition-delay: 0s; }

/* Floating WhatsApp button (footer.php) — shown only when a number is set. */
.wa-float { position: fixed; bottom: clamp(16px, 2.4vw, 28px); inset-inline-end: clamp(16px, 2.4vw, 28px); z-index: 55; display: flex; align-items: center; gap: 12px; color: var(--light); filter: drop-shadow(0 12px 18px rgba(20, 15, 11, .35)); transition: transform .45s var(--ease-out), opacity .3s var(--ease); }
/* The button is an eight-point khatam star (same shape as the badges), the icon sits upright in the centre. */
.wa-float__star { position: relative; isolation: isolate; display: grid; flex: none; place-items: center; width: 64px; height: 64px; }
/* A thin champagne edge (a slightly larger star behind) keeps the shape readable over dark photos. */
.wa-float__star::after { content: ""; position: absolute; inset: -2px; z-index: -1; background: #D9C49A; clip-path: polygon(50% 0%, 64.6% 14.6%, 85.4% 14.6%, 85.4% 35.4%, 100% 50%, 85.4% 64.6%, 85.4% 85.4%, 64.6% 85.4%, 50% 100%, 35.4% 85.4%, 14.6% 85.4%, 14.6% 64.6%, 0% 50%, 14.6% 35.4%, 14.6% 14.6%, 35.4% 14.6%); transition: transform .7s var(--ease-out); }
.wa-float__star::before { content: ""; position: absolute; inset: 0; background: var(--dark); clip-path: polygon(50% 0%, 64.6% 14.6%, 85.4% 14.6%, 85.4% 35.4%, 100% 50%, 85.4% 64.6%, 85.4% 85.4%, 64.6% 85.4%, 50% 100%, 35.4% 85.4%, 14.6% 85.4%, 14.6% 64.6%, 0% 50%, 14.6% 35.4%, 14.6% 14.6%, 35.4% 14.6%); transition: transform .7s var(--ease-out), background-color .3s var(--ease); }
.wa-float .i { position: relative; width: 28px; height: 28px; }
.wa-float__label { padding: 10px 16px; border-radius: 999px; background: var(--ink); font-size: 13px; font-weight: var(--w-ui); white-space: nowrap; opacity: 0; transform: translateX(10px); pointer-events: none; transition: opacity .35s var(--ease), transform .45s var(--ease-out); }
[dir="rtl"] .wa-float__label { transform: translateX(-10px); }
.wa-float:hover .wa-float__star::after, .wa-float:focus-visible .wa-float__star::after { transform: rotate(45deg); }
.wa-float:hover .wa-float__star::before, .wa-float:focus-visible .wa-float__star::before { transform: rotate(45deg); background: var(--dark-2); }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { opacity: 1; transform: none; }
.wa-float:focus-visible { outline: none; }
.wa-float:focus-visible .wa-float__star { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 50%; }
/* Hidden over the first screen (it would cover the hero button); slides in once the page is scrolled. */
.js body:not(.is-past-hero) .wa-float, body.has-panel .wa-float { opacity: 0; transform: translateY(20px) scale(.85); pointer-events: none; }
.buybar__info { flex: 1; min-width: 0; display: grid; }
.buybar__name { font-weight: var(--w-ui); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar__price { font-size: 13px; }

/* Accordion */
.accordion { border-top: 1px solid var(--line-2); }
.accordion__item { border-bottom: 1px solid var(--line-2); }
.accordion__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 18px; cursor: pointer; list-style: none; font-weight: var(--w-ui); font-size: 16px; }
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary .i { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.accordion__item[open] summary .i { transform: rotate(45deg); }
.accordion__body { padding-block-end: 20px; color: var(--ink-2); max-width: 720px; }
/* Product page — reviews panel and form. */
.reviews__notice { margin-block-end: 18px; padding: 14px 16px; background: var(--paper); border-inline-start: 2px solid var(--ink); color: var(--ink); }
.reviews__empty { margin-block-end: 6px; }
.review { padding-block: 18px; border-block-end: 1px solid rgba(31, 24, 18, .12); }
.review:first-child { padding-block-start: 4px; }
.review__text { margin-block: 10px; color: var(--ink); }
.review__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; }
.review__meta strong { color: var(--ink); }
.review-form { margin-block-start: 22px; padding-block-start: 22px; border-block-start: 1px solid rgba(31, 24, 18, .12); }
.review-form__rating { margin: 0 0 18px; padding: 0; border: 0; }
.review-form__rating legend { margin-block-end: 6px; font-size: 13px; font-weight: var(--w-ui); color: var(--ink); }
.rate { display: inline-flex; flex-direction: row-reverse; }
.rate input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.rate label { padding: 4px; color: var(--muted); cursor: pointer; transition: color .2s var(--ease); }
.rate label .i { width: 28px; height: 28px; }
.rate label:hover, .rate label:hover ~ label, .rate input:checked ~ label { color: #8C6B3F; }
.rate input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 1px; }
.review-form__note { margin-block-end: 16px; font-size: 13px; }

/* Content pages ------------------------------------------------------------ */
.page-head { padding-block: clamp(40px, 5vw, 72px) clamp(24px, 3vw, 40px); }
.page-head .eyebrow { margin-block-end: 10px; }
.page-head__title { font-family: var(--f-head); font-weight: var(--head-weight); font-stretch: var(--head-stretch); text-transform: var(--head-case); font-size: clamp(34px, 4.6vw, 72px); line-height: var(--lh-head); letter-spacing: -.02em; max-width: 18ch; }
html[lang^="ar"] .page-head__title { letter-spacing: 0; }
.page-head__lede { max-width: 560px; margin-block-start: 16px; font-size: 16px; color: var(--ink-2); }
.page-body { padding-block-end: var(--section); }
.prose { max-width: 760px; }
.prose p, .prose ul, .prose ol { margin-block-end: 16px; }
.prose h2 { font-family: var(--f-head); font-weight: var(--head-weight); font-size: 22px; margin-block: 32px 12px; }
.prose ul { list-style: disc; padding-inline-start: 20px; }
.prose a { text-decoration: underline; }

/* Story page — the name as dictionary entries, the craft as a horizontal gallery. */
.story-label { display: flex; align-items: center; gap: 10px; margin-block-end: clamp(28px, 4vw, 52px); font-size: 11.5px; font-weight: var(--w-ui); letter-spacing: .3em; text-transform: uppercase; color: var(--line-2); }
html[lang^="ar"] .story-label { font-size: 15px; letter-spacing: 0; }
.story-label--light { color: #D9C49A; }
.story-label__star { width: 11px; height: 11px; color: var(--sale); }
.story-label--light .story-label__star { color: #D9C49A; }
.story-name__promise { display: grid; justify-items: center; max-width: 820px; margin-inline: auto; text-align: center; }
.story-name__ornament { width: 120px; height: auto; margin-block-end: 26px; color: var(--line-2); }
.story-name__title { margin-block-end: 20px; font-family: var(--f-head); font-weight: var(--w-display); font-stretch: var(--head-stretch); text-transform: var(--head-case); font-size: clamp(30px, 4vw, 60px); line-height: 1; letter-spacing: -.02em; }
html[lang^="ar"] .story-name__title { line-height: 1.3; letter-spacing: 0; }
.story-name__text { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.7; color: var(--ink-2); }
.story-craft { position: relative; overflow: hidden; background: var(--bg); color: var(--ink); }
.story-craft__band { position: absolute; top: 10px; inset-inline: 0; z-index: 1; width: 100%; height: 22px; color: var(--dark-2); opacity: .22; pointer-events: none; }
.story-craft__pin { display: flex; align-items: center; min-height: 100svh; padding-block: clamp(72px, 9vw, 120px); }
.story-craft__track { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); padding-inline: var(--gutter); will-change: transform; }
.story-craft__intro { flex: none; width: min(460px, 80vw); }
.story-craft__title { margin-block-end: 22px; font-family: var(--f-head); font-weight: var(--w-display); font-stretch: var(--head-stretch); text-transform: var(--head-case); font-size: clamp(34px, 4.4vw, 68px); line-height: .98; letter-spacing: -.025em; }
html[lang^="ar"] .story-craft__title { line-height: 1.3; letter-spacing: 0; }
.story-craft__text { font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.story-craft__panel { flex: none; width: clamp(260px, 30vw, 420px); margin: 0; }
.story-craft__panel:nth-of-type(even) { margin-block-start: clamp(40px, 8vh, 96px); }
.story-craft__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--dark); }
.story-craft__img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 30%); transition: transform 1.4s var(--ease-out); }
.story-craft__panel:hover .story-craft__img img { transform: scale(1.04); }
.story-craft__cap { display: flex; align-items: center; gap: 12px; margin-block-start: 18px; font-family: var(--f-head); font-weight: 700; font-stretch: var(--head-stretch); text-transform: var(--head-case); font-size: clamp(18px, 1.6vw, 24px); }
.story-craft__star { width: 13px; height: 13px; color: var(--sale); }
.story-craft__end { position: relative; flex: none; display: block; width: clamp(240px, 26vw, 360px); aspect-ratio: 4 / 5; overflow: hidden; background: var(--dark); color: var(--light); }
.story-craft__end img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; opacity: .55; transition: opacity .5s var(--ease), transform 1.4s var(--ease-out); }
.story-craft__end:hover img { opacity: .75; transform: scale(1.04); }
.story-craft__end-text { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 24px; font-size: 11.5px; font-weight: var(--w-ui); letter-spacing: .26em; text-transform: uppercase; }
html[lang^="ar"] .story-craft__end-text { font-size: 15px; letter-spacing: 0; }
.story-craft__end-text .i { width: 18px; height: 18px; }
/* Instagram: a quiet link under the intro, and a champagne card closing the row. */
.story-craft__ig-link { display: inline-flex; align-items: center; gap: 10px; margin-block-start: 24px; padding-block: 8px; font-size: 14px; color: var(--ink); border-bottom: 1px solid rgba(31, 24, 18, .25); transition: border-color .3s var(--ease), color .3s var(--ease); }
.story-craft__ig-link .i { width: 20px; height: 20px; color: var(--sale); }
.story-craft__ig-link bdi { color: var(--sale); font-weight: var(--w-ui); }
.story-craft__ig-link:hover, .story-craft__ig-link:focus-visible { border-color: var(--ink); }
.story-craft__ig { position: relative; flex: none; display: flex; flex-direction: column; align-items: flex-start; width: clamp(240px, 26vw, 360px); aspect-ratio: 4 / 5; padding: clamp(24px, 2.4vw, 36px); overflow: hidden; background: #D9C49A; color: var(--dark); transition: background-color .4s var(--ease); }
.story-craft__ig::before { content: ""; position: absolute; top: -18%; inset-inline-end: -22%; width: 78%; aspect-ratio: 1; border: 1px solid rgba(38, 29, 22, .22); clip-path: polygon(50% 0%, 64.6% 14.6%, 85.4% 14.6%, 85.4% 35.4%, 100% 50%, 85.4% 64.6%, 85.4% 85.4%, 64.6% 85.4%, 50% 100%, 35.4% 85.4%, 14.6% 85.4%, 14.6% 64.6%, 0% 50%, 14.6% 35.4%, 14.6% 14.6%, 35.4% 14.6%); background: rgba(38, 29, 22, .07); transition: transform 1.2s var(--ease-out); }
.story-craft__ig:hover { background: #E3D2AD; }
.story-craft__ig:hover::before { transform: rotate(45deg); }
.story-craft__ig-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-block-end: auto; border-radius: 50%; background: var(--dark); color: #D9C49A; }
.story-craft__ig-icon .i { width: 26px; height: 26px; }
.story-craft__ig-k { font-size: 11.5px; font-weight: var(--w-strong); letter-spacing: .24em; text-transform: uppercase; opacity: .7; }
html[lang^="ar"] .story-craft__ig-k { font-size: 14px; letter-spacing: 0; }
.story-craft__ig-handle { margin-block: 8px 12px; font-family: var(--f-latin); font-weight: 800; font-stretch: 125%; font-size: clamp(24px, 2.2vw, 32px); line-height: 1; letter-spacing: -.02em; }
.story-craft__ig-text { max-width: 24ch; font-size: 14px; line-height: 1.6; opacity: .8; }
.story-craft__ig-cta { display: inline-flex; align-items: center; gap: 10px; margin-block-start: 22px; padding-block-end: 4px; border-bottom: 1px solid currentColor; font-size: 11.5px; font-weight: var(--w-strong); letter-spacing: .24em; text-transform: uppercase; }
html[lang^="ar"] .story-craft__ig-cta { font-size: 14px; letter-spacing: 0; }
.story-craft__ig-cta .i { width: 16px; height: 16px; }
/* With a photo: the picture fills the card, a dark fade carries the text, the icon turns champagne. */
.story-craft__ig.has-photo { background: var(--dark); color: var(--light); }
.story-craft__ig.has-photo::before { display: none; }
.story-craft__ig-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transition: transform 1.4s var(--ease-out); }
.story-craft__ig.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 15, 11, .92) 0%, rgba(20, 15, 11, .7) 45%, rgba(20, 15, 11, .22) 74%, rgba(20, 15, 11, 0) 100%); }
.story-craft__ig.has-photo > span { position: relative; z-index: 1; }
.story-craft__ig.has-photo .story-craft__ig-icon { background: #D9C49A; color: var(--dark); }
.story-craft__ig.has-photo .story-craft__ig-handle { color: #fff; }
.story-craft__ig.has-photo:hover { background: var(--dark); }
.story-craft__ig.has-photo:hover .story-craft__ig-photo { transform: scale(1.04); }
/* Without the pinned scroll (phones, no GSAP, reduced motion): a swipeable row. */
.story-craft:not(.is-pinned) .story-craft__pin { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.story-craft:not(.is-pinned) .story-craft__pin::-webkit-scrollbar { display: none; }
.story-craft:not(.is-pinned) .story-craft__track > * { scroll-snap-align: start; }
.story-craft:not(.is-pinned) .story-craft__track { padding-inline-end: var(--gutter); }

/* Contact — split page: dark side with the channels, cream side with the form. */
.cx { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.cx__side { position: relative; overflow: hidden; display: flex; flex-direction: column; background: var(--dark); color: var(--light); }
.cx__side-inner { position: relative; z-index: 1; display: grid; align-content: start; gap: 0; padding: clamp(32px, 3.6vw, 56px) clamp(24px, 3.4vw, 56px) clamp(28px, 3vw, 44px); padding-inline-start: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.cx__burst { position: absolute; z-index: 0; bottom: -120px; inset-inline-end: -120px; width: clamp(320px, 34vw, 520px); height: auto; color: #D9C49A; opacity: .07; pointer-events: none; }
.cx__band { position: absolute; bottom: 12px; inset-inline: 0; width: 100%; height: 22px; color: #D9C49A; opacity: .35; pointer-events: none; }
/* Photo under the channels: fills the rest of the dark side and fades in from the dark at its top edge. */
.cx__photo { position: relative; order: 2; flex: 1 1 auto; min-height: clamp(200px, 18vw, 280px); }
.cx__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; }
.cx__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--dark) 0%, rgba(38, 29, 22, .35) 30%, rgba(38, 29, 22, 0) 60%); }
.cx__label { display: flex; align-items: center; gap: 10px; margin-block-end: 22px; font-size: 11.5px; font-weight: var(--w-ui); letter-spacing: .3em; text-transform: uppercase; color: #D9C49A; }
html[lang^="ar"] .cx__label { font-size: 15px; letter-spacing: 0; }
.cx__label-star { width: 11px; height: 11px; }
.cx__title { margin-block-end: 14px; font-family: var(--f-head); font-weight: var(--w-display); font-stretch: var(--head-stretch); text-transform: var(--head-case); font-size: clamp(32px, 3.6vw, 56px); line-height: .95; letter-spacing: -.025em; text-wrap: balance; }
html[lang^="ar"] .cx__title { line-height: 1.25; letter-spacing: 0; }
.cx__lede { max-width: 40ch; margin-block-end: clamp(20px, 2.4vw, 32px); font-size: 15px; line-height: 1.65; color: rgba(244, 239, 227, .72); }
.cx__channels { border-block-start: 1px solid rgba(244, 239, 227, .18); }
.cx__channel { display: flex; align-items: center; gap: 16px; padding-block: 14px; border-block-end: 1px solid rgba(244, 239, 227, .18); transition: padding .4s var(--ease-out); }
.cx__channel-icon { display: grid; flex: none; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(244, 239, 227, .3); border-radius: 50%; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.cx__channel-icon .i { width: 22px; height: 22px; }
.cx__channel-text { display: grid; gap: 2px; min-width: 0; }
.cx__channel-k { font-size: 11px; font-weight: var(--w-ui); letter-spacing: .26em; text-transform: uppercase; color: rgba(244, 239, 227, .6); }
html[lang^="ar"] .cx__channel-k { font-size: 13px; letter-spacing: 0; }
.cx__channel-v { font-family: var(--f-latin); font-weight: 700; font-stretch: 110%; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -.01em; text-align: start; }
html[lang^="ar"] .cx__channel-v { text-align: right; }
.cx__channel-arrow { width: 20px; height: 20px; margin-inline-start: auto; opacity: .5; transition: opacity .3s, transform .4s var(--ease-out); }
.cx__channel:hover, .cx__channel:focus-visible { padding-inline-start: 10px; }
.cx__channel:hover .cx__channel-icon, .cx__channel:focus-visible .cx__channel-icon { background: #D9C49A; border-color: #D9C49A; color: var(--dark); }
.cx__channel:hover .cx__channel-arrow, .cx__channel:focus-visible .cx__channel-arrow { opacity: 1; transform: translateX(4px); }
[dir="rtl"] .cx__channel:hover .cx__channel-arrow, [dir="rtl"] .cx__channel:focus-visible .cx__channel-arrow { transform: scaleX(-1) translateX(4px); }
.cx__address { display: flex; gap: 12px; margin-block-start: 22px; font-size: 15px; color: rgba(244, 239, 227, .8); }
.cx__address .i { width: 20px; height: 20px; flex: none; }
.cx__note { width: 100%; max-width: 640px; margin-block-start: 22px; padding: 14px 18px; border-inline-start: 2px solid var(--sale); background: var(--bg-2); }
.cx__note-title { margin-block-end: 8px; font-size: 16px; font-weight: var(--w-strong); }
.cx__note p { font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.cx__main { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(32px, 3.6vw, 56px) clamp(24px, 4vw, 72px); padding-inline-end: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.cx__form { width: 100%; max-width: 640px; }
.cx__form-title { margin-block-end: clamp(16px, 2vw, 24px); font-family: var(--f-head); font-weight: 700; font-stretch: var(--head-stretch); text-transform: var(--head-case); font-size: clamp(22px, 2vw, 30px); letter-spacing: -.01em; }
html[lang^="ar"] .cx__form-title { letter-spacing: 0; }
.cx__topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; border: 0; }
.cx__legend { width: 100%; margin-block-end: 12px; padding: 0; font-size: 13px; font-weight: var(--w-ui); color: var(--ink-2); }
.cx__chip { position: relative; cursor: pointer; }
.cx__chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cx__chip span { display: inline-flex; padding: 10px 18px; border: 1px solid rgba(31, 24, 18, .25); font-size: 14px; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.cx__chip:hover span { border-color: var(--ink); }
.cx__chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--light); }
.cx__chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.cx__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
/* Outlined fields: label above, a box with a line icon at its start; rust ring on focus. */
.cx__field { margin-block-end: 18px; }
.cx__field label { display: block; margin-block-end: 8px; font-size: 13px; font-weight: var(--w-ui); color: var(--ink); }
.cx__control { position: relative; display: flex; align-items: center; gap: 12px; padding-inline: 16px; border: 1px solid rgba(31, 24, 18, .22); background: var(--cream); transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.cx__control:hover { border-color: rgba(31, 24, 18, .4); }
.cx__control:focus-within { border-color: var(--sale); box-shadow: 0 0 0 3px rgba(142, 59, 36, .12); }
.cx__control .i { width: 20px; height: 20px; flex: none; color: var(--line-2); transition: color .25s var(--ease); }
.cx__control:focus-within .i { color: var(--sale); }
.cx__field .cx__control input, .cx__field .cx__control textarea { flex: 1; width: 100%; min-width: 0; min-height: 52px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-size: 16px; color: var(--ink); }
.cx__field .cx__control input:focus, .cx__field .cx__control textarea:focus { outline: none; box-shadow: none; }
.cx__control input::placeholder, .cx__control textarea::placeholder { color: var(--line-2); opacity: .8; }
.cx__control--area { align-items: flex-start; padding-block: 14px; }
.cx__control--area .i { margin-block-start: 2px; }
.cx__field .cx__control textarea { min-height: 96px; resize: none; line-height: 1.6; }
.cx__hint { margin-block: -8px 18px; font-size: 13px; color: var(--line-2); }
.cx__submit { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 60px; padding-inline: 28px; background: var(--ink); color: var(--light); font-size: 12px; font-weight: var(--w-ui); letter-spacing: .3em; text-transform: uppercase; transition: background-color .3s var(--ease); }
html[lang^="ar"] .cx__submit { font-size: 16px; font-weight: 700; letter-spacing: 0; }
.cx__submit .i { width: 20px; height: 20px; transition: transform .4s var(--ease-out); }
.cx__submit:hover, .cx__submit:focus-visible { background: var(--dark-2); }
.cx__submit:hover .i { transform: translateX(6px); }
[dir="rtl"] .cx__submit:hover .i { transform: scaleX(-1) translateX(6px); }
.cx__form .notice { margin-block-end: 24px; }
.form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gap); }
.faq-page { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gap); padding-block-end: var(--section); }
.faq-page .accordion { grid-column: 1 / span 7; }
.faq-page__aside { grid-column: 9 / span 4; align-self: start; display: grid; justify-items: start; gap: 14px; padding: 28px; background: var(--bg-2); }
.faq-page__aside h2 { font-weight: var(--w-strong); font-size: 20px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-block-end: 40px; }
.steps__item { padding: 28px 24px; background: var(--bg-2); }
.steps__n { display: block; margin-block-end: 18px; font-family: var(--f-latin); font-stretch: 120%; font-weight: 800; font-size: 40px; line-height: 1; color: var(--muted); }
.steps__item h2 { font-family: var(--f-head); font-weight: var(--w-strong); font-size: 17px; margin-block-end: 8px; }
html[lang^="ar"] .steps__item h2 { font-weight: 700; line-height: 1.5; }
.steps__item p { font-size: 14px; color: var(--ink-2); }
.notfound { display: grid; justify-items: start; gap: 18px; padding-block: clamp(64px, 9vw, 140px); }
.notfound__n { font-family: var(--f-latin); font-stretch: 125%; font-weight: 800; font-size: clamp(96px, 16vw, 220px); line-height: .85; color: var(--surface); }
.notfound__actions { display: flex; align-items: center; gap: 24px; margin-block-start: 8px; }

/* Forms & WooCommerce ------------------------------------------------------ */
.form-row, .woocommerce form .form-row { display: block; margin: 0 0 18px; padding: 0; }
.form-row label, .woocommerce form .form-row label { display: block; margin-block-end: 7px; font-size: 13px; font-weight: var(--w-ui); }
.required { color: var(--sale); text-decoration: none; border: 0; }
.optional { color: var(--ink-2); font-weight: 400; }
input.input-text, .form-row input[type="text"], .form-row input[type="email"], .form-row input[type="tel"], .form-row input[type="password"], .form-row textarea, .form-row select, .woocommerce-Input, #coupon_code {
	width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 0; background: var(--paper); font-size: 16px; line-height: 1.4; transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 110px; resize: vertical; }
input.input-text:focus, .form-row input:focus, .form-row textarea:focus, #coupon_code:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(31, 24, 18, .1); }
.woocommerce-invalid input.input-text { border-color: var(--sale); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--ink); width: 17px; height: 17px; }
.woocommerce-form__label-for-checkbox { display: inline-flex !important; align-items: center; gap: 8px; font-weight: 400 !important; }
.notice, .woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-block-end: 20px; padding: 14px 18px; background: var(--paper); border-inline-start: 3px solid var(--ink); font-size: 14px; list-style: none; }
.woocommerce-error, .notice--error { border-color: var(--sale); }
.woocommerce-error { flex-direction: column; align-items: flex-start; }
.woocommerce-message, .notice--ok { border-color: var(--ok); }
.woocommerce-message .button, .woocommerce-info .button { order: 2; min-height: 38px; padding: 8px 16px; }
.woocommerce-info a:not(.button) { text-decoration: underline; }
.woocommerce-notices-wrapper:empty { display: none; }

.page--cart .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: clamp(24px, 4vw, 56px); align-items: start; }
.page--cart .woocommerce > :not(.woocommerce-cart-form):not(.cart-collaterals) { grid-column: 1 / -1; }
.shop_table { width: 100%; border-collapse: collapse; font-size: 14px; }
.shop_table th, .shop_table td { padding: 16px 8px; text-align: start; vertical-align: middle; border-bottom: 1px solid var(--line); }
.shop_table thead th { font-size: 11.5px; font-weight: var(--w-strong); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); border-bottom-color: var(--ink); }
html[lang^="ar"] .shop_table thead th { font-size: 13px; letter-spacing: 0; text-transform: none; }
.woocommerce-cart-form .product-thumbnail img { width: 84px; height: 105px; object-fit: cover; background: var(--bg-2); }
.woocommerce-cart-form .product-name a { font-weight: var(--w-ui); font-size: 15px; }
.woocommerce-cart-form dl.variation, .woocommerce-checkout-review-order-table dl.variation { display: grid; grid-template-columns: auto 1fr; gap: 0 6px; margin-block-start: 4px; font-size: 12.5px; color: var(--ink-2); }
dl.variation dd p { margin: 0; }
.woocommerce-cart-form .product-remove a { display: grid; place-items: center; width: 28px; height: 28px; font-size: 18px; border-radius: 50%; color: var(--ink-2); }
.woocommerce-cart-form .product-remove a:hover { background: var(--bg-2); color: var(--sale); }
.woocommerce-cart-form td.actions { padding-block: 20px; }
.woocommerce-cart-form td.actions .coupon { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.woocommerce-cart-form td.actions .coupon label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.woocommerce-cart-form td.actions #coupon_code { width: 180px; }
.woocommerce-cart-form td.actions > .button { float: inline-end; background: transparent; color: var(--ink); }
.woocommerce-cart-form td.actions > .button:hover { background: var(--ink); color: var(--light); }
.cart-collaterals { position: sticky; top: calc(var(--header-h) + 16px); }
.cart_totals, .checkout-card--summary { padding: clamp(20px, 2vw, 32px); background: var(--bg-2); }
.cart_totals h2 { font-weight: var(--w-strong); font-size: 18px; margin-block-end: 12px; }
.cart_totals .shop_table th { font-weight: 400; color: var(--ink-2); width: 40%; }
.order-total th, .order-total td { font-size: 17px; font-weight: var(--w-strong) !important; color: var(--ink) !important; border-bottom: 0 !important; }
.wc-proceed-to-checkout { margin-block-start: 16px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 54px; }
#shipping_method { margin: 0; padding: 0; list-style: none; }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator, .cross-sells { display: none; }
.cart-empty.woocommerce-info { padding: 0; border: 0; background: none; font-weight: var(--w-ui); font-size: 20px; }
.return-to-shop { margin-block-start: 20px; }

.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); gap: clamp(24px, 4vw, 56px); align-items: start; }
.checkout-grid__side { position: sticky; top: calc(var(--header-h) + 16px); }
.checkout-steps { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-block-end: 28px; font-size: 13px; color: var(--ink-2); counter-reset: s; }
.checkout-steps li { display: flex; align-items: center; gap: 8px; counter-increment: s; }
.checkout-steps li::before { content: counter(s); display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid currentColor; border-radius: 50%; font-size: 11px; font-weight: var(--w-strong); }
.checkout-steps .is-done { color: var(--ink-2); }
.checkout-steps .is-current { color: var(--ink); font-weight: var(--w-strong); }
.checkout-steps .is-current::before { background: var(--ink); border-color: var(--ink); color: var(--light); }
.checkout-card__title { display: flex; align-items: baseline; gap: 10px; margin-block-end: 22px; font-family: var(--f-head); font-weight: var(--head-weight); font-stretch: var(--head-stretch); text-transform: var(--head-case); font-size: 20px; line-height: 1.25; }
.checkout-card__n { font-family: var(--f-latin); font-size: 13px; color: var(--muted); }
.woocommerce-billing-fields > h3, .woocommerce-additional-fields > h3, #ship-to-different-address { display: none; }
.woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); }
.woocommerce-billing-fields__field-wrapper .form-row { grid-column: 1 / -1; }
#billing_phone_field, #billing_city_field { grid-column: auto; }
#billing_country_field { display: none !important; }
.woocommerce-account-fields { margin-block: 12px; padding-block-start: 12px; border-top: 1px solid var(--line); }
.woocommerce-checkout-review-order-table thead { display: none; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { padding-inline: 0; }
.woocommerce-checkout-review-order-table .product-name { font-weight: var(--w-ui); }
.woocommerce-checkout-review-order-table .product-quantity { font-weight: 400; color: var(--ink-2); }
.shop_table td:last-child, .woocommerce-checkout-review-order-table .product-total { text-align: end; }
#payment { margin-block-start: 20px; }
#payment .payment_methods { display: grid; gap: 8px; margin-block-end: 16px; }
#payment .payment_methods li { padding: 16px; border: 1.5px solid var(--ink); background: var(--paper); }
#payment .payment_methods li > label { display: inline-flex; align-items: center; gap: 8px; font-weight: var(--w-strong); }
#payment .payment_methods li input { margin: 0; margin-inline-end: 6px; }
#payment .payment_box { margin-block-start: 8px; font-size: 13px; color: var(--ink-2); }
#payment .payment_box p { margin: 0; }
#place_order { width: 100%; min-height: 56px; }
.checkout-card__reassure { display: flex; gap: 10px; margin-block-start: 16px; font-size: 13px; color: var(--ink-2); }
.checkout-card__reassure .i { width: 16px; height: 16px; margin-top: 3px; }
.woocommerce-form-coupon-toggle .woocommerce-info { background: transparent; border: 1px dashed var(--line-2); }
form.checkout_coupon { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 20px; padding: 16px; border: 1px solid var(--line); }
form.checkout_coupon p { margin: 0; }
form.checkout_coupon .form-row-first { flex: 1; }
.blockUI.blockOverlay { background: rgba(235, 226, 204, .6) !important; }

.woocommerce-order { display: grid; gap: 28px; max-width: 960px; }
.woocommerce-thankyou-order-received, .woocommerce-notice--success { padding: 0; border: 0; background: none; font-size: 18px; font-weight: var(--w-ui); line-height: 1.6; }
.woocommerce-order-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.woocommerce-order-overview li { padding: 16px 18px; background: var(--bg); font-size: 12px; color: var(--ink-2); }
.woocommerce-order-overview li strong { display: block; margin-block-start: 4px; font-size: 16px; color: var(--ink); }
.woocommerce-order-details__title, .woocommerce-column__title, .woocommerce-customer-details h2 { margin-block-end: 14px; font-weight: var(--w-strong); font-size: 20px; }
.woocommerce-customer-details address { padding: 18px; background: var(--bg-2); font-style: normal; line-height: 1.8; }

#customer_login { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 48px); }
#customer_login > div { padding: clamp(20px, 2.5vw, 40px); background: var(--bg-2); }
#customer_login h2, .woocommerce-account .woocommerce > h2 { margin-block-end: 20px; font-family: var(--f-head); font-weight: var(--head-weight); font-stretch: var(--head-stretch); text-transform: var(--head-case); font-size: 22px; }
.woocommerce-form-login .form-row:last-of-type { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.woocommerce-LostPassword a, .lost_password a { font-size: 13px; text-decoration: underline; }
/* Login / register — centred card: image slider + panel with tabs (woocommerce/myaccount/form-login.php). */
.auth-wrap { display: flex; align-items: center; justify-content: center; padding: clamp(32px, 5vw, 72px) var(--gutter); }
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); width: 100%; max-width: 1080px; min-height: clamp(600px, 74vh, 700px); overflow: hidden; border: 1px solid rgba(31, 24, 18, .12); border-radius: 16px; background: var(--cream); box-shadow: 0 40px 80px -40px rgba(31, 24, 18, .45); }
.motion .auth { animation: auth-card .6s var(--ease-out) both; }
@keyframes auth-card { from { opacity: 0; transform: scale(.96); } }
.auth__media { position: relative; overflow: hidden; background: var(--dark); }
.auth__slide { position: absolute; inset: 0; opacity: 0; transform: translateX(50px); transition: opacity .8s ease-in-out, transform .8s ease-in-out; }
[dir="rtl"] .auth__slide { transform: translateX(-50px); }
.auth__slide.is-active { opacity: 1; transform: none; }
.auth__slide.is-leaving { opacity: 0; transform: translateX(-50px); }
[dir="rtl"] .auth__slide.is-leaving { transform: translateX(50px); }
.auth__slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
.auth__dots { position: absolute; bottom: 18px; left: 50%; z-index: 2; display: flex; gap: 8px; transform: translateX(-50%); }
.auth__dot { width: 8px; height: 8px; padding: 0; border-radius: 50%; background: rgba(255, 255, 255, .5); transition: background-color .3s, transform .3s; }
.auth__dot:hover, .auth__dot[aria-current="true"] { background: #fff; }
.auth__dot[aria-current="true"] { transform: scale(1.25); }
.auth__dot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
/* Form items rise in one after another. */
.motion .auth__inner > * { animation: auth-item .6s cubic-bezier(.34, 1.3, .64, 1) both; }
.motion .auth__inner > :nth-child(2) { animation-delay: .2s; }
.motion .auth__inner > :nth-child(3) { animation-delay: .35s; }
.motion .auth__inner > :nth-child(4) { animation-delay: .5s; }
.motion .auth__inner > :nth-child(5) { animation-delay: .65s; }
.motion .auth__inner > :nth-child(6) { animation-delay: .8s; }
.motion .auth__inner > :nth-child(n+7) { animation-delay: .95s; }
@keyframes auth-item { from { opacity: 0; transform: translateY(20px); } }
.auth__panel { display: flex; align-items: center; justify-content: center; padding: clamp(32px, 4vw, 56px); }
.auth__inner { width: 100%; max-width: 460px; }
.auth__label { display: flex; align-items: center; gap: 10px; margin-block-end: 18px; font-size: 11.5px; font-weight: var(--w-ui); letter-spacing: .3em; text-transform: uppercase; color: var(--line-2); }
html[lang^="ar"] .auth__label { font-size: 15px; letter-spacing: 0; }
.auth__label-star { width: 11px; height: 11px; color: var(--sale); }
.auth__title { margin-block-end: 12px; font-family: var(--f-head); font-weight: var(--w-display); font-stretch: var(--head-stretch); text-transform: var(--head-case); font-size: clamp(40px, 4.4vw, 68px); line-height: .95; letter-spacing: -.025em; }
html[lang^="ar"] .auth__title { line-height: 1.25; letter-spacing: 0; }
.auth__lede { margin-block-end: 32px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.auth__tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin-block-end: 32px; border-block-end: 1px solid rgba(31, 24, 18, .2); }
.auth__tab { padding-block: 14px; font-size: 12px; font-weight: var(--w-ui); letter-spacing: .24em; text-transform: uppercase; color: var(--line-2); transition: color .3s var(--ease); }
html[lang^="ar"] .auth__tab { font-size: 15px; letter-spacing: 0; }
.auth__tab[aria-selected="true"] { color: var(--ink); }
.auth__tab:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.auth__tab-line { position: absolute; bottom: -1px; inset-inline-start: 0; width: 50%; height: 2px; background: var(--ink); transition: inset-inline-start .5s var(--ease-out); }
.auth__tabs:has(#auth-tab-register[aria-selected="true"]) .auth__tab-line { inset-inline-start: 50%; }
.auth__pane[hidden] { display: none; }
.motion .auth__pane:not([hidden]) { animation: auth-in .5s var(--ease-out); }
@keyframes auth-in { from { opacity: 0; transform: translateY(10px); } }
/* Underlined fields with floating labels (also when WooCommerce wraps the password in .password-input). */
.auth .auth__field { position: relative; display: block; margin: 0 0 24px; }
.auth .auth__field input.input-text { width: 100%; min-height: 0; padding: 26px 0 10px; border: 0; border-block-end: 1px solid rgba(31, 24, 18, .3); border-radius: 0; background: transparent; font-size: 17px; box-shadow: none; transition: border-color .3s var(--ease); }
.auth .auth__field input.input-text:focus { border-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.auth .auth__field label { position: absolute; inset-inline-start: 0; top: 24px; margin: 0; font-size: 16px; font-weight: 400; color: var(--ink-2); pointer-events: none; transition: top .25s var(--ease), font-size .25s var(--ease), color .25s var(--ease); }
.auth .auth__field:has(input:focus, input:not(:placeholder-shown)) label { top: 0; font-size: 12px; font-weight: var(--w-ui); color: var(--ink); }
.auth .password-input { display: block; position: relative; width: 100%; }
.auth .show-password-input { position: absolute; inset-inline-end: 0; bottom: 10px; }
.auth__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-block: 4px 28px; font-size: 14px; }
.auth__check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.auth__lost { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.auth__lost:hover { color: var(--ink); }
.auth__hint { margin-block: -6px 24px; font-size: 13.5px; color: var(--ink-2); }
.auth__submit { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 58px; padding-inline: 26px; background: var(--ink); color: var(--light); font-size: 12px; font-weight: var(--w-ui); letter-spacing: .3em; text-transform: uppercase; transition: background-color .3s var(--ease); }
html[lang^="ar"] .auth__submit { font-size: 16px; font-weight: 700; letter-spacing: 0; }
.auth__submit .i { width: 20px; height: 20px; transition: transform .4s var(--ease-out); }
.auth__submit:hover, .auth__submit:focus-visible { background: var(--dark-2); }
.auth__submit:hover .i { transform: translateX(6px); }
[dir="rtl"] .auth__submit:hover .i { transform: scaleX(-1) translateX(6px); }
.auth__guest { display: flex; gap: 14px; margin-block-start: 36px; padding-block-start: 24px; border-block-start: 1px solid rgba(31, 24, 18, .14); font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.auth__guest .i { width: 22px; height: 22px; flex: none; color: var(--sale); }
.auth__guest a { color: var(--ink); font-weight: var(--w-ui); text-decoration: underline; text-underline-offset: 3px; }
.auth .woocommerce-error, .auth .woocommerce-message, .auth .woocommerce-info { margin-block-end: 24px; }
.page--account .woocommerce:has(.woocommerce-MyAccount-navigation) { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.woocommerce-MyAccount-navigation ul { display: grid; border-top: 1px solid var(--ink); }
.woocommerce-MyAccount-navigation a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.woocommerce-MyAccount-navigation .is-active a { font-weight: var(--w-strong); }
.woocommerce-MyAccount-content p { margin-block-end: 14px; }
.woocommerce-MyAccount-content a:not(.button) { text-decoration: underline; }
.woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.woocommerce-Address { padding: 20px; background: var(--bg-2); }
.woocommerce-Address address { font-style: normal; }
fieldset { margin: 20px 0; padding: 18px; border: 1px solid var(--line); }

/* Motion initial states (only when allowed) --------------------------------- */
.motion [data-reveal]:not([data-reveal="clip"]), .motion [data-reveal-item], .motion [data-hero-fade] { opacity: 0; transform: translateY(24px); }
.motion [data-reveal="clip"] { clip-path: inset(0 0 100% 0); }
.motion [data-hero-image] { clip-path: inset(0 0 100% 0); }
.motion-done [data-reveal], .motion-done [data-reveal-item], .motion-done [data-hero-fade], .motion-done [data-hero-image] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
@media (prefers-reduced-motion: reduce) {
	.marquee__track, [dir="rtl"] .marquee__track { animation: none; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Checkout popup, after Shopify's checkout: form beside a tinted order column, labels inside the fields,
   the one payment method shown selected. Phones and small tablets: one column, the order folded into a line. */
body:has(.panel--checkout.is-open) .scrim { -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.panel--checkout { top: 50%; left: 50%; width: min(560px, calc(100% - 32px)); max-height: calc(100svh - 40px); overflow: hidden; background: var(--cream); box-shadow: 0 40px 90px -30px rgba(20, 15, 11, .55); opacity: 0; transform: translate(-50%, -46%); }
.panel--checkout.is-open { opacity: 1; transform: translate(-50%, -50%); }
.co__close { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 2; }
.co { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.co__title { padding: 20px 60px 16px var(--gutter); font-family: var(--f-head); font-weight: var(--head-weight); font-stretch: var(--head-stretch); text-transform: var(--head-case); font-size: 17px; line-height: 1.3; }
[dir="rtl"] .co__title { padding: 20px var(--gutter) 16px 60px; }
.co__toggle { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 52px; padding-inline: var(--gutter); border-block: 1px solid var(--line); background: var(--paper); font-size: 14px; font-weight: var(--w-ui); color: var(--ink); text-align: start; }
.co__toggle > .i { width: 18px; height: 18px; flex: none; }
.co__toggle-arrow { width: 14px !important; height: 14px !important; transition: transform .3s var(--ease); }
.co__toggle[aria-expanded="true"] .co__toggle-arrow { transform: rotate(180deg); }
.co__toggle-total { margin-inline-start: auto; font-size: 16px; font-weight: var(--w-strong); }
.co__side { display: none; padding: 16px var(--gutter); border-block-end: 1px solid var(--line); background: var(--paper); }
.is-order-open .co__side { display: block; }
.co__summary.is-loading { min-height: 96px; opacity: .55; background: linear-gradient(90deg, var(--paper), var(--cream), var(--paper)); background-size: 200% 100%; animation: co-shimmer 1.2s linear infinite; }
@keyframes co-shimmer { to { background-position: -200% 0; } }
.co-item { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-block-end: 16px; }
.co-item__thumb { position: relative; display: block; width: 58px; height: 58px; border: 1px solid var(--line); background: var(--cream); }
.co-item__img { width: 100%; height: 100%; object-fit: cover; }
.co-item__qty { position: absolute; top: -8px; inset-inline-end: -8px; display: grid; place-items: center; min-width: 20px; height: 20px; padding-inline: 5px; border-radius: 10px; background: var(--ink); color: var(--light); font-family: var(--f-latin); font-size: 11px; font-weight: 600; line-height: 1; }
.co-item__name { font-size: 14px; font-weight: var(--w-ui); line-height: 1.35; }
.co-item__price { font-size: 14px; white-space: nowrap; }
.co-item dl.variation { display: flex; flex-wrap: wrap; gap: 0 5px; margin: 3px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }
.co-item dl.variation dt { font-weight: 400; }
.co-item dl.variation dd { margin: 0; margin-inline-end: 8px; }
.co-item dl.variation dd p { margin: 0; }
.co-rows { display: grid; gap: 8px; }
.co-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ink-2); }
.co-row--total { margin-block-start: 8px; padding-block-start: 14px; border-block-start: 1px solid var(--line); font-size: 16px; font-weight: var(--w-strong); color: var(--ink); }
.co-row--total strong { font-size: 22px; font-weight: var(--w-strong); }
.co__main { padding: 18px var(--gutter) calc(20px + env(safe-area-inset-bottom)); }
.co__error { margin-block-end: 16px; padding: 10px 12px; border-inline-start: 3px solid var(--sale); background: var(--paper); font-size: 13.5px; }
.co__error ul, .co__error .woocommerce-error { display: block; margin: 0; padding: 0; border: 0; background: none; list-style: none; }
.co__section + .co__section { margin-block-start: 20px; }
.co__heading { margin-block-end: 10px; font-family: var(--f-head); font-weight: var(--w-strong); font-size: 15px; line-height: 1.3; }
.co__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.co__field { position: relative; min-width: 0; margin: 0; }
.co__field--wide { grid-column: 1 / -1; }
.co__field .input-text { width: 100%; height: 54px; min-height: 0; padding: 20px 12px 6px; border: 1px solid var(--surface); background: #fff; font-size: 16px; line-height: 1.2; transition: border-color .2s, box-shadow .2s; }
.co__field .input-text:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); outline: none; }
.co__field .input-text:user-invalid { border-color: var(--sale); box-shadow: 0 0 0 1px var(--sale); }
.co__field .input-text::placeholder { color: transparent; }
.co__field .input-text:focus::placeholder { color: var(--line-2); opacity: 1; }
[dir="rtl"] .co__field .input-text[dir="ltr"] { text-align: right; }
.co__field label { position: absolute; top: 8px; inset-inline: 13px; overflow: hidden; color: var(--ink-2); font-size: 11.5px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; pointer-events: none; transition: top .15s var(--ease), font-size .15s var(--ease); }
.co__field .input-text:placeholder-shown:not(:focus) + label { top: 17px; font-size: 14.5px; }
html[lang^="ar"] .co__field label { font-size: 12px; }
html[lang^="ar"] .co__field .input-text:placeholder-shown:not(:focus) + label { top: 16px; font-size: 14.5px; }
.co-pay { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--ink); background: var(--paper); }
.co-pay__dot { flex: none; width: 16px; height: 16px; border: 5px solid var(--ink); border-radius: 50%; background: var(--cream); }
.co-pay__text { display: grid; flex: 1; gap: 2px; min-width: 0; }
.co-pay__text strong { font-size: 14px; font-weight: var(--w-ui); }
.co-pay__text span { font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }
.co-pay__icon { flex: none; width: 24px; height: 24px; }
.co__submit { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; margin-block-start: 18px; }
.co__submit.is-loading { opacity: .6; cursor: progress; }
@media (min-width: 860px) {
	.panel--checkout { width: min(960px, calc(100% - 48px)); }
	.co { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); overflow: hidden; }
	.co__title { grid-column: 1; grid-row: 1; padding: 26px 32px 0; font-size: 19px; }
	[dir="rtl"] .co__title { padding: 26px 32px 0; }
	.co__toggle { display: none; }
	.co__main { grid-column: 1; grid-row: 2; overflow-y: auto; padding: 18px 32px 28px; }
	.co__side { display: block; grid-column: 2; grid-row: 1 / -1; overflow-y: auto; padding: 66px 32px 28px; border-block-end: 0; border-inline-start: 1px solid var(--line); }
}
@media (max-width: 599px) {
	.panel--checkout { top: auto; bottom: 0; left: 0; width: 100%; max-height: 94svh; opacity: 1; transform: translateY(100%); }
	.panel--checkout.is-open { transform: none; }
	html:not([lang^="ar"]) .co__submit { padding-inline: 10px; letter-spacing: .08em; white-space: nowrap; }
	/* Portrait phone photo: head and shoulders sit above the copy. */
	.hero__media img { object-position: 50% 20%; }
}

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1199px) {
	.rail__track { grid-auto-columns: calc((100vw - 2 * var(--gutter) - 2 * var(--gap)) / 3); }
	.grid--products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.grid__item--tile { grid-column: span min(var(--span, 1), 3); }
	.site-footer__top { grid-template-columns: 1fr 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 899px) {
	:root { --header-main: 66px; --header-h: 67px; }
	.marquee__item { padding-block: 18px; }
	.marquee__item::after { margin-inline: 28px; }
	.marquee__track { animation-duration: 38s; }
	.topbar__inner { max-width: none; padding-inline: 8px; }
	body { font-size: 16px; }
	.primary-nav, .site-header__start .lang-switch, .icon-btn--account { display: none; }
	.site-header .site-header__burger { display: inline-grid; }
	.site-header__start { margin-inline-start: -10px; gap: 0; }
	.site-header__end { margin-inline-end: -6px; }
	.brand__logo { height: 52px; }
	.brand--light .brand__logo { height: 64px; }

	.hero { min-height: 600px; }
	.home .hero { min-height: calc(620px + var(--header-h)); }
	.hero__media img { object-position: 71% 40%; }
	/* Phones and tablets: the photo fills the whole hero; a deeper fade at the bottom carries the copy. */
	.hero__media::after { background: linear-gradient(to top, rgba(20, 15, 11, .9) 0%, rgba(20, 15, 11, .7) 30%, rgba(20, 15, 11, .15) 55%, rgba(20, 15, 11, 0) 70%); }
	.hero__content { padding-block: 40px 28px; }
	.hero__title { font-size: clamp(34px, 10.5vw, 48px); }
	html:not([lang^="ar"]) .hero__line--outline { -webkit-text-stroke-width: 1px; }
	.hero__foot { flex-direction: column; align-items: stretch; gap: 22px; }

	.cats__grid { flex-direction: column; height: auto; }
	.sg__head { grid-template-columns: 1fr; }
	.auth { grid-template-columns: 1fr; min-height: 0; }
	.auth__media { display: none; }
	.cx { min-height: 0; }
	.cx__side-inner, .cx__main { padding-inline: var(--gutter); }
	.cx__cols { grid-template-columns: 1fr; }
	.cats__grid > li { flex: none; }
	.cat { height: auto; aspect-ratio: 16 / 10; }
	.cat__cta { min-height: 42px; padding-inline: 22px; opacity: 1; transform: none; }
	.rail__track { grid-auto-columns: 68vw; }
	.rail__arrows { display: none; }
	.head { align-items: flex-start; }
	.grid--products { grid-template-columns: 1fr 1fr; gap: 28px 10px; }
	.grid__item--tile { grid-column: 1 / -1; }
	.grid--products .tile { min-height: 300px; }
	.card__tag { top: 10px; inset-inline-start: 10px; }
	.card__off { top: 10px; inset-inline-end: 10px; }
	.card__tag + .card__off { top: 40px; inset-inline-start: 10px; }
	.card__price { font-size: 13.5px; }
	.selection__grid { --cols: 2; gap: 28px 10px; }
	.selection__grid > li { flex-basis: calc((100% - 10px) / 2); }
	.promo { min-height: 62svh; }
	.craft__head { grid-template-columns: 1fr; align-items: start; }
	.craft__gallery { grid-template-columns: 1fr 1fr; align-items: start; }
	.craft__fig--main { grid-column: 1 / -1; order: -1; aspect-ratio: 4 / 3; }
	.craft__fig--start, .craft__fig--end { align-self: auto; }
	.craft__details { grid-template-columns: 1fr; }
	.craft__detail { padding-block: 18px; border-block-end: 1px solid rgba(244, 239, 227, .18); }
	.site-footer__top { grid-template-columns: 1fr 1fr; }

	.size-guide, .faq-page, .pdp__grid, .cx { grid-template-columns: 1fr; }
	.size-guide__head, .size-guide__table, .faq-page .accordion, .faq-page__aside { grid-column: 1; }
	.story-craft__pin { min-height: 0; }
	.story-craft__panel:nth-of-type(even) { margin-block-start: 0; }
	.steps { grid-template-columns: 1fr 1fr; }
	.toolbar__count { order: 3; width: 100%; margin-inline-start: 0; }
	.fpill { position: static; }
	.toolbar__bar { position: relative; }
	.fpill__panel { inset-inline: 0; width: auto; }
	.collection-tabs ul { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 24px; }
	.collection-tabs a { white-space: nowrap; }

	.pdp { padding-block-start: 0; }
	.pdp__gallery, .pdp__summary { grid-column: 1; }
	.pdp__gallery { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.pdp__track { grid-column: 1; grid-row: 1; }
	.pdp__thumbs { grid-column: 1; grid-row: 2; flex-direction: row; overflow-x: auto; }
	.pdp__thumb { width: 64px; }
	.pdp__tags { inset-inline-start: 14px; }
	.pdp__summary { padding-block-start: 20px; }
	/* Tablets and narrow windows: a 560px square, centred, with the details under it at the same width. */
	.pdp__gallery, .pdp__summary { width: 100%; max-width: 560px; margin-inline: auto; }
	.pdp__summary .crumbs { display: none; }
	.pdp__sticky { position: static; }
	.buybar { display: flex; }
	.single-product .wa-float { bottom: 84px; }
	.single-product .site-footer { padding-block-end: 80px; }

	.page--cart .woocommerce, .checkout-grid, .page--account .woocommerce:has(.woocommerce-MyAccount-navigation), #customer_login, .woocommerce-Addresses, .form-cols, .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; }
	#billing_phone_field, #billing_city_field { grid-column: 1 / -1; }
	.checkout-grid__side, .cart-collaterals { position: static; }
	.shop_table.cart thead { display: none; }
	.shop_table.cart tr.cart_item { display: grid; grid-template-columns: 84px 1fr auto; column-gap: 14px; padding-block: 14px; border-bottom: 1px solid var(--line); }
	.shop_table.cart tr.cart_item td { border: 0; padding: 2px 0; }
	.shop_table.cart .product-thumbnail { grid-row: 1 / span 4; }
	.shop_table.cart .product-remove { grid-column: 3; grid-row: 1; }
	.shop_table.cart .product-name { grid-column: 2; grid-row: 1; }
	.shop_table.cart .product-price { display: none; }
	.shop_table.cart .product-quantity, .shop_table.cart .product-subtotal { grid-column: 2 / -1; text-align: start; }
	.shop_table.cart td.actions { display: block; }
	.shop_table.cart td.actions .coupon { display: flex; }
	.shop_table.cart td.actions #coupon_code { flex: 1; width: auto; }
	.shop_table.cart td.actions > .button { float: none; width: 100%; margin-block-start: 10px; }
}

@media (max-width: 599px) {
	.site-footer__top { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
	.site-footer__bottom { flex-direction: column; align-items: flex-start; }
	.steps { grid-template-columns: 1fr; }
	.notfound__actions { flex-direction: column; align-items: flex-start; }
	.promo .btn, .craft__btn { width: 100%; }
}

@media (min-width: 900px) {
	.panel--menu { display: none !important; }
}

/* Checkout focus: no "discover the collection" call-out on the cart and checkout. */
.woocommerce-cart .site-footer__cta, .woocommerce-checkout .site-footer__cta { display: none; }

/* Touch & small-screen refinements ------------------------------------------ */
@media (max-width: 899px) {
	/* Finger-sized targets without changing what they look like. */
	.site-header__search { display: none; }
	.topbar__btn, .crumbs a, .selection__all { position: relative; }
	.topbar__btn::before { content: ""; position: absolute; inset: -6px; }
	.crumbs a { display: inline-block; padding-block: 8px; margin-block: -8px; }
	.selection__all { padding-block-start: 12px; margin-block-start: -12px; }
	.site-footer__col ul { gap: 0; }
	.site-footer__col a { display: inline-block; padding-block: 10px; }
	.site-footer__legal a { display: inline-block; padding-block: 12px; margin-block: -12px; }
	.lang-switch__link { min-height: 40px; }
	.selection__all { white-space: nowrap; }
	.swatch { min-height: 38px; } /* still comfortable to tap */
	html:not([lang^="ar"]) .card__buy { font-size: 10.5px; letter-spacing: .06em; }
	.card__cat { font-size: 11px; }
	/* 16px fields: iOS does not zoom the page when they get focus. */
	select.orderby, .quantity .qty, #coupon_code { font-size: 16px; }
	.fpill__sort select, .toolbar select { font-size: 16px; }
	/* Tablets: two-up related rail. */
	.rail__track { grid-auto-columns: 44vw; }
	/* Home categories: a swipe slider — portrait cards, the next one peeking in, "1 / 3" and a progress line. */
	.cats__grid { display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 10px; height: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
	.cats__grid::-webkit-scrollbar { display: none; }
	.cats__grid > li { scroll-snap-align: start; }
	.cats__grid .cat { aspect-ratio: 4 / 5; }
	.cats__grid .cat__body { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; }
	.cats__nav { display: flex; align-items: center; gap: 18px; margin-block-start: 18px; }
	.cats__count { flex: none; font-size: 12px; font-weight: var(--w-ui); letter-spacing: .14em; font-variant-numeric: tabular-nums; color: var(--ink-2); }
	.cats__count b { color: var(--ink); }
	.cats__track { position: relative; flex: 1; height: 2px; overflow: hidden; background: var(--line); }
	.cats__bar { position: absolute; inset-block: 0; inset-inline-start: 0; width: calc(100% / var(--n, 3)); background: var(--ink); transition: transform .45s var(--ease-out); }
}

@media (min-width: 600px) and (max-width: 899px) {
	.cats__grid { grid-auto-columns: 46%; }
	.grid--products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 599px) {
	/* Topbar: one quiet sentence-case line instead of two tracked capitals. */
	html:not([lang^="ar"]) .topbar { font-size: 12px; letter-spacing: .02em; text-transform: none; }
	.topbar__msg { gap: 8px; }
	.rail__track { grid-auto-columns: 72vw; }
	/* Long uppercase buttons stay on one line. */
	html:not([lang^="ar"]) :is(.hero__btn, .site-footer__btn, .craft__btn, .promo .btn, .cx__submit, .auth__submit) { letter-spacing: .2em; white-space: nowrap; }
	.hero__btn, .craft__btn { padding-inline: 20px; }
	.site-footer__btn { width: 100%; justify-content: space-between; padding-inline: 24px; }
	html:not([lang^="ar"]) .single_add_to_cart_button { padding-inline: 14px; letter-spacing: .14em; white-space: nowrap; }
	/* Account card: lighter frame, title that fits a 320px screen. */
	.auth-wrap { padding-block: 20px 40px; }
	.auth__panel { padding: 28px 22px 26px; }
	.auth__title { font-size: clamp(34px, 11vw, 46px); }
	/* Product promises: four narrow columns. */
	.pdp__service { padding: 14px 4px; }
	.pdp__promise { gap: 7px; padding-inline: 5px; }
	.pdp__promise-icon { width: 38px; height: 38px; }
	.pdp__promise-icon .i { width: 18px; height: 18px; }
	.pdp__promise-title { font-size: 12.5px; }
	html[lang^="ar"] .pdp__promise-title { font-size: 13.5px; line-height: 1.5; }
	/* Campaign: a short banner — text and a compact button at the start, the man on the other side. */
	.promo { min-height: 0; height: clamp(260px, 78vw, 320px); padding-block: 24px; place-items: end start; text-align: start; }
	.promo__content { justify-items: start; width: 100%; }
	.promo .label { margin-block-end: 8px; }
	.promo__title { max-width: 13ch; margin-block-end: 18px; font-size: clamp(23px, 7vw, 30px); }
	.promo .btn { width: auto; min-height: 44px; padding: 10px 18px; }
	.promo__media::after { background: linear-gradient(to right, rgba(20, 15, 11, .74) 0%, rgba(20, 15, 11, .32) 55%, rgba(20, 15, 11, .08) 100%); }
	.promo__media img { object-position: 76% 16%; }
	[dir="rtl"] .promo__media::after { background: linear-gradient(to left, rgba(20, 15, 11, .74) 0%, rgba(20, 15, 11, .32) 55%, rgba(20, 15, 11, .08) 100%); }
	[dir="rtl"] .promo__media img { scale: -1 1; }
	/* Footer: link columns fold into an accordion under the brand block. */
	.site-footer__top { grid-template-columns: 1fr; gap: 0; padding-block-end: 0; }
	.site-footer__brand { padding-block-end: 28px; }
	.site-footer__col { border-block-start: 1px solid var(--line-light); }
	.site-footer__h { margin: 0; color: rgba(244, 239, 227, .9); }
	.site-footer__h-text { display: none; }
	.site-footer__toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 56px; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }
	.site-footer__toggle .i { width: 18px; height: 18px; transition: transform .35s var(--ease); }
	.site-footer__toggle[aria-expanded="true"] .i { transform: rotate(45deg); }
	.js .site-footer__col:not(.is-open) ul { display: none; }
	.site-footer__col ul { padding-block-end: 12px; }
}

@media (max-width: 374px) {
	.topbar__msg .i { display: none; }
	.grid--products, .selection__grid { column-gap: 8px; }
	.selection__grid > li { flex-basis: calc((100% - 8px) / 2); }
	.cat__body { padding: 16px; }
	.cat__cta { min-height: 40px; padding-inline: 14px; letter-spacing: .18em; }
	.selection__head { gap: 12px; }
	.selection__title { font-size: 20px; }
	.co__title { font-size: 15px; }
	.hero__title { font-size: clamp(30px, 10.4vw, 40px); }
}
