/* ==============================
   PRODUCT SECTION FIXED
============================== */

/* PAGE PADDING HATA DIYA */
.products-section {
  padding: 0;
  margin-left: 0 auto;
  width: 100%;
  max-width: 1400px;
}

/* PRODUCT GRID → 5 - 3 - 2 - 1 RESPONSIVE */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  padding: 10px;

}

/* CARD BASIC */
.product-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: 0.2s ease;
  padding: 8px;
  /* COMPACT */
  height: min-content;
}


.product-card:hover {
  cursor: pointer;
  transform: translateY(-4px);
}

/* IMAGE */
.product-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 8px;
}

/* TEXT */
.card-body {
  padding: 0;
  /* EXTRA PADDING REMOVED */
}

.product-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #222;
}

.product-desc {
  font-size: 13px;
  opacity: .8;
  margin-bottom: 8px;
  min-height: 45px;
}

/* PRICE SECTION */
.price-section {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.final-price {
  color: #e63946;
  font-size: 16px;
  font-weight: 600;
}

.original-price {
  color: #888;
  text-decoration: line-through;
  font-size: 13px;
}

/* BUTTONS */
.card-actions {
  display: flex;
  gap: 5px;
}

.card-actions button {
  flex: 1;
  padding: 5px;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  color: #fff;
}

/* VIEW */
.card-actions button:nth-child(1) {
  background: #264653;
}

/* CART */
.card-actions button:nth-child(2) {
  background: #2a9d8f;
}

/* ======== RESPONSIVE GRID ========= */
@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .product-img {
    height: 150px;
  }
}