/* เว็บสาธารณะของร้าน (เว็บสำเร็จรูป P2 · docs/10 §2.7) — ทุกสีอ่านจาก CSS variables ของธีมบน <html> (ชื่อเดียวกับ mockup)
   --p สีหลัก · --ph hover · --h หัวข้อ · --a เน้น · --bg พื้น · --sf การ์ด · --ln เส้น · --ink/--t2/--t3 ตัวอักษร · --mu แถบจาง · --chip ป้าย
   --ph1/--ph2 รูปแทน · --pt/--at ตัวอักษรบนสีหลัก/สีเน้น · --band/--ba แถบเข้ม+สีเน้นบนแถบ · --foot ฟุตเตอร์ · --r/--rb มุมโค้งการ์ด/ปุ่ม
   --ax สีเน้น "สำหรับตัวอักษร" (audit 18 ก.ย. 69): ทอง --a เป็นตัวอักษรบนพื้นสว่างได้แค่ 2.2:1 → ข้อความ/ไอคอนเล็ก/ดาว ใช้ --ax (ธีมคิดให้ ≥ 4.5:1 · โทนต่อบล็อก remap ด้วย) · เส้นตกแต่ง/ป้ายพื้นทอง ยังใช้ --a
   --bt/--ft ตัวอักษรบนแถบเข้ม/ฟุตเตอร์ (audit P2 18 ก.ย. 69 — เดิมฝัง #fff ~25 จุด): ทุกอย่างบน var(--band)/var(--foot) ใช้ var(--bt)/var(--ft) · ตัวรองจางบนแถบ = color-mix(bt ≥ 85%, transparent) (ทอง-ขาว 78% ตก) · บนฟุตเตอร์ ≥ 65%
   · #fff ยังใช้ได้เฉพาะที่ทับรูปที่มีเงาดำ (hero cover · เมนู overlay · สินค้าแบบ tile · คำบรรยายแกลเลอรี · ป้ายหมด · ปุ่มเล่นวิดีโอ) และแถบตัวอย่าง
   --bd ขอบช่องกรอก/ปุ่มช่วงเวลาคิว/ดาวว่าง (audit P2): แถบจาง --mu ต่างจากการ์ด 1.4:1 → ธีมคิด bd = mu กดจน ≥ 3:1 บน sf และ bg (WCAG 1.4.11) · --mu ยังใช้เป็นแถบจาง/เส้นประตกแต่ง
   ขนาดตัวอักษร (audit P2 18 ก.ย. 69 · PRODUCT.md "ตัวหนังสือไทยไม่ต่ำกว่า 14px"): ข้อความที่ลูกค้าอ่าน ≥ 14px ทุกจุด — สเกล 14 / 15 / 16 (body) / 17 (prose) / 18 / 20 / 21 / clamp หัวข้อ
   · ยกเว้นชิป "บล็อก · kind" ในโหมดตัวอย่าง (.wb-chip 11px mono — ป้ายเครื่องมือของคนแก้เว็บ ไม่ใช่เนื้อหา)
   บล็อก = .wb.wb-<kind>.v-<variant> — เพิ่ม variant ใหม่ = เพิ่ม CSS ที่นี่ + partial เดิม */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }   /* หน้าสั้น (จองคิวส่งแล้ว/ติดต่อ) ใต้ฟุตเตอร์ต้องเป็นสีพื้นเว็บ ไม่ใช่ขาว (ตรวจธีมรอบ 5) */
body.wb-body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; }   /* harden 18 ก.ย. 69: ข้อความไม่มีช่องว่าง (URL/อีเมล/LINE ID/ชื่ออังกฤษยาว) ตัดบรรทัดแทนทะลุการ์ด — ไทยตัดตามพจนานุกรมอยู่แล้ว กฎนี้ทำงานเฉพาะคำที่ยาวกว่าบรรทัด */   /* 100svh = ความสูงจอตอนแถบ URL ของ iOS/Android กางอยู่ — 100vh ใหญ่กว่าจอจริง ฟุตเตอร์กระโดดตอนแถบหุบ · vh เป็น fallback ให้เบราว์เซอร์เก่า (audit P3) */
img { max-width: 100%; display: block; }
a { color: var(--h); text-decoration: none; }
a:hover { color: var(--ph); }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-heading); font-weight: 600; color: var(--h); line-height: 1.2; text-wrap: pretty; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
/* โฟกัสคีย์บอร์ด (audit 18 ก.ย. 69 — เดิมไม่มีเลย): วงทองอ่านออก --ax offset 2 ทุกอย่างที่กดได้ · บนพื้นเข้ม (แถบ/ฟุตเตอร์/hero ทับรูป/แถบตัวอย่าง) = ขาว
   · ช่องที่ซ่อน input ไว้ให้ label ทำงานแทน (ช่วงเวลาคิว/ดาวรีวิว/แท็บสถานที่) ยกวงไปที่ label — ไม่งั้น input 0×0 ได้ ring แต่มองไม่เห็น */
:focus-visible { outline: 2px solid var(--ax); outline-offset: 2px; }
.wb-hero.v-cover :focus-visible, .wb-nav.v-overlay :focus-visible, .wb-preview-bar :focus-visible, .v-tile .wb-product :focus-visible { outline-color: #fff; }
.wb-hero.v-collage :focus-visible, .wb-people.v-profile :focus-visible, .wb-countdown-inner :focus-visible, .wb-promo-card :focus-visible, .wb-cta-inner :focus-visible { outline-color: var(--bt); }
.wb-footer :focus-visible { outline-color: var(--ft); }
.wb-cta.v-card .wb-cta-inner :focus-visible { outline-color: var(--ax); }
.wb-slot:has(input:focus-visible), .wb-rate-pick input:focus-visible + label,
.wb-tabs input:nth-of-type(1):focus-visible ~ .wb-tab-labels label:nth-child(1), .wb-tabs input:nth-of-type(2):focus-visible ~ .wb-tab-labels label:nth-child(2),
.wb-tabs input:nth-of-type(3):focus-visible ~ .wb-tab-labels label:nth-child(3), .wb-tabs input:nth-of-type(4):focus-visible ~ .wb-tab-labels label:nth-child(4) { outline: 2px solid var(--ax); outline-offset: 2px; }
.wb-rate-pick label { border-radius: 4px; }
/* ข้อความสำหรับ screen reader อย่างเดียว (ชื่อดาวคะแนน · ป้ายลิงก์ไอคอน) — clip ไม่ใช่ display:none ให้ AT ยังอ่าน */
.wb-vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

.wb-main { display: flex; flex-direction: column; flex: 1 0 auto; }   /* ดันฟุตเตอร์ลงล่างสุดในหน้าสั้น */
.wb { position: relative; --wb-gap: 28px; --wb-band-gap: 48px; padding: var(--wb-gap) clamp(20px, 5vw, 64px); }
/* ช่องว่างบน-ล่างของบล็อก (เจ้าของ 4 ต.ค. 69 "บล็อกอื่นๆ ก็ให้แก้ไขตามบล็อกสินค้า" — เดิม 72px ทุกบล็อก)
   บล็อกพื้นเดียวกับหน้า = 28px · บล็อกที่มีพื้น/แถบสีเต็มความกว้างของตัวเอง = 48px ให้เนื้อหาไม่ชิดขอบสี
   ใช้ :where() ให้ specificity เท่า .wb — กฎของบล็อกที่ตั้ง padding เอง (hero/cta/promo/countdown) ยังชนะ */
.wb:where(.tone-light, .tone-dark, .tone-custom, .wb-article_list:not(.v-panel), .wb-booking, .wb-image_text.v-quote, .wb-steps.v-columns, .wb-people.v-profile) { padding-top: var(--wb-band-gap); padding-bottom: var(--wb-band-gap); }
.wb-h1 { font-size: clamp(34px, 4.5vw, 56px); line-height: 1.15; }
.wb-h2 { font-size: clamp(26px, 2.6vw, 32px); }
.wb-h2.v-center { text-align: center; margin-bottom: 32px; }
/* หัวข้อมีเส้นคั่นลายทองใต้ (mockup อาจารย์สักยันต์) — ใช้กับ .wb-h2.v-ornament · สีจาก --a ทุกชุดสี */
.wb-h2.v-ornament { text-align: center; position: relative; padding-bottom: 18px; }
.wb-h2.v-ornament::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 160px; height: 9px; transform: translateX(-50%);
  background: radial-gradient(circle at 50% 50%, var(--a) 0 3px, transparent 3.5px), linear-gradient(90deg, transparent, var(--a) 30%, var(--a) 70%, transparent);
  background-size: 100% 100%, 100% 1px; background-position: center, center; background-repeat: no-repeat; }
.wb-head.v-center .wb-h2.v-ornament { margin-bottom: 4px; }
/* ปุ่ม LINE แบบเม็ดยา (hero/cta ใต้ปุ่มหลัก) — บนพื้นเว็บ = ชิป + ทองอ่านออก (--ax) · ทับรูป/แถบเข้ม (cover/collage/แถบ cta) = โปร่งดำ + ทองบนแถบ (--ba)
   (audit 18 ก.ย. 69: เดิมโปร่งดำ 25% + ทอง --a ทุกที่ → hero แบบ left/center ของธีมสว่าง 1.2:1) */
.wb-line-pill { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; border: 1px solid var(--ax); color: var(--ax); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500; background: var(--chip); }
.wb-line-pill:hover { background: var(--ax); color: var(--bg); }
.wb-hero.v-cover .wb-line-pill, .wb-hero.v-collage .wb-line-pill { background: rgba(0,0,0,.25); border-color: var(--ba); color: var(--ba); }
.wb-hero.v-cover .wb-line-pill:hover, .wb-hero.v-collage .wb-line-pill:hover { background: var(--ba); color: var(--at); }
.wb-h3 { font-size: 20px; font-family: var(--font-body); color: var(--ink); }
.wb-lead { font-size: 18px; color: var(--t2); max-width: 560px; }
.wb-sub { color: var(--t2); }
.wb-tiny { font-size: 14px; color: var(--t3); }
.wb-tiny.v-center { text-align: center; }
.wb-eyebrow { display: inline-flex; gap: 8px; font-size: 14px; font-weight: 600; letter-spacing: .08em; color: var(--ax); text-transform: uppercase; }
.wb-eyebrow.v-band { color: var(--ba); }
.wb-head { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.wb-head > div { display: flex; flex-direction: column; gap: 6px; }
.wb-head.v-center { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.wb-more { margin-left: auto; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.wb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
/* ป้ายคำแนะนำสำหรับคนแก้เว็บในโหมดตัวอย่าง ("ยังไม่ใส่…") — ป้ายบนสินค้าคือ .wb-tag (เคยชื่อ .wb-badge ซ้ำกัน กฎหลังชนะ ป้ายคำแนะนำกลายเป็นเม็ดทองลอยมุมซ้าย · audit 18 ก.ย. 69) */
.wb-badge { display: inline-block; font-size: 14px; color: var(--t2); background: var(--sf); border: 1px solid var(--ln); border-radius: 999px; padding: 6px 12px; position: relative; z-index: 1; }
.wb-prose { color: var(--t2); display: flex; flex-direction: column; gap: 14px; font-size: 17px; }
.wb-prose ul { margin: 0; padding-left: 22px; }
/* ลิงก์ในเนื้อหา (rich_text/image_text/FAQ) ต้องมีเส้นใต้ ไม่ใช่แค่เปลี่ยนสี (audit P2 18 ก.ย. 69 · WCAG 1.4.1 — h กับ t2 ต่างกันแค่ 1.07–1.43:1 บนธีมมืด) · หน้าบทความ .trix-content a ขีดอยู่แล้ว */
.wb-prose a { color: var(--h); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: var(--a); }
.wb-prose a:hover { color: var(--ph); text-decoration-color: currentColor; }
.wb-prose .wb-h2 { margin-bottom: 4px; }

/* โทนพื้นสลับต่อบล็อก (Web::Block#tone) — ธีมส่ง --lt-* (สว่าง/ครีม) และ --dk-* (มืด) มาให้ · สลับตัวแปรเฉพาะในบล็อกนี้ สีหลัก/สีเน้น/ปุ่มคงเดิม */
.wb.tone-light { --bg: var(--lt-bg); --sf: var(--lt-sf); --ln: var(--lt-ln); --ink: var(--lt-ink); --t2: var(--lt-t2); --t3: var(--lt-t3); --chip: var(--lt-chip); --mu: var(--lt-mu); --ph1: var(--lt-ph1); --ph2: var(--lt-ph2); --h: var(--lt-h); --ax: var(--lt-ax); --bd: var(--lt-bd); background: var(--bg); color: var(--ink); }
.wb.tone-custom { background: var(--bg); color: var(--ink); }   /* ตัวแปรชุดสีตั้งบน section เองจาก Theme#custom_tone (block_attrs) */
.wb.tone-dark  { --bg: var(--dk-bg); --sf: var(--dk-sf); --ln: var(--dk-ln); --ink: var(--dk-ink); --t2: var(--dk-t2); --t3: var(--dk-t3); --chip: var(--dk-chip); --mu: var(--dk-mu); --ph1: var(--dk-ph1); --ph2: var(--dk-ph2); --h: var(--dk-h); --ax: var(--dk-ax); --bd: var(--dk-bd); background: var(--bg); color: var(--ink); }


/* ปุ่ม */
.wb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--p); color: var(--pt); border: 1.5px solid var(--p); border-radius: var(--rb); padding: 13px 24px; font-weight: 600; font-size: 16px; cursor: pointer; transition: background .15s; }
.wb-btn:hover { background: var(--ph); border-color: var(--ph); color: var(--pt); }
.wb-btn.v-outline { background: transparent; color: var(--h); }
.wb-btn.v-outline:hover { background: var(--chip); color: var(--h); }
.wb-btn.v-ghost { background: transparent; color: inherit; border-color: currentColor; opacity: .85; }
.wb-btn.v-small { padding: 8px 16px; font-size: 14px; }
.wb-btn.v-light { background: var(--sf); color: var(--h); border-color: var(--sf); align-self: flex-start; }
/* เขียว LINE #06c755 ใช้ตัวเข้ม #1a1207 (8.2:1) ไม่ใช่ขาว (2.26:1 — audit 18 ก.ย. 69) · โลโก้ LINE ในไอคอนใช้ currentColor ตาม */
.wb-btn.v-line, .wb-btn.v-cta { background: #06c755; border-color: #06c755; color: #1a1207; }
.wb-btn.v-line:hover, .wb-btn.v-cta:hover { background: #05b04c; border-color: #05b04c; color: #1a1207; }
.wb-btn[disabled] { opacity: .55; cursor: not-allowed; }

/* รูปแทน (ยังไม่อัปโหลด) */
.ph { background: linear-gradient(135deg, var(--ph1), var(--ph2)); position: relative; overflow: hidden; display: grid; place-items: center; width: 100%; height: 100%; min-height: 120px; }
.ph::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 30% 30%, rgba(255,255,255,.35), transparent 45%); }

/* ป้ายบล็อกในโหมดตัวอย่าง + แถบบน */
.wb-chip { position: absolute; top: 12px; left: 16px; z-index: 5; font: 500 11px/1 ui-monospace, Menlo, monospace; color: var(--t3); background: var(--chip); border: 1px solid var(--ln); border-radius: 999px; padding: 5px 9px; letter-spacing: .02em; }
.wb-chip:hover { color: var(--h); border-color: var(--h); }
.wb-preview-bar { position: sticky; top: 0; z-index: 50; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; background: #0f172a; color: #fff; font: 500 14px var(--font-body); padding: 8px 20px; }
.wb-preview-bar a { color: #fde68a; }

/* ---------- แถบเมนูบน ---------- */
.wb-nav { position: sticky; top: 0; z-index: 40; background: var(--sf); border-bottom: 1px solid var(--ln); display: flex; align-items: center; gap: 28px; padding: 0 clamp(20px, 5vw, 64px); min-height: 72px; }
.wb-brand { display: flex; align-items: center; gap: 12px; color: var(--h); }
.wb-brand-name { font: 600 20px/1.2 var(--font-heading); color: var(--h); }
.wb-logo { height: 40px; width: auto; }
.wb-logo-mark { width: 40px; height: 40px; border-radius: 999px; background: var(--p); color: var(--pt); display: grid; place-items: center; }
.wb-menu { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px 24px; margin-left: auto; font-size: 15px; font-weight: 500; }   /* harden: หน้าเยอะ (10+) หักบรรทัดแทนทะลุขอบจอ */
/* หน้าที่อยู่ = สีหัวข้อ + เส้นใต้ทอง (audit P2 18 ก.ย. 69: เดิม color: var(--p) — ชุดปุ่มแดงบนพื้นดำ 2.35–2.74:1 และบอกด้วยสีอย่างเดียว) · ธีมสว่าง p = h อยู่แล้ว */
.wb-menu a.is-active { color: var(--h); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; text-decoration-color: var(--a); }
.wb-nav-cta { display: inline-flex !important; align-items: center; gap: 8px; background: #06c755; color: #1a1207 !important; border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 15px; }
.wb-nav-cta.v-primary { background: var(--p); color: var(--pt) !important; box-shadow: 0 0 0 1px color-mix(in srgb, var(--a) 60%, transparent) inset; }
.wb-nav-cta.v-primary:hover { background: var(--ph); }
.wb-menu-btn { display: none; }
/* ปุ่มสลับภาษา TH | EN (เว็บ 2 ภาษา · docs/14) — ภาษาที่อยู่ = ตัวหนา+เส้นใต้ (ไม่บอกด้วยสีอย่างเดียว) */
.wb-lang { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; letter-spacing: .04em; }
.wb-lang a { padding: 6px 8px; border-radius: var(--r); color: var(--t2); }
.wb-lang a + a { border-left: 1px solid var(--ln); border-radius: 0; }
.wb-lang a[aria-current] { color: var(--h); font-weight: 700; text-decoration: underline; text-decoration-color: var(--a); text-underline-offset: 5px; }
.wb-nav.v-center { flex-direction: column; gap: 10px; padding-top: 14px; padding-bottom: 14px; }
.wb-nav.v-center .wb-menu { margin-left: 0; justify-content: center; flex-wrap: wrap; }
.wb-nav.v-overlay { position: absolute; left: 0; right: 0; background: transparent; border-bottom: 0; color: #fff; }
.wb-nav.v-overlay .wb-brand-name, .wb-nav.v-overlay .wb-menu a { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.wb-nav.v-overlay .wb-logo-mark { background: rgba(255,255,255,.2); color: #fff; }
html.wb-nav-overlay .wb-hero.v-cover { min-height: 640px; }
html.wb-nav-overlay .wb-hero:not(.v-cover) { padding-top: 140px; }
.wb-preview-bar + .wb-nav.v-overlay { position: relative; }

/* ---------- ฟุตเตอร์ ---------- */
.wb-footer { margin-top: auto; background: var(--foot); color: color-mix(in srgb, var(--ft) 78%, transparent); padding: 40px clamp(20px, 5vw, 64px); font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 24px; }
.wb-footer a { color: color-mix(in srgb, var(--ft) 78%, transparent); }
.wb-footer a:hover { color: var(--ft); }
.wb-footer-brand { font: 600 18px/1.2 var(--font-heading); color: var(--ft); display: block; }
.wb-footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.wb-footer-copy { margin-left: auto; }
.wb-social { display: flex; gap: 10px; }
.wb-social a { width: 36px; height: 36px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--ft) 25%, transparent); display: grid; place-items: center; color: var(--ft); }
.wb-footer.v-columns { display: block; }
.wb-footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid color-mix(in srgb, var(--ft) 12%, transparent); }
.wb-footer-cols > div { display: flex; flex-direction: column; gap: 10px; }
.wb-footer-cols .wb-footer-links { flex-direction: column; gap: 8px; }
.wb-footer-head { font-weight: 600; color: var(--ft); }
.wb-footer-muted { color: color-mix(in srgb, var(--ft) 65%, transparent); }
.wb-footer-bottom { display: flex; justify-content: space-between; padding-top: 20px; flex-wrap: wrap; gap: 8px; }
.wb-footer-credit { opacity: .7; }

/* ปุ่มลอย */
.wb-floating { position: fixed; right: 20px; bottom: 20px; z-index: 45; display: inline-flex; align-items: center; gap: 8px; background: #06c755; color: #1a1207; border-radius: 999px; padding: 12px 18px; font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.wb-floating:hover { color: #1a1207; }   /* กัน a:hover เปลี่ยนสี */
/* เอฟเฟกต์ยก/ซูมตอน hover ครอบ @media (hover: hover) ทุกจุด (audit P3 18 ก.ย. 69): จอสัมผัสไม่มี hover จริง — แตะแล้วสถานะ :hover ค้าง การ์ดลอย/รูปซูมไม่กลับจนกว่าจะแตะที่อื่น */
@media (hover: hover) { .wb-floating:hover { transform: translateY(-1px); } }
.wb-floating.v-phone, .wb-floating.v-phone:hover { background: var(--p); color: var(--pt); }

/* ---------- hero ---------- */
.wb-hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; padding-top: 88px; }
.wb-hero-body { display: flex; flex-direction: column; gap: 20px; order: 1; }
.wb-hero-media { order: 2; }
.wb-hero-media .ph, .wb-hero-img { height: 440px; border-radius: var(--r); object-fit: cover; width: 100%; }
.wb-hero.v-cover { display: block; min-height: 560px; padding: 0; }
.wb-hero.v-cover .wb-hero-media { position: absolute; inset: 0; }
.wb-hero.v-cover .wb-hero-media .ph, .wb-hero.v-cover .wb-hero-img { height: 100%; border-radius: 0; }
.wb-hero.v-cover .wb-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.25)); }
.wb-hero.v-cover .wb-hero-body { position: relative; z-index: 1; min-height: 560px; justify-content: center; padding: 88px clamp(20px, 5vw, 64px); max-width: 760px; color: #fff; }
.wb-hero.v-cover .wb-h1 { color: #fff; }
.wb-hero.v-cover .wb-lead { color: rgba(255,255,255,.85); }
.wb-hero.v-cover .wb-eyebrow { color: var(--ba); }
.wb-hero.v-cover .wb-btn.v-outline { color: #fff; border-color: rgba(255,255,255,.7); }
.wb-hero.v-center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 40px; }
.wb-hero.no-media { grid-template-columns: minmax(0, 1fr); padding-bottom: 40px; }
.wb-hero.v-center .wb-hero-body { align-items: center; max-width: 760px; }
.wb-hero.v-center .wb-hero-media { width: 100%; order: 2; }
.wb-hero.v-center .wb-hero-media .ph, .wb-hero.v-center .wb-hero-img { height: 360px; }
.wb-hero.v-center .wb-actions { justify-content: center; }
/* collage (mockup อาจารย์สักยันต์): พื้นแถบเข้ม 3 คอลัมน์ — รูป+คำคมซ้าย · ชื่อกลาง · รูปขวา */
.wb-hero.v-collage { grid-template-columns: minmax(0, 1fr) minmax(320px, 1.1fr) minmax(0, 1fr); gap: 0; padding: 0; background: var(--band); color: var(--bt); min-height: 560px; align-items: stretch; }
.wb-hero.v-collage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 100%, color-mix(in srgb, var(--a) 22%, transparent), transparent 60%); pointer-events: none; }
.wb-hero.v-collage .wb-hero-side { position: relative; min-height: 420px; overflow: hidden; }
.wb-hero.v-collage .wb-hero-side .ph, .wb-hero.v-collage .wb-hero-side .wb-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; object-fit: cover; }
.wb-hero.v-collage .wb-hero-side.v-left::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.15) 60%, var(--band)); }
.wb-hero.v-collage .wb-hero-side.v-right::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(0,0,0,.35), rgba(0,0,0,.1) 60%, var(--band)); }
.wb-hero-quote { position: absolute; left: clamp(20px, 4vw, 48px); top: 18%; z-index: 1; margin: 0; max-width: 260px; font-family: var(--font-heading); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.35; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.wb-hero-quote p { margin: 0; }
.wb-hero-quote cite { display: block; margin-top: 16px; font: 500 14px/1.4 var(--font-body); color: var(--ba); font-style: normal; }
.wb-hero.v-collage .wb-hero-body { order: 0; position: relative; z-index: 1; align-items: center; text-align: center; justify-content: center; gap: 14px; padding: 72px clamp(16px, 3vw, 40px); }
.wb-hero-logo { height: 88px; width: auto; margin-bottom: 4px; }
.wb-hero-mark { width: 72px; height: 72px; border-radius: 999px; border: 1.5px solid var(--a); color: var(--ax); display: grid; place-items: center; margin-bottom: 4px; }
.wb-hero.v-collage .wb-h1 { color: var(--ba); font-size: clamp(38px, 4.2vw, 60px); text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.wb-hero.v-collage .wb-eyebrow { color: var(--ba); text-transform: none; letter-spacing: .12em; font-size: 14px; }
.wb-hero.v-collage .wb-lead { color: color-mix(in srgb, var(--bt) 85%, transparent); font-size: 16px; max-width: 420px; }
.wb-hero.v-collage .wb-actions { justify-content: center; }
.wb-hero.v-collage .wb-btn { box-shadow: 0 8px 24px rgba(0,0,0,.35), 0 0 0 1px color-mix(in srgb, var(--a) 55%, transparent) inset; }
.wb-hero.v-collage .wb-btn.v-outline { color: var(--bt); border-color: color-mix(in srgb, var(--bt) 60%, transparent); }
.wb-hero.v-collage .wb-line-pill { align-self: center; }
html.wb-nav-overlay .wb-hero.v-collage { padding-top: 0; }
/* รูปเต็มพื้น · ข้อความซ้าย · คำคมขวา (mockup "อาจารย์สักยันต์ · โชว์ผลงาน" 22 ก.ย. 69): รูปเป็นพื้นทั้งบล็อกทับด้วยเงาจากซ้าย (ตัวอักษรอ่านออก) → ขวาโปร่ง (เห็นรูป) · คำคมชิดขวาแนวตั้งกลาง */
.wb-hero.v-feature { position: relative; grid-template-columns: minmax(0, 1fr) minmax(200px, 320px); gap: 40px; align-items: center; padding: 96px clamp(20px, 5vw, 64px) 80px; min-height: 600px; background: var(--foot); color: #fff; }
.wb-hero.v-feature .wb-hero-media { position: absolute; inset: 0; order: 0; }
.wb-hero.v-feature .wb-hero-media .ph, .wb-hero.v-feature .wb-hero-img { height: 100%; border-radius: 0; }
.wb-hero.v-feature .wb-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.7) 34%, rgba(0,0,0,.25) 62%, rgba(0,0,0,.55) 100%), linear-gradient(180deg, rgba(0,0,0,.35), transparent 30%, transparent 70%, rgba(0,0,0,.6)); }
.wb-hero.v-feature .wb-hero-body { position: relative; z-index: 1; order: 0; max-width: 620px; gap: 18px; }
.wb-hero.v-feature .wb-h1 { color: var(--ba); font-size: clamp(38px, 4.6vw, 64px); text-shadow: 0 2px 18px rgba(0,0,0,.5); }
.wb-hero.v-feature .wb-lead { color: rgba(255,255,255,.88); font-size: 17px; max-width: 480px; }
.wb-hero-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; margin: 0; font: 500 18px/1.4 var(--font-heading); color: #fff; }
.wb-hero-tags span + span::before { content: "|"; margin: 0 12px; color: var(--ba); opacity: .8; }
.wb-hero.v-feature .wb-btn { box-shadow: 0 8px 24px rgba(0,0,0,.35), 0 0 0 1px color-mix(in srgb, var(--a) 55%, transparent) inset; }
.wb-hero.v-feature .wb-btn.v-outline { color: #fff; border-color: rgba(255,255,255,.7); box-shadow: none; }
.wb-hero.v-feature .wb-btn.v-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.wb-hero.v-feature .wb-line-pill { background: rgba(0,0,0,.25); border-color: var(--ba); color: var(--ba); }
.wb-hero.v-feature .wb-line-pill:hover { background: var(--ba); color: var(--at); }
.wb-hero-quote.v-right { position: relative; z-index: 1; left: auto; top: auto; max-width: none; text-align: right; justify-self: end; font-size: clamp(22px, 2vw, 28px); font-style: italic; }
.wb-hero-quote.v-right cite { font-family: var(--font-heading); font-size: 22px; color: var(--ba); font-style: italic; }
.wb-hero.v-feature :focus-visible { outline-color: #fff; }
/* hero แบบสไลด์รูปล้วน (21 ก.ย. 69): ทุกสไลด์ซ้อนใน grid cell เดียว (สูง = รูปที่สูงสุด ไม่กระตุกตอนสลับ) · รูปเต็มความกว้าง สัดส่วนตามรูปจริง ไม่ครอป */
.wb-hero.v-slides { display: block; padding: 0; }
html.wb-nav-overlay .wb-hero.v-slides { padding-top: 72px; }
.wb-hero-slides { position: relative; overflow: hidden; background: var(--band); }
.wb-slides-track { display: grid; }
.wb-slide { grid-area: 1 / 1; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.wb-slide.is-active { opacity: 1; pointer-events: auto; }
.wb-slide a { display: block; }
.wb-slide .wb-hero-img, .wb-slide .ph { display: block; width: 100%; height: auto; border-radius: 0; object-fit: contain; }
.wb-hero-slides-ph { height: 360px; display: grid; place-items: center; }
.wb-slides-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 999px; border: 0; background: rgba(0,0,0,.45); color: #fff; display: grid; place-items: center; cursor: pointer; z-index: 2; }
.wb-slides-btn:hover { background: rgba(0,0,0,.7); }
.wb-slides-btn.v-prev { left: 16px; }
.wb-slides-btn.v-prev svg { transform: rotate(180deg); }
.wb-slides-btn.v-next { right: 16px; }
.wb-slides-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.wb-slides-dots button { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 1px solid rgba(255,255,255,.8); background: rgba(0,0,0,.35); cursor: pointer; }
.wb-slides-dots button[aria-current="true"] { background: #fff; }
.wb-hero.v-slides :focus-visible { outline-color: #fff; }
html.wb-nav-overlay .wb-hero.v-collage .wb-hero-body { padding-top: 140px; }

/* ---------- rich_text / image_text ---------- */
.wb-rich_text.v-narrow .wb-prose { max-width: 760px; margin: 0 auto; }
.wb-image_text { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.wb-it-media .ph, .wb-it-img { height: 380px; border-radius: var(--r); object-fit: cover; width: 100%; }
.wb-image_text.src-person .wb-it-img { aspect-ratio: 3 / 4; height: auto; max-width: 420px; margin: 0 auto; }   /* รูปอาจารย์ที่ดึงมา = แนวตั้งเต็มกรอบครอป */
.wb-it-body { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.wb-image_text.v-right .wb-it-media { order: 2; }
.wb-image_text.v-stacked { display: flex; flex-direction: column; gap: 32px; }
.wb-image_text.v-stacked .wb-it-media .ph, .wb-image_text.v-stacked .wb-it-img { height: 420px; }

/* รูปซ้าย · ข้อความกลาง · คำคมขวา (mockup โชว์ผลงาน 22 ก.ย. 69): พื้นการ์ด + เส้นขอบทองบน-ล่าง · คำคมฟอนต์หัวข้อสีเน้น (ax) ชิดขวา */
.wb-image_text.v-quote { grid-template-columns: minmax(0, .8fr) minmax(0, 1.25fr) minmax(0, .85fr); gap: 40px; background: var(--sf); border-top: 1px solid color-mix(in srgb, var(--a) 45%, var(--ln)); border-bottom: 1px solid color-mix(in srgb, var(--a) 45%, var(--ln)); }
.wb-image_text.v-quote .wb-it-media .ph, .wb-image_text.v-quote .wb-it-img { height: 340px; max-width: 360px; margin: 0 auto; border: 1px solid color-mix(in srgb, var(--a) 60%, transparent); box-shadow: 0 14px 34px rgba(0,0,0,.25); }
.wb-image_text.v-quote.src-person .wb-it-img { height: auto; aspect-ratio: 3 / 4; }
.wb-image_text.v-quote .wb-h2 { color: var(--h); }
.wb-it-quote { margin: 0; align-self: center; text-align: right; font-family: var(--font-heading); font-style: italic; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.45; color: var(--ax); }
.wb-it-quote p { margin: 0; }
.wb-it-quote cite { display: block; margin-top: 14px; font: 500 20px/1.3 var(--font-heading); font-style: italic; color: var(--ax); }
.wb-it-quote .wb-badge { font-style: normal; font-family: var(--font-body); }

/* ---------- การ์ดบริการ (services · mockup อาจารย์สักยันต์) — four/three รูปบน · list รูปซ้าย · การ์ดขอบทอง เงาสีหลัก ---------- */
.wb-service-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.wb-services.v-three .wb-service-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wb-service { display: flex; flex-direction: column; background: var(--sf); border: 1px solid color-mix(in srgb, var(--a) 55%, var(--ln)); border-radius: var(--r); overflow: hidden;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--p) 25%, transparent), 0 14px 34px color-mix(in srgb, var(--p) 22%, transparent); transition: transform .15s, box-shadow .15s; }
@media (hover: hover) { .wb-service:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--a) 60%, transparent), 0 18px 40px color-mix(in srgb, var(--p) 32%, transparent); } }
.wb-service-media { position: relative; aspect-ratio: 4 / 3; }
.wb-service-media .ph, .wb-service-img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.wb-service-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--sf) 85%, transparent)); }
.wb-service-body { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 14px 18px 20px; position: relative; }
.wb-service .wb-h3 { font-family: var(--font-heading); color: var(--h); font-size: 21px; }
.wb-service p { color: var(--t2); font-size: 14.5px; }
.wb-service-meta { font-size: 14px; color: var(--t3); letter-spacing: .02em; }
.wb-service-price { display: inline-block; margin-top: 4px; padding: 3px 12px; border-radius: 999px; font: 600 14px/1.5 var(--font-heading); color: var(--h);
  background: color-mix(in srgb, var(--a) 16%, transparent); border: 1px solid color-mix(in srgb, var(--a) 55%, transparent); }
.wb-service-link { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 600; color: var(--ax); display: inline-flex; align-items: center; gap: 4px; }
.wb-service-link:hover { color: var(--h); }
.wb-services.v-list .wb-service-list { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.wb-services.v-list .wb-service { flex-direction: row; align-items: stretch; }
.wb-services.v-list .wb-service-media { flex: 0 0 280px; aspect-ratio: auto; min-height: 180px; }
.wb-services.v-list .wb-service-media::after { display: none; }
.wb-services.v-list .wb-service-body { align-items: flex-start; text-align: left; margin-top: 0; padding: 22px 24px; }
/* รูปเต็มใบ ชื่อทับล่าง (mockup โชว์ผลงาน 22 ก.ย. 69): การ์ดสูง 5:6 รูปเต็ม + เงาดำจากล่าง · ชื่อทอง/คำอธิบายขาว/ลิงก์ทองอยู่บนรูป */
.wb-services.v-overlay .wb-service { position: relative; aspect-ratio: 5 / 6; border-color: color-mix(in srgb, var(--a) 40%, transparent); background: var(--band); }
.wb-services.v-overlay .wb-service-media { position: absolute; inset: 0; aspect-ratio: auto; }
.wb-services.v-overlay .wb-service-media::after { background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.55) 65%, rgba(0,0,0,.9)); }
.wb-services.v-overlay .wb-service-body { position: absolute; left: 0; right: 0; bottom: 0; margin-top: 0; padding: 0 16px 20px; gap: 4px; color: #fff; }
.wb-services.v-overlay .wb-service .wb-h3 { color: var(--ba); font-size: 26px; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.wb-services.v-overlay .wb-service p, .wb-services.v-overlay .wb-service-meta { color: rgba(255,255,255,.88); }
.wb-services.v-overlay .wb-service-price { color: var(--ba); background: rgba(0,0,0,.35); }
.wb-services.v-overlay .wb-service-link { margin-top: 6px; padding-top: 0; color: #fff; }
.wb-services.v-overlay .wb-service-link:hover { color: var(--ba); }
.wb-services.v-overlay :focus-visible { outline-color: #fff; }

/* ---------- สินค้า ---------- */
.wb-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.wb-product { background: var(--sf); border: 1px solid var(--ln); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.wb-product-media { display: block; position: relative; overflow: hidden; height: 240px; }   /* ป้ายหมด/แนะนำ absolute ในรูป · <a> ในหน้า /products */
.wb-product-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.wb-product-name { font-weight: 600; font-size: 17px; color: var(--ink); }   /* เป็น <a> ในหน้า /products — ไม่เป็นสีลิงก์ */
.wb-price { font: 600 18px/1 var(--font-heading); color: var(--h); }
.v-tile .wb-product { background: transparent; border: 0; }
.v-tile .wb-product-media { height: 300px; border-radius: var(--r); overflow: hidden; }
.v-tile .wb-product-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 16px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.72)); color: #fff; }
.v-tile .wb-product-body .wb-tiny, .v-tile .wb-price { color: #fff; }
.v-feature .wb-products { grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: auto auto; }
.v-feature .wb-product:first-child { grid-row: span 2; }
.v-feature .wb-product:first-child .wb-product-media { height: 100%; min-height: 420px; }
.v-feature .wb-product:only-child .wb-product-media { height: 420px; }   /* ชิ้นเดียว ไม่มีแถวอื่นกำหนดสูง → รูปแนวตั้งยืดเต็มจอ (ตรวจธีมรอบ 5) */
.v-feature .wb-product:not(:first-child) .wb-product-media { height: 160px; }
/* สินค้าจริง (ชิ้นที่ 3): รูปหลัก · ป้ายหมด (.wb-soldout) / แนะนำ (.wb-tag) มุมซ้ายบนของรูป · ข้อความสั้น · หมด = รูปจางแต่ยังกดดูได้ */
.wb-product-media .ph { min-height: 0; }
.wb-product-img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
@media (hover: hover) { .wb-product:hover .wb-product-img { transform: scale(1.03); } }
.wb-product.is-soldout .wb-product-img, .wb-product.is-soldout .wb-product-media .ph { opacity: .7; filter: grayscale(.35); }
.wb-soldout, .wb-tag { position: absolute; top: 12px; left: 12px; z-index: 1; font-size: 14px; line-height: 1.3; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.wb-soldout { background: rgba(0,0,0,.72); color: #fff; }
.wb-tag { background: var(--a); color: var(--at); }
.wb-product-name:hover { color: var(--h); }
.v-tile .wb-product-name { color: #fff; }
.wb-product-short { font-size: 14px; color: var(--t3); }
.v-tile .wb-product-short { display: none; }
.wb-products.v-page { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* ชิ้นต่อแถว (ช่อง columns · 26 ก.ย. 69 "อยากให้มี 5 รูป") — 4 = ค่าเดิม · รูปเตี้ยลงตามความกว้างการ์ด */
.wb-products.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wb-products.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.wb-products.cols-3 .wb-product-media { height: 300px; }
.wb-products.cols-5 .wb-product-media { height: 200px; }
.v-tile .wb-products.cols-5 .wb-product-media { height: 250px; }
.wb-products.cols-5 .wb-product-body { padding: 14px; }
.wb-products.cols-5 .wb-product-name { font-size: 16px; }
/* แถบเลื่อน (variant slider): ชิ้นที่เห็นต่อจอ = cols · ลากนิ้ว/ล้อเมาส์เลื่อนได้ · ปุ่ม ‹ › เลื่อนทีละหน้าจอ (โชว์ตลอด · จางเมื่อสุดทาง/ชิ้นพอดีจอ) */
.wb-product-slider { position: relative; }
/* เลื่อนอิสระตามนิ้ว ไม่ดีดเข้าช่อง (เจ้าของ 26 ก.ย. 69 "เลื่อนไปเรื่อยๆ ตามนิ้วของเรา") · คอมลากด้วยเมาส์ได้ (.is-dragging = JS ท้าย layout) */
.wb-product-slider .wb-products { --cols: 4; --gap: 24px; display: flex; gap: var(--gap); overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; cursor: grab; }
.wb-product-slider .wb-products.is-dragging { cursor: grabbing; user-select: none; }
.wb-product-slider .wb-products.is-dragging a { pointer-events: none; }
.wb-product-slider .wb-products::-webkit-scrollbar { display: none; }
.wb-product-slider .wb-products.cols-3 { --cols: 3; }
.wb-product-slider .wb-products.cols-5 { --cols: 5; --gap: 18px; }
.wb-product-slider .wb-product { flex: 0 0 calc((100% - var(--gap) * (var(--cols) - 1)) / var(--cols)); }
.wb-product-slider .wb-product img { -webkit-user-drag: none; }
.wb-slider-btn { position: absolute; top: 120px; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--ln); background: var(--sf); color: var(--ink); display: grid; place-items: center; cursor: pointer; z-index: 2; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.wb-slider-btn:disabled { opacity: .35; cursor: default; box-shadow: none; }
.wb-slider-btn:not(:disabled):hover { color: var(--ax); border-color: var(--ax); }
.wb-slider-btn.v-prev { left: -14px; }
.wb-slider-btn.v-prev svg { transform: rotate(180deg); }
.wb-slider-btn.v-next { right: -14px; }
.wb-products.cols-5 ~ .wb-slider-btn { top: 100px; }
.wb-product-page { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.wb-product-gallery { display: flex; flex-direction: column; gap: 10px; }
.wb-product-main { border-radius: var(--r); overflow: hidden; background: var(--sf); border: 1px solid var(--ln); aspect-ratio: 1 / 1; position: relative; }
.wb-product-main .ph, .wb-product-main-img { width: 100%; height: 100%; object-fit: cover; }
.wb-product-main.is-soldout .wb-product-main-img, .wb-product-main.is-soldout .ph { opacity: .7; filter: grayscale(.35); }
.wb-product-main .wb-soldout, .wb-product-main .wb-tag { top: 16px; left: 16px; font-size: 15px; padding: 6px 14px; }
.wb-product-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.wb-product-thumb { display: block; aspect-ratio: 1 / 1; border-radius: calc(var(--r) * .6); overflow: hidden; border: 2px solid var(--ln); cursor: pointer; background: var(--sf); }
.wb-product-thumb.is-active { border-color: var(--a); }
.wb-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.wb-product-info { display: flex; flex-direction: column; gap: 16px; }
.wb-product-info .wb-h1 { font-size: clamp(26px, 3vw, 38px); }
.wb-product-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.wb-product-price .wb-price { font-size: 30px; }
.wb-product-price .wb-unit { color: var(--t3); font-size: 15px; }
.wb-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--h); }
.wb-stock.is-out { color: var(--t3); }
.wb-stock::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: currentColor; }
/* ตัวเลือกราคาหลายแบบ (Web::PriceOptions · 23 ก.ย. 69): ปุ่มเลือก ขนาด/เนื้อ ราคาต่างกัน — เลือกแล้วราคาด้านบนเปลี่ยน · หมด = ขีดฆ่า กดไม่ได้ */
.wb-price small { font-size: .5em; font-weight: 500; color: var(--t3); font-family: var(--font-body); }
.wb-product-options { border: 0; padding: 0; margin: 0; min-width: 0; }
.wb-product-options legend { padding: 0; margin-bottom: 8px; }
.wb-option-list { display: flex; flex-wrap: wrap; gap: 8px; }
.wb-option { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: calc(var(--r) * .6); border: 1px solid var(--bd); background: var(--sf); cursor: pointer; font-size: 14.5px; color: var(--ink); }
.wb-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wb-option-price { font-weight: 600; color: var(--h); }
.wb-option:has(input:checked) { border-color: var(--a); box-shadow: 0 0 0 1px var(--a) inset; background: var(--chip); }
.wb-option:has(input:focus-visible) { outline: 2px solid var(--ax); outline-offset: 2px; }
.wb-option.is-out { cursor: not-allowed; opacity: .6; }
.wb-option.is-out .wb-option-name { text-decoration: line-through; }
.wb-price-options { list-style: none; margin: 6px 0 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 4px; font-size: 14px; text-align: left; }
.wb-price-options li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px dashed var(--ln); color: var(--t2); }
.wb-price-options li:last-child { border-bottom: 0; }
.wb-price-options b { font-weight: 600; color: var(--h); white-space: nowrap; }
.wb-price-options li.is-out { opacity: .6; }
.wb-price-options li.is-out span { text-decoration: line-through; }
.wb-services.v-overlay .wb-price-options { display: none; }   /* ชื่อทับรูป ไม่มีที่วางตาราง — ราคาเริ่มต้นยังโชว์ */
.wb-product-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.wb-product-meta { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; font-size: 14px; color: var(--t2); padding-top: 16px; border-top: 1px solid var(--ln); }
.wb-product-meta dt { color: var(--t3); }
.wb-product-meta dd { margin: 0; }
.wb-product-desc { grid-column: 1 / -1; max-width: 820px; }
.wb-product-desc .wb-h2 { margin-bottom: 12px; }

/* ---------- บทความ ---------- */
.wb-article_list { background: var(--sf); border-top: 1px solid var(--ln); border-bottom: 1px solid var(--ln); }
.wb-articles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.wb-article { display: flex; flex-direction: column; gap: 12px; }
.wb-article-media { display: block; height: 200px; border-radius: var(--r); overflow: hidden; }
.wb-article-body { display: flex; flex-direction: column; gap: 6px; }
.wb-article .wb-h3 { font-size: 19px; }
.v-featured .wb-articles { grid-template-columns: 1.5fr 1fr; }
.v-featured .wb-article:first-child { grid-row: span 3; }
.v-featured .wb-article:first-child .wb-article-media { height: 100%; min-height: 360px; }
.v-featured .wb-article:not(:first-child) { flex-direction: row; align-items: center; }
.v-featured .wb-article:not(:first-child) .wb-article-media { width: 120px; height: 90px; flex-shrink: 0; }
.wb-article_list.v-list .wb-articles { display: flex; flex-direction: column; gap: 0; }
.wb-article_list.v-list .wb-article { flex-direction: row; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--ln); }
.wb-article_list.v-list .wb-article-media { width: 96px; height: 72px; flex-shrink: 0; }
/* แผงหัวข้อซ้าย (แถบเข้ม) + การ์ดรูปทับ 4 ใบ (mockup โชว์ผลงาน 22 ก.ย. 69): ชื่อบทความ/วันที่ทับรูปด้วยเงาดำจากล่าง · แผงใช้ร่วมกับ gallery v-panel */
.wb-article_list.v-panel { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 3.2fr); gap: 20px; align-items: stretch; background: var(--bg); border: 0; }
.wb-article-panel, .wb-gallery-panel { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding: 32px 28px; background: var(--band); color: var(--bt); border-radius: var(--r); }
.wb-article-panel .wb-h2, .wb-gallery-panel .wb-h2 { color: var(--ba); }
.wb-article-panel .wb-sub, .wb-gallery-panel .wb-sub { color: color-mix(in srgb, var(--bt) 85%, transparent); }
.wb-article-panel .wb-btn { margin-top: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.3), 0 0 0 1px color-mix(in srgb, var(--a) 55%, transparent) inset; }
.wb-article-panel :focus-visible, .wb-gallery-panel :focus-visible { outline-color: var(--bt); }
.wb-article_list.v-panel .wb-articles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.wb-article_list.v-panel .wb-article { position: relative; aspect-ratio: 4 / 3.3; border-radius: var(--r); overflow: hidden; background: var(--sf); border: 1px solid color-mix(in srgb, var(--a) 35%, var(--ln)); }
.wb-article_list.v-panel .wb-article-media { position: absolute; inset: 0; height: auto; border-radius: 0; }
.wb-article_list.v-panel .wb-article-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 14px; gap: 4px; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.6) 40%, rgba(0,0,0,.92)); color: #fff; }
.wb-article_list.v-panel .wb-article .wb-h3 { font-size: 17px; order: 1; }
.wb-article_list.v-panel .wb-article .wb-h3 a { color: #fff; }
.wb-article_list.v-panel .wb-article .wb-h3 a:hover { color: var(--ba); }
.wb-article_list.v-panel .wb-article .wb-tiny { order: 2; color: rgba(255,255,255,.75); }
.wb-article_list.v-panel .wb-article-excerpt { display: none; }
.wb-article_list.v-panel .wb-article :focus-visible { outline-color: #fff; }
.wb-article_list.v-panel > .wb-sub { grid-column: 2; align-self: center; }

/* ---------- แกลเลอรี ---------- */
.wb-gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 16px; }
.wb-gallery-item { display: block; position: relative; overflow: hidden; border-radius: var(--r); min-height: 0; }   /* คำบรรยาย absolute ทับรูป */
.wb-gallery.v-featured .wb-gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.wb-gallery.v-strip .wb-gallery-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.wb-gallery.v-strip .wb-gallery-item { flex: 0 0 320px; height: 240px; scroll-snap-align: start; }
/* แผงหัวข้อซ้าย + 1 ใหญ่ 5 เล็ก + ช่องดูเพิ่มเติม (mockup โชว์ผลงาน 22 ก.ย. 69): 5 คอลัมน์ รูปแรก 2×2 · ช่องสุดท้าย = ลิงก์ไปแกลเลอรี · แผงยืดเท่าตาราง (CSS ของแผงอยู่กับ .wb-article-panel) */
.wb-gallery.v-panel { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 3fr); gap: 20px; align-items: stretch; }
.wb-gallery.v-panel .wb-gallery-panel .wb-btn.v-outline { color: var(--bt); border-color: color-mix(in srgb, var(--bt) 70%, transparent); margin-top: 8px; }
.wb-gallery.v-panel .wb-gallery-panel .wb-btn.v-outline:hover { background: color-mix(in srgb, var(--bt) 15%, transparent); color: var(--bt); }
.wb-gallery.v-panel .wb-gallery-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 12px; }
.wb-gallery.v-panel .wb-gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.wb-gallery.v-panel .wb-gallery-item { border: 1px solid color-mix(in srgb, var(--a) 35%, transparent); }
.wb-gallery-item.v-more { display: grid; place-items: center; background: var(--sf); color: var(--ink); font-weight: 600; font-size: 15px; }
.wb-gallery-item.v-more span { display: inline-flex; align-items: center; gap: 6px; }
.wb-gallery-item.v-more:hover { background: var(--chip); color: var(--h); }
.wb-gallery.v-panel > .wb-sub { grid-column: 2; align-self: center; }

/* ---------- อาจารย์ / ทีม ---------- */
.wb-people.v-profile { background: var(--band); color: var(--bt); display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 56px; align-items: center; }
/* รูปคน = สัดส่วน 3:4 ตามไกด์/กล่องครอป (Web::ImageGuide :person) — เดิมโชว์ 420×420 / 220px แนวนอน ตัดหัว-มือที่ครอปไว้หาย (เจ้าของเจอ 21 ก.ย. 69) */
.wb-people.v-profile .wb-people-media .ph, .wb-people-img { aspect-ratio: 3 / 4; height: auto; border-radius: var(--r); object-fit: cover; width: 100%; }
.wb-people.v-profile .wb-people-body { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.wb-people.v-profile .wb-h2 { color: var(--bt); font-size: clamp(30px, 3.2vw, 40px); }
.wb-people.v-profile .wb-lead { color: color-mix(in srgb, var(--bt) 85%, transparent); max-width: 640px; }
.wb-people.v-profile .wb-eyebrow { color: var(--ba); }
/* ประวัติเต็มในบล็อก (full_bio · 21 ก.ย. 69): ข้อความยาว → รูปชิดบนและติดตามเลื่อน · ตัวอักษรตามแถบ (bt) หัวข้อย่อยในประวัติเป็นสีเน้นบนแถบ (ba) */
.wb-people.v-profile.has-full { align-items: start; }
.wb-people.v-profile.has-full .wb-people-media { position: sticky; top: 24px; }
.wb-people.v-profile.has-full .wb-prose { color: color-mix(in srgb, var(--bt) 88%, transparent); max-width: 720px; }
.wb-people.v-profile.has-full .trix-content h1, .wb-people.v-profile.has-full .trix-content strong { color: var(--ba); }
.wb-people.v-profile.has-full .trix-content blockquote { color: color-mix(in srgb, var(--bt) 80%, transparent); border-left-color: var(--ba); }
.wb-people.v-profile.has-full .trix-content a { color: var(--ba); }
/* profile เป็นแถบสี (--band) ทั้งบล็อก — พอเลือก "พื้นหลังของบล็อก" สว่าง/มืด/เลือกสีเอง ต้องเปลี่ยนตามชุดสีของโทนนั้น ไม่ใช่แดงตลอด
   (เจ้าของเจอ 21 ก.ย. 69 "เลือกสีสว่างก็ออกมาเป็นสีแดงอย่างเดียว" — กฎ .wb.tone-* อยู่ก่อนหน้าเลยแพ้กฎ band ของ profile) */
.wb-people.v-profile:is(.tone-light, .tone-dark, .tone-custom) { background: var(--bg); color: var(--ink); }
.wb-people.v-profile:is(.tone-light, .tone-dark, .tone-custom) .wb-h2 { color: var(--h); }
.wb-people.v-profile:is(.tone-light, .tone-dark, .tone-custom) .wb-lead { color: var(--t2); }
.wb-people.v-profile:is(.tone-light, .tone-dark, .tone-custom) .wb-eyebrow { color: var(--ax); }
.wb-people.v-profile:is(.tone-light, .tone-dark, .tone-custom) :focus-visible { outline-color: var(--ax); }
.wb-people.v-profile.has-full:is(.tone-light, .tone-dark, .tone-custom) .wb-prose { color: var(--ink); }
.wb-people.v-profile.has-full:is(.tone-light, .tone-dark, .tone-custom) .trix-content h1, .wb-people.v-profile.has-full:is(.tone-light, .tone-dark, .tone-custom) .trix-content strong { color: var(--h); }
.wb-people.v-profile.has-full:is(.tone-light, .tone-dark, .tone-custom) .trix-content blockquote { color: var(--t2); border-left-color: var(--a); }
.wb-people.v-profile.has-full:is(.tone-light, .tone-dark, .tone-custom) .trix-content a { color: var(--ax); }
.wb-people-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.wb-person { background: var(--sf); border: 1px solid var(--ln); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 6px; text-align: center; align-items: center; color: var(--ink); }   /* เป็น <a> เมื่อมีหน้าโปรไฟล์ — ชื่อ/ประวัติไม่เป็นสีลิงก์ */
.wb-person-media { width: 100%; }
.wb-person-media .ph, .wb-person-img { aspect-ratio: 3 / 4; height: auto; border-radius: var(--r); object-fit: cover; width: 100%; margin-bottom: 8px; }
.wb-person-name { font-weight: 600; font-size: 17px; }
.wb-person-bio { color: var(--t2); font-size: 14.5px; }
.wb-people.v-marquee .wb-people-list { display: flex; overflow-x: auto; gap: 28px; padding-bottom: 8px; }
.wb-people.v-marquee .wb-person { flex: 0 0 150px; background: transparent; border: 0; padding: 0; }
.wb-people.v-marquee .wb-person-media .ph, .wb-people.v-marquee .wb-person-img { width: 130px; height: 130px; border-radius: 999px; margin: 0 auto 8px; }

/* ---------- ขั้นตอน ---------- */
.wb-step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.wb-step { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.wb-step p { color: var(--t2); }
.wb-step-num { width: 44px; height: 44px; border-radius: 999px; background: var(--a); color: var(--at); display: grid; place-items: center; font: 600 20px/1 var(--font-heading); flex-shrink: 0; }
.wb-steps.v-columns { background: var(--sf); border-top: 1px solid var(--ln); border-bottom: 1px solid var(--ln); }
.wb-steps.v-timeline .wb-step-list { display: flex; flex-direction: column; gap: 0; max-width: 720px; margin: 0 auto; }
.wb-steps.v-timeline .wb-step { flex-direction: row; gap: 20px; position: relative; padding-bottom: 32px; }
.wb-steps.v-timeline .wb-step::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--ln); }
.wb-steps.v-timeline .wb-step:last-child::before { display: none; }
.wb-steps.v-cards .wb-step { background: var(--p); color: var(--pt); border-radius: var(--r); padding: 28px 24px; }
.wb-steps.v-cards .wb-step .wb-h3, .wb-steps.v-cards .wb-step p { color: var(--pt); }
.wb-steps.v-cards .wb-step p { opacity: .85; }
.wb-steps.v-cards .wb-step-num { background: transparent; color: var(--ba); font-size: 40px; width: auto; height: auto; }
/* แถวเดียว วงกลมเลขขอบทอง ลูกศรคั่น (mockup โชว์ผลงาน 22 ก.ย. 69): 4 ขั้นเรียงแนวนอน กึ่งกลาง · ลูกศรทองระหว่างขั้น (ซ่อนเมื่อหักบรรทัด) */
.wb-steps.v-row .wb-step-list { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 24px 0; }
.wb-steps.v-row .wb-step { flex: 1 1 180px; max-width: 240px; align-items: center; text-align: center; gap: 14px; position: relative; padding: 0 28px; }
.wb-steps.v-row .wb-step + .wb-step::before { content: "➜"; position: absolute; left: -10px; top: 24px; font-size: 20px; line-height: 1; color: var(--ax); }
.wb-steps.v-row .wb-step-num { width: 68px; height: 68px; background: transparent; border: 1.5px solid var(--a); color: var(--ax); font-size: 26px; box-shadow: 0 0 0 6px color-mix(in srgb, var(--a) 12%, transparent); }
.wb-steps.v-row .wb-step-body { display: flex; flex-direction: column; gap: 4px; }
.wb-steps.v-row .wb-step .wb-h3 { font-size: 18px; }
.wb-steps.v-row .wb-step p { font-size: 15px; }
/* ปุ่มใต้ขั้นตอน (เช่น "จองคิว" → /booking) — ใช้ได้ทุกรูปแบบ */
.wb-step-cta { display: flex; justify-content: center; margin-top: 36px; }

/* ---------- FAQ ---------- */
.wb-faq { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 56px; }
.wb-faq-head { display: flex; flex-direction: column; gap: 12px; }
.wb-faq-list { border-top: 1px solid var(--ln); }
.wb-faq-item { border-bottom: 1px solid var(--ln); padding: 4px 0; }
.wb-faq-item summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 16px 0; font-weight: 600; font-size: 18px; cursor: pointer; }
.wb-faq-item summary::-webkit-details-marker { display: none; }
.wb-faq-icon { margin-left: auto; color: var(--t3); flex-shrink: 0; transition: transform .2s; }
.wb-faq-item[open] .wb-faq-icon { transform: rotate(45deg); }
.wb-faq-item .wb-prose { padding: 0 0 18px; font-size: 16px; }
.wb-faq.v-single { display: flex; flex-direction: column; gap: 24px; max-width: 800px; margin: 0 auto; }

/* ---------- วิดีโอ ---------- */
.wb-video { display: flex; flex-direction: column; gap: 24px; align-items: center; text-align: center; }
.wb-video-frame { position: relative; width: 100%; max-width: 960px; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; }   /* ใช้ทั้งบล็อก video (ทุก variant) และหน้าโปรไฟล์อาจารย์ · iframe absolute เต็มกรอบ aspect-ratio */
.wb-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wb-video-ph { min-height: 100%; }
.wb-video-body { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.wb-video.v-side { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; text-align: left; }
.wb-video.v-side .wb-video-body { align-items: flex-start; }
/* หลายคลิป (grid · docs/12 #1): playlist บนสุด · ปุ่มกลุ่ม · การ์ดรูปย่อ + ปุ่มเล่น → กดแล้วเป็นเครื่องเล่นในการ์ด */
.wb-video.v-grid { align-items: stretch; }
.wb-video.v-grid .wb-video-playlist { align-self: center; }
.wb-video-groups { justify-content: center; }
.wb-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.wb-video-card { margin: 0; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.wb-video-card[hidden] { display: none; }
.wb-video-groups button { font: inherit; cursor: pointer; }
.wb-video-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 1px solid var(--ln); border-radius: var(--r); overflow: hidden; background: #000; cursor: pointer; }
.wb-video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
@media (hover: hover) { .wb-video-thumb:hover img { transform: scale(1.04); } }
/* ปุ่มเล่นอยู่มุมล่างขวา ไม่ทับหน้าปกคลิป (กลางภาพคือข้อความ/หน้าคน) · ทั้งรูปเป็นปุ่มอยู่แล้ว ป้ายนี้แค่บอกว่าเป็นวิดีโอ */
.wb-video-play { position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center; color: #fff; pointer-events: none; }
.wb-video-play svg { width: 36px; height: 36px; padding: 9px; border-radius: 999px; background: color-mix(in srgb, var(--p) 85%, black); box-shadow: 0 4px 12px rgba(0,0,0,.45); transition: transform .2s; }
@media (hover: hover) { .wb-video-thumb:hover .wb-video-play svg { transform: scale(1.08); } }
.wb-video-card figcaption { font-weight: 600; color: var(--h); font-size: 15px; line-height: 1.4; }
.wb-video-inline { max-width: none; }
.wb-video-grid-ph { min-height: 160px; border-radius: var(--r); }
.wb-video-more { text-align: center; margin: 0; }   /* ปุ่ม "ดูคลิปเพิ่มเติม" — ซ่อนเองเมื่อไม่เหลือคลิป (JS ตั้ง hidden) */
.wb-video-more[hidden] { display: none; }

/* ---------- นับถอยหลัง ---------- */
.wb-countdown { padding-top: 0; padding-bottom: 0; }
.wb-countdown-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; background: var(--band); color: var(--bt); padding: 36px 40px; }
.wb-countdown.v-card .wb-countdown-inner { border-radius: var(--r); margin: 40px 0; }
.wb-countdown-text { display: flex; flex-direction: column; gap: 6px; }
.wb-countdown-text .wb-h2 { color: var(--bt); }
.wb-countdown-text .wb-sub { color: color-mix(in srgb, var(--bt) 85%, transparent); display: inline-flex; align-items: center; gap: 6px; }   /* ≥ 85% — ทอง-ขาว แถบ #856318 ขาว 78% ได้ 4.1 */
.wb-countdown-num { margin-left: auto; display: flex; align-items: baseline; gap: 8px; }
.wb-countdown-days { font: 600 clamp(40px, 5vw, 56px)/1 var(--font-heading); color: var(--ba); }   /* เดิม 56 ตายตัว (audit P3) · ขั้นต่ำ 40 ยังใหญ่กว่า .wb-h1 ขั้นต่ำ 34 */
.wb-countdown-unit { font-size: 18px; color: color-mix(in srgb, var(--bt) 80%, transparent); }
.wb-countdown-done { font: 600 26px/1 var(--font-heading); color: var(--ba); }

/* ---------- ปฏิทินกิจกรรม (docs/12 #4) — list: กล่องวันที่ซ้าย · cards: การ์ดมีรูป · timeline: จัดกลุ่มตามเดือน ---------- */
.wb-event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.wb-event { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 22px; align-items: center; background: var(--sf); border: 1px solid var(--ln); border-radius: var(--r); padding: 18px 22px; }
.wb-event.is-past { opacity: .55; }
.wb-event-date { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2px; background: var(--chip); color: var(--h); border-radius: var(--r); padding: 10px 6px; min-height: 88px; }
.wb-event-day { font: 600 32px/1 var(--font-heading); color: var(--h); }
.wb-event-mon { font-size: 14px; font-weight: 600; color: var(--ax); letter-spacing: .04em; }
.wb-event-wd, .wb-event-tba { font-size: 14px; color: var(--t3); white-space: nowrap; }
.wb-event-tba { font-weight: 600; color: var(--ax); }
.wb-event.is-today .wb-event-date { background: var(--p); }
.wb-event.is-today .wb-event-day, .wb-event.is-today .wb-event-wd { color: var(--pt); }
.wb-event.is-today .wb-event-mon { color: var(--ba); }
.wb-event-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.wb-event-body .wb-h3 { line-height: 1.3; }
.wb-event-body p { color: var(--t2); font-size: 15px; }
.wb-event-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--t2); }
.wb-event-meta span { display: inline-flex; align-items: center; gap: 6px; }
.wb-event-meta svg { color: var(--ax); flex-shrink: 0; }
.wb-event-status { font-size: 14px; font-weight: 600; color: var(--t3); }
.wb-event-status.v-live { color: var(--ax); }
.wb-event-actions { display: flex; align-items: center; }
.wb-event-actions .wb-btn { white-space: nowrap; }
/* cards */
.wb-events.v-cards .wb-event-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.wb-events.v-cards .wb-event { position: relative; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 0; overflow: hidden; align-items: stretch; align-content: start; }
.wb-events.v-cards .wb-event-media { position: relative; height: 190px; }
.wb-events.v-cards .wb-event-media .ph, .wb-events.v-cards .wb-event-img { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.wb-events.v-cards .wb-event-date { position: absolute; left: 14px; top: 14px; min-height: 0; padding: 8px 12px; background: var(--sf); box-shadow: 0 6px 18px rgba(0,0,0,.18); z-index: 1; }
.wb-events.v-cards .wb-event.is-today .wb-event-date { background: var(--p); }
.wb-events.v-cards .wb-event-day { font-size: 24px; }
.wb-events.v-cards .wb-event-body { padding: 6px 20px 0; }
.wb-events.v-cards .wb-event-actions { padding: 0 20px 20px; margin-top: auto; }
.wb-events.v-cards .wb-event-actions .wb-btn { width: 100%; }
/* timeline */
.wb-event-months { display: flex; flex-direction: column; gap: 28px; max-width: 820px; margin: 0 auto; }
.wb-event-month-name { font: 600 18px/1.3 var(--font-heading); color: var(--ax); margin: 0 0 14px; display: flex; align-items: center; gap: 12px; }
.wb-event-month-name::after { content: ""; flex: 1; height: 1px; background: var(--ln); }
.wb-events.v-timeline .wb-event-list { gap: 0; }
.wb-events.v-timeline .wb-event { background: transparent; border: 0; border-left: 2px solid var(--ln); border-radius: 0; padding: 2px 0 22px 26px; position: relative; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; align-items: start; }
.wb-events.v-timeline .wb-event::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 999px; background: var(--a); box-shadow: 0 0 0 3px var(--bg); }
.wb-events.v-timeline .wb-event.is-past::before { background: var(--ln); }
.wb-events.v-timeline .wb-event-date { grid-column: 1 / -1; flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 6px; background: transparent; padding: 0; min-height: 0; text-align: left; }
.wb-events.v-timeline .wb-event-day { font-size: 20px; }
.wb-events.v-timeline .wb-event.is-today .wb-event-day { color: var(--ax); }
.wb-events.v-timeline .wb-event-when { display: none; }   /* วันอยู่บรรทัดบนแล้ว */
.wb-events.v-timeline .wb-event-actions { grid-row: 2; grid-column: 2; }

/* ---------- จองคิว ---------- */
.wb-booking { background: var(--sf); border-top: 1px solid var(--ln); border-bottom: 1px solid var(--ln); display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 64px; align-items: start; }
.wb-booking-text { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
.wb-booking-text .wb-h2 { font-size: clamp(30px, 3.2vw, 40px); }
.wb-booking-notes { display: flex; flex-direction: column; gap: 10px; color: var(--t2); }
.wb-booking-notes span { display: flex; align-items: center; gap: 10px; }
.wb-form { background: var(--bg); border: 1px solid var(--ln); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.wb-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.wb-form input, .wb-form select, .wb-form textarea { min-width: 0; min-height: 46px; border: 1px solid var(--bd); border-radius: calc(var(--rb) - 2px); padding: 10px 14px; background: var(--sf); color: var(--ink); font-size: 16px; }
.wb-form textarea { resize: vertical; }
/* ฟอร์มส่งไม่ผ่าน: Rails ห่อช่องที่ผิดด้วย <div class="field_with_errors"> → ช่องหลุดจาก flex ของ label กว้างตาม size=80 ล้นจอมือถือ (ตรวจธีมรอบเจ็ด 16 ก.ย. 69) */
.wb-form .field_with_errors { display: contents; }
.wb-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
/* ช่วงเวลาคิว (ฟอร์มจอง): ปุ่มช่วง · เต็ม = จาง ขีดฆ่า · เลือก = สีหลัก */
.wb-slots, .wb-fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.wb-slots legend, .wb-fieldset legend { font-size: 14px; font-weight: 500; padding: 0; margin-bottom: 2px; }
.wb-form-hint { margin-top: -8px; }   /* คำแนะนำใต้แถวช่อง (เช่น "กรอกเบอร์หรือ LINE อย่างน้อยหนึ่งช่อง") ชิดแถวบน */
.wb-form [aria-invalid="true"] { border-color: var(--h); box-shadow: 0 0 0 1px var(--h) inset; }   /* ช่องที่ส่งไม่ผ่าน — กรอบสีหัวข้อ ไม่พึ่งกล่องข้อความอย่างเดียว */
.wb-form button[disabled] { opacity: .6; cursor: progress; }   /* กำลังส่ง (กันกดซ้ำ) */
.wb-slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.wb-slot-grid > p { grid-column: 1 / -1; margin: 0; }
.wb-slot-grid > p button { font: inherit; font-weight: 600; color: var(--h); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }   /* "ลองใหม่" เมื่อโหลดคิวว่างไม่ได้ */   /* คำแนะนำ/เหตุผลปิดรับ กินเต็มแถว ไม่โดนบีบเหลือช่องเดียว (ตรวจธีมรอบ 5) */
.wb-slot-location { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--t2); margin-bottom: 2px; }
.wb-slot-location b { color: var(--h); font-weight: 600; }
.wb-slot { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 8px; border: 1px solid var(--bd); border-radius: calc(var(--rb) - 2px); background: var(--sf); cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink); text-align: center; }
.wb-slot input { position: absolute; opacity: 0; width: 0; height: 0; }
.wb-slot small { font-size: 14px; font-weight: 400; color: var(--t3); }
.wb-slot:hover { border-color: var(--p); }
.wb-slot.is-on { background: var(--p); border-color: var(--p); color: var(--pt); }
.wb-slot.is-on small { color: var(--pt); opacity: .85; }
.wb-slot.is-off { cursor: not-allowed; opacity: .55; background: var(--chip); }
.wb-slot.is-off span { text-decoration: line-through; }
.wb-rules { background: var(--chip); border: 1px solid var(--ln); border-radius: calc(var(--rb) - 2px); padding: 12px 14px; font-size: 14px; color: var(--t2); }
.wb-rules b { display: block; color: var(--h); margin-bottom: 4px; }
.wb-rules p { margin: 0; white-space: pre-line; line-height: 1.6; }
.wb-form input[type=file] { min-height: 0; padding: 8px; font-size: 14px; color: var(--t2); }
/* ปุ่ม "เลือกไฟล์" ของเบราว์เซอร์ให้เข้าธีมร้าน (ค่าเริ่มต้นเป็นปุ่มเทาของระบบ โดดบนธีมมืด) */
.wb-form input[type=file]::file-selector-button { font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--chip); border: 1px solid var(--bd); border-radius: calc(var(--rb) - 4px); padding: 6px 12px; margin-right: 10px; cursor: pointer; }
.wb-form input[type=file]::file-selector-button:hover { border-color: var(--p); }
.wb-booking.v-center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 32px; }
.wb-booking.v-center .wb-form { width: 100%; max-width: 620px; text-align: left; }
.wb-booking.v-center .wb-booking-notes { align-items: center; }
.wb-booking.v-line_only { display: flex; justify-content: center; text-align: center; }
.wb-booking.v-line_only .wb-booking-text { align-items: center; max-width: 640px; }

/* ---------- ติดต่อ ---------- */
.wb-contact { display: flex; flex-direction: column; gap: 32px; }
.wb-contact-head { display: flex; flex-direction: column; gap: 8px; }
.wb-locations { display: flex; flex-direction: column; gap: 24px; }
.wb-location { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.wb-location-info { display: flex; flex-direction: column; gap: 12px; font-size: 17px; }
.wb-location-info span, .wb-location-info a { display: flex; gap: 12px; align-items: flex-start; color: inherit; }
.wb-location-info svg { flex-shrink: 0; color: var(--ax); margin-top: 3px; }
/* กล่องแผนที่เป็น grid ให้ iframe/รูปแทนยืดเต็มความสูงของกล่อง — height:100% เฉยๆ ไม่ resolve กับ min-height ของพ่อ (audit P2 18 ก.ย. 69: v-map_full กล่อง 460 แต่ iframe สูงแค่ 280 เหลือแถบตาย 180px ใต้แผนที่ การ์ดข้อมูลไปเกาะขอบแถบว่าง) */
.wb-location-map { display: grid; min-height: 280px; border-radius: var(--r); overflow: hidden; background: var(--ph1); }
.wb-location-map iframe { width: 100%; height: 100%; min-height: 280px; border: 0; }
.wb-channels { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; font-size: 17px; }
.wb-channels > a { display: inline-flex; align-items: center; gap: 8px; }
.wb-channels > a svg { color: var(--ax); }
.wb-social.v-inline a { color: var(--h); border-color: var(--ln); background: var(--sf); width: 44px; height: 44px; }
.wb-contact-empty { border: 1px dashed var(--mu); border-radius: var(--r); padding: 32px; text-align: center; }
.wb-tabs { position: relative; }
/* radio ซ่อนแบบ visually-hidden ไม่ใช่ display:none — ยังอยู่ใน tab order กดลูกศรสลับสาขาได้ วงโฟกัสไปที่ label (กฎ :focus-visible ด้านบน) */
.wb-tabs input[type=radio] { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.wb-tab-labels { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.wb-tab-labels label { padding: 8px 16px; border: 1px solid var(--ln); border-radius: 999px; cursor: pointer; font-weight: 500; background: var(--sf); }
.wb-tab-panel { display: none; }
.wb-tabs input:nth-of-type(1):checked ~ .wb-tab-labels label:nth-child(1), .wb-tabs input:nth-of-type(2):checked ~ .wb-tab-labels label:nth-child(2),
.wb-tabs input:nth-of-type(3):checked ~ .wb-tab-labels label:nth-child(3), .wb-tabs input:nth-of-type(4):checked ~ .wb-tab-labels label:nth-child(4) { background: var(--p); color: var(--pt); border-color: var(--p); }
.wb-tabs input:nth-of-type(1):checked ~ .wb-tab-panel:nth-of-type(1), .wb-tabs input:nth-of-type(2):checked ~ .wb-tab-panel:nth-of-type(2),
.wb-tabs input:nth-of-type(3):checked ~ .wb-tab-panel:nth-of-type(3), .wb-tabs input:nth-of-type(4):checked ~ .wb-tab-panel:nth-of-type(4) { display: grid; }
.wb-contact.v-side_by_side .wb-locations { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.wb-contact.v-side_by_side .wb-location { display: flex; flex-direction: column; background: var(--sf); border: 1px solid var(--ln); border-radius: var(--r); padding: 20px; gap: 16px; }
.wb-contact.v-side_by_side .wb-location-map { min-height: 200px; }
.wb-contact.v-list_map .wb-location { grid-template-columns: 320px minmax(0, 1fr); }
.wb-contact.v-map_full .wb-location { display: block; position: relative; }
.wb-contact.v-map_full .wb-location-map { min-height: 460px; }
.wb-contact.v-map_full .wb-location-map iframe { min-height: 460px; }
.wb-contact.v-map_full .wb-location-info { position: absolute; left: 24px; bottom: 24px; z-index: 1; background: var(--sf); border: 1px solid var(--ln); border-radius: var(--r); padding: 20px 24px; max-width: 420px; font-size: 15.5px; }

/* ---------- CTA — แถบ = สีแถบเข้มของธีม (audit 18 ก.ย. 69: เดิมเขียว LINE เต็มแถบ ตัวขาว 2.26:1) · เขียว LINE เหลือเฉพาะปุ่ม ---------- */
.wb-cta { padding-top: 0; }
.wb-cta-inner { background: var(--band); color: var(--bt); border: 1px solid color-mix(in srgb, var(--a) 45%, transparent); border-radius: var(--r); padding: 40px 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.wb-cta-text { display: flex; flex-direction: column; gap: 6px; }
.wb-cta-head { font: 600 clamp(22px, 2.6vw, 28px)/1.2 var(--font-heading); }   /* has-bg มี clamp ของตัวเอง (26–36) · เดิม 28 ตายตัว (audit P3) */
.wb-cta-sub { opacity: .9; }
.wb-cta-inner .wb-btn.v-cta { margin-left: auto; white-space: nowrap; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.wb-cta.v-card .wb-cta-inner { flex-direction: column; text-align: center; max-width: 560px; margin: 0 auto; background: var(--sf); color: var(--ink); border: 1px solid var(--ln); }
.wb-cta.v-card .wb-cta-head { color: var(--h); }
.wb-cta.v-card .wb-cta-sub { color: var(--t2); }
.wb-cta.v-card .wb-cta-inner .wb-btn.v-cta { margin-left: 0; box-shadow: none; }
.wb-cta-qr img, .wb-cta-qr svg { width: 160px; height: 160px; border-radius: 12px; background: #fff; padding: 8px; display: block; }   /* QR สร้างเองเป็น SVG (rqrcode) ไม่พึ่งบริการภายนอก (harden 18 ก.ย. 69) */
.wb-cta-actions { margin-left: auto; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.wb-cta-actions .wb-btn.v-cta { margin-left: 0; }
.wb-cta-inner .wb-line-pill { background: transparent; border-color: color-mix(in srgb, var(--bt) 70%, transparent); color: var(--bt); }
.wb-cta-inner .wb-line-pill:hover { background: color-mix(in srgb, var(--bt) 15%, transparent); color: var(--bt); }
.wb-cta-quote { margin: 0; flex: 0 0 220px; font-family: var(--font-heading); font-size: 18px; line-height: 1.45; opacity: .95; }
.wb-cta-quote p { margin: 0; }
.wb-cta-quote cite { display: block; margin-top: 8px; font: 500 14px/1.4 var(--font-body); font-style: normal; opacity: .85; }
/* ปุ่มไปหน้าจอง/โทร (ไม่ใช่ LINE): ปุ่มสีหลัก (ไม่ใช้เขียว LINE) */
.wb-cta.t-url .wb-btn.v-cta, .wb-cta.t-phone .wb-btn.v-cta, .wb-cta.v-card.t-url .wb-cta-inner .wb-btn.v-cta, .wb-cta.v-card.t-phone .wb-cta-inner .wb-btn.v-cta { background: var(--p); border-color: var(--p); color: var(--pt); box-shadow: 0 8px 24px rgba(0,0,0,.3), 0 0 0 1px color-mix(in srgb, var(--a) 55%, transparent) inset; }
.wb-cta.t-url .wb-btn.v-cta:hover, .wb-cta.t-phone .wb-btn.v-cta:hover { background: var(--ph); border-color: var(--ph); color: var(--pt); }
.wb-cta.v-band.t-url .wb-cta-quote, .wb-cta.v-band.t-phone .wb-cta-quote { color: var(--ba); }
/* แถบมีรูปพื้นหลัง (mockup อาจารย์สักยันต์): รูปทับด้วยเงาสีแถบเข้ม · หัวข้อ/ปุ่มโทนทอง-สีหลัก */
.wb-cta.has-bg .wb-cta-inner { position: relative; overflow: hidden; background: var(--band); color: var(--bt); padding: 64px 48px; justify-content: center; text-align: center; flex-direction: column; gap: 20px; min-height: 320px; }
.wb-cta-bg { position: absolute; inset: 0; }
.wb-cta-bg-img, .wb-cta-bg .ph { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.wb-cta-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, color-mix(in srgb, var(--band) 62%, transparent), color-mix(in srgb, var(--band) 88%, #000)); }
.wb-cta.has-bg .wb-cta-text, .wb-cta.has-bg .wb-cta-actions, .wb-cta.has-bg .wb-cta-quote { position: relative; z-index: 1; }
.wb-cta.has-bg .wb-cta-head { font-size: clamp(26px, 3vw, 36px); color: var(--bt); }
.wb-cta.has-bg .wb-cta-sub { color: color-mix(in srgb, var(--bt) 85%, transparent); }
.wb-cta.has-bg .wb-cta-actions { margin-left: 0; flex-direction: row; flex-wrap: wrap; justify-content: center; }
.wb-cta.has-bg .wb-btn.v-cta { background: var(--p); border-color: var(--p); color: var(--pt); box-shadow: 0 8px 24px rgba(0,0,0,.35), 0 0 0 1px color-mix(in srgb, var(--a) 55%, transparent) inset; }
.wb-cta.has-bg .wb-btn.v-cta:hover { background: var(--ph); border-color: var(--ph); }
.wb-cta.has-bg .wb-cta-quote { flex: none; max-width: 520px; color: var(--ba); font-size: 20px; }
.wb-cta.v-floating .wb-cta-inner { max-width: 420px; margin-left: auto; padding: 20px 24px; }
.wb-cta.v-floating .wb-cta-head { font-size: 20px; }

/* ---------- รีวิว ---------- */
.wb-review-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.wb-review { margin: 0; background: var(--sf); border: 1px solid var(--ln); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.wb-review blockquote { margin: 0; font-size: 17px; }
.wb-review figcaption { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.wb-review figcaption > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.wb-stars { display: flex; gap: 3px; color: var(--ax); }
.wb-avatar { width: 40px; height: 40px; min-height: 0; border-radius: 999px; flex-shrink: 0; background: var(--chip); color: var(--h); font-weight: 600; display: grid; place-items: center; }   /* อักษรแรกของชื่อผู้รีวิว */
.wb-reviews.v-featured .wb-review-list { grid-template-columns: 1.6fr 1fr; }
.wb-reviews.v-featured .wb-review:first-child { grid-row: span 2; padding: 36px; }
.wb-reviews.v-featured .wb-review:first-child blockquote { font-size: 22px; font-family: var(--font-heading); }
/* แถบเลื่อนอัตโนมัติ (23 ก.ย. 69): การ์ดแคบลงให้เห็นหลายใบพร้อมกัน · ไม่มีคะแนนรวม
   · สคริปต์ท้าย layouts/web/application โคลนการ์ดต่อท้ายแล้วไล่ scrollLeft เอง (is-autoscroll = ซ่อนแถบเลื่อน ยังลาก/หมุนล้อเองได้) */
.wb-reviews.v-strip .wb-review-list { display: flex; overflow-x: auto; padding-bottom: 8px; }
.wb-reviews.v-strip .wb-review { flex: 0 0 min(76vw, 250px); padding: 18px; gap: 12px; }
.wb-reviews.v-strip .wb-review blockquote { font-size: 15px; }
.wb-reviews.v-strip .wb-review figcaption { gap: 8px; }
.wb-reviews.v-strip .wb-avatar { width: 32px; height: 32px; font-size: 14px; }
.wb-reviews.v-strip .wb-review-img { max-height: 300px; }
.wb-review-list.is-autoscroll { scrollbar-width: none; }
.wb-review-list.is-autoscroll::-webkit-scrollbar { width: 0; height: 0; }

/* ---------- โปรโมชั่น ---------- */
.wb-promo { padding-top: 0; }
.wb-promos { display: grid; gap: 24px; }
.wb-promo-card { display: grid; grid-template-columns: 520px minmax(0, 1fr); background: var(--band); color: var(--bt); border-radius: var(--r); overflow: hidden; min-height: 240px; }
.wb-promo-media { min-height: 240px; }
.wb-promo-img { width: 100%; height: 100%; object-fit: cover; }
.wb-promo-body { padding: 36px 40px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.wb-promo-head { font: 600 clamp(26px, 2.6vw, 32px)/1.2 var(--font-heading); color: var(--bt); }   /* สเกลเดียวกับ .wb-h2 — เดิม 32 ตายตัว มือถือกิน 3 บรรทัด (audit P3) */
.wb-promo-text { font-size: 16px; color: color-mix(in srgb, var(--bt) 85%, transparent); max-width: 560px; }
.wb-promo .wb-btn.v-light { margin-top: 8px; }
.wb-promo-card.is-expired { opacity: .45; outline: 2px dashed var(--mu); }
.wb-promo.v-pair .wb-promos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wb-promo.v-pair .wb-promo-card { grid-template-columns: minmax(0, 1fr); }
.wb-promo.v-pair .wb-promo-media { min-height: 200px; }
.wb-promo.v-pair .wb-promo-head { font-size: 24px; }
.wb-promo.v-carousel .wb-promos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.wb-promo.v-carousel .wb-promo-card { flex: 0 0 min(100%, 960px); scroll-snap-align: start; }

/* ---------- หน้าเนื้อหาอัตโนมัติ (ชิ้นที่ 2): /articles /gallery /people /reviews ---------- */
.wb-page-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.wb-h1.v-page { font-size: clamp(30px, 3.4vw, 44px); }
.wb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wb-chip-link { font-size: 14px; font-weight: 500; color: var(--t2); background: var(--sf); border: 1px solid var(--ln); border-radius: 999px; padding: 7px 14px; }
.wb-chip-link:hover, .wb-chip-link.is-active { color: var(--pt); background: var(--p); border-color: var(--p); }
.wb-chips.v-tags { margin-top: 8px; }
.wb-chips.v-people, .wb-chips.v-product-tags { margin-top: 10px; align-items: center; }
.wb-chips-label { font-size: 13px; color: var(--t3); margin-right: 4px; }
.wb-pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; margin-top: 32px; }
.wb-pager a, .wb-pager span { min-width: 40px; height: 40px; padding: 0 10px; display: grid; place-items: center; border: 1px solid var(--ln); border-radius: var(--rb); background: var(--sf); font-weight: 600; }
.wb-pager span { border-color: transparent; background: transparent; color: var(--t3); min-width: 24px; padding: 0; }   /* "…" ช่วงหน้าที่ข้าม / ลูกศรที่ไม่มีหน้าให้ไป */
.wb-pager a.is-active { background: var(--p); color: var(--pt); border-color: var(--p); }
.wb-notice { background: var(--chip); color: var(--h); border: 1px solid var(--ln); border-radius: var(--r); padding: 12px 16px; font-weight: 500; }
.wb-notice.v-pre { white-space: pre-line; }   /* ข้อความตอบกลับที่ร้านพิมพ์หลายบรรทัดใน textarea */
.wb-articles.v-page { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wb-article-img { width: 100%; height: 100%; object-fit: cover; }
.wb-article-excerpt { color: var(--t2); font-size: 15px; }
.wb-article .wb-h3 a { color: var(--ink); }
.wb-article .wb-h3 a:hover { color: var(--h); }
.wb-article-page { max-width: 820px; margin: 0 auto; width: 100%; display: flex; flex-direction: column; gap: 24px; }
.wb-article-head { display: flex; flex-direction: column; gap: 12px; }
.wb-article-cover { border-radius: var(--r); overflow: hidden; }
.wb-article-cover-img { width: 100%; max-height: 520px; object-fit: cover; }
.wb-lead.v-article { max-width: none; }
.wb-article-nav { padding-top: 16px; border-top: 1px solid var(--ln); font-weight: 600; }
.wb-richtext { display: block; }
.wb-richtext .trix-content { font-size: 17px; line-height: 1.75; }
.wb-richtext .trix-content h1 { font-size: 26px; margin: 24px 0 8px; }
.wb-richtext .trix-content p { margin: 0 0 14px; }
.wb-richtext .trix-content ul, .wb-richtext .trix-content ol { margin: 0 0 14px; padding-left: 24px; }
.wb-richtext .trix-content blockquote { margin: 0 0 14px; padding-left: 16px; border-left: 3px solid var(--a); color: var(--t2); }
.wb-richtext .trix-content pre { background: var(--mu); padding: 12px; border-radius: var(--r); overflow-x: auto; font-size: 14px; }
.wb-richtext .trix-content a { text-decoration: underline; }
.wb-richtext .trix-content figure.attachment { margin: 0 0 16px; }
.wb-richtext .trix-content figure.attachment img { border-radius: var(--r); width: 100%; height: auto; }
.wb-richtext .trix-content .attachment__caption { font-size: 14px; color: var(--t3); text-align: center; margin-top: 6px; }
.wb-richtext .trix-content .attachment-gallery { display: flex; flex-wrap: wrap; gap: 8px; }
.wb-richtext .trix-content .attachment-gallery > .attachment { flex: 1 1 calc(50% - 8px); }
.wb-albums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.wb-album { display: flex; flex-direction: column; gap: 8px; color: var(--ink); }
.wb-album-media { height: 240px; border-radius: var(--r); overflow: hidden; }
.wb-album-img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
@media (hover: hover) { .wb-album:hover .wb-album-img { transform: scale(1.03); } }
.wb-album-name { font-weight: 600; font-size: 18px; }
.wb-gallery-img { width: 100%; height: 100%; object-fit: cover; }
.wb-gallery-item .ph { min-height: 0; height: 100%; }
.wb-gallery-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 12px 10px; font-size: 14px; color: #fff; background: linear-gradient(180deg, transparent, rgba(0,0,0,.65)); }
.wb-gallery-caption strong { font-weight: 600; font-size: 16px; }
.wb-gallery-caption-sub { opacity: .8; font-size: 13px; margin-left: 6px; }
.wb-gallery-grid.v-page { grid-auto-rows: 260px; }
.wb-person-page { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 56px; align-items: start; }
.wb-person-page-media .ph, .wb-person-page-img { width: 100%; height: 460px; object-fit: cover; border-radius: var(--r); }
.wb-person-page-body { display: flex; flex-direction: column; gap: 18px; }
.wb-person-banner { display: block; overflow: hidden; border-radius: var(--r); border: 1px solid var(--ln); background: var(--sf); }
.wb-person-banner-img { display: block; width: 100%; height: auto; }
a.wb-person-banner { transition: border-color .2s, box-shadow .2s; }
@media (hover: hover) { a.wb-person-banner:hover { border-color: var(--a); box-shadow: 0 6px 20px rgba(0,0,0,.12); } }
.wb-review-list.v-page { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wb-review.is-pinned { border-color: var(--a); }
/* รูปแนบรีวิวเป็นสกรีนช็อตแชทแนวตั้งเป็นส่วนใหญ่ — โชว์เต็มรูปไม่ครอป (22 ก.ย. 69 เดิมครอปเหลือแถบสูง 240 px ข้อความในรูปหายไปครึ่ง) */
.wb-review-photo { display: block; border-radius: var(--r); overflow: hidden; text-align: center; }
.wb-review-img { display: block; margin-inline: auto; width: auto; height: auto; max-width: 100%; max-height: 480px; object-fit: contain; }
.wb-stars .is-empty { opacity: .25; }
.wb-rating-inline { display: inline-flex; align-items: center; gap: 8px; }
.wb-review-new .wb-form { max-width: 620px; }
/* หน้าจองคิวเดี่ยว /booking (ชิ้นที่ 4) */
.wb-booking-page .wb-form { max-width: 620px; }
.wb-page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.wb-form-errors { background: var(--chip); border: 1px solid var(--a); border-radius: var(--r); padding: 10px 14px; color: var(--h); font-size: 14px; }
.wb-form-errors b { display: block; margin-bottom: 2px; }
.wb-form-errors:focus { outline: 2px solid var(--ax); outline-offset: 2px; }   /* โฟกัสกล่องหลังส่งไม่ผ่าน (tabindex=-1) ให้ AT/คีย์บอร์ดเจอทันที */
.wb-rate-pick { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.wb-rate-pick input { position: absolute; opacity: 0; width: 0; height: 0; min-height: 0; }
.wb-rate-pick label { cursor: pointer; color: var(--bd); }   /* ดาวว่าง = สีขอบ 3:1 (เดิม --mu 1.4 มองไม่เห็นว่ามีกี่ดาว) */
.wb-rate-pick input:checked ~ label, .wb-rate-pick label:hover, .wb-rate-pick label:hover ~ label { color: var(--ax); }
.wb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- สกินเทมเพลต (html.wb-tpl-<template_key> จาก layout) — docs/10 §2.3 "สกิน CSS เฉพาะเทมเพลต" ----------
   อาจารย์สักยันต์ (mockup 15 ก.ย. 69): หัวข้อทุกบล็อกกึ่งกลาง + เส้นคั่นลายทอง · การ์ดรีวิว/บทความขอบทอง · ประวัติ (image_text) หัวข้อกึ่งกลาง */
html.wb-tpl-tattoo_master .wb-head { flex-direction: column; align-items: center; text-align: center; gap: 8px; margin-bottom: 32px; }
html.wb-tpl-tattoo_master .wb-head > div { align-items: center; }
html.wb-tpl-tattoo_master .wb-head .wb-more { margin-left: 0; }
html.wb-tpl-tattoo_master .wb-head .wb-h2, html.wb-tpl-tattoo_master .wb-h2.v-center, html.wb-tpl-tattoo_master .wb-image_text .wb-h2, html.wb-tpl-tattoo_master .wb-booking .wb-h2 { text-align: center; position: relative; padding-bottom: 18px; }
html.wb-tpl-tattoo_master .wb-head .wb-h2::after, html.wb-tpl-tattoo_master .wb-h2.v-center::after, html.wb-tpl-tattoo_master .wb-image_text .wb-h2::after, html.wb-tpl-tattoo_master .wb-booking .wb-h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 160px; height: 9px; transform: translateX(-50%);
  background: radial-gradient(circle at 50% 50%, var(--a) 0 3px, transparent 3.5px), linear-gradient(90deg, transparent, var(--a) 30%, var(--a) 70%, transparent);
  background-size: 100% 100%, 100% 1px; background-position: center, center; background-repeat: no-repeat; }
html.wb-tpl-tattoo_master .wb-image_text .wb-it-body { align-items: center; text-align: center; }
html.wb-tpl-tattoo_master .wb-image_text .wb-it-media .ph, html.wb-tpl-tattoo_master .wb-it-img { height: 320px; max-width: 420px; margin: 0 auto; border: 1px solid color-mix(in srgb, var(--a) 60%, transparent); box-shadow: 0 14px 34px rgba(0,0,0,.25); }
html.wb-tpl-tattoo_master .wb-review, html.wb-tpl-tattoo_master .wb-article, html.wb-tpl-tattoo_master .wb-faq-item, html.wb-tpl-tattoo_master .wb-form { border-color: color-mix(in srgb, var(--a) 45%, var(--ln)); }
html.wb-tpl-tattoo_master .wb-review blockquote { font-family: var(--font-heading); }
html.wb-tpl-tattoo_master .wb-gallery-item { border: 1px solid color-mix(in srgb, var(--a) 35%, transparent); }
html.wb-tpl-tattoo_master .wb-footer { border-top: 1px solid color-mix(in srgb, var(--a) 40%, transparent); }
/* อาจารย์สักยันต์ · โชว์ผลงาน (mockup 22 ก.ย. 69) = สกิน tattoo_master (layout ใส่ทั้งสอง class ผ่าน Template.skins) + หัวข้อมีเส้นทอง-เพชรสองข้าง "—✦ หัวข้อ ✦—" แทนเส้นใต้ · แผงซ้าย (ผลงาน/บทความ) หัวข้อชิดซ้ายไม่มีเส้น */
html.wb-tpl-tattoo_showcase .wb-head .wb-h2, html.wb-tpl-tattoo_showcase .wb-h2.v-center, html.wb-tpl-tattoo_showcase .wb-booking .wb-h2 { display: flex; align-items: center; justify-content: center; gap: 14px; padding-bottom: 0; }
html.wb-tpl-tattoo_showcase .wb-head .wb-h2::before, html.wb-tpl-tattoo_showcase .wb-h2.v-center::before, html.wb-tpl-tattoo_showcase .wb-booking .wb-h2::before,
html.wb-tpl-tattoo_showcase .wb-head .wb-h2::after, html.wb-tpl-tattoo_showcase .wb-h2.v-center::after, html.wb-tpl-tattoo_showcase .wb-booking .wb-h2::after {
  content: ""; position: static; transform: none; flex: 0 0 64px; width: 64px; height: 9px;
  background: radial-gradient(circle at 50% 50%, var(--a) 0 2.5px, transparent 3px), linear-gradient(90deg, transparent, var(--a) 40%, var(--a) 60%, transparent);
  background-size: 9px 9px, 100% 1px; background-position: 100% center, center; background-repeat: no-repeat; }
html.wb-tpl-tattoo_showcase .wb-head .wb-h2::after, html.wb-tpl-tattoo_showcase .wb-h2.v-center::after, html.wb-tpl-tattoo_showcase .wb-booking .wb-h2::after { background-position: 0 center, center; }
html.wb-tpl-tattoo_showcase .wb-image_text .wb-h2 { padding-bottom: 0; }
html.wb-tpl-tattoo_showcase .wb-image_text .wb-h2::after { display: none; }
html.wb-tpl-tattoo_showcase .wb-image_text.v-quote .wb-it-body { align-items: flex-start; text-align: left; }
html.wb-tpl-tattoo_showcase .wb-gallery-panel .wb-h2, html.wb-tpl-tattoo_showcase .wb-article-panel .wb-h2 { display: block; text-align: left; }
html.wb-tpl-tattoo_showcase .wb-gallery-panel .wb-h2::before, html.wb-tpl-tattoo_showcase .wb-gallery-panel .wb-h2::after, html.wb-tpl-tattoo_showcase .wb-article-panel .wb-h2::before, html.wb-tpl-tattoo_showcase .wb-article-panel .wb-h2::after { display: none; }
html.wb-tpl-tattoo_showcase .wb-service { border-color: transparent; }
/* แถบจองคิวพื้นรูปของเทมเพลตนี้ (mockup): หัวข้อ+ข้อความ+ปุ่มชิดซ้าย · คำคม/ลายเซ็นขวา (เทมเพลตอื่นยังกึ่งกลาง) */
html.wb-tpl-tattoo_showcase .wb-cta.has-bg .wb-cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "text quote" "actions quote"; text-align: left; justify-items: start; align-items: center; gap: 20px 40px; padding: 56px 48px; }
html.wb-tpl-tattoo_showcase .wb-cta.has-bg .wb-cta-text { grid-area: text; }
html.wb-tpl-tattoo_showcase .wb-cta.has-bg .wb-cta-actions { grid-area: actions; justify-content: flex-start; }
html.wb-tpl-tattoo_showcase .wb-cta.has-bg .wb-cta-quote { grid-area: quote; max-width: 320px; text-align: right; justify-self: end; font-style: italic; font-size: 24px; }
html.wb-tpl-tattoo_showcase .wb-cta.has-bg .wb-cta-quote cite { font-family: var(--font-heading); font-size: 20px; }
/* อาจารย์สักยันต์ · ศรัทธา (mockup 22 ก.ย. 69 รอบสอง · โทนกรมท่า-ทอง) = สกิน tattoo_master + tattoo_showcase (Template.skins 3 class) + ปุ่มหลัก/ปุ่มเด่นบนเมนูไล่เฉดทอง
   · การ์ดบริการ (services v-four) ตราสัญลักษณ์+ข้อความชิดซ้าย · ผลงาน (gallery v-strip) หัวข้อกึ่งกลาง ลิงก์ "อัลบั้มทั้งหมด" เป็นปุ่มขอบ · บทความแผง (article_list v-panel) ชื่อ/วันที่ใต้รูปบนการ์ดกรมท่า ไม่ทับรูป */
html.wb-tpl-tattoo_faith .wb-btn:not(.v-outline):not(.v-ghost):not(.v-light):not(.v-line):not(.v-cta), html.wb-tpl-tattoo_faith .wb-nav-cta.v-primary { background: linear-gradient(135deg, var(--ph) 0%, var(--p) 55%, color-mix(in srgb, var(--p) 80%, #000) 100%); border-color: transparent; box-shadow: 0 6px 18px rgba(0,0,0,.35), 0 0 0 1px color-mix(in srgb, var(--a) 50%, transparent) inset; }
html.wb-tpl-tattoo_faith .wb-btn:not(.v-outline):not(.v-ghost):not(.v-light):not(.v-line):not(.v-cta):hover, html.wb-tpl-tattoo_faith .wb-nav-cta.v-primary:hover { background: linear-gradient(135deg, var(--ph) 0%, var(--ph) 40%, var(--p) 100%); }
html.wb-tpl-tattoo_faith .wb-service { border-color: color-mix(in srgb, var(--a) 30%, var(--ln)); }
html.wb-tpl-tattoo_faith .wb-services.v-four .wb-service-body, html.wb-tpl-tattoo_faith .wb-services.v-three .wb-service-body { align-items: flex-start; text-align: left; padding: 16px 20px 22px; }
html.wb-tpl-tattoo_faith .wb-service-link { color: var(--ax); font-weight: 600; }
html.wb-tpl-tattoo_faith .wb-gallery.v-strip .wb-head .wb-sub, html.wb-tpl-tattoo_ivory .wb-gallery.v-strip .wb-head .wb-sub { font-style: italic; }
html.wb-tpl-tattoo_faith .wb-gallery.v-strip .wb-more, html.wb-tpl-tattoo_ivory .wb-gallery.v-strip .wb-more { border: 1.5px solid color-mix(in srgb, var(--a) 60%, transparent); border-radius: var(--rb); padding: 8px 16px; font-size: 14px; color: var(--ax); }
html.wb-tpl-tattoo_faith .wb-gallery.v-strip .wb-more:hover, html.wb-tpl-tattoo_ivory .wb-gallery.v-strip .wb-more:hover { background: var(--chip); }
html.wb-tpl-tattoo_faith .wb-gallery.v-strip .wb-gallery-item, html.wb-tpl-tattoo_ivory .wb-gallery.v-strip .wb-gallery-item { flex: 0 0 240px; height: 200px; border-color: color-mix(in srgb, var(--a) 30%, transparent); }
html.wb-tpl-tattoo_faith .wb-article_list.v-panel .wb-article { aspect-ratio: auto; display: flex; flex-direction: column; background: var(--sf); }
html.wb-tpl-tattoo_faith .wb-article_list.v-panel .wb-article-media { position: static; height: 150px; }
html.wb-tpl-tattoo_faith .wb-article_list.v-panel .wb-article-body { position: static; padding: 14px 16px 16px; background: none; color: inherit; }
html.wb-tpl-tattoo_faith .wb-article_list.v-panel .wb-article .wb-h3 a { color: var(--ink); }
html.wb-tpl-tattoo_faith .wb-article_list.v-panel .wb-article .wb-h3 a:hover { color: var(--ax); }
html.wb-tpl-tattoo_faith .wb-article_list.v-panel .wb-article .wb-tiny { color: var(--t3); }
html.wb-tpl-tattoo_faith .wb-article_list.v-panel .wb-article :focus-visible { outline-color: var(--ax); }
html.wb-tpl-tattoo_faith .wb-hero.v-feature .wb-hero-media::after { background: linear-gradient(90deg, color-mix(in srgb, var(--bg) 92%, transparent) 0%, color-mix(in srgb, var(--bg) 75%, transparent) 34%, color-mix(in srgb, var(--bg) 25%, transparent) 62%, color-mix(in srgb, var(--bg) 55%, transparent) 100%), linear-gradient(180deg, color-mix(in srgb, var(--bg) 35%, transparent), transparent 30%, transparent 70%, color-mix(in srgb, var(--bg) 65%, transparent)); }
/* อาจารย์สักยันต์ · งาช้าง (mockup 22 ก.ย. 69 รอบสาม · โทนสว่าง ครีมงาช้าง-ทอง · แทนเทมเพลต "ร้านค้าทั่วไป") = สกิน tattoo_master + tattoo_showcase (หัวข้อเส้นทอง-เพชร · cta ซ้าย/ขวา · แผงบทความชื่อทับรูป) + ของตัวเอง:
   variant ที่ฝังโทนมืดไว้ (hero feature พื้น --foot ตัวขาว · services overlay เงาดำตัวขาว · ฟุตเตอร์ --foot) ทับเป็นสว่างตาม mockup — hero รูปจางเข้าครีมจากซ้าย ตัวอักษรน้ำตาลเข้ม · การ์ดบริการรูปจางลงเป็นครีมที่ปลายล่าง ชื่อเข้ม
   · ฟุตเตอร์ครีม (ชุดสี ivory_gold ยังเก็บ foot เข้มไว้ให้ dark_tone ของบล็อกอื่น) · ปุ่มหลักไล่เฉดทองเงาอ่อน (เงาดำ .35 ของศรัทธาหนักไปบนพื้นสว่าง) · แถบรูปเลื่อน/ปุ่มขอบ ใช้กฎร่วมกับศรัทธาด้านบน */
html.wb-tpl-tattoo_ivory .wb-btn:not(.v-outline):not(.v-ghost):not(.v-light):not(.v-line):not(.v-cta), html.wb-tpl-tattoo_ivory .wb-nav-cta.v-primary, html.wb-tpl-tattoo_ivory .wb-cta.t-url .wb-btn.v-cta { background: linear-gradient(135deg, color-mix(in srgb, var(--p) 78%, var(--a)) 0%, var(--p) 55%, var(--ph) 100%); border-color: transparent; box-shadow: 0 6px 16px color-mix(in srgb, var(--p) 28%, transparent), 0 0 0 1px color-mix(in srgb, var(--a) 55%, transparent) inset; }
html.wb-tpl-tattoo_ivory .wb-btn:not(.v-outline):not(.v-ghost):not(.v-light):not(.v-line):not(.v-cta):hover, html.wb-tpl-tattoo_ivory .wb-nav-cta.v-primary:hover, html.wb-tpl-tattoo_ivory .wb-cta.t-url .wb-btn.v-cta:hover { background: linear-gradient(135deg, var(--p) 0%, var(--ph) 60%, var(--ph) 100%); }
html.wb-tpl-tattoo_ivory .wb-hero.v-feature { background: var(--bg); color: var(--ink); }
html.wb-tpl-tattoo_ivory .wb-hero.v-feature .wb-hero-media::after { background: linear-gradient(90deg, color-mix(in srgb, var(--bg) 97%, transparent) 0%, color-mix(in srgb, var(--bg) 92%, transparent) 38%, color-mix(in srgb, var(--bg) 22%, transparent) 66%, color-mix(in srgb, var(--bg) 40%, transparent) 100%), linear-gradient(180deg, color-mix(in srgb, var(--bg) 30%, transparent), transparent 30%, transparent 70%, color-mix(in srgb, var(--bg) 70%, transparent)); }
html.wb-tpl-tattoo_ivory .wb-hero.v-feature .wb-h1 { color: var(--h); text-shadow: none; }
html.wb-tpl-tattoo_ivory .wb-hero.v-feature .wb-lead { color: var(--t2); }
html.wb-tpl-tattoo_ivory .wb-hero.v-feature .wb-hero-tags { color: var(--ink); font-size: 16px; letter-spacing: .04em; }
html.wb-tpl-tattoo_ivory .wb-hero.v-feature .wb-hero-tags span + span::before { color: var(--a); opacity: 1; }
html.wb-tpl-tattoo_ivory .wb-hero.v-feature .wb-btn.v-outline { color: var(--ink); border-color: var(--bd); background: color-mix(in srgb, var(--sf) 70%, transparent); }
html.wb-tpl-tattoo_ivory .wb-hero.v-feature .wb-btn.v-outline:hover { background: var(--sf); color: var(--h); }
html.wb-tpl-tattoo_ivory .wb-hero.v-feature .wb-line-pill { background: var(--sf); border-color: var(--a); color: var(--ax); }
html.wb-tpl-tattoo_ivory .wb-hero.v-feature .wb-line-pill:hover { background: var(--chip); color: var(--h); }
html.wb-tpl-tattoo_ivory .wb-hero.v-feature .wb-hero-quote.v-right { color: var(--ink); font-family: var(--font-heading); padding: 14px 18px; border-radius: var(--r); background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(6px); }   /* คำคมทับรูป = แผ่นครีมโปร่งให้อ่านออก (โทนมืดใช้เงาดำ) */
html.wb-tpl-tattoo_ivory .wb-hero.v-feature .wb-hero-quote.v-right cite { color: var(--ax); }
html.wb-tpl-tattoo_ivory .wb-hero.v-feature :focus-visible { outline-color: var(--ax); }
html.wb-tpl-tattoo_ivory .wb-services.v-overlay .wb-service { aspect-ratio: 4 / 3.4; background: var(--sf); border-color: color-mix(in srgb, var(--a) 40%, var(--ln)); box-shadow: 0 10px 26px color-mix(in srgb, var(--ink) 8%, transparent); }
html.wb-tpl-tattoo_ivory .wb-services.v-overlay .wb-service-media::after { background: linear-gradient(180deg, transparent 28%, color-mix(in srgb, var(--sf) 72%, transparent) 55%, var(--sf) 82%); }
html.wb-tpl-tattoo_ivory .wb-services.v-overlay .wb-service-body { color: var(--ink); padding: 0 18px 18px; }
html.wb-tpl-tattoo_ivory .wb-services.v-overlay .wb-service .wb-h3 { color: var(--h); text-shadow: none; font-size: 24px; }
html.wb-tpl-tattoo_ivory .wb-services.v-overlay .wb-service p, html.wb-tpl-tattoo_ivory .wb-services.v-overlay .wb-service-meta { color: var(--t2); }
html.wb-tpl-tattoo_ivory .wb-services.v-overlay .wb-service-price { color: var(--ax); background: var(--chip); }
html.wb-tpl-tattoo_ivory .wb-services.v-overlay .wb-service-link { color: var(--ax); font-weight: 600; }
html.wb-tpl-tattoo_ivory .wb-services.v-overlay .wb-service-link:hover { color: var(--h); }
html.wb-tpl-tattoo_ivory .wb-services.v-overlay :focus-visible { outline-color: var(--ax); }
/* แผงซ้ายของบทความ/ผลงาน + แถบจองคิว (v-band) = ครีมเข้มขึ้นตาม mockup แทนแถบเข้ม --band (ชุดสีเก็บ band เข้มไว้ตามกติกา) · มีรูปพื้นหลัง = เงาครีมโปร่งแทนเงาเข้ม */
html.wb-tpl-tattoo_ivory .wb-article-panel, html.wb-tpl-tattoo_ivory .wb-gallery-panel { background: var(--chip); color: var(--ink); border: 1px solid color-mix(in srgb, var(--a) 45%, var(--ln)); }
html.wb-tpl-tattoo_ivory .wb-article-panel .wb-h2, html.wb-tpl-tattoo_ivory .wb-gallery-panel .wb-h2 { color: var(--h); }
html.wb-tpl-tattoo_ivory .wb-article-panel .wb-sub, html.wb-tpl-tattoo_ivory .wb-gallery-panel .wb-sub { color: var(--t2); }
html.wb-tpl-tattoo_ivory .wb-article-panel .wb-btn { box-shadow: 0 6px 16px color-mix(in srgb, var(--p) 28%, transparent), 0 0 0 1px color-mix(in srgb, var(--a) 55%, transparent) inset; }
html.wb-tpl-tattoo_ivory .wb-gallery.v-panel .wb-gallery-panel .wb-btn.v-outline { color: var(--ink); border-color: var(--bd); }
html.wb-tpl-tattoo_ivory .wb-gallery.v-panel .wb-gallery-panel .wb-btn.v-outline:hover { background: var(--sf); color: var(--h); }
html.wb-tpl-tattoo_ivory .wb-article-panel :focus-visible, html.wb-tpl-tattoo_ivory .wb-gallery-panel :focus-visible, html.wb-tpl-tattoo_ivory .wb-cta.v-band .wb-cta-inner :focus-visible { outline-color: var(--ax); }
html.wb-tpl-tattoo_ivory .wb-cta.v-band .wb-cta-inner { background: var(--chip); color: var(--ink); border-color: color-mix(in srgb, var(--a) 55%, var(--ln)); }
html.wb-tpl-tattoo_ivory .wb-cta.v-band .wb-cta-head { color: var(--h); }
html.wb-tpl-tattoo_ivory .wb-cta.v-band .wb-cta-sub { color: var(--t2); }
html.wb-tpl-tattoo_ivory .wb-cta.v-band .wb-cta-quote { color: var(--ax); order: 3; text-align: right; font-style: italic; }   /* คำคม/ลายเซ็นขวาสุดตาม mockup (partial วางคำคมไว้ก่อน) · ไม่มีรูป = flex เรียงตาม order · มีรูป = grid ของสกินโชว์ผลงานจัดขวาอยู่แล้ว */
html.wb-tpl-tattoo_ivory .wb-cta.v-band .wb-cta-inner .wb-line-pill { background: var(--sf); border-color: var(--a); color: var(--ax); }
html.wb-tpl-tattoo_ivory .wb-cta.v-band .wb-cta-inner .wb-line-pill:hover { background: var(--ph1); color: var(--h); }
html.wb-tpl-tattoo_ivory .wb-cta.v-band .wb-cta-bg::after { background: radial-gradient(ellipse at center, color-mix(in srgb, var(--chip) 68%, transparent), color-mix(in srgb, var(--chip) 90%, #fff)); }
html.wb-tpl-tattoo_ivory .wb-footer { background: var(--sf); color: var(--t2); border-top: 1px solid color-mix(in srgb, var(--a) 45%, var(--ln)); }
html.wb-tpl-tattoo_ivory .wb-footer a { color: var(--t2); }
html.wb-tpl-tattoo_ivory .wb-footer a:hover, html.wb-tpl-tattoo_ivory .wb-footer-brand, html.wb-tpl-tattoo_ivory .wb-footer-head { color: var(--h); }
html.wb-tpl-tattoo_ivory .wb-footer-muted { color: var(--t3); }
html.wb-tpl-tattoo_ivory .wb-footer-cols { border-bottom-color: var(--ln); }
html.wb-tpl-tattoo_ivory .wb-footer :focus-visible { outline-color: var(--ax); }

/* ---------- ว่าง / 404 ---------- */
.wb-empty { text-align: center; min-height: 50vh; min-height: 50svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.wb-empty p { color: var(--t2); }

/* ลดการเคลื่อนไหวตามที่ผู้ใช้ตั้ง (audit P3 18 ก.ย. 69 · กฎกลางเดียวกับหลังบ้าน application.css): transition ทั้ง 6 จุด (ยกการ์ดบริการ · ซูมรูปสินค้า/อัลบั้ม/คลิป · หมุน + ของ FAQ · ปุ่มลอย) หยุดนิ่ง แต่สถานะปลายทาง (สี/ขอบ) ยังเปลี่ยนตามปกติ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- มือถือ ---------- */
@media (max-width: 900px) {
  .wb { --wb-gap: 20px; --wb-band-gap: 32px; padding-left: 20px; padding-right: 20px; }
  /* ต้อง minmax(0,1fr) ไม่ใช่ 1fr — 1fr = min-content ของลูก: ปุ่มช่วงเวลาคิว (auto-fill 118px × 7) ดันฟอร์มจองกว้าง 760px ทั้งหน้าเลื่อนแนวนอน (ตรวจธีม 16 ก.ย. 69) */
  .wb-hero, .wb-image_text, .wb-people.v-profile, .wb-faq, .wb-booking, .wb-location, .wb-video.v-side, .wb-contact.v-list_map .wb-location { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .wb-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .wb-video-play { right: 6px; bottom: 6px; }
  .wb-video-play svg { width: 30px; height: 30px; padding: 7px; }
  .wb-hero-media .ph, .wb-hero-img, .wb-it-media .ph, .wb-it-img { height: 260px; }
  .wb-image_text.src-person .wb-it-img, .wb-people.v-profile .wb-people-media .ph, .wb-people-img { height: auto; }
  /* รูปคนแนวตั้ง 3:4 บนคอลัมน์เดียว: เต็มกว้าง 335px = สูง 447px เกือบเต็มจอ (เจ้าของ 22 ก.ย. 69 "รูปฝั่งมือถือใหญ่มาก") → จำกัดกว้าง 240px (สูง 320px) */
  .wb-image_text.src-person .wb-it-img, .wb-image_text.v-quote.src-person .wb-it-img { max-width: 240px; }
  .wb-people.v-profile .wb-people-media { max-width: 260px; margin: 0 auto; width: 100%; }
  .wb-people.v-profile.has-full .wb-people-media { position: static; }   /* คอลัมน์เดียว รูปอยู่บนข้อความ ไม่ต้องติดตามเลื่อน */
  .wb-hero { padding-top: 40px; }
  .wb-hero-body { order: 2; }
  .wb-hero-media { order: 1; }
  .wb-hero.v-cover .wb-hero-body { min-height: 480px; }
  .wb-products, .wb-articles, .wb-review-list, .wb-gallery-grid, .wb-albums,
  .wb-articles.v-page, .wb-review-list.v-page { grid-template-columns: repeat(2, minmax(0, 1fr)); }   /* .v-page ต้องเขียนซ้ำ — specificity สูงกว่ากฎบนสุด ไม่งั้นหน้า /articles /reviews ยัง 3 คอลัมน์บนมือถือ */
  .wb-person-page { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .wb-person-page-media .ph, .wb-person-page-img { height: 300px; }
  .wb-gallery-grid.v-page { grid-auto-rows: 180px; }
  .v-feature .wb-products, .v-featured .wb-articles, .wb-reviews.v-featured .wb-review-list { grid-template-columns: minmax(0, 1fr); }
  .wb-product-page { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .wb-products.v-page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wb-products.cols-3, .wb-products.cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wb-product-slider .wb-products, .wb-product-slider .wb-products.cols-3, .wb-product-slider .wb-products.cols-5 { --cols: 2.4; --gap: 14px; }
  .wb-product-slider .wb-product-media { height: 200px; }
  .wb-slider-btn, .wb-products.cols-5 ~ .wb-slider-btn { top: 100px; width: 38px; height: 38px; }
  .wb-slider-btn.v-prev { left: -6px; }
  .wb-slider-btn.v-next { right: -6px; }
  .v-feature .wb-product:first-child, .v-featured .wb-article:first-child, .wb-reviews.v-featured .wb-review:first-child { grid-row: auto; }
  .v-feature .wb-product:first-child .wb-product-media { height: 320px; min-height: 0; }   /* คอลัมน์เดียวไม่มี grid row กำหนดสูง — height:100% กลายเป็นสูงจริงของรูป */
  .v-featured .wb-article:first-child .wb-article-media { height: 220px; min-height: 0; }
  .wb-gallery-grid { grid-auto-rows: 140px; }
  .wb-footer-cols, .wb-promo-card, .wb-promo.v-pair .wb-promos { grid-template-columns: minmax(0, 1fr); }
  .wb-form-row { grid-template-columns: minmax(0, 1fr); }   /* 1fr เฉยๆ = คอลัมน์กว้างเท่า min-content ของ input → ล้นการ์ดบนมือถือ */
  .wb-contact.v-map_full .wb-location-map, .wb-contact.v-map_full .wb-location-map iframe { min-height: 320px; }   /* มือถือ 460 สูงเกินครึ่งจอ · การ์ดข้อมูลอยู่ใต้แผนที่แล้ว */
  .wb-contact.v-map_full .wb-location-info { position: static; max-width: none; margin-top: 16px; }
  .wb-cta-inner { padding: 28px 24px; }
  .wb-cta-actions { margin-left: 0; align-items: flex-start; }
  .wb-cta-quote { flex: none; }
  .wb-hero.v-slides { padding-top: 0; }
  .wb-slides-btn { width: 36px; height: 36px; }
  .wb-slides-btn.v-prev { left: 8px; }
  .wb-slides-btn.v-next { right: 8px; }
  .wb-hero-slides-ph { height: 220px; }
  .wb-hero.v-collage { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .wb-hero.v-collage .wb-hero-side { min-height: 240px; order: 3; }
  .wb-hero.v-collage .wb-hero-side.v-left { order: 1; }
  .wb-hero.v-collage .wb-hero-side.v-left::after, .wb-hero.v-collage .wb-hero-side.v-right::after { background: linear-gradient(180deg, rgba(0,0,0,.45), color-mix(in srgb, var(--band) 35%, transparent) 60%, var(--band)); }
  .wb-hero.v-collage .wb-hero-body { order: 2; padding: 40px 20px; }
  .wb-hero.v-collage .wb-hero-side.v-right { display: none; }
  html.wb-nav-overlay .wb-hero.v-collage .wb-hero-body { padding-top: 40px; }
  .wb-hero.v-feature { grid-template-columns: minmax(0, 1fr); padding: 56px 20px 40px; min-height: 0; }
  .wb-hero.v-feature .wb-hero-media::after { background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.8) 60%, rgba(0,0,0,.92)); }
  .wb-hero.v-feature .wb-hero-body { order: 1; }
  .wb-hero-quote.v-right { order: 2; text-align: left; justify-self: start; font-size: 20px; }
  .wb-image_text.v-quote { grid-template-columns: minmax(0, 1fr); }
  .wb-image_text.v-quote .wb-it-media .ph, .wb-image_text.v-quote .wb-it-img { height: 300px; }
  .wb-it-quote { text-align: left; }
  .wb-gallery.v-panel, .wb-article_list.v-panel { grid-template-columns: minmax(0, 1fr); }
  .wb-gallery.v-panel .wb-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 110px; }
  .wb-article_list.v-panel .wb-articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wb-gallery.v-panel > .wb-sub, .wb-article_list.v-panel > .wb-sub { grid-column: 1; }
  .wb-steps.v-row .wb-step { flex-basis: 45%; max-width: none; padding: 0 12px; }
  .wb-steps.v-row .wb-step + .wb-step::before { display: none; }
  html.wb-tpl-tattoo_showcase .wb-cta.has-bg .wb-cta-inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "actions" "quote"; padding: 32px 24px; }
  html.wb-tpl-tattoo_showcase .wb-cta.has-bg .wb-cta-quote { text-align: left; justify-self: start; }
  html.wb-tpl-tattoo_faith .wb-gallery.v-strip .wb-gallery-item, html.wb-tpl-tattoo_ivory .wb-gallery.v-strip .wb-gallery-item { flex-basis: 200px; height: 160px; }
  html.wb-tpl-tattoo_faith .wb-hero.v-feature .wb-hero-media::after { background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 45%, transparent), color-mix(in srgb, var(--bg) 82%, transparent) 60%, color-mix(in srgb, var(--bg) 94%, transparent)); }
  html.wb-tpl-tattoo_ivory .wb-hero.v-feature .wb-hero-media::after { background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 30%, transparent), color-mix(in srgb, var(--bg) 88%, transparent) 55%, color-mix(in srgb, var(--bg) 97%, transparent)); }
  .wb-service-list, .wb-services.v-three .wb-service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wb-services.v-list .wb-service { flex-direction: column; }
  .wb-services.v-list .wb-service-media { flex: none; aspect-ratio: 16 / 9; }
  .wb-cta-inner .wb-btn.v-cta { margin-left: 0; }
  .wb-countdown-num { margin-left: 0; }
  .wb-event { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 14px 16px; }
  .wb-event-date { min-height: 64px; padding: 6px 4px; }
  .wb-event-day { font-size: 24px; }
  .wb-event-actions { grid-column: 2; }
  .wb-events.v-cards .wb-event-list { grid-template-columns: minmax(0, 1fr); }
  .wb-events.v-cards .wb-event { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .wb-events.v-cards .wb-event-actions { grid-column: 1; }
  .wb-events.v-timeline .wb-event { grid-template-columns: minmax(0, 1fr); }
  .wb-events.v-timeline .wb-event-actions { grid-row: auto; grid-column: 1; }
  .wb-nav { flex-wrap: wrap; gap: 12px; padding: 12px 20px; }
  /* <button aria-expanded> — JS ท้าย layout สลับ .is-open · พื้นที่กด 44×44 (audit P2: เดิมเท่าไอคอน 22px) margin ลบให้ไอคอนยังชิดขอบเดิม · border-radius ให้วงโฟกัสมนตาม */
  .wb-menu-btn { display: grid; place-items: center; margin-left: auto; margin-right: -11px; min-width: 44px; min-height: 44px; cursor: pointer; background: none; border: 0; border-radius: var(--rb); padding: 0; color: inherit; }
  .wb-menu { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 0 12px; }
  .wb-menu a { padding: 8px 0; }
  .wb-nav.is-open .wb-menu { display: flex; }
  .wb-nav.v-center { flex-direction: row; }
  .wb-nav.v-overlay { position: static; background: var(--sf); color: var(--ink); border-bottom: 1px solid var(--ln); }
  .wb-nav.v-overlay .wb-brand-name, .wb-nav.v-overlay .wb-menu a { color: var(--h); text-shadow: none; }
  .wb-nav.v-overlay :focus-visible { outline-color: var(--ax); }   /* มือถือแถบเมนูกลับเป็นพื้นการ์ด ไม่ทับรูปแล้ว */
  html.wb-nav-overlay .wb-hero:not(.v-cover) { padding-top: 40px; }
  .wb-footer { flex-direction: column; align-items: flex-start; }
  .wb-footer-copy { margin-left: 0; }
}
@media (max-width: 520px) {
  .wb-review-img { max-height: 400px; }   /* สกรีนช็อตแชทแนวตั้งไม่ครอป (22 ก.ย.) แต่เพดาน 620 ทำการ์ดยาวเกินจอ → 400 (เจ้าของ 23 ก.ย. 69) · v-strip ยัง 300 */
  .wb-products, .wb-review-list, .wb-albums,
  .wb-review-list.v-page { grid-template-columns: minmax(0, 1fr); }
  .wb-articles, .wb-articles.v-page { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }   /* บทความมือถือ 2 คอลัมน์แบบแท็บเล็ต (เจ้าของ 23 ก.ย. 69) · v-featured/v-list ไม่เปลี่ยน */
  .v-featured .wb-articles { grid-template-columns: minmax(0, 1fr); }
  .wb-article-media { height: 120px; }
  .wb-article .wb-h3 { font-size: 16px; }
  .wb-article-excerpt { font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .wb-products.v-page { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .wb-products.cols-3, .wb-products.cols-5 { grid-template-columns: minmax(0, 1fr); }
  .wb-product-slider .wb-products, .wb-product-slider .wb-products.cols-3, .wb-product-slider .wb-products.cols-5 { --cols: 1.6; --gap: 12px; }
  .wb-product-slider .wb-product-media { height: 180px; }
  .wb-slider-btn, .wb-products.cols-5 ~ .wb-slider-btn { top: 90px; }
  .wb-product-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wb-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wb-service-list, .wb-services.v-three .wb-service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }   /* มือถือ 2 คอลัมน์แบบแท็บเล็ต (เจ้าของ 23 ก.ย. 69 "ให้โชว์เป็น 4 รูปแบบ Tablet") */
  .wb-services.v-four .wb-service-body, .wb-services.v-three .wb-service-body { padding: 12px 12px 16px; }
  .wb-services.v-four .wb-service .wb-h3, .wb-services.v-three .wb-service .wb-h3 { font-size: 18px; }
  .wb-services.v-four .wb-service p, .wb-services.v-three .wb-service p { font-size: 13.5px; }
  .wb-form { padding: 20px; }
  .wb-services.v-overlay .wb-service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  html.wb-tpl-tattoo_ivory .wb-services.v-overlay .wb-service { aspect-ratio: 3 / 4; }   /* 2 คอลัมน์แคบ การ์ด 4:3.4 เตี้ยจนข้อความกินทั้งใบ → ยืดสูงให้เห็นรูปด้านบน */
  html.wb-tpl-tattoo_ivory .wb-services.v-overlay .wb-service-media::after { background: linear-gradient(180deg, transparent 22%, color-mix(in srgb, var(--sf) 75%, transparent) 48%, var(--sf) 72%); }
  html.wb-tpl-tattoo_ivory .wb-services.v-overlay .wb-service .wb-h3 { font-size: 20px; }
  .wb-services.v-overlay .wb-service .wb-h3 { font-size: 20px; }
  /* แกลเลอรีแบบแผงบนมือถือ: แผงย่อ (หัว 22px · ปุ่มเป็นลิงก์) + รูปย่อ 3 ต่อแถว 110px ไม่มีใบใหญ่ 2×2 · คำบรรยายบรรทัดเดียวตัด … (เจ้าของ 23 ก.ย. 69 "ยาวไป ชื่อหัวข้อยาวไป") */
  .wb-gallery.v-panel .wb-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 110px; gap: 8px; }
  .wb-gallery.v-panel .wb-gallery-item:first-child { grid-column: auto; grid-row: auto; }
  .wb-gallery.v-panel .wb-gallery-panel { padding: 18px 18px 16px; gap: 6px; }
  .wb-gallery.v-panel .wb-gallery-panel .wb-h2 { font-size: 22px; }
  .wb-gallery.v-panel .wb-gallery-panel .wb-sub { font-size: 14px; }
  .wb-gallery.v-panel .wb-gallery-panel .wb-btn.v-outline { margin-top: 4px; padding: 6px 12px; font-size: 14px; border: 0; padding-left: 0; }
  .wb-gallery.v-panel .wb-gallery-caption { padding: 18px 8px 6px; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .wb-gallery.v-panel .wb-gallery-caption strong { font-size: 13px; }
  .wb-gallery.v-panel .wb-gallery-caption-sub { display: none; }
  .wb-gallery.v-panel .wb-gallery-item:not(.v-more):nth-child(n+6) { display: none; }   /* มือถือโชว์รูป ≤ 5 + ช่องดูเพิ่มเติม = เต็ม 2 แถวพอดี ไม่เหลือช่องเดียวโดดแถวสาม */
  .wb-article_list.v-panel .wb-articles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .wb-article_list.v-panel .wb-article .wb-h3 { font-size: 15px; }
  .wb-article_list.v-panel .wb-article-body { padding: 28px 10px 10px; }
  /* ขั้นตอนบนมือถือ: 2 คอลัมน์ (4 ขั้น = 2 แถว) เลขเล็ก 28px เหนือหัวข้อ · timeline = เลขซ้ายข้อความขวา · cards คงเดิม (เจ้าของ 23 ก.ย. 69 "ยาวไป" สองรอบ) */
  .wb-steps:not(.v-cards) { padding-top: 36px; padding-bottom: 36px; }
  .wb-steps:not(.v-cards):not(.v-timeline) .wb-step-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .wb-steps:not(.v-cards):not(.v-timeline) .wb-step { flex-direction: column; align-items: flex-start; text-align: left; gap: 6px; padding: 0; max-width: none; }
  .wb-steps:not(.v-cards) .wb-step-num { width: 28px; height: 28px; font-size: 14px; box-shadow: none; }
  .wb-steps:not(.v-cards) .wb-step-body { display: flex; flex-direction: column; gap: 2px; }
  .wb-steps:not(.v-cards) .wb-step .wb-h3 { font-size: 15px; line-height: 1.3; }
  .wb-steps:not(.v-cards) .wb-step p { font-size: 13px; line-height: 1.45; }
  .wb-steps.v-timeline .wb-step-list { display: flex; flex-direction: column; gap: 0; }
  .wb-steps.v-timeline .wb-step { flex-direction: row; gap: 12px; padding-bottom: 16px; }
  .wb-steps.v-timeline .wb-step::before { left: 13px; top: 28px; }
  .wb-step-cta { margin-top: 20px; }
  /* บล็อกรูป+ข้อความที่ดึงจากอาจารย์ (src-person) บนมือถือ: รูปซ้ายเล็ก 120px + ข้อความขวา แทนซ้อนรูปบนข้อความ (เจ้าของ 23 ก.ย. 69 "ยาวเกินไป ใช้พื้นที่เยอะ") · v-stacked คงเดิม · คำคมของ v-quote ลงล่างเต็มกว้าง */
  .wb-image_text.src-person:not(.v-stacked) { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: start; }
  .wb-image_text.src-person:not(.v-stacked) .wb-it-media { order: 0; }
  .wb-image_text.src-person:not(.v-stacked) .wb-it-img, .wb-image_text.v-quote.src-person .wb-it-img { max-width: none; width: 100%; height: auto; aspect-ratio: 3 / 4; margin: 0; }
  .wb-image_text.src-person:not(.v-stacked) .wb-it-body { gap: 8px; align-items: flex-start; text-align: left; }
  .wb-image_text.src-person:not(.v-stacked) .wb-h2 { font-size: 20px; line-height: 1.3; }
  .wb-image_text.src-person:not(.v-stacked) .wb-prose { font-size: 14px; }
  .wb-image_text.src-person:not(.v-stacked) .wb-btn { padding: 8px 14px; font-size: 14px; }
  .wb-image_text.v-quote.src-person .wb-it-quote { grid-column: 1 / -1; }
  html.wb-tpl-tattoo_master .wb-image_text.src-person:not(.v-stacked) .wb-it-body { align-items: flex-start; text-align: left; }
  html.wb-tpl-tattoo_master .wb-image_text.src-person:not(.v-stacked) .wb-h2 { text-align: left; padding-bottom: 12px; }
  html.wb-tpl-tattoo_master .wb-image_text.src-person:not(.v-stacked) .wb-h2::after { left: 0; transform: none; width: 120px; }
}

/* ---- บล็อกของหน้าขายระบบ samnak108.com (platform_only · 28 ก.ย. 69): แพ็กเกจราคา · เว็บลูกค้าที่ใช้จริง · เทมเพลต ---- */
.wb-plans-chip { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--ax); background: var(--chip); border-radius: 999px; padding: 6px 16px; }
.wb-plans-toggle { display: flex; width: fit-content; margin: 0 auto 36px; gap: 4px; padding: 5px; background: var(--sf); border: 1px solid var(--ln); border-radius: calc(var(--r) + 4px); }
.wb-plans-toggle button { border: 0; background: transparent; color: var(--h); font: inherit; font-weight: 600; font-size: 15px; padding: 10px 22px; border-radius: var(--r); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.wb-plans-toggle button span { font-size: 12px; color: var(--ax); background: var(--chip); border-radius: 999px; padding: 2px 10px; }
.wb-plans-toggle button[aria-pressed="true"] { background: var(--p); color: var(--pt); }
.wb-plans-toggle button[aria-pressed="true"] span { background: rgba(255,255,255,.2); color: inherit; }
.wb-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; max-width: 1180px; margin: 0 auto; }
.wb-plan { position: relative; display: flex; flex-direction: column; gap: 10px; background: var(--sf); color: var(--ink); border: 1px solid var(--ln); border-radius: calc(var(--r) + 10px); padding: 30px 28px; }
.wb-plan.is-featured { border: 2px solid var(--p); box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.wb-plan-tag { position: absolute; top: -14px; right: 28px; background: var(--p); color: var(--pt); font-size: 13px; font-weight: 600; border-radius: 999px; padding: 5px 18px; }
.wb-plan-name { font-size: 26px; color: var(--h); line-height: 1.2; }
.wb-plan-sub { color: var(--t2); font-size: 14px; }
.wb-plan-blurb { color: var(--t2); font-size: 14px; line-height: 1.6; min-height: 4.8em; }
.wb-plan-price p:first-child { color: var(--t2); font-size: 16px; }
.wb-plan-price b { font-size: clamp(40px, 4vw, 50px); color: var(--ax); line-height: 1; letter-spacing: -.01em; margin-right: 4px; }
.wb-plan-features { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; flex: 1; }
.wb-plan-features li { display: flex; gap: 10px; align-items: flex-start; }
.wb-plan-features svg { flex: none; margin-top: 3px; color: var(--ax); }
.wb-plan-features.v-small { font-size: 13.5px; gap: 6px; color: var(--t2); }
.wb-plan .wb-btn { margin-top: 18px; width: 100%; }
.wb-plan-price[data-price="yearly"] { display: none; }
[data-billing="yearly"] .wb-plan-price[data-price="monthly"] { display: none; }
[data-billing="yearly"] .wb-plan-price[data-price="yearly"] { display: block; }
.wb-plans-services-head { margin-top: 64px; }
.wb-plan-services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1180px; margin: 0 auto; }
.wb-plan-service { background: var(--sf); color: var(--ink); border: 1px solid var(--ln); border-radius: calc(var(--r) + 6px); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.wb-plan-service h4 { font-size: 17px; color: var(--h); }
.wb-plan-service-price { color: var(--t2); font-size: 14px; margin: 6px 0; }
.wb-plan-service-price b { font-size: 26px; color: var(--ink); margin-right: 4px; }

.wb-showcase-grid, .wb-template-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; max-width: 1180px; margin: 0 auto; }
.wb-showcase-card, .wb-template-card { display: flex; flex-direction: column; margin: 0; background: var(--sf); color: var(--ink); border: 1px solid var(--ln); border-radius: calc(var(--r) + 6px); overflow: hidden; text-decoration: none; }
.wb-showcase-media, .wb-template-media { aspect-ratio: 3 / 2; background: var(--mu); display: grid; place-items: center; overflow: hidden; }
.wb-showcase-media img, .wb-template-media img { width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.wb-showcase-media span, .wb-template-media span { font-weight: 700; font-size: 20px; padding: 0 24px; text-align: center; font-family: var(--font-heading); }
.wb-showcase-body, .wb-template-card figcaption { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; }
.wb-showcase-body .wb-h3 { display: flex; align-items: center; gap: 6px; color: var(--h); }
.wb-showcase-body p:not(.wb-tiny) { font-size: 14.5px; color: var(--t2); line-height: 1.6; }
.wb-showcase-chips { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.wb-showcase-chips li { font-size: 12.5px; background: var(--chip); color: var(--t2); border-radius: 999px; padding: 3px 11px; }
.wb-templates-count { font-size: .6em; color: var(--ax); font-family: var(--font-body); vertical-align: middle; }
.wb-template-swatches { display: flex; gap: 5px; margin-top: 6px; }
.wb-template-swatches i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); }
@media (hover: hover) { .wb-showcase-card:hover { box-shadow: 0 12px 28px rgba(0,0,0,.12); transform: translateY(-2px); transition: transform .15s, box-shadow .15s; } }

@media (max-width: 900px) {
  .wb-plan-grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .wb-plan-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wb-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wb-template-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* มือถือ: เทมเพลต/บริการจากทีม 2 คอลัมน์ (กติกาบล็อกสั้นบนมือถือ) · เว็บลูกค้า 1 คอลัมน์ (มีข้อความบรรยาย) */
@media (max-width: 520px) {
  .wb-showcase-grid { grid-template-columns: minmax(0, 1fr); }
  .wb-template-grid { gap: 12px; }
  .wb-template-card figcaption { padding: 12px; }
  .wb-template-card figcaption .wb-tiny { display: none; }
  .wb-template-card .wb-h3 { font-size: 15px; }
  .wb-template-media span { font-size: 14px; padding: 0 10px; }
  .wb-plan-services { gap: 10px; }
  .wb-plan-service { padding: 14px; }
  .wb-plan-service-price b { font-size: 22px; }
  .wb-plans-toggle button { padding: 9px 14px; font-size: 14px; }
}

/* ---- หัว/ท้ายหน้าแรก samnak108.com (Web::Landing · web/landing/_header · _footer) ---- */
.wb-landing-bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 12px clamp(20px, 5vw, 64px); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ln); }
.wb-landing-brand { display: inline-flex; align-items: flex-end; gap: 10px; color: var(--h); text-decoration: none; flex: none; }
.wb-landing-brand img { width: auto; }
.wb-landing-brand span { display: flex; flex-direction: column; line-height: 1.2; padding-bottom: 2px; }
.wb-landing-brand b { font-size: 20px; }
.wb-landing-brand small { font-size: 12px; color: var(--t2); }
.wb-landing-links { display: flex; gap: 22px; font-size: 15px; margin-left: 12px; }
.wb-landing-links a { color: var(--ink); text-decoration: none; }
.wb-landing-links a:hover { color: var(--ax); }
.wb-landing-actions { margin-left: auto; display: flex; gap: 8px; flex: none; }
.wb-landing-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: 32px clamp(20px, 5vw, 64px); background: var(--foot); color: var(--ft); font-size: 14px; }
.wb-landing-foot .wb-landing-brand, .wb-landing-foot .wb-landing-brand small { color: var(--ft); }
.wb-landing-foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-left: auto; }
.wb-landing-foot a { color: var(--ft); }
.wb-landing-foot p { width: 100%; opacity: .75; font-size: 13px; }
@media (max-width: 900px) { .wb-landing-links { display: none; } }
@media (max-width: 520px) {
  .wb-landing-bar { gap: 10px; padding: 10px 16px; }
  .wb-landing-brand small, .wb-landing-login { display: none; }
  .wb-landing-brand img { height: 38px; }
  .wb-landing-foot nav { margin-left: 0; }
}
