/*
Theme Name: ذُخر
Author: ذُخر
Description: صفحة تعريفية لتطبيق ذُخر بنفس شكل التطبيق: ألوان هادئة، كروت مدوّرة، ووضع داكن تلقائي. كل الخطوط محفوظة داخل القالب وما فيه أي أداة تتبع. يشتغل مع إضافة ذُخر (زر التحميل والعروض).
Version: 1.1.1
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dhukhr-theme
Tags: rtl-language-support, full-site-editing, block-patterns, one-column
*/

/* ---------- أساسيات ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
/* المحتوى عربي: المحرر كمان من اليمين حتى لو لوحة ووردبريس إنجليزي */
body { direction: rtl; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
::selection { background: var(--wp--preset--color--sage); color: #0E1A15; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
.dx-main > * { margin-block-start: 0 !important; }
a { text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--wp--preset--color--pri); outline-offset: 3px; border-radius: 8px; }

/* ---------- الرأس ---------- */
.dx-sticky {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--wp--preset--color--bg) 80%, transparent);
	-webkit-backdrop-filter: saturate(1.6) blur(16px);
	backdrop-filter: saturate(1.6) blur(16px);
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--line) 80%, transparent);
}
.admin-bar .dx-sticky { top: 32px; }
@media (max-width: 782px) { .admin-bar .dx-sticky { top: 46px; } }
@media (max-width: 600px) { .admin-bar .dx-sticky { top: 0; } }
.dx-header-row { padding-block: 10px; gap: 16px; }
.dx-header-row > * { margin: 0 !important; }
.dx-header-row p { margin: 0; }
.dx-brand { gap: 10px; align-items: center; }
.dx-brand > * { margin: 0 !important; }
.dx-logo { margin: 0; flex: none; }
.dx-logo img { width: 38px; height: 38px; border-radius: 50% !important; display: block; }
.dx-site-title { margin: 0; font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 22px; line-height: 1; }
.dx-site-title a { color: var(--wp--preset--color--ink); text-decoration: none; }
.dx-nav { gap: 26px; }
.dx-header-end { gap: 14px; align-items: center; }
.dx-header-end > *, .dx-header-end p { margin: 0 !important; }
.dx-lang { color: var(--wp--preset--color--ink) !important; text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--wp--preset--color--line); white-space: nowrap; }
.dx-lang:hover { border-color: var(--wp--preset--color--pri); color: var(--wp--preset--color--pri) !important; }
.dx-lang[lang="ar"] { font-family: var(--wp--preset--font-family--body); }
/* الصفحات الإنجليزية من اليسار لليمين */
body.dx-en { direction: ltr; }
body.dx-en .dhukhr-offer-body b { text-align: left; }
body.dx-en .dx-lead, body.dx-en .dx-sub { letter-spacing: 0; }
body.dx-en .dx-h1 { line-height: 1.12 !important; letter-spacing: -0.015em; }
body.dx-en .dx-h2 { line-height: 1.2; letter-spacing: -0.01em; }
.dx-nav a { color: var(--wp--preset--color--ink) !important; text-decoration: none; opacity: .78; transition: opacity .15s; }
.dx-nav a:hover { opacity: 1; color: var(--wp--preset--color--pri) !important; }
@media (max-width: 900px) { .dx-nav { display: none !important; } }

/* ---------- عناصر مشتركة ---------- */
.dx-section { padding-block: clamp(36px, 5vw, 60px); }
.dx-eyebrow {
	width: fit-content; margin-block-end: 14px !important;
	background: var(--wp--preset--color--pri-soft); color: var(--wp--preset--color--pri);
	font-weight: 700; font-size: 13.5px; line-height: 1; padding: 9px 14px; border-radius: 999px;
}
.dx-h1 { font-size: var(--wp--preset--font-size--xx-large) !important; line-height: 1.3 !important; margin-block: 0 18px !important; letter-spacing: 0; }
.dx-h2 { font-size: clamp(28px, 4.2vw, 46px); line-height: 1.35; margin-block: 0 14px !important; }
.dx-h1, .dx-h2, .dx-h3 { text-wrap: balance; }
.dx-lead, .dx-sub, .dx-card p, .dx-fine { text-wrap: pretty; }
.dx-fine a { white-space: nowrap; }
.dx-h3 { font-size: 19px; margin-block: 18px 6px !important; }
.dx-lead { font-size: clamp(17px, 1.7vw, 20px); color: var(--wp--preset--color--sub); max-width: 34em; margin-block: 0 26px !important; line-height: 1.8; }
.dx-sub { font-size: clamp(16px, 1.5vw, 18px); color: var(--wp--preset--color--sub); max-width: 40em; margin-block: 0 !important; }
.dx-fine { font-size: 14px; color: var(--wp--preset--color--sub); }
.dx-head { margin-block-end: clamp(28px, 4vw, 48px) !important; }
.dx-head > * { margin-block-start: 0 !important; }
.dx-head.is-center { text-align: center; }
.dx-head.is-center .dx-sub { margin-inline: auto !important; }

.dx-card, .dx-step {
	background: var(--wp--preset--color--card);
	border-radius: 28px; padding: 26px 24px 24px;
	box-shadow: 0 1px 2px rgba(15, 42, 30, .04), 0 12px 32px rgba(15, 42, 30, .06);
	transition: transform .2s ease, box-shadow .2s ease;
}
.dx-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(15, 42, 30, .05), 0 18px 40px rgba(15, 42, 30, .09); }
.dx-card > *, .dx-step > *, .dx-mini > * { margin-block-start: 0; }
.dx-card p, .dx-step p:not(.dx-num) { color: var(--wp--preset--color--sub); margin: 0; font-size: 16px; line-height: 1.7; }
.dx-grid { gap: 16px; }
/* أعمدة ثابتة بدل auto-fill عشان ما يبقى عمود فاضي أو كرت يتيم */
.dx-grid.is-layout-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dx-dark .dx-grid.is-layout-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .dx-dark .dx-grid.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .dx-grid.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dx-steps.is-layout-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
	.dx-grid.is-layout-grid, .dx-dark .dx-grid.is-layout-grid { grid-template-columns: 1fr; gap: 12px; }
	/* في الجوال: الأيقونة جنب الكلام عشان الصفحة ما تطول */
	.dx-card, .dx-step, .dx-mini { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: start; padding: 18px; border-radius: 24px; }
	.dx-card > .dx-ico, .dx-step > .dx-num, .dx-mini > .dx-ico { grid-row: span 2; }
	.dx-card .dx-h3, .dx-step .dx-h3, .dx-mini .dx-h3 { margin-block: 2px 4px !important; font-size: 17px; }
	.dx-card p, .dx-step p:not(.dx-num) { font-size: 15px; }
	.dx-ico { width: 46px; height: 46px; }
	.dx-ico img { width: 23px !important; height: 23px !important; }
	.dx-num { width: 46px; height: 46px; font-size: 22px; }
}

.dx-ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin: 0 !important; flex: none; }
.dx-ico img { width: 26px !important; height: 26px !important; border-radius: 0 !important; }
.dx-ico-xl { width: clamp(120px, 16vw, 180px); height: clamp(120px, 16vw, 180px); margin-inline: auto !important; box-shadow: 0 20px 40px rgba(120, 80, 10, .18); }
.dx-ico-xl img { width: 46% !important; height: 46% !important; }
.dx-tone-sage { background: var(--wp--preset--color--sage); }
.dx-tone-peach { background: var(--wp--preset--color--peach); }
.dx-tone-pink { background: var(--wp--preset--color--pink); }
.dx-tone-lavender { background: var(--wp--preset--color--lavender); }
.dx-tone-sky { background: var(--wp--preset--color--sky); }
.dx-tone-mint { background: var(--wp--preset--color--mint); }
.dx-tone-card { background: #FFFFFF; }

/* أزرار */
.wp-element-button, .dhukhr-dl { transition: transform .15s ease, filter .15s ease; }
.wp-element-button:hover, .dhukhr-dl:hover { transform: translateY(-1px); filter: brightness(1.05); }
.dx-cta-row { gap: 12px; align-items: center; margin-block: 0 22px !important; }
.dx-cta-row > *, .dx-cta-row p { margin: 0 !important; }
.wp-block-button.is-style-outline > .wp-block-button__link {
	min-height: 56px; display: inline-flex; align-items: center;
	background: var(--wp--preset--color--card); color: var(--wp--preset--color--ink);
	border: 1px solid var(--wp--preset--color--line); padding-block: 8px;
}
.wp-block-buttons.is-center { justify-content: center; }
.dhukhr-dl { min-height: 56px; font-size: 16px; }
/* لو إضافة ذُخر مو مفعلة، زر "قريباً" يبقى مرتب */
.dhukhr-dl.is-soon { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 22px; border-radius: 999px; background: var(--wp--preset--color--line); color: var(--wp--preset--color--ink); font-weight: 700; }
.dhukhr-dl.is-small { min-height: 42px; padding: 6px 18px; font-size: 14px; box-shadow: none; }
.dhukhr-dl.is-small small { display: none; }
@media (max-width: 420px) { .dhukhr-dl.is-small { padding: 6px 14px; font-size: 13px; } }

/* قائمة الصح */
.dx-ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14.5px; color: var(--wp--preset--color--sub); }
.dx-ticks li, .dx-checks li { position: relative; padding-inline-start: 26px; }
.dx-ticks li::before, .dx-checks li::before {
	content: ""; position: absolute; inset-inline-start: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%;
	background: var(--wp--preset--color--pri) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.dx-checks { list-style: none; padding: 0; margin: 6px 0 24px; display: grid; gap: 10px; font-size: 17px; }
.dx-checks li { padding-inline-start: 32px; }
.dx-checks li::before { width: 22px; height: 22px; top: .3em; background-size: 13px; }

/* ---------- الواجهة ---------- */
.dx-hero {
	padding-block: clamp(24px, 4vw, 64px) clamp(24px, 3vw, 40px);
	background:
		radial-gradient(48% 46% at 22% 38%, color-mix(in srgb, var(--wp--preset--color--sage) 55%, transparent), transparent 72%),
		radial-gradient(34% 32% at 80% 8%, color-mix(in srgb, var(--wp--preset--color--peach) 40%, transparent), transparent 72%);
}
.dx-hero-cols { gap: clamp(24px, 4vw, 56px); }
.dx-hero-text > * { margin-block-start: 0; }

.dx-phone { margin: 0; }
.dx-phone img {
	display: block; width: 100%; height: auto; aspect-ratio: 600 / 1298; object-fit: cover;
	border-radius: clamp(24px, 3vw, 38px) !important; border: 7px solid #0D0E0F; background: #0D0E0F;
	box-shadow: 0 34px 60px -24px rgba(16, 44, 32, .38), 0 12px 24px -12px rgba(16, 44, 32, .25);
}
.dx-phones { position: relative; width: 100%; max-width: 520px; aspect-ratio: 10 / 12.2; margin-inline: auto; }
.dx-phones > * { margin: 0 !important; }
.dx-phones .is-front { position: absolute; width: 54%; inset-inline-end: 9%; top: 0; z-index: 2; }
.dx-phones .is-back { position: absolute; width: 47%; inset-inline-end: 47%; top: 7%; z-index: 1; transform: rotate(7deg); filter: saturate(.95); }
body.dx-en .dx-phones .is-back { transform: rotate(-7deg); }
.dx-phones .dx-chip {
	position: absolute; z-index: 3; inset-inline-end: 0; bottom: 9%; width: max-content; max-width: 70%;
	padding: 12px 18px 12px 22px; border-radius: 22px;
	background: rgba(255, 255, 255, .58); border: 1px solid rgba(255, 255, 255, .8);
	-webkit-backdrop-filter: blur(18px) saturate(1.7); backdrop-filter: blur(18px) saturate(1.7);
	box-shadow: 0 18px 40px -12px rgba(16, 44, 32, .28), inset 0 1px 0 rgba(255, 255, 255, .9);
}
.dx-chip p { margin: 0 !important; line-height: 1.3; }
.dx-chip-label { font-size: 13px; color: var(--wp--preset--color--sub); }
.dx-chip-num { font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: clamp(20px, 2.4vw, 28px); color: var(--wp--preset--color--ink); }

@media (max-width: 781px) {
	.dx-hero-cols { flex-direction: column; }
	.dx-hero-text { text-align: start; }
	.dx-phones { max-width: 380px; margin-top: 8px; }
}

/* ---------- صور التطبيق: شاشة وحدة تتقلب (assets/js/site.js) ---------- */
#screens { overflow-x: clip; }
.dx-show { max-width: 1060px; margin-inline: auto !important; }
.dx-show > * { margin: 0 !important; }
/* بدون جافاسكربت: الصور جنب بعض وتتمرر */
.dx-show-stage { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; }
.dx-show-stage > .dx-phone { flex: 0 0 clamp(180px, 20vw, 220px); scroll-snap-align: center; margin: 0 !important; }
.dx-show-stage figcaption { text-align: center; font-size: 14px; line-height: 1.6; color: var(--wp--preset--color--sub); margin-top: 12px; }
.dx-show-stage figcaption strong { color: var(--wp--preset--color--ink); font-size: 15px; }

.dx-show.is-live { display: grid; grid-template-columns: minmax(0, 440px) auto; justify-content: center; align-items: center; gap: clamp(32px, 7vw, 110px); }
.dx-show.is-live .dx-show-stage {
	display: block; position: relative; isolation: isolate; overflow: visible; padding: 0;
	/* أكبر شي يناسب طول الشاشة عشان الجوال يبان كامل */
	width: min(clamp(270px, 27vw, 330px), calc((100svh - 110px) * .462)); aspect-ratio: 600 / 1298; justify-self: center;
}
.dx-show.is-live .dx-show-stage::before {
	content: ""; position: absolute; z-index: -1; inset: 6% -32%; border-radius: 50%;
	background: radial-gradient(closest-side, color-mix(in srgb, var(--wp--preset--color--sage) 75%, transparent), transparent);
}
.dx-show.is-live .dx-phone {
	position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(16px) scale(.97);
	transition: opacity .45s ease, transform .6s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .6s;
}
.dx-show.is-live .dx-phone.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dx-show.is-live .dx-phone img { width: 100%; height: 100%; aspect-ratio: auto; box-sizing: border-box; border-width: 8px; border-radius: clamp(30px, 3.4vw, 44px) !important; }
.dx-show.is-live figcaption { display: none; }

.dx-show-nav { display: grid; gap: 4px; }
.dx-show-tab {
	all: unset; box-sizing: border-box; cursor: pointer; position: relative; overflow: hidden;
	display: grid; gap: 2px; padding: 16px 22px 20px; border-radius: 22px; text-align: start;
	color: var(--wp--preset--color--sub); transition: background-color .25s ease, box-shadow .25s ease;
}
.dx-show-tab b { font-weight: 700; font-size: 19px; line-height: 1.5; color: var(--wp--preset--color--ink); opacity: .6; transition: opacity .2s ease; }
.dx-show-tab span { font-size: 15.5px; line-height: 1.65; }
.dx-show-tab:hover b { opacity: .9; }
.dx-show-tab[aria-selected="true"] { background: var(--wp--preset--color--card); box-shadow: 0 1px 2px rgba(15, 42, 30, .05), 0 14px 34px rgba(15, 42, 30, .08); }
.dx-show-tab[aria-selected="true"] b { opacity: 1; }
.dx-show-tab:focus-visible, .dx-show-toggle:focus-visible { outline: 2px solid var(--wp--preset--color--pri); outline-offset: 2px; }
.dx-show-bar { position: absolute; inset-inline: 22px; bottom: 9px; height: 3px; border-radius: 3px; background: var(--wp--preset--color--line); opacity: 0; transition: opacity .2s; }
.dx-show-bar > i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--wp--preset--color--pri); }
.dx-show.is-playing .dx-show-tab[aria-selected="true"] .dx-show-bar { opacity: 1; }
.dx-show.is-playing .dx-show-tab[aria-selected="true"] .dx-show-bar > i { animation: dx-fill 4.5s linear forwards; }
.dx-show.is-held .dx-show-bar > i { animation-play-state: paused !important; }
@keyframes dx-fill { to { width: 100%; } }
.dx-show-toggle {
	all: unset; box-sizing: border-box; cursor: pointer; width: 42px; height: 42px; border-radius: 50%;
	display: grid; place-items: center; margin: 10px 22px 0; color: var(--wp--preset--color--ink);
	border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--card);
}
.dx-show-toggle svg { width: 16px; height: 16px; fill: currentColor; }
.dx-show-desc { display: none; }

@media (max-width: 760px) {
	.dx-show.is-live { grid-template-columns: minmax(0, 1fr); gap: 22px; justify-items: center; }
	.dx-show.is-live .dx-show-stage { width: min(72vw, 310px, calc((100svh - 200px) * .462)); }
	.dx-show-nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; max-width: 520px; }
	.dx-show-tab { padding: 8px 16px 10px; border-radius: 999px; border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--card); }
	.dx-show-tab b { font-size: 15px; opacity: 1; }
	.dx-show-tab span { display: none; }
	.dx-show-tab[aria-selected="true"] { background: var(--wp--preset--color--pri); border-color: var(--wp--preset--color--pri); box-shadow: none; }
	.dx-show-tab[aria-selected="true"] b { color: #FFFFFF; }
	.dx-show-bar { inset-inline: 14px; bottom: 3px; height: 2px; background: rgba(255, 255, 255, .3); }
	.dx-show-bar > i { background: #FFFFFF; }
	.dx-show-toggle { margin: 0; width: 38px; height: 38px; }
	.dx-show-desc { display: block; margin: 0 !important; text-align: center; color: var(--wp--preset--color--sub); font-size: 16px; line-height: 1.7; min-height: 3.4em; max-width: 26em; text-wrap: balance; }
}

/* ---------- الخصوصية ---------- */
.dx-dark {
	position: relative; overflow: hidden; isolation: isolate;
	background: #0B0B0C; color: #EEF2EF; border-radius: clamp(28px, 4vw, 40px);
	padding: clamp(36px, 6vw, 72px) clamp(20px, 4vw, 56px);
}
.dx-dark::before {
	content: ""; position: absolute; z-index: -1; inset: -30% -10% auto auto; width: 60%; aspect-ratio: 1;
	background: radial-gradient(closest-side, rgba(61, 187, 134, .28), transparent);
}
.dx-dark .dx-eyebrow { background: rgba(61, 187, 134, .16); color: #7FE0B5; }
.dx-dark .dx-h2, .dx-dark h3 { color: #FFFFFF; }
.dx-dark .dx-sub, .dx-dark .dx-fine { color: #A9B4AE; }
.dx-dark .dx-fine { margin-top: 28px !important; }
.dx-dark a { color: #7FE0B5; font-weight: 600; }
.dx-dark .dx-head { text-align: center; }
.dx-dark .dx-head .dx-sub { margin-inline: auto !important; }
.dx-mini {
	background: rgba(255, 255, 255, .055); border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 24px; padding: 20px;
}
.dx-mini .dx-ico { width: 44px; height: 44px; }
.dx-mini .dx-ico img { width: 22px !important; height: 22px !important; }
.dx-mini .dx-h3 { font-size: 17px; margin-block: 14px 4px !important; }
.dx-mini p { margin: 0; color: #A9B4AE; font-size: 15px; line-height: 1.7; }

/* ---------- الخطوات ---------- */
.dx-num {
	width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin: 0 !important;
	background: var(--wp--preset--color--pri-soft); color: var(--wp--preset--color--pri);
	font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 28px; line-height: 1;
}
.dx-num-xl { width: auto; height: auto; background: none; font-size: clamp(72px, 12vw, 128px); margin-inline: auto !important; }

/* ---------- العروض ---------- */
.dx-offers-wrap > * { margin-block-start: 0; }
.dx-offers-wrap .dhukhr-offers-empty { text-align: center; color: var(--wp--preset--color--sub); background: var(--wp--preset--color--card); border-radius: 24px; padding: 28px; }
#offers .dx-fine { margin-top: 22px !important; max-width: 40em; margin-inline: auto !important; }

/* ---------- للمتاجر ---------- */
.dx-peach {
	background: var(--wp--preset--gradient--peach); color: #13201B;
	border-radius: clamp(28px, 4vw, 40px); padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 56px);
}
.dx-peach .dx-h2 { color: #13201B; font-size: clamp(26px, 3.4vw, 38px); }
.dx-peach .dx-eyebrow { background: rgba(255, 255, 255, .6); color: #7A4F05; }
.dx-peach .dx-checks li::before { background-color: #13201B; }
.dx-stores-cols { gap: 32px; }
.dx-stores-cols p:empty { display: none; }
@media (max-width: 781px) { .dx-stores-art { display: none; } }

/* ---------- الأسئلة ---------- */
.dx-faq > * + * { margin-block-start: 12px !important; }
.dx-q { border: 1px solid transparent; box-shadow: 0 1px 2px rgba(15, 42, 30, .04), 0 8px 24px rgba(15, 42, 30, .05); }
.dx-q summary {
	list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	font-weight: 700; font-size: 17px;
}
.dx-q summary::-webkit-details-marker { display: none; }
.dx-q summary::after {
	content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
	background: var(--wp--preset--color--pri-soft); color: var(--wp--preset--color--pri); font-size: 20px; font-weight: 600; line-height: 1;
	transition: transform .2s ease;
}
.dx-q[open] summary::after { content: "−"; }
.dx-q p { color: var(--wp--preset--color--sub); margin: 10px 0 0 !important; }

/* ---------- التحميل ---------- */
.dx-cta {
	position: relative; overflow: hidden; isolation: isolate; text-align: center; color: #0E1A15;
	background: var(--wp--preset--gradient--hero); border-radius: clamp(28px, 4vw, 40px);
	padding: clamp(40px, 6vw, 80px) 24px;
}
.dx-cta::before, .dx-cta::after {
	content: ""; position: absolute; z-index: -1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55);
	background: rgba(255, 255, 255, .14);
}
.dx-cta::before { width: 340px; height: 340px; inset-inline-start: -110px; top: -140px; }
.dx-cta::after { width: 240px; height: 240px; inset-inline-end: -70px; bottom: -110px; }
.dx-cta .dx-h2 { color: #0E1A15; }
.dx-cta .dx-sub, .dx-cta .dx-fine { color: #2F4A3E; margin-inline: auto !important; }
.dx-cta .dx-cta-row { margin-block: 26px 12px !important; }

/* ---------- الذيل ---------- */
.dx-footer { padding-block: 44px 28px; border-top: 1px solid var(--wp--preset--color--line); }
.dx-foot-row { gap: 24px; align-items: flex-start; }
.dx-foot-brand > * + * { margin-block-start: 10px; }
.dx-foot-links { gap: 10px 26px; }
.dx-foot-links p { margin: 0; }
.dx-foot-links p:empty { display: none; }
.dx-foot-links a { color: var(--wp--preset--color--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.dx-foot-links a:hover { color: var(--wp--preset--color--pri); }
.dx-copy { color: var(--wp--preset--color--sub); font-size: 13px; margin-top: 32px !important; }

/* ---------- صفحات عادية ---------- */
.dx-page { padding-block: clamp(28px, 5vw, 64px); }
.dx-main > .dx-paper {
	max-width: 880px; background: var(--wp--preset--color--card); border-radius: 32px;
	padding: clamp(24px, 5vw, 56px); box-shadow: 0 1px 2px rgba(15, 42, 30, .04), 0 12px 32px rgba(15, 42, 30, .06);
}
.dx-paper.is-center { text-align: center; }
.dx-page-title { font-size: clamp(30px, 4.4vw, 46px) !important; }
.dx-paper h2 { font-size: clamp(22px, 2.6vw, 28px); margin-top: 1.6em; }
.dx-paper h3 { font-size: 19px; margin-top: 1.4em; }
.dx-paper ul, .dx-paper ol { padding-inline-start: 1.3em; }
.dx-paper li + li { margin-top: 6px; }
.dx-plain { padding-block: 0 48px; }

/* ---------- الوضع الداكن (يتبع إعداد الجهاز) ---------- */
@media (prefers-color-scheme: dark) {
	html:root, html body {
		--wp--preset--color--bg: #0B0B0C;
		--wp--preset--color--card: #161618;
		--wp--preset--color--ink: #F2F5F3;
		--wp--preset--color--sub: #9AA59F;
		--wp--preset--color--line: #27292A;
		--wp--preset--color--pri: #3DBB86;
		--wp--preset--color--pri-soft: rgba(61, 187, 134, .15);
		color-scheme: dark;
	}
	.wp-block-button:not(.is-style-outline) > .wp-block-button__link:not(.has-background) { background-color: #178560; color: #FFFFFF; }
	.dx-card, .dx-step, .dx-q, .dx-main > .dx-paper { box-shadow: none; border: 1px solid #222426; }
	.dx-card:hover { box-shadow: none; border-color: #2E3133; }
	.dx-hero {
		background:
			radial-gradient(48% 46% at 22% 38%, rgba(61, 187, 134, .16), transparent 72%),
			radial-gradient(34% 32% at 80% 8%, rgba(248, 217, 155, .08), transparent 72%);
	}
	.dx-phone img { border-color: #1D1F21; box-shadow: 0 34px 60px -24px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06); }
	.dx-phones .dx-chip { background: rgba(22, 23, 25, .78); border-color: rgba(255, 255, 255, .14); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .08); }
	.dx-chip-label { color: #B7C2BC; }
	.dx-show.is-live .dx-show-stage::before { background: radial-gradient(closest-side, rgba(61, 187, 134, .2), transparent); }
	.dx-show-tab[aria-selected="true"] { box-shadow: none; border: 1px solid #26292B; }
	.dx-show-tab[aria-selected="true"] b { color: var(--wp--preset--color--ink); }
	.dx-dark { background: #121315; border: 1px solid #222426; }
	.dx-tone-card { background: #FFFFFF; }
	.dx-nav a { opacity: .85; }
}

@media (prefers-color-scheme: dark) and (max-width: 760px) {
	.dx-show-tab { border-color: #2A2D2F; }
	.dx-show-tab[aria-selected="true"] { background: #3DBB86; border-color: #3DBB86; }
	.dx-show-tab[aria-selected="true"] b { color: #06130D; }
	.dx-show-bar { background: rgba(6, 19, 13, .2); }
	.dx-show-bar > i { background: #06130D; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.dx-show.is-live .dx-phone { transition: none; transform: none; }
	.dx-card, .wp-element-button, .dhukhr-dl { transition: none; }
	.dx-card:hover, .wp-element-button:hover, .dhukhr-dl:hover { transform: none; }
}
