/* ===== All Products Section ===== */
.all-products-section {
  background: #0d0d0d;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

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

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

.products-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.product-card {
  position: relative;
  background: #1a1a1a;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  max-width: 270px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.4s ease;
  text-align: center;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: #00d8ff;
  background: radial-gradient(circle at top left, rgba(0, 216, 255, 0.06), #1a1a1a);
}

.product-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.product-card h3 {
  font-size: 18px;
  color: #00d8ff;
  margin-bottom: 8px;
}

/* Price block */
.price-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
}

.product-card .price {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
}

.old-price {
  color: #aaa;
  text-decoration: line-through;
  font-size: 14px;
}

/* Offer Badge */
.offer-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ff6b6b;
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: bold;
  z-index: 1;
}

/* License and Rating */
.product-card .license {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 4px;
}

.product-card .rating {
  font-size: 15px;
  color: #ffcc00;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
}

.product-card .rating .star.full { color: #f7d71e; }
.product-card .rating .star.half { color: #f7d71e; opacity: 0.5; }
.product-card .rating .star.empty { color: #444; }

/* Sold */
.sold {
  font-size: 13px;
  font-weight: 500;
  color: #00d8ff;
}

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

.product-status {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #ccc;
}

.product-status span {
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: bold;
  display: inline-block;
  animation: pulseStatus 2s infinite;
  transition: all 0.3s ease;
}

.status-available {
  background-color: rgba(0, 255, 135, 0.1);
  color: #00ff84;
  border: 1px solid #00ff84;
}

.status-upcoming {
  background-color: rgba(255, 165, 0, 0.1);
  color: #ff9800;
  border: 1px solid #ff9800;
}

@keyframes pulseStatus {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 216, 255, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 216, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 216, 255, 0);
  }
}
