

/* ===== BACKGROUND ===== */
.product-modern {
  background: #f8fafc;
}

/* ===== IMAGE ===== */
.product-image-box {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  position: relative;
  text-align: center;
}

.product-image-box img {
  max-height: 350px;
  transition: 0.4s;
}

.product-image-box:hover img {
  transform: scale(1.05);
}

/* SALE BADGE */
.sale-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #ff4d4d;
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
}

/* ===== TEXT ===== */
.product-category {
  font-size: 12px;
  color: #ff7a18;
  font-weight: 600;
}

.product-title {
  font-size: 32px;
  font-weight: 800;
  margin: 10px 0;
}

/* ===== RATING ===== */
.product-rating {
  color: #fbbf24;
  font-size: 14px;
}

.product-rating span {
  color: #777;
}

/* ===== PRICE ===== */
.price-wrap {
  margin: 15px 0;
}

.new-price {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
}

.old-price {
  text-decoration: line-through;
  margin-left: 10px;
  color: #999;
}

.discount {
  margin-left: 10px;
  color: #ff4d4d;
  font-weight: 600;
}

/* ===== DESC ===== */
.product-desc {
  color: #555;
  line-height: 1.6;
}

/* ===== INFO BOX ===== */
.info-box {
  background: #fff;
  padding: 15px;
  border-radius: 12px;
}

.info-box span {
  font-size: 12px;
  color: #777;
}

.info-box strong {
  display: block;
  font-weight: 600;
}

/* ===== INPUT ===== */
.qty-input {
  width: 70px;
  border: 1px solid #ddd;
  border-radius: 10px;
  text-align: center;
}

/* ===== BUTTON ===== */
.btn-add {
  flex: 1;
  background: linear-gradient(135deg, #252f60, #1a2145);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-add:hover {
  transform: scale(1.03);
  background: linear-gradient(90deg, #7928ca, #00c6ff);
}

/* ===== FEATURES ===== */
.product-features {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: #555;
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){
  .product-title {
    font-size: 24px;
  }

  .product-features {
    flex-direction: column;
  }
}







/* ===== SCROLL TRACK ===== */
.scroll-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 40px;
}

/* Hide scrollbar */
.scroll-container::-webkit-scrollbar {
  display: none;
}

/* ===== CARD ===== */
.related-card {
  min-width: 260px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  transition: 0.3s;
  cursor: pointer;
}

.related-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.related-card h6 {
  padding: 15px;
  font-weight: 600;
}

.related-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* ===== BUTTONS ===== */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  z-index: 10;
  cursor: pointer;
  transition: 0.3s;
}

.slider-btn:hover {
  background: linear-gradient(90deg, #ff7a18, #ffb347);
  color: #fff;
}

.slider-btn.left {
  left: 0;
}

.slider-btn.right {
  right: 0;
}

/* Hide on mobile */
@media(max-width:768px){
  .slider-btn {
    display: none;
  }
}