/* =========================
   PRODUK & KONTAK
   (membutuhkan style.css + footer.css + about.css)
========================= */

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.section-head .values-subtitle {
  margin-bottom: 0;
}

/* ---------- PRODUCT ---------- */
.product-section {
  padding: 80px 0 90px;
  background: #fff;
}

.product-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.2rem;
  border: 1px solid #e3e3e3;
  border-radius: 999px;
  background: #fff;
  color: #555;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-btn:hover {
  border-color: #dc3545;
  color: #dc3545;
}

.filter-btn.active {
  background: #dc3545;
  border-color: #dc3545;
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
}

.product-card.is-hidden {
  display: none;
}

.product-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #fdf3f4, #f1e3e4);
}

.product-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.05);
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 24px;
}

.product-tag {
  align-self: flex-start;
  margin-bottom: 0.6rem;
  padding: 2px 10px;
  border-radius: 999px;
  background: #fdf3f4;
  color: #dc3545;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.product-name {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #222;
}

.product-text {
  flex: 1;
  margin: 0 0 1.25rem;
  font-size: 0.82rem;
  line-height: 1.7;
  color: #666;
}

.product-text:last-child {
  margin-bottom: 0;
}

.product-body .btn-outline-green {
  align-self: flex-start;
}

/* ---------- CONTACT ---------- */
.contact-section {
  padding: 80px 0;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: start;
}

.contact-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 1.4rem;
}

.contact-icon {
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fdf3f4;
  color: #dc3545;
}

.contact-item h3 {
  margin: 0 0 0.15rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
}

.contact-item p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.7;
  color: #666;
}

.contact-item a {
  color: #666;
  text-decoration: none;
}

.contact-item a:hover {
  color: #dc3545;
}

.contact-form {
  padding: 36px 34px;
  background: #fff;
  border: 1px solid #eee;
  border-top: 3px solid #dc3545;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
  margin: 0 0 1.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  margin-bottom: 1.1rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #444;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  color: #333;
  font: inherit;
  font-size: 0.85rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 0;
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

.form-field .is-invalid {
  border-color: #dc3545;
  background: #fff8f8;
}

.form-submit {
  padding: 0.8rem 2rem;
  border: 0;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
}

.form-note {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  min-height: 1.2em;
  color: #666;
}

.form-note.is-error {
  color: #dc3545;
}

.contact-map {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background: #f0f0f0;
  border: 1px solid #eee;
  border-top: 3px solid #dc3545;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-link {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  background: #fff;
  color: #dc3545;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.map-link:hover {
  background: #dc3545;
  color: #fff;
}

.map-section {
  line-height: 0;
  background: #f0f0f0;
}

.map-section iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-map {
    min-height: 360px;
  }
}

@media (max-width: 575px) {
  .product-section,
  .contact-section {
    padding: 56px 0;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form {
    padding: 28px 20px;
  }
}