
/* DesakuPRO - Produk Desa (Front) */
.dpro-produk-wrap {
  margin: 0 auto;
  max-width: 1200px;
  padding: 8px 12px 24px;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.dpro-produk-header {
  margin: 10px 0 14px;
}

.dpro-produk-title {
  margin: 0;
  font-size: 44px;
  line-height: 1.05;
  font-weight: 800;
  color: #69b2a0; /* lembut seperti contoh */
}

.dpro-produk-subtitle {
  margin-top: 6px;
  font-size: 18px;
  line-height: 1.55;
  color: #111;
  max-width: 980px;
}

.dpro-produk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 18px;
}

.dpro-produk-card {
  display: block;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
  text-decoration: none !important;
  color: inherit;
  border: 1px solid rgba(148, 163, 184, .25);
}

.dpro-produk-img {
  height: 210px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.dpro-produk-body {
  padding: 14px 16px 16px;
}

.dpro-produk-name {
  font-size: 22px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 10px;
}

.dpro-produk-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dpro-stars {
  display: inline-flex;
  gap: 4px;
  opacity: .35;
  font-size: 16px;
}

.dpro-produk-price {
  font-size: 20px;
  font-weight: 700;
  color: #374151;
}

.dpro-produk-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 0;
}

.dpro-produk-pagination .page-numbers {
  display: inline-flex;
  width: 40px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 1px solid rgba(148,163,184,.35);
  background: #fff;
  color: #6b7280;
  text-decoration: none !important;
  font-weight: 700;
}

.dpro-produk-pagination .page-numbers.current {
  background: #55b99d;
  color: #fff;
  border-color: #55b99d;
}

.dpro-empty {
  margin-top: 14px;
  padding: 18px;
  border: 1px dashed rgba(148,163,184,.6);
  border-radius: 10px;
  color: #64748b;
}

/* Single */
.dpro-produk-single-wrap {
  margin: 0 auto;
  max-width: 1200px;
  padding: 18px 12px 32px;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Fix: detail produk tidak tertimpa header (header site fixed/sticky) */
.single-dsp_produk .dpro-produk-single-wrap {
  padding-top: 120px;
}

.dpro-produk-single-card {
  background: #fff;
  border: 1px solid rgba(148,163,184,.25);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
  padding: 18px;
}

.dpro-produk-single-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 22px;
}

.dpro-produk-single-media img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  background: #f1f5f9;
}

.dpro-produk-thumb-row {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.dpro-produk-thumb-row img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(148,163,184,.25);
}

.dpro-produk-single-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.dpro-produk-single-head h1 {
  margin: 0;
  font-size: 42px;
  line-height: 1.1;
  font-weight: 800;
  color: #111827;
}

.dpro-produk-fav {
  border: 0;
  background: transparent;
  padding: 6px;
  font-size: 22px;
  color: #ef4444;
  cursor: pointer;
}

.dpro-produk-rating {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #6b7280;
  flex-wrap: wrap;
}

.dpro-produk-rating .dpro-stars {
  opacity: 1;
}

.dpro-produk-rating .dpro-stars i {
  font-size: 16px;
  line-height: 1;
}

.dpro-produk-rating .dpro-stars .is-empty {
  color: #cbd5e1;
}

.dpro-produk-rating .dpro-stars .is-filled,
.dpro-produk-rating .dpro-stars .is-half {
  color: #94a3b8;
}

.dpro-rating-link {
  color: #64748b !important;
  text-decoration: none !important;
  font-weight: 800;
}

.dpro-rating-link:hover {
  text-decoration: underline !important;
}

.dpro-produk-price-lg {
  margin-top: 12px;
  font-size: 44px;
  font-weight: 900;
  color: #111;
}

.dpro-produk-desc {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.75;
  color: #111827;
  max-width: 760px;
}

.dpro-produk-actions {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dpro-produk-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #55b99d;
  color: #fff !important;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 800;
  text-decoration: none !important;
}

.dpro-produk-share {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111;
  margin-top: 10px;
}

.dpro-produk-share a {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148,163,184,.25);
  color: #374151 !important;
  text-decoration: none !important;
}

.dpro-produk-review-title {
  margin: 18px 0 10px;
  font-size: 22px;
  font-weight: 900;
  color: #111;
}

.dpro-produk-review-box {
  background: #fff;
  border: 1px solid rgba(148,163,184,.25);
  border-radius: 10px;
  padding: 18px;
  color: #94a3b8;
  text-align: center;
  font-weight: 700;
}

/* Ulasan list */
.dpro-ulasan-list {
  display: grid;
  gap: 12px;
}

.dpro-ulasan-item {
  background: #fff;
  border: 1px solid rgba(148,163,184,.25);
  border-radius: 10px;
  padding: 14px;
}

.dpro-ulasan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dpro-ulasan-author {
  font-weight: 900;
  color: #111827;
}

.dpro-ulasan-date {
  color: #94a3b8;
  font-weight: 700;
  font-size: 13px;
}

.dpro-ulasan-rating {
  margin-top: 6px;
}

.dpro-ulasan-rating .dpro-stars i {
  font-size: 15px;
}

.dpro-ulasan-body {
  margin-top: 8px;
  color: #334155;
  line-height: 1.7;
}

/* Form ulasan */
.dpro-ulasan-form {
  margin-top: 14px;
  background: #fff;
  border: 1px solid rgba(148,163,184,.25);
  border-radius: 10px;
  padding: 14px;
}

.dpro-ulasan-form #reply-title {
  margin: 0 0 12px !important;
  font-size: 18px;
  font-weight: 900;
  color: #111;
}

.dpro-ulasan-form .comment-form-author,
.dpro-ulasan-form .comment-form-email,
.dpro-ulasan-form .comment-form-comment,
.dpro-ulasan-form .comment-form-dpro-rating {
  margin: 0 0 12px;
}

.dpro-ulasan-form label {
  display: block;
  font-weight: 800;
  color: #334155;
  margin-bottom: 6px;
}

.dpro-ulasan-form input[type="text"],
.dpro-ulasan-form input[type="email"],
.dpro-ulasan-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(148,163,184,.35);
  padding: 10px 12px;
  outline: none;
}

.dpro-ulasan-form textarea { min-height: 130px; }

.dpro-ulasan-form input:focus,
.dpro-ulasan-form textarea:focus {
  border-color: rgba(85,185,157,.7);
  box-shadow: 0 0 0 4px rgba(85,185,157,.15);
}

.dpro-ulasan-form .form-submit { margin: 0; }

.dpro-ulasan-form .form-submit input[type="submit"] {
  background: #55b99d;
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
}

/* Rating input (bintang klik) */
.dpro-rating-input {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 4px;
}

.dpro-rating-input input { display: none; }

.dpro-rating-input label {
  font-size: 22px;
  line-height: 1;
  margin: 0;
  cursor: pointer;
  color: #cbd5e1;
}

.dpro-rating-input label:hover,
.dpro-rating-input label:hover ~ label {
  color: #94a3b8;
}

.dpro-rating-input input:checked ~ label {
  color: #94a3b8;
}

/* Responsive */
@media (max-width: 1024px) {
  .dpro-produk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dpro-produk-single-grid { grid-template-columns: 360px 1fr; }
}

@media (max-width: 768px) {
  .dpro-produk-title { font-size: 38px; }
  .dpro-produk-grid { grid-template-columns: 1fr; }
  .dpro-produk-img { height: 220px; }
  .dpro-produk-single-grid { grid-template-columns: 1fr; }
  .dpro-produk-single-head h1 { font-size: 30px; }
  .dpro-produk-price-lg { font-size: 34px; }

  .single-dsp_produk .dpro-produk-single-wrap { padding-top: 92px; }
}
