/* ==========================================================================
   FAYROUZ — "Amber Nocturne" with "Jasmine Morning" daylight
   Cinematic night grounds (espresso, amber light, champagne) alternate with
   porcelain and powder-blush daylight. Cairo for Arabic at modest scale,
   Jost capitals for Latin, Cairo for all Arabic (headings and reading). No frames,
   no ornaments: one dominant image per moment. RTL first.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
	--espresso: #0F0B09;
	--espresso-2: #17110E;
	--umber: #241A15;
	--night-line: #33281F;
	--amber: #D9A35B;
	--champagne: #E8D2AE;
	--ivory: #F3EBE2;
	--smoke: #B9AC9F;

	--porcelain: #FBF8F5;
	--blush: #F4E4DE;
	--blush-2: #EBD3CB;
	--travertine: #E9E0D5;
	--cocoa: #2E2420;
	--cocoa-2: #66554D;
	--gold-ink: #86643A;
	--day-line: #E7DCD3;

	--ok: #3F6B47;
	--err: #A23B3B;

	/* Semantic tokens: daylight ground by default */
	--bg: var(--porcelain);
	--surface: #FFFFFF;
	--plate: var(--blush);
	--fg: var(--cocoa);
	--fg-2: var(--cocoa-2);
	--accent: var(--gold-ink);
	--rule: var(--day-line);
	--rule-2: #D8C9BE;
	--btn-bg: var(--cocoa);
	--btn-fg: var(--porcelain);
	--btn-bg-hover: #1D1613;
	--focus: var(--cocoa);
	--scrim: 251 248 245;

	--f-display: "Cairo", Tahoma, sans-serif;
	--f-latin: "Jost", "Cairo", sans-serif;
	--f-body: "Cairo", Tahoma, sans-serif;

	--fs-xs: .8125rem;
	--fs-sm: .9375rem;
	--fs-base: 1rem;
	--fs-md: 1.125rem;
	--fs-lg: clamp(1.2rem, 1.1rem + .4vw, 1.4rem);
	--fs-xl: clamp(1.5rem, 1.25rem + 1vw, 2.05rem);
	--fs-2xl: clamp(1.85rem, 1.35rem + 2vw, 3rem);
	--fs-hero: clamp(2.6rem, 1.5rem + 4.2vw, 5.75rem);

	--container: 1440px;
	--gutter: clamp(18px, 4.2vw, 64px);
	--section: clamp(72px, 3.5rem + 5vw, 152px);
	--header-h: 78px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
}

.ground-night,
.house-night {
	--bg: var(--espresso);
	--surface: var(--espresso-2);
	--plate: var(--umber);
	--fg: var(--ivory);
	--fg-2: var(--smoke);
	--accent: var(--amber);
	--rule: var(--night-line);
	--rule-2: #4A3A2F;
	--btn-bg: var(--champagne);
	--btn-fg: var(--espresso);
	--btn-bg-hover: #F2E2C6;
	--focus: var(--champagne);
	--scrim: 15 11 9;
	background: var(--bg);
	color: var(--fg);
}
.ground-blush {
	--bg: var(--blush);
	--surface: var(--porcelain);
	--plate: var(--blush-2);
	--rule: #E3CCC3;
	background: var(--bg);
	color: var(--fg);
}
.ground-day { background: var(--bg); color: var(--fg); }

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html:has(dialog[open]) { overflow: hidden; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--f-body);
	font-size: var(--fs-base);
	font-weight: 400;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
svg.icon { width: 22px; height: 22px; flex: none; }
/* Solid brand glyph next to thin line icons: a touch smaller to keep the same visual weight. */
svg.icon-whatsapp { transform: scale(.86); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .4em; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
a:hover { text-decoration-color: currentColor; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { font-weight: 500; line-height: 1.45; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding-inline-start: 1.25em; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2em 0; }
:focus-visible { outline: 1.5px solid var(--focus); outline-offset: 4px; }
::selection { background: var(--champagne); color: var(--espresso); }
bdi, .latin { unicode-bidi: isolate; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	inset-block-start: 8px; inset-inline-start: 8px; z-index: 100000;
	padding: 12px 20px; background: var(--espresso); color: var(--ivory); text-decoration: none;
}
.site-main:focus { outline: none; }

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .7); }

/* 3. Type ------------------------------------------------------------------ */
.display { font-family: var(--f-display); font-weight: 300; line-height: 1.4; }
.kicker {
	display: inline-flex;
	align-items: center;
	gap: .9em;
	margin: 0;
	font-family: var(--f-latin);
	font-size: .72rem;
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: .34em;
	text-transform: uppercase;
	color: var(--accent);
}
.kicker .ar { font-family: var(--f-body); font-size: .8125rem; letter-spacing: 0; text-transform: none; }
.kicker .sep { width: 28px; height: 1px; background: currentColor; opacity: .6; }
.lead { font-size: var(--fs-md); color: var(--fg-2); font-weight: 400; }
.muted { color: var(--fg-2); }

.title {
	font-family: var(--f-display);
	font-weight: 300;
	font-size: var(--fs-2xl);
	line-height: 1.4;
	letter-spacing: 0;
	margin: 0;
}
.title em { font-style: normal; color: var(--accent); }

.head {
	display: grid;
	gap: 14px;
	margin-bottom: clamp(36px, 4.5vw, 72px);
}
.head--split { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.head__text { max-width: 52ch; margin: 0; color: var(--fg-2); font-weight: 400; }

/* 4. Buttons, links, chips, forms ----------------------------------------- */
.btn,
.button,
a.button,
button.button,
input.button,
input[type="submit"] {
	--b-bg: var(--btn-bg);
	--b-fg: var(--btn-fg);
	--b-line: var(--btn-bg);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .8em;
	min-height: 54px;
	padding: .6em 2.2em;
	background: var(--b-bg);
	color: var(--b-fg);
	border: 1px solid var(--b-line);
	border-radius: 0;
	font-family: var(--f-body);
	font-weight: 500;
	font-size: .9375rem;
	letter-spacing: .01em;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover, .button:hover, input[type="submit"]:hover { --b-bg: var(--btn-bg-hover); --b-line: var(--btn-bg-hover); }
.btn .icon, .button .icon { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover .icon-arrow, .link-arrow:hover .icon-arrow { transform: translateX(-6px); }
html[dir="ltr"] .icon-arrow { scale: -1 1; }
html[dir="ltr"] .btn:hover .icon-arrow, html[dir="ltr"] .link-arrow:hover .icon-arrow { transform: translateX(6px); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--fg); --b-line: color-mix(in srgb, var(--fg) 45%, transparent); }
.btn--ghost:hover { --b-bg: var(--fg); --b-fg: var(--bg); --b-line: var(--fg); }
.btn--block { width: 100%; }
.btn[disabled], .button.disabled, .button:disabled, .button[disabled] { opacity: .45; cursor: not-allowed; }
.btn.loading, .button.loading { opacity: .6; pointer-events: none; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: .7em;
	padding-block: .35em;
	font-size: var(--fs-sm);
	font-weight: 500;
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 100% 100% / 100% 1px no-repeat;
	transition: background-size .5s var(--ease);
}
html[dir="ltr"] .link-arrow { background-position: 0 100%; }
.link-arrow:hover { background-size: 30% 1px; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .5s var(--ease); }

.icon-btn {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
	text-decoration: none;
	transition: opacity .25s var(--ease);
}
.icon-btn:hover { opacity: .7; }
.icon-btn .icon { width: 21px; height: 21px; }

.chips { display: flex; flex-wrap: wrap; gap: 6px 26px; list-style: none; margin: 0; padding: 0; }
.chip {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: .4em;
	min-height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--fg-2);
	font-size: var(--fs-sm);
	line-height: 1.4;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: color .25s var(--ease);
}
.chip::after { content: ""; position: absolute; inset-inline: 0; bottom: 6px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .4s var(--ease); }
.chip:hover { color: var(--fg); }
.chip.is-active, .chip[aria-current="page"], .chip[aria-pressed="true"] { color: var(--fg); }
.chip.is-active::after, .chip[aria-current="page"]::after, .chip[aria-pressed="true"]::after { transform: none; }

input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="search"], input[type="number"], input[type="url"], input[type="date"],
select, textarea {
	width: 100%;
	min-height: 54px;
	padding: .6em 1em;
	background: var(--surface);
	color: var(--fg);
	border: 1px solid var(--rule-2);
	border-radius: 0;
	font-size: 1rem;
	line-height: 1.5;
	transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
textarea { min-height: 140px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--fg); box-shadow: 0 0 0 1px var(--fg); }
select {
	appearance: none;
	-webkit-appearance: none;
	padding-inline-end: 2.6em;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E2420' stroke-width='1.3'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: 18px;
	background-position: right .9em center;
}
html[dir="rtl"] select { background-position: left .9em center; }
.ground-night select, .house-night select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F3EBE2' stroke-width='1.3'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
}
label { font-size: var(--fs-sm); font-weight: 500; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--fg); width: 18px; height: 18px; }
input[type="tel"], input[type="email"], input[type="url"] { direction: ltr; text-align: right; }
html[dir="ltr"] input[type="tel"], html[dir="ltr"] input[type="email"] { text-align: left; }

/* 5. Media ----------------------------------------------------------------- */
.media { position: relative; display: block; overflow: hidden; background: var(--plate); aspect-ratio: var(--ratio, 4 / 5); }
.media__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease), opacity .8s var(--ease); }
.media-link { color: inherit; text-decoration: none; }
@media (hover: hover) {
	.media-link:hover .media__img { transform: scale(1.04); }
}
.media--wide { --ratio: 16 / 9; }
.media--tall { --ratio: 3 / 4; }
.media--square { --ratio: 1 / 1; }

/* 6. Header ---------------------------------------------------------------- */
.announce { background: var(--espresso); color: var(--champagne); font-size: .75rem; letter-spacing: .02em; text-align: center; }
.announce p { margin: 0; padding-block: 8px; }
.announce a { text-decoration: none; }
.announce a:hover { text-decoration: underline; }

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	color: var(--fg);
	background: var(--bg);
	border-bottom: 1px solid var(--rule);
	transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* Homepage: the header floats over the daylight hero until the page scrolls. */
.is-home .site-header { background: transparent; border-color: transparent; }
.is-home .site-header.is-stuck { background: rgb(251 248 245 / .94); border-color: var(--day-line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.house-night .site-header { background: var(--espresso); }

.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; min-height: var(--header-h); }
.header-start { display: flex; align-items: center; gap: 8px; justify-self: start; }
.header-end { display: flex; align-items: center; gap: 4px; justify-self: end; }
.header-brand { text-align: center; }

.wordmark { margin: 0; line-height: 1; }
.wordmark a { display: inline-grid; justify-items: center; gap: 7px; color: inherit; text-decoration: none; }
.wordmark__latin {
	font-family: var(--f-latin);
	font-weight: 300;
	font-size: clamp(1.05rem, .9rem + .7vw, 1.45rem);
	letter-spacing: .58em;
	direction: ltr;
	margin-right: -.58em;
}
.wordmark__ar { font-family: var(--f-display); font-weight: 400; font-size: .72rem; letter-spacing: 0; opacity: .7; line-height: 1; }
.custom-logo-link img { max-height: 56px; width: auto; }

.primary-nav { display: none; }
@media (min-width: 1024px) {
	.primary-nav { display: block; }
	.menu-toggle { display: none; }
}
.primary-nav .menu { display: flex; gap: clamp(20px, 2.4vw, 40px); list-style: none; margin: 0; padding: 0; }
.primary-nav .menu > li { position: relative; }
.primary-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; font-weight: 400; letter-spacing: .01em; text-decoration: none; }
.primary-nav .menu > li > a::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: 8px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .5s var(--ease);
}
html[dir="ltr"] .primary-nav .menu > li > a::after { transform-origin: left; }
.primary-nav .menu > li > a:hover::after,
.primary-nav .menu > li:focus-within > a::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current-menu-ancestor > a::after { transform: scaleX(1); }
.primary-nav .sub-menu {
	position: absolute;
	top: 100%;
	inset-inline-start: -28px;
	min-width: 240px;
	margin: 0;
	padding: 16px 0;
	list-style: none;
	background: var(--espresso);
	color: var(--ivory);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s linear .4s;
}
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.primary-nav .sub-menu a { display: flex; min-height: 42px; padding: 6px 28px; color: var(--ivory); opacity: .8; }
.primary-nav .sub-menu a:hover { opacity: 1; }

.hide-sm { display: none !important; }
@media (min-width: 640px) { .hide-sm { display: inline-grid !important; } }

.cart-count {
	position: absolute;
	top: 6px;
	inset-inline-end: 2px;
	display: grid;
	place-items: center;
	min-width: 17px;
	height: 17px;
	padding-inline: 4px;
	border-radius: 9px;
	background: var(--amber);
	color: var(--espresso);
	font-family: var(--f-body);
	font-size: 10.5px;
	font-weight: 600;
	line-height: 1;
}
.cart-count.is-empty { display: none; }
.cart-count.is-bumped { animation: bump .6s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* 7. Dialogs: drawers and search sheet ------------------------------------ */
dialog { color: var(--fg); }
.drawer, .sheet { margin: 0; padding: 0; border: 0; max-width: none; max-height: none; }
.drawer[open] { display: flex; }
.drawer {
	position: fixed;
	inset-block: 0;
	height: 100dvh;
	width: min(460px, 92vw);
	flex-direction: column;
	background: var(--porcelain);
	color: var(--cocoa);
	--fg: var(--cocoa);
	--fg-2: var(--cocoa-2);
	--rule: var(--day-line);
	--bg: var(--porcelain);
}
.drawer--start { inset-inline-start: 0; inset-inline-end: auto; background: var(--espresso); color: var(--ivory); --fg: var(--ivory); --fg-2: var(--smoke); --rule: var(--night-line); --bg: var(--espresso); --focus: var(--champagne); }
.drawer--end { inset-inline-end: 0; inset-inline-start: auto; }
.drawer::backdrop, .sheet::backdrop { background: rgb(15 11 9 / .55); }
.sheet { position: fixed; inset: 0 0 auto 0; width: 100%; background: var(--espresso); color: var(--ivory); --fg: var(--ivory); --fg-2: var(--smoke); --rule: var(--night-line); --surface: var(--espresso-2); --rule-2: #4A3A2F; --btn-bg: var(--champagne); --btn-fg: var(--espresso); --btn-bg-hover: #F2E2C6; --focus: var(--champagne); }

html[dir="rtl"] .drawer--start, html:not([dir="rtl"]) .drawer--end { --off: 100%; }
html[dir="rtl"] .drawer--end, html:not([dir="rtl"]) .drawer--start { --off: -100%; }
@media (prefers-reduced-motion: no-preference) {
	.drawer, .sheet, .drawer::backdrop, .sheet::backdrop {
		transition: transform .6s var(--ease-out), opacity .45s var(--ease), overlay .6s allow-discrete, display .6s allow-discrete;
	}
	.drawer { transform: translateX(var(--off)); }
	.drawer[open] { transform: none; }
	.sheet { transform: translateY(-100%); }
	.sheet[open] { transform: none; }
	.drawer::backdrop, .sheet::backdrop { opacity: 0; }
	.drawer[open]::backdrop, .sheet[open]::backdrop { opacity: 1; }
	@starting-style {
		.drawer[open] { transform: translateX(var(--off)); }
		.sheet[open] { transform: translateY(-100%); }
		.drawer[open]::backdrop, .sheet[open]::backdrop { opacity: 0; }
	}
}

.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px 14px 24px; border-bottom: 1px solid var(--rule); }
.drawer__title { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; line-height: 1.4; }
.drawer__status { margin: 0; padding-inline: 24px; font-size: var(--fs-sm); color: var(--ok); }
.drawer__status:empty { display: none; }
.drawer__status:not(:empty) { padding-block: 10px; background: color-mix(in srgb, var(--ok) 9%, transparent); }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.drawer__nav { flex: 1; overflow-y: auto; padding: 18px 28px; }
.drawer__nav .menu, .drawer__nav .sub-menu { list-style: none; margin: 0; padding: 0; }
.drawer__nav .menu > li { border-bottom: 1px solid var(--rule); padding-block: 10px; }
.drawer__nav .menu > li > a { display: flex; font-family: var(--f-display); font-weight: 400; font-size: 1.4rem; line-height: 1.6; text-decoration: none; }
.drawer__nav .sub-menu { display: grid; padding-bottom: 6px; }
.drawer__nav .sub-menu a { display: flex; min-height: 40px; align-items: center; color: var(--fg-2); text-decoration: none; font-size: var(--fs-sm); }
.drawer__foot { display: grid; gap: 6px; padding: 18px 28px 26px; border-top: 1px solid var(--rule); }
.drawer__link { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; font-size: var(--fs-sm); }

.sheet__inner { padding-block: 16px 48px; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.sheet__title { margin: 0; font-family: var(--f-display); font-weight: 300; font-size: var(--fs-xl); line-height: 1.4; }
.sheet__label { margin: 30px 0 8px; font-size: var(--fs-xs); color: var(--fg-2); letter-spacing: .02em; }
.search-form { display: flex; gap: 0; border-bottom: 1px solid currentColor; }
.search-form input[type="search"] { flex: 1; min-height: 64px; padding-inline: 0; border: 0; background: transparent; font-family: var(--f-body); font-weight: 400; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); }
.search-form input[type="search"]:focus { box-shadow: none; }
.search-form .btn { min-height: 64px; --b-bg: transparent; --b-fg: var(--fg); --b-line: transparent; padding-inline: 1em; }
.empty-state .search-form, .no-results .search-form { border-color: var(--rule-2); }

/* 8. Footer ---------------------------------------------------------------- */
.site-footer {
	--bg: var(--espresso);
	--fg: var(--ivory);
	--fg-2: var(--smoke);
	--accent: var(--amber);
	--rule: var(--night-line);
	--focus: var(--champagne);
	background: var(--espresso);
	color: var(--fg);
	padding-top: clamp(64px, 8vw, 120px);
	font-size: var(--fs-sm);
	overflow: hidden;
}
.footer-top { display: grid; gap: 44px 32px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-top { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .footer-top { grid-template-columns: 1.8fr 1fr 1fr 1.3fr; } .footer-brand { grid-column: auto; } }
.footer-brand { display: grid; justify-items: start; align-content: start; gap: 16px; }
.footer-seal { width: 76px; height: 76px; border-radius: 50%; }
.footer-tagline { max-width: 36ch; margin: 0; color: var(--fg-2); line-height: 1.9; font-weight: 400; }
.footer-title { margin: 0 0 16px; font-family: var(--f-body); font-size: .8125rem; font-weight: 500; letter-spacing: 0; color: var(--amber); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer-col a { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; color: var(--fg); text-decoration: none; opacity: .86; }
.footer-col a:hover { opacity: 1; text-decoration: underline; }
.contact-list .icon { width: 19px; height: 19px; color: var(--amber); }
.social-list { display: flex; gap: 8px; list-style: none; margin: 4px 0 0; padding: 0; }
.social-list a {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
	border-radius: 50%;
	color: inherit;
	transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.social-list a:hover { border-color: currentColor; }
.social-list .icon { width: 19px; height: 19px; }
/* Bottom bar: copyright at the start (right in Arabic), developer credit at the end. */
.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 32px;
	margin-top: clamp(56px, 7vw, 96px);
	padding-block: 24px 30px;
	border-top: 1px solid var(--night-line);
	color: var(--fg-2);
	font-size: var(--fs-xs);
}
.footer-bottom p { margin: 0; }
.footer-credit a { color: var(--fg); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--amber) 60%, transparent); padding-bottom: 2px; transition: border-color .3s var(--ease), color .3s var(--ease); }
.footer-credit a:hover { color: var(--champagne); border-bottom-color: var(--amber); }
@media (max-width: 560px) { .footer-bottom { justify-content: center; text-align: center; } }

/* 9. Pages, prose, empty states ------------------------------------------- */
.page-head { display: grid; justify-items: center; gap: 14px; padding-block: clamp(56px, 7vw, 112px) clamp(32px, 3.5vw, 56px); text-align: center; }
.page-title { margin: 0; font-family: var(--f-display); font-weight: 300; font-size: var(--fs-2xl); line-height: 1.3; }
.page-head .lead { max-width: 56ch; margin: 0; }

.prose { max-width: 66ch; margin-inline: auto; padding-bottom: var(--section); font-weight: 400; font-size: 1.0625rem; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-family: var(--f-display); font-weight: 300; font-size: var(--fs-xl); margin-top: 1.8em; }
.prose h3 { font-size: var(--fs-lg); margin-top: 1.6em; }
.prose strong { font-weight: 500; }
.prose .lead { font-weight: 400; font-size: var(--fs-md); color: var(--fg); line-height: 1.9; }
.prose blockquote { margin: 2em 0; padding: 0; padding-inline-start: 1.4em; border-inline-start: 1px solid var(--accent); font-family: var(--f-display); font-weight: 300; font-size: var(--fs-lg); line-height: 1.7; }
.prose blockquote p { margin: 0; }
.prose ul li + li { margin-top: .35em; }

.empty-state { display: grid; justify-items: center; gap: 12px; max-width: 560px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) 0 var(--section); text-align: center; }
.empty-state__title { margin: 0; font-family: var(--f-display); font-weight: 300; font-size: var(--fs-xl); line-height: 1.4; }
.empty-state p { margin: 0; color: var(--fg-2); }
.empty-state .btn, .empty-state .search-form { margin-top: 16px; }
.empty-state .search-form { width: 100%; }

.prose-list { max-width: 820px; padding-bottom: var(--section); }
.entry-row { padding-block: 26px; border-bottom: 1px solid var(--rule); }
.entry-row__title { font-size: var(--fs-lg); margin: 0 0 6px; }
.entry-row__title a { text-decoration: none; }

/* 10. Homepage ------------------------------------------------------------- */

/* Hero «ثلاثية» (2026-11-12): daylight spread. Copy top-start, a tall photo at
   the end, two square photos under the copy; each photo opens its category.
   Columns run start → end, so in RTL the large photo sits on the left. */
.hero {
	margin-top: calc(var(--header-h) * -1 - 1px);
	padding-block: calc(var(--header-h) + clamp(8px, 1.2vw, 20px)) clamp(56px, 7vw, 112px);
	background: var(--bg);
	color: var(--fg);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(12px, 1.2vw, 18px); align-items: end; }
.hero__copy { grid-column: 1 / span 2; grid-row: 1; align-self: start; display: grid; justify-items: start; gap: clamp(14px, 1.4vw, 22px); padding-block: clamp(8px, 1.5vw, 24px) clamp(20px, 2.4vw, 40px); }
.hero__title { margin: 0; font-family: var(--f-display); font-weight: 300; font-size: clamp(2.4rem, 1.2rem + 3vw, 4.2rem); line-height: 1.22; letter-spacing: 0; text-wrap: balance; }
.hero__title span { display: block; }
.hero__title .accent { color: var(--accent); }
.hero__text { margin: 0; max-width: 38ch; color: var(--fg-2); font-size: clamp(1rem, .92rem + .3vw, 1.15rem); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 4px; }
.hero__panel { display: grid; min-width: 0; color: inherit; text-decoration: none; }
.hero__panel--1 { grid-column: 3; grid-row: 1 / span 2; }
.hero__panel--2 { grid-column: 1; grid-row: 2; }
.hero__panel--3 { grid-column: 2; grid-row: 2; }
.hero__media { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--blush); }
.hero__panel--1 .hero__media { aspect-ratio: 4 / 5; }
.hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.hero__panel:hover .hero__media img { transform: scale(1.035); }
.hero__panel:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.hero__cap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; }
.hero__name { font-family: var(--f-display); font-size: clamp(1.05rem, .95rem + .35vw, 1.3rem); font-weight: 400; line-height: 1.4; }
.hero__latin { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-latin); font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; color: var(--fg-2); }
.hero__latin .icon { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.hero__panel:hover .hero__latin .icon { transform: translateX(-6px); }
@media (max-width: 1099px) {
	.hero__latin > span { display: none; }
}
@media (max-width: 767px) {
	.hero__grid { grid-template-columns: 1fr 1fr; row-gap: 22px; }
	.hero__copy { grid-column: 1 / -1; padding-block: 8px 6px; }
	.hero__panel--1 { grid-column: 1 / -1; grid-row: 2; }
	.hero__panel--2 { grid-column: 1; grid-row: 3; }
	.hero__panel--3 { grid-column: 2; grid-row: 3; }
	.hero__title { font-size: clamp(2.3rem, 10.5vw, 3.1rem); }
}

/* Houses: four tall images, edge to edge */
.houses__grid { display: grid; grid-template-columns: repeat(var(--houses, 4), minmax(0, 1fr)); gap: 2px; }
.house { position: relative; display: block; color: var(--ivory); text-decoration: none; overflow: hidden; }
.house .media { --ratio: 3 / 4; }
.house::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(15 11 9 / .62), rgb(15 11 9 / 0) 46%); pointer-events: none; }
.house__label { position: absolute; z-index: 1; inset-inline: clamp(18px, 2vw, 32px); bottom: clamp(18px, 2.2vw, 34px); display: grid; gap: 4px; }
.house__name { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.35rem, 1.05rem + 1vw, 2rem); line-height: 1.3; }
.house__meta { display: flex; align-items: center; gap: 10px; font-family: var(--f-latin); font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; opacity: .85; }
.house__meta .icon { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.house:hover .house__meta .icon { transform: translateX(-6px); }
@media (max-width: 899px) {
	.houses__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 2px; }
	.houses__grid::-webkit-scrollbar { display: none; }
	.house { scroll-snap-align: start; }
}

/* Notes: text-led night moment */
.notes__grid { display: grid; gap: clamp(36px, 6vw, 112px); align-items: center; }
@media (min-width: 960px) { .notes__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }
.notes__media { max-width: 520px; width: 100%; }
/* Notes read like an ingredient list: reading size, hairline rows. */
.notes__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: clamp(20px, 3vw, 40px);
	list-style: none;
	margin: clamp(22px, 3vw, 34px) 0;
	padding: 0;
	font-family: var(--f-body);
	font-weight: 400;
	font-size: var(--fs-base);
	line-height: 1.6;
	color: var(--ivory);
}
@media (min-width: 600px) { .notes__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.notes__list li { padding-block: 12px; border-top: 1px solid var(--rule); }
.notes__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 22px; border-top: 1px solid var(--rule); }
.notes__product { display: grid; gap: 2px; }
.notes__product .latin { font-family: var(--f-latin); font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--amber); direction: ltr; }
.notes__product .name { font-weight: 500; }
.notes__product .price { color: var(--fg-2); font-size: var(--fs-sm); }

/* Product rail / grid on the homepage */
.rail ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 899px) {
	.rail ul.products { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 64%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
	.rail ul.products::-webkit-scrollbar { display: none; }
	.rail ul.products > li { scroll-snap-align: start; }
}

/* Pour lui: image-led split */
.lui { display: grid; }
@media (min-width: 960px) { .lui { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(92vh, 900px); } }
.lui__media .media { height: 100%; --ratio: 4 / 5; }
@media (min-width: 960px) { .lui__media .media { aspect-ratio: auto; min-height: 100%; } .lui__media { order: 2; } }
.lui__text { display: grid; align-content: center; gap: 18px; padding: clamp(48px, 7vw, 120px) var(--gutter); }
.lui__text .title { max-width: 14ch; }
.mini-list { list-style: none; margin: 12px 0 20px; padding: 0; border-top: 1px solid var(--rule); max-width: 560px; }
.mini-list li { border-bottom: 1px solid var(--rule); }
.mini-row { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 18px; padding-block: 12px; text-decoration: none; color: inherit; }
.mini-row img { width: 56px; height: 70px; object-fit: cover; background: var(--plate); }
.mini-row .latin { display: block; font-family: var(--f-latin); font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); line-height: 1.5; direction: ltr; text-align: right; }
html[dir="ltr"] .mini-row .latin { text-align: left; }
.mini-row .name { font-weight: 500; font-size: var(--fs-sm); }
.mini-row .icon { width: 18px; height: 18px; color: var(--accent); transition: transform .5s var(--ease); }
.mini-row:hover .icon { transform: translateX(-6px); }

/* Daylight (women's body care and gifts) */
.daylight__row { display: grid; gap: clamp(36px, 6vw, 112px); align-items: center; }
.daylight__row + .daylight__row { margin-top: var(--section); }
@media (min-width: 960px) {
	.daylight__row { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
	.daylight__row--flip .daylight__media { order: 2; }
}
.daylight__text { display: grid; gap: 16px; align-content: center; }
.daylight__text .title { max-width: 13ch; }
.pieces { list-style: none; margin: 6px 0 14px; padding: 0; counter-reset: piece; border-top: 1px solid var(--rule); }
.pieces li { display: grid; grid-template-columns: 38px 1fr; gap: 8px; padding-block: 12px; border-bottom: 1px solid var(--rule); counter-increment: piece; font-weight: 400; }
.pieces li::before { content: counter(piece, decimal-leading-zero); font-family: var(--f-latin); font-size: .75rem; letter-spacing: .14em; color: var(--accent); padding-top: .35em; }
.daylight .mini-list { margin-top: 4px; }

/* Story: full-bleed daylight still with text */
.story { position: relative; isolation: isolate; overflow: hidden; }
.story__media { position: absolute; inset: 0; z-index: -1; }
.story__media img { width: 100%; height: 100%; object-fit: cover; object-position: 20% 50%; }
.story__inner { display: grid; min-height: min(86vh, 860px); align-items: center; padding-block: var(--section); }
.story__text { width: min(600px, 100%); display: grid; gap: 18px; margin-inline-start: 0; }
.story__text p { margin: 0; font-weight: 400; font-size: var(--fs-md); color: var(--fg-2); line-height: 2; }
.story__text p.first { font-weight: 400; font-size: var(--fs-md); color: var(--fg); line-height: 1.95; }
@media (max-width: 899px) {
	.story { display: grid; }
	.story__media { position: relative; inset: auto; aspect-ratio: 4 / 3; }
	.story__inner { min-height: 0; padding-block: clamp(40px, 8vw, 64px) var(--section); }
}

/* Social */
.social-strip__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.social-strip__handle { font-family: var(--f-latin); letter-spacing: .12em; text-decoration: none; font-size: var(--fs-sm); color: var(--fg-2); }
.social-tiles { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 44%); gap: 2px; overflow-x: auto; scroll-snap-type: x mandatory; list-style: none; margin: 0; padding: 0; scrollbar-width: none; }
.social-tiles::-webkit-scrollbar { display: none; }
.social-tiles li { scroll-snap-align: start; }
@media (min-width: 760px) { .social-tiles { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; } }
.social-tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--plate); }
.social-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .6s var(--ease); }
.social-tile .icon { position: absolute; inset-block-end: 14px; inset-inline-end: 14px; width: 22px; height: 22px; color: #fff; opacity: 0; transition: opacity .4s var(--ease); filter: drop-shadow(0 1px 4px rgb(0 0 0 / .4)); }
.social-tile:hover img { transform: scale(1.05); }
.social-tile:hover .icon, .social-tile:focus-visible .icon { opacity: 1; }

/* 11. Product card (no frame, image first) -------------------------------- */
ul.products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(40px, 5vw, 72px) clamp(10px, 1.6vw, 24px);
	list-style: none;
	margin: 0;
	padding: 0;
}
@media (min-width: 768px) { ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
ul.products::before, ul.products::after { display: none; }
ul.products li.product { width: auto; margin: 0; float: none; }

.product-card { position: relative; display: flex; flex-direction: column; gap: 16px; }
.product-card__media { position: relative; display: block; }
.product-card__media .media { --ratio: 4 / 5; }
.product-card__img--alt { opacity: 0; }
@media (hover: hover) {
	.product-card:hover .media__img { transform: scale(1.035); }
	.product-card:hover .product-card__img--alt { opacity: 1; }
}
.product-card__body { display: flex; flex-direction: column; flex: 1; gap: 3px; }
.product-card__latin { font-family: var(--f-latin); font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); line-height: 1.6; }
.product-card__title { margin: 0; font-family: var(--f-body); font-size: 1rem; font-weight: 500; line-height: 1.6; }
.product-card__title a { text-decoration: none; }
.product-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.product-card__price { margin-top: 2px; font-size: var(--fs-sm); color: var(--fg-2); font-weight: 400; }
.product-card__price .amount { color: var(--fg); font-weight: 400; }
.product-card__price del { opacity: .6; margin-inline-end: 6px; }
.product-card__price ins { text-decoration: none; }
.product-card__note { font-size: var(--fs-xs); color: var(--fg-2); }
.product-card__action { position: relative; z-index: 2; margin-top: auto; padding-top: 10px; }
.product-card__action .button {
	--b-bg: transparent;
	--b-fg: var(--fg);
	--b-line: transparent;
	min-height: 40px;
	padding: 0;
	gap: .55em;
	font-size: .875rem;
	justify-content: flex-start;
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-size: 100% 1px;
	background-position: 100% 82%;
	transition: background-size .5s var(--ease), opacity .3s var(--ease);
}
html[dir="ltr"] .product-card__action .button { background-position: 0 82%; }
.product-card__action .button:hover { --b-bg: transparent; --b-line: transparent; background-size: 30% 1px; }
.product-card__action .button .icon { width: 17px; height: 17px; }
.product-card__action .added_to_cart { display: none; }
.product-card__action .button.added::after { content: " ✓"; }
.product-card .badge {
	position: absolute;
	z-index: 2;
	top: 14px;
	inset-inline-start: 14px;
	padding: 2px 10px;
	background: var(--bg);
	color: var(--fg);
	font-size: .72rem;
	line-height: 1.7;
}

/* 12. Motion --------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
	.js [data-reveal] { opacity: 0; transform: translateY(26px); animation: reveal-fallback 0s 2.5s forwards; }
	.js [data-reveal].is-in {
		opacity: 1;
		transform: none;
		animation: none;
		transition: opacity 1.1s var(--ease), transform 1.3s var(--ease);
		transition-delay: calc(var(--i, 0) * 110ms);
	}
	.hero [data-rise] { animation: rise 1.3s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 120ms + 250ms); }
}
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }
/* The hero heading and photos are the LCP: they never start fully invisible. */
@keyframes rise { from { opacity: .02; transform: translateY(28px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
