/* ป้ายประมูล — หน้าเว็บฝั่งลูกค้า (ออกแบบเฉพาะงานนี้ · Claude ออกแบบตาม design-1d1d + แบบร่าง 5 หน้าของลูกค้า)
   โทน: ครีมอบอุ่น + น้ำเงินกรมท่า ทองอ่อนเป็นจุดเน้นเล็กน้อย · มือถือก่อน (ลูกค้าวาดแบบเป็นจอมือถือ)
   กฎเหล็ก: ไม่ล้นจอที่ 360px · หัวเว็บห้ามมี backdrop-filter/transform/filter (เมนูมือถือต้องเต็มจอ) */

:root {
  --accent: #13285e;
  --accent-2: #24438f;
  --accent-ink: #ffffff;
  --accent-soft: #e9edf6;
  --gold: #b8904a;
  --gold-soft: #f3e8cf;
  --ink: #161b2e;
  --muted: #5d6170;
  --paper: #f8f5ef;
  --paper-2: #efe9dd;
  --card: #fffdf9;
  --line: #e4dccb;
  --red: #cf2e2e;
  --line-green: #06c755;
  --radius: 16px;
  /* แก้ด่วน 924: ลูกค้าบอกส่วนอื่นที่ไม่ใช่แผ่นป้ายใช้ฟอนต์เดิม (Noto Sans Thai ไม่มีหัว) — ตัวมีหัวใช้เฉพาะบนแผ่นป้าย (.pl-*) */
  --font: 'Noto Sans Thai', -apple-system, 'Segoe UI', sans-serif;
  --display: var(--font);
  --gap: clamp(48px, 7vw, 96px);
  --pad: clamp(16px, 4vw, 32px);
  --max: 1180px;
  --shadow: 0 1px 2px rgba(60, 45, 20, .06), 0 6px 18px -8px rgba(60, 45, 20, .18);
  --shadow-lift: 0 2px 4px rgba(60, 45, 20, .08), 0 16px 32px -14px rgba(19, 40, 94, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper);
  font-size: 16px; line-height: 1.7; -webkit-text-size-adjust: 100%;
  padding-bottom: 76px; /* แถบติดต่อล่างจอบนมือถือ */
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.4; margin: 0; text-wrap: balance; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; min-height: 44px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.sec { padding-block: var(--gap); }
.sec-alt { background: var(--paper-2); }
.sec-head { max-width: 64ch; margin-bottom: clamp(24px, 4vw, 40px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.sec-head h2, .sec > .wrap > h2 { font-size: clamp(24px, 3.4vw, 36px); }
.sec-head p { color: var(--muted); margin: 8px 0 0; font-size: 16.5px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px;
  font-size: 14px; font-weight: 600; color: var(--accent); letter-spacing: .01em;
}
.eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--gold); border-radius: 2px; }
.sec-head.center .eyebrow { justify-content: center; }
.h-sm { font-size: 20px; margin-bottom: 14px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; color: var(--accent); text-decoration: none; }
.link-more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- ปุ่ม ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 20px; border: 0; border-radius: 12px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: var(--accent-ink);
  font: 600 16px/1.4 var(--font); text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 6px 14px -6px rgba(19, 40, 94, .6);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 52px; padding-inline: 24px; font-size: 17px; }
.btn-line { background: var(--line-green); box-shadow: 0 6px 14px -6px rgba(6, 199, 85, .6); }
.btn-ghost, .btn-line-ghost {
  background: var(--card); color: var(--accent); box-shadow: inset 0 0 0 1.5px #cfd6e6;
}
.btn-light { background: #fff; color: var(--accent); }
.btn-gold {
  background: linear-gradient(180deg, #e6c98a, #b8904a); color: #2a1f00;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 8px 18px -8px rgba(184, 144, 74, .8);
}
.btn-outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .08); }
.link-more.light { color: #e6c98a; }

/* ---------- หัวเว็บ ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(248, 245, 239, .97); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 10px; min-height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; margin-right: auto; }
.logo-mark {
  width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, #fbf3e2, #e9d3a0 60%, #b8904a);
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--gold), 0 3px 8px rgba(0, 0, 0, .15);
}
.logo-mark b {
  font: 800 22px/1 var(--font); font-stretch: 75%; color: var(--accent);
  background: #fff; border: 2px solid #1b1d22; border-radius: 4px; padding: 2px 6px 1px;
}
.logo-img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.logo-t { display: grid; min-width: 0; line-height: 1.4; }
.logo-t b { font-size: 19px; color: var(--accent); }
.logo-t small { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-btn {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px;
  background: var(--card); border: 1px solid var(--line); color: var(--accent); cursor: pointer; text-decoration: none;
}
.menu-btn { position: relative; z-index: 60; gap: 4px; align-content: center; justify-items: center; }
.menu-btn span { width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-btn span:nth-child(2) { opacity: 0; }
.nav-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* มือถือ: เมนูเต็มจอ */
.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--paper);
  display: flex; flex-direction: column; gap: 4px; padding: 96px var(--pad) 32px;
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility .25s;
  overflow-y: auto;
}
.nav-open { overflow: hidden; }
.nav-open .menu { opacity: 1; visibility: visible; }
.menu > a:not(.btn) {
  font-size: 22px; font-weight: 600; text-decoration: none; padding: 14px 4px; border-bottom: 1px solid var(--line);
}
.menu > a[aria-current="page"] { color: var(--accent); }
.menu-cta { margin-top: 20px; }

@media (min-width: 960px) {
  .menu-btn { display: none; }
  .menu {
    position: static; opacity: 1; visibility: visible; flex-direction: row; align-items: center;
    padding: 0; background: none; gap: 2px; overflow: visible; order: 2;
  }
  .menu > a:not(.btn) { font-size: 15.5px; padding: 8px 12px; border: 0; border-radius: 10px; }
  .menu > a:not(.btn):hover { background: var(--paper-2); }
  .menu > a[aria-current="page"] { background: var(--accent-soft); }
  .menu-cta { margin: 0 0 0 8px; min-height: 42px; }
  .nav-in .icon-btn:not(.menu-btn) { order: 3; }
  .logo { margin-right: auto; }
}

/* ---------- แบนเนอร์ ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #d9cdf3 0%, #f3d6c6 42%, #fbe9c9 70%, var(--paper) 100%);
  padding-block: clamp(28px, 6vw, 72px) clamp(56px, 8vw, 104px);
}
.hero-sun {
  position: absolute; z-index: -1; width: min(70vw, 560px); aspect-ratio: 1; border-radius: 50%;
  right: -12vw; top: 8%;
  background: radial-gradient(circle, #fff7d6 0%, #ffe7a3 45%, rgba(255, 223, 150, 0) 70%);
}
.hero::after { /* เส้นขอบฟ้าเมือง */
  content: ''; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 64px;
  background: linear-gradient(180deg, rgba(248, 245, 239, 0), var(--paper) 85%);
}
.hero-wrap { position: relative; }
.hero-track { display: flex; }
.hero-slide { flex: 0 0 100%; min-width: 0; display: grid; gap: 28px; align-items: center; }
.hero-body { max-width: 34rem; }
.hero .eyebrow { background: rgba(255, 255, 255, .7); padding: 4px 12px; border-radius: 99px; }
.hero .eyebrow::before { display: none; }
.hero-title { font-size: clamp(30px, 7.2vw, 58px); line-height: 1.4; color: #13285e; letter-spacing: -.005em; }
.hero-sub { font-size: clamp(16px, 2vw, 19px); color: #3d4152; margin-top: 14px; max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-pattern { /* ลายประจำยามบางๆ บนท้องฟ้า */
  position: absolute; inset: 0; z-index: -1; opacity: .35; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.2'%3E%3Cpath d='M28 6l8 14-8 14-8-14z'/%3E%3Ccircle cx='28' cy='20' r='3'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask: linear-gradient(180deg, #000, transparent 70%); mask: linear-gradient(180deg, #000, transparent 70%);
}
.hero-trust { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; max-width: 30rem; }
.hero-trust li { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: #1f3263; }
.hero-trust svg { width: 20px; height: 20px; color: var(--gold); stroke-width: 2.2; }
.hero-art { position: relative; padding: 0 0 8%; }
.hero-scene {
  position: relative; border-radius: 28px; overflow: hidden; container-type: inline-size;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .6), 0 40px 70px -30px rgba(24, 42, 99, .6);
}
.hero-illus { width: 100%; }
/* ป้ายจริงของร้าน ติดตรงช่องป้ายเบลอในภาพรถ (ตำแหน่งตามภาพ hero-car.jpg) */
.hero-onplate { position: absolute; left: 67.4%; top: 54.5%; width: 9%; container-type: inline-size; }
.hero-onplate .plate { border-radius: 4cqw; box-shadow: 0 2px 4px rgba(0, 0, 0, .35); }
/* ป้ายบนรถเล็ก ชื่อจังหวัดจะต่ำกว่า 14px — ซ่อนไว้ ให้เห็นแค่เลขป้าย */
.hero-onplate .pl-prov { visibility: hidden; }
.hero-frame {
  position: absolute; left: -4%; top: 6%; width: 34%; margin: 0; padding: 6px 6px 4px; border-radius: 14px;
  background: #fff; box-shadow: 0 18px 30px -14px rgba(24, 42, 99, .55);
}
.hero-frame img { width: 100%; border-radius: 9px; box-shadow: 0 0 0 3px #1b1d22; }
.hero-frame figcaption { font-size: 14px; font-weight: 600; text-align: center; color: var(--muted); padding-top: 2px; }
.hero-plate { position: absolute; width: 40%; container-type: inline-size; filter: drop-shadow(0 14px 18px rgba(24, 42, 99, .4)); }
.hero-plate.hp-1 { right: -3%; bottom: 0; transform: rotate(5deg); }
@media (prefers-reduced-motion: no-preference) {
  .hero-plate { animation: bob 6s ease-in-out infinite; }
  @keyframes bob { 50% { translate: 0 -8px; } }
}
@media (max-width: 859px) { .hero-frame { width: 34%; } .hero-plate { width: 48%; } }
.hero-dots { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(19, 40, 94, .25); cursor: pointer; padding: 0; }
.hero-dots button[aria-current="true"] { background: var(--accent); width: 26px; border-radius: 99px; }
@media (min-width: 860px) {
  .hero-slide { grid-template-columns: 1.05fr 1fr; gap: 48px; }
}

/* ---------- กล่องค้นหา ---------- */
.sec-search { margin-top: clamp(-64px, -6vw, -40px); position: relative; z-index: 2; }
.sbox {
  background: var(--card); border-radius: 20px; overflow: hidden;
  box-shadow: 0 0 0 2px #e2cc9a, 0 24px 48px -24px rgba(24, 42, 99, .45);
}
.sbox-head {
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 18px;
  background: linear-gradient(180deg, #e9f2ff, #cfe0fb); color: #13285e;
}
.sbox-head h2 { font-size: clamp(19px, 2.4vw, 24px); }
.sbox-head svg { width: 26px; height: 26px; stroke-width: 2.4; }
.sbox-body { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; padding: 18px; }
.f { display: grid; gap: 6px; min-width: 0; }
.f label, .f .lab { font-size: 14px; font-weight: 600; color: #3a3f4f; }
.f-n, .f-price { grid-column: 1 / -1; }
.sbox input:not([type]), .sbox input[inputmode], .sbox select {
  width: 100%; min-height: 48px; padding: 10px 12px; font: 16px var(--font); color: var(--ink);
  background: #fff; border: 1.5px solid #d9dfeb; border-radius: 12px; appearance: none;
}
.sbox select {
  padding-right: 34px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313285e' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 18px;
}
.sbox input:focus, .sbox select:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(36, 67, 143, .18); }
.f-n input { font-size: 20px; font-weight: 700; letter-spacing: .12em; }
.f-n input::placeholder { letter-spacing: 0; font-weight: 400; font-size: 16px; color: #9aa0ad; }
.f .lab output { font-weight: 700; color: var(--accent); margin-left: 6px; }

/* แถบเลื่อนช่วงราคา 2 หัว */
.range { position: relative; height: 44px; --a: 0%; --b: 100%; }
.range::before, .range::after {
  content: ''; position: absolute; top: 50%; height: 6px; margin-top: -3px; border-radius: 6px;
}
.range::before { left: 0; right: 0; background: #e3e8f2; }
.range::after { left: var(--a); right: calc(100% - var(--b)); background: linear-gradient(90deg, var(--accent-2), var(--accent)); }
.sbox input { font-size: 16px; }
.range input {
  position: absolute; inset: 0; width: 100%; margin: 0; background: none; pointer-events: none;
  -webkit-appearance: none; appearance: none; z-index: 1;
}
.range input::-webkit-slider-thumb {
  -webkit-appearance: none; pointer-events: auto; width: 28px; height: 28px; border-radius: 50%;
  background: #fff; border: 3px solid var(--accent); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); cursor: grab;
}
.range input::-moz-range-thumb {
  pointer-events: auto; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 3px solid var(--accent); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); cursor: grab;
}
.range input::-moz-range-track { background: none; }

.f-lucky {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px;
  border: 1.5px dashed #d9cba6; border-radius: 12px; background: #faf6ec; font-weight: 600; color: #1f3263; cursor: pointer;
}
.f-lucky input { width: 22px; height: 22px; accent-color: var(--accent); }
.sbox-act { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; margin-top: 4px; }
.sbox-act .btn { min-height: 52px; }
@media (min-width: 760px) {
  .sbox-body { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; padding: 22px 24px 24px; gap: 16px; }
  .f-n { grid-column: span 2; }
  .f-price { grid-column: span 2; }
  .f-lucky { grid-column: span 2; }
  .sbox-act { grid-column: span 2; }
  .sec-search .sbox { max-width: 1040px; margin-inline: auto; }
}

/* ---------- การ์ดจังหวัด ---------- */
.sec-prov { padding-top: clamp(40px, 6vw, 72px); }
.prov-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .prov-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1024px) { .prov-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.prov {
  display: grid; gap: 8px; text-decoration: none; padding: 6px 6px 10px; border-radius: 16px;
  background: var(--card); box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.prov:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.prov-pic {
  position: relative; aspect-ratio: 34 / 15; border-radius: 10px; overflow: hidden; container-type: inline-size;
  background: var(--bg) center / cover; border: 3px solid #1b1d22;
  display: grid; align-items: end; justify-items: center;
}
.prov-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prov-name {
  position: relative; font-weight: 800; font-stretch: 78%; font-size: clamp(14px, 11cqw, 24px); line-height: 1.4;
  padding: 0 6px 3%; color: #15171c; text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .9), 0 0 6px rgba(255, 255, 255, .9);
}
.prov-count {
  justify-self: center; display: inline-flex; align-items: center; gap: 4px; padding: 3px 12px; border-radius: 99px;
  background: var(--accent); color: #fff; font-size: 14px; font-weight: 600;
}
.prov-count svg { width: 14px; height: 14px; }
.prov-all { background: linear-gradient(180deg, var(--accent-2), var(--accent)); }
.prov-all .prov-pic { background: radial-gradient(circle at 50% 30%, #24438f, #0b1a3d); border-color: #e2cc9a; align-items: center; }
.prov-all .prov-name { color: #fff; text-shadow: none; font-size: clamp(16px, 12cqw, 26px); }
.prov-all .prov-count { background: var(--gold-soft); color: #5a4300; }

/* ---------- แผ่นป้าย ---------- */
.pl-art { container-type: inline-size; }
.plate {
  position: relative; aspect-ratio: 34 / 15; border-radius: 4.5cqw; overflow: hidden;
  background: var(--bg) center / cover; border: 1.6cqw solid #17191e;
  box-shadow: inset 0 0 0 .9cqw rgba(255, 255, 255, .75), 0 1.5cqw 3cqw -1cqw rgba(0, 0, 0, .35);
  display: grid; grid-template-rows: 1.3fr 1fr; justify-items: center; color: var(--pink, #121212);
}
.plate::after { /* ตราขนส่ง */
  content: ''; position: absolute; right: 4.5cqw; bottom: 7cqw; width: 7cqw; aspect-ratio: 1; border-radius: 50%;
  border: .5cqw solid rgba(0, 0, 0, .28); background: radial-gradient(circle, rgba(255, 255, 255, .5), rgba(255, 255, 255, .1));
}
/* สั่งแก้ครั้งที่ 1: ตัวอักษรไทยสูงเท่าตัวเลข อ่านง่าย — ขยายเฉพาะตัวไทย (.pl-th) ให้หัว-ฐานตรงกับเลข
   ตัวเลข Noto Sans Thai สูง ≈ .71em ตัวไทยสูง ≈ .54em → ขยาย 1.3 เท่า · ฟอนต์กว้างขึ้น (75%→) ให้อ่านง่ายกว่าเดิม */
.pl-no {
  align-self: end; display: flex; align-items: baseline; gap: 4.5cqw; white-space: nowrap;
  font-weight: 800; font-stretch: 78%; font-size: min(22cqw, calc(106cqw / var(--len, 6))); line-height: 1.42; letter-spacing: .01em;
  margin-bottom: -.24em; font-variant-numeric: lining-nums;
  /* ตัวนูนแบบป้ายปั๊ม */
  text-shadow: 0 .45cqw 0 rgba(255, 255, 255, .75), 0 -.35cqw 0 rgba(0, 0, 0, .28), 0 1cqw 1.6cqw rgba(0, 0, 0, .3);
}
.pl-no b { font-weight: inherit; }
.pl-th { font-style: normal; font-size: 1.3em; line-height: 0; }
.pl-prov {
  align-self: start; padding-top: 0; font-weight: 700; font-stretch: 82%; font-size: 10.5cqw; line-height: 1.4;
  text-shadow: 0 .35cqw 0 rgba(255, 255, 255, .8), 0 -.25cqw 0 rgba(0, 0, 0, .2);
  max-width: 80%; white-space: nowrap; overflow: hidden; text-overflow: clip;
}
.plate.pl-green { color: #0c6b2c; background: #fbfbf6; }
.plate.pl-blue { color: #1746a8; background: #fbfbf6; }
.pl-img { width: 100%; border-radius: 3cqw; }

/* ---------- การ์ดป้าย ---------- */
.pgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .sec-feat .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pc[hidden] { display: none; }
.pc-in {
  position: relative; display: grid; gap: 8px; height: 100%; padding: 10px 10px 12px; border-radius: 16px;
  background: var(--card); box-shadow: var(--shadow); text-decoration: none; text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
a.pc-in:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.pc-price { font-size: clamp(19px, 4.6vw, 24px); font-weight: 800; color: var(--accent-2); line-height: 1.4; font-variant-numeric: tabular-nums; }
.pc-price small { font-size: 14px; font-weight: 600; color: var(--accent); }
.pc-price s { display: block; font-size: 14px; font-weight: 500; color: var(--muted); }
.pc-note { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
/* ป้ายแนะนำ — มงกุฎทองมุมขวาล่างของแผ่นป้าย (สั่งแก้ครั้งที่ 1 แทนดาวมุมซ้ายบน) */
.pl-art { position: relative; }
.pc-crown { position: absolute; z-index: 2; right: -1.5%; bottom: -6%; width: 19%; min-width: 34px; max-width: 54px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }
.pc-crown svg { display: block; width: 100%; height: auto; stroke: initial; fill: initial; }
.pc-tag {
  position: absolute; z-index: 2; right: 8px; top: -8px; padding: 2px 10px; border-radius: 99px;
  background: var(--red); color: #fff; font-size: 14px; font-weight: 700;
}
/* จองแล้ว — แผ่นป้ายสีปกติ (ลูกค้าขอไม่ปรับโทนเทาแล้ว) + แถบแดง "จองแล้ว" ปิดทับราคา */
.pc-res {
  justify-self: center; width: 86%; padding: 4px 0; border-radius: 6px; background: var(--red); color: #fff;
  font-weight: 800; font-size: clamp(16px, 4vw, 20px); letter-spacing: .04em; box-shadow: 0 4px 10px -4px rgba(207, 46, 46, .6);
}

.plist-count { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.plist-count span { font-weight: 800; color: var(--accent); font-size: 18px; }
.plist-empty { text-align: center; padding: 40px 16px; background: var(--card); border-radius: 16px; border: 1.5px dashed var(--line); }
.plist-empty p { color: var(--muted); max-width: 32em; margin: 0 auto 16px; }
.plist-empty[hidden] { display: none; }

.list-layout { display: grid; gap: 24px; align-items: start; }
.list-layout .sbox-body { grid-template-columns: 1fr 1fr; }
.list-layout .f-n, .list-layout .f-price, .list-layout .f-lucky, .list-layout .sbox-act,
.list-layout .f-p, .list-layout .f-o { grid-column: 1 / -1; }
@media (min-width: 1000px) {
  .list-layout { grid-template-columns: 330px minmax(0, 1fr); gap: 32px; }
  .list-layout .sbox { position: sticky; top: 84px; }
  .list-layout .sbox-body { padding: 18px; }
}
.sec-list { padding-top: clamp(24px, 4vw, 40px); }

/* ---------- หัวหน้าย่อย ---------- */
.phead {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(180deg, #ddd2f4, #f6dccb 60%, var(--paper));
  padding-block: clamp(28px, 5vw, 56px) clamp(24px, 4vw, 40px);
}
.phead-pic::before {
  content: ''; position: absolute; inset: 0; z-index: -2; background: var(--bg) center 40% / cover;
}
.phead-pic::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(248, 245, 239, .94) 0%, rgba(248, 245, 239, .82) 55%, rgba(248, 245, 239, .35) 100%);
}
.phead h1 { font-size: clamp(28px, 5.6vw, 46px); color: #13285e; }
.phead-intro { max-width: 40em; margin-top: 10px; color: #3d4152; font-size: 16.5px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs { align-items: center; }
.crumbs a { color: var(--accent); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 14px; border-radius: 99px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-weight: 600; font-size: 15px;
}
.chips a span { font-size: 14px; color: #fff; background: var(--accent); border-radius: 99px; padding: 0 7px; }
.sec-other { padding-top: 0; }

/* ---------- ส่วนที่ร้านแก้ได้ ---------- */
.features-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 18px; } }
.feature { display: grid; gap: 10px; align-content: start; padding: 18px 16px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.feature h3 { font-size: 17.5px; }
.feature p { color: var(--muted); font-size: 15px; margin: 4px 0 0; line-height: 1.6; }
.feature-icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.feature-icon svg { width: 24px; height: 24px; }

.about { display: grid; gap: 28px; align-items: center; }
.about img { width: 100%; border-radius: var(--radius); }
.about-text h2 { font-size: clamp(24px, 3.4vw, 36px); margin-bottom: 14px; }
.about-text p { color: #3d4152; }
.about-text .btn { margin-top: 10px; }
@media (min-width: 860px) {
  .about { grid-template-columns: 1fr 1.1fr; gap: 56px; }
  .about.pic-right > div:first-child { order: 2; }
}

.gal { columns: 2; column-gap: 10px; }
@media (min-width: 480px) { .gal { columns: 3; } }
@media (min-width: 1024px) { .gal { columns: var(--cols, 4); column-gap: 16px; } }
.gal a { display: block; break-inside: avoid; margin-bottom: 10px; border-radius: 12px; overflow: hidden; }
.gal img { width: 100%; transition: transform .4s var(--ease); }
.gal a:hover img { transform: scale(1.03); }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 18px; } }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card-pic img { width: 100%; }
.card-body { padding: 14px; }
.card-body h3, .card-body h2, .card-body h4 { font-size: 17px; margin-bottom: 4px; }
.card-body p { font-size: 14.5px; color: var(--muted); }
.card-price { font-weight: 800; color: var(--accent); }
.card-price s { color: var(--muted); font-weight: 400; margin-left: 6px; }
.card-sold { color: var(--red); font-weight: 700; }
.rows { display: grid; gap: 12px; }
.row-item { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; background: var(--card); border-radius: var(--radius); padding: 10px; }
.row-cta { grid-column: 1 / -1; }

.quotes { display: grid; gap: 14px; }
@media (min-width: 768px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { margin: 0; padding: 20px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.quote figcaption { display: flex; gap: 10px; align-items: center; margin-top: 12px; font-size: 14.5px; }
.quote figcaption img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.quote figcaption span span { display: block; color: var(--muted); }

.faq { max-width: 780px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: 14px; box-shadow: var(--shadow); padding: 4px 18px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 14px 28px 14px 0; font-weight: 600; font-size: 16.5px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-a { color: #3d4152; margin: 0 0 16px; }
.sec .faq > h2 { margin-bottom: 8px; }

.cta-band { text-align: center; }
.cta-band .wrap { display: grid; justify-items: center; gap: 18px; }
.cta-band h2 { font-size: clamp(22px, 3.4vw, 34px); max-width: 24em; }
.cta-dark { background: radial-gradient(120% 140% at 50% 0%, #24438f 0%, #13285e 55%, #0b1a3d 100%); color: #fff; }
.cta-dark .btn-light { color: var(--accent); }
.cta-soft { background: var(--gold-soft); }

.contact { display: grid; gap: 28px; }
@media (min-width: 860px) { .contact { grid-template-columns: 1fr 1.2fr; gap: 48px; } }
.contact-list { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 10px; }
.contact-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--card); border-radius: 12px; box-shadow: var(--shadow); }
.contact-list svg { color: var(--accent); width: 22px; height: 22px; }
.contact-list a { text-decoration: none; font-weight: 600; word-break: break-word; display: inline-flex; align-items: center; min-height: 44px; flex: 1; }
.contact-list li { padding-block: 4px; }
.hours { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: 15px; }
.hours li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding: 4px 0; }
.closed { color: var(--red); }
.map { width: 100%; height: 320px; border: 0; border-radius: var(--radius); }
form.lead { display: grid; gap: 14px; padding: clamp(18px, 3vw, 28px); background: var(--card); border-radius: 18px; box-shadow: var(--shadow); position: relative; }
form.lead label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
form.lead input, form.lead textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; font: 16px var(--font); border: 1.5px solid #d9dfeb; border-radius: 12px; background: #fff;
}
form.lead textarea { min-height: 120px; resize: vertical; }
form.lead input:focus, form.lead textarea:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(36, 67, 143, .18); }
form.lead .hp { position: absolute; left: -9999px; }
form.lead .msg { font-size: 14.5px; margin: 0; }
form.lead .msg.ok { color: #157a3a; }
form.lead .msg.bad { color: var(--red); }

dialog.light { border: 0; padding: 0; background: none; max-width: 94vw; }
dialog.light::backdrop { background: rgba(8, 12, 16, .86); }
dialog.light img { max-height: 88vh; width: auto; border-radius: 10px; }
dialog.light button {
  position: fixed; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: #fff; font-size: 26px; line-height: 1; cursor: pointer;
}

/* ---------- ท้ายเว็บ ---------- */
.foot {
  color: #dfe6f7; padding-block: 56px 28px; margin-top: 0; border-top: 3px solid var(--gold);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.05' stroke-width='1.2'%3E%3Cpath d='M32 8l10 24-10 24-10-24z'/%3E%3C/g%3E%3C/svg%3E"),
    #0a1633;
}
.foot-in { display: grid; gap: 28px; }
.foot .logo-t b { color: #fff; }
.foot .logo-t small { color: #b8c4e4; }
.foot-brand p { margin-top: 14px; font-size: 15px; color: #c3cde8; max-width: 30em; }
.foot b { color: #fff; }
.foot .logo-mark b { color: var(--accent); }
.phead h1 span { display: block; }
.foot-nav, .foot-contact { display: grid; gap: 8px; align-content: start; font-size: 15px; }
.foot-nav a, .foot-contact a, .foot-contact span { color: #dfe6f7; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.foot-nav, .foot-contact { gap: 0; }
.foot-nav b, .foot-contact b { margin-bottom: 4px; }
.foot-nav a:hover, .foot-contact a:hover { color: #fff; text-decoration: underline; }
.social { display: flex; gap: 8px; margin-top: 16px; }
.social a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; }
.copy { font-size: 14px; color: #9fb0d8; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; }
@media (min-width: 860px) {
  .foot-in { grid-template-columns: 1.4fr 1fr 1.2fr; }
  .copy { grid-column: 1 / -1; }
}

/* ---------- แถบติดต่อล่างจอ (แบบร่างลูกค้า: โทร · LINE · Facebook) ---------- */
.float-contact {
  position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
  display: flex; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(248, 245, 239, .97); border-top: 1px solid var(--line);
}
.fc {
  flex: 1 1 0; min-width: 0; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 12px; color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap;
}
.fc span { overflow: hidden; text-overflow: ellipsis; }
.fc-tel { background: linear-gradient(180deg, var(--accent-2), var(--accent)); }
.fc-line { background: var(--line-green); }
.fc-fb { flex: 0 0 52px; background: #fff; color: #1877f2; box-shadow: inset 0 0 0 1.5px #d9dfeb; }
.fc-fb svg { width: 24px; height: 24px; }
/* ไอคอนแบบโลโก้ในวงกลมขาว (สั่งแก้ครั้งที่ 1) */
.fc { padding-left: 6px; }
.fc-ic { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-style: normal; box-shadow: 0 1px 3px rgba(0, 0, 0, .18); }
.fc-ic svg { width: 21px; height: 21px; stroke: none; }
.fc-tel .fc-ic { color: var(--accent); }
.fc-line .fc-ic svg { width: 24px; height: 24px; }
.fc-fb { padding: 0; }
.fc-fb .fc-fbic { width: 32px; height: 32px; stroke: none; }
.nav-open .float-contact { display: none; }
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .float-contact {
    left: auto; right: 20px; bottom: 20px; padding: 8px; border: 0; border-radius: 18px;
    box-shadow: 0 12px 30px -10px rgba(24, 42, 99, .45);
  }
  .fc { flex: 0 0 auto; padding-inline: 16px; }
}

/* ---------- แถบป้ายเลื่อนวน ---------- */
.marquee {
  margin-top: clamp(40px, 6vw, 72px); padding-block: 22px 26px; color: #fff; overflow: hidden;
  background: radial-gradient(120% 160% at 50% 0%, #1f3d86 0%, #13285e 50%, #0b1a3d 100%);
  border-block: 3px solid var(--gold);
}
.marquee-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.marquee-head p { margin: 0; color: #c9d5f3; font-size: 15px; }
.marquee-head b { color: #fff; font-size: 18px; margin-right: 8px; }
.marquee-view { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { list-style: none; margin: 0; padding: 4px 0; display: flex; gap: 18px; width: max-content; }
.marquee-track li { width: 190px; flex: none; }
.marquee-track a { display: grid; gap: 6px; text-decoration: none; text-align: center; }
.marquee-track .pl-art, .marquee-track .plate { width: 100%; }
.marquee-track a { container-type: inline-size; }
.marquee-track span:not([class]) { font-weight: 800; color: #e6c98a; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 48s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }
}
@media (prefers-reduced-motion: reduce) { .marquee-view { overflow-x: auto; } }

/* ---------- หมวดเลขยอดนิยม ---------- */
.sec-cats { padding-bottom: 0; }
.cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.cat {
  position: relative; overflow: hidden; display: grid; gap: 2px; padding: 16px 16px 14px; border-radius: 18px; height: 100%;
  background: var(--card); box-shadow: var(--shadow); text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.cat::after { /* มุมทองตกแต่ง */
  content: ''; position: absolute; right: -28px; top: -28px; width: 80px; height: 80px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold-soft), transparent 70%);
}
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.cat-n {
  font: 800 clamp(30px, 6vw, 40px)/1.3 var(--font); font-stretch: 70%; color: var(--accent); letter-spacing: .02em;
  background: linear-gradient(180deg, #24438f, #0b1a3d); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.cat-n svg { width: 38px; height: 38px; color: var(--accent); stroke-width: 1.8; margin-block: 6px; }
.cat b { font-size: 16.5px; line-height: 1.4; }
.cat small { font-size: 14px; color: var(--muted); }
.cat-bd { background: linear-gradient(160deg, #fff7dc, var(--gold-soft)); }

/* ---------- พื้นลายส่วนจังหวัด ---------- */
.sec-prov {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23b8904a' stroke-opacity='.18' stroke-width='1.2'%3E%3Cpath d='M32 8l10 24-10 24-10-24z'/%3E%3Cpath d='M8 32l24-10 24 10-24 10z'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(180deg, var(--paper), var(--paper-2));
}

/* ---------- ทำไมต้องเลือก ---------- */
.sec-why .sec-head { text-align: center; margin-inline: auto; }
.sec-why .feature {
  position: relative; padding: 26px 18px 20px; text-align: center; justify-items: center;
  border-top: 4px solid var(--gold); transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.sec-why .feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.sec-why .feature-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fbf3e2, #e9d3a0 70%, #b8904a); color: #13285e;
  box-shadow: 0 0 0 4px #fff, 0 6px 14px -6px rgba(184, 144, 74, .9);
}
.sec-why .feature-icon svg { width: 28px; height: 28px; }

/* ---------- ขั้นตอนการจอง ---------- */
.sec-steps { background: var(--paper-2); position: relative; overflow: hidden; }
.steps-wrap { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .steps-wrap { grid-template-columns: 1fr 1.05fr; gap: 56px; } }
.steps-art { margin: 0; }
.steps-art img { width: 100%; border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(60, 36, 16, .55); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; position: relative; }
.steps::before { /* เส้นเชื่อมขั้นตอน */
  content: ''; position: absolute; left: 25px; top: 30px; bottom: 30px; width: 2px;
  background: repeating-linear-gradient(180deg, var(--gold) 0 6px, transparent 6px 12px);
}
.step { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; padding: 12px 0; position: relative; }
.step-no {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: #fff;
  box-shadow: 0 0 0 5px var(--paper-2), 0 8px 16px -8px rgba(19, 40, 94, .8);
}
.step-no svg { width: 24px; height: 24px; }
.step h3 { font-size: 18px; margin-top: 4px; }
.step p { color: var(--muted); margin: 2px 0 0; font-size: 15.5px; line-height: 1.6; }

/* ---------- แถบปิดท้าย (กรมท่า + ภาพวัด) ---------- */
.cta-dark { text-align: left; position: relative; overflow: hidden; }
.cta-dark::before {
  content: ''; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23e6c98a' stroke-opacity='.18' stroke-width='1.2'%3E%3Cpath d='M32 8l10 24-10 24-10-24z'/%3E%3Ccircle cx='32' cy='32' r='3'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-dark .cta-grid { position: relative; display: grid; gap: 28px; align-items: center; justify-items: start; }
@media (min-width: 900px) { .cta-dark .cta-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.cta-dark .eyebrow { color: #e6c98a; }
.cta-dark h2 { font-size: clamp(24px, 3.6vw, 38px); max-width: 20em; line-height: 1.45; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cta-art { margin: 0; width: 100%; }
.cta-art img { width: 100%; border-radius: 28px; box-shadow: 0 0 0 6px rgba(230, 201, 138, .25), 0 30px 60px -24px rgba(0, 0, 0, .6); }

/* ---------- ภาพประกอบหัวหน้าย่อย / เกี่ยวกับเรา ---------- */
.phead .wrap { position: relative; }
.phead-art { display: none; }
@media (min-width: 900px) {
  .phead:not(.phead-pic) .wrap { padding-right: 380px; }
  .phead-art {
    display: block; position: absolute; right: var(--pad); top: 50%; translate: 0 -50%; width: 330px;
    border-radius: 22px; box-shadow: 0 0 0 5px rgba(255, 255, 255, .6), 0 24px 40px -22px rgba(24, 42, 99, .6); rotate: 2deg;
  }
}
.about-illus img { border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(24, 42, 99, .55); }

/* ---------- บทความ ---------- */
.a-wrap { max-width: 760px; }
.a-wrap h1 { font-size: clamp(28px, 4.6vw, 42px); margin: 12px 0; }
.a-meta { color: var(--muted); font-size: 14.5px; }
.a-cover { margin: 20px 0; }
.a-cover img, .a-fig img { border-radius: var(--radius); width: 100%; }
.a-lead { font-size: 18px; color: #3d4152; }
.a-toc { background: var(--card); border-radius: 14px; padding: 16px 20px; margin: 20px 0; }
.a-body h2 { font-size: 26px; margin: 32px 0 12px; }
.a-body h3 { font-size: 20px; margin: 24px 0 10px; }
.a-fig { margin: 24px 0; }
.a-fig figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
.a-body blockquote { margin: 24px 0; padding: 14px 20px; border-left: 4px solid var(--gold); background: var(--card); border-radius: 0 12px 12px 0; }
.a-embed { margin-top: 32px; }
.a-embed h3 { margin-bottom: 12px; }
.a-cta { margin: 28px 0; padding: 20px; background: var(--accent-soft); border-radius: 14px; text-align: center; }

/* ---------- เนื้อหาค่อยๆ ปรากฏ (สคริปต์ใส่ rv-on เฉพาะเครื่องที่ไม่ปิดอนิเมชัน) ---------- */
.rv-on { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.rv-on.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* =====================================================================
   รอบแก้ 2026-11-11: หน้าแรกตามแบบอ้างอิงของฟ็อก (design/comps/แบบอ้างอิง.png)
   แถบบนสีกรมท่า · แบนเนอร์ภาพถ่ายเต็มกว้าง · แถบรับประกัน · หัวข้อแถบทองชิดซ้าย
   หมวดเลขเป็นแถวปุ่ม · ขั้นตอน 4 การ์ดแนวนอน · แถบน้ำเงินส่งมอบป้าย · แถบติดต่อ+ฟอร์ม
   ===================================================================== */

/* แถบบน (เฉพาะจอกว้าง — มือถือมีแถบติดต่อล่างจออยู่แล้ว) */
.topbar { display: none; background: #0b1a3d; color: #dfe6f7; font-size: 14px; }
.topbar .wrap { display: flex; align-items: center; justify-content: center; gap: 4px 28px; flex-wrap: wrap; min-height: 38px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; min-height: 38px; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar svg { width: 16px; height: 16px; color: #e6c98a; }
@media (min-width: 960px) { .topbar { display: block; } }

/* แบนเนอร์ */
.hero { background: var(--paper); padding: 0; overflow: hidden; }
.hero::after { display: none; }
.hero-slide { display: block; position: relative; }
.hero-photo { position: relative; aspect-ratio: 1672 / 941; container-type: inline-size; }
.hero-photo .hero-illus { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { /* จางลงพื้นครีมด้านล่าง (มือถือ) */
  content: ''; position: absolute; inset: auto 0 0 0; height: 28%; pointer-events: none;
  background: linear-gradient(180deg, rgba(248, 245, 239, 0), var(--paper));
}
/* ป้ายจริงของร้าน ติดตรงช่องป้ายว่างในภาพ hero-night.jpg (ช่องป้าย x 1272–1392, y 527–577 จาก 1672×941) */
.hero-photo .hero-onplate { left: 76.1%; top: 56%; width: 7.2%; }
.hero-photo .hero-frame { left: auto; right: 3%; top: 5%; width: 24%; z-index: 1; }
.hero-body { position: relative; padding-block: 4px 32px; max-width: var(--max); }
@media (max-width: 859px) { .hero-photo .hero-frame { width: 26%; padding: 4px; } .hero-photo .hero-frame figcaption { display: none; } }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 6px 16px 6px 12px; border-radius: 99px;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 15px; box-shadow: 0 6px 14px -8px rgba(19, 40, 94, .8);
}
h1.hero-pill { font-family: inherit; line-height: inherit; text-wrap: wrap; } /* ตอนร้านลบหัวข้อสไลด์ ป้ายนี้เป็น h1 แทน หน้าตาต้องเหมือนเดิม */
.hero-pill svg { width: 18px; height: 18px; color: #e6c98a; }
.hero-title { font-size: clamp(32px, 7.4vw, 60px); line-height: 1.4; font-weight: 800; color: #13285e; }
.hero-sub {
  display: inline-block; margin-top: 14px; padding: 8px 16px; border-radius: 10px; max-width: 34em;
  background: linear-gradient(90deg, #f6e3a1, #f9edc6 70%, rgba(249, 237, 198, 0)); color: #3b2c00; font-weight: 600;
}
.hero-cta { margin-top: 22px; }
.hero-tel { background: #fff; }
.hero-dots { margin: 0 auto 18px; }
@media (min-width: 860px) {
  .hero-slide { min-height: clamp(440px, 36vw, 580px); display: flex; align-items: center; }
  .hero-title { font-size: clamp(36px, 3.9vw, 56px); }
  .hero-photo { position: absolute; top: 0; right: 0; height: 100%; aspect-ratio: 1672 / 941; width: auto; }
  .hero-photo::after { inset: 0 auto 0 0; width: 46%; height: auto;
    background: linear-gradient(90deg, var(--paper) 0%, rgba(248, 245, 239, .85) 30%, rgba(248, 245, 239, 0) 100%); }
  .hero-body { width: 100%; padding-block: 48px; }
  .hero-body > * { max-width: 600px; }
  .hero-title { text-shadow: 0 2px 0 rgba(255, 255, 255, .6); }
}

/* แถบรับประกันใต้แบนเนอร์ */
.trustbar { background: #fff; border-block: 1px solid var(--line); }
.trustbar ul { list-style: none; margin-block: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; padding-block: 8px; }
.trustbar li { display: flex; align-items: center; gap: 10px; min-height: 48px; font-weight: 600; font-size: 15px; color: #1f3263; }
.trustbar svg { width: 24px; height: 24px; color: var(--gold); flex: none; }
@media (min-width: 860px) {
  .trustbar ul { grid-template-columns: repeat(4, auto); justify-content: space-between; padding-block: 10px; }
  .trustbar li + li { border-left: 1px solid var(--line); padding-left: 28px; }
}

/* กล่องค้นหา: หัวแถบกรมท่าชิดซ้าย */
.sec-search { margin-top: clamp(24px, 4vw, 36px); }
.sbox { box-shadow: 0 0 0 1px var(--line), 0 18px 40px -24px rgba(24, 42, 99, .45); }
.sbox-head { justify-content: flex-start; background: linear-gradient(180deg, #1a3570, #13285e); color: #fff; padding: 12px 22px; }
.sec-search .sbox { max-width: none; }

/* หัวข้อส่วน: แถบทองชิดซ้าย */
.sec-head.bar { max-width: none; margin-bottom: clamp(16px, 3vw, 24px); }
.sec-head.bar h2 {
  display: flex; align-items: center; gap: 10px; font-size: clamp(22px, 3vw, 30px); color: #13285e;
  padding-left: 14px; border-left: 5px solid var(--gold);
}
.sec-head.bar h2 svg { width: 26px; height: 26px; color: var(--gold); }
.sec-head.bar.row p { margin: 0; }

/* การ์ดจังหวัด: แน่นขึ้นแบบแถวในแบบอ้างอิง + พับไว้ 2-3 แถว */
.sec-prov { padding-block: clamp(32px, 5vw, 56px) 0; }
@media (min-width: 480px) { .prov-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 768px) { .prov-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1100px) { .prov-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.prov-fold.folded .prov-grid > li:nth-child(n+6):not(:last-child) { display: none; }
@media (min-width: 480px) {
  .prov-fold.folded .prov-grid > li:nth-child(n+6):not(:last-child) { display: list-item; }
  .prov-fold.folded .prov-grid > li:nth-child(n+9):not(:last-child) { display: none; }
}
@media (min-width: 768px) {
  .prov-fold.folded .prov-grid > li:nth-child(n+9):not(:last-child) { display: list-item; }
  .prov-fold.folded .prov-grid > li:nth-child(n+12):not(:last-child) { display: none; }
}
@media (min-width: 1100px) {
  .prov-fold.folded .prov-grid > li:nth-child(n+12):not(:last-child) { display: list-item; }
  .prov-fold.folded .prov-grid > li:nth-child(n+18):not(:last-child) { display: none; }
}
.prov-more { display: flex; margin: 18px auto 0; }
.prov-more[hidden] { display: none; }

/* หมวดเลข: แถวปุ่ม */
.sec-cats { padding-block: clamp(32px, 5vw, 56px) 0; }
.cats { display: flex; flex-wrap: wrap; gap: 10px; }
.cats li { flex: 1 1 100%; min-width: 0; }
@media (min-width: 480px) { .cats li { flex-basis: calc(50% - 10px); } }
@media (min-width: 640px) { .cats li { flex: 0 1 auto; } }
.cat {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 16px 8px 8px; border-radius: 14px;
  background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow); text-decoration: none;
}
.cat::after { display: none; }
.cat-n {
  display: inline-grid; place-items: center; min-width: 48px; height: 34px; padding: 0 8px; border-radius: 99px;
  background: linear-gradient(180deg, #e6c98a, #b8904a); color: #2a1f00; font-size: 17px; font-weight: 800; font-stretch: 80%; line-height: 1;
  -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: currentColor;
}
.cat-n svg { width: 20px; height: 20px; margin: 0; color: #2a1f00; }
.cat b { font-size: 15.5px; }
.cat small { font-size: 14px; margin-left: auto; padding-left: 6px; white-space: nowrap; }
.cat-bd { background: #fff; }

/* ป้ายแนะนำ */
.sec-feat { padding-top: clamp(32px, 5vw, 56px); }

/* เหตุผลที่ควรเลือก */
.sec-why { padding-block: clamp(32px, 5vw, 56px); }
.sec-why .sec-head { text-align: left; margin-inline: 0; }
.sec-head.rv h2 {
  color: #13285e; padding-left: 14px; border-left: 5px solid var(--gold); font-size: clamp(22px, 3vw, 30px);
}

/* ขั้นตอนการจอง: ภาพซ้าย + การ์ด 4 ขั้นแนวนอน */
.sec-steps { padding-block: clamp(40px, 6vw, 72px); }
.steps::before { display: none; }
.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; margin-top: 12px; }
.step {
  grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 8px; padding: 26px 12px 16px;
  background: #fdfaf3; border-radius: 16px; box-shadow: 0 0 0 1px var(--line);
}
.step-n {
  position: absolute; top: -12px; left: 50%; translate: -50% 0; padding: 0 12px; border-radius: 99px;
  background: linear-gradient(180deg, #e6c98a, #b8904a); color: #2a1f00; font-weight: 800; font-size: 14px; line-height: 26px;
}
.step-no { margin: 0; }
.step h3 { margin: 0; font-size: 16.5px; }
.step p { font-size: 14.5px; }
@media (min-width: 900px) {
  .steps-wrap { grid-template-columns: .8fr 1.6fr; gap: 32px; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
}

/* แถบน้ำเงินป้ายสวยพร้อมส่งมอบ */
.showcase { padding-block: clamp(24px, 4vw, 40px); }
.showcase-in {
  display: grid; gap: 20px; align-items: center; padding: clamp(20px, 3vw, 32px); border-radius: 24px; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, #24438f 0%, #13285e 50%, #0b1a3d 100%);
  box-shadow: 0 30px 60px -36px rgba(20, 44, 102, .9);
}
.showcase-text h2 { font-size: clamp(24px, 3.4vw, 34px); }
.showcase-text p { color: #c9d5f3; margin: 8px 0 18px; }
.showcase-photo { position: relative; margin: 0; border-radius: 16px; overflow: hidden; container-type: inline-size; box-shadow: 0 0 0 3px rgba(230, 201, 138, .35); }
.showcase-photo img { width: 100%; }
.showcase-onplate { position: absolute; left: 47.4%; top: 72.6%; width: 5.4%; container-type: inline-size; }
.showcase-onplate .plate { border-radius: 4cqw; box-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
.showcase-onplate .pl-prov { visibility: hidden; }
.showcase-plates { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.showcase-plates a {
  display: grid; gap: 4px; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, .08);
  text-decoration: none; text-align: center; font-size: 14px; font-weight: 600; color: #dfe6f7;
}
.showcase-plates a:hover { background: rgba(255, 255, 255, .16); }
.showcase-plates a { container-type: inline-size; }
@media (min-width: 960px) { .showcase-in { grid-template-columns: 1fr 1.5fr 1.2fr; gap: 28px; } }

/* แถบปิดท้าย: ข้อความ + ช่องทางติดต่อ + ฟอร์ม */
.cta-dark .cta-grid { grid-template-columns: 1fr; align-items: start; justify-items: stretch; }
.cta-dark .cta-btns { margin-top: 18px; }
.cta-ways { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.cta-ways li { display: flex; align-items: center; gap: 10px; color: #dfe6f7; }
.cta-ways a, .cta-ways span { color: inherit; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; word-break: break-word; }
.cta-ways a { flex: 1; }
.cta-ways a:hover { color: #fff; text-decoration: underline; }
.cta-ways svg { width: 20px; height: 20px; color: #e6c98a; }
.cta-form { width: 100%; color: var(--ink); grid-template-columns: 1fr; }
.cta-form textarea { min-height: 76px; }
@media (min-width: 560px) { .cta-form { grid-template-columns: 1fr 1fr; } .cta-form .span2 { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .cta-dark .cta-grid { grid-template-columns: 1.1fr .9fr 1.4fr; gap: 36px; } }

/* =====================================================================
   รอบปรับพรีเมียม 2026-11-11 (เจ้าของสั่ง): หัวเว็บกรมท่าเข้ม + ทองแชมเปญ · โลโก้ตราใหม่
   แบนเนอร์แนวยาวเต็มจอ · หัวหน้าย่อยเข้มต่อเนื่อง · พื้นงาช้าง
   หัวเว็บยังห้าม backdrop-filter/transform/filter (เมนูมือถือเต็มจอ) — ใช้สีทึบเท่านั้น
   ===================================================================== */
:root {
  --navy-900: #07112a; --navy-800: #0b1a3d; --navy-700: #13285e; --navy-600: #1f3d86;
  --champagne: #e6c98a; --champagne-2: #d4b26a; --gold-deep: #a27d3c;
  --on-dark: #e6ebf5; --on-dark-2: #b9c3dc;
  --gold-line: rgba(230, 201, 138, .28);
}
.btn-gold {
  background: linear-gradient(180deg, #f1dcab 0%, #d4b26a 55%, #b8904a 100%); color: #1d1606;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .55) inset, 0 10px 22px -10px rgba(184, 144, 74, .9);
}

/* แถบบน + หัวเว็บ: เข้มทึบ */
.topbar { background: var(--navy-900); color: var(--on-dark-2); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.topbar svg { color: var(--champagne-2); }
.nav { background: var(--navy-800); border-bottom: 1px solid var(--gold-line); }
.nav-in { min-height: 72px; }
.logo-mark { width: 48px; height: 48px; flex: none; display: block; background: none; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .6); border-radius: 12px; }
.logo-t b { color: #fff; font-size: 20px; font-weight: 800; letter-spacing: .01em; }
.logo-t small { color: var(--champagne-2); font-size: 14px; font-weight: 500; }
.nav .icon-btn { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: var(--champagne); }
.nav .menu-btn { color: #fff; }
.menu { background: var(--navy-800); }
.menu > a:not(.btn) { color: var(--on-dark); border-bottom-color: rgba(255, 255, 255, .1); }
.menu > a[aria-current="page"] { color: var(--champagne); }
@media (min-width: 960px) {
  .menu { background: none; }
  .menu > a:not(.btn):hover { background: rgba(255, 255, 255, .07); color: #fff; }
  .menu > a[aria-current="page"] { background: rgba(230, 201, 138, .12); color: var(--champagne); }
}
.foot .logo-t small { color: var(--champagne-2); }
.foot { border-top-color: var(--champagne-2); }

/* แบนเนอร์แนวยาว */
.hero.hero-long { color: #fff; padding: 0; isolation: isolate; background: var(--navy-800); }
.hero.hero-long::after { /* ลายประจำยามทอง + แสงฟ้า ทับทั้งภาพและพื้น แล้วจางไปทางขวา — ไม่เห็นรอยต่อภาพ */
  display: block; content: ''; position: absolute; inset: 0; z-index: 1; height: auto; pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23e6c98a' stroke-opacity='.08' stroke-width='1.1'%3E%3Cpath d='M32 8l10 24-10 24-10-24z'/%3E%3Cpath d='M8 32l24-10 24 10-24 10z'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(70% 100% at 0% 0%, rgba(36, 67, 143, .55), rgba(36, 67, 143, 0) 70%);
  -webkit-mask: linear-gradient(90deg, #000 0%, #000 30%, transparent 58%); mask: linear-gradient(90deg, #000 0%, #000 30%, transparent 58%);
}
@media (max-width: 859px) {
  .hero.hero-long::after { -webkit-mask: linear-gradient(180deg, transparent 30%, #000 55%); mask: linear-gradient(180deg, transparent 30%, #000 55%); }
  .hero-long .hero-frame figcaption { display: none; }
}
.hero-long .hero-photo::before { /* ปรับโทนภาพให้เข้ากับกรมท่า: ขอบบน-ล่างเข้มลง */
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 26, 61, .45) 0%, rgba(11, 26, 61, 0) 30%, rgba(11, 26, 61, 0) 62%, rgba(11, 26, 61, .7) 100%);
}
.hero-long .hero-illus { filter: contrast(1.03); } /* ภาพใหม่โทนกรมท่า-ทองอยู่แล้ว ไม่ต้องกดสี */
.hero-long .hero-photo::after { z-index: 1; background: linear-gradient(180deg, rgba(11, 26, 61, 0), var(--navy-800)); height: 40%; }
.hero-long .hero-onplate { z-index: 1; }
.hero-long .hero-frame {
  z-index: 2; padding: 6px 6px 4px; border-radius: 14px;
  background: linear-gradient(180deg, var(--navy-700), var(--navy-800));
  box-shadow: 0 0 0 1px rgba(230, 201, 138, .6), 0 22px 40px -16px rgba(0, 0, 0, .7);
}
.hero-long .hero-frame img { border-radius: 8px; box-shadow: none; }
.hero-long .hero-frame figcaption { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--champagne); padding-top: 4px; }
.hero-long .hero-frame figcaption svg { width: 15px; height: 15px; }
@media (max-width: 859px) { .hero.hero-long .hero-frame figcaption { display: none; } .hero-long .hero-frame { padding: 4px; border-radius: 10px; } }
.hero-long .hero-body { position: relative; z-index: 2; padding-block: 0 36px; margin-top: -40px; }
.hero-long .hero-pill {
  background: rgba(230, 201, 138, .08); color: var(--champagne); box-shadow: inset 0 0 0 1px rgba(230, 201, 138, .45);
  font-weight: 600; letter-spacing: .02em;
}
.hero-long .hero-pill svg { color: var(--champagne); }
.hero-long .hero-title {
  color: #fff; font-weight: 800; line-height: 1.4; letter-spacing: -.005em; text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.hero-rule { display: block; width: 84px; height: 3px; margin: 18px 0 4px; border-radius: 3px; background: linear-gradient(90deg, var(--champagne), rgba(230, 201, 138, 0)); }
.hero-long .hero-sub {
  display: block; background: none; padding: 0; margin-top: 12px; color: var(--on-dark-2);
  font-weight: 400; font-size: clamp(16px, 1.5vw, 19px); max-width: 32em;
}
.hero-long .hero-cta { margin-top: 26px; }
.hero-long .hero-tel { background: transparent; }
.hero-long .hero-dots button { background: rgba(255, 255, 255, .3); }
.hero-long .hero-dots button[aria-current="true"] { background: var(--champagne); }
@media (min-width: 860px) {
  .hero-long .hero-slide { min-height: clamp(520px, 40vw, 640px); }
  .hero-long .hero-photo::after {
    inset: 0 auto 0 0; width: 55%; height: auto;
    background: linear-gradient(90deg, var(--navy-800) 0%, rgba(11, 26, 61, .82) 35%, rgba(11, 26, 61, 0) 100%);
  }
  .hero-long .hero-body { margin-top: 0; padding-block: 56px; }
  .hero-long .hero-body > * { max-width: 560px; }
  .hero-long .hero-title { font-size: clamp(36px, 3.8vw, 58px); text-shadow: 0 2px 24px rgba(0, 0, 0, .45); }
  .hero-long .hero-frame { top: 7%; right: 3%; width: 22%; }
}
@media (min-width: 860px) and (max-width: 1199px) {
  .hero-long .hero-body > * { max-width: 430px; }
  .hero-long .hero-photo::after { width: 62%; background: linear-gradient(90deg, var(--navy-800) 0%, rgba(11, 26, 61, .88) 45%, rgba(11, 26, 61, 0) 100%); }
  .hero-long .hero-title { font-size: clamp(32px, 3.6vw, 42px); }
}
.hero-long + .trustbar { /* แถบรับประกันเข้ม ต่อท้ายแบนเนอร์ */
  background: var(--navy-900); border-top: 1px solid var(--gold-line); border-bottom: 3px solid var(--champagne-2);
}
.hero-long + .trustbar li { color: var(--on-dark); font-weight: 500; }
.hero-long + .trustbar svg { color: var(--champagne); }
@media (min-width: 860px) { .hero-long + .trustbar li + li { border-left-color: rgba(255, 255, 255, .1); } }

/* หัวหน้าย่อย: กรมท่าเข้มต่อจากหัวเว็บ */
.phead {
  color: #fff;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23e6c98a' stroke-opacity='.07' stroke-width='1.1'%3E%3Cpath d='M32 8l10 24-10 24-10-24z'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(90% 140% at 0% 0%, #1a3474 0%, var(--navy-800) 60%, var(--navy-900) 100%);
  border-bottom: 3px solid var(--champagne-2);
}
.phead h1 { color: #fff; }
.phead-intro { color: var(--on-dark-2); }
.phead .crumbs { color: var(--on-dark-2); }
.phead .crumbs a { color: var(--champagne); }
.phead .eyebrow { color: var(--champagne); }
.phead-pic::after { background: linear-gradient(90deg, rgba(11, 26, 61, .95) 0%, rgba(11, 26, 61, .82) 55%, rgba(11, 26, 61, .35) 100%); }
@media (min-width: 900px) { .phead-art { box-shadow: 0 0 0 1px rgba(230, 201, 138, .5), 0 24px 40px -22px rgba(0, 0, 0, .7); } }

/* หัวข้อส่วน + กล่องค้นหา: เส้นทองแชมเปญ */
.sbox-head { background: linear-gradient(180deg, var(--navy-700), var(--navy-800)); border-bottom: 2px solid var(--champagne-2); }
.sbox-head svg { color: var(--champagne); }
.sec-head.bar h2, .sec-head.rv h2 { border-left-color: var(--champagne-2); }
.pc-price { color: var(--navy-700); }

/* ================= สั่งแก้ครั้งที่ 1 (2026-11-12) ================= */
/* ตัดปุ่มล้างค่า เหลือปุ่มค้นหาปุ่มเดียวเต็มแถว */
.sbox-act { grid-template-columns: 1fr; }

/* แบนเนอร์ที่ปิดรูป: ข้อความอยู่บนพื้นกรมท่าเต็มแถบ */
.hero-long.hero-nophoto .hero-body { margin-top: 0; padding-block: 40px; }

/* ขั้นตอนจองป้ายที่ปิดรูปไว้ */
.steps-wrap.no-art { grid-template-columns: 1fr; }

/* แถบรีวิวส่งงานป้ายประมูล — เลื่อนวนจากซ้ายไปขวา */
.reviews {
  margin-top: clamp(40px, 6vw, 72px); padding-block: 26px 30px; color: #fff; overflow: hidden;
  background: radial-gradient(120% 160% at 50% 0%, #1f3d86 0%, #13285e 50%, #0b1a3d 100%);
  border-block: 3px solid var(--champagne-2);
}
.reviews-h { text-align: center; color: #fff; font-size: clamp(22px, 3vw, 30px); margin-bottom: 18px; }
.reviews-view { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.reviews-track { list-style: none; margin: 0; padding: 4px 0; display: flex; gap: 16px; width: max-content; }
.reviews-track li { flex: none; width: clamp(170px, 22vw, 240px); aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: #0b1a3d; box-shadow: 0 0 0 2px rgba(230, 201, 138, .45), 0 14px 26px -14px rgba(0, 0, 0, .6); }
.reviews-track img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .reviews-track { animation: reviews-lr 60s linear infinite; }
  .reviews:hover .reviews-track { animation-play-state: paused; }
}
@keyframes reviews-lr { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .reviews-view { overflow-x: auto; } }

/* กล่องฝากเลข/ข้อความ (หน้าจังหวัด) */
.ask { margin-top: 20px; border-radius: 16px; background: #eef8f0; border: 1.5px solid #b9e2c4; }
.ask > summary {
  list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px;
  padding: 16px; text-align: center;
}
.ask > summary::-webkit-details-marker { display: none; }
.ask-t { font-weight: 700; color: #134a25; font-size: 16.5px; }
.ask-btn { pointer-events: none; }
.ask[open] .ask-btn { opacity: .55; }
.ask-form { margin: 0 12px 12px; }
@media (min-width: 560px) { .ask-form { grid-template-columns: 1fr 1fr; } .ask-form .span2 { grid-column: 1 / -1; } }
.ask-card { max-width: 520px; margin-inline: auto; background: var(--card); border: 3px solid #1b1d22; overflow: hidden; }
.ask-card > summary { padding: 0 0 16px; flex-direction: column; }
.ask-pic {
  display: grid; place-items: center; width: 100%; aspect-ratio: 34 / 12; background: var(--bg) center / cover;
  container-type: inline-size;
}
.ask-pic b { font-size: clamp(22px, 9cqw, 40px); font-weight: 800; color: #15171c; text-shadow: 0 1px 0 rgba(255, 255, 255, .9), 0 0 8px rgba(255, 255, 255, .9); }
.ask-card .ask-t { color: var(--navy-700); padding-inline: 14px; }

/* หน้าจังหวัดที่ยังไม่มีป้าย */
.sec-empty .crumbs { margin-bottom: 8px; }
.sec-empty .plist-empty { margin-bottom: 20px; }
/* มือถือ: ช่องจังหวัด/ประเภทรถ/เรียงราคาเต็มแถว (ชื่อประเภทรถยาว รย.1 : เก๋ง / สี่ประตู / SUV) */
@media (max-width: 759px) { .sbox .f-p, .sbox .f-v, .sbox .f-o { grid-column: 1 / -1; } }
.list-layout .f-v { grid-column: 1 / -1; }
/* แก้ด่วน 742: ป้ายแนะนำ = เหรียญดาว วางทับขอบขวาของแผ่นป้าย ริบบิ้นห้อยเลยขอบล่างลงมา (ตามรูปตัวอย่างลูกค้า) */
.pc-crown { width: 13%; min-width: 26px; max-width: 46px; right: -1.5%; bottom: -13%; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .3)); }

/* ================= สั่งแก้ครั้งที่ 2 (2026-11-16) ================= */
/* พื้นการ์ดหลังแผ่นป้าย — ปิดเป็นค่าตั้งต้น (แผ่นป้ายเด่นบนพื้นเว็บ ราคาอยู่ด้านล่าง) · เปิด + เลือกสีได้ที่เมนูตั้งค่าหน้าแรก */
.pc:not(.pc-bg) .pc-in { background: transparent; box-shadow: none; padding-inline: 2px; }
.pc:not(.pc-bg) a.pc-in:hover { box-shadow: none; }
.pc-bg .pc-in { background: var(--plate-card, var(--card)); }

/* ป้าย Promotion / RESERVED — ริบบิ้นแดงมุมล่างซ้ายของแผ่นป้าย (ตามรูปตัวอย่างลูกค้า)
   แก้ด่วน 742: ไล่สีตามแถบแดงที่ลูกค้าส่งมา (สว่างทางซ้าย เข้มไปทางขวา) */
.pl-art .pc-tag {
  right: auto; top: auto; left: -2.5%; bottom: 5%; z-index: 3;
  padding: .12em .6em .12em .5em; border-radius: 3px 7px 7px 3px;
  font-size: clamp(11px, 6.6cqw, 17px); line-height: 1.35; letter-spacing: .01em;
  background: linear-gradient(90deg, #c80000 0%, #ff2b2b 12%, #e51414 32%, #cc0000 62%, #c20000 86%, #a80000 100%);
  box-shadow: 0 3px 6px -2px rgba(120, 10, 10, .55);
}

/* ผลรวม — วงกลมแดง ตัวเลขขาว มุมล่างขวาของแผ่นป้าย · ป้ายแนะนำที่มีผลรวม: มงกุฎขยับซ้ายของวงกลม */
.pc-sum {
  position: absolute; z-index: 3; right: 1%; bottom: 6%; width: 15cqw; min-width: 26px; max-width: 46px; aspect-ratio: 1;
  display: grid; place-items: center; border-radius: 50%; background: #e3262b; color: #fff; border: 2px solid #fff;
  font-weight: 800; font-size: clamp(12px, 7.5cqw, 20px); line-height: 1; font-variant-numeric: tabular-nums;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .35);
}
.pl-art:has(.pc-sum) .pc-crown { right: 15cqw; }
/* แก้ด่วน 742: วงกลมผลรวมตามรูปที่ลูกค้าส่ง — แดงสด มีเงาเสี้ยวเข้มมุมขวาล่าง */
.pc-sum { background: #f80f26; box-shadow: inset -.22em -.22em 0 -.02em #c10020, 0 2px 5px rgba(0, 0, 0, .35); }

/* จองแล้ว — แผ่นป้ายโทนอ่อนลงนิดหน่อย (ไม่ใช่ขาวดำ) · ตัวแดง "จองแล้ว" ขนาดเท่าราคาแทนแถบแดงเดิม */
.is-res .pl-face { opacity: .62; filter: saturate(.85); }
.pc-res {
  justify-self: center; width: auto; padding: 0; border-radius: 0; background: none; box-shadow: none;
  color: var(--red); font-size: clamp(19px, 4.6vw, 24px); font-weight: 800; line-height: 1.4; letter-spacing: 0;
}

/* จุดสไลด์แบนเนอร์ (ร้านใส่หลายสไลด์) — พื้นที่กด 44px ตามมาตรฐานมือถือ หน้าตาจุดเท่าเดิม (วาดด้วย ::before) */
.hero-dots { gap: 0; }
.hero-dots button, .hero-long .hero-dots button, .hero-dots button[aria-current="true"], .hero-long .hero-dots button[aria-current="true"] {
  --dot: rgba(19, 40, 94, .25); width: 44px; height: 44px; margin: -17px -13px; padding: 0;
  display: grid; place-items: center; background: none; border-radius: 0;
}
.hero-dots button::before { content: ''; width: 10px; height: 10px; border-radius: 99px; background: var(--dot); transition: width .2s var(--ease); }
.hero-dots button[aria-current="true"] { --dot: var(--accent); }
.hero-dots button[aria-current="true"]::before { width: 26px; }
.hero-long .hero-dots button { --dot: rgba(255, 255, 255, .3); }
.hero-long .hero-dots button[aria-current="true"] { --dot: var(--champagne); }

/* หัวส่วนจังหวัดหน้าแรก: "77 จังหวัด 1 อำเภอ" — 1 อำเภอ ตัวแดง */
.prov-dist { color: var(--red); font-weight: 700; }

/* ================= แก้ด่วน 742 (2026-11-16) ================= */
/* รูปแบนเนอร์หลายรูป — ซ้อนกันในกรอบเดิม ค่อยๆ จางสลับ (สคริปต์เปลี่ยน .on ตามวินาทีที่ร้านตั้ง) */
.hero-photo .hero-pic { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .9s ease; }
.hero-photo .hero-pic.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-photo .hero-pic { transition: none; } }

/* แผ่นป้าย: ตัวอักษรสูงเท่ากันทุกป้าย ป้ายยาวบีบความกว้างแทนการย่อ (--fw/--fz คำนวณใน plates.js) */
.pl-no { font-size: calc(19.5cqw * var(--fz, 1)); font-stretch: var(--fw, 78%); }
/* แก้ด่วน 919: ฟอนต์บนแผ่นป้าย = Noto Sans Thai Medium ความกว้างปกติ (ตัวที่ลูกค้าติดดาว ฟอนต์ฟรี ใช้บนเว็บได้)
   แทนตัวหนาบีบแคบเดิม · ป้ายยาวบีบเฉพาะที่ล้น (--fw ใน plates.js) */
.pl-no { font-weight: 500; font-stretch: var(--fw, 100%); letter-spacing: 0; }
.pl-prov { font-weight: 500; font-stretch: 100%; }
/* ชื่อจังหวัด: เตี้ยลงนิด ระยะห่างตัวอักษรกว้างขึ้นเล็กน้อย (ตามรูปตัวอย่างลูกค้า) */
.pl-prov { font-size: 9.6cqw; letter-spacing: .07em; }
/* รย.2 ลายฟ้า ตัวอักษรฟ้า · รย.3 ลายเขียว ตัวอักษรเขียว (พื้นมาจาก --bg) · ป้ายขาว = พื้นขาวไม่มีลาย */
.plate.pl-green, .plate.pl-blue { background: var(--bg) center / cover; }
.plate.pl-plain { background: #fbfbf8; }

/* แก้ด่วน 922: ลูกค้าเทียบกับ Noto Sans Thai Medium ใน Word — ตัวไทยที่ขยาย 1.3 เท่าเส้นหนาขึ้น 1.3 เท่าด้วย
   ดูเป็นตัวหนากว่าเลข → ลดน้ำหนักตัวไทยให้เส้นหนาเท่าเลข Medium (500 ÷ 1.3 ≈ 360) สูงเท่าเลขเหมือนเดิม
   ชื่อจังหวัด: ระยะห่างตัวอักษรตามฟอนต์ปกติ ไม่ยืด */
.pl-th { font-weight: 360; }
.pl-prov { letter-spacing: 0; }

/* งานภายใน (2026-11-16): เลขทะเบียน + ชื่อจังหวัด = Noto Sans Thai Medium ตรงตัว (น้ำหนัก 500 ความกว้างปกติ ทุกตัว)
   ยกเลิกน้ำหนัก 360 ของตัวไทย · เอาเงานูนที่เบลอออก (ทำให้เส้นดูหนา/ฟุ้งกว่าฟอนต์จริง) เหลือไฮไลต์บางๆ ขอบล่าง */
.pl-no, .pl-th, .pl-prov { font-family: 'Noto Sans Thai', sans-serif; font-weight: 500; font-style: normal; font-synthesis: none; }
.pl-prov { font-stretch: 100%; }
.pl-no { text-shadow: 0 .35cqw 0 rgba(255, 255, 255, .7); }
.pl-prov { text-shadow: 0 .3cqw 0 rgba(255, 255, 255, .7); }

/* แก้ด่วน 924: ตัวอย่างใน Word ของลูกค้า = Noto Sans Thai Medium รุ่น "มีหัว" (ร น ค มีหัวกลม) = Noto Sans Thai Looped 500
   ใช้เฉพาะบนแผ่นป้าย (หมวด เลข จังหวัด) · ก่อนหน้านี้ป้ายเรียก 'Noto Sans Thai' แต่หน้าเว็บโหลดแค่ตัว Looped
   มือถือจึงใช้ฟอนต์เครื่องที่กว้างกว่า ตัวอักษรล้นขอบป้าย — ตอนนี้โหลดทั้งสองตัวใน render.js */
.pl-no, .pl-th, .pl-prov { font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif; }

/* เลขจัด Promotion + ข้อความต่อท้ายที่ร้านตั้งเอง */
.f-lucky span { line-height: 1.45; }
.f-note { font-style: normal; font-weight: 700; color: var(--red); }

/* ท้ายเว็บ: เมนูและช่องทางติดต่อเรียงซ้ายไปขวา ขึ้นบรรทัดใหม่เมื่อเต็ม (ลูกค้าขอ ไม่ยาวลงล่างบนมือถือ) */
.foot-nav, .foot-contact { display: flex; flex-wrap: wrap; align-items: center; column-gap: 20px; align-content: start; }
.foot-nav b, .foot-contact b { flex-basis: 100%; }

/* ปุ่มกลับขึ้นบนสุด — วงกลมเทามุมขวาล่าง เหนือแถบติดต่อล่างจอ */
.to-top {
  position: fixed; z-index: 31; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom));
  width: 46px; height: 46px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(96, 102, 116, .82); color: #fff;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.to-top.on { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.to-top:hover { background: rgba(60, 66, 80, .92); }
.nav-open .to-top { display: none; }
@media (min-width: 960px) { .to-top { right: 24px; bottom: 96px; } }

/* ================= แก้ด่วน 919 (2026-11-16) ================= */
/* หน้ารายละเอียดป้ายรายแผ่น /p/<รหัส> — ตามรูปตัวอย่างลูกค้า: ซ้ายแผ่นป้ายใหญ่ ขวาข้อมูล + ปุ่มทักไลน์/โทร/แชร์ */
.pd-sec { padding-top: clamp(20px, 3vw, 32px); }
.pd {
  display: grid; gap: clamp(20px, 4vw, 48px); align-items: start;
  background: var(--card); border-radius: 22px; padding: clamp(16px, 3.5vw, 36px);
  box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
}
@media (min-width: 860px) { .pd { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.pd-art { padding: 6px 4px 14px; }
.pd-art .pc-crown { max-width: 64px; }
.pd-art .pc-sum { max-width: 58px; }
.pd.is-res .pl-face { opacity: .62; filter: saturate(.85); }
.pd-info h1 { font-size: clamp(24px, 3.6vw, 34px); color: var(--navy-700); line-height: 1.4; margin-bottom: 10px; }
.pd-rows { margin: 0; display: grid; }
.pd-rows > div { display: grid; grid-template-columns: 8.5em 1fr; gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); }
.pd-rows dt { color: var(--muted); font-size: 15px; }
.pd-rows dd { margin: 0; font-weight: 600; color: var(--ink); }
.pd-price { font-size: clamp(22px, 3vw, 28px); font-weight: 800; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.pd-rows s { color: var(--muted); font-weight: 500; font-size: 15px; margin-left: 6px; }
.pd-res { font-size: clamp(22px, 3vw, 28px); font-weight: 800; color: var(--red); }
.pd-chip { display: inline-block; padding: 1px 12px; border-radius: 99px; background: #e3f6ea; color: #0b6b34; font-size: 15px; }
.pd-chip-res { background: #fde8e8; color: #b42020; }
.pd-note { margin: 12px 0 0; color: var(--muted); font-size: 15px; }
.pd-act { display: grid; gap: 10px; margin-top: 20px; }
@media (min-width: 520px) { .pd-act { grid-template-columns: 1fr 1fr; } }
.pd-act .btn { width: 100%; }
.pd-tel { background: var(--navy-700); }
.pd-hint { margin: 10px 0 0; font-size: 14px; color: var(--muted); line-height: 1.55; }
.pd-share { margin-top: 14px; min-height: 44px; }
.pd-share svg { width: 18px; height: 18px; }
.pd-back { display: flex; margin-top: 6px; }
.crumbs a { color: inherit; }

/* ================= สั่งแก้ครั้งที่ 2 รอบ 17-11-69 ================= */
/* ฟอนต์ป้ายทะเบียน Kt_smarn-Tabian ที่ลูกค้าส่งมา — ใช้เฉพาะบนแผ่นป้าย (หมวด เลข จังหวัด) ส่วนอื่นของเว็บใช้ฟอนต์เดิม
   block = รอฟอนต์โหลดก่อนค่อยโชว์ตัวอักษร (ฟอนต์สำรองขนาดต่างกันมาก ถ้าโชว์ก่อนจะล้นแผ่นป้ายแวบหนึ่ง) */
@font-face { font-family: 'KT Tabian'; src: url('/fonts/kt-smarn-tabian.ttf') format('truetype'); font-display: block; }
.plate { display: block; }
.pl-no, .pl-th, .pl-prov {
  font-family: 'KT Tabian', 'Noto Sans Thai Looped', sans-serif; font-weight: 400; font-stretch: normal;
  letter-spacing: 0; font-synthesis: none;
}
/* เลข: วางทีละตัวตามขอบหมึกจริง (--l/--r คำนวณใน plates.js) ระยะห่างเท่ากันทุกตัว · ตัวไทยกับเลขสูงเท่ากันในฟอนต์นี้
   ตำแหน่ง: ยกขึ้นเล็กน้อยจากเดิม (ลูกค้าขอ) จุดกึ่งกลางความสูงตัวอักษร = 14.4cqw จากขอบในบน
   ตัวอักษรสูง 0.41em · บรรทัดสูง 1.4 → ฐานตัวอักษรอยู่ 0.955em จากบนกล่อง กึ่งกลางตัวอักษร 0.75em */
.pl-no {
  position: absolute; left: 0; right: 0; top: calc(14.4cqw - .75em); margin: 0;
  display: flex; justify-content: center; align-items: baseline; gap: .2em;
  font-size: var(--fs, 35cqw); line-height: 1.4; white-space: nowrap;
}
.pl-no b { display: flex; gap: .07em; font-weight: inherit; }
.pl-no i { display: inline-block; font-style: normal; margin-left: calc(var(--l, 0) * -1em); margin-right: calc(var(--r, 0) * -1em); }
/* ชื่อจังหวัด: ลงล่างเล็กน้อยจากเดิม ฐานตัวอักษรที่ 35.6cqw จากขอบในบน (แผ่นสูงด้านใน ≈ 40.9cqw) */
.pl-prov {
  position: absolute; left: 6%; right: 6%; top: calc(35.6cqw - .955em); max-width: none; padding: 0;
  font-size: 13.4cqw; line-height: 1.4; text-align: center; overflow: visible;
}

/* ระยะห่างแถวป้าย: ชิดที่สุดแต่ยังเท่ากันทุกแถว ทุกหน้า (ลูกค้าขอ) — ระยะบน-ล่างใกล้เคียงระยะซ้าย-ขวา */
.pgrid { row-gap: 6px; }
@media (min-width: 768px) { .pgrid { row-gap: 8px; } }
.pc:not(.pc-bg) .pc-in { padding-block: 4px 2px; gap: 4px; }

/* หัวกลุ่มประเภทรถในผลค้นหา (หน้าป้ายทั้งหมด/หน้าจังหวัด) — เต็มแถว แถบกรมท่า */
.pg-head { grid-column: 1 / -1; margin-top: 14px; }
.pg-head:first-child { margin-top: 0; }
.pg-head[hidden] { display: none; }
.pg-head h2 {
  display: inline-block; margin: 0; padding: 6px 14px; border-radius: 8px;
  background: linear-gradient(180deg, var(--navy-700), var(--navy-800)); color: #fff;
  font-size: clamp(15px, 2.2vw, 19px); font-weight: 600; line-height: 1.45; border-left: 4px solid var(--champagne-2);
}

/* เลขจัด Promotion: ข้อความที่ร้านเพิ่มขึ้นบรรทัดล่างทั้งชุด (2 บรรทัด) */
.f-note { display: block; }

/* แบนเนอร์หน้าจังหวัด: มือถือเลือกส่วนของภาพได้ (--bgx) · ปิดแบนเนอร์ = เหลือแถบตำแหน่งในเว็บเล็กๆ */
@media (max-width: 759px) { .phead-pic::before { background-position: var(--bgx, center) 40%; } }
.phead-off { padding-top: 16px; }
.phead-off .crumbs { margin-bottom: 0; }
.sec-tight { padding-top: 14px; }

/* กล่องฝากเลข: ช่องเรียงแถวเดียวตามแบบลูกค้า · ข้อความการ์ดจังหวัดที่ยังไม่มีป้าย 2 บรรทัด */
.ask-form { grid-template-columns: 1fr; }
.ask-card .ask-t { line-height: 1.6; }

/* คำอธิบายใต้ภาพลายป้ายประมูลแต่ละจังหวัด */
.gal-fig { margin: 0 0 10px; break-inside: avoid; }
.gal-fig a { margin-bottom: 6px; }
.gal-fig figcaption { font-size: 14.5px; color: var(--muted); text-align: center; line-height: 1.5; padding-inline: 4px; }

/* หน้ารายละเอียดป้าย: สั้นลงให้เห็นครบในจอมือถือ · ชื่อป้ายบรรทัดเดียว (ย่อขนาดตามความยาว --hl) */
.pd-info h1 { font-size: clamp(17px, calc((100vw - 72px) / (var(--hl, 20) * .6)), 30px); line-height: 1.45; white-space: nowrap; margin-bottom: 4px; }
@media (min-width: 860px) { .pd-info h1 { font-size: clamp(22px, 2.6vw, 32px); white-space: normal; } }
.pd-rows s { white-space: nowrap; }
.ask-card .ask-t { text-wrap: balance; }
@media (max-width: 859px) {
  .pd { gap: 6px; padding: 12px 14px 16px; }
  .pd-art { padding: 2px 2px 8px; }
  .pd-rows > div { padding: 7px 0; }
  .pd-act { margin-top: 12px; gap: 8px; }
}
/* ปุ่มทักไลน์: แสงแฉลบวิ่งผ่านเป็นระยะ ดึงสายตา (ปิดเองเมื่อเครื่องตั้งลดการเคลื่อนไหว) */
.pd-act .btn-line { position: relative; overflow: hidden; isolation: isolate; }
.pd-act .btn-line::after {
  content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 45%; pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, .55) 50%, transparent 100%);
  transform: skewX(-18deg); opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .pd-act .btn-line::after { animation: btn-shine 2.8s ease-in-out 1s infinite; }
}
@keyframes btn-shine { 0% { left: -60%; opacity: 1; } 45% { left: 130%; opacity: 1; } 100% { left: 130%; opacity: 0; } }

/* ================= แก้ด่วน 961 ================= */
/* แผ่นป้ายแบ่ง 2 ฝั่งแบบป้ายจริง (ลูกค้าวัดจากรูปตัวอย่าง วัดจากขอบนอกแผ่น):
   หมวดอักษรกึ่งกลางที่ 24.2% ของความกว้างแผ่น · ตัวเลขกึ่งกลางที่ 72% · ขอบดำหนา 1.6cqw → วัดในกรอบเหลือ 22.6 / 70.4cqw
   ฝั่งซ้ายกว้าง 45.2cqw (กลาง 22.6) ฝั่งขวากว้าง 50.4cqw (กลาง 70.4) แล้วจัดกลางในฝั่งของตัวเอง */
.pl-no { justify-content: flex-start; gap: 0; }
.pl-no b { flex: none; justify-content: center; }
.pl-no b:first-child { width: 45.2cqw; }
.pl-no b:last-child { width: 50.4cqw; }
/* ชื่อจังหวัด: เว้นระยะตัวอักษรเพิ่มเล็กน้อย (เฉพาะชื่อจังหวัด) · text-indent ชดเชยช่องท้ายให้ยังอยู่กลางแผ่น */
.pl-prov { letter-spacing: .05em; text-indent: .05em; }

/* ราคาก่อนลดอยู่บรรทัดเดียวกับราคาขาย — ขนาดตามความกว้างการ์ด ให้พอดีบรรทัดเดียวทั้งมือถือและจอคอม */
.pc-in { container-type: inline-size; }
.pc-price { font-size: min(24px, 12.4cqw, calc(100cqw / (var(--pn, 10) * .64))); white-space: nowrap; }
.pc-price small { font-size: .6em; }
.pc-price s { display: inline; margin-left: .25em; font-size: .6em; }

/* ช่องติ๊ก "เลขจัด Promotion": แสงแฉลบวิ่งผ่าน + ขอบเรืองเบาๆ ดึงสายตา (ปิดเองเมื่อเครื่องตั้งลดการเคลื่อนไหว) */
.f-lucky { position: relative; overflow: hidden; isolation: isolate; }
.f-lucky::after {
  content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, .9) 45%, rgba(255, 226, 150, .75) 55%, transparent 100%);
  transform: skewX(-18deg); opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .f-lucky::after { animation: btn-shine 3s ease-in-out .6s infinite; }
  .f-lucky { animation: lucky-glow 3s ease-in-out .6s infinite; }
}
@keyframes lucky-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(204, 31, 47, 0); }
  30% { box-shadow: 0 0 0 3px rgba(204, 31, 47, .18), 0 4px 14px -4px rgba(204, 31, 47, .35); }
}

/* หัวกลุ่มป้ายขาว — แถบขาวขอบกรมท่า แยกจากกลุ่มป้ายประมูล */
.pg-head.pg-white h2 { background: #fff; color: var(--navy-800); box-shadow: inset 0 0 0 1.5px var(--navy-700); }

/* ลายป้ายประมูลแต่ละจังหวัด: ไม่มีคำอธิบายใต้ภาพ ก็จัดเรียงเท่ากับรูปที่มีคำอธิบาย */
.gal-fig figcaption:empty { display: none; }

/* แก้ด่วน 998: ตัวเลขฝั่งขวาขยับมาทางซ้ายเล็กน้อย (ลูกค้าขอ) กึ่งกลางจาก 70.4 → 66.9cqw · หมวดอักษรฝั่งซ้ายคงเดิม */
.pl-no b:last-child { width: 43.4cqw; }
