/* Diwan Canada – Book Descriptions */

/* Shopify's raw description is replaced by the formatted copy right after it. */
shopify-data[data-dwd-hidden] {
	display: none !important;
}

.dwd-desc p {
	margin: 0 0 0.9em;
}
.dwd-desc p:last-child,
.dwd-desc p.dwd-join {
	margin-bottom: 0;
}

/* Each paragraph follows its own language: Arabic right to left and right-aligned,
   English and French left to right and left-aligned, whatever the page language. */
.dwd-desc p[dir="rtl"] {
	direction: rtl;
	text-align: right;
}
.dwd-desc p[dir="ltr"] {
	direction: ltr;
	text-align: left;
}

/* Latin words, dates and numbers inside Arabic (and Arabic inside English)
   are kept apart so they don't flip or pull punctuation out of place. */
.dwd-desc .dwd-iso {
	unicode-bidi: isolate;
}
