/* === PRODUK SECTION === */
#produk {
  background-color: var(--background-color);
  padding: 80px 0;
}

.product-category {
  margin-bottom: 60px;
}

.product-category:last-child {
  margin-bottom: 0;
}

.product-category h2 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
  color: var(--dark-color);
  text-align: left;
}

.section-header-with-button {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
}

.section-header-with-button h2 {
  margin-bottom: 0;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
}

.section-header-with-button .btn {
  white-space: nowrap;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.product-card {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: var(--text-color);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background-color: var(--light-gray);
}

.product-info {
  padding: 18px;
}

.product-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark-color);
  line-height: 1.3;
}

.product-card .price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
}

.lihat {
    text-align: center;
    margin-top: 40px;
}

.lihat .btn {
    display: inline-block;
    width: auto;
    padding: 12px 28px;
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .product-category h2, 
  .section-header-with-button h2 {
    font-size: 1.8rem;
  }

  .section-header-with-button .btn {
    font-size: 0.9rem;
    padding: 8px 12px;
  }
}

@media (max-width: 576px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}
