/* Diwan Canada – Languages */

/* Arabic letters in the site font. Plus Jakarta Sans has no Arabic, so these faces
   (IBM Plex Sans Arabic) fill in for Arabic characters only; Latin text is unchanged. */
@font-face {
	font-family: 'Plus Jakarta Sans';
	font-style: normal;
	font-weight: 100 449;
	font-display: swap;
	src: url(https://fonts.gstatic.com/s/ibmplexsansarabic/v15/Qw3CZRtWPQCuHme67tEYUIx3Kh0PHR9N6Ys43PW5fslBEg0.woff2) format('woff2');
	unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
	font-family: 'Plus Jakarta Sans';
	font-style: normal;
	font-weight: 450 549;
	font-display: swap;
	src: url(https://fonts.gstatic.com/s/ibmplexsansarabic/v15/Qw3NZRtWPQCuHme67tEYUIx3Kh0PHR9N6YPO_-CRXMRrKATtYV0.woff2) format('woff2');
	unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
	font-family: 'Plus Jakarta Sans';
	font-style: normal;
	font-weight: 550 649;
	font-display: swap;
	src: url(https://fonts.gstatic.com/s/ibmplexsansarabic/v15/Qw3NZRtWPQCuHme67tEYUIx3Kh0PHR9N6YPi-OCRXMRrKATtYV0.woff2) format('woff2');
	unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
	font-family: 'Plus Jakarta Sans';
	font-style: normal;
	font-weight: 650 900;
	font-display: swap;
	src: url(https://fonts.gstatic.com/s/ibmplexsansarabic/v15/Qw3NZRtWPQCuHme67tEYUIx3Kh0PHR9N6YOG-eCRXMRrKATtYV0.woff2) format('woff2');
	unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

/* Arabic is joined-up writing: no letter-spacing, and no italics. */
html[lang="ar"] body,
html[lang="ar"] body * {
	letter-spacing: 0 !important;
}
html[lang="ar"] body em,
html[lang="ar"] body i:not([class*="icon"]) {
	font-style: normal;
}

/* Top menu, right to left: the theme's gap between items stays on the wrong side
   in Arabic, so the menu ran off the left edge below about 1100px. */
@media (min-width: 992px) {
	html[dir="rtl"] .cs-header.diwan-header .cs-header__nav-inner > li:not(:first-child) {
		margin-right: 0;
	}
}

/* Book descriptions follow their own text direction. */
.single-product__description[dir="auto"],
.single-product__description [dir="auto"],
[class*="product-modal"] [class*="description"][dir="auto"],
[class*="product-modal"] [class*="description"] [dir="auto"] {
	text-align: start;
}
