/* SalesOffer - Flipkart Big Sale Template Overrides */
.salesoffer-tpl-flipkart{--so-primary:#2874f0;--so-accent:#ffc200;--so-bg:#f0f5ff}

/* Hero text style - festive blue + gold sparkles */
.salesoffer-tpl-flipkart .salesoffer-hero:not(.salesoffer-hero--image){
	background:linear-gradient(180deg,#0d1b4a 0%,#1a237e 40%,#283593 70%,#1565c0 100%);
	position:relative;overflow:hidden;padding:60px 16px 70px;
}
.salesoffer-tpl-flipkart .salesoffer-hero:not(.salesoffer-hero--image)::before{
	content:"";position:absolute;inset:0;pointer-events:none;
	background-image:
		radial-gradient(2px 2px at 10% 20%,rgba(255,215,0,.6) 0,transparent 80%),
		radial-gradient(2px 2px at 30% 45%,rgba(255,215,0,.4) 0,transparent 80%),
		radial-gradient(2px 2px at 60% 12%,rgba(255,255,255,.5) 0,transparent 80%),
		radial-gradient(2px 2px at 85% 30%,rgba(255,215,0,.5) 0,transparent 80%),
		radial-gradient(2px 2px at 50% 75%,rgba(255,255,255,.3) 0,transparent 80%),
		radial-gradient(2px 2px at 90% 65%,rgba(255,215,0,.4) 0,transparent 80%);
	animation:soTwinkle 3s ease-in-out infinite alternate;
}
@keyframes soTwinkle{0%{opacity:.5}100%{opacity:1}}
.salesoffer-tpl-flipkart .salesoffer-hero__title{color:#ffc200;text-shadow:0 3px 12px rgba(0,0,0,.3)}
.salesoffer-tpl-flipkart .salesoffer-cta{background:#ffc200;color:#1a237e!important;font-weight:800;box-shadow:0 4px 18px rgba(255,194,0,.4)}
.salesoffer-tpl-flipkart .salesoffer-cta:hover{background:#ffca28}

/* Countdown blocks */
.salesoffer-tpl-flipkart .salesoffer-cd{background:rgba(255,255,255,.95);box-shadow:0 3px 12px rgba(0,0,0,.12)}
.salesoffer-tpl-flipkart .salesoffer-cd b{color:#1a237e}

/* Section titles with side lines */
.salesoffer-tpl-flipkart .salesoffer-section__title{display:flex;align-items:center;gap:12px}
.salesoffer-tpl-flipkart .salesoffer-section__title::before,
.salesoffer-tpl-flipkart .salesoffer-section__title::after{content:"";flex:1;height:2px;background:linear-gradient(90deg,transparent,#2874f0,transparent)}

/* Cards border accent */
.salesoffer-tpl-flipkart .salesoffer-card{border:1px solid #e8e8e8}
.salesoffer-tpl-flipkart .salesoffer-card:hover{border-color:#2874f0}
.salesoffer-tpl-flipkart .salesoffer-card__discount{background:#388e3c}

/* Deal of day highlight */
.salesoffer-tpl-flipkart .salesoffer-offer-strip{background:#fff9db;border-color:#ffc200}
.salesoffer-tpl-flipkart .salesoffer-offer-strip__badge{background:#ffc200;color:#1a237e}

/* Final CTA festive */
.salesoffer-tpl-flipkart .salesoffer-final-cta{background:linear-gradient(135deg,#1a237e 0%,#2874f0 50%,#1a237e 100%);position:relative;overflow:hidden}
.salesoffer-tpl-flipkart .salesoffer-final-cta::before{content:"";position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(2px 2px at 25% 30%,rgba(255,215,0,.4) 0,transparent 80%),radial-gradient(2px 2px at 75% 60%,rgba(255,215,0,.3) 0,transparent 80%)}
.salesoffer-tpl-flipkart .salesoffer-final-cta h2{color:#ffc200;text-shadow:0 2px 6px rgba(0,0,0,.2)}

/* Category cards */
.salesoffer-tpl-flipkart .salesoffer-cat img{border-color:#2874f0}
/* Flipkart responsive */
@media(max-width:480px){
	.salesoffer-tpl-flipkart .salesoffer-hero:not(.salesoffer-hero--image){padding:36px 12px 44px}
	.salesoffer-tpl-flipkart .salesoffer-cta{font-size:12px;padding:10px 18px}
	.salesoffer-tpl-flipkart .salesoffer-final-cta::before{display:none}
}
@media(min-width:769px) and (max-width:1024px){
	.salesoffer-tpl-flipkart .salesoffer-hero:not(.salesoffer-hero--image){padding:50px 16px 60px}
}
