/* .product-section {
  padding: 80px 20px;
  background: #0f0f0f;
  color: white;
  text-align: center;
}

.product-section h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.subtitle {
  color: #aaa;
  margin-bottom: 40px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.product-card {
  background: #151515;
  border-radius: 16px;
  overflow: hidden;
  transition: 0.3s;
  border: 1px solid #222;
}

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

.product-card.active {
  border: 2px solid #f59e0b;
  box-shadow: 0 0 20px rgba(245,158,11,0.2);
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.product-info {
  padding: 15px;
  text-align: left;
}

.product-info h3 {
  margin: 0;
  font-size: 18px;
}

.product-info p {
  font-size: 13px;
  color: #aaa;
  margin: 8px 0;
}

.price {
  color: #f59e0b;
  font-weight: bold;
  margin-bottom: 10px;
}

button {
  padding: 10px;
  width: 100%;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: linear-gradient(90deg, #f59e0b, #f97316);
  font-weight: bold;
  transition: 0.3s;
}

button:hover {
  transform: translateY(-2px);
}

.cart-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.cart-controls span {
  font-size: 12px;
  color: #ccc;
}

.cart-controls button {
  width: auto;
  padding: 6px 10px;
  font-size: 12px;
}

.remove {
  background: #ff3b3b;
  color: white;
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
} */
 .modern-products {
  padding: 100px 20px;
  background: #0f0f0f;
  color: white;
}

/* HEADER */
.products-header {
  text-align: center;
  margin-bottom: 60px;
}

.products-header h2 {
  font-size: 42px;
  margin-bottom: 12px;
}

.products-header p {
  color: #a1a1a1;
  max-width: 650px;
  margin: auto;
  line-height: 1.7;
}

/* GRID */
.products-grid {
  max-width: 1250px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 30px;
}

/* CARD */
.modern-card {
  background: #151515;

  border-radius: 22px;

  overflow: hidden;

  border: 1px solid #222;

  transition: 0.4s ease;
}

.modern-card:hover {
  transform: translateY(-8px);

  border-color: #f59e0b;
}

/* IMAGE */
.card-image {
  height: 360px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: 0.5s ease;
}

.modern-card:hover img {
  transform: scale(1.05);
}

/* CONTENT */
.card-content {
  padding: 24px;
}

.card-content h3 {
  font-size: 22px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.card-content p {
  color: #aaa;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* PRICE + QUANTITY */
.bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 22px;
}

.book-price {
  color: #f59e0b;
  font-size: 24px;
  font-weight: bold;
}

/* QUANTITY */
.quantity-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quantity-box button {
  width: 38px;
  height: 38px;

  border: none;

  border-radius: 10px;

  background: #232323;

  color: white;

  cursor: pointer;

  font-size: 18px;
  font-weight: bold;

  transition: 0.3s ease;
}

.quantity-box button:hover {
  background: #f59e0b;
  color: black;
}

.quantity-box span {
  min-width: 20px;
  text-align: center;

  font-weight: bold;
  font-size: 16px;
}

/* BUTTON */
.cart-btn {
  width: 100%;

  padding: 15px;

  border: none;

  border-radius: 12px;

  background: linear-gradient(
    90deg,
    #f59e0b,
    #f97316
  );

  color: black;

  font-weight: 700;

  cursor: pointer;

  transition: 0.3s ease;
}

.cart-btn:hover {
  transform: translateY(-2px);
}

/* TABLET */
@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .modern-products {
    padding: 80px 15px;
  }

  .products-header h2 {
    font-size: 34px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .card-image {
    height: 320px;
  }

  .bottom-row {
    gap: 20px;
  }
}

/* SMALL PHONES */
@media (max-width: 480px) {
  .card-content {
    padding: 20px;
  }

  .card-content h3 {
    font-size: 20px;
  }

  .book-price {
    font-size: 22px;
  }
}