/* ==========================================================================
   AAROGYAM INDIA — DYNAMIC BUNDLE LANDING PAGE ENHANCEMENTS (V4)
   Matches standard Aarogyam India Book Landing Page Theme & Mobile Fit
   ========================================================================== */

/* Prevent any horizontal blowout on mobile and FB WebView, ensure zero gaps at top */
html, body {
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100vw;
  overflow-x: hidden;
}

body.bundle-landing-page {
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 80px !important; /* Space for sticky buy bar */
}

/* 1. TOP NOTICE / COUNTDOWN RIBBON (COMPACT SLIM, CENTERED, 2X TIMER DIGITS) */
.bundle-top-ribbon {
  background: linear-gradient(90deg, #991b1b, #dc2626, #b91c1c);
  color: #fff;
  padding: 4px 10px !important;
  text-align: center;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  position: sticky !important;
  top: 0 !important;
  margin: 0 !important;
  z-index: 99998 !important;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35);
}

.ribbon-title-text {
  font-size: 0.84rem !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  letter-spacing: 0.3px;
  line-height: 1.15;
}

body.bundle-landing-page .header.header-tiranga-animated {
  margin: 0 !important;
  z-index: 99990 !important;
}

@media (min-width: 769px) {
  body.bundle-landing-page .header.header-tiranga-animated {
    position: sticky !important;
    top: 50px !important;
  }
}

@media (max-width: 768px) {
  body.bundle-landing-page .header.header-tiranga-animated {
    position: relative !important;
    top: 0 !important;
  }
}

.bundle-timer-badge {
  background: rgba(0, 0, 0, 0.5) !important;
  padding: 2px 14px !important;
  border-radius: 6px !important;
  font-family: 'Courier New', Courier, monospace, sans-serif !important;
  font-size: 1.45rem !important; /* Dugna (2x) Timer Digits */
  font-weight: 900 !important;
  color: #fef08a !important;
  letter-spacing: 2px !important;
  border: 1.5px solid rgba(254, 240, 138, 0.6) !important;
  line-height: 1.15 !important;
  display: inline-block !important;
}

/* 2. 3D BOOK FAN STACK FOR HERO (BALANCED TOP SPACING, NO CLIPPING & NO HEADER TOUCH) */
.hero-book,
.book-hero,
.hero-container {
  overflow: visible !important;
  padding-top: 0px !important;
}

.book-hero {
  padding-top: 26px !important; /* Gentle breathing space so header & book never touch */
  padding-bottom: 25px !important;
  min-height: auto !important;
}

.bundle-fan-stack-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding-top: 10px !important;
  padding-bottom: 0px !important;
  overflow: visible !important;
  min-height: unset !important;
}

.bundle-fan-stack {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 330px !important;
  perspective: 1200px;
  margin-top: 0px !important;
  margin-bottom: 6px !important;
  overflow: visible !important;
}

.bundle-fan-book-item,
.bundle-fan-book {
  position: absolute !important;
  width: 215px !important;
  height: 310px !important;
  border-radius: 14px;
  box-shadow: -8px 16px 36px rgba(0, 0, 0, 0.6), 0 0 1px rgba(255, 255, 255, 0.35);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, opacity 0.35s ease, border-color 0.35s ease;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: #0f172a;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  will-change: transform, opacity;
}

.bundle-fan-hint {
  display: none !important; /* Removed as requested */
}

/* 2B. RED BADGE FOR HERO OFFER TAG (CRISP, SHARP, ZERO BLURRY SHADOW) */
.bundle-landing-page .hero-tag,
#hero-tag {
  background: #dc2626 !important;
  color: #ffffff !important;
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
  border: 1.5px solid #ef4444 !important;
  font-weight: 900 !important;
  border-radius: 20px !important;
  padding: 6px 16px !important;
  margin-top: 0px !important;
  margin-bottom: 10px !important;
  display: inline-block !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.3px !important;
  -webkit-font-smoothing: antialiased;
}

.bundle-landing-page .hero-details {
  padding-top: 0px !important;
  margin-top: 0px !important;
}

/* 3. INCLUDED BOOKS SHOWCASE IN DAYLIGHT THEME */
.bundle-books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.bundle-book-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  gap: 16px;
  align-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.bundle-book-card:hover {
  transform: translateY(-3px);
  border-color: #16a34a;
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.15);
}

.bundle-card-thumb {
  width: 90px;
  height: 125px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bundle-card-thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

.bundle-card-content {
  flex: 1;
  min-width: 0;
}

.bundle-card-title {
  font-size: 1.05rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.bundle-card-title:hover {
  color: #16a34a;
}

.bundle-card-meta {
  font-size: 0.82rem;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
  font-weight: 600;
}

.bundle-card-pricing {
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 10px;
}

.bundle-card-pricing .old-mrp {
  color: #dc2626;
  text-decoration: line-through;
  font-weight: 800;
  margin-right: 6px;
}

.bundle-card-pricing .single-offer {
  color: #16a34a;
  font-weight: 900;
}

.bundle-preview-btn {
  background: #f0fdf4;
  color: #15803d;
  border: 1.5px solid #86efac;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.bundle-preview-btn:hover {
  background: #16a34a;
  color: #ffffff;
  border-color: #16a34a;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

/* 4. GRAND TOTAL CALCULATION STACK */
.bundle-calc-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 2px solid #38bdf8;
  border-radius: 20px;
  padding: 26px;
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  margin: 32px 0;
  position: relative;
  overflow: hidden;
}

.bundle-calc-badge {
  position: absolute;
  top: 14px;
  right: 16px;
  background: #f59e0b;
  color: #000;
  font-weight: 900;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bundle-calc-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bundle-calc-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
  padding-bottom: 16px;
  margin-bottom: 18px;
}

.bundle-calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}

.bundle-calc-row.final-highlight {
  background: rgba(34, 197, 94, 0.15);
  border: 1.5px solid #22c55e;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 1.25rem;
  font-weight: 900;
  color: #4ade80;
  margin-top: 6px;
}

.bundle-calc-cta {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #ffffff;
  text-align: center;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 1.28rem;
  font-weight: 900;
  text-decoration: none;
  border: 2px solid #ffffff;
  box-shadow: 0 6px 22px rgba(220, 38, 38, 0.5);
  cursor: pointer;
  margin-top: 18px;
  transition: transform 0.15s ease;
}

.bundle-calc-cta:active {
  transform: scale(0.98);
}

/* 5. BABY BROWSER / FULL-SCREEN IN-APP MODAL SHEET */
.baby-browser-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999999999 !important;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.baby-browser-backdrop.open {
  display: flex !important;
  opacity: 1 !important;
}

.baby-browser-sheet {
  position: fixed;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: #ffffff;
  border-radius: 0 !important;
  border: none !important;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  z-index: 1000000000 !important;
  transform: translateY(100%);
}

.baby-browser-backdrop.open .baby-browser-sheet {
  transform: translateY(0) !important;
}

.baby-browser-header {
  background: #0f172a;
  color: #fff;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #334155;
  gap: 10px;
  flex-shrink: 0;
}

.baby-btn-back {
  background: #14532d !important;
  color: #ffffff !important;
  border: 1.5px solid #22c55e !important;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(20, 83, 45, 0.4);
}

.baby-btn-back:hover {
  background: #15803d !important;
}

.baby-btn-buy {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #ffffff;
  border: 1.5px solid #ffffff;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.45);
}

.baby-btn-buy:active {
  transform: scale(0.97);
}

.baby-browser-iframe {
  width: 100%;
  height: 100%;
  border: none;
  flex: 1;
  background: #ffffff;
}

/* 6. FLOATING BUTTONS (DESKTOP ONLY — HIDDEN ON MOBILE TO PREVENT COLLISION WITH STICKY BUY BAR) */
.floating-share {
  position: fixed !important;
  right: 12px !important;
  bottom: 120px !important;
  z-index: 9990 !important;
}

.floating-wa-help-btn {
  position: fixed !important;
  right: 14px !important;
  bottom: 72px !important;
  z-index: 9998 !important;
  width: 46px !important;
  height: 46px !important;
  background: #25D366 !important;
  color: #ffffff !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 26px !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45) !important;
  text-decoration: none !important;
}

.floating-pwa-install-btn {
  position: fixed !important;
  left: 14px !important;
  bottom: 72px !important;
  z-index: 9998 !important;
  background: linear-gradient(135deg, #15803d, #166534) !important;
  color: #ffffff !important;
  border: 1.5px solid #86efac !important;
  padding: 7px 14px !important;
  border-radius: 30px !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
  cursor: pointer !important;
}

/* 7. MOBILE RESPONSIVE OPTIMIZATION */
@media (max-width: 768px) {
  /* HIDE FLOATING WA & INSTALL BUTTONS ON MOBILE (matches book-landing.html to prevent collision) */
  .floating-wa-help-btn,
  .floating-pwa-install-btn,
  .floating-share {
    display: none !important;
  }

  /* Slim Header on Mobile */
  body.bundle-landing-page header.header,
  body.bundle-landing-page .header-tiranga-animated {
    padding: 2px 0 !important;
  }

  body.bundle-landing-page header.header > .container,
  body.bundle-landing-page .header-tiranga-animated > .container {
    padding: 3px 10px !important;
  }

  body.bundle-landing-page .brand-logo-pill {
    padding: 2px 6px !important;
  }

  body.bundle-landing-page .brand-logo-pill img {
    height: 28px !important;
  }

  /* Make Hero Stack fit mobile screen (Clean distinct space below header, zero touching, no scattering) */
  .book-hero {
    padding-top: 24px !important; /* Definite clean space: center book never touches header! */
    padding-bottom: 15px !important;
  }

  .bundle-fan-stack-container {
    max-width: 100% !important;
    padding-top: 8px !important;
    padding-bottom: 0px !important;
    min-height: unset !important;
    overflow: visible !important;
  }

  .bundle-fan-stack {
    height: 295px !important;
    overflow: visible !important;
    margin-top: 0px !important;
    margin-bottom: 4px !important;
  }

  .bundle-fan-book-item,
  .bundle-fan-book {
    position: absolute !important;
    width: 185px !important;
    height: 265px !important;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease, opacity 0.4s ease !important;
  }
  .bundle-fan-book-item.fan-slot-far-left,
  .bundle-fan-book.fan-slot-far-left {
    transform: translateX(-68px) translateY(5px) rotate(-8deg) scale(0.90) !important;
    z-index: 1 !important;
    opacity: 0.82 !important;
  }
  .bundle-fan-book-item.fan-slot-left,
  .bundle-fan-book.fan-slot-left {
    transform: translateX(-34px) translateY(2px) rotate(-4deg) scale(0.96) !important;
    z-index: 4 !important;
    opacity: 0.94 !important;
  }
  .bundle-fan-book-item.fan-slot-center,
  .bundle-fan-book.fan-slot-center {
    transform: translateX(0px) translateY(0px) rotate(0deg) scale(1.05) !important;
    z-index: 10 !important;
    opacity: 1 !important;
    border-color: #22c55e !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45) !important;
  }
  .bundle-fan-book-item.fan-slot-right,
  .bundle-fan-book.fan-slot-right {
    transform: translateX(34px) translateY(2px) rotate(4deg) scale(0.96) !important;
    z-index: 4 !important;
    opacity: 0.94 !important;
  }
  .bundle-fan-book-item.fan-slot-far-right,
  .bundle-fan-book.fan-slot-far-right {
    transform: translateX(68px) translateY(5px) rotate(8deg) scale(0.90) !important;
    z-index: 1 !important;
    opacity: 0.82 !important;
  }

  .bundle-calc-card {
    padding: 18px 14px !important;
  }

  .bundle-calc-title {
    font-size: 1.15rem !important;
  }

  .bundle-calc-row.final-highlight {
    font-size: 1.05rem !important;
    padding: 10px 12px !important;
  }

  .bundle-card-desc {
    font-size: 0.8rem !important;
  }
}

/* ==========================================================================
   6. PULSING DARK-RED COMBO BARGAIN BAR (BABY BROWSER BOTTOM OVERLAY)
   ========================================================================== */
.baby-combo-bargain-bar {
  background: linear-gradient(90deg, #7f1d1d, #991b1b, #dc2626) !important;
  border-top: 2px solid #fde047 !important;
  color: #ffffff !important;
  padding: 8px 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
  box-shadow: 0 -4px 20px rgba(185, 28, 28, 0.5) !important;
  animation: comboBargainPulse 1.2s infinite ease-in-out !important;
  z-index: 1000000005 !important;
}

@keyframes comboBargainPulse {
  0%, 100% {
    filter: brightness(1);
    box-shadow: 0 -4px 18px rgba(185, 28, 28, 0.45);
  }
  50% {
    filter: brightness(1.22);
    box-shadow: 0 -6px 28px rgba(239, 68, 68, 0.9);
  }
}

.bargain-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.bargain-blink-dot {
  width: 10px;
  height: 10px;
  background: #fde047;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px #fde047;
  animation: dotBlink 0.8s infinite alternate;
}

@keyframes dotBlink {
  from { opacity: 0.3; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1.2); }
}

.bargain-price-comparison {
  display: flex;
  flex-direction: column;
  font-size: 0.76rem;
  line-height: 1.25;
}

.bargain-price-comparison .single-notice {
  color: #fca5a5;
  text-decoration: line-through;
  font-size: 0.74rem;
}

.bargain-price-comparison .combo-advantage {
  color: #fef08a;
  font-weight: 800;
  font-size: 0.84rem;
}

.bargain-cta-btn {
  background: #fde047 !important;
  color: #0f172a !important;
  border: none !important;
  padding: 8px 14px !important;
  border-radius: 8px !important;
  font-weight: 900 !important;
  font-size: 0.85rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3) !important;
  flex-shrink: 0;
}

/* ==========================================================================
   7. FLOATING AUDIO NARRATION PILL (TOP-RIGHT PINNED - NO SAKHI COLLISION)
   ========================================================================== */
.bundle-floating-audio-pill {
  position: fixed !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  z-index: 1000002 !important;
  background: rgba(15, 23, 42, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1.5px solid #fbbf24 !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55), 0 0 10px rgba(251, 191, 36, 0.3) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden !important;
}

.bundle-floating-audio-pill:hover {
  transform: scale(1.08) !important;
}

.bundle-floating-audio-pill:active {
  transform: scale(0.95) !important;
}

.bundle-floating-audio-pill.playing {
  border-color: #22c55e !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55), 0 0 12px rgba(34, 197, 94, 0.6) !important;
}

.bundle-speaker-icon {
  font-size: 1.25rem !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  user-select: none !important;
}

@media (min-width: 769px) {
  .bundle-floating-audio-pill {
    top: 96px !important;
    right: 18px !important;
    left: auto !important;
    bottom: auto !important;
  }
}

@media (max-width: 768px) {
  .bundle-floating-audio-pill {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    right: 12px !important;
    left: auto !important;
    top: auto !important;
    z-index: 99995 !important;
  }
}

/* Ensure install app floating bar is 100% disabled */
.pwa-floating-install-bar {
  display: none !important;
}

/* ==========================================================================
   8. MOBILE STICKY BUY BAR (100% RESPONSIVE FIXED AT BOTTOM)
   ========================================================================== */
.mobile-sticky-bar.bundle-mobile-sticky-bar {
  position: fixed !important;
  left: 0 !important;
  bottom: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: auto !important;
  min-height: calc(58px + env(safe-area-inset-bottom, 0px)) !important;
  padding-top: 6px !important;
  padding-left: max(10px, env(safe-area-inset-left, 10px)) !important;
  padding-right: max(10px, env(safe-area-inset-right, 10px)) !important;
  padding-bottom: max(8px, calc(6px + env(safe-area-inset-bottom, 0px))) !important;
  background: #ffffff !important;
  box-shadow: 0 -4px 22px rgba(0, 0, 0, 0.18) !important;
  z-index: 99999 !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.mobile-sticky-bar.bundle-mobile-sticky-bar .mobile-sticky-bar-inner {
  width: 100% !important;
  max-width: 900px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  box-sizing: border-box !important;
}

.bundle-mobile-sticky-bar .sticky-thumb-img {
  width: 38px !important;
  height: 50px !important;
  border-radius: 6px !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2) !important;
  border: 1px solid #cbd5e1 !important;
}

.bundle-mobile-sticky-bar .mobile-book-price {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  line-height: 1.15 !important;
  gap: 1px !important;
  white-space: nowrap !important;
}

.bundle-mobile-sticky-bar .mobile-book-price .old-price {
  font-size: 13px !important;
  color: #dc2626 !important;
  font-weight: 800 !important;
  text-decoration: line-through !important;
  line-height: 1 !important;
}

.bundle-mobile-sticky-bar .mobile-book-price .offer-price {
  font-size: 21px !important;
  font-weight: 900 !important;
  color: #16a34a !important;
  line-height: 1 !important;
}

.bundle-mobile-sticky-bar .sticky-buy-btn {
  flex: 1 1 auto !important;
  min-width: 120px !important;
  height: 44px !important;
  background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  border: 1px solid #ffffff !important;
  font-weight: 900 !important;
  font-size: 0.94rem !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.45) !important;
  cursor: pointer !important;
}

.bundle-mobile-sticky-bar .sticky-share-btn {
  width: 44px !important;
  height: 44px !important;
  background: #1e3a8a !important; /* Dark Blue */
  color: #ffffff !important;
  border-radius: 8px !important;
  border: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.1rem !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.4) !important;
}

/* Precision Mobile Tuning for Small Screens (e.g. 360px Android & FB WebView) */
@media (max-width: 420px) {
  .mobile-sticky-bar.bundle-mobile-sticky-bar .mobile-sticky-bar-inner {
    gap: 4px !important;
    padding: 0 4px !important;
  }
  .bundle-mobile-sticky-bar .sticky-bundle-multi-stack {
    width: 34px !important;
    height: 42px !important;
  }
  .bundle-mobile-sticky-bar .sticky-multi-thumb {
    width: 28px !important;
    height: 38px !important;
  }
  .bundle-mobile-sticky-bar .mobile-book-price {
    min-width: 48px !important;
    text-align: center !important;
  }
  .bundle-mobile-sticky-bar .mobile-book-price .old-price {
    font-size: 10px !important;
  }
  .bundle-mobile-sticky-bar .mobile-book-price .offer-price {
    font-size: 16px !important;
  }
  .bundle-mobile-sticky-bar .sticky-buy-btn {
    font-size: 0.82rem !important;
    padding: 0 6px !important;
    height: 40px !important;
    white-space: nowrap !important;
    min-width: 0 !important;
    letter-spacing: -0.3px !important;
    gap: 4px !important;
  }
  .bundle-mobile-sticky-bar .sticky-share-btn {
    width: 36px !important;
    height: 40px !important;
    font-size: 0.95rem !important;
  }
}

/* ==========================================================================
   9. HORIZONTAL SWIPEABLE AAROGYAMTUBE VIDEO CAROUSEL
   ========================================================================== */
.bundle-videos-slider-wrapper {
  position: relative;
  width: 100%;
}

.bundle-videos-carousel-track {
  display: flex !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  gap: 18px !important;
  padding: 10px 4px 16px !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
  scroll-behavior: smooth !important;
}

.bundle-videos-carousel-track::-webkit-scrollbar {
  display: none !important;
}

.bundle-video-slide {
  flex: 0 0 100% !important;
  max-width: 680px !important;
  scroll-snap-align: center !important;
  margin: 0 auto !important;
  background: #0f172a;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border: 2px solid #e2e8f0;
  display: flex;
  flex-direction: column;
}

/* 9:16 Vertical Video / Shorts Slide Enhancements */
.bundle-video-slide.is-vertical-slide {
  max-width: 360px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.bundle-vertical-video-frame {
  position: relative !important;
  width: 100% !important;
  max-width: 340px !important;
  margin: 0 auto !important;
  aspect-ratio: 9 / 16 !important;
  height: 560px !important;
  max-height: 75vh !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: #000 !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45) !important;
  border: 2.5px solid #334155 !important;
}

.bundle-video-slide-header {
  padding: 10px 16px;
  background: #1e293b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #334155;
}

.bundle-video-slide-title {
  font-weight: 800;
  font-size: 0.92rem;
  color: #f8fafc;
}

.bundle-video-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
  font-size: 1.1rem;
}

.bundle-video-arrow:hover {
  background: #16a34a;
  transform: translateY(-50%) scale(1.1);
}

.bundle-video-arrow.left-arrow { left: -14px; }
.bundle-video-arrow.right-arrow { right: -14px; }

@media (max-width: 768px) {
  .bundle-video-slide {
    flex: 0 0 90% !important;
  }
  .bundle-video-arrow {
    display: none !important; /* Touch swipe is primary on mobile */
  }
}

.bundle-videos-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.bundle-video-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: all 0.25s ease;
  cursor: pointer;
}

.bundle-video-dot.active {
  width: 24px;
  border-radius: 10px;
  background: #dc2626;
}

/* ==========================================================================
   10. STICKY COMBO DUAL-BOOK STACK BADGE
   ========================================================================== */
.sticky-bundle-multi-stack {
  position: relative;
  width: 48px;
  height: 52px;
  flex-shrink: 0;
}

.sticky-multi-thumb {
  position: absolute;
  width: 34px;
  height: 46px;
  border-radius: 5px;
  object-fit: cover;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
  border: 1px solid #cbd5e1;
}

.sticky-multi-thumb.thumb-back {
  top: 0;
  left: 0;
  transform: rotate(-8deg);
  opacity: 0.9;
}

.sticky-multi-thumb.thumb-front {
  top: 4px;
  left: 14px;
  transform: rotate(5deg);
  z-index: 2;
}

.sticky-combo-pill {
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  background: #dc2626;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: 4px;
  z-index: 3;
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}


/* ==========================================================================
   ENHANCED 3D FAN STACK CAROUSEL & TOUCH SWIPER (BUTTER SMOOTH)
   ========================================================================== */
.bundle-fan-stack-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 580px;
  min-height: 440px;
  position: relative;
  overflow: visible !important;
  perspective: 1200px;
  touch-action: pan-y pinch-zoom;
}

.bundle-fan-stack {
  position: relative;
  width: 100%;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  transform-style: preserve-3d;
  overflow: visible !important;
  user-select: none;
  -webkit-user-select: none;
}

.bundle-fan-book-item,
.bundle-fan-book {
  position: absolute;
  width: 215px;
  height: 310px;
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.45s ease,
              opacity 0.35s ease,
              border-color 0.35s ease,
              filter 0.35s ease;
  will-change: transform, opacity;
  background: #0f172a;
}

.bundle-fan-book-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.bundle-fan-book-label {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  padding: 8px 10px;
  background: linear-gradient(to top, rgba(10, 15, 28, 0.95), rgba(10, 15, 28, 0.5) 75%, transparent);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  opacity: 0 !important;
  transition: opacity 0.3s ease;
  pointer-events: none !important;
}

.bundle-fan-book-label .fan-book-name {
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 95%;
  text-align: center;
}

.bundle-fan-book-label .fan-book-action {
  font-size: 0.68rem;
  font-weight: 800;
  color: #4ade80;
  letter-spacing: 0.2px;
}

/* Slots for 5 books */
.bundle-fan-book-item.fan-slot-far-left,
.bundle-fan-book.fan-slot-far-left {
  transform: translateX(-120px) translateY(14px) rotate(-14deg) scale(0.88);
  z-index: 1;
  opacity: 0.8;
  filter: brightness(0.85);
}

.bundle-fan-book-item.fan-slot-left,
.bundle-fan-book.fan-slot-left {
  transform: translateX(-60px) translateY(7px) rotate(-7deg) scale(0.95);
  z-index: 4;
  opacity: 0.92;
  filter: brightness(0.92);
}

.bundle-fan-book-item.fan-slot-center,
.bundle-fan-book.fan-slot-center {
  transform: translateX(0px) translateY(-14px) rotate(0deg) scale(1.10);
  z-index: 10;
  opacity: 1;
  filter: brightness(1.04);
  border-color: #22c55e !important;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.75), 0 0 30px rgba(34, 197, 94, 0.45) !important;
}

.bundle-fan-book-item.fan-slot-center .bundle-fan-book-label {
  opacity: 1;
}

.bundle-fan-book-item.fan-slot-right,
.bundle-fan-book.fan-slot-right {
  transform: translateX(60px) translateY(7px) rotate(7deg) scale(0.95);
  z-index: 4;
  opacity: 0.92;
  filter: brightness(0.92);
}

.bundle-fan-book-item.fan-slot-far-right,
.bundle-fan-book.fan-slot-far-right {
  transform: translateX(120px) translateY(14px) rotate(14deg) scale(0.88);
  z-index: 1;
  opacity: 0.8;
  filter: brightness(0.85);
}

/* Controls & Indicators */
.bundle-fan-hint {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.fan-controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.fan-arrow-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fan-arrow-btn:hover,
.fan-arrow-btn:active {
  background: #22c55e;
  border-color: #22c55e;
  color: #000000;
  transform: scale(1.1);
}

.fan-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.fan-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.fan-dot.active {
  width: 22px;
  border-radius: 10px;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
}

.fan-hint-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

@media (max-width: 640px) {
  .bundle-fan-stack-container {
    min-height: unset !important;
    padding-top: 4px !important;
  }
  .bundle-fan-stack {
    height: 290px !important;
  }
  .bundle-fan-book-item,
  .bundle-fan-book {
    width: 175px;
    height: 250px;
  }
  .bundle-fan-book-item.fan-slot-far-left,
  .bundle-fan-book.fan-slot-far-left {
    transform: translateX(-80px) translateY(10px) rotate(-12deg) scale(0.86);
    z-index: 1;
  }
  .bundle-fan-book-item.fan-slot-left,
  .bundle-fan-book.fan-slot-left {
    transform: translateX(-40px) translateY(5px) rotate(-6deg) scale(0.94);
    z-index: 4;
  }
  .bundle-fan-book-item.fan-slot-center,
  .bundle-fan-book.fan-slot-center {
    transform: translateX(0px) translateY(-10px) rotate(0deg) scale(1.08);
    z-index: 10;
  }
  .bundle-fan-book-item.fan-slot-right,
  .bundle-fan-book.fan-slot-right {
    transform: translateX(40px) translateY(5px) rotate(6deg) scale(0.94);
    z-index: 4;
  }
  .bundle-fan-book-item.fan-slot-far-right,
  .bundle-fan-book.fan-slot-far-right {
    transform: translateX(80px) translateY(10px) rotate(12deg) scale(0.86);
    z-index: 1;
  }
  .fan-hint-text {
    font-size: 0.74rem;
    padding: 4px 10px;
  }
}
