/* ==========================================================================
   Sura Jewellery — main styles
   Mobile-first. Uses logical properties (inline-start/end) so Arabic RTL
   works without a separate stylesheet.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--lavender-50: #FAF6FF;
	--lavender-100: #EFE4FF;
	--lavender-200: #E4D3FB;
	--lilac-300: #D7B7F7;
	--purple-400: #9B8DD0;
	--purple-600: #6859B4;
	--purple-700: #54479A;
	--purple-800: #3F3478;

	--gold-300: #E8CF95;
	--gold-500: #C39A4F;
	--gold-600: #A87D35;
	--gold-700: #806126;
	--gold-gradient: linear-gradient(90deg, #B8893A 0%, #EAD19A 48%, #BF8A36 100%);

	--ink: #2A2433;
	--muted: #6B6379;
	--line: #E7DCF6;
	--white: #fff;
	--bg: #fff;

	--font-serif: "Libre Bodoni", "Bodoni Moda", Georgia, "Times New Roman", serif;
	--font-sans: "Poppins", "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--radius-sm: 10px;
	--radius: 18px;
	--radius-lg: 28px;
	--shadow-sm: 0 4px 14px -6px rgba(63, 52, 120, .18);
	--shadow: 0 18px 40px -20px rgba(63, 52, 120, .35);

	--container: 1240px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(56px, 9vw, 112px);
	--header-h: 68px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

[dir="rtl"] {
	--font-serif: "Noto Naskh Arabic", "Libre Bodoni", Georgia, serif;
	--font-sans: "Tajawal", "Nunito Sans", system-ui, sans-serif;
}

@media (min-width: 1024px) {
	:root { --header-h: 96px; }
}

/* ---------- Fonts bundled with the theme ---------- */
@font-face {
	font-family: "Agatha Signature";
	src: url("../fonts/agatha-signature.woff2") format("woff2"),
		url("../fonts/agatha-signature.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
	overflow-x: clip;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	overflow-x: clip;
}

body.is-locked { overflow: hidden; }

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--purple-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--purple-800); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-serif);
	font-weight: 500;
	line-height: 1.2;
	color: var(--purple-800);
	margin: 0 0 .5em;
	text-wrap: balance;
}

p { margin: 0 0 1em; }

:focus-visible {
	outline: 2px solid var(--purple-600);
	outline-offset: 3px;
	border-radius: 4px;
}

::selection { background: var(--lilac-300); color: var(--purple-800); }

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.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: 12px;
	top: -100px;
	z-index: 1000;
	padding: 10px 16px;
	background: var(--purple-800);
	color: #fff;
	border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

@media (min-width: 1024px) {
	.hide-mobile { display: inline-flex; }
}
@media (max-width: 1023.98px) {
	.hide-mobile { display: none !important; }
}

/* ---------- Typography helpers ---------- */
.eyebrow {
	font-family: var(--font-sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--gold-700);
	margin-bottom: .75em;
}
[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: 14px; }

.section-title {
	font-size: clamp(28px, 5.4vw, 46px);
	font-style: italic;
	font-weight: 500;
}
[dir="rtl"] .section-title,
[dir="rtl"] .page-hero__title { font-style: normal; }

.section-title--center { text-align: center; }

.script-line {
	font-family: var(--font-serif);
	font-style: italic;
	color: var(--gold-600);
	font-size: 20px;
	margin: 0;
}

.section-head {
	max-width: 720px;
	margin: 0 auto clamp(28px, 5vw, 48px);
	text-align: center;
}
.section-head--start { margin-inline: 0; text-align: start; }
.section-text { color: var(--muted); margin: 0; }

.section { padding-block: var(--section); position: relative; }
.section--tint { background: linear-gradient(180deg, var(--lavender-50) 0%, var(--lavender-100) 100%); }
.section-cta { text-align: center; margin: clamp(28px, 5vw, 44px) 0 0; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 26px;
	border-radius: 999px;
	border: 1.5px solid var(--purple-600);
	font-family: var(--font-sans);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .02em;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
	text-align: center;
}
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--purple-600); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--purple-800); border-color: var(--purple-800); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: rgba(255, 255, 255, .6); color: var(--purple-700); }
.btn--ghost:hover { background: var(--purple-600); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--gold-700);
}
.link-arrow .icon { width: 18px; transition: transform .25s var(--ease); }
[dir="rtl"] .link-arrow .icon,
[dir="rtl"] .btn .icon-arrow { transform: scaleX(-1); }
[dir="rtl"] .link-arrow { letter-spacing: 0; font-size: 14px; }

.icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--gold-700);
	cursor: pointer;
	transition: background-color .2s var(--ease), color .2s var(--ease);
}
.icon-btn:hover { background: var(--lavender-100); color: var(--purple-700); }
.icon-btn .icon { width: 24px; height: 24px; }

/* ---------- Ornaments ---------- */
.sura-divider {
	position: relative;
	height: 12px;
	margin-inline: auto;
	width: min(100%, 1100px);
	padding-inline: 6px;
}
.sura-divider span {
	position: absolute;
	inset-inline: 6px;
	top: 50%;
	height: 1.5px;
	background: var(--gold-gradient);
	transform: translateY(-50%);
}
.sura-divider::before,
.sura-divider::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 9px;
	height: 9px;
	background: var(--gold-500);
	transform: translateY(-50%) rotate(45deg);
}
.sura-divider::before { inset-inline-start: 0; }
.sura-divider::after { inset-inline-end: 0; }

.sura-flower {
	position: absolute;
	pointer-events: none;
	user-select: none;
	width: 44px;
	height: auto;
	z-index: 1;
}

/* Gold frame with concave (scalloped) corners — like the current site. */
.gold-frame {
	--r: 28px;
	--t: 1.5px;
	--c: var(--gold-500);
	position: relative;
	padding: clamp(32px, 6vw, 56px) clamp(22px, 5vw, 56px);
	background:
		radial-gradient(circle at 0 0, transparent calc(var(--r) - var(--t)), var(--c) calc(var(--r) - var(--t)), var(--c) var(--r), transparent calc(var(--r) + .6px)) top left / var(--r) var(--r) no-repeat,
		radial-gradient(circle at 100% 0, transparent calc(var(--r) - var(--t)), var(--c) calc(var(--r) - var(--t)), var(--c) var(--r), transparent calc(var(--r) + .6px)) top right / var(--r) var(--r) no-repeat,
		radial-gradient(circle at 0 100%, transparent calc(var(--r) - var(--t)), var(--c) calc(var(--r) - var(--t)), var(--c) var(--r), transparent calc(var(--r) + .6px)) bottom left / var(--r) var(--r) no-repeat,
		radial-gradient(circle at 100% 100%, transparent calc(var(--r) - var(--t)), var(--c) calc(var(--r) - var(--t)), var(--c) var(--r), transparent calc(var(--r) + .6px)) bottom right / var(--r) var(--r) no-repeat,
		linear-gradient(var(--c), var(--c)) top center / calc(100% - 2 * var(--r)) var(--t) no-repeat,
		linear-gradient(var(--c), var(--c)) bottom center / calc(100% - 2 * var(--r)) var(--t) no-repeat,
		linear-gradient(var(--c), var(--c)) left center / var(--t) calc(100% - 2 * var(--r)) no-repeat,
		linear-gradient(var(--c), var(--c)) right center / var(--t) calc(100% - 2 * var(--r)) no-repeat;
}
@media (min-width: 768px) {
	.gold-frame { --r: 44px; }
}

/* ---------- Announcement ---------- */
.announcement {
	background: var(--purple-700);
	color: #fff;
	text-align: center;
	font-size: 12.5px;
	letter-spacing: .04em;
	padding: 8px var(--gutter);
}
.announcement p { margin: 0; }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	padding: 8px 8px 0;
	transition: padding .3s var(--ease);
}
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) {
	.admin-bar .site-header { top: 32px; }
}

.site-header__bar {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 8px;
	max-width: 1400px;
	min-height: var(--header-h);
	margin-inline: auto;
	padding: 6px 8px;
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	border: 1px solid var(--lilac-300);
	border-radius: 22px;
	box-shadow: var(--shadow-sm);
	transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled .site-header__bar { box-shadow: var(--shadow); }

.header-start { justify-self: start; display: flex; align-items: center; gap: 4px; }
@media (max-width: 1023.98px) {
	/* Phone header: ☰ + language | logo | search, account, cart */
	.site-header__bar { gap: 4px; padding-inline: 4px; }
	.site-header__bar .icon-btn { width: 40px; height: 40px; }
	.header-actions { gap: 0; }
}

/* Phone language toggle: one round button showing the other language */
.lang-toggle {
	display: inline-grid;
	place-items: center;
	min-width: 36px;
	height: 36px;
	padding: 0 8px;
	border: 1px solid var(--lilac-300);
	border-radius: 999px;
	background: var(--lavender-50);
	color: var(--purple-700);
	font-family: "Poppins", var(--font-sans);
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	-webkit-tap-highlight-color: transparent;
	transition: background-color .2s var(--ease), color .2s var(--ease);
}
.lang-toggle[lang="ar"] { font-family: "Tajawal", var(--font-sans); font-size: 17px; font-weight: 700; padding-bottom: 3px; }
.lang-toggle:hover,
.lang-toggle:active { background: var(--purple-600); border-color: var(--purple-600); color: #fff; }

.site-logo { justify-self: center; display: block; }
.site-logo img { width: 54px; height: auto; transition: width .3s var(--ease); }

.primary-nav { display: none; }

.header-actions {
	justify-self: end;
	display: flex;
	align-items: center;
	gap: 2px;
}
.header-actions .lang-switch { display: none; }

.cart-count {
	position: absolute;
	top: 4px;
	inset-inline-end: 2px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: var(--purple-600);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}
.cart-count[data-count="0"] { display: none; }

@media (min-width: 1024px) {
	.site-header { padding: 14px 16px 0; }
	.site-header__bar {
		grid-template-columns: auto 1fr auto;
		gap: 24px;
		padding: 8px 28px;
		border-radius: 26px;
	}
	.header-start { display: none; }
	.site-logo { justify-self: start; }
	.site-logo img { width: 78px; }
	.site-header.is-scrolled .site-logo img { width: 64px; }
	.header-actions .lang-switch { display: flex; }

	.primary-nav { display: block; justify-self: center; }
	.primary-nav .menu {
		display: flex;
		align-items: center;
		gap: clamp(8px, 2vw, 36px);
		margin: 0;
		padding: 0;
		list-style: none;
	}
	.primary-nav .menu > li { position: relative; }
	.primary-nav .menu > li > a {
		display: inline-flex;
		align-items: center;
		gap: 4px;
		padding: 10px 4px;
		font-family: var(--font-serif);
		font-size: clamp(16px, 1.45vw, 20px);
		color: var(--gold-700);
		position: relative;
	}
	.primary-nav .menu > li > a::after {
		content: "";
		position: absolute;
		inset-inline: 4px;
		bottom: 4px;
		height: 1.5px;
		background: var(--gold-gradient);
		transform: scaleX(0);
		transition: transform .3s var(--ease);
	}
	.primary-nav .menu > li > a:hover::after,
	.primary-nav .menu > .current-menu-item > a::after { transform: scaleX(1); }
	.primary-nav .menu > .current-menu-item > a,
	.primary-nav .menu > .current-menu-ancestor > a { color: var(--purple-600); }

	.primary-nav .menu-item-has-children > a::before {
		content: "";
		order: 2;
		width: 7px;
		height: 7px;
		margin-inline-start: 6px;
		border-inline-end: 1.5px solid currentColor;
		border-bottom: 1.5px solid currentColor;
		transform: translateY(-2px) rotate(45deg);
	}
	.primary-nav .sub-menu {
		position: absolute;
		top: 100%;
		inset-inline-start: -16px;
		min-width: 220px;
		margin: 0;
		padding: 10px;
		list-style: none;
		background: #fff;
		border: 1px solid var(--line);
		border-radius: var(--radius);
		box-shadow: var(--shadow);
		opacity: 0;
		visibility: hidden;
		transform: translateY(8px);
		transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
	}
	.primary-nav li:hover > .sub-menu,
	.primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
	.primary-nav .sub-menu a {
		display: block;
		padding: 10px 14px;
		border-radius: var(--radius-sm);
		color: var(--ink);
		font-size: 15px;
	}
	.primary-nav .sub-menu a:hover { background: var(--lavender-100); color: var(--purple-700); }
}

/* Language switcher */
.lang-switch {
	display: flex;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 3px;
	list-style: none;
	border: 1px solid var(--line);
	border-radius: 999px;
}
.lang-switch a {
	display: block;
	min-width: 38px;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	color: var(--muted);
}
.lang-switch a[aria-current="true"] { background: var(--purple-600); color: #fff; }

/* ---------- Drawer (mobile menu): floating rounded panel ---------- */
.drawer {
	--drawer-gap: 12px;
	--drawer-font: "Poppins", "Nunito Sans", system-ui, sans-serif;
	--drawer-ink: #1F1B24;
	--drawer-muted: #8A8494;
	position: fixed;
	inset: 0;
	z-index: 300;
}
[dir="rtl"] .drawer { --drawer-font: "Tajawal", "Poppins", system-ui, sans-serif; }
.drawer[hidden] { display: none; }

.drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(31, 27, 36, .32);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity .35s var(--ease);
}

.drawer__panel {
	position: absolute;
	top: calc(var(--drawer-gap) + env(safe-area-inset-top));
	bottom: calc(var(--drawer-gap) + env(safe-area-inset-bottom));
	inset-inline-start: var(--drawer-gap);
	width: min(calc(100vw - 2 * var(--drawer-gap) - 44px), 350px);
	display: flex;
	flex-direction: column;
	padding: 20px 14px 14px;
	background: #fff;
	border-radius: 30px;
	box-shadow: 0 30px 60px -20px rgba(31, 27, 36, .45), 0 0 0 1px rgba(104, 89, 180, .06);
	font-family: var(--drawer-font);
	color: var(--drawer-ink);
	overflow: hidden;
	opacity: 0;
	transform: translateX(calc(-100% - 2 * var(--drawer-gap)));
	transition: transform .45s cubic-bezier(.22, 1, .36, 1), opacity .3s var(--ease);
}
[dir="rtl"] .drawer__panel { transform: translateX(calc(100% + 2 * var(--drawer-gap))); }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; opacity: 1; }

.drawer__close {
	position: absolute;
	top: 14px;
	inset-inline-end: 14px;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--drawer-ink);
	cursor: pointer;
	transition: background-color .2s var(--ease);
}
.drawer__close:hover { background: var(--lavender-50); }
.drawer__close .icon { width: 22px; height: 22px; stroke-width: 1.6; }

/* Account block (profile photo + name), like the profile block in the reference */
.drawer__account {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 38px 0 26px;
	padding: 10px;
	border-radius: 20px;
	color: inherit;
	-webkit-tap-highlight-color: transparent;
	transition: background-color .2s var(--ease);
}
.drawer__account:hover,
.drawer__account:active { background: var(--lavender-50); color: inherit; }
.drawer__avatar {
	position: relative;
	flex: none;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	overflow: hidden;
	background: linear-gradient(145deg, var(--purple-600), var(--purple-800));
	color: #fff;
	box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--lilac-300);
}
.drawer__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.drawer__avatar-initial { font-size: 22px; font-weight: 500; line-height: 1; }
.drawer__avatar--guest { background: var(--lavender-100); color: var(--purple-600); }
.drawer__avatar--guest .icon { width: 28px; height: 28px; stroke-width: 1.4; }
.drawer__account-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.drawer__account-name {
	font-size: 17px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--drawer-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.drawer__account-sub { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--purple-600); line-height: 1.4; }
.drawer__account-arrow { width: 15px; height: 15px; flex: none; }
[dir="rtl"] .drawer__account-arrow { transform: scaleX(-1); }

/* Menu list */
.drawer__nav {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: none;
	margin-inline: -2px;
	padding-inline: 2px;
}
.drawer__nav::-webkit-scrollbar { display: none; }
.drawer__nav .menu,
.drawer__nav .sub-menu { list-style: none; margin: 0; padding: 0; }
.drawer__nav .menu { display: grid; gap: 4px; }

.drawer__nav a,
.drawer__nav button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

.drawer__nav .menu > li { position: relative; }
.drawer__nav .menu > li > a {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 50px;
	padding: 10px 12px;
	border-radius: 16px;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0;
	color: var(--drawer-ink);
	transition: background-color .2s var(--ease), color .2s var(--ease);
}
.drawer__nav .menu > li > a:active { background: var(--lavender-50); }
.drawer__nav .menu-icon {
	flex: none;
	width: 22px;
	height: 22px;
	stroke-width: 1.5;
	color: var(--purple-600);
}
.drawer__nav .menu > .current-menu-item > a,
.drawer__nav .menu > .current-menu-ancestor > a,
.drawer__nav .menu > .is-open > a {
	background: var(--lavender-50);
	color: var(--purple-700);
	font-weight: 500;
}

/* Parent rows: arrow on the end side */
.drawer__nav .menu > .menu-item-has-children > a { padding-inline-end: 52px; user-select: none; -webkit-user-select: none; }
.drawer__nav .submenu-toggle {
	position: absolute;
	top: 5px;
	inset-inline-end: 4px;
	width: 40px;
	height: 40px;
	color: var(--drawer-muted);
}
.drawer__nav .submenu-toggle:hover { background: transparent; }
.drawer__nav .submenu-toggle .icon { width: 20px; height: 20px; transition: transform .3s var(--ease), color .2s; }
.drawer__nav .submenu-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); color: var(--purple-600); }

/* Sub-menu: aligned under the label, with a thin gold guide line */
.drawer__nav .sub-menu {
	display: none;
	margin: 4px 0 8px;
	margin-inline-start: 22px;
	padding-inline-start: 26px;
	border-inline-start: 1px solid var(--gold-300);
}
.drawer__nav .sub-menu.is-open { display: grid; gap: 2px; animation: drawer-sub-in .3s var(--ease); }
.drawer__nav .sub-menu a {
	display: block;
	padding: 9px 10px;
	border-radius: 12px;
	font-size: 14.5px;
	color: #5B5566;
}
.drawer__nav .sub-menu a:active,
.drawer__nav .sub-menu .current-menu-item > a { background: var(--lavender-50); color: var(--purple-700); }
@keyframes drawer-sub-in {
	from { opacity: 0; transform: translateY(-4px); }
	to { opacity: 1; transform: none; }
}

/* Bottom links, separated by a thin line (like "Settings" in the reference) */
.drawer__foot {
	display: grid;
	gap: 2px;
	margin: 12px -14px 0;
	padding: 12px 14px 4px;
	border-top: 1px solid #EEEAF3;
}
.drawer__link {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 48px;
	padding: 10px 12px;
	border-radius: 16px;
	font-size: 15px;
	color: var(--drawer-ink);
}
.drawer__link:hover,
.drawer__link:active { background: var(--lavender-50); color: var(--purple-700); }
.drawer__link .icon { width: 22px; height: 22px; stroke-width: 1.5; color: var(--purple-600); flex: none; }

/* ---------- Search overlay ---------- */
.search-overlay {
	position: fixed;
	inset: 0;
	z-index: 300;
	background: rgba(250, 246, 255, .96);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	padding: calc(var(--header-h) + 24px) var(--gutter) 24px;
}
.search-overlay[hidden] { display: none; }
.search-overlay__inner { max-width: 720px; margin-inline: auto; }
.search-form {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 6px 6px 18px;
	padding-inline: 18px 6px;
	background: #fff;
	border: 1.5px solid var(--lilac-300);
	border-radius: 999px;
	box-shadow: var(--shadow);
}
.search-form > .icon { color: var(--gold-700); flex: none; }
.search-form input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 48px;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 17px;
	color: var(--ink);
	outline: none;
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	overflow: hidden;
	padding-block: 28px clamp(48px, 8vw, 96px);
	margin-top: -60px;
	padding-top: 88px;
	/* Plain light purple — no watercolor stain. */
	background: linear-gradient(180deg, #fff 0%, var(--lavender-50) 35%, var(--lavender-100) 100%);
}
.hero__line { position: absolute; inset-inline: 0; top: 72px; width: min(92%, 1100px); opacity: .9; }

.hero__grid {
	position: relative;
	display: grid;
	gap: 36px;
	align-items: center;
}

.hero__media {
	position: relative;
	width: min(78vw, 360px);
	margin: 24px auto 0;
}
.hero__arch {
	position: relative;
	aspect-ratio: 4 / 5.2;
	border-radius: 999px 999px 24px 24px;
	overflow: hidden;
	background: var(--lavender-200);
	box-shadow: 0 0 0 6px #fff, 0 0 0 7.5px var(--purple-400), var(--shadow);
}
.hero__arch img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* Small round photo: sits low and pushed outward so it only overlaps the
   arch edge, never the face (mirrors automatically in Arabic). */
.hero__circle {
	position: absolute;
	width: 30%;
	aspect-ratio: 1;
	inset-inline-start: -7%;
	top: 45%; /* level with the ring on her hand, above the bangle */
	border-radius: 50%;
	overflow: hidden;
	border: 4px solid #fff;
	box-shadow: var(--shadow);
	z-index: 2;
}
.hero__circle img { width: 100%; height: 100%; object-fit: cover; }

.hero__flower--a { width: 42px; top: -6px; inset-inline-end: 6%; transform: rotate(-12deg); }
.hero__flower--b { width: 32px; top: 22%; inset-inline-start: -9%; transform: rotate(20deg); }

.hero__content { position: relative; text-align: center; }
.hero__content .btn-row { justify-content: center; margin-top: 26px; }

/* Hero typography: clean Poppins, with only the name "Sura Rashid" in the
   Agatha Signature script. Arabic uses Tajawal throughout (no script). */
.hero {
	--hero-font: var(--font-sans);
}
[dir="rtl"] .hero { --hero-font: "Tajawal", system-ui, sans-serif; }

.hero__eyebrow {
	font-family: var(--hero-font);
	font-style: normal;
	font-size: clamp(14px, 1.6vw, 17px);
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: .01em;
	color: var(--purple-600);
	margin-bottom: 22px;
}
.hero__title {
	font-family: var(--font-serif);
	font-size: clamp(28px, 6.8vw, 44px);
	font-style: italic;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--purple-800);
	line-height: 1.22;
	margin-bottom: 18px;
}
.hero__name {
	font-family: "Agatha Signature", var(--font-serif);
	font-style: normal;
	font-weight: 400;
	font-size: 1.45em;
	line-height: 1;
	letter-spacing: 0;
	color: var(--purple-700);
	white-space: nowrap;
	padding-inline-end: .06em;
}
.hero__text {
	font-family: var(--hero-font);
	font-style: normal;
	font-size: clamp(15px, 1.5vw, 17px);
	font-weight: 300;
	line-height: 1.75;
	color: #5E5670;
	margin: 0;
}
[dir="rtl"] .hero__eyebrow { margin-bottom: 14px; }
[dir="rtl"] .hero__title { font-family: var(--hero-font); font-style: normal; font-weight: 700; line-height: 1.4; }
[dir="rtl"] .hero__text { font-weight: 400; font-size: clamp(16px, 1.6vw, 18px); }
.hero .btn { font-family: var(--hero-font); font-weight: 500; letter-spacing: 0; }

@media (min-width: 960px) {
	.hero { padding-top: 140px; }
	.hero__line { top: 104px; }
	.hero__grid { grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); }
	.hero__media { width: 100%; max-width: 440px; margin: 0; justify-self: center; }
	.hero__circle { inset-inline-start: -14%; top: 44%; width: 34%; }
	.hero__title { font-size: clamp(32px, 3.3vw, 48px); }
	.hero__eyebrow { margin-bottom: 30px; }
	[dir="rtl"] .hero__eyebrow { margin-bottom: 14px; }
	.hero__content { text-align: start; }
	.hero__content .btn-row { justify-content: flex-start; }
}
@media (min-width: 960px) and (max-width: 1199.98px) {
	.hero__circle { inset-inline-start: -5%; width: 30%; }
}

/* ---------- Values ---------- */
.values { border-block: 1px solid var(--line); background: #fff; }
.values__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	margin: 0 auto;
	padding-block: 8px;
	list-style: none;
}
.values__item {
	padding: 22px 10px;
	text-align: center;
}
.values__item:nth-child(odd) { border-inline-end: 1px solid var(--line); }
.values__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.values__item .icon { width: 30px; height: 30px; margin: 0 auto 10px; color: var(--gold-600); stroke-width: 1.2; }
.values__item h3 {
	font-family: var(--font-sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--purple-800);
	margin-bottom: 6px;
}
[dir="rtl"] .values__item h3 { letter-spacing: 0; font-size: 15px; }
.values__item p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.45; }

@media (min-width: 768px) {
	.values__list { grid-template-columns: repeat(4, 1fr); padding-block: 12px; }
	.values__item { padding: 28px 18px; }
	.values__item:nth-child(-n+2) { border-bottom: 0; }
	.values__item:not(:last-child) { border-inline-end: 1px solid var(--line); }
}

/* ---------- Horizontal rail (scroll-snap on phones, grid on desktop) ---------- */
.rail {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: min(78vw, 320px);
	gap: 16px;
	margin: 0;
	padding: 4px var(--gutter) 20px;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--gutter);
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

/* ---------- Collections ---------- */
.collections { overflow: hidden; }
.collection-card { display: flex; height: 100%; }
.collection-card > a {
	flex: 1;
	width: 100%;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	color: inherit;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.collection-card > a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.collection-card__media { aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--lavender-100); }
.collection-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.collection-card > a:hover .collection-card__media img { transform: scale(1.05); }
.collection-card__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 20px; flex: 1; }
.collection-card__num { font-size: 12px; color: var(--gold-700); letter-spacing: .12em; }
/* Title and subtitle always reserve 2 lines each, so every card has the same height. */
.collection-card__title {
	font-size: 24px;
	line-height: 1.2;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: .01em;
	min-height: 2.4em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
[dir="rtl"] .collection-card__title { text-transform: none; }
.collection-card__sub {
	margin: 0 0 8px;
	font-size: 13px;
	line-height: 1.6;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
	min-height: 3.2em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
[dir="rtl"] .collection-card__sub { letter-spacing: 0; text-transform: none; font-size: 15px; }
.collection-card .link-arrow { margin-top: auto; }

@media (min-width: 1024px) {
	/* Wrap into centred rows of 4 so an odd count (e.g. 7) never leaves a lonely card. */
	.collections__list {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		max-width: var(--container);
		margin-inline: auto;
		overflow: visible;
		gap: 24px;
	}
	.collections__list > .collection-card { flex: 0 0 calc((100% - 3 * 24px) / 4); }
}

/* ---------- Categories ---------- */
.categories__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.category-tile a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	color: inherit;
	text-align: center;
}
.category-tile__media {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	border-radius: 999px 999px var(--radius) var(--radius);
	overflow: hidden;
	background: var(--lavender-100);
	margin-bottom: 10px;
	box-shadow: 0 0 0 1px var(--line);
}
.category-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.category-tile a:hover img { transform: scale(1.06); }
.category-tile__name { font-family: var(--font-serif); font-size: 21px; color: var(--purple-800); }
.category-tile__count { font-size: 13px; color: var(--muted); }

@media (min-width: 768px) {
	.categories__list { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
}

/* ---------- Story ---------- */
.story__grid { display: grid; gap: 36px; align-items: center; }
.story__media { position: relative; max-width: 460px; width: 100%; margin-inline: auto; }
.story__media img:not(.sura-flower) {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center 20%;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}
.story__media::before {
	content: "";
	position: absolute;
	inset: 18px -18px -18px 18px;
	border: 1.5px solid var(--gold-500);
	border-radius: var(--radius-lg);
	z-index: -1;
}
[dir="rtl"] .story__media::before { inset: 18px 18px -18px -18px; }
.story__flower { width: 56px; top: -18px; inset-inline-end: -12px; }
.story__content > p:not(.eyebrow) { color: var(--muted); }
.story__content .btn { margin-top: 8px; }

@media (min-width: 960px) {
	.story__grid { grid-template-columns: 1fr 1.1fr; gap: clamp(48px, 7vw, 110px); }
}

.pull-quote {
	position: relative;
	margin: 26px 0;
	padding-inline-start: 22px;
	border-inline-start: 2px solid var(--gold-500);
}
.pull-quote p {
	font-family: var(--font-serif);
	font-style: italic;
	font-size: clamp(20px, 2.6vw, 26px);
	line-height: 1.4;
	color: var(--purple-700);
	margin: 0 0 8px;
}
[dir="rtl"] .pull-quote p { font-style: normal; }
.pull-quote cite {
	font-style: normal;
	font-size: 12px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--gold-700);
}

/* ---------- Process ---------- */
.process { overflow: hidden; }
.process__list { counter-reset: none; grid-auto-columns: min(62vw, 240px); }
.process-step { text-align: center; }
.process-step__media {
	aspect-ratio: 1;
	border-radius: 50%;
	overflow: hidden;
	margin-bottom: 14px;
	border: 4px solid #fff;
	box-shadow: var(--shadow-sm);
}
.process-step__media img { width: 100%; height: 100%; object-fit: cover; }
.process-step__num { font-family: var(--font-serif); font-style: italic; color: var(--gold-600); }
.process-step__title {
	font-family: var(--font-sans);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	margin: 4px 0 6px;
}
[dir="rtl"] .process-step__title { letter-spacing: 0; font-size: 16px; }
.process-step p { font-size: 14.5px; color: var(--muted); margin: 0; }

@media (min-width: 1024px) {
	.process__list {
		grid-auto-flow: row;
		grid-template-columns: repeat(5, 1fr);
		max-width: var(--container);
		margin-inline: auto;
		gap: 28px;
		overflow: visible;
	}
}

/* ---------- Connect ---------- */
.connect {
	position: relative;
	padding-block: var(--section);
	background:
		linear-gradient(135deg, rgba(104, 89, 180, .95), rgba(63, 52, 120, .96)),
		var(--purple-700);
	color: #fff;
	overflow: hidden;
}
.connect__grid { display: grid; gap: 32px; align-items: center; }
.connect__media img {
	width: 100%;
	max-width: 520px;
	margin-inline: auto;
	aspect-ratio: 5 / 4;
	object-fit: cover;
	border-radius: 999px 999px var(--radius) var(--radius);
	border: 1.5px solid var(--gold-300);
	padding: 8px;
}
.connect__content { text-align: center; }
.connect .section-title { color: #fff; }
.connect p { color: rgba(255, 255, 255, .85); }
.connect .btn-row { justify-content: center; margin-block: 24px; }
.connect .btn--primary { background: #fff; color: var(--purple-800); border-color: #fff; }
.connect .btn--primary:hover { background: var(--lavender-100); color: var(--purple-800); }
.connect .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.connect .btn--ghost:hover { background: #fff; color: var(--purple-800); }
.connect .script-line { color: var(--gold-300); font-size: 26px; }

@media (min-width: 960px) {
	.connect__grid { grid-template-columns: 1fr 1fr; gap: 80px; }
	.connect__content { text-align: start; }
	.connect .btn-row { justify-content: flex-start; }
}

/* ---------- Page hero ---------- */
.page-hero {
	position: relative;
	overflow: hidden;
	margin-top: -60px;
	padding: 100px 0 clamp(32px, 6vw, 56px);
	background: linear-gradient(180deg, #fff 0%, var(--lavender-50) 45%, var(--lavender-100) 100%);
	border-bottom: 1px solid var(--line);
}
.page-hero--slim { padding-bottom: 24px; }
.page-hero--center { text-align: center; }
.page-hero__title {
	font-size: clamp(32px, 7vw, 60px);
	font-style: italic;
	margin: 0;
}
.page-hero--slim .page-hero__title { font-size: clamp(28px, 5vw, 42px); }
.page-hero__text { max-width: 640px; margin: 12px 0 0; color: var(--muted); }
.page-hero--center .page-hero__text { margin-inline: auto; }
.page-hero__text p:last-child { margin: 0; }
.page-hero__flower { width: 44px; top: auto; bottom: 14px; inset-inline-end: 5%; opacity: .85; }
@media (min-width: 1024px) {
	.page-hero { padding-top: 150px; }
}

.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 14px;
	font-size: 13px;
	color: var(--muted);
}
.breadcrumb a { color: var(--gold-700); }
.breadcrumb .sep { opacity: .5; }

/* ---------- Content pages ---------- */
.entry { padding-block: clamp(36px, 6vw, 72px); max-width: 880px; }
.entry--wide { max-width: var(--container); }
.entry-content > * { margin-block: 0 1.2em; }
.entry-content h2 { font-size: clamp(26px, 4.4vw, 38px); font-style: italic; margin-top: 1.4em; }
.entry-content h3 { font-size: clamp(21px, 3vw, 26px); margin-top: 1.2em; }
.entry-content p, .entry-content li { color: #4B4458; }
.entry-content img { border-radius: var(--radius); }
.entry-content .alignwide { max-width: min(1200px, 100vw - 2 * var(--gutter)); margin-inline: 50%; transform: translateX(-50%); width: 100vw; }
[dir="rtl"] .entry-content .alignwide { transform: translateX(50%); }
.entry-content .alignfull { width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw); }

.entry-content blockquote,
.entry-content .wp-block-quote,
.entry-content .wp-block-pullquote {
	margin-inline: 0;
	padding: 4px 0 4px 22px;
	padding-inline: 22px 0;
	border: 0;
	border-inline-start: 2px solid var(--gold-500);
	text-align: start;
}
.entry-content .wp-block-quote p,
.entry-content .wp-block-pullquote p {
	font-family: var(--font-serif);
	font-style: italic;
	font-size: clamp(20px, 3vw, 28px);
	color: var(--purple-700);
	line-height: 1.4;
}
.entry-content .wp-block-quote cite,
.entry-content .wp-block-pullquote cite {
	font-style: normal;
	font-size: 12px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--gold-700);
}

.entry-content .wp-block-columns { gap: clamp(20px, 4vw, 48px); align-items: center; }
.entry-content .wp-block-image { margin-block: 0 1.2em; }
.entry-content .wp-block-image img { box-shadow: var(--shadow-sm); }
.entry-content .wp-block-separator { border: 0; height: 1.5px; background: var(--gold-gradient); margin-block: 2.5em; opacity: 1; }
.entry-content .wp-block-button__link {
	border-radius: 999px;
	background: var(--purple-600);
	padding: 13px 28px;
	font-weight: 600;
}
.entry-content .is-style-outline .wp-block-button__link { background: transparent; color: var(--purple-700); border: 1.5px solid var(--purple-600); }
.entry-content .wp-block-group.has-background { border-radius: var(--radius-lg); padding: clamp(24px, 5vw, 48px); }

.entry-content .sura-values-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 12px;
	list-style: none;
	padding: 0;
}
.entry-content .sura-values-list li {
	padding: 18px;
	background: var(--lavender-50);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.entry-content .sura-values-list strong {
	display: block;
	font-family: var(--font-serif);
	font-size: 20px;
	font-weight: 500;
	color: var(--purple-800);
}

.entry-media { margin: 0 0 32px; }
.entry-media img { border-radius: var(--radius-lg); width: 100%; }

.post-list { display: grid; gap: 28px; }
@media (min-width: 768px) { .post-list { grid-template-columns: repeat(2, 1fr); } }
.post-card__media img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; margin-bottom: 14px; }
.post-card__title { font-size: 24px; margin-bottom: 6px; }
.post-card__excerpt { color: var(--muted); }

.empty-note { text-align: center; color: var(--muted); padding: 32px 0; }

/* ---------- Contact ---------- */
.contact-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}
@media (min-width: 768px) { .contact-cards { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.contact-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	height: 100%;
	padding: 22px 12px;
	text-align: center;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: inherit;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--lilac-300); }
.contact-card .icon { width: 30px; height: 30px; color: var(--gold-600); margin-bottom: 4px; }
.contact-card__label { font-family: var(--font-serif); font-size: 19px; color: var(--purple-800); }
.contact-card__value { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.contact-address { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); }
.contact-address .icon { width: 20px; color: var(--gold-600); }

/* ---------- Keywords ---------- */
.keywords { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; padding: 0; list-style: none; }
.keywords li {
	padding: 6px 14px;
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--purple-700);
	background: #fff;
	border: 1px solid var(--lilac-300);
	border-radius: 999px;
}
[dir="rtl"] .keywords li { letter-spacing: 0; font-size: 14px; }

/* ---------- Collection page ---------- */
.collection-hero {
	position: relative;
	overflow: hidden;
	margin-top: -60px;
	padding: 90px 0 clamp(40px, 7vw, 80px);
	background: linear-gradient(180deg, #fff 0%, var(--lavender-50) 45%, var(--lavender-100) 100%);
}
.collection-hero__grid { display: grid; gap: 28px; align-items: center; }
.collection-hero__media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 999px 999px var(--radius) var(--radius);
	box-shadow: 0 0 0 6px #fff, 0 0 0 7.5px var(--purple-400), var(--shadow);
}
.collection-hero__media { max-width: min(80vw, 420px); width: 100%; margin-inline: auto; }
.collection-hero__num { font-family: var(--font-serif); font-size: 18px; color: var(--gold-600); }
.collection-hero__title { font-size: clamp(38px, 8vw, 72px); text-transform: uppercase; margin: 0 0 8px; letter-spacing: .01em; }
[dir="rtl"] .collection-hero__title { text-transform: none; }
.collection-hero__content > p:not(.eyebrow) { color: #4B4458; }
.collection-hero__flower { width: 64px; top: 90px; inset-inline-end: 4%; opacity: .85; }
@media (min-width: 960px) { .collection-hero__flower { top: auto; bottom: 20px; inset-inline-end: 3%; width: 90px; } }
@media (min-width: 960px) {
	.collection-hero { padding-top: 150px; }
	.collection-hero__grid { grid-template-columns: .9fr 1.1fr; gap: 80px; }
}

/* ---------- Footer ---------- */
.site-footer {
	position: relative;
	padding: 0 0 calc(24px + env(safe-area-inset-bottom));
	background: linear-gradient(180deg, var(--lavender-50) 0%, var(--lavender-100) 100%);
	color: var(--ink);
}
.site-footer__divider { position: relative; top: -6px; }
.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	gap: 32px 16px;
	padding-block: 48px 32px;
}
/* Phones: logo/text full width, then Explore and Contact side by side. */
.site-footer__brand { grid-column: 1 / -1; }
.site-footer .contact-list { gap: 12px; font-size: 14px; }
.site-footer .contact-list li { align-items: flex-start; gap: 8px; }
.site-footer .contact-list .icon { width: 18px; height: 18px; margin-top: 2px; }
.site-footer .footer-menu,
.site-footer .menu { font-size: 14px; }
.site-footer .contact-list a[href^="mailto:"] { overflow-wrap: normal; word-break: keep-all; white-space: nowrap; font-size: 13px; }
.site-footer__brand img { width: 84px; margin-bottom: 14px; }
.site-footer__brand p { color: var(--muted); max-width: 360px; }
.site-footer__title {
	font-family: var(--font-sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--gold-700);
	margin-bottom: 16px;
}
[dir="rtl"] .site-footer__title { letter-spacing: 0; font-size: 15px; }
.footer-menu, .contact-list, .site-footer .menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-menu a, .site-footer .menu a { color: var(--ink); }
.footer-menu a:hover, .site-footer .menu a:hover { color: var(--purple-600); }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list .icon { width: 20px; height: 20px; flex: none; color: var(--gold-600); }
.contact-list a { color: var(--ink); overflow-wrap: anywhere; }

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding-top: 22px;
	border-top: 1px solid var(--lilac-300);
	font-size: 13px;
	color: var(--muted);
}
.site-footer__bottom p { margin: 0; }

@media (min-width: 768px) {
	.site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-block: 64px 44px; }
	.site-footer__brand { grid-column: auto; }
	.site-footer .contact-list, .site-footer .footer-menu, .site-footer .menu { font-size: 16px; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Typography system
   - Titles & headings: Libre Bodoni italic (like "Different inspirations, a unique language")
   - Names ("Sura Rashid"): Agatha Signature (.hero__name)
   - Everything else: Poppins (--font-sans)
   Arabic keeps its own fonts, upright.
   ========================================================================== */
h1, h2, h3, h4, h5, h6,
.primary-nav .menu > li > a,
.collection-card__title,
.category-tile__name,
.contact-card__label,
.post-card__title,
.collection-hero__title {
	font-family: var(--font-serif);
	font-style: italic;
}
/* Small uppercase labels that happen to be headings stay in Poppins. */
.values__item h3,
.process-step__title,
.site-footer__title,
.drawer h2, .drawer h3 {
	font-family: var(--font-sans);
	font-style: normal;
}
.hero__name { font-style: normal; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6,
[dir="rtl"] .primary-nav .menu > li > a,
[dir="rtl"] .collection-card__title,
[dir="rtl"] .category-tile__name,
[dir="rtl"] .contact-card__label,
[dir="rtl"] .post-card__title,
[dir="rtl"] .collection-hero__title { font-style: normal; }
