/* ==========================================================================
   Ovalete Design — الهيدر، الإضافة إلى السلة، السلة وإتمام الطلب
   يُحمَّل بعد ovalete.css (يستخدم متغيراته). كل القواعد تبدأ بـ .ovd
   ========================================================================== */

/* 1. الهيدر --------------------------------------------------------------- */

body.ovd {
	--header-height: 135px;
	--header-sticky-height: 92px;
}

@media (max-width: 999.98px) {
	body.ovd {
		--header-height: 69px;
		--header-sticky-height: 68px;
	}
}

/* في الصفحة الرئيسية الهيدر فوق المحتوى، وهامش الواجهة مكتوب في Elementor على الارتفاع القديم (160px) */
.ovd.home .ovd-hero {
	margin-top: var(--header-height) !important;
}

/* 1.1 الشريط العلوي: الشعار اللفظي في جهة، واللغة والعملة والتواصل في الجهة المقابلة */

.ovd #header [data-row*="top"] {
	--height: 42px;
	background-color: var(--ovd-choco-deep);
	--theme-text-color: var(--ovd-cream);
	--theme-heading-color: var(--ovd-cream);
	--theme-link-initial-color: var(--ovd-cream);
	--theme-link-hover-color: var(--ovd-gold);
	font-size: 13.5px;
}

.ovd #header [data-row*="top"] > div {
	grid-template-columns: 1fr auto auto;
}

.ovd #header [data-row*="top"] [data-items] > * {
	--margin: 0;
}

.ovd #header [data-row*="top"] .ct-header-text,
.ovd #header [data-row*="top"] .ct-header-text * {
	color: var(--ovd-cream);
	font-weight: 500;
	letter-spacing: 0;
}

.ovd #header [data-row*="top"] .ct-header-text p {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0;
}

.ovd #header [data-row*="top"] .ct-header-text p::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--ovd-gold);
	box-shadow: 0 0 0 4px rgba(198, 162, 86, 0.22);
}

.ovd #header [data-id="menu-secondary"] {
	--menu-items-spacing: 26px;
}

.ovd #header [data-id="menu-secondary"] > .menu > li > .ct-menu-link {
	--theme-font-size: 13px;
	--theme-font-weight: 500;
	--theme-text-transform: none;
	--theme-link-initial-color: var(--ovd-cream);
	--theme-link-hover-color: var(--ovd-gold);
	color: var(--ovd-cream);
	letter-spacing: 0;
}

.ovd #header [data-id="menu-secondary"] > .menu > li:hover > .ct-menu-link {
	color: var(--ovd-gold);
}

.ovd #header [data-row*="top"] .ct-header-socials {
	margin-inline-start: 22px;
	padding-inline-start: 22px;
	border-inline-start: 1px solid rgba(251, 246, 238, 0.18);
	--items-spacing: 18px;
}

.ovd #header [data-row*="top"] .ct-header-socials [data-color] {
	--theme-icon-color: var(--ovd-gold);
	--theme-icon-hover-color: #fff;
}

/* اللغة: كرة أرضية بدل العلم */
.ovd #header .trp-flag-image,
body.ovd #offcanvas .trp-flag-image {
	display: none;
}

.ovd #header .current-language-menu-item > .ct-menu-link > span[data-no-translation] {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.ovd #header .current-language-menu-item > .ct-menu-link > span[data-no-translation]::before {
	content: "";
	width: 15px;
	height: 15px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.6 2.8 3.9 5.8 3.9 9s-1.3 6.2-3.9 9c-2.6-2.8-3.9-5.8-3.9-9s1.3-6.2 3.9-9z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.6 2.8 3.9 5.8 3.9 9s-1.3 6.2-3.9 9c-2.6-2.8-3.9-5.8-3.9-9s1.3-6.2 3.9-9z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* العملة */
.ovd .ovd-cur__label {
	margin-inline-end: 5px;
	opacity: 0.72;
}

.ovd .ovd-cur__code {
	font-weight: 700;
	direction: ltr;
}

.ovd .ovd-cur__symbol {
	display: inline-block;
	min-width: 1.1em;
	font-weight: 700;
	text-align: center;
}

.ovd .ovd-menu-currency-option > .ct-menu-link {
	direction: ltr;
	gap: 6px;
}

.rtl.ovd #header .ovd-menu-currency-option > .ct-menu-link {
	justify-content: flex-end;
}

/* اللغة والعملة مكانهما الشريط العلوي؛ تبقيان في قائمة الجوال فقط */
.ovd #header [data-id="menu"] > .menu > .ovd-menu-util {
	display: none;
}

/* 1.2 القوائم المنسدلة */

.ovd #header .menu .sub-menu {
	--dropdown-background-color: #fff;
	--dropdown-divider: none;
	--dropdown-items-spacing: 11px;
	--dropdown-width: max-content;
	--theme-border-radius: 14px;
	--theme-box-shadow: 0 2px 6px rgba(44, 20, 12, 0.06), 0 22px 44px -18px rgba(44, 20, 12, 0.4);
	min-width: 200px;
	max-width: 320px;
	padding: 8px;
	background-color: #fff;
	border: 1px solid var(--ovd-line);
}

/* القائمة تلتصق بعنصرها (كانت تظهر أسفل الصف كله فتبدو عائمة)، وحافتها بمحاذاة نص العنصر */
.ovd #header [data-id="menu"] > .menu > li {
	--theme-submenu-inline-offset: -6px;
}

.ovd #header [data-id="menu"] > .menu > li > .sub-menu {
	--dropdown-top-offset: -16px;
	--sticky-state-dropdown-top-offset: -16px;
}

.ovd #header [data-id="menu-secondary"] .sub-menu {
	--dropdown-top-offset: 2px;
	--sticky-state-dropdown-top-offset: 2px;
	min-width: 150px;
}

.ovd #header .menu .sub-menu .menu-item {
	border-top: 0;
}

.ovd #header .menu .sub-menu .menu-item + .menu-item {
	margin-top: 2px;
}

.ovd #header .menu .sub-menu .ct-menu-link {
	--theme-link-initial-color: var(--ovd-ink);
	--theme-link-hover-color: var(--ovd-gold-deep);
	--theme-font-size: 14.5px;
	--theme-font-weight: 500;
	--theme-text-transform: none;
	border-radius: 9px;
	color: var(--ovd-ink);
	white-space: nowrap;
	transition: background-color 0.15s, color 0.15s;
}

.ovd #header .menu .sub-menu li:hover > .ct-menu-link,
.ovd #header .menu .sub-menu .current-menu-item > .ct-menu-link {
	color: var(--ovd-gold-deep);
	background-color: var(--ovd-cream);
}

.ovd #header .menu .sub-menu .current-menu-item > .ct-menu-link {
	font-weight: 700;
}

/* سهم العنصر الأب ينقلب عند فتح قائمته */
.ovd #header .menu > li.ct-active > .ct-menu-link,
.ovd #header .menu > li:hover > .ct-menu-link {
	--toggle-icon-transform: rotate(180deg);
}

/* 1.3 الصف الرئيسي */

.ovd #header [data-device="desktop"] [data-row*="middle"] {
	--height: 92px;
}

/* صورة الشعار مربّعة وحولها فراغ شفاف، فتملأ ارتفاع الصف ليظهر الشعار بحجم مناسب */
.ovd #header [data-device="desktop"] [data-id="logo"] .site-logo-container {
	--logo-max-height: 92px;
}

.ovd #header [data-row*="middle"] {
	border-bottom: 1px solid var(--ovd-line);
}

.ovd #header [data-sticky*="yes"] [data-row*="middle"] {
	box-shadow: 0 10px 30px -18px rgba(44, 20, 12, 0.35);
	border-bottom-color: transparent;
}

.ovd #header [data-id="menu"] {
	--menu-items-spacing: 38px;
}

.ovd #header [data-id="menu"] > .menu > li > .ct-menu-link {
	--theme-link-initial-color: var(--ovd-ink);
	--theme-link-hover-color: var(--ovd-gold-deep);
	--theme-link-active-color: var(--ovd-choco);
	--theme-text-transform: none;
	font-weight: 500;
	font-size: 16px;
	letter-spacing: 0;
}

.ovd #header [data-id="menu"] > .menu > .current-menu-item > .ct-menu-link {
	font-weight: 700;
}

/* أزرار الأيقونات: بحث، حساب، سلة، قائمة الجوال */
.ovd #header [data-row*="middle"] [data-column="end"] [data-items] {
	gap: 10px;
}

.ovd #header [data-row*="middle"] [data-column="end"] [data-items] > * {
	--margin: 0 !important;
}

.ovd #header [data-row*="middle"] .ct-header-search,
.ovd #header [data-row*="middle"] .ct-account-item,
.ovd #header [data-row*="middle"] .ct-cart-item,
.ovd #header [data-row*="middle"] .ct-header-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	flex: none;
	border-radius: 999px;
	background-color: var(--ovd-cream);
	/* أزرار ct-toggle في القالب تأخذ خلفيتها وحدودها من هذه المتغيرات (مع !important) */
	--toggle-button-background: var(--ovd-cream);
	--toggle-button-radius: 999px;
	--toggle-button-padding: 0px;
	--theme-icon-size: 18px;
	--theme-icon-color: var(--ovd-choco);
	--theme-icon-hover-color: var(--ovd-choco-deep);
	transition: background-color 0.2s, box-shadow 0.2s;
}

.ovd #header [data-row*="middle"] .ct-header-search:hover,
.ovd #header [data-row*="middle"] .ct-account-item:hover,
.ovd #header [data-row*="middle"] .ct-header-trigger:hover {
	background-color: var(--ovd-cream-2);
	--toggle-button-background: var(--ovd-cream-2);
}

.ovd #header [data-row*="middle"] .ct-header-search .ct-label,
.ovd #header [data-row*="middle"] .ct-header-trigger .ct-label {
	display: none;
}

.ovd #header [data-row*="middle"] .ct-cart-item {
	background-color: var(--ovd-choco);
	--theme-icon-color: #fff;
	--theme-icon-hover-color: #fff;
}

.ovd #header [data-row*="middle"] .ct-cart-item:hover {
	background-color: var(--ovd-choco-deep);
}

.ovd .ct-dynamic-count-cart {
	background: var(--ovd-gold);
	color: var(--ovd-choco-deep);
	font-weight: 700;
	box-shadow: 0 0 0 2px #fff;
}

@keyframes ovd-bump {
	0%, 100% { transform: scale(1); }
	35% { transform: scale(1.18); }
	65% { transform: scale(0.94); }
}

.ovd .ct-header-cart.ovd-bump .ct-cart-item {
	animation: ovd-bump 0.6s var(--ovd-ease);
}

/* شريط بحث ظاهر على الشاشات الواسعة (يفتح نافذة البحث نفسها) */
@media (min-width: 1200px) {
	.ovd #header [data-device="desktop"] .ct-header-search {
		justify-content: flex-start;
		gap: 10px;
		width: 232px;
		--toggle-button-padding: 0 16px;
		--toggle-button-border-width: 1px;
		--toggle-button-border-color: var(--ovd-line);
	}

	.ovd #header [data-device="desktop"] .ct-header-search:hover {
		--toggle-button-border-color: var(--ovd-gold);
		--toggle-button-background: #fff;
	}

	.ovd #header [data-device="desktop"] .ct-header-search::after {
		content: "ابحث عن منتج…";
		color: var(--ovd-muted);
		font-size: 14.5px;
		font-weight: 400;
		line-height: 1;
	}

	.ovd.translatepress-en_US #header [data-device="desktop"] .ct-header-search::after {
		content: "Search products…";
	}
}

/* قائمة السلة المنسدلة */
.ovd #header [data-id="cart"] .ct-cart-content {
	--mini-cart-background-color: #fff;
	--theme-text-color: var(--ovd-text);
	--theme-link-initial-color: var(--ovd-ink);
	--theme-link-hover-color: var(--ovd-gold-deep);
	--theme-border-color: var(--ovd-line);
	--dropdownTopOffset: 12px;
	border: 1px solid var(--ovd-line);
	border-radius: var(--ovd-radius);
	box-shadow: var(--ovd-shadow-hover);
	color: var(--ovd-text);
}

.ovd #header [data-id="cart"] .ct-cart-content .total {
	--theme-text-color: var(--ovd-ink);
	color: var(--ovd-ink);
}

.ovd #header [data-id="cart"] .ct-cart-content .woocommerce-mini-cart__buttons .button:not(.checkout) {
	--theme-button-background-initial-color: transparent;
	--theme-button-background-hover-color: var(--ovd-cream-2);
	--theme-button-text-initial-color: var(--ovd-choco);
	--theme-button-text-hover-color: var(--ovd-choco);
	border: 1.5px solid var(--ovd-choco);
}

/* 1.4 هيدر الجوال */

.ovd #header [data-device="mobile"] [data-row*="middle"] {
	--height: 68px;
}

.ovd #header [data-device="mobile"] [data-id="logo"] .site-logo-container {
	--logo-max-height: 68px;
}

@media (max-width: 689.98px) {
	.ovd #header [data-device="mobile"] [data-row*="middle"] [data-column="end"] [data-items] {
		gap: 8px;
	}

	.ovd #header [data-device="mobile"] .ct-header-search,
	.ovd #header [data-device="mobile"] .ct-cart-item,
	.ovd #header [data-device="mobile"] .ct-header-trigger {
		width: 42px;
		height: 42px;
	}
}

/* قائمة الجوال ونافذة البحث */
body.ovd #offcanvas,
body.ovd #search-modal {
	background-color: rgba(34, 15, 9, 0.98);
}

body.ovd #offcanvas .mobile-menu {
	--theme-link-initial-color: #fff;
	--theme-link-hover-color: var(--ovd-gold);
	--theme-link-active-color: var(--ovd-gold);
}

body.ovd #offcanvas .mobile-menu .current-menu-item > .ct-menu-link,
body.ovd #offcanvas .mobile-menu .current-menu-item > .ct-sub-menu-parent > .ct-menu-link {
	color: var(--ovd-gold);
}

body.ovd #offcanvas .ct-header-text,
body.ovd #offcanvas .ct-header-text * {
	color: var(--ovd-cream);
}

body.ovd #offcanvas .ct-header-socials [data-color] {
	--theme-icon-color: var(--ovd-gold);
	--theme-icon-hover-color: #fff;
}

/* زر «Explore Shop» في قائمة الجوال رابطه فارغ (#) — مخفي إلى أن يُضبط رابطه من إعدادات الهيدر */
body.ovd #offcanvas .ct-header-cta:has(> a[href="#"]) {
	display: none;
}

/* 2. الإضافة إلى السلة ---------------------------------------------------- */

:root {
	--ovd-ok: #2f7d4f;
	--ovd-ok-soft: #eaf4ed;
}

/* الزر يبقى في مكانه بعد الإضافة، ورابط «عرض السلة» ينتقل إلى الإشعار */
.ovd [data-products] [data-add-to-cart="auto-hide"] .added {
	display: inline-flex;
}

.ovd [data-products] .product .added_to_cart,
.ovd .custom-products-grid .added_to_cart,
.ovd .slider-card .added_to_cart,
.ovd .ct-cart-actions .added_to_cart {
	display: none !important;
}

.ovd .add_to_cart_button,
.ovd .single_add_to_cart_button {
	position: relative;
}

.ovd .add_to_cart_button.loading,
.ovd .single_add_to_cart_button.loading {
	pointer-events: none;
	opacity: 0.85;
}

.ovd .add_to_cart_button.ovd-added,
.ovd .single_add_to_cart_button.ovd-added {
	background-color: var(--ovd-ok) !important;
	border-color: var(--ovd-ok) !important;
	color: transparent !important;
	pointer-events: none;
}

.ovd .add_to_cart_button.ovd-added::after,
.ovd .single_add_to_cart_button.ovd-added::after {
	content: "✓  " attr(data-ovd-added);
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
	margin: 0;
	background: none;
	-webkit-mask: none;
	mask: none;
	color: #fff;
	font: inherit;
	animation: ovd-pop 0.35s var(--ovd-ease);
}

@keyframes ovd-pop {
	from { opacity: 0; transform: scale(0.85); }
	to { opacity: 1; transform: none; }
}

/* الإشعار */
.ovd-toast {
	position: fixed;
	z-index: 100000;
	top: calc(var(--admin-bar, 0px) + 142px);
	inset-inline-end: 20px;
	width: min(384px, calc(100vw - 24px));
	padding: 16px 16px 19px;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--ovd-line);
	border-radius: 18px;
	box-shadow: 0 2px 6px rgba(44, 20, 12, 0.08), 0 28px 60px -22px rgba(44, 20, 12, 0.5);
	color: var(--ovd-text);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-14px);
	transition: opacity 0.25s, transform 0.35s var(--ovd-ease), visibility 0s 0.35s;
}

.ovd-toast.is-open {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}

.ovd-toast__close {
	position: absolute;
	top: 10px;
	inset-inline-end: 10px;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ovd-muted);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.ovd-toast__close:hover {
	background: var(--ovd-cream-2);
	color: var(--ovd-ink);
}

.ovd-toast__head {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 14px;
	padding-inline-end: 34px;
}

.ovd-toast__check {
	display: grid;
	place-items: center;
	flex: none;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--ovd-ok);
	color: #fff;
}

.ovd-toast__check svg {
	width: 14px;
	height: 14px;
}

.ovd-toast__title {
	color: var(--ovd-ink);
	font-size: 15.5px;
	font-weight: 700;
}

.ovd-toast__body {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 15px;
}

.ovd-toast__thumb {
	flex: none;
	width: 66px;
	height: 66px;
	padding: 4px;
	border: 1px solid var(--ovd-line);
	border-radius: 12px;
	background: #fff;
}

.ovd-toast__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ovd-toast__info {
	min-width: 0;
}

.ovd-toast__name {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	color: var(--ovd-ink);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.55;
}

.ovd-toast__meta {
	margin-top: 4px;
	color: var(--ovd-muted);
	font-size: 13px;
}

.ovd-toast__meta b {
	color: var(--ovd-choco);
	font-weight: 700;
}

.ovd-toast__meta i {
	margin-inline: 3px;
	font-style: normal;
}

.ovd-toast__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.ovd-toast__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 12px;
	border: 1.5px solid var(--ovd-choco);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.ovd-toast__btn--ghost {
	background: transparent;
	color: var(--ovd-choco);
}

.ovd-toast__btn--ghost:hover {
	background: var(--ovd-cream-2);
	color: var(--ovd-choco);
}

.ovd-toast__btn--solid {
	background: var(--ovd-choco);
	color: #fff;
}

.ovd-toast__btn--solid:hover {
	background: var(--ovd-gold-deep);
	border-color: var(--ovd-gold-deep);
	color: #fff;
}

.ovd-toast__bar {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 3px;
	background: var(--ovd-gold);
	transform-origin: 0 50%;
}

[dir="rtl"].ovd-toast .ovd-toast__bar {
	transform-origin: 100% 50%;
}

.ovd-toast.is-open .ovd-toast__bar {
	animation: ovd-toast-bar 6s linear forwards;
}

.ovd-toast.is-paused .ovd-toast__bar {
	animation: none;
}

@keyframes ovd-toast-bar {
	from { transform: scaleX(1); }
	to { transform: scaleX(0); }
}

@media (max-width: 689.98px) {
	.ovd-toast {
		top: auto;
		bottom: calc(12px + env(safe-area-inset-bottom, 0px));
		inset-inline: 12px;
		width: auto;
		transform: translateY(18px);
	}
}

/* 3. رسائل المتجر --------------------------------------------------------- */

.ovd .woocommerce-info,
.ovd .woocommerce-message,
.ovd .woocommerce-error,
.ovd .woocommerce-thankyou-order-received {
	--background-color: var(--ovd-cream);
	border: 1px solid var(--ovd-line);
	border-radius: 14px;
	color: var(--ovd-ink);
	font-weight: 500;
}

.ovd .woocommerce-message,
.ovd .woocommerce-thankyou-order-received {
	--background-color: var(--ovd-ok-soft);
	border-color: #cde4d5;
}

.ovd .woocommerce-message::before,
.ovd .woocommerce-thankyou-order-received::before {
	color: var(--ovd-ok);
}

.ovd .woocommerce-error {
	--background-color: #fdf1ef;
	--theme-text-color: #8a2318;
	--theme-link-initial-color: #8a2318;
	border-color: #f2d0ca;
	color: #8a2318;
}

.ovd .woocommerce-error li,
.ovd .woocommerce-error strong,
.ovd .woocommerce-error a {
	color: #8a2318;
}

.ovd .woocommerce-error::before {
	color: var(--ovd-sale);
}

.ovd .woocommerce-info a,
.ovd .woocommerce-message a:not(.button) {
	color: var(--ovd-gold-deep);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* 4. مراحل الطلب (السلة ← بيانات الطلب ← تم الطلب) ----------------------- */

.ovd .ovd-flow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px 32px;
	margin-bottom: 32px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--ovd-line);
}

.ovd .ovd-flow__title {
	margin: 0;
	color: var(--ovd-ink);
	font-size: clamp(24px, 2.6vw, 32px);
	font-weight: 700;
	line-height: 1.4;
}

.ovd .ovd-steps {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ovd .ovd-steps__item,
.ovd .ovd-steps__item a {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ovd .ovd-steps__item {
	margin: 0;
	color: var(--ovd-muted);
	font-size: 14.5px;
	font-weight: 500;
	white-space: nowrap;
}

.ovd .ovd-steps__item a {
	color: inherit;
	text-decoration: none;
}

.ovd .ovd-steps__item a:hover {
	color: var(--ovd-gold-deep);
}

.ovd .ovd-steps__item + .ovd-steps__item::before {
	content: "";
	width: 44px;
	height: 2px;
	margin-inline: 4px;
	border-radius: 2px;
	background: var(--ovd-line);
}

.ovd .ovd-steps__item.is-done + .ovd-steps__item::before {
	background: var(--ovd-gold);
}

.ovd .ovd-steps__num {
	display: grid;
	place-items: center;
	flex: none;
	width: 30px;
	height: 30px;
	border: 1.5px solid var(--ovd-line);
	border-radius: 50%;
	background: #fff;
	color: var(--ovd-muted);
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1;
}

.ovd .ovd-steps__item.is-current {
	color: var(--ovd-ink);
	font-weight: 700;
}

.ovd .ovd-steps__item.is-current .ovd-steps__num {
	border-color: var(--ovd-choco);
	background: var(--ovd-choco);
	color: #fff;
}

.ovd .ovd-steps__item.is-done {
	color: var(--ovd-choco);
}

.ovd .ovd-steps__item.is-done .ovd-steps__num {
	border-color: var(--ovd-gold);
	background: var(--ovd-gold);
	color: var(--ovd-choco-deep);
}

@media (max-width: 689.98px) {
	.ovd .ovd-flow {
		margin-bottom: 22px;
		padding-bottom: 18px;
	}

	.ovd .ovd-steps {
		width: 100%;
	}

	.ovd .ovd-steps__item {
		gap: 7px;
		font-size: 13px;
	}

	.ovd .ovd-steps__item a {
		gap: 7px;
	}

	.ovd .ovd-steps__item + .ovd-steps__item {
		flex: 1;
	}

	.ovd .ovd-steps__item + .ovd-steps__item::before {
		flex: 1;
		width: auto;
		min-width: 12px;
	}

	.ovd .ovd-steps__num {
		width: 26px;
		height: 26px;
		font-size: 12.5px;
	}
}

/* 5. صفحة السلة ----------------------------------------------------------- */

@media (min-width: 1000px) {
	.ovd .ct-woocommerce-cart-form {
		grid-template-columns: minmax(0, 1fr) minmax(340px, 400px);
		gap: 32px;
	}
}

.ovd .ct-woocommerce-cart-form .woocommerce-cart-form {
	align-self: start;
	padding: 6px 22px 20px;
	background: #fff;
	border: 1px solid var(--ovd-line);
	border-radius: var(--ovd-radius);
}

.ovd .ct-woocommerce-cart-form .woocommerce-cart-form table:first-child {
	margin: 0;
}

.ovd .woocommerce-cart-form__contents thead th {
	color: var(--ovd-muted);
	font-size: 13px;
	font-weight: 500;
}

.ovd .woocommerce-cart-form__contents .product-thumbnail {
	width: 104px;
}

.ovd .woocommerce-cart-form__contents .product-thumbnail .ct-media-container {
	display: block;
	padding: 4px;
	background: #fff;
	border: 1px solid var(--ovd-line);
	border-radius: var(--ovd-radius-sm);
}

.ovd .woocommerce-cart-form__contents .product-thumbnail img {
	object-fit: contain;
}

.ovd .woocommerce-cart-form__contents .product-name > a {
	--theme-link-initial-color: var(--ovd-ink);
	--theme-link-hover-color: var(--ovd-gold-deep);
	color: var(--ovd-ink);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.6;
}

.ovd .woocommerce-cart-form__contents .product-name .price {
	margin: 4px 0 0;
	color: var(--ovd-muted);
	font-size: 13.5px;
	font-weight: 500;
}

.ovd .woocommerce-cart-form__contents td.product-subtotal {
	color: var(--ovd-choco);
	font-size: 16px;
	font-weight: 700;
	white-space: nowrap;
}

.ovd .woocommerce-cart-form__contents .quantity[data-type="type-2"] {
	--quantity-height: 44px;
	--quantity-width: 116px;
	--theme-form-field-border-radius: 999px;
	--theme-form-field-border-initial-color: var(--ovd-line);
	--theme-form-field-border-focus-color: var(--ovd-gold);
	--quantity-arrows-initial-color: var(--ovd-choco);
}

.ovd .woocommerce-cart-form__contents .quantity[data-type="type-2"] input[type="number"] {
	border-color: var(--ovd-line);
	color: var(--ovd-ink);
	font-weight: 700;
}

.ovd .woocommerce-cart-form__contents .remove {
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--ovd-cream);
	--theme-icon-size: 12px;
	transition: background-color 0.2s;
}

.ovd .woocommerce-cart-form__contents .remove:hover {
	background: #fbe6e2;
}

.ovd .woocommerce-cart-form__contents .product-mobile-actions .remove {
	padding: 0;
}

/* صف القسيمة و«متابعة التسوق» */
.ovd .woocommerce-cart-form__contents td.actions {
	padding-top: 18px;
}

.ovd .woocommerce-cart-form__contents .coupon .input-text {
	min-height: 46px;
	border-radius: 999px;
}

.ovd .woocommerce-cart-form__contents .coupon .button {
	--theme-button-background-initial-color: transparent;
	--theme-button-background-hover-color: var(--ovd-choco);
	--theme-button-text-initial-color: var(--ovd-choco);
	--theme-button-text-hover-color: #fff;
	--theme-button-border: 1.5px solid var(--ovd-choco);
	border: 1.5px solid var(--ovd-choco);
}

/* الكمية تتحدّث تلقائياً فلا حاجة لزر «تحديث السلة» */
.ovd-cart-auto .woocommerce-cart-form button[name="update_cart"] {
	display: none !important;
}

.ovd .ovd-continue {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ovd-choco);
	font-size: 14.5px;
	font-weight: 700;
	text-decoration: none;
}

.ovd .ovd-continue::before {
	content: "→";
	font-size: 17px;
	line-height: 1;
	transition: transform 0.2s var(--ovd-ease);
}

.ovd:not(.rtl) .ovd-continue::before {
	content: "←";
}

.ovd .ovd-continue:hover {
	color: var(--ovd-gold-deep);
}

.ovd .ovd-continue:hover::before {
	transform: translateX(4px);
}

.ovd:not(.rtl) .ovd-continue:hover::before {
	transform: translateX(-4px);
}

/* بطاقة الإجمالي */
.ovd .ct-woocommerce-cart-form .cart_totals {
	--cart-totals-border: 1px solid var(--ovd-line);
	--cart-totals-padding: 26px;
	--cart-totals-border-radius: var(--ovd-radius);
	background: var(--ovd-cream);
}

.ovd .ct-woocommerce-cart-form .cart_totals h2 {
	margin-bottom: 10px;
	color: var(--ovd-ink);
	font-size: 19px;
	font-weight: 700;
}

.ovd .cart_totals table th,
.ovd .ct-order-review table tfoot th {
	color: var(--ovd-text);
	font-weight: 500;
}

.ovd .cart_totals .cart-subtotal td,
.ovd .ct-order-review .cart-subtotal td {
	color: var(--ovd-ink);
	font-weight: 700;
}

.ovd .cart_totals .order-total th,
.ovd .ct-order-review .order-total th {
	color: var(--ovd-ink);
	font-size: 17px;
	font-weight: 700;
}

.ovd .cart_totals .order-total td,
.ovd .ct-order-review .order-total td {
	color: var(--ovd-choco);
	font-size: 23px;
	font-weight: 700;
}

.ovd .cart_totals .order-total th,
.ovd .cart_totals .order-total td,
.ovd .ct-order-review .order-total th,
.ovd .ct-order-review .order-total td {
	vertical-align: middle;
}

/* الشحن لا يعتمد على العنوان (العميل يختار منطقته) فحاسبة الشحن بلا فائدة */
.ovd .cart_totals .woocommerce-shipping-calculator,
.ovd .cart_totals .woocommerce-shipping-destination {
	display: none;
}

/* خيارات الشحن كبطاقات اختيار */
.ovd .woocommerce-shipping-totals .ct-shipping-heading {
	margin-bottom: 12px;
	color: var(--ovd-ink);
	font-weight: 700;
	text-align: start;
}

.ovd ul#shipping_method {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ovd ul#shipping_method li {
	position: relative;
	margin: 0;
	padding: 0;
}

.ovd ul#shipping_method li input[type="radio"] {
	position: absolute;
	top: 50%;
	inset-inline-start: 14px;
	margin: 0;
	transform: translateY(-50%);
}

.ovd ul#shipping_method li label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 0;
	padding: 12px 14px;
	background: #fff;
	border: 1.5px solid var(--ovd-line);
	border-radius: var(--ovd-radius-sm);
	color: var(--ovd-ink);
	font-size: 14.5px;
	font-weight: 500;
	text-align: start;
	cursor: pointer;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.ovd ul#shipping_method li input[type="radio"] + label {
	padding-inline-start: 42px;
}

.ovd ul#shipping_method li label:hover {
	border-color: var(--ovd-gold);
}

.ovd ul#shipping_method li input[type="radio"]:checked + label {
	border-color: var(--ovd-choco);
	box-shadow: inset 0 0 0 1px var(--ovd-choco);
}

.ovd ul#shipping_method li label .ovd-ship__name {
	flex: 1;
}

.ovd ul#shipping_method li label .amount {
	color: var(--ovd-choco);
	font-weight: 700;
	white-space: nowrap;
}

/* زر المتابعة وزر تأكيد الطلب */
.ovd .cart_totals .wc-proceed-to-checkout .checkout-button,
.ovd #place_order {
	width: 100%;
	min-height: 56px;
	font-size: 17px;
	box-shadow: 0 14px 26px -16px rgba(74, 35, 23, 0.8);
}

.ovd .ovd-trust {
	display: grid;
	gap: 9px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
	color: var(--ovd-text);
	font-size: 13.5px;
	font-weight: 500;
	text-align: start;
}

.ovd .ovd-trust__item {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0;
}

.ovd .ovd-trust__item::before {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	background-color: var(--ovd-gold-deep);
	-webkit-mask: var(--ovd-icon) center / contain no-repeat;
	mask: var(--ovd-icon) center / contain no-repeat;
}

.ovd .ovd-trust__item--cod {
	--ovd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='6' width='19' height='12' rx='2.5'/%3E%3Ccircle cx='12' cy='12' r='2.6'/%3E%3Cpath d='M6 9.5v5M18 9.5v5'/%3E%3C/svg%3E");
}

.ovd .ovd-trust__item--wa {
	--ovd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 11.6a8.5 8.5 0 0 1-12.6 7.400L3.500 20.500l1.500-4.300A8.500 8.500 0 1 1 20.500 11.600z'/%3E%3Cpath d='M9 10.500h6M9 13.500h3.500'/%3E%3C/svg%3E");
}

.ovd .ovd-trust a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ovd .ovd-trust a:hover {
	color: var(--ovd-gold-deep);
}

/* السلة الفارغة */
.ovd.woocommerce-cart .cart-empty.woocommerce-info {
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
	min-height: 0;
	margin: 0;
	padding: 56px 20px 8px;
	background: none;
	border: 0;
	color: var(--ovd-ink);
	font-size: 21px;
	font-weight: 700;
	text-align: center;
}

.ovd.woocommerce-cart .cart-empty.woocommerce-info::before {
	content: "";
	display: block;
	position: static;
	width: 92px;
	height: 92px;
	border-radius: 50%;
	opacity: 1;
	background: var(--ovd-cream-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a2317' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.500 8h13l-1 11.500h-11z'/%3E%3Cpath d='M9 8V6.500a3 3 0 0 1 6 0V8'/%3E%3C/svg%3E") center / 44px no-repeat;
}

.ovd.woocommerce-cart .return-to-shop {
	margin: 18px 0 0;
	padding-bottom: 48px;
	text-align: center;
}

.ovd.woocommerce-cart .return-to-shop .button {
	min-height: 50px;
	padding-inline: 34px;
}

@media (max-width: 999.98px) {
	.ovd .ct-woocommerce-cart-form .woocommerce-cart-form {
		padding: 4px 14px 16px;
	}

	.ovd .woocommerce-cart-form__contents .product-thumbnail {
		width: 84px;
	}

	.ovd .ct-woocommerce-cart-form .cart_totals {
		--cart-totals-padding: 20px;
	}
}

/* 6. صفحة إتمام الطلب ----------------------------------------------------- */

@media (min-width: 1000px) {
	.ovd .ct-woocommerce-checkout {
		grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
		gap: 32px;
	}
}

.ovd .ct-woocommerce-checkout .ct-customer-details {
	padding: 28px;
	background: #fff;
	border: 1px solid var(--ovd-line);
	border-radius: var(--ovd-radius);
}

.ovd .ct-woocommerce-checkout h3 {
	margin-bottom: 18px;
	color: var(--ovd-ink);
	font-size: 19px;
	font-weight: 700;
}

.ovd .ct-woocommerce-checkout .form-row > label,
.ovd .woocommerce-form-login .form-row > label {
	color: var(--ovd-ink);
	font-size: 14px;
	font-weight: 500;
}

.ovd .ct-woocommerce-checkout .form-row .input-text,
.ovd .ct-woocommerce-checkout .form-row select {
	--theme-form-field-height: 50px;
}

.ovd .ct-woocommerce-checkout .form-row .required {
	color: var(--ovd-sale);
}

/* الحقول على شبكة من عمودين (كانت floats غير مغلقة فتتداخل مع ما بعدها) */
.ovd .ct-woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.ovd .ct-woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 24px;
}

.ovd .ct-woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row,
.ovd .ct-woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > .form-row {
	float: none;
	width: auto;
	grid-column: 1 / -1;
}

@media (min-width: 690px) {
	.ovd .ct-woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row-first,
	.ovd .ct-woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row-last,
	.ovd .ct-woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > .form-row-first,
	.ovd .ct-woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > .form-row-last {
		grid-column: auto;
	}
}

/* الدولة ثابتة (فلسطين فقط) فتظهر كسطر معلومة لا كحقل */
.ovd .ct-woocommerce-checkout #billing_country_field,
.ovd .ct-woocommerce-checkout #shipping_country_field {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	background: var(--ovd-cream);
	border-radius: var(--ovd-radius-sm);
}

.ovd .ct-woocommerce-checkout #billing_country_field > label,
.ovd .ct-woocommerce-checkout #shipping_country_field > label {
	margin: 0;
	color: var(--ovd-text);
}

.ovd .ct-woocommerce-checkout #billing_country_field .required,
.ovd .ct-woocommerce-checkout #shipping_country_field .required {
	display: none;
}

.ovd .ct-woocommerce-checkout #billing_country_field strong,
.ovd .ct-woocommerce-checkout #shipping_country_field strong {
	color: var(--ovd-ink);
}

.ovd .ct-woocommerce-checkout .woocommerce-account-fields,
.ovd .ct-woocommerce-checkout .woocommerce-shipping-fields,
.ovd .ct-woocommerce-checkout .woocommerce-additional-fields {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px dashed var(--ovd-line);
}

.ovd .ct-woocommerce-checkout #ship-to-different-address {
	margin-bottom: 0;
	font-size: 15px;
}

.ovd .ct-woocommerce-checkout .shipping_address {
	margin-top: 18px;
}

.ovd .ct-woocommerce-checkout #order_comments {
	min-height: 96px;
}

/* ملخص الطلب */
.ovd .ct-order-review {
	--order-review-border: 1px solid var(--ovd-line);
	--order-review-padding: 26px;
	--order-review-border-radius: var(--ovd-radius);
	background: var(--ovd-cream);
}

.ovd .ct-order-review table.shop_table thead {
	display: none;
}

.ovd .ct-order-review table.shop_table .cart_item td {
	padding-block: 12px;
	vertical-align: middle;
}

.ovd .ovd-review-item {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	max-width: calc(100% - 46px);
	vertical-align: middle;
}

.ovd .ovd-review-item__thumb {
	flex: none;
	width: 54px;
	height: 54px;
	padding: 3px;
	background: #fff;
	border: 1px solid var(--ovd-line);
	border-radius: 10px;
}

.ovd .ovd-review-item__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ovd .ovd-review-item__name {
	color: var(--ovd-ink);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.6;
}

.ovd .ct-order-review .product-quantity {
	display: inline-block;
	color: var(--ovd-muted);
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
	vertical-align: middle;
}

.ovd .ct-order-review .product-total {
	color: var(--ovd-ink);
	font-weight: 700;
	white-space: nowrap;
}

/* الدفع */
.ovd #payment ul.payment_methods {
	margin-top: 6px;
}

.ovd #payment ul.payment_methods > li.wc_payment_method {
	background: #fff;
	border: 1.5px solid var(--ovd-line);
	overflow: hidden;
}

.ovd #payment ul.payment_methods > li.wc_payment_method:first-child {
	border-start-start-radius: var(--ovd-radius-sm);
	border-start-end-radius: var(--ovd-radius-sm);
}

.ovd #payment ul.payment_methods > li.wc_payment_method:last-child {
	border-end-start-radius: var(--ovd-radius-sm);
	border-end-end-radius: var(--ovd-radius-sm);
}

.ovd #payment ul.payment_methods > li.wc_payment_method > label {
	padding: 15px 18px;
	color: var(--ovd-ink);
	font-size: 15px;
	font-weight: 700;
}

.ovd #payment ul.payment_methods .payment_box {
	padding: 13px 18px;
	background: var(--ovd-cream);
	border-top: 1px solid var(--ovd-line);
}

.ovd #payment ul.payment_methods .payment_box p {
	color: var(--ovd-text);
	font-size: 13.5px;
}

.ovd .woocommerce-privacy-policy-text p {
	color: var(--ovd-muted);
	font-size: 13px;
	line-height: 1.8;
}

.ovd .woocommerce-privacy-policy-text a {
	color: var(--ovd-gold-deep);
}

/* «عميل سابق؟» */
.ovd .woocommerce-form-login-toggle .woocommerce-info {
	min-height: 52px;
	margin-bottom: 22px;
	font-size: 14.5px;
}

.ovd.woocommerce-checkout form.woocommerce-form-login {
	margin-bottom: 26px;
	padding: 24px;
	background: #fff;
	border: 1px solid var(--ovd-line);
	border-radius: var(--ovd-radius);
}

@media (max-width: 689.98px) {
	.ovd .ct-woocommerce-checkout .ct-customer-details {
		padding: 18px 16px;
	}

	.ovd .ct-order-review {
		--order-review-padding: 18px;
	}

	/* القالب يمدّ صندوق الدفع خارج البطاقة على الجوال */
	.ovd .ct-order-review .woocommerce-checkout-payment {
		margin-inline: 0;
	}

	.ovd .ct-order-review .woocommerce-checkout-payment .place-order {
		padding-inline: 0;
	}

	.ovd .ovd-review-item__thumb {
		width: 46px;
		height: 46px;
	}
}

/* 7. صفحة «تم الطلب» ------------------------------------------------------ */

.ovd .woocommerce-order .woocommerce-thankyou-order-received {
	font-size: 16.5px;
	font-weight: 700;
}

.ovd .woocommerce-order ul.woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 12px;
	margin: 0 0 30px;
	padding: 0;
	border: 0;
	list-style: none;
}

.ovd .woocommerce-order ul.woocommerce-order-overview li {
	display: block;
	float: none;
	width: auto;
	margin: 0;
	padding: 14px 16px;
	background: var(--ovd-cream);
	border: 1px solid var(--ovd-line);
	border-radius: var(--ovd-radius-sm);
	color: var(--ovd-muted);
	font-size: 13px;
	font-weight: 500;
	text-transform: none;
}

.ovd .woocommerce-order ul.woocommerce-order-overview li::before,
.ovd .woocommerce-order ul.woocommerce-order-overview li::after {
	display: none;
}

.ovd .woocommerce-order ul.woocommerce-order-overview li strong {
	display: block;
	margin-top: 4px;
	color: var(--ovd-ink);
	font-size: 15.5px;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.ovd .woocommerce-order .woocommerce-order-details,
.ovd .woocommerce-order .woocommerce-customer-details {
	margin-top: 26px;
	padding: 24px;
	background: #fff;
	border: 1px solid var(--ovd-line);
	border-radius: var(--ovd-radius);
}

.ovd .woocommerce-order .woocommerce-order-details__title,
.ovd .woocommerce-order .woocommerce-column__title {
	margin-bottom: 14px;
	color: var(--ovd-ink);
	font-size: 19px;
	font-weight: 700;
}

.ovd .woocommerce-order .woocommerce-customer-details address {
	padding: 0;
	border: 0;
	color: var(--ovd-text);
	font-style: normal;
	line-height: 1.9;
}

/* 8. تسجيل الدخول والحساب ------------------------------------------------- */

.ovd.woocommerce-account:not(.logged-in) #customer_login {
	gap: 24px;
}

.ovd.woocommerce-account:not(.logged-in) #customer_login > div {
	padding: 28px;
	background: #fff;
	border: 1px solid var(--ovd-line);
	border-radius: var(--ovd-radius);
}

.ovd.woocommerce-account:not(.logged-in) #customer_login h2 {
	color: var(--ovd-ink);
	font-size: 22px;
	font-weight: 700;
}

.ovd #account-modal .ct-account-modal {
	border-radius: var(--ovd-radius);
}
