/* PangPlus Hot — หน้าสาธารณะ (SEO) · server สร้าง HTML (AffHotSiteController) */
:root {
  --brand: #f97316; --brand-dark: #c2410c; --brand-soft: #fff1e6; --price: #ee4d2d; --line: #06c755;
  --bg: #fbfaf8; --surface: #fff; --text: #1f2328; --muted: #6b7280; --border: #ececec;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #121212; --surface: #1d1d1f; --text: #ececec; --muted: #a3a3a3; --border: #333; --brand-soft: #3a2414; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 "Sarabun", "Noto Sans Thai", system-ui, sans-serif; background: var(--bg); color: var(--text); }
a { color: var(--brand-dark); }
img { max-width: 100%; }

.bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 16px; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-size: 18px; }
.brand strong { color: var(--brand); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 10px 20px; border-radius: 12px; border: 1px solid var(--brand); background: var(--brand); color: #fff; font-weight: 700; text-decoration: none; }
.btn.line { background: var(--line); border-color: var(--line); }
.btn.ghost { background: transparent; color: var(--brand-dark); }
.btn.sm { min-height: 36px; padding: 6px 12px; font-size: 14px; border-radius: 10px; }

main { max-width: 1080px; margin: 0 auto; padding: 0 16px 32px; }
section { margin: 36px 0; }
h2 { font-size: 22px; margin: 0 0 14px; }

.hero { text-align: center; padding: 36px 0 8px; margin-top: 0; }
.hero h1 { font-size: clamp(26px, 6vw, 42px); line-height: 1.25; margin: 0 0 14px; }
.hero h1 span { color: var(--brand); }
.hero.small h1 { font-size: clamp(22px, 5vw, 32px); }
.lead { max-width: 720px; margin: 0 auto 18px; color: var(--muted); font-size: 16.5px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.facts { list-style: none; padding: 0; margin: 26px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 640px; }
.facts li { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px 6px; font-size: 13px; color: var(--muted); }
.facts b { display: block; font-size: 22px; color: var(--brand-dark); }

.why { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.why li, .steps li { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; color: var(--muted); font-size: 14.5px; }
.why b, .steps b { display: block; color: var(--text); font-size: 16px; margin-bottom: 4px; }
.steps { padding: 0; margin: 0; list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.steps li { counter-increment: s; position: relative; padding-left: 56px; }
.steps li::before { content: counter(s); position: absolute; left: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; display: grid; place-items: center; }

.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.sec-head a { font-weight: 700; text-decoration: none; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; transition: transform .15s, box-shadow .15s; }
.item:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgb(0 0 0 / .08); }
.item .pic { position: relative; aspect-ratio: 1; background: var(--border); }
.item .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.item .tag { position: absolute; left: 6px; top: 6px; font-size: 11px; font-weight: 700; border-radius: 6px; padding: 1px 6px; background: #c0392b; color: #fff; }
.item .body { padding: 9px 10px 11px; display: flex; flex-direction: column; gap: 3px; flex: 1; font-size: 13px; }
.item h3 { font-size: 13.5px; font-weight: 500; margin: 0; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { color: var(--price); font-size: 17px; font-weight: 700; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 8px; color: var(--muted); }
.mall { font-size: 10.5px; border-radius: 4px; padding: 0 5px; background: #d0011b; color: #fff; }
.comm { color: var(--price); font-weight: 600; }
.blur { filter: blur(4px); user-select: none; }
.lock { margin-top: auto; display: block; text-align: center; padding: 7px 6px; border-radius: 9px; background: color-mix(in srgb, var(--muted) 14%, transparent); color: var(--muted); font-weight: 700; font-size: 13px; text-decoration: none; }
.lock:hover { background: var(--brand-soft); color: var(--brand-dark); }
.more { text-align: center; margin: 16px 0 0; font-weight: 600; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; max-width: 760px; margin: 0 auto; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.plan.pro { border: 2px solid var(--brand); box-shadow: 0 10px 30px rgb(249 115 22 / .15); }
.plan h3 { margin: 0; font-size: 20px; }
.plan .price { color: var(--text); font-size: 26px; margin: 0; }
.plan .price small { font-size: 14px; color: var(--muted); font-weight: 400; }
.plan .year { margin: 0; color: var(--brand-dark); font-size: 14px; font-weight: 600; }
.plan ul { margin: 6px 0 12px; padding-left: 20px; color: var(--muted); font-size: 14.5px; flex: 1; }

.faq { display: flex; flex-direction: column; gap: 8px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin: 8px 0 0; color: var(--muted); }

.final { text-align: center; background: linear-gradient(135deg, var(--brand), #fb923c); color: #fff; border-radius: 20px; padding: 28px 16px; }
.final h2 { color: #fff; }

.crumb { font-size: 13.5px; color: var(--muted); padding-top: 14px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: 6px 14px; text-decoration: none; color: var(--text); }
.chips small { color: var(--muted); }

.foot { border-top: 1px solid var(--border); padding: 20px 16px 28px; text-align: center; color: var(--muted); font-size: 14px; }
.foot p { margin: 4px 0; }
.foot .small { font-size: 12px; max-width: 720px; margin: 8px auto 0; }

/* กำแพงสินค้า: แถบสีของแต่ละกลุ่ม */
.gsec { border-radius: 22px; padding: 18px 14px 16px; margin: 22px 0; }
.gsec .sec-head { margin-bottom: 12px; }
.gsec h2 { margin: 0; color: #fff; text-shadow: 0 1px 2px rgb(0 0 0 / .15); }
.gsec h2 small { font-size: 13px; font-weight: 600; opacity: .9; margin-left: 4px; }
.gsec h2 .emoji { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgb(255 255 255 / .9); text-shadow: none; margin-right: 4px; }
.gsec .all { background: #fff; color: var(--text); border-radius: 999px; padding: 6px 14px; font-size: 14px; box-shadow: 0 2px 8px rgb(0 0 0 / .1); }
.gsec .item { border: 0; box-shadow: 0 4px 14px rgb(0 0 0 / .08); }
.gsec.c0 { background: linear-gradient(135deg, #f97316, #fb7185); }
.gsec.c1 { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.gsec.c2 { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.gsec.c3 { background: linear-gradient(135deg, #10b981, #84cc16); }
.gsec.c4 { background: linear-gradient(135deg, #e11d48, #f59e0b); }
@media (min-width: 640px) { .gsec { padding: 22px 20px 20px; } }
