.new-products-section {
  background: #0d0d0d;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
}

.section-title {
  font-size: 32px;
  color: #00d8ff;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 16px;
  color: #aaa;
  margin-bottom: 30px;
}

.scroll-wrapper {
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 20px;
  display: flex;
  justify-content: center;
}

.products-scroll {
  display: flex;
  gap: 20px;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  justify-content: center;
  width: max-content;
  min-width: 100%;
}

.product-card {
  flex: 0 0 250px;
  scroll-snap-align: start;
  background: #1a1a1a;
  border: 2px solid transparent;
  padding: 20px;
  border-radius: 10px;
  min-height: 380px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: slideInLeft 0.8s ease forwards;
  text-decoration: none !important;
  box-sizing: border-box;
  justify-content: flex-start;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: #00d8ff;
}

.products-scroll .product-card:nth-child(1) { animation-delay: 0.2s; }
.products-scroll .product-card:nth-child(2) { animation-delay: 0.4s; }
.products-scroll .product-card:nth-child(3) { animation-delay: 0.6s; }
.products-scroll .product-card:nth-child(4) { animation-delay: 0.8s; }
.products-scroll .product-card:nth-child(5) { animation-delay: 1.0s; }
.products-scroll .product-card:nth-child(6) { animation-delay: 1.2s; }
.products-scroll .product-card:nth-child(7) { animation-delay: 1.4s; }
.products-scroll .product-card:nth-child(8) { animation-delay: 1.6s; }
.products-scroll .product-card:nth-child(9) { animation-delay: 1.8s; }
.products-scroll .product-card:nth-child(10) { animation-delay: 2.0s; }

@keyframes slideInLeft {
  0% { transform: translateX(-40px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

.product-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}

.product-card h3 {
  font-size: 16px;
  color: #00d8ff;
  margin: 5px 0;
  text-align: center;
  min-height: 40px;
  line-height: 1.3;
  overflow: hidden;
}

.product-card .price {
  font-size: 17px;
  color: #00ff99;
  font-weight: bold;
  margin-bottom: 6px;
  text-align: center;
}

.product-card .old-price {
  text-decoration: line-through;
  color: #888;
  font-size: 14px;
  margin-left: 8px;
}

.product-card .sold-count {
  font-size: 14px;
  color: #ffd700;
  margin-bottom: 6px;
  text-align: center;
}

.product-card .license {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 6px;
  text-align: center;
}

.product-card .stars {
  font-size: 15px;
  color: #f7d71e;
  margin-bottom: 6px;
  text-align: center;
}

.product-card .stars span {
  color: #fff;
  margin-left: 5px;
}

.product-card .status {
  font-size: 13px;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-top: auto;
  animation: pulse 1.8s infinite;
  text-align: center;
}

/* Status Colors */
.status-active {
  background: #127647;
  color: #000;
}

.status-upcoming {
  background: #ffaa00;
  color: #000;
}

.status-stockout {
  background: #ff4d4d;
  color: #fff;
}

.status-inactive,
.status-removed {
  background: #666;
  color: #fff;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 6px rgba(0, 255, 136, 0.6); }
  50% { box-shadow: 0 0 12px rgb(91, 211, 155); }
}

/* Responsive */
@media (max-width: 768px) {
  .product-card { flex: 0 0 80%; }
}

@media (max-width: 480px) {
  .product-card { flex: 0 0 95%; }
}

/* Ensure all inner elements don’t underline */
.product-card *, .script-card * {
  text-decoration: none !important;
  color: inherit;
}
.star {
  font-size: 16px;
  margin-right: 2px;
}
.star.full {
  color: #f7d71e;
}
.star.empty {
  color: #555;
}
.star.half {
  background: linear-gradient(90deg, #f7d71e 50%, #555 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.stars span:last-child {
  margin-left: 5px;
  color: #fff;
  font-weight: bold;
}

/* Existing styles below... */

.product-card .stars {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
