/* ── Promotional Banner Carousel (Amazon/Flipkart-style Hero) ────── */
.promo-carousel-section {
  padding: 16px 0;
  background: #f1f5f9;
}

.promo-carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 320px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.promo-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
  overflow: hidden;
}

.promo-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Ken Burns zoom on background */
.promo-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.0);
}

.promo-slide.active .promo-slide-bg {
  animation: promoKenBurns 25s ease-out forwards;
}

@keyframes promoKenBurns {
  from { transform: scale(1.0); }
  to   { transform: scale(1.12); }
}

/* Gradient overlay for text readability */
.promo-slide-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
}

/* Content */
.promo-slide-content {
  position: relative;
  z-index: 2;
  padding: 36px 48px;
  max-width: 640px;
}

/* Content entrance animations */
.promo-slide.active .promo-slide-badge {
  animation: promoFadeUp 0.6s ease-out 0.15s both;
}
.promo-slide.active .promo-slide-title {
  animation: promoFadeUp 0.6s ease-out 0.25s both;
}
.promo-slide.active .promo-slide-subtitle {
  animation: promoFadeUp 0.6s ease-out 0.35s both;
}
.promo-slide.active .promo-slide-desc {
  animation: promoFadeUp 0.6s ease-out 0.45s both;
}
.promo-slide.active .promo-slide-btn {
  animation: promoFadeUp 0.6s ease-out 0.55s both;
}

@keyframes promoFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Glassmorphism badge */
.promo-slide-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 14px;
}

.promo-slide-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.promo-slide-subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 6px;
  opacity: 0.95;
  text-shadow: 0 1px 8px rgba(0,0,0,0.2);
}

.promo-slide-desc {
  font-size: 0.92rem;
  margin-bottom: 18px;
  opacity: 0.85;
  line-height: 1.5;
}

/* CTA button with glow */
.promo-slide-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.promo-slide-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  color: inherit;
}

/* ── Overlay Navigation ─────────────────────────────────────────── */
.promo-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s, transform 0.2s;
  opacity: 0;
}

.promo-carousel:hover .promo-arrow { opacity: 1; }

.promo-arrow:hover {
  background: rgba(255,255,255,0.35);
  transform: translateY(-50%) scale(1.1);
}

.promo-arrow-prev { left: 16px; }
.promo-arrow-next { right: 16px; }

/* Dot indicators — overlay at bottom */
.promo-dots-overlay {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.promo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.promo-dot.active {
  background: #fff;
  width: 26px;
  border-radius: 4px;
}

.promo-dot:hover { background: rgba(255,255,255,0.7); }

/* Progress bar */
.promo-progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.15);
  z-index: 5;
}

.promo-progress-bar {
  height: 100%;
  width: 0;
  background: rgba(255,255,255,0.7);
  transition: width 0.1s linear;
}

.promo-progress-bar.running {
  animation: promoProgressFill 5s linear forwards;
}

@keyframes promoProgressFill {
  from { width: 0; }
  to   { width: 100%; }
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 992px) {
  .promo-carousel { min-height: 280px; }
  .promo-slide-content { padding: 28px 36px; max-width: 520px; }
  .promo-slide-title { font-size: 1.7rem; }
}

@media (max-width: 768px) {
  .promo-carousel { min-height: 240px; border-radius: 12px; }
  .promo-slide-content { padding: 22px 26px; max-width: 100%; }
  .promo-slide-title { font-size: 1.35rem; }
  .promo-slide-subtitle { font-size: 0.95rem; }
  .promo-slide-desc { display: none; }
  .promo-slide-btn { padding: 10px 22px; font-size: 0.82rem; }
  .promo-arrow { width: 38px; height: 38px; font-size: 0.85rem; opacity: 1; }
  .promo-arrow-prev { left: 10px; }
  .promo-arrow-next { right: 10px; }
}

@media (max-width: 576px) {
  .promo-carousel { min-height: 200px; border-radius: 10px; }
  .promo-slide-content { padding: 18px 20px; }
  .promo-slide-title { font-size: 1.15rem; }
  .promo-slide-subtitle { font-size: 0.82rem; }
  .promo-slide-badge { font-size: 0.62rem; padding: 4px 10px; margin-bottom: 8px; }
  .promo-slide-btn { padding: 8px 18px; font-size: 0.76rem; }
  .promo-arrow { width: 32px; height: 32px; font-size: 0.75rem; }
  .promo-dots-overlay { bottom: 10px; gap: 6px; }
  .promo-dot { width: 6px; height: 6px; }
  .promo-dot.active { width: 20px; }
}

/* Dynamic Stats Strip */
.stats-strip-section {
  padding: 20px 0;
  background: #fff;
}

.stats-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  border-radius: 20px;
  padding: 24px 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.ss-item {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  justify-content: center;
}

.ss-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  flex-shrink: 0;
}

.ss-info {
  display: flex;
  flex-direction: column;
}

.ss-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1;
}

.ss-label {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 4px;
}

.ss-divider {
  width: 1px;
  height: 48px;
  background: #e2e8f0;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .stats-strip {
    padding: 16px 16px;
    gap: 0;
  }
  .ss-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    border-radius: 10px;
  }
  .ss-num {
    font-size: 1.3rem;
  }
  .ss-label {
    font-size: 0.7rem;
  }
  .ss-divider {
    height: 32px;
  }
}

@media (max-width: 576px) {
  .ss-item {
    gap: 8px;
  }
  .ss-icon {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }
  .ss-num {
    font-size: 1.1rem;
  }
  .ss-label {
    font-size: 0.65rem;
  }
  .ss-divider {
    height: 24px;
    margin: 0 4px;
  }
}

/* ── Multi-Placement Mini Banner (category / product / cart pages) ── */
.promo-mini-carousel {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 80px;
  max-height: 120px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.promo-mini-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 16px 24px;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.promo-mini-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}
.promo-mini-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.promo-mini-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 100%);
  z-index: 1;
}
.promo-mini-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.promo-mini-badge {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}
.promo-mini-text {
  flex-grow: 1;
  min-width: 0;
}
.promo-mini-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}
.promo-mini-subtitle {
  font-size: 0.8rem;
  margin: 2px 0 0;
  opacity: 0.9;
  line-height: 1.2;
}
.promo-mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.2s, opacity 0.2s;
}
.promo-mini-btn:hover {
  transform: translateY(-1px);
  opacity: 0.9;
  color: inherit;
}
@media (max-width: 576px) {
  .promo-mini-carousel { min-height: 70px; border-radius: 10px; }
  .promo-mini-slide { padding: 12px 14px; }
  .promo-mini-content { gap: 10px; flex-wrap: wrap; }
  .promo-mini-title { font-size: 0.88rem; }
  .promo-mini-subtitle { font-size: 0.72rem; }
  .promo-mini-badge { font-size: 0.62rem; padding: 2px 8px; }
  .promo-mini-btn { padding: 6px 14px; font-size: 0.72rem; }
}
