/* staff.css = staff.css + staff-v2.css จากแฟ้มเว็บพนักงานหน้าร้าน (u346 14/10/2026) คัดลอกทั้งไฟล์ให้หน้าตาเหมือนเป๊ะ · แก้แค่ path ฟอนต์เป็น /prompt-*.woff2 (static แบน) · ใช้กับ web.html (#160) */
/* u125 — หน้าพนักงาน ลอกหน้าตาจาก app.sp-tire.com ตามสเปก docs/staff-ui-spec.md
   ค่าสี ขนาด ระยะ วัดจากแอปจริง (Tailwind ค่าตั้งต้น) — ไม่ปรับปรุงเอง เจ้าของสั่งให้เหมือน 100% */

/* ฟอนต์ Prompt โฮสต์เอง (ไฟล์จาก @fontsource/prompt) แบบเดียวกับ Anuphan ของเว็บลูกค้า */
@font-face{font-family:'Prompt';font-style:normal;font-weight:400;font-display:swap;
  src:url(/prompt-thai-400.woff2) format('woff2');unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:'Prompt';font-style:normal;font-weight:400;font-display:swap;
  src:url(/prompt-latin-400.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}
@font-face{font-family:'Prompt';font-style:normal;font-weight:500;font-display:swap;
  src:url(/prompt-thai-500.woff2) format('woff2');unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:'Prompt';font-style:normal;font-weight:500;font-display:swap;
  src:url(/prompt-latin-500.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}
@font-face{font-family:'Prompt';font-style:normal;font-weight:600;font-display:swap;
  src:url(/prompt-thai-600.woff2) format('woff2');unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:'Prompt';font-style:normal;font-weight:600;font-display:swap;
  src:url(/prompt-latin-600.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}

.st{
  --bg:#FAFAFA;--bg2:#F1F5F9;--bg3:#F8FAFC;--line:#E5E5E5;--inb:#D4D4D4;
  --ink:#000;--ink2:#171717;--mut:#737373;--mut2:#525252;
  --blue:#3B82F6;--green:#22C55E;--orange:#F97316;--yellow:#EAB308;--red:#EF4444;
  --c-total:#EF4444;--c-sp1:#F59E0B;--c-sp2:#737373;--c-sp3:#6366F1;--c-sp4:#22C55E;--c-sp5:#A855F7;
  font-family:'Prompt',system-ui,sans-serif;font-size:16px;line-height:24px;color:var(--ink);
  background:var(--bg);min-height:100dvh;-webkit-font-smoothing:antialiased;
}
.st *{box-sizing:border-box}
:where(.st) :is(button,input,select){font:inherit;color:inherit}
/* ใช้ :where ให้ specificity เป็น 0 — ไม่งั้นกฎนี้จะทับพื้นสีฟ้าของ .st-go และพื้นขาวของปุ่มอื่น */
:where(.st) button{cursor:pointer;border:0;background:none;padding:0}
.st a{color:inherit;text-decoration:none}

/* ---------- u292: ขนาด/ระยะ/สี ตามคลาส Tailwind จริงของ app.sp-tire.com (อ่านจาก DOM ในเบราว์เซอร์เจ้าของ 6 ต.ค. 2026)
   ชุดสี: gray = neutral (#737373/#d4d4d4/#e5e5e5/#171717/#404040/#a3a3a3) · primary = blue · slate ปกติ ---------- */

/* ---------- แถบบน: nav.sticky.bg-white/80.backdrop-blur-md.border-b.border-slate-200 > div.max-w-7xl.px-4.sm:px-6.lg:px-8 > h-16 ---------- */
.st-nav{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.8);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid #E2E8F0;display:flex}
.st-nav-in{flex:1;max-width:1280px;margin:0 auto;padding:0 32px;height:64px;display:flex;align-items:center;justify-content:space-between;position:relative}
.st-nav > .st-nav-l{padding-left:32px}.st-nav > .st-nav-r{padding-right:32px}
.st-nav-l{display:flex;align-items:center;gap:12px}
.st-logo{width:40px;height:40px;border-radius:8px;object-fit:cover;box-shadow:0 1px 2px 0 rgb(0 0 0/.05)}
.st-nav-name{font-weight:700;font-size:18px;line-height:28px;color:#1E293B}
.st-tabs{display:flex;align-items:center;gap:4px}
.st-tab{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:8px;font-size:14px;line-height:20px;font-weight:500;color:#404040}
.st-tab.on{background:#EFF6FF;color:#3B82F6}
.st-tab svg{width:20px;height:20px;flex:none}
.st-nav-r{display:flex;align-items:center;gap:8px}
.st-user{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:9999px;font-size:14px;line-height:20px;font-weight:500;color:#404040}
.st-user:hover{background:#F5F5F5}
.st-user svg{width:16px;height:16px}
.st-avatar{width:24px;height:24px;border-radius:9999px;background:#3B82F6;color:#fff;font-size:12px;line-height:1;font-weight:500;display:inline-flex;align-items:center;justify-content:center;flex:none}
.st-burger{display:none;padding:6px;border-radius:6px;align-items:center;justify-content:center;color:#404040}
.st-burger svg{width:20px;height:20px}
.st-menu{position:absolute;right:32px;top:58px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.08);min-width:220px;padding:6px;z-index:20}
.st-menu-h{padding:8px 12px;font-size:13px;color:var(--mut)}
.st-menu-h b{display:block;color:var(--ink2);font-size:15px;font-weight:600}
.st-menu-i{display:block;width:100%;text-align:left;padding:8px 12px;border-radius:6px;font-size:14px}
.st-menu-i:hover{background:var(--bg2)}
.st-menu-i.red{color:#DC2626}

/* ---------- หัวหน้า: main > div.p-4.md:p-8 > grid gap-4 > [flex gap-3 mb-4] ---------- */
.st{background:#F8FAFC}
.st-wrap{padding:32px}
.st-head{display:flex;align-items:center;gap:12px;margin-bottom:32px}
.st-head-ic{padding:8px;border-radius:8px;background:#DBEAFE;color:#2563EB;display:flex;align-items:center;justify-content:center;flex:none}
.st-head-ic svg{width:24px;height:24px}
.st-head h1{margin:0;font-size:24px;line-height:32px;font-weight:700;color:#1E293B}
.st-head p{margin:0;font-size:14px;line-height:20px;color:#64748B}

/* ---------- โครง: grid-cols-12 gap-4 divide-x-2 · ซ้าย xl:col-span-3 · ขวา xl:col-span-9 xl:pl-4 ---------- */
.st-body{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px}
.st-side{grid-column:span 3/span 3;display:flex;flex-direction:column;gap:16px;min-width:0}
.st-main{grid-column:span 9/span 9;padding-left:16px;border-left:2px solid #E5E5E5;min-width:0;display:flex;flex-direction:column;gap:16px}

/* ---------- ตัวกรองซ้าย ---------- */
.st-f-top{display:flex;justify-content:space-between;align-items:center}
.st-f-top h2{margin:0;font-size:20px;line-height:28px;font-weight:600;color:#000}
.st-clear{color:#EF4444;font-size:12px;line-height:16px;font-weight:500;padding:6px 10px;border-radius:6px}
.st-clear:hover{background:#FEF2F2}
.st-lab{font-size:14px;line-height:20px;font-weight:600;color:#334155;margin:0}
.st-lab-sub{font-size:12px;font-weight:400;color:#737373;margin-left:6px}
.st-sgrp{display:grid;gap:8px}
.st-sizeblk{display:grid;gap:8px;margin-bottom:8px}
.st-lab-rq{margin-top:8px}
/* ช่องเลือก/ช่องพิมพ์ = Nuxt UI: ring-1 ring-inset ring-gray-300 rounded-md text-sm px-2.5 py-1.5 (สูง 32) */
.st-sel,.st-in{height:32px;width:100%;background:#fff;border:0;border-radius:6px;box-shadow:inset 0 0 0 1px #D4D4D4;font-size:14px;line-height:20px;padding:6px 10px;color:#171717;outline:none}
.st-sel{appearance:none;-webkit-appearance:none;padding-right:36px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='%23A3A3A3'%3E%3Cpath fill-rule='evenodd' d='M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 10px center;background-size:20px 20px}
.st-sel:focus,.st-in:focus{box-shadow:inset 0 0 0 2px #3B82F6}
.st-sel.ph,.st-in::placeholder{color:#A3A3A3}
.st-sel option{color:#171717}
/* ช่องเลือกแบบ Nuxt UI (Dd ใน StaffClient) */
.st-dd{position:relative;min-width:0}
.st-dd > .st-sel{display:block;text-align:left;cursor:pointer}
.st-dd > .st-sel:focus{box-shadow:inset 0 0 0 1px #D4D4D4}
.st-dd > .st-sel:focus-visible{box-shadow:inset 0 0 0 2px #3B82F6}
.st-dd > .st-sel span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.st-dd-list{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:25;margin:0;padding:4px;list-style:none;background:#fff;border-radius:6px;
  box-shadow:0 0 0 1px #E5E5E5,0 10px 15px -3px rgb(0 0 0/.1),0 4px 6px -4px rgb(0 0 0/.1);max-height:240px;overflow-y:auto;scroll-padding:4px 0}
.st-dd-list li{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:6px;border-radius:6px;font-size:14px;line-height:20px;color:#171717;cursor:default;user-select:none}
.st-dd-list li span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.st-dd-list li.on{background:#F5F5F5}
.st-dd-list li svg{width:20px;height:20px;flex:none;color:#171717}
.st-size3{display:flex;gap:8px}
.st-size3 .st-sel,.st-size3 .st-dd{flex:1;min-width:0}
.st-srow{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:8px;align-items:center}
.st-srch{position:relative;grid-column:span 11/span 11}
.st-srow > .st-srch:only-child{grid-column:span 12/span 12}
.st-srch svg{position:absolute;left:10px;top:6px;width:20px;height:20px;color:#A3A3A3;pointer-events:none}
.st-srch .st-in{padding-left:36px}
.st-pin{grid-column:span 1/span 1;justify-self:start;padding:6px;border-radius:6px;color:#3B82F6;display:inline-flex;align-items:center;justify-content:center}
.st-pin:hover{background:#EFF6FF}
.st-pin svg{width:16px;height:16px}
.st-go{margin-top:12px;width:100%;padding:6px;background:#3B82F6;color:#fff;border-radius:6px;font-size:14px;line-height:20px;font-weight:500;display:flex;align-items:center;justify-content:center;gap:6px}
.st-go:hover{background:#2563EB}
.st-go svg{width:20px;height:20px}
.st-hr{border:0;border-top:1px solid #E2E8F0;margin:16px 0 0}
.st-hr.end{display:none}
.st-patblk{display:grid;gap:12px;margin:8px 0}
.st-lab-mk{margin:8px 0}
.st-brands{display:flex;flex-direction:column;gap:12px}
.st-ck{display:flex;align-items:center;gap:12px;font-size:14px;line-height:20px;font-weight:500;color:#404040;cursor:pointer;user-select:none}
/* ช่องติ๊ก = Nuxt UI: h-4 w-4 rounded border-gray-300 · ติ๊กแล้วพื้น primary-500 */
.st-ck input{appearance:none;-webkit-appearance:none;width:16px;height:16px;margin:0;border:1px solid #D4D4D4;border-radius:4px;background:#fff;flex:none;cursor:pointer;display:grid;place-content:center}
.st-ck input:checked{background:#3B82F6 url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3E%3C/svg%3E") center/100% no-repeat;border-color:#3B82F6}
.st-ck input:focus-visible{outline:2px solid #3B82F6;outline-offset:2px}

/* ---------- แถวสวิตช์: grid-cols-2 lg:flex gap-4 · ป้าย text-sm font-semibold text-slate-700 ---------- */
.st-tog{display:flex;flex-wrap:wrap;align-items:center;gap:16px}
.st-tog .st-ck{gap:8px;font-weight:600;color:#334155}
.st-sw{display:flex;align-items:center;gap:8px;font-size:14px;line-height:20px;font-weight:600;color:#334155;cursor:pointer;user-select:none}
.st-sw i{width:36px;height:20px;border-radius:9999px;border:2px solid transparent;background:#E5E5E5;position:relative;transition:background .2s;flex:none}
.st-sw i::after{content:"";position:absolute;top:0;left:0;width:16px;height:16px;border-radius:9999px;background:#fff;box-shadow:0 1px 3px 0 rgb(0 0 0/.1),0 1px 2px -1px rgb(0 0 0/.1);transition:transform .2s;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 20 20' fill='%23A3A3A3'%3E%3Cpath d='M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:center;background-size:12px}
.st-sw.on i{background:#3B82F6}
.st-sw.on i::after{transform:translateX(16px);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 20 20' fill='%233B82F6'%3E%3Cpath fill-rule='evenodd' d='M16.7 4.15a.75.75 0 0 1 .15 1.05l-8 10.5a.75.75 0 0 1-1.13.08l-4.5-4.5a.75.75 0 0 1 1.06-1.06l3.89 3.89 7.48-9.81a.75.75 0 0 1 1.05-.15Z' clip-rule='evenodd'/%3E%3C/svg%3E")}
.st-sw input{position:absolute;opacity:0;width:0;height:0}
/* ตัวกรองปีผลิต — เจ้าของขอเพิ่ม (ไม่มีในแอปเดิม) อยู่แถวเดียวกับสวิตช์ */
.st-year{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:14px;line-height:20px;font-weight:600;color:#334155}
.st-year .st-sel,.st-year .st-dd{width:132px}
/* ปุ่ม: Copy All text-xs rounded-lg · Export/Import text-sm rounded-md · px-2.5 py-1.5 */
.st-btns{display:flex;justify-content:flex-end;gap:8px}
.st-b{color:#fff;display:inline-flex;align-items:center;gap:6px;padding:6px 10px;font-weight:500;white-space:nowrap;font-size:14px;line-height:20px;border-radius:6px}
.st-b svg{width:20px;height:20px}
.st-b.copy{background:#22C55E;border-radius:8px;font-size:12px;line-height:16px;padding:8px 10px}
.st-b.copy svg{width:16px;height:16px}
.st-b.copy:hover{background:#16A34A}
.st-b.exp{background:#F97316}.st-b.exp:hover{background:#EA580C}
.st-b.imp{background:#3B82F6}.st-b.imp:hover{background:#2563EB}
.st-b:disabled{opacity:.6;cursor:default}
.st-count{display:flex;align-items:center;gap:8px;font-size:14px;line-height:20px;font-weight:500;color:#000}
.st-count b{font-weight:400;font-size:12px;line-height:16px;background:#F1F5F9;border:1px solid #CBD5E1;border-radius:9999px;padding:6px;color:#000}

/* ---------- ตาราง: table.min-w-full.table-fixed.divide-y.divide-gray-300 · th px-4 py-3.5 · td px-4 py-4 text-sm text-gray-500 ---------- */
.st-tw{overflow-x:auto;-webkit-overflow-scrolling:touch}
.st-t{min-width:100%;border-collapse:collapse;table-layout:auto}
.st-t th{font-size:14px;line-height:20px;font-weight:600;color:#171717;text-align:left;padding:14px 16px;white-space:nowrap;border-bottom:1px solid #D4D4D4}
.st-t th.c,.st-t td.c{text-align:center}
.st-t th.r,.st-t td.r{text-align:right}
.st-t th button{display:inline-flex;align-items:center;gap:6px;margin:-6px;padding:6px;border-radius:6px;font-weight:500;font-size:14px;line-height:20px;color:#404040}
.st-t th button:hover{background:#F5F5F5}
.st-t th button svg{width:20px;height:20px;color:#404040}
.st-t td{padding:16px;border-top:1px solid #E5E5E5;vertical-align:middle;font-size:14px;line-height:20px;color:#737373;white-space:nowrap}
.st-t tbody tr:first-child td{border-top:0}
.st-t tbody tr:nth-child(odd){background:#F1F5F9}
.st-t tbody tr:nth-child(even){background:transparent}
.st-bcell{display:flex;align-items:center;gap:12px;width:208px}
.st-ok{padding:6px;border-radius:8px;background:#22C55E;color:#fff;display:inline-flex;align-items:center;justify-content:center;flex:none;cursor:pointer;box-shadow:0 1px 2px 0 rgb(0 0 0/.05)}
.st-ok:hover{background:#16A34A}
.st-ok svg{width:16px;height:16px}
.st-blogo{width:104px;height:48px;object-fit:contain;flex:none;border-radius:12px}
.st-blogo-t{width:104px;height:48px;display:flex;align-items:center;font-weight:700;font-size:13px;color:#171717;flex:none}
.st-spc{background:#EAB308;color:#fff;font-size:12px;line-height:16px;font-weight:500;border-radius:9999px;padding:4px 8px;white-space:nowrap;box-shadow:0 1px 2px 0 rgb(0 0 0/.05)}
.st-pat{display:block;font-size:14px;line-height:20px;color:#334155}
.st-note{display:block;font-size:12px;line-height:16px;color:#64748B;margin-top:4px}
.st-t td.st-wk{color:#3B82F6}
.st-t td.st-promo,.st-t td.st-nopromo{font-weight:600;color:#334155}
.st-t td.st-sz{font-weight:700;color:#334155}
.st-t td.st-pc{color:#334155}
.st-t td.st-cc{color:#334155}
.st-price{white-space:nowrap}
.st-full{display:block;color:#94A3B8;text-decoration:line-through;font-size:12px;line-height:14px}
.st-price.sale{color:#EF4444;font-weight:600}
/* วงสต็อก: text-xs font-medium px-2.5 py-1.5 ring-1 ring-inset ring-current rounded-full */
.st-circ{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:9999px;font-size:12px;line-height:16px;font-weight:500;
  box-shadow:inset 0 0 0 1px currentColor;background:transparent}
.st-circ.t{color:var(--c-total)}.st-circ.s1{color:var(--c-sp1)}.st-circ.s2{color:var(--c-sp2)}.st-circ.s3{color:var(--c-sp3)}.st-circ.s4{color:var(--c-sp4)}.st-circ.s5{color:var(--c-sp5)}
/* u128 โหมดหน้า-หลัง: ป้ายบอกฝั่ง + เส้นคั่นหนาขึ้นระหว่างรุ่น */
.st-fr{display:inline-block;font-size:11px;font-weight:600;line-height:18px;padding:0 7px;border-radius:9999px;margin-right:6px;vertical-align:1px}
.st-fr.f{background:#DBEAFE;color:#1D4ED8}
.st-fr.r{background:#EDE9FE;color:#6D28D9}
.st-t tbody tr.st-g1 td{border-top:2px solid #CBD5E1}
.st-only{display:inline-block;font-size:11px;color:#B45309;background:#FEF3C7;border-radius:9999px;padding:0 7px;line-height:18px;margin-left:8px;vertical-align:1px}
.st-card.st-g1{margin-top:12px}
/* u293 โหมดหน้า-หลัง (เจ้าของเคาะ): เรียงแบบแอปเดิม · รุ่นที่ครบคู่คลุมฟ้าอ่อนทุกล็อต + เส้นแดง 2px ใต้แถวสุดท้ายของรุ่น */
/* โหมดหน้า-หลังไม่ใช้แถบสลับสีเทา (กลืนกับฟ้าอ่อน) — รุ่นฝั่งเดียวเป็นพื้นขาวล้วน */
.st-t.pm tbody tr:nth-child(n){background:#fff}
.st-t.pm tbody tr.st-pair{background:#EAF2FF}
.st-cards.pm .st-card:nth-child(n){background:#fff;border-color:#E2E8F0}
.st-t tbody tr.st-pend td{border-bottom:2px solid #EF4444}
.st-cards.pm .st-card.st-pair{background:#EAF2FF;border-color:#BFDBFE}
.st-cards.pm .st-card.st-pend{border-bottom:2px solid #EF4444;margin-bottom:8px}
.st-empty{padding:40px 16px;text-align:center;color:var(--mut);font-size:14px}
/* ตัวแบ่งหน้า: flex justify-end px-3 py-3.5 border-t border-gray-200 · ปุ่ม ring-1 ring-gray-300 px-2.5 py-1.5 */
.st-pager{display:flex;justify-content:flex-end;padding:14px 12px;border-top:1px solid #E5E5E5}
.st-pg{display:flex;align-items:center}
.st-pgb{position:relative;display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;margin-left:-1px;font-size:14px;line-height:20px;font-weight:500;color:#404040;background:#fff;box-shadow:inset 0 0 0 1px #D4D4D4}
.st-pgb:first-child{margin-left:0;border-radius:6px 0 0 6px}
.st-pgb:last-child{border-radius:0 6px 6px 0}
.st-pgb:hover{background:#FAFAFA}
.st-pgb.on{color:#3B82F6;box-shadow:inset 0 0 0 1px #3B82F6;z-index:1}
.st-pgb.ic{padding:6px;color:#171717}
.st-pgb.ic svg{width:20px;height:20px}
.st-pgb:disabled{opacity:.75;cursor:not-allowed}
.st-pgb.dots{cursor:default}

/* ---------- การ์ดมือถือ + ปุ่มเรียง ---------- */
/* ปุ่มเรียง (sm:hidden): text-xs font-medium px-2.5 py-1.5 · เลือกอยู่ = primary-500 · อื่น = gray-500 */
.st-sortbar{display:none;justify-content:flex-end;gap:16px}
.st-sortb{padding:6px 10px;border-radius:6px;color:#737373;font-size:12px;line-height:16px;font-weight:500;display:inline-flex;align-items:center;gap:6px}
.st-sortb.on{color:#3B82F6}
.st-sortb svg{width:16px;height:16px}
.st-cards{display:none}
/* u192: การ์ดมือถือ — ขนาด/ระยะ/สี วัดทีละพิกเซลจากภาพหน้าจอ app.sp-tire.com (iPhone, 1 css px = 3 จุดภาพ)
   การ์ดติดกันไม่มีช่องว่าง · ใบคี่พื้น #E2E8F0 ขอบ #CBD5E1 มุม 12 · ใบคู่พื้น #F8FAFC ไม่มีขอบ (กลืนกับพื้นหน้า) */
.st-card{border-radius:8px;padding:12px 8px 4px;margin:0 0 1px;border:1px solid transparent}
.st-card:nth-child(odd){background:#E2E8F0;border-color:#CBD5E1}
.st-card:nth-child(even){background:#F8FAFC}
.st-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.st-card-l{flex:0 1 auto;min-width:0}
.st-card-lg{display:flex;align-items:center;gap:8px;height:48px}
/* ช่องโลโก้กว้าง 112 โลโก้อยู่กลางช่อง — ของเดิมโลโก้ส่วนใหญ่กว้าง ~85px ยกเว้น DUNLOP (กล่องเหลือง) เต็ม 112 */
.st-card-lg .st-blogo,.st-card-lg .st-blogo-t{width:112px;height:40px;object-fit:contain;object-position:center;box-sizing:border-box}
.st-card-lg .st-blogo{padding:0 13.5px}
.st-card-lg .st-blogo.w112{padding:0}
.st-card-lg .st-blogo-t{justify-content:center}
.st-card-lg .st-ok{width:24px;height:24px;border-radius:8px;box-shadow:0 1px 3px 0 rgb(0 0 0/.1),0 1px 2px -1px rgb(0 0 0/.1)}
.st-card-lg .st-ok svg{width:10.7px;height:14px;overflow:visible}
.st-card-pat{display:flex;gap:8px;font-size:12px;line-height:16px;color:#262626}
.st-card-pn{min-width:0}
.st-card-note{color:var(--mut2);line-height:18.5px}
.st-card-r{flex:0 1 auto;text-align:right;min-width:0}
.st-card-prow{display:flex;justify-content:flex-end;align-items:baseline;gap:4px;line-height:20px}
.st-card-full{font-size:12px;color:#94A3B8;text-decoration:line-through}
.st-card .st-card-pr{font-size:14px;line-height:20px;font-weight:600;position:relative;top:1px}
.st-card .st-card-pr.sale{color:#DC2626}
.st-card-sz{font-size:12px;line-height:16px;margin-top:1px;color:#000}
.st-card-wk{font-size:12px;line-height:16px;color:var(--blue)}
.st-card-mid{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-top:4px}
.st-card-tags{display:flex;gap:4px;flex-wrap:wrap}
.st-card-tags .st-spc{font-size:8px;line-height:24px;padding:0 8px}
.st-card-promo{border:1px solid #737373;border-radius:9999px;padding:0 8px;font-size:8px;line-height:22px;color:#737373;background:transparent;white-space:nowrap}
.st-card-sp{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:4px 6px;margin-left:auto;font-size:10px;line-height:14px;color:var(--ink)}
.st-card-sp span{display:inline-flex;align-items:center;gap:2px;white-space:nowrap}
.st-card-sp .st-circ{min-width:13px;height:14px;padding:0 3px;font-size:8px;font-weight:500}
.st-card-sp .st-circ.s2{color:#000}
.st-card-bot{display:flex;justify-content:space-between;align-items:flex-start;margin-top:4px;font-size:12px;line-height:24px;color:var(--ink)}
.st-card-bot > span + span{line-height:16px;color:#171717}
.st-card-bot .st-circ{min-width:23px;height:24px;padding:0 7px;font-size:12px;margin-left:0}
.st-card .st-only{font-size:10px;line-height:16px;margin-left:6px;vertical-align:1px}
.st-card .st-fr{font-size:10px;line-height:16px;padding:0 6px;margin-right:4px;vertical-align:1px}

/* ---------- กล่องราคารวม (กดที่ราคา) ---------- */
.st-pc{position:relative}
.st-pbtn{font:inherit;color:inherit;text-align:inherit;cursor:pointer;border-radius:6px;padding:2px 4px;margin:-2px -4px}
.st-pbtn:hover{background:#EFF6FF}
.st-t td.r .st-pbtn{text-align:right}
.st-pop{position:fixed;z-index:35;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 10px 30px rgba(0,0,0,.12);padding:12px 14px;min-width:230px;text-align:left;font-weight:400;color:var(--ink2)}
.st-pop-row{display:flex;justify-content:space-between;gap:16px;font-size:14px;line-height:22px;white-space:nowrap}
.st-pop-row b{font-weight:600}
.st-pop-b{display:flex;justify-content:flex-end;gap:6px;margin-top:10px}
.st-pop-b button{height:30px;padding:0 10px;border-radius:6px;font-size:13px;font-weight:500;white-space:nowrap}
.st-pop-b .ghost{border:1px solid var(--inb);background:#fff;color:var(--ink2)}
.st-pop-b .prim{background:var(--blue);color:#fff}
.st-pop.up{transform:translateY(-100%)}
.st-popscrim{position:fixed;inset:0;z-index:30}
.st-card-r .st-pbtn{display:block;margin-left:auto;text-align:right}
/* ราคาขีดฆ่าชิดราคาขาย (ห่างกันราว 5px เท่าของเดิม) — ไม่ให้ margin-left:auto ดันแยก */
.st-card .st-card-prow .st-card-pr{margin:-2px -4px -2px -3px}

/* ---------- กล่องแจ้ง (Import / ออกจากระบบ) ---------- */
.st-scrim{position:fixed;inset:0;background:rgba(0,0,0,.35);z-index:40;display:flex;align-items:center;justify-content:center;padding:16px}
.st-dlg{background:#fff;border-radius:12px;width:100%;max-width:520px;max-height:90dvh;overflow:auto;padding:20px}
.st-dlg h3{margin:0 0 12px;font-size:18px;font-weight:600}
.st-dlg p{margin:0 0 8px;font-size:14px;color:var(--mut2)}
.st-dlg ul{margin:0 0 12px;padding-left:20px;font-size:14px;color:var(--mut2)}
.st-dlg .warn{background:#FEF3C7;border:1px solid #FDE68A;border-radius:8px;padding:10px 12px;font-size:13px;color:#92400E;margin-bottom:12px}
.st-dlg .err{background:#FEE2E2;border:1px solid #FECACA;border-radius:8px;padding:10px 12px;font-size:13px;color:#991B1B;margin-bottom:12px}
.st-dlg-b{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}
.st-dlg-b button{height:36px;padding:0 14px;border-radius:6px;font-size:14px;font-weight:500}
.st-dlg-b .ghost{border:1px solid var(--inb);background:#fff;color:var(--ink2)}
.st-dlg-b .prim{background:var(--blue);color:#fff}
.st-dlg-b .prim:disabled{opacity:.6}
.st-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:#171717;color:#fff;font-size:14px;padding:10px 16px;border-radius:8px;z-index:50;white-space:nowrap}


/* ---------- จอแคบกว่า xl (1280): ตัวกรองขึ้นบน ตารางอยู่ล่าง (divide-y-2 · pt-4) — เหมือนแอปเดิม ---------- */
@media (max-width:1279px){
  .st-side,.st-main{grid-column:span 12/span 12}
  .st-main{padding-left:0;border-left:0;padding-top:16px;border-top:2px solid #E5E5E5}
  .st-brands{flex-direction:row;flex-wrap:wrap}
}
@media (max-width:1023px){
  .st-tog{display:grid;grid-template-columns:1fr 1fr}
  .st-tog .st-year{grid-column:1/-1}
}
@media (max-width:767px){
  .st-wrap{padding:16px}
  .st-tabs{display:none}
  .st-burger{display:inline-flex}
  .st-menu{right:16px}
}
@media (max-width:639px){
  .st-nav-in{padding:0 16px}
  .st-nav-name,.st-user > span:not(.st-avatar){display:none}
  /* sm:hidden การ์ด · hidden sm:flex ตาราง */
  .st-tw{display:none}
  .st-sortbar{display:flex}
  .st-cards{display:flex;flex-direction:column;gap:2px}
  .st-card{margin:0}
  .st-btns{flex-wrap:wrap}
}

/* ---------- u156: แท็บสมาชิก / แต้ม ---------- */
a.st-tab:hover{background:var(--bg2)}
a.st-menu-i{color:var(--ink2)}
.sm-wrap{max-width:1180px;margin:0 auto}
.sm-wrap .st-in{height:42px;font-size:16px;border-radius:8px}
.sm-wrap .st-sel{height:40px;font-size:15px}
.sm-srch{display:flex;gap:10px;max-width:560px}
.sm-srch .st-go{margin:0;width:auto;padding:0 24px;height:42px;border-radius:8px;font-size:15px}
.sm-err{margin-top:10px;color:#DC2626;font-size:14px}
.sm-grid{display:grid;grid-template-columns:360px 1fr;gap:20px;margin-top:22px;align-items:start}
.sm-box{background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px}
.sm-name{font-size:20px;font-weight:600;color:var(--ink2)}
.sm-phone{font-size:28px;font-weight:700;letter-spacing:1px;color:var(--ink2)}
.sm-phone.s2{font-size:20px;margin-top:2px}
.sm-sub{font-size:13px;color:var(--mut)}
.sm-pts{margin:16px 0 8px;padding:16px;border-radius:8px;background:#EFF6FF}
.sm-pts small{display:block;font-size:12.5px;color:var(--mut2)}
.sm-pts b{display:block;font-size:34px;line-height:42px;color:#1D4ED8}
.sm-pts span{font-size:13.5px;color:var(--mut2)}
.sm-row{display:flex;justify-content:space-between;gap:10px;font-size:14px;padding:9px 0;border-bottom:1px solid #F1F1F1}
.sm-row:last-of-type{border-bottom:0}
.sm-row em{font-style:normal;color:var(--mut)}
.sm-bdn{margin-top:12px;padding:10px 12px;border-radius:8px;background:#FEF9C3;color:#854D0E;font-size:13.5px;line-height:20px}
.sm-bdn.used{background:var(--bg2);color:var(--mut2)}
.sm-new{margin:14px 0 4px;padding:12px 14px;border-radius:8px;background:#FFF7ED;color:#9A3412;font-size:14px;line-height:21px}
.sm-req{color:#DC2626;font-weight:500;font-size:12px}
.sm-w{width:100%}
.sm-half{max-width:300px}
.sm-bd{display:flex;gap:6px}
.sm-bd .st-sel{flex:1;min-width:0;padding-right:24px}
.sm-consent{margin-top:16px;align-items:flex-start;font-size:14px;line-height:21px}
.sm-consent input{margin-top:2px}
.sm-seg{display:flex;border-bottom:1px solid var(--line);margin:-4px 0 6px;overflow-x:auto}
.sm-seg button{padding:10px 16px;font-size:15px;font-weight:500;color:var(--mut2);border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap}
.sm-seg button.on{color:#2563EB;border-bottom-color:#2563EB}
.sm-f2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.sm-calc{margin-top:16px;padding:14px 16px;border-radius:8px;background:#F0FDF4;color:#166534;font-size:15px}
.sm-calc b{font-size:20px}
.sm-calc.warn{background:#FEF2F2;color:#B91C1C}
.sm-btn{margin-top:14px;height:44px;padding:0 24px;border-radius:8px;background:var(--ink2);color:#fff !important;font-size:15px;font-weight:600}
.sm-btn.red{background:#DC2626}
.sm-btn:disabled{background:#D4D4D4;cursor:not-allowed}
.sm-opt{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--line);border-radius:8px;padding:14px;margin-top:12px;cursor:pointer}
.sm-opt.on{border-color:var(--blue);background:#F8FBFF}
.sm-opt.off{opacity:.55}
.sm-opt>input{width:18px;height:18px;margin-top:3px;accent-color:#2563EB;flex:none}
.sm-optb{flex:1;min-width:0}
.sm-optb>b{display:block;font-weight:600}
.sm-optb>span{font-size:13.5px;color:var(--mut)}
.sm-stp-row{display:flex;align-items:center;gap:14px;margin-top:10px;flex-wrap:wrap}
.sm-stp-row>span{font-size:14px;color:var(--mut2)}
.sm-stp{display:flex;align-items:center;border:1px solid var(--inb);border-radius:8px;background:#fff}
.sm-stp button{width:44px;height:42px;font-size:20px}
.sm-stp b{min-width:44px;text-align:center;font-size:18px}
.sm-ck{margin-top:10px;font-size:14px}
.sm-hist{margin-top:22px}
.sm-hist h3{font-size:15px;margin:0 0 6px;color:var(--ink2)}
.sm-hl{display:grid;grid-template-columns:70px 1fr auto;gap:10px;font-size:13.5px;padding:9px 0;border-top:1px solid #F1F1F1;align-items:center}
.sm-hl em{font-style:normal;color:var(--mut)}
.sm-hl b{font-weight:600}
.sm-hl b.plus{color:#16A34A}.sm-hl b.minus{color:#DC2626}.sm-hl b.bd{color:#A16207}
.sm-note{font-size:12.5px;color:var(--mut);margin-top:8px}
.sm-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:var(--ink2);color:#fff;padding:12px 20px;border-radius:10px;font-size:14px;z-index:60}
@media (max-width:900px){.sm-grid{grid-template-columns:1fr}}
@media (max-width:560px){.sm-f2{grid-template-columns:1fr}.sm-half{max-width:none}.sm-srch .st-go{padding:0 16px}}
/* u158: หน้า "ลูกค้า" — บันทึกงาน (ประวัติรถ + แต้ม) */
.sm-f3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}
.sm-chips{display:flex;flex-wrap:wrap;gap:8px}
.sm-chips button{height:38px;padding:0 14px;border:1px solid var(--inb);border-radius:9999px;background:#fff;font-size:14px;color:var(--mut2)}
.sm-chips button.on{border-color:#2563EB;background:#EFF6FF;color:#1D4ED8;font-weight:600}
.sm-tire{margin-top:12px;border:1px dashed #BFDBFE;border-radius:10px;padding:2px 14px 14px;background:#FAFCFF}
.sm-sec{margin-top:18px;border-top:1px solid #F1F1F1}
.sm-calc.gray{background:var(--bg2);color:var(--mut2)}
.sm-ok{margin-top:8px;font-size:13.5px;color:#15803D}
.sm-cars{display:flex;flex-direction:column;gap:6px}
.sm-car{display:flex;justify-content:space-between;gap:10px;align-items:center;border:1px solid var(--line);border-radius:8px;padding:8px 10px;font-size:14px}
.sm-car small{color:var(--mut);font-size:12.5px;white-space:nowrap}
.sm-ti{display:grid;grid-template-columns:68px 1fr auto;gap:10px;font-size:13.5px;padding:9px 0;border-top:1px solid #F1F1F1;align-items:start}
.sm-ti em{font-style:normal;color:var(--mut)}
.sm-ti b{font-weight:600}
.sm-ti small{display:block;color:var(--mut);font-size:12.5px}
.sm-ti span{font-weight:600}.sm-ti span.plus{color:#16A34A}.sm-ti span.minus{color:#DC2626}.sm-ti span.bd{color:#A16207}
@media (max-width:900px){.sm-f3{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.sm-f3{grid-template-columns:1fr}}
/* u160: ค้นชื่อ/เลขบางส่วน เจอหลายคน → เลือก */
.sm-matches{margin-top:20px;max-width:760px}
.sm-match{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;text-align:left;padding:12px 10px;border-top:1px solid #F1F1F1;border-radius:8px}
.sm-match:hover{background:var(--bg2)}
.sm-match b{display:block;font-weight:600}.sm-match small{display:block;color:var(--mut);font-size:13px}
.sm-match .pl{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
.sm-match .pl i{font-style:normal;font-size:13px;border:1px solid var(--line);border-radius:6px;padding:2px 8px;white-space:nowrap}

/* ---------- u168/u169: หน้า "ลูกค้า" แบบ A (จอคอม) ---------- */
.sa,.sa-mask,.sa-bar{--sl:#E5E7EB;--sl2:#EEF0F3;--sm:#6B7280;--sb:#2563EB;--ss:#EFF6FF}
.sa{max-width:1180px;margin:0 auto;padding:24px 28px 48px}
.sa.has-bar{padding-bottom:120px}
.sa-ph{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}
.sa-ph h1{margin:0;font-size:24px;line-height:32px;font-weight:700;color:var(--ink2)}
.sa-ph p{margin:0;font-size:13.5px;color:var(--sm)}
.sa-srch{display:flex;gap:10px;width:520px;flex:none}
.sa-srch .in{flex:1;display:flex;align-items:center;gap:8px;height:44px;background:#fff;border:1px solid #D1D5DB;border-radius:10px;padding:0 12px;color:var(--sm)}
.sa-srch .in:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px #DBEAFE}
.sa-srch input{border:0;outline:0;flex:1;font-size:16px;background:none}
.sa-srch > button{height:44px;padding:0 22px;border-radius:10px;background:var(--sb) !important;color:#fff;font-weight:600;font-size:15px}
.sa-card{background:#fff;border:1px solid var(--sl);border-radius:14px;margin-bottom:14px}
.sa-empty{padding:28px;text-align:center;color:var(--sm);font-size:14px}
.sa-matches{padding:14px 18px}
.sa-mh{font-size:14px;font-weight:600;margin-bottom:6px}
/* ลูกค้า */
.sa-cust-r{display:flex;align-items:center;gap:16px;padding:18px 20px}
.sa-av{width:52px;height:52px;border-radius:50%;background:var(--ss);color:var(--sb);display:grid;place-items:center;font-size:20px;font-weight:700;flex:none}
.sa-av.new{background:#F0FDF4;color:#15803D;font-size:26px;font-weight:500}
.sa-av.gray{background:#F3F4F6;color:#6B7280}.sa-av svg{width:24px;height:24px}
.sa-nm{min-width:0}
.sa-nm b{display:block;font-size:18px;line-height:26px;color:var(--ink2)}
.sa-nm span{display:block;font-size:13.5px;color:var(--sm)}
.sa-kv{display:flex;gap:28px;margin-left:28px}
.sa-kv small{display:block;font-size:12px;color:var(--sm)}
.sa-kv b{font-size:15.5px;color:var(--ink2)}
.sa-kv .pts b{font-size:22px;color:var(--sb)}
.sa-seg{margin-left:auto;display:flex;background:#F3F4F6;border-radius:10px;padding:3px;flex:none}
.sa-seg button{height:34px;padding:0 14px;border-radius:8px;font-size:13.5px;font-weight:600;color:#4B5563}
.sa-seg button.on{background:#fff !important;color:var(--sb);box-shadow:0 1px 2px rgba(0,0,0,.08)}
.sa-bdn{margin:-6px 20px 12px;font-size:13px;color:#A16207;background:#FEFCE8;border:1px solid #FDE68A;border-radius:8px;padding:6px 12px}
.sa-bdn.used{color:var(--sm);background:#F9FAFB;border-color:var(--sl)}
.sa-cars{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:0 20px 16px;font-size:12.5px;color:var(--sm)}
.sa-cars button{height:28px;padding:0 10px;border-radius:7px;border:1px solid #D1D5DB !important;background:#fff !important;font-size:12.5px;color:#374151}
.sa-cars button.on{border-color:#93C5FD !important;background:var(--ss) !important;color:var(--sb);font-weight:600}
/* ขั้นตอน */
.sa-sec{padding:18px 20px}
.sa-sec + .sa-sec{border-top:1px solid var(--sl2)}
.sa-st,.tg-top{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.sa-st h3,.tg-top h3{margin:0;font-size:15.5px;font-weight:700;color:var(--ink2)}
.sa-st small,.tg-top small{font-size:12.5px;color:var(--sm)}
.sa-st .no,.tg-no{width:24px;height:24px;border-radius:50%;background:var(--sb);color:#fff;font-size:12.5px;font-weight:700;display:grid;place-items:center;flex:none}
.sa-lab{display:block;font-size:12.5px;font-weight:600;color:#374151;margin-bottom:6px;white-space:nowrap}
.sa-lab i{font-style:normal;color:#EF4444}
.sa-lab em{font-style:normal;font-weight:400;color:#9CA3AF;margin-left:4px}
.sa-f{width:100%;height:40px;border:1px solid #D1D5DB;border-radius:8px;padding:0 12px;font-size:14.5px;background:#fff;outline:none}
.sa-f:focus{border-color:var(--blue);box-shadow:0 0 0 3px #DBEAFE}
.sa-f.bad{border-color:#F87171}
.sa-f.sel{appearance:none;-webkit-appearance:none;padding-right:30px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center}
.sa-g4{display:grid;grid-template-columns:170px minmax(0,1fr) minmax(0,1.3fr) 150px;gap:14px}
.sa-g3{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.3fr);gap:14px;align-items:end}
.sa-row{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-end}
.sa-row .sm-bd{display:flex;gap:6px}.sa-row .sm-bd .st-sel{height:40px;width:auto;min-width:84px;font-size:14px}
.sa-consent{margin-top:12px;font-size:13.5px}
.sa-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.sa-chips button{height:36px;padding:0 14px;border-radius:99px;border:1px solid #D1D5DB !important;background:#fff !important;font-size:13.5px;font-weight:500;color:#374151;display:inline-flex;align-items:center;gap:6px}
.sa-chips button.on{background:var(--ss) !important;border-color:#93C5FD !important;color:var(--sb);font-weight:600}
.sa-chips button.on::before{content:"";width:14px;height:14px;border-radius:50%;background:var(--sb) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/10px no-repeat}
.sa-ptsbox{min-height:40px;border-radius:8px;background:#F0FDF4;border:1px solid #BBF7D0;color:#166534;display:flex;align-items:center;padding:8px 12px;font-size:13.5px;line-height:20px}
.sa-ptsbox b{font-size:16px;margin:0 4px}
.sa-ptsbox.gray{background:#F9FAFB;border-color:var(--sl);color:var(--sm)}
.sa-ptsbox.warn{background:#FFF7ED;border-color:#FED7AA;color:#9A3412}
.sa-use .sm-opt{margin-top:10px}
.sa-save{height:44px;padding:0 28px;border-radius:10px;background:var(--sb) !important;color:#fff;font-size:15px;font-weight:600;box-shadow:0 4px 12px -4px rgba(37,99,235,.6);white-space:nowrap}
.sa-save:disabled{background:#CBD5E1 !important;box-shadow:none;cursor:not-allowed}
.sa-save.red{background:#DC2626 !important;box-shadow:0 4px 12px -4px rgba(220,38,38,.5);margin-top:16px}
/* ประวัติ */
.sa-hist{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:24px;padding:18px 20px}
.sa-hist h3{font-size:15px;margin:0 0 8px;color:var(--ink2)}
.sa-hist > div:only-child{grid-column:1/-1}
/* แถบล่าง */
.sa-bar{position:fixed;left:0;right:0;bottom:0;z-index:30;background:#fff;border-top:1px solid var(--sl);box-shadow:0 -6px 18px -10px rgba(0,0,0,.18)}
.sa-bar .in{max-width:1180px;margin:0 auto;padding:12px 28px;display:flex;align-items:center;gap:26px}
.sa-bar .t small{display:block;font-size:12px;color:var(--sm)}
.sa-bar .t b{font-size:20px;line-height:28px;color:var(--ink2);white-space:nowrap}
.sa-bar .t.p b{color:#15803D}
.sa-bar .t.w{min-width:0}.sa-bar .t.w b{font-size:14.5px;display:block;overflow:hidden;text-overflow:ellipsis}
.sa-bar .why{margin-left:auto;font-size:13px;color:#B45309;white-space:nowrap}
.sa-bar .sa-save{margin-left:auto}
.sa-bar .why + .sa-save{margin-left:0}
/* หน้าต่างตรวจข้อมูล */
.sa-mask{position:fixed;inset:0;z-index:50;background:rgba(17,24,39,.45);display:grid;place-items:center;padding:24px}
.sa-modal{width:720px;max-width:100%;max-height:calc(100vh - 48px);overflow:auto;background:#fff;border-radius:16px;padding:24px 26px;box-shadow:0 24px 60px -20px rgba(0,0,0,.4)}
.sa-modal h3{margin:0;font-size:19px}
.sa-modal .sub{margin:4px 0 16px;font-size:13px;color:var(--sm)}
.sa-modal .kv{display:grid;grid-template-columns:150px 1fr;gap:8px 14px;font-size:14px;padding:12px 0;border-top:1px solid var(--sl2)}
.sa-modal .kv em{font-style:normal;color:var(--sm)}
.sa-modal .kv b{font-weight:600;color:var(--ink2)}
.sa-modal .kv b.g{color:#15803D}
.sa-modal .tt{width:100%;border-collapse:collapse;font-size:13.5px;margin:4px 0 8px;border:1px solid var(--sl);border-radius:10px;overflow:hidden}
.sa-modal .tt th{background:#F8FAFC;text-align:left;font-weight:600;color:#374151;padding:8px 10px;font-size:12.5px}
.sa-modal .tt td{padding:8px 10px;border-top:1px solid var(--sl2)}
.sa-modal .tt .r{text-align:right}
.sa-warn{margin-top:8px;font-size:13px;color:#9A3412;background:#FFF7ED;border:1px solid #FED7AA;border-radius:8px;padding:8px 12px}
.sa-modal .acts{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}
.sa-modal .back{height:44px;padding:0 20px;border-radius:10px;border:1px solid #D1D5DB !important;background:#fff !important;font-weight:600;color:#374151}

/* ข้อมูลยาง 4 ตำแหน่ง (TireGrid) */
.tg{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 16px 14px}
.tg.tg-in{border:0;padding:0;border-radius:0}
.tg-tr{margin-left:auto;display:flex;align-items:center;gap:10px;position:relative}
.tg-cpall{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 12px;border:1px solid #D1D5DB !important;border-radius:8px;background:#fff !important;font-size:13px;font-weight:600;color:#374151}
.tg-cpall:disabled{opacity:.45;cursor:not-allowed}
.tg-help{width:20px;height:20px;border-radius:50%;border:1.5px solid #9CA3AF !important;color:#9CA3AF;font-size:11px;font-weight:700;display:grid;place-items:center;line-height:1}
.tg-tip{position:absolute;right:0;top:40px;z-index:5;width:300px;background:#111827;color:#fff;font-size:12.5px;line-height:19px;border-radius:8px;padding:10px 12px}
.tg-grid{display:grid;grid-template-columns:minmax(0,1fr) 150px minmax(0,1fr);gap:14px;align-items:stretch}
.tg-fl{grid-column:1;grid-row:1}.tg-fr{grid-column:3;grid-row:1}.tg-rl{grid-column:1;grid-row:2}.tg-rr{grid-column:3;grid-row:2}
.tg-car{grid-column:2;grid-row:1/3;position:relative;display:flex;align-items:center;justify-content:center}
.tg-car img{width:104px;height:auto;mix-blend-mode:multiply}
.tg-car em{position:absolute;font-style:normal;font-size:11px;font-weight:700;color:var(--blue)}
.tg-car .fl{left:6px;top:30%}.tg-car .fr{right:6px;top:30%}.tg-car .rl{left:6px;bottom:30%}.tg-car .rr{right:6px;bottom:30%}
.tg-card{border:1px solid var(--line);border-radius:12px;background:#fff;transition:border-color .15s,box-shadow .15s}
.tg-card.done{border-color:#BFDBFE;box-shadow:0 0 0 3px #EFF6FF}
.tg-h{display:flex;align-items:center;gap:8px;padding:9px 12px;background:#F8FAFC;border-bottom:1px solid #EEF0F3;border-radius:12px 12px 0 0}
.tg-card.done .tg-h{background:#EFF6FF}
.tg-h b{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:700;color:var(--ink2);white-space:nowrap}
.tg-h .ab{font-size:11px;font-weight:700;color:#fff;background:var(--blue);border-radius:5px;padding:1px 6px}
.tg-ok{font-size:11.5px;color:#15803D;font-weight:600;white-space:nowrap}
.tg-cp{position:relative;margin-left:auto}
.tg-pill{display:inline-flex;align-items:center;gap:5px;height:26px;padding:0 8px;border-radius:6px;color:#2563EB;font-size:12px;font-weight:600;white-space:nowrap}
.tg-pill:hover:not(:disabled){background:#DBEAFE !important}
.tg-pill:disabled{color:#9CA3AF;cursor:not-allowed}
.tg-pop{position:absolute;right:0;top:32px;z-index:6;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.1);padding:4px;display:flex;flex-direction:column;min-width:170px}
.tg-pop button{text-align:left;padding:7px 10px;border-radius:6px;font-size:13px}
.tg-pop button:hover{background:var(--bg2) !important}
.tg-pop button.all{color:#2563EB;font-weight:600;border-top:1px solid var(--line);border-radius:0 0 6px 6px}
.tg-x{color:#9CA3AF;display:grid;place-items:center;width:24px;height:24px;border-radius:6px}
.tg-x:hover{background:#F3F4F6 !important;color:#6B7280}
.tg-b{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 12px;padding:12px 14px 14px}
.tg-b label{display:block;min-width:0}
.tg-b label.w2{grid-column:1/-1}
.tg-b label > span{display:flex;align-items:center;gap:3px;font-size:12px;font-weight:600;color:#374151;margin-bottom:5px;white-space:nowrap}
.tg-b label > span i{font-style:normal;color:#EF4444}
.tg-ed{margin-left:auto;font-size:11.5px;font-weight:500;color:#2563EB}
.tg-b input,.tg-b select{width:100%;height:38px;border:1px solid #D1D5DB;border-radius:8px;background:#fff;font-size:14px;padding:0 10px;outline:none}
.tg-b select{appearance:none;-webkit-appearance:none;padding-right:28px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center}
.tg-b select.ph{color:#9CA3AF}
.tg-b select:disabled{background-color:#F9FAFB}
.tg-b input:focus,.tg-b select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #DBEAFE}
.tg-b .bad{border-color:#F87171}
.tg-note{margin:12px 0 0;font-size:12px;color:var(--mut)}
.sm-ti > div{min-width:0;overflow-wrap:anywhere}

/* ---------- u170: หน้าพนักงานที่แสดงในหลังบ้าน /admin ---------- */
.st.st-emb{text-align:left;min-height:0;background:transparent;margin:-26px -30px -40px;padding:0}
.st-emb .st-wrap{padding:24px 28px 40px}
.st-emb .sa{max-width:1180px;margin:0;padding:24px 28px 48px}
.st-emb .sa.has-bar{padding-bottom:120px}
.ad-app .sa-bar{left:220px}
.ad-app .sa-bar .in{max-width:1180px;margin:0}
.sa-g5{display:grid;grid-template-columns:160px 160px minmax(0,1fr) minmax(0,1.3fr) 130px;gap:14px}
.sa-f.sel.ph{color:#9CA3AF}
.st-emb .sa-empty{text-align:center}

/* u312 (เจ้าของเคาะ 9 ต.ค.): ใช้ส่วนลดสมาชิกใหม่ที่หน้าร้าน — ติ๊กแล้วระบบจำ สั่งออนไลน์ไม่ได้ซ้ำ */
.sa-first{display:flex;align-items:flex-start;gap:8px;margin-top:14px;padding:10px 12px;border:1px solid #f3dfb0;background:#fffaf0;border-radius:10px;font-size:14px;font-weight:600;color:#3c434d;line-height:1.45;flex-wrap:wrap}
.sa-first input{margin-top:3px}
.sa-first small{flex-basis:100%;padding-left:24px;font-weight:400;font-size:12.5px;color:#8a929e}
.sa-first.used{display:block;border-color:#e3e7ec;background:#f6f8fb;color:#8a929e;font-weight:500}

/* ===== u318 (เจ้าของเคาะ 9 ต.ค.) ===== */
/* แก้ไขบันทึกงาน (หลังบ้าน): แถบบอกว่ากำลังแก้งานไหน */
.sa-edit{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin-bottom:16px;padding:12px 14px;border:1px solid #c7d7fb;background:#eef4ff;border-radius:10px;font-size:14px;color:#3c434d}
.sa-edit b{color:#134fc4;font-size:15px}
/* ส่วนลดหน้าร้าน + ใบคำนวณยอด (ราคายางรวม − ส่วนลด = ยอดจ่ายจริง) */
.sa-off{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2.3fr);gap:14px;margin-top:14px}
.sa-off .sa-f.bad,.sa-f.bad{border-color:#EF4444}
.sa-calc{margin-top:12px;border:1px solid #e3e8f0;background:#f8fafd;border-radius:10px;padding:10px 14px;font-size:14px;color:#3c434d}
.sa-calc > div{display:flex;justify-content:space-between;gap:12px;padding:3px 0}
.sa-calc > div b{font-weight:600;font-variant-numeric:tabular-nums}
.sa-calc > .t{border-top:1px dashed #d5dbe4;margin-top:4px;padding-top:7px;font-weight:700;color:#181c22}
.sa-calc > .t b{font-size:16px;font-weight:800;color:#134fc4}
.sa-calc .mis{display:flex;flex-wrap:wrap;align-items:center;gap:8px;justify-content:flex-start;margin-top:6px;padding:8px 10px;border-radius:8px;background:#FFF7ED;border:1px solid #FED7AA;color:#9A3412;font-size:13px}
.sa-calc .mis button{height:30px;padding:0 12px;border-radius:8px;border:1px solid #134fc4;background:#fff;color:#134fc4;font-weight:700;font-size:13px}
@media (max-width:640px){ .sa-off{grid-template-columns:1fr} }
/* หน้าต่างตรวจข้อมูล (บันทึกใหม่ + แก้ไข): แบ่งกลุ่ม ตัวใหญ่ อ่านสบายตา · ช่องที่แก้ = ไฮไลต์เหลือง ค่าเดิมขีดฆ่า */
.sa-modal.rv{width:680px;padding:24px 26px 20px}
.sa-modal.rv h3{font-size:21px}
.sa-modal.rv .sub{font-size:14px;margin-bottom:16px}
.rv-g{border:1px solid #e9ecf1;border-radius:12px;padding:14px 16px;margin-bottom:12px}
.rv-t{font-size:13.5px;font-weight:700;color:#134fc4;margin-bottom:8px}
.rv-t i{font-style:normal;color:#EF4444}
.rv-kv{display:grid;grid-template-columns:110px 1fr;gap:8px 12px;font-size:15px;align-items:baseline}
.rv-kv em{font-style:normal;color:#667080;font-size:14px}
.rv-kv b{font-weight:600;color:#181c22}
.sa-modal.rv .old{color:#9aa3ae;text-decoration:line-through;margin-right:8px;font-weight:400}
.sa-modal.rv .new{background:#fff1b8;border-radius:6px;padding:1px 6px;font-weight:700;color:#181c22}
.rv-tt{width:100%;border-collapse:collapse;font-size:14.5px}
.rv-tt th{font-size:12.5px;color:#667080;font-weight:600;text-align:left;padding:6px;border-bottom:1px solid #eef0f3}
.rv-tt td{padding:8px 6px;border-bottom:1px solid #f3f4f6;vertical-align:top}
.rv-tt tr:last-child td{border-bottom:0}
.rv-tt .r{text-align:right;white-space:nowrap}
.rv-tt tr.chg td{background:#fffbea}
.rv-tt small.old{display:block;font-size:12.5px;margin-top:2px}
.rv-sum{display:grid;grid-template-columns:1fr auto;gap:7px 14px;font-size:15px;align-items:baseline}
.rv-sum > span:nth-child(even){text-align:right;font-variant-numeric:tabular-nums}
.rv-sum .b{font-weight:700}
.rv-sum .tot{font-size:19px;font-weight:800;color:#134fc4}
.rv-sum .pt{color:#15803D;font-weight:700}
.rv-why{height:44px;font-size:15px}
@media (max-width:640px){
  .sa-modal.rv{padding:18px 16px}
  .rv-kv{grid-template-columns:88px 1fr;font-size:14px}
  .rv-tt{font-size:13px}
}

/* u319 (เจ้าของเคาะแบบ A): ช่องวันที่ + ปฏิทินภาษาไทย (ThaiDate) */
.thd{position:relative}
.thd-in{display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;cursor:pointer;color:#181c22}
.thd-in svg{color:#6B7280;flex:none}
.thc{position:absolute;z-index:40;top:calc(100% + 6px);left:0;width:300px;max-width:calc(100vw - 32px);background:#fff;border:1px solid #e3e7ec;border-radius:14px;box-shadow:0 16px 40px -12px rgba(0,0,0,.25);padding:12px 14px}
.thc .h{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.thc .h b{font-size:15.5px;color:#181c22}
.thc .h button{width:34px;height:34px;border-radius:8px;border:1px solid #e3e7ec;background:#fff;font-size:18px;line-height:1;color:#3c434d;cursor:pointer}
.thc .h button:disabled{opacity:.35;cursor:default}
.thc .g{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;text-align:center}
.thc .g i{font-style:normal;font-size:12.5px;color:#8a929e;padding:4px 0}
.thc .g button{height:36px;border:0;border-radius:9px;background:none;font-size:14.5px;color:#181c22;cursor:pointer}
.thc .g button:hover:not(:disabled){background:#eef4ff}
.thc .g button:disabled{color:#c6cbd2;cursor:default}
.thc .g button.td{box-shadow:inset 0 0 0 1px #134fc4;color:#134fc4;font-weight:700}
.thc .g button.on{background:#134fc4;color:#fff;font-weight:700}
.thc .ft{display:flex;justify-content:flex-end;margin-top:6px}
.thc .ft button{height:32px;padding:0 14px;border-radius:8px;border:1px solid #134fc4;color:#134fc4;background:#fff;font-weight:700;cursor:pointer}

/* u306 (เจ้าของเคาะ 8 ต.ค.): เว็บพนักงาน "แบบใหม่" — โทนเดียวกับเว็บลูกค้า (Noto Sans Thai · น้ำเงินแบรนด์ · กล่องขาวมุมมน)
   - u306 ทำเฉพาะจอคอม ≥1280px · u308 (เจ้าของเคาะ 8 ต.ค.): เพิ่มแท็บเล็ต 768–1279 (ตารางแบบจอคอมย่อ) + มือถือ <768 (การ์ด)
     + จอคอมย่อทั้งหน้าตามความกว้างจอเทียบ 1920 ไม่ต่ำกว่า 85% (StaffClient ตั้ง zoom)
   - ทุกกฎขึ้นต้นด้วย .st-wrap.v2 / .st-nav.v2 → แบบเดิม (staff.css) ไม่ถูกแตะเลย
   - ตาราง: รุ่น(โลโก้ในกรอบขาวเท่ากัน) → ขนาด → ผลิต → โปร → ราคา → TOTAL (เด่น) → SP1–SP5 (จาง เพราะวิ่งยางข้ามสาขาได้) → คัดลอก */

/* ปุ่มสลับหน้าตา — บนแถบบนเฉพาะจอคอม · จอเล็กกว่านั้นอยู่ในเมนู ☰ (u308) */
.st-uisw{display:none}
.st-menu-ui{display:flex;align-items:center;gap:6px;padding:8px 12px;font-size:13px;color:#667080}
.st-menu-ui span{margin-right:auto}
.st-menu-ui button{padding:5px 12px;border-radius:8px;border:1px solid #dde2e8;background:#fff;font-size:13px;font-weight:600;color:#667080}
.st-menu-ui button.on{background:#eef3fc;color:#134fc4;border-color:#134fc4}
.nt-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.st-tw2,.nt-cards{display:none}

@media (min-width:1280px){
  .st-uisw{display:inline-flex;border:1px solid #dde2e8;border-radius:10px;background:#fff;padding:2px;gap:2px;margin-right:14px}
  .st-uisw button{padding:5px 12px;border-radius:8px;font-size:13px;font-weight:600;color:#667080;line-height:20px;white-space:nowrap}
  .st-uisw button.on{background:#eef3fc;color:#134fc4;box-shadow:inset 0 0 0 1px #134fc4}

  /* ---------- พื้นฐาน ---------- */
  .st-nav.v2,.st-wrap.v2{font-family:"Noto Sans Thai",system-ui,sans-serif}
  .st-nav.v2{background:rgba(255,255,255,.94);border-bottom-color:#ececee}
  .st-nav.v2 .st-tab.on{background:#eef3fc;color:#134fc4;font-weight:600;border-radius:10px}
  .st-wrap.v2{--line:#ececee;--inb:#dde2e8;--ink:#181c22;--ink2:#3c434d;--mut:#667080;--mut2:#667080;--blue:#134fc4;color:#181c22}
  .st-wrap.v2 .st-head-ic{background:#eef3fc;color:#134fc4;border-radius:12px}

  /* ---------- แถบตัวกรองซ้าย = กล่องขาวมุมมน แคบลงให้ตารางได้ที่ ---------- */
  .st-wrap.v2 .st-body{grid-template-columns:268px minmax(0,1fr);gap:24px}
  .st-wrap.v2 .st-side,.st-wrap.v2 .st-main{grid-column:auto}
  .st-wrap.v2 .st-side{background:#fff;border:1px solid #ececee;border-radius:16px;padding:22px 20px;align-self:start}
  .st-wrap.v2 .st-lab{color:#3c434d}
  .st-wrap.v2 .st-dd > .st-sel,.st-wrap.v2 .st-in,.st-wrap.v2 .st-srch{border-color:#dde2e8;border-radius:10px;background-color:#fff}
  .st-wrap.v2 .st-size3{gap:6px}
  .st-wrap.v2 .st-size3 .st-sel{padding-left:10px;padding-right:6px}
  .st-wrap.v2 .st-go{background:linear-gradient(135deg,#0e3fa3 0%,#134fc4 55%,#2a6be0 100%);border-radius:10px;font-weight:700;height:42px}
  .st-wrap.v2 input[type=checkbox]{accent-color:#134fc4}

  /* ---------- เหนือตาราง: แถว 1 จำนวนยาง | ปุ่ม · แถว 2 ตัวเลือกกรองเป็นปุ่มกลม ---------- */
  .st-wrap.v2 .st-main{border-left:0;padding-left:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px 16px;align-content:start}
  .st-wrap.v2 .st-main > *{grid-column:1/-1}
  .st-wrap.v2 .st-main > .st-count{grid-row:1;grid-column:1;align-self:center;margin:0;font-size:15px;font-weight:600;color:#3c434d}
  .st-wrap.v2 .st-count b{background:#eef3fc;color:#134fc4;font-weight:700}
  .st-wrap.v2 .st-main > .st-btns{grid-row:1;grid-column:2;margin:0;display:flex;gap:8px}
  .st-wrap.v2 .st-b{background:#fff;color:#3c434d;border:1px solid #dde2e8;border-radius:10px;font-weight:600;height:36px;padding:0 14px}
  .st-wrap.v2 .st-b.copy svg{color:#16a34a}.st-wrap.v2 .st-b.exp svg{color:#ea7a12}.st-wrap.v2 .st-b.imp svg{color:#134fc4}
  .st-wrap.v2 .st-b:hover{border-color:#134fc4;color:#134fc4}
  .st-wrap.v2 .st-main > .st-tog{grid-row:2;display:flex;flex-wrap:wrap;align-items:center;gap:8px}
  .st-wrap.v2 .st-tog .st-ck,.st-wrap.v2 .st-tog .st-sw{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 12px;border:1px solid #dde2e8;border-radius:99px;background:#fff;font-size:13.5px;font-weight:500;color:#3c434d;cursor:pointer}
  .st-wrap.v2 .st-tog .st-ck:has(input:checked),.st-wrap.v2 .st-tog .st-sw.on{background:#eef3fc;border-color:#134fc4;color:#134fc4}
  .st-wrap.v2 .st-tog .st-year{margin-left:auto;display:flex;align-items:center;gap:8px;font-size:13.5px;color:#667080}
  .st-wrap.v2 .st-sortbar{display:none}
}

/* u308: ตาราง "แบบใหม่" ใช้ตั้งแต่แท็บเล็ต (≥768) — เดิมเฉพาะจอคอม ≥1280 */
@media (min-width:768px){
  /* ---------- ตาราง (u307 เจ้าของเคาะจาก mockup: ช่องไฟเท่ากัน · ไม่ตัดข้อความ · ชื่อรุ่นอยู่แนวเดียวกับทุกคอลัมน์) ---------- */
  .st-wrap.v2 .st-tw{display:none}
  .st-wrap.v2 .st-tw2{display:block;background:#fff;border:1px solid #ececee;border-radius:16px;overflow:hidden}
  .st-wrap.v2 .nt{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}
  /* ความกว้างตามสัดส่วน (u307) — เดิมความกว้างคงที่ ช่องรุ่นกินที่ว่างทั้งหมดบนจอกว้าง เกิดช่องโหว่กลางแถว */
  .st-wrap.v2 .nt .w-m{width:31%}.st-wrap.v2 .nt .w-sz{width:9%}.st-wrap.v2 .nt .w-wk{width:8%}.st-wrap.v2 .nt .w-pr{width:11%}
  .st-wrap.v2 .nt .w-price{width:10%}.st-wrap.v2 .nt .w-tot{width:8%}.st-wrap.v2 .nt .w-sp{width:3.8%}.st-wrap.v2 .nt .w-cc{width:auto}.st-wrap.v2 .nt .w-cp{width:52px}
  .st-wrap.v2 .nt th{font-size:13px;font-weight:600;color:#667080;text-align:center;padding:0 10px;height:40px;background:#fafbfc;border-bottom:1px solid #ececee;white-space:nowrap}
  .st-wrap.v2 .nt thead tr:last-child th:first-child{text-align:left}
  .st-wrap.v2 .nt th button{display:inline-flex;align-items:center;gap:4px;font:inherit;color:inherit;padding:4px 6px;margin:-4px auto;border-radius:6px}
  .st-wrap.v2 .nt th:first-child button{margin:-4px 0}
  .st-wrap.v2 .nt th button:hover{background:#eef1f5}
  .st-wrap.v2 .nt th button svg{width:16px;height:16px}
  .st-wrap.v2 .nt tr.nt-g th{height:30px;border-bottom:0;padding:8px 0 0}
  .st-wrap.v2 .nt th.nt-grp{color:#9aa1ab;font-size:12px;border-bottom:1px solid #eef0f3}
  .st-wrap.v2 .nt th:first-child,.st-wrap.v2 .nt td:first-child{padding-left:20px}
  .st-wrap.v2 .nt th:last-child{padding-right:12px}
  /* ทุกแถวสูงเท่ากัน 88px (มีที่ให้บรรทัดเงื่อนไขใต้ชื่อรุ่น) · ทุกคอลัมน์ยกเว้นรุ่นยางจัดกึ่งกลาง */
  .st-wrap.v2 .nt tbody tr{height:88px}
  .st-wrap.v2 .nt td{padding:14px 10px;border-top:1px solid #f0f1f3;vertical-align:middle;font-size:14px;color:#3c434d;background:#fff;text-align:center}
  .st-wrap.v2 .nt td:first-child{text-align:left}
  .st-wrap.v2 .nt td.nt-prc,.st-wrap.v2 .nt td:last-child{padding-left:4px;padding-right:4px}
  .st-wrap.v2 .nt tbody tr:first-child td{border-top:0}
  .st-wrap.v2 .nt tbody tr:hover td{background:#f8fafd}
  /* รุ่นยาง: โลโก้ในกรอบขาวเท่ากันทุกยี่ห้อ · ช่องไฟโลโก้↔ชื่อรุ่นกว้างตามจอ · ชื่อรุ่น/เงื่อนไขแสดงครบไม่ตัด (ยาวเกินขึ้นบรรทัดใหม่) */
  .nt-m{display:flex;align-items:center;gap:clamp(24px,2.2vw,44px);min-width:0}
  .nt-lgb{width:112px;height:44px;flex:none;display:grid;place-items:center;background:#fff;border:1px solid #e6e9ee;border-radius:10px;box-shadow:0 1px 2px rgba(16,24,40,.06);padding:0 8px;overflow:hidden}
  .nt-lgb img{max-width:100%;width:auto;object-fit:contain;display:block}
  .nt-lgt{font-size:12px;font-weight:700;color:#3c434d;text-align:center;line-height:1.2}
  .nt-tx{display:flex;flex-direction:column;min-width:0}
  /* ขนาดเหมือนตารางเว็บลูกค้า (u297): รุ่น 17px หนา ดำ · ไซส์ 16px กึ่งหนา เทาเข้ม */
  .nt-tx b{display:block;font-size:17px;font-weight:400;color:#181c22;line-height:23px} /* u310: ไม่เอาตัวหนา (เจ้าของ) */
  .nt-tx b .st-spc{margin-left:8px;vertical-align:2px}
  .nt-tx i{font-style:normal;font-size:12px;color:#8a929e;line-height:17px}
  /* สำเนาบรรทัดเงื่อนไขที่มองไม่เห็น อยู่เหนือชื่อรุ่น สูงเท่าบรรทัดจริงด้านล่าง → ชื่อรุ่นอยู่กึ่งกลางแถวเสมอ */
  .nt-tx .nt-ghost{visibility:hidden}
  .st-wrap.v2 .nt td.nt-sz{font-size:16px;font-weight:400;color:#3c434d;white-space:nowrap}
  /* u310 (เจ้าของเคาะ): ปีผลิตเป็นตัวหนังสือสี ไม่มีกล่อง ขนาดเท่าขนาดยาง */
  .nt-wk{display:inline-block;vertical-align:middle;font-size:16px;font-weight:400;line-height:23px}
  /* u307 (เจ้าของเคาะ): ป้ายราคาพิเศษสีฟ้าแบรนด์ — เดิมสีส้มอำพัน (ไม่ชอบ และซ้ำกับสีปี 2023) */
  .nt-pr{display:inline-block;vertical-align:middle;white-space:nowrap;font-size:11.5px;font-weight:600;color:#134fc4;background:#eef4ff;border:1px solid #c7d7fb;border-radius:99px;padding:1px 8px;line-height:18px}
  .nt-z{color:#c3c8cf}
  /* ราคา (กดดูราคารวมได้เหมือนเดิม) — ราคาเต็มลอยเหนือราคาขาย ราคาขายอยู่กึ่งกลางแถวเท่าราคาปกติ · ราคาพิเศษ (มีโปร/ส่วนลด) สีแดง */
  .st-wrap.v2 .nt .st-pbtn{font:inherit;color:inherit;text-align:center}
  .st-wrap.v2 .nt .st-price{position:relative;display:inline-block;font-size:16.5px;font-weight:400;color:#181c22;white-space:nowrap}
  .st-wrap.v2 .nt .st-full{position:absolute;left:50%;bottom:100%;transform:translateX(-50%);margin-bottom:-1px;font-size:12px;font-weight:500;color:#9aa3ae;text-decoration:line-through;line-height:14px;white-space:nowrap}
  .st-wrap.v2 .nt tr.nt-sale .st-price{color:#dc2626}
  /* TOTAL เด่น · SP1–SP5 จาง */
  .st-wrap.v2 .nt th.nt-tot{background:#f1f4f9;color:#181c22;font-weight:700}
  .st-wrap.v2 .nt td.nt-tot{background:#f6f8fb}
  .st-wrap.v2 .nt tbody tr:hover td.nt-tot{background:#eef2f8}
  .nt-tv{font-size:18px;font-weight:400;color:#181c22;font-variant-numeric:tabular-nums}
  .nt-tv.z{color:#c0c5cc;font-weight:400}
  .st-wrap.v2 .nt th.nt-sp{color:#9aa1ab;font-size:12px;padding:0 2px}
  .st-wrap.v2 .nt td.nt-sp{padding:0 2px;font-size:13px;color:#8a929e;font-variant-numeric:tabular-nums}
  .st-wrap.v2 .nt td.nt-sp .z{color:#d5d9de}
  .nt-cc{font-size:13px;color:#667080;white-space:nowrap}
  .nt-cp{width:32px;height:32px;border-radius:9px;display:inline-grid;place-items:center;color:#667080;border:1px solid #e3e7ec;background:#fff}
  .nt-cp:hover{color:#134fc4;border-color:#134fc4}
  /* โหมดหน้า-หลัง (u293): รุ่นที่ครบคู่คลุมฟ้าอ่อน + เส้นแดงใต้แถวสุดท้าย · เส้นหนาขึ้นระหว่างรุ่น */
  .st-wrap.v2 .nt.pm tbody tr.st-pair td{background:#eaf2ff}
  .st-wrap.v2 .nt tbody tr.st-pend td{border-bottom:2px solid #ef4444}
  .st-wrap.v2 .nt tbody tr.st-g1 td{border-top:2px solid #cbd5e1}
  .st-wrap.v2 .nt tbody tr.st-pend + tr.st-g1 td{border-top:0} /* ไม่ให้เป็นเส้นคู่ (separate borders) */
}

  /* จอ 1280–1439: สัดส่วนช่องปรับให้ไซส์/ป้ายโปรพอดี · ระยะในช่องแคบลง (ขนาดตัวอักษรรุ่น/ไซส์เท่าเดิม ห้ามย่อ) */
@media (min-width:1280px) and (max-width:1439px){
  .st-wrap.v2 .nt .w-m{width:29%}.st-wrap.v2 .nt .w-sz{width:11%}.st-wrap.v2 .nt .w-pr{width:12%}.st-wrap.v2 .nt .w-sp{width:3.6%}
  .st-wrap.v2 .nt th,.st-wrap.v2 .nt td{padding-left:7px;padding-right:7px}
  .st-wrap.v2 .nt th:first-child,.st-wrap.v2 .nt td:first-child{padding-left:14px}
  .st-wrap.v2 .nt td.nt-prc,.st-wrap.v2 .nt td:last-child{padding-left:4px;padding-right:4px}
  .st-wrap.v2 .nt th.nt-sp,.st-wrap.v2 .nt td.nt-sp{padding:0 1px}
  .nt-lgb{width:100px;height:40px;padding:0 6px}
  .st-wrap.v2 .nt .st-price{font-size:15.5px}
  .nt-tv{font-size:17px}
  .nt-pr{font-size:11px;padding:1px 6px}
}

@media (min-width:1280px){ .st-menu-ui{display:none} }

/* ===== u308: จอเล็กกว่าคอม (<1280) — สีและกรอบโทนเดียวกับแบบใหม่ (โครงตัวกรองตามแบบเดิม) ===== */
@media (max-width:1279px){
  .st-nav.v2,.st-wrap.v2{font-family:"Noto Sans Thai",system-ui,sans-serif}
  .st-nav.v2{background:rgba(255,255,255,.94);border-bottom-color:#ececee}
  .st-nav.v2 .st-tab.on{background:#eef3fc;color:#134fc4;font-weight:600;border-radius:10px}
  .st-wrap.v2{color:#181c22}
  .st-wrap.v2 .st-head-ic{background:#eef3fc;color:#134fc4;border-radius:12px}
  .st-wrap.v2 .st-side{background:#fff;border:1px solid #ececee;border-radius:16px;padding:20px}
  .st-wrap.v2 .st-dd > .st-sel,.st-wrap.v2 .st-in,.st-wrap.v2 .st-srch{border-color:#dde2e8;border-radius:10px;background-color:#fff}
  .st-wrap.v2 .st-go{background:linear-gradient(135deg,#0e3fa3 0%,#134fc4 55%,#2a6be0 100%);border-radius:10px;font-weight:700;height:44px}
  .st-wrap.v2 input[type=checkbox]{accent-color:#134fc4}
  .st-wrap.v2 .st-main{border-top:0;padding-top:4px}
  .st-wrap.v2 .st-count b{background:#eef3fc;color:#134fc4;font-weight:700}
  .st-wrap.v2 .st-b{background:#fff;color:#3c434d;border:1px solid #dde2e8;border-radius:10px;font-weight:600}
  .st-wrap.v2 .st-b.copy svg{color:#16a34a}.st-wrap.v2 .st-b.exp svg{color:#ea7a12}.st-wrap.v2 .st-b.imp svg{color:#134fc4}
  .st-wrap.v2 .st-tog .st-ck,.st-wrap.v2 .st-tog .st-sw{border:1px solid #dde2e8;border-radius:99px;background:#fff;padding:6px 12px}
  .st-wrap.v2 .st-tog .st-ck:has(input:checked),.st-wrap.v2 .st-tog .st-sw.on{background:#eef3fc;border-color:#134fc4;color:#134fc4}
  .st-wrap.v2 .st-tw,.st-wrap.v2 .st-cards{display:none!important}
}

/* ===== u308 แท็บเล็ต 768–1279 (เจ้าของเคาะจาก mockup): ตารางแบบจอคอม ย่อให้พอดีจอ — ไม่ตัดคำ ไม่ต้องเลื่อนขวา ===== */
@media (min-width:768px) and (max-width:1279px){
  .st-wrap.v2 .st-sortbar{display:none} /* เรียงที่หัวตารางแทน */
  .st-wrap.v2 .nt .w-m{width:26.5%}.st-wrap.v2 .nt .w-sz{width:10.5%}.st-wrap.v2 .nt .w-wk{width:7.5%}.st-wrap.v2 .nt .w-pr{width:13%}
  .st-wrap.v2 .nt .w-price{width:10.5%}.st-wrap.v2 .nt .w-tot{width:8%}.st-wrap.v2 .nt .w-sp{width:4%}.st-wrap.v2 .nt .w-cp{width:44px}
  .st-wrap.v2 .nt th,.st-wrap.v2 .nt td{padding-left:5px;padding-right:5px}
  .st-wrap.v2 .nt th:first-child,.st-wrap.v2 .nt td:first-child{padding-left:12px}
  .st-wrap.v2 .nt td.nt-prc,.st-wrap.v2 .nt td:last-child{padding-left:4px;padding-right:4px}
  .st-wrap.v2 .nt th{font-size:12px}
  .st-wrap.v2 .nt th.nt-sp,.st-wrap.v2 .nt td.nt-sp{padding:0 1px}
  .st-wrap.v2 .nt tbody tr{height:76px}
  .st-wrap.v2 .nt td{padding-top:10px;padding-bottom:10px}
  .nt-m{gap:12px}
  .nt-lgb{width:84px;height:34px;padding:0 6px;border-radius:8px}
  .nt-lgb img{max-height:16px;height:auto!important}
  .nt-tx b{font-size:15px;line-height:20px}
  .nt-tx i{font-size:11px;line-height:15px}
  .st-wrap.v2 .nt td.nt-sz{font-size:14px}
  .nt-wk{font-size:14px}
  .nt-pr{font-size:11px;padding:1px 6px}
  .st-wrap.v2 .nt .st-price{font-size:15px}
  .st-wrap.v2 .nt .st-full{font-size:11px}
  .nt-tv{font-size:16px}
  .st-wrap.v2 .nt td.nt-sp{font-size:12.5px}
  .nt-cp{width:30px;height:30px}
}
/* แท็บเล็ตแนวตั้ง 768–1023: โลโก้อยู่เหนือชื่อรุ่น (ที่แคบ) · ตัวเล็กลงอีกนิด */
@media (min-width:768px) and (max-width:1023px){
  .st-wrap.v2 .nt .w-m{width:22%}.st-wrap.v2 .nt .w-sz{width:11%}.st-wrap.v2 .nt .w-wk{width:7.5%}.st-wrap.v2 .nt .w-pr{width:14.5%}
  .st-wrap.v2 .nt .w-price{width:10.5%}.st-wrap.v2 .nt .w-tot{width:9.5%}.st-wrap.v2 .nt .w-sp{width:3.5%}.st-wrap.v2 .nt .w-cp{width:38px}
  .st-wrap.v2 .nt th:first-child,.st-wrap.v2 .nt td:first-child{padding-left:10px}
  .st-wrap.v2 .nt td.nt-prc{padding-left:2px;padding-right:2px}
  .st-wrap.v2 .nt th{font-size:11.5px}
  .st-wrap.v2 .nt th button{gap:2px;padding:4px 2px}
  .st-wrap.v2 .nt th button svg{width:13px;height:13px}
  .st-wrap.v2 .nt th.nt-sp{font-size:10.5px}
  .nt-m{flex-direction:column;align-items:flex-start;gap:5px}
  .nt-tx .nt-ghost{display:none}
  .nt-lgb{width:76px;height:28px}
  .nt-lgb img{max-height:14px}
  .nt-tx b{font-size:14px;line-height:18px}
  .nt-tx i{font-size:10.5px;line-height:14px}
  .st-wrap.v2 .nt td.nt-sz{font-size:13px}
  .nt-pr{font-size:10.5px;padding:0 5px}
  .nt-wk{font-size:13px}
  .st-wrap.v2 .nt .st-price{font-size:14px}
  .nt-tv{font-size:15px}
  .st-wrap.v2 .nt td.nt-sp{font-size:12px}
  .nt-cp{width:28px;height:28px}
}

/* ===== u308 มือถือ <768 (เจ้าของเคาะแบบ A): การ์ดกะทัดรัด เห็น 4–5 รุ่นต่อจอ เหมือนแอปเดิม
   บน: โลโก้ | ป้ายราคาพิเศษ · กลาง: ชื่อรุ่น / ไซส์+ปีผลิต | ราคา · เงื่อนไข · ล่าง: TOTAL + SP1–SP5 + คัดลอก ===== */
@media (max-width:767px){
  .st-wrap.v2 .nt-cards{display:flex;flex-direction:column;gap:8px}
  .mc{background:#fff;border:1px solid #ececee;border-radius:12px;padding:10px 12px 9px;display:flex;flex-direction:column;gap:6px}
  .mc-h{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:30px}
  .mc-lg{width:76px;height:30px;flex:none;display:grid;place-items:center;background:#fff;border:1px solid #e6e9ee;border-radius:8px;padding:0 5px;overflow:hidden}
  .mc-lg img{max-width:100%;max-height:18px;width:auto;height:auto!important;object-fit:contain;display:block}
  .mc-lg .nt-lgt{font-size:10.5px;font-weight:700;color:#3c434d;text-align:center;line-height:1.2}
  .mc-m{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}
  .mc-l{display:flex;flex-direction:column;min-width:0;gap:1px}
  .mc-nm{display:block;font-size:15.5px;font-weight:700;color:#181c22;line-height:20px}
  .mc-nm .st-spc{font-size:10px;padding:0 6px;margin-left:5px;vertical-align:1px}
  .mc-sz{font-size:14px;font-weight:600;color:#3c434d;line-height:19px}
  .mc-pr{text-align:right;flex:none}
  .mc-pr .st-pbtn{font:inherit;color:inherit;text-align:right}
  .mc-pr .st-price{position:relative;display:inline-block;font-size:18px;font-weight:700;color:#181c22;white-space:nowrap;line-height:22px}
  .mc-pr .st-full{position:absolute;right:0;bottom:100%;font-size:11px;font-weight:500;color:#9aa3ae;text-decoration:line-through;line-height:13px}
  .mc.nt-sale .mc-pr .st-price{color:#dc2626}
  .st-wrap.v2 .mc .mc-nt{font-size:11.5px;color:#8a929e;line-height:16px}
  .mc-cc{font-size:12px;color:#667080}
  .mc .nt-wk{display:inline-block;font-size:11px;font-weight:700;border:1px solid;border-radius:99px;padding:0 7px;line-height:17px}
  .mc .nt-pr{display:inline-block;white-space:nowrap;font-size:10.5px;font-weight:600;color:#134fc4;background:#eef4ff;border:1px solid #c7d7fb;border-radius:99px;padding:0 7px;line-height:17px}
  .mc .nt-z{display:none}
  .mc-c{display:flex;align-items:center;gap:8px;padding-top:6px;border-top:1px solid #f0f1f3}
  .mc-tot{display:inline-flex;align-items:baseline;gap:5px;padding:2px 9px;border-radius:8px;background:#f1f4f9}
  .mc-tot small{font-size:10px;font-weight:700;color:#3c434d;letter-spacing:.3px}
  .mc-tot b{font-size:16px;font-weight:700;color:#181c22}
  .mc-tot.z b{color:#c0c5cc}
  .mc-sp{flex:1;display:grid;grid-template-columns:repeat(5,1fr);text-align:center}
  .mc-sp span{display:inline-flex;align-items:baseline;justify-content:center;gap:3px}
  .mc-sp small{font-size:9.5px;color:#a3a9b3;font-weight:600}
  .mc-sp b{font-size:12.5px;color:#8a929e;font-weight:600}
  .mc-sp b.z{color:#d5d9de}
  .mc-cp{width:28px;height:28px;border-radius:8px;display:inline-grid;place-items:center;color:#667080;border:1px solid #e3e7ec;background:#fff;flex:none}
  /* โหมดหน้า-หลัง (u293): รุ่นที่ครบคู่คลุมฟ้าอ่อน + เส้นแดงใต้การ์ดสุดท้ายของรุ่น · เว้นระยะระหว่างรุ่น */
  .nt-cards.pm .mc.st-pair{background:#eaf2ff;border-color:#cddcf5}
  .nt-cards.pm .mc.st-pend{border-bottom:2px solid #ef4444}
  .nt-cards.pm .mc.st-g1:not(:first-child){margin-top:8px}
}
/* จอเล็กมาก (320): ตัวเลขสาขาวางใต้ชื่อ SP — ไม่ให้ชิดติดกันจนอ่านปน */
@media (max-width:359px){
  .mc-sp span{flex-direction:column;align-items:center;gap:0;line-height:1.15}
  .mc-c{gap:6px}
}

/* ===== u313 (เจ้าของ 9 ต.ค.): ตารางแบบใหม่ — แถวสลับสีแบบเว็บเดิม · ราคาพิเศษเป็นตัวหนังสือดำ ไม่มีกรอบ ===== */
@media (min-width:768px){
  .st-wrap.v2 .nt tbody tr:nth-child(even) td{background:#f4f6f9}
  .st-wrap.v2 .nt tbody tr:nth-child(even) td.nt-tot{background:#edf1f7}
  .st-wrap.v2 .nt tbody tr:hover td{background:#eef3fa}
  .st-wrap.v2 .nt.pm tbody tr.st-pair td{background:#eaf2ff} /* โหมดหน้า-หลัง: สีคู่ยางสำคัญกว่าสีสลับ */
  .st-wrap.v2 .nt .nt-pr{background:none;border:0;padding:0;color:#181c22;font-weight:400;font-size:14px}
}
@media (min-width:1024px) and (max-width:1279px){ .st-wrap.v2 .nt .nt-pr{font-size:13px} }
@media (min-width:768px) and (max-width:1023px){ .st-wrap.v2 .nt .nt-pr{font-size:11.5px} }

/* u314 (เจ้าของเคาะ): โลโก้กรอบสีแบรนด์ — รูปพื้นสีเต็มกรอบมนขนาดเดิม (ตาราง + การ์ดมือถือ) */
.nt-lgb:has(.lg-tile),.mc-lg:has(.lg-tile){padding:0;border:0;overflow:hidden}
.nt-lgb .lg-tile,.mc-lg .lg-tile{width:100%;height:100%!important;max-width:none;max-height:none;object-fit:cover;display:block}

/* ===== u315 (เจ้าของ 9 ต.ค.) ===== */
/* Bridgestone ไฟล์ใหม่: เต็มความกว้างกรอบ (ลดขอบในกรอบ) */
.nt-lgb:has(.lg-wide),.mc-lg:has(.lg-wide){padding:0 4px}
.nt-lgb .lg-wide,.mc-lg .lg-wide{width:100%;height:auto!important;max-height:none}
@media (min-width:768px){
  /* ชื่อรุ่น + ราคา กลับเป็นตัวหนา (เด่นขึ้น) */
  .st-wrap.v2 .nt-tx b{font-weight:700}
  .st-wrap.v2 .nt .st-price{font-weight:700}
  /* TOTAL: วงกลมครอบ ตัวเลขสีน้ำเงิน · 0 = วงเทาจาง */
  .st-wrap.v2 .nt .nt-tv{display:inline-grid;place-items:center;min-width:40px;height:40px;padding:0 6px;border:2px solid #134fc4;border-radius:99px;color:#134fc4;font-weight:700;font-size:17px;line-height:1;box-sizing:border-box}
  .st-wrap.v2 .nt .nt-tv.z{border-color:#d5dae1;color:#b6bcc5;font-weight:600}
}
@media (min-width:768px) and (max-width:1279px){
  .st-wrap.v2 .nt .nt-tv{min-width:34px;height:34px;font-size:15px}
}

/* ===== u316 (เจ้าของเคาะ 9 ต.ค.): แถบค้นหาซ้ายกว้างขึ้น โปร่งขึ้น · ยางหลังพับไว้ · ไอคอนหมุดสาขา ===== */
@media (min-width:1280px){
  .st-wrap.v2 .st-body{grid-template-columns:316px minmax(0,1fr);gap:28px}
  .st-wrap.v2 .st-side{padding:24px 24px 26px}
  .st-wrap.v2 .st-f-top h2{font-size:19px}
  .st-wrap.v2 .st-lab{font-size:14.5px;font-weight:600;margin-bottom:8px}
  .st-wrap.v2 .st-size3{gap:8px}
  .st-wrap.v2 .st-dd > .st-sel{height:44px;font-size:15px}
  .st-wrap.v2 .st-srow{margin-top:10px}
  .st-wrap.v2 .st-srch .st-in{height:44px;font-size:15px}
  .st-wrap.v2 .st-srch svg{top:12px}
  .st-wrap.v2 .st-lab-rq{display:block;margin-top:18px;margin-bottom:0}
  .st-wrap.v2 .st-lab-sub{display:block;margin:2px 0 0;font-size:12.5px;color:#8a929e}
  .st-wrap.v2 .st-go{height:48px;font-size:16px;margin-top:16px}
  .st-wrap.v2 .st-hr{margin:22px 0 0}
  .st-wrap.v2 .st-patblk{margin:18px 0 0;gap:8px}
  .st-wrap.v2 .st-lab-mk{margin:20px 0 10px}
  .st-wrap.v2 .st-brands{display:grid;grid-template-columns:1fr 1fr;gap:12px 10px}
  .st-wrap.v2 .st-brands .st-ck{font-size:14px;margin:0}
}
.st-rq-open{display:none}
.st-wrap.v2 .st-rq-open{display:inline-flex;align-items:center;margin-top:12px;font-size:13.5px;font-weight:600;color:#134fc4;background:none;padding:0;cursor:pointer}
.st-wrap.v2 .st-rq-open:hover{text-decoration:underline}
.st-rq-x{display:none}
.st-wrap.v2 .st-rq-x{display:inline;float:right;font-size:12.5px;font-weight:500;color:#8a929e;background:none;padding:0;cursor:pointer}
.st-wrap.v2 .st-rq-x:hover{color:#dc2626}
.st-wrap.v2 .st-pin{color:#134fc4}
.st-wrap.v2 .st-pin svg{width:20px;height:20px}

/* ===== u317 (เจ้าของเคาะ 9 ต.ค.) ===== */
/* คอลัมน์ TOTAL ไม่ไฮไลต์สีเทาแล้ว — พื้นตามแถวสลับสี */
@media (min-width:768px){
  .st-wrap.v2 .nt th.nt-tot,.st-wrap.v2 .nt td.nt-tot{background:#fff}
  .st-wrap.v2 .nt thead th.nt-tot{background:#fafbfc}
  .st-wrap.v2 .nt tbody tr:nth-child(even) td.nt-tot{background:#f4f6f9}
  .st-wrap.v2 .nt tbody tr:hover td.nt-tot{background:#eef3fa}
  .st-wrap.v2 .nt.pm tbody tr.st-pair td.nt-tot{background:#eaf2ff}
}

@media (min-width:768px){
  /* ตาราง: ไม่บีบคอลัมน์ — แต่ละช่องกว้างตามข้อความ ไม่ตัดคำ ไม่ขึ้นบรรทัดใหม่ → ทุกแถวสูงเท่ากัน
     กว้างเกินจอ (แท็บเล็ต) ใช้นิ้วสไลด์ในตาราง · ช่องรุ่นยางค้างอยู่ซ้าย (หน้าเว็บเองไม่เลื่อนแนวนอน) */
  .st-wrap.v2 .st-tw2{position:relative;overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%} /* relative: ป้ายซ่อน (nt-sr) อยู่ในกรอบสไลด์ ไม่ดันหน้าเว็บให้กว้าง */
  .st-wrap.v2 .nt{table-layout:auto;width:max-content;min-width:100%}
  .st-wrap.v2 .nt col{width:auto!important}
  .st-wrap.v2 .nt th,.st-wrap.v2 .nt td{white-space:nowrap}
  .st-wrap.v2 .nt th.nt-sp,.st-wrap.v2 .nt td.nt-sp{min-width:34px}
  .st-wrap.v2 .nt th.nt-tot,.st-wrap.v2 .nt td.nt-tot{min-width:76px}
  .st-wrap.v2 .nt thead tr:last-child th:first-child,.st-wrap.v2 .nt tbody td:first-child{position:sticky;left:0;z-index:1;box-shadow:inset -1px 0 0 #ececee}
  /* TOTAL แบบ 8: ตัวเลขน้ำเงินหนาบนพื้นฟ้าอ่อน (ไม่มีวงกลม) · 0 = เทาจาง ไม่มีพื้น */
  .st-wrap.v2 .nt .nt-tv{display:inline-grid;place-items:center;min-width:44px;height:34px;padding:0 8px;border:0;border-radius:8px;background:#eef4ff;color:#134fc4;font-weight:700;font-size:17px;line-height:1;box-sizing:border-box}
  .st-wrap.v2 .nt .nt-tv.z{background:none;color:#b6bcc5;font-weight:600}
}
@media (min-width:768px) and (max-width:1279px){
  .st-wrap.v2 .nt .nt-tv{min-width:40px;height:30px;font-size:15px}
}
/* แท็บเล็ตแนวตั้ง: จัดเหมือนแนวนอน (โลโก้ข้างชื่อรุ่น) แล้วสไลด์ดูส่วนที่เหลือ — แทนการวางโลโก้เหนือชื่อ (u308) */
@media (min-width:768px) and (max-width:1023px){
  .nt-m{flex-direction:row;align-items:center;gap:12px}
  .nt-tx .nt-ghost{display:block}
}

/* มือถือ: การ์ดบางลง จัดเรียงแบบเดียวกันทุกขนาดจอ */
@media (max-width:767px){
  .st-wrap.v2 .mc{gap:5px}
  /* บน: โลโก้ (กรอบเท่ากันทุกยี่ห้อ) | เบอร์ยาง */
  .st-wrap.v2 .mc-h{min-height:24px}
  .st-wrap.v2 .mc-lg{width:64px;height:24px;border-radius:6px}
  .st-wrap.v2 .mc-h .mc-sz{margin-left:auto;font-size:13.5px;font-weight:600;color:#3c434d;line-height:18px;white-space:nowrap}
  /* กลาง: ชื่อรุ่น | ราคา ระดับเดียวกันเสมอ · ใต้ชื่อ = สัปดาห์ผลิตในวงเล็บ ตัวบาง · ใต้ราคา = ราคาเต็มขีดฆ่า + ป้ายราคาพิเศษ */
  .st-wrap.v2 .mc-m{align-items:start}
  .st-wrap.v2 .mc .mc-l > .nt-wk{display:block;font-size:12.5px;font-weight:400;line-height:18px;margin-top:2px;border:0;border-radius:0;padding:0}
  .st-wrap.v2 .mc .nt-wk::before{content:"("}
  .st-wrap.v2 .mc .nt-wk::after{content:")"}
  .st-wrap.v2 .mc-pr{display:flex;flex-direction:column;align-items:flex-end}
  .st-wrap.v2 .mc-pr .st-price{line-height:20px}
  .st-wrap.v2 .mc-pr .st-price.sale{display:inline-flex;flex-direction:column-reverse;align-items:flex-end}
  .st-wrap.v2 .mc-pr .st-full{position:static;font-size:12px;line-height:16px}
  .st-wrap.v2 .mc-pr .nt-pr{margin-top:3px;font-size:10.5px;line-height:16px}
  .st-wrap.v2 .mc .mc-nt{font-size:10.5px;line-height:14px}
  /* ล่าง: TOTAL กล่องเทา คำบน เลขน้ำเงินล่าง · SP1–SP5 ชื่อบน เลขเล็กล่าง มีเส้นคั่น */
  .st-wrap.v2 .mc-tot{flex-direction:column;align-items:center;gap:1px;line-height:1.15;padding:4px 12px;min-width:54px}
  .st-wrap.v2 .mc-tot small{font-size:9.5px}
  .st-wrap.v2 .mc-tot b{font-size:18px;color:#134fc4}
  .st-wrap.v2 .mc-tot.z b{color:#c0c5cc}
  .st-wrap.v2 .mc-sp span{flex-direction:column;align-items:center;gap:1px;line-height:1.15}
  .st-wrap.v2 .mc-sp small{font-size:9.5px}
  .st-wrap.v2 .mc-sp b{font-size:12.5px;color:#6b7380;font-weight:600}
  .st-wrap.v2 .mc-sp b.z{color:#d5d9de}
  .st-wrap.v2 .mc-sp span + span{border-left:1px solid #e3e6eb}
}

/* ===== u321 (เจ้าของเคาะ 10 ต.ค.): "แบบใหม่ 2" (.v3) — หน้าตาแบบใหม่ แต่ขนาด/ช่องไฟ/ตำแหน่ง เท่าแบบเดิม (พนักงานชินตา)
   แถบซ้าย 3/12 ส่วน (เท่าแบบเดิม) + ช่องว่าง 16 → ตารางเริ่มตรงจุดเดิมทุกขนาดจอ · ตัวหนังสือ 14px · แถว 81 · หัวตาราง 49 · ระยะในช่อง 16 · SP1–SP5 ช่องกว้าง · ไม่ย่อหน้า (zoom) ===== */
@media (min-width:1280px){
  /* แถบซ้าย = 3 ใน 12 ส่วนของหน้า เหมือนแบบเดิม (จอ 1920 = 448px · จอเล็กลงก็แคบลงตามสัดส่วนเดิม) */
  .st-wrap.v2.v3 .st-body{grid-template-columns:repeat(12,minmax(0,1fr));gap:16px}
  .st-wrap.v2.v3 .st-side{grid-column:span 3/span 3}
  .st-wrap.v2.v3 .st-main{grid-column:span 9/span 9;padding-left:13px}
  .st-wrap.v2.v3{padding-right:16px}
  .st-wrap.v2.v3 .nt tbody tr{height:81px}
  .st-wrap.v2.v3 .nt th,.st-wrap.v2.v3 .nt td{padding-left:16px;padding-right:16px}
  .st-wrap.v2.v3 .nt td{font-size:14px}
  .st-wrap.v2.v3 .nt th{font-size:14px;height:49px}
  .st-wrap.v2.v3 .nt-lgb{width:104px;height:42px}
  .st-wrap.v2.v3 .nt-tx b{font-size:14px;line-height:20px}
  .st-wrap.v2.v3 .nt td.nt-sz,.st-wrap.v2.v3 .nt-wk{font-size:14px}
  .st-wrap.v2.v3 .nt .nt-pr{font-size:14px}
  .st-wrap.v2.v3 .nt .st-price{font-size:14px}
  .st-wrap.v2.v3 .nt .st-full{font-size:11px}
  .st-wrap.v2.v3 .nt .nt-tv{min-width:34px;height:28px;font-size:14px;border-radius:7px}
  .st-wrap.v2.v3 .nt th.nt-sp,.st-wrap.v2.v3 .nt td.nt-sp{min-width:60px;padding-left:4px;padding-right:4px;font-size:14px}
  .st-wrap.v2.v3 .nt th.nt-sp{font-size:13px}
  .st-wrap.v2.v3 .nt td.nt-tot,.st-wrap.v2.v3 .nt th.nt-tot{min-width:90px}
  .st-wrap.v2.v3 .nt th:last-child,.st-wrap.v2.v3 .nt td:last-child{padding-left:6px;padding-right:10px}
}
/* u321 (เจ้าของเคาะ 10 ต.ค.): แบบใหม่ 2 — ฟอนต์ Prompt เหมือนแอปเดิม · แถบซ้ายขนาด/ตำแหน่งเท่าแบบเดิม (ไม่มีกล่อง ช่องสูง 32 ยี่ห้อเรียงแถวเดียว) */
.st-nav.v2.v3,.st-wrap.v2.v3{font-family:'Prompt',system-ui,sans-serif}
@media (min-width:1280px){
  .st-wrap.v2.v3 .st-side{background:none;border:0;border-radius:0;padding:0}
  .st-wrap.v2.v3 .st-f-top h2{font-size:20px}
  .st-wrap.v2.v3 .st-lab{font-size:14px;margin:0}
  .st-wrap.v2.v3 .st-size3{gap:8px}
  .st-wrap.v2.v3 .st-dd > .st-sel,.st-wrap.v2.v3 .st-srch .st-in{height:32px;font-size:14px}
  .st-wrap.v2.v3 .st-srow{margin-top:0}
  .st-wrap.v2.v3 .st-srch svg{top:6px}
  .st-wrap.v2.v3 .st-lab-rq{margin-top:8px}
  .st-wrap.v2.v3 .st-go{height:32px;font-size:14px;margin-top:12px}
  .st-wrap.v2.v3 .st-hr{margin:16px 0 0}
  .st-wrap.v2.v3 .st-patblk{margin:8px 0;gap:12px}
  .st-wrap.v2.v3 .st-lab-mk{margin:8px 0}
  .st-wrap.v2.v3 .st-brands{display:flex;flex-direction:column;gap:12px}
  .st-wrap.v2.v3 .st-brands .st-ck{font-size:14px}
}
/* u321 (เจ้าของเคาะ A): แบบใหม่ 2 ไม่มีตัวหนาในตาราง — พนักงานอ่านไล่ทุกแถว ตัวปกติเท่ากันอ่านสบายกว่า (ราคาลดยังแดง · TOTAL ยังอยู่ในกล่องฟ้า) */
@media (min-width:768px){
  .st-wrap.v2.v3 .nt-tx b,.st-wrap.v2.v3 .nt .st-price,.st-wrap.v2.v3 .nt .nt-tv{font-weight:400}
}

/* ===== u322 (เจ้าของเคาะ 10 ต.ค.) ===== */
/* ปุ่มสลับแป้นพิมพ์ (ข้างช่องค้นหา): กดแล้วเป็นแป้นตัวอักษร = ไฮไลต์ฟ้า */
.st-wrap.v2 .st-pin{color:#134fc4;border-radius:8px}
.st-wrap.v2 .st-pin svg{width:22px;height:22px}
.st-wrap.v2 .st-pin.on{background:#eef4ff;box-shadow:inset 0 0 0 1px #134fc4}
/* แบบใหม่ 2 — ปุ่มกรองแบบ 2: รวมเป็นแถบเดียวมีเส้นคั่น · ติ๊กเป็นวงกลม · อันที่เลือกพื้นน้ำเงินไล่เฉด (เหมือนปุ่มค้นหา) · ปีผลิตอยู่ท้ายแถบ */
@media (min-width:1280px){
  .st-wrap.v2.v3 .st-main > .st-tog{gap:0;background:#fff;border:1px solid #e3e7ee;border-radius:12px;padding:4px;box-shadow:0 1px 3px rgba(16,24,40,.06);width:max-content;max-width:100%}
  .st-wrap.v2.v3 .st-tog .st-year{margin-left:10px;padding-right:4px}
  .st-wrap.v2.v3 .st-tog .st-ck,.st-wrap.v2.v3 .st-tog .st-sw{height:34px;padding:0 14px;border:0;border-radius:9px;background:none;box-shadow:none;font-size:13.5px;font-weight:500;color:#4b5563;gap:8px;position:relative}
  .st-wrap.v2.v3 .st-tog > label + label::before{content:"";position:absolute;left:0;top:9px;bottom:9px;width:1px;background:#e8ebf0}
  .st-wrap.v2.v3 .st-tog .st-ck input{position:absolute;opacity:0;width:0;height:0}
  .st-wrap.v2.v3 .st-tog .st-ck::after{content:"";order:-1;width:16px;height:16px;border-radius:99px;border:1.5px solid #c3cad5;box-sizing:border-box;flex:none}
  .st-wrap.v2.v3 .st-tog .st-ck:has(input:checked){background:linear-gradient(135deg,#0e3fa3,#134fc4 55%,#2a6be0);color:#fff}
  .st-wrap.v2.v3 .st-tog .st-ck:has(input:checked)::after{border-color:#fff;background:#fff url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23134fc4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat}
  .st-wrap.v2.v3 .st-tog .st-ck:has(input:checked) + label::before,.st-wrap.v2.v3 .st-tog .st-ck:has(input:checked)::before{display:none}
  .st-wrap.v2.v3 .st-tog .st-ck:has(input:focus-visible){outline:2px solid #134fc4;outline-offset:1px}
  .st-wrap.v2.v3 .st-tog .st-sw i{width:30px;height:18px;background:#dfe3ea}
  .st-wrap.v2.v3 .st-tog .st-sw i::after{width:14px;height:14px}
  .st-wrap.v2.v3 .st-tog .st-sw.on i{background:#134fc4}
  .st-wrap.v2.v3 .st-tog .st-sw.on i::after{transform:translateX(12px)}
}
/* u322 (เจ้าของเคาะ B): ปีผลิตเป็นปุ่มเดียวกับตัวกรองอื่นในแถบ — "ปีผลิต ทั้งหมด ⌄" กว้างพอดีข้อความ · เลือกปีแล้วพื้นน้ำเงินไล่เฉด ลูกศรขาว */
@media (min-width:1280px){
  .st-wrap.v2.v3 .st-tog .st-year{margin-left:0;padding:0 0 0 6px;position:relative;gap:0;height:34px;display:flex;align-items:center}
  .st-wrap.v2.v3 .st-tog .st-year::before{content:"";position:absolute;left:0;top:9px;bottom:9px;width:1px;background:#e8ebf0}
  .st-wrap.v2.v3 .st-tog .st-year > span{position:absolute;left:20px;z-index:1;font-size:13.5px;font-weight:500;color:#4b5563;pointer-events:none}
  .st-wrap.v2.v3 .st-tog .st-year .st-dd,.st-wrap.v2.v3 .st-tog .st-year .st-sel{width:auto}
  .st-wrap.v2.v3 .st-tog .st-year .st-dd > .st-sel{height:34px;border:0;box-shadow:none;background-color:transparent;border-radius:9px;font-size:13.5px;font-weight:600;color:#181c22;padding:0 34px 0 66px;background-position:right 8px center;background-size:18px 18px}
  .st-wrap.v2.v3 .st-tog .st-year .st-dd > .st-sel:hover{background-color:#f3f5f8}
  .st-wrap.v2.v3 .st-tog .st-year.on > span{color:#fff}
  .st-wrap.v2.v3 .st-tog .st-year.on .st-dd > .st-sel{color:#fff;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat right 8px center/18px 18px,linear-gradient(135deg,#0e3fa3,#134fc4 55%,#2a6be0)}
  .st-wrap.v2.v3 .st-tog .st-year .st-dd-list{min-width:140px;left:auto;right:0}
}
/* u322 (เจ้าของเคาะแบบ 2): แบบใหม่ 2 บนแท็บเล็ต/มือถือ — ปุ่มกรองกล่องเดียว ขึ้นบรรทัดใหม่ได้ (ไม่มีเส้นคั่น) · ปีผลิตเป็นปุ่ม · การ์ดมือถือไม่มีตัวหนา */
@media (max-width:1279px){

  .st-wrap.v2.v3 .st-main > .st-tog{gap:0;background:#fff;border:1px solid #e3e7ee;border-radius:12px;padding:4px;box-shadow:0 1px 3px rgba(16,24,40,.06);width:max-content;max-width:100%}
  .st-wrap.v2.v3 .st-tog .st-year{margin-left:10px;padding-right:4px}
  .st-wrap.v2.v3 .st-tog .st-ck,.st-wrap.v2.v3 .st-tog .st-sw{height:34px;padding:0 14px;border:0;border-radius:9px;background:none;box-shadow:none;font-size:13.5px;font-weight:500;color:#4b5563;gap:8px;position:relative}
  .st-wrap.v2.v3 .st-tog > label + label::before{content:"";position:absolute;left:0;top:9px;bottom:9px;width:1px;background:#e8ebf0}
  .st-wrap.v2.v3 .st-tog .st-ck input{position:absolute;opacity:0;width:0;height:0}
  .st-wrap.v2.v3 .st-tog .st-ck::after{content:"";order:-1;width:16px;height:16px;border-radius:99px;border:1.5px solid #c3cad5;box-sizing:border-box;flex:none}
  .st-wrap.v2.v3 .st-tog .st-ck:has(input:checked){background:linear-gradient(135deg,#0e3fa3,#134fc4 55%,#2a6be0);color:#fff}
  .st-wrap.v2.v3 .st-tog .st-ck:has(input:checked)::after{border-color:#fff;background:#fff url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23134fc4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat}
  .st-wrap.v2.v3 .st-tog .st-ck:has(input:checked) + label::before,.st-wrap.v2.v3 .st-tog .st-ck:has(input:checked)::before{display:none}
  .st-wrap.v2.v3 .st-tog .st-ck:has(input:focus-visible){outline:2px solid #134fc4;outline-offset:1px}
  .st-wrap.v2.v3 .st-tog .st-sw i{width:30px;height:18px;background:#dfe3ea}
  .st-wrap.v2.v3 .st-tog .st-sw i::after{width:14px;height:14px}
  .st-wrap.v2.v3 .st-tog .st-sw.on i{background:#134fc4}
  .st-wrap.v2.v3 .st-tog .st-sw.on i::after{transform:translateX(12px)}

  .st-wrap.v2.v3 .st-tog .st-year{margin-left:0;padding:0 0 0 6px;position:relative;gap:0;height:34px;display:flex;align-items:center}
  .st-wrap.v2.v3 .st-tog .st-year::before{content:"";position:absolute;left:0;top:9px;bottom:9px;width:1px;background:#e8ebf0}
  .st-wrap.v2.v3 .st-tog .st-year > span{position:absolute;left:20px;z-index:1;font-size:13.5px;font-weight:500;color:#4b5563;pointer-events:none}
  .st-wrap.v2.v3 .st-tog .st-year .st-dd,.st-wrap.v2.v3 .st-tog .st-year .st-sel{width:auto}
  .st-wrap.v2.v3 .st-tog .st-year .st-dd > .st-sel{height:34px;border:0;box-shadow:none;background-color:transparent;border-radius:9px;font-size:13.5px;font-weight:600;color:#181c22;padding:0 34px 0 66px;background-position:right 8px center;background-size:18px 18px}
  .st-wrap.v2.v3 .st-tog .st-year .st-dd > .st-sel:hover{background-color:#f3f5f8}
  .st-wrap.v2.v3 .st-tog .st-year.on > span{color:#fff}
  .st-wrap.v2.v3 .st-tog .st-year.on .st-dd > .st-sel{color:#fff;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat right 8px center/18px 18px,linear-gradient(135deg,#0e3fa3,#134fc4 55%,#2a6be0)}
  .st-wrap.v2.v3 .st-tog .st-year .st-dd-list{min-width:140px;left:auto;right:0}
  .st-wrap.v2.v3 .st-main > .st-tog{display:flex !important;flex-wrap:wrap;row-gap:2px;width:100%;box-sizing:border-box;grid-template-columns:none}
  .st-wrap.v2.v3 .st-main > .st-tog::-webkit-scrollbar{display:none}
  .st-wrap.v2.v3 .st-tog .st-ck,.st-wrap.v2.v3 .st-tog .st-sw{flex:none;white-space:nowrap}
  .st-wrap.v2.v3 .st-tog .st-year{flex:none;grid-column:auto}
  .st-wrap.v2.v3 .st-tog > label + label::before,.st-wrap.v2.v3 .st-tog .st-year::before{display:none}
  .st-wrap.v2.v3 .st-tog .st-year .st-dd-list{position:fixed;right:16px;left:auto;top:auto}
}
@media (max-width:767px){
  .st-wrap.v2.v3 .mc-nm,.st-wrap.v2.v3 .mc-pr .st-price,.st-wrap.v2.v3 .mc-tot b,.st-wrap.v2.v3 .mc-h .mc-sz{font-weight:400}
}
/* u322 (เจ้าของ): แบบใหม่ 2 บนแท็บเล็ต — ตารางขนาดเท่าจอคอม (ตัว 14 · แถว 81 · ระยะในช่อง 16 · SP ช่องละ 60) ไม่บีบคอลัมน์ ที่ไม่พอให้สไลด์ในตาราง */
@media (min-width:768px) and (max-width:1279px){
  .st-wrap.v2.v3 .nt tbody tr{height:81px}
  .st-wrap.v2.v3 .nt th,.st-wrap.v2.v3 .nt td{padding-left:16px;padding-right:16px;padding-top:8px;padding-bottom:8px}
  .st-wrap.v2.v3 .nt td{font-size:14px}
  .st-wrap.v2.v3 .nt th{font-size:14px;height:49px}
  .st-wrap.v2.v3 .nt-m{flex-direction:row;align-items:center;gap:22px}
  .st-wrap.v2.v3 .nt-lgb{width:104px;height:42px;border-radius:10px}
  .st-wrap.v2.v3 .nt-tx b{font-size:14px;line-height:20px}
  .st-wrap.v2.v3 .nt-tx i{font-size:12px;line-height:17px}
  .st-wrap.v2.v3 .nt td.nt-sz,.st-wrap.v2.v3 .nt-wk,.st-wrap.v2.v3 .nt .nt-pr,.st-wrap.v2.v3 .nt .st-price{font-size:14px}
  .st-wrap.v2.v3 .nt .st-full{font-size:11px}
  .st-wrap.v2.v3 .nt .nt-tv{min-width:34px;height:28px;font-size:14px;border-radius:7px}
  .st-wrap.v2.v3 .nt th.nt-sp,.st-wrap.v2.v3 .nt td.nt-sp{min-width:60px;padding-left:4px;padding-right:4px;font-size:14px}
  .st-wrap.v2.v3 .nt th.nt-sp{font-size:13px}
  .st-wrap.v2.v3 .nt td.nt-tot,.st-wrap.v2.v3 .nt th.nt-tot{min-width:90px}
  .st-wrap.v2.v3 .nt th button svg{width:16px;height:16px}
  .st-wrap.v2.v3 .nt-cp{width:30px;height:30px}
}

/* ===== u323 (เจ้าของเคาะ 10 ต.ค.) แบบใหม่ 2 ===== */
/* คอม + แท็บเล็ต: ราคาพิเศษ · ราคาที่เป็นสีแดง · TOTAL เป็นตัวหนา (ที่เหลือตัวปกติ) */
@media (min-width:768px){
  .st-wrap.v2.v3 .nt .nt-pr{font-weight:700}
  .st-wrap.v2.v3 .nt tr.nt-sale .st-price{font-weight:700}
  .st-wrap.v2.v3 .nt .nt-tv{font-weight:700}
}
/* มือถือ: ราคาพิเศษต่อท้ายสัปดาห์ผลิต เป็นตัวหนังสือดำ ไม่มีกรอบ ไม่หนา · ราคาตัวหนา · ปุ่มเรียง แบรนด์/ราคา/Total เป็นแถบเดียว */
@media (max-width:767px){
  .st-wrap.v2.v3 .mc .mc-wkrow{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-top:2px}
  .st-wrap.v2.v3 .mc .mc-wkrow .nt-wk{display:inline;border:0;padding:0;margin:0;font-size:12.5px;font-weight:400;line-height:18px}
  .st-wrap.v2.v3 .mc .mc-wkrow .nt-pr{background:none;border:0;padding:0;margin:0;color:#181c22;font-size:12.5px;font-weight:400;line-height:18px}
  .st-wrap.v2.v3 .mc-pr .st-price{font-weight:700}
  .st-wrap.v2.v3 .st-sortbar{display:flex;justify-content:stretch;gap:0;background:#fff;border:1px solid #e3e7ee;border-radius:12px;padding:4px;box-shadow:0 1px 3px rgba(16,24,40,.06)}
  .st-wrap.v2.v3 .st-sortb{flex:1;height:36px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:9px;font-size:14px;font-weight:500;color:#4b5563;position:relative}
  .st-wrap.v2.v3 .st-sortb + .st-sortb::before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:1px;background:#e8ebf0}
  .st-wrap.v2.v3 .st-sortb svg{width:16px;height:16px}
  .st-wrap.v2.v3 .st-sortb.on{background:linear-gradient(135deg,#0e3fa3,#134fc4 55%,#2a6be0);color:#fff}
  .st-wrap.v2.v3 .st-sortb.on::before,.st-wrap.v2.v3 .st-sortb.on + .st-sortb::before{display:none}
}
/* u323 (เจ้าของ): แบบใหม่ 2 มือถือ — ราคามุมขวาบน (ราคาเต็มขีดฆ่าซ้ายบรรทัดเดียวกัน) · Size เล็ก สีเทา ข้างชื่อรุ่น */
@media (max-width:767px){
  .st-wrap.v2.v3 .mc-h{align-items:flex-start}
  .st-wrap.v2.v3 .mc-h .mc-pr{margin-left:auto}
  .st-wrap.v2.v3 .mc-h .mc-pr .st-price.sale{display:inline-flex;flex-direction:row;align-items:baseline;gap:6px}
  .st-wrap.v2.v3 .mc-h .mc-pr .st-full{position:static;order:-1;font-size:12px}
  .st-wrap.v2.v3 .mc-m .mc-sz2{font-size:12.5px;font-weight:400;color:#8a929e;white-space:nowrap;align-self:start;line-height:20px;margin-top:2px}
}

/* ===== u324 (เจ้าของ 10 ต.ค.): เวอร์ชั่น 4 = แบบเดิม + โลโก้กรอบสีแบรนด์ (ขนาดช่องโลโก้เท่าแบบเดิม) ===== */
.lg4{width:104px;height:48px;flex:none;display:grid;place-items:center;background:#fff;border:1px solid #e6e9ee;border-radius:10px;padding:0 8px;overflow:hidden;box-sizing:border-box}
.lg4 img{max-width:100%;width:auto;object-fit:contain;display:block}
.lg4 .nt-lgt{font-size:12px;font-weight:700;color:#3c434d;text-align:center;line-height:1.2}
.lg4:has(.lg-tile){padding:0;border:0}
.lg4:has(.lg-wide){padding:0 4px}
.st-card-lg .lg4{width:112px;height:40px}

/* ===== u325 (เจ้าของ 10 ต.ค.): เวอร์ชั่น 4 — ตัวกรองแบบเวอร์ชั่น 3 (แถบเดียว · วงกลมติ๊ก · ปีผลิตเป็นปุ่ม) · ปุ่มค้นหาไล่เฉด · ยางหลังพับ · ไอคอนแป้น · หัวตารางตัวพิมพ์ใหญ่ · โลโก้กรอบเตี้ยลง ยาวขึ้น ===== */
@media (min-width:1280px){
  .st-wrap.v4 .st-main > .st-tog{gap:0;background:#fff;border:1px solid #e3e7ee;border-radius:12px;padding:4px;box-shadow:0 1px 3px rgba(16,24,40,.06);width:max-content;max-width:100%}
  .st-wrap.v4 .st-tog .st-year{margin-left:10px;padding-right:4px}
  .st-wrap.v4 .st-tog .st-ck,.st-wrap.v4 .st-tog .st-sw{height:34px;padding:0 14px;border:0;border-radius:9px;background:none;box-shadow:none;font-size:13.5px;font-weight:500;color:#4b5563;gap:8px;position:relative}
  .st-wrap.v4 .st-tog > label + label::before{content:"";position:absolute;left:0;top:9px;bottom:9px;width:1px;background:#e8ebf0}
  .st-wrap.v4 .st-tog .st-ck input{position:absolute;opacity:0;width:0;height:0}
  .st-wrap.v4 .st-tog .st-ck::after{content:"";order:-1;width:16px;height:16px;border-radius:99px;border:1.5px solid #c3cad5;box-sizing:border-box;flex:none}
  .st-wrap.v4 .st-tog .st-ck:has(input:checked){background:linear-gradient(135deg,#0e3fa3,#134fc4 55%,#2a6be0);color:#fff}
  .st-wrap.v4 .st-tog .st-ck:has(input:checked)::after{border-color:#fff;background:#fff url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23134fc4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat}
  .st-wrap.v4 .st-tog .st-ck:has(input:checked) + label::before,.st-wrap.v4 .st-tog .st-ck:has(input:checked)::before{display:none}
  .st-wrap.v4 .st-tog .st-ck:has(input:focus-visible){outline:2px solid #134fc4;outline-offset:1px}
  .st-wrap.v4 .st-tog .st-sw i{width:30px;height:18px;background:#dfe3ea}
  .st-wrap.v4 .st-tog .st-sw i::after{width:14px;height:14px}
  .st-wrap.v4 .st-tog .st-sw.on i{background:#134fc4}
  .st-wrap.v4 .st-tog .st-sw.on i::after{transform:translateX(12px)}
  .st-wrap.v4 .st-tog .st-year{margin-left:0;padding:0 0 0 6px;position:relative;gap:0;height:34px;display:flex;align-items:center}
  .st-wrap.v4 .st-tog .st-year::before{content:"";position:absolute;left:0;top:9px;bottom:9px;width:1px;background:#e8ebf0}
  .st-wrap.v4 .st-tog .st-year > span{position:absolute;left:20px;z-index:1;font-size:13.5px;font-weight:500;color:#4b5563;pointer-events:none}
  .st-wrap.v4 .st-tog .st-year .st-dd,.st-wrap.v4 .st-tog .st-year .st-sel{width:auto}
  .st-wrap.v4 .st-tog .st-year .st-dd > .st-sel{height:34px;border:0;box-shadow:none;background-color:transparent;border-radius:9px;font-size:13.5px;font-weight:600;color:#181c22;padding:0 34px 0 66px;background-position:right 8px center;background-size:18px 18px}
  .st-wrap.v4 .st-tog .st-year .st-dd > .st-sel:hover{background-color:#f3f5f8}
  .st-wrap.v4 .st-tog .st-year.on > span{color:#fff}
  .st-wrap.v4 .st-tog .st-year.on .st-dd > .st-sel{color:#fff;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat right 8px center/18px 18px,linear-gradient(135deg,#0e3fa3,#134fc4 55%,#2a6be0)}
  .st-wrap.v4 .st-tog .st-year .st-dd-list{min-width:140px;left:auto;right:0}
}
@media (max-width:1279px){
  .st-wrap.v4 .st-main > .st-tog{gap:0;background:#fff;border:1px solid #e3e7ee;border-radius:12px;padding:4px;box-shadow:0 1px 3px rgba(16,24,40,.06);width:max-content;max-width:100%}
  .st-wrap.v4 .st-tog .st-year{margin-left:10px;padding-right:4px}
  .st-wrap.v4 .st-tog .st-ck,.st-wrap.v4 .st-tog .st-sw{height:34px;padding:0 14px;border:0;border-radius:9px;background:none;box-shadow:none;font-size:13.5px;font-weight:500;color:#4b5563;gap:8px;position:relative}
  .st-wrap.v4 .st-tog > label + label::before{content:"";position:absolute;left:0;top:9px;bottom:9px;width:1px;background:#e8ebf0}
  .st-wrap.v4 .st-tog .st-ck input{position:absolute;opacity:0;width:0;height:0}
  .st-wrap.v4 .st-tog .st-ck::after{content:"";order:-1;width:16px;height:16px;border-radius:99px;border:1.5px solid #c3cad5;box-sizing:border-box;flex:none}
  .st-wrap.v4 .st-tog .st-ck:has(input:checked){background:linear-gradient(135deg,#0e3fa3,#134fc4 55%,#2a6be0);color:#fff}
  .st-wrap.v4 .st-tog .st-ck:has(input:checked)::after{border-color:#fff;background:#fff url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23134fc4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat}
  .st-wrap.v4 .st-tog .st-ck:has(input:checked) + label::before,.st-wrap.v4 .st-tog .st-ck:has(input:checked)::before{display:none}
  .st-wrap.v4 .st-tog .st-ck:has(input:focus-visible){outline:2px solid #134fc4;outline-offset:1px}
  .st-wrap.v4 .st-tog .st-sw i{width:30px;height:18px;background:#dfe3ea}
  .st-wrap.v4 .st-tog .st-sw i::after{width:14px;height:14px}
  .st-wrap.v4 .st-tog .st-sw.on i{background:#134fc4}
  .st-wrap.v4 .st-tog .st-sw.on i::after{transform:translateX(12px)}
  .st-wrap.v4 .st-tog .st-year{margin-left:0;padding:0 0 0 6px;position:relative;gap:0;height:34px;display:flex;align-items:center}
  .st-wrap.v4 .st-tog .st-year::before{content:"";position:absolute;left:0;top:9px;bottom:9px;width:1px;background:#e8ebf0}
  .st-wrap.v4 .st-tog .st-year > span{position:absolute;left:20px;z-index:1;font-size:13.5px;font-weight:500;color:#4b5563;pointer-events:none}
  .st-wrap.v4 .st-tog .st-year .st-dd,.st-wrap.v4 .st-tog .st-year .st-sel{width:auto}
  .st-wrap.v4 .st-tog .st-year .st-dd > .st-sel{height:34px;border:0;box-shadow:none;background-color:transparent;border-radius:9px;font-size:13.5px;font-weight:600;color:#181c22;padding:0 34px 0 66px;background-position:right 8px center;background-size:18px 18px}
  .st-wrap.v4 .st-tog .st-year .st-dd > .st-sel:hover{background-color:#f3f5f8}
  .st-wrap.v4 .st-tog .st-year.on > span{color:#fff}
  .st-wrap.v4 .st-tog .st-year.on .st-dd > .st-sel{color:#fff;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat right 8px center/18px 18px,linear-gradient(135deg,#0e3fa3,#134fc4 55%,#2a6be0)}
  .st-wrap.v4 .st-tog .st-year .st-dd-list{min-width:140px;left:auto;right:0}
  .st-wrap.v4 .st-main > .st-tog{display:flex !important;flex-wrap:wrap;row-gap:2px;width:100%;box-sizing:border-box;grid-template-columns:none}
  .st-wrap.v4 .st-main > .st-tog::-webkit-scrollbar{display:none}
  .st-wrap.v4 .st-tog .st-ck,.st-wrap.v4 .st-tog .st-sw{flex:none;white-space:nowrap}
  .st-wrap.v4 .st-tog .st-year{flex:none;grid-column:auto}
  .st-wrap.v4 .st-tog > label + label::before,.st-wrap.v4 .st-tog .st-year::before{display:none}
  .st-wrap.v4 .st-tog .st-year .st-dd-list{position:fixed;right:16px;left:auto;top:auto}
}
.st-wrap.v4 .st-go{background:linear-gradient(135deg,#0e3fa3 0%,#134fc4 55%,#2a6be0 100%);font-weight:700}
.st-wrap.v4 .st-rq-open{display:inline-flex;align-items:center;margin-top:12px;font-size:13.5px;font-weight:600;color:#134fc4;background:none;padding:0;cursor:pointer}
.st-wrap.v4 .st-rq-open:hover{text-decoration:underline}
.st-wrap.v4 .st-rq-x{display:inline;float:right;font-size:12.5px;font-weight:500;color:#8a929e;background:none;padding:0;cursor:pointer}
.st-wrap.v4 .st-rq-x:hover{color:#dc2626}
.st-wrap.v4 .st-pin{color:#134fc4;border-radius:8px}
.st-wrap.v4 .st-pin svg{width:22px;height:22px}
.st-wrap.v4 .st-pin.on{background:#eef4ff;box-shadow:inset 0 0 0 1px #134fc4}
/* หัวตารางแบบเวอร์ชั่น 3 (ฟอนต์/ขนาด/สีตรงกัน): ตัวเทา 14px · TOTAL ตัวเข้ม · SP จาง */
.st-wrap.v4 .st-t thead th{font-size:14px;color:#667080;font-weight:600}
.st-wrap.v4 .st-t thead th button{color:inherit;font-size:inherit;font-weight:inherit}
.st-wrap.v4 .st-t thead th.v4-tot{color:#181c22;font-weight:700}
.st-wrap.v4 .st-t thead th.c:not(.v4-tot){color:#9aa1ab;font-size:13px}
.st-wrap.v4 .lg4{width:132px;height:40px}
/* u326 (เจ้าของเลือกแบบ ข): โลโก้ตารางเวอร์ชั่น 4 เล็กลง ไม่เด่นเกิน — 112×30 เท่าโลโก้บนมือถือ */
.st-wrap.v4 .st-t .lg4{width:112px;height:30px;border-radius:7px}
/* u326 (เจ้าของ): กรอบพื้นขาวขอบเข้มขึ้น — เดิมจางจนกลืนกับพื้น ดูเหมือนกรอบเล็กกว่ายี่ห้อพื้นสี */
.st-wrap.v4 .st-t .lg4:not(:has(.lg-tile)){border-color:#cfd6df}
/* u325 (เจ้าของ): การ์ดมือถือ โลโก้เท่าขนาดโลโก้แบบเดิม (ตัวโลโก้เดิมกว้าง ~85 ในช่อง 112×40) */
.st-wrap.v4 .st-card-lg .lg4{width:96px;height:30px;border-radius:7px;margin:5px 8px 5px 0}
.st-wrap.v4 .st-card-lg{justify-content:flex-start}
/* u325 (เจ้าของ): โลโก้กรอบสีเต็มกรอบพอดี อยู่กลาง (เดิมรูปสูงเกินกรอบ ตัวโลโก้เลยดูเลื่อนลง) */
.lg4{position:relative}
.lg4 .lg-tile{position:absolute;inset:0;width:100%;height:100%!important;max-width:none;object-fit:cover;object-position:center}
.lg4 .lg-wide{width:100%;height:auto!important}
/* u325 (เจ้าของ): เวอร์ชั่น 4 ปุ่มคัดลอกแบบเวอร์ชั่น 3 — กรอบขาวมน ไอคอนเส้นเทา (ตำแหน่งเดิมหน้าโลโก้) */
.st-wrap.v4 .v4-cp{width:32px;height:32px;border-radius:9px;display:inline-grid;place-items:center;color:#667080;border:1px solid #e3e7ec;background:#fff;flex:none;padding:0}
.st-wrap.v4 .v4-cp:hover{color:#134fc4;border-color:#134fc4}
.st-wrap.v4 .v4-cp svg{width:18px;height:18px}

/* ===== u326 (เจ้าของ 11 ต.ค.): เวอร์ชั่น 4 — แถวบน "จำนวนยางทั้งหมด | Copy All · Export · Import" แล้วค่อยแถบตัวกรอง (แบบเวอร์ชั่น 2–3) · ปุ่มแบบเวอร์ชั่น 2 (ขาว ขอบเทา ไอคอนสี) ===== */
@media (min-width:768px){ /* คอม+แท็บเล็ต (มือถือเวอร์ชั่น 4 ใช้หน้าตาเวอร์ชั่น 3) */
  .st-wrap.v4 .st-main{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px 16px;align-content:start}
  .st-wrap.v4 .st-main > *{grid-column:1/-1}
  .st-wrap.v4 .st-main > .st-count{grid-row:1;grid-column:1;align-self:center;margin:0}
  .st-wrap.v4 .st-main > .st-btns{grid-row:1;grid-column:2;margin:0;display:flex;gap:8px}
  .st-wrap.v4 .st-main > .st-tog{grid-row:2}
}
.st-wrap.v4 .st-count b{background:#eef3fc;color:#134fc4;font-weight:700}
.st-wrap.v4 .st-b{background:#fff;color:#3c434d;border:1px solid #dde2e8;border-radius:10px;font-weight:600;height:36px;padding:0 14px}
.st-wrap.v4 .st-b.copy svg{color:#16a34a}.st-wrap.v4 .st-b.exp svg{color:#ea7a12}.st-wrap.v4 .st-b.imp svg{color:#134fc4}
.st-wrap.v4 .st-b:hover{border-color:#134fc4;color:#134fc4}
/* u326 (เจ้าของเคาะแบบ C + ย้าย CC): ตัวกรองเวอร์ชั่น 4 = ปุ่มมนแยกกัน ไม่มีกล่องใหญ่/เส้นคั่น · Show only promotion | สต็อก ≥ 4·2·1 | ปีผลิต ........ CC (ชิดขวา) */
.st-wrap.v4 .st-main > .st-tog.v4f{display:flex;flex-wrap:wrap;align-items:center;gap:8px;background:none;border:0;box-shadow:none;padding:0;width:auto;max-width:none}
.st-wrap.v4 .st-tog.v4f > label + label::before,.st-wrap.v4 .st-tog.v4f .st-year::before,.st-wrap.v4 .st-tog.v4f .st-ck::before{display:none}
.st-wrap.v4 .st-tog.v4f > .st-ck,.st-wrap.v4 .st-tog.v4f > .st-sw{height:36px;border:1px solid #e3e7ee;border-radius:99px;background:#fff;padding:0 16px}
.st-wrap.v4 .st-tog.v4f > .st-ck:has(input:checked){border-color:transparent;background:linear-gradient(135deg,#0e3fa3,#134fc4 55%,#2a6be0)}
.st-wrap.v4 .st-tog.v4f > .st-sw{margin-left:auto}
.st-wrap.v4 .st-tog.v4f > .st-sw:has(input:focus-visible){outline:2px solid #134fc4;outline-offset:1px}
.st-wrap.v4 .st-tog.v4f .st-year{margin:0;padding:0;height:36px;border:1px solid #e3e7ee;border-radius:99px;background:#fff}
.st-wrap.v4 .st-tog.v4f .st-year.on{border-color:transparent}
.st-wrap.v4 .st-tog.v4f .st-year .st-dd > .st-sel{border-radius:99px}
.st-mins{display:inline-flex;align-items:center;gap:2px;height:36px;padding:0 4px 0 16px;background:#fff;border:1px solid #e3e7ee;border-radius:99px;box-sizing:border-box;font-size:13.5px;font-weight:500;color:#4b5563}
.st-mins > span{margin-right:6px;white-space:nowrap}
.st-mins button{min-width:40px;height:28px;padding:0 12px;border:0;border-radius:99px;background:none;font:inherit;font-weight:600;color:#3c434d;cursor:pointer}
.st-mins button:hover{background:#f3f5f8}
.st-mins button.on{background:linear-gradient(135deg,#0e3fa3,#134fc4 55%,#2a6be0);color:#fff}
.st-mins button:focus-visible{outline:2px solid #134fc4;outline-offset:1px}

/* ===== u327 (เจ้าของ 11 ต.ค.): เหลือเวอร์ชั่น 4 อย่างเดียว + มุมมองการ์ด (หน้าตาแบบการ์ดสินค้าเว็บลูกค้า /products) ===== */
.st-wrap.v4 .st-vt{display:inline-flex;border:1px solid #dde2e8;border-radius:10px;background:#fff;padding:3px;gap:2px;height:36px;box-sizing:border-box;margin-right:4px}
.st-wrap.v4 .st-vt button{width:34px;height:28px;border-radius:7px;display:grid;place-items:center;color:#8a929e;background:none;border:0;padding:0;cursor:pointer}
.st-wrap.v4 .st-vt button svg{width:18px;height:18px}
.st-wrap.v4 .st-vt button:hover{color:#134fc4}
.st-wrap.v4 .st-vt button.on{background:#eef3fc;color:#134fc4;box-shadow:inset 0 0 0 1px #134fc4}
.st-wrap.v4 .st-vt button:focus-visible{outline:2px solid #134fc4;outline-offset:1px}
.st-wrap.v4 .st-tw[hidden]{display:none!important}
.sc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}
.sc-grid > .st-empty{grid-column:1/-1}
.sc{background:#fff;border:1px solid #ececee;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;min-width:0}
.sc.pair{border-color:#bcd0f5}
.sc-im{height:190px;background:radial-gradient(circle at 50% 42%,#fff 0%,#f0f2f5 85%);border-bottom:1px solid #f0f2f5;position:relative}
.sc-im > img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:7%;box-sizing:border-box}
.sc-pr{z-index:2;position:absolute;top:12px;left:12px;max-width:calc(100% - 70px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11.5px;font-weight:700;color:#134fc4;background:#eef3fc;border:1px solid #d5e2fa;padding:3px 10px;border-radius:99px}
.sc-im .sc-cp{z-index:2;position:absolute;top:10px;right:10px}
.sc-wk{z-index:2;position:absolute;bottom:12px;right:12px;font-size:11.5px;font-weight:600;color:#4b5563;background:#f3f5f8;border:1px solid #e3e7ee;padding:2px 10px;border-radius:99px}
.sc-b{padding:14px 16px;display:flex;flex-direction:column;flex:1}
.sc-br{height:17px;display:flex;align-items:center;gap:8px;font-size:11px;font-weight:700;color:#667080}
.sc-br img{max-width:112px;width:auto;object-fit:contain;object-position:left center;display:block}
.sc-b h3{font-size:16px;font-weight:600;margin:4px 0 2px;color:#181c22;line-height:1.35}
.sc-sz{font-size:14px;color:#3c434d;display:flex;align-items:center;gap:6px}.sc-sz b{font-weight:700}
.sc-nt{font-size:12px;color:#8a929e;line-height:1.45;margin-top:3px;min-height:35px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sc-p{position:relative;display:flex;align-items:baseline;gap:8px;margin:8px 0 12px;flex-wrap:wrap}
.sc-p .st-pbtn{display:inline-flex;align-items:baseline;gap:7px;background:none;border:0;padding:0;cursor:pointer;white-space:nowrap}
.sc-p b{font-size:18.5px;font-weight:700;color:#181c22}.sc-p b.red{color:#dc2626}
.sc-p s{font-size:12.5px;color:#9aa1ab}.sc-p small{font-size:12px;color:#8a929e}
.sc-cc{font-size:12px;color:#8a929e;margin-left:auto}
.sc-st{margin-top:auto;padding-top:10px;border-top:1px solid #f0f2f5}
.sc-st .tot{display:flex;align-items:baseline;justify-content:space-between;font-size:12.5px;font-weight:600;color:#667080}
.sc-st .tot b{font-size:16px;font-weight:700;color:#134fc4}
.sc-st .sps{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;margin-top:7px}
.sc-st .sps span{display:flex;flex-direction:column;align-items:center;padding:4px 0 3px;border-radius:8px;background:#f6f7f9;font-size:10.5px;color:#a0a7b1;line-height:1.25}
.sc-st .sps b{font-size:13px;font-weight:600;color:#b3b9c2}
.sc-st .sps span.on{background:#eef3fc;color:#4b5563}.sc-st .sps span.on b{color:#134fc4}

/* ===== u330 (เจ้าของเคาะ 12 ต.ค.): ตะกร้า + สั่งซื้อหน้าร้าน (เว็บพนักงาน) =====
   - ปุ่มแรกของแถว/การ์ดมือถือ = ใส่ตะกร้า (ดีไซน์เดียวกับปุ่มคัดลอกเดิม) · ชี้แถวไหนปุ่มแถวนั้นเป็นน้ำเงิน · กดโลโก้ = คัดลอก
   - การ์ด (คอม): ปุ่ม "ใส่ตะกร้า" โผล่ใต้การ์ดตอนชี้ ไม่มีเงา (ซ้อนทับแถบสต็อกชั่วคราว)
   - ไอคอนตะกร้ามุมขวาบน + ตัวเลขจำนวนรุ่น · หน้าต่างสั่งซื้อ (.sk) คอมเปิดด้านขวา มือถือเลื่อนขึ้นจากล่าง */
.st-lgbtn{background:none;border:0;padding:0;cursor:pointer;display:inline-flex;align-items:center;border-radius:8px;color:inherit;font:inherit}
.st-lgbtn:hover{opacity:.85}
/* การ์ดมือถือ: โลโก้เป็นปุ่มคัดลอก แต่หน้าตากรอบขาวเหมือนเดิม */
.mc-lg.st-lgbtn{display:grid;background:#fff;border:1px solid #e6e9ee;padding:0 5px}
.mc-lg.st-lgbtn:has(.lg-tile){padding:0;border:0}
.mc-lg.st-lgbtn:has(.lg-wide){padding:0 4px}
.st-lgbtn:focus-visible{outline:2px solid #134fc4;outline-offset:2px}
.st-wrap.v4 .st-cb{color:#6b7686}
/* u346 (เจ้าของ): ชี้แถวแล้วตะกร้าไม่เปลี่ยนสี — เปลี่ยนเฉพาะตอนชี้ที่ปุ่มตะกร้าเอง */
@media (hover:hover){.st-wrap.v4 .st-cb:hover{background:linear-gradient(135deg,#0e3fa3,#134fc4 55%,#2a6be0);color:#fff;border-color:transparent}}
.st-wrap.v4 .st-cb:active{background:#134fc4;color:#fff;border-color:transparent}
.st-wrap .mc-cp.st-cb{color:#667080}.st-wrap .mc-cp.st-cb:active{background:#134fc4;color:#fff;border-color:transparent}
.mc-cp.st-cb svg{width:16px;height:16px}
.st-cartb{position:relative;width:40px;height:40px;border-radius:12px;border:1px solid #dde2e8;background:#fff;color:#3c434d;display:grid;place-items:center;cursor:pointer;padding:0}
.st-cartb svg{width:20px;height:20px}
@media (hover:hover){.st-cartb:hover{border-color:#134fc4;color:#134fc4}}
.st-toast{z-index:70} /* u330: ให้ลอยเหนือหน้าต่างตะกร้า */
.st-cartb.on{background:linear-gradient(135deg,#0e3fa3,#134fc4 55%,#2a6be0);color:#fff;border-color:transparent}
.st-cartb b{position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;border-radius:99px;background:#dc2626;color:#fff;font-size:11.5px;font-weight:700;display:grid;place-items:center;padding:0 5px;border:2px solid #fff;line-height:1}
.st-nav.v4 .st-nav-r{display:flex;align-items:center}
.sc{position:relative;transition:transform .15s,box-shadow .15s,border-color .15s}
.sc-add{position:absolute;left:12px;right:12px;bottom:12px;height:44px;border-radius:12px;border:0;background:linear-gradient(135deg,#0e3fa3,#134fc4 55%,#2a6be0);color:#fff;font-size:14.5px;font-weight:600;font-family:inherit;display:none;align-items:center;justify-content:center;gap:8px;cursor:pointer}
.sc-add svg{width:18px;height:18px}
@media (hover:hover){
  .sc:hover{transform:translateY(-3px);box-shadow:0 18px 40px -18px rgba(18,40,80,.22);border-color:#c9d6f2}
  .sc:hover .sc-add{display:flex}
  .sc:hover .sc-st{visibility:hidden}
}
@media (hover:none){ /* แท็บเล็ต: ไม่มีเมาส์ → ปุ่มเห็นตลอด (เล็กลง อยู่ใต้แถบสต็อก) */
  .sc-add{display:flex;position:static;height:38px;margin:10px 16px 14px;font-size:14px}
}
/* หน้าต่างตะกร้า */
.sk-ov{position:fixed;inset:0;background:rgba(10,20,40,.38);z-index:60;font-family:'Prompt',system-ui,sans-serif}
.sk{position:absolute;top:0;right:0;bottom:0;width:470px;max-width:100%;background:#fff;display:flex;flex-direction:column;box-shadow:-20px 0 60px -20px rgba(10,20,40,.35);color:#181c22}
.sk *{box-sizing:border-box}
.sk-h{padding:16px 22px;border-bottom:1px solid #eef0f3;display:flex;align-items:center;justify-content:space-between;flex:none}
.sk-h b{font-size:18px;font-weight:600}.sk-h small{display:block;font-size:13px;color:#6b7686;margin-top:1px}
.sk-x{width:34px;height:34px;border-radius:10px;border:1px solid #e3e7ee;background:#fff;display:grid;place-items:center;color:#6b7686;font-size:15px;cursor:pointer}
.sk-b{flex:1;overflow:auto;padding:16px 22px;display:flex;flex-direction:column;gap:14px}
.sk-sec{border:1px solid #e9edf2;border-radius:16px;padding:14px 16px}
.sk-sec h4{margin:0 0 12px;font-size:14px;font-weight:600;color:#3c434d;display:flex;align-items:center;gap:8px}
.sk-sec h4 i{font-style:normal;width:22px;height:22px;border-radius:50%;background:#eef3fc;color:#134fc4;display:grid;place-items:center;font-size:12px;font-weight:700;flex:none}
.sk-cl{margin-left:auto;font-size:12.5px;color:#9aa1ab;font-weight:500}
.sk-empty{font-size:13.5px;color:#8a929e;padding:6px 0}
.sk-it{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-top:1px solid #f0f2f5}
.sk-it:first-of-type{border-top:0;padding-top:0}
.sk-t{width:54px;height:54px;object-fit:contain;background:radial-gradient(circle,#fff,#eef1f5);border-radius:12px;padding:4px;flex:none}
.sk-it-m{flex:1;min-width:0}
.sk-nm{font-size:15px;font-weight:600;line-height:1.3}
.sk-sb{font-size:12.5px;color:#6b7686;margin-top:2px}.sk-sb b{color:#134fc4;font-weight:600}
.sk-ctl{display:flex;align-items:center;gap:8px;margin-top:8px;flex-wrap:wrap}
.sk-stp{display:inline-flex;align-items:center;border:1px solid #dde2e8;border-radius:10px;overflow:hidden;height:32px}
.sk-stp button{width:32px;height:32px;border:0;background:#f7f8fa;font-size:18px;color:#3c434d;cursor:pointer;padding:0}
.sk-stp b{width:36px;text-align:center;font-size:15px}
.sk-pos{display:inline-flex;gap:4px}
.sk-pos button{height:30px;padding:0 11px;border-radius:8px;border:1px solid #dde2e8;background:#fff;font-size:12.5px;color:#4b5563;cursor:pointer;font-family:inherit}
.sk-pos button.on{background:#eef3fc;border-color:#134fc4;color:#134fc4;font-weight:600}
.sk-it{position:relative;padding-right:26px}
.sk-rm{position:absolute;top:12px;right:0;width:22px;height:22px;border-radius:7px;background:none;border:0;font-size:13px;line-height:1;color:#dc2626;cursor:pointer;padding:0;display:grid;place-items:center}
.sk-it:first-of-type .sk-rm{top:0}
@media (hover:hover){.sk-rm:hover{background:#fdecea}}
.sk-pr{text-align:right;flex:none}.sk-pr b{display:block;font-size:15px;font-weight:700;white-space:nowrap}
.sk-q{display:flex;gap:8px}
.sk-q input{flex:1;min-width:0;height:44px;border:1px solid #dde2e8;border-radius:12px;padding:0 14px;font-size:15px;font-family:inherit;outline:none}
.sk-q input:focus{border-color:#134fc4;box-shadow:0 0 0 3px rgba(19,79,196,.08)}
.sk-q button{height:44px;padding:0 18px;border-radius:12px;border:0;background:linear-gradient(135deg,#0e3fa3,#134fc4 55%,#2a6be0);color:#fff;font-size:14px;font-weight:600;font-family:inherit;cursor:pointer}
.sk-q button:disabled{opacity:.6}
.sk-err{margin-top:8px;font-size:13px;color:#dc2626}
.sk-err.big{background:#fdecea;border:1px solid #f6cfcb;border-radius:12px;padding:10px 14px;font-size:14px;margin:0}
.sk-matches{margin-top:8px;display:flex;flex-direction:column;gap:6px}
.sk-matches button{text-align:left;border:1px solid #e3e7ee;border-radius:10px;background:#fff;padding:8px 12px;cursor:pointer;font-family:inherit}
.sk-matches button b{display:block;font-size:14px;font-weight:600}.sk-matches button span{font-size:12.5px;color:#6b7686}
.sk-matches button:hover{border-color:#134fc4}
.sk-cu{margin-top:12px;border-radius:12px;background:#f6f9ff;border:1px solid #dbe6fb;padding:11px 14px;display:flex;align-items:center;gap:12px}
.sk-av{width:38px;height:38px;border-radius:50%;background:#134fc4;color:#fff;display:grid;place-items:center;font-weight:600;flex:none}
.sk-cu-n{font-size:15px;font-weight:600}.sk-cu-p{font-size:12.5px;color:#6b7686}
.sk-cu-pt{margin-left:auto;text-align:right;font-size:12px;color:#6b7686;white-space:nowrap}.sk-cu-pt b{display:block;font-size:16px;color:#134fc4}
.sk-new{margin-top:12px;border-radius:12px;background:#fffbeb;border:1px solid #fde68a;padding:11px 14px}
.sk-new-h{font-size:13px;color:#854d0e;line-height:1.45}
.sk-two{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.sk-in,.sk-two input,.sk-new input{width:100%;height:42px;border:1px solid #dde2e8;border-radius:12px;padding:0 12px;font-size:14px;font-family:inherit;outline:none;background:#fff}
.sk-in:focus,.sk-two input:focus,.sk-new input:focus{border-color:#134fc4}
.sk-ck{display:flex;align-items:center;gap:8px;font-size:13.5px;color:#3c434d;margin-top:10px;cursor:pointer}
.sk-ck input{width:18px;height:18px;accent-color:#134fc4;margin:0}
.sk-lbl{font-size:12.5px;color:#6b7686;margin:12px 0 5px}
.sk-plates{display:flex;gap:6px;flex-wrap:wrap}
.sk-plates button{font-size:13px;border:1px solid #dde2e8;border-radius:99px;padding:5px 12px;color:#4b5563;background:#fff;cursor:pointer;font-family:inherit}
.sk-plates button.on{background:#eef3fc;border-color:#134fc4;color:#134fc4;font-weight:600}
.sk-plates + .sk-in{margin-top:8px}
.sk-sm{display:flex;flex-direction:column;gap:9px;font-size:14px}
.sk-sm > div{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#3c434d}
.sk-sm .sk-ck{margin:0}
.sk-sm .neg{color:#16a34a;font-weight:600}
.sk-add{background:none;border:0;padding:0;color:#134fc4;font-weight:600;font-size:13.5px;cursor:pointer;font-family:inherit}
.sk-off{display:grid!important;grid-template-columns:90px 1fr 34px;gap:6px}
.sk-off input{height:38px;border:1px solid #dde2e8;border-radius:10px;padding:0 10px;font-size:13.5px;font-family:inherit;outline:none;min-width:0}
.sk-off button{height:38px;border-radius:10px;border:1px solid #dde2e8;background:#fff;color:#9aa1ab;cursor:pointer}
.sk-sm .tot{border-top:1px dashed #dde2e8;padding-top:11px;margin-top:2px;font-size:15px;font-weight:600;color:#181c22}
.sk-sm .tot b{font-size:22px;font-weight:700}
.sk-sm .pts{color:#134fc4;font-weight:600;font-size:13.5px}
.sk-f{padding:12px 22px 16px;border-top:1px solid #eef0f3;display:flex;gap:14px;align-items:center;flex:none;background:#fff}
.sk-sum{font-size:12.5px;color:#6b7686;line-height:1.3;white-space:nowrap}.sk-sum b{display:block;font-size:18px;color:#181c22}
.sk-go{flex:1;height:50px;border-radius:14px;border:0;background:linear-gradient(135deg,#0e3fa3,#134fc4 55%,#2a6be0);color:#fff;font-size:16px;font-weight:600;font-family:inherit;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}
.sk-go svg{width:18px;height:18px}
.sk-go:disabled{opacity:.45;cursor:not-allowed}
.sk-hint{padding:0 22px 12px;font-size:12.5px;color:#9aa1ab;text-align:right;flex:none;background:#fff}
.sk-done{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:32px 24px;gap:8px}
.sk-done-ic{width:64px;height:64px;border-radius:50%;background:#eaf6ef;color:#16a34a;display:grid;place-items:center;font-size:30px;font-weight:700;margin-bottom:6px}
.sk-done > b{font-size:20px;font-weight:600}
.sk-code{font-size:14px;color:#3c434d}.sk-code b{color:#134fc4;font-size:16px}
.sk-done p{margin:0;font-size:14px;color:#6b7686}
.sk-done .sk-go{flex:none;width:200px;margin-top:16px}
@media (max-width:767px){
  .sk{top:auto;width:100%;height:94dvh;border-radius:20px 20px 0 0;box-shadow:0 -20px 60px -20px rgba(10,20,40,.35)}
  .sk-h,.sk-b,.sk-f{padding-left:16px;padding-right:16px}
  .sk-two{grid-template-columns:1fr}
}
.sk-notme{margin-top:8px;height:34px;padding:0 12px;border-radius:9px;border:1px solid #d6b85a;background:#fff;color:#854d0e;font-size:12.5px;cursor:pointer;font-family:inherit}

/* ===== u331 (เจ้าของ 12 ต.ค.): แถบบน ป้ายสาขา + ออกจากระบบ · ตะกร้า: ราคา/เส้นแก้ได้ · สัปดาห์ผลิตทีละเส้น · ปุ่มลูกค้าใหม่ ===== */
.st-brpill{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 14px 0 6px;border:1px solid #dde2e8;border-radius:12px;background:#fff;font-size:14px;color:#3c434d;font-weight:500;white-space:nowrap}
.st-brpill i{font-style:normal;width:28px;height:28px;border-radius:9px;background:#134fc4;color:#fff;display:grid;place-items:center;font-size:12.5px;font-weight:700;flex:none}
.st-outb{display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 12px;border:1px solid #dde2e8;border-radius:12px;background:#fff;font-size:13.5px;color:#6b7686;cursor:pointer;white-space:nowrap}
.st-outb svg{width:17px;height:17px;flex:none}
@media (hover:hover){.st-outb:hover{border-color:#dc2626;color:#dc2626}}
@media (max-width:767px){
  .st-brpill{padding:0 4px;gap:0}.st-brpill > span{display:none}
  .st-outb{width:40px;padding:0;justify-content:center}.st-outb > span{display:none}
  .st-nav-r{gap:6px}
}
/* u332 (เจ้าของเคาะแบบ A, ไม่เอาสีเหลือง): จำนวน + ราคา/เส้น บรรทัดเดียวกัน · ช่องราคาติด "/เส้น" เป็นชุด · สัปดาห์ผลิตทุกเส้นในกรอบเดียว · ค่าที่แก้ = ตัวน้ำเงิน */
.sk-it-m{display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:center}
.sk-nm,.sk-sb,.sk-dots{grid-column:1/-1}
.sk-ctl{margin-top:12px}
.sk-stp{height:36px;border-radius:10px}.sk-stp button{width:34px;height:36px}
.sk-price{display:flex;align-items:stretch;margin-top:12px}
.sk-pin{display:inline-flex;align-items:center;gap:3px;height:36px;padding:0 12px;border:1px solid #dde2e8;border-radius:10px 0 0 10px;background:#fff;font-size:15px;font-weight:600;color:#181c22}
.sk-pin input{width:64px;border:0;outline:none;font:inherit;font-weight:700;color:inherit;background:none;padding:0}
.sk-pin.diff{border-color:#134fc4;color:#134fc4;background:#f6f9ff}
.sk-price > span{display:grid;place-items:center;padding:0 12px;border:1px solid #dde2e8;border-left:0;border-radius:0 10px 10px 0;background:#f7f8fa;color:#6b7686;font-size:13px;white-space:nowrap}
.sk-pin.diff + span{border-color:#134fc4}
.sk-dots{display:flex;margin-top:12px;border:1px solid #dde2e8;border-radius:10px;overflow:hidden;background:#fff}
.sk-dots > div{flex:1;display:flex;flex-direction:column;align-items:center;gap:1px;padding:6px 0;border-left:1px solid #eef0f3;min-width:0}
.sk-dots > div:first-child{border-left:0}
.sk-dots small{font-size:10.5px;color:#9aa1ab;white-space:nowrap}
.sk-dots input{width:100%;height:24px;border:0;text-align:center;font-size:14.5px;font-weight:600;color:#3c434d;background:none;outline:none;font-family:inherit;padding:0;letter-spacing:.04em}
.sk-dots input:focus{background:#f6f9ff}
.sk-dots input.diff{color:#134fc4}
.sk-newbtn{margin-top:8px;width:100%;height:40px;border-radius:12px;border:1px dashed #134fc4;background:#f6f9ff;color:#134fc4;font-size:13.5px;font-weight:600;font-family:inherit;cursor:pointer}
.sk-newf{margin-top:10px;border:1px solid #dbe6fb;background:#f6f9ff;border-radius:12px;padding:12px 14px}
.sk-newf-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.sk-newf-h b{font-size:13.5px;font-weight:600;color:#134fc4}
.sk-newf-h button{background:none;border:0;font-size:12.5px;color:#9aa1ab;cursor:pointer;font-family:inherit;padding:0}
.sk-newf .sk-two{margin-top:8px}
.sk-newf-ok{margin-top:8px;font-size:12.5px;color:#16a34a;font-weight:600}
.sk-info{margin-top:8px;font-size:13px;color:#134fc4;background:#eef3fc;border:1px solid #d5e2fa;border-radius:10px;padding:8px 12px}
@media (max-width:767px){ /* u332: จอแคบ จำนวนกับราคาคนละบรรทัด (ชื่อรุ่นยาวจะได้ไม่ทับราคารวม) */
  .sk-it{flex-wrap:wrap;padding-right:24px}.sk-it-m{display:block;flex:1 1 0;min-width:0}.sk-price{margin-top:8px}
  .sk-pr{flex-basis:100%;text-align:right;margin-top:6px} /* ราคารวมลงมาอยู่ใต้รายการ ให้กรอบสัปดาห์ผลิตกว้างพอ */
  .sk-dots small{font-size:10px}.sk-dots input{font-size:14px}
}

/* ===== u333 (เจ้าของ 12 ต.ค.): รายการในตะกร้า — ราคารวมอยู่แถวชื่อรุ่น (ชื่อยาวตัดบรรทัด ไม่ทับ) · หน้าต่างกว้างขึ้นบนแท็บเล็ต/คอม · ตรวจกับชื่อรุ่นยาวสุดทุกขนาดจอ ===== */
.sk{width:520px}
.sk-it{flex-wrap:nowrap;padding-right:24px}
.sk-it-m{display:block;flex:1 1 0;min-width:0}
.sk-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.sk-top .sk-nm{flex:1;min-width:0;overflow-wrap:anywhere}
.sk-top .sk-pr{flex:none;margin:0;text-align:right;padding-top:1px}
.sk-ctl,.sk-price{display:inline-flex;vertical-align:top;margin-top:12px}
.sk-ctl{margin-right:10px}
@media (max-width:479px){.sk-it{flex-wrap:wrap}.sk-it-m{flex-basis:100%}.sk-price{margin-top:8px}}
/* u334: ช่องสัปดาห์ผลิตว่าง "--" สีจาง · กรอกแล้วตัวน้ำเงิน */
.sk-dots input::placeholder{color:#c3cad5;font-weight:500}
.sk-dots input.on{color:#134fc4}


/* ===== u335 (เจ้าของเคาะ 12 ต.ค. — รอบ 4–5 "format ตารางเว็บลูกค้า" + "สัดส่วน/ฟอนต์ให้สม่ำเสมอ"): แท็บเล็ตแนวตั้ง+แนวนอน (768–1365px) มุมมองตาราง = รายการ .st-tl
   อิง src/app/products/ptable.css · แถว 1 โลโก้ | รุ่น | ผลิต | เบอร์ | ราคา | ตะกร้า (แทนลูกศร) · แถว 2 รับประกัน · แถว 3 แถบสต็อกเล็กชิดซ้าย (ไม่ยืดเต็มแถว)
   ขนาดตัวหนังสือใช้ 3 ระดับ: หลัก 15 (รุ่น/เบอร์) · ราคา 17 · รอง 12–12.5 (ป้าย/โปร/รับประกัน/สต็อก) ===== */
.st-tl{display:none}
@media (min-width:768px) and (max-width:1365px){ /* รอบ 13: รวมแท็บเล็ตแนวนอน 1024/1280 */
  .st-wrap.v4.tabc .st-tw[hidden]{display:none!important}
  .st-wrap.v4.tabc .st-tl{display:block;background:#fff;border:1px solid #e6e9ee;border-radius:16px;overflow:hidden}
  .st-tl-hd,.st-tl-row{display:grid;grid-template-columns:36px 112px minmax(0,1fr) 64px 92px 110px;align-items:center;column-gap:10px;padding:0 16px}
  .st-tl-hd{height:48px;background:#fafbfc;border-bottom:1px solid #e6e9ee;font-size:14px;font-weight:600;color:#667080}
  .st-tl-hd .r{text-align:right}
  .st-tl-row{padding-top:16px;padding-bottom:16px;border-top:1px solid #eef0f3}
  .st-tl-row:nth-child(even){background:#f4f6f9} /* แถวสลับสีเทาแบบตารางคอม (แถวแรกหลังหัวตาราง = ลำดับ 2 ของกล่อง) */
  .st-tl-row:nth-child(even) .st-tl-spc{background:#fff}
  .st-tl-hd + .st-tl-row{border-top:0}
  .st-tl-br{display:flex;align-items:center;justify-content:flex-start;min-width:0}
  .st-wrap.v4.tabc .st-tl-br .lg4{width:112px;height:30px;border-radius:7px} /* ชนะกฎ .st-wrap.v4 .lg4 (132×40) */
  .st-tl-nm{min-width:0}
  .st-tl-nm b{display:block;font-size:16px;font-weight:600;color:#181c22;line-height:1.35;overflow-wrap:anywhere}
  .st-tl-nm .st-spc{font-size:10px;padding:0 6px;margin-left:6px;vertical-align:2px}
  .st-tl-nm small{display:block;margin-top:2px;font-size:13.5px;font-weight:500;color:#134fc4}
  .st-tl-wk em{font-style:normal;display:inline-block;font-size:13.5px;font-weight:400;border-radius:99px;padding:3px 9px;border:1px solid transparent;line-height:20px;white-space:nowrap}
  .st-tl-wk em.na{color:#9aa1ab;font-weight:500;padding:0}
  .st-tl-sz{font-size:16px;font-weight:500;color:#3c434d;white-space:nowrap;display:flex;align-items:center;gap:6px}
  .st-tl-pr{position:relative;display:flex;flex-direction:column;align-items:flex-end;text-align:right;justify-content:center}
  .st-tl-pr .st-pbtn{display:flex;flex-direction:column;align-items:flex-end;background:none;border:0;padding:0;cursor:pointer;font:inherit;color:inherit}
  .st-tl-pr s{font-size:13px;line-height:16px;color:#9aa3ae;white-space:nowrap}
  .st-tl-pr .pp{display:flex;align-items:baseline;gap:4px;white-space:nowrap}
  .st-tl-pr .pp b{font-size:19px;font-weight:700;color:#181c22}.st-tl-pr .pp b.red{color:#dc2626}
  .st-tl-pr .pp small{font-size:13px;color:#8a929e}
  .st-tl-cart{width:36px;height:36px;border-radius:9px;border:1px solid #e3e7ec;background:#fff;color:#8a929e;display:inline-grid;place-items:center;padding:0;cursor:pointer}
  .st-tl-cart svg{width:18px;height:18px}
  .st-tl-cart:active{background:#134fc4;color:#fff;border-color:transparent}
  .st-tl-ft{grid-column:2/-1;display:flex;align-items:center;gap:12px;margin-top:10px} /* รอบ 14 (เจ้าของ): เริ่มตั้งแต่คอลัมน์โลโก้ ไม่ใช่ปุ่มตะกร้า */
  .st-tl-nt{flex:1;min-width:0;font-size:12.5px;line-height:1.4;color:#8a929e}
  .st-tl-st{flex:none;display:flex;align-items:center;gap:4px}
  .st-tl-tot{display:inline-flex;align-items:baseline;gap:4px;height:24px;padding:0 9px;border-radius:7px;background:#eef3fc;line-height:24px;margin-left:4px}
  .st-tl-tot small{font-size:10px;font-weight:700;color:#3c434d;letter-spacing:.3px}
  .st-tl-tot b{font-size:13.5px;font-weight:700;color:#134fc4}.st-tl-tot.z b{color:#c0c5cc}
  /* u346 (เจ้าของเคาะแบบ 1A + B): ตัวดำ ไม่หนา · SP กับตัวเลขขนาดเท่ากัน · เส้นคั่นบางๆ "SP1 | 4" */
  .st-tl-spc{display:inline-flex;align-items:center;height:24px;padding:0 6px;border-radius:6px;border:1px solid #e6e9ee;background:#fff}
  .st-tl-spc small,.st-tl-spc b{font-size:12px;font-weight:400;color:#111827;line-height:14px}
  .st-tl-spc b{border-left:1px solid #d5d9de;margin-left:6px;padding-left:6px}
  .st-tl-cc{font-size:12px;color:#8a929e;white-space:nowrap;margin-left:4px}
  .st-tl.pm .st-tl-row.st-pair{background:#eaf2ff}
  .st-tl.pm .st-tl-row.st-pend{border-bottom:2px solid #ef4444}
  .st-tl .st-empty{padding:24px;text-align:center}
}

/* ===== u336 (เจ้าของ 12 ต.ค.): มุมมองการ์ดสินค้าบนมือถือ + แถบเรียงของการ์ด (ราคา ต่ำ→สูง · ยี่ห้อ · Total) ทุกขนาดจอ
   แถบเรียง = ปุ่มมนชุดเดียวกับ "สต็อก ≥ 4·2·1" (.st-mins) อยู่ในแถวตัวกรอง (เจ้าของ: ให้เหมือนตัวกรอง) ===== */
.st-csort button i{font-style:normal;margin-left:4px;font-size:12px}
/* มือถือ (หน้าตาเวอร์ชั่น 3): ปุ่มสลับมุมมอง + การ์ด 2 คอลัมน์ */
@media (max-width:767px){
  .st-wrap.v2.v3 .st-vt{display:inline-flex;border:1px solid #dde2e8;border-radius:10px;background:#fff;padding:3px;gap:2px;height:36px;box-sizing:border-box;margin-right:auto}
  .st-wrap.v2.v3 .st-vt button{width:34px;height:28px;border-radius:7px;display:grid;place-items:center;color:#8a929e;background:none;border:0;padding:0}
  .st-wrap.v2.v3 .st-vt button svg{width:18px;height:18px}
  .st-wrap.v2.v3 .st-vt button.on{background:#eef3fc;color:#134fc4;box-shadow:inset 0 0 0 1px #134fc4}
  .st-wrap.cardv .st-sortbar{display:none!important} /* ใช้แถบเรียงของการ์ดแทน */
  .st-wrap.v2.v3 .st-csort{display:flex;width:100%;box-sizing:border-box;margin-bottom:10px;height:38px;padding:0 4px 0 14px;background:#fff;border:1px solid #e3e7ee;border-radius:99px;font-size:13.5px;color:#4b5563;align-items:center;gap:2px}
  .st-wrap.v2.v3 .st-csort > span{margin-right:6px;white-space:nowrap}
  .st-wrap.v2.v3 .st-csort button{flex:1;height:30px;padding:0 8px;border:0;border-radius:99px;background:none;font:inherit;font-weight:600;color:#3c434d}
  .st-wrap.v2.v3 .st-csort button.on{background:linear-gradient(135deg,#0e3fa3,#134fc4 55%,#2a6be0);color:#fff}
  .st-wrap.v2.v3 .sc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .st-wrap.v2.v3 .sc{border-radius:12px}
  .st-wrap.v2.v3 .sc-im{height:140px}
  .st-wrap.v2.v3 .sc-pr{top:8px;left:8px;font-size:10px;padding:2px 7px;max-width:calc(100% - 16px)}
  .st-wrap.v2.v3 .sc-wk{bottom:8px;right:8px;font-size:10.5px;padding:1px 7px}
  .st-wrap.v2.v3 .sc-b{padding:10px 11px 10px}
  .st-wrap.v2.v3 .sc-br{height:15px}.st-wrap.v2.v3 .sc-br img{max-width:90px;max-height:15px}
  .st-wrap.v2.v3 .sc-b h3{font-size:13.5px;margin:3px 0 1px}
  .st-wrap.v2.v3 .sc-sz{font-size:12.5px}
  .st-wrap.v2.v3 .sc-nt{font-size:10.5px;min-height:30px;line-height:1.4}
  .st-wrap.v2.v3 .sc-p{margin:6px 0 8px;gap:5px}.st-wrap.v2.v3 .sc-p b{font-size:15.5px}.st-wrap.v2.v3 .sc-p s{font-size:11px}.st-wrap.v2.v3 .sc-p small{font-size:10.5px}
  .st-wrap.v2.v3 .sc-st{padding-top:8px}.st-wrap.v2.v3 .sc-st .tot{font-size:11.5px}.st-wrap.v2.v3 .sc-st .tot b{font-size:14px}
  .st-wrap.v2.v3 .sc-st .sps{gap:2px;margin-top:5px}.st-wrap.v2.v3 .sc-st .sps span{font-size:9px;padding:3px 0 2px;border-radius:6px}.st-wrap.v2.v3 .sc-st .sps b{font-size:11px}
  .st-wrap.v2.v3 .sc-add{display:flex;position:static;height:34px;margin:0 11px 11px;font-size:13px;border-radius:9px}
}

/* ===== u337 (เจ้าของ 12 ต.ค.): ตะกร้า — ขั้น "บริการวันนี้" (ติ๊ก/เลือกล้อ/แก้ราคา/ฟรี) + ป้ายสิทธิ์เคยซื้อ 4 เส้น ===== */
.sv{display:flex;flex-direction:column;gap:8px}
.sv-row{border:1px solid #e6e9ee;border-radius:12px;padding:10px 12px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;column-gap:10px;row-gap:8px}
.sv-row.on{border-color:#c9d6f2;background:#f6f9ff}
.sv-row.fixed{opacity:.9}
.sv-ck{width:20px;height:20px;border-radius:6px;border:1.5px solid #c3cad5;background:#fff;box-sizing:border-box;padding:0;cursor:pointer;flex:none}
.sv-row.on .sv-ck{border-color:#134fc4;background:#134fc4 url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8.2l2.4 2.4 5.2-5.2' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat}
.sv-nm{text-align:left;background:none;border:0;padding:0;cursor:pointer;font-family:inherit;font-size:14.5px;font-weight:600;color:#181c22;min-width:0}
.sv-nm small{display:block;font-size:12px;font-weight:500;color:#6b7686;margin-top:1px}
.sv-amt{text-align:right;font-size:15px;font-weight:700;color:#181c22;white-space:nowrap}.sv-amt.na{color:#9aa1ab;font-weight:500}
.sv-amt-e{display:flex;align-items:center;gap:6px;justify-content:flex-end}
.sv-amt-e .sk-pin{height:32px;padding:0 10px;border-radius:9px;font-size:14px}.sv-amt-e .sk-pin input{width:60px}
.sv-amt-e s{font-size:12.5px;color:#9aa3ae}
.sv-free{height:32px;padding:0 12px;border-radius:9px;border:1px solid #dde2e8;background:#fff;font-size:13px;font-weight:600;font-family:inherit;color:#4b5563;cursor:pointer}
.sv-free.on{background:#eaf6ef;border-color:#86c9a3;color:#166534}
.sv-wh{grid-column:2/-1;display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.sv-wh span{height:30px;padding:0 11px;border-radius:99px;border:1px solid #dde2e8;background:#fff;font-size:12.5px;color:#4b5563;display:inline-flex;align-items:center;cursor:pointer;user-select:none}
.sv-wh span.on{background:#eef3fc;border-color:#134fc4;color:#134fc4;font-weight:600}
.sv-wh em{font-style:normal;font-size:12px;color:#8a929e;margin-left:4px}
.sv-badge{display:flex;align-items:center;gap:8px;background:#eaf6ef;border:1px solid #cfe8da;border-radius:12px;padding:9px 12px;font-size:13px;color:#166534;margin-bottom:10px;line-height:1.45}
.sv-badge i{font-style:normal;width:22px;height:22px;border-radius:50%;background:#16a34a;color:#fff;display:grid;place-items:center;font-size:12px;font-weight:700;flex:none}
.sk-sm .svl{color:#6b7686;font-size:13px}
.sk-sm .was{color:#9aa3ae;font-size:12.5px;margin-right:6px}

/* ===== u337 (เจ้าของเคาะ 12 ต.ค.): แท็บ ยาง | บริการ บนแถบบน + หน้า "บริการ" เป็นการ์ดกดใส่ตะกร้า ===== */
.st-tabs4{display:flex;gap:4px;margin-left:28px;margin-right:auto}
.st-tabs4 button{height:38px;padding:0 16px;border-radius:10px;border:0;background:none;font-family:inherit;font-size:14.5px;font-weight:500;color:#3c434d;cursor:pointer}
.st-tabs4 button.on{background:#eef3fc;color:#134fc4;font-weight:600}
.st-hide{display:none !important}
.st-svc-wrap{display:block}
.ss{max-width:1180px;margin:0 auto}
.ss-h{display:flex;align-items:baseline;gap:12px;margin-bottom:16px;flex-wrap:wrap}.ss-h h2{font-size:22px;font-weight:700;margin:0;color:#181c22}.ss-h span{font-size:13.5px;color:#6b7686}
.ss-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px} /* 3 คอลัมน์บนคอม — ป้ายล้อ 4 ป้ายอยู่บรรทัดเดียว */
.ss-c{background:#fff;border:1px solid #ececee;border-radius:16px;padding:18px 18px 16px;display:flex;flex-direction:column;gap:6px;min-height:150px}
.ss-c.in{border-color:#c9d6f2;background:#f9fbff}
.ss-c h3{margin:0;font-size:17px;font-weight:700;color:#181c22}
.ss-sub{font-size:13px;color:#6b7686}
.ss-wh{display:flex;gap:5px;flex-wrap:wrap;margin-top:4px}
.ss-wh button{height:28px;padding:0 10px;border-radius:99px;border:1px solid #dde2e8;background:#fff;font-family:inherit;font-size:12px;color:#4b5563;cursor:pointer}
.ss-wh button.on{background:#eef3fc;border-color:#134fc4;color:#134fc4;font-weight:600}
.ss-pr{margin-top:auto;display:flex;align-items:flex-end;justify-content:space-between;gap:8px;padding-top:10px}
.ss-pr b{font-size:20px;font-weight:700;color:#181c22;white-space:nowrap}.ss-pr b small{font-size:12.5px;font-weight:500;color:#6b7686;margin-left:4px}
.ss-pr b.free{color:#16a34a}.ss-pr b.man{color:#6b7686;font-size:14px;font-weight:500}
.ss-add{height:38px;padding:0 14px;border-radius:10px;border:1px solid transparent;background:linear-gradient(135deg,#0e3fa3,#134fc4 55%,#2a6be0);color:#fff;font-family:inherit;font-size:14px;font-weight:600;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;cursor:pointer}
.ss-add svg{width:17px;height:17px}
.ss-add.in{background:#eef3fc;color:#134fc4;border-color:#134fc4}
.ss-add:disabled{opacity:.45;cursor:default}
.ss-note{margin-top:18px;font-size:13px;color:#6b7686;line-height:1.6;background:#f6f8fb;border-radius:12px;padding:12px 14px}
.sk-link{background:none;border:0;padding:0;font:inherit;color:#134fc4;font-weight:600;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.sv-rm{width:22px;height:22px;border-radius:7px;background:none;border:0;font-size:13px;line-height:1;color:#dc2626;cursor:pointer;padding:0;display:grid;place-items:center;align-self:center}
@media (max-width:767px){
  .st-tabs4{margin-left:8px;gap:2px}.st-tabs4 button{height:34px;padding:0 10px;font-size:13.5px}
  .st-nav.v4 .st-nav-name{display:none}
  .ss-h{gap:4px 10px}.ss-h h2{font-size:19px}
  .ss-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .ss-c{padding:12px;border-radius:12px;min-height:0}.ss-c h3{font-size:14.5px}
  .ss-wh{display:none}
  .ss-pr{flex-direction:column;align-items:stretch;gap:8px}.ss-pr b{font-size:16px}
  .ss-add{height:34px;padding:0 10px;font-size:13px;justify-content:center}
}

/* ===== u338 (เจ้าของ 12 ต.ค.): ตะกร้า — รายละเอียดน้ำมันเครื่อง (ยี่ห้อ/รุ่น ความหนืด เครื่องยนต์ ประเภท ระยะเปลี่ยนถ่าย) ===== */
.sv-oil{grid-column:1/-1;display:flex;flex-direction:column;gap:8px;border-top:1px dashed #dbe3f0;padding-top:10px;margin-top:2px}
.sv-oil-g{display:grid;grid-template-columns:1.4fr 1fr;gap:8px}
.sv-oil-g label{display:block}.sv-oil-g label span{display:block;font-size:12px;color:#6b7686;margin-bottom:4px}
.sv-oil-g input{width:100%;height:36px;border:1px solid #dde2e8;border-radius:10px;padding:0 10px;font-size:13.5px;font-family:inherit;background:#fff;outline:none}
.sv-oil-g input:focus{border-color:#134fc4}
.sv-oil-r{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.sv-oil-r > span{font-size:12px;color:#6b7686;width:92px;flex:none}
.sv-oil-r button{height:30px;padding:0 11px;border-radius:99px;border:1px solid #dde2e8;background:#fff;font-family:inherit;font-size:12.5px;color:#4b5563;cursor:pointer}
.sv-oil-r button.on{background:#eef3fc;border-color:#134fc4;color:#134fc4;font-weight:600}
.sv-oil-r .sk-pin.km{height:32px;padding:0 10px;border-radius:9px;font-size:13px;font-weight:500;color:#4b5563}.sv-oil-r .sk-pin.km input{width:58px;text-align:center;font-weight:600;color:#181c22}
.sv-oil-r em{font-style:normal;font-size:12px;color:#8a929e}
.sv-oil-hint{font-size:12px;color:#b45309;background:#fff7ed;border-radius:8px;padding:6px 10px}
@media (max-width:480px){.sv-oil-g{grid-template-columns:1fr}.sv-oil-r > span{width:100%}}
/* ===== u346 (เจ้าของเคาะ 14 ต.ค. แบบ M3 สีน้ำเงิน): แถบบนแถบเดียวจบ =====
   โลโก้ · แท็บ ยาง/บริการ (เด่นสุด) · "อัปเดต 08:12 น." (ตัวเล็ก จาง ไม่มีกรอบ) · ป้ายสาขา (มาสคอตครึ่งตัว) → เมนู Export/Import/ออกจากระบบ · ตะกร้าปุ่มขาว */
.st-nav.st-bn{background:linear-gradient(110deg,#0a2f7c,#134fc4 60%,#2a6be0);border-bottom:0;-webkit-backdrop-filter:none;backdrop-filter:none}
.st-bn .st-nav-in{height:68px;gap:12px}
.st-bn-lg{display:flex;align-items:center;gap:10px;flex:none}
.st-bn-lg img{width:40px;height:40px;border-radius:11px;box-shadow:0 0 0 2px rgba(255,255,255,.35);display:block}
.st-bn-lg b{font-size:16.5px;font-weight:700;color:#fff;white-space:nowrap}
.st-bn-tb{display:flex;gap:2px;margin-left:14px;margin-right:auto;align-self:stretch}
.st-bn-tb button{display:flex;align-items:center;gap:8px;padding:0 16px;border:0;border-top:3px solid transparent;border-bottom:3px solid transparent;background:none;font-family:inherit;font-size:16.5px;font-weight:600;color:rgba(255,255,255,.78);cursor:pointer;white-space:nowrap}
.st-bn-tb button svg{width:20px;height:20px;flex:none}
.st-bn-tb button.on{color:#fff;font-weight:700;border-bottom-color:#fff}
@media (hover:hover){.st-bn-tb button:not(.on):hover{color:#fff}}
.st-bn-tb button:focus-visible,.st-bn-br:focus-visible,.st-bn-cart:focus-visible{outline:2px solid #fff;outline-offset:-2px}
.st-bn-r{display:flex;align-items:center;gap:10px;flex:none}
.st-bn-up{display:flex;align-items:center;gap:6px;font-size:12px;color:rgba(255,255,255,.62);white-space:nowrap;padding-right:2px}
.st-bn-up i{width:6px;height:6px;border-radius:50%;background:#4ade80;opacity:.8;flex:none}
.st-bn-brw{position:relative}
.st-bn-br{display:flex;align-items:center;gap:8px;height:40px;padding:0 10px 0 3px;border:0;border-radius:999px;background:rgba(255,255,255,.14);box-shadow:inset 0 0 0 1px rgba(255,255,255,.25);font-family:inherit;font-size:14px;font-weight:600;color:#fff;white-space:nowrap;cursor:pointer}
.st-bn-br[aria-expanded="true"]{background:rgba(255,255,255,.24)}
.st-bn-br > i{width:34px;height:34px;border-radius:50%;background:#fff;overflow:hidden;flex:none;box-shadow:0 0 0 1.5px rgba(255,255,255,.6)}
.st-bn-br > i img{display:block;width:72%;height:auto;margin:4px auto 0} /* ครึ่งตัวบน (หัว+แขนกอดอก) พอดีวงกลม */
.st-bn-br > svg{width:16px;height:16px;flex:none}
.st-bn-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:60;width:240px;background:#fff;border:1px solid #e3e7ee;border-radius:14px;padding:6px;box-shadow:0 12px 32px rgba(15,23,42,.16)}
.st-bn-mh{padding:8px 12px 10px;font-size:14px;font-weight:600;color:#111827;border-bottom:1px solid #eef0f3;margin-bottom:4px}
.st-bn-mh small{display:block;font-size:12.5px;font-weight:400;color:#6b7280;margin-top:2px}
.st-bn-menu button{display:flex;align-items:center;gap:10px;width:100%;height:44px;padding:0 12px;border:0;border-radius:10px;background:none;font-family:inherit;font-size:15px;font-weight:500;color:#1f2937;text-align:left;cursor:pointer}
.st-bn-menu button svg{width:18px;height:18px;color:#134fc4;flex:none}
.st-bn-menu button:hover,.st-bn-menu button:focus-visible{background:#f4f7fc;outline:0}
.st-bn-menu hr{border:0;border-top:1px solid #eef0f3;margin:4px 6px}
.st-bn-menu button.lo,.st-bn-menu button.lo svg{color:#dc2626}
.st-bn-menu button.lo:hover{background:#fef2f2}
.st-bn-cart{position:relative;width:40px;height:40px;border-radius:12px;border:0;background:#fff;color:#134fc4;display:grid;place-items:center;cursor:pointer;flex:none}
.st-bn-cart svg{width:20px;height:20px}
.st-bn-cart b{position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;border-radius:99px;background:#dc2626;color:#fff;font-size:11.5px;font-weight:700;display:grid;place-items:center;padding:0 5px;box-sizing:border-box;border:2px solid #134fc4}
/* แท็บเล็ตแนวตั้ง: ซ่อนชื่อร้านข้างโลโก้ (ที่ไม่พอ) */
@media (max-width:899px){.st-bn-lg b{display:none}.st-bn-tb{margin-left:6px}}
/* มือถือ: แท็บย่อ · ซ่อนเวลาอัปเดต (ดูได้ในเมนูสาขา) · ป้ายสาขาเหลือหน้ามาสคอต */
@media (max-width:767px){
  .st-bn .st-nav-in{height:60px;padding:0 12px;gap:8px}
  .st-bn-lg img{width:36px;height:36px;border-radius:10px}
  .st-bn-tb{margin-left:2px}
  .st-bn-tb button{padding:0 9px;gap:6px;font-size:15px}
  .st-bn-tb button svg{width:18px;height:18px}
  .st-bn-up{display:none}
  .st-bn-br{padding:0 6px 0 3px;gap:4px}
  .st-bn-br > span{display:none}
  .st-bn-r{gap:8px}
}
@media (max-width:359px){.st-bn .st-nav-in{padding:0 8px;gap:6px}.st-bn-lg img{width:32px;height:32px}.st-bn-tb button{padding:0 7px;font-size:14px;gap:5px}.st-bn-tb button svg{width:16px;height:16px}.st-bn-r{gap:6px}.st-bn-br > svg{display:none}.st-bn-br{padding:0 3px}}
/* u346 (เจ้าของ): ปีผลิต "ทั้งหมด" ไม่หนา (เลือกปีแล้ว = ปุ่มน้ำเงิน ตัวหนาเหมือนเดิม) */
.st-wrap .st-tog .st-year:not(.on) .st-dd > .st-sel{font-weight:400}
.st-wrap.v2.v3 .st-tog .st-year:not(.on) .st-dd > .st-sel{font-weight:400} /* มือถือ (หน้าตาเวอร์ชั่น 3) */
/* u346 (เจ้าของ): แท็บเล็ต (รายการ .st-tl) มีแถบเรียง ราคา · ยี่ห้อ · Total ในแถวตัวกรอง */
.st-wrap.tabc .st-csort > span{margin-right:4px}
/* u346 (เจ้าของ): แถบเรียงชิดขวาของแถวตัวกรอง (แทนที่ปุ่ม CC ที่เอาออก) — แท็บเล็ต + คอม ทั้งรายการและการ์ด */
.st-wrap.v4 .st-tog.v4f > .st-csort{margin-left:auto}
/* u346 (เจ้าของเคาะ): "PROMOTION" ตัวพิมพ์ใหญ่ ถ่างตัวอักษรเล็กน้อย (อังกฤษเท่านั้น) · สต็อกเป็นปุ่มเลื่อนลงชุดเดียวกับปีผลิต (.st-year) */
.st-wrap .st-tog .st-ck.st-promo{letter-spacing:.5px}
.st-wrap .st-tog .st-year.st-stk .st-dd-list{left:0;right:auto;min-width:160px}
