/* เล่มแคตตาล็อกแบบใหม่ — หน้าตาตามเล่ม PDF 28-10-69 (17 พ.ย. 2026)
   ที่มา: design/mockup/book-pdf-style.html (สำรวจครบ 18 รูปแบบหน้า) · class ขึ้นต้น bp- ทั้งหมด (กันชน catalog.css)
   ขนาดทุกอย่างเป็น em ของแผ่น (font-size = 100cqw/65) → จอ/พิมพ์สัดส่วนเท่ากัน · มือถือแสดงเป็นหน้า A4 ย่อส่วนเหมือนคอม (เจ้าของสั่ง 17 พ.ย.) — ซูมด้วยนิ้ว
   ⚠ แก้ไฟล์นี้ = bump VERSION ใน sw.js */
.b2-sheet{--ink:#231F20;--red:#D22027;--yel:#FFF200;--band:#141714;--teal:#3591A4;--rowbg:#CCEFFC;--grey:#6F7D84;--navy:#1E2D3B;
  container-type:inline-size;scroll-margin-top:70px;margin:0 auto 18px;max-width:820px;color:var(--ink)}
.b2-sheet *,.b2-sheet *::before,.b2-sheet *::after{box-sizing:border-box}
.b2-sheet a{color:inherit;text-decoration:none}
.b2-sheet img{max-width:100%}
.b2-sheet h2,.b2-sheet h3,.b2-sheet h4{font-family:'Kanit',sans-serif;color:inherit;letter-spacing:0}
.bp-page{position:relative;width:100%;aspect-ratio:210/297;background:#fff;font-family:'Kanit',sans-serif;
  font-size:calc(100cqw / 65);line-height:1.45;display:flex;flex-direction:column;overflow:visible;
  box-shadow:0 1px 3px rgba(0,0,0,.12),0 8px 24px rgba(0,0,0,.08)}
.bp-topband{height:1.6em;background:var(--band);flex:none}
.bp-body{flex:1;min-height:0;display:flex;flex-direction:column}
.bp-pfoot{flex:none;height:5em;background:var(--band);color:#fff;display:flex;align-items:center;gap:1.4em;padding:0 2em}
.bp-pfoot .bp-no{font-size:2em;font-weight:500;line-height:1}
.bp-pfoot .bp-sep{color:#9aa0a0;font-weight:300}
.bp-pfoot .bp-tx{font-size:1.09em;font-weight:200;letter-spacing:.02em}
.bp-pfoot.bp-odd{justify-content:flex-end;padding:0 4em 0 2em}
.bp-bdg{display:inline-block;background:var(--yel);color:#000;font-weight:600;font-size:1.4em;line-height:1.25;padding:.32em .8em .28em;white-space:nowrap}
.bp-bdg .bp-r{color:var(--red);font-weight:600}
.bp-bdg .bp-t{color:#000}
.bp-vat{font-size:.82em;font-weight:300;color:var(--grey);letter-spacing:.04em;margin-left:1.4em;align-self:flex-start;padding-top:.15em}
.bp-vat.bp-has{color:var(--red);letter-spacing:0}
.bp-vat i{font-style:normal;font-family:'Sarabun',sans-serif;font-size:.85em;color:#2a7bd4;letter-spacing:0;white-space:nowrap}
.bp-foot{display:flex;align-items:flex-start;margin-top:.75em}
.bp-foot.bp-col{flex-direction:column;gap:.55em}
.bp-foot.bp-col .bp-vat{margin-left:0}
.bp-dx{color:var(--grey);font-size:.8em;margin-left:.3em}
.bp-grid6{flex:1;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(3,1fr);margin:0 5.4em}
.bp-card{display:block;text-decoration:none;color:inherit;padding:2.6em 1.6em 1em 2.1em;border-top:1px solid var(--ink);min-width:0}
.bp-card:nth-child(-n+2){border-top:0}
.bp-card:hover h3{color:var(--red)}
.bp-ph{height:10.6em;display:flex;align-items:center;justify-content:center}
.bp-ph img{max-height:100%;max-width:85%;object-fit:contain;display:block}
.bp-card h3{font-size:1.45em;font-weight:600;margin:.55em 0 .25em;line-height:1.25}
table.bp-opt{border-collapse:collapse;font-size:1em}
table.bp-opt th{font-weight:400;text-align:left;padding:0 1.6em .15em 0;font-size:.95em}
table.bp-opt th.bp-r{color:var(--red)}
table.bp-opt td{padding:.12em 1.6em .12em 0;font-weight:400;white-space:nowrap;vertical-align:baseline}
table.bp-opt td.bp-pr{color:var(--red);padding-right:0}
.bp-tp-head{display:flex;align-items:flex-start;flex-wrap:wrap;gap:.8em;padding:2.4em 2em 0 3.2em}
.bp-tp-head h2{font-size:1.6em;font-weight:500;margin:.2em 1em 0 0;line-height:1.3}
.bp-tp-head .bp-bdg{margin-top:.05em}
.bp-tp-head .bp-vat{margin-left:.2em}
.bp-tp-body{flex:1;display:flex;gap:.6em;padding:2em 2em 1.4em 2em;min-height:0}
.bp-tp-fig{flex:0 0 16.4em;margin:0;text-align:center}
.bp-tp-fig img{width:100%;display:block}
.bp-tp-fig figcaption{font-weight:600;font-size:1.4em;margin-top:.2em}
.bp-tp-scroll{flex:0 1 auto;min-width:0}
table.bp-big{border-collapse:separate;border-spacing:.11em;font-size:.93em;width:40.6em}
table.bp-big th{background:var(--teal);color:#fff;font-weight:500;font-size:1.08em;height:2.6em;padding:0 .6em;text-align:center}
table.bp-big td{background:var(--rowbg);padding:0 .55em;height:1.75em;line-height:1.75em;white-space:nowrap;font-weight:400}
table.bp-big td.bp-pr{color:var(--red);font-weight:600;text-align:right}
table.bp-big tbody tr:hover td{background:#b5e6f8}
.bp-hero{height:27em;flex:none;overflow:hidden}
.bp-hero img{width:100%;height:100%;object-fit:cover;display:block}
.bp-sec{display:flex;gap:2em;text-decoration:none;color:inherit;padding:1.5em 3em 0 2.1em;align-items:flex-start}
.bp-sec:hover h3{color:var(--red)}
.bp-sph{flex:0 0 20.5em;height:20em;display:flex;align-items:center;justify-content:center}
.bp-sph img{max-width:100%;max-height:100%;object-fit:contain;display:block}
.bp-stx{flex:1;min-width:0;padding-top:1.4em}
.bp-stx h3{font-size:1.45em;font-weight:600;margin:0 0 .1em;line-height:1.25}
.bp-stx .bp-desc{margin:0 0 .25em;font-weight:300;font-size:1.05em;line-height:1.3;color:#3a3536}
table.bp-sopt td{padding-right:1.4em}
hr.bp-rule{border:0;border-top:1px solid var(--ink);margin:1.4em 5em .2em}
.bp-ix-h{font-size:1.6em;font-weight:600;margin:0;padding:1.4em 2.2em .3em}
.bp-ix{display:grid;grid-template-columns:1fr 1fr;gap:0 2.6em;padding:0 2.2em 2em}
.bp-ix ul{list-style:none;margin:0;padding:0}
.bp-ix a{display:flex;justify-content:space-between;gap:1em;text-decoration:none;font-size:1.08em;font-weight:300;line-height:1.62;padding:0 .2em}
.bp-ix a b{font-weight:400;flex:none}
.bp-ix a[href^="#pg"] span{text-decoration:underline;text-decoration-color:#c9cfd4;text-underline-offset:.2em}
.bp-ix a:hover{background:#FFF9B0}
.bp-nogap .bp-body{padding:0}
.bp-red{color:var(--red);font-weight:500}
.bp-bdg.bp-deal{font-size:1.25em;margin-right:.6em}
.bp-nodb{display:inline-block;font-family:'Sarabun',sans-serif;font-size:.78em;color:#2a7bd4;margin:.2em 0}
.bp-scrollx{max-width:100%}
.bp-g3-head{display:flex;gap:2em;align-items:flex-start;padding:2.6em 3.4em 1em}
.bp-g3-head h2{font-size:1.55em;font-weight:600;margin:0}
.bp-g3-head p{margin:0;font-weight:300}
.bp-g3{display:grid;grid-template-columns:repeat(3,1fr);gap:3em 1.6em;padding:1em 3em}
.bp-c3{text-decoration:none;color:inherit}
.bp-ph3{height:9em;display:flex;align-items:center;justify-content:center}
.bp-ph3 img{max-height:100%;max-width:80%}
.bp-c3 h4{font-size:1.05em;font-weight:600;margin:.5em 0 .7em;line-height:1.3}
.bp-c3 p{margin:0 0 .6em;font-weight:400;line-height:1.75;font-size:1.02em}
.bp-c3 .bp-vat{margin-left:0}
.bp-lrs{padding:3em 4em 0 4em}
.bp-lr{display:flex;gap:2.5em;text-decoration:none;color:inherit;padding:1.6em 0;border-top:1px solid var(--ink);min-height:17em;align-items:center}
.bp-lr:first-child{border-top:0}
.bp-lr-ph{flex:0 0 17em;height:14em;display:flex;align-items:center;justify-content:center}
.bp-lr-ph img{max-width:100%;max-height:100%}
.bp-lr-tx h3{font-size:1.55em;font-weight:600;margin:0}
.bp-lr-tx .bp-sub{margin:0 0 .2em;font-weight:300}
.bp-lr-opts{display:flex;gap:1.8em;font-size:1.08em}
.bp-lr-opts div{display:grid;grid-template-columns:auto auto;gap:.15em 1em}
.bp-rps{display:flex;flex-direction:column;height:100%}
.bp-rp{flex:1;display:flex;text-decoration:none;color:inherit;min-height:0}
.bp-rp.bp-alt{background:#F4F4F4}
.bp-rp-mood{flex:0 0 17em;overflow:hidden}
.bp-rp-mood img{width:100%;height:100%;object-fit:cover;display:block}
.bp-rp-ph{flex:0 0 18em;display:flex;align-items:center;justify-content:center;padding:1.2em}
.bp-rp-ph img{max-width:100%;max-height:17em}
.bp-rp-tx{flex:1;padding:1.6em 1.2em 1em 0;display:flex;flex-direction:column;justify-content:center}
.bp-rp-tx h3{font-size:1.45em;font-weight:600;margin:0 0 .2em}
.bp-rp-tx table.bp-opt td{padding-right:1em}
.bp-sb{display:flex;height:100%}
.bp-sb-side{flex:0 0 13em}
.bp-sb-side img{width:100%;height:100%;object-fit:cover;display:block}
.bp-sb-main{flex:1;padding:2.4em 2.6em 0 3.2em;display:flex;flex-direction:column;gap:2.4em}
.bp-sb-blk{text-decoration:none;color:inherit}
.bp-sb-ph{height:14em;display:flex;align-items:center;justify-content:center;background:#FBFBFB}
.bp-sb-ph img{max-height:100%;max-width:100%}
.bp-sb-blk h3{font-size:1.5em;font-weight:600;margin:.4em 0 .3em}
table.bp-sbt{font-size:1.02em}
table.bp-sbt th{font-weight:600}
table.bp-sbt td{padding-right:1.4em}
.bp-pf-top{position:relative;height:42.5em;overflow:hidden}
.bp-pf-sun{position:absolute;right:-9em;top:-17em;width:40em;height:36em;border-radius:50%;background:#FFF200}
.bp-pf-promo{position:absolute;right:15.5em;top:1.6em;text-align:center;font-weight:700;line-height:1.05;color:#1a1a7a}
.bp-pf-promo span{display:block;font-size:2.2em}
.bp-pf-promo b{display:block;font-size:3.6em;color:var(--red)}
.bp-pf-apron{position:absolute;right:2em;top:1.2em;width:13.5em}
.bp-pf-box{position:absolute;left:3.4em;top:7em;width:31em}
.bp-pf-new{position:absolute;left:3.6em;top:30.5em;background:#E30613;color:#fff;font-weight:700;font-style:italic;font-size:1.5em;line-height:1;padding:.3em .9em;transform:skewX(-8deg)}
.bp-pf-tx{position:absolute;left:34em;top:18.4em;right:2em;text-decoration:none;color:inherit}
.bp-pf-tx h3{font-size:1.5em;font-weight:600;margin:0 0 .2em}
.bp-pf-tx p{margin:0;font-weight:300;line-height:1.6}
.bp-pf-tx .bp-foot .bp-vat{margin:0 .8em 0 0}
.bp-pf-mood{height:40.5em}
.bp-pf-mood img{width:100%;height:100%;object-fit:cover;display:block}
.bp-yt-head{display:flex;gap:2em;padding:2.4em 3.2em 1.4em;align-items:flex-start;flex-wrap:wrap}
.bp-yt-head h2{font-size:1.3em;font-weight:600;margin:.2em 3em 0 0}
.bp-yt-b p{margin:.4em 0 0;color:#2b3a8a;font-weight:600}
.bp-yt{display:flex;margin:1.6em 3.2em 3em;border:1.5px solid #222;text-decoration:none;color:inherit}
.bp-yt-ph{flex:0 0 18.5em;display:flex;align-items:center;justify-content:center;border-right:1.5px solid #222}
.bp-yt-ph img{max-width:90%}
.bp-ytab{border-collapse:collapse;width:100%;font-size:1.05em}
.bp-yt .bp-scrollx{flex:1}
.bp-ytab thead th{background:#F9BA09;font-size:1.5em;font-weight:600;border-bottom:1.5px solid #222;border-left:1.5px solid #222;line-height:1.3}
.bp-ytab thead tr:first-child th{border-left:0}
.bp-ytab td{text-align:center;border-bottom:1px dotted #777;border-left:1.5px solid #222;font-weight:600;height:2.05em}
.bp-ytab td:first-child{border-left:0}
.bp-ytab td.bp-pr{color:var(--red);text-align:right;padding-right:.4em;font-weight:700}
.bp-dl-head{display:flex;justify-content:space-between;padding:2.2em 3.4em 0 3.4em}
.bp-dl-head h2{font-size:2em;font-weight:300;margin:0 0 .2em}
.bp-dl-head h2 b{font-weight:600}
.bp-dl-head img{width:6em;margin-right:22em}
.bp-dls{display:grid;grid-template-columns:1fr 1fr;grid-auto-flow:row;gap:1em 3em;padding:1em 3.4em}
.bp-dl{text-decoration:none;color:inherit}
.bp-dl-ph{height:7em;display:flex;justify-content:center}
.bp-dl-ph img{max-height:100%}
.bp-dl h4{font-weight:400;font-size:1.05em;margin:.2em 0}
table.bp-dlt td{font-size:1em;padding:.05em 1.1em .05em 0}
.bp-dl .bp-vat{display:block;text-align:right;margin:0 2em 0 0}
.bp-dark{background:#13242B;color:#fff}
.bp-dark .bp-topband{background:#141714}
.bp-dk-head{display:flex;justify-content:space-between;padding:1.6em 3.6em 1em}
.bp-dk-head h2{font-size:2.6em;font-weight:600;line-height:1.2;margin:0}
.bp-dk-head img{width:7.4em;height:auto;align-self:flex-start}
.bp-dark .bp-vat.bp-has{font-size:.35em;vertical-align:middle}
.bp-dk-hero img{width:100%;display:block}
.bp-dk-tab{padding:2.4em 9em}
.bp-dk-tab table{border-collapse:collapse;font-size:1.55em;width:100%}
.bp-dk-tab th{text-align:left;font-weight:500;padding-bottom:.7em}
.bp-dk-tab th.bp-y,.bp-dk-tab td.bp-pr{color:#FFF200}
.bp-dk-tab td{padding:.12em 0;font-weight:300}
.bp-dk-tab .bp-nodb{color:#9cc8ff}
.bp-mx-h{font-size:1.55em;font-weight:600;padding:2.6em 4em 1em;margin:0}
.bp-mx{border-collapse:separate;border-spacing:1px;margin:1.6em 3.6em 0;width:calc(100% - 7.2em);font-size:1.02em}
.bp-mx tr.bp-im td{text-align:center;height:9em;vertical-align:bottom}
.bp-mx tr.bp-im img{max-height:8.4em;max-width:8em}
.bp-mx thead tr:last-child th{background:#3591A4;color:#fff;font-weight:500;height:2.6em}
.bp-mx tbody th{background:#E4F6FD;font-weight:600;height:2.6em}
.bp-mx td{background:#E4F6FD;text-align:center}
.bp-mx td.bp-pr{color:var(--red);font-weight:600}
.bp-mx td.bp-dc{color:#2b3a8a;font-weight:600}
.bp-mx tr.bp-hl th,.bp-mx tr.bp-hl td{background:#FFF782}
.bp-mx-n{padding:.6em 4em;color:var(--grey);font-size:.9em}
.bp-sp-h{font-size:1.5em;font-weight:600;padding:2.2em 4em .6em;margin:0}
.bp-spt{border-collapse:separate;border-spacing:1px;margin:0 3.6em;font-size:1em}
.bp-spt th{background:#3591A4;color:#fff;font-weight:500;padding:.3em 1.4em;font-size:.95em;line-height:1.2}
.bp-spt td{text-align:center;height:2.43em;padding:0 1.6em}
.bp-spt tr.bp-g0 td{background:#CCEFFC}
.bp-spt tr.bp-g1 td{background:#E4F6FD}
.bp-sp-n{padding:.8em 4em 0;color:var(--grey);font-size:.9em}
.bp-bs-wrap{position:relative;height:100%;overflow:hidden}
.bp-bs-diag{position:absolute;inset:0;background:linear-gradient(135deg,#D9D9D8 0 30%,#fff 30.2%)}
.bp-bs-pack{position:absolute;left:1.8em;top:1.4em;width:17.5em}
.bp-bs-title{position:absolute;left:9.2em;top:1.1em;font-size:2.1em;font-weight:600;letter-spacing:.03em}
.bp-bs-serie{position:absolute;right:.75em;top:.45em;font-size:4.4em;font-weight:300;letter-spacing:.05em;line-height:1}
.bp-bs-m{display:inline-block;background:#231F20;color:#fff;padding:0 .12em;margin-right:.08em;font-weight:500;clip-path:polygon(0 0,100% 0,100% 75%,0 100%)}
.bp-bs{position:absolute;text-decoration:none;color:inherit;width:27em}
.bp-bs img{position:absolute}
.bp-bs-tx{position:relative}
.bp-bs-tx h3{font-size:1.45em;font-weight:600;margin:0}
.bp-bs-tx p{margin:0;font-weight:400;line-height:1.55;font-size:.95em}
.bp-bs-a{right:3.4em;top:12em}
.bp-bs-a img{right:-1em;top:0;width:15em}
.bp-bs-a .bp-bs-tx{top:17em;left:2em;width:16em}
.bp-bs-b{left:12em;top:23em}
.bp-bs-b img{left:10em;top:0;width:13em}
.bp-bs-b .bp-bs-tx{top:19em;width:15em;left:0}
.bp-bs-c{left:12em;top:57em}
.bp-bs-c img{left:13em;top:0;width:10em}
.bp-bs-c .bp-bs-tx{top:7.5em;width:15em}
.bp-bs-d{right:3.4em;top:54em}
.bp-bs-d img{left:6em;top:0;width:16em}
.bp-bs-d .bp-bs-tx{top:10.5em;left:-.4em;width:15em}
.bp-sc-head{display:flex;justify-content:space-between;padding:2.6em 2.6em 0 3.4em}
.bp-sc-head h2{font-size:2.2em;font-weight:600;margin:0}
.bp-sc-price{background:#FFF200;padding:.5em 1em;display:flex;flex-direction:column;font-weight:600;font-size:1.6em;line-height:1.25}
.bp-sc-price b{color:var(--red)}
.bp-sc-mid{display:flex;justify-content:space-between;align-items:center;padding:0 3em 0 3.4em}
.bp-sc-mid img{width:30em}
.bp-sc-box{border:1.5px solid #3b3f6b;padding:.6em .8em}
.bp-sc-box h4{margin:0 0 .4em;font-weight:600;color:#2b3a8a}
.bp-sc-box em{font-style:normal;background:#FFF200;color:var(--red);padding:0 .3em}
.bp-sc-grid{margin:1em 2.6em;border:1.5px solid #3b3f6b;padding:1em}
.bp-sws{display:grid;gap:.9em .6em}
.bp-sws.bp-n9{grid-template-columns:repeat(9,1fr)}
.bp-sws.bp-n3{grid-template-columns:repeat(3,1fr)}
.bp-sws.bp-n6{grid-template-columns:repeat(6,1fr)}
.bp-sw{display:flex;flex-direction:column;align-items:center;text-align:center;font-size:.7em;line-height:1.2}
.bp-sw i{display:block;width:100%;aspect-ratio:1.55;border:1px solid #bbb;margin-bottom:.3em}
.bp-sw b{font-size:1.15em}
.bp-sw span{font-family:'Sarabun',sans-serif}
.bp-sc-row{display:flex;gap:1em;margin-top:1em}
.bp-sc-row .bp-sc-box:first-child{flex:0 0 33%}
.bp-sc-row .bp-sc-box{flex:1}
.bp-sc-n{padding:0 3em;color:var(--grey);font-size:.9em}
.bp-spg-head{display:flex;gap:1em;align-items:center;padding:2.4em 3em .8em}
.bp-spg-head h2{font-size:1.6em;font-weight:600;margin:0}
.bp-spg{margin:.6em 2.6em;border-top:1.1em solid #B69759}
.bp-spg-row{display:flex;border-bottom:1.1em solid #B69759;background:#F3F3F3}
.bp-spg-items{flex:1;display:grid;gap:2px;background:#fff}
.bp-spg-items.bp-n3{grid-template-columns:repeat(3,1fr)}
.bp-spg-items.bp-n4{grid-template-columns:repeat(4,1fr)}
.bp-spg-items.bp-n5{grid-template-columns:repeat(5,1fr)}
.bp-spg-items.bp-n2{grid-template-columns:repeat(2,1fr)}
.bp-spg-it{background:#EDEDED;padding:.5em .4em;display:flex;flex-direction:column;align-items:center;text-align:center}
.bp-spg-it img{height:5.4em;max-width:90%;object-fit:contain}
.bp-spg-it b{font-size:.95em;line-height:1.2;margin-top:.2em}
.bp-spg-it small{font-size:.75em;font-weight:500}
.bp-spg-pr{flex:0 0 11.5em;background:#fff;display:flex;flex-direction:column;justify-content:center;padding:.5em}
.bp-spg-pr span{background:#EC1C26;color:#fff;font-weight:600;font-size:1.25em;padding:.3em .5em 0}
.bp-spg-pr b{background:#EC1C26;color:#FFF200;font-size:2.4em;font-weight:700;padding:0 .2em .1em;line-height:1.1}
.bp-spg-pr small{font-weight:600;padding-top:.3em}
.bp-gold{background:linear-gradient(180deg,#13242B 0 12%,#2a2a1c 25%,#C6961F 60%,#F0E27C 100%)}
.bp-ps-head{display:flex;align-items:center;gap:1.6em;padding:1.6em 4em 1.2em;color:#fff}
.bp-ps-head img{width:6.4em}
.bp-ps-head h2{font-size:2.3em;font-weight:600;margin:0;line-height:1.2}
.bp-ps-head p{margin:.2em 0 0;color:#FFF200}
.bp-ps-cans{margin-left:auto;width:17em!important}
.bp-ps-vat{font-weight:600;font-size:1.2em}
.bp-ps-vat i{font-style:normal;font-size:.6em;color:#9cc8ff}
.bp-ps-card{background:#fff;margin:0 5.4em;padding:1em}
.bp-pst{border-collapse:collapse;width:100%;font-family:'Sarabun',sans-serif;font-size:.86em}
.bp-pst th{font-weight:600;border:1px solid #333;padding:.15em .4em;font-size:.95em}
.bp-pst td{border:1px solid #333;padding:0 .4em;text-align:right;height:1.82em;white-space:nowrap}
.bp-pst td.bp-nm{text-align:left;white-space:normal}
.bp-pst tr.bp-grp td{text-align:left;font-weight:600;background:#EEE;padding-left:4em}
.bp-ps-n{margin:.4em 5.4em;color:#333;font-size:.85em}
.bp-ct-top{text-align:right;font-weight:600;font-size:1.4em;padding:1.2em 4em 0}
.bp-ct-band{display:flex;align-items:center;gap:1.4em;padding:0 3.4em}
.bp-ct-band img{width:4.4em}
.bp-ct-band h2{flex:1;background:#52B0E6;margin:0;text-align:center;font-size:2.6em;font-weight:600;line-height:1.35}
.bp-ct-desc{padding:.4em 6em 0 9.4em;margin:0;font-weight:300;line-height:1.35;font-size:1.02em}
.bp-ctt{border-collapse:collapse;margin:.8em 0 0 12.6em;font-size:.92em}
.bp-ctt th{background:#52B0E6;border:1px solid #222;font-weight:600;padding:.1em .5em;line-height:1.2}
.bp-ctt td{border:1px solid #222;text-align:center;padding:0 .4em;height:2.18em;font-weight:600;white-space:nowrap}
.bp-ctt td.bp-ci{width:9em}
.bp-ctt td.bp-ci img{width:7.6em;display:block;margin:auto}
.bp-ctt td.bp-cn{width:8.5em;white-space:normal;line-height:1.25}
.bp-ctt td.bp-cp{text-align:right}
.bp-ct-f{padding:0 0 0 11.4em;gap:1em}
.bp-ct-f .bp-bdg{font-size:2em}
.bp-ct-v{padding:0 0 0 11.4em}
.bp-ct-v .bp-vat{margin:0}

/* ---- ส่วนเพิ่มของเว็บ (ไม่มีใน mockup) ---- */
.bp-page{overflow:hidden}
.bp-ask{color:#8A94A0;font-weight:400}
.bp-promo{display:inline-block;margin:.3em .4em 0 0;background:#FFF4D6;border:1px solid #FFD27A;color:#7A4F00;font-size:.85em;padding:.1em .6em}
.bp-badges{display:flex;flex-wrap:wrap;gap:.3em;margin:.2em 0}
.bp-badges span{font-size:.75em;font-weight:600;background:#1E2D3B;color:#fff;padding:.1em .6em;border-radius:.3em}
.bp-sw{display:inline-block;width:.9em;height:.9em;border:1px solid #bbb;vertical-align:-.1em;margin-right:.3em}
.bp-empty{flex:1;display:grid;place-items:center;color:#8A94A0;font-size:1.3em}
.bp-ph-none{width:60%;aspect-ratio:1;background:#F3F4F6}
.bp-note{margin:.4em 0 0;color:#2b3a8a;font-weight:600}
.bp-pg-head{display:flex;gap:1.4em;align-items:flex-start;flex-wrap:wrap;padding:2.4em 3.2em .6em}
.bp-pg-head h2{font-size:1.6em;font-weight:600;margin:.1em 1em 0 0;line-height:1.3}
.bp-deal{font-size:1.15em;margin-right:.6em}
.bp-cont{font-size:.7em;color:var(--grey);font-weight:400}
/* ปก · หน้าเปิดหมวด · ปกหลัง */
.bp-cover{flex:1;display:flex;flex-direction:column;justify-content:space-between;background:#1E2D3B;color:#fff;padding:6em 5em;position:relative;overflow:hidden}
.bp-cover>img.bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55}
.bp-cover>*{position:relative}
.bp-cover .logo{width:60%;background:#fff;padding:1em 1.4em;border-radius:.6em}
.bp-cover .big{font-size:3.4em;font-weight:700;line-height:1.1}
.bp-cover .big em{font-style:normal;color:#FFB400;display:block}
.bp-cover .sub{color:#C9D3DC;font-size:1.2em}
.bp-secpage{flex:1;display:flex;flex-direction:column;justify-content:center;gap:1em;background:#1E2D3B;color:#fff;padding:5em;position:relative;overflow:hidden}
.bp-secpage>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.5}
.bp-secpage>*:not(img){position:relative}
.bp-secpage h2{font-size:3em;margin:0}
.bp-ix4{display:grid;grid-template-columns:repeat(4,1fr);gap:0 1.6em;padding:.4em 2em 1.4em}
.bp-ix4 a{display:flex;justify-content:space-between;gap:.6em;font-size:.72em;font-weight:300;line-height:1.5}
.bp-ix4 a b{font-weight:400;flex:none}
.bp-ix4 a:hover{background:#FFF9B0}
@media print{.b2-sheet{max-width:none;margin:0}.bp-page{box-shadow:none}}
/* การ์ด: คอลัมน์/แถวตามจำนวนสินค้าในหน้า */
.bp-grid6{grid-template-columns:repeat(var(--cols,2),1fr);grid-template-rows:repeat(var(--rows,3),1fr)}
.bp-grid6.bp-c1 .bp-card:nth-child(2){border-top:1px solid var(--ink)}
.bp-grid6.bp-c3 .bp-card:nth-child(3){border-top:0}
.bp-card .bp-foot{flex-wrap:wrap;gap:.4em}
/* โชว์แบรนด์ (แบบทั่วไป) */
.bp-bsw{position:relative;flex:1;display:flex;flex-direction:column;background:linear-gradient(135deg,#D9D9D8 0 30%,#fff 30.2%)}
.bp-bsw-head{display:flex;align-items:center;gap:1.6em;padding:2em 3em 1em}
.bp-bsw-head img{width:12em}
.bp-bsw-head h2{font-size:2.6em;font-weight:500;margin:0;letter-spacing:.03em}
.bp-bsw-grid{flex:1;display:grid;grid-template-columns:1fr 1fr;gap:2em 3em;padding:1em 4em 2em;align-content:space-around}
.bp-bsw-ph{height:13em;display:flex;align-items:center;justify-content:center}
.bp-bsw-ph img{max-height:100%;max-width:90%;object-fit:contain}
.bp-bsw-it h3{font-size:1.4em;font-weight:600;margin:.4em 0 .1em}
.bp-bsw-it p{margin:0;line-height:1.55}
/* ทุกตัวเลขราคาในตารางให้ชิดขวาเหมือนเล่ม */
.bp-ytab td.bp-ask,table.bp-big td.bp-ask{text-align:right}
.bp-tp-two{gap:1em;padding-left:1.6em;padding-right:1.6em}
.bp-tp-two .bp-tp-scroll{flex:1}
.bp-tp-two table.bp-big{width:100%;font-size:.8em}
.bp-tp-two table.bp-big td{height:1.6em;line-height:1.6em}
/* ตารางหัวเหลือง: ตัวหนา/ใหญ่เหมือนเล่ม · หัวหน้า: ป้ายใหญ่ หมายเหตุน้ำเงิน */
.bp-yt{margin:1.1em 3.2em 1.6em}
.bp-ytab thead th{font-size:1.45em;font-weight:700}
.bp-ytab td{font-size:1.15em;font-weight:600}
.bp-ytab td.bp-pr{font-weight:700}
.bp-pg-head .bp-bdg{font-size:1.9em}
.bp-pg-head .bp-bdg.bp-deal{font-size:1.4em}
.bp-pg-head h2{font-size:1.35em}
.bp-note{font-size:1.15em}
.bp-body{overflow:hidden}
.bp-foot .bp-bdg{font-size:1.75em}
.bp-foot .bp-bdg.bp-deal{font-size:1.75em}
.bp-dk-tab{padding:2em 6em}
.bp-tp-body{flex:0 0 auto}
.bp-dk-two{display:grid;grid-template-columns:1fr 1fr;gap:0 2.4em}
.bp-dk-two table{font-size:1.1em}
/* จัดหน้าอิสระ (custom · App\Support\BookBlocks): กล่องวางตาม % ของแผ่น · ตัวหนังสือ em ของแผ่น */
.bp-cx{position:absolute;inset:0;z-index:1;overflow:hidden}
.bp-cx-dark{background:#1B2026;color:#fff}
.bp-page:has(.bp-cx) .bp-topband,.bp-page:has(.bp-cx) .bp-pfoot{position:relative;z-index:2}
.bp-page:has(.bp-cx) .bp-pfoot{margin-top:auto}
.bp-blk{position:absolute;overflow:hidden;min-width:0;font-size:calc(var(--fs,1) * 1em)}
.bp-blk a{color:inherit}
.bp-tx{white-space:normal;overflow-wrap:anywhere}
.bp-im img{width:100%;height:100%;display:block;max-width:none}
.bp-bg{display:flex;align-items:flex-start;overflow:visible}
.bp-bg .bp-bdg{font-size:1em}
.bp-pz{display:block;color:var(--red);white-space:nowrap;overflow:visible}
.bp-pz.bp-ask{color:var(--grey)}
.bp-cx-dark .bp-pz{color:#FFF200}
.bp-pd{overflow:visible;display:flex;flex-direction:column}
.bp-pd h3{font-size:1.25em;font-weight:600;margin:0 0 .2em;line-height:1.25}
.bp-pd-desc{margin:0 0 .3em;font-weight:300;font-size:.85em;line-height:1.35}
.bp-pd-ph{display:flex;justify-content:center;flex:1;min-height:0;margin-bottom:.3em}
.bp-pd-ph img{max-height:100%;object-fit:contain}
.bp-pd-t{border-collapse:collapse;width:100%}
.bp-pd-t th{font-weight:400;text-align:left;padding:0 .8em .1em 0;font-size:.95em;background:var(--hbg,transparent);color:var(--hc,inherit)}
.bp-pd-t th.bp-r{color:var(--hc,var(--red))}
.bp-pd-t td{padding:0 .8em 0 0;line-height:1.35;white-space:nowrap;background:var(--rbg,transparent)}
.bp-pd-t td.bp-pr{color:var(--pc,var(--red))}
.bp-pd-table .bp-pd-t th{border-bottom:1px solid currentColor}
.bp-cx-dark .bp-pd-t td.bp-pr{color:var(--pc,#FFF200)}
.bp-pd .bp-foot{margin-top:.35em}
/* ตารางไขว้ของสินค้า 1 ตัว (_vmatrix) */
.bp-vmx{border-collapse:separate;border-spacing:1px;width:100%;font-size:.95em;margin:0 0 .8em}
.bp-vmx thead th{background:var(--mxh,#3591A4);color:#fff;font-weight:500;padding:.25em .4em;line-height:1.2;text-align:center}
.bp-vmx tbody th{background:var(--mxr,#E4F6FD);font-weight:600;padding:0 .5em;text-align:left;white-space:nowrap}
.bp-vmx td{background:var(--mxr,#E4F6FD);text-align:right;padding:.12em .45em;white-space:nowrap;line-height:1.3}
.bp-vmx td.bp-pr{color:var(--red);font-weight:600}
.bp-vmx td.bp-ask{color:var(--grey)}
.bp-vmx .bp-dx{display:block;font-size:.75em}
.bp-cx-dark .bp-vmx thead th{background:#FFF200;color:#000}
.bp-cx-dark .bp-vmx tbody th,.bp-cx-dark .bp-vmx td{background:rgba(255,255,255,.92);color:#111}
.bp-vmx-wrap{padding:0 3.4em .6em}
.bp-vmx-wrap .bp-tp-head{padding:0;margin:.8em 0 .5em}
.bp-vmx-body{display:flex;gap:1.4em;align-items:flex-start}
.bp-vmx-body .bp-tp-fig{flex:0 0 14em;margin:0}
.bp-vmx-tabs{flex:1;min-width:0}
.bp-dk-mx{display:block;margin-top:.4em}
.bp-dk-mx .bp-vmx{font-size:1.1em}
.bp-dark .bp-vmx tbody th{color:#111}
/* โปสเตอร์: ภาพตัดจากเล่มสูงไม่เกิน 40% ของแผ่น ให้ตารางราคาตัวใหญ่แบบเล่ม */
.bp-dk-hero img{max-height:36em;object-fit:cover}
.bp-dk-tab{padding:1.6em 3.6em}
.bp-dk-mx .bp-vmx{font-size:1.32em}
.bp-dk-mx .bp-vmx thead th{font-size:.8em}
/* หน้าแบรนด์: แถบหัวจากเล่ม (ภาพตัด) + รูปสินค้าใหญ่ตามจำนวน */
.bp-bsw-ban img{width:100%;display:block}
.bp-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.bp-bsw-n1 .bp-bsw-ph,.bp-bsw-n2 .bp-bsw-ph{height:26em}
.bp-bsw-n3 .bp-bsw-ph,.bp-bsw-n4 .bp-bsw-ph{height:17em}
.bp-bsw-n1{grid-template-columns:1fr}
.bp-bsw-ph img{max-width:100%}
.bp-yt-multi{display:grid;grid-template-columns:1fr 1fr;gap:.3em;align-content:center}
.bp-yt-multi img{max-height:5.5em;object-fit:contain}
/* ขนาดตัวอักษรเทียบเล่ม PDF (ชื่อสินค้า 15pt ≈ 1.64em · แถวราคา 10pt ≈ 1.09em ของแผ่น) — แผ่นที่ล้นจะถูกย่อด้วย _fit */
.bp-card h3{font-size:1.62em}
table.bp-opt{font-size:1.09em}
.bp-pd-lines .bp-pd-t td{white-space:normal}
/* ชื่อตัวเลือกยาว: ตัดบรรทัดในช่องขนาด ราคาไม่หลุดขอบหน้า (17 พ.ย.) */
table.bp-opt td:first-child{white-space:normal;overflow-wrap:anywhere}
table.bp-opt td.bp-pr,table.bp-opt td.bp-ask{white-space:nowrap}
.bp-card{overflow:hidden}
/* iPhone Safari ขยายตัวหนังสือเล็กเอง (text autosizing) → ตารางล้นหน้า · ล็อกขนาดตามแผ่น (17 พ.ย.) */
.b2-sheet,.b2-sheet *{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.bp-vmx-body .bp-tp-fig.bp-sm{flex:0 0 9em}
.bp-pd{overflow:hidden}
.bp-pd h3{font-size:1.3em}
.bp-pd-lines .bp-pd-t td{line-height:1.3}
/* ชิ้นส่วนที่หลังบ้านปรับ (params.el · App\Support\BookElements → <style> ของแผ่น) — ตอน _fit วัดล้น ไม่นับการเลื่อน/ย่อขยาย */
.bp-elmeasure [data-el]{translate:none!important;scale:none!important}

/* ── Type scale by role (23 Nov 2026 · measured from PDF 28-10-69: all Kanit, A4 595pt; 1em here = 595/65 ≈ 9.15pt) ──
   Every template uses the same values for the same role. Change it here only (owner: "fonts and sizes at each spot must match, like a template")
   name 15pt Medium · description 10pt ExtraLight · code 11pt Regular · rows 10pt Regular (red price) · badge 12pt Medium · NO-VAT 9pt ExtraLight */
.b2-sheet{--t-name:1.64em;--t-desc:1.09em;--t-code:1.2em;--t-row:1.09em;--t-badge:1.31em;--t-vat:.98em;--t-head:1.09em}
.bp-card h3,.bp-stx h3,.bp-rp-tx h3,.bp-sb-blk h3,.bp-pd h3,.bp-lr h3,.bp-g3 h3{font-size:var(--t-name);font-weight:500;line-height:1.3}
.bp-desc,.bp-pd-desc{font-size:var(--t-desc);font-weight:200;line-height:1.3;color:var(--ink)}
table.bp-opt,table.bp-pd-t{font-size:var(--t-row)}
table.bp-opt th,table.bp-pd-t th{font-size:1em;font-weight:400}
table.bp-opt td,table.bp-pd-t td{font-weight:400}
td.bp-code{font-size:1.1em;padding-right:1.2em}
.bp-bdg{font-size:var(--t-badge);font-weight:500}
.bp-bdg .bp-r{font-weight:500}
.bp-vat{font-size:var(--t-vat);font-weight:200}
/* Replica page (laid out like the PDF, every piece a layer · 23 Nov): one line, exact position, never shrunk by _fit */
.bp-blk.bp-nw{white-space:nowrap;overflow:visible;overflow-wrap:normal}
.bp-disc .bp-r{color:var(--red);font-weight:inherit}
/* The whole book is one long page (300 sheets, replica pages with hundreds of layers each) -> the browser lays out only sheets near the screen */
@media screen{.b2-sheet{content-visibility:auto;contain-intrinsic-size:auto 1160px}}
.bp-blk.bp-fitw{width:auto!important;display:flex;align-items:center;justify-content:center;padding:0 .35em;white-space:nowrap}
