/* ==========================================================================
   Catalog Sections: New Arrival & Recommended for You
   Exact Figma Dev Mode: 302.21px x 472.21px, Radius: 37.78px, Border: 1.89px
   ========================================================================== */
.catalog-section {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: #FFFFFF;
}

/* Header Area */
.catalog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 36px;
}

/* Header Title (40.2px Bold, Line-height: 1.2) */
.catalog-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 40.2px;
  font-weight: 700;
  line-height: 1.2;
  color: #000000;
  margin: 0;
  letter-spacing: 0%;
}

/* Targeted Gradient Border Under Selected Text */
.catalog-title .has-border {
  position: relative;
  display: inline-block;
}

.catalog-title .has-border::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2.5px;
  background: linear-gradient(135deg, #FF007A 0%, #8A2BE2 50%, #0070FF 100%);
  border-radius: 2px;
}

/* View All Link (26.8px Bold, Color: #D1D5DB) */
.view-all-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 26.8px;
  font-weight: 700;
  line-height: 35.73px;
  color: #D1D5DB;
  text-decoration: none;
  transition: color 0.2s ease;
}

.view-all-link:hover {
  color: #111827;
}

/* --------------------------------------------------------------------------
   Horizontal Left-to-Right Slider Track & Wrapper
   -------------------------------------------------------------------------- */
.catalog-slider-wrapper {
  position: relative;
  width: 100%;
}

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

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

/* Previous / Next Slider Navigation Buttons (Desktop) */
.catalog-arrow {
  position: absolute;
  top: 48%;
  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;
}

.catalog-arrow:hover {
  background-color: #F9FAFB;
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

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

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

/* --------------------------------------------------------------------------
   Product Card Component (Figma Dev Mode: 302.21px x 472.21px)
   -------------------------------------------------------------------------- */
.catalog-card {
  width: 302.21px;
  min-width: 302.21px;
  height: 472.21px;
  background: #FFFFFF;
  border-radius: 37.78px;
  border: 1.89px solid #F1F1F1;
  box-shadow: 0px 7.56px 28.33px rgba(0, 0, 0, 0.03);
  padding: 18px 20px 20px 20px;
  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;
}

.catalog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 12px 32px rgba(0, 0, 0, 0.06);
}

/* Badges (SAVE ৳5,000 / HOT DEAL) */
.card-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;
}

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

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

/* Inner Thumbnail Box (Figma: 260.66px x 245.55px, Radius: 30.22px, #F8F9FA) */
.card-thumb-box {
  width: 260.66px;
  height: 245.55px;
  border-radius: 30.22px;
  background-color: #F8F9FA;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.card-img {
  width: 140px;
  height: 150px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

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

/* --------------------------------------------------------------------------
   Card Body Layout & Auto-Centering Middle Section
   -------------------------------------------------------------------------- */
.card-body {
  width: 260.66px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  flex: 1;
  min-height: 0;
}

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

.card-mid-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.card-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
}

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

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

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

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

.btn-card-cart {
  width: 260.66px;
  height: 59.5px;
  border-radius: 15.11px;
  border: 1.89px solid #F3F4F6;
  background-color: #F9FAFB;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 25.5px;
  color: #1A1A1A;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex-shrink: 0;
  margin-top: auto;
  transition: all 0.25s ease;
}

.btn-card-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 Mobile Logic
   ========================================================================== */
@media (max-width: 640px) {
  .catalog-section {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .catalog-header {
    margin-bottom: 16px;
    align-items: center;
  }

  .catalog-title {
    font-size: 19.32px;
    line-height: 30.05px;
  }

  .catalog-title .has-border::after {
    height: 2px;
    bottom: -3px;
  }

  .view-all-link {
    font-size: 12.88px;
    line-height: 17.17px;
  }

  .catalog-slider-track {
    gap: 12px;
    padding: 6px 2px 14px 2px;
  }

  /* Exact Mobile Card: 177.01px x 276.58px */
  .catalog-card {
    width: 177.01px;
    min-width: 177.01px;
    height: 276.58px;
    padding: 12px;
    border-radius: 22.13px;
    border-width: 1.11px;
    border-color: #F1F1F1;
    box-shadow: 0px 4.43px 16.59px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
    justify-content: flex-start;
  }

  /* Mobile Badge */
  .card-badge {
    top: 14px;
    left: 14px;
    width: 75.84px;
    height: 17.7px;
    font-size: 8px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
  }

  /* Mobile Thumbnail Box */
  .card-thumb-box {
    width: 152.67px;
    height: 143.83px;
    border-radius: 17.7px;
    margin-bottom: 6px;
  }

  .card-img {
    width: 86px;
    height: 92px;
  }

  /* Card Body */
  .card-body {
    width: 152.67px;
    height: calc(276.58px - 143.83px - 30px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .card-name {
    font-size: 12.17px;
    line-height: 18.25px;
    margin: 0;
  }

  .card-mid-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 3px 0;
    min-height: 28px;
  }

  .card-price-row {
    gap: 6px;
    align-items: baseline;
  }

  .card-price-row .curr-price {
    font-size: 15.49px;
    line-height: 20px;
  }

  .card-price-row .old-price {
    font-size: 10px;
    line-height: 14px;
  }

  .card-emi {
    font-size: 9.96px;
    line-height: 10px;
    letter-spacing: -0.04em;
    margin-top: 2px;
  }

  .btn-card-cart {
    width: 152.67px;
    height: 34.85px;
    border-radius: 8.85px;
    border: 1.11px solid #F3F4F6;
    font-size: 9.96px;
    line-height: 14.94px;
    margin-top: 0;
    flex-shrink: 0;
  }

  /* Visible Mobile Buttons */
  .catalog-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;
  }

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

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

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

  .catalog-arrow:active {
    transform: translateY(-50%) scale(0.92);
  }
}
/* ==========================================================================
   Dual Image Banners Section (Figma Exact Dev Mode Specs)
   Desktop Size: 635.32px x 207.45px, Radius: 44.45px
   ========================================================================== */
.promo-dual-section {
  width: 100%;
  padding-top: 0px;
  padding-bottom: 40px;
  background-color: #FFFFFF;
}

.promo-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 1296px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Base Image Card */
.promo-img-card {
  position: relative;
  display: block;
  width: 100%;
  height: 207.45px;
  border-radius: 44.45px;
  overflow: hidden;
  box-sizing: border-box;
  text-decoration: none;
  background-color: #F8F9FA;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

/* Full Bleed Banner Image */
.promo-banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.promo-img-card:hover .promo-banner-image {
  transform: scale(1.03);
}

/* ==========================================================================
   Responsive Mobile Logic (Stacked 1-Column Layout)
   ========================================================================== */
@media (max-width: 768px) {
  .promo-dual-section {
    padding-top: 0px;
    padding-bottom: 24px;
  }

  /* মোবাইলে নিচে নিচে (1 Column) বসবে */
  .promo-dual-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-inline: 12px;
  }

  .promo-img-card {
    height: 135px; /* মোবাইলের অনুপাত অনুযায়ী ফ্লুইড হাইট */
    border-radius: 24px;
  }
}

@media (max-width: 480px) {
  .promo-img-card {
    height: 115px;
    border-radius: 20px;
  }
}