

/* 
    14. Small Product css 
*/
.product__sidebar {
  border: 1px solid var(--secondary-color);
  background: var(--body-background-color);
  border-radius: 5px;
}

@media only screen and (max-width: 991px) {
  .product__sidebar {
    margin-top: 3rem;
  }
}

.small__product--header {
  background: var(--secondary-color);
}

.small__product--header__title {
  color: var(--text-white-color);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 4.5rem;
  padding: 0 1.8rem;
}

@media only screen and (min-width: 1200px) {
  .small__product--header__title {
    font-size: 1.8rem;
  }
}

.small__product--inner {
  padding: 0.3rem 1.2rem 1.2rem;
  max-height: 463px;
}

@media only screen and (min-width: 1200px) {
  .small__product--inner {
    padding: 0.5rem 1.5rem 1.5rem;
  }
}

@media only screen and (min-width: 1366px) {
  .small__product--inner {
    padding: 0.4rem 1.7rem 1.7rem;
  }
}

.small__product--inner .swiper-slide-active .small__product--card {
  border-top: 0;
}

.small__product--thumbnail {
  overflow: hidden;
    width: 90px;

}



@media only screen and (max-width: 1199px) {
  .small__product--thumbnail {
    width: 63px;
  }
}

@media only screen and (max-width: 767px) {
  .small__product--thumbnail {
    width: 55px;
  }
}

.small__product--card {
  gap: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

@media only screen and (min-width: 768px) {
  .small__product--card {
    gap: 1.2rem;
  }
}

@media only screen and (min-width: 1200px) {
  .small__product--card {
    gap: 1.5rem;
  }
}

@media only screen and (min-width: 1366px) {
  .small__product--card {
    gap: 2rem;
  }
}

.small__product--card:hover .small__product--thumbnail img {
  transform: scale(1.03);
}

.small__product--card__title {
  margin-bottom: 0.3rem;
  font-size: 1.4rem;
}

@media only screen and (min-width: 1200px) {
  .small__product--card__title {
    font-size: 1.5rem;
  }
}

.small__product--card__price {
  margin-bottom: 0.4rem;
}

.small__product--card.style2 {
  gap: 2rem;
  padding: 1.5rem;
  border: 1px solid transparent;
  background: var(--body-background-color);
  border-radius: 5px;
  transition: var(--transition);
}

@media only screen and (min-width: 576px) {
  .small__product--card.style2 {
    padding: 2rem;
  }
}

@media only screen and (min-width: 1200px) {
  .small__product--card.style2 {
    gap: 3rem;
  }
}

.small__product--card.style2:hover {
  border-color: var(--secondary-color);
}

.small__product--card.style2 .small__product--rating {
  margin-bottom: 8px;
}

.small__product--swiper__btn {
  position: absolute;
  top: 35px;
  padding: 0;
  height: auto;
  right: 8px;
  width: auto;
  color: var(--text-white-color);
}

.small__product--swiper__btn::after {
  display: none;
}

.small__product--swiper__btn.swiper-button-prev {
  right: 34px;
  left: auto;
}

.small__product--swiper__btn.swiper-button-disabled {
  opacity: 0.55;
}

/* ===== Premium Small Product Section ===== */
.small__product--section__bg {
    position: relative;
    padding: 80px 0;
    
    /* 1. پس‌زمینه اصلی (Off-White خیلی خاص) */
    background-color: #f8fafc;
    
    /* 2. تکنیک "Mesh Gradient" برای ایجادِ حسِ تکنولوژی و عمق */
    background-image: 
        radial-gradient(at 0% 0%, rgba(2, 132, 199, 0.12) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(59, 130, 246, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(2, 132, 199, 0.12) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(15, 23, 42, 0.08) 0px, transparent 50%);
        
    /* 3. افکتِ Shadow-box داخلی برای اینکه سکشن "توی" صفحه فرو رفته به نظر برسه (حسِ پانلِ فلزی) */
    box-shadow: 
        inset 0 20px 40px -20px rgba(0, 0, 0, 0.05),
        inset 0 -20px 40px -20px rgba(0, 0, 0, 0.05);

    /* 4. بوردرِ بسیار ظریف که حسِ شیشه رو میده */
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}



.current__price {
  color: var(--secondary-color);
  font-weight: 600;
  line-height: 1.8rem;
  font-family: var(--inter-fonts);
}
