/* BKrentGroup — เว็บแนะนำโปรแกรม · CSS ชุดเดียวใช้ทุกหน้า
   ออกแบบมือถือก่อน แล้วขยายขึ้นจอใหญ่ · ฟอนต์อยู่ในเครื่อง ไม่พึ่งอินเทอร์เน็ต */

@font-face{
  font-family:'Anuphan';font-style:normal;font-weight:400 700;font-display:swap;
  src:url('fonts/anuphan-thai.woff2') format('woff2');
  unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC;
}
@font-face{
  font-family:'Anuphan';font-style:normal;font-weight:400 700;font-display:swap;
  src:url('fonts/anuphan-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root{
  --font:'Anuphan','Noto Sans Thai','Leelawadee UI',Tahoma,system-ui,sans-serif;
  --ink:#101a2c;
  --ink-2:#2c3a52;
  --mut:#63718a;
  --line:#e3e8ef;
  --line-2:#eef2f7;
  --bg:#f5f7fa;
  --card:#ffffff;
  --accent:#1f4f8f;
  --accent-soft:#eaf1fa;
  --radius:14px;
  --shadow:0 1px 2px rgba(16,26,44,.05),0 8px 24px -16px rgba(16,26,44,.22);
  --wrap:1080px;
}

/* สีประจำโปรแกรม — ใส่ที่ body ของแต่ละหน้า */
.t-pos{--accent:#1d4ed8;--accent-soft:#eaf0ff}
.t-snooker{--accent:#15803d;--accent-soft:#e9f5ed}
.t-loan{--accent:#b45309;--accent-soft:#fdf1e3}
.t-garage{--accent:#3f5771;--accent-soft:#ecf1f6}
.t-scrap{--accent:#0f766e;--accent-soft:#e6f4f2}
.t-rent{--accent:#9d174d;--accent-soft:#fbeaf1}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font-family:var(--font);font-size:16px;line-height:1.75;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3{line-height:1.35;margin:0;font-weight:700;letter-spacing:-.01em}

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

/* ───────── แถบบน ───────── */
.topbar{
  position:sticky;top:0;z-index:20;background:rgba(255,255,255,.92);
  backdrop-filter:saturate(180%) blur(8px);border-bottom:1px solid var(--line);
}
.topbar .wrap{display:flex;align-items:center;gap:12px;min-height:58px}
.brand{display:flex;align-items:center;gap:9px;font-weight:700;color:var(--ink);font-size:17px}
.brand:hover{text-decoration:none}
.brand-mark{
  width:30px;height:30px;border-radius:8px;background:var(--accent);color:#fff;
  display:grid;place-items:center;flex:0 0 auto;
}
.brand-mark svg{width:18px;height:18px}
.brand small{display:block;font-size:11px;font-weight:400;color:var(--mut);line-height:1.2}
.top-right{margin-left:auto}
.btn-back{
  display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);
  background:#fff;color:var(--ink-2);border-radius:999px;padding:7px 14px;
  font-size:14px;font-weight:600;white-space:nowrap;
}
.btn-back:hover{border-color:var(--accent);color:var(--accent);text-decoration:none}
.btn-back svg{width:15px;height:15px}

/* ───────── หัวเว็บหน้าแรก ───────── */
.hero{
  position:relative;overflow:hidden;isolation:isolate;
  padding:44px 0 40px;
  background:
    radial-gradient(760px 420px at 88% -14%,rgba(29,78,216,.10),transparent 64%),
    radial-gradient(820px 460px at 6% -8%,rgba(15,118,110,.10),transparent 62%),
    linear-gradient(180deg,#fbfcfe 0%,#fff 68%);
  border-bottom:1px solid var(--line);
}
/* ตารางเส้นบาง ๆ เป็นพื้นหลัง วาดด้วย CSS ล้วน ไม่พึ่งไฟล์ภายนอก */
.hero-bg{
  position:absolute;inset:0;z-index:-1;pointer-events:none;
  background-image:
    linear-gradient(to right,rgba(16,26,44,.055) 1px,transparent 1px),
    linear-gradient(to bottom,rgba(16,26,44,.055) 1px,transparent 1px);
  background-size:36px 36px;
  -webkit-mask-image:radial-gradient(130% 100% at 14% 0%,#000 0%,rgba(0,0,0,.35) 46%,transparent 74%);
  mask-image:radial-gradient(130% 100% at 14% 0%,#000 0%,rgba(0,0,0,.35) 46%,transparent 74%);
}
.hero-grid{display:grid;gap:30px;grid-template-columns:1fr;align-items:center}
.hero-art{display:none}

.eyebrow{
  display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:600;
  color:var(--accent);background:#fff;border:1px solid var(--line);
  box-shadow:0 1px 2px rgba(16,26,44,.05);
  border-radius:999px;padding:6px 14px;margin-bottom:18px;
}
.eyebrow svg{width:14px;height:14px}

.wordmark{display:flex;align-items:center;gap:13px;margin-bottom:14px}
.wordmark .wm-ic{
  width:52px;height:52px;border-radius:14px;flex:0 0 auto;
  background:linear-gradient(145deg,var(--accent),#0b2f5c);color:#fff;
  display:grid;place-items:center;
  box-shadow:0 10px 22px -12px rgba(16,26,44,.6);
}
.wordmark .wm-ic svg{width:28px;height:28px}
.hero h1{font-size:clamp(34px,8.6vw,56px);letter-spacing:-.022em;margin:0}
.hero .lead{
  font-size:clamp(17px,4vw,21px);color:var(--ink);font-weight:600;
  max-width:34ch;margin:0 0 10px;line-height:1.5;
}
.hero .lead-2{margin:0;color:var(--mut);font-size:clamp(14.5px,3.2vw,16px);max-width:56ch}

.facts{display:flex;flex-wrap:wrap;gap:9px;margin:24px 0 0;padding:0;list-style:none}
.facts li{
  background:#fff;border:1px solid var(--line);border-radius:999px;
  padding:8px 15px;font-size:14px;color:var(--ink-2);display:flex;align-items:center;gap:7px;
  box-shadow:0 1px 2px rgba(16,26,44,.04);
}
.facts svg{width:15px;height:15px;color:var(--accent);flex:0 0 auto}

.hero-cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}
.btn{
  display:inline-flex;align-items:center;gap:8px;border-radius:999px;
  padding:12px 20px;font-size:15.5px;font-weight:700;min-height:46px;
  border:1px solid transparent;
}
.btn svg{width:17px;height:17px;flex:0 0 auto}
.btn-primary{background:var(--accent);color:#fff;box-shadow:0 10px 20px -12px rgba(16,26,44,.65)}
.btn-primary:hover{text-decoration:none;filter:brightness(1.08)}
.btn-ghost{background:#fff;border-color:var(--line);color:var(--ink-2)}
.btn-ghost:hover{text-decoration:none;border-color:var(--accent);color:var(--accent)}

/* ───────── ส่วนเนื้อหา ───────── */
.section{padding:42px 0}
.section-head{margin-bottom:22px}
.section-head h2{font-size:clamp(20px,4.6vw,27px)}
.section-head p{color:var(--mut);margin:7px 0 0;font-size:15px}

/* ───────── การ์ดโปรแกรม ───────── */
.cards{display:grid;gap:16px;grid-template-columns:1fr}
.card{
  position:relative;overflow:hidden;isolation:isolate;
  display:block;background:var(--card);border:1px solid var(--line);border-radius:18px;
  padding:24px 22px 22px;color:inherit;
  box-shadow:0 1px 2px rgba(16,26,44,.05),0 10px 26px -20px rgba(16,26,44,.5);
  transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease;
}
/* แถบสีประจำโปรแกรมด้านบนการ์ด */
.card::before{
  content:"";position:absolute;left:0;right:0;top:0;height:4px;background:var(--accent);
  opacity:.9;
}
.card:hover{
  text-decoration:none;border-color:var(--accent);transform:translateY(-4px);
  box-shadow:0 2px 4px rgba(16,26,44,.05),0 22px 40px -26px rgba(16,26,44,.62);
}
.card-ic{
  width:64px;height:64px;border-radius:18px;
  background:var(--accent-soft);color:var(--accent);
  border:1px solid rgba(16,26,44,.07);
  border-color:color-mix(in srgb,var(--accent) 18%,transparent);
  display:grid;place-items:center;margin-bottom:16px;
  transition:transform .18s ease;
}
.card:hover .card-ic{transform:scale(1.04)}
.card-ic svg{width:36px;height:36px}
.card h3{font-size:19px;margin-bottom:7px}
.card p{margin:0;color:var(--mut);font-size:15px;line-height:1.65}
.card .go{
  display:inline-flex;align-items:center;gap:7px;margin-top:16px;
  color:var(--accent);font-weight:700;font-size:14.5px;
}
.card .go svg{width:15px;height:15px;transition:transform .18s ease}
.card:hover .go svg{transform:translateX(3px)}

/* ───────── หัวหน้ารายละเอียด ───────── */
.page-hero{
  background:linear-gradient(180deg,var(--accent-soft),#fff 78%);
  border-bottom:1px solid var(--line);padding:34px 0 30px;
}
.page-hero .ic{
  width:58px;height:58px;border-radius:15px;background:var(--accent);color:#fff;
  display:grid;place-items:center;margin-bottom:16px;
}
.page-hero .ic svg{width:32px;height:32px}
.page-hero h1{font-size:clamp(25px,5.8vw,38px);margin-bottom:10px}
.page-hero .sub{font-size:clamp(15px,3.4vw,18px);color:var(--ink-2);max-width:60ch;margin:0}

/* ภาพลายเส้นประจำหน้า */
.figure-band{padding:26px 0 4px}
.figure-band .art{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:16px;box-shadow:var(--shadow);
}
.figure-band svg{width:100%;height:auto;display:block}
.figure-cap{text-align:center;color:var(--mut);font-size:13px;margin-top:10px}

/* ───────── กลุ่มความสามารถ ───────── */
.groups{display:grid;gap:16px;grid-template-columns:1fr}
.group{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:20px}
.group-head{display:flex;align-items:center;gap:11px;margin-bottom:14px}
.group-head .gi{
  width:36px;height:36px;border-radius:10px;background:var(--accent-soft);color:var(--accent);
  display:grid;place-items:center;flex:0 0 auto;
}
.group-head .gi svg{width:20px;height:20px}
.group-head h2{font-size:17px}
.group ul{list-style:none;margin:0;padding:0}
.group li{
  position:relative;padding:7px 0 7px 27px;border-top:1px solid var(--line-2);
  font-size:15.5px;color:var(--ink-2);
}
.group li:first-child{border-top:0}
.group li::before{
  content:"";position:absolute;left:5px;top:17px;width:7px;height:7px;
  border-radius:50%;background:var(--accent);opacity:.55;
}
.group li b{color:var(--ink);font-weight:700}

/* ───────── ช่องรูปหน้าจอ (เจ้าของใส่ทีหลัง) ───────── */
.shots{padding:8px 0 0}
.shot-grid{display:grid;gap:14px;grid-template-columns:1fr}
.shot{margin:0;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.shot img{width:100%;display:block}
.shot figcaption{padding:11px 14px;font-size:14px;color:var(--mut);border-top:1px solid var(--line-2)}

/* ───────── ติดต่อ ───────── */
.contact-section{padding-top:0}
.contact{
  background:var(--card);border:1px solid var(--line);border-radius:18px;
  padding:24px 22px;margin-top:8px;
  box-shadow:0 1px 2px rgba(16,26,44,.05),0 12px 30px -24px rgba(16,26,44,.5);
}
.contact h2{font-size:20px;margin-bottom:6px}
.contact p.note{color:var(--mut);font-size:15px;margin:0 0 18px}
.contact-rows{display:grid;gap:11px;grid-template-columns:1fr}
.crow{
  display:flex;align-items:center;gap:12px;min-height:64px;
  border:1px solid var(--line);border-radius:13px;padding:12px 15px;
  color:inherit;background:#fff;
  transition:border-color .15s ease,background .15s ease,transform .15s ease;
}
.crow:hover{text-decoration:none;border-color:var(--accent);background:var(--accent-soft);transform:translateY(-1px)}
.crow .ci{
  width:38px;height:38px;border-radius:10px;background:var(--accent-soft);color:var(--accent);
  display:grid;place-items:center;flex:0 0 auto;
}
.crow:hover .ci{background:#fff}
.crow .ci svg{width:19px;height:19px}
.crow .lb{display:block;font-size:12.5px;color:var(--mut);line-height:1.3}
.crow .vl{display:block;font-weight:700;font-size:17.5px;color:var(--ink);letter-spacing:.01em;line-height:1.4}
.crow:hover .vl{color:var(--accent)}

/* ───────── ท้ายเว็บ ───────── */
.footer{
  border-top:1px solid var(--line);margin-top:42px;padding:28px 0 40px;
  background:#fff;color:var(--mut);font-size:14px;
}
.footer .wrap{display:flex;flex-wrap:wrap;gap:18px;align-items:center;justify-content:space-between}
.f-brand{display:flex;align-items:center;gap:11px}
.f-brand .brand-mark{width:36px;height:36px;border-radius:10px}
.f-brand .brand-mark svg{width:20px;height:20px}
.f-brand b{display:block;color:var(--ink);font-size:16px;line-height:1.3}
.f-brand small{display:block;font-size:13px;color:var(--mut)}
.f-links{display:flex;flex-wrap:wrap;gap:8px 10px;align-items:center}
.f-links a{
  display:inline-flex;align-items:center;gap:6px;min-height:42px;
  color:var(--ink-2);font-weight:600;border:1px solid var(--line);
  border-radius:999px;padding:6px 14px;background:#fff;
}
.f-links a:hover{text-decoration:none;border-color:var(--accent);color:var(--accent)}
.f-links svg{width:15px;height:15px;flex:0 0 auto}

/* ══════════════════════════════════════════════════════════════════════
   เมนูหลัก · อยู่ใต้แถบบนของทุกหน้า · ทุกคลาสขึ้นต้นด้วย nv-
   🔴 ไม่ใช้จาวาสคริปต์เลย เมนูโปรแกรมใช้แท็ก details กดเปิดปิดได้เองในตัว
   ══════════════════════════════════════════════════════════════════════ */
.mainnav{background:#fff;border-bottom:1px solid var(--line)}
.mainnav .wrap{display:flex;flex-wrap:wrap;gap:3px;align-items:center;padding-top:5px;padding-bottom:5px}

.nv-item,.nv-drop > summary{
  display:flex;align-items:center;gap:8px;
  padding:10px 13px;border-radius:10px;cursor:pointer;
  font-size:14.6px;font-weight:600;line-height:1.35;color:var(--ink-2);
}
.nv-item svg,.nv-drop > summary > svg{width:19px;height:19px;flex:0 0 auto;color:var(--accent)}
.nv-item:hover,.nv-drop > summary:hover{background:var(--accent-soft);color:var(--accent);text-decoration:none}
.nv-item.nv-on,.nv-drop.nv-on > summary{background:var(--accent-soft);color:var(--accent)}
.nv-item:focus-visible,.nv-drop > summary:focus-visible{
  outline:3px solid var(--accent);outline-offset:-3px}

/* เอาสามเหลี่ยมของ details ออก ให้เหลือแต่ลูกศรที่วาดเอง */
.nv-drop > summary{list-style:none}
.nv-drop > summary::-webkit-details-marker{display:none}
.nv-drop > summary::marker{content:""}
.nv-chev{display:inline-flex;margin-left:-2px}
.nv-chev svg{width:15px;height:15px;color:currentColor;opacity:.65}
.nv-drop[open] > summary{background:var(--accent-soft);color:var(--accent)}
.nv-drop[open] .nv-chev svg{transform:rotate(180deg)}

/* ── แผงโปรแกรม 6 ระบบ ──────────────────────────────────────────────── */
.nv-panel{display:grid;gap:4px;padding:7px}
.nv-panel a{
  display:flex;align-items:center;gap:11px;padding:9px 10px;border-radius:11px;color:var(--ink);
}
.nv-panel a:hover{background:var(--bg);text-decoration:none}
.nv-panel a.nv-cur{background:var(--accent-soft)}
.nv-panel b{display:block;font-size:14.8px;font-weight:700;line-height:1.4}
.nv-panel small{display:block;font-size:12.8px;color:var(--mut);line-height:1.5;margin-top:1px}
.nv-ic{
  display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
  width:36px;height:36px;border-radius:10px;
  background:var(--accent-soft);color:var(--accent);
}
.nv-ic svg{width:20px;height:20px}

/* ── จอเล็ก · แถวโปรแกรมกินเต็มบรรทัด อีก 4 เมนูเรียงใต้ ─────────────── */
@media (max-width:759px){
  .mainnav .wrap{gap:4px}
  .nv-drop{flex:1 1 100%}
  .nv-drop > summary{justify-content:space-between}
  .nv-drop > summary > svg{order:-1}
  .nv-item{
    flex:1 1 0;min-width:0;flex-direction:column;gap:5px;text-align:center;
    padding:9px 4px;font-size:12.4px;
  }
  .nv-item svg{width:21px;height:21px}
  .nv-lg{display:none}
  .nv-panel{grid-template-columns:1fr}
}

/* ── จอใหญ่ · เรียงแถวเดียว แผงลอยลงมาทับเนื้อหา ────────────────────── */
@media (min-width:760px){
  .nv-sm{display:none}
  .nv-drop{position:relative}
  .nv-panel{
    position:absolute;z-index:30;top:calc(100% + 6px);left:0;width:440px;
    grid-template-columns:1fr 1fr;
    background:#fff;border:1px solid var(--line);border-radius:16px;
    box-shadow:0 2px 6px rgba(16,26,44,.06),0 22px 44px -20px rgba(16,26,44,.4);
  }
}

/* ── แถวล่างสุด ชื่อบริษัทกับลิงก์หน้านโยบาย ─────────────────────────
   🔴 แถวนี้อยู่ในบล็อกท้ายเว็บซึ่งต้องเหมือนกันเป๊ะทุกหน้า
      แก้ตัวหนังสือเมื่อไหร่ ต้องรัน notes\patch_footer.py ให้ครบทุกไฟล์ */
.f-legal{
  margin-top:22px;padding-top:18px;border-top:1px solid var(--line-2);
  font-size:13px;line-height:1.8;align-items:flex-start !important;
}
.f-legal-org{color:var(--mut);max-width:56ch}
.f-legal-links{display:flex;flex-wrap:wrap;gap:6px 16px;align-items:center}
.f-legal-links a{color:var(--ink-2);font-weight:600;white-space:nowrap}
.f-legal-links a:hover{color:var(--accent)}
@media (max-width:640px){
  .f-legal{gap:12px !important}
  .f-legal-links{gap:6px 14px}
}

/* ───────── จอใหญ่ขึ้น ───────── */
@media (min-width:620px){
  .cards{grid-template-columns:1fr 1fr}
  .contact-rows{grid-template-columns:1fr 1fr}
  .shot-grid{grid-template-columns:1fr 1fr}
}
@media (min-width:900px){
  .hero-grid{grid-template-columns:minmax(0,1fr) 380px;gap:40px}
  .hero-art{display:block}
  .hero-art svg{width:100%;height:auto;display:block}
}
@media (min-width:960px){
  body{font-size:16.5px}
  .wrap{padding:0 24px}
  .cards{grid-template-columns:repeat(3,1fr)}
  .groups{grid-template-columns:1fr 1fr}
  .hero{padding:76px 0 60px}
  .section{padding:54px 0}
  .group{padding:24px}
  .shot-grid{grid-template-columns:repeat(3,1fr)}
  .contact{padding:28px}
  .contact-rows{grid-template-columns:repeat(4,1fr)}
}

/* ลดการเคลื่อนไหวถ้าเครื่องผู้ใช้ตั้งไว้ */
@media (prefers-reduced-motion:reduce){
  *{transition:none!important}
}

@media print{
  .topbar,.footer{display:none}
  body{background:#fff}
  .card,.group,.contact{break-inside:avoid}
}

/* ══════════════════════════════════════════════════════════════════════
   สไตล์เฉพาะหน้าอู่ซ่อมรถ (garage.html) — เพิ่มใหม่ ไม่แตะของเดิมที่หน้าอื่นใช้ร่วม
   ทุกคลาสขึ้นต้นด้วย .g- เพื่อไม่ให้ชนกับหน้าอื่น
   ══════════════════════════════════════════════════════════════════════ */

/* ภาพหน้าจอ — กรอบ เงา และคำกำกับใต้ภาพ */
.g-shot{margin:0}
.g-shot img{
  width:100%;height:auto;display:block;border-radius:12px;
  border:1px solid var(--line);background:#fff;
  box-shadow:0 1px 2px rgba(16,26,44,.05),0 14px 32px -22px rgba(16,26,44,.55);
}
.g-cap{margin:8px 0 0;font-size:12.5px;color:var(--mut);text-align:center}

/* ภาพใหญ่ใต้หัวเรื่อง */
.g-hero-shot{padding:8px 0 0}

/* แถวสลับซ้ายขวา: ปัญหา → ทางแก้ */
.g-rows{display:grid;gap:26px;grid-template-columns:1fr;margin-top:6px}
.g-row{display:grid;gap:16px;grid-template-columns:1fr;align-items:center}
.g-row .g-txt h3{font-size:18px;margin-bottom:8px;display:flex;gap:9px;align-items:flex-start}
.g-row .g-txt h3 .g-n{
  flex:0 0 auto;width:26px;height:26px;border-radius:8px;background:var(--accent-soft);
  color:var(--accent);font-size:13px;display:grid;place-items:center;margin-top:2px;
}
.g-row .g-txt p{margin:0;color:var(--ink-2);font-size:15.5px;line-height:1.7}
.g-row .g-txt p.g-fix{margin-top:7px;color:var(--ink);font-weight:600}

/* ฟีเจอร์เด่น — บรรทัดเดียวต่อข้อ */
.g-pills{display:grid;gap:10px;grid-template-columns:1fr;margin:0;padding:0;list-style:none}
.g-pills li{
  display:flex;gap:11px;align-items:flex-start;background:var(--card);
  border:1px solid var(--line);border-radius:12px;padding:13px 15px;
  font-size:15.5px;color:var(--ink-2);
}
.g-pills svg{width:19px;height:19px;flex:0 0 auto;color:var(--accent);margin-top:2px}

/* ใช้ได้ทันที */
.g-ready{display:grid;gap:14px;grid-template-columns:1fr}
.g-ready .g-card{
  background:var(--card);border:1px solid var(--line);border-radius:14px;padding:18px 18px 20px;
}
.g-ready h3{font-size:16.5px;margin-bottom:7px}
.g-ready p{margin:0;color:var(--mut);font-size:15px;line-height:1.7}

/* ภาพมือถือสองใบ */
.g-phones{display:grid;gap:14px;grid-template-columns:1fr 1fr;margin-top:18px}
.g-phones .g-shot img{border-radius:16px}

/* กล่องราคา */
.g-price{
  background:linear-gradient(180deg,var(--accent-soft),#fff 70%);
  border:1px solid var(--line);border-radius:18px;padding:26px 22px;text-align:center;
  box-shadow:0 1px 2px rgba(16,26,44,.05),0 16px 36px -28px rgba(16,26,44,.6);
}
.g-price .g-plabel{font-size:15px;color:var(--ink-2);margin:0 0 6px}
.g-price .g-amt{
  font-size:clamp(38px,10vw,58px);font-weight:700;letter-spacing:-.02em;
  color:var(--accent);line-height:1.15;margin:0;
}
.g-price .g-unit{font-size:clamp(17px,4vw,22px);font-weight:700;color:var(--ink-2);margin-left:6px}
.g-price .g-note{margin:10px 0 0;color:var(--mut);font-size:14.5px}
.g-price .g-btns{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:20px}

/* ถามตอบ — เปิดปิดด้วย details ไม่ใช้ JavaScript */
.g-faq{display:grid;gap:10px;grid-template-columns:1fr}
.g-faq details{
  background:var(--card);border:1px solid var(--line);border-radius:12px;overflow:hidden;
}
.g-faq summary{
  cursor:pointer;list-style:none;padding:15px 17px;font-weight:700;font-size:15.5px;
  color:var(--ink);display:flex;gap:10px;align-items:center;min-height:54px;
}
.g-faq summary::-webkit-details-marker{display:none}
.g-faq summary::after{
  content:"+";margin-left:auto;color:var(--accent);font-size:21px;font-weight:700;line-height:1;
}
.g-faq details[open] summary::after{content:"–"}
.g-faq details[open] summary{border-bottom:1px solid var(--line-2)}
.g-faq .g-ans{padding:14px 17px 17px;margin:0;color:var(--ink-2);font-size:15.5px;line-height:1.75}

/* กดภาพเพื่อขยาย — CSS ล้วน ใช้ :target ไม่มี JavaScript */
.g-zoomlink{display:block}
.g-zoom{
  position:fixed;inset:0;z-index:60;background:rgba(10,16,28,.88);
  display:none;place-items:center;padding:18px;
}
.g-zoom:target{display:grid}
.g-zoom img{max-width:100%;max-height:86vh;border-radius:10px;display:block}
.g-zoom .g-close{
  position:absolute;inset:0;display:block;
}
.g-zoom .g-x{
  position:absolute;top:14px;right:16px;z-index:2;color:#fff;background:rgba(255,255,255,.16);
  border-radius:999px;width:42px;height:42px;display:grid;place-items:center;
  font-size:22px;font-weight:700;text-decoration:none;
}
.g-zoom .g-x:hover{background:rgba(255,255,255,.3);text-decoration:none}
.g-zoomhint{font-size:12.5px;color:var(--mut);text-align:center;margin:6px 0 0}

@media (min-width:760px){
  .g-pills{grid-template-columns:1fr 1fr}
  .g-ready{grid-template-columns:repeat(3,1fr)}
  .g-faq{grid-template-columns:1fr 1fr;align-items:start}
  .g-phones{max-width:520px;margin-left:auto;margin-right:auto}
}
@media (min-width:960px){
  .g-row{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:34px}
  .g-row.g-flip .g-txt{order:2}
  .g-row.g-flip .g-shot{order:1}
  .g-rows{gap:40px}
  .g-price{padding:34px}
}

@media print{
  .g-zoom{display:none!important}
}

/* ป้ายราคาเล็ก ๆ บนการ์ดหน้าแรก (ใช้เฉพาะการ์ดอู่) */
.g-tag{
  display:inline-block;margin-top:10px;font-size:13px;font-weight:700;
  color:var(--accent);background:var(--accent-soft);
  border:1px solid rgba(16,26,44,.07);border-radius:999px;padding:4px 12px;
}

/* แผงเมนูที่มีรายการไม่เยอะ ใช้คอลัมน์เดียวพอ จะได้ไม่โล่ง */
@media (min-width:760px){
  .nv-panel-1{grid-template-columns:1fr;width:340px}
}
