/* =========================================================
   عسل الشفاء - التنسيقات الرئيسية (Mobile-first, RTL)
   ========================================================= */

:root {
	--green: #2F5D3A;
	--green-dark: #1f4128;
	--gold: #C8902E;
	--gold-dark: #a87420;
	--cream: #FFF8E7;
	--cream-dark: #f5ead0;
	--ink: #26302a;
	--muted: #5f6b62;
	--white: #ffffff;
	--line: rgba(47, 93, 58, 0.12);
	--radius: 14px;
	--radius-lg: 22px;
	--shadow: 0 10px 30px rgba(31, 65, 40, 0.08);
	--shadow-lg: 0 20px 50px rgba(31, 65, 40, 0.14);
	--header-h: 72px;
	--font: "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
}

/* ---------- أساسيات ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

/* الاتجاه يجي من dir في وسم html: rtl للعربي و ltr للإنجليزي */
html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.8;
	color: var(--ink);
	background: var(--cream);
	text-align: start;
	overflow-x: hidden;
}

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

a { color: var(--green); text-decoration: none; transition: color .2s; }
a:hover,
a:focus { color: var(--gold-dark); }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .6em;
	line-height: 1.35;
	font-weight: 800;
	color: var(--green-dark);
}

p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

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

.skip-link:focus {
	clip: auto; width: auto; height: auto;
	top: 8px; inset-inline-start: 8px; z-index: 1000;
	padding: 10px 16px;
	background: var(--white);
	border-radius: 8px;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 16px;
}

.narrow { max-width: 820px; }
.center { text-align: center; margin-inline: auto; }

.section { padding-block: 56px; }

.eyebrow {
	display: inline-block;
	margin-bottom: 8px;
	color: var(--gold-dark);
	font-weight: 700;
	font-size: .95rem;
}

.section-head { text-align: center; margin-bottom: 32px; }
.section-title { font-size: 1.75rem; }
.section-cta { text-align: center; margin-top: 32px; }

/* ---------- الأزرار ---------- */
.btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 26px;
	border: 2px solid transparent;
	border-radius: 999px;
	font-family: var(--font);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
	cursor: pointer;
	transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; }

.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover,
.btn-gold:focus { background: var(--gold-dark); color: var(--white); }

.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover,
.btn-green:focus { background: var(--green-dark); color: var(--white); }

.btn-light { background: var(--white); color: var(--green-dark); }
.btn-light:hover,
.btn-light:focus { background: var(--cream); color: var(--green-dark); }

.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline:hover,
.btn-outline:focus { background: var(--green); color: var(--white); }

.btn-sm { padding: 6px 18px; font-size: .9rem; }

/* ---------- الهيدر ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid var(--line);
	transition: box-shadow .2s;
}
/* الخلفية والتغبيش في طبقة منفصلة: لو حطيناهم على الهيدر نفسه،
   القائمة الثابتة (position: fixed) تنحبس داخله وما تفتحش كاملة. */
.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(255, 248, 231, 0.96);
	-webkit-backdrop-filter: saturate(160%) blur(8px);
	backdrop-filter: saturate(160%) blur(8px);
}
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.site-header.is-scrolled { box-shadow: var(--shadow); }

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: var(--header-h);
}

.site-branding { display: flex; align-items: center; gap: 10px; }
.site-branding img,
.custom-logo { width: auto; max-height: 52px; display: block; }
.site-title { font-size: 1.25rem; font-weight: 800; color: var(--green-dark); white-space: nowrap; }

.header-actions { display: flex; align-items: center; gap: 6px; }

.cart-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	border-radius: 50%;
	color: var(--green-dark);
}
.cart-link:hover { background: var(--cream-dark); color: var(--green-dark); }

.cart-count {
	position: absolute;
	top: 2px; inset-inline-end: 0;
	min-width: 20px; height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--gold);
	color: var(--white);
	font-size: .72rem;
	font-weight: 800;
	line-height: 20px;
	text-align: center;
}
.cart-count.is-empty { background: var(--muted); opacity: .7; }

/* زر تغيير اللغة */
.lang-switch {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px; height: 36px;
	padding: 0 12px;
	border: 1.5px solid var(--gold);
	border-radius: 999px;
	color: var(--gold-dark);
	font-weight: 800;
	font-size: .9rem;
	letter-spacing: .5px;
	line-height: 1;
	transition: background .2s, color .2s;
}
.lang-switch:hover,
.lang-switch:focus { background: var(--gold); color: var(--white); }

.menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--green-dark);
	cursor: pointer;
}
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: inline-flex; }

/* قائمة الجوال */
.main-nav {
	position: fixed;
	inset: var(--nav-top, var(--header-h)) 0 0 0;
	z-index: 99;
	padding: 16px;
	background: var(--cream);
	overflow-y: auto;
	transform: translateX(100%);
	visibility: hidden;
	transition: transform .3s ease, visibility .3s;
}
[dir="ltr"] .main-nav { transform: translateX(-100%); }
.menu-open .main-nav { transform: none; visibility: visible; }
.menu-open { overflow: hidden; }

.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav .menu > li { border-bottom: 1px solid var(--line); }
.main-nav a {
	display: block;
	padding: 14px 8px;
	font-weight: 700;
	font-size: 1.1rem;
	color: var(--green-dark);
}
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav a:hover { color: var(--gold-dark); }
.main-nav .sub-menu { padding-inline-start: 16px; }
.main-nav .sub-menu a { font-weight: 600; font-size: 1rem; padding-block: 10px; }

@media (min-width: 992px) {
	.menu-toggle { display: none; }

	.main-nav,
	[dir="ltr"] .main-nav {
		position: static;
		inset: auto;
		padding: 0;
		background: transparent;
		transform: none;
		visibility: visible;
		overflow: visible;
	}
	.main-nav .menu { display: flex; align-items: center; gap: 4px; }
	.main-nav .menu > li { position: relative; border: 0; }
	.main-nav a { padding: 8px 14px; font-size: 1rem; border-radius: 999px; }
	.main-nav .menu > li > a:hover,
	.main-nav .menu > .current-menu-item > a { background: var(--cream-dark); }

	.main-nav .sub-menu {
		position: absolute;
		top: 100%; inset-inline-start: 0;
		min-width: 200px;
		padding: 8px;
		background: var(--white);
		border-radius: var(--radius);
		box-shadow: var(--shadow-lg);
		opacity: 0; visibility: hidden;
		transform: translateY(8px);
		transition: all .2s;
	}
	.main-nav li:hover > .sub-menu,
	.main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
}

/* ---------- شريط الهدية ---------- */
.gift-bar {
	position: relative;
	z-index: 101;
	display: block;
	padding: 9px 16px;
	background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
	background-size: 200% 100%;
	color: var(--white);
	font-size: .98rem;
	font-weight: 800;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	animation: gift-shine 6s linear infinite;
}
.gift-bar:hover,
.gift-bar:focus { color: var(--white); filter: brightness(1.06); }
@keyframes gift-shine { from { background-position: 0 0; } to { background-position: 200% 0; } }
@media (prefers-reduced-motion: reduce) { .gift-bar { animation: none; } }

.gift-note {
	margin: 0 0 20px;
	padding: 12px 16px;
	border: 2px dashed var(--gold);
	border-radius: var(--radius);
	background: var(--cream);
	color: var(--green-dark);
	font-weight: 800;
	text-align: center;
}
.gift-note--won { border-style: solid; background: #fff7e0; }

/* ---------- درج السلة (Mini cart) ---------- */
.cart-drawer {
	position: fixed;
	inset: 0;
	z-index: 200;
	visibility: hidden;
	transition: visibility .3s;
}
.cart-drawer.is-open { visibility: visible; }
.cart-open { overflow: hidden; }

.cart-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(20, 30, 22, .5);
	opacity: 0;
	transition: opacity .3s;
}
.cart-drawer.is-open .cart-drawer__overlay { opacity: 1; }

.cart-drawer__panel {
	position: absolute;
	top: 0;
	bottom: 0;
	inset-inline-end: 0;
	display: flex;
	flex-direction: column;
	width: min(400px, 92vw);
	background: var(--white);
	box-shadow: var(--shadow-lg);
	transform: translateX(-100%);
	transition: transform .3s ease;
}
[dir="ltr"] .cart-drawer__panel { transform: translateX(100%); }
.cart-drawer.is-open .cart-drawer__panel { transform: none; }

.cart-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid var(--line);
	background: var(--cream);
}
.cart-drawer__head h2 { margin: 0; font-size: 1.2rem; }
.cart-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px; height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--green-dark);
	cursor: pointer;
}
.cart-drawer__close:hover { background: var(--cream-dark); }

.cart-drawer .widget_shopping_cart_content {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
	padding: 8px 20px 20px;
	overflow-y: auto;
}

.woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; flex: 1; }
.woocommerce-mini-cart-item {
	position: relative;
	min-height: 88px;
	padding-block: 12px;
	padding-inline-end: 32px;
	border-bottom: 1px solid var(--line);
	font-weight: 700;
	line-height: 1.5;
}
.woocommerce-mini-cart-item a:not(.remove) { color: var(--green-dark); }
.woocommerce-mini-cart-item img {
	float: inline-start;
	width: 64px !important;
	height: 64px !important;
	margin-inline-end: 12px;
	border-radius: 10px;
	object-fit: cover;
	background: var(--cream);
}
.woocommerce-mini-cart-item .quantity {
	display: block;
	margin-top: 4px;
	color: var(--gold-dark);
	font-weight: 800;
}
.woocommerce-mini-cart-item a.remove {
	position: absolute;
	top: 12px;
	inset-inline-end: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px; height: 26px;
	border-radius: 50%;
	color: #b3261e;
	font-size: 1.2rem;
	line-height: 1;
}
.woocommerce-mini-cart-item a.remove:hover { background: #b3261e; color: var(--white); }

.woocommerce-mini-cart__total {
	display: flex;
	justify-content: space-between;
	margin: 16px 0 12px;
	padding-top: 12px;
	border-top: 2px solid var(--line);
	font-size: 1.1rem;
	font-weight: 800;
	color: var(--green-dark);
}
.woocommerce-mini-cart__buttons { display: grid; gap: 8px; margin: 0; }
.cart-drawer .woocommerce-mini-cart__buttons .button {
	display: block;
	padding: 12px;
	border-radius: 999px;
	background: var(--green);
	color: var(--white);
	font-weight: 700;
	text-align: center;
}
.cart-drawer .woocommerce-mini-cart__buttons .button:hover { background: var(--green-dark); color: var(--white); }
.cart-drawer .woocommerce-mini-cart__buttons .button.checkout { background: var(--gold); }
.cart-drawer .woocommerce-mini-cart__buttons .button.checkout:hover { background: var(--gold-dark); }
.woocommerce-mini-cart__empty-message {
	margin: auto 0;
	padding: 40px 0;
	color: var(--muted);
	text-align: center;
}

/* ---------- الهيرو ---------- */
.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 82vh;
	min-height: 82svh;
	padding-block: 72px;
	background-color: var(--green-dark);
	background-image: var(--hero-img);
	background-size: cover;
	background-position: center;
	color: var(--white);
	isolation: isolate;
}
@media (min-width: 768px) {
	.hero {
		background-image: var(--hero-img-wide, var(--hero-img));
		background-position: left center;
	}
	[dir="ltr"] .hero {
		background-image: var(--hero-img-wide-ltr, var(--hero-img-wide, var(--hero-img)));
		background-position: right center;
	}
}
.hero-overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(to top, rgba(20, 45, 27, .92) 0%, rgba(20, 45, 27, .55) 55%, rgba(20, 45, 27, .25) 100%);
}
.hero-content { max-width: 1200px; }
.hero-badge {
	display: inline-block;
	margin-bottom: 14px;
	padding: 4px 16px;
	border: 1px solid rgba(200, 144, 46, .7);
	border-radius: 999px;
	background: rgba(200, 144, 46, .2);
	color: #ffe2a8;
	font-weight: 700;
	font-size: .9rem;
}
.hero-title {
	max-width: 680px;
	color: var(--white);
	font-size: clamp(1.9rem, 6vw, 3.4rem);
	line-height: 1.3;
}
.hero-text {
	max-width: 560px;
	color: rgba(255, 255, 255, .9);
	font-size: 1.1rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-actions.center { justify-content: center; }

@media (min-width: 768px) {
	.hero-overlay {
		background: linear-gradient(to left, rgba(20, 45, 27, .9) 0%, rgba(20, 45, 27, .6) 45%, rgba(20, 45, 27, .1) 100%);
	}
	[dir="ltr"] .hero-overlay {
		background: linear-gradient(to right, rgba(20, 45, 27, .9) 0%, rgba(20, 45, 27, .6) 45%, rgba(20, 45, 27, .1) 100%);
	}
}

/* ---------- المميزات ---------- */
.features { margin-top: -48px; padding-top: 0; position: relative; z-index: 2; }
.features-grid { display: grid; gap: 16px; }
.feature-card {
	padding: 28px 24px;
	background: var(--white);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	text-align: center;
	transition: transform .25s, box-shadow .25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 76px; height: 76px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: var(--cream);
	color: var(--gold-dark);
}
.feature-card h3 { font-size: 1.25rem; margin-bottom: .3em; }
.feature-card p { margin: 0; color: var(--muted); }

@media (min-width: 768px) {
	.features-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ---------- من نحن ---------- */
.about-section { background: var(--white); }
.about-grid { display: grid; gap: 32px; align-items: center; }
.about-media img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
}
.about-body p { color: var(--muted); font-size: 1.05rem; }
.about-points { list-style: none; margin: 16px 0 0; padding: 0; }
.about-points li {
	position: relative;
	padding-block: 6px;
	padding-inline-start: 30px;
	font-weight: 600;
}
.about-points li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0; top: 14px;
	width: 16px; height: 16px;
	border-radius: 50%;
	background: var(--gold);
	box-shadow: inset 0 0 0 4px var(--cream);
}

@media (min-width: 900px) {
	.about-grid { grid-template-columns: 5fr 6fr; gap: 64px; }
	.about-media img { max-height: 560px; }
}

/* ---------- الدعوة لاتخاذ إجراء ---------- */
.cta-section {
	padding-block: 56px;
	background:
		radial-gradient(circle at 15% 50%, rgba(200, 144, 46, .35), transparent 45%),
		var(--green);
	color: var(--white);
}
.cta-inner { display: grid; gap: 20px; align-items: center; text-align: center; }
.cta-section h2 { color: var(--white); font-size: 1.75rem; }
.cta-section p { color: rgba(255, 255, 255, .85); margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

@media (min-width: 768px) {
	.cta-inner { grid-template-columns: 1fr auto; text-align: start; }
}

/* ---------- الفوتر ---------- */
.site-footer { background: var(--green-dark); color: rgba(255, 255, 255, .8); }
.footer-grid { display: grid; gap: 32px; padding-block: 48px; }
.footer-brand { display: inline-block; margin-bottom: 8px; color: var(--white); font-size: 1.4rem; font-weight: 800; }
.footer-title { color: var(--gold); font-size: 1.1rem; }
.site-footer a { color: rgba(255, 255, 255, .85); }
.site-footer a:hover { color: var(--gold); }
.footer-menu,
.site-footer .menu,
.contact-list { list-style: none; margin: 0; padding: 0; }
.footer-menu li,
.site-footer .menu li { padding-block: 4px; }
.contact-list li { display: flex; align-items: center; gap: 10px; padding-block: 6px; }
.contact-list svg { flex-shrink: 0; color: var(--gold); width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 16px; text-align: center; font-size: .9rem; }
.footer-bottom p { margin: 0; }
.site-footer .widget-title { color: var(--gold); font-size: 1.1rem; }

@media (min-width: 768px) {
	.footer-grid { grid-template-columns: 2fr 1fr 1.5fr; }
	.footer-grid:has(.footer-widgets) { grid-template-columns: 2fr 1fr 1.5fr 1.5fr; }
}

/* ---------- زر واتساب العائم ---------- */
.whatsapp-float {
	position: fixed;
	inset-inline-end: 16px;
	bottom: 16px;
	z-index: 90;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px; height: 58px;
	border-radius: 50%;
	background: #25D366;
	color: var(--white);
	box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
	transition: transform .2s;
}
.whatsapp-float:hover,
.whatsapp-float:focus { color: var(--white); transform: scale(1.08); }
.whatsapp-float::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2px solid #25D366;
	animation: wa-pulse 2s infinite;
}
@keyframes wa-pulse {
	0% { transform: scale(1); opacity: .8; }
	100% { transform: scale(1.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.whatsapp-float::after { animation: none; }
	html { scroll-behavior: auto; }
}

/* ---------- الصفحات والمقالات ---------- */
.page-hero {
	padding-block: 40px 32px;
	background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
	color: var(--white);
}
.page-hero .page-title { color: var(--white); font-size: clamp(1.6rem, 5vw, 2.4rem); margin: 0; }
.page-hero .post-meta,
.page-hero .page-desc { color: rgba(255, 255, 255, .8); margin: 8px 0 0; }
.page-hero a { color: #ffe2a8; }

.entry {
	padding: 24px 20px;
	background: var(--white);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}
@media (min-width: 768px) { .entry { padding: 40px; } }
.entry-thumb img { width: 100%; border-radius: var(--radius); margin-bottom: 24px; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content img { border-radius: 10px; }
.entry-content blockquote {
	margin: 1.5em 0;
	padding: 12px 20px;
	border-inline-start: 4px solid var(--gold);
	background: var(--cream);
	border-radius: 8px;
}
.entry-tags { margin-top: 24px; color: var(--muted); }

/* أزرار البلوكات (محرر ووردبريس) بألوان القالب */
.entry-content .wp-block-button__link {
	padding: 12px 26px;
	border: 2px solid var(--gold);
	border-radius: 999px;
	background: var(--gold);
	color: var(--white);
	font-family: var(--font);
	font-weight: 700;
	text-decoration: none;
}
.entry-content .wp-block-button__link:hover,
.entry-content .wp-block-button__link:focus { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); }
.entry-content .is-style-outline .wp-block-button__link { background: transparent; border-color: var(--green); color: var(--green); }
.entry-content .is-style-outline .wp-block-button__link:hover,
.entry-content .is-style-outline .wp-block-button__link:focus { background: var(--green); color: var(--white); }
.entry-content h2.wp-block-heading { margin-top: 1.4em; }
.entry-content .wp-block-image img { border-radius: var(--radius); }

/* المحتوى بعرض كامل (Pagelayer / Elementor) */
.entry-content--full { width: 100%; max-width: none; padding: 0; margin: 0; }
.entry-content--full > .alignfull { margin-inline: 0; }

.alignwide { max-width: 1200px; margin-inline: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw); }
.alignleft { float: left; margin: 0 0 1em 1.5em; }
.alignright { float: right; margin: 0 1.5em 1em 0; }
.aligncenter { display: block; margin-inline: auto; }

.posts-grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .posts-grid { grid-template-columns: repeat(3, 1fr); } }

.post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--white);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}
.post-card-thumb img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.post-card-body .btn { align-self: flex-start; margin-top: auto; }
.post-card-title { font-size: 1.2rem; }
.post-card-title a { color: var(--green-dark); }
.post-meta { color: var(--muted); font-size: .9rem; }

.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 32px; }
.nav-links .page-numbers,
.post-navigation a {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--white);
	box-shadow: var(--shadow);
	font-weight: 700;
}
.nav-links .page-numbers.current { background: var(--green); color: var(--white); }
.post-navigation .nav-links { justify-content: space-between; }
.nav-label { color: var(--gold-dark); margin-inline-end: 6px; }

.error-code { font-size: 6rem; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 8px; }

/* نموذج البحث */
.search-form { display: flex; gap: 8px; max-width: 460px; margin: 20px auto; }
.search-form label { flex: 1; }
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="password"],
input[type="number"],
input[type="url"],
select,
textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #d9d2bd;
	border-radius: 10px;
	background: var(--white);
	font-family: var(--font);
	font-size: 1rem;
	color: var(--ink);
}
input:focus,
select:focus,
textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(200, 144, 46, .2); }
.search-submit,
input[type="submit"] {
	padding: 10px 20px;
	border: 0;
	border-radius: 10px;
	background: var(--green);
	color: var(--white);
	font-family: var(--font);
	font-weight: 700;
	cursor: pointer;
}

/* =========================================================
   WooCommerce
   ========================================================= */
.woocommerce,
.woocommerce-page { font-family: var(--font); }

.woo-wrap .woocommerce-products-header__title,
.woo-wrap .product_title { color: var(--green-dark); }

.woocommerce .woocommerce-breadcrumb { color: var(--muted); font-size: .9rem; margin-bottom: 20px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--green); }

/* شبكة المنتجات - عمودين على الجوال */
.woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	margin: 0 0 24px !important;
	padding: 0;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	padding: 10px 10px 16px;
	display: flex;
	flex-direction: column;
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	text-align: center;
	transition: transform .25s, box-shadow .25s;
}
.woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.woocommerce ul.products li.product a img {
	margin: 0 0 10px !important;
	border-radius: 10px;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	background: var(--cream);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding: 0 !important;
	font-size: .98rem !important;
	font-weight: 700;
	color: var(--green-dark);
}
.woocommerce ul.products li.product .price {
	color: var(--gold-dark) !important;
	font-weight: 800;
	font-size: 1rem !important;
}
.woocommerce ul.products li.product .button {
	margin-top: auto !important;
	align-self: center;
	padding: 8px 16px !important;
	font-size: .9rem !important;
}
.woocommerce ul.products li.product .added_to_cart { display: block; margin-top: 6px; font-size: .85rem; }
/* بطاقات التصنيفات في المتجر */
.woocommerce ul.products li.product-category mark.count { background: transparent; color: var(--gold-dark); font-weight: 700; }
.woocommerce ul.products li.product-category h2 { font-size: 1rem !important; color: var(--green-dark); }

@media (min-width: 768px) {
	.woocommerce ul.products { grid-template-columns: repeat(3, 1fr); gap: 20px; }
	.woocommerce ul.products li.product { padding: 14px 14px 20px; }
}
@media (min-width: 1024px) {
	.woocommerce ul.products.columns-4 { grid-template-columns: repeat(4, 1fr); }
}

/* الأزرار */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	background: var(--green) !important;
	color: var(--white) !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover { background: var(--green-dark) !important; color: var(--white) !important; }

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce .single_add_to_cart_button,
.woocommerce .checkout-button,
.woocommerce #place_order {
	background: var(--gold) !important;
	color: var(--white) !important;
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce .checkout-button:hover,
.woocommerce #place_order:hover { background: var(--gold-dark) !important; }

.woocommerce span.onsale {
	min-width: 0; min-height: 0;
	padding: 2px 12px;
	border-radius: 999px;
	background: var(--gold);
	line-height: 1.8;
	font-weight: 700;
}

/* صفحة المنتج */
.woocommerce div.product {
	padding: 20px;
	background: var(--white);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}
@media (min-width: 768px) { .woocommerce div.product { padding: 36px; } }
.woocommerce div.product .product_title { font-size: clamp(1.5rem, 4vw, 2.1rem); }
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--gold-dark); font-size: 1.5rem; font-weight: 800; }
.woocommerce div.product div.images img { border-radius: var(--radius); }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; }
.woocommerce .quantity .qty { width: 80px; padding: 10px; border-radius: 999px; text-align: center; }
.woocommerce div.product form.cart .button { float: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border-radius: 10px 10px 0 0; background: var(--cream); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--white); }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--green-dark); font-weight: 700; }
.woocommerce .related.products,
.woocommerce .upsells.products { margin-top: 40px; }
.woocommerce .related.products > h2,
.woocommerce .upsells.products > h2 { font-size: 1.5rem; }
.product_meta { color: var(--muted); font-size: .9rem; }

@media (max-width: 767px) {
	.woocommerce div.product div.images,
	.woocommerce div.product div.summary { width: 100% !important; float: none !important; }
}

/* الرسائل */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-top-color: var(--gold) !important;
	border-radius: 10px;
	background: var(--white);
}
.woocommerce-message::before,
.woocommerce-info::before { color: var(--gold) !important; }

/* السلة والدفع */
.woocommerce table.shop_table {
	overflow: hidden;
	border: 0 !important;
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: var(--shadow);
}
.woocommerce table.shop_table th { background: var(--cream); color: var(--green-dark); }
.woocommerce table.shop_table td,
.woocommerce table.shop_table th { text-align: start; }
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout #order_review,
.woocommerce-checkout .col2-set {
	padding: 20px;
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.woocommerce-checkout .col2-set { margin-bottom: 24px; }
.woocommerce form .form-row label { font-weight: 600; }
.woocommerce form .form-row .input-text,
.woocommerce form .form-row select { padding: 10px 14px; }
.woocommerce-checkout #payment { background: var(--cream) !important; border-radius: var(--radius); }
.woocommerce-checkout #payment ul.payment_methods li > label { font-weight: 700; }
.woocommerce-checkout #payment div.payment_box { background: var(--white) !important; border-radius: 10px; }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout .asal-region-select { width: 100%; }

/* إيصال التحويل */
.asal-receipt {
	margin: 0 0 16px;
	padding: 14px;
	border: 2px dashed var(--gold);
	border-radius: var(--radius);
	background: var(--white);
}
.asal-receipt[hidden] { display: none; }
.asal-receipt label { display: block; margin-bottom: 4px; }
.asal-receipt .optional { color: var(--muted); font-weight: 600; }
.asal-receipt__hint { margin: 0 0 8px; color: var(--muted); font-size: .9rem; }
.asal-receipt__status { margin: 8px 0 0; font-weight: 700; }
.asal-receipt__status:empty { display: none; }
.asal-receipt__status.is-ok { color: var(--green); }
.asal-receipt__status.is-error { color: #b3261e; }
.asal-receipt-box {
	margin: 24px 0;
	padding: 20px;
	border: 2px dashed var(--gold);
	border-radius: var(--radius);
	background: var(--cream);
}
.asal-receipt-box h2 { font-size: 1.2rem; }
.asal-receipt-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.asal-receipt-ok { margin: 0; color: var(--green); font-weight: 800; }
.asal-receipt-error { color: #b3261e; font-weight: 700; }

/* الحسابات المصرفية (صفحة شكراً على طلبك) */
.wc-bacs-bank-details-heading { margin-top: 32px; }
.woocommerce .wc-bacs-bank-details.order_details {
	display: grid;
	gap: 8px;
	padding: 16px !important;
	border: 2px dashed var(--gold);
	border-radius: var(--radius);
	background: var(--cream);
}
.woocommerce .wc-bacs-bank-details.order_details li {
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}
.woocommerce .wc-bacs-bank-details.order_details strong { direction: ltr; unicode-bidi: embed; }
.woocommerce a.remove { color: #b3261e !important; }
.woocommerce a.remove:hover { background: #b3261e; color: var(--white) !important; }

.woocommerce nav.woocommerce-pagination ul { border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; margin: 0 3px; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span { border-radius: 999px; padding: 8px 14px; background: var(--white); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--green); color: var(--white); }

.woocommerce .woocommerce-ordering select { border-radius: 999px; }

/* حسابي */
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 10px 14px;
	border-radius: 10px;
	font-weight: 600;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--green); color: var(--white); }

/* بلوكات ووكومرس (السلة والدفع الحديثة) */
.wc-block-components-button:not(.is-link) {
	background: var(--gold) !important;
	color: var(--white) !important;
	border-radius: 999px !important;
	font-family: var(--font) !important;
}
.wc-block-components-button:not(.is-link):hover { background: var(--gold-dark) !important; }
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout { font-family: var(--font); }
