/* =====================================================================
   تحديثات الواجهة — عادل إكسبريس
   (كروت المنتجات بشكل عالمي، أول سيكشن، شريط عروض اليوم، صورة العروض في القايمة)
   ===================================================================== */

/* ---------- 1) أول سيكشن: أسماء الأقسام كتابة بدل زراير ---------- */
.aex-tile { display: flex; flex-direction: column; gap: 8px; overflow: visible; border-radius: 0; }
.aex-tile__label {
	position: static; inset: auto; padding: 0 4px; border-radius: 0; background: none !important;
	backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none;
	font-size: 14px; font-weight: 700; color: var(--navy) !important; text-align: center;
}
.aex-tile:hover .aex-tile__label { color: var(--accent-2) !important; }
.aex-card__tiles { gap: 14px 12px; }
/* ماركات الموبايلات: كتابة بخط تحت بدل زراير */
.aex-tabs__nav { gap: 4px 16px; margin-bottom: 14px; padding-bottom: 2px; border-bottom: 1px solid var(--line); }
.aex-tab {
	background: none !important; padding: 6px 0 9px; border-radius: 0; margin-bottom: -1px;
	color: var(--muted); font-size: 13.5px; box-shadow: inset 0 -2px 0 transparent;
}
.aex-tab:hover { color: var(--navy); }
.aex-tab.is-active { color: var(--navy) !important; box-shadow: inset 0 -2px 0 var(--accent); }

/* ---------- 2) شريط الأسعار جوه كارت «عروض اليوم» ---------- */
.aex-ticker {
	height: 46px; background: linear-gradient(90deg, #fff4ea, #fff 50%, #fff4ea);
	border-bottom: 1px solid #ffe2c7;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.aex-ticker__item { color: var(--navy); padding: 0 6px; }
.aex-ticker__item .tk__p { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); }
.aex-ticker__item .tk__n { color: var(--ink-2, #333); font-weight: 600; }
.aex-ticker__item .tk__pr { color: var(--sale, #e3342f); font-weight: 800; }
.aex-ticker__item .tk__old { color: var(--faint, #86868b); font-weight: 400; font-size: 12px; }
.aex-ticker__item .tk__off { background: var(--sale, #e3342f); color: #fff; font-style: normal; font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 99px; }
.aex-ticker__sep { color: var(--accent); }

/* ---------- 3) صورة «عروض خاصة» في قايمة كل الأقسام ---------- */
.mega__promo--img { background: #ff7a00; min-height: 260px; box-shadow: 0 14px 34px rgba(232,72,12,.25); }
.mega__promo--img::before { display: none; }
.mega__promo--img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.mega__promo--img:hover > img { transform: scale(1.05); }
.mega__promo--img > span { flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; width: calc(100% - 28px); }
.mega__promo--img > span em { font-style: normal; display: flex; flex-direction: column; }
.mega__promo--img .mega__go { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--grad, #ff7a00); color: #fff; }

/* ---------- 4) كروت المنتجات — شكل عالمي ---------- */
.pc, .adelf-link {
	border-radius: 20px; background: #fff; overflow: hidden;
	box-shadow: 0 0 0 1px rgba(10,34,99,.06), 0 2px 6px rgba(10,34,99,.04);
	transition: transform .35s var(--ease, ease), box-shadow .35s var(--ease, ease);
}
.pc:hover, .adelf-link:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(10,34,99,.08), 0 20px 44px rgba(10,34,99,.12); }
/* الصورة على خلفية فاتحة بزوايا ناعمة */
.pc__img, .adelf .adelf-card .adelf-img { margin: 10px 10px 0; border-radius: 16px; background: #f6f7f9 !important; }
.pc .pc__img img, .adelf .adelf-card .adelf-img img { mix-blend-mode: multiply; }
/* شارة الخصم */
.pc__off, .adelf-off {
	top: 18px; inset-inline-start: 18px; background: var(--sale, #e3342f); font-size: 12px; font-weight: 800;
	padding: 4px 9px; border-radius: 8px; box-shadow: 0 4px 10px rgba(227,52,47,.25); letter-spacing: .01em;
}
.adelf-oos { top: 18px; inset-inline-end: 18px; border-radius: 8px; }
/* النصوص */
.pc__body, .adelf-info { padding: 12px 14px 14px; gap: 3px; }
.pc__brand, .adelf-eyebrow { font-size: 11.5px; font-weight: 700; color: var(--faint, #86868b); text-transform: uppercase; letter-spacing: .04em; }
.pc__name, .adelf-name { font-size: 14px; font-weight: 600; color: var(--ink, #1d1d1f); line-height: 1.45; }
.pc:hover .pc__name, .adelf-link:hover .adelf-name { color: var(--navy); }
.pc__spec, .adelf-spec { font-size: 12px; color: var(--muted, #6e6e73); }
/* السعر: الجديد كبير وتحته القديم والتوفير */
.pc__price, .adelf-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding-top: 8px; min-height: 0; white-space: normal; font-size: 18px; font-weight: 800; color: var(--navy); }
.pc__price ins, .adelf-price ins { order: -1; color: var(--sale, #e3342f); }
.pc__price del, .adelf-price del { font-size: 12.5px; margin: 0; }
.pc__foot, .adelf-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; min-height: 32px; }
.pc__save, .adelf-save { font-size: 12px; font-weight: 700; color: #0f8a3c; background: #e7f6ec; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.pc__ship, .adelf-ship { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--muted, #6e6e73); white-space: nowrap; }
.pc__go, .adelf-go {
	flex: none; margin-inline-start: auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
	background: var(--bg, #f5f5f7); color: var(--navy); transition: background .2s, color .2s, transform .3s var(--ease, ease);
}
.pc:hover .pc__go, .adelf-link:hover .adelf-go { background: var(--accent, #ff7a00); color: #fff; transform: scale(1.06); }
[dir=ltr] .adelf-go svg { transform: scaleX(-1); }
/* زرار «عرض المنتج» القديم مش محتاجينه */
.adelf-btn { display: none !important; }
/* عرض القايمة */
.adelf--list .adelf-card .adelf-img { margin: 10px; }
@media (max-width: 700px) {
	.pc__img, .adelf .adelf-card .adelf-img { margin: 6px 6px 0; border-radius: 13px; }
	.pc__body, .adelf-info { padding: 9px 10px 11px; }
	.pc__price, .adelf-price { font-size: 15.5px; }
	.pc__off, .adelf-off { top: 12px; inset-inline-start: 12px; font-size: 11px; padding: 3px 7px; }
	.pc__ship, .adelf-ship { display: none; }
	.pc__go, .adelf-go { width: 30px; height: 30px; }
}

/* ---------- 5) كارت «عروض اليوم»: من غير خلفية برتقالي + شريط أبطأ ---------- */
.aex-ticker { background: #f7f8fa; border-bottom: 1px solid var(--line, #e3e3e8); }
.aex-ticker__track { animation-duration: 80s; }
.aex-card__hero { background: #fff; }
.aex-deals__grid { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; padding: 8px; background: #f4f5f7; }
.aex-deals__p { position: relative; display: grid; place-items: center; background: #fff; border-radius: 14px; overflow: hidden; }
.aex-deals__p img { width: 80%; height: 80%; object-fit: contain; transition: transform .6s var(--ease, ease); }
.aex-card__hero:hover .aex-deals__p img { transform: scale(1.06); }
.aex-deals__p em { position: absolute; top: 8px; inset-inline-start: 8px; background: var(--sale, #e3342f); color: #fff; font-style: normal; font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 7px; }
.aex-card__hero:has(.aex-deals__grid) .aex-hero__off { display: none; }

/* ---------- 6) تابات الماركات في أقسام الرئيسية ---------- */
.btabs { display: flex; gap: 4px 20px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line, #e3e3e8); margin: -6px 0 16px; }
.btabs::-webkit-scrollbar { display: none; }
.btab { flex: none; background: none; border: 0; padding: 8px 0 10px; margin-bottom: -1px; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted, #6e6e73); cursor: pointer; box-shadow: inset 0 -2px 0 transparent; transition: color .2s, box-shadow .2s; }
.btab:hover { color: var(--navy); }
.btab.is-on { color: var(--navy); box-shadow: inset 0 -2px 0 var(--accent, #ff7a00); }
.rail > .pc[hidden] { display: none !important; }

/* ---------- 7) حساب التاجر في صفحة «حسابي» ---------- */
.acc__seller { display: flex; align-items: center; gap: 10px; margin: 10px 0; padding: 12px 14px; border-radius: 14px; background: var(--navy, #0a2263); color: #fff; font-weight: 600; transition: transform .2s, box-shadow .2s; }
.acc__seller:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(10,34,99,.25); color: #fff; }
.acc__seller small { margin-inline-start: auto; font-weight: 400; font-size: 12px; opacity: .75; max-width: 45%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc__vend { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.acc__vend-ic { flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--navy-soft, #eef2fb); color: var(--navy, #0a2263); }
.acc__vend > div { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 3px; }
.acc__vend b { font-size: 16px; color: var(--navy, #0a2263); }
.acc__vend small { color: var(--muted, #6e6e73); font-size: 13px; line-height: 1.6; }
.acc__vend .vst { display: inline-block; align-self: flex-start; font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 99px; background: #fff4e5; color: #b45309; }
.acc__vend .vst--active { background: #e7f6ec; color: #0f8a3c; }
.acc__vend .vst--rejected, .acc__vend .vst--suspended { background: #fee2e2; color: #b91c1c; }

/* ---------- 8) صفحة عروض اليوم: كارت أزرق ---------- */
.offers-page .adelf-hero { background: radial-gradient(circle at 12% 0%, rgba(255,122,0,.28), transparent 42%), linear-gradient(135deg, #0a2263 0%, #123a9c 55%, #1f5ad6 100%); box-shadow: 0 18px 44px rgba(10,34,99,.25); }
.offers-page .adelf-hero::before { display: none; }
.offers-page .adelf .adelf-hero__title { color: #fff; }
.offers-page .adelf-hero__desc { color: rgba(255,255,255,.82); }
.offers-page .adelf-hero__kicker { color: #ffb067; }
.offers-page .adelf-hero__img img { filter: drop-shadow(0 14px 28px rgba(0,0,0,.3)); }

/* ---------- 9) بانر الموضة والجمال ---------- */
.soon__banner img { object-position: 30% center; }

/* ---------- 10) كارت «عروض اليوم» في الرئيسية: أزرق والكلام أبيض ---------- */
.aex-card.aex-c-deals { --c: #ff9a3c; background: radial-gradient(circle at 90% 0%, rgba(255,122,0,.25), transparent 40%), linear-gradient(150deg, #0a2263 0%, #143fa6 60%, #1f5ad6 100%); box-shadow: 0 14px 36px rgba(10,34,99,.28); }
.aex-c-deals .aex-card__title, .aex-c-deals .aex-card__title a { color: #fff; }
.aex-c-deals .aex-card__title a:hover { color: #ffb067; }
.aex-c-deals .aex-deals__wrap { box-shadow: none; background: transparent; }
.aex-c-deals .aex-ticker { background: rgba(255,255,255,.1); border: 0; border-radius: 14px 14px 0 0; }
.aex-c-deals .aex-ticker__item .tk__p, .aex-c-deals .aex-ticker__item .tk__n { color: #fff; }
.aex-c-deals .aex-ticker__item .tk__pr { color: #ffb067; }
.aex-c-deals .aex-ticker__item .tk__old { color: rgba(255,255,255,.6); }
.aex-c-deals .aex-card__hero { background: transparent; }
.aex-c-deals .aex-deals__grid { background: rgba(255,255,255,.1); }
.aex-c-deals .aex-deals__all { background: rgba(255,255,255,.12); color: #fff; border-radius: 0 0 14px 14px; }
.aex-c-deals .aex-deals__all:hover { background: #ff7a00; color: #fff; }

/* ---------- 12) دخول/تسجيل التاجر جوه صفحة الحساب + زرار الرجوع ---------- */
.auth__vtabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 0 0 14px; border-radius: 14px; background: var(--bg, #f5f5f7); }
.auth__vtabs label { display: flex; align-items: center; justify-content: center; gap: 6px; height: 42px; margin: 0; border-radius: 11px; font-weight: 600; font-size: 14px; color: var(--muted, #6e6e73); cursor: pointer; transition: background .2s, color .2s; }
#vm-l:checked ~ .auth__vtabs label[for=vm-l], #vm-r:checked ~ .auth__vtabs label[for=vm-r] { background: #fff; color: var(--navy, #0a2263); box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.auth__vr { display: none; }
#vm-r:checked ~ .auth__vl { display: none; }
#vm-r:checked ~ .auth__vr { display: block; }
.auth__vr .two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.auth__agree { display: flex !important; align-items: flex-start; gap: 8px; font-size: 13px; font-weight: 400; line-height: 1.6; }
.auth__agree input { width: auto !important; height: auto !important; margin-top: 4px; flex: none; }
@media (max-width: 560px) { .auth__vr .two { grid-template-columns: 1fr; } }

.auth__vr select { display: block; width: 100%; height: 50px; margin-top: 6px; padding: 0 16px; border: 0; border-radius: 14px; background-color: #f5f5f7; font: inherit; font-size: 16px; color: var(--ink, #1d1d1f); }
.auth__vr select:focus { outline: none; background-color: #fff; box-shadow: 0 0 0 2px var(--blue, #0066cc); }

/* ---------- 13) بانر الموضة والجمال: الصورة كاملة على الموبايل ---------- */
@media (max-width: 700px) {
	.soon__banner { display: block; min-height: 0 !important; height: auto !important; background: #fff; box-shadow: var(--shadow-1, 0 4px 16px rgba(0,0,0,.06)); }
	.soon__banner picture { display: block; }
	.soon__banner img { position: static !important; display: block; width: 100% !important; height: auto !important; aspect-ratio: 2146 / 733; object-fit: cover; object-position: center !important; }
	.soon__label { margin: 0 !important; max-width: none !important; border-radius: 0 !important; background: #fff !important; backdrop-filter: none !important; padding: 14px 16px 16px !important; }
	.soon__label h2 { font-size: 19px !important; }
	.soon__label p { font-size: 13.5px !important; }
}


/* ---------- 14) كارت «عروض اليوم»: ديزاين أزرق فاتح + زرار أصفر + مربعات بإطار أبيض ---------- */
.aex-card.aex-c-deals { position: relative; overflow: hidden; background: linear-gradient(165deg, #2b86ff 0%, #116af5 55%, #0b5be6 100%) !important; box-shadow: 0 16px 36px rgba(17,106,245,.3); }
.aex-card.aex-c-deals::after { content: ""; position: absolute; inset-inline-end: -50px; bottom: -50px; width: 200px; height: 200px; border-radius: 50%; background-image: radial-gradient(rgba(255,255,255,.22) 1.4px, transparent 1.6px); background-size: 7px 7px; pointer-events: none; }
.aex-c-deals .aex-card__title { padding: 24px 22px 2px; font-size: clamp(26px, 2.2vw, 32px); font-weight: 800; letter-spacing: -.02em; }
.aex-c-deals .aex-card__title::after { display: none; }
.aex-deals__sub { margin: 0 22px 16px; color: #fff; font-size: 17px; font-weight: 500; line-height: 1.5; }
.aex-deals__btn { align-self: flex-start; margin: 0 22px 20px; padding: 8px 20px; border-radius: 999px; background: #ffd814; color: #111; font-size: 16px; font-weight: 700; box-shadow: 0 2px 6px rgba(0,0,0,.15); transition: background .2s, transform .2s; }
.aex-deals__btn:hover { background: #f7ca00; color: #111; transform: translateY(-1px); }
.aex-c-deals .aex-ticker, .aex-c-deals .aex-hero__cta, .aex-c-deals .aex-hero__off { display: none !important; }
.aex-c-deals .aex-deals__wrap { margin: 0 22px; overflow: visible; border-radius: 0; background: none; box-shadow: none; }
.aex-c-deals .aex-card__hero { min-height: 250px; overflow: visible; background: none !important; }
.aex-c-deals .aex-deals__grid { padding: 0; gap: 14px 36px; background: none !important; }
.aex-c-deals .aex-deals__grid::before, .aex-c-deals .aex-deals__grid::after { content: "+"; position: absolute; left: 50%; transform: translate(-50%, -50%); color: #fff; font-size: 30px; font-weight: 800; line-height: 1; pointer-events: none; }
.aex-c-deals .aex-deals__grid::before { top: 25%; }
.aex-c-deals .aex-deals__grid::after { top: 75%; }
.aex-c-deals .aex-deals__p { border: 3px solid #fff; border-radius: 14px; background: #fff; }
.aex-c-deals .aex-deals__p img { width: 84%; height: 84%; }
.aex-c-deals .aex-card__hero:hover .aex-deals__p { box-shadow: 0 8px 20px rgba(0,0,0,.18); }


/* ---------- 15) زرار «تاجر معنا» في الهيدر ---------- */
.gh__seller { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px; background: linear-gradient(135deg, #ff9a3c, #ff6a00); color: #fff !important; font-size: 14px; font-weight: 700; white-space: nowrap; box-shadow: 0 4px 12px rgba(255,106,0,.3); transition: transform .2s, box-shadow .2s; }
.gh__seller:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(255,106,0,.4); }
@media (max-width: 1100px) { .gh__seller { padding: 0 11px; } .gh__seller span { display: none; } }

/* من غير علامة + بين المنتجات */
.aex-c-deals .aex-deals__grid::before, .aex-c-deals .aex-deals__grid::after { display: none !important; content: none !important; }
.aex-c-deals .aex-deals__grid { gap: 14px !important; }


/* === ADEL card fix v2 (2026-11-05): fixed uniform cards, no gaps, full image === */
.rail{align-items:stretch}
.adelf .adelf-grid{align-items:stretch}
.adelf-card{display:flex;min-width:0}
.pc,.adelf-link{display:flex!important;flex-direction:column!important;height:100%;width:100%;min-width:0}
.pc__img,.adelf .adelf-card .adelf-img{flex:0 0 auto;position:relative;display:block;aspect-ratio:1/1!important;height:auto!important;overflow:hidden}
.pc .pc__img img,.adelf .adelf-card .adelf-img img{position:absolute!important;inset:8%!important;width:84%!important;height:84%!important;max-width:none;object-fit:contain!important;object-position:center!important}
.pc__body,.adelf-info{flex:1 1 auto!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;gap:4px!important;min-width:0}
.pc__brand,.adelf-eyebrow{display:block;height:16px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pc__name,.adelf-name{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2!important;overflow:hidden;line-height:1.45!important;height:2.9em!important;min-height:2.9em!important;max-height:2.9em!important}
.pc__spec,.adelf-spec{display:block!important;height:17px!important;line-height:17px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pc__spec:empty::before,.adelf-spec:empty::before{content:"\00a0"}
.pc__price,.adelf-price{display:flex!important;flex-wrap:nowrap!important;align-items:baseline!important;gap:6px!important;margin-top:4px!important;padding-top:0!important;height:26px!important;min-height:26px!important;line-height:26px!important;white-space:nowrap!important;overflow:hidden!important}
.pc__price ins,.adelf-price ins{order:-1;flex:0 0 auto;white-space:nowrap}
.pc__price del,.adelf-price del{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:clip;white-space:nowrap;font-size:12px!important;margin:0!important}
.pc__foot,.adelf-foot{margin-top:auto!important;padding-top:8px;height:42px;min-height:42px;display:flex!important;align-items:center!important;justify-content:space-between!important}
.pc__save,.adelf-save{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:calc(100% - 40px)}
@media (max-width:700px){
 .pc .pc__img img,.adelf .adelf-card .adelf-img img{inset:6%!important;width:88%!important;height:88%!important}
 .pc__name,.adelf-name{font-size:13px!important}
 .pc__price,.adelf-price{font-size:14.5px!important;gap:4px!important;height:24px!important;min-height:24px!important;line-height:24px!important}
 .pc__price del,.adelf-price del{font-size:10.5px!important}
 .pc__foot,.adelf-foot{height:38px;min-height:38px;padding-top:6px}
 .pc__save,.adelf-save{font-size:11px!important}
}
.adelf--list .adelf-link{flex-direction:row!important;height:auto}
.adelf--list .adelf-card .adelf-img{aspect-ratio:auto!important}


/* === Shop by brand: clean wordmark tiles instead of photos (2026-11-05) === */
.brands{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:12px!important}
.brands .brand{display:flex!important;align-items:center!important;justify-content:center!important;height:96px!important;padding:0 10px!important;background:#fff!important;border:1px solid rgba(10,34,99,.08)!important;border-radius:18px!important;box-shadow:0 1px 2px rgba(0,0,0,.04),0 4px 16px rgba(0,0,0,.04)!important;transition:transform .25s,box-shadow .25s,border-color .25s!important;text-decoration:none!important;aspect-ratio:auto!important}
.brands .brand:hover{transform:translateY(-3px);border-color:var(--accent,#ff7a00)!important;box-shadow:0 12px 30px rgba(0,0,0,.08)!important}
.brands .brand__img{display:none!important}
.brands .brand b{display:block!important;margin:0!important;font-family:"Inter","Helvetica Neue",Arial,sans-serif!important;font-size:22px!important;font-weight:800!important;letter-spacing:-.01em;color:var(--navy,#0a2263)!important;line-height:1!important;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.brands .brand:hover b{color:var(--accent,#ff7a00)!important}
@media (max-width:980px){.brands{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media (max-width:700px){.brands{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}.brands .brand{height:64px!important;border-radius:14px!important}.brands .brand b{font-size:15px!important}}
