/* معرفی خرید اقساطی دیجی‌پی (inc/digipay-promo.php) — رنگ‌ها هم‌خوان با pishro-credit-sale */
:root { --nw-dpp: #1159FC; --nw-dpp-d: #0b46cc; --nw-dpp-bg: #eef3ff; --nw-dpp-line: #cddafe; --nw-dpp-muted: #5b6474; }

/* نوار بالای هدر */
.pishro-topbar__links a.nw-dpp-toplink { color: #fff; font-weight: 700; }
.pishro-topbar__links a.nw-dpp-toplink i { color: #8fb0ff; }
.nw-dpp-new { display: inline-block; margin-inline-start: 4px; padding: 0 6px; border-radius: 5px; background: var(--nw-dpp); color: #fff; font-size: 10px; font-weight: 800; line-height: 17px; vertical-align: middle; }

/* دکمه‌ی منوی دسته‌ها (دسکتاپ) */
.pishro-nav__credit { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 999px; background: linear-gradient(135deg, #1159FC, #5b3df5); color: #fff !important; font-size: 13.5px; font-weight: 800; text-decoration: none; white-space: nowrap; box-shadow: 0 4px 12px rgba(17, 89, 252, .28); }
.pishro-nav__credit i { font-size: 17px; }
.pishro-nav__credit:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }

/* منوی کشویی موبایل */
.pishro-mmenu__credit { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; padding: 12px 14px; border-radius: 12px; background: linear-gradient(135deg, #1159FC, #5b3df5); color: #fff !important; font-weight: 800; font-size: 14px; text-decoration: none; }
.pishro-mmenu__credit i { font-size: 19px; }
.pishro-mmenu__credit small { margin-inline-start: auto; font-size: 11px; font-weight: 700; opacity: .85; }

/* بنر صفحه‌ی اصلی */
.ph-dp { padding: 8px 0 4px; }
.ph-dp__card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr; gap: 14px; padding: 20px 18px; border-radius: 20px; background: radial-gradient(120% 140% at 0% 0%, #5b3df5 0%, #1159FC 48%, #0b46cc 100%); color: #fff !important; text-decoration: none !important; }
.ph-dp__card::after { content: ""; position: absolute; inset-inline-start: -60px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .08); pointer-events: none; }
.ph-dp__card:focus-visible { outline: 3px solid var(--nw-dpp-d); outline-offset: 3px; }
.ph-dp__top { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; opacity: .92; }
.ph-dp__top img { height: 18px; width: auto; }
.ph-dp__title { margin: 6px 0 0; font-size: 19px; font-weight: 900; line-height: 1.45; color: #fff; }
.ph-dp__lead { margin: 4px 0 0; font-size: 12.5px; line-height: 1.8; color: rgba(255, 255, 255, .88); }
.ph-dp__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ph-dp__chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); font-size: 12px; font-weight: 700; }
.ph-dp__chip i { font-size: 14px; color: #a8ffcf; }
.ph-dp__side { display: grid; gap: 12px; }
.ph-dp__plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ph-dp__plan { padding: 10px 8px; border-radius: 14px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); text-align: center; }
.ph-dp__plan b { display: block; font-size: 13.5px; font-weight: 900; }
.ph-dp__plan span { display: block; margin-top: 2px; font-size: 11px; opacity: .85; }
.ph-dp__cta { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 14px; background: #fff; color: var(--nw-dpp-d); font-size: 14.5px; font-weight: 900; }
.ph-dp__cta i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--nw-dpp); color: #fff; font-size: 16px; }
@media (min-width: 900px) {
	.ph-dp__card { grid-template-columns: 1.25fr 1fr; align-items: center; gap: 28px; padding: 30px 36px; border-radius: 24px; }
	.ph-dp__title { font-size: 28px; }
	.ph-dp__lead { font-size: 14.5px; }
	.ph-dp__plan { padding: 14px 10px; }
	.ph-dp__plan b { font-size: 15px; }
	.ph-dp__cta { justify-self: start; display: inline-flex; }
}

/* کارت دعوت (وبلاگ، سفارش ثبت‌شده، داشبورد) */
.nw-dp-cta { display: flex; align-items: center; gap: 14px; margin: 22px 0; padding: 16px 18px; border-radius: 16px; background: linear-gradient(120deg, #1159FC, #5b3df5); color: #fff !important; }
.nw-dp-cta, .nw-dp-cta * { text-decoration: none !important; }
.nw-dp-cta:focus-visible { outline: 3px solid var(--nw-dpp-d); outline-offset: 3px; }
.nw-dp-cta__ic { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 255, 255, .16); display: grid; place-items: center; }
.nw-dp-cta__ic i { color: #fff; font-size: 26px; }
.nw-dp-cta__body { flex: 1; min-width: 0; }
.nw-dp-cta__t { display: block; font-size: 15.5px; font-weight: 900; line-height: 1.6; color: #fff; }
.nw-dp-cta__s { display: block; font-size: 12.5px; line-height: 1.8; color: rgba(255, 255, 255, .88); }
.nw-dp-cta__btn { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; padding: 9px 14px; border-radius: 12px; background: #fff; color: var(--nw-dpp-d); font-size: 13px; font-weight: 900; white-space: nowrap; }
.nw-dp-cta--light { background: linear-gradient(90deg, #f3f6ff, #fff); border: 1px solid var(--nw-dpp-line); color: #1a202c !important; }
.nw-dp-cta--light .nw-dp-cta__ic { background: var(--nw-dpp); }
.nw-dp-cta--light .nw-dp-cta__t { color: #1a202c; }
.nw-dp-cta--light .nw-dp-cta__s { color: var(--nw-dpp-muted); }
.nw-dp-cta--light .nw-dp-cta__btn { background: var(--nw-dpp); color: #fff; }
@media (max-width: 600px) {
	.nw-dp-cta { flex-wrap: wrap; padding: 14px; }
	.nw-dp-cta__ic { flex-basis: 44px; width: 44px; height: 44px; }
	.nw-dp-cta__body { flex-basis: calc(100% - 60px); }
	.nw-dp-cta__btn { flex: 1 1 100%; justify-content: center; }
}

/* فوتر */
a.pishro-f-trust__item--installment { color: inherit; text-decoration: none; }
.pishro-f-trust__item--installment .pishro-f-trust__icon { background: var(--nw-dpp-bg) !important; color: var(--nw-dpp) !important; }
.pishro-f-badge--digipay img { object-fit: contain; }

/* صفحه‌ی نتایج جست‌وجوی اقساطی */
.nw-dp-strip { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 10px 14px; border: 1px solid var(--nw-dpp-line); border-radius: 14px; background: linear-gradient(90deg, #f3f6ff, #fff); color: #1a202c; font-size: 13px; line-height: 1.7; }
.nw-dp-strip__ic { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--nw-dpp); color: #fff; font-size: 20px; }
.nw-dp-strip__txt { flex: 1; min-width: 0; }
.nw-dp-strip__txt b { font-weight: 800; }
.nw-dp-strip__txt small { display: block; color: var(--nw-dpp-muted); font-size: 12px; }
.nw-dp-strip__m { display: none; }
.nw-dp-strip__cta { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; padding: 7px 12px; border-radius: 10px; background: var(--nw-dpp-bg); color: var(--nw-dpp) !important; font-size: 12.5px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.nw-dp-strip__cta:focus-visible { outline: 2px solid var(--nw-dpp); outline-offset: 2px; }
@media (max-width: 600px) {
	.nw-dp-strip { padding: 10px 12px; gap: 10px; font-size: 12.5px; }
	.nw-dp-strip__ic { flex-basis: 34px; width: 34px; height: 34px; font-size: 18px; }
	.nw-dp-strip__d, .nw-dp-strip__txt small { display: none; }
	.nw-dp-strip__m { display: inline; }
}

/* ردیف پیشنهاد در جست‌وجوی زنده (assets/js/header.js) */
.pishro-sresult--dp { background: linear-gradient(90deg, #f3f6ff, #fff); border-bottom: 1px solid var(--nw-dpp-line); }
.pishro-sresult--dp .pishro-sresult__thumb { background: var(--nw-dpp) !important; display: grid; place-items: center; }
.pishro-sresult--dp .pishro-sresult__thumb i { color: #fff; font-size: 22px; }
.pishro-sresult--dp .pishro-sresult__name { color: var(--nw-dpp-d); font-weight: 800; }
.pishro-sresult--dp .nw-dp-sub { font-size: 12px; color: var(--nw-dpp-muted); }

/* برچسب مقایسه / علاقه‌مندی */
.nw-dp-chip { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; padding: 0 8px; border-radius: 6px; background: var(--nw-dpp-bg); color: var(--nw-dpp) !important; font-size: 11.5px; font-weight: 800; line-height: 22px; text-decoration: none; }
.nw-dp-chip i { font-size: 13px; }
