/* Daleel Nafees final professional template cleanup 20260816 */
body {
	direction: rtl;
	font-family: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif !important;
}

:where(.dn-main, .dn-wrap, .dn-section, .dn-card, .dn-content, .dn-page-header, .dn-list, .dn-related) {
	direction: rtl;
	text-align: start;
}

:where(.dn-main, .dn-content, .dn-card, .dn-page-header, .dn-list, .dn-related) :where(h1, h2, h3, h4, p, li, span, strong, a) {
	letter-spacing: 0 !important;
	unicode-bidi: plaintext;
}

:where([dir="ltr"], [lang="en"], code, pre, kbd, samp, .ltr, .dn-en, .latin) {
	direction: ltr !important;
	text-align: left !important;
	unicode-bidi: isolate !important;
}

.dn-wrap {
	width: min(100% - 32px, 1120px);
}

.dn-page-header,
.dn-product-input,
.dn-empty {
	border-radius: 8px !important;
	padding: clamp(1.15rem, 2.2vw, 1.75rem) !important;
	text-align: start !important;
}

h1,
.dn-h1,
.dn-page-header h1 {
	font-size: clamp(1.9rem, 3vw, 2.65rem) !important;
	line-height: 1.25 !important;
	max-inline-size: 34ch;
	text-align: start !important;
}

h2,
.dn-content h2,
.dn-related h2 {
	font-size: clamp(1.25rem, 1.8vw, 1.7rem) !important;
	line-height: 1.4 !important;
	text-align: start !important;
}

h3,
.dn-content h3 {
	font-size: clamp(1.05rem, 1.25vw, 1.22rem) !important;
	line-height: 1.5 !important;
}

.dn-lead,
.dn-content :where(p, li),
.dn-card :where(p, li, a) {
	font-size: 1rem !important;
	line-height: 1.85 !important;
	text-align: start !important;
}

.dn-content {
	max-width: min(100% - 32px, 900px) !important;
	padding-block: clamp(1.25rem, 2vw, 2rem) clamp(2rem, 3vw, 3rem) !important;
}

.dn-list,
.dn-grid {
	display: grid !important;
	gap: 1rem !important;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)) !important;
}

.dn-card {
	border-radius: 8px !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: flex-start !important;
	min-block-size: 9.5rem !important;
	padding: clamp(1rem, 1.8vw, 1.25rem) !important;
	text-align: start !important;
}

.dn-card__link,
.dn-card a {
	align-items: flex-start !important;
	display: inline-flex !important;
	font-size: 1rem !important;
	line-height: 1.65 !important;
	text-align: start !important;
}

.dn-card h2 {
	font-size: clamp(1.05rem, 1.3vw, 1.22rem) !important;
	line-height: 1.55 !important;
	margin: 0 !important;
}

.dn-related {
	border-top: 1px solid var(--dn-line);
	margin-top: clamp(1.5rem, 3vw, 2.25rem) !important;
	padding-top: clamp(1rem, 2vw, 1.5rem) !important;
}

.dn-related ul {
	display: grid;
	gap: 0.5rem;
	margin: 0;
	padding-inline-start: 1.1rem;
}

.dn-search-form input,
.dn-search-form button {
	font-size: 1rem !important;
}

.dn-site-footer {
	margin-top: 32px !important;
}

@media (max-width: 720px) {
	.dn-wrap,
	.dn-content {
		width: min(100% - 24px, 1120px) !important;
	}

	h1,
	.dn-h1,
	.dn-page-header h1 {
		font-size: clamp(1.65rem, 8vw, 2.2rem) !important;
	}
}
/* End Daleel Nafees final professional template cleanup 20260816 */
