/* ==============================================
   PAIDEE MADEE — หน้าหมวดหมู่ (โครงร่วม)
   ใช้ร่วมกันที่ th/product/show_category.blade.php,
   th/product/show_category_all.blade.php และ th/page/service.blade.php
============================================== */

/* ── Intro ── */
.cat-intro-section { margin-top: 60px; padding: 0 0 80px; background: #fff; }

/* same treatment as .cat-intro-content h2, sized up for the page H1 */

.cat-intro-content p { color: var(--pm-text-muted); font-size: 17px; line-height: 1.9; }

/* ── Type Cards ── */

.cat-type-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 24px rgba(72,100,75,.1);
  transition: transform .3s, box-shadow .3s;
}
.cat-type-card:hover { transform: translateY(-6px); box-shadow: 0 14px 36px rgba(72,100,75,.16); }
.cat-type-img { /*flex: 0 0 260px; height: 260px;*/ overflow: hidden; }
.cat-type-img img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  display: block;
}
.cat-type-body { padding: 28px 26px; flex: 1 1 auto; display: flex; flex-direction: column; }
.cat-type-body h3 { color: var(--pm-green-deep); font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif; font-weight: 600; margin-bottom: 8px; text-align: center; }
/* ปุ่มในการ์ดจัดกึ่งกลาง */
.cat-type-body .btn { display: block; width: fit-content; margin-left: auto; margin-right: auto; }
.cat-type-body p { color: var(--pm-text-muted); font-size: 17px; line-height: 1.75; margin-bottom: 16px; flex: 1 1 auto; }

/* ── FAQ mini ── */
.cat-faq-section { padding: 90px 0; background: linear-gradient(180deg, var(--pm-white) 0%, #f6faf6 100%); }
.cat-faq-section .section-intro { max-width: 640px; margin: 0 auto; color: var(--pm-text-muted); }
