/* ขัดรอบ 3 · ระดับโปรดักชัน (2026-11-20) · โหลดท้ายสุดเฉพาะหน้าแรก (body.h3-page) · ไม่แตะหน้าอื่น
   1) หัวเว็บ: ปุ่มเดียวที่เด่น ที่เหลือเงียบ ความสูงเท่ากันทุกปุ่ม
   2) หัวข้อใหญ่ตัดบรรทัดตามวลี (.nw) ไม่ทิ้งคำเดียวไว้ท้ายบรรทัด
   3) การ์ดคลิปแนวนอน: ปกแนวตั้งวางขวาเต็มภาพ ไม่ครอปกลางภาพจนว่าง
   4) แพ็กเกจ: แถบตัวเลขรวมเป็นแผงเดียว · ลิสต์ไม่ยืดห่าง · ป้าย "คุ้มที่สุด" อยู่กลางบน
   5) FAQ: ไอคอน + ที่ขวา หมุนเป็น × ตอนเปิด · ท้ายเว็บแบบหลายคอลัมน์ */

/* ---------- ตัวอักษรและการตัดบรรทัด ---------- */
.h3-page .nw{white-space:nowrap}
.h3-page .h3 .h3-hero h1{max-width:17em;text-wrap:balance}
.h3-page .h3-h,.h3-page .h3-close h2{text-wrap:balance}
.h3-page .h3-sub,.h3-page .h3-lead,.h3-page .h3-close p,.h3-page .h3-bridge{text-wrap:pretty}
:is(.h3-page,.cp) :focus-visible{outline:2px solid var(--accent-text);outline-offset:3px;border-radius:12px}

/* ---------- หัวเว็บ ---------- */
:is(.h3-page,.cp) .site-head .wrap{height:68px}
:is(.h3-page,.cp) .brand{font-size:21px;letter-spacing:-.02em}
:is(.h3-page,.cp) .nav{gap:2px}
:is(.h3-page,.cp) .nav > a:not(.fb){position:relative;padding:8px 14px;font-size:15px;color:var(--muted);transition:color .2s}
:is(.h3-page,.cp) .nav > a:not(.fb):hover{color:var(--text)}
:is(.h3-page,.cp) .nav > a:not(.fb)::after{content:"";position:absolute;left:14px;right:14px;bottom:2px;height:1px;background:var(--pm-gold,var(--accent));transform:scaleX(0);transform-origin:left;transition:transform .3s cubic-bezier(.2,.7,.2,1)}
:is(.h3-page,.cp) .nav > a:not(.fb):hover::after{transform:scaleX(1)}
/* ติดตามเพจ = ลิงก์เงียบ · เข้าสู่ระบบ = ปุ่มเดียวที่มีกรอบ */
:is(.h3-page,.cp) .nav .fb{order:1;margin-left:6px;border:0;padding:8px 12px;color:var(--muted);font-size:15px}
:is(.h3-page,.cp) .nav .fb:hover{background:transparent;color:var(--text)}
:is(.h3-page,.cp) .nav-auth{order:2;margin-left:8px}
:is(.h3-page,.cp) .nav-login{min-height:40px;padding:0 16px;border-radius:999px;font-size:14.5px;background:rgb(var(--ink-rgb) / .06);border-color:rgb(var(--ink-rgb) / .14);transition:background .2s,border-color .2s}
:is(.h3-page,.cp) .nav-login:hover{background:rgb(var(--ink-rgb) / .1);border-color:rgb(var(--ink-rgb) / .28)}
:is(.h3-page,.cp) .theme-tog{order:3;width:40px;height:40px;margin-left:6px;border-radius:999px;border-color:rgb(var(--ink-rgb) / .14)}
@media (max-width:720px){
  :is(.h3-page,.cp) .site-head .wrap{height:60px}
  :is(.h3-page,.cp) .nav .fb{padding:7px 8px;font-size:14px}
  :is(.h3-page,.cp) .nav-login{min-height:36px;padding:0 12px}
  :is(.h3-page,.cp) .theme-tog{width:36px;height:36px}
}

/* ---------- hero ---------- */
.h3-page .h3-hero{padding-bottom:72px}
.h3-page .h3-veil{--h3-veil:.62}
.h3-page .h3-pill{backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.h3-page .h3-btn{min-height:54px;padding:0 28px;font-size:16.5px;letter-spacing:-.005em}
.h3-page .h3-btn:not(.h3-quiet){box-shadow:0 1px 0 rgb(255 255 255 / .45) inset,0 10px 24px -12px rgb(255 207 74 / .55)}
.h3-page .h3-btn.h3-quiet{backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.h3-page .h3-checks{margin-top:22px!important;font-size:14.5px}
.h3-page .h3-how{margin-top:10px!important;font-size:14.5px}
.h3-page .h3-proof{margin-top:44px;padding:22px 24px 16px}
.h3-page .h3-stats b{font-size:clamp(22px,1.4vw + 12px,32px)}
@media (max-width:719px){.h3-page .h3-stats b{font-size:18px}.h3-page .h3-proof{padding:16px 10px 12px}}
.h3-page .h3-stats span{margin-top:2px}
.h3-page .h3-proof .h3-note{margin-top:14px!important;padding-top:12px;border-top:1px solid var(--pm-hair,var(--line));font-size:12.5px;line-height:1.6}
.h3-page .h3-proof .h3-note + .h3-note{margin-top:2px!important;padding-top:0;border-top:0}

/* ---------- การ์ดทั่วไป: ยกขึ้นนิดตอนชี้ ---------- */
.h3-page .h3-pain,.h3-page .h3-steps li{transition:transform .35s cubic-bezier(.2,.7,.2,1),border-color .35s}
@media (hover:hover){
  .h3-page .h3-pain:hover,.h3-page .h3-steps li:hover{transform:translateY(-3px);border-color:rgb(var(--ink-rgb) / .18)}
}
.h3-page .h3-steps li{position:relative;padding:30px 26px 28px}
.h3-page .h3-n{display:inline-grid;place-items:center;width:44px;height:44px;margin-bottom:18px;border-radius:14px;font-size:20px;line-height:1;box-shadow:inset 0 0 0 1px var(--pm-line,var(--accent-line));background:rgb(var(--ink-rgb) / .03)}
.h3-page .h3-steps p{line-height:1.7}

/* ---------- แกลเลอรี: การ์ดแนวนอนวางปกแนวตั้งด้านขวา ---------- */
.h3-page .h3-bento .fc-bc-wide{background:linear-gradient(120deg,#151927 0%,#0e1119 70%)}
.h3-page .h3-bento .fc-bc-wide .fc-bc-img{left:auto;right:0;width:56%;height:100%;object-fit:cover;object-position:50% 18%;transform:none;animation:none;
  -webkit-mask:linear-gradient(to right,transparent,#000 45%);mask:linear-gradient(to right,transparent,#000 45%)}
.h3-page .h3-bento .fc-bc-wide .fc-bc-body{top:0;right:auto;width:62%;align-content:end;background:none;padding:20px 20px 18px}
@media (min-width:900px){
  .h3-page .h3-bento .fc-bc-wide .fc-bc-body{width:58%;padding:24px 26px 22px}
  .h3-page .h3 .h3-bento .fc-bc-wide .fc-bc-name{font-size:20px}
}
.h3-page .h3-bento .fc-bc{transition:transform .45s cubic-bezier(.2,.7,.2,1),box-shadow .45s,border-color .45s}
@media (hover:hover){
  .h3-page .h3-bento .fc-bc:hover{transform:translateY(-4px);border-color:rgb(255 255 255 / .2);box-shadow:0 30px 60px -30px rgb(0 0 0 / .7)}
}
.h3-page .h3-all{gap:8px;transition:border-color .2s,background .2s}
.h3-page .h3-all::after{content:"";width:7px;height:7px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg);margin-left:2px}
.h3-page .h3-all:hover{background:rgb(var(--ink-rgb) / .05)}

/* ---------- ข้างในสูตร ---------- */
.h3-page .h3 .ld-part{padding:20px 20px 18px;align-items:start}
.h3-page .h3 .ld-part h4{font-size:16.5px;line-height:1.45}
.h3-page .ld-lockl{margin-top:4px;font-size:12.5px;color:var(--faint)}
.h3-page .ld-lock{fill:none;stroke:currentColor}
.h3-page .ld-center{margin-top:36px}
.h3-page .ld-btn{min-height:50px;display:inline-flex;align-items:center;justify-content:center;padding:0 26px;transition:opacity .2s,transform .2s}
.h3-page .ld-btn:hover{opacity:1;transform:translateY(-1px)}

/* ---------- แพ็กเกจ ---------- */
.h3-page #packages .ld-countstrip{gap:0;max-width:880px;margin:0 auto 20px;border-radius:22px;overflow:hidden;background:var(--surface);border:1px solid var(--pm-hair,var(--line));box-shadow:inset 0 1px 0 var(--pm-hi,transparent),var(--pm-sh,none)}
.h3-page #packages .ld-countstrip li{border:0;border-radius:0;box-shadow:none;background:transparent;padding:16px 10px 14px;font-size:13px}
.h3-page #packages .ld-countstrip li + li{border-left:1px solid var(--pm-hair,var(--line))}
.h3-page #packages .ld-countstrip b{font-size:24px;font-weight:600;margin-bottom:2px}
@media (max-width:719px){
  .h3-page #packages .ld-countstrip li:nth-child(3){border-left:0}
  .h3-page #packages .ld-countstrip li:nth-child(n+3){border-top:1px solid var(--pm-hair,var(--line))}
}
.h3-page #packages .ld-soonnote{max-width:880px;margin:0 auto 40px;padding:0;background:none;border-radius:0;font-weight:500;font-size:14.5px;color:var(--muted);text-align:center}
.h3-page .h3 .ld-plans{align-items:stretch}
.h3-page .h3 .ld-plan{padding:30px 28px 28px;gap:12px}
.h3-page .ld-plan h3{font-size:15px;font-weight:600;letter-spacing:.06em;color:var(--muted)}
.h3-page .ld-plan ul{align-content:start;gap:10px;margin:10px 0 18px;padding-top:18px;border-top:1px solid var(--pm-hair,var(--line))}
.h3-page .ld-plan li{font-size:15px;line-height:1.55;padding-left:26px}
.h3-page .ld-plan li::before{left:2px;top:.42em;width:12px;height:7px;border-color:var(--pm-gt,var(--accent-text))}
.h3-page .ld-price{font-size:38px;letter-spacing:-.02em;line-height:1.15}
.h3-page .ld-price small{display:block;margin-top:2px;font-size:14px;letter-spacing:0}
.h3-page .ld-plan>.ld-price{margin-top:0}
.h3-page .ld-was{font-size:13.5px}
.h3-page .ld-was s{font-size:15px;text-decoration-color:rgb(var(--ink-rgb) / .45);text-decoration-thickness:1.5px}
.h3-page .ld-save{margin-top:10px;font-size:12.5px;padding:4px 12px;background:rgb(74 201 138 / .14);color:var(--text);box-shadow:inset 0 0 0 1px rgb(74 201 138 / .35)}
.h3-page .ld-upsell{font-size:13.5px;font-weight:500;line-height:1.6;padding:10px 14px;border-radius:14px;color:var(--ink-2)}
.h3-page .ld-plan > .ld-btn{width:100%;margin-top:auto}
.h3-page .h3 .ld-plan .ld-tag2{top:0;left:50%;right:auto;transform:translate(-50%,-50%);padding:5px 14px;font-size:12.5px;letter-spacing:.04em;white-space:nowrap;background:var(--bg)}
@media (min-width:720px){
  .h3-page .h3 .ld-plan.ld-hot{transform:translateY(-12px)}
}

/* ---------- FAQ ---------- */
.h3-page .h3 .ld-faq{gap:10px}
.h3-page .h3 .ld-faq details{padding:0;transition:border-color .25s,background .25s}
.h3-page .h3 .ld-faq details[open]{border-color:rgb(var(--ink-rgb) / .2)}
.h3-page .ld-faq summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;font-size:16px;line-height:1.5}
.h3-page .ld-faq summary::-webkit-details-marker{display:none}
.h3-page .ld-faq summary::after{content:"";flex:none;width:28px;height:28px;border-radius:50%;box-shadow:inset 0 0 0 1px rgb(var(--ink-rgb) / .18);
  background:linear-gradient(currentColor,currentColor) center/11px 1.5px no-repeat,linear-gradient(currentColor,currentColor) center/1.5px 11px no-repeat;transition:transform .3s cubic-bezier(.2,.7,.2,1)}
.h3-page .ld-faq details[open] summary::after{transform:rotate(45deg)}
.h3-page .ld-faq summary:hover{color:var(--text)}
.h3-page .ld-faq details p{padding:0 70px 20px 22px;line-height:1.75}
@media (max-width:719px){ .h3-page .ld-faq details p{padding-right:22px} }

/* ---------- ปิดท้าย + ท้ายเว็บ ---------- */
.h3-page .h3-close{margin-top:clamp(72px,7vw,112px);border-top:0;background:radial-gradient(60% 80% at 50% 110%,var(--accent-soft),transparent 70%)}
.h3-page .h3-close .h3-btn{min-width:240px}
.pm-foot{margin-top:0;padding:56px 0 36px;border-top:1px solid var(--pm-hair,var(--line));background:var(--bg)}
.pm-foot .ft-grid{display:grid;gap:36px;width:100%;grid-template-columns:1fr}
.pm-foot .ft-brand p{max-width:30em;margin:12px 0 0;font-size:14px;line-height:1.7;color:var(--muted)}
.pm-foot .ft-col{display:grid;gap:10px;align-content:start}
.pm-foot .ft-col h2{margin:0 0 4px;font:600 13px/1.4 var(--font-body);letter-spacing:.08em;color:var(--text)}
.pm-foot .ft-col a{font-size:14.5px;color:var(--muted);transition:color .2s}
.pm-foot .ft-col a:hover{color:var(--text)}
.pm-foot .ft-bar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 24px;width:100%;margin-top:40px;padding-top:20px;border-top:1px solid var(--pm-hair,var(--line));font-size:13px;color:var(--faint)}
@media (min-width:720px){ .pm-foot .ft-grid{grid-template-columns:1.6fr 1fr 1fr 1fr} }
@media (max-width:719px){ .pm-foot{padding:44px 0 28px} .pm-foot .ft-grid{grid-template-columns:1fr 1fr} .pm-foot .ft-brand{grid-column:1/-1} }

@media (prefers-reduced-motion:reduce){
  .h3-page .h3-pain,.h3-page .h3-steps li,.h3-page .h3-bento .fc-bc,.h3-page .ld-faq summary::after,:is(.h3-page,.cp) .nav > a::after{transition:none}
}
