/* =====================================================================
   Peemai Salepage — ขายบ้านมือสองพร้อมอยู่ ปทุมธานี
   ===================================================================== */

.pm *,
.pm *::before,
.pm *::after { box-sizing: border-box; }

/* ล้าง margin ปริยาย 8px ของ body ไม่งั้นแถบสีเต็มความกว้างจะมีขอบขาวรอบด้าน */
body.peemai-salepage-body { margin: 0; padding: 0; }

.pm {
	--ink:        #0E2436;
	--ink-2:      #17364E;
	--ink-3:      #24506F;
	--gold:       #BC8F3C;
	--gold-2:     #DEB65F;
	--gold-soft:  #F3E4C0;
	--cream:      #FBF8F3;
	--cream-2:    #F4EEE4;
	--paper:      #FFFFFF;
	--muted:      #5D748A;
	--line:       rgba(14, 36, 54, .10);
	--line-2:     rgba(14, 36, 54, .06);
	--green:      #1F7A5A;
	--shadow-sm:  0 1px 2px rgba(14,36,54,.06), 0 2px 8px rgba(14,36,54,.05);
	--shadow:     0 4px 12px rgba(14,36,54,.07), 0 14px 38px rgba(14,36,54,.08);
	--shadow-lg:  0 8px 24px rgba(14,36,54,.10), 0 30px 70px rgba(14,36,54,.13);
	--r:          18px;
	--r-sm:       12px;
	--maxw:       1180px;

	margin: 0;
	color: var(--ink);
	background: var(--cream);
	font-family: 'Sarabun', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 17px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

.pm img { max-width: 100%; height: auto; display: block; }
.pm h1, .pm h2, .pm h3, .pm h4 {
	font-family: 'Prompt', 'Sarabun', sans-serif;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -.01em;
	margin: 0;
	color: var(--ink);
}
.pm p { margin: 0; }
.pm a { color: inherit; text-decoration: none; }
.pm ul { margin: 0; padding: 0; list-style: none; }

.pm-wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- ปุ่ม ---------- */
.pm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	font-family: 'Prompt', sans-serif; font-weight: 500; font-size: 16px;
	padding: 14px 26px; border-radius: 100px; border: 1px solid transparent;
	cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
	white-space: nowrap; line-height: 1;
}
.pm-btn:hover { transform: translateY(-2px); }
.pm-btn svg { width: 19px; height: 19px; flex: none; }

.pm-btn--gold {
	background: linear-gradient(135deg, var(--gold-2), var(--gold));
	color: #23180A; box-shadow: 0 4px 14px rgba(188,143,60,.34);
}
.pm-btn--gold:hover { box-shadow: 0 8px 24px rgba(188,143,60,.44); }

.pm-btn--line { background: #06C755; color: #fff; box-shadow: 0 4px 14px rgba(6,199,85,.30); }
.pm-btn--line:hover { box-shadow: 0 8px 24px rgba(6,199,85,.40); }

.pm-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.pm-btn--ghost:hover { background: var(--paper); border-color: rgba(14,36,54,.2); }

.pm-btn--ghost-light { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.28); }
.pm-btn--ghost-light:hover { background: rgba(255,255,255,.18); }

.pm-btn--block { width: 100%; }

/* =====================================================================
   HEADER
   ===================================================================== */
.pm-head {
	position: sticky; top: 0; z-index: 60;
	background: rgba(251,248,243,.86);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid var(--line-2);
}
body.admin-bar .pm-head { top: 32px; }
.pm-head__in { display: flex; align-items: center; gap: 18px; height: 72px; }

.pm-logo { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.pm-logo__mark {
	width: 38px; height: 38px; border-radius: 11px; flex: none;
	background: linear-gradient(140deg, var(--ink-3), var(--ink));
	display: grid; place-items: center; color: var(--gold-2);
}
.pm-logo__mark svg { width: 21px; height: 21px; }
.pm-logo__txt { display: flex; flex-direction: column; line-height: 1.18; }
.pm-logo__txt b { font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 16px; }
.pm-logo__txt span { font-size: 12px; color: var(--muted); letter-spacing: .04em; }

.pm-nav { display: flex; gap: 26px; font-size: 15px; }
.pm-nav a { color: var(--muted); transition: color .16s; font-weight: 500; }
.pm-nav a:hover { color: var(--ink); }

.pm-head .pm-btn { padding: 11px 20px; font-size: 15px; }

@media (max-width: 940px) { .pm-nav { display: none; } }
@media (max-width: 560px) {
	.pm-head__in { height: 64px; }
	.pm-logo__txt span { display: none; }
	.pm-head .pm-btn span { display: none; }
	.pm-head .pm-btn { padding: 11px 15px; }
}

/* =====================================================================
   HERO
   ===================================================================== */
.pm-hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.pm-hero__bg {
	position: absolute; inset: -8%;
	background-size: cover; background-position: center;
	filter: blur(26px) saturate(115%); transform: scale(1.12); opacity: .38;
}
.pm-hero__veil {
	position: absolute; inset: 0;
	background:
		radial-gradient(1100px 620px at 78% 18%, rgba(188,143,60,.26), transparent 62%),
		linear-gradient(180deg, rgba(14,36,54,.86) 0%, rgba(14,36,54,.90) 45%, rgba(14,36,54,.97) 100%);
}
/* ตั้งเฉพาะแนวตั้ง — ถ้าใช้ padding ย่อจะไปล้างระยะขอบข้างของ .pm-wrap */
.pm-hero__in {
	position: relative; display: grid; grid-template-columns: 1.06fr .94fr;
	gap: 54px; align-items: center; padding-top: 76px; padding-bottom: 84px;
}

.pm-eyebrow {
	display: inline-flex; align-items: center; gap: 9px;
	font-family: 'Prompt', sans-serif; font-size: 13.5px; font-weight: 500;
	letter-spacing: .10em; text-transform: uppercase;
	color: var(--gold-2); margin-bottom: 20px;
}
.pm-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--gold); }

.pm-hero h1 {
	font-size: clamp(33px, 4.5vw, 55px); font-weight: 600; color: #fff;
	letter-spacing: -.022em; line-height: 1.22;
}
.pm-hero h1 em { font-style: normal; color: var(--gold-2); }
.pm-hero__sub {
	margin-top: 20px; font-size: 18px; line-height: 1.8;
	color: rgba(255,255,255,.80); max-width: 33em;
}
.pm-hero__cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }

.pm-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.pm-trust li {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 14.5px; color: rgba(255,255,255,.88);
	background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
	padding: 9px 16px; border-radius: 100px;
}
.pm-trust svg { width: 16px; height: 16px; color: var(--gold-2); flex: none; }

/* ราคา + สเปกย่อ ใน hero */
.pm-heroprice {
	display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px;
	margin-top: 28px; padding: 20px 24px; border-radius: var(--r);
	background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
}
.pm-heroprice__box { display: flex; flex-direction: column; }
.pm-heroprice__lab { font-size: 13px; color: rgba(255,255,255,.62); letter-spacing: .04em; }
.pm-heroprice__val {
	font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 34px;
	color: var(--gold-2); line-height: 1.2; letter-spacing: -.02em;
}
.pm-heroprice__val small { font-size: 17px; font-weight: 400; color: rgba(255,255,255,.72); }
.pm-heroprice__val--ask { font-size: 25px; }
.pm-heroprice__note {
	display: inline-flex; align-items: center; gap: 6px; margin-top: 5px;
	font-size: 13.5px; color: #6FD6A6; font-weight: 600;
}
.pm-heroprice__note svg { width: 15px; height: 15px; }

.pm-herospecs { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.pm-herospecs li { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; color: rgba(255,255,255,.88); }
.pm-herospecs svg { width: 18px; height: 18px; color: var(--gold-2); flex: none; }
.pm-herospecs b { font-family: 'Prompt', sans-serif; font-weight: 500; }

/* รูปเด่นใน hero */
.pm-hero__shot figure { position: relative; margin: 0; }
.pm-hero__shot img {
	width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover;
	border-radius: var(--r); box-shadow: var(--shadow-lg);
	border: 5px solid rgba(255,255,255,.92);
}
.pm-hero__tag {
	position: absolute; z-index: 4; bottom: 16px; left: 16px;
	background: linear-gradient(135deg, var(--gold-2), var(--gold));
	color: #23180A; font-family: 'Prompt', sans-serif; font-size: 13px; font-weight: 600;
	padding: 7px 15px; border-radius: 100px; box-shadow: 0 3px 12px rgba(0,0,0,.28);
}

@media (max-width: 980px) {
	.pm-hero__in { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 64px; }
	.pm-hero__shot { max-width: 460px; }
	.pm-hero__shot img { aspect-ratio: 4 / 3.2; }
}
@media (max-width: 560px) {
	.pm-hero__in { padding-top: 44px; padding-bottom: 52px; }
	.pm-hero__sub { font-size: 16.5px; }
	.pm-hero__cta .pm-btn { flex: 1 1 100%; }
	.pm-heroprice { padding: 18px 20px; gap: 12px 18px; }
	.pm-heroprice__val { font-size: 30px; }
}

/* =====================================================================
   SECTION พื้นฐาน
   ===================================================================== */
.pm-sec { padding: 86px 0; }
.pm-sec--paper { background: var(--paper); }
.pm-sec--ink { background: var(--ink); color: #fff; }
.pm-sec--ink h2, .pm-sec--ink h3 { color: #fff; }

.pm-sechead { max-width: 660px; margin-bottom: 46px; }
.pm-sechead--center { margin-left: auto; margin-right: auto; text-align: center; }
.pm-sechead h2 { font-size: clamp(27px, 3.3vw, 39px); letter-spacing: -.02em; }
.pm-sechead p { margin-top: 14px; font-size: 17px; color: var(--muted); line-height: 1.8; }
.pm-sec--ink .pm-sechead p { color: rgba(255,255,255,.72); }

@media (max-width: 700px) { .pm-sec { padding: 60px 0; } .pm-sechead { margin-bottom: 34px; } }

/* =====================================================================
   แกลเลอรีรูปบ้าน (เต็มความกว้าง — หน้านี้มีบ้านหลังเดียว)
   ===================================================================== */
.pm-galwrap {
	border-radius: 24px; overflow: hidden; background: #0B1B28;
	box-shadow: var(--shadow); min-width: 0;
}
.pm-gal__stage {
	position: relative; aspect-ratio: 16 / 10; overflow: hidden;
	cursor: zoom-in; background: #0B1B28;
}
.pm-gal__stage img {
	width: 100%; height: 100%; object-fit: cover; transition: opacity .28s ease;
}
.pm-gal__badge {
	position: absolute; top: 18px; left: 18px; z-index: 3;
	background: linear-gradient(135deg, var(--gold-2), var(--gold));
	color: #23180A; font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 13.5px;
	padding: 8px 17px; border-radius: 100px; box-shadow: 0 3px 12px rgba(0,0,0,.24);
}
.pm-gal__count {
	position: absolute; bottom: 18px; right: 18px; z-index: 3;
	background: rgba(11,27,40,.80); backdrop-filter: blur(8px); color: #fff;
	font-size: 13px; padding: 8px 15px; border-radius: 100px;
	display: inline-flex; align-items: center; gap: 7px; pointer-events: none;
}
.pm-gal__count svg { width: 15px; height: 15px; }
.pm-gal__cap {
	position: absolute; bottom: 18px; left: 18px; z-index: 3; max-width: 55%;
	background: rgba(11,27,40,.80); backdrop-filter: blur(8px); color: rgba(255,255,255,.92);
	font-size: 13px; padding: 8px 15px; border-radius: 100px;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap; pointer-events: none;
}

.pm-gal__arrow {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
	width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
	background: rgba(255,255,255,.92); color: var(--ink);
	display: grid; place-items: center; box-shadow: 0 3px 14px rgba(0,0,0,.22);
	transition: background .16s, transform .16s;
}
.pm-gal__arrow:hover { background: #fff; transform: translateY(-50%) scale(1.07); }
.pm-gal__arrow--prev { left: 18px; }
.pm-gal__arrow--next { right: 18px; }
.pm-gal__arrow svg { width: 21px; height: 21px; }

.pm-gal__thumbs {
	display: flex; gap: 9px; padding: 12px; background: #0B1B28;
	overflow-x: auto; scrollbar-width: thin; min-width: 0;
}
.pm-gal__thumbs::-webkit-scrollbar { height: 6px; }
.pm-gal__thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,.26); border-radius: 4px; }
.pm-gal__thumb {
	flex: none; width: 92px; aspect-ratio: 1; border-radius: 10px; overflow: hidden;
	border: 2px solid transparent; cursor: pointer; opacity: .55;
	transition: opacity .16s, border-color .16s; padding: 0; background: none;
}
.pm-gal__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pm-gal__thumb:hover { opacity: .85; }
.pm-gal__thumb.is-on { opacity: 1; border-color: var(--gold-2); }

@media (max-width: 700px) {
	.pm-gal__stage { aspect-ratio: 4 / 3; }
	.pm-gal__arrow { width: 38px; height: 38px; }
	.pm-gal__arrow--prev { left: 10px; }
	.pm-gal__arrow--next { right: 10px; }
	.pm-gal__cap { display: none; }
	.pm-gal__thumb { width: 72px; }
}

/* =====================================================================
   รายละเอียด + จุดเด่น
   ===================================================================== */
.pm-detail { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: start; }
.pm-detail > * { min-width: 0; }
.pm-detail h3 {
	font-size: 20px; margin-bottom: 20px; padding-bottom: 12px;
	border-bottom: 2px solid var(--gold-soft); display: inline-block;
}

.pm-hl li {
	position: relative; padding-left: 32px; margin-bottom: 13px;
	font-size: 16.5px; line-height: 1.72; color: #35516A;
}
.pm-hl li:last-child { margin-bottom: 0; }
.pm-hl li::before {
	content: ''; position: absolute; left: 0; top: 8px;
	width: 20px; height: 20px; border-radius: 50%;
	background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23996F22' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}

.pm-detail__cta { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }

.pm-spectable { width: 100%; border-collapse: collapse; }
.pm-spectable th, .pm-spectable td {
	padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line-2); font-size: 16px;
}
.pm-spectable tr:first-child th, .pm-spectable tr:first-child td { border-top: 1px solid var(--line-2); }
.pm-spectable th { width: 38%; color: var(--muted); font-weight: 600; background: var(--cream); }
.pm-spectable td { color: var(--ink); }
.pm-spectable__price {
	font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 20px; color: var(--gold);
}

@media (max-width: 900px) { .pm-detail { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) {
	.pm-detail__cta .pm-btn { flex: 1 1 100%; }
	.pm-spectable th, .pm-spectable td { padding: 13px 14px; font-size: 15.5px; }
}

/* =====================================================================
   อีกหลังที่น่าสนใจ
   ===================================================================== */
.pm-others { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 460px)); gap: 24px; justify-content: center; }
.pm-other {
	display: flex; flex-direction: column; background: var(--paper);
	border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden;
	box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.pm-other:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pm-other__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.pm-other__img img { width: 100%; height: 100%; object-fit: cover; }
.pm-other__badge {
	position: absolute; top: 14px; left: 14px;
	background: linear-gradient(135deg, var(--gold-2), var(--gold));
	color: #23180A; font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 12.5px;
	padding: 6px 14px; border-radius: 100px;
}
.pm-other__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.pm-other__zone {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 14px; color: var(--gold); font-weight: 600; margin-bottom: 8px;
}
.pm-other__zone svg { width: 15px; height: 15px; }
.pm-other h3 { font-size: 20px; }
.pm-other__meta { margin-top: 8px; font-size: 15px; color: var(--muted); }
.pm-other__foot {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-2);
}
.pm-other__price { font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 21px; color: var(--ink); }
.pm-other__go {
	display: inline-flex; align-items: center; gap: 7px;
	font-family: 'Prompt', sans-serif; font-weight: 500; font-size: 15px; color: var(--gold);
}
.pm-other__go svg { width: 17px; height: 17px; transition: transform .18s ease; }
.pm-other:hover .pm-other__go svg { transform: translateX(4px); }

@media (max-width: 560px) { .pm-others { grid-template-columns: 1fr; } }

/* =====================================================================
   เครื่องคำนวณค่างวด
   ===================================================================== */
.pm-calc { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }

.pm-calc__form {
	background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.13);
	border-radius: var(--r); padding: 30px;
}
.pm-f { margin-bottom: 22px; }
.pm-f:last-child { margin-bottom: 0; }
.pm-f__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 9px; }
.pm-f label { font-size: 15px; color: rgba(255,255,255,.80); font-weight: 500; }
.pm-f output {
	font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 17px; color: var(--gold-2);
}
.pm-f select, .pm-f input[type="number"] {
	width: 100%; padding: 12px 14px; border-radius: 10px; font-size: 16px;
	font-family: 'Sarabun', sans-serif; color: #fff;
	background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
}
.pm-f select option { color: #0E2436; }

.pm-f input[type="range"] {
	-webkit-appearance: none; appearance: none; width: 100%; height: 5px;
	background: rgba(255,255,255,.20); border-radius: 4px; outline: none; margin: 6px 0 0;
}
.pm-f input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none; appearance: none; width: 22px; height: 22px;
	border-radius: 50%; cursor: pointer;
	background: linear-gradient(135deg, var(--gold-2), var(--gold));
	box-shadow: 0 2px 8px rgba(0,0,0,.35); border: 2px solid rgba(255,255,255,.85);
}
.pm-f input[type="range"]::-moz-range-thumb {
	width: 22px; height: 22px; border-radius: 50%; cursor: pointer; border: 2px solid rgba(255,255,255,.85);
	background: linear-gradient(135deg, var(--gold-2), var(--gold));
}
.pm-f__hint { font-size: 13px; color: rgba(255,255,255,.50); margin-top: 7px; }

.pm-calc__out {
	background: linear-gradient(150deg, rgba(188,143,60,.20), rgba(255,255,255,.05));
	border: 1px solid rgba(222,182,95,.34); border-radius: var(--r); padding: 32px;
}
.pm-res__lab { font-size: 15px; color: rgba(255,255,255,.72); }
.pm-res__big {
	font-family: 'Prompt', sans-serif; font-weight: 600;
	font-size: clamp(38px, 5.6vw, 54px); color: var(--gold-2);
	line-height: 1.15; letter-spacing: -.025em; margin: 5px 0 3px;
}
.pm-res__big small { font-size: 21px; color: rgba(255,255,255,.72); font-weight: 400; }
.pm-res__rows { margin-top: 26px; border-top: 1px solid rgba(255,255,255,.15); }
.pm-res__row {
	display: flex; justify-content: space-between; gap: 14px;
	padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.09); font-size: 15.5px;
}
.pm-res__row span { color: rgba(255,255,255,.72); }
.pm-res__row b { font-family: 'Prompt', sans-serif; font-weight: 500; color: #fff; }
.pm-res__note {
	margin-top: 20px; padding: 14px 16px; border-radius: 10px;
	background: rgba(255,255,255,.06); font-size: 13.5px; line-height: 1.7;
	color: rgba(255,255,255,.62);
}
.pm-calc__out .pm-btn { margin-top: 20px; }

@media (max-width: 900px) { .pm-calc { grid-template-columns: 1fr; gap: 22px; } }
@media (max-width: 560px) { .pm-calc__form, .pm-calc__out { padding: 24px 20px; } }

/* =====================================================================
   ขั้นตอน
   ===================================================================== */
.pm-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pm-step {
	background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r);
	padding: 28px 24px; box-shadow: var(--shadow-sm); position: relative;
}
.pm-step__n {
	font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 14px;
	width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
	background: var(--ink); color: var(--gold-2); margin-bottom: 16px;
}
.pm-step h3 { font-size: 18px; margin-bottom: 8px; }
.pm-step p { font-size: 15.5px; color: var(--muted); line-height: 1.72; }

@media (max-width: 940px) { .pm-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pm-steps { grid-template-columns: 1fr; } }

/* =====================================================================
   จุดเด่นบริการ
   ===================================================================== */
.pm-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pm-feat {
	background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
	border-radius: var(--r); padding: 30px 26px;
}
.pm-feat__ic {
	width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
	background: rgba(222,182,95,.16); color: var(--gold-2); margin-bottom: 17px;
}
.pm-feat__ic svg { width: 23px; height: 23px; }
.pm-feat h3 { font-size: 18.5px; margin-bottom: 9px; }
.pm-feat p { font-size: 15.5px; color: rgba(255,255,255,.70); line-height: 1.75; }

@media (max-width: 880px) { .pm-feats { grid-template-columns: 1fr; } }

/* =====================================================================
   FAQ
   ===================================================================== */
.pm-faq { max-width: 820px; margin: 0 auto; }
.pm-faq__item {
	background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-sm);
	margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow-sm);
}
.pm-faq__q {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
	padding: 20px 24px; background: none; border: none; cursor: pointer; text-align: left;
	font-family: 'Prompt', sans-serif; font-weight: 500; font-size: 17px; color: var(--ink);
	line-height: 1.5;
}
.pm-faq__q svg { width: 20px; height: 20px; flex: none; color: var(--gold); transition: transform .24s ease; }
.pm-faq__item.is-open .pm-faq__q svg { transform: rotate(45deg); }
.pm-faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.pm-faq__a > div { padding: 0 24px 22px; color: var(--muted); font-size: 16px; line-height: 1.82; }

/* =====================================================================
   ปิดท้าย + ฟุตเตอร์
   ===================================================================== */
.pm-final { text-align: center; }
.pm-final h2 { font-size: clamp(28px, 3.6vw, 42px); }
.pm-final p { margin: 16px auto 0; max-width: 40em; color: rgba(255,255,255,.75); font-size: 17.5px; }
.pm-final__cta { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; margin-top: 34px; }
.pm-final__phone {
	margin-top: 26px; font-family: 'Prompt', sans-serif; font-size: 15px;
	color: rgba(255,255,255,.62);
}
.pm-final__phone b { color: var(--gold-2); font-size: 24px; letter-spacing: .01em; }

.pm-foot { background: #0A1B28; color: rgba(255,255,255,.56); padding: 40px 0; font-size: 14.5px; }
.pm-foot__in { display: flex; flex-wrap: wrap; gap: 18px 30px; align-items: center; justify-content: space-between; }
.pm-foot a { color: rgba(255,255,255,.78); }
.pm-foot a:hover { color: var(--gold-2); }
.pm-foot__dis { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.10); font-size: 13px; line-height: 1.75; color: rgba(255,255,255,.40); }

/* =====================================================================
   แถบ CTA มือถือ
   ===================================================================== */
.pm-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none;
	gap: 10px; padding: 11px 14px calc(11px + env(safe-area-inset-bottom));
	background: rgba(251,248,243,.95); backdrop-filter: blur(14px);
	border-top: 1px solid var(--line);
}
/* แถบนี้กันที่ไว้ให้ตัวเองด้วย padding-bottom ของ .pm
   ปุ่มใหญ่ขึ้นได้โดยไม่บังเนื้อหา ขอแค่ตัวเลขสองที่นี้ตรงกัน */
.pm-bar .pm-btn { flex: 1; padding: 17px 12px; font-size: 16.5px; }
.pm-bar .pm-btn svg { width: 21px; height: 21px; }
@media (max-width: 780px) { .pm-bar { display: flex; } .pm { padding-bottom: 88px; } }

/* =====================================================================
   ปุ่มลอยติดหน้าจอ — โทร / ไลน์ (ตามไปทุกหน้า)
   จอเล็กใช้ .pm-bar แทน จะได้ไม่มีปุ่มติดต่อซ้อนกันสองชุด
   ===================================================================== */
/* ขนาดปุ่มอิงจาก "ช่องว่างข้างเนื้อหา" ที่วัดได้จริง
   เนื้อหากว้างสุด 1180px จัดกลาง → ช่องว่างข้างละ (จอ − 1180) ÷ 2
   ปุ่มจะใหญ่ได้เท่าที่ยังอยู่ในช่องว่างนั้น ถึงจะไม่ไปทับเนื้อหา
   จอที่ไม่มีช่องว่างเหลือ ให้ย่อเป็นปุ่มกลม เบียดน้อยที่สุด */
.pm-fab {
	position: fixed; right: 16px; z-index: 90;
	/* --pm-fab-lift ถูกตั้งจาก JS เมื่อมีแถบคุกกี้อยู่ด้านล่าง */
	bottom: calc(20px + var(--pm-fab-lift, 0px));
	display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
	transition: bottom .3s ease;
}
/* ซ่อนตอนอยู่หัวหน้าเว็บ แล้วให้ JS เปิดตอนเลื่อนลง —
   ทำเฉพาะเมื่อ JS ทำงานจริง ถ้าสคริปต์ล่มปุ่มต้องยังอยู่ */
.pm-js .pm-fab {
	opacity: 0; visibility: hidden; transform: translateY(16px) scale(.94);
	transition: opacity .3s ease, transform .3s ease, visibility .3s, bottom .3s ease;
}
.pm-js .pm-fab.is-on { opacity: 1; visibility: visible; transform: none; }

.pm-fab__btn {
	display: flex; align-items: center; justify-content: center;
	width: 60px; height: 60px; padding: 0; border-radius: 999px;
	position: relative;
	font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 17px;
	text-decoration: none; white-space: nowrap;
	transition: transform .18s ease, box-shadow .18s ease;
}
/* ค่าตั้งต้น = ปุ่มกลม ซ่อนข้อความ (ใช้กับจอที่ช่องว่างข้างไม่พอ) */
.pm-fab__tx {
	position: absolute; width: 1px; height: 1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.pm-fab__btn:hover { transform: translateY(-2px); }
.pm-fab__btn:focus-visible { outline: 3px solid var(--ink-3); outline-offset: 3px; }
.pm-fab__ic { display: grid; place-items: center; flex: none; }
.pm-fab__ic svg { width: 26px; height: 26px; }

.pm-fab__btn--line {
	background: #06C755; color: #fff;
	box-shadow: 0 6px 20px rgba(6,199,85,.34), 0 2px 6px rgba(14,36,54,.14);
}
.pm-fab__btn--line:hover { box-shadow: 0 12px 30px rgba(6,199,85,.44), 0 2px 6px rgba(14,36,54,.14); }

.pm-fab__btn--tel {
	background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #23180A;
	box-shadow: 0 6px 20px rgba(188,143,60,.38), 0 2px 6px rgba(14,36,54,.14);
}
.pm-fab__btn--tel:hover { box-shadow: 0 12px 30px rgba(188,143,60,.48), 0 2px 6px rgba(14,36,54,.14); }

/* ── จอที่ไม่มีช่องว่างข้างเหลือเลย: ชิดขอบให้มากขึ้น
      ปุ่มใหญ่ขึ้นกว่าเดิมได้ โดยเบียดเนื้อหาเท่าเดิม ไม่มากกว่าเดิม ── */
@media (max-width: 1180px) {
	.pm-fab { right: 12px; }
}

/* ── ช่องว่างข้าง ≥ 86px (จอ ≥ 1352px): ขยายปุ่มกลมได้ ไม่ทับเนื้อหา ── */
@media (min-width: 1360px) {
	.pm-fab { right: 22px; bottom: calc(24px + var(--pm-fab-lift, 0px)); }
	.pm-fab__btn { width: 66px; height: 66px; }
	.pm-fab__ic svg { width: 28px; height: 28px; }
}

/* ── ช่องว่างข้าง ≥ 170px (จอ ≥ 1520px): กว้างพอใส่ข้อความเต็ม ── */
@media (min-width: 1520px) {
	.pm-fab { right: 26px; }
	.pm-fab__btn {
		width: auto; height: 66px; padding: 0 28px 0 22px;
		justify-content: flex-start; gap: 11px;
	}
	.pm-fab__tx {
		position: static; width: auto; height: auto;
		overflow: visible; clip: auto;
	}
}

/* จอมือถือ: แถบ .pm-bar ทำหน้าที่นี้อยู่แล้ว */
@media (max-width: 780px) { .pm-fab { display: none; } }

@media (prefers-reduced-motion: reduce) {
	.pm-js .pm-fab { transition: opacity .2s ease, visibility .2s; transform: none; }
	.pm-fab__btn:hover { transform: none; }
}

/* =====================================================================
   สถานะ "ขายแล้ว"
   เก็บหน้าไว้ไม่ลบ เพราะยังมีคนค้นชื่อโครงการ และเป็นหลักฐานว่าขายได้จริง
   แต่ต้องบอกให้ชัดตั้งแต่แรกเห็น จะได้ไม่เสียเวลาทั้งคนดูและคนขาย
   ===================================================================== */
.pm-card--sold .pm-card__media img { filter: grayscale(.72) brightness(.9); }
.pm-card--sold .pm-card__media::after {
	content: ''; position: absolute; inset: 0; background: rgba(14,36,54,.18);
}
/* ตราประทับ SOLD OUT กลางรูป — ต้องอ่านออกตั้งแต่ยังไม่ทันเลื่อน */
.pm-card__stamp {
	position: absolute; top: 50%; left: 50%;
	transform: translate(-50%, -50%) rotate(-7deg);
	z-index: 2; pointer-events: none;
	font-family: 'Prompt', sans-serif; font-weight: 700;
	font-size: clamp(26px, 8.4vw, 44px); line-height: 1;
	letter-spacing: .06em; white-space: nowrap;
	color: #E4342B;
	padding: .28em .52em;
	border: .1em solid #E4342B;
	border-radius: 10px;
	background: rgba(255,255,255,.90);
	box-shadow: 0 6px 22px rgba(14,36,54,.28);
}
.pm-card--sold .pm-card__price s { color: var(--muted); text-decoration-thickness: 2px; }
.pm-card--sold .pm-card__price s small { font-weight: 500; }
.pm-card__soldnote {
	display: block; margin-top: 3px; font-style: normal;
	font-size: 13.5px; font-weight: 600; color: var(--ink-3);
}
.pm-card--sold h3 a { color: var(--muted); }

/* แถบแจ้งบนหน้ารายละเอียด */
.pm-soldbar { background: var(--ink); color: #fff; }
.pm-soldbar__in {
	display: flex; align-items: center; justify-content: space-between;
	gap: 18px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px;
}
.pm-soldbar__txt b {
	display: flex; align-items: center; gap: 8px;
	font-family: 'Prompt', sans-serif; font-size: 17px; color: #fff;
}
.pm-soldbar__txt b svg { width: 19px; height: 19px; color: var(--gold-2); flex: none; }
.pm-soldbar__txt span {
	display: block; margin-top: 3px; font-size: 14.5px;
	line-height: 1.7; color: rgba(255,255,255,.78);
}
.pm-soldbar .pm-btn { flex: none; }

/* ราคาบนหน้ารายละเอียดตอนขายแล้ว */
.pm-heroprice__val--sold s { text-decoration-thickness: 2px; opacity: .82; }

@media (max-width: 700px) {
	.pm-soldbar__in { gap: 12px; }
	.pm-soldbar .pm-btn { width: 100%; justify-content: center; }
}

/* =====================================================================
   LIGHTBOX
   ===================================================================== */
.pm-lb {
	position: fixed; inset: 0; z-index: 200; display: none;
	background: rgba(8,17,25,.96); backdrop-filter: blur(6px);
	align-items: center; justify-content: center; padding: 60px 20px;
}
.pm-lb.is-open { display: flex; }
.pm-lb img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.pm-lb__x, .pm-lb__nav {
	position: absolute; border: none; cursor: pointer; color: #fff;
	background: rgba(255,255,255,.12); border-radius: 50%;
	width: 46px; height: 46px; display: grid; place-items: center; transition: background .16s;
}
.pm-lb__x:hover, .pm-lb__nav:hover { background: rgba(255,255,255,.25); }
.pm-lb__x { top: 18px; right: 18px; }
.pm-lb__nav { top: 50%; transform: translateY(-50%); }
.pm-lb__nav--prev { left: 18px; }
.pm-lb__nav--next { right: 18px; }
.pm-lb__x svg, .pm-lb__nav svg { width: 22px; height: 22px; }
.pm-lb__cap {
	position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
	color: rgba(255,255,255,.72); font-size: 14px; text-align: center;
	background: rgba(0,0,0,.4); padding: 7px 16px; border-radius: 100px; max-width: 88%;
}

/* =====================================================================
   REVEAL
   ===================================================================== */
/* สำคัญ: ซ่อนเพื่อทำอนิเมชันเฉพาะตอน JS ทำงานเท่านั้น
   ถ้า JS พัง/โหลดไม่ทัน เนื้อหาต้องยังเห็นครบ ห้ามหน้าว่าง */
.pm.pm-js .pm-rv { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.pm.pm-js .pm-rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.pm.pm-js .pm-rv { opacity: 1; transform: none; transition: none; }
	.pm-btn:hover { transform: none; }
}

/* =====================================================================
   เว็บไซต์ — ส่วนหัว/เมนู เพิ่มเติม
   ===================================================================== */
.pm-nav a.is-on { color: var(--ink); font-weight: 600; }
.pm-nav a.is-on::after {
	content: ''; display: block; height: 2px; margin-top: 4px;
	background: linear-gradient(90deg, var(--gold-2), var(--gold)); border-radius: 2px;
}
.pm-head__cta { display: flex; align-items: center; gap: 9px; }
.pm-head__cta .pm-btn { padding: 11px 20px; font-size: 15px; }
.pm-head__line { display: none; }

.pm-burger {
	display: none; width: 42px; height: 42px; border-radius: 11px; cursor: pointer;
	background: var(--paper); border: 1px solid var(--line);
	padding: 0; place-items: center; gap: 4px;
}
.pm-burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.pm-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.pm-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.pm-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.pm-mobnav {
	display: flex; flex-direction: column; gap: 2px;
	padding: 10px 22px 18px; border-top: 1px solid var(--line-2);
	background: rgba(251,248,243,.98);
}
.pm-mobnav a {
	padding: 13px 4px; font-family: 'Prompt', sans-serif; font-weight: 500; font-size: 16.5px;
	border-bottom: 1px solid var(--line-2);
}
.pm-mobnav a:last-child { border-bottom: none; }

@media (max-width: 940px) {
	.pm-burger { display: grid; }
	.pm-head__line { display: inline-flex; }
	.pm-head__line span { display: none; }
	.pm-head__line { padding: 11px 15px; }
}
@media (min-width: 941px) { .pm-mobnav { display: none !important; } }
@media (max-width: 560px) {
	.pm-head__cta .pm-btn span { display: none; }
	.pm-head__cta .pm-btn { padding: 11px 15px; }
}

/* =====================================================================
   HERO หน้าแรก + ช่องค้นหา
   ===================================================================== */
.pm-hero__in--home { grid-template-columns: 1.12fr .88fr; }
.pm-hero--home h1 { font-size: clamp(35px, 5vw, 60px); }

.pm-search {
	display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end;
	margin-top: 28px; padding: 18px; border-radius: var(--r);
	background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.17);
	backdrop-filter: blur(6px);
}
.pm-search__f { flex: 1 1 170px; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.pm-search__f label { font-size: 13px; color: rgba(255,255,255,.72); letter-spacing: .03em; }
.pm-search__f select {
	width: 100%; padding: 12px 13px; border-radius: 10px; font-size: 15.5px;
	font-family: 'Sarabun', sans-serif; color: #fff;
	background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.20);
}
.pm-search__f select option { color: #0E2436; }
.pm-search .pm-btn { flex: 0 0 auto; padding: 13px 24px; }

@media (max-width: 560px) {
	.pm-search { padding: 15px; gap: 10px; }
	.pm-search .pm-btn { flex: 1 1 100%; }
}

/* =====================================================================
   แถบตัวเลข
   ===================================================================== */
.pm-stats { background: var(--paper); border-bottom: 1px solid var(--line-2); }
.pm-stats__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-2); }
.pm-stat { background: var(--paper); padding: 26px 18px; text-align: center; }
.pm-stat b {
	display: block; font-family: 'Prompt', sans-serif; font-weight: 600;
	font-size: 23px; color: var(--gold); letter-spacing: -.01em;
}
.pm-stat span { display: block; margin-top: 5px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
@media (max-width: 760px) { .pm-stats__in { grid-template-columns: repeat(2, 1fr); } }

/* =====================================================================
   หัวข้อแบบมีปุ่มขวา
   ===================================================================== */
.pm-sechead--row {
	display: flex; align-items: flex-end; justify-content: space-between;
	gap: 24px; max-width: none;
}
.pm-sechead--row > div { max-width: 660px; }
@media (max-width: 700px) {
	.pm-sechead--row { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* =====================================================================
   การ์ดบ้าน
   ===================================================================== */
/* auto-fit + เพดาน 420px: มีบ้าน 2 หลังก็ไม่เหลือช่องว่างครึ่งจอ
   และการ์ดไม่ยืดจนหน้าตาเพี้ยนเวลามีหลังเดียว */
.pm-cards {
	display: grid; gap: 26px; justify-content: center;
	grid-template-columns: repeat(auto-fit, minmax(320px, 420px));
}
.pm-cards > * { min-width: 0; }

.pm-card {
	display: flex; flex-direction: column; background: var(--paper);
	border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden;
	box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.pm-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pm-card[hidden] { display: none; }

.pm-card__media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #0B1B28; }
.pm-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pm-card:hover .pm-card__media img { transform: scale(1.05); }
.pm-card__badge {
	position: absolute; top: 14px; left: 14px;
	background: linear-gradient(135deg, var(--gold-2), var(--gold));
	color: #23180A; font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 12.5px;
	padding: 6px 14px; border-radius: 100px; box-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.pm-card__count {
	position: absolute; bottom: 12px; right: 12px;
	background: rgba(11,27,40,.80); backdrop-filter: blur(6px); color: #fff;
	font-size: 12.5px; padding: 6px 12px; border-radius: 100px;
	display: inline-flex; align-items: center; gap: 6px;
}
.pm-card__count svg { width: 14px; height: 14px; }

.pm-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.pm-card__zone {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 13.5px; color: var(--gold); font-weight: 600; margin-bottom: 8px;
}
.pm-card__zone svg { width: 15px; height: 15px; flex: none; }
.pm-card h3 { font-size: 19.5px; line-height: 1.4; }
.pm-card h3 a { transition: color .16s; }
.pm-card h3 a:hover { color: var(--gold); }
.pm-card__tag {
	margin-top: 8px; font-size: 15px; color: var(--muted); line-height: 1.65;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.pm-card__specs {
	display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 16px 0 0;
	padding: 14px 0 0; border-top: 1px solid var(--line-2);
}
.pm-card__specs li { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; color: #35516A; }
.pm-card__specs svg { width: 16px; height: 16px; color: var(--gold); flex: none; }

.pm-card__foot {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 12px; margin-top: auto; padding-top: 18px;
}
.pm-card__price {
	font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 22px;
	color: var(--ink); line-height: 1.25;
}
.pm-card__price small { font-size: 14px; font-weight: 400; color: var(--muted); }
.pm-card__price em {
	display: block; font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--green);
}
.pm-card__ask { font-size: 18px; color: var(--ink-3); }

.pm-btn--sm { padding: 10px 18px; font-size: 14.5px; }
.pm-btn--sm svg { width: 16px; height: 16px; }

@media (max-width: 420px) { .pm-cards { grid-template-columns: 1fr; } }

/* =====================================================================
   พื้นหลังโทนครีม + section ชิดบน
   ===================================================================== */
.pm-sec--cream { background: var(--cream-2); }
.pm-sec--top0 { padding-top: 34px; }

/* =====================================================================
   โมเมนต์วันรับโฉนด (ภาพประกอบ)
   ===================================================================== */
.pm-moments { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.pm-moment {
	margin: 0; border-radius: var(--r-sm); overflow: hidden;
	box-shadow: var(--shadow-sm); background: var(--paper); cursor: zoom-in;
}
.pm-moment img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s ease; }
.pm-moment:hover img { transform: scale(1.04); }

.pm-moments__note {
	display: flex; align-items: flex-start; gap: 9px; justify-content: center;
	margin-top: 22px; font-size: 14px; color: var(--muted); text-align: center; line-height: 1.7;
}
.pm-moments__note svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--gold); }

/* =====================================================================
   รีวิว / ยังไม่มีรีวิว
   ===================================================================== */
.pm-reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.pm-review {
	margin: 0; background: var(--paper); border: 1px solid var(--line-2);
	border-radius: var(--r); padding: 26px; box-shadow: var(--shadow-sm);
}
.pm-review img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-sm); margin-bottom: 16px; }
.pm-review blockquote { margin: 0; font-size: 16.5px; line-height: 1.8; color: #35516A; }
.pm-review blockquote::before { content: '“'; font-size: 34px; color: var(--gold-soft); line-height: 0; vertical-align: -8px; margin-right: 4px; }
.pm-review figcaption { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.pm-review figcaption b { font-family: 'Prompt', sans-serif; font-weight: 600; display: block; }
.pm-review figcaption span { font-size: 14px; color: var(--muted); }

.pm-noreview {
	max-width: 720px; margin: 0 auto; text-align: center;
	background: var(--paper); border: 1px dashed rgba(188,143,60,.45);
	border-radius: var(--r); padding: 40px 32px;
}
.pm-noreview__ic {
	width: 54px; height: 54px; border-radius: 16px; margin: 0 auto 18px;
	display: grid; place-items: center; background: var(--gold-soft); color: #8A6418;
}
.pm-noreview__ic svg { width: 26px; height: 26px; }
.pm-noreview h3 { font-size: 21px; margin-bottom: 12px; }
.pm-noreview p { color: var(--muted); font-size: 16px; line-height: 1.8; }
.pm-noreview__ask { margin-top: 14px; color: var(--ink) !important; font-weight: 600; }
.pm-noreview .pm-btn { margin-top: 22px; }

@media (max-width: 560px) { .pm-noreview { padding: 30px 20px; } }

/* =====================================================================
   ทำเลที่ดูแล
   ===================================================================== */
.pm-areas { display: flex; flex-wrap: wrap; gap: 11px; justify-content: center; }
.pm-areas li {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--cream); border: 1px solid var(--line);
	padding: 12px 20px; border-radius: 100px;
	font-family: 'Prompt', sans-serif; font-weight: 500; font-size: 15.5px;
}
.pm-areas svg { width: 16px; height: 16px; color: var(--gold); }

/* =====================================================================
   หัวหน้าเพจ (หน้ารวมประกาศ)
   ===================================================================== */
.pm-pagehead {
	background: linear-gradient(160deg, var(--ink), var(--ink-2));
	color: #fff; padding: 56px 0 46px;
}
body.admin-bar .pm-pagehead { padding-top: 56px; }
.pm-pagehead h1 { color: #fff; font-size: clamp(28px, 3.8vw, 44px); letter-spacing: -.02em; }
.pm-pagehead p { margin-top: 12px; color: rgba(255,255,255,.78); font-size: 17px; }
.pm-pagehead p b { color: var(--gold-2); }

/* =====================================================================
   ตัวกรอง
   ===================================================================== */
.pm-filter {
	display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end;
	background: var(--paper); border: 1px solid var(--line-2);
	border-radius: var(--r); padding: 18px 20px; margin-bottom: 28px;
	box-shadow: var(--shadow-sm);
}
.pm-filter__f { display: flex; flex-direction: column; gap: 7px; flex: 1 1 175px; min-width: 0; }
.pm-filter__f label { font-size: 13px; color: var(--muted); letter-spacing: .03em; }
.pm-filter__f select {
	width: 100%; padding: 11px 13px; border-radius: 10px; font-size: 15.5px;
	font-family: 'Sarabun', sans-serif; color: var(--ink);
	background: var(--cream); border: 1px solid var(--line);
}
.pm-filter__res {
	margin-left: auto; display: flex; align-items: center; gap: 14px;
	font-size: 15px; color: var(--muted); padding-bottom: 10px;
}
.pm-filter__res b { font-family: 'Prompt', sans-serif; font-size: 19px; color: var(--gold); }
.pm-filter__clear {
	background: none; border: none; cursor: pointer; padding: 0;
	font-family: 'Sarabun', sans-serif; font-size: 14.5px; color: var(--ink-3);
	text-decoration: underline; text-underline-offset: 3px;
}
@media (max-width: 700px) { .pm-filter__res { margin-left: 0; flex: 1 1 100%; padding-bottom: 0; } }

/* =====================================================================
   ไม่พบผลลัพธ์ / บอกโจทย์
   ===================================================================== */
.pm-empty { text-align: center; padding: 54px 24px; }
.pm-empty__ic {
	width: 58px; height: 58px; border-radius: 17px; margin: 0 auto 18px;
	display: grid; place-items: center; background: var(--cream-2); color: var(--muted);
}
.pm-empty__ic svg { width: 27px; height: 27px; }
.pm-empty h3 { font-size: 21px; margin-bottom: 10px; }
.pm-empty p { color: var(--muted); font-size: 16px; margin-bottom: 20px; }

.pm-wanted {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 20px; margin-top: 40px; padding: 30px 32px; border-radius: var(--r);
	background: linear-gradient(130deg, var(--ink), var(--ink-3)); color: #fff;
}
.pm-wanted h3 { color: #fff; font-size: 22px; }
.pm-wanted p { margin-top: 8px; color: rgba(255,255,255,.76); font-size: 16px; max-width: 46em; }
@media (max-width: 560px) { .pm-wanted { padding: 24px 20px; } .pm-wanted .pm-btn { width: 100%; } }

/* =====================================================================
   ฟุตเตอร์แบบเว็บไซต์
   ===================================================================== */
.pm-foot__grid {
	display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px;
	padding-bottom: 30px;
}
.pm-logo--foot { margin-bottom: 14px; }
.pm-logo--foot .pm-logo__txt b { color: #fff; }
.pm-logo--foot .pm-logo__txt span { color: rgba(255,255,255,.5); }
.pm-foot__about { font-size: 14.5px; line-height: 1.8; max-width: 34em; }
.pm-foot h4 {
	color: #fff; font-size: 16px; margin-bottom: 14px; font-family: 'Prompt', sans-serif; font-weight: 500;
}
.pm-foot__list li { margin-bottom: 10px; font-size: 14.5px; }
.pm-foot__list a { display: inline-flex; align-items: center; gap: 8px; }
.pm-foot__list svg { width: 15px; height: 15px; color: var(--gold-2); flex: none; }
@media (max-width: 780px) { .pm-foot__grid { grid-template-columns: 1fr; gap: 28px; } }

/* =====================================================================
   ย่อหน้าเปิดหน้ารายละเอียด (SEO)
   ===================================================================== */
.pm-sec--intro { padding: 46px 0 0; }
.pm-intro { max-width: 860px; }
.pm-intro > p {
	font-size: 17.5px; line-height: 1.9; color: #35516A;
}
.pm-intro > p strong { color: var(--ink); font-weight: 600; }
.pm-intro__alt {
	display: flex; align-items: flex-start; gap: 9px;
	margin-top: 16px !important; padding-top: 14px;
	border-top: 1px solid var(--line-2);
	font-size: 14.5px !important; color: var(--muted) !important; line-height: 1.7;
}
.pm-intro__alt svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--gold); }
.pm-sechead__kw { margin-top: 8px; font-size: 15px; color: var(--gold-2); font-weight: 600; }
@media (max-width: 700px) { .pm-sec--intro { padding-top: 34px; } .pm-intro > p { font-size: 16.5px; } }

/* =====================================================================
   แถบขอความยินยอมคุกกี้ (PDPA)
   ===================================================================== */
.pm-consent {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
	background: rgba(14,36,54,.97); backdrop-filter: saturate(180%) blur(12px);
	border-top: 2px solid var(--gold); color: #fff;
	box-shadow: 0 -8px 40px rgba(0,0,0,.28);
	padding: 20px 22px calc(20px + env(safe-area-inset-bottom));
	animation: pmSlideUp .35s ease both;
}
.pm-consent[hidden] { display: none; }
@keyframes pmSlideUp { from { transform: translateY(100%); } to { transform: none; } }

.pm-consent__in {
	max-width: var(--maxw); margin: 0 auto;
	display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
}
.pm-consent__txt { flex: 1 1 420px; min-width: 0; }
.pm-consent__txt h3 {
	display: flex; align-items: center; gap: 9px;
	color: #fff; font-size: 17px; margin-bottom: 7px;
}
.pm-consent__txt h3 svg { width: 19px; height: 19px; color: var(--gold-2); flex: none; }
.pm-consent__txt p { font-size: 14.5px; line-height: 1.75; color: rgba(255,255,255,.80); }
.pm-consent__txt a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }

.pm-consent__btns { display: flex; gap: 10px; flex-wrap: wrap; flex: 0 0 auto; }
.pm-consent .pm-btn--ghost {
	background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.28);
}
.pm-consent .pm-btn--ghost:hover { background: rgba(255,255,255,.20); }

/* บนมือถือ ต้องไม่ทับแถบโทรที่ติดขอบล่าง */
@media (max-width: 780px) {
	.pm-consent { bottom: 88px; padding: 16px 18px; }
	.pm-consent__in { gap: 14px; }
	.pm-consent__txt { flex: 1 1 100%; }
	.pm-consent__btns { width: 100%; }
	.pm-consent__btns .pm-btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 460px) {
	.pm-consent__btns .pm-btn { flex: 1 1 100%; }
}

/* =====================================================================
   หน้าต่างตั้งค่าคุกกี้
   ===================================================================== */
.pm-cset {
	position: fixed; inset: 0; z-index: 210; display: flex;
	align-items: center; justify-content: center; padding: 24px;
	background: rgba(8,17,25,.72); backdrop-filter: blur(4px);
}
.pm-cset[hidden] { display: none; }
.pm-cset__box {
	width: 100%; max-width: 560px; max-height: 88vh; overflow: auto;
	background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow-lg);
}
.pm-cset__head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 22px 24px; border-bottom: 1px solid var(--line-2);
}
.pm-cset__head h3 { font-size: 20px; }
.pm-cset__x {
	width: 36px; height: 36px; border-radius: 50%; border: none; cursor: pointer;
	background: var(--cream-2); color: var(--ink); display: grid; place-items: center;
}
.pm-cset__x:hover { background: var(--line); }
.pm-cset__x svg { width: 18px; height: 18px; }

.pm-cset__body { padding: 8px 24px; }
.pm-cset__row {
	display: flex; align-items: flex-start; gap: 14px; position: relative;
	padding: 18px 0; border-bottom: 1px solid var(--line-2); cursor: pointer;
}
.pm-cset__row:last-child { border-bottom: none; }
.pm-cset__row--locked { cursor: default; }
.pm-cset__info { flex: 1; min-width: 0; }
.pm-cset__info b { display: block; font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 16px; }
.pm-cset__info em {
	display: block; margin-top: 5px; font-style: normal;
	font-size: 14px; color: var(--muted); line-height: 1.65;
}
.pm-cset__always { font-size: 13.5px; color: var(--green); font-weight: 600; white-space: nowrap; padding-top: 3px; }

/* สวิตช์เปิด-ปิด */
.pm-cset__row input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }
.pm-cset__sw {
	flex: none; width: 48px; height: 28px; border-radius: 100px; margin-top: 2px;
	background: var(--line); position: relative; transition: background .2s ease;
}
.pm-cset__sw::after {
	content: ''; position: absolute; top: 3px; left: 3px;
	width: 22px; height: 22px; border-radius: 50%; background: #fff;
	box-shadow: 0 1px 4px rgba(0,0,0,.25); transition: transform .2s ease;
}
.pm-cset__row input:checked ~ .pm-cset__sw { background: linear-gradient(135deg, var(--gold-2), var(--gold)); }
.pm-cset__row input:checked ~ .pm-cset__sw::after { transform: translateX(20px); }
.pm-cset__row input:focus-visible ~ .pm-cset__sw { outline: 2px solid var(--ink-3); outline-offset: 3px; }

.pm-cset__foot {
	display: flex; gap: 10px; justify-content: flex-end;
	padding: 18px 24px; border-top: 1px solid var(--line-2); background: var(--cream);
	border-radius: 0 0 var(--r) var(--r); flex-wrap: wrap;
}
@media (max-width: 460px) { .pm-cset__foot .pm-btn { flex: 1 1 100%; justify-content: center; } }

/* =====================================================================
   ลิงก์กฎหมายในฟุตเตอร์
   ===================================================================== */
.pm-foot__legal {
	margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.10);
	display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14.5px;
}
.pm-foot__legal a { color: rgba(255,255,255,.78); text-decoration: underline; text-underline-offset: 3px; }
.pm-foot__legal a:hover { color: var(--gold-2); }
.pm-foot__cookiebtn {
	background: none; border: none; padding: 0; cursor: pointer;
	font-family: 'Sarabun', sans-serif; font-size: 14.5px;
	color: rgba(255,255,255,.78); text-decoration: underline; text-underline-offset: 3px;
}
.pm-foot__cookiebtn:hover { color: var(--gold-2); }
.pm-foot__dis { margin-top: 14px; }

/* =====================================================================
   หน้านโยบาย (ข้อความยาว)
   ===================================================================== */
.pm-legal { max-width: 820px; }
.pm-legal__lead {
	font-size: 17.5px; line-height: 1.9; color: #35516A;
	padding-bottom: 22px; border-bottom: 2px solid var(--gold-soft); margin-bottom: 8px;
}
.pm-legal h2 {
	font-size: 21px; margin: 34px 0 12px;
	padding-left: 14px; border-left: 4px solid var(--gold);
}
.pm-legal p { font-size: 16.5px; line-height: 1.9; color: #35516A; margin-bottom: 12px; }
.pm-legal ul { margin: 0 0 14px; padding-left: 4px; }
.pm-legal li {
	position: relative; padding-left: 22px; margin-bottom: 10px;
	font-size: 16.5px; line-height: 1.8; color: #35516A;
}
.pm-legal li::before {
	content: ''; position: absolute; left: 4px; top: 12px;
	width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.pm-legal a { color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
.pm-legal a:hover { color: var(--gold); }
.pm-legal table { margin: 6px 0 16px; }
.pm-legal em { font-style: normal; display: block; margin-top: 4px; font-size: 14.5px; color: var(--muted); }

.pm-legal__note {
	display: flex; gap: 11px; align-items: flex-start;
	background: var(--cream-2); border-left: 4px solid var(--gold);
	padding: 16px 18px; border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 18px 0;
}
.pm-legal__note svg { width: 19px; height: 19px; flex: none; margin-top: 4px; color: var(--gold); }
.pm-legal__cta { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line-2); }

@media (max-width: 700px) {
	.pm-legal__lead { font-size: 16.5px; }
	.pm-legal h2 { font-size: 19px; }
	.pm-legal p, .pm-legal li { font-size: 16px; }
}
