/* UnionPlus สั่งของ (M9) · มือถือก่อน · ตัวใหญ่ อ่านง่าย */
:root { --pri: #0b84c6; --pri2: #075e8f; --brand1: #4cd3ee; --brand2: #15a9e0;   /* 1.0j สีโลโก้ UnionPlus (ผู้ใช้ 1 พ.ย.) · ปุ่มใช้ฟ้าเข้มกว่าให้อักษรขาวอ่านชัด */ --bg: #f1f5f9; --card: #fff; --ink: #0f172a; --mut: #64748b; --line: #e2e8f0;
  --g: #16a34a; --y: #d97706; --r: #dc2626; --rad: 14px; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
* { touch-action: manipulation; }   /* iPhone: แตะสองครั้งไม่ซูม · ถ่างนิ้วยังซูมได้ (ผู้ใช้ 1 พ.ย.) */
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.45 "Sarabun", "Leelawadee UI", "Noto Sans Thai", Tahoma, system-ui, sans-serif; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 10px 14px; }
button.pri { background: var(--pri); border-color: var(--pri); color: #fff; font-weight: 700; }
button.big { padding: 14px 16px; font-size: 18px; width: 100%; }
button.link { border: 0; background: none; color: var(--pri); padding: 6px; }
button:disabled { opacity: .5; }
.view { min-height: 100vh; padding-bottom: 110px; }
.muted { color: var(--mut); } .small { font-size: 14px; }
.card { background: var(--card); border-radius: var(--rad); padding: 18px; margin: 12px; box-shadow: 0 1px 3px #0001; }
.brand { display: flex; gap: 12px; align-items: center; padding: 28px 18px 6px; }
.brand img { width: 56px; height: 56px; border-radius: 14px; }
.brand b { font-size: 22px; display: block; } .brand small { color: var(--mut); }
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 8px; padding: 10px 12px; padding-top: calc(10px + env(safe-area-inset-top));
  background: linear-gradient(135deg, var(--brand2), var(--pri)); color: #fff; }
.top b { font-size: 18px; } .top .sp { flex: 1; }
/* ตัวทดสอบ order-test (app.js IS_TEST) · ตัวจริงไม่มี class นี้ · เปลี่ยนแค่สี ไม่เพิ่มข้อความ (ผู้ใช้ 1 พ.ย.: ป้ายทำให้ตำแหน่งขยับไม่เหมือนตัวจริง) */
.is-test .top { background: linear-gradient(135deg, #f97316, #c2410c); }
.top .who { flex: 1; min-width: 0; } .top .who b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .top .who small { opacity: .8; }
.top .ico { background: transparent; border: 0; color: #fff; font-size: 22px; padding: 6px 10px; position: relative; }
.top .link { color: #e0f2fe; }
.dot { position: absolute; top: 4px; right: 4px; width: 10px; height: 10px; border-radius: 50%; background: #fbbf24; }
.searchbar { display: flex; gap: 8px; padding: 10px 12px; background: #fff; position: sticky; top: calc(56px + env(safe-area-inset-top)); z-index: 4; border-bottom: 1px solid var(--line); }
.searchbar input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: 17px; background: var(--bg); }
.searchbar .cam { background: var(--pri); border-color: var(--pri); color: #fff; font-weight: 700; white-space: nowrap; }
.hint { padding: 18px; color: var(--mut); text-align: center; }
.last { margin: 10px 12px 0; padding: 10px 12px; border-radius: 12px; background: #e0f2fe; border: 1px solid #7dd3fc; }
.last.bad { background: #fef2f2; border-color: #fecaca; }
.results { padding: 4px 0; }
.it { display: flex; gap: 10px; align-items: center; background: #fff; margin: 8px 12px; padding: 10px; border-radius: var(--rad); box-shadow: 0 1px 2px #0001; }
.it .th { width: 64px; height: 64px; border-radius: 10px; background: var(--bg) center/contain no-repeat; flex: none; }
.it .info { flex: 1; min-width: 0; }
.it .nm { font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.it .meta { font-size: 14px; color: var(--mut); }
.it .pr { font-weight: 700; color: var(--pri2); }
.it .per { font-size: 13px; color: var(--mut); }
.it .add { min-width: 54px; height: 54px; font-size: 26px; font-weight: 700; background: var(--pri); color: #fff; border: 0; border-radius: 14px; flex: none; }
.it .add.in { background: #e0f2fe; color: var(--pri2); font-size: 18px; }
.st { display: inline-block; font-size: 13px; padding: 1px 8px; border-radius: 99px; font-weight: 600; }
.st.g { background: #dcfce7; color: var(--g); } .st.y { background: #fef3c7; color: var(--y); } .st.r { background: #e2e8f0; color: #334155; }   /* 0 หรือติดลบใน Bplus = สอบถามร้าน (ผู้ใช้ 1 พ.ย.) */
.cartbar { position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fffc; backdrop-filter: blur(6px); z-index: 6; }
.cartbar button { width: 100%; display: flex; align-items: center; gap: 10px; background: linear-gradient(135deg, var(--brand2), var(--pri)); color: #fff; border: 0; padding: 14px 16px; font-size: 18px; border-radius: 16px; }
.cartbar b { flex: 1; text-align: left; }
.sheet .foot { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; padding: 12px 12px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); z-index: 6; }
.sheet .foot .sum { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 18px; }
.sheet .foot textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 10px; margin-bottom: 8px; }
.row2 { display: flex; gap: 8px; } .row2 > * { flex: 1; }
#vCart, #vReview { padding-bottom: 200px; } #vReview { padding-bottom: 260px; }
.ci { background: #fff; margin: 8px 12px; padding: 12px; border-radius: var(--rad); box-shadow: 0 1px 2px #0001; }
.ci .hd { display: flex; gap: 10px; }
.ci .th { width: 52px; height: 52px; border-radius: 10px; background: var(--bg) center/contain no-repeat; flex: none; }
.ci .nm { flex: 1; font-weight: 600; line-height: 1.3; }
.ci .x { border: 0; background: none; color: var(--r); font-size: 20px; padding: 0 4px; align-self: flex-start; }
.ci .ctl { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.ci select { border: 1px solid var(--line); border-radius: 10px; padding: 8px; background: #fff; max-width: 100%; }
/* 1.0z หน่วย + จำนวนอยู่บรรทัดเดียวเสมอ (ผู้ใช้ 1 พ.ย.) · ช่องหน่วยหดได้ ตัดท้าย … · สี/แบบลงบรรทัดถัดไปเต็มความกว้าง */
.ci .ctl > select[data-u], .ci .ctl > span.muted { flex: 1 1 0; min-width: 0; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.ci .ctl > .qty { flex: none; }
.ci .ctl > select[data-c] { order: 3; flex: 1 1 100%; }
.qty { display: flex; align-items: center; gap: 0; margin-left: auto; }
.qty button { width: 48px; height: 48px; font-size: 24px; padding: 0; border-radius: 12px; }
.qty .n { min-width: 60px; height: 48px; margin: 0 6px; font-size: 22px; font-weight: 700; background: var(--bg); }
.it .freq.pin { color: #c2410c; font-weight: 700; }
.ci .ln { display: flex; justify-content: space-between; margin-top: 6px; color: var(--mut); font-size: 15px; }
.ci .ln b { color: var(--ink); }
.review { padding: 4px 12px; }
.review .big1 { font-size: 22px; font-weight: 700; margin: 10px 0 2px; }
.review .warn { background: #fffbeb; border: 1px solid #fde68a; border-radius: 12px; padding: 10px; margin: 8px 0; }
.review table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; font-size: 17px; }
.review td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.review td.n { text-align: right; white-space: nowrap; font-weight: 700; }
.review tfoot td { font-size: 20px; font-weight: 700; }
.ord { background: #fff; margin: 10px 12px; border-radius: var(--rad); box-shadow: 0 1px 2px #0001; overflow: hidden; }
.ord .hd { padding: 12px; display: flex; gap: 10px; align-items: center; }
.ord .hd .t { flex: 1; } .ord .hd small { color: var(--mut); display: block; }
.badge { font-size: 14px; padding: 3px 10px; border-radius: 99px; font-weight: 700; background: #e0f2fe; color: #075985; white-space: nowrap; }
.badge.act { background: #fef3c7; color: #92400e; } .badge.ok { background: #dcfce7; color: #166534; } .badge.bad { background: #fee2e2; color: #991b1b; }
.ord .bd { padding: 0 12px 12px; border-top: 1px solid var(--line); }
.steps { list-style: none; margin: 10px 0; padding: 0; }
.steps li { position: relative; padding: 4px 0 10px 28px; color: var(--mut); }
.steps li::before { content: ''; position: absolute; left: 6px; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: #cbd5e1; }
.steps li::after { content: ''; position: absolute; left: 11px; top: 22px; bottom: -4px; width: 2px; background: #e2e8f0; }
.steps li:last-child::after { display: none; }
.steps li.done { color: var(--ink); } .steps li.done::before { background: var(--g); }
.steps li.cur { color: var(--ink); font-weight: 700; } .steps li.cur::before { background: #f59e0b; box-shadow: 0 0 0 4px #fde68a; }
.steps small { display: block; color: var(--mut); font-weight: 400; }
.ord table { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 6px; }
.ord td { padding: 6px 4px; border-bottom: 1px solid var(--line); } .ord td.n { text-align: right; white-space: nowrap; }
.ord .short { color: var(--r); font-weight: 700; }
.ord .acts { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; } .ord .acts button { flex: 1; }
/* 1.1b สถานะก่อนปุ่ม · ปุ่มรองเล็ก สีเทา ไม่ชวนกด */
.ord .stline { margin-top: 12px; padding: 8px 10px; background: #f1f5f9; border-radius: 10px; font-size: 15px; }
.ord .acts.sub { border-top: 1px solid var(--line); padding-top: 10px; }
.ord .acts.sub button { background: #f8fafc; color: var(--mut); font-size: 14px; padding: 8px 10px; }
.slipok { margin-top: 8px; padding: 8px 10px; background: #dcfce7; border: 1px solid #86efac; border-radius: 10px; }
.slipok .thumbs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.slipok .thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid #86efac; cursor: pointer; }
.pay { background: #fffbeb; border: 1px solid #fde68a; border-radius: 12px; padding: 12px; margin-top: 10px; }
.pay b.amt { font-size: 24px; display: block; }
.modal { position: fixed; inset: 0; background: #0f172a99; z-index: 35; display: flex; align-items: flex-end; justify-content: center; }
.modal .sheet { position: relative; width: 100%; max-width: 520px; }
.modal .mx { position: absolute; top: 8px; right: 8px; z-index: 2; width: 44px; height: 44px; padding: 0; border-radius: 50%; font-size: 22px; line-height: 1; background: #f1f5f9; border-color: #e2e8f0; color: var(--ink); }
.modal .sheet:has(.mx) .in > h3:first-child, .modal .sheet:has(.mx) .in > .howto > h3:first-child { padding-right: 48px; }
.modal .in { background: #fff; width: 100%; max-width: 520px; border-radius: 20px 20px 0 0; padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); max-height: 92vh; overflow: auto; }
.modal h3 { margin: 0 0 8px; }
.pad h3 { font-size: 22px; line-height: 1.35; margin: 0 0 4px; }
.pad h3 + .muted { font-size: 18px; color: var(--ink); font-weight: 600; }
/* 1.0z ช่องตัวเลขแคบ (ไม่เกิน 6 หลัก) + หน่วยต่อท้าย (ผู้ใช้ 1 พ.ย.) */
.pad .valrow { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 10px 0 4px; }
.pad .val { font-size: 36px; font-weight: 700; text-align: center; padding: 6px 10px; background: var(--bg); border-radius: 14px; letter-spacing: 2px; width: 7.5ch; }
.pad .valrow .u { font-size: 22px; font-weight: 700; }
.pad .err { color: var(--r); text-align: center; min-height: 22px; }
.pad .keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pad .keys button { height: 64px; font-size: 28px; font-weight: 700; border-radius: 14px; background: #f8fafc; }
.pad .keys .ok { background: var(--pri); color: #fff; border-color: var(--pri); font-size: 22px; }
.pad .keys .del { font-size: 20px; }
.pad .cx { width: 100%; margin-top: 8px; }
.pinbox .dots { display: flex; justify-content: center; gap: 12px; margin: 12px 0; }
.pinbox .dots i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--pri); }
.pinbox .dots i.on { background: var(--pri); }
.fld { display: block; margin: 10px 0; } .fld span { display: block; color: var(--mut); font-size: 15px; margin-bottom: 4px; }
.fld input, .fld textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: 18px; background: #fff; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; } .chips button.on { background: var(--pri); color: #fff; border-color: var(--pri); }
.camwrap { position: fixed; inset: 0; background: #000; z-index: 30; }
.camwrap video { width: 100%; height: 100%; object-fit: cover; }
.camwrap .frame { position: absolute; left: 10%; right: 10%; top: 32%; height: 22%; border: 3px solid #7dd3fc; border-radius: 16px; box-shadow: 0 0 0 9999px #0006; }
.camwrap.hit .frame { border-color: #fde047; }
.camtop { position: absolute; top: calc(14px + env(safe-area-inset-top)); left: 0; right: 0; text-align: center; color: #fff; font-size: 17px; }
.camlast { position: absolute; left: 12px; right: 12px; bottom: calc(96px + env(safe-area-inset-bottom)); color: #fff; background: #0009; border-radius: 12px; padding: 10px 12px; min-height: 22px; }
.camlast:empty { display: none; }
.cambar { position: absolute; left: 12px; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 8px; }
.cambar button { flex: 1; padding: 14px; font-size: 18px; border-radius: 16px; }
/* 1.0n ปุ่มสแกนทีละตัว + การ์ดสินค้าที่อ่านได้ */
.cambar .scan { padding: 18px; font-size: 22px; font-weight: 700; background: #fff; color: var(--pri2); border: 3px solid #7dd3fc; }
.cambar .scan.arm { background: #fde047; border-color: #fde047; color: #713f12; }
.camwrap.arm .frame { border-color: #fde047; border-style: dashed; }
.camwrap .camlast { bottom: calc(150px + env(safe-area-inset-bottom)); }
.camcard { position: absolute; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); background: #fff; color: var(--ink); border-radius: 18px; padding: 12px; box-shadow: 0 -4px 24px #0006; max-height: 78vh; overflow: auto; z-index: 2; }
.camcard .hd { display: flex; gap: 10px; align-items: center; }
.camcard .th { width: 72px; height: 72px; border-radius: 12px; background: var(--bg) center/contain no-repeat; flex: none; }
.camcard .nm { font-weight: 700; font-size: 17px; line-height: 1.3; }
.camcard .pr { font-weight: 700; color: var(--pri2); }
.camcard .inc { display: inline-block; margin-top: 3px; background: #e0f2fe; color: var(--pri2); border-radius: 99px; padding: 1px 10px; font-size: 14px; font-weight: 600; }
.camcard .chips { margin: 10px 0 4px; }
.camcard .qline { display: flex; gap: 6px; align-items: center; margin: 10px 0; }
.camcard .qline button { padding: 12px 0; font-size: 22px; font-weight: 700; min-width: 52px; border-radius: 12px; }
.camcard .qline .n { flex: 1; font-size: 26px; background: #f8fafc; }
.camcard .qline .qk { font-size: 17px; min-width: 56px; color: var(--pri2); }
.camcard .bad { color: #b91c1c; font-weight: 700; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(96px + env(safe-area-inset-bottom)); background: #0f172a; color: #fff; padding: 10px 16px; border-radius: 12px; z-index: 40; max-width: 92vw; text-align: center; }
/* 1.0j เปิดในเบราว์เซอร์ของ LINE (กล้อง/ติดตั้งแอปใช้ไม่ได้) */
.linebar { position: sticky; top: 0; z-index: 25; background: #fef3c7; color: #78350f; padding: 10px 12px; padding-top: calc(10px + env(safe-area-inset-top)); font-size: 15px; border-bottom: 1px solid #fde68a; }
.linebar button { margin-top: 6px; width: 100%; background: #06c755; border-color: #06c755; color: #fff; font-weight: 700; }
/* 1.0m วิธีใช้ / แก้ปัญหา (help.js · เมนู ☰ + howto.html) */
.ostabs { display: flex; gap: 8px; margin: 6px 0 10px; } .ostabs button { flex: 1; padding: 10px; font-size: 16px; } .ostabs button.on { background: var(--pri); border-color: var(--pri); color: #fff; font-weight: 700; }
.hq { border: 1px solid var(--line); border-radius: 12px; margin: 8px 0; background: #fff; }
.hq summary { padding: 13px 12px; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; display: flex; gap: 8px; align-items: center; }
.hq summary::-webkit-details-marker { display: none; } .hq summary::after { content: '▸'; margin-left: auto; color: var(--mut); } .hq[open] summary::after { content: '▾'; }
.hq .howto { padding: 0 12px 10px; font-size: 16px; } .hq .ic { width: 26px; text-align: center; }
.bigu { font-size: 26px; letter-spacing: 1px; color: var(--pri2); }
.howto ol { padding-left: 22px; margin: 8px 0; } .howto li { margin: 6px 0; } .howto .k { display: inline-block; border: 1px solid var(--line); border-radius: 6px; padding: 0 6px; background: #f8fafc; }
/* 1.0k หน้าแรก: ซื้อประจำ / โปรด / ชุดของฉัน · หน้าสินค้ารูปใหญ่ · QR ชำระ */
.top .pts { background: #ffffff33; border-radius: 99px; padding: 0 8px; margin-left: 4px; }
.hometabs { display: flex; gap: 8px; padding: 10px 12px 0; overflow-x: auto; }
.hometabs button { white-space: nowrap; border-radius: 99px; padding: 8px 14px; }
.hometabs button.on { background: var(--pri); color: #fff; border-color: var(--pri); }
.it .th, .it .info, .ci .th { cursor: pointer; }
.it .freq { font-size: 13px; color: var(--pri2); }
.lst { background: #fff; margin: 8px 12px; padding: 12px; border-radius: var(--rad); box-shadow: 0 1px 2px #0001; }
.lst b { font-size: 17px; } .lst .acts { display: flex; gap: 8px; margin-top: 8px; } .lst .acts button { flex: 1; }
.pv .bigimg { width: 100%; aspect-ratio: 1; background: #f8fafc center/contain no-repeat; border-radius: 14px; margin-bottom: 10px; }
.pv .nm { font-size: 19px; font-weight: 700; line-height: 1.3; }
.pv .fav { float: right; border: 0; background: none; font-size: 28px; padding: 0 0 0 8px; }
.pv .units { display: grid; gap: 6px; margin: 10px 0; }
.pv .units label { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.pv .units label.on { border-color: var(--pri); background: #e0f2fe; }
.pv .units .p { margin-left: auto; text-align: right; font-weight: 700; } .pv .units small { display: block; font-weight: 400; color: var(--mut); }
.pv .qrow { display: flex; gap: 10px; align-items: center; margin-top: 10px; } .pv .qrow .qty { margin-left: 0; } .pv .qrow .pri { flex: 1; }
.qrbox { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; margin-top: 10px; }
.qrbox canvas { width: 240px; height: 240px; image-rendering: pixelated; }
.qrbox .acct { font-weight: 700; } .qrbox .warnacct { font-size: 13px; color: #92400e; }
.menu .in button { width: 100%; text-align: left; margin: 4px 0; padding: 14px; font-size: 18px; }
.menu .in button.mclose { text-align: center; margin-top: 14px; }
.menu .in button.mout { text-align: center; border: 0; background: none; color: var(--r); font-size: 15px; margin-top: 18px; padding: 8px; }
.empty { text-align: center; color: var(--mut); padding: 40px 20px; }

/* 1.0r คำใต้ไอคอนหน้าแรก (ผู้ใช้: 📋 = Order · ☰ = Menu) */
.top .ico.lab { display: flex; flex-direction: column; align-items: center; line-height: 1; padding: 4px 8px; }
.top .ico.lab small { font-size: 11px; font-weight: 600; margin-top: 3px; opacity: .95; }
/* 1.0r ขอใช้แต้มในหน้าตรวจรายการก่อนส่ง */
.redeem { background: #fff8e1; border: 1px solid #f5d77a; border-radius: 12px; padding: 8px 10px; margin-bottom: 8px; }
.redeem .rh { font-weight: 700; margin-bottom: 6px; }
.redeem .opts { display: flex; gap: 6px; flex-wrap: wrap; }
.redeem .opts button { flex: 1; min-width: 90px; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 8px 6px; font-size: 15px; }
.redeem .opts button.on { border-color: #d97706; background: #fde68a; font-weight: 700; }
.redeem .net { margin-top: 6px; font-size: 15px; }
.ord .rdm { background: #fff8e1; border-radius: 8px; padding: 4px 8px; margin: 6px 0; font-size: 14px; }

/* 1.0u เลือกวิธีรับสินค้า */
.ship { padding-bottom: 150px; }
.ship .opt { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 12px; margin: 8px 0; cursor: pointer; }
.ship .opt.on { border-color: var(--pri2); background: #eff9ff; }
.ship .opt .ic { font-size: 26px; line-height: 1; }
.ship .opt b { display: block; font-size: 17px; }
.ship .opt small { color: var(--mut); font-size: 14px; display: block; margin-top: 2px; }
.ship .det { background: #fff; border-radius: 14px; padding: 10px 12px; margin: 10px 0; border: 1px solid var(--line); }
.ship .det h4 { margin: 2px 0 6px; font-size: 16px; }
.ship .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 8px; }
.ship .fld { margin: 6px 0; } .ship .fld input, .ship .fld select { font-size: 17px; padding: 10px; width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.ship .fld span { font-size: 14px; } .ship .req { color: #dc2626; }
.ord .shipl { background: #f1f5f9; border-radius: 8px; padding: 4px 8px; margin: 6px 0; font-size: 14px; }
/* 1.0u หน้าสแกน: การ์ดสินค้า + บรรทัดใส่ตะกร้าแล้ว ย้ายขึ้นด้านบน (ผู้ใช้: ด้านล่างโดนแถบของ Safari บัง) · กรอบเล็งลงมากลางค่อนล่าง */
.camwrap .frame { top: auto; bottom: calc(190px + env(safe-area-inset-bottom)); height: 20%; }
.camcard { top: calc(48px + env(safe-area-inset-top)); bottom: auto; max-height: calc(100vh - 260px - env(safe-area-inset-bottom)); box-shadow: 0 4px 24px #0006; }
.camwrap .camlast { top: calc(48px + env(safe-area-inset-top)); bottom: auto; }
.cambar { bottom: calc(24px + env(safe-area-inset-bottom)); }

/* 1.0v ใบกำกับภาษี */
.ship .tax .chk { font-weight: 700; font-size: 17px; display: flex; gap: 8px; align-items: center; }
.ship .tax .chk input { width: 22px; height: 22px; }
.ship .seg2 { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 8px 0; font-size: 16px; }
.ship .seg2 input[type=text], .ship .seg2 input[inputmode] { width: 110px; font-size: 17px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; }
.ship textarea { width: 100%; font-size: 17px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
