/* Arabic product-card parity: English geometry, Arabic copy, native commerce. */
html[lang^='ar'] body.hs-arabic-product-parity {
	--hs-arabic-card-blue: #164d78;
	--hs-arabic-card-border: #d7e0e5;
	--hs-arabic-card-radius: 14px;
}

html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card {
	box-sizing: border-box;
	direction: rtl;
	display: flex !important;
	flex-direction: column !important;
	height: auto !important;
	min-height: 465px;
	overflow: visible !important;
}

html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .RelatedProductsDiv {
	box-sizing: border-box;
	display: flex !important;
	flex: 1 1 auto;
	flex-direction: column !important;
	height: auto !important;
	min-height: 0;
	overflow: visible !important;
}

html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-image,
html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-image img {
	box-sizing: border-box;
	display: block !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	width: 100% !important;
}

html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-image {
	aspect-ratio: 1 / 1;
	flex: 0 0 auto !important;
	overflow: hidden;
}

html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-image img {
	height: 100% !important;
	object-fit: contain !important;
	object-position: center !important;
}

html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-title,
html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-title .x-text-content,
html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-title .x-text-content-text {
	box-sizing: border-box;
	display: block !important;
	height: auto !important;
	max-height: none !important;
	min-height: 58px;
	overflow: visible !important;
	text-align: center !important;
	-webkit-line-clamp: unset !important;
}

html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-title h1,
html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-title h2,
html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-title h3 {
	color: var(--hs-arabic-card-blue) !important;
	font-size: clamp(18px, 1.45vw, 25px) !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	margin: 0 !important;
	text-align: center !important;
}

html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .VarDiv,
html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .SimDiv,
html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-form,
html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card form.cart {
	box-sizing: border-box;
	display: flex !important;
	flex: 0 0 auto;
	flex-direction: column !important;
	height: auto !important;
	min-height: 0;
	overflow: visible !important;
	position: static !important;
	width: 100% !important;
}

html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .variations,
html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .variations tbody,
html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .variations tr,
html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .woocommerce-variation,
html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .woocommerce-variation-price {
	height: auto !important;
	max-height: none !important;
	overflow: visible !important;
}

html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card select,
html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card input[type='number'] {
	box-sizing: border-box;
	min-height: 40px !important;
	width: 100% !important;
}

html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .single_add_to_cart_button,
html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card button.button,
html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card a.button {
	align-self: center;
	box-sizing: border-box;
	min-height: 48px !important;
	margin-block: 16px 0 !important;
	max-width: 100%;
	position: static !important;
}

html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .quantity {
	margin-block: 8px 0 !important;
}

@media (min-width: 768px) {
	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card {
	flex: 1 1 calc(25% - 20px) !important;
	height: 465px !important;
	min-height: 465px !important;
	}

	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card > .RelatedProductsDiv {
	direction: ltr !important;
	flex: 0 1 auto !important;
	height: 465px !important;
	min-height: 465px !important;
	}

	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .hs-arabic-parity-title,
	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .VarDiv,
	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .SimDiv,
	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .RelatedProductsAddtoCartForm,
	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card form.cart {
	direction: rtl !important;
	}

	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .VarDiv,
	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .RelatedProductsAddtoCartForm,
	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card form.cart {
	display: block !important;
	flex: 0 1 auto !important;
	height: auto !important;
	width: 270px !important;
	}

	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .VarDiv,
	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .SimDiv {
	left: 6px !important;
	margin: 0 !important;
	position: absolute !important;
	top: 365px !important;
	width: 270px !important;
	}

	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .RelatedProductsAddtoCartForm,
	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card form.cart {
	margin: 0 !important;
	width: 100% !important;
	}

	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .variations {
	display: table !important;
	margin: 0 !important;
	width: auto !important;
	}

	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .variations .value {
	width: auto !important;
	}

	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .quantity {
	display: none !important;
	}

	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .single_variation_wrap,
	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .woocommerce-variation-add-to-cart {
	width: 100% !important;
	}

	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .woocommerce-variation-add-to-cart {
	justify-content: center !important;
	}

	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .hs-arabic-parity-title {
	padding-block: 12px 8px;
	}

	/* Give every Arabic selector one clear surface and one arrow. */
	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .VarDiv form.variations_form table.variations td.value select,
	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card select#pa_weight,
	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card select#pa_volume,
	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card select {
	-webkit-appearance: none !important;
	appearance: none !important;
	background-color: #fff !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23164d78' d='M1 1l5 6 5-6z'/%3E%3C/svg%3E") !important;
	background-position: right 12px center !important;
	background-repeat: no-repeat !important;
	background-size: 12px 8px !important;
	border: 2px solid var(--hs-arabic-card-blue) !important;
	border-color: var(--hs-arabic-card-blue) !important;
	border-style: solid !important;
	border-width: 2px !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	color: var(--hs-arabic-card-blue) !important;
	direction: ltr !important;
	font-family: qatar-regular, sans-serif !important;
	font-size: 14px !important;
	height: 32px !important;
	line-height: 1 !important;
	min-height: 32px !important;
	padding: 0 34px 0 14px !important;
	text-align: center !important;
	text-align-last: center !important;
	width: 124px !important;
	}

	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .single_add_to_cart_button {
	align-items: center !important;
	align-self: center !important;
	background-color: transparent !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-size: 100% 100% !important;
	color: #fff !important;
	display: flex !important;
	font-family: qatar-regular, sans-serif !important;
	font-size: 16px !important;
	float: none !important;
	height: 47px !important;
	justify-content: center !important;
	margin: 24px auto 0 !important;
	min-height: 47px !important;
	transform: translate(var(--hs-arabic-card-action-inline-offset, 0px), var(--hs-arabic-card-action-offset, 0px)) !important;
	width: 167px !important;
	}

	/* Match the English single-product recommendation flow. The legacy Arabic
	 * template absolutely positions these forms inside the title region. */
	html[lang^='ar'] body.single-product.hs-arabic-product-parity .hs-arabic-parity-recommendation {
	height: 488px !important;
	justify-content: flex-start !important;
	min-height: 488px !important;
	}

	html[lang^='ar'] body.single-product.hs-arabic-product-parity .hs-arabic-parity-recommendation .VarDiv,
	html[lang^='ar'] body.single-product.hs-arabic-product-parity .hs-arabic-parity-recommendation .SimDiv {
	bottom: auto !important;
	left: auto !important;
	margin: 14px auto 0 !important;
	position: static !important;
	right: auto !important;
	top: auto !important;
	width: 270px !important;
	}

	html[lang^='ar'] body.single-product.hs-arabic-product-parity .hs-arabic-parity-recommendation .single_add_to_cart_button {
	bottom: -24px !important;
	left: 50% !important;
	margin: 0 !important;
	position: absolute !important;
	right: auto !important;
	top: auto !important;
	transform: translateX(-50%) !important;
	}
}

@media (max-width: 767px) {
	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card {
	min-height: 0;
}

	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-title h1,
	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-title h2,
	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-title h3 {
	font-size: 16px !important;
}
}

/* Homepage cards are a separate Cornerstone component from Shop cards. */
@media (min-width: 768px) {
	html[lang^='ar'] body.home.hs-arabic-product-parity .RelatedProductsDiv.hs-arabic-parity-card {
	aspect-ratio: 288 / 488 !important;
	box-sizing: border-box !important;
	direction: rtl !important;
	display: flex !important;
	flex: 1 1 calc(25% - 20px) !important;
	flex-direction: column !important;
	height: auto !important;
	justify-content: flex-start !important;
	min-height: 0 !important;
	overflow: visible !important;
	position: relative !important;
	}

	html[lang^='ar'] body.home.hs-arabic-product-parity .RelatedProductsDiv.hs-arabic-parity-card .hs-arabic-parity-image {
	align-self: center !important;
	aspect-ratio: 1 / 1 !important;
	flex: 0 0 auto !important;
	height: auto !important;
	margin: 2px !important;
	width: calc(100% - 4px) !important;
	}

	html[lang^='ar'] body.home.hs-arabic-product-parity .RelatedProductsDiv.hs-arabic-parity-card .hs-arabic-parity-title {
	height: auto !important;
	margin-top: clamp(20px, 2.2vw, 32px) !important;
	min-height: 58px !important;
	padding: 0 !important;
	}

	html[lang^='ar'] body.home.hs-arabic-product-parity .RelatedProductsDiv.hs-arabic-parity-card .VarDiv,
	html[lang^='ar'] body.home.hs-arabic-product-parity .RelatedProductsDiv.hs-arabic-parity-card .SimDiv {
	direction: rtl !important;
	display: block !important;
	height: auto !important;
	left: 2.7% !important;
	margin: 0 !important;
	position: absolute !important;
	top: 80% !important;
	width: 94.6% !important;
	}

	html[lang^='ar'] body.home.hs-arabic-product-parity .RelatedProductsDiv.hs-arabic-parity-card .RelatedProductsAddtoCartForm,
	html[lang^='ar'] body.home.hs-arabic-product-parity .RelatedProductsDiv.hs-arabic-parity-card form.cart {
	direction: rtl !important;
	display: block !important;
	height: auto !important;
	margin: 0 !important;
	width: 100% !important;
	}

	html[lang^='ar'] body.home.hs-arabic-product-parity .RelatedProductsDiv.hs-arabic-parity-card .single_variation_wrap,
	html[lang^='ar'] body.home.hs-arabic-product-parity .RelatedProductsDiv.hs-arabic-parity-card .woocommerce-variation-add-to-cart {
	width: 100% !important;
	}

	html[lang^='ar'] body.home.hs-arabic-product-parity .RelatedProductsDiv.hs-arabic-parity-card .variations {
	direction: rtl !important;
	display: block !important;
	margin: 0 !important;
	width: 100% !important;
	}

	html[lang^='ar'] body.home.hs-arabic-product-parity .RelatedProductsDiv.hs-arabic-parity-card .variations tbody,
	html[lang^='ar'] body.home.hs-arabic-product-parity .RelatedProductsDiv.hs-arabic-parity-card .variations tr {
	display: flex !important;
	width: 100% !important;
	}

	html[lang^='ar'] body.home.hs-arabic-product-parity .RelatedProductsDiv.hs-arabic-parity-card .variations tr {
	align-items: center !important;
	direction: rtl !important;
	gap: 8px !important;
	justify-content: flex-start !important;
	}

	html[lang^='ar'] body.home.hs-arabic-product-parity .RelatedProductsDiv.hs-arabic-parity-card .variations .label,
	html[lang^='ar'] body.home.hs-arabic-product-parity .RelatedProductsDiv.hs-arabic-parity-card .variations .value {
	display: flex !important;
	padding: 0 !important;
	width: auto !important;
	}

	html[lang^='ar'] body.home.hs-arabic-product-parity .RelatedProductsDiv.hs-arabic-parity-card .variations .label {
	align-items: center !important;
	flex: 0 0 auto !important;
	}

	html[lang^='ar'] body.home.hs-arabic-product-parity .RelatedProductsDiv.hs-arabic-parity-card .variations .label label {
	font-weight: 400 !important;
	margin: 0 !important;
	}

	html[lang^='ar'] body.home.hs-arabic-product-parity .RelatedProductsDiv.hs-arabic-parity-card .variations .value {
	align-items: center !important;
	flex: 0 1 auto !important;
	}

	html[lang^='ar'] body.home.hs-arabic-product-parity .RelatedProductsDiv.hs-arabic-parity-card .reset_variations {
	display: none !important;
	}

}

/* Arabic spacing contract for catalogue cards and the main product form. */
@media (min-width: 768px) {
	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .hs-arabic-parity-title {
	align-items: center !important;
	display: flex !important;
	height: 60px !important;
	justify-content: center !important;
	min-height: 60px !important;
	overflow: hidden !important;
	padding: 0 8px !important;
	width: 100% !important;
	}

	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .hs-arabic-parity-title .x-text-content,
	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .hs-arabic-parity-title .x-text-content-text {
	align-items: center !important;
	display: flex !important;
	height: auto !important;
	justify-content: center !important;
	min-height: 0 !important;
	width: 100% !important;
	}

	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .hs-arabic-parity-title h1,
	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .hs-arabic-parity-title h2,
	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .hs-arabic-parity-title h3 {
	font-size: clamp(18px, 1.35vw, 22px) !important;
	line-height: 1.2 !important;
	max-width: 100% !important;
	}

	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .variations,
	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .variations tbody,
	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .variations tr {
	display: flex !important;
	width: 100% !important;
	}

	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .variations {
	margin: 0 !important;
	}

	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .variations tr {
	align-items: center !important;
	direction: rtl !important;
	gap: 12px !important;
	justify-content: center !important;
	}

	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .variations .label,
	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .variations .value {
	align-items: center !important;
	display: flex !important;
	padding: 0 !important;
	width: auto !important;
	}

	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .variations .value {
	gap: 12px !important;
	}

	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .variations td.value {
	background: none !important;
	}

	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .variations label,
	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .reset_variations {
	margin: 0 !important;
	white-space: nowrap !important;
	}

	html[lang^='ar'] body.hs-arabic-product-parity .hs-arabic-parity-card .woocommerce-variation {
	margin-top: 10px !important;
	}

	html[lang^='ar'] body.home.hs-arabic-product-parity .RelatedProductsDiv.hs-arabic-parity-card .hs-arabic-parity-title {
	height: 60px !important;
	margin-top: clamp(14px, 1.4vw, 20px) !important;
	min-height: 60px !important;
	}
}

html[lang^='ar'] body.hs-arabic-product-parity .SingleVarProductAddToCart form.variations_form {
box-sizing: border-box !important;
padding-block: 16px !important;
}

html[lang^='ar'] body.hs-arabic-product-parity .SingleVarProductAddToCart .variations,
html[lang^='ar'] body.hs-arabic-product-parity .SingleVarProductAddToCart .variations tbody,
html[lang^='ar'] body.hs-arabic-product-parity .SingleVarProductAddToCart .variations tr {
box-sizing: border-box !important;
display: flex !important;
width: 100% !important;
}

html[lang^='ar'] body.hs-arabic-product-parity .SingleVarProductAddToCart .variations {
margin: 0 0 12px !important;
}

html[lang^='ar'] body.hs-arabic-product-parity .SingleVarProductAddToCart .variations tr {
align-items: center !important;
direction: rtl !important;
gap: 12px !important;
justify-content: flex-start !important;
}

html[lang^='ar'] body.hs-arabic-product-parity .SingleVarProductAddToCart .variations th,
html[lang^='ar'] body.hs-arabic-product-parity .SingleVarProductAddToCart .variations td {
align-items: center !important;
display: flex !important;
padding: 0 !important;
width: auto !important;
}

html[lang^='ar'] body.hs-arabic-product-parity .SingleVarProductAddToCart .variations td.value {
background: none !important;
gap: 12px !important;
}

html[lang^='ar'] body.hs-arabic-product-parity .SingleVarProductAddToCart .variations label,
html[lang^='ar'] body.hs-arabic-product-parity .SingleVarProductAddToCart .reset_variations {
margin: 0 !important;
white-space: nowrap !important;
}

html[lang^='ar'] body.hs-arabic-product-parity .SingleVarProductAddToCart select#pa_weight,
html[lang^='ar'] body.hs-arabic-product-parity .SingleVarProductAddToCart select#pa_volume,
html[lang^='ar'] body.hs-arabic-product-parity .SingleVarProductAddToCart select {
-webkit-appearance: none !important;
appearance: none !important;
background-color: #fff !important;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23164d78' d='M1 1l5 6 5-6z'/%3E%3C/svg%3E") !important;
background-position: right 14px center !important;
background-repeat: no-repeat !important;
background-size: 12px 8px !important;
border: 2px solid var(--hs-arabic-card-blue) !important;
border-color: var(--hs-arabic-card-blue) !important;
border-style: solid !important;
border-width: 2px !important;
border-radius: 999px !important;
border-image: none !important;
box-shadow: none !important;
color: var(--hs-arabic-card-blue) !important;
direction: ltr !important;
height: 40px !important;
min-height: 40px !important;
padding: 0 38px 0 16px !important;
text-align: center !important;
text-align-last: center !important;
width: 180px !important;
}

html[lang^='ar'] body.hs-arabic-product-parity .SingleVarProductAddToCart select:focus-visible {
outline: 3px solid rgba(22, 77, 120, 0.28) !important;
outline-offset: 2px !important;
}

html[lang^='ar'] body.hs-arabic-product-parity .SingleVarProductAddToCart .woocommerce-variation {
margin-top: 10px !important;
}

html[lang^='ar'] body.hs-arabic-product-parity .SingleVarProductAddToCart .woocommerce-variation-price {
text-align: right !important;
}
