/* باشگاه همکاران — جایگاه‌های معرفی در سطح سایت (هم‌خانوادهٔ digipay-promo.css؛ فیروزه‌ای) */
:root { --pp-t: #0f766e; --pp-t2: #14b8a6; --pp-tl: #5eead4; --pp-tbg: #f0fdfa; --pp-tbd: #99f6e4; --pp-o: #F5A623; --pp-navy: #0b1220; }

/* ── افکت‌ها ─────────────────────────────────────────────── */
@property --pp-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

/* درخشش عبوری (دکمه‌ها و چیپ‌ها) */
.pp-fx-shine { position: relative; overflow: hidden; isolation: isolate; }
.pp-fx-shine::after { content: ""; position: absolute; inset: -2px; z-index: 1; pointer-events: none; background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.55) 50%, transparent 68%); transform: translateX(130%); animation: pp-shine 5s ease-in-out infinite; }
@keyframes pp-shine { 0%, 62% { transform: translateX(130%); } 100% { transform: translateX(-130%); } }

/* حاشیهٔ گرادیانی چرخان (کادر محصول، نوارها) */
.pp-fx-border { --pp-bg: var(--pp-tbg); border: 1.5px solid transparent !important; background: linear-gradient(var(--pp-bg), var(--pp-bg)) padding-box, conic-gradient(from var(--pp-a), var(--pp-t2), var(--pp-tbd) 25%, var(--pp-o) 50%, var(--pp-tbd) 75%, var(--pp-t2)) border-box !important; animation: pp-spin 7s linear infinite; }
@keyframes pp-spin { to { --pp-a: 360deg; } }

/* هالهٔ متحرک پس‌زمینه */
.pp-fx-aurora { position: relative; overflow: hidden; isolation: isolate; }

/* چیپ «جدید» با نبض */
.pp-promo-new { position: relative; display: inline-block; margin-inline-start: 5px; padding: 0 6px; border-radius: 5px; background: var(--pp-t2); color: #fff; font-size: 10px; font-weight: 800; line-height: 17px; vertical-align: middle; }
.pp-promo-new::before { content: ""; position: absolute; inset: -2px; border-radius: 7px; border: 2px solid var(--pp-t2); opacity: 0; animation: pp-pulse 2.4s ease-out infinite; }
@keyframes pp-pulse { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }

/* ── هدر و منو ───────────────────────────────────────────── */
.pishro-topbar__links a.pp-promo-top { color: #fff; font-weight: 700; }
.pishro-topbar__links a.pp-promo-top i { color: var(--pp-tl); }
.pishro-topbar__links a.pp-promo-top.is-partner i { color: #6ee7b7; }

.pishro-nav__partner { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 999px; background: linear-gradient(135deg, #0f766e, #14b8a6); color: #fff !important; font-size: 13.5px; font-weight: 800; text-decoration: none; white-space: nowrap; box-shadow: 0 4px 12px rgba(15, 118, 110, .28); }
.pishro-nav__partner i { font-size: 17px; position: relative; z-index: 2; }
.pishro-nav__partner:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }

.pishro-mmenu__partner { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; padding: 12px 14px; border-radius: 12px; background: linear-gradient(135deg, #0f766e, #14b8a6); color: #fff !important; font-weight: 800; font-size: 14px; text-decoration: none; }
.pishro-mmenu__partner i { font-size: 19px; }
.pishro-mmenu__partner small { margin-inline-start: auto; font-size: 11px; font-weight: 700; opacity: .9; }
.pishro-mmenu__partner .pp-promo-new { background: rgba(255,255,255,.22); }

/* ── نوار صفحهٔ اصلی ─────────────────────────────────────── */
/* قاب هم‌اندازهٔ بنر دیجی‌پی (.ph-dp): عرض = ph-container، فاصلهٔ بالا/پایین ۸/۴ */
.ph-section.pp-band-sec { padding: 8px 0 4px; }
.pp-band { margin: 0; border-radius: 24px; color: #fff; background: radial-gradient(900px 300px at 100% -30%, rgba(245,166,35,.30), transparent 60%), linear-gradient(135deg, #0b1220 10%, #0f3d3a 60%, #134e4a); box-shadow: 0 24px 50px -30px rgba(2, 6, 23, .7); }
.pp-band__orb { position: absolute; width: 340px; height: 340px; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: -1; animation: pp-orb 16s ease-in-out infinite alternate; }
.pp-band__orb--a { background: #14b8a6; top: -160px; inset-inline-start: 8%; }
.pp-band__orb--b { background: #F5A623; bottom: -200px; inset-inline-end: 6%; opacity: .32; animation-duration: 21s; }
@keyframes pp-orb { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(60px, 30px) scale(1.15); } }
.pp-band__grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 34px 34px; -webkit-mask-image: radial-gradient(ellipse at 30% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 30% 50%, #000 20%, transparent 75%); }
.pp-band__in { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: center; padding: 30px 36px; }
.pp-band__eyebrow { display: inline-flex; align-items: center; gap: 6px; color: var(--pp-tl); font-weight: 800; font-size: 13px; }
.pp-band__h { margin: 8px 0 8px; font-size: 26px; line-height: 1.45; font-weight: 900; color: #fff; }
.pp-band__h em { font-style: normal; background: linear-gradient(90deg, #fde68a, #F5A623, #fde68a); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: pp-grad 6s linear infinite; }
@keyframes pp-grad { to { background-position: 200% center; } }
.pp-band__p { margin: 0 0 14px; color: #cbd5e1; font-size: 14px; line-height: 1.95; }
.pp-band__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pp-band__chips li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 10px; font-size: 12.5px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px); }
.pp-band__chips i { color: var(--pp-tl); font-size: 15px; }
/* لینک لندینگ؛ ::after کل نوار را کلیک‌پذیر می‌کند (کادر فعال‌سازی بالاتر می‌ماند) */
.pp-band__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 7px 7px 7px 16px; border-radius: 13px; background: linear-gradient(135deg, rgba(20,184,166,.28), rgba(94,234,212,.12)); border: 1px solid rgba(94,234,212,.55); color: #fff !important; font-size: 14px; font-weight: 800; text-decoration: none !important; box-shadow: 0 0 0 0 rgba(94,234,212,.45), 0 10px 24px -14px rgba(94,234,212,.9); animation: pp-more-ring 2.8s ease-out infinite; transition: background .2s, border-color .2s; }
.pp-band__more > i { color: var(--pp-tl); font-size: 18px; }
.pp-band__more-ar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--pp-tl); color: #0b1220; font-size: 16px; animation: pp-more-nudge 2.8s ease-in-out infinite; }
.pp-band__more::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pp-band:hover .pp-band__more { background: linear-gradient(135deg, rgba(20,184,166,.45), rgba(94,234,212,.22)); border-color: var(--pp-tl); }
.pp-band__more:focus-visible { outline: 2px solid var(--pp-tl); outline-offset: 3px; }
@keyframes pp-more-ring { 0% { box-shadow: 0 0 0 0 rgba(94,234,212,.45), 0 10px 24px -14px rgba(94,234,212,.9); } 70%, 100% { box-shadow: 0 0 0 9px rgba(94,234,212,0), 0 10px 24px -14px rgba(94,234,212,.9); } }
@keyframes pp-more-nudge { 0%, 60%, 100% { transform: translateX(0); } 75% { transform: translateX(-4px); } 90% { transform: translateX(0); } }
.pp-band__card { position: relative; z-index: 2; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 18px; padding: 18px 20px; backdrop-filter: blur(10px); }
.pp-band__row { display: flex; justify-content: space-between; gap: 10px; color: #cbd5e1; font-size: 13px; margin: 3px 0; }
.pp-band__row b { color: #fff; }
.pp-band__big { font-size: 27px; font-weight: 900; color: #6ee7b7; margin: 2px 0 12px; }
.pp-band__big small { font-size: 13px; color: #94a3b8; font-weight: 600; }
.pp-band__btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 12px; background: var(--pp-o); color: #fff !important; font-weight: 900; text-decoration: none; box-shadow: 0 10px 24px -10px rgba(245,166,35,.8); transition: transform .2s; }
.pp-band__btn:hover { transform: translateY(-2px); }
.pp-band__btn i { position: relative; z-index: 2; }
/* صرفه‌جویی ماهانهٔ چرخشی (pp-band.js) */
.pp-band__row--save { justify-content: flex-start; align-items: center; gap: 8px; font-size: 13.5px; }
.pp-band__cat { position: relative; display: inline-flex; height: 28px; overflow: hidden; border-radius: 9px; background: rgba(94,234,212,.12); border: 1px solid rgba(94,234,212,.35); box-shadow: 0 0 18px -6px rgba(94,234,212,.6); }
.pp-band__cat-in { display: inline-flex; align-items: center; gap: 5px; padding: 0 10px; white-space: nowrap; color: #fff; transition: transform .38s cubic-bezier(.2,.9,.25,1.2), opacity .3s, filter .3s; }
.pp-band__cat-in i { color: var(--pp-tl); font-size: 16px; }
.pp-band__cat-in b { font-weight: 800; }
.pp-band__cat-in.is-out { transform: translateY(-110%); opacity: 0; filter: blur(4px); }
.pp-band__cat-in.is-pre { transform: translateY(110%); opacity: 0; filter: blur(4px); transition: none; }
.pp-band__save .pp-band__big { margin: 8px 0 10px; }
.pp-band__num { display: inline-block; font-variant-numeric: tabular-nums; background: linear-gradient(90deg, #6ee7b7 0%, #a7f3d0 40%, #fff 50%, #a7f3d0 60%, #6ee7b7 100%); background-size: 250% auto; background-position: 0 0; -webkit-background-clip: text; background-clip: text; color: transparent; transform-origin: right center; }
.pp-band__num.is-pop { animation: pp-num-pop .9s cubic-bezier(.2,.9,.3,1); }
@keyframes pp-num-pop {
	0% { transform: scale(.94); filter: drop-shadow(0 0 0 rgba(110,231,183,0)); background-position: 100% 0; }
	35% { transform: scale(1.07); filter: drop-shadow(0 0 14px rgba(110,231,183,.75)); }
	100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(110,231,183,0)); background-position: 0 0; }
}
.pp-band__seg { display: flex; gap: 5px; margin: 0 0 14px; }
.pp-band__seg i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.14); overflow: hidden; cursor: pointer; }
.pp-band__seg b { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--pp-tl), #6ee7b7); }
.pp-band__seg i.is-done b { width: 100%; }
.pp-band__seg i.is-on b { animation: pp-seg var(--pp-seg, 3.2s) linear forwards; }
.pp-band__save.is-paused .pp-band__seg i.is-on b { animation-play-state: paused; }
@keyframes pp-seg { from { width: 0; } to { width: 100%; } }
.pp-band__note { display: block; margin-top: 8px; color: #94a3b8; font-size: 11.5px; text-align: center; }

/* ── نوار راهنما (دسته، لیست قیمت) ───────────────────────── */
.pp-strip { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 12px 14px; border-radius: 14px; color: #134e4a; font-size: 14px; }
.pp-strip__ic { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 11px; background: linear-gradient(135deg, #0f766e, #14b8a6); color: #fff; font-size: 21px; box-shadow: 0 6px 14px -6px rgba(15,118,110,.6); }
.pp-strip__txt { flex: 1; min-width: 0; line-height: 1.7; }
.pp-strip__txt b { color: var(--pp-t); }
.pp-strip__txt small { display: block; color: #64748b; font-size: 12px; }
.pp-strip__m { display: none; }
.pp-strip__cta { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: 10px; background: var(--pp-t); color: #fff !important; font-weight: 800; font-size: 13px; text-decoration: none; white-space: nowrap; }
.pp-strip__cta i { position: relative; z-index: 2; }
.pp-strip--ok .pp-strip__ic { background: linear-gradient(135deg, #059669, #10b981); }

/* ── کادر صفحهٔ محصول ────────────────────────────────────── */
.pp-pdpbox { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; color: #134e4a; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.pp-pdpbox:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -14px rgba(15,118,110,.6); }
.pp-pdpbox__ic { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(135deg, #0f766e, #14b8a6); color: #fff; font-size: 19px; }
.pp-pdpbox__t { flex: 1; min-width: 0; line-height: 1.6; }
.pp-pdpbox__t b { display: block; font-size: 13.5px; color: var(--pp-t); }
.pp-pdpbox__t b .woocommerce-Price-amount { color: inherit; font-weight: 900; }
.pp-pdpbox__t small { color: #475569; font-size: 11.5px; }
.pp-pdpbox__ch { color: var(--pp-t); font-size: 18px; }
.pp-pdpbox--found { --pp-bg: #ecfdf5; }

/* ── کادر سبد خرید ───────────────────────────────────────── */
.pp-cartbox { margin: 0 0 14px; padding: 14px; border-radius: 14px; color: #134e4a; font-size: 13.5px; line-height: 1.8; }
.pp-cartbox__h { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.pp-cartbox__h i { color: var(--pp-t); font-size: 20px; }
.pp-cartbox__amt { color: var(--pp-t); font-size: 17px; font-weight: 900; }
.pp-cartbox p { margin: 4px 0 10px; color: #64748b; font-size: 12.5px; }
.pp-cartbox a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; background: var(--pp-t); color: #fff !important; font-weight: 800; font-size: 13px; text-decoration: none; }
.pp-cartbox a i { position: relative; z-index: 2; }

/* ── فوتر ───────────────────────────────────────────────── */
a.pishro-f-trust__item--partner { color: inherit; text-decoration: none; }
.pishro-f-trust__item--partner .pishro-f-trust__icon { background: var(--pp-tbg) !important; color: var(--pp-t) !important; }

/* ── کارت دعوت (وبلاگ، صفحهٔ تشکر) ──────────────────────── */
.pp-cta { display: flex; align-items: center; gap: 14px; margin: 22px 0; padding: 16px 18px; border-radius: 16px; color: #fff !important; text-decoration: none !important; background: radial-gradient(500px 180px at 0% 120%, rgba(245,166,35,.28), transparent 60%), linear-gradient(135deg, #0b1220, #134e4a); box-shadow: 0 18px 36px -24px rgba(2,6,23,.8); }
.pp-cta * { text-decoration: none !important; }
.pp-cta__ic { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 13px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: var(--pp-tl); font-size: 24px; }
.pp-cta__b { flex: 1; min-width: 0; }
.pp-cta__t { display: block; font-size: 15.5px; font-weight: 800; color: #fff; }
.pp-cta__s { display: block; font-size: 12.5px; color: #cbd5e1; margin-top: 2px; }
.pp-cta__btn { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: 11px; background: var(--pp-o); color: #fff; font-weight: 800; font-size: 13.5px; white-space: nowrap; }
.pp-cta__btn i { position: relative; z-index: 2; }

/* ── واکنش‌گرا ───────────────────────────────────────────── */
@media (max-width: 991px) {
	.pp-band { border-radius: 20px; }
	.pp-band__in { grid-template-columns: 1fr; padding: 20px 18px; gap: 18px; }
	.pp-band__h { font-size: 20px; }
}
@media (max-width: 600px) {
	.pp-band__p { display: none; }
	.pp-band__more { display: flex; justify-content: space-between; padding-inline-start: 14px; }
	.pp-band__more > i { margin-inline-end: -4px; }
	.pp-band__chips { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
	.pp-band__chips li { font-size: 11.5px; padding: 5px 8px; }
	.pp-band__card { padding: 14px; }
	.pp-band__big { font-size: 22px; margin-bottom: 10px; }
	.pp-strip__d { display: none; }
	.pp-strip__m { display: block; }
	.pp-strip__txt small { display: none; }
	.pp-strip { padding: 10px 12px; font-size: 13px; }
	.pp-cta { flex-wrap: wrap; }
	.pp-cta__btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
	.pp-fx-shine::after, .pp-fx-border, .pp-band__orb, .pp-band__h em, .pp-promo-new::before, .pp-band__num.is-pop, .pp-band__seg i.is-on b, .pp-band__more, .pp-band__more-ar { animation: none !important; }
	.pp-band__seg i.is-on b { width: 100%; }
	.pp-band__cat-in { transition: none; }
	.pp-fx-shine::after { display: none; }
}
