/* کمپین «جمعهٔ پُرتخفیف اسنپ‌پی» — نوار بالا + کادر سبد (inc/snapppay-promo.php) */
.nw-spp { position: relative; z-index: 60; background: linear-gradient(90deg, #0b3fd6 0%, #1463ff 55%, #0b3fd6 100%); color: #fff; overflow: hidden; }
.nw-spp::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 22px); pointer-events: none; }
.nw-spp__in { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 12px; height: 44px; padding: 0 44px; color: #fff !important; text-decoration: none !important; white-space: nowrap; }
.nw-spp__tag { background: #ffd60a; color: #0a2a8f; font-weight: 900; font-size: 12px; line-height: 1.6; padding: 2px 10px; border-radius: 999px; }
.nw-spp__b { font-weight: 900; font-size: 15px; }
.nw-spp__t { font-size: 14px; opacity: .92; }
.nw-spp__cta { background: #fff; color: #0b3fd6; font-weight: 800; font-size: 13px; line-height: 1.6; padding: 4px 14px; border-radius: 999px; margin-inline-start: 6px; transition: transform .15s ease; }
.nw-spp__in:hover .nw-spp__cta, .nw-spp__in:focus-visible .nw-spp__cta { transform: translateX(-3px); }
.nw-spp__in:focus-visible { outline: 2px solid #ffd60a; outline-offset: -3px; }
.nw-spp__x { position: absolute; z-index: 2; left: 6px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: #fff; opacity: .8; font-size: 20px; line-height: 1; cursor: pointer; padding: 0; }
.nw-spp__x:hover, .nw-spp__x:focus-visible { opacity: 1; background: rgba(255, 255, 255, .15); }
@media (max-width: 767px) {
	.nw-spp__in { height: 40px; gap: 8px; justify-content: flex-start; padding: 0 12px 0 40px; }
	.nw-spp__t { display: none; }
	.nw-spp__b { font-size: 13px; }
	.nw-spp__tag { font-size: 11px; padding: 1px 8px; }
	.nw-spp__cta { font-size: 12px; padding: 3px 10px; margin-inline-start: auto; }
}
@media (max-width: 359px) { .nw-spp__tag { display: none; } }

.nw-spp-cart { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 10px 0 12px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(135deg, #0b3fd6, #1f6bff); color: #fff; }
.nw-spp-cart::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 10% 20%, rgba(255, 214, 10, .35), transparent 45%); pointer-events: none; }
.nw-spp-cart__s { flex: none; width: 38px; height: 38px; border-radius: 11px; background: #ffd60a; color: #0a2a8f; font-weight: 900; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.nw-spp-cart__t { flex: 1; min-width: 0; }
.nw-spp-cart__t b { display: block; font-size: 14px; font-weight: 900; }
.nw-spp-cart__t small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.7; opacity: .95; }
.nw-spp-cart__t em { font-style: normal; font-weight: 900; color: #ffd60a; }
.nw-spp-cart__btn { position: relative; z-index: 1; flex: 1 1 100%; border: 0; border-radius: 10px; background: #fff; color: #0b3fd6; font: inherit; font-size: 13px; font-weight: 800; padding: 9px 12px; cursor: pointer; }
.nw-spp-cart__btn:hover, .nw-spp-cart__btn:focus-visible { background: #eef3ff; }
.nw-spp-cart__btn:disabled { opacity: .7; cursor: wait; }
