/* ============================================================
   Honson - product archive / single styles
   ============================================================ */

/* Featured + archive product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 8px;
}
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: #fff;
  border: 1px solid #e6ecf3;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
  color: inherit;
  text-decoration: none;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(14, 42, 78, .12);
}
.pc-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eef3f8;
}
.pc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.product-card:hover .pc-media img { transform: scale(1.05); }
.pc-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.pc-cat {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #1261c9;
  font-weight: 700;
}
.pc-title {
  font-size: 18px;
  line-height: 1.3;
  color: #0e2a4e;
  margin: 0;
}
.pc-excerpt {
  font-size: 14px;
  color: #5a6b7b;
  flex: 1;
  margin: 0;
}
.pc-foot {
  margin-top: 6px;
  font-weight: 600;
}

/* Filter bar (reuse existing .filter-bar / .filter-btn, ensure links look like buttons) */
.filter-bar a.filter-btn {
  cursor: pointer;
  text-decoration: none;
}

/* Single product */
.ps-wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 42px;
  align-items: start;
}
@media (max-width: 900px) { .ps-wrap { grid-template-columns: 1fr; } }

.ps-gallery img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 14px;
  display: block;
  border: 1px solid #e6ecf3;
}
.ps-title {
  font-size: 30px;
  line-height: 1.2;
  color: #0e2a4e;
  margin: 0 0 6px;
}
.ps-cat {
  display: inline-block;
  color: #1261c9;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 13px;
  margin-bottom: 4px;
}
.ps-meta {
  margin: 22px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 560px) { .ps-meta { grid-template-columns: 1fr; } }
.ps-meta .m {
  background: #f4f8fc;
  border: 1px solid #e6ecf3;
  border-radius: 10px;
  padding: 12px 14px;
}
.ps-meta .m b {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #7a8aa0;
  margin-bottom: 4px;
  font-weight: 700;
}
.ps-meta .m span { color: #0e2a4e; font-size: 15px; }
.ps-desc { margin-top: 10px; color: #475569; line-height: 1.75; }
.ps-desc p { margin: 0 0 14px; }

/* Inquiry form success */
.inq-success {
  background: #eaf7ee;
  border: 1px solid #b7e3c4;
  color: #1c7a3e;
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 18px;
  font-weight: 600;
}

/* Admin meta table tidy */
.honson-meta .widefat { max-width: 480px; }
