/*
Theme Name: Ajyal Lite
Theme URI: https://www.al-ajyal.com
Author: Ajyal
Description: A lightweight Arabic-first WooCommerce theme for Dar Al Ajyal.
Version: 0.1.73
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ajyal-lite
*/

@font-face {
	font-display: swap;
	font-family: "Bahij Muna";
	font-style: normal;
	font-weight: 400;
	src: url("assets/fonts/BahijMuna-Regular.woff") format("woff");
}

@font-face {
	font-display: swap;
	font-family: "Bahij Muna";
	font-style: normal;
	font-weight: 700;
	src: url("assets/fonts/BahijMuna-Bold.woff") format("woff");
}

@font-face {
	font-display: swap;
	font-family: "Bahij Muna";
	font-style: normal;
	font-weight: 900;
	src: url("assets/fonts/BahijMuna-Black.woff") format("woff");
}

:root {
	--ajyal-bg: #fbfaf4;
	--ajyal-surface: #ffffff;
	--ajyal-ink: #241a15;
	--ajyal-muted: #71665e;
	--ajyal-line: #e8ddcd;
	--ajyal-brand: #755033;
	--ajyal-brand-dark: #4a3020;
	--ajyal-accent: #0f8c86;
	--ajyal-soft: #f3ede3;
	--ajyal-warn: #fff6df;
	--ajyal-radius: 8px;
	--ajyal-shadow: 0 16px 45px rgba(50, 35, 24, 0.09);
	--ajyal-container: 1180px;
}

* {
	box-sizing: border-box;
}

html {
	font-size: 28px;
	scroll-behavior: smooth;
}

body {
	background: var(--ajyal-bg);
	color: var(--ajyal-ink);
	direction: rtl;
	font-family: "Bahij Muna", Tahoma, Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.58;
	margin: 0;
	text-rendering: optimizeLegibility;
}

a {
	color: var(--ajyal-brand-dark);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--ajyal-accent);
}

img {
	height: auto;
	max-width: 100%;
}

button,
input,
select,
textarea {
	font: inherit;
}

.site-container {
	margin-inline: auto;
	max-width: var(--ajyal-container);
	padding-inline: 20px;
	width: 100%;
}

.skip-link {
	background: var(--ajyal-brand-dark);
	color: #fff;
	inset-inline-start: 16px;
	padding: 8px 12px;
	position: absolute;
	top: -80px;
	z-index: 999;
}

.skip-link:focus {
	top: 12px;
}

.site-header {
	background: rgba(251, 250, 247, 0.92);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--ajyal-line);
	position: sticky;
	top: 0;
	z-index: 90;
}

.site-header-inner {
	align-items: center;
	display: flex;
	gap: clamp(12px, 2vw, 26px);
	min-height: 82px;
}

.site-brand {
	align-items: center;
	display: inline-flex;
	text-decoration: none;
}

.custom-logo {
	display: block;
	max-height: 58px;
	width: auto;
}

.ajyal-fallback-logo {
	max-height: 62px;
	max-width: 220px;
}

.site-title {
	color: var(--ajyal-ink);
	font-size: 1.25rem;
	font-weight: 900;
	white-space: nowrap;
}

.primary-nav .menu {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 2px 18px;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-nav {
	flex: 1;
	min-width: 0;
}

.primary-nav a {
	border-radius: 0;
	color: var(--ajyal-ink);
	display: block;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.35;
	padding: 10px 0;
	text-decoration: none;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
	background: transparent;
	color: var(--ajyal-brand);
}

.primary-nav .sub-menu {
	background: var(--ajyal-surface);
	border-inline-start: 1px solid var(--ajyal-line);
	border-radius: var(--ajyal-radius);
	box-shadow: var(--ajyal-shadow);
	display: none;
	list-style: none;
	margin: 0;
	min-width: 260px;
	padding: 12px 18px 12px 10px;
	position: absolute;
	text-align: right;
	top: 100%;
	z-index: 99;
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu,
.primary-nav li.submenu-open > .sub-menu {
	display: block;
}

.primary-nav li {
	position: relative;
}

.primary-nav .sub-menu .sub-menu {
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	display: block;
	margin: 4px 12px 4px 0;
	min-width: 0;
	padding: 0 12px 0 0;
	position: static;
}

.primary-nav .sub-menu a {
	border-radius: 6px;
	color: var(--ajyal-muted);
	font-size: 0.74rem;
	padding: 4px 0;
	white-space: nowrap;
}

.primary-nav .sub-menu a:hover {
	background: transparent;
	color: var(--ajyal-brand);
}

.primary-nav .sub-menu .ajyal-menu-social > a {
	background: #f4f1ea;
	color: var(--ajyal-brand-dark);
	margin-top: 6px;
	padding: 7px 10px;
}

.primary-nav .sub-menu .ajyal-menu-social > a:hover {
	background: var(--ajyal-brand);
	color: #fff;
}

.header-cart-wrap {
	flex: 0 0 auto;
	position: relative;
}

.header-search-wrap {
	flex: 0 0 auto;
	position: relative;
}

.header-search-toggle {
	align-items: center;
	background: transparent;
	border: 1px solid var(--ajyal-line);
	border-radius: 999px;
	color: var(--ajyal-brand-dark);
	cursor: pointer;
	display: inline-flex;
	height: 46px;
	justify-content: center;
	padding: 0;
	width: 46px;
}

.header-search-toggle:hover,
.search-open .header-search-toggle {
	background: #f4eee7;
	border-color: var(--ajyal-brand);
	color: var(--ajyal-brand);
}

.header-search-toggle svg {
	fill: none;
	height: 22px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
	width: 22px;
}

.header-search-panel {
	background: var(--ajyal-surface);
	border: 1px solid var(--ajyal-line);
	border-radius: var(--ajyal-radius);
	box-shadow: var(--ajyal-shadow);
	display: none;
	left: 0;
	min-width: min(480px, calc(100vw - 28px));
	padding: 14px;
	position: absolute;
	top: calc(100% + 10px);
	z-index: 125;
}

.search-open .header-search-panel {
	display: block;
}

.header-search-form {
	margin: 0;
}

.header-search-input {
	background: #fff;
	border: 1px solid var(--ajyal-line);
	border-radius: 999px;
	color: var(--ajyal-ink);
	font: inherit;
	min-height: 48px;
	padding: 8px 18px;
	width: 100%;
}

.header-search-input:focus {
	border-color: var(--ajyal-brand);
	box-shadow: 0 0 0 3px rgba(15, 140, 134, 0.12);
	outline: none;
}

.header-search-results {
	display: grid;
	gap: 8px;
	margin-top: 10px;
}

.header-search-results p {
	color: var(--ajyal-muted);
	font-size: 0.78rem;
	margin: 0;
	padding: 8px 4px;
	text-align: center;
}

.header-search-result {
	align-items: center;
	background: #f8f5ef;
	border: 1px solid transparent;
	border-radius: 12px;
	color: var(--ajyal-ink);
	display: grid;
	gap: 10px;
	grid-template-columns: 52px minmax(0, 1fr);
	padding: 8px;
	text-decoration: none;
}

.header-search-result:hover {
	border-color: var(--ajyal-brand);
	color: var(--ajyal-brand-dark);
}

.header-search-result img {
	background: #fff;
	border-radius: 8px;
	height: 64px;
	object-fit: contain;
	width: 52px;
}

.header-search-result strong {
	display: block;
	font-size: 0.82rem;
	line-height: 1.35;
}

.header-search-result small {
	color: var(--ajyal-muted);
	display: block;
	font-size: 0.72rem;
	margin-top: 3px;
}

.header-search-message {
	background: #fff8e6;
	border: 1px solid #ead6a4;
	border-radius: 10px;
	color: var(--ajyal-brand-dark) !important;
	font-weight: 800;
	padding: 9px 10px !important;
}

.header-search-result small del {
	color: var(--ajyal-muted);
	margin-inline-end: 6px;
	text-decoration-thickness: 1.5px;
}

.header-search-result small ins {
	color: var(--ajyal-brand-dark);
	font-weight: 900;
	text-decoration: none;
}

.ajyal-search-fallback-notice {
	background: #fff8e6;
	border: 1px solid #ead6a4;
	border-radius: var(--ajyal-radius);
	color: var(--ajyal-brand-dark);
	font-size: 0.95rem;
	font-weight: 900;
	grid-column: 1 / -1;
	margin: 0 0 18px;
	padding: 16px 18px;
	text-align: center;
}

.header-social-link {
	align-items: center;
	border: 1px solid var(--ajyal-line);
	border-radius: 999px;
	color: var(--ajyal-brand-dark);
	display: inline-flex;
	flex: 0 0 auto;
	height: 46px;
	justify-content: center;
	text-decoration: none;
	transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
	width: 46px;
}

.header-social-link:hover {
	background: #f4eee7;
	border-color: var(--ajyal-brand);
	color: var(--ajyal-brand);
}

.header-social-link svg {
	fill: none;
	height: 22px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	width: 22px;
}

.header-cart {
	align-items: center;
	background: var(--ajyal-brand-dark);
	border: 0;
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	gap: 8px;
	font-size: 0.86rem;
	min-height: 46px;
	padding: 9px 16px;
	text-decoration: none;
	white-space: nowrap;
}

.header-cart:hover {
	background: var(--ajyal-accent);
	color: #fff;
}

.header-cart strong {
	align-items: center;
	background: #fff;
	border-radius: 999px;
	color: var(--ajyal-ink);
	display: inline-flex;
	font-size: 0.72rem;
	height: 26px;
	justify-content: center;
	min-width: 24px;
	padding-inline: 6px;
}

.header-mini-cart {
	background: var(--ajyal-surface);
	border: 1px solid var(--ajyal-line);
	border-radius: var(--ajyal-radius);
	box-shadow: var(--ajyal-shadow);
	display: none;
	inset-inline-start: auto;
	left: 0;
	min-width: min(520px, 60vw, calc(100vw - 28px));
	padding: 14px;
	position: absolute;
	top: calc(100% + 10px);
	z-index: 120;
}

.ajyal-back-top {
	align-items: center;
	background: var(--ajyal-brand-dark);
	border: 0;
	border-radius: 999px;
	bottom: 18px;
	box-shadow: 0 10px 26px rgba(50, 35, 24, 0.18);
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-size: 1.15rem;
	height: 46px;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	right: 18px;
	transform: translateY(10px);
	transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease;
	width: 46px;
	z-index: 80;
}

.ajyal-back-top:hover {
	background: var(--ajyal-accent);
}

.ajyal-back-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.cart-open .header-mini-cart,
.header-cart-wrap:hover .header-mini-cart,
.header-cart-wrap:focus-within .header-mini-cart {
	display: block;
}

.header-mini-cart::before {
	content: "";
	height: 12px;
	inset-inline: 0;
	position: absolute;
	top: -12px;
}

.header-mini-cart-empty {
	color: var(--ajyal-muted);
	margin: 0 0 12px;
	text-align: center;
}

.header-mini-cart .woocommerce-mini-cart {
	list-style: none;
	margin: 0;
	max-height: 330px;
	overflow: auto;
	padding: 0;
}

.header-mini-cart .mini_cart_item {
	border-bottom: 1px solid var(--ajyal-line);
	display: grid;
	gap: 2px 10px;
	grid-template-columns: 56px 1fr auto;
	padding: 10px 0;
}

.header-mini-cart .mini_cart_item > a:not(.remove) {
	color: var(--ajyal-ink);
	font-weight: 700;
	grid-column: 1 / 3;
	text-decoration: none;
}

.header-mini-cart .mini_cart_item img {
	border-radius: 6px;
	float: right;
	height: 52px;
	margin-inline-end: 0;
	margin-inline-start: 10px;
	object-fit: cover;
	width: 42px;
}

.header-mini-cart .remove {
	align-items: center;
	background: #f5eee7;
	border-radius: 999px;
	color: var(--ajyal-muted) !important;
	display: inline-flex;
	grid-column: 3;
	grid-row: 1;
	height: 24px;
	justify-content: center;
	text-decoration: none;
	width: 24px;
}

.header-mini-cart .quantity {
	color: var(--ajyal-muted);
	font-size: 0.82rem;
	grid-column: 2 / 4;
}

.header-mini-cart .woocommerce-mini-cart__total {
	border-top: 0;
	display: flex;
	font-weight: 900;
	justify-content: space-between;
	margin: 14px 0 10px;
}

.header-mini-cart .woocommerce-mini-cart__buttons {
	display: grid;
	gap: 8px;
	margin: 0;
}

.header-mini-cart .woocommerce-mini-cart__buttons .checkout {
	background: var(--ajyal-accent);
	border-color: var(--ajyal-accent);
	order: -1;
}

.header-mini-cart .woocommerce-mini-cart__buttons .checkout:hover {
	background: #0b6f6a;
	border-color: #0b6f6a;
}

.nav-toggle {
	background: transparent;
	border: 0;
	color: var(--ajyal-ink);
	cursor: pointer;
	display: none;
	gap: 4px;
	padding: 8px;
}

.nav-toggle span {
	background: currentColor;
	display: block;
	height: 2px;
	width: 24px;
}

.nav-toggle b {
	font-size: 0.82rem;
	font-weight: 700;
}

.site-main {
	min-height: 52vh;
	padding-block: 34px 56px;
}

.content-layout {
	display: grid;
	gap: 24px;
}

.content-card,
.post-card,
.woocommerce .woocommerce-notices-wrapper,
.woocommerce form.checkout,
.woocommerce-cart-form,
.cart-collaterals,
.woocommerce-order,
.woocommerce-MyAccount-content,
.woocommerce-MyAccount-navigation {
	background: var(--ajyal-surface);
	border: 1px solid var(--ajyal-line);
	border-radius: var(--ajyal-radius);
	box-shadow: 0 4px 22px rgba(20, 29, 30, 0.04);
	padding: clamp(18px, 3vw, 34px);
}

.woocommerce .woocommerce-notices-wrapper:empty {
	display: none;
}

.page-card {
	padding-block: clamp(22px, 4vw, 44px);
}

.entry-title,
.archive-header h1,
.woocommerce-products-header__title,
.product_title {
	font-size: 2.85rem;
	font-weight: 900;
	line-height: 1.12;
	margin-block: 0 22px;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content > *:last-child {
	margin-bottom: 0;
}

.eyebrow {
	color: var(--ajyal-accent);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0;
	margin-block: 0 8px;
}

.home-hero {
	background:
		linear-gradient(120deg, rgba(117, 80, 51, 0.16), rgba(15, 140, 134, 0.08)),
		var(--ajyal-bg);
	border-bottom: 1px solid var(--ajyal-line);
	padding-block: clamp(34px, 7vw, 78px);
}

.home-hero-inner {
	align-items: center;
	display: grid;
	gap: clamp(24px, 5vw, 52px);
	grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
}

.home-hero h1 {
	font-size: 3rem;
	font-weight: 900;
	line-height: 1.08;
	margin: 0;
}

.home-hero p {
	color: var(--ajyal-muted);
	font-size: 1rem;
	line-height: 1.55;
	margin-block: 14px 0;
	max-width: 620px;
}

.home-hero-media img {
	aspect-ratio: 4 / 5;
	border: 1px solid var(--ajyal-line);
	border-radius: var(--ajyal-radius);
	box-shadow: var(--ajyal-shadow);
	object-fit: cover;
	width: 100%;
}

.hero-actions,
.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}

.button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce #payment #place_order {
	align-items: center;
	background: var(--ajyal-brand);
	border: 1px solid var(--ajyal-brand);
	border-radius: var(--ajyal-radius);
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-size: 0.9rem;
	font-weight: 700;
	justify-content: center;
	min-height: 50px;
	padding: 12px 22px;
	text-decoration: none;
	transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.button:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce #payment #place_order:hover {
	background: var(--ajyal-brand-dark);
	border-color: var(--ajyal-brand-dark);
	color: #fff;
	transform: translateY(-1px);
}

.button-secondary,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
	background: transparent;
	color: var(--ajyal-brand-dark);
}

.post-grid,
.woocommerce ul.products {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.post-card,
.woocommerce ul.products li.product {
	align-content: start;
	background: #f4f1ea;
	border: 1px solid var(--ajyal-line);
	border-radius: var(--ajyal-radius);
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-rows: auto minmax(3.2em, auto) auto;
	float: none !important;
	margin: 0 !important;
	padding: 14px;
	position: relative;
	width: auto !important;
}

.post-card {
	gap: 12px;
	grid-template-columns: 1fr;
	grid-template-rows: auto auto 1fr;
	padding: 16px;
}

.post-card-image,
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
	color: inherit;
	text-decoration: none;
}

.post-card-image {
	background: #eee8dd;
	border-radius: 8px;
	display: block;
	overflow: hidden;
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
	display: contents;
}

.woocommerce ul.products li.product img,
.post-card img {
	aspect-ratio: 3 / 4;
	background: #f4f1ea;
	border-radius: 6px;
	object-fit: contain;
	width: 100%;
}

.post-card img {
	aspect-ratio: 16 / 10;
	background: #eee8dd;
	display: block;
	object-fit: cover;
}

.woocommerce ul.products li.product img {
	grid-column: 1 / -1;
	grid-row: 1;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.post-card h2 {
	color: var(--ajyal-ink);
	font-size: 1rem;
	line-height: 1.42;
	margin: 0;
	min-height: 3.2em;
}

.post-card h2 {
	font-size: 1.12rem;
	min-height: 0;
}

.post-card h2 a,
.post-card .entry-title a {
	color: inherit;
	text-decoration: none;
}

.post-card-excerpt {
	color: var(--ajyal-muted);
	font-size: 0.92rem;
	line-height: 1.65;
}

.post-card-excerpt p {
	margin: 0;
}

.entry-featured-image {
	background: #f4f1ea;
	border-radius: 10px;
	margin-block: 0 24px;
	margin-inline: auto;
	max-width: 600px;
	overflow: hidden;
}

.entry-featured-image img {
	display: block;
	height: auto;
	object-fit: contain;
	width: 100%;
}

.post-adjacent-nav {
	align-items: center;
	border-block: 1px solid var(--ajyal-line);
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	padding-block: 22px;
}

.post-adjacent-link {
	display: grid;
	gap: 4px;
	min-height: 64px;
}

.post-adjacent-prev {
	text-align: left;
}

.post-adjacent-next {
	text-align: right;
}

.post-adjacent-link span {
	color: var(--ajyal-muted);
	font-size: 0.78rem;
	font-weight: 700;
}

.post-adjacent-link a {
	color: var(--ajyal-ink);
	font-size: 1.1rem;
	font-weight: 900;
	line-height: 1.35;
	text-decoration: none;
}

.post-adjacent-link a:hover {
	color: var(--ajyal-teal);
}

.post-adjacent-home {
	align-items: center;
	background: #f4f1ea;
	border: 1px solid var(--ajyal-line);
	border-radius: 999px;
	color: var(--ajyal-muted);
	display: inline-flex;
	font-size: 0.82rem;
	font-weight: 800;
	height: 46px;
	justify-content: center;
	padding-inline: 18px;
	text-decoration: none;
	white-space: nowrap;
}

.post-read-more {
	display: grid;
	gap: 18px;
}

.post-read-more > h2 {
	font-size: 2rem;
	font-weight: 900;
	line-height: 1.2;
	margin: 0;
}

.post-card-compact {
	grid-template-columns: 120px minmax(0, 1fr);
	grid-template-rows: auto;
}

.post-card-compact .post-card-image {
	grid-row: 1;
}

.post-card-compact img {
	aspect-ratio: 1 / 1;
}

.post-card-compact h2 {
	align-self: center;
	font-size: 1rem;
}

.page-id-10041 .content-card {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding-inline: 0;
}

.page-id-10041 .entry-title {
	font-size: clamp(2.8rem, 7vw, 4.4rem);
	margin-block: 38px 88px;
	text-align: center;
}

.page-id-10041 .entry-content {
	text-align: center;
}

.page-id-10041 .entry-content > p,
.page-id-10041 .entry-content > .wp-block-columns:first-child p {
	color: var(--ajyal-ink);
	font-size: 1.02rem;
	line-height: 1.8;
	margin-inline: auto;
	max-width: 820px;
}

.page-id-10041 .wp-block-columns {
	margin-block: 0 48px;
}

.page-id-10041 .wp-block-column {
	min-width: 0;
}

.page-id-10041 .wp-block-buttons {
	justify-content: center;
	margin-block: 20px 46px;
}

.page-id-10041 .bookmarks-download .wp-block-button__link {
	background: linear-gradient(180deg, #f79a3c 0%, #e57b1f 100%);
	border-color: #df7a25;
	border-radius: 7px;
	box-shadow: 0 8px 18px rgba(229, 123, 31, 0.22);
	color: #fff;
	font-size: 0.9rem;
	font-weight: 900;
	min-width: min(380px, 100%);
}

.page-id-10041 .bookmarks-download .wp-block-button__link:hover {
	background: linear-gradient(180deg, #ea8730 0%, #cc6918 100%);
	border-color: #cc6918;
}

.page-id-10041 .entry-content .wp-block-heading {
	font-size: clamp(1.7rem, 3vw, 2.45rem);
	font-weight: 900;
	line-height: 1.18;
	margin-block: 44px 18px;
	text-align: center;
}

.page-id-10041 .bookmark-columns-container {
	display: grid !important;
	gap: clamp(18px, 2vw, 28px);
	grid-template-columns: repeat(6, minmax(0, 1fr));
	margin-inline: auto;
	max-width: 1180px;
	width: 100%;
}

.page-id-10041 .bookmark-container {
	display: grid;
	gap: 10px;
	justify-items: center;
	margin: 0;
	position: relative;
}

.page-id-10041 .bookmark-image {
	background: #fff;
	box-shadow: 0 10px 26px rgba(50, 35, 24, 0.12);
	display: block;
	height: auto;
	max-width: 100%;
	width: 100%;
}

.page-id-10041 .bookmark-inner {
	display: grid;
	gap: 8px;
	grid-template-columns: 1fr 1fr;
	width: 100%;
}

.page-id-10041 .bookmark-inner a {
	text-decoration: none;
}

.page-id-10041 .bookmark-text {
	align-items: center;
	background: var(--ajyal-brand);
	border-radius: 6px;
	color: #fff;
	display: flex;
	font-size: 0.62rem;
	font-weight: 800;
	justify-content: center;
	line-height: 1.35;
	min-height: 38px;
	padding: 6px;
	transition: background 0.18s ease, transform 0.18s ease;
}

.page-id-10041 .bookmark-inner a:hover .bookmark-text {
	background: #e57b1f;
	transform: translateY(-1px);
}

.ajyal-gifts-page {
	padding-block-start: 0;
	scroll-padding-top: 170px;
}

.ajyal-gifts-hero {
	background:
		linear-gradient(180deg, rgba(244, 241, 234, 0.96), rgba(251, 250, 244, 0.98)),
		radial-gradient(circle at 15% 20%, rgba(15, 140, 134, 0.16), transparent 30%),
		radial-gradient(circle at 85% 30%, rgba(117, 80, 51, 0.15), transparent 28%);
	border-bottom: 1px solid var(--ajyal-line);
	padding-block: clamp(52px, 8vw, 108px);
	text-align: center;
}

.ajyal-gifts-hero h1 {
	font-size: clamp(2.6rem, 7vw, 4.8rem);
	font-weight: 900;
	line-height: 1.08;
	margin: 0 auto;
	max-width: 980px;
}

.ajyal-gifts-hero p:not(.eyebrow),
.ajyal-gifts-intro p {
	color: var(--ajyal-muted);
	font-size: 1.12rem;
	line-height: 1.7;
	margin: 20px auto 0;
	max-width: 780px;
}

.ajyal-gifts-intro {
	margin: 24px auto 0;
	max-width: 940px;
}

.ajyal-gifts-intro p {
	font-size: 0.96rem;
	line-height: 1.9;
	margin-top: 12px;
	max-width: 940px;
	text-align: right;
}

.ajyal-gifts-actions {
	backdrop-filter: blur(14px);
	background: rgba(251, 250, 244, 0.84);
	border: 1px solid rgba(232, 221, 205, 0.82);
	border-radius: 999px;
	box-shadow: 0 12px 30px rgba(50, 35, 24, 0.09);
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	left: 50%;
	margin: 0;
	max-width: max-content;
	padding: 8px;
	position: fixed;
	transform: translateX(-50%);
	top: 88px;
	z-index: 80;
}

.ajyal-gifts-section,
.ajyal-gifts-band {
	scroll-margin-top: 170px;
}

.ajyal-gifts-actions a {
	background: var(--ajyal-surface);
	border: 1px solid var(--ajyal-line);
	border-radius: 999px;
	box-shadow: 0 8px 22px rgba(50, 35, 24, 0.06);
	color: var(--ajyal-brand-dark);
	font-size: 0.85rem;
	font-weight: 800;
	padding: 9px 18px;
	text-decoration: none;
}

.ajyal-gifts-actions a:hover {
	background: var(--ajyal-brand);
	color: #fff;
}

.ajyal-gifts-section {
	padding-block: clamp(44px, 7vw, 86px);
}

.ajyal-section-heading {
	margin: 0 auto 28px;
	max-width: 900px;
	text-align: center;
}

.ajyal-section-heading h2 {
	font-size: clamp(2rem, 4vw, 3.1rem);
	font-weight: 900;
	line-height: 1.16;
	margin: 0;
}

.ajyal-section-heading p:not(.eyebrow) {
	color: var(--ajyal-muted);
	font-size: 0.95rem;
	line-height: 1.85;
	margin: 12px auto 0;
	text-align: right;
}

.ajyal-gift-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ajyal-gift-card {
	background: var(--ajyal-surface);
	border: 1px solid var(--ajyal-line);
	border-radius: var(--ajyal-radius);
	box-shadow: 0 10px 30px rgba(50, 35, 24, 0.06);
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	gap: 16px;
	padding: 16px;
}

.ajyal-gift-image {
	align-self: start;
	background: #f4f1ea;
	border-radius: 7px;
	display: block;
	overflow: hidden;
}

.ajyal-gift-image img {
	aspect-ratio: 3 / 4;
	display: block;
	object-fit: contain;
	width: 100%;
}

.ajyal-gift-card h3,
.ajyal-archive-gift h3 {
	font-size: 1.15rem;
	font-weight: 900;
	line-height: 1.3;
	margin: 0;
}

.ajyal-gift-card p,
.ajyal-archive-gift p {
	color: var(--ajyal-muted);
	font-size: 0.78rem;
	line-height: 1.7;
	margin: 8px 0 12px;
}

.ajyal-gift-card .button {
	font-size: 0.72rem;
	min-height: 42px;
	padding: 8px 14px;
	width: 100%;
}

.ajyal-gifts-band {
	background: #f4f1ea;
	border-block: 1px solid var(--ajyal-line);
}

.ajyal-free-book-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.ajyal-free-book {
	background: var(--ajyal-surface);
	border: 1px solid var(--ajyal-line);
	border-radius: var(--ajyal-radius);
	box-shadow: 0 8px 24px rgba(50, 35, 24, 0.05);
	color: var(--ajyal-ink);
	display: grid;
	gap: 10px;
	padding: 10px;
	text-align: center;
	text-decoration: none;
}

.ajyal-free-book:hover {
	color: var(--ajyal-brand);
	transform: translateY(-2px);
}

.ajyal-free-book img {
	aspect-ratio: 3 / 4;
	border-radius: 6px;
	object-fit: cover;
	width: 100%;
}

.ajyal-free-book strong {
	font-size: 0.72rem;
	line-height: 1.45;
}

.ajyal-archive-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ajyal-archive-gift {
	background: var(--ajyal-surface);
	border: 1px solid var(--ajyal-line);
	border-radius: var(--ajyal-radius);
	display: grid;
	gap: 14px;
	padding: 14px;
}

.ajyal-archive-gift img {
	aspect-ratio: 16 / 10;
	background: #f4f1ea;
	border-radius: 7px;
	object-fit: cover;
	width: 100%;
}

.ajyal-archive-gift a {
	color: var(--ajyal-brand-dark);
	font-size: 0.78rem;
	font-weight: 900;
}

.ajyal-eid-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ajyal-eid-links a {
	background: #f4f1ea;
	border-radius: 999px;
	padding: 5px 10px;
	text-decoration: none;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	grid-column: 1 / -1;
	grid-row: 2;
}

.woocommerce ul.products li.product .price {
	align-self: center;
	color: var(--ajyal-brand-dark);
	font-size: 20px;
	font-weight: 800;
	grid-column: 1;
	grid-row: 3;
	line-height: 1.3;
	margin: 0;
}

.woocommerce ul.products li.product .price del {
	color: #9a8f86;
	font-size: 17px;
	font-weight: 600;
	opacity: 1;
	text-decoration: line-through;
	text-decoration-thickness: 2px;
}

.woocommerce ul.products li.product .price del .woocommerce-Price-amount {
	text-decoration: line-through;
	text-decoration-thickness: 2px;
}

.woocommerce ul.products li.product .price ins {
	color: var(--ajyal-brand-dark);
	font-weight: 900;
	text-decoration: none;
}

.woocommerce ul.products li.product .price .woocommerce-Price-amount {
	display: inline-flex;
	gap: 3px;
	white-space: nowrap;
}

.woocommerce ul.products li.product .button {
	align-self: center;
	background: transparent;
	border-color: var(--ajyal-line);
	color: var(--ajyal-brand-dark);
	font-size: 17px;
	grid-column: 2;
	grid-row: 3;
	justify-self: start;
	min-height: 36px;
	padding: 6px 12px;
}

.woocommerce ul.products li.product .button::before {
	content: "+";
	font-size: 1rem;
	font-weight: 900;
	line-height: 1;
	margin-inline-end: 2px;
}

.woocommerce ul.products li.product .button:hover {
	background: var(--ajyal-soft);
	border-color: var(--ajyal-brand);
	color: var(--ajyal-brand-dark);
	transform: none;
}

.woocommerce ul.products li.product .added_to_cart {
	color: var(--ajyal-accent);
	font-size: 15px;
	font-weight: 800;
	margin-inline-start: 8px;
	text-decoration: none;
}

.woocommerce span.onsale {
	background: var(--ajyal-accent);
	border-radius: 999px;
	color: #fff;
	font-weight: 700;
	inset: 10px auto auto 10px;
	min-height: 0;
	min-width: 0;
	padding: 4px 10px;
	position: absolute;
}

.woocommerce .woocommerce-result-count {
	color: var(--ajyal-muted);
	margin: 0 0 14px;
}

.woocommerce .woocommerce-ordering {
	margin: 0 0 20px;
}

.woocommerce .woocommerce-ordering select {
	background-color: var(--ajyal-surface);
	max-width: 320px;
}

.woocommerce div.product {
	display: grid;
	gap: clamp(20px, 4vw, 48px);
	grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
	float: none;
	margin: 0;
	width: auto;
}

.woocommerce div.product div.images img {
	background: #f4f0ea;
	border: 1px solid var(--ajyal-line);
	border-radius: var(--ajyal-radius);
}

.woocommerce div.product .summary {
	background: var(--ajyal-surface);
	border: 1px solid var(--ajyal-line);
	border-radius: var(--ajyal-radius);
	padding: clamp(18px, 3vw, 30px);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--ajyal-brand-dark);
	font-size: 1.4rem;
	font-weight: 800;
}

.woocommerce div.product form.cart {
	align-items: stretch;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-block: 22px;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
	background: var(--ajyal-accent);
	border-color: var(--ajyal-accent);
	color: #fff;
	flex: 1 1 280px;
	font-size: 1.05rem;
	font-weight: 900;
	min-height: 64px;
	padding: 16px 26px;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
	background: #d66a12;
	border-color: #d66a12;
	color: #fff;
}

.woocommerce div.product form.cart .ajyal-qg {
	flex: 0 1 min(60%, 560px);
	max-width: none;
}

.woocommerce div.product form.cart .ajyal-qg-panel {
	width: 100%;
}

.woocommerce div.product form.cart .ajyal-qg-secondary {
	background: transparent;
	border-color: var(--ajyal-line);
	color: var(--ajyal-brand-dark);
	font-size: 0.82rem;
	font-weight: 800;
	min-height: 50px;
	padding: 11px 18px;
}

.woocommerce div.product form.cart .ajyal-qg-secondary:hover {
	background: var(--ajyal-soft);
	border-color: var(--ajyal-brand);
	color: var(--ajyal-brand-dark);
}

.woocommerce div.product .product_meta .tagged_as,
.woocommerce div.product .product_meta .posted_in {
	display: none;
}

.custom-attribute, .product_meta, .reset_variations {
	display: none;
}

.ajyal-star-summary {
	background: #f4f1ea;
	border: 1px solid var(--ajyal-line);
	border-radius: var(--ajyal-radius);
	display: grid;
	gap: 12px;
	margin-block: 18px;
	padding: 16px;
}

.ajyal-star-kicker {
	color: var(--ajyal-accent);
	font-size: 0.76rem;
	font-weight: 900;
	margin: 0;
}

.ajyal-star-lead {
	color: var(--ajyal-ink);
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.75;
	margin: 0;
}

.ajyal-star-proof {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ajyal-star-proof span {
	background: var(--ajyal-surface);
	border: 1px solid var(--ajyal-line);
	border-radius: 999px;
	color: var(--ajyal-brand-dark);
	font-size: 0.74rem;
	font-weight: 900;
	padding: 7px 10px;
	text-align: center;
}

.ajyal-star-bullets {
	color: var(--ajyal-muted);
	display: grid;
	font-size: 0.78rem;
	gap: 8px;
	line-height: 1.65;
	margin: 0;
	padding-inline-start: 1.1em;
}

.ajyal-star-sales {
	display: grid;
	gap: 18px;
	grid-column: 1 / -1;
	margin-block: 10px 20px;
}

.ajyal-star-panel {
	background: #f4f1ea;
	border: 1px solid var(--ajyal-line);
	border-radius: var(--ajyal-radius);
	box-shadow: 0 14px 36px rgba(50, 35, 24, 0.06);
}

.ajyal-star-offer {
	align-items: center;
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(0, 1fr) minmax(250px, 0.34fr);
	padding: clamp(18px, 4vw, 34px);
}

.ajyal-star-offer h2,
.ajyal-star-authors h2 {
	font-size: clamp(1.8rem, 4vw, 3rem);
	font-weight: 900;
	line-height: 1.15;
	margin: 0;
}

.ajyal-star-offer p:not(.eyebrow) {
	color: var(--ajyal-muted);
	font-size: 0.92rem;
	line-height: 1.85;
	margin: 14px 0 0;
}

.ajyal-star-value-card {
	background: var(--ajyal-brand-dark);
	border-radius: var(--ajyal-radius);
	color: #fff;
	display: grid;
	gap: 8px;
	padding: 20px;
	text-align: center;
}

.ajyal-star-value-card strong {
	font-size: 2rem;
	font-weight: 900;
	line-height: 1;
}

.ajyal-star-value-card span {
	color: #f1dfc7;
	font-size: 0.78rem;
}

.ajyal-star-value-card .button {
	background: var(--ajyal-accent);
	border-color: var(--ajyal-accent);
	color: #fff;
	margin-top: 8px;
}

.ajyal-star-reasons,
.ajyal-star-author-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ajyal-star-reasons article,
.ajyal-star-author-grid article {
	background: var(--ajyal-surface);
	border: 1px solid var(--ajyal-line);
	border-radius: var(--ajyal-radius);
	padding: 16px;
}

.ajyal-star-reasons strong,
.ajyal-star-author-grid strong {
	color: var(--ajyal-brand-dark);
	display: block;
	font-size: 1rem;
	font-weight: 900;
	line-height: 1.3;
}

.ajyal-star-reasons p,
.ajyal-star-author-grid p {
	color: var(--ajyal-muted);
	font-size: 0.76rem;
	line-height: 1.65;
	margin: 8px 0 0;
}

.ajyal-star-authors {
	display: grid;
	gap: 18px;
	padding-block: 18px;
}


.woocommerce div.product .woocommerce-product-gallery__trigger {
	display: none !important;
}

.woocommerce div.product .woocommerce-product-gallery__image > a {
	cursor: default;
	pointer-events: none;
}

.woocommerce div.product .ajyal-lookinside-gallery-banner {
	align-self: start;
	position: relative;
	z-index: 2;
}

.ajyal-lookinside-gallery-link {
	align-items: center;
	background: linear-gradient(135deg, var(--ajyal-brand-dark), var(--ajyal-brand));
	border-radius: var(--ajyal-radius);
	color: #fff;
	display: grid;
	gap: 2px 12px;
	grid-template-columns: auto 1fr;
	margin-bottom: 14px;
	padding: 16px 18px;
	text-decoration: none;
	width: 100%;
}

.ajyal-lookinside-gallery-link:hover {
	color: #fff;
	transform: translateY(-1px);
}

.ajyal-lookinside-gallery-icon {
	align-items: center;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	display: inline-flex;
	font-size: 1.15rem;
	grid-row: 1 / span 2;
	height: 44px;
	justify-content: center;
	line-height: 1;
	width: 44px;
}

.ajyal-lookinside-gallery-text {
	font-size: 1.05rem;
	font-weight: 900;
	line-height: 1.15;
}

.ajyal-lookinside-gallery-link small {
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.68rem;
	font-weight: 700;
	line-height: 1.35;
}

.single-product .woocommerce-message {
	display: none;
}

.single-product .added_to_cart.wc-forward {
	display: none !important;
}

.ajyal-fly-cart-image {
	border-radius: 8px;
	box-shadow: 0 22px 42px rgba(45, 29, 19, 0.34);
	object-fit: contain;
	pointer-events: none;
	position: fixed;
	transition: transform 0.98s cubic-bezier(.18, .86, .18, 1), opacity 0.98s ease;
	z-index: 999999;
}

.single-product .single_add_to_cart_button.is-ajyal-adding {
	cursor: wait;
	opacity: 0.82;
}

.single-product .single_add_to_cart_button.is-ajyal-added {
	background: var(--ajyal-brand);
	border-color: var(--ajyal-brand);
}

.ajyal-lookinside-product {
	margin: 0;
}

.ajyal-lookinside-badge {
	align-items: center;
	background: #f4f1ea;
	border: 1px solid var(--ajyal-line);
	border-radius: 999px;
	color: var(--ajyal-brand-dark);
	display: inline-flex;
	flex-direction: column;
	font-size: 0.86rem;
	font-weight: 900;
	gap: 2px;
	line-height: 1.25;
	padding: 10px 18px;
	text-decoration: none;
}

.ajyal-lookinside-product .ajyal-lookinside-badge {
	display: none;
}

.ajyal-lookinside-badge::before {
	content: "معاينة";
	font-size: 0.7em;
	line-height: 1;
}

.ajyal-lookinside-badge small {
	color: var(--ajyal-muted);
	font-size: 0.68rem;
	font-weight: 700;
}

.ajyal-lookinside-badge:hover {
	background: var(--ajyal-soft);
	border-color: var(--ajyal-brand);
	color: var(--ajyal-brand-dark);
}

.ajyal-lookinside-inline {
	display: none;
}

.woocommerce .quantity .qty {
	border: 1px solid var(--ajyal-line);
	border-radius: var(--ajyal-radius);
	font-size: 0.9rem;
	min-height: 50px;
	padding: 8px;
	text-align: center;
	width: 90px;
}

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .ajyal-product-sections,
.woocommerce div.product .upsells,
.woocommerce div.product .related {
	grid-column: 1 / -1;
	width: 100%;
}

.woocommerce div.product .ajyal-product-sections {
	display: grid;
	gap: 18px;
}

.woocommerce div.product .ajyal-product-section,
.woocommerce div.product .upsells,
.woocommerce div.product .related {
	background: var(--ajyal-surface);
	border: 1px solid var(--ajyal-line);
	border-radius: var(--ajyal-radius);
	padding: clamp(18px, 3vw, 30px);
}

.woocommerce div.product .ajyal-product-section h2,
.woocommerce div.product .upsells > h2,
.woocommerce div.product .related > h2 {
	font-size: 1.45rem;
	line-height: 1.2;
	margin: 0 0 18px;
}

.woocommerce div.product .ajyal-product-section > :last-child,
.woocommerce div.product .upsells > :last-child,
.woocommerce div.product .related > :last-child {
	margin-bottom: 0;
}

.woocommerce div.product .upsells ul.products,
.woocommerce div.product .related ul.products {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0;
}

.woocommerce table.shop_table {
	background: var(--ajyal-surface);
	border: 1px solid var(--ajyal-line);
	border-collapse: separate;
	border-radius: var(--ajyal-radius);
	overflow: hidden;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	border-color: var(--ajyal-line);
	padding: 14px;
}

.woocommerce-cart .content-card,
.woocommerce-checkout .content-card {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
}

.woocommerce-cart .woocommerce {
	direction: ltr;
	display: grid;
	gap: 22px;
	grid-template-columns: minmax(320px, 0.42fr) minmax(0, 1fr);
}

.woocommerce-cart .woocommerce > * {
	direction: rtl;
}

.ajyal-cart-progress {
	background: linear-gradient(135deg, #fffaf0, #f4f1ea);
	border: 1px solid #ead6a4;
	border-radius: var(--ajyal-radius);
	box-shadow: 0 12px 34px rgba(50, 35, 24, 0.08);
	display: grid;
	gap: 12px;
	grid-column: 1 / -1;
	margin: 0 0 18px;
	padding: 16px 18px;
}

.ajyal-cart-progress-text {
	align-items: end;
	display: flex;
	gap: 8px 18px;
	justify-content: space-between;
}

.ajyal-cart-progress-text strong {
	color: var(--ajyal-brand-dark);
	font-size: 0.94rem;
	font-weight: 900;
	line-height: 1.45;
}

.ajyal-cart-progress-text span {
	color: var(--ajyal-muted);
	font-size: 0.76rem;
	line-height: 1.6;
}

.ajyal-cart-progress-track {
	background: rgba(117, 80, 51, 0.14);
	border-radius: 999px;
	height: 12px;
	overflow: hidden;
	position: relative;
}

.ajyal-cart-progress-track span {
	background: linear-gradient(90deg, var(--ajyal-brand), var(--ajyal-accent));
	border-radius: inherit;
	display: block;
	height: 100%;
	width: var(--ajyal-progress, 0%);
}

.ajyal-cart-progress-steps {
	color: var(--ajyal-muted);
	display: grid;
	font-size: 0.68rem;
	font-weight: 900;
	grid-template-columns: 1fr 1fr 1fr;
	position: relative;
}

.ajyal-cart-progress-step {
	position: relative;
}

.ajyal-cart-progress-step::before {
	color: var(--ajyal-brand);
	content: "▲";
	display: block;
	font-size: 0.76rem;
	line-height: 1;
	margin-bottom: 2px;
}

.ajyal-progress-short {
	display: none;
}

.ajyal-cart-progress-step-start {
	text-align: right;
}

.ajyal-cart-progress-step-min {
	text-align: center;
}

.ajyal-cart-progress-step-free {
	text-align: left;
}

.ajyal-cart-progress-mini {
	gap: 9px;
	margin: 0 0 12px;
	padding: 12px;
}

.ajyal-cart-progress-mini .ajyal-cart-progress-text {
	align-items: stretch;
	display: grid;
	gap: 6px;
}

.ajyal-cart-progress-mini .ajyal-cart-progress-text strong {
	font-size: 0.76rem;
}

.ajyal-cart-progress-mini .ajyal-cart-progress-text span,
.ajyal-cart-progress-mini .ajyal-cart-progress-steps {
	font-size: 0.58rem;
}

.ajyal-cart-progress-mini .ajyal-cart-progress-step-min {
	max-width: 9em;
	justify-self: center;
}

.ajyal-cart-progress-mini .ajyal-cart-progress-step-free {
	max-width: 9em;
	justify-self: end;
}

.ajyal-cart-progress-mini .ajyal-progress-full {
	display: none;
}

.ajyal-cart-progress-mini .ajyal-progress-short {
	display: inline;
}

.woocommerce-cart .woocommerce-notices-wrapper {
	grid-column: 1 / -1;
}

.woocommerce-cart-form {
	align-self: start;
	background: transparent;
	border: 0;
	box-shadow: none;
	grid-column: 2;
	grid-row: 2;
	padding: 0;
	position: static;
}

.woocommerce-cart-form table.shop_table {
	border: 0;
	background: transparent;
	display: block;
}

.woocommerce-cart-form table.shop_table thead {
	display: none;
}

.woocommerce-cart-form table.shop_table tbody,
.woocommerce-cart-form table.shop_table tr,
.woocommerce-cart-form table.shop_table td {
	display: block;
}

.woocommerce-cart-form .cart_item {
	align-items: center;
	background: var(--ajyal-surface);
	border: 1px solid var(--ajyal-line);
	border-radius: 8px;
	box-shadow: none;
	display: grid !important;
	gap: 16px 20px;
	grid-template-columns: 82px minmax(0, 1fr) auto;
	margin-bottom: 12px;
	padding: 20px;
}

.woocommerce-cart-form .product-remove {
	grid-column: 3;
	grid-row: 1;
	text-align: left;
}

.woocommerce-cart-form .product-thumbnail {
	grid-column: 1;
	grid-row: 1 / span 2;
}

.woocommerce-cart-form .product-thumbnail img {
	border-radius: 8px;
	height: 82px;
	object-fit: cover;
	width: 64px;
}

.woocommerce-cart-form .product-name {
	font-size: 1rem;
	font-weight: 900;
	grid-column: 2;
	grid-row: 1;
	line-height: 1.25;
}

.woocommerce-cart-form .product-name a {
	text-decoration: none;
}

.woocommerce-cart-form .product-price,
.woocommerce-cart-form .product-subtotal {
	color: var(--ajyal-brand-dark);
	font-size: 0.94rem;
	font-weight: 900;
}

.woocommerce-cart-form .product-price {
	grid-column: 2;
	grid-row: 2;
}

.woocommerce-cart-form .product-quantity {
	grid-column: 3;
	grid-row: 2;
}

.woocommerce-cart-form .product-quantity .qty {
	font-size: 0.95rem;
	min-height: 58px;
	width: 92px;
}

.ajyal-mini-cart-qty-wrap,
.ajyal-cart-qty-wrap {
	align-items: center;
	display: inline-flex;
	gap: 10px;
}

.ajyal-cart-qty-warning {
	align-items: center;
	cursor: help;
	display: inline-flex;
	height: 38px;
	justify-content: center;
	outline: 0;
	position: relative;
	width: 40px;
	z-index: 3;
}

.ajyal-cart-qty-warning-mark {
	align-items: center;
	background: #fff4a6;
	border: 1px solid #e4c649;
	clip-path: polygon(50% 0, 100% 92%, 0 92%);
	color: #1d1711;
	display: inline-flex;
	font-size: 0.62rem;
	font-weight: 900;
	height: 34px;
	justify-content: center;
	line-height: 1;
	padding-top: 10px;
	width: 36px;
}

.ajyal-cart-qty-warning::after {
	background: var(--ajyal-brand-dark);
	border-radius: 8px;
	bottom: calc(100% + 8px);
	box-shadow: 0 10px 24px rgba(50, 35, 24, 0.18);
	color: #fff;
	content: attr(data-tooltip);
	font-size: 0.68rem;
	font-weight: 800;
	left: 50%;
	line-height: 1.55;
	max-width: 240px;
	opacity: 0;
	padding: 8px 10px;
	pointer-events: none;
	position: absolute;
	text-align: center;
	transform: translate(-50%, 6px);
	transition: opacity 0.16s ease, transform 0.16s ease;
	visibility: hidden;
	white-space: normal;
	width: max-content;
}

.ajyal-cart-qty-warning::before {
	border-inline: 6px solid transparent;
	border-top: 7px solid var(--ajyal-brand-dark);
	bottom: calc(100% + 1px);
	content: "";
	left: 50%;
	opacity: 0;
	position: absolute;
	transform: translateX(-50%);
	transition: opacity 0.16s ease;
	visibility: hidden;
}

.ajyal-cart-qty-warning:hover::after,
.ajyal-cart-qty-warning:focus::after,
.ajyal-cart-qty-warning.is-open::after,
.ajyal-cart-qty-warning:hover::before,
.ajyal-cart-qty-warning:focus::before,
.ajyal-cart-qty-warning.is-open::before {
	opacity: 1;
	transform: translate(-50%, 0);
	visibility: visible;
}
.woocommerce-cart-form .product-subtotal {
	display: none !important;
}

.woocommerce-cart-form .product-remove a,
.woocommerce-cart-form .product-remove button,
.woocommerce-cart-form .remove {
	align-items: center;
	background: #f5eee7;
	border: 0;
	border-radius: 999px;
	color: var(--ajyal-muted) !important;
	display: inline-flex;
	height: 42px;
	justify-content: center;
	text-decoration: none;
	width: 42px;
}

.woocommerce-cart-form tr:last-child {
	background: transparent;
	border: 0;
	box-shadow: none;
	display: block !important;
	margin: 0;
	padding: 0;
}

.woocommerce-cart-form tr:last-child td {
	padding: 0;
}

.cart-collaterals {
	align-self: start;
	display: flex;
	flex-direction: column;
	gap: 18px;
	grid-column: 1;
	grid-row: 2;
	position: sticky;
	top: 102px;
}

.woocommerce-cart .cross-sells {
	display: block;
	margin-bottom: 0;
	order: 2;
}

.woocommerce-cart .cross-sells h2 {
	font-size: 1.08rem;
	line-height: 1.2;
}

.woocommerce-cart .cross-sells ul.products {
	display: grid;
	gap: 14px;
	grid-template-columns: 1fr;
	margin: 0;
}

.woocommerce-cart .cross-sells ul.products li.product {
	width: auto;
}

.woocommerce-cart .cross-sells ul.products li.product img {
	max-height: 220px;
	object-fit: contain;
	width: 100%;
}

.cart-collaterals .cart_totals {
	float: none;
	order: 1;
	width: auto;
}

.cart-collaterals h2 {
	font-size: 1.5rem;
	line-height: 1.2;
	margin-top: 0;
}

.cart-collaterals table.shop_table {
	border: 0;
}

.cart-collaterals table.shop_table th,
.cart-collaterals table.shop_table td {
	display: block;
	padding-inline: 0;
	width: auto;
}

.cart-collaterals table.shop_table tr {
	border-bottom: 1px solid var(--ajyal-line);
	display: block;
	padding-block: 10px;
}

.cart-collaterals table.shop_table tr:last-child {
	border-bottom: 0;
}

.cart-collaterals .includes_tax {
	display: none !important;
}

.woocommerce-cart .cart_totals .shipping,
.woocommerce-cart .ajyal-cart-shipping {
	display: none !important;
}

.ajyal-cart-inline-checkout {
	margin-top: 14px;
}

.ajyal-cart-inline-checkout .checkout-button {
	background: var(--ajyal-accent);
	border-color: var(--ajyal-accent);
	display: flex;
	justify-content: center;
	min-height: 58px;
	width: 100%;
}

.cart-collaterals .wc-proceed-to-checkout a.checkout-button {
	background: var(--ajyal-accent);
	border-color: var(--ajyal-accent);
	display: flex;
	width: 100%;
}

.woocommerce-checkout form.checkout {
	background: transparent;
	border: 0;
	box-shadow: none;
	display: grid;
	direction: ltr;
	gap: 22px;
	grid-template-columns: minmax(320px, 0.42fr) minmax(0, 1fr);
	padding: 0;
}

.woocommerce-checkout .woocommerce-NoticeGroup,
.woocommerce-checkout .woocommerce-NoticeGroup-checkout,
.woocommerce-checkout .ajyal-checkout-feedback {
	direction: rtl;
	grid-column: 1 / -1;
}

.woocommerce-checkout .ajyal-checkout-feedback {
	background: #fff8e0;
	border: 1px solid #e4bd4f;
	border-radius: var(--ajyal-radius);
	box-shadow: 0 16px 38px rgba(50, 35, 24, 0.12);
	display: none;
	font-weight: 800;
	line-height: 1.55;
	margin-bottom: 18px;
	padding: 16px 20px;
}

.woocommerce-checkout .ajyal-checkout-feedback.is-visible {
	display: block;
}

.woocommerce-checkout #payment .place-order .ajyal-checkout-feedback,
.woocommerce-checkout #payment .place-order .woocommerce-NoticeGroup-checkout {
	margin: 0;
}

.woocommerce-checkout .ajyal-checkout-feedback.is-error {
	background: #fff0ed;
	border-color: #e59a8e;
	color: #6d261d;
}

.woocommerce-checkout .ajyal-checkout-feedback.is-loading {
	background: #f4efe7;
	border-color: var(--ajyal-line);
	color: var(--ajyal-brand-dark);
}

.woocommerce-checkout .woocommerce-NoticeGroup-checkout[tabindex="-1"]:focus,
.woocommerce-checkout .ajyal-checkout-feedback[tabindex="-1"]:focus {
	outline: 3px solid rgba(15, 140, 134, 0.22);
	outline-offset: 3px;
}

.woocommerce-checkout .woocommerce-NoticeGroup-checkout {
	background: #fff0ed;
	border: 1px solid #e59a8e;
	border-radius: var(--ajyal-radius);
	box-shadow: 0 16px 38px rgba(50, 35, 24, 0.12);
	margin-bottom: 18px;
	padding: 14px 18px;
}

.woocommerce-checkout .woocommerce-NoticeGroup-checkout:empty {
	display: none;
}

.woocommerce-checkout .woocommerce-NoticeGroup-checkout .woocommerce-error {
	background: transparent;
	border: 0;
	box-shadow: none;
	margin: 0;
	padding: 0 1.2em 0 0;
}

.woocommerce-checkout .ajyal-checkout-error-title {
	background: rgba(255, 255, 255, 0.22);
	border: 1px solid rgba(109, 38, 29, 0.08);
	border-radius: 12px;
	color: #6d261d;
	font-size: 1.05rem;
	font-weight: 900;
	line-height: 1.45;
	margin-bottom: 12px;
	padding: 12px 16px;
	text-align: center;
}

.woocommerce-checkout .woocommerce-NoticeGroup-checkout .woocommerce-error li {
	margin-block: 6px;
}

.woocommerce-checkout form.checkout.ajyal-checkout-unlocked {
	opacity: 1 !important;
	pointer-events: auto !important;
}

.woocommerce-checkout form.checkout.ajyal-checkout-unlocked * {
	pointer-events: auto;
}

.woocommerce-checkout form.checkout > * {
	direction: rtl;
}

.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout .woocommerce-checkout-review-order,
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields {
	background: var(--ajyal-surface);
	border: 1px solid var(--ajyal-line);
	border-radius: var(--ajyal-radius);
	box-shadow: 0 10px 28px rgba(50, 35, 24, 0.07);
	padding: 22px;
}

.woocommerce-checkout .woocommerce-checkout-review-order {
	padding: 0;
}

.woocommerce-checkout #customer_details {
	display: block;
	grid-column: 2;
	grid-row: 1;
}

.ajyal-checkout-methods {
	display: grid;
	gap: 18px;
	grid-column: 2;
	grid-row: 2;
}

.ajyal-checkout-step {
	background: var(--ajyal-surface);
	border: 1px solid var(--ajyal-line);
	border-radius: var(--ajyal-radius);
	box-shadow: 0 10px 28px rgba(50, 35, 24, 0.07);
	padding: 22px;
}

.ajyal-checkout-step-title {
	align-items: center;
	display: flex;
	font-size: 1.45rem;
	font-weight: 900;
	gap: 10px;
	line-height: 1.2;
	margin: 0 0 16px;
}

.ajyal-checkout-step-title::before {
	align-items: center;
	background: var(--ajyal-accent);
	border-radius: 999px;
	color: #fff;
	content: attr(data-step);
	display: inline-flex;
	font-size: 0.72rem;
	height: 34px;
	justify-content: center;
	width: 34px;
}

.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
	float: none;
	width: auto;
}

.woocommerce-checkout #customer_details .col-1 {
	margin-bottom: 18px;
}

.woocommerce-checkout #order_review,
.woocommerce-checkout .woocommerce-checkout-review-order {
	grid-column: 1;
	grid-row: 1 / span 2;
	position: sticky;
	top: 104px;
}

.woocommerce-checkout #order_review_heading {
	display: none;
}

.woocommerce-checkout .woocommerce-billing-fields > h3,
.woocommerce-checkout .woocommerce-additional-fields > h3,
.woocommerce-checkout .woocommerce-shipping-fields > h3 {
	font-size: 1.55rem;
	line-height: 1.2;
	margin-block: 0 18px;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
	display: grid;
	gap: 0 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-wide,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper #billing_address_1_field,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper #billing_email_field {
	grid-column: 1 / -1;
}

.woocommerce-checkout .woocommerce-billing-fields ul,
.woocommerce-checkout .woocommerce-billing-fields .ajyal-fullname-notice,
.woocommerce-checkout .woocommerce-billing-fields .woocommerce-info,
.woocommerce-checkout .woocommerce-billing-fields .woocommerce-message {
	display: none !important;
}

.woocommerce-checkout .woocommerce-shipping-fields h3 {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 0;
	cursor: pointer;
	display: flex;
	font-size: 1rem;
	justify-content: space-between;
	margin: 0;
	padding: 0;
}

.woocommerce-checkout .woocommerce-shipping-fields {
	background: #f8f1e8;
	border-color: #ead6bf;
	margin-bottom: 18px;
}

.woocommerce-checkout .woocommerce-shipping-fields h3::before {
	content: "عنوان بديل";
	color: var(--ajyal-brand-dark);
	font-size: 0.75rem;
	font-weight: 700;
	margin-inline-end: 8px;
}

.woocommerce-checkout .shipping_address {
	margin-top: 14px;
}

.woocommerce-checkout .woocommerce-shipping-fields h3 input {
	accent-color: var(--ajyal-accent);
	inline-size: 20px;
	block-size: 20px;
}

.woocommerce-checkout form .form-row {
	margin: 0 0 14px;
	position: relative;
	width: 100%;
}

.woocommerce-checkout form .form-row label {
	background: var(--ajyal-surface);
	border-radius: 999px;
	color: var(--ajyal-muted);
	font-size: 0.82rem;
	line-height: 1;
	padding-inline: 8px;
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	transition: top 0.16s ease, color 0.16s ease, transform 0.16s ease;
	z-index: 2;
}

.woocommerce-checkout form .form-row.ajyal-field-active label,
.woocommerce-checkout form .form-row.ajyal-field-filled label,
.woocommerce-checkout form .form-row:focus-within label {
	color: var(--ajyal-brand-dark);
	top: 0;
	transform: translateY(-50%);
}

.woocommerce-checkout form .form-row input.input-text,
.woocommerce-checkout form .form-row textarea,
.woocommerce-checkout form .form-row select,
.woocommerce-checkout form .select2-container .select2-selection--single {
	border: 1px solid var(--ajyal-line);
	border-radius: 14px;
	min-height: 64px;
	padding: 18px 16px 10px;
	transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.woocommerce-checkout form .select2-container .select2-selection--single {
	align-items: center;
	display: flex;
}

.woocommerce-checkout form .form-row.ajyal-field-valid input.input-text,
.woocommerce-checkout form .form-row.ajyal-field-valid textarea,
.woocommerce-checkout form .form-row.ajyal-field-valid select,
.woocommerce-checkout form .form-row.ajyal-field-valid .select2-selection--single {
	border-color: #78be72;
	box-shadow: 0 0 0 2px rgba(120, 190, 114, 0.15);
}

.woocommerce-checkout form .form-row.ajyal-field-invalid input.input-text,
.woocommerce-checkout form .form-row.ajyal-field-invalid textarea,
.woocommerce-checkout form .form-row.ajyal-field-invalid select,
.woocommerce-checkout form .form-row.ajyal-field-invalid .select2-selection--single {
	border-color: #e3665d;
	box-shadow: 0 0 0 2px rgba(227, 102, 93, 0.13);
}

.woocommerce-checkout form .form-row.ajyal-field-valid::after,
.woocommerce-checkout form .form-row.ajyal-field-invalid::after {
	align-items: center;
	background: #fff;
	border-radius: 999px;
	display: inline-flex;
	font-size: 0.62rem;
	height: 24px;
	justify-content: center;
	position: absolute;
	left: -10px;
	top: 20px;
	width: 24px;
	z-index: 3;
}

.woocommerce-checkout form .form-row.ajyal-field-valid::after {
	border: 1px solid #78be72;
	color: #4a9b45;
	content: "\2713";
}

.woocommerce-checkout form .form-row.ajyal-field-invalid::after {
	border: 1px solid #e3665d;
	color: #d6453c;
	content: "\00d7";
}

.woocommerce-checkout-review-order-table thead {
	display: none;
}

.woocommerce-checkout-review-order-table .cart_item {
	align-items: center;
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(0, 1fr) auto;
	padding: 8px 0;
}

.woocommerce-checkout-review-order-table .product-name {
	align-items: center;
	display: flex !important;
	gap: 10px;
	max-width: 100%;
}

.ajyal-review-item-thumb img {
	border-radius: 6px;
	height: 52px;
	object-fit: cover;
	width: 40px;
}

.ajyal-review-item-name {
	font-size: 0.74rem;
	font-weight: 900;
	line-height: 1.18;
}

.woocommerce-checkout-review-order-table .product-name .product-quantity {
	font-size: 0.72rem;
	white-space: nowrap;
}

.woocommerce-checkout-review-order-table td,
.woocommerce-checkout-review-order-table th {
	display: block;
	padding: 8px 0 !important;
}

.woocommerce-checkout-review-order-table tfoot tr {
	display: flex;
	gap: 12px;
	justify-content: space-between;
	line-height: 1.35;
	text-align: start;
}

.woocommerce-checkout-review-order-table tfoot th {
	flex: 1 1 auto;
}

.woocommerce-checkout-review-order-table tfoot td {
	flex: 0 0 auto;
	text-align: end;
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-totals {
	display: none;
}

.woocommerce-checkout-review-order-table .order-total {
	border-top: 1px solid var(--ajyal-line);
	font-size: 1.08rem;
	font-weight: 900;
	margin-top: 8px;
	padding-top: 8px;
}

.woocommerce-checkout-review-order-table .includes_tax {
	display: none !important;
}

.woocommerce-cart #shipping_method,
.woocommerce-checkout #shipping_method,
.woocommerce-checkout #payment ul.payment_methods {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.woocommerce-checkout #shipping_method {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	width: 100%;
}

.ajyal-shipping-step .woocommerce-shipping-totals {
	display: block;
}

.ajyal-shipping-step .woocommerce-shipping-totals th {
	display: none !important;
}

.ajyal-shipping-step .woocommerce-shipping-totals td {
	display: block !important;
	padding: 0 !important;
	width: 100%;
}

.woocommerce-cart #shipping_method li,
.woocommerce-checkout #shipping_method li,
.woocommerce-checkout #payment ul.payment_methods li {
	border: 1px solid var(--ajyal-line);
	border-radius: 14px;
	cursor: pointer;
	padding: 14px;
	min-height: 118px;
	position: relative;
	text-align: center;
	transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.woocommerce-cart #shipping_method li:has(input:checked),
.woocommerce-checkout #shipping_method li:has(input:checked),
.woocommerce-checkout #payment ul.payment_methods li:has(input:checked) {
	border-color: var(--ajyal-accent);
	box-shadow: 0 0 0 2px rgba(15, 140, 134, 0.14);
}

.woocommerce-cart #shipping_method input,
.woocommerce-checkout #shipping_method input,
.woocommerce-checkout #payment ul.payment_methods input {
	opacity: 0;
	position: absolute;
}

.woocommerce-cart #shipping_method label,
.woocommerce-checkout #shipping_method label,
.woocommerce-checkout #payment ul.payment_methods label {
	display: block;
	font-weight: 900;
	padding-inline-start: 28px;
}

.woocommerce-checkout #payment ul.payment_methods label {
	padding-inline-start: 0;
	padding-top: 28px;
}

.woocommerce-cart #shipping_method label::before,
.woocommerce-checkout #shipping_method label::before,
.woocommerce-checkout #payment ul.payment_methods label::before {
	border: 2px solid var(--ajyal-line);
	border-radius: 999px;
	content: "";
	height: 18px;
	inset-inline-start: 14px;
	position: absolute;
	top: 19px;
	width: 18px;
}

.woocommerce-checkout #payment ul.payment_methods label::before {
	inset-inline-end: 14px;
	inset-inline-start: auto;
	top: 14px;
}

.woocommerce-checkout #payment ul.payment_methods .payment_box {
	background: #f3ede3;
	border-radius: 10px;
	font-size: 0.72rem;
	line-height: 1.35;
	margin: 12px 0 0;
	padding: 10px;
	text-align: center;
}

.woocommerce-checkout #payment .place-order {
	display: grid;
	gap: 14px;
	margin-top: 16px;
	padding: 0;
}

.woocommerce-checkout #payment #place_order {
	background: #e88126;
	border-color: #e88126;
	font-size: 1rem;
	min-height: 58px;
	width: 100%;
}

.woocommerce-checkout #payment #place_order:hover {
	background: #d36f17;
	border-color: #d36f17;
}

.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper {
	font-size: 0.72rem;
	line-height: 1.45;
}

.woocommerce-checkout #payment .place-order .form-row,
.woocommerce-checkout #payment .place-order label {
	background: transparent;
	border-radius: 0;
	color: inherit;
	font-size: 0.86rem;
	font-weight: 700;
	inset: auto;
	line-height: 1.65;
	margin: 0;
	padding: 0;
	position: static;
	transform: none;
}

.woocommerce-checkout #payment .place-order input[type="checkbox"] {
	accent-color: var(--ajyal-accent);
	block-size: 20px;
	inline-size: 20px;
	margin-inline: 0 8px;
	position: static;
	vertical-align: middle;
}

.woocommerce-checkout #payment #ajyal-cod-oath-field,
.woocommerce-checkout #payment .ajyal-qg-checkout {
	border-radius: 16px;
	padding: 18px 20px;
}

.woocommerce-checkout #payment #ajyal-cod-oath-field {
	background: #fffaf0;
	border: 1px solid #e8c878;
	color: #4d351f;
}

.woocommerce-checkout #payment .ajyal-qg-checkout {
	background: #fff7dd;
	border: 1px solid #e4bd4f;
}

.woocommerce-checkout #payment .ajyal-qg-checkout-title {
	display: block;
	font-size: 0.9rem;
	margin-bottom: 6px;
}

.woocommerce-checkout #payment .ajyal-qg-checkout p,
.woocommerce-checkout #payment .ajyal-qg-checkout ul {
	margin-block: 8px;
}

.woocommerce-checkout #payment .ajyal-qg-checkout ul {
	padding-inline-start: 1.2em;
}

.woocommerce-checkout #payment .ajyal-qg-checkout-confirm {
	align-items: flex-start;
	display: flex;
	gap: 8px;
	margin-top: 10px;
}

.ajyal-national-address-action {
	display: none !important;
	margin: -2px 0 14px;
}

.ajyal-national-address-action button {
	background: var(--ajyal-accent);
	border: 1px solid var(--ajyal-accent);
	border-radius: var(--ajyal-radius);
	color: #fff;
	cursor: pointer;
	font-weight: 900;
	min-height: 50px;
	padding: 10px 18px;
	width: 100%;
}

.woocommerce-cart #shipping_method input:checked + label::before,
.woocommerce-checkout #shipping_method input:checked + label::before,
.woocommerce-checkout #payment ul.payment_methods input:checked + label::before {
	background: radial-gradient(circle, var(--ajyal-accent) 0 45%, transparent 48%);
	border-color: var(--ajyal-accent);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.input-text,
select,
textarea {
	background: #fff;
	border: 1px solid var(--ajyal-line);
	border-radius: var(--ajyal-radius);
	color: var(--ajyal-ink);
	min-height: 46px;
	padding: 10px 12px;
	width: 100%;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
.input-text:focus,
select:focus,
textarea:focus {
	border-color: var(--ajyal-brand);
	box-shadow: 0 0 0 3px rgba(12, 143, 138, 0.14);
	outline: 0;
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
	background: var(--ajyal-soft);
	border: 1px solid rgba(12, 143, 138, 0.24);
	border-radius: var(--ajyal-radius);
	color: var(--ajyal-ink);
	margin-block: 0 18px;
	padding: 14px 18px;
}

.woocommerce-error {
	background: #fff0ed;
	border-color: #f0b5a4;
}

.woocommerce-checkout #payment {
	background: transparent;
	border: 0;
	border-radius: var(--ajyal-radius);
}

.woocommerce-checkout #payment ul.payment_methods,
.woocommerce-checkout #payment div.form-row {
	border-color: var(--ajyal-line);
	padding: 0;
}

.woocommerce .col2-set {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2 {
	float: none;
	width: auto;
}

.pagination,
.woocommerce-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	list-style: none;
	padding: 0;
}

.page-numbers,
.woocommerce-pagination .page-numbers li a,
.woocommerce-pagination .page-numbers li span {
	background: var(--ajyal-surface);
	border: 1px solid var(--ajyal-line);
	border-radius: 999px;
	display: inline-flex;
	min-width: 40px;
	padding: 6px 12px;
	text-decoration: none;
}

.site-footer {
	background: #152022;
	color: #dfe8e6;
	padding-block: 34px 18px;
}

.site-footer a {
	color: #fff;
}

.site-footer p {
	color: #b9c8c5;
	margin: 6px 0 0;
}

.site-footer-inner {
	align-items: start;
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1.1fr);
}

.site-footer strong {
	color: #fff;
	font-size: 0.92rem;
	font-weight: 900;
}

.site-footer-brand {
	display: grid;
	gap: 8px;
	max-width: 440px;
}

.site-footer-promise {
	color: #fff1d8 !important;
	font-weight: 800;
}

.site-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: #9fb0ad;
	font-size: 0.7rem;
	margin-top: 28px;
	padding-top: 14px;
	text-align: center;
}

.footer-nav ul {
	display: grid;
	gap: 6px;
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
}

.footer-nav a {
	color: #dfe8e6;
	font-size: 0.78rem;
	text-decoration: none;
}

.footer-nav a:hover {
	color: #fff1d8;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

@media (max-width: 940px) {
	.site-header-inner {
		justify-content: space-between;
	}

	.site-title {
		font-size: 1.1rem;
	}

	.nav-toggle {
		align-items: center;
		display: inline-grid;
	}

	.primary-nav {
		background: var(--ajyal-surface);
		border-bottom: 1px solid var(--ajyal-line);
		box-shadow: var(--ajyal-shadow);
		display: none;
		inset-inline: 0;
		padding: 14px 20px 20px;
		position: absolute;
		top: 100%;
	}

	.nav-open .primary-nav {
		display: block;
	}

	.primary-nav .menu {
		align-items: stretch;
		display: grid;
		justify-content: stretch;
	}

	.primary-nav a {
		border-radius: var(--ajyal-radius);
		font-size: 0.9rem;
		padding: 12px;
	}

	.primary-nav .sub-menu {
		background: transparent;
		border-radius: 0;
		box-shadow: none;
		display: block;
		margin: 4px 12px 8px 0;
		min-width: 0;
		padding: 0 12px 0 0;
		position: static;
	}

	.header-mini-cart {
		inset-inline-start: auto;
		left: 0;
	}

	.header-search-panel {
		left: 0;
		min-width: min(420px, calc(100vw - 24px));
	}

	.home-hero-inner,
	.woocommerce div.product,
	.woocommerce .col2-set,
	.woocommerce-cart .woocommerce,
	.woocommerce-checkout form.checkout {
		direction: rtl;
		grid-template-columns: 1fr;
	}



	.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
		grid-template-columns: 1fr;
	}

	.woocommerce-checkout #payment ul.payment_methods {
		grid-template-columns: 1fr;
	}

	.woocommerce-cart-form,
	.cart-collaterals,
	.woocommerce-checkout #customer_details,
	.ajyal-checkout-methods,
	.woocommerce-checkout #order_review,
	.woocommerce-checkout .woocommerce-checkout-review-order {
		grid-column: 1;
		grid-row: auto;
		position: static;
	}

	.cart-collaterals {
		position: static;
	}

	.entry-title,
	.archive-header h1,
	.woocommerce-products-header__title,
	.product_title {
		font-size: 2.25rem;
		line-height: 1.16;
	}

	.home-hero h1 {
		font-size: 2.55rem;
	}

	.home-hero p {
		font-size: 0.95rem;
	}

	.post-grid,
	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.page-id-10041 .bookmark-columns-container {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.ajyal-gift-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ajyal-free-book-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ajyal-archive-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	html {
		font-size: 24px;
	}

	body {
		line-height: 1.58;
	}

	.site-container {
		padding-inline: 14px;
	}

	.site-header-inner {
		gap: 10px;
		min-height: 72px;
	}

	.site-title {
		font-size: 1rem;
	}

	.custom-logo {
		max-height: 48px;
	}

	.header-cart span,
	.nav-toggle b {
		display: none;
	}

	.ajyal-cart-progress-text {
		align-items: stretch;
		flex-direction: column;
	}

	.home-hero {
		padding-block: 28px;
	}

	.entry-title,
	.archive-header h1,
	.woocommerce-products-header__title,
	.product_title {
		font-size: 1.9rem;
	}

	.home-hero h1 {
		font-size: 2.25rem;
	}

	.home-hero p {
		font-size: 0.95rem;
	}

	.post-grid,
	.woocommerce ul.products {
		gap: 12px;
		grid-template-columns: 1fr 1fr;
	}

	.post-card,
	.woocommerce ul.products li.product {
		padding: 10px;
	}

	.page-id-10041 .entry-title {
		margin-block: 24px 48px;
	}

	.page-id-10041 .bookmark-columns-container {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.page-id-10041 .bookmark-inner {
		grid-template-columns: 1fr;
	}

	.page-id-10041 .bookmark-text {
		font-size: 0.72rem;
	}

	.ajyal-gifts-actions,
	.ajyal-eid-links {
		display: grid;
		grid-template-columns: 1fr;
	}

	.ajyal-gifts-actions {
		border-radius: var(--ajyal-radius);
		left: 14px;
		margin: 0;
		max-width: none;
		right: 14px;
		top: 78px;
		transform: none;
	}

	.ajyal-gifts-intro p,
	.ajyal-section-heading p:not(.eyebrow) {
		text-align: right;
	}

	.ajyal-gift-grid,
	.ajyal-free-book-grid {
		grid-template-columns: 1fr;
	}

	.ajyal-gift-card {
		grid-template-columns: 104px minmax(0, 1fr);
		gap: 12px;
		padding: 12px;
	}

	.ajyal-gift-card h3,
	.ajyal-archive-gift h3 {
		font-size: 1rem;
	}

	.post-adjacent-nav {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.post-adjacent-prev,
	.post-adjacent-next {
		text-align: center;
	}

	.post-adjacent-home {
		justify-self: center;
		order: -1;
	}

	.post-card-compact {
		grid-template-columns: 1fr;
	}

	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		font-size: 0.9rem;
	}

	.woocommerce div.product .upsells ul.products,
	.woocommerce div.product .related ul.products {
		grid-template-columns: 1fr;
	}

	.woocommerce div.product .upsells ul.products li.product,
	.woocommerce div.product .related ul.products li.product {
		min-width: 0;
	}

	.woocommerce-cart-form .cart_item {
		grid-template-columns: 64px minmax(0, 1fr) auto;
	}

	.woocommerce-cart-form .product-thumbnail img {
		height: 64px;
		width: 50px;
	}

	.woocommerce-checkout form .form-row input.input-text,
	.woocommerce-checkout form .form-row textarea,
	.woocommerce-checkout form .form-row select,
	.woocommerce-checkout form .select2-container .select2-selection--single {
		min-height: 58px;
	}

	.woocommerce table.shop_table_responsive tr td::before {
		color: var(--ajyal-muted);
	}

	.site-footer-inner {
		display: grid;
		grid-template-columns: 1fr;
	}
}



.ajyal-shipping-contact-links {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
}

.ajyal-shipping-contact-links span {
	font-weight: 800;
}

.ajyal-shipping-contact-links a {
	align-items: center;
	background: #fff;
	border: 1px solid var(--ajyal-line);
	border-radius: 999px;
	color: var(--ajyal-brand-dark);
	display: inline-flex;
	font-size: 0.78rem;
	font-weight: 900;
	gap: 6px;
	min-height: 38px;
	padding: 6px 12px;
	text-decoration: none;
}

.ajyal-shipping-contact-links svg {
	block-size: 18px;
	inline-size: 18px;
	stroke: currentColor;
	stroke-width: 1.8;
}

.ajyal-footer-help {
	display: grid;
	gap: 10px;
}

.ajyal-footer-social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ajyal-footer-social a {
	align-items: center;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	color: inherit;
	display: inline-flex;
	font-size: 0.75rem;
	font-weight: 800;
	gap: 6px;
	min-height: 36px;
	padding: 6px 12px;
	text-decoration: none;
}

.ajyal-footer-social svg {
	block-size: 18px;
	inline-size: 18px;
	stroke: currentColor;
	stroke-width: 1.8;
}

.ajyal-order-received {
	background: transparent;
	border: 0;
	box-shadow: none;
	display: grid;
	gap: clamp(18px, 3vw, 30px);
	padding: 0;
}

.woocommerce-order-received .entry-header,
.woocommerce-order-received .entry-title {
	display: none;
}

.ajyal-thankyou-hero,
.ajyal-thankyou-card,
.ajyal-thankyou-note {
	background: var(--ajyal-surface);
	border: 1px solid var(--ajyal-line);
	border-radius: var(--ajyal-radius);
	box-shadow: var(--ajyal-shadow);
	position: relative;
}

.ajyal-thankyou-hero {
	overflow: hidden;
	padding: clamp(46px, 9vw, 96px) clamp(18px, 6vw, 80px) clamp(36px, 6vw, 72px);
	text-align: center;
}

.ajyal-confetti {
	height: 150px;
	inset: 0 0 auto;
	overflow: hidden;
	position: absolute;
	pointer-events: none;
}

.ajyal-confetti span {
	background: var(--ajyal-accent);
	border-radius: 2px;
	display: block;
	height: 18px;
	inset-block-start: -20px;
	inset-inline-start: 8%;
	position: absolute;
	transform: rotate(18deg);
	width: 9px;
}

.ajyal-confetti span:nth-child(2n) {
	background: #f07f22;
	height: 12px;
	width: 18px;
}

.ajyal-confetti span:nth-child(3n) {
	background: #e4bd4f;
	border-radius: 50%;
	height: 10px;
	width: 10px;
}

.ajyal-confetti span:nth-child(1) { inset-inline-start: 7%; inset-block-start: 30px; }
.ajyal-confetti span:nth-child(2) { inset-inline-start: 16%; inset-block-start: 88px; }
.ajyal-confetti span:nth-child(3) { inset-inline-start: 25%; inset-block-start: 42px; }
.ajyal-confetti span:nth-child(4) { inset-inline-start: 35%; inset-block-start: 104px; }
.ajyal-confetti span:nth-child(5) { inset-inline-start: 45%; inset-block-start: 24px; }
.ajyal-confetti span:nth-child(6) { inset-inline-start: 54%; inset-block-start: 78px; }
.ajyal-confetti span:nth-child(7) { inset-inline-start: 63%; inset-block-start: 36px; }
.ajyal-confetti span:nth-child(8) { inset-inline-start: 72%; inset-block-start: 98px; }
.ajyal-confetti span:nth-child(9) { inset-inline-start: 81%; inset-block-start: 28px; }
.ajyal-confetti span:nth-child(10) { inset-inline-start: 90%; inset-block-start: 74px; }
.ajyal-confetti span:nth-child(11) { inset-inline-start: 12%; inset-block-start: 118px; }
.ajyal-confetti span:nth-child(12) { inset-inline-start: 88%; inset-block-start: 122px; }

.ajyal-confetti-live {
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	position: absolute;
	z-index: 1;
}

.ajyal-confetti-live span {
	animation: ajyal-confetti-fall var(--dur) cubic-bezier(0.18, 0.72, 0.34, 1) var(--delay) both;
	background: var(--c);
	border-radius: 2px;
	display: block;
	height: var(--h);
	inset-block-start: -34px;
	inset-inline-start: var(--x);
	opacity: 0;
	position: absolute;
	transform: translate3d(0, -30px, 0) rotate(0deg);
	width: var(--w);
}

.ajyal-confetti-live span.is-dot {
	border-radius: 999px;
}

.ajyal-confetti-live span.is-ribbon {
	border-radius: 999px 2px 999px 2px;
}

.ajyal-confetti-live.is-finished {
	opacity: 0;
	transition: opacity 0.9s ease;
}

.ajyal-thankyou-hero > :not(.ajyal-confetti):not(.ajyal-confetti-live) {
	position: relative;
	z-index: 2;
}

@keyframes ajyal-confetti-fall {
	0% {
		opacity: 0;
		transform: translate3d(0, -36px, 0) rotate(0deg);
	}

	12% {
		opacity: 1;
	}

	74% {
		opacity: 1;
	}

	100% {
		opacity: 0;
		transform: translate3d(var(--dx), 620px, 0) rotate(var(--rot));
	}
}

@media (prefers-reduced-motion: reduce) {
	.ajyal-confetti-live {
		display: none;
	}
}

.ajyal-thankyou-kicker {
	color: var(--ajyal-accent);
	font-size: 1rem;
	font-weight: 800;
	margin: 0 0 12px;
}

.ajyal-thankyou-hero h1 {
	color: var(--ajyal-brand-dark);
	font-size: clamp(2.3rem, 7vw, 5rem);
	line-height: 1.05;
	margin: 0;
}

.ajyal-thankyou-order-number {
	color: var(--ajyal-muted);
	font-size: 1.12rem;
	margin: 18px 0 0;
}

.ajyal-thankyou-welcome {
	color: var(--ajyal-muted);
	font-size: clamp(1.05rem, 2vw, 1.38rem);
	line-height: 1.85;
	margin: 28px auto 0;
	max-width: 900px;
}

.ajyal-thankyou-invoice-link {
	margin: 22px 0 0;
}

.ajyal-thankyou-inline-note {
	background: #fff8e0;
	border: 1px solid #e4bd4f;
	border-radius: var(--ajyal-radius);
	color: #5d451d;
	display: grid;
	gap: 8px;
	margin: 24px auto 0;
	max-width: 900px;
	padding: clamp(16px, 3vw, 24px);
	text-align: right;
}

.ajyal-thankyou-inline-note strong {
	color: var(--ajyal-brand-dark);
	font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.ajyal-thankyou-inline-note p {
	font-size: clamp(0.98rem, 1.8vw, 1.12rem);
	line-height: 1.85;
	margin: 0;
}

.ajyal-thankyou-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
}

.ajyal-thankyou-card {
	padding: clamp(22px, 4vw, 42px);
}

.ajyal-thankyou-card h2,
.ajyal-thankyou-note h2 {
	color: var(--ajyal-brand-dark);
	font-size: clamp(1.55rem, 3vw, 2.4rem);
	line-height: 1.2;
	margin: 0 0 22px;
}

.ajyal-thankyou-steps {
	counter-reset: none;
	display: grid;
	gap: 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ajyal-thankyou-steps li {
	align-items: start;
	display: grid;
	gap: 14px;
	grid-template-columns: 54px 1fr;
}

.ajyal-thankyou-steps li > span,
.ajyal-thankyou-tiles span {
	align-items: center;
	background: var(--ajyal-accent);
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: 1.35rem;
	font-weight: 900;
	height: 54px;
	justify-content: center;
	width: 54px;
}

.ajyal-thankyou-steps strong {
	color: var(--ajyal-ink);
	display: block;
	font-size: 1.22rem;
	line-height: 1.45;
}

.ajyal-thankyou-steps p,
.ajyal-thankyou-help p,
.ajyal-thankyou-tiles p {
	color: var(--ajyal-muted);
	font-size: 1rem;
	line-height: 1.7;
	margin: 6px 0 0;
}

.ajyal-thankyou-summary ul {
	display: grid;
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ajyal-thankyou-summary li {
	align-items: center;
	display: grid;
	gap: 12px;
	grid-template-columns: 62px 1fr;
}

.ajyal-thankyou-summary figure {
	background: #fff;
	border: 1px solid var(--ajyal-line);
	border-radius: var(--ajyal-radius);
	margin: 0;
	overflow: hidden;
}

.ajyal-thankyou-summary img {
	aspect-ratio: 1;
	display: block;
	object-fit: cover;
	width: 100%;
}

.ajyal-thankyou-summary strong {
	display: block;
	font-size: 0.98rem;
	line-height: 1.45;
}

.ajyal-thankyou-summary span {
	color: var(--ajyal-muted);
	display: block;
	font-size: 0.92rem;
	margin-top: 4px;
}

.ajyal-thankyou-summary .woocommerce-Price-amount,
.ajyal-thankyou-total .woocommerce-Price-amount {
	display: inline-flex;
	gap: 4px;
	white-space: nowrap;
}

.ajyal-thankyou-total {
	border-top: 1px solid var(--ajyal-line);
	display: flex;
	justify-content: space-between;
	margin: 18px 0 0;
	padding-top: 18px;
}

.ajyal-thankyou-note {
	background: #fff8e0;
	border-color: #e4bd4f;
	padding: clamp(22px, 4vw, 38px);
}

.ajyal-thankyou-note h2 {
	font-size: clamp(1.35rem, 2.5vw, 2rem);
	margin-bottom: 12px;
}

.ajyal-thankyou-note p {
	color: #5d451d;
	font-size: clamp(1rem, 1.8vw, 1.18rem);
	line-height: 1.85;
	margin: 0;
}

.ajyal-thankyou-help {
	align-items: center;
	display: grid;
	gap: 18px;
	grid-template-columns: 1fr auto;
}

.ajyal-thankyou-help-alert {
	background: #fff8e0;
	border-color: #e4bd4f;
}

.woocommerce-order-received .woocommerce-column--billing-address {
	display: none;
}

.ajyal-thankyou-help-actions {
	display: grid;
	gap: 12px;
	min-width: min(360px, 100%);
}

.ajyal-thankyou-social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.ajyal-thankyou-social a {
	align-items: center;
	background: var(--ajyal-soft);
	border: 1px solid var(--ajyal-line);
	border-radius: 999px;
	color: var(--ajyal-brand-dark);
	display: inline-flex;
	font-size: 0.82rem;
	font-weight: 800;
	gap: 6px;
	padding: 8px 12px;
	text-decoration: none;
}

.ajyal-thankyou-social svg {
	fill: none;
	height: 18px;
	stroke: currentColor;
	stroke-width: 1.8;
	width: 18px;
}

.ajyal-thankyou-tiles {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ajyal-thankyou-tiles a {
	background: var(--ajyal-soft);
	border: 1px solid var(--ajyal-line);
	border-radius: var(--ajyal-radius);
	color: inherit;
	display: grid;
	gap: 12px;
	padding: 22px;
	text-decoration: none;
}

.ajyal-thankyou-tiles strong {
	color: var(--ajyal-brand-dark);
	font-size: 1.2rem;
}

.ajyal-thankyou-failed {
	text-align: center;
}

.ajyal-thankyou-failed h1 {
	color: var(--ajyal-brand-dark);
	font-size: clamp(2rem, 5vw, 3.4rem);
	margin: 0 0 14px;
}

.ajyal-thankyou-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-top: 22px;
}

@media (max-width: 820px) {
	.ajyal-thankyou-grid,
	.ajyal-thankyou-help,
	.ajyal-thankyou-tiles {
		grid-template-columns: 1fr;
	}

	.ajyal-thankyou-hero {
		padding-top: 70px;
	}

	.ajyal-thankyou-steps li {
		grid-template-columns: 46px 1fr;
	}

	.ajyal-thankyou-steps li > span,
	.ajyal-thankyou-tiles span {
		font-size: 1.1rem;
		height: 46px;
		width: 46px;
	}

	.ajyal-thankyou-help-actions,
	.ajyal-thankyou-help-actions .button {
		width: 100%;
	}

	.ajyal-thankyou-social {
		justify-content: flex-start;
	}
}

@media (max-width: 520px) {
	.ajyal-thankyou-summary li {
		grid-template-columns: 54px 1fr;
	}

	.ajyal-thankyou-card,
	.ajyal-thankyou-note {
		padding: 18px;
	}
}


.header-mini-cart .ajyal-mini-cart-qty-wrap {
	grid-column: 2 / 4;
	justify-content: flex-start;
}

.header-mini-cart .ajyal-cart-qty-warning {
	height: 30px;
	width: 32px;
}

.header-mini-cart .ajyal-cart-qty-warning-mark {
	height: 27px;
	width: 29px;
}

.header-mini-cart .ajyal-cart-qty-warning::after {
	font-size: 0.62rem;
	max-width: 190px;
}
