/* ==========================================================================
   Featured Products Section (Pixel to Pixel Figma Dev Mode Specs)
   ========================================================================== */
.featured-products-section {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 60px;
  background-color: #FFFFFF;
}

.featured-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-inline: 16px;
  box-sizing: border-box;
}

/* Gradient Text Utility */
.gradient-text {
  background: linear-gradient(135deg, #FF007A 0%, #8A2BE2 50%, #0070FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header Area: 474.99px x 51px */
.featured-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 36px;
}

.featured-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 50.07px; /* Figma: 50.07px */
  font-weight: 700;
  line-height: 50.07px;
  color: #000000;
  margin: 0 0 28px 0;
  letter-spacing: 0%;
}

/* Category Tab Pills (Desktop) */
.category-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px; /* space-x-4 */
}

.tab-pill {
  height: 51.64px;
  border-radius: 20.86px;
  padding: 0 28px;
  border: 1.56px solid #F3F4F6;
  background-color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15.65px;
  font-weight: 700;
  color: #6B7280;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab-pill.active {
  width: 173.71px; /* Figma: 173.71px */
  border-color: #8A2BE2; /* Figma: #8A2BE2 */
  color: #111111;
  box-shadow: 0 10.43px 20.86px rgba(138, 43, 226, 0.10);
}

/* Big Hero Card (1293px x 1036px) with Ambient Background */
.category-hero-card {
    width: 100%;
    max-width: 1293px;
    background: linear-gradient(135deg, #FFF6FB 0%, #FAF6FE 40%, #FFFFFF 100%);
    border: 1.04px solid #F3F4F6;
    border-radius: 41.73px;
    padding: 44px 50px 50px 50px;
    box-sizing: border-box;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
    position: relative;
}

/* Top Promo Banner Area (Desktop) */
.promo-banner-area {
  width: 100%;
  margin-bottom: 36px;
}

.flagship-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 25.15px;
  padding: 0 14px;
  border-radius: 9999px;
  background-color: #FFFFFF;
  border: 1px solid #F3F4F6;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10.64px;
  font-weight: 700;
  color: #111827;
  letter-spacing: 1.06px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.promo-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px 0;
}

.promo-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #6B7280;
  margin: 0 0 20px 0;
}

.btn-discover {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 24px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #FF007A 0%, #8A2BE2 50%, #0070FF 100%);
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(255, 0, 122, 0.25);
  transition: opacity 0.2s ease;
}

.btn-discover:hover {
  opacity: 0.92;
}

/* Media (1,192.27px x 284px) */
.promo-banner-media {
  width: 100%;
  max-width: 1192.27px;
  height: 284px;
  border-radius: 24px;
  overflow: hidden;
  margin-top: 24px;
}

.promo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   8 Products Slider (Desktop Specs: 263.9px x 412.34px)
   ========================================================================== */
.product-slider-wrapper {
  position: relative;
  width: 100%;
}

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

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

/* Slider Arrows */
.slider-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #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;
}

.slider-arrow:hover {
  background: #F9FAFB;
  transform: translateY(-50%) scale(1.05);
}

.slider-arrow.prev {
  left: -24px;
}

.slider-arrow.next {
  right: -24px;
}

/* Desktop Product Card */
.product-card {
  width: 263.9px;
  min-width: 263.9px;
  height: 412.34px;
  background: #FFFFFF;
  border-radius: 32.99px;
  border: 1.65px solid #F1F1F1;
  box-shadow: 0px 6.6px 24.74px rgba(0, 0, 0, 0.03);
  padding: 18.14px;
  box-sizing: border-box;
  scroll-snap-align: start;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

/* Product Badges */
.product-badge {
  position: absolute;
  top: 26px;
  left: 26px;
  z-index: 2;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 9999px;
  text-transform: uppercase;
  color: #FFFFFF;
}

.pink-badge {
  background-color: #FF007A;
}

.blue-badge {
  background-color: #0070FF;
}

/* Inner Thumbnail Box (Desktop: 227.61px x 214.42px, Radius: 26.39px) */
.product-image-bg {
  width: 227.61px;
  height: 214.42px;
  border-radius: 26.39px;
  background-color: #F8F9FA;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.prod-img {
  width: 130.64px;
  height: 141.4px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.product-card:hover .prod-img {
  transform: scale(1.05);
}

.product-details {
  width: 224.32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.product-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18.14px;
  font-weight: 700;
  line-height: 27.21px;
  color: #1A1A1A;
  margin: 0 0 2px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 2px;
}

.curr-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22.91px;
  font-weight: 700;
  line-height: 32.74px;
  letter-spacing: 0%;
}

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

.emi-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14.73px;
  font-weight: 424;
  line-height: 18px;
  color: #9CA3AF;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.emi-text span {
  font-weight: 700;
  color: #9CA3AF;
}

.btn-add-cart {
  width: 227.61px;
  height: 51.96px;
  border-radius: 13.2px;
  border: 1.65px solid #F3F4F6;
  background-color: #F9FAFB;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14.84px;
  font-weight: 700;
  line-height: 22.27px;
  color: #1A1A1A;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  transition: all 0.25s ease;
}

.btn-add-cart:hover {
  background: linear-gradient(135deg, #FF007A 0%, #8A2BE2 50%, #0070FF 100%);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(255, 0, 122, 0.25);
}

/* ==========================================================================
   Responsive Logic - Exact Mobile Figma Dev Mode Specs
   ========================================================================== */
@media (max-width: 1024px) {
  .category-hero-card {
    padding: 24px;
    border-radius: 30px;
  }

  .promo-banner-media {
    height: 200px;
  }
}

@media (max-width: 640px) {
  .featured-products-section {
    padding-top: 24px;
    padding-bottom: 36px;
  }

  .featured-container {
    padding-inline: 12px;
  }

  /* 1. Mobile Header: 279.08px x 30px, Font: 29.42px, Line-height: 29.42px */
  .featured-header {
    margin-bottom: 18px;
    width: 100%;
    max-width: 280px;
  }

  .featured-title {
    font-size: 29.42px;
    line-height: 29.42px;
    margin: 0 0 14px 0;
  }

  /* 2. Mobile Category Tabs: Active 102.06px x 30.34px */
  .category-tabs {
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    justify-content: flex-start;
    padding-inline: 2px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .category-tabs::-webkit-scrollbar {
    display: none;
  }

  /* Inactive Pill: Font 9.19px Bold, Line-height: 13.79px, Color: #9CA3AF */
  .tab-pill {
    height: 30.34px;
    padding: 0 14px;
    font-size: 9.19px;
    line-height: 13.79px;
    font-weight: 700;
    color: #9CA3AF;
    border-radius: 12.26px;
    border: 0.92px solid #F3F4F6;
    flex-shrink: 0;
  }

  /* Active Pill: 102.06px x 30.34px, Radius: 12.26px, Border: 0.92px solid #8A2BE2 */
  .tab-pill.active {
    width: 102.06px;
    height: 30.34px;
    border-color: #8A2BE2;
    border-width: 0.92px;
    color: #111111;
    box-shadow: 0 6.13px 12.26px rgba(138, 43, 226, 0.10);
  }

  /* 3. Hero Card Container */
  .category-hero-card {
    padding: 20px 14px 24px 14px;
    border-radius: 26px;
  }

  .promo-banner-area {
    margin-bottom: 18px;
  }

  /* Mobile Flagship Badge: 69.6px x 12.68px, Font: 5.37px, Line-height: 8.05px, Spacing: 0.54px */
  .flagship-badge {
    height: 13px;
    padding: 0 8px;
    font-size: 5.37px;
    line-height: 8.05px;
    letter-spacing: 0.54px;
    margin-bottom: 6px;
    border-radius: 4878px;
  }

  /* Mobile Promo Title: 304px x 22px, Font: 17.56px, Line-height: 21.95px */
  .promo-title {
    font-size: 17.56px;
    line-height: 21.95px;
    margin-bottom: 4px;
    max-width: 304px;
  }

  /* Mobile Subtitle: 160.02px x 24px, Font: 7.81px, Line-height: 11.71px */
  .promo-subtitle {
    font-size: 7.81px;
    line-height: 11.71px;
    max-width: 160.02px;
    margin-bottom: 10px;
  }

  /* Mobile Discover Now Button: 94.63px x 23.42px, Radius: 7.81px */
  .btn-discover {
    width: 94.63px;
    height: 23.42px;
    padding: 0;
    font-size: 6.83px;
    line-height: 9.76px;
    letter-spacing: 0.68px;
    border-radius: 7.81px;
  }

  /* Mobile Promo Media: 307.87px x 133.69px */
  .promo-banner-media {
    width: 100%;
    height: 133.69px;
    border-radius: 16px;
    margin-top: 14px;
    margin-inline: auto;
  }

  /* 4. Mobile Product Cards Track (Left to Right Slider: 15px Gap) */
  .product-slider-track {
    gap: 15px;
    padding: 6px 2px 14px 2px;
  }

  /* Exact Mobile Product Card: 146.67px x 229.17px, Radius: 18.33px, Border: 0.92px solid #F1F1F1 */
  .product-card {
    width: 146.67px;
    min-width: 146.67px;
    height: 229.17px;
    padding: 10px 10px 10px 10px;
    border-radius: 18.33px;
    border-width: 0.92px;
    border-color: #F1F1F1;
    box-shadow: 0 3.67px 13.75px rgba(0, 0, 0, 0.03);
  }

  /* Mobile Product Badges */
  .product-badge {
    top: 14px;
    left: 14px;
    font-size: 6.11px;
    padding: 2.5px 6.5px;
    border-radius: 9999px;
  }

  /* Inner Thumbnail: 126.5px x 119.17px, Radius: 14.67px */
  .product-image-bg {
    width: 126.5px;
    height: 119.17px;
    border-radius: 14.67px;
    margin-bottom: 6px;
  }

  /* Inner Product Image: 72.61px x 78.59px */
  .prod-img {
    width: 72.61px;
    height: 78.59px;
  }

  .product-details {
    width: 126.5px;
  }

  /* Product Name: Font 10.08px Bold, Line-height: 15.12px */
  .product-name {
    font-size: 10.08px;
    line-height: 15.12px;
    margin-bottom: 1px;
  }

  .product-price-row {
    gap: 4px;
    margin-bottom: 1px;
  }

  /* Sales Price: Font 12.74px Bold, Line-height: 18.19px */
  .curr-price {
    font-size: 12.74px;
    line-height: 18.19px;
  }

  /* Old Price: 48.47px x 13px, Font: 8.19px Regular, Line-height: 12.28px */
  .old-price {
    font-size: 8.19px;
    line-height: 12.28px;
  }

  /* EMI Text: 62px x 7px, Font: 8.19px Regular (Span: Bold), Line-height: 6.58px, Spacing: -4% */
  .emi-text {
    font-size: 8.19px;
    line-height: 6.58px;
    letter-spacing: -0.04em;
    margin-bottom: 6px;
  }

  /* Add to Cart Button: 126.5px x 28.88px, Radius: 7.33px, Border: 0.92px */
  .btn-add-cart {
    width: 126.5px;
    height: 28.88px;
    border-radius: 7.33px;
    border-width: 0.92px;
    font-size: 8.25px;
    line-height: 12.38px;
  }

  /* Visible Mobile Slider Navigation Buttons */
  .slider-arrow {
    display: flex;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid #F3F4F6;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    z-index: 15;
    padding: 0;
  }

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

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

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

  .slider-arrow:active {
    transform: translateY(-50%) scale(0.92);
  }
}