/* ===============================
   PRODUCT PAGE BASE
================================ */
.filter-box {
  border: 1px solid #e5e5e5;
  padding: 20px;
  border-radius: 12px;
  background: #ffffff;
}

.filter-box h5 {
  font-weight: 700;
  margin-bottom: 15px;
}

.filter-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter-box li {
  padding: 10px 0;
  cursor: pointer;
  font-weight: 500;
}

.filter-box li:hover,
.filter-box li.active {
  color: #f7d042;
}

/* ===============================
   PRODUCT CARD
================================ */
.product-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-body {
  padding: 16px;
  text-align: center;
}

.product-body h6 {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 6px;
}

.product-body p {
  font-size: 14px;
  color: #6b7280;
}

.price {
  display: block;
  font-size: 18px;
  font-weight: bold;
  color: #16a34a;
  margin-top: 6px;
}

/* Rating Stars */
.stars i {
  color: #facc15;
  font-size: 14px;
}

/* ===============================
   BUTTON
================================ */
.product-body button {
  margin-top: 10px;
  font-weight: 600;
}

/* ===============================
   TABLET RESPONSIVE
================================ */
@media (max-width: 991px) {

  .filter-box {
    margin-bottom: 20px;
  }

  .product-card img {
    height: 180px;
  }

  .product-body h6 {
    font-size: 15px;
  }
}

/* ===============================
   MOBILE RESPONSIVE
================================ */
@media (max-width: 768px) {

  /* Stack filter on top */
  .filter-box {
    text-align: center;
  }

  .filter-box ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .filter-box li {
    width: 48%;
    padding: 8px 0;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 10px;
  }

  .product-card img {
    height: 160px;
  }

  .product-body {
    padding: 14px;
  }

  .price {
    font-size: 16px;
  }
}

/* ===============================
   SMALL MOBILE
================================ */
@media (max-width: 480px) {

  .filter-box li {
    width: 100%;
  }

  .product-body h6 {
    font-size: 14px;
  }

  .product-body p {
    font-size: 13px;
  }

  .product-card img {
    height: 140px;
  }
}
