/*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––*/
/*  Main slider                                                       */
/*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––*/
.mainSwiper {
  width: 100%;
  margin-bottom: 1rem;
}
.mainSwiper img {
  width: 100%;
  height: 600px;           /* desktop fallback */
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––*/
/*  Thumbnail swiper                                                 */
/*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––*/
.thumbSwiper {
  overflow: hidden;
}
.thumbSwiper .swiper-wrapper {
  display: flex;
  flex-wrap: nowrap;
}
/* Desktop: vertical thumbnails */
@media (min-width: 768px) {
  .thumbSwiper {
    height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .thumbSwiper .swiper-wrapper {
    flex-direction: column;
  }
  .thumbSwiper .swiper-slide {
    flex: 0 0 auto;
    width: 100%;
    height: 90px;
    margin-bottom: 8px;
  }
}
/* Mobile: horizontal thumbnails */
@media (max-width: 767.98px) {
  .thumbSwiper {
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .thumbSwiper .swiper-wrapper {
    flex-direction: row;
  }
  .thumbSwiper .swiper-slide {
    flex: 0 0 auto;
    width: 60px;
    height: 60px;
    margin-right: 8px;
    margin-bottom: 0;
  }
}
.thumbSwiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumbSwiper .swiper-slide-thumb-active,
.thumbSwiper .swiper-slide:hover {
  opacity: 1;
  border: 2px solid #d63384;
}

/*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––*/
/*  Responsive main slider (mobile ratio 2:3)                       */
/*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––*/
@media (max-width: 767.98px) {
  .mainSwiper img {
    aspect-ratio: 2 / 3;    /* enforce 2:3 width:height */
    width: 100%;
    height: auto;           /* override fixed height */
  }
}

/*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––*/
/*  Description styling                                            */
/*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––*/
.product-description {
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}
.product-description .description-title {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.product-description .description-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
  margin: 0;
}

/*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––*/
/*  Variant & Size Pills                                            */
/*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––*/
.variant-group { margin-bottom: 1.5rem; }
.variant-title {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
}
.variant-btn,
.size-pill {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 2px solid #ccc;
  background: #f8f9fa;
  font-weight: 500;
  transition: all 0.2s ease;
}
.variant-btn:hover,
.size-pill:hover {
  border-color: #000;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
}
.variant-btn.active,
.size-pill.active {
  background: #000 !important;
  color: #fff !important;
  border-color: #000 !important;
}

/*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––*/
/*  Add-to-cart spacing                                             */
/*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––*/
.add-to-cart-wrapper {
  margin-bottom: 1.5rem;
}
