/* ==============================================
   PAIDEE MADEE — Main Stylesheet
   Pet Cremation & Funeral Services
============================================== */

/* =============================================
   ROOT VARIABLES
============================================= */
:root {
  --pm-green:       #48644B;
  --pm-green-dark:  #3a5240;
  --pm-green-deep:  #2c3f2e;
  --pm-mint:        #C7E6DC;
  --pm-mint-light:  #e8f5f0;
  --pm-brown:       #AA9777;
  --pm-brown-dark:  #947e61;
  --pm-cream:       #FAE6D7;
  --pm-cream-light: #FDF5EF;
  --pm-white:       #FFFFFF;
  --pm-text:        #3a3530;
  --pm-text-muted:  #7a7066;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif;
  color: var(--pm-text);
  background: var(--pm-white);
  overflow-x: hidden;
}

h1, h2, h3, .font-display { font-family: 'Averia Libre', serif; }

/* =============================================
   UTILITIES
============================================= */
.bg-pm-green       { background-color: var(--pm-green); }
.bg-pm-green-deep  { background-color: var(--pm-green-deep); }
.bg-pm-mint        { background-color: var(--pm-mint); }
.bg-pm-mint-light  { background-color: var(--pm-mint-light); }
.bg-pm-cream       { background-color: var(--pm-cream); }
.bg-pm-cream-light { background-color: var(--pm-cream-light); }
.text-pm-green     { color: var(--pm-green); }
.text-pm-brown     { color: var(--pm-brown); }
.text-pm-cream     { color: var(--pm-cream); }
.text-pm-mint      { color: var(--pm-mint); }
.text-pm-muted     { color: var(--pm-text-muted); }
.text-accent-brown { color: var(--pm-brown); }

.section-label {
  font-family: 'Averia Libre', serif;
  font-size: 16px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--pm-brown);
}
.section-label-mint { color: #ffffff; }

.section-title {
  font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif;
  font-weight: 600;
  font-size: 32px;
  color: var(--pm-green);
  line-height: 1.35;
}
.section-title-light { color: var(--pm-cream); }
.section-title-sm    { font-size: clamp(1.4rem, 3vw, 2rem); }

.section-divider {
  width: 50px;
  height: 2px;
  background: var(--pm-brown);
  border-radius: 2px;
  margin: 14px auto;
}

.section-intro {
  /*max-width: 520px;*/
  margin: 0 auto;
  font-size: 17px;
  color: var(--pm-text-muted);
}

/* =============================================
   BUTTONS
============================================= */
.btn-pm {
  border-radius: 50px;
  font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif;
  /* font-weight: 700; */
  transition: all 0.3s ease;
  border: none;
}
.btn-pm-primary {
  background: var(--pm-green);
  color: #fff;
  padding: 13px 30px;
  font-size: 17px;
}
.btn-pm-primary:hover {
  background: var(--pm-green-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(72,100,75,.3);
}
.btn-pm-cream {
  background: var(--pm-cream);
  color: var(--pm-green);
  padding: 13px 30px;
  font-size: 18px;
}
.btn-pm-cream:hover {
  background: #f0d4c0;
  color: var(--pm-green-dark);
  transform: translateY(-2px);
}
.btn-pm-outline {
  background: transparent;
  color: var(--pm-cream);
  border: 2px solid rgba(253,245,239,.5);
  padding: 11px 28px;
  font-size: 18px;
}
.btn-pm-outline:hover {
  background: rgba(253,245,239,.15);
  color: var(--pm-cream);
  border-color: var(--pm-cream);
}
.btn-pm-line {
  background: #06C755;
  color: #fff;
  padding: 13px 20px;
  font-size: 18px;
}
.btn-pm-line:hover {
  background: #05ad4a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6,199,85,.3);
}
.btn-pm-brown {
  background: var(--pm-brown);
  color: #fff;
  padding: 13px 30px;
  font-size: 15px;
}
.btn-pm-brown:hover {
  background: var(--pm-brown-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(170,151,119,.35);
}

/* =============================================
   MOBILE TOP CONTACT BAR
   Same green + button pair as .final-cta-section.
   Fixed above the navbar; JS writes --pm-topbar-h
   so the navbar offset tracks the real height.
============================================= */
.pm-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1031;
  background: var(--pm-green);
  padding: 8px 0 10px;
}
.pm-topbar-text {
  font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif;
  font-weight: 500;
  font-size: 17px;
  color: var(--pm-cream);
  text-align: center;
  margin: 10px 10px 10px 10px;
}
.pm-topbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding-bottom: 10px;
}
.pm-topbar-actions .btn {
  padding: 10px 20px 10px 20px;
  font-size: 17px;
  white-space: nowrap;
}
.pm-topbar-actions .btn:hover { transform: none; }

@media (max-width: 991.98px) {
  .navbar-pm.fixed-top { top: var(--pm-topbar-h, 84px); }

  /* ลดความสูงแถบบนสุด + แถบเมนู เพื่อคืนพื้นที่ให้เนื้อหาในจอมือถือ
     (--pm-header-h ถูกวัดใหม่โดย main.js จึงเลื่อนเนื้อหาขึ้นตามอัตโนมัติ) */
  /* แถบบนสุด: ลด padding บน-ล่าง (ชุดแรกที่ปรับไว้) */
  .pm-topbar { padding: 6px 0 8px; }
  .pm-topbar-text { font-size: 15px; margin: 2px 10px 6px; }
  .pm-topbar-actions { gap: 8px; padding-bottom: 2px; }
  .pm-topbar-actions .btn { padding: 7px 16px; font-size: 15px; }

}

/* =============================================
   NAVBAR — เตี้ยลงเฉพาะจอมือถือ (ไม่แตะคอมและ iPad)
============================================= */
@media (max-width: 767.98px) {
  .navbar-pm { padding: 0px 0; }
  .navbar-pm .navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
    margin-right: 0;
    gap: 6px;
  }
  /* คงขนาดโลโก้และชื่อร้านตามเดิม ลดความสูงจากช่องว่างรอบๆ เท่านั้น */
  .navbar-pm .navbar-brand img { height: 96px; }
  .brand-text-mobile { font-size: 32px; line-height: 1; }
  .navbar-pm > .container { padding-top: 0; padding-bottom: 0; }
  .navbar-pm .navbar-toggler { padding: 2px 6px; border-width: 1px; }
  .navbar-pm .navbar-toggler-icon { width: 1.1em; height: 1.1em; }
}

/* =============================================
   NAVBAR — SPLIT LAYOUT (logo centered)
============================================= */
.navbar-pm {
  background: #f5eed8;
  border-bottom: 1px solid rgba(72,100,75,.1);
  padding: 0px 0px;
  transition: box-shadow 0.3s;
}
.navbar-pm.scrolled { box-shadow: 0 4px 24px rgba(72,100,75,.12); }

/* Mobile brand */
.navbar-pm .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: flex-start;
  margin-right: 0;
}
.navbar-pm .navbar-brand img { height: 96px; }
.brand-text-mobile {
  font-family: 'Averia Libre', serif;
  font-size: 32px;
  /* letter-spacing: 4px; */
  /* text-transform: uppercase; */
  line-height: 1.1;
  color: var(--pm-green);
  white-space: nowrap;
  margin: 0 auto;
  transform: translateX(-14px);
}

/* จอมือถือแคบ (เช่น iPhone 12 mini 375px) โลโก้+ชื่อร้านกว้างเกินแถว
   ปุ่มเมนูจึงตกไปบรรทัดที่ 2 — บังคับให้อยู่แถวเดียว ย่อโลโก้และชื่อร้านตามจอ
   (ต้องวางหลังกฎด้านบน ไม่งั้นโดนทับ) */
@media (max-width: 767.98px) {
  .navbar-pm > .container { flex-wrap: nowrap; position: relative; }
  .navbar-pm .navbar-brand { flex: 0 0 auto; min-width: 0; gap: 6px; position: static; }
  .navbar-pm .navbar-brand img { height: 64px; flex: 0 0 auto; }
  /* ชื่อร้านวางกึ่งกลางแถบเมนูจริง ๆ ไม่ใช่กลางช่องว่างที่เหลือจากโลโก้ */
  .navbar-pm .brand-text-mobile {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(19px, 5.6vw, 32px);
    margin: 0;
    min-width: 0;
  }
  .navbar-pm .navbar-toggler { flex: 0 0 auto; margin-left: auto; }
}

/* Desktop split: left | logo | right */
@media (min-width: 992px) {
  .navbar-split {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .nav-split-left,
  .nav-split-right {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0;
    margin: 0;
  }
  .nav-split-left  { justify-content: flex-end;   padding-right: 20px; }
  .nav-split-right { justify-content: flex-start;  padding-left:  20px; }

  .nav-brand-center {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
  }
  .nav-brand-center img {
    height: 110px;
    transition: opacity .2s;
  }
  .nav-brand-center:hover img { opacity: .88; }
}

/* Nav links */
.navbar-pm .nav-link {
  font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--pm-green);
  padding: 8px 11px;
  transition: color 0.2s;
  white-space: nowrap;
}
.navbar-pm .nav-link:hover { color: var(--pm-brown); }
.navbar-pm .nav-link.active { color: var(--pm-brown); font-weight: 700; }

/* Dropdown — split link (label navigates, caret toggles submenu) */
.nav-item.dropdown {
  display: flex;
  align-items: center;
}
.dropdown-caret-btn {
  background: none;
  border: none;
  padding: 8px 11px 8px 0;
  display: inline-flex;
  align-items: center;
  color: var(--pm-green);
  cursor: pointer;
}
.dropdown-caret-btn::after {
  display: inline-block;
  content: "";
  border-top: .3em solid;
  border-right: .3em solid transparent;
  border-bottom: 0;
  border-left: .3em solid transparent;
}
.dropdown-caret-btn:hover { color: var(--pm-brown); }

/* Dropdown */
.dropdown-pm {
  background: var(--pm-cream-light);
  border: 1px solid rgba(72,100,75,.12);
  border-radius: 14px;
  box-shadow: 0 10px 36px rgba(72,100,75,.14);
  padding: 8px;
  min-width: 168px;
}
.dropdown-pm .dropdown-item {
    font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif;
    font-size: 17px;
    font-weight: 500;
    color: var(--pm-green);
    border-radius: 9px;
    padding: 9px 9px;
    transition: background .2s;
}
.dropdown-pm .dropdown-item:hover {
  background: var(--pm-mint-light);
  color: var(--pm-green);
}
/* เส้นคั่นระหว่างเมนูย่อย - สีน้ำตาลอ่อน */
.dropdown-pm li + li { border-top: 1px solid rgba(170,151,119,.35); }

/* Toggler */
.navbar-toggler { border-color: rgba(72,100,75,.3); }

/* =============================================
   MOBILE SLIDE-OUT MENU
   Same pattern as the eandt side menu (right slide,
   dark backdrop, +/- accordion) in this site's palette.
============================================= */
.pm-side-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100%;
  z-index: 1050;
  background: #f5eed8;
  padding: 28px 24px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .5s ease;
  backface-visibility: hidden;
}
.pm-side-menu.is-open { transform: translateX(0); }

.pm-side-menu .side-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.pm-side-menu .side-menu-head img { max-width: 96px; }
.pm-side-menu-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(72,100,75,.3);
  color: var(--pm-green);
  font-size: 16px;
  transition: background .25s, color .25s;
}
.pm-side-menu-close:hover {
  background: var(--pm-green);
  color: #fff;
}

.side-menu-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.side-menu-nav > ul > li {
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(72,100,75,.14);
}
.side-menu-nav > ul > li:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.side-menu-nav a {
  font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  color: var(--pm-green);
  text-decoration: none;
  display: inline-block;
  padding-right: 36px;
}
.side-menu-nav a:hover { color: var(--pm-green-deep); }

/* +/- accordion pill, mirroring meanMenu's .mean-expand */
.pm-sub-toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 26px;
  height: 26px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: var(--pm-green);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s;
}
.pm-sub-toggle::before { content: "+"; }
.pm-sub-toggle.is-open { background: var(--pm-green-deep); }
.pm-sub-toggle.is-open::before { content: "\2212"; }

.side-menu-nav .sub-menu {
  max-height: 0;
  overflow: hidden;
  padding-left: 18px;
  transition: max-height .3s ease, margin-top .3s ease;
}
.side-menu-nav .sub-menu.is-open {
  max-height: 320px;
  margin-top: 14px;
}
.side-menu-nav .sub-menu li + li { margin-top: 12px; }
.side-menu-nav .sub-menu a {
  font-weight: 500;
  font-size: 16px;
  color: var(--pm-text-muted);
}
.side-menu-nav .sub-menu a:hover { color: var(--pm-green); }

.side-menu-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 32px;
}
.side-menu-cta .btn { font-size: 16px; padding: 11px 18px; }

.pm-side-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(24,32,25,.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease;
}
.pm-side-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
body.pm-menu-open { overflow: hidden; }

@media (min-width: 992px) {
  .pm-side-menu,
  .pm-side-menu-overlay { display: none; }
}
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(72,100,75,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

/* =============================================
   BREADCRUMB — แถบนำทางบนหัวหน้า (ใช้ร่วมกันทุกหน้า)
============================================= */
.breadcrumb-pm .breadcrumb-item a { color: var(--pm-mint); text-decoration: none; }
.breadcrumb-pm .breadcrumb-item.active { color: rgba(253,245,239,.6); }
.breadcrumb-pm .breadcrumb-item + .breadcrumb-item::before { color: rgba(253,245,239,.4); }

/* =============================================
   POPUP LEAD
============================================= */
#leadPopup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.62);
  z-index: 99999;
  align-items: center;
  justify-content: center;
}
#leadPopup.visible { display: flex; }

.popup-box {
  background: var(--pm-white);
  border-radius: 28px;
  padding: 52px 44px 44px;
  max-width: 440px;
  width: 92%;
  text-align: center;
  position: relative;
}
.popup-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 1.4rem;
  color: #bbb;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  padding: 0;
}
.popup-close:hover { color: var(--pm-green); }

.popup-logo    { height: 72px; margin-bottom: 18px; }
.popup-title   { font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif; font-weight: 700; color: var(--pm-green); font-size: 1.4rem; margin-bottom: 8px; }
.popup-subtitle{ font-size: 14px; color: var(--pm-text-muted); margin-bottom: 24px; line-height: 1.7; }
.popup-note    { font-size: 12px; color: #ccc; margin-top: 16px; margin-bottom: 0; }

/* =============================================
   HERO
============================================= */
.hero-section {
  min-height: 100vh;
  padding-top: 60px;
  background-image: url('../images/slider/slider-1.jpg');
  background-size: cover;
  background-position: center 55%;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  /* slider-1.jpg is already green-tinted — keep a light wash for text contrast only */
  background: rgba(61,87,66,.25);
}
.hero-content { position: relative; z-index: 3; }
.hero-title {
  font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif;
  font-weight: 500;
  font-size: 54px;
  color: #ffffff;
  line-height: 1.3;
}
.hero-subtitle {
  font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif;
  font-weight: 300;
  font-size: clamp(.95rem, 2vw, 1.2rem);
  color: #ffffff;
  line-height: 1.7;
}
.hero-animals {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: min(46%, 560px);
  opacity: .22;
  z-index: 2;
  pointer-events: none;
  animation: floatY 7s ease-in-out infinite;
}
@keyframes floatY {
  0%,100% { transform: translateY(-50%); }
  50%      { transform: translateY(-54%); }
}

/* Mobile: the fixed topbar + navbar stack is ~230px tall, so the vertically
   centred hero copy runs up underneath it. --pm-header-h is measured in JS. */
@media (max-width: 991.98px) {
  .hero-section { padding-top: calc(var(--pm-header-h, 230px) + 12px); }
  /* the row's own min-vh-100 stacks a second 100vh inside the section and
     pushes the centred copy down — let it size to its content instead */
  .hero-section .row.min-vh-100 { min-height: 0 !important; }
  .hero-section .row.py-5 { padding-top: 0 !important; }
  .hero-title { font-size: clamp(28px, 8vw, 40px); }
}
.hero-trail {
  position: absolute;
  bottom: -10px;
  left: -40px;
  width: min(55%, 680px);
  opacity: .18;
  z-index: 2;
  pointer-events: none;
}
.star-float {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}
@keyframes twinkle {
  0%,100% { opacity: .9; transform: scale(1) rotate(0deg); }
  50%      { opacity: .3; transform: scale(.6) rotate(20deg); }
}
.s1 { top: 18%; left: 8%;   animation: twinkle 3.2s ease-in-out infinite; }
.s2 { top: 30%; right: 22%; animation: twinkle 4s   ease-in-out infinite 1s; }
.s3 { bottom: 28%; left: 16%;  animation: twinkle 3.7s ease-in-out infinite 0.5s; }
.s4 { bottom: 20%; right: 35%; animation: twinkle 4.5s ease-in-out infinite 1.5s; }
.s5 { top: 60%; left: 5%;   animation: twinkle 3s   ease-in-out infinite 2s; }

/* =============================================
   TRUST BAR
============================================= */
.trust-bar {
  background: var(--pm-cream);
  padding: 18px 0;
  border-bottom: 1px solid rgba(170,151,119,.15);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--pm-green);
  white-space: nowrap;
}
.trust-item .ti-icon {
  width: 36px;
  height: 36px;
  background: var(--pm-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-item .ti-icon i { color: var(--pm-mint); font-size: 1rem; }

/* =============================================
   CATEGORY ICONS
============================================= */
.category-icons-section { padding: 30px 0 50px; /*background: #f5eed8;*/ }
/* ระยะห่างระหว่างหมวดหมู่ - แนวนอน/แนวตั้ง */
.category-icons-section .row { --bs-gutter-x: 2rem; --bs-gutter-y: 2.5rem; }
/* มือถือ: แถวละ 2 รายการ */
.category-icons-section .col-cat { width: 50%; }
.category-icons-section .category-icon-circle {
  width: 100%;
  height: auto;
  max-width: 120px;
  aspect-ratio: 1 / 1;
}
/* คอม: ทุกรายการ (8 อัน) อยู่แถวเดียวกัน */
@media (min-width: 992px) {
  .category-icons-section .row { flex-wrap: wrap; --bs-gutter-x: 3.5rem; }
  .category-icons-section .col-cat { width: 15%; }
}
.category-icon-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  text-decoration: none;
}
.category-icon-circle {
  width: 120px;
  height: 120px;
  /* border-radius: 50%; */
  /* background: #fff; */
  /* border: 1px solid rgba(72,100,75,.1); */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  overflow: hidden;
  /* box-shadow: 0 4px 14px rgba(72,100,75,.08); */
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}
.category-icon-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* border-radius: 50%; */
}
.category-icon-link:hover .category-icon-circle {
  background: var(--pm-mint-light);
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(72,100,75,.14);
}
.category-icon-label {
  font-size: 17px;
  font-weight: 600;
  color: var(--pm-green);
  /* opacity: .85; */
  transition: opacity .25s;
}
.category-icon-link:hover .category-icon-label { opacity: 1; }

/* =============================================
   PET FUNERAL SERVICE INTRO
============================================= */
/* margin-top เดิมทุกหน้าประกาศซ้ำกันเอง ย้ายมาไว้ที่นี่ หน้าไหนไม่เอาให้เขียนทับเป็น 0 */
.coffin-intro-section { margin-top: 60px; padding: 10px 0px 30px 0px; margin-bottom: 40px; background: #fff; }
.coffin-intro-img,
.cat-intro-img,
.cat-std-img,
.story-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(72,100,75,.16);
}
.coffin-intro-img img,
.cat-intro-img img,
.story-img-wrap img {
  width: 100%;
  /* height: 540px; */
  object-fit: cover;
  display: block;
}
/* กล่องวิดีโอแทนรูป intro (หน้าฝังน้องที่บ้าน) กดปุ่มกลางจอแล้วเล่น ปุ่มกลับมาเมื่อหยุด */
.coffin-intro-img.burial-care-video {
  position: relative;
  max-width: 380px;
  margin: 0 auto;
}
.burial-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border: none;
  border-radius: 50%;
  background: var(--pm-green);
  color: #fff;
  font-size: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 0 6px;
  box-shadow: 0 8px 24px rgba(72,100,75,.45);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.burial-video-play:hover {
  background: var(--pm-green-dark);
  transform: translate(-50%, -50%) scale(1.08);
}
.burial-care-video.is-playing .burial-video-play { display: none; }
.coffin-intro-img.burial-care-video video {
  width: 100%;
  height: auto;
  display: block;
}
.coffin-intro-content .section-label,
.cat-intro-content .section-label,
.story-content .section-label { margin-bottom: 10px; }
.coffin-intro-content h2 {
  font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif;
  color: var(--pm-green);
  font-size: 20px;
  margin-bottom: 10px;
  margin-top: 20px;
}
.coffin-intro-content p { color: var(--pm-text-muted); font-size: 17px; line-height: 1.7; }
.coffin-intro-content p + p,
.cat-intro-content p + p,
.story-content p + p { margin-top: 14px; }
/* แถวปุ่มใต้เนื้อหา intro — ใช้ค่าเดียวกันทุกหน้า */
.coffin-intro-cta,
.cat-intro-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* why-choose feature grid under the intro copy */
.why-choose-section { background: var(--pm-cream-light); padding: 50px 0 80px; }
/* same visual family as .addon-card: dashed frame + soft green-tinted shadow */
.why-choose-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--pm-white);
  border: none;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 2px 14px rgba(72,100,75,.06);
  /* SVG border so the dash length is controllable (CSS `dashed` is not) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Crect x='0' y='0' width='100%25' height='100%25' rx='14' ry='14' fill='none' stroke='%23bbac92' stroke-width='2' stroke-dasharray='5 4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  transition: all .25s;
}
.why-choose-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(72,100,75,.13);
}
.why-choose-img {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #e8e4e3;
}
/* multiply blends the photo's white backdrop into the plate's #e8e4e3 */
.why-choose-img img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
  transition: transform .5s ease;
}
.why-choose-card:hover .why-choose-img img { transform: scale(1.04); }
.why-choose-body {
  flex: 1;
  padding: 14px 4px 2px;
}
.why-choose-name {
  font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--pm-green);
  margin-bottom: 4px;
}
.why-choose-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #666;
  margin: 0;
}
/* scoped to beat `.coffin-intro-content h2` above */
/* หัวข้อ H1 ในคอลัมน์ Intro — ใช้ค่าเดียวกันทุกหน้า */
.coffin-intro-content h1,
.urn-intro-content h1,
.souvenir-intro-content h1,
.cat-intro-content h1,
.story-content h2,
.cat-intro-content h2 {
  font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif;
  font-weight: 600;
  color: var(--pm-green);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.35;
  margin-bottom: 18px;
}
/* H1 ขนาดเล็กลงในคอลัมน์ intro (บล็อกเกี่ยวกับเราในหน้าแรก และหน้าแพ็กเกจ) */
.coffin-intro-content h1.story-title {
  font-size: clamp(1.25rem, 2.2vw, 1.515rem);
}
@media (max-width: 767.98px) {
  .coffin-intro-content h1.story-title { font-size: 1.375rem; }
}
.coffin-intro-content h2.about-list-title,
.urn-intro-content h2.about-list-title,
.souvenir-intro-content h2.about-list-title,
.cat-intro-content h2.about-list-title {
  font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--pm-green);
  margin: 26px 0 0;
}
.about-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 17px;
  color: var(--pm-text-muted);
  line-height: 1.6;
}
/* rounded-square tick badge */
.about-list .ico {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--pm-mint-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  margin-top: 1px;
}
.about-list .ico svg { width: 15px; height: 15px; stroke: var(--pm-green); }

/* CTA under the about list — colours come from .btn-pm-primary */
.intro-more {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  text-decoration: none;
}
.intro-more i {
  font-size: 20px;
  margin-left: 10px;
  transition: transform .3s;
}
.intro-more:hover i { transform: translateX(5px); }

/* =============================================
   COFFIN TYPES
============================================= */
.coffin-type-section {
    padding: 20px 0px 100px 0px;
    background: #f5eed8;
}
.coffin-type-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 4px 24px rgba(72,100,75,.1);
  transition: transform .3s, box-shadow .3s;
}
.coffin-type-card:hover { transform: translateY(-6px); box-shadow: 0 14px 36px rgba(72,100,75,.16); }
.coffin-type-img { height: 260px; overflow: hidden; }
.coffin-type-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.coffin-type-card:hover .coffin-type-img img { transform: scale(1.08); }
.coffin-type-body { padding: 28px 26px; }
.coffin-type-body h3 { color: var(--pm-green-deep); font-size: 20px; font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif; font-weight: 500; margin-bottom: 8px; }
.coffin-type-body p { color: var(--pm-text-muted); font-size: 17px; margin-bottom: 16px; }
.coffin-type-price {
  display: inline-flex; align-items: baseline; gap: 6px;
  margin-bottom: 18px;
}
.coffin-type-price .from { font-size: 13px; color: var(--pm-text-muted); }
.coffin-type-price .price { font-family: 'Averia Libre', serif; font-size: 22px; color: var(--pm-green); }

/* =============================================
   PROJECT SHOWCASE
============================================= */
.project-link { display: block; text-decoration: none; }
.project-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  /* layered neutral shadow — soft ambient + tighter contact */
  box-shadow: 0 1px 2px rgba(17,17,17,.06),
              0 8px 16px -6px rgba(17,17,17,.12),
              0 20px 36px -14px rgba(17,17,17,.16);
  /* portrait 4:5 — matches the 900x1125 artwork */
  aspect-ratio: 4 / 5;
  height: auto;
  transition: box-shadow .3s ease, transform .3s ease;
}
.project-link:hover .project-card {
  box-shadow: 0 1px 2px rgba(17,17,17,.08),
              0 12px 22px -6px rgba(17,17,17,.16),
              0 30px 54px -16px rgba(17,17,17,.22);
  transform: translateY(-5px);
}
/* caption laid over the photo */
.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 22px;
  background: linear-gradient(to top,
    rgba(44,63,46,.9) 0%,
    rgba(44,63,46,.6) 45%,
    rgba(44,63,46,0) 100%);
  color: var(--pm-cream);
}
.project-overlay-text {
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 10px;
}
.project-overlay-name {
  font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--pm-mint);
  margin: 0;
}
.project-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s;
}
.project-card:hover img { transform: scale(1.08); }
.project-caption { padding: 18px 4px 0; }
.project-card-title {
  color: var(--pm-green-deep);
  font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  margin: 0;
}
.project-card-intro {
  color: var(--pm-green-deep);
  font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  margin: 0;
}
/* =============================================
   QUICK SERVICES
============================================= */
.services-section { background: var(--pm-white); padding: 80px 0; }

.svc-card {
  background: var(--pm-white);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(72,100,75,.08);
  border: 1.5px solid rgba(72,100,75,.07);
  transition: all 0.35s ease;
  height: 100%;
}
.svc-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 56px rgba(72,100,75,.18);
  border-color: var(--pm-mint);
}
.svc-img-wrap {
  height: 210px;
  overflow: hidden;
  background: var(--pm-mint-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.svc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.svc-card:hover .svc-img-wrap img { transform: scale(1.08); }
.svc-icon-wrap { font-size: 3.5rem; line-height: 1; }
.svc-body { padding: 24px 22px 28px; }
.svc-title {
  font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--pm-green);
  margin-bottom: 6px;
}
.svc-price {
  font-family: 'Averia Libre', serif;
  font-size: 13px;
  color: var(--pm-brown);
  margin-bottom: 18px;
}
.svc-desc {
  font-size: 13px;
  color: var(--pm-text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}
.btn-svc-detail {
  display: inline-block;
  border: 1.5px solid var(--pm-green);
  color: var(--pm-green);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 22px;
  text-decoration: none;
  transition: all .25s;
  font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif;
}
.btn-svc-detail:hover {
  background: var(--pm-green);
  color: #fff;
}

/* =============================================
   WHY CHOOSE US
============================================= */
.cta-package {
  background: var(--pm-green);
  padding: 30px 0px 60px 0px;
  position: relative;
  overflow: hidden;
}
.cta-package .section-label   { color: var(--pm-mint); }
.cta-package .section-title   { color: var(--pm-cream); }
.cta-package .section-divider { background: var(--pm-brown); }
/* Contact CTA inside the green section — two methods side by side */
.why-cta { position: relative; z-index: 2; }
/* twinkling stars down the left gutter, above the content layer */
.cta-package .star-float { z-index: 3; }
.cta-package .star-float path { fill: var(--pm-brown); }
.cta-package .c1 { top: 18%;    left: 7%;  animation: twinkle 3.5s ease-in-out infinite .2s; }
.cta-package .c2 { top: 45%;    left: 3%;  animation: twinkle 4.1s ease-in-out infinite 1.1s; }
.cta-package .c3 { bottom: 28%; left: 11%; animation: twinkle 3.3s ease-in-out infinite .7s; }
.cta-package .c4 { bottom: 10%; left: 5%;  animation: twinkle 3.9s ease-in-out infinite 1.6s; }
.cta-package .c5 { top: 5%;     left: 15%; animation: twinkle 3.6s ease-in-out infinite 2.1s; }
.cta-package .c6 { top: 60%;    left: 16%; animation: twinkle 4.4s ease-in-out infinite .5s; }
.cta-package .c7 { top: 32%;    left: 11%; animation: twinkle 3.2s ease-in-out infinite 1.4s; }
.cta-package .c8 { top: 82%;    left: 15%; animation: twinkle 4.7s ease-in-out infinite 2.4s; }
.cta-package .c9 { top: 45%;    left: 20%; animation: twinkle 5.2s ease-in-out infinite .9s; }
/* below lg the text column goes full-width, so only keep two clusters clear of the copy:
   three beside the logo, three in the bottom padding under the buttons */
@media (max-width: 991.98px) {
  .cta-package .star-float { display: none; }
  .cta-package .c1,
  .cta-package .c5,
  .cta-package .c7,
  .cta-package .c3,
  .cta-package .c4,
  .cta-package .c8 { display: block; }

  .cta-package .c1 { top: 5%;  left: 4%;  bottom: auto; }
  .cta-package .c5 { top: 11%; left: 13%; bottom: auto; }
  .cta-package .c7 { top: 17%; left: 3%;  bottom: auto; }

  .cta-package .c3 { top: auto; bottom: 11%; left: 4%; }
  .cta-package .c4 { top: auto; bottom: 6%;  left: 14%; }
  .cta-package .c8 { top: auto; bottom: 2%;  left: 5%; }
}
.why-cta .cta-title {
  font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif;
  font-weight: 600;
  font-size: 36px;
  line-height: 1.45;
  color: var(--pm-cream);
  text-align: center;
  margin-bottom: 44px;
}

.why-bg-trail {
  position: absolute;
  bottom: -30px;
  right: -60px;
  width: min(50%, 550px);
  opacity: .75;
  pointer-events: none;
}
.why-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(199,230,220,.18);
  border-radius: 18px;
  padding: 28px 20px 26px;
  text-align: center;
  transition: all .3s;
}
.why-card:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-5px);
  border-color: rgba(199,230,220,.4);
}
.why-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(199,230,220,.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: background .3s;
}
.why-card:hover .why-icon-wrap { background: rgba(199,230,220,.25); }
.why-icon-wrap i { font-size: 1.7rem; color: var(--pm-mint); }
.why-card h5 {
  font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--pm-cream);
  margin-bottom: 8px;
}
.why-card p { font-size: 13px; color: rgba(199,230,220,.75); margin: 0; line-height: 1.6; }

/* =============================================
   PACKAGES
============================================= */
.pkg-section {
  background: #f5eed8;
  padding: 40px 0;
  position: relative;
}
.pkg-intro {
  font-size: 18px;
  color: var(--pm-text-muted);
  max-width: 880px;
  margin: 0 auto;
}
.pkg-cta-text {
  font-size: 17px;
  color: var(--pm-text-muted);
  margin-bottom: 20px;
}
.pkg-note-bar {
  background: var(--pm-mint-light);
  border-left: 4px solid var(--pm-green);
  border-radius: 0 12px 12px 0;
  padding: 14px 20px;
  font-size: 14px;
  color: var(--pm-green);
}
.pkg-card {
  background: var(--pm-white);
  border-radius: 26px 26px 0px 0px;
  padding: 38px 28px 32px;
  text-align: center;
  box-shadow: 0 6px 36px rgba(72,100,75,.08);
  border: 2px solid transparent;
  transition: all .35s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}
/* Full-bleed package artwork — replaces badge / weight / price block */
.pkg-visual { margin: -38px -28px 6px; }
.pkg-visual img { width: 100%; height: auto; display: block; }
.pkg-card:hover {
  border-color: rgba(72,100,75,.25);
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(72,100,75,.16);
}
.pkg-card.featured {
  border-color: var(--pm-green);
  box-shadow: 0 16px 56px rgba(72,100,75,.2);
}
.pkg-badge-pop {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pm-brown);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: 50px;
  letter-spacing: .5px;
  white-space: nowrap;
}
.pkg-size-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--pm-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto 12px;
  font-family: 'Averia Libre', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--pm-green);
}
.pkg-card.featured .pkg-size-badge { background: var(--pm-green); color: #fff; }
.pkg-weight-label {
  font-size: 17px;
  font-weight: 600;
  color: var(--pm-brown);
  margin-bottom: 4px;
}
.pkg-price {
  font-family: 'Averia Libre', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--pm-green);
  line-height: 1;
}
.pkg-currency { font-size: 1.2rem; vertical-align: super; margin-right: 2px; }
.pkg-unit     { font-size: 17px; color: var(--pm-brown); margin-bottom: 22px; }
.pkg-divider  { height: 1px; background: rgba(72,100,75,.1); margin: 18px 0; }
.pkg-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}
.pkg-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 17px;
  padding: 5px 0;
  color: #666;
  line-height: 1.5;
}
.pkg-list li i { color: var(--pm-green); flex-shrink: 0; margin-top: 2px; font-size: 13px; }

/* =============================================
   ADD-ONS
============================================= */
.addon-section { background: var(--pm-cream-light); padding-top: 50px; padding-bottom: 80px; }
.addon-card {
  background: var(--pm-white);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 14px rgba(72,100,75,.06);
  /* SVG border so the dash length is controllable (CSS `dashed` is not) */
  border: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Crect x='0' y='0' width='100%25' height='100%25' rx='14' ry='14' fill='none' stroke='%23bbac92' stroke-width='2' stroke-dasharray='5 4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  transition: all .25s;
}
.addon-card:hover { box-shadow: 0 6px 24px rgba(72,100,75,.13); transform: translateY(-2px); }
.addon-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: #e8e4e3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
}
/* multiply blends the photo's white backdrop into the circle's #e8e4e3 */
.addon-icon img { width: 100%; height: 100%; object-fit: cover; display: block; mix-blend-mode: multiply; }
.addon-name  { font-size: 18px; font-weight: 700; color: #655035; margin-bottom: 2px; }
.addon-price { font-size: 16px; color: var(--pm-brown); font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif; }

/* =============================================
   GALLERY
============================================= */
.gallery-section {
    background: var(--pm-white);
    padding: 40px 0;
}
.masonry-grid {
  columns: 3 260px;
  column-gap: 14px;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.masonry-item img {
  width: 100%;
  display: block;
  transition: transform .55s ease;
}
.masonry-item:hover img { transform: scale(1.06); }
.masonry-overlay {
  position: absolute;
  inset: 0;
  background: rgba(72,100,75,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s;
}
.masonry-item:hover .masonry-overlay { background: rgba(72,100,75,.35); }
.masonry-overlay i {
  color: #fff;
  font-size: 2rem;
  opacity: 0;
  transition: opacity .3s;
}
.masonry-item:hover .masonry-overlay i { opacity: 1; }

/* =============================================
   EMOTIONAL SECTION
============================================= */
.emotional-section {
  background: #F5EFD9;
  padding: 60px 0px 60px 0px;
  position: relative;
  overflow: hidden;
}
.emotional-stars {
  position: absolute;
  left: -80px;
  bottom: -30px;
  width: 60%;
  opacity: .8;
  z-index: 3;
  pointer-events: none;
}
.emotional-trail {
  position: absolute;
  left: -80px;
  top: auto;
  bottom: -30px;
  width: 60%;
  opacity: .55;
  pointer-events: none;
}
.emotional-quote {
  font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--pm-green);
  line-height: 1.4;
}
.emotional-body {
  font-size: 17px;
  line-height: 1.9;
  color: var(--pm-text-muted);
}
.emotional-lead {
  display: block;
  font-weight: 700;
  font-size: 18px;
  color: var(--pm-green);
  margin-bottom: 34px;
}
/* stacked on phones/tablets — tighten the gaps above and below the lead line */
@media (max-width: 991.98px) {
  .emotional-section .row { --bs-gutter-y: .75rem; }
  .emotional-lead { margin-bottom: 10px; }
  /* keep the copy off the screen edge */
  .emotional-section .container { padding-left: 22px; padding-right: 22px; }
  .emotional-section .d-flex.flex-wrap { justify-content: center; }
  /* decoration hugs the right-hand edge instead, and gets bigger */
  .emotional-trail,
  .emotional-stars {
    left: auto;
    right: -60px;
    bottom: -60px;
    width: 105%;
  }
}
.emotional-logo {
  display: block;
  height: 125px;
  margin: 0 auto 16px;
}
.big-quote {
  font-family: 'Averia Libre', serif;
  font-size: 7rem;
  color: var(--pm-brown);
  opacity: .2;
  line-height: .8;
  user-select: none;
}

/* =============================================
   REVIEWS
============================================= */
.review-section {
  background: var(--pm-green);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.review-section .section-label   { color: var(--pm-mint); }
.review-section .section-title   { color: var(--pm-cream); }
.review-section .section-divider { background: var(--pm-brown); }

.review-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(199,230,220,.16);
  border-radius: 22px;
  padding: 30px 26px;
  height: 100%;
  transition: all .3s;
}
.review-card:hover {
  background: rgba(255,255,255,.11);
  transform: translateY(-4px);
}
.review-stars  { color: #f0c040; font-size: 11px; letter-spacing: 3px; }
.review-stars a { color: #f0c040; font-size: 11px; letter-spacing: 3px; }
.review-text   { color: #f0c040; font-size: 11px; font-family: "Noto Sans Thai Looped", "Noto Sans Thai", sans-serif;}
a { text-decoration: none;  } 
a:link { text-decoration: none; } 
a:visited { text-decoration: none; } 
a:hover { text-decoration: none;  }

.review-author { display: flex; align-items: center; gap: 12px; font-family: "Noto Sans Thai Looped", "Noto Sans Thai", sans-serif;}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(199,230,220,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.review-name { font-weight: 700; font-size: 14px; color: var(--pm-mint); }
.review-pet  { font-size: 12px; color: rgba(199,230,220,.55); }

/* =============================================
   STEPS
============================================= */
.steps-section { background: var(--pm-mint); padding: 90px 0; }
.steps-intro   { font-size: 17px; color: var(--pm-text-muted); max-width: 920px; margin: 0 auto;}

.step-col { position: relative; text-align: center; }
.step-connector-line {
  position: absolute;
  top: 36px;
  left: calc(50% + 40px);
  right: calc(-50% + 40px);
  height: 2px;
  background: linear-gradient(90deg, var(--pm-mint), rgba(199,230,220,.2));
}
/* white card per step, with the number badge straddling its top edge */
.step-card {
  position: relative;
  height: 100%;
  margin-top: 36px;
  padding: 54px 22px 28px;
  background: var(--pm-white);
  border-radius: 20px;
  border: 1px solid rgba(72,100,75,.07);
  box-shadow: 0 12px 32px -20px rgba(72,100,75,.55);
  transition: transform .3s ease, box-shadow .3s ease;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px -20px rgba(72,100,75,.65);
}
.step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--pm-green);
  color: var(--pm-cream);
  font-family: 'Averia Libre', serif;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 8px 28px rgba(72,100,75,.28);
  transition: transform .3s;
}
.step-col:hover .step-num { transform: translateX(-50%) scale(1.08); }
.step-icon-sm { font-size: 1.4rem; color: var(--pm-brown); margin-bottom: 8px; }
.step-title {
  font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--pm-green);
  margin-bottom: 8px;
}
.step-desc { font-size: 17px; color: var(--pm-text-muted); line-height: 1.6; }

/* =============================================
   CALCULATOR
============================================= */
.calc-section { background: var(--pm-mint); padding: 80px 0; }
.calc-card {
  background: var(--pm-white);
  border-radius: 28px;
  padding: 48px 44px;
  box-shadow: 0 12px 56px rgba(72,100,75,.12);
}
.calc-result {
  background: var(--pm-green);
  border-radius: 18px;
  padding: 28px;
  text-align: center;
  display: none;
}
.calc-result.show { display: block; }

.calc-price-display {
  font-family: 'Averia Libre', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--pm-cream);
}
.calc-label {
  font-size: 14px;
  color: var(--pm-mint);
  margin-bottom: 6px;
}
.calc-disclaimer {
  font-size: 12px;
  color: rgba(199,230,220,.7);
  margin-top: 8px;
  margin-bottom: 20px;
}

.form-select,
.form-control {
  border: 1.5px solid rgba(72,100,75,.18);
  border-radius: 14px;
  padding: 13px 18px;
  font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif;
  font-size: 15px;
  color: var(--pm-text);
}
.form-select:focus,
.form-control:focus {
  border-color: var(--pm-green);
  box-shadow: 0 0 0 3px rgba(72,100,75,.12);
}
.form-label {
  font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--pm-green);
  margin-bottom: 8px;
}

/* =============================================
   FAQ
============================================= */
.faq-section {
    background: linear-gradient(180deg, var(--pm-white) 0%, #f6faf6 100%);
    padding: 60px 0;
}

/* Soft card accordion — one card per question */
.accordion-pm .accordion-item {
  background: linear-gradient(160deg, #fff 55%, #f4f8f4 100%);
  border: 1px solid rgba(72,100,75,.12) !important;
  border-radius: 16px !important;
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
  box-shadow: 0 10px 30px -22px rgba(72,100,75,.55);
}
.accordion-pm .accordion-item:hover {
  border-color: rgba(72,100,75,.3) !important;
  box-shadow: 0 16px 36px -22px rgba(72,100,75,.65);
  transform: translateY(-2px);
}
.accordion-pm .accordion-button {
  font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.5;
  color: var(--pm-green);
  background: transparent;
  border-radius: 16px !important;
  padding: 12px 14px;
  transition: color .3s ease;
}
.accordion-pm .accordion-button:hover { color: var(--pm-green-deep); }
.accordion-pm .accordion-button:not(.collapsed) {
  background: transparent;
  color: var(--pm-green-deep);
  box-shadow: none;
  padding-bottom: 16px;
}
/* chevron rendered as a round badge that flips open */
.accordion-pm .accordion-button::after {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  margin-left: auto;
  border-radius: 50%;
  /* brown circle by default, green once hovered or opened; white chevron throughout */
  background-color: var(--pm-brown);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform .35s ease, background-color .3s ease;
}
.accordion-pm .accordion-button:hover::after,
.accordion-pm .accordion-button:not(.collapsed)::after { background-color: var(--pm-green); }
.accordion-pm .accordion-body {
  font-size: 17px;
  color: var(--pm-text-muted);
  line-height: 29px;
  padding: 0 24px 22px 40px;
}
/* คำตอบที่กรอกผ่าน ckeditor ถูกห่อด้วย <p> ตัดระยะล่างของตัวสุดท้ายให้เท่าข้อความเปล่าในดีไซน์ */
.accordion-pm .accordion-body > :last-child { margin-bottom: 0; }
/* keeps the two columns' question rows lined up on desktop */
@media (min-width: 992px) {
  .accordion-pm .accordion-button { min-height: 74px; }
}
@media (max-width: 767.98px) {
  .accordion-pm .accordion-button { font-size: 17px; padding: 18px; }
  .accordion-pm .accordion-body { padding: 0 18px 18px 32px; }
}

/* =============================================
   FINAL CTA
============================================= */
.final-cta-section {
  background: linear-gradient(135deg, #48644b 0%, #48644b 100%);
  padding: 40px 0 60px;
  position: relative;
  overflow: hidden;
}
.final-cta-section .cta-title {
  font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif;
  font-weight: 600;
  font-size: 36px;
  color: var(--pm-cream);
  line-height: 1.35;
}
.phone-display {
  font-family: 'Averia Libre', serif;
  font-size: 50px;
  font-weight: 600;
  color: var(--pm-cream);
  letter-spacing: 3px;
}
.final-cta-animals {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: min(40%, 450px);
  opacity: .1;
  pointer-events: none;
}
.final-cta-trail {
  position: absolute;
  /* tilted upward so the raised end runs off the top edge, clear of the centred logo */
  top: auto;
  bottom: 150px;
  left: -20px;
  width: min(48%, 700px);
  transform: rotate(-18deg);
  transform-origin: left bottom;
  opacity: .45;
  z-index: 0;
  pointer-events: none;
}
.final-cta-section .container { position: relative; z-index: 2; }
/* desktop keeps the S-ribbon; phones/tablets get the fan of curves, top-left */
.final-cta-trail-mobile {
  display: none;
  position: absolute;
  top: -95px;
  left: -40px;
  width: 85%;
  opacity: .45;
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 991.98px) {
  .final-cta-trail { display: none; }
  .final-cta-trail-mobile { display: block; }
}
/* twinkling stars sit in the gutters either side, above the content layer */
.final-cta-section .star-float { z-index: 3; }
.final-cta-section .star-float path { fill: #FFFCE9; }
/* right-hand cluster mirrors the package CTA's left-hand one (9 stars, same spacing) */
.final-cta-section .s1  { top: 5%;  right: 15%; bottom: auto; left: auto; }
.final-cta-section .s2  { top: 18%; right: 7%;  bottom: auto; left: auto; }
.final-cta-section .s3  { top: 32%; right: 11%; bottom: auto; left: auto; }
.final-cta-section .s4  { top: 45%; right: 3%;  bottom: auto; left: auto; }
.final-cta-section .s5  { top: 45%; right: 20%; bottom: auto; left: auto; }
.final-cta-section .s10 { top: 60%; right: 16%; left: auto; animation: twinkle 4.4s ease-in-out infinite .5s; }
.final-cta-section .s11 { top: 72%; right: 11%; left: auto; animation: twinkle 3.3s ease-in-out infinite .7s; }
.final-cta-section .s12 { top: 82%; right: 15%; left: auto; animation: twinkle 4.7s ease-in-out infinite 2.4s; }
.final-cta-section .s13 { top: 90%; right: 5%;  left: auto; animation: twinkle 3.9s ease-in-out infinite 1.6s; }
/* left-hand stars kept below the tilted ribbon so the lines don't run through them */
.final-cta-section .s6 { top: auto; bottom: 24%; left: 13%; animation: twinkle 3.4s ease-in-out infinite .3s; }
.final-cta-section .s7 { top: auto; bottom: 15%; left: 4%;  animation: twinkle 4.2s ease-in-out infinite 1.2s; }
.final-cta-section .s8 { bottom: 8%;  left: 16%; animation: twinkle 3.8s ease-in-out infinite .8s; }
.final-cta-section .s9 { bottom: 4%;  left: 7%;  animation: twinkle 3.1s ease-in-out infinite 1.7s; }
.final-cta-logo {
  height: 120px;
  filter: brightness(0) invert(1);
  /* opacity: .85; */
  margin-bottom: 24px;
}
.cta-subtext {
  font-size: 18px;
  color: rgba(199,230,220,.85);
  margin-bottom: 32px;
  line-height: 1.7;
}
.icon-mint { color: var(--pm-mint); }

/* =============================================
   FOOTER
============================================= */
footer {
  background: linear-gradient(135deg, var(--pm-green) 0%, var(--pm-green) 100%);
  color: rgba(253,245,239,.75);
  padding: 64px 0 0;
}
footer .footer-logo img {
  display: block;
  margin: 0 auto;
  transform: translateX(-58px);
  height: 120px;
  filter: brightness(0) invert(1);
  /* opacity: .85; */
}
footer .footer-tagline {
  font-family: 'Averia Libre', serif;
  font-size: 20px;
  color: rgba(199,230,220,.6);
  margin-top: 5px;
}
.footer-brand-desc {
  font-size: 17px;
  color: var(--pm-cream);
  margin-top: 12px;
  line-height: 1.7;
}
footer h6 {
  font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 2px;
  color: var(--pm-cream);
  margin-bottom: 18px;
}
footer h3 {
  font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 2px;
  color: var(--pm-cream);
  margin-bottom: 18px;
}
footer a {
  color: rgba(199,230,220,.7);
  text-decoration: none;
  font-size: 16px;
  line-height: 2;
  display: block;
  transition: color .2s;
}
footer a:hover { color: var(--pm-cream); }
footer .copyright {
  color: rgba(199,230,220,.7);
  text-decoration: none;
  font-size: 16px;
  line-height: 2;
  display: inline;
  transition: color .2s;
}
footer .footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(199,230,220,.7);
  margin-bottom: 10px;
}
footer .footer-contact-item i { color: var(--pm-mint); margin-top: 2px; flex-shrink: 0; }
/* plain-text contact block with bold sub-labels */
footer .footer-contact-label {
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
  margin: 0 0 2px;
}
/* inline label + value on the same line (อีเมล: … / โทร: …) */
footer .footer-contact-text .footer-contact-label {
  display: inline;
  margin: 0;
}
footer .footer-contact-inline { white-space: nowrap; }
/* `footer a` is display:block for the link columns — undo that here */
footer .footer-contact-text a {
  display: inline;
  font-size: inherit;
  line-height: inherit;
}
footer .footer-contact-text {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(199,230,220,.75);
  margin: 0;
}
footer .footer-contact-text a {
  color: rgba(199,230,220,.75);
  text-decoration: none;
}
footer .footer-contact-text a:hover { color: var(--pm-cream); }
footer .footer-qr {
  display: block;
  margin-top: 14px;
  width: 100%;
  max-width: 100%;
  background: #fff;
  border-radius: 10px;
  padding: 8px;
}
footer .footer-qr img { width: 100%; height: auto; display: block; }
/* the column is half/full width on small screens — cap the QR so it stays small */
@media (max-width: 991.98px) {
  footer .footer-qr,
  footer .footer-qr-btn { max-width: 190px; }
  footer .footer-qr-btn { font-size: 17px; }

  /* stacked columns read better centred on a phone */
  footer { text-align: center; }
  footer .footer-logo img { transform: none; }
  footer .footer-qr,
  footer .footer-qr-btn { margin-left: auto; margin-right: auto; }
  footer .social-links { justify-content: center; }
  footer .footer-contact-item { justify-content: center; }
}
/* `footer a` is display:block with its own sizing — restore button styling */
footer .footer-qr-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.5;
  color: #fff;
  text-align: center;
}
footer .footer-qr-btn:hover { color: #fff; }
footer .social-links { display: flex; gap: 10px; }
footer .social-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(199,230,220,.25);
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  transition: all .2s;
}
footer .social-btn:hover {
  border-color: var(--pm-mint);
  background: rgba(199,230,220,.12);
  color: var(--pm-cream) !important;
}
footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px 0;
  margin-top: 48px;
  font-size: 16px;
  color: rgba(199,230,220,.4);
}
.footer-map {
  margin-top: 14px;
  border-radius: 12px;
  overflow: hidden;
  height: 120px;
  background: rgba(199,230,220,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(199,230,220,.12);
}
.footer-map-link {
  color: rgba(199,230,220,.6);
  font-size: 13px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.footer-map-link i { font-size: 2rem; }

/* =============================================
   STICKY CTA
============================================= */
.sticky-cta {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.sticky-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 50px;
  font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,.22);
  transition: all .3s;
  white-space: nowrap;
}
.sticky-btn:hover { transform: translateX(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.28); }
.sticky-btn.sb-call { background: var(--pm-green); color: #fff; }
.sticky-btn.sb-line { background: #06C755;         color: #fff; }
.sticky-btn.sb-pkg  { background: var(--pm-brown);  color: #fff; }
.sticky-btn i { font-size: 1.1rem; }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 991px) {
  .hero-animals { display: none; }
}
@media (max-width: 767px) {
  .sticky-btn span { display: none; }
  .sticky-btn {
    padding: 14px;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    justify-content: center;
  }
  .calc-card { padding: 32px 22px; }
  .masonry-grid { columns: 2 180px; }
  .step-connector-line { display: none; }
}
@media (max-width: 480px) {
  .masonry-grid { columns: 1; }
}

/* =============================================
   PAGE COMPONENTS — โครงที่หน้าต่าง ๆ ใช้ร่วมกัน
   เดิมแต่ละหน้าก๊อปโค้ดชุดเดียวกันไปตั้งชื่อคลาสของตัวเอง
   ย้ายมารวมไว้ที่เดียว หน้าไหนอยากได้แบบอื่นค่อยเขียนทับในไฟล์ของหน้านั้น
============================================= */

/* ── หัวหน้ารอง ── */
.about-hero,
.cat-hero,
.ceremony-hero,
.contact-hero,
.package-hero,
.burial-hero,
.cold-hero,
.cremation-hero,
.service-hero,
.transport-hero,
.coffin-hero,
.project-detail-hero,
.project-hero {
  background: var(--pm-green);
  padding: 140px 0 0px;
  position: relative;
  overflow: hidden;
}
.about-hero::before,
.cat-hero::before,
.ceremony-hero::before,
.contact-hero::before,
.package-hero::before,
.burial-hero::before,
.cold-hero::before,
.cremation-hero::before,
.service-hero::before,
.transport-hero::before,
.coffin-hero::before,
.project-detail-hero::before,
.project-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /* background: url('Artboard 5 copy_0.png') right bottom / 340px no-repeat; */
  opacity: .08;
}

/* ── กล่อง CTA ปิดท้ายหน้า ── */
.about-cta-box,
.article-cta-box,
.blog-cta-box,
.service-cta-box {
  background: linear-gradient(135deg, var(--pm-green) 0%, var(--pm-green-deep) 100%);
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-cta-box h2,
.article-cta-box h2,
.blog-cta-box h2,
.service-cta-box h2 {
  font-family: 'Averia Libre', serif;
  color: var(--pm-cream);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 12px;
}
.about-cta-box p,
.article-cta-box p,
.blog-cta-box p,
.service-cta-box p { color: rgba(253,245,239,.8); margin-bottom: 26px; }
.about-cta-box .btn-pm-light,
.article-cta-box .btn-pm-light,
.blog-cta-box .btn-pm-light,
.service-cta-box .btn-pm-light {
  background: var(--pm-cream);
  color: var(--pm-green-deep);
  border-radius: 50px;
  padding: 13px 32px;
  font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
  transition: all .3s;
}
.about-cta-box .btn-pm-light:hover,
.article-cta-box .btn-pm-light:hover,
.blog-cta-box .btn-pm-light:hover,
.service-cta-box .btn-pm-light:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.2); }
.about-cta-box .btn-pm-outline-light,
.article-cta-box .btn-pm-outline-light,
.blog-cta-box .btn-pm-outline-light,
.service-cta-box .btn-pm-outline-light {
  border: 1.5px solid rgba(253,245,239,.5);
  color: var(--pm-cream);
  border-radius: 50px;
  padding: 13px 32px;
  font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
  transition: all .3s;
}
.about-cta-box .btn-pm-outline-light:hover,
.article-cta-box .btn-pm-outline-light:hover,
.blog-cta-box .btn-pm-outline-light:hover,
.service-cta-box .btn-pm-outline-light:hover { background: rgba(253,245,239,.1); transform: translateY(-2px); }

/* ── การ์ดจุดเด่น (ไอคอนกลม + หัวข้อ + คำอธิบาย) ── */
.room-facility-card,
.burial-feature-card,
.cold-feature-card,
.trans-feature-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px 26px;
  height: 100%;
  box-shadow: 0 4px 28px rgba(72,100,75,.08);
  border: 1.5px solid rgba(72,100,75,.07);
  transition: transform .35s ease, box-shadow .35s ease;
}
.room-facility-card:hover,
.burial-feature-card:hover,
.cold-feature-card:hover,
.trans-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(72,100,75,.14);
}
.room-facility-icon,
.burial-feature-icon,
.cold-feature-icon,
.trans-feature-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--pm-green);
  color: var(--pm-cream);
  font-size: 23px;
  margin-bottom: 16px;
}
.room-facility-card h3,
.burial-feature-card h3,
.cold-feature-card h3,
.trans-feature-card h3 {
  font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--pm-green-deep);
  margin-bottom: 8px;
}
.room-facility-card p,
.burial-feature-card p,
.cold-feature-card p,
.trans-feature-card p,
.cold-case-card p,
.cat-std-item p {
  color: var(--pm-text-muted);
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}

/* ── แถบหมายเหตุใต้เนื้อหา ── */
.room-note-bar,
.burial-note-bar,
.cold-note-bar,
.cremate-note-bar,
.trans-note-bar {
  background: var(--pm-cream);
  border-radius: 18px;
  padding: 22px 26px;
  text-align: center;
  color: var(--pm-text-muted);
  font-size: 15px;
  line-height: 1.85;
  margin-top: 34px;
}

/* ── รายการติ๊กถูกในคอลัมน์เนื้อหา ── */
.room-detail-list,
.burial-care-list,
.cremate-compare-list,
.trans-care-list { list-style: none; padding: 0; margin: 0; }
.room-detail-list li,
.burial-care-list li,
.trans-care-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--pm-text-muted);
  font-size: 16px;
  line-height: 1.8;
  padding: 9px 0;
}
.room-detail-list i,
.burial-care-list i,
.trans-care-list i { color: var(--pm-green); font-size: 19px; line-height: 1.5; }

/* ── เว้นระยะระหว่างรายการกับแถวปุ่มใต้คอลัมน์ intro ── */
.coffin-intro-content .about-list,
.cat-intro-content .about-list { padding-bottom: 20px; }

/* ── คำอธิบายในการ์ด ── */
.mv-card p,
.measure-card p { font-size: 17px; color: var(--pm-text-muted); line-height: 1.8; margin: 0; }

/* ── ระยะห่างของแถบ section ── */
.about-cta-section,
.blog-cta-section,
.room-facility-section,
.contact-section,
.burial-feature-section,
.cold-feature-section,
.cremate-compare-section,
.scope-section,
.service-pricing-section,
.trans-feature-section,
.cat-std-section,
.cat-step-section,
.coffin-feature-section { padding: 80px 0; background: var(--pm-cream-light); }
.article-cta-section,
.cat-type-section,
.room-detail-section,
.form-section,
.burial-care-section,
.cold-case-section,
.cremate-spec-section,
.service-cta-section,
.trans-care-section,
.coffin-size-section { padding: 80px 0; background: #fff; }

/* ── การ์ดผลงานในแถบแกลเลอรี (ทับค่าของ .project-card ด้านบน) ── */
.gallery-section .project-card { border: 0; border-radius: 18px; }
.gallery-section .project-caption { padding: 18px 6px 0; }
.gallery-section .project-card-title { transition: color .3s ease; }
.gallery-section .project-link:hover .project-card-title { color: var(--pm-green); }

/* ── แกลเลอรีในหน้ารายละเอียดผลงาน ── */
.project-gallery-section { padding: 70px 0 90px; background: #fff; }
.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: 0 4px 24px rgba(72,100,75,.1);
  height: 260px;
  display: block;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-zoom {
  position: absolute; inset: 0;
  background: rgba(29,45,31,0);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 22px;
  opacity: 0;
  transition: all .3s;
}
.gallery-item:hover .gallery-item-zoom { background: rgba(29,45,31,.35); opacity: 1; }

/* ── มือถือ: เผื่อที่ให้ topbar + navbar ที่ลอยอยู่ (--pm-header-h วัดด้วย js) ── */
@media (max-width: 991.98px) {
  .about-hero,
  .cat-hero,
  .ceremony-hero,
  .contact-hero,
  .package-hero,
  .burial-hero,
  .cold-hero,
  .cremation-hero,
  .service-hero,
  .transport-hero,
  .coffin-hero,
  .project-detail-hero,
  .project-hero { padding-top: calc(var(--pm-header-h, 230px) + 12px); }
}

.about-title
{ 
font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif;
  font-weight: 600;
  color: var(--pm-green);
  font-size: clamp(1.4rem, 3vw, 1.5rem);
  line-height: 1.35;
  margin-bottom: 18px;
}

.gallery-intro {
  font-size: 18px;
  color: var(--pm-text-muted);
  max-width: 940px;
  margin: 0 auto;
}

.coffin-type-intro {
  font-size: 18px;
  color: var(--pm-text-muted);
  max-width: 840px;
  margin: 0 auto;
}

.intro-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.intro-gallery a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  box-shadow: 0 8px 22px rgba(72,100,75,.14);
}
.intro-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  transition: transform .4s ease;
}
.intro-gallery a:hover img {
  transform: scale(1.06);
}