
	/* ITM-CATALOG-V1: ปุ่มสลับโหมด + ตารางแคตตาล็อก */
	.itm-vmode{order:9;margin-left:auto;display:inline-flex;border:1px solid #d9d9d3;border-radius:8px;overflow:hidden;background:#fff;flex:none}
	.itm-vmode button{display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 11px;border:0;background:#fff;color:#666;font-size:12.5px !important;cursor:pointer;font-family:inherit;line-height:1}
	.itm-vmode button + button{border-left:1px solid #e3e3dd}
	.itm-vmode svg{width:14px;height:14px;fill:currentColor}
	.itm-vmode button:hover{background:#fffbe0;color:#222}
	.itm-vmode .g,.itm-vm-cat .itm-vmode .c{background:#EBD412;color:#222;font-weight:600}
	.itm-vm-cat .itm-vmode .g{background:#fff;color:#666;font-weight:400}
	@media (max-width:767px){.itm-vmode{display:none}}
	.itm-catpend #product-list > a.product-link{display:none !important}
	.itm-catpend #product-list:before{content:"กำลังโหลดแคตตาล็อก…";display:block;width:100%;padding:60px 0;text-align:center;color:#999;font-size:14px;background:url(/assets/images/itm-loader-v1.svg) center 12px/40px no-repeat;padding-top:64px /* ITM-LOADER-V1 */}
	/* ITM-CATALOG-V3: ตารางเดียว · หัวตารางสีเดียว + ไอคอนเรียง svg · ทุกแถวสูงเท่ากัน 64px (ชื่อ 2 บรรทัด · เต็มใน popup) · ตรึงรูป+ชื่อซ้าย/หัวบน · กดแถว = popup สินค้า */
	.itm-cat-w{position:relative;isolation:isolate;width:100%;overflow:auto;max-height:calc(100vh - 150px);background:#fff;border:1px solid #dcdcd6;border-radius:10px;box-sizing:border-box;overscroll-behavior:contain}
	table.itm-cat{border-collapse:separate;border-spacing:0;min-width:100%;font-size:13px !important;background:#fff;table-layout:auto}
	table.itm-cat th,table.itm-cat td{border-right:1px solid #e6e6e2;border-bottom:1px solid #e6e6e2;padding:0 10px;vertical-align:middle;font-size:13px !important;background:#fff;box-sizing:border-box}
	table.itm-cat th{position:sticky;top:0;z-index:3;height:40px;background:#f4f4f1;font-size:12px !important;font-weight:600;color:#444;white-space:nowrap;text-align:left;cursor:pointer;user-select:none}
	table.itm-cat th:hover{background:#ecece8}
	table.itm-cat th.im{cursor:default;padding:0 6px}
	table.itm-cat th.im:hover{background:#f4f4f1}
	table.itm-cat th .so{display:inline-block;width:8px;height:12px;margin-left:6px;vertical-align:-1px}
	table.itm-cat th .so path{fill:#c9c9c4}
	table.itm-cat th.on.asc .so .u,table.itm-cat th.on.desc .so .d{fill:#222}
	table.itm-cat th.r{text-align:right}
	table.itm-cat tbody td{height:64px;white-space:nowrap;overflow:hidden}
	table.itm-cat tbody tr{cursor:pointer}
	table.itm-cat tbody tr:hover td{background:#fffbe6}
	table.itm-cat .im{position:sticky;left:0;z-index:2;width:62px;min-width:62px;max-width:62px;padding:0 6px}
	table.itm-cat .nm{position:sticky;left:62px;z-index:2;width:250px;min-width:250px;max-width:250px}
	/* ITM-CATALOG-V5: ราคา = คอลัมน์ตรึงหลังชื่อ (เรียงได้) · เลื่อนตารางไปขวา → ชื่อย่อเหลือ 150px (กลับเต็มเมื่อเลื่อนกลับซ้ายสุด) */
	table.itm-cat .pr{position:sticky;left:312px;z-index:2;width:96px;min-width:96px;max-width:96px;text-align:right;box-shadow:4px 0 6px -4px rgba(0,0,0,.18)}
	table.itm-cat th.pr{z-index:4}
	table.itm-cat td.pr b.dc{color:#d32f2f}
	.itm-cat-w.cx table.itm-cat .nm{width:150px;min-width:150px;max-width:150px}
	.itm-cat-w.cx table.itm-cat .pr{left:212px}
	/* ITM-CATALOG-V6: เลื่อนซ้าย-ขวา snap ทีละคอลัมน์ · ระยะกันซ้าย = ความกว้างคอลัมน์ตรึง (รูป+ชื่อ+ราคา) */
	.itm-cat-w{scroll-snap-type:x mandatory;scroll-padding-left:408px}
	.itm-cat-w.cx{scroll-padding-left:308px}
	table.itm-cat thead th:not(.im):not(.nm):not(.pr):not(.xs){scroll-snap-align:start}
	/* ITM-CATALOG-V9: ช่องว่างท้ายตาราง → เลื่อนสุดขวาแล้วคอลัมน์ซ้ายชิดเส้นพอดี (ไม่โดนตัดครึ่ง) · น้ำหนักเลื่อนมาทางซ้ายได้อีก */
	table.itm-cat .xs{width:var(--itm-xs,0px);min-width:var(--itm-xs,0px);max-width:var(--itm-xs,0px);padding:0 !important;border:0 !important}
	table.itm-cat thead th.xs,table.itm-cat thead th.xs:hover{cursor:default;background:#f4f4f1}
	table.itm-cat tbody td.xs,table.itm-cat tbody tr:hover td.xs{background:#fff}
	/* ITM-CATALOG-V7: ตัวกรอง "รูปแบบ…" ย่อเป็นชิปเล็กในแถบหัวตาราง (ตามไปเมื่อเลื่อนลง/กด ไปที่ตาราง) · ใช้ค่าเลือกชุดเดียวกับกล่องด้านบน */
	.itm-cat-tb{flex:1;min-width:0;display:flex;align-items:center;gap:5px;overflow-x:auto;scrollbar-width:none;white-space:nowrap}
	.itm-cat-tb::-webkit-scrollbar{display:none}
	.itm-cat-tb .lb{flex:none;color:#888;font-size:12px !important;margin-right:2px}
	.itm-cat-tb a{flex:none;display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 8px 0 3px;border:1px solid #dcdcd6;border-radius:999px;background:#fff;color:#333 !important;font-size:12px !important;text-decoration:none !important;cursor:pointer;line-height:1}
	.itm-cat-tb a img{width:22px;height:22px;object-fit:contain;border-radius:50%;background:#fff}
	.itm-cat-tb a i{font-style:normal;color:#999;font-size:11px !important}
	.itm-cat-tb a:hover{border-color:#EBD412}
	.itm-cat-tb a.on{background:#EBD412;border-color:#EBD412;color:#222 !important;font-weight:600}
	.itm-cat-tb a.on i{color:#555}
	.itm-cat-tb a.clr{padding:0 9px;color:#c62828 !important;border-color:#f1c9c9}
	/* ITM-CATALOG-V8: ชิปในแถบหัวตารางโชว์เฉพาะเมื่อกล่อง "กรองตาม รูปแบบ…" ด้านบนเลื่อนพ้นจอแล้ว (ไม่ซ้ำกัน) */
	.itm-cat-tb .cp{display:none;align-items:center;gap:5px}
	.itm-cat-bar.tbon .itm-cat-tb .cp{display:flex;animation:itm-tbin .25s ease-out}
	.itm-cat-bar.tbon .itm-cat-tb .hint{display:none}
	@keyframes itm-tbin{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
	.itm-cat-w.cx table.itm-cat td.nm a{font-size:11.5px !important;line-height:1.25}
	.itm-cat-w.cx table.itm-cat td.nm .l2 span.b{display:none}
	table.itm-cat th.im,table.itm-cat th.nm,table.itm-cat th.pr{z-index:4}
	table.itm-cat td.im img{display:block;width:48px;height:48px;object-fit:contain;border-radius:4px;background:#fff;margin:0 auto}
	table.itm-cat td.nm{white-space:normal}
	table.itm-cat td.nm a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#222 !important;font-weight:600;text-decoration:none !important;line-height:1.3;font-size:12.5px !important;word-break:break-word}
	table.itm-cat td.nm .l2{display:flex;align-items:center;gap:6px;margin-top:2px;white-space:nowrap;overflow:hidden}
	table.itm-cat td.nm .sku{font-family:Menlo,Consolas,"Courier New",monospace;font-size:11px !important;color:#999}
	table.itm-cat td.nm .l2 span.b{display:inline-block;font-size:10px !important;padding:0 6px;border-radius:999px;line-height:16px}
	table.itm-cat .b.st{background:#e8f5e9;color:#2e7d32}
	table.itm-cat .b.sd{background:#fff3e0;color:#e65100}
	table.itm-cat .b.po{background:#ede7f6;color:#5e35b1}
	table.itm-cat td.br,table.itm-cat td.sp{color:#333}
	table.itm-cat td.pr{text-align:right}
	table.itm-cat td.pr b{font-weight:700;color:#222}
	table.itm-cat td.pr s{display:block;font-weight:400;color:#999;font-size:11px !important;line-height:1.1}
	table.itm-cat td.wt{text-align:right;color:#333}
	/* ITM-CATALOG-V4: ค่าในตาราง = ฟอนต์ Chakra Petch (ตัวเลขแบบดิจิทัล ต่างจาก Mitr ภายนอก) · ชื่อสินค้ายังเป็น Mitr */
	table.itm-cat th,table.itm-cat td,.itm-pc table td,.itm-pc-sku,.itm-cat-bar{font-family:'Chakra Petch',Tahoma,sans-serif !important;font-variant-numeric:tabular-nums}
	table.itm-cat td{color:#222;font-weight:500}
	table.itm-cat th{font-weight:600;color:#555;letter-spacing:.2px}
	table.itm-cat td.nm a{font-family:'Mitr',sans-serif !important;font-weight:400}
	table.itm-cat td.nm .sku{font-family:'Chakra Petch',Menlo,Consolas,monospace !important;font-weight:500;color:#9a9a9a;letter-spacing:.3px}
	/* ITM-CATALOG-V4: แถบบนตาราง + ปุ่ม ไปที่ตาราง / กลับด้านบน (เฉพาะโหมดแคตตาล็อก) */
	.itm-cat-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;height:40px;padding:0 6px 0 14px;background:#f4f4f1;border:1px solid #dcdcd6;border-bottom:0;border-radius:10px 10px 0 0;color:#777;font-size:12.5px !important;box-sizing:border-box}
	.itm-cat-bar + .itm-cat-w{border-radius:0 0 10px 10px}
	.itm-cat-up,.itm-cat-go{display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 12px;border:1px solid #d9d9d3;border-radius:8px;background:#fff;color:#333;font-size:12.5px !important;cursor:pointer;font-family:inherit;line-height:1;white-space:nowrap;flex:none}
	.itm-cat-up svg,.itm-cat-go svg{width:14px;height:14px;fill:currentColor}
	.itm-cat-up:hover,.itm-cat-go:hover{background:#EBD412;border-color:#EBD412;color:#222}
	.itm-cat-go{display:none;order:10;margin-left:8px}
	.itm-vm-cat .itm-cat-go{display:inline-flex}
	@media (max-width:767px){.itm-cat-go{display:none !important}}
	/* ITM-CATALOG-V5: ปุ่มสั่นเบาๆ ทุก ~3.5 วิ + ลูกศรขยับขึ้นลง */
	@keyframes itm-nudge{0%,68%,100%{transform:translateX(0) rotate(0)}72%{transform:translateX(-3px) rotate(-3deg)}76%{transform:translateX(3px) rotate(3deg)}80%{transform:translateX(-3px) rotate(-2deg)}84%{transform:translateX(2px) rotate(1deg)}88%{transform:translateX(0) rotate(0)}}
	@keyframes itm-bob-d{0%,100%{transform:translateY(-1px)}50%{transform:translateY(2px)}}
	@keyframes itm-bob-u{0%,100%{transform:translateY(1px)}50%{transform:translateY(-2px)}}
	.itm-vm-cat .itm-cat-go{border-color:#EBD412;box-shadow:0 0 0 2px rgba(235,212,18,.25);animation:itm-nudge 3.5s ease-in-out infinite}
	.itm-cat-up{border-color:#EBD412;animation:itm-nudge 3.5s ease-in-out 1.75s infinite}
	.itm-cat-go svg{animation:itm-bob-d 1s ease-in-out infinite}
	.itm-cat-up svg{animation:itm-bob-u 1s ease-in-out infinite}
	.itm-cat-go:hover,.itm-cat-up:hover,.itm-cat-go:hover svg,.itm-cat-up:hover svg{animation:none}
	@media (prefers-reduced-motion:reduce){.itm-cat-go,.itm-cat-up,.itm-cat-go svg,.itm-cat-up svg{animation:none !important}}
	.itm-cat-more{width:100%;padding:12px;text-align:center;color:#888;font-size:13px !important}
	/* popup สินค้า (แบบหน้าตะกร้า ITM-BASKET-V3) */
	.itm-pc-bg{position:fixed;inset:0;z-index:100050;background:rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box}
	.itm-pc{position:relative;width:860px;max-width:100%;max-height:calc(100vh - 32px);overflow:auto;background:#fff;border-radius:12px;box-shadow:0 10px 40px rgba(0,0,0,.3);display:flex;gap:22px;padding:22px;box-sizing:border-box;font-size:14px !important;line-height:1.45;color:#222;text-align:left}
	.itm-pc *{box-sizing:border-box}
	.itm-pc-x{position:absolute;right:10px;top:8px;width:36px;height:36px;border:0;border-radius:50%;background:#f1f1f1;font-size:22px !important;line-height:36px;cursor:pointer;color:#444;padding:0}
	.itm-pc-x:hover{background:#EBD412}
	.itm-pc-g{flex:0 0 340px;max-width:340px}
	.itm-pc-main{width:100%;aspect-ratio:1/1;object-fit:contain;border:1px solid #eee;border-radius:10px;background:#fff;display:block}
	.itm-pc-th{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
	.itm-pc-th img{width:56px;height:56px;object-fit:contain;border:1px solid #e3e3e3;border-radius:6px;cursor:pointer;background:#fff}
	.itm-pc-th img.on{border:2px solid #EBD412}
	.itm-pc-i{flex:1 1 auto;min-width:0;padding-top:4px}
	.itm-pc-mf{display:flex;align-items:center;gap:8px;color:#666;font-size:13px !important;margin-bottom:4px}
	.itm-pc-mf img{height:26px;max-width:90px;object-fit:contain}
	.itm-pc-n{font-size:18px !important;font-weight:600;margin:0 30px 4px 0;line-height:1.35}
	.itm-pc-sku{color:#777;font-size:13px !important}
	.itm-pc-pr{margin:10px 0 6px;font-size:24px !important;font-weight:700}
	.itm-pc-pr small{font-size:14px !important;font-weight:400;color:#999;text-decoration:line-through;margin-left:8px}
	.itm-pc-pr span{font-size:13px !important;font-weight:400;color:#777;margin-left:6px}
	.itm-pc-st{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 10px}
	.itm-pc-st b{font-weight:600;font-size:12px !important;padding:3px 10px;border-radius:999px;background:#eee;color:#444}
	.itm-pc-st b.ok{background:#e3f5e8;color:#1e7a3c}
	.itm-pc-st b.fast{background:#fff6c2;color:#6F5800}
	.itm-pc-st b.no{background:#fde8e8;color:#a12a2a}
	.itm-pc ul{margin:6px 0 10px;padding-left:18px}
	.itm-pc ul li{margin:2px 0;font-size:14px !important}
	.itm-pc table{width:100%;border-collapse:collapse;margin:6px 0 12px;font-size:13px !important}
	.itm-pc table td{border-bottom:1px solid #eee;padding:5px 6px;vertical-align:top}
	.itm-pc table td:first-child{color:#777;width:42%}
	.itm-pc-q{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:8px}
	.itm-pc-q span{font-size:14px !important}
	.itm-pc-q button{height:38px;min-width:38px;border:1px solid #cfcfcf;background:#fff;border-radius:8px;font-size:18px !important;cursor:pointer;padding:0 10px}
	.itm-pc-q input{width:64px;height:38px;border:1px solid #cfcfcf;border-radius:8px;text-align:center;font-size:16px !important}
	.itm-pc-q .tot{margin-left:6px;font-weight:600}
	.itm-pc-a{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
	.itm-pc-a a,.itm-pc-a button{display:inline-block;padding:9px 16px;border-radius:8px;font-size:14px !important;cursor:pointer;text-decoration:none !important;border:1px solid #cfcfcf;background:#fff;color:#333 !important}
	.itm-pc-a .main{background:#EBD412;border-color:#EBD412;color:#222 !important;font-weight:600}
	.itm-pc-a .main.ok{background:#2e9e5b;border-color:#2e9e5b;color:#fff !important}
	.itm-pc-off{background:#fde8e8;color:#a12a2a;padding:8px 10px;border-radius:8px;margin:8px 0}
	.itm-pc-load{padding:60px;text-align:center;color:#777;flex:1}
	@media (max-width:767px){.itm-pc-bg{padding:0;align-items:flex-end}.itm-pc{flex-direction:column;gap:12px;padding:16px;border-radius:14px 14px 0 0;max-height:92vh;width:100%}.itm-pc-g{flex:none;max-width:none;width:100%}.itm-pc-main{max-height:42vh}}
