/* =====================================================================
   عادل إكسبريس — ستايل هادي وراقي (مستوحى من Apple)
   ===================================================================== */
:root {
	--bg: #f5f5f7;
	--surface: #ffffff;
	--ink: #1d1d1f;
	--ink-2: #424245;
	--muted: #6e6e73;
	--faint: #86868b;
	--line: #e3e3e8;
	--line-2: #d2d2d7;
	--accent: #ff7a00;
	--accent-2: #f26b00;
	--accent-soft: #fff4ea;
	--navy: #0a2263;
	--navy-2: #14338a;
	--navy-soft: #eef2fb;
	--blue: #1a4fbf;
	--grad: linear-gradient(135deg, #ff9a1f 0%, #ff7a00 45%, #e8480c 100%);
	--sale: #e3342f;
	--ok: #1f9d55;
	--r-lg: 28px;
	--r: 20px;
	--r-sm: 14px;
	--shadow-1: 0 1px 2px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.04);
	--shadow-2: 0 10px 40px rgba(0,0,0,.08);
	--ease: cubic-bezier(.25,.1,.25,1);
	--spring: cubic-bezier(.3,1.35,.5,1);
	--gh: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.is-locked { overflow: hidden; }
body {
	margin: 0; background: var(--bg); color: var(--ink);
	font-family: 'IBM Plex Sans Arabic', 'Inter', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
	font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
	letter-spacing: -.005em;
}
html[lang=en] body { font-family: 'Inter', 'IBM Plex Sans Arabic', system-ui, -apple-system, sans-serif; letter-spacing: -.011em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.ic { flex: 0 0 auto; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 2000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1550px; margin: 0 auto; padding: 0 22px; }
.wrap.narrow { max-width: 820px; }
.main { min-height: 60vh; padding-bottom: 32px; }

/* ---------- الشريط الإخباري ---------- */
.tk { background: #fff; color: var(--ink); height: 36px; overflow: hidden; display: flex; align-items: center; font-size: 13px; font-weight: 500; position: relative; border-bottom: 1px solid rgba(10,34,99,.08); }
.tk::before, .tk::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 1; pointer-events: none; }
.tk::before { right: 0; background: linear-gradient(to left, #fff, rgba(255,255,255,0)); }
.tk::after { left: 0; background: linear-gradient(to right, #fff, rgba(255,255,255,0)); }
.tk__track { display: flex; align-items: center; white-space: nowrap; animation: tk 70s linear infinite; }
.tk:hover .tk__track { animation-play-state: paused; }
.tk__item { padding: 0 22px; }
.tk__p { color: var(--navy); text-decoration: none; display: inline-flex; align-items: baseline; gap: 6px; }
.tk__p:hover .tk__n { text-decoration: underline; }
.tk__n { color: var(--ink); opacity: .85; }
.tk__pr { color: var(--navy); font-weight: 700; }
.tk__old { color: #86868b; font-size: .88em; }
.tk__off { font-style: normal; font-weight: 700; font-size: .82em; color: #fff; background: linear-gradient(135deg, #ff9a3c, #ff6a00); border-radius: 999px; padding: 1px 7px; }
.tk__sep { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
@keyframes tk { to { transform: translateX(50%); } }
[dir=ltr] .tk__track { animation-name: tk-ltr; }
@keyframes tk-ltr { to { transform: translateX(-50%); } }

/* ---------- الهيدر ---------- */
.gh {
	position: sticky; top: 0; z-index: 100; height: var(--gh);
	background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
	border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.gh.is-scrolled { border-bottom-color: rgba(0,0,0,.08); box-shadow: 0 6px 24px rgba(0,0,0,.04); }
.gh__in { height: 100%; display: flex; align-items: center; gap: 18px; }
.logo { display: inline-flex; align-items: center; flex: 0 0 auto; line-height: 0; }
.logo img { height: 30px; width: auto; }
.gh__nav { overflow: hidden; }
.gh__nav { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; }
.gh__link {
	display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 999px; border: 0; background: none; cursor: pointer;
	font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: background .2s, color .2s;
}
.gh__link:hover, .gh__link.is-on, .mega-btn[aria-expanded=true] { background: rgba(0,0,0,.05); color: var(--ink); }
.gh__link--hot { color: var(--accent-2); }
.gh__link--hot:hover, .gh__link--hot.is-on { background: var(--accent-soft); color: var(--accent-2); }
.gh__link .chev { transition: transform .25s var(--ease); opacity: .6; }
.mega-btn[aria-expanded=true] .chev { transform: rotate(180deg); }
.gh__actions { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.gh__search { display: flex; align-items: center; gap: 8px; height: 38px; width: 220px; padding: 0 12px; border-radius: 999px; background: rgba(0,0,0,.05); color: var(--muted); transition: width .3s var(--ease), background .2s, box-shadow .2s; }
.gh__search:focus-within { width: 280px; background: #fff; box-shadow: 0 0 0 1px var(--line-2), 0 4px 14px rgba(0,0,0,.06); color: var(--ink); }
.gh__search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 14px; color: var(--ink); }
.gh__icon { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: none; color: var(--ink); cursor: pointer; transition: background .2s; }
.gh__icon:hover { background: rgba(0,0,0,.05); }
.gh__lang { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 11px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-2); border: 1px solid var(--line); transition: .2s; }
.gh__lang:hover { border-color: var(--ink); color: var(--ink); }
.gh__lang[lang=ar] span { font-family: 'IBM Plex Sans Arabic', sans-serif; }
.gh__cart b, .tabbar__ic b {
	position: absolute; top: 2px; inset-inline-end: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px;
	background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff;
}
.gh__burger, .gh__search-btn { display: none; }
.bump { animation: bump .5s var(--spring); }
@keyframes bump { 40% { transform: scale(1.22); } }

/* القايمة الكبيرة */
.mega-wrap { position: static; }
.mega {
	position: absolute; left: 0; right: 0; top: 100%; background: #fff;
	border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0,0,0,.08);
	opacity: 0; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.mega.is-open { opacity: 1; transform: none; }
.mega__in { display: grid; grid-template-columns: repeat(3, 1fr) 1.15fr; gap: 28px; padding-top: 28px; padding-bottom: 32px; }
.mega__col h4 { margin: 0 0 10px; font-size: 12px; font-weight: 600; color: var(--faint); letter-spacing: .02em; }
.mega__item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; margin-inline: -10px; border-radius: 12px; transition: background .15s; }
.mega__item:hover { background: var(--bg); }
.mega__item > span:last-child { display: flex; flex-direction: column; font-weight: 600; font-size: 14.5px; line-height: 1.35; }
.mega__item small { font-weight: 400; color: var(--faint); font-size: 12px; }
.mega__ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--navy-soft); color: var(--navy); }
.mega__item:hover .mega__ic { background: #fff; color: var(--accent-2); box-shadow: var(--shadow-1); }
.mega__promo { position: relative; border-radius: var(--r); overflow: hidden; background: var(--grad); min-height: 240px; display: flex; align-items: flex-end; }
.mega__promo-ic { position: absolute; top: 22px; inset-inline-start: 22px; color: #fff; opacity: .95; transition: transform .5s var(--spring); }
.mega__promo::before { content: "%"; position: absolute; inset-inline-end: -10px; top: -40px; font-size: 220px; font-weight: 800; line-height: 1; color: rgba(255,255,255,.14); }
.mega__promo:hover .mega__promo-ic { transform: rotate(-12deg) scale(1.08); }
.mega__promo > span { position: relative; margin: 14px; padding: 12px 16px; border-radius: 16px; background: rgba(255,255,255,.88); backdrop-filter: blur(12px); display: flex; flex-direction: column; font-size: 13px; color: var(--muted); }
.mega__promo b { color: var(--ink); font-size: 16px; }

/* البحث */
.so { position: fixed; inset: 0; z-index: 1200; }
.so__bg { position: absolute; inset: 0; background: rgba(0,0,0,.28); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; }
.so__panel { position: relative; background: #fff; padding: 20px 0 26px; transform: translateY(-100%); transition: transform .35s var(--ease); box-shadow: var(--shadow-2); }
.so.is-open .so__bg { opacity: 1; }
.so.is-open .so__panel { transform: none; }
.so__form { max-width: 760px; margin: 0 auto; padding: 0 22px; display: flex; align-items: center; gap: 12px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.so__form input { flex: 1; border: 0; outline: none; font-size: 22px; font-weight: 500; color: var(--ink); background: none; min-width: 0; }
.so__links { max-width: 760px; margin: 16px auto 0; padding: 0 22px; display: flex; flex-direction: column; }
.so__links span { font-size: 12px; color: var(--faint); margin-bottom: 6px; }
.so__links a { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.so__links a:hover { color: var(--blue); }

/* الدرج الجانبي */
.drawer { position: fixed; inset: 0; z-index: 1100; }
.drawer__bg { position: absolute; inset: 0; background: rgba(0,0,0,.35); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.drawer__panel {
	position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: min(380px, 88vw); background: #fff; overflow-y: auto; overscroll-behavior: contain;
	padding: 0 18px calc(24px + env(safe-area-inset-bottom)); transform: translateX(100%); transition: transform .38s var(--ease); box-shadow: 0 0 60px rgba(0,0,0,.18);
}
[dir=ltr] .drawer__panel { transform: translateX(-100%); }
.drawer.is-open .drawer__bg { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { position: sticky; top: 0; z-index: 1; background: #fff; display: flex; align-items: center; justify-content: space-between; padding: 14px 0 12px; }
.drawer__head .logo img { height: 28px; }
.drawer__search { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 12px; background: var(--bg); color: var(--muted); margin-bottom: 12px; }
.drawer__search input { flex: 1; border: 0; outline: none; background: none; font-size: 15px; color: var(--ink); min-width: 0; }
.drawer__hot { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: linear-gradient(135deg, #fff4ea, #ffe6cf); color: var(--accent-2); margin-bottom: 6px; }
.drawer__hot > span { width: 38px; height: 38px; border-radius: 11px; background: #fff; display: grid; place-items: center; }
.drawer__hot b { flex: 1; color: var(--ink); font-weight: 600; }
.drawer__sec { padding: 10px 0; border-bottom: 1px solid var(--line); }
.drawer__sec h4 { margin: 6px 4px 6px; font-size: 12px; font-weight: 600; color: var(--faint); }
.drawer__item { display: flex; align-items: center; gap: 12px; padding: 9px 4px; border-radius: 12px; transition: background .15s; }
.drawer__item:active, .drawer__item.is-on { background: var(--bg); }
.drawer__ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--bg); }
.drawer__t { flex: 1; font-weight: 500; font-size: 15px; }
.drawer__item small { color: var(--faint); font-size: 12px; }
.drawer__item .chev, .drawer__hot .chev { color: var(--faint); }
.drawer__foot { border-bottom: 0; }

/* شريط التنقل تحت */
.tabbar { display: none; }

/* ---------- عام ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border: 0; border-radius: 12px;
	background: var(--navy); color: #fff; font-weight: 600; font-size: 15px; cursor: pointer; text-align: center; transition: background .2s, transform .15s, box-shadow .2s;
}
.btn:hover { background: var(--navy-2); }
.btn:active { transform: scale(.98); }
.btn--pill { border-radius: 999px; background: var(--grad); }
.btn--pill:hover { background: var(--accent-2); }
.btn--accent { background: var(--grad); box-shadow: 0 6px 18px rgba(255,122,0,.25); }
.btn--accent:hover { background: var(--accent-2); }
.btn--ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { background: var(--bg); }
.btn--wa { background: #1faf54; }
.btn--wa:hover { background: #179447; }
.btn--block { width: 100%; }
.btn--lg { min-height: 54px; font-size: 17px; border-radius: 14px; }
.btn.is-loading { opacity: .6; pointer-events: none; }
.btn-link { display: inline-flex; align-items: center; gap: 2px; color: var(--blue); font-weight: 500; }
.btn-link:hover { text-decoration: underline; }
.link { display: block; text-align: center; margin-top: 12px; color: var(--blue); font-size: 14px; }
.flash { margin: 16px 0; padding: 14px 18px; border-radius: 14px; font-weight: 500; background: #e9f7ef; color: #14532d; }
.flash--err { background: #fdecec; color: #8a1c1c; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--faint); margin: 18px 0 14px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.page-title { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -.02em; margin: 26px 0 20px; }
.empty-page { text-align: center; padding: 70px 16px; }
.empty-page .big { font-size: 72px; line-height: 1; font-weight: 700; color: var(--line-2); margin-bottom: 10px; }
.empty-page h1, .empty-page h2 { font-weight: 700; letter-spacing: -.02em; }
.empty-page p { color: var(--muted); }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 20px; }
.chip { background: #fff; padding: 8px 16px; border-radius: 999px; font-size: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }

/* ---------- سلايدر الرئيسية ---------- */
.hero { position: relative; overflow: hidden; }
.hero__track { display: grid; }
.hero__slide { grid-area: 1 / 1; background: var(--hbg, var(--bg)); opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility .8s; }
.hero__slide.is-on { opacity: 1; visibility: visible; }
.hero__in { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 30px; min-height: 520px; padding-top: 30px; padding-bottom: 50px; }
.hero__txt { max-width: 520px; }
.hero__eyebrow { display: inline-block; font-size: 15px; font-weight: 600; color: var(--accent-2); margin-bottom: 8px; }
.hero__title { margin: 0 0 12px; font-size: clamp(34px, 5.2vw, 60px); line-height: 1.08; font-weight: 700; letter-spacing: -.03em; }
.hero__sub { margin: 0 0 26px; font-size: clamp(17px, 2vw, 22px); color: var(--ink-2); line-height: 1.5; }
.hero__cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero__cta .btn { min-height: 46px; padding: 0 26px; font-size: 16px; }
.hero__img img { width: 100%; max-height: 460px; object-fit: contain; mix-blend-mode: multiply; transform: scale(.96); transition: transform 1.2s var(--ease); }
.hero__slide.is-on .hero__img img { transform: none; }
.hero__slide .hero__txt > * { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.hero__slide.is-on .hero__txt > * { opacity: 1; transform: none; }
.hero__slide.is-on .hero__txt > :nth-child(2) { transition-delay: .08s; }
.hero__slide.is-on .hero__txt > :nth-child(3) { transition-delay: .16s; }
.hero__slide.is-on .hero__txt > :nth-child(4) { transition-delay: .24s; }
.hero__dots { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.hero__dots button { width: 34px; height: 20px; border: 0; background: none; cursor: pointer; padding: 0; display: grid; place-items: center; }
.hero__dots i { display: block; width: 8px; height: 8px; border-radius: 99px; background: rgba(0,0,0,.2); transition: width .35s var(--ease), background .35s; }
.hero__dots .is-on i { width: 28px; background: var(--navy); }

/* ---------- شريط أيقونات الأقسام ---------- */
.catrail { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 26px 0 6px; margin: 0 -4px; }
.catrail::-webkit-scrollbar { display: none; }
.catrail__i { flex: 0 0 auto; width: 104px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 6px 4px; border-radius: 16px; text-align: center; }
.catrail__ic { width: 68px; height: 68px; border-radius: 22px; background: #fff; display: grid; place-items: center; color: var(--navy); box-shadow: var(--shadow-1); transition: transform .3s var(--spring), color .2s, box-shadow .2s; }
.catrail__i:hover .catrail__ic { transform: translateY(-4px); color: var(--accent-2); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.catrail__i b { font-size: 13px; font-weight: 500; line-height: 1.3; color: var(--ink-2); }
.catrail__i--hot .catrail__ic { background: var(--grad); color: #fff; }

/* ---------- الأقسام ---------- */
.sec { margin: 44px 0; }
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.sec__head h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; color: var(--navy); }
.sec__head h2::after { content: ""; display: block; width: 38px; height: 4px; border-radius: 4px; background: var(--grad); margin-top: 10px; }
.sec__tools { display: flex; align-items: center; gap: 8px; }
.sec__more { display: inline-flex; align-items: center; gap: 2px; color: var(--blue); font-size: 15px; font-weight: 500; margin-inline-end: 6px; }
.sec__more:hover { text-decoration: underline; }
.rail-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(0,0,0,.06); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.rail-btn:hover { background: rgba(0,0,0,.12); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 16px; margin: -6px -2px 0; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

/* بنتو */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 300px 300px; gap: 16px; }
.bento__i { position: relative; overflow: hidden; border-radius: var(--r-lg); background: #fff; display: flex; flex-direction: column; box-shadow: var(--shadow-1); transition: box-shadow .3s, transform .3s var(--ease); }
.bento__i:hover { box-shadow: 0 18px 44px rgba(0,0,0,.1); transform: translateY(-3px); }
.bento__i img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.bento__i:hover img { transform: scale(1.04); }
.bento__txt { position: relative; z-index: 1; padding: 22px 24px; display: flex; flex-direction: column; gap: 2px; background: linear-gradient(to bottom, rgba(255,255,255,.95) 55%, rgba(255,255,255,0)); padding-bottom: 50px; }
.bento__txt b { font-size: 22px; font-weight: 700; letter-spacing: -.015em; }
.bento__txt small { color: var(--muted); font-size: 14px; }
.bento__txt .btn-link { margin-top: 6px; font-size: 14px; }
.bento__i--0 { grid-column: span 2; grid-row: span 2; }
.bento__i--0 .bento__txt b { font-size: 30px; }
.bento__i--0 img { object-fit: contain; top: 20%; height: 80%; }

/* الماركات */
.brands { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.brand { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.brand__img { width: 100%; aspect-ratio: 1; border-radius: 24px; overflow: hidden; background: #fff; box-shadow: var(--shadow-1); transition: transform .3s var(--spring), box-shadow .3s; }
.brand__img img { width: 100%; height: 100%; object-fit: cover; }
.brand:hover .brand__img { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.1); }
.brand b { font-weight: 600; font-size: 15px; }

/* كارت منتج */
.pc { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-1); transition: transform .35s var(--ease), box-shadow .35s; min-width: 0; }
.pc:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(0,0,0,.1); }
.pc__img { display: block; aspect-ratio: 1; padding: 18px; background: #fff; }
.pc__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.pc:hover .pc__img img { transform: scale(1.05); }
.pc__body { display: flex; flex-direction: column; gap: 4px; padding: 4px 16px 18px; flex: 1; }
.pc__brand { font-size: 12px; font-weight: 600; color: var(--accent-2); letter-spacing: .01em; }
.pc__name { font-size: 14.5px; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.pc__spec { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc__price { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 17px; color: var(--navy); }
.pc__price del, .pd__price del, .adelf-price del { color: var(--faint); font-weight: 400; font-size: .78em; margin-inline-end: 6px; }
.pc__price ins, .pd__price ins, .adelf-price ins { text-decoration: none; color: var(--sale); }
.pc__off { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2; background: var(--sale); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.ask { color: var(--muted); font-size: .85em; font-weight: 500; }

/* قريباً */
.soon__banner { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 360px; display: flex; align-items: flex-end; }
.soon__banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.soon__label { position: relative; margin: 22px; padding: 20px 24px; max-width: 460px; border-radius: 22px; background: rgba(255,255,255,.9); backdrop-filter: blur(16px); }
.soon__label span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--accent-2); }
.soon__label h2 { margin: 4px 0 6px; font-size: 26px; letter-spacing: -.02em; line-height: 1.25; }
.soon__label p { margin: 0; color: var(--muted); font-size: 15px; }
.soon__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 14px; }
.soon__i { position: relative; border-radius: var(--r); overflow: hidden; background: #fff; aspect-ratio: 1; box-shadow: var(--shadow-1); }
.soon__i img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }
.soon__i b { position: absolute; bottom: 12px; inset-inline-start: 12px; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); padding: 4px 12px; border-radius: 99px; font-size: 13px; }
.soon__i small { position: absolute; top: 12px; inset-inline-end: 12px; background: var(--navy); color: #fff; padding: 2px 10px; border-radius: 99px; font-size: 11px; font-weight: 600; }

/* الثقة والفوتر */
.trust { background: #fff; border-top: 1px solid var(--line); margin-top: 40px; }
.trust__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; padding-top: 30px; padding-bottom: 30px; }
.trust__in > div { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
.trust__in .ic { grid-row: span 2; color: var(--accent-2); }
.trust__in b { color: var(--navy); }
.trust__in b { font-size: 15px; font-weight: 600; }
.trust__in span { font-size: 13px; color: var(--muted); }
.ftr { background: var(--bg); color: var(--muted); font-size: 13.5px; border-top: 1px solid var(--line); }
.ftr__top { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); gap: 26px; padding: 40px 0 26px; }
.ftr__brand .logo img { height: 30px; }
.ftr__brand p { max-width: 280px; line-height: 1.7; margin-top: 14px; }
.ftr h4 { margin: 0 0 10px; color: var(--navy); font-size: 13px; font-weight: 600; }
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li { margin: 7px 0; }
.ftr li a { display: inline-flex; align-items: center; gap: 6px; }
.ftr a:hover { color: var(--ink); text-decoration: underline; }
.ftr__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 16px 0 26px; border-top: 1px solid var(--line-2); font-size: 12.5px; color: var(--faint); }

.wa-float { position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; background: #1faf54; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(31,175,84,.4); transition: transform .3s var(--spring); }
.wa-float:hover { transform: scale(1.08); }
.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 1300; display: flex; align-items: center; gap: 14px; background: rgba(29,29,31,.94); backdrop-filter: blur(10px); color: #fff; padding: 12px 20px; border-radius: 14px; font-size: 14.5px; font-weight: 500; box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.toast.is-in { animation: toast .45s var(--spring); }
.toast a { color: #ffb066; font-weight: 600; }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 16px); } }

/* ---------- صفحة المنتج ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; margin-top: 6px; }
.pd__gallery, .pd__info { min-width: 0; }
.pd__gallery { position: sticky; top: calc(var(--gh) + 20px); }
.pd__main { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); background: #fff; overflow: hidden; box-shadow: var(--shadow-1); }
.pd__main img { width: 100%; height: 100%; object-fit: contain; padding: 36px; transition: opacity .12s; }
.pd__main img.is-swap { opacity: 0; }
.pd__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.pd__thumbs button { flex: 0 0 76px; height: 76px; border: 0; border-radius: 14px; background: #fff; padding: 6px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.pd__thumbs button.is-on { box-shadow: inset 0 0 0 2px var(--ink); }
.pd__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd__brand { display: inline-block; color: var(--accent-2); font-weight: 600; font-size: 15px; }
.pd__title { font-size: clamp(24px, 3vw, 34px); line-height: 1.25; font-weight: 700; letter-spacing: -.02em; margin: 6px 0 14px; }
.pd__price { font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.pd__save { display: inline-block; background: #fdecec; color: var(--sale); font-weight: 600; font-size: 13.5px; padding: 3px 12px; border-radius: 99px; margin-top: 6px; }
.pd__stock { margin: 12px 0; font-weight: 500; font-size: 14.5px; }
.pd__stock.in { color: var(--ok); }
.pd__stock.out { color: var(--sale); }
.pd__short { color: var(--ink-2); margin: 12px 0; font-size: 15px; }
.pd__buy { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 0; }
.pd__buy .btn { flex: 1 1 160px; min-height: 52px; border-radius: 14px; font-size: 16px; }
.btn--wa { width: 100%; margin-top: 10px; min-height: 50px; border-radius: 14px; }
.pd__perks { list-style: none; margin: 18px 0 0; padding: 16px 18px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-1); display: grid; gap: 10px; font-size: 14px; color: var(--ink-2); }
.pd__perks li { display: flex; align-items: center; gap: 10px; }
.pd__perks .ic { color: var(--accent-2); }
.qty { display: inline-flex; align-items: center; background: #fff; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line-2); height: 52px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--ink); }
.qty input { width: 44px; border: 0; text-align: center; font-weight: 600; background: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.specs { width: 100%; border-collapse: collapse; margin-top: 24px; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-1); }
.specs th, .specs td { padding: 13px 18px; text-align: start; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.specs th { color: var(--muted); font-weight: 500; width: 40%; }
.specs td { font-weight: 600; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.pd__desc .rte { background: #fff; border-radius: var(--r); padding: 26px; box-shadow: var(--shadow-1); overflow-x: auto; line-height: 1.8; color: var(--ink-2); }
.rte img { height: auto; }
.rte table { border-collapse: collapse; width: 100%; }
.rte td, .rte th { border: 1px solid var(--line); padding: 8px 12px; }

/* ---------- السلة والطلب ---------- */
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 26px; align-items: start; }
.cart__items, .checkout { background: #fff; border-radius: var(--r); padding: 8px 22px 22px; box-shadow: var(--shadow-1); }
.ci { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ci__img img { width: 96px; height: 96px; object-fit: contain; border-radius: 14px; background: var(--bg); padding: 8px; }
.ci__name { font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ci__price { color: var(--muted); font-size: 14px; }
.ci__total { font-weight: 700; min-width: 110px; text-align: end; }
.ci__rm { border: 0; background: none; color: var(--faint); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 16px; }
.ci__rm:hover { background: #fdecec; color: var(--sale); }
.ci .qty { height: 42px; }
.ci .qty button { width: 36px; }
.cart__items > .btn { margin-top: 16px; }
.summary { background: #fff; border-radius: var(--r); padding: 22px; box-shadow: var(--shadow-1); position: sticky; top: calc(var(--gh) + 20px); }
.summary h3 { margin: 0 0 12px; font-size: 20px; letter-spacing: -.01em; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin: 16px 0; font-size: 15px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; }
.summary .tot { font-size: 20px; color: var(--ink); font-weight: 700; border-top: 1px solid var(--line); padding-top: 14px; }
.mini { list-style: none; margin: 0; padding: 0; max-height: 320px; overflow: auto; }
.mini li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.mini img { width: 52px; height: 52px; object-fit: contain; background: var(--bg); border-radius: 10px; padding: 4px; }
.mini em { font-style: normal; font-weight: 600; }
.checkout fieldset { border: 0; padding: 0; margin: 14px 0 22px; }
.checkout legend { font-weight: 700; font-size: 20px; letter-spacing: -.01em; margin-bottom: 14px; }
.checkout label { display: block; font-weight: 500; font-size: 14px; margin-bottom: 14px; color: var(--ink-2); }
.checkout input:not([type=radio]), .checkout select, .checkout textarea {
	display: block; width: 100%; margin-top: 6px; border: 0; border-radius: 12px; padding: 13px 14px; background: var(--bg); font-size: 15.5px; color: var(--ink);
	box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .2s, background .2s;
}
.checkout input:focus, .checkout select:focus, .checkout textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--blue); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.err { color: var(--sale); font-weight: 500; font-size: 13px; display: block; margin-top: 6px; }
.pay { display: flex !important; flex-wrap: wrap; align-items: center; gap: 12px; border-radius: 14px; padding: 16px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .2s, background .2s; }
.pay:has(input:checked) { box-shadow: inset 0 0 0 2px var(--blue); background: #f5f9ff; }
.pay input { accent-color: var(--blue); width: 18px; height: 18px; }
.pay span { font-weight: 600; color: var(--ink); }
.pay small { flex-basis: 100%; color: var(--muted); font-weight: 400; }
.thanks { text-align: center; background: #fff; border-radius: var(--r-lg); padding: 44px 24px; margin: 28px 0; box-shadow: var(--shadow-1); }
.thanks .big { font-size: 64px; line-height: 1; }
.thanks h1 { font-size: 28px; letter-spacing: -.02em; }
.thanks p { color: var(--ink-2); }
.order-box { background: #fff; border-radius: var(--r); padding: 22px; box-shadow: var(--shadow-1); }
.order-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 16px; color: var(--muted); font-size: 14px; }
.order-meta b { color: var(--ink); }
.otable { width: 100%; border-collapse: collapse; }
.otable th, .otable td { padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: start; font-size: 14.5px; }
.otable th { color: var(--muted); font-weight: 500; }
.otable .tot td { font-weight: 700; font-size: 18px; border-bottom: 0; }
.addr { color: var(--muted); }

/* ظهور ناعم */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =====================================================================
   التجاوب
   ===================================================================== */
@media (max-width: 1560px) {
	.gh__nav .gh__link:not(.mega-btn):not(.gh__link--hot):nth-of-type(n+5) { display: none; }
}
@media (max-width: 1180px) {
	.gh__search { width: 180px; }
	.gh__search:focus-within { width: 220px; }
	.gh__nav .gh__link:not(.mega-btn):not(.gh__link--hot):nth-of-type(n+3) { display: none; }
	.rail { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
	.brands { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 980px) {
	:root { --gh: 58px; }
	.gh__nav, .gh__search { display: none; }
	.gh__burger, .gh__search-btn { display: inline-grid; }
	.gh__in { gap: 6px; }
	.gh__in .logo { flex: 1 1 0; min-width: 0; justify-content: center; }
	.gh__in .logo img { height: auto; max-height: 28px; max-width: 100%; object-fit: contain; }
	.gh__actions { margin-inline-start: 0; gap: 2px; }
	.hero__in { grid-template-columns: 1fr; text-align: center; min-height: 0; gap: 8px; padding-top: 34px; padding-bottom: 56px; }
	.hero__txt { max-width: none; margin: 0 auto; }
	.hero__cta { justify-content: center; }
	.hero__img { order: 2; }
	.hero__img img { max-height: 320px; margin: 0 auto; }
	.bento { grid-template-columns: repeat(2, 1fr); grid-template-rows: 380px repeat(2, 240px); }
	.bento__i--0 { grid-column: span 2; grid-row: span 1; }
	.pd { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.pd__gallery { position: static; }
	.cart { grid-template-columns: minmax(0, 1fr); }
	.summary { position: static; }
	.ftr__top { grid-template-columns: 1fr 1fr; }
	.ftr__brand { grid-column: span 2; }
	.soon__grid { grid-template-columns: repeat(3, 1fr); }

	/* شريط التنقل */
	body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
	.wa-float { bottom: calc(80px + env(safe-area-inset-bottom)); width: 48px; height: 48px; }
	.toast { bottom: calc(84px + env(safe-area-inset-bottom)); max-width: 92vw; }
	.gh__user { display: none; }
	.tabbar {
		display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 95; left: 0; right: 0; bottom: 0;
		height: calc(62px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
		background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
		border-top: 1px solid rgba(0,0,0,.08);
	}
	.tabbar > a, .tabbar > button {
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: none; cursor: pointer;
		color: var(--faint); font-size: 10.5px; font-weight: 500; -webkit-tap-highlight-color: transparent; transition: color .2s;
	}
	.tabbar .is-on { color: var(--accent-2); }
	.tabbar .ic { transition: transform .3s var(--spring); }
	.tabbar .is-on .ic { transform: translateY(-1px); stroke-width: 2.1; }
	.tabbar > :active .ic { transform: scale(.88); }
	.tabbar__ic { position: relative; display: inline-flex; }
	.tabbar__ic b { top: -5px; inset-inline-end: -9px; }
}
@media (max-width: 700px) {
	body { font-size: 15px; }
	.wrap { padding: 0 16px; }
	.tk { height: 30px; font-size: 12px; }
	.gh__lang { display: none; }
	.hero__title { font-size: 32px; }
	.hero__sub { font-size: 16px; margin-bottom: 18px; }
	.hero__img img { max-height: 240px; }
	.catrail { padding-top: 20px; }
	.catrail__i { width: 80px; }
	.catrail__ic { width: 58px; height: 58px; border-radius: 18px; }
	.catrail__i b { font-size: 12px; }
	.sec { margin: 32px 0; }
	.rail-btn { display: none; }
	.rail { grid-auto-columns: 46%; gap: 12px; }
	.pc__img { padding: 12px; }
	.pc__body { padding: 2px 12px 14px; }
	.pc__name { font-size: 13.5px; }
	.pc__price { font-size: 15.5px; }
	.bento { grid-template-rows: 300px repeat(2, 190px); gap: 12px; }
	.bento__txt { padding: 16px 16px 40px; }
	.bento__txt b { font-size: 17px; }
	.bento__i--0 .bento__txt b { font-size: 24px; }
	.bento__txt small { font-size: 12.5px; }
	.brands { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 30%; overflow-x: auto; scrollbar-width: none; gap: 12px; }
	.brand__img { border-radius: 18px; }
	.brand b { font-size: 13px; }
	.soon__banner { min-height: 460px; }
	.soon__label { margin: 12px; padding: 16px; }
	.soon__label h2 { font-size: 21px; }
	.soon__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; overflow-x: auto; scrollbar-width: none; }
	.pd__main img { padding: 18px; }
	.pd__price { font-size: 26px; }
	.ci { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; }
	.ci__img img { width: 72px; height: 72px; }
	.ci .qty { grid-column: 2; }
	.ci__total { grid-column: 3; grid-row: 1; min-width: 0; }
	.ci__rm { grid-column: 3; justify-self: end; }
	.two { grid-template-columns: 1fr; }
	.ftr__top { grid-template-columns: 1fr 1fr; gap: 18px; }
	.trust__in { grid-template-columns: 1fr 1fr; gap: 16px; }
	.trust__in > div { grid-template-columns: 1fr; text-align: center; justify-items: center; row-gap: 4px; }
	.trust__in .ic { grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	.tk__track { animation: none; }
}

/* =====================================================================
   أول سيكشن — كروت الأقسام (ستايل Apple: أبيض + ظل ناعم + صور فول)
   ===================================================================== */
.aex-cards { background: var(--bg); padding: 26px 0 8px; }
.aex-in { max-width: 1550px; margin: 0 auto; padding: 0 22px; }
.aex-carousel { position: relative; }
.aex-track {
	display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 6px 4px 28px; margin: -6px -4px 0;
}
.aex-track::-webkit-scrollbar { display: none; }
.aex-card {
	--c: var(--accent);
	scroll-snap-align: start; flex: 0 0 calc((100% - 40px) / 3); min-width: 0;
	display: flex; flex-direction: column; padding: 0 0 20px; border-radius: 26px; background: #fff;
	box-shadow: 0 1px 2px rgba(10,34,99,.04), 0 12px 32px rgba(10,34,99,.08);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.aex-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(10,34,99,.05), 0 22px 48px rgba(10,34,99,.13); }
.aex-c-mobiles, .aex-c-elec { --c: #2f7fd6; }

.aex-card__title { margin: 0; padding: 22px 22px 14px; font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: var(--navy); display: flex; align-items: center; gap: 10px; }
.aex-card__title::after { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--c); }
.aex-card__title a:hover { color: var(--accent-2); }
.aex-card__tiles, .aex-tabs, .aex-deals__wrap { margin: 0 20px; }

/* المربعات 2×2 — الصورة مالية المربع */
.aex-card__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; flex: 1; }
.aex-tile { position: relative; display: block; min-width: 0; border-radius: 18px; overflow: hidden; }
.aex-tile__img {
	position: relative; display: grid; place-items: center; aspect-ratio: 1; background: var(--navy-soft); color: var(--navy);
	border-radius: 18px; overflow: hidden; box-shadow: 0 4px 14px rgba(10,34,99,.08);
}
.aex-tile__img .ic { opacity: .35; }
.aex-tile__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #fff; transition: transform .6s var(--ease); }
.aex-tile:hover .aex-tile__img img { transform: scale(1.07); }
.aex-tile__label {
	position: absolute; inset-inline: 8px; bottom: 8px; padding: 6px 10px; border-radius: 12px;
	background: rgba(255,255,255,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	font-size: 13px; font-weight: 700; color: var(--navy); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	box-shadow: 0 2px 8px rgba(0,0,0,.06); transition: background .2s, color .2s;
}
.aex-tile:hover .aex-tile__label { background: var(--navy); color: #fff; }

/* تابات ماركات الموبايلات */
.aex-tabs { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.aex-tabs__nav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.aex-tab { font-size: 13px; font-weight: 600; line-height: 1; color: var(--ink-2); background: var(--bg); padding: 8px 14px; border-radius: 999px; transition: .2s; }
.aex-tab:hover { color: var(--navy); background: var(--navy-soft); }
.aex-tab.is-active { background: var(--navy); color: #fff; }
.aex-tabs__panel { position: relative; display: block; flex: 1; min-height: 260px; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 6px 20px rgba(10,34,99,.1); }
.aex-tabs__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .2s; }
.aex-tabs__img.is-swap { opacity: 0; }
.aex-tabs__panel:hover .aex-tabs__img { transform: scale(1.05); }
.aex-tabs__cta, .aex-hero__cta {
	position: absolute; inset-inline: 0; bottom: 0; display: block; text-align: center; color: #fff; font-size: 15px; font-weight: 700;
	padding: 40px 16px 16px; background: linear-gradient(to top, rgba(10,34,99,.9), rgba(10,34,99,0));
}
.aex-tabs__brand { color: #ffae5c; }

/* عروض اليوم */
.aex-deals__wrap { display: flex; flex-direction: column; flex: 1; min-height: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 6px 20px rgba(10,34,99,.1); }
.aex-ticker { position: relative; height: 44px; flex: 0 0 auto; display: flex; align-items: center; overflow: hidden; background: var(--navy); }
.aex-ticker__track { display: flex; align-items: center; white-space: nowrap; will-change: transform; animation: aex-tk 26s linear infinite; }
[dir=ltr] .aex-ticker__track { animation-name: aex-tk-ltr; }
.aex-ticker:hover .aex-ticker__track { animation-play-state: paused; }
.aex-ticker__item { font-size: 13px; font-weight: 600; color: #fff; padding: 0 8px; }
.aex-ticker__sep { color: var(--accent); font-weight: 900; padding: 0 4px; }
@keyframes aex-tk { to { transform: translateX(50%); } }
@keyframes aex-tk-ltr { to { transform: translateX(-50%); } }
.aex-card__hero { position: relative; display: block; flex: 1; min-height: 220px; overflow: hidden; background: #fff; }
.aex-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.aex-card__hero:hover .aex-hero__img { transform: scale(1.05); }
.aex-hero__off { position: absolute; z-index: 1; top: 12px; inset-inline-start: 12px; background: var(--grad); color: #fff; font-weight: 800; font-size: 15px; padding: 5px 13px; border-radius: 99px; box-shadow: 0 6px 16px rgba(232,72,12,.35); }
.aex-hero__cta { display: flex; flex-direction: column; gap: 2px; }
.aex-hero__name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .92; }
.aex-hero__cta b { font-size: 19px; color: #ffae5c; }
.aex-deals__all { display: block; text-align: center; padding: 12px; font-size: 14px; font-weight: 700; color: var(--navy); background: var(--navy-soft); transition: background .2s, color .2s; }
.aex-deals__all:hover { background: var(--grad); color: #fff; }

/* الأسهم والنقط */
.aex-nav {
	position: absolute; top: 50%; transform: translateY(-60%); z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
	display: grid; place-items: center; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); color: var(--navy);
	box-shadow: 0 8px 24px rgba(10,34,99,.18); transition: background .2s, color .2s, opacity .2s;
}
.aex-nav:hover { background: var(--navy); color: #fff; }
.aex-nav--prev { inset-inline-start: -10px; }
.aex-nav--next { inset-inline-end: -10px; }
.aex-nav[disabled] { opacity: 0; pointer-events: none; }
.aex-dots { display: flex; justify-content: center; gap: 7px; margin-top: -10px; }
.aex-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(10,34,99,.18); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.aex-dot.is-active { width: 26px; background: var(--navy); }

@media (min-width: 1400px) {
	.rail { grid-auto-columns: calc((100% - 5 * 16px) / 6); }
}
@media (max-width: 1024px) {
	.aex-card { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 700px) {
	.aex-cards { padding: 16px 0 4px; }
	.aex-in { padding: 0; }
	.aex-track { gap: 12px; padding: 6px 4% 22px; margin: -6px 0 0; scroll-padding-inline: 4%; }
	.aex-card { flex-basis: 86%; border-radius: 22px; padding-bottom: 14px; }
	.aex-card__title { padding: 16px 16px 10px; font-size: 17px; }
	.aex-card__tiles, .aex-tabs, .aex-deals__wrap { margin: 0 14px; }
	.aex-card__tiles { gap: 10px; }
	.aex-tile__label { font-size: 12px; inset-inline: 6px; bottom: 6px; padding: 5px 8px; }
	.aex-tabs__panel { min-height: 230px; }
	.aex-nav { display: none; }
}

/* =====================================================================
   الهيدر: حسابي
   ===================================================================== */
.gh__av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 14px; font-weight: 700; }
.drawer__quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 12px; }
.drawer__quick a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 16px; background: var(--bg); color: var(--navy); font-size: 12.5px; font-weight: 600; text-align: center; }
.hp { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; opacity: 0; pointer-events: none; }
.center-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.chk { display: flex !important; align-items: center; gap: 8px; font-weight: 500; }
.chk input { width: 18px; height: 18px; accent-color: var(--navy); }
.co-acc { display: flex; align-items: center; gap: 10px; padding: 12px 16px; margin-bottom: 16px; border-radius: 14px; background: var(--navy-soft); color: var(--navy); font-size: 14px; }
.co-acc a { font-weight: 700; text-decoration: underline; }
.pd__row2 { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.pd__row2 > * { flex: 1 1 180px; }
.pd__wl .btn { width: 100%; }
.pd__wl .btn.is-on { color: var(--sale); box-shadow: inset 0 0 0 1.5px var(--sale); }
.pd__wl .btn.is-on .ic { fill: currentColor; }

/* =====================================================================
   التتبع (الخط الزمني)
   ===================================================================== */
.tl { list-style: none; margin: 8px 0 0; padding: 0; position: relative; }
.tl__i { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding-bottom: 22px; }
.tl__i:last-child { padding-bottom: 0; }
.tl__i::before { content: ""; position: absolute; top: 40px; bottom: 0; inset-inline-start: 19px; width: 2px; background: var(--line); }
.tl__i:last-child::before { display: none; }
.tl__i.is-done::before { background: var(--navy); }
.tl__dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--faint); box-shadow: inset 0 0 0 1.5px var(--line); position: relative; z-index: 1; }
.is-done .tl__dot { background: var(--navy); color: #fff; box-shadow: none; }
.is-now .tl__dot { background: var(--grad); color: #fff; box-shadow: 0 0 0 6px rgba(255,122,0,.16); animation: tlPulse 2s infinite; }
.is-stop .tl__dot { background: var(--sale); color: #fff; box-shadow: none; }
@keyframes tlPulse { 50% { box-shadow: 0 0 0 10px rgba(255,122,0,.06); } }
.tl__txt { padding-top: 8px; }
.tl__txt b { display: block; font-size: 15.5px; color: var(--navy); }
.is-todo .tl__txt b { color: var(--faint); font-weight: 500; }
.tl__txt time { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.tl__txt p { margin: 6px 0 0; font-size: 14px; color: var(--ink-2); }
.tl__note { background: var(--bg); border-radius: 10px; padding: 8px 12px; }
.tl__ship { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; padding: 14px 16px; border-radius: 16px; background: var(--navy-soft); color: var(--navy); }
.tl__ship > div { flex: 1; display: flex; flex-direction: column; }
.tl__ship span { font-size: 13.5px; color: var(--ink-2); }
.tl__ship code { font-weight: 700; color: var(--navy); }
.track-box h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 19px; color: var(--navy); }
.track { padding-bottom: 30px; }
.track__hero { text-align: center; padding: 34px 0 10px; }
.track__ic { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 24px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 14px 30px rgba(232,72,12,.28); }
.track__hero h1 { margin: 0; font-size: clamp(28px, 4vw, 40px); color: var(--navy); letter-spacing: -.02em; }
.track__hero p { color: var(--muted); margin: 8px auto 0; max-width: 460px; }
.track__form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; background: #fff; padding: 18px; border-radius: 24px; box-shadow: var(--shadow-2); margin: 24px 0; }
.track__form label span { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.track__form input { width: 100%; height: 50px; border: 0; border-radius: 14px; background: var(--bg); padding: 0 16px; font-size: 16px; font-weight: 600; letter-spacing: .02em; outline: none; }
.track__form input:focus { background: #fff; box-shadow: inset 0 0 0 2px var(--navy); }
.track__form .btn { height: 50px; }
.track__sub { font-size: 18px; color: var(--navy); margin: 26px 0 12px; }
.track__acc { text-align: center; color: var(--muted); display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; }
.track__acc a { color: var(--navy); font-weight: 700; text-decoration: underline; }

/* شارة حالة الطلب */
.ost { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 99px; font-size: 12.5px; font-weight: 600; white-space: nowrap; background: var(--bg); color: var(--ink-2); }
.ost--new { background: #fff4e5; color: #b45309; }
.ost--confirmed, .ost--processing { background: #e8f0fe; color: #1a4fbf; }
.ost--shipped, .ost--out_for_delivery { background: #f1ebff; color: #6d28d9; }
.ost--delivered { background: #e7f7ee; color: #15803d; }
.ost--cancelled, .ost--returned { background: #fdecec; color: #b91c1c; }
.olist { display: grid; gap: 10px; }
.olist__i { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-1); transition: transform .25s var(--ease), box-shadow .25s; }
.olist__i:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.07); }
.olist__imgs { display: flex; }
.olist__imgs img { width: 46px; height: 46px; border-radius: 12px; object-fit: contain; background: #fff; box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(0,0,0,.08); margin-inline-start: -12px; }
.olist__imgs img:first-child { margin-inline-start: 0; }
.olist__txt { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.olist__txt b { color: var(--navy); }
.olist__txt span { font-size: 13px; color: var(--muted); }

/* =====================================================================
   الحساب
   ===================================================================== */
.acc { padding-top: 26px; padding-bottom: 40px; }
.auth { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 360px); justify-content: center; gap: 40px; align-items: center; padding: 20px 0; }
.auth__card { background: #fff; border-radius: 28px; padding: 30px; box-shadow: var(--shadow-2); }
.auth__logo { display: flex; justify-content: center; margin-bottom: 22px; }
.auth__logo img { height: 34px; width: auto; }
.auth__title { text-align: center; color: var(--navy); font-size: 22px; margin: 0 0 16px; }
.auth__tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border-radius: 14px; padding: 4px; margin-bottom: 20px; }
.auth__tabs a { text-align: center; padding: 10px; border-radius: 11px; font-weight: 600; color: var(--muted); transition: .2s; }
.auth__tabs a.is-on { background: #fff; color: var(--navy); box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.auth__form label { display: block; font-size: 14px; font-weight: 500; color: var(--ink-2); margin-bottom: 14px; }
.auth__form input { display: block; width: 100%; height: 50px; margin-top: 6px; border: 0; border-radius: 14px; background: var(--bg); padding: 0 16px; font-size: 16px; outline: none; transition: box-shadow .2s, background .2s; }
.auth__form input:focus { background: #fff; box-shadow: inset 0 0 0 2px var(--navy); }
.auth__form .btn { margin-top: 6px; height: 52px; }
.auth__link { display: inline-block; font-size: 13.5px; color: var(--navy); font-weight: 600; margin: -4px 0 14px; }
.auth__hint { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin: 4px 0 12px; }
.pw { position: relative; display: block; }
.pw input { padding-inline-end: 48px !important; }
.pw__eye { position: absolute; top: 6px; inset-inline-end: 6px; width: 38px; height: 38px; border: 0; border-radius: 10px; background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.auth__perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.auth__perks li { display: flex; gap: 14px; align-items: flex-start; }
.auth__perks li > .ic { flex: 0 0 auto; width: 48px; height: 48px; padding: 12px; border-radius: 16px; background: #fff; color: var(--accent-2); box-shadow: var(--shadow-1); }
.auth__perks b { display: block; color: var(--navy); font-size: 16px; }
.auth__perks span { color: var(--muted); font-size: 14px; }

.acc__grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 26px; align-items: start; }
.acc__side { position: sticky; top: calc(var(--gh) + 16px); background: #fff; border-radius: 24px; padding: 18px; box-shadow: var(--shadow-1); }
.acc__me { display: flex; align-items: center; gap: 12px; padding: 4px 4px 16px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.acc__av { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 20px; font-weight: 700; flex: 0 0 auto; }
.acc__me b { display: block; color: var(--navy); }
.acc__me small { color: var(--muted); }
.acc__side nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: var(--ink-2); font-weight: 500; transition: background .2s; }
.acc__side nav a span { flex: 1; }
.acc__side nav a small { background: var(--bg); border-radius: 99px; padding: 0 8px; font-size: 12px; }
.acc__side nav a:hover { background: var(--bg); }
.acc__side nav a.is-on { background: var(--navy); color: #fff; }
.acc__side nav a.is-on small { background: rgba(255,255,255,.2); }
.acc__out { width: 100%; margin-top: 10px; display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 0; border-radius: 12px; background: none; color: var(--sale); font-weight: 600; cursor: pointer; }
.acc__out:hover { background: #fdecec; }
.acc__h { margin: 0 0 18px; font-size: 28px; color: var(--navy); letter-spacing: -.02em; }
.acc__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.acc__stats a { background: #fff; border-radius: 20px; padding: 18px; box-shadow: var(--shadow-1); display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; transition: transform .25s var(--ease); }
.acc__stats a:hover { transform: translateY(-3px); }
.acc__stats .ic { grid-row: span 2; width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--navy-soft); color: var(--navy); }
.acc__stats b { font-size: 24px; color: var(--navy); line-height: 1.1; }
.acc__stats span { color: var(--muted); font-size: 13.5px; }
.acc__card { background: #fff; border-radius: 22px; padding: 22px; box-shadow: var(--shadow-1); margin-bottom: 18px; }
.acc__card h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--navy); font-size: 17px; }
.acc__card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.acc__card-h h2 { margin: 0; font-size: 18px; color: var(--navy); }
.acc__empty { text-align: center; background: #fff; border-radius: 22px; padding: 40px 20px; box-shadow: var(--shadow-1); color: var(--muted); }
.acc__empty .ic { color: var(--faint); margin: 0 auto 8px; }
.wl { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.muted { color: var(--muted); }

/* =====================================================================
   الشات
   ===================================================================== */
.chat { position: fixed; z-index: 1200; bottom: 22px; inset-inline-start: 22px; }
.chat__fab {
	position: relative; width: 60px; height: 60px; border: 0; border-radius: 50%; cursor: pointer; color: #fff; background: var(--grad);
	display: grid; place-items: center; box-shadow: 0 12px 30px rgba(232,72,12,.38), 0 2px 6px rgba(0,0,0,.12); transition: transform .35s var(--spring);
}
.chat__fab:hover { transform: scale(1.07); }
.chat__fab-ic { grid-area: 1 / 1; display: grid; transition: transform .35s var(--spring), opacity .2s; }
.chat__fab-ic--close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.chat.is-open .chat__fab-ic--open { opacity: 0; transform: rotate(90deg) scale(.6); }
.chat.is-open .chat__fab-ic--close { opacity: 1; transform: none; }
.chat__fab.is-ping::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--accent); animation: chatPing 1.6s infinite; }
@keyframes chatPing { from { transform: scale(1); opacity: .9; } to { transform: scale(1.45); opacity: 0; } }
.chat__badge { position: absolute; top: -2px; inset-inline-end: -2px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--navy); color: #fff; font-size: 11.5px; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
.chat__panel {
	position: absolute; bottom: 76px; inset-inline-start: 0; width: min(390px, calc(100vw - 32px)); height: min(620px, calc(100vh - 130px));
	display: flex; flex-direction: column; background: #fff; border-radius: 26px; overflow: hidden;
	box-shadow: 0 30px 80px rgba(10,34,99,.28), 0 0 0 1px rgba(0,0,0,.04); transform-origin: bottom left; animation: chatIn .35s var(--spring);
}
[dir=rtl] .chat__panel { transform-origin: bottom right; }
@keyframes chatIn { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.chat__head > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.chat__head b { font-size: 15.5px; }
.chat__head small { font-size: 12px; opacity: .75; }
.chat__av { position: relative; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); flex: 0 0 auto; }
.chat__av i { position: absolute; bottom: -2px; inset-inline-end: -2px; width: 12px; height: 12px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 2px var(--navy); }
.chat__wa, .chat__x { width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; flex: 0 0 auto; }
.chat__wa { background: #1faf54; }
.chat__x:hover { background: rgba(255,255,255,.22); }
.chat__body { flex: 1; overflow-y: auto; padding: 16px 14px 8px; background: #f6f7fb; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.cm { display: flex; flex-direction: column; max-width: 88%; }
.cm--me { align-self: flex-end; align-items: flex-end; }
.cm__b { padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.6; background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.06); word-wrap: break-word; overflow-wrap: anywhere; }
.cm--bot .cm__b, .cm--agent .cm__b { border-end-start-radius: 6px; }
.cm--me .cm__b { background: var(--navy); color: #fff; border-end-end-radius: 6px; }
.cm--agent .cm__b { background: #fff7ed; box-shadow: inset 0 0 0 1px #fed7aa; }
.cm__who { display: block; font-size: 11.5px; font-weight: 700; color: var(--accent-2); margin-bottom: 2px; }
.cm__b a { color: var(--blue); text-decoration: underline; }
.cm--me .cm__b a { color: #fff; }
.cm__time { font-size: 11px; color: var(--faint); margin: 3px 6px 0; }
.cm--typing .cm__b { display: flex; gap: 4px; padding: 14px 16px; }
.cm--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); animation: chatDot 1.2s infinite; }
.cm--typing i:nth-child(2) { animation-delay: .15s; }
.cm--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chatDot { 30% { transform: translateY(-4px); opacity: 1; } 0%, 60%, 100% { opacity: .4; } }
.cc { display: grid; gap: 8px; margin-top: 10px; }
.cc__i { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 14px; background: var(--bg); color: inherit !important; text-decoration: none !important; transition: background .2s; }
.cc__i:hover { background: var(--navy-soft); }
.cc__i img { width: 56px; height: 56px; border-radius: 10px; object-fit: contain; background: #fff; flex: 0 0 auto; }
.cc__t { display: flex; flex-direction: column; min-width: 0; }
.cc__t b { font-size: 13px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--navy); }
.cc__p { display: flex; gap: 6px; align-items: baseline; }
.cc__p ins { text-decoration: none; font-weight: 700; color: var(--sale); font-size: 14px; }
.cc__p del { color: var(--faint); font-size: 12px; }
.cc__out { color: var(--muted); font-size: 11.5px; }
.cl { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cl__a { display: inline-flex; padding: 7px 12px; border-radius: 99px; background: var(--navy); color: #fff !important; text-decoration: none !important; font-size: 13px; font-weight: 600; }
.chat__chips { display: flex; gap: 6px; overflow-x: auto; padding: 8px 12px; background: #f6f7fb; scrollbar-width: none; }
.chat__chips:empty { display: none; }
.chat__chips .chip { flex: 0 0 auto; border: 0; cursor: pointer; font-size: 13px; padding: 7px 13px; color: var(--navy); font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-2); }
.chat__chips .chip:hover { background: var(--navy); color: #fff; box-shadow: none; }
.chat__form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: #fff; }
.chat__form textarea { flex: 1; resize: none; border: 0; outline: none; background: var(--bg); border-radius: 18px; padding: 11px 14px; font-size: 15px; line-height: 1.45; max-height: 120px; }
.chat__send { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; cursor: pointer; flex: 0 0 auto; transition: transform .2s; }
[dir=rtl] .chat__send .ic { transform: scaleX(-1); }
.chat__send:active { transform: scale(.9); }
.chat__foot { margin: 0; padding: 0 12px 10px; font-size: 11px; color: var(--faint); display: flex; align-items: center; gap: 4px; background: #fff; }

@media (max-width: 980px) {
	.chat { bottom: calc(76px + env(safe-area-inset-bottom)); inset-inline-start: 14px; }
	.chat__fab { width: 54px; height: 54px; }
	.acc__grid { grid-template-columns: minmax(0, 1fr); }
	.acc__side { position: static; }
	.acc__side nav { display: flex; overflow-x: auto; gap: 6px; scrollbar-width: none; }
	.acc__side nav a { flex: 0 0 auto; }
	.auth { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 700px) {
	.chat__panel { position: fixed; inset: auto 0 0 0; width: 100%; height: calc(100dvh - 60px); border-radius: 24px 24px 0 0; bottom: 0; }
	.chat.is-open .chat__fab { display: none; }
	.track__form { grid-template-columns: 1fr; }
	.acc__stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
	.acc__stats a { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 14px 8px; }
	.acc__stats .ic { grid-row: auto; margin-bottom: 6px; }
	.auth__card { padding: 22px 18px; border-radius: 24px; }
	.olist__imgs { display: none; }
	.olist__i { flex-wrap: wrap; }
}

/* =====================================================================
   كروت المنتجات: مقاس واحد ثابت مهما كان حجم الصورة
   ===================================================================== */
.pc__img, .adelf .adelf-card .adelf-img { position: relative; overflow: hidden; aspect-ratio: 1 / 1; min-height: 0; height: auto; padding: 0 !important; background: #fff; }
.pc .pc__img img, .adelf .adelf-card .adelf-img img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); max-width: none; object-fit: contain; object-position: center; }
.pc__brand, .adelf-eyebrow { display: block; height: 18px; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc__name, .adelf-name { height: 2.9em; min-height: 2.9em; }
.pc__spec, .adelf-spec { display: block; height: 18px; line-height: 18px; }
.pc__price, .adelf-price { min-height: 30px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail > .pc, .wl > .pc { height: 100%; }
.adelf .adelf-grid { align-items: stretch; }
.adelf.adelf--list .adelf-card .adelf-img { aspect-ratio: auto; height: 190px; flex: 0 0 190px; }
@media (max-width: 700px) {
	.pc .pc__img img, .adelf .adelf-card .adelf-img img { inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); }
	.adelf.adelf--list .adelf-card .adelf-img { height: 130px; flex-basis: 130px; }
}

/* =====================================================================
   السياسات
   ===================================================================== */
.pol-hero { position: relative; overflow: hidden; color: #fff; padding: 22px 0 70px;
	background: radial-gradient(circle at 85% -10%, rgba(255,122,0,.55), transparent 42%), radial-gradient(circle at 5% 120%, rgba(59,130,246,.35), transparent 45%), linear-gradient(135deg, var(--navy) 0%, #061645 100%); }
.pol-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.pol-hero__in { position: relative; z-index: 1; text-align: center; }
.crumbs--light, .crumbs--light a { color: rgba(255,255,255,.7); }
.crumbs--light span { color: #fff; }
.crumbs--light { justify-content: center; }
.pol-hero__ic { width: 76px; height: 76px; margin: 18px auto 16px; border-radius: 26px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 16px 36px rgba(232,72,12,.45); }
.pol-hero h1 { margin: 0; font-size: clamp(30px, 4.6vw, 48px); letter-spacing: -.02em; }
.pol-hero p { margin: 10px auto 0; max-width: 560px; color: rgba(255,255,255,.8); font-size: 17px; }
.pol-hero__pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pol-hero__pills span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; background: rgba(255,255,255,.1); backdrop-filter: blur(8px); font-size: 13.5px; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.pol-hero--sm { padding: 18px 0 64px; }
.pol-hero--sm .pol-hero__in { text-align: start; }
.pol-hero--sm .crumbs--light { justify-content: flex-start; }
.pol-hero__row { display: flex; align-items: center; gap: 18px; margin-top: 14px; }
.pol-hero__row .pol-hero__ic { margin: 0; width: 64px; height: 64px; border-radius: 20px; flex: 0 0 auto; }
.pol-hero--sm h1 { font-size: clamp(24px, 3.6vw, 38px); }
.pol-hero--sm p { margin: 6px 0 0; font-size: 15px; }

.pol { position: relative; z-index: 2; margin-top: -44px; padding-bottom: 50px; }
.pol__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pol__card { --t: var(--navy); --ts: var(--navy-soft); position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: 24px; background: #fff; box-shadow: 0 1px 2px rgba(10,34,99,.05), 0 14px 34px rgba(10,34,99,.08); transition: transform .35s var(--ease), box-shadow .35s; }
.pol__card::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 4px; background: var(--t); opacity: .9; }
.pol__card:hover { transform: translateY(-5px); box-shadow: 0 24px 50px rgba(10,34,99,.14); }
.pol__card--o { --t: #ff7a00; --ts: #fff4e5; } .pol__card--b { --t: #2563eb; --ts: #e8f0fe; } .pol__card--g { --t: #16a34a; --ts: #e7f7ee; }
.pol__card--p { --t: #7c3aed; --ts: #f1ebff; } .pol__card--n { --t: #0a2263; --ts: #eef2fb; } .pol__card--c { --t: #0891b2; --ts: #e0f7fb; }
.pol__card-ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--ts); color: var(--t); margin-bottom: 8px; transition: transform .35s var(--spring); }
.pol__card:hover .pol__card-ic { transform: rotate(-8deg) scale(1.06); }
.pol__card b { font-size: 18px; color: var(--navy); }
.pol__card small { color: var(--muted); font-size: 14px; line-height: 1.6; flex: 1; }
.pol__card em { font-style: normal; display: inline-flex; align-items: center; gap: 2px; margin-top: 8px; font-size: 13.5px; font-weight: 700; color: var(--t); }

/* كارت شريك الشحن */
.partner { display: grid; grid-template-columns: auto 1fr; gap: 14px 18px; align-items: center; padding: 20px 22px; border-radius: 24px; margin: 0 0 22px;
	background: linear-gradient(135deg, #eaf6fd 0%, #f5fbff 60%, #fff 100%); box-shadow: inset 0 0 0 1px #cfe8f7; }
.partner--wide { grid-template-columns: auto 1fr auto; margin-top: 22px; padding: 24px 28px; box-shadow: inset 0 0 0 1px #cfe8f7, 0 14px 34px rgba(10,34,99,.06); }
.partner__logo { width: 84px; height: 84px; border-radius: 24px; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(29,155,224,.25); }
.partner__logo img { width: 66px; height: 66px; object-fit: contain; }
.partner__txt { min-width: 0; }
.partner__txt small { display: inline-block; font-size: 12px; font-weight: 700; color: #0e7fc0; background: #fff; padding: 2px 10px; border-radius: 99px; box-shadow: inset 0 0 0 1px #cfe8f7; }
.partner__txt b { display: block; font-size: 22px; color: var(--navy); margin-top: 4px; }
.partner__txt b span { color: #1d9be0; font-weight: 700; }
.partner__txt p { margin: 2px 0 0; color: var(--ink-2); font-size: 14px; }
.partner__acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.partner--wide .partner__acts { grid-column: auto; flex-direction: column; }
.partner__acts a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: #fff; color: var(--navy); font-weight: 600; font-size: 14px; box-shadow: 0 1px 3px rgba(10,34,99,.08); transition: transform .2s, box-shadow .2s; }
.partner__acts a .ic { color: #1d9be0; }
.partner__acts a:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(10,34,99,.12); }

/* صندوق المساعدة */
.pol-help { margin-top: 22px; padding: 26px; border-radius: 24px; text-align: center; background: #fff; box-shadow: 0 14px 34px rgba(10,34,99,.08); }
.pol-help__ic { width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 18px; display: grid; place-items: center; background: var(--navy-soft); color: var(--navy); }
.pol-help b { display: block; font-size: 20px; color: var(--navy); }
.pol-help p { color: var(--muted); margin: 4px 0 14px; }
.pol-help__acts { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }

/* صفحة السياسة */
.pol__layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 24px; align-items: start; }
.pol__side { position: sticky; top: calc(var(--gh) + 16px); display: flex; flex-direction: column; gap: 14px; }
.pol__nav { background: #fff; border-radius: 22px; padding: 10px; box-shadow: 0 14px 34px rgba(10,34,99,.08); display: flex; flex-direction: column; gap: 2px; }
.pol__nav a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 14px; color: var(--ink-2); font-weight: 500; font-size: 14.5px; transition: background .2s, color .2s; }
.pol__nav a .ic { color: var(--muted); }
.pol__nav a:hover { background: var(--bg); }
.pol__nav a.is-on { background: var(--navy); color: #fff; box-shadow: 0 8px 18px rgba(10,34,99,.25); }
.pol__nav a.is-on .ic { color: #ffae5c; }
.pol__toc { background: #fff; border-radius: 22px; padding: 16px 18px; box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: 2px; }
.pol__toc b { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.pol__toc a { font-size: 13.5px; color: var(--ink-2); padding: 5px 10px; border-inline-start: 2px solid var(--line); transition: border-color .2s, color .2s; }
.pol__toc a:hover { color: var(--navy); border-color: var(--accent); }
.pol__doc { background: #fff; border-radius: 26px; padding: 30px 36px 34px; box-shadow: 0 14px 34px rgba(10,34,99,.08); min-width: 0; }
.pol__body { font-size: 15.5px; line-height: 1.95; color: var(--ink-2); }
.pol__body > p:first-child { font-size: 17px; color: var(--ink); }
.pol__body h2 { scroll-margin-top: calc(var(--gh) + 20px); font-size: 19px; color: var(--navy); margin: 30px 0 10px; display: flex; align-items: center; gap: 10px; }
.pol__body h2::before { content: ""; width: 6px; height: 22px; border-radius: 4px; background: var(--grad); flex: 0 0 auto; }
.pol__body ul, .pol__body ol { padding-inline-start: 22px; margin: 8px 0; }
.pol__body li { margin: 6px 0; padding-inline-start: 4px; }
.pol__body li::marker { color: var(--accent); }
.pol__body a { color: var(--blue); font-weight: 600; }
.pol__body b, .pol__body strong { color: var(--ink); }
.pol-contact { list-style: none; padding: 18px 20px !important; margin-top: 10px !important; background: linear-gradient(135deg, var(--navy-soft), #f7f9fe); border-radius: 18px; box-shadow: inset 0 0 0 1px #dfe6f7; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; }
.pol-contact li { margin: 4px 0 !important; }

/* شعار تروس في التتبع */
.tl__ship.is-partner { background: linear-gradient(135deg, #eaf6fd, #f5fbff); box-shadow: inset 0 0 0 1px #cfe8f7; }
.tl__logo { width: 44px; height: 44px; border-radius: 12px; background: #fff; padding: 4px; object-fit: contain; box-shadow: 0 4px 12px rgba(29,155,224,.2); flex: 0 0 auto; }
.ftr__ship img { width: 26px; height: 26px; object-fit: contain; background: #fff; border-radius: 8px; padding: 2px; }
.co-terms { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.co-terms a { color: var(--navy); font-weight: 600; text-decoration: underline; }
.pd__perks a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.ftr__ship { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--muted); }
.ftr__ship a { color: var(--navy); }
@media (max-width: 1180px) {
	.ftr__top { grid-template-columns: repeat(3, 1fr); }
	.ftr__brand { grid-column: span 3; }
}
@media (max-width: 980px) {
	.pol__layout { grid-template-columns: minmax(0, 1fr); }
	.pol__side { position: static; }
	.pol__nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
	.pol__nav a { flex: 0 0 auto; }
	.pol__toc { display: none; }
	.pol__grid { grid-template-columns: 1fr 1fr; }
	.partner--wide { grid-template-columns: auto 1fr; }
	.partner--wide .partner__acts { grid-column: 1 / -1; flex-direction: row; }
}
@media (max-width: 700px) {
	.pol__grid { grid-template-columns: 1fr; gap: 12px; }
	.pol__doc { padding: 22px 18px; border-radius: 22px; }
	.pol-contact { grid-template-columns: 1fr; }
	.partner { padding: 16px; }
	.partner__logo { width: 64px; height: 64px; border-radius: 18px; }
	.partner__logo img { width: 50px; height: 50px; }
	.partner__txt b { font-size: 18px; }
	.pol-hero__row .pol-hero__ic { width: 52px; height: 52px; }
	.ftr__top { grid-template-columns: 1fr 1fr; }
	.ftr__brand { grid-column: span 2; }
}
