/* ==========================================================================
   Spotlight Offer Section (Figma Exact Dev Mode Specs)
   Container: 1300px x 601px, Radius: 60.91px
   Card: 285.74px x 346.51px, Radius: 25.98px, Border: 0.93px
   ========================================================================== */
.spotlight-section {
  width: 100%;
  padding-top: 40px;
  padding-bottom: 50px;
  background-color: #FFFFFF;
}

.spotlight-banner-card {
  width: 100%;
  max-width: 1300px;
  min-height: 601px;
  margin: 0 auto;
  border-radius: 60.91px;
  background: linear-gradient(135deg, rgba(255, 0, 122, 0.20) 0%, rgba(138, 43, 226, 0.25) 50%, rgba(0, 112, 255, 0.25) 100%);
  padding: 40px 50px 44px 50px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* --------------------------------------------------------------------------
   Desktop Header Area (Layout: Title Left, Timer Right, Subtitle Centered)
   -------------------------------------------------------------------------- */
.spotlight-header-area {
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.spotlight-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Pulse Dot: 20.12px x 20.12px */
.spotlight-pulse {
  width: 20.12px;
  height: 20.12px;
  background-color: #FF007A;
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(255, 0, 122, 0.45);
  animation: pulseAnimation 2s infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 0, 122, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255, 0, 122, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 0, 122, 0); }
}

/* Title: 35.21px Bold, Spacing: 7.54px */
.spotlight-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 35.21px;
  font-weight: 700;
  line-height: 50.3px;
  letter-spacing: 7.54px;
  color: #FFFFFF;
  text-transform: uppercase;
  margin: 0;
}

/* Subtitle: 30.34px Bold, Centered on Desktop */
.spotlight-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 30.34px;
  font-weight: 700;
  line-height: 45.5px;
  color: #EC4899;
  margin: 0 auto 24px auto;
  text-align: center;
}

/* Countdown Timer Boxes */
.spotlight-countdown-wrap {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.timer-box {
  width: 77.22px;
  height: 77.22px;
  border-radius: 20.59px;
  background-color: #F8F9FA;
  border: 1.72px solid #EEEEEE;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.timer-val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24.02px;
  font-weight: 700;
  line-height: 30px;
  color: #1F2937;
}

.timer-lbl {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12.01px;
  font-weight: 700;
  line-height: 14px;
  color: #9CA3AF;
  text-transform: uppercase;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Slider Track & Cards (Desktop)
   -------------------------------------------------------------------------- */
.spotlight-slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 1197px;
  margin: 0 auto;
}

.spotlight-slider-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 14px 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.spotlight-slider-track::-webkit-scrollbar {
  display: none;
}

/* Desktop Arrow Controls */
.spotlight-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 1px solid #F3F4F6;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.spotlight-arrow:hover {
  background-color: #F9FAFB;
  transform: translateY(-50%) scale(1.06);
}

.spotlight-arrow.prev {
  left: -22px;
}

.spotlight-arrow.next {
  right: -22px;
}

/* Spotlight Card (Desktop: 285.74px x 346.51px) */
.spotlight-card {
  width: 285.74px;
  min-width: 280.74px;
  height: 346.51px;
  background: #FFFFFF;
  border-radius: 25.98px;
  border: 0.93px solid #F8F8F8;
  padding: 14.84px;
  box-sizing: border-box;
  scroll-snap-align: start;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.spotlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.spotlight-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  background: linear-gradient(135deg, #FF007A 0%, #8A2BE2 100%);
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  padding: 3.5px 9px;
  border-radius: 9999px;
  z-index: 2;
}

.spotlight-thumb {
  width: 100%;
  height: 163.28px;
  border-radius: 20.41px;
  background-color: #F9FAFB;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.spotlight-img {
  max-width: 120px;
  max-height: 130px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.spotlight-card:hover .spotlight-img {
  transform: scale(1.04);
}

.spotlight-info {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.spotlight-prod-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 20px;
  color: #1A1A1A;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotlight-spec {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #9CA3AF;
  margin: 2px 0 6px 0;
}

.spotlight-price-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.spotlight-prices {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.spotlight-curr-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18.73px;
  font-weight: 700;
  line-height: 24px;
}

.spotlight-old-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 9.36px;
  font-weight: 400;
  color: #9CA3AF;
  text-decoration: line-through;
}

.btn-spotlight-plus {
  width: 37.46px;
  height: 37.46px;
  border-radius: 14.98px;
  background: linear-gradient(135deg, #FF007A 0%, #8A2BE2 50%, #0070FF 100%);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(138, 43, 226, 0.25);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.btn-spotlight-plus:hover {
  transform: scale(1.08);
}

.spotlight-emi {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  color: #9CA3AF;
  margin: 0 0 8px 0;
}

/* Stock Progress (Figma Dev Mode: Meta row on Top, Bar on Bottom) */
.spotlight-stock-wrap {
  width: 100%;
}

.stock-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 4px;
}

.stock-lbl {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 8.35px;
  font-weight: 700;
  color: #9CA3AF;
  text-transform: uppercase;
}

.stock-left {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 8.35px;
  font-weight: 700;
  color: #D82777;
}

.stock-progress-bg {
  width: 100%;
  height: 5.57px;
  border-radius: 9.28px;
  background-color: #F0F0F0;
  overflow: hidden;
}

.stock-progress-fill {
  height: 100%;
  border-radius: 9.28px;
  background: linear-gradient(135deg, #FF007A 0%, #8A2BE2 100%);
}

/* ==========================================================================
   Responsive Tablet Logic (641px to 1024px)
   ========================================================================== */
@media (min-width: 641px) and (max-width: 1024px) {
  .spotlight-banner-card {
    padding: 32px 24px;
    border-radius: 40px;
  }
  .spotlight-card {
    width: calc(50% - 12px);
    min-width: 260px;
  }
}

/* ==========================================================================
   Responsive Mobile Logic (Figma Dev Mode Exact: Centered Header, 1 Card View)
   ========================================================================== */
@media (max-width: 640px) {
  .spotlight-section {
    padding-top: 16px;
    padding-bottom: 24px;
  }

  .spotlight-banner-card {
    padding: 24px 12px 24px 12px;
    border-radius: 36px;
    min-height: auto;
  }

  /* 1. Fully Centered Header Hierarchy as per Figma Screenshot 8.44.33 PM */
  .spotlight-header-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
  }

  /* Title Row Centered */
  .spotlight-title-row {
    justify-content: center;
    margin-bottom: 12px;
  }

  .spotlight-title {
    font-size: 19px;
    line-height: 26px;
    letter-spacing: 2px;
  }

  .spotlight-pulse {
    width: 12px;
    height: 12px;
  }

  /* Countdown Centered under Title */
  .spotlight-countdown-wrap {
    position: static;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
    width: 100%;
  }

  .timer-box {
    width: 50px;
    height: 50px;
    border-radius: 13px;
  }

  .timer-val {
    font-size: 17px;
    line-height: 20px;
  }

  .timer-lbl {
    font-size: 8px;
    line-height: 10px;
  }

  /* Subtitle Centered under Countdown */
  .spotlight-subtitle {
    font-size: 14px;
    line-height: 18px;
    margin: 0;
    text-align: center;
  }

  /* 2. Slider Wrapper & Track (Strict 1 Card View) */
  .spotlight-slider-wrapper {
    max-width: 100%;
    overflow: visible;
  }

  .spotlight-slider-track {
    gap: 16px;
    scroll-snap-type: x mandatory;
    padding: 4px 6px 14px 6px;
  }

  /* Exactly 1 Card Visible per View (Figma specs: Width 308px, centered) */
  .spotlight-card {
    width: 308px;
    min-width: 308px;
    height: auto;
    border-radius: 24px;
    padding: 16px;
    scroll-snap-align: center;
    box-sizing: border-box;
    margin: 0 auto;
  }

  .spotlight-badge {
    top: 20px;
    left: 20px;
    font-size: 9px;
    padding: 3px 8px;
  }

  /* Thumbnail */
  .spotlight-thumb {
    width: 100%;
    height: 148px;
    border-radius: 18px;
    margin-bottom: 10px;
  }

  .spotlight-img {
    max-width: 95px;
    max-height: 115px;
  }

  .spotlight-prod-name {
    font-size: 14px;
    line-height: 19px;
  }

  .spotlight-spec {
    font-size: 10.5px;
    margin: 2px 0 8px 0;
  }

  /* Pricing Row (Figma: Sales 21.24px Bold, Old 10.62px Regular) */
  .spotlight-price-action {
    margin-bottom: 4px;
  }

  .spotlight-curr-price {
    font-size: 21.24px;
    line-height: 29.74px;
  }

  .spotlight-old-price {
    font-size: 10.62px;
    line-height: 15.93px;
  }

  /* Plus Button (Figma Dev Mode: 42.49px x 42.49px, Radius: 17px) */
  .btn-spotlight-plus {
    width: 42.49px;
    height: 42.49px;
    border-radius: 17px;
  }

  .btn-spotlight-plus svg {
    width: 21.24px;
    height: 21.24px;
  }

  /* Mobile EMI Text (Figma: Size: 9.96px, Line-height: 8px, -4% Spacing) */
  .spotlight-emi {
    font-size: 9.96px;
    line-height: 8px;
    letter-spacing: -0.04em;
    color: #9CA3AF;
    margin-top: 2px;
    margin-bottom: 12px;
  }

  /* Stock Frame (#mt-5: Width 276.17px, Height: 29.21px) */
  .spotlight-stock-wrap {
    width: 276.17px;
    max-width: 100%;
    margin: 0 auto;
  }

  /* Stock Text Row on TOP (#justify-between: 276.17px x 14.34px) */
  .stock-meta-row {
    width: 100%;
    height: 14.34px;
    margin-bottom: 6px;
  }

  .stock-lbl {
    font-size: 9.56px;
    line-height: 14.34px;
    color: #9CA3AF;
  }

  .stock-left {
    font-size: 9.56px;
    line-height: 14.34px;
    color: #DB2777; /* Figma Exact: #DB2777 */
  }

  /* Stock Progress Bar on BOTTOM (#stock-progress: 276.17px x 6.37px, Radius: 10.62px) */
  .stock-progress-bg {
    width: 100%;
    height: 6.37px;
    border-radius: 10.62px;
  }

  .stock-progress-fill {
    border-radius: 10.62px;
  }

  /* Mobile Arrow Buttons */
  .spotlight-arrow {
    display: flex;
    top: 55%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    z-index: 15;
  }

  .spotlight-arrow svg {
    width: 14px;
    height: 14px;
  }

  .spotlight-arrow.prev {
    left: -4px;
  }

  .spotlight-arrow.next {
    right: -4px;
  }
}