/**
 * Azhar Alittihad — Design System
 * ------------------------------------------------------------------
 * Tokens, reset, typography, and the base component primitives.
 * Written RTL-first using CSS logical properties, so the same rules
 * hold in an LTR context without a mirrored stylesheet.
 */

/* ============================================================ TOKENS */
:root {
	/* Palette (overridden by the Customizer via inline CSS). */
	--azhar-bg: #FFFDF9;
	--azhar-surface: #FFF8F5;
	--azhar-green: #375747;
	--azhar-rose: #D89095;
	--azhar-burgundy: #7B313D;
	--azhar-text: #25211F;
	--azhar-muted: #756D68;

	--azhar-green-rgb: 55, 87, 71;
	--azhar-rose-rgb: 216, 144, 149;
	--azhar-burgundy-rgb: 123, 49, 61;

	/* Derived neutrals. */
	--azhar-cream: #F6EFE7;
	--azhar-beige: #EADFD3;
	--azhar-white: #FFFFFF;
	--azhar-line: rgba(37, 33, 31, 0.09);
	--azhar-line-strong: rgba(37, 33, 31, 0.16);
	--azhar-rose-soft: rgba(var(--azhar-rose-rgb), 0.14);
	--azhar-green-soft: rgba(var(--azhar-green-rgb), 0.08);
	--azhar-success: #2F6B4F;
	--azhar-danger: #A63A31;
	--azhar-warning: #B4772A;

	/* Typography. */
	--azhar-font: "Tajawal", "IBM Plex Sans Arabic", "Segoe UI", system-ui, -apple-system, sans-serif;
	--azhar-fs-xs: 0.78rem;
	--azhar-fs-sm: 0.875rem;
	--azhar-fs-base: 1rem;
	--azhar-fs-md: 1.0625rem;
	--azhar-fs-lg: 1.25rem;
	--azhar-fs-xl: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
	--azhar-fs-2xl: clamp(1.6rem, 1.15rem + 1.9vw, 2.4rem);
	--azhar-fs-3xl: clamp(2rem, 1.2rem + 3.4vw, 3.5rem);
	--azhar-lh-tight: 1.22;
	--azhar-lh-base: 1.75;

	/* Spacing scale. */
	--azhar-sp-1: 4px;
	--azhar-sp-2: 8px;
	--azhar-sp-3: 12px;
	--azhar-sp-4: 16px;
	--azhar-sp-5: 24px;
	--azhar-sp-6: 32px;
	--azhar-sp-7: 48px;
	--azhar-sp-8: 64px;
	--azhar-sp-9: 88px;
	--azhar-section: clamp(52px, 6vw, 104px);

	/* Radii. */
	--azhar-r-sm: 8px;
	--azhar-r-md: 14px;
	--azhar-r-lg: 20px;
	--azhar-r-xl: 28px;
	--azhar-r-pill: 999px;

	/* Elevation — deliberately faint. */
	--azhar-shadow-xs: 0 1px 2px rgba(37, 33, 31, 0.04);
	--azhar-shadow-sm: 0 4px 14px rgba(37, 33, 31, 0.05);
	--azhar-shadow-md: 0 12px 32px rgba(37, 33, 31, 0.07);
	--azhar-shadow-lg: 0 24px 60px rgba(37, 33, 31, 0.1);

	/* Motion. */
	--azhar-ease: cubic-bezier(0.32, 0.72, 0.24, 1);
	--azhar-t-fast: 0.16s var(--azhar-ease);
	--azhar-t: 0.28s var(--azhar-ease);
	--azhar-t-slow: 0.5s var(--azhar-ease);

	/* Layout. */
	--azhar-container: 1320px;
	--azhar-container-narrow: 860px;
	--azhar-gutter: clamp(16px, 3.2vw, 40px);
	--azhar-header-h: 76px;
	--azhar-bottomnav-h: 62px;
	--azhar-z-header: 200;
	--azhar-z-drawer: 400;
	--azhar-z-modal: 500;
	--azhar-z-float: 300;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-block-start: calc(var(--azhar-header-h) + 20px);
}

body {
	margin: 0;
	background-color: var(--azhar-bg);
	color: var(--azhar-text);
	font-family: var(--azhar-font);
	font-size: var(--azhar-fs-md);
	line-height: var(--azhar-lh-base);
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

body.azhar-no-scroll {
	overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 var(--azhar-sp-3);
	font-weight: 700;
	line-height: var(--azhar-lh-tight);
	color: var(--azhar-text);
	letter-spacing: -0.01em;
}

h1 { font-size: var(--azhar-fs-3xl); }
h2 { font-size: var(--azhar-fs-2xl); }
h3 { font-size: var(--azhar-fs-xl); }
h4 { font-size: var(--azhar-fs-lg); }

p {
	margin: 0 0 var(--azhar-sp-4);
}

p:last-child {
	margin-bottom: 0;
}

a {
	color: var(--azhar-burgundy);
	text-decoration: none;
	transition: color var(--azhar-t-fast), opacity var(--azhar-t-fast);
}

a:hover {
	color: var(--azhar-green);
}

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

ul, ol {
	margin: 0 0 var(--azhar-sp-4);
	padding-inline-start: 1.35em;
}

figure {
	margin: 0;
}

blockquote {
	margin: 0 0 var(--azhar-sp-5);
	padding: var(--azhar-sp-4) var(--azhar-sp-5);
	border-inline-start: 3px solid var(--azhar-rose);
	background: var(--azhar-surface);
	border-radius: var(--azhar-r-md);
	font-size: var(--azhar-fs-lg);
}

hr {
	border: 0;
	border-block-start: 1px solid var(--azhar-line);
	margin-block: var(--azhar-sp-6);
}

table {
	width: 100%;
	border-collapse: collapse;
	text-align: start;
}

th, td {
	text-align: start;
	padding: var(--azhar-sp-3) var(--azhar-sp-4);
	border-block-end: 1px solid var(--azhar-line);
}

code, pre, kbd {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.9em;
	direction: ltr;
	unicode-bidi: embed;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--azhar-green);
	outline-offset: 2px;
	border-radius: var(--azhar-r-sm);
}

::selection {
	background: rgba(var(--azhar-rose-rgb), 0.35);
}

/* ========================================================== A11Y */
.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;
}

.screen-reader-text:focus {
	clip: auto !important;
	clip-path: none;
	background: var(--azhar-white);
	color: var(--azhar-burgundy);
	display: block;
	font-size: var(--azhar-fs-sm);
	height: auto;
	inset-block-start: 8px;
	inset-inline-start: 8px;
	line-height: normal;
	padding: 12px 20px;
	text-decoration: none;
	width: auto;
	z-index: 100000;
	border-radius: var(--azhar-r-sm);
	box-shadow: var(--azhar-shadow-md);
}

.azhar-skip-link:focus {
	position: fixed !important;
}

/* ======================================================== LAYOUT */
.azhar-container {
	width: 100%;
	max-width: var(--azhar-container);
	margin-inline: auto;
	padding-inline: var(--azhar-gutter);
}

.azhar-container--narrow {
	max-width: var(--azhar-container-narrow);
}

.azhar-section {
	padding-block: var(--azhar-section);
}

.azhar-section--tight {
	padding-block: calc(var(--azhar-section) * 0.6);
}

.azhar-section--surface {
	background: var(--azhar-surface);
}

.azhar-section--cream {
	background: var(--azhar-cream);
}

.azhar-grid {
	display: grid;
	gap: var(--azhar-sp-5);
}

.azhar-stack > * + * {
	margin-block-start: var(--azhar-sp-4);
}

/* ==================================================== TYPOGRAPHY BITS */
.azhar-eyebrow {
	margin: 0 0 var(--azhar-sp-3);
	font-size: var(--azhar-fs-xs);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--azhar-rose);
	display: inline-flex;
	align-items: center;
	gap: var(--azhar-sp-2);
}

.azhar-eyebrow::before {
	content: "";
	width: 26px;
	height: 1px;
	background: currentColor;
	opacity: 0.6;
}

.azhar-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--azhar-sp-5);
	margin-block-end: var(--azhar-sp-6);
}

.azhar-section-head--center {
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.azhar-section-head__main {
	max-width: 640px;
}

.azhar-section-title {
	margin: 0;
	font-size: var(--azhar-fs-2xl);
}

.azhar-section-sub {
	margin: var(--azhar-sp-2) 0 0;
	color: var(--azhar-muted);
	font-size: var(--azhar-fs-base);
}

.azhar-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: var(--azhar-sp-2);
	font-weight: 700;
	font-size: var(--azhar-fs-sm);
	color: var(--azhar-green);
	white-space: nowrap;
	padding-block-end: 2px;
	border-block-end: 1px solid transparent;
}

.azhar-link-arrow:hover {
	border-block-end-color: currentColor;
}

.azhar-link-arrow .azhar-icon {
	transition: transform var(--azhar-t-fast);
}

.azhar-link-arrow:hover .azhar-icon {
	transform: translateX(-4px);
}

.azhar-dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--azhar-beige);
	display: inline-block;
}

.azhar-muted {
	color: var(--azhar-muted);
}

/* ========================================================= BUTTONS */
.azhar-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wp-block-button__link {
	--btn-bg: var(--azhar-green);
	--btn-fg: #fff;
	--btn-bd: var(--azhar-green);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--azhar-sp-2);
	padding: 14px 26px;
	min-height: 50px;
	border: 1px solid var(--btn-bd);
	border-radius: var(--azhar-r-pill);
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-family: inherit;
	font-size: var(--azhar-fs-base);
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: transform var(--azhar-t-fast), box-shadow var(--azhar-t), background-color var(--azhar-t-fast), color var(--azhar-t-fast), border-color var(--azhar-t-fast);
	box-shadow: var(--azhar-shadow-xs);
	text-decoration: none;
	-webkit-appearance: none;
	appearance: none;
}

.azhar-btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.wp-block-button__link:hover {
	color: var(--btn-fg);
	transform: translateY(-2px);
	box-shadow: var(--azhar-shadow-md);
	background: var(--btn-bg);
}

.azhar-btn:active {
	transform: translateY(0);
}

.azhar-btn[disabled],
.azhar-btn.is-loading {
	opacity: 0.6;
	pointer-events: none;
}

.azhar-btn--primary {
	--btn-bg: var(--azhar-burgundy);
	--btn-bd: var(--azhar-burgundy);
}

.azhar-btn--green {
	--btn-bg: var(--azhar-green);
	--btn-bd: var(--azhar-green);
}

.azhar-btn--rose {
	--btn-bg: var(--azhar-rose);
	--btn-bd: var(--azhar-rose);
	--btn-fg: #3B1F23;
}

.azhar-btn--outline {
	--btn-bg: transparent;
	--btn-fg: var(--azhar-green);
	--btn-bd: var(--azhar-line-strong);
	box-shadow: none;
}

.azhar-btn--outline:hover {
	--btn-bg: var(--azhar-green);
	--btn-fg: #fff;
	--btn-bd: var(--azhar-green);
}

.azhar-btn--ghost {
	--btn-bg: transparent;
	--btn-fg: var(--azhar-text);
	--btn-bd: transparent;
	box-shadow: none;
	padding-inline: 12px;
}

.azhar-btn--ghost:hover {
	--btn-fg: var(--azhar-burgundy);
	--btn-bg: rgba(var(--azhar-rose-rgb), 0.12);
}

.azhar-btn--light {
	--btn-bg: #fff;
	--btn-fg: var(--azhar-text);
	--btn-bd: var(--azhar-line);
}

.azhar-btn--sm {
	min-height: 42px;
	padding: 10px 18px;
	font-size: var(--azhar-fs-sm);
}

.azhar-btn--lg {
	min-height: 58px;
	padding: 16px 34px;
	font-size: var(--azhar-fs-md);
}

.azhar-btn--block {
	width: 100%;
}

.azhar-btn .azhar-icon {
	flex: 0 0 auto;
}

/* Icon-only round button. */
.azhar-iconbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid transparent;
	background: transparent;
	color: var(--azhar-text);
	cursor: pointer;
	position: relative;
	transition: background-color var(--azhar-t-fast), color var(--azhar-t-fast), transform var(--azhar-t-fast);
	padding: 0;
}

.azhar-iconbtn:hover {
	background: rgba(var(--azhar-rose-rgb), 0.16);
	color: var(--azhar-burgundy);
}

.azhar-iconbtn.is-active {
	color: var(--azhar-burgundy);
}

.azhar-iconbtn__badge {
	position: absolute;
	inset-block-start: 2px;
	inset-inline-end: 0;
	min-width: 19px;
	height: 19px;
	padding-inline: 4px;
	border-radius: var(--azhar-r-pill);
	background: var(--azhar-burgundy);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 19px;
	text-align: center;
	transition: transform var(--azhar-t);
}

.azhar-iconbtn__badge.is-empty {
	display: none;
}

.azhar-iconbtn__badge.is-bump {
	animation: azhar-bump 0.45s var(--azhar-ease);
}

/* =========================================================== BADGES */
.azhar-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 11px;
	border-radius: var(--azhar-r-pill);
	background: var(--azhar-white);
	color: var(--azhar-text);
	font-size: var(--azhar-fs-xs);
	font-weight: 700;
	line-height: 1.4;
	box-shadow: var(--azhar-shadow-xs);
	white-space: nowrap;
}

.azhar-badge--sale {
	background: var(--azhar-burgundy);
	color: #fff;
}

.azhar-badge--new {
	background: var(--azhar-green);
	color: #fff;
}

.azhar-badge--best {
	background: #fff;
	color: var(--azhar-burgundy);
}

.azhar-badge--today {
	background: rgba(var(--azhar-green-rgb), 0.12);
	color: var(--azhar-green);
	box-shadow: none;
}

.azhar-badge--soft {
	background: var(--azhar-rose-soft);
	color: var(--azhar-burgundy);
	box-shadow: none;
}

.azhar-badge--out {
	background: var(--azhar-beige);
	color: var(--azhar-muted);
}

/* ============================================================ CARDS */
.azhar-card {
	background: var(--azhar-white);
	border: 1px solid var(--azhar-line);
	border-radius: var(--azhar-r-lg);
	padding: var(--azhar-sp-5);
	box-shadow: var(--azhar-shadow-xs);
}

.azhar-card--flat {
	box-shadow: none;
}

.azhar-card--surface {
	background: var(--azhar-surface);
	border-color: transparent;
}

/* ======================================================= FORM FIELDS */
.azhar-field {
	display: block;
	margin-block-end: var(--azhar-sp-4);
}

.azhar-label,
.azhar-field > label {
	display: block;
	margin-block-end: 6px;
	font-size: var(--azhar-fs-sm);
	font-weight: 700;
	color: var(--azhar-text);
}

.azhar-hint {
	display: block;
	margin-block-start: 6px;
	font-size: var(--azhar-fs-xs);
	color: var(--azhar-muted);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="date"],
input[type="time"],
select,
textarea {
	width: 100%;
	padding: 13px 16px;
	min-height: 50px;
	font-family: inherit;
	font-size: var(--azhar-fs-base);
	color: var(--azhar-text);
	background: var(--azhar-white);
	border: 1px solid var(--azhar-line-strong);
	border-radius: var(--azhar-r-md);
	transition: border-color var(--azhar-t-fast), box-shadow var(--azhar-t-fast), background-color var(--azhar-t-fast);
	-webkit-appearance: none;
	appearance: none;
}

textarea {
	min-height: 130px;
	line-height: 1.7;
	resize: vertical;
}

select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23756D68' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: left 16px center;
	padding-inline-end: 16px;
	padding-inline-start: 44px;
}

html[dir="rtl"] select {
	background-position: left 16px center;
}

html:not([dir="rtl"]) select {
	background-position: right 16px center;
	padding-inline-start: 16px;
	padding-inline-end: 44px;
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--azhar-green);
	box-shadow: 0 0 0 3px rgba(var(--azhar-green-rgb), 0.12);
	outline: none;
}

input::placeholder,
textarea::placeholder {
	color: var(--azhar-muted);
	opacity: 0.75;
}

input[type="checkbox"],
input[type="radio"] {
	width: 20px;
	height: 20px;
	min-height: 0;
	accent-color: var(--azhar-green);
	margin: 0;
	flex: 0 0 auto;
}

.azhar-check {
	display: flex;
	align-items: flex-start;
	gap: var(--azhar-sp-3);
	font-size: var(--azhar-fs-sm);
	line-height: 1.6;
	cursor: pointer;
	padding-block: 4px;
}

.azhar-check input {
	margin-block-start: 3px;
}

/* Selectable option tiles (used by the wizards and product add-ons). */
.azhar-choice {
	position: relative;
	display: flex;
	align-items: center;
	gap: var(--azhar-sp-3);
	padding: 14px 16px;
	border: 1px solid var(--azhar-line-strong);
	border-radius: var(--azhar-r-md);
	background: var(--azhar-white);
	cursor: pointer;
	transition: border-color var(--azhar-t-fast), box-shadow var(--azhar-t-fast), background-color var(--azhar-t-fast), transform var(--azhar-t-fast);
	font-size: var(--azhar-fs-sm);
	font-weight: 600;
	line-height: 1.4;
	min-height: 56px;
}

.azhar-choice:hover {
	border-color: var(--azhar-rose);
	transform: translateY(-1px);
}

.azhar-choice input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.azhar-choice__mark {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 1.5px solid var(--azhar-line-strong);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all var(--azhar-t-fast);
}

.azhar-choice__mark::after {
	content: "";
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: transparent;
	transition: background-color var(--azhar-t-fast);
}

.azhar-choice__body {
	flex: 1 1 auto;
	min-width: 0;
}

.azhar-choice__title {
	display: block;
}

.azhar-choice__meta {
	display: block;
	font-size: var(--azhar-fs-xs);
	font-weight: 500;
	color: var(--azhar-muted);
	margin-block-start: 2px;
}

.azhar-choice__price {
	flex: 0 0 auto;
	font-size: var(--azhar-fs-xs);
	font-weight: 700;
	color: var(--azhar-burgundy);
	white-space: nowrap;
}

.azhar-choice input:checked ~ .azhar-choice__mark {
	border-color: var(--azhar-green);
	background: var(--azhar-green);
}

.azhar-choice input:checked ~ .azhar-choice__mark::after {
	background: #fff;
}

.azhar-choice:has(input:checked) {
	border-color: var(--azhar-green);
	background: rgba(var(--azhar-green-rgb), 0.05);
	box-shadow: 0 0 0 1px var(--azhar-green) inset;
}

.azhar-choice input:focus-visible ~ .azhar-choice__mark {
	outline: 2px solid var(--azhar-green);
	outline-offset: 2px;
}

.azhar-choice--swatch {
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: var(--azhar-sp-2);
	padding: 14px 8px;
}

.azhar-choice__swatch {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid var(--azhar-line);
	box-shadow: inset 0 0 0 3px #fff;
}

.azhar-choices {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: var(--azhar-sp-3);
}

.azhar-choices--tight {
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

/* ========================================================== NOTICES */
.azhar-notice {
	padding: 14px 18px;
	border-radius: var(--azhar-r-md);
	background: var(--azhar-surface);
	border: 1px solid var(--azhar-line);
	font-size: var(--azhar-fs-sm);
	display: flex;
	gap: var(--azhar-sp-3);
	align-items: flex-start;
	margin-block-end: var(--azhar-sp-4);
}

.azhar-notice--success {
	background: rgba(47, 107, 79, 0.08);
	border-color: rgba(47, 107, 79, 0.2);
	color: #1E4A36;
}

.azhar-notice--error {
	background: rgba(166, 58, 49, 0.08);
	border-color: rgba(166, 58, 49, 0.2);
	color: #7A2A24;
}

/* =========================================================== TOASTS */
.azhar-toasts {
	position: fixed;
	inset-block-end: calc(var(--azhar-bottomnav-h) + 16px);
	inset-inline-start: 50%;
	transform: translateX(50%);
	z-index: var(--azhar-z-modal);
	display: flex;
	flex-direction: column;
	gap: var(--azhar-sp-2);
	pointer-events: none;
	width: min(420px, calc(100vw - 32px));
}

html:not([dir="rtl"]) .azhar-toasts {
	transform: translateX(-50%);
}

@media (min-width: 992px) {
	.azhar-toasts {
		inset-block-end: 28px;
		inset-inline-start: auto;
		inset-inline-end: 28px;
		transform: none;
	}

	html:not([dir="rtl"]) .azhar-toasts {
		transform: none;
	}
}

.azhar-toast {
	pointer-events: auto;
	display: flex;
	align-items: center;
	gap: var(--azhar-sp-3);
	padding: 13px 18px;
	border-radius: var(--azhar-r-md);
	background: var(--azhar-text);
	color: #fff;
	font-size: var(--azhar-fs-sm);
	font-weight: 600;
	box-shadow: var(--azhar-shadow-lg);
	animation: azhar-toast-in 0.32s var(--azhar-ease);
}

.azhar-toast--success {
	background: var(--azhar-green);
}

.azhar-toast--error {
	background: var(--azhar-danger);
}

.azhar-toast.is-out {
	animation: azhar-toast-out 0.28s var(--azhar-ease) forwards;
}

.azhar-toast a {
	color: #fff;
	text-decoration: underline;
	margin-inline-start: auto;
	white-space: nowrap;
}

/* ======================================================== ANIMATION */
@keyframes azhar-bump {
	0% { transform: scale(1); }
	40% { transform: scale(1.35); }
	100% { transform: scale(1); }
}

@keyframes azhar-toast-in {
	from { opacity: 0; transform: translateY(14px) scale(0.98); }
	to { opacity: 1; transform: none; }
}

@keyframes azhar-toast-out {
	to { opacity: 0; transform: translateY(10px); }
}

@keyframes azhar-spin {
	to { transform: rotate(360deg); }
}

@keyframes azhar-float-soft {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

.azhar-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.65s var(--azhar-ease), transform 0.65s var(--azhar-ease);
	will-change: opacity, transform;
}

.azhar-reveal.is-visible {
	opacity: 1;
	transform: none;
}

.azhar-spinner {
	width: 18px;
	height: 18px;
	border: 2px solid currentColor;
	border-block-start-color: transparent;
	border-radius: 50%;
	animation: azhar-spin 0.7s linear infinite;
	display: inline-block;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}

	.azhar-reveal {
		opacity: 1;
		transform: none;
	}
}

/* ============================================================ UTILS */
.azhar-icon.is-flip {
	transform: scaleX(-1);
}

.azhar-hide-desktop { display: none; }
.azhar-hide-mobile { display: initial; }

@media (max-width: 991px) {
	.azhar-hide-desktop { display: initial; }
	.azhar-hide-mobile { display: none !important; }
}

.azhar-ratio {
	position: relative;
	overflow: hidden;
	background: var(--azhar-surface);
}

.azhar-ratio > img,
.azhar-ratio > picture > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.azhar-ratio--4x5 { aspect-ratio: 4 / 5; }
.azhar-ratio--1x1 { aspect-ratio: 1 / 1; }
.azhar-ratio--3x4 { aspect-ratio: 3 / 4; }
.azhar-ratio--16x9 { aspect-ratio: 16 / 9; }

.azhar-price {
	font-weight: 700;
	color: var(--azhar-burgundy);
}

.azhar-price del,
.azhar-price ins {
	text-decoration: none;
}

.azhar-price del {
	color: var(--azhar-muted);
	font-weight: 500;
	font-size: 0.88em;
	margin-inline-start: 8px;
	text-decoration: line-through;
	opacity: 0.8;
}

.azhar-price ins {
	background: transparent;
}

.azhar-divider-leaf {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--azhar-sp-3);
	color: var(--azhar-rose);
	margin-block: var(--azhar-sp-6);
}

.azhar-divider-leaf::before,
.azhar-divider-leaf::after {
	content: "";
	height: 1px;
	flex: 1 1 auto;
	max-width: 120px;
	background: linear-gradient(to right, transparent, var(--azhar-beige));
}
