/* === PRODUCTS SECTION === */
.products-section {
  text-align: center;
  margin: 180px auto 4rem; /* 🔹 tambah jarak atas (4rem) */
  padding: 0rem 1rem; /* 🔹 padding atas 2rem untuk ruang dalam */
}

.products-section .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #b80000;
  margin-bottom: 2rem;
}

/* Grid Produk */
.products {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.product {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 300px;
  flex: 1 1 280px;
  overflow: hidden;
  padding-bottom: 1rem;
}

.product img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 3px solid #b80000;
  border-radius: 6px 6px 0 0;
}

.product h3 {
  font-size: 18px;
  margin: 0.8rem 0 0.4rem;
  color: #b80000;
}

.product p {
  font-size: 14px;
  color: #555;
  padding: 0 15px 15px;
  line-height: 1.6;
  flex-grow: 1;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .products {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .product {
    max-width: 95%;
    flex: none;
  }

  .product img {
    width: 100%;
    height: auto;
    border-radius: 6px 6px 0 0;
    object-fit: cover;
  }

  .product h3 {
    font-size: 18px;
    margin: 0.8rem 0 0.5rem;
    word-wrap: break-word;
  }

  .product p {
    font-size: 14px;
    padding: 0 10px 15px;
    line-height: 1.5;
  }
}
