/* ==========================================================================================
   HOME THEME — every inner page wears the same clothes as the homepage
   ------------------------------------------------------------------------------------------
   The homepage (site/index.html) is the demo build: charcoal #0E1116, hazard yellow #FFC400,
   Archivo Black headings, yellow primary buttons. The inner pages were a light retail theme
   with an orange accent, which read as a different website. These rules bring the inner pages
   onto the homepage's palette without touching the layout.

   Kept as an override layer on purpose: the original light rules above still define spacing and
   grid, so this block only repaints. Delete the block to go back to the light theme.
   ========================================================================================== */

:root{
  --paper:#0e1116; --paper2:#151b22; --paper3:#1b232c; --paper4:#101519;
  --edge:#232c36; --edge2:#313d4a;
  --text:#e9eef4; --text2:#c3ccd6; --text3:#98a4b0;
  --yellow:#ffc400; --yellow-d:#e0ab00;
  --steel:#0e1116; --steel2:#161b22; --steel3:#1d242c; --haz:#ffc400; --haz-d:#e0ab00;
  --head:'Archivo Black',Inter,system-ui,sans-serif;
  --body:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
  --price:'Archivo Black',Inter,system-ui,sans-serif;
}

/* ---------------------------------------------------------------- page + type */
body{background:var(--paper);color:var(--text);font-family:var(--body)}
h1,h2,h3,h4,.sec{font-family:var(--head);font-weight:400;color:#fff;letter-spacing:-.01em}
h1{font-size:clamp(1.9rem,3.6vw,2.9rem);line-height:1.05;margin:0 0 14px}
h2{font-size:clamp(1.4rem,2.4vw,2rem);line-height:1.15;margin:0 0 12px}
h3{font-size:1.06rem;line-height:1.3;margin:0 0 8px}
.lede,.muted,.meta,.hint,.sub{color:var(--text3)}
.lede{font-size:1.05rem;color:var(--text2)}
.crumbs{color:var(--text3);font-size:.82rem}
.crumbs a{color:var(--text3)}
.crumbs a:hover{color:var(--yellow)}
p a:not(.btn),.prose a:not(.btn){color:var(--yellow);border-bottom:1px solid rgba(255,196,0,.35)}
p a:not(.btn):hover,.prose a:not(.btn):hover{border-color:var(--yellow)}
code{background:#0b0f14;border:1px solid var(--edge);border-radius:6px;padding:2px 6px;
     color:var(--yellow);font-family:var(--mono);font-size:.86em}
strong,b{color:#fff}
hr{border:0;border-top:1px solid var(--edge)}

/* ---------------------------------------------------------------- header (home bar) */
header.top{background:rgba(14,17,22,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--edge)}
.mark{background:var(--yellow);color:#111;font-family:var(--head);border-radius:4px}
.brandtext{color:#fff}.brandtext small{color:var(--text3)}
nav a{color:var(--text2)}
nav a:hover{color:var(--yellow);border-color:var(--yellow)}
.haz.top{background:repeating-linear-gradient(135deg,var(--yellow) 0 14px,#14181c 14px 28px);opacity:.5}

/* ---------------------------------------------------------------- buttons
   Yellow = do this (WhatsApp / order). Outline = the rest. Shopee stays recognisable but
   steps back so it never competes with the yellow primary action. */
.btn{background:var(--paper3);border-color:var(--edge2);color:var(--text);border-radius:6px}
.btn:hover{background:#273140;color:#fff}
.btn.wa,.btn.order{background:var(--yellow);border-color:var(--yellow);color:#111}
.btn.wa:hover,.btn.order:hover{background:var(--yellow-d);border-color:var(--yellow-d);color:#111}
.btn.ghost{background:transparent;color:var(--text);border-color:var(--edge2)}
.btn.ghost:hover{background:var(--text);color:#111}
.btn.shopee{background:transparent;border-color:#5d3a2b;color:#ff8a5c}
.btn.shopee:hover{background:#ee4d2d;border-color:#ee4d2d;color:#fff}
.linkmore{color:var(--yellow)}
.cmpbtn,.cmpbtn-inline{border-color:var(--edge2)}

/* ---------------------------------------------------------------- blocks, cards, panels */
.blk{background:transparent}
.blk,.band{border-color:var(--edge)}
.blk+.blk{border-top:1px solid var(--edge)}
.blk:nth-of-type(even){background:var(--paper4)}
.sec+.lede,.section-head p{color:var(--text3)}
.card,.cardwrap,.pdp .card,.compare,.cmp,.note,.payrow,.ref,.oferr{
  background:var(--paper2);border:1px solid var(--edge);border-radius:10px}
.cardwrap a:hover,.card:hover{border-color:var(--yellow)}
.note,.hint{color:var(--text2)}
.cardwrap,.cardwrap img{background:var(--paper2)}
.badge,.chip,.tagnow,.ph,.sku{
  background:var(--paper3);border:1px solid var(--edge);color:var(--text2);border-radius:999px}
.tagnow{background:var(--yellow);border-color:var(--yellow);color:#111;font-weight:700}
.badge.out{background:transparent;color:var(--text3)}
.price{color:var(--yellow);font-family:var(--price);font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.price.big{color:var(--yellow);font-family:var(--price);font-weight:400;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.save{color:#8fd79a}
.stockline{color:#8fd79a}
.stockline.ask{color:var(--yellow)}
.stockline:before{background:#8fd79a}
.stockline.ask:before{background:var(--yellow)}
.fcount,.meta,.capnote{color:var(--text3)}
.filters,.filters a,.scrollx{color:var(--text2)}
.filters a{border-color:var(--edge2)}
.filters a:hover,.filters a.here{background:var(--yellow);border-color:var(--yellow);color:#111}
.thumbs .thumb,.thumbs img{border-color:var(--edge);background:#fff}
.thumbs .thumb:hover{border-color:var(--yellow)}
.thumbs .thumb.ti{border-color:var(--yellow)}
.gal img,.ph img{background:#fff}

/* ---------------------------------------------------------------- tables (specs, options) */
.specs,.variants{background:var(--paper2);border:1px solid var(--edge);border-radius:10px;
                 overflow:hidden;color:var(--text2)}
.specs th,.variants th{background:var(--paper3);color:#fff;border-color:var(--edge)}
.specs td,.variants td{border-color:var(--edge);color:var(--text2)}
.specs tr:nth-child(even) td,.variants tr:nth-child(even) td{background:#121821}
.specs a,.variants a{color:var(--yellow)}
.vart{background:var(--paper3);color:var(--text2)}

/* ---------------------------------------------------------------- forms (order page) */
input,textarea,select{background:#0b0f14;border:1.5px solid var(--edge2);color:var(--text);
                      border-radius:10px}
input:focus,textarea:focus,select:focus{border-color:var(--yellow);outline:none}
input::placeholder,textarea::placeholder{color:#6d7987}
select{background-image:none}
.ofield label{color:#fff}
.steps li{color:var(--text2)}
.steps li:before{background:var(--yellow);color:#111}
.ref{background:#12201a;border-color:#2c4a37;color:#9fe0b0}
.wafter .btn{color:var(--text)}
.paypage .floatwa,.orderpage .floatwa{display:none}
.orderpage .floatwa{display:none}

/* ---------------------------------------------------------------- payment + footer */
.payrow b,.payrow span{color:var(--text2)}
.payrow img{border:1px solid var(--edge);border-radius:12px}
footer{background:#0a0e12;border-top:1px solid var(--edge);color:var(--text2)}
footer h4{color:#fff}
footer a{color:var(--text3)}
footer a:hover{color:var(--yellow)}
footer .legal,footer .muted{color:#7c8794}
.floatwa{background:var(--yellow);color:#111;border:1px solid var(--yellow);box-shadow:0 8px 24px rgba(0,0,0,.45)}
.floatwa:hover{background:var(--yellow-d);border-color:var(--yellow-d);color:#111}

/* ---------------------------------------------------------------- photo panels
   Product photography arrives on a white canvas; on a dark page a bare white rectangle reads as
   a hole. Frame it so the photo looks deliberate, and keep the thumbnails on the same canvas. */
.pdp .ph,.gal,.ph,.hero-photo{background:#151b22;border:1px solid var(--edge);border-radius:14px;padding:10px}
.thumbs .thumb,.thumbs a{background:#151b22;border:1px solid var(--edge);border-radius:10px;padding:4px}
.thumbs .thumb:hover{border-color:var(--yellow)}
.thumbs .thumb.ti{border-color:var(--yellow);box-shadow:0 0 0 1px var(--yellow)}
.thumbs .thumb img,.gal img{background:#fff;border-radius:8px}

/* ---------------------------------------------------------------- phone: no sideways scrolling
   A five-column comparison table has a min-content width of ~560px, and a grid item defaults to
   min-width:auto, so on a 390px phone the whole product page stretched to 586px and the headline
   and price got clipped. Let the columns shrink and let a wide table scroll inside its own box. */
@media (max-width:1040px){
  .pdp{grid-template-columns:minmax(0,1fr)}
  .pdp>*{min-width:0}
  .specs,.variants,.compare,.cmp,table.vart{display:block;overflow-x:auto;max-width:100%}
  .specs tr,.variants tr,.compare tr{min-width:0}
  .thumbs{flex-wrap:wrap}
}
html,body{max-width:100%;overflow-x:hidden}

/* ---------------------------------------------------------------- header: keep it uncrowded
   Six category links plus two buttons in one bar wrapped onto two lines on a laptop. Shorten
   the set, stop the wrapping, and let spacing tighten before anything breaks. */
header.top nav{flex-wrap:nowrap;gap:18px}
header.top nav a{white-space:nowrap}
.bar{flex-wrap:nowrap}
.bar .brandtext{white-space:nowrap}
@media (max-width:1000px){header.top nav{gap:13px}header.top nav a{font-size:.72rem;letter-spacing:.06em}}
@media (max-width:860px){header.top nav a:nth-child(n+5){display:none}}

/* inner header: the two buttons squeezed their labels onto two lines around 1000-1100px and got
   clipped below that -- never wrap a button, drop items in stages instead */
.bar .btn{white-space:nowrap}
/* measured: the Shopee button ran 150px past the edge at 1000px (clipped, unclickable) and the
   WhatsApp button did the same at 390 -- drop items before they ever reach the edge */
@media (max-width:1140px){.bar .brandtext small{display:none}.bar a.shopee{display:none}}
@media (max-width:1040px){.bar nav{gap:14px}.bar nav a{font-size:.72rem;letter-spacing:.06em}}
@media (max-width:900px){.bar nav a:nth-child(n+4){display:none}}
@media (max-width:820px){.bar .brandtext{display:none}}
@media (max-width:640px){
  .bar{flex-wrap:wrap;row-gap:10px}
  .bar nav{display:flex;order:9;width:100%;margin-top:8px;gap:14px;overflow-x:auto;
           padding-bottom:2px;scrollbar-width:none}
  .bar nav::-webkit-scrollbar{display:none}
  .bar nav a{font-size:.7rem}
  /* owner, 2026-10-05 (「cart 放最右边」): on a wrapping header the cart was squeezed between the
     logo and the WhatsApp button — pin it to the right edge of the top row instead, and give the
     WhatsApp button its own row under the nav. */
  .bar .btn.cart{order:2;margin-left:auto}
  .bar .btn.wa{order:10;flex:1 1 100%;width:100%;justify-content:center;margin-top:2px}
}

/* ---------------------------------------------------------------- cart + buy box
   Dark surface, yellow primary action — the same language as the rest of the site. */
.btn.cart{gap:6px}
.cartn{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;
  background:#ffc400;color:#111;font:700 11.5px/1 inherit}
.cartn.empty{background:#2a333d;color:#93a1b0}
/* Buy box: one decision per line. Labels above their controls, the price gets its own line,
   and there is exactly one primary button. */
.buybox{margin:18px 0 10px;padding:20px 20px 16px;border:1px solid #263140;border-radius:16px;
  background:linear-gradient(180deg,#141b24 0%,#111821 100%)}
.buybox .bbfield{margin:0 0 4px}
.buybox .bbfield label{display:block;font:700 11.5px/1 inherit;letter-spacing:.12em;text-transform:uppercase;
  color:#8f9dab;margin:0 0 8px}
.buybox input[type=number]{width:100%;padding:12px 14px;border-radius:11px;
  border:1.5px solid #313d4a;background:#0b0f14;color:#e9eef4;font:inherit;font-size:15px}
.buybox input:focus{outline:none;border-color:#ffc400}
/* option pills — pick one like on Shopee: name on top, that option's own price under it */
.buybox .bbopts{display:flex;flex-wrap:wrap;gap:10px}
.buybox .bbopt{display:flex;flex-direction:column;gap:3px;align-items:flex-start;min-width:118px;
  padding:10px 14px;border:1.5px solid #313d4a;border-radius:12px;background:#0b0f14;color:#cfd8e2;
  font:inherit;font-size:14px;cursor:pointer;text-align:left;transition:border-color .15s,color .15s,background .15s}
.buybox .bbopt .n{font-weight:600;line-height:1.25}
.buybox .bbopt .p{font:700 13px/1.2 Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums;color:#8f9dab}
.buybox .bbopt:hover{border-color:#4a5a6b;color:#fff}
.buybox .bbopt.on{border-color:#ffc400;background:rgba(255,196,0,.08);color:#fff}
.buybox .bbopt.on .p{color:#ffc400}
.buybox .bbopt:focus-visible{outline:2px solid #ffc400;outline-offset:2px}
.buybox .bbrow{display:flex;gap:22px;align-items:flex-end;flex-wrap:wrap;margin:16px 0 0}
.buybox .bbqn{flex:0 0 96px;margin:0}
.buybox .bbunit{flex:1 1 190px;min-width:0;padding-bottom:2px}
.buybox .bbunitprice{display:block;font:400 30px/1.1 var(--price);color:#ffc400;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.buybox .bbstock{display:inline-block;margin-top:6px;font-size:13px;color:#8fd79b}
.buybox .bbstock.ask{color:#ffc46b}
.buybox .bbfoot{margin:12px 0 0;font:400 12.5px/1.4 inherit;color:#7f8d9b;min-height:16px}
.buybox .bbacts{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0 0}
.buybox .bbadd{flex:1 1 200px}
.buybox .bbbuy{flex:0 0 auto}
.buybox .bbnote{margin:14px 0 0;padding-top:13px;border-top:1px solid #222c37;font-size:12.5px;color:#7f8d9b;line-height:1.5}
.cta.secondary{margin-top:14px;gap:8px;align-items:center}
.cta.secondary .btn{font-size:13.5px;padding:10px 14px}
.carttable{width:100%;border-collapse:collapse;margin:8px 0 18px}
.carttable th{text-align:left;font-size:12px;letter-spacing:.09em;text-transform:uppercase;color:#8f9dab;
  padding:8px 10px;border-bottom:1px solid #232c36}
.carttable td{padding:12px 10px;border-bottom:1px solid #1b222b;vertical-align:middle}
.carttable .ci{display:flex;gap:12px;align-items:center}
.carttable .ci img{width:64px;height:64px;object-fit:contain;background:#fff;border:1px solid #2a333d;border-radius:10px}
.carttable .ci b{display:block;font-size:14.5px}
.carttable .ci .opt{display:block;color:#cfd8e2;font-size:13px}
.carttable .ci .muted{font-size:12px}
.carttable .price,.carttable .line{font:700 15px/1.2 Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap}
.carttable .line{color:#ffc400}
.carttable .qty{white-space:nowrap}
.carttable .qty input{width:52px;text-align:center;padding:7px 4px;border-radius:8px;border:1.5px solid #313d4a;
  background:#0b0f14;color:#e9eef4;font:inherit;margin:0 4px}
.carttable .qty button{width:30px;height:32px;border-radius:8px;border:1.5px solid #313d4a;background:#151b22;
  color:#e9eef4;font-size:15px;cursor:pointer}
.carttable .rmv{background:none;border:0;color:#ff9b9b;font:inherit;font-size:13px;cursor:pointer;text-decoration:underline}
.cartsum{border:1px solid #232c36;border-radius:14px;background:#121821;padding:16px;max-width:620px}
.cartsum-row{display:flex;justify-content:space-between;align-items:baseline;font-size:15px;margin:0 0 8px}
.cartsum-row b{color:#ffc400;font:400 24px/1 var(--price);font-variant-numeric:tabular-nums;letter-spacing:-.01em}
/* courier vs self pickup — chosen in the cart (owner, 2026-10-04); self pickup carries no shipping */
.shipchoice{display:flex;flex-direction:column;gap:8px;margin:0 0 14px;padding:0 0 14px;border-bottom:1px solid var(--edge)}
.shipchoice .sc-h{font:600 12px/1 var(--body);letter-spacing:.06em;text-transform:uppercase;color:var(--text3)}
.shipchoice .sc-opt{display:flex;flex-direction:column;align-items:flex-start;gap:3px;width:100%;text-align:left;
  padding:11px 13px;border:1px solid var(--edge);border-radius:11px;background:var(--paper2);color:var(--text);
  font:600 14.5px/1.3 var(--body);cursor:pointer}
.shipchoice .sc-opt:hover{border-color:var(--edge2)}
.shipchoice .sc-opt .sc-note{font:400 12.5px/1.35 var(--body);color:var(--text3)}
.shipchoice .sc-opt.on{border-color:var(--yellow);box-shadow:0 0 0 1px var(--yellow);background:var(--paper3)}
.shipchoice .sc-opt.on b{color:var(--yellow)}
.cartsum-row.ship b{font-size:19px}
.cartacts{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:8px}
.cartempty{max-width:560px}
.phh-toast{position:fixed;left:50%;bottom:26px;transform:translate(-50%,140%);background:#ffc400;color:#111;
  font:700 14px/1.3 inherit;padding:12px 18px;border-radius:999px;z-index:60;transition:transform .25s ease;
  box-shadow:0 10px 30px rgba(0,0,0,.45);max-width:92vw;text-align:center}
.phh-toast.on{transform:translate(-50%,0)}
@media (max-width:700px){
  .carttable thead{display:none}
  .carttable tr{display:grid;grid-template-columns:1fr auto;gap:6px 10px;padding:12px 0;border-bottom:1px solid #1b222b}
  .carttable td{border:0;padding:0}
  .carttable .ci{grid-column:1/-1}
}

/* Product page layout: gallery + buy box on top (buy box has a sane fixed width), then the
   tables span the full page width instead of squeezing into the right column and leaving the
   whole left half empty. */
.pdp{grid-template-columns:minmax(0,1fr) minmax(0,430px);gap:30px;align-items:start;margin:10px 0 30px}
.pd-details{margin:0 0 30px}
.pd-top{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:26px;align-items:start}
.pd-top>.pd-col{min-width:0}
.pd-top>.pd-col>.specs{margin-top:0}
.pd-top>.pd-col>.variants{margin-top:22px}
.pd-details>.compare{margin-top:26px}
@media(max-width:1000px){.pd-top{grid-template-columns:minmax(0,1fr)}.pd-details>.compare{margin-top:20px}}

/* Photos are no longer forced into a square canvas: the frame follows each photo's own shape so
   the product fills it (owner: "没有放满整个相框"). Tall shots get a height cap so one portrait
   picture cannot push the buy box off the screen. */
.pdp .gal .main{width:fit-content;max-width:100%;margin:0 auto;background:#fff;padding:0}
.pdp .gal .main img{display:block}
.pdp .gal .main img{aspect-ratio:auto;width:auto;height:auto;max-width:100%;
  max-height:min(80vh,860px);object-fit:contain}
.cardwrap img,.cbody img{object-fit:cover}

/* the photo sits right against the frame — no dark ring, no white ring (owner: "贴着整个框") */
.pdp .gal{padding:0;overflow:hidden}
.pdp .gal .main{border:0;border-radius:0}
.pdp .gal .main img{border-radius:0}

/* Quantity stepper — used on every width (Shopee has one too). */
.stepper{display:inline-flex;align-items:center;border:1.5px solid #313d4a;border-radius:11px;
  overflow:hidden;background:#0b0f14}
.stepper input,#buyqty{width:64px;height:46px;border:0;border-radius:0;background:transparent;
  text-align:center;color:#e9eef4;font:600 15px/1 Inter,system-ui,sans-serif}
.stepper .stp{width:44px;height:46px;border:0;background:#141b24;color:#e9eef4;font-size:20px;
  line-height:1;cursor:pointer}
.stepper .stp:hover{background:#1d2733;color:#fff}
.mbar{display:none}
.galcount{display:none}
.gal .main{position:relative}

/* ---------------------------------------------------------------- phone: product page like Shopee
   Big swipeable photo with a counter, price right under it, then the title, the option chips, the
   quantity stepper, and a sticky Chat / Add to cart / Buy now bar. Colours stay the shop's own. */
@media(max-width:820px){
  body.page-pdp{padding-bottom:78px}
  body.page-pdp .floatwa{display:none}          /* the sticky bar carries the chat button instead */
  /* body is a grid, so its column sized itself to the widest content (the 560px comparison table)
     and the whole page came out 610px wide on a 390px phone. Pin the column to the viewport and
     let the inner scroll boxes do the scrolling. */
  body.page-pdp{grid-template-columns:minmax(0,1fr)}
  body.page-pdp main.wrap,body.page-pdp .pdp,body.page-pdp .info,body.page-pdp .gal,body.page-pdp .pd-details,body.page-pdp .pd-top,
  body.page-pdp .pd-top>*{min-width:0;max-width:100%}
  body.page-pdp .compare,body.page-pdp .compare .scrollx,body.page-pdp .scrollx{max-width:100%;overflow-x:auto}
  body.page-pdp .pdp{display:flex;flex-direction:column;gap:0;margin:0 0 18px}
  body.page-pdp .pdp .gal{order:-1;border:0;border-radius:0;padding:0;background:#fff;
    width:100vw;max-width:none;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);
    margin-bottom:14px}
  body.page-pdp .pdp .gal .main{width:100%;margin:0;border:0;border-radius:0}
  body.page-pdp .pdp .gal .main img{width:100%;height:auto;max-height:none;border-radius:0}
  body.page-pdp .galcount{display:block;position:absolute;right:14px;bottom:14px;
    background:rgba(14,17,22,.72);color:#fff;font:600 12px/1 Inter,system-ui,sans-serif;
    padding:5px 10px;border-radius:20px}
  body.page-pdp .pdp .gal .thumbs{margin:10px 24px 0}
  /* phone: .info stops being a box so every block is one flex item and the order can be set */
  body.page-pdp .pdp .info{display:contents}
  body.page-pdp .pdp .desc{order:9}
  body.page-pdp .pdp .buywrap{order:8}
  body.page-pdp .pdp .info .price.big{order:1;font-size:2.1rem;margin:2px 0}
  body.page-pdp .pdp .info .save{order:2;margin:0 0 10px}
  body.page-pdp .pdp .info h1{order:3;font-size:1.45rem;line-height:1.22;margin:8px 0}
  body.page-pdp .pdp .info .stockline{order:4;margin:0 0 14px}
  body.page-pdp .pdp .info .buybox{order:5}
  body.page-pdp .pdp .info .cta.secondary{order:6;margin-top:12px}
  .buybox .bbopt{flex:1 1 44%;min-width:0}
  .buybox .bbacts{display:grid;grid-template-columns:1fr;gap:8px}
  .buybox .bbadd,.buybox .bbbuy{width:100%;padding:15px 16px;font-size:15px}
  .mbar{display:flex;gap:8px;align-items:center;position:fixed;left:0;right:0;bottom:0;z-index:70;
    padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:#0E1116;
    border-top:1px solid #232c36;box-shadow:0 -8px 24px rgba(0,0,0,.45)}
  .mbar a,.mbar button{display:flex;align-items:center;justify-content:center;height:48px;
    border-radius:11px;font:700 14.5px/1 Inter,system-ui,sans-serif;text-decoration:none;
    cursor:pointer;border:1.5px solid transparent}
  .mbar-chat{flex:0 0 auto;padding:0 14px;border-color:#313d4a;color:#e9eef4;background:#141b24}
  .mbar-add{flex:1 1 0;background:#141b24;border-color:#ffc400;color:#ffc400}
  .mbar-buy{flex:1 1 0;background:#ffc400;color:#111;border-color:#ffc400}
}

/* On a phone the floating chat bubble sat on top of the footer text (owner sent a screenshot) and
   the header already carries a WhatsApp button, so it is simply not shown below 820px. Product
   pages have the sticky bar's Chat button instead. */
@media(max-width:820px){
  .floatwa,#waBtn,#waFloat{display:none}
}

/* ---------------------------------------------------------------- Shopee-style bits (all widths
   where it makes sense, phone rules at the bottom) */
.priceline{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.priceline .price.big{margin:0}
.sold{font-size:13px;color:#8f9dab;white-space:nowrap}
.shiprow{display:flex;align-items:center;gap:10px;margin:10px 0 4px;padding:11px 14px;
  border:1px solid #263140;border-radius:12px;background:#121821;color:#cfd8e2;
  font-size:13.5px;text-decoration:none}
.shiprow .ic{font-size:15px;line-height:1}
.shiprow .tx{flex:1 1 auto;min-width:0}
.shiprow .cv{color:#8f9dab;font-size:19px;line-height:1}
.shiprow:hover{border-color:#3b4a5c;color:#fff}
.shiprow.ask .tx{color:#ffc46b}
.pdsec{margin:0}
.pdsec>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;
  font:400 17px/1.3 'Archivo Black',Inter,system-ui,sans-serif;color:#fff;padding:10px 0;
  list-style:none}
.pdsec>summary::-webkit-details-marker{display:none}
.pdsec>summary::after{content:'⌄';color:#8f9dab;font:400 20px/1 Inter,system-ui,sans-serif}
.pdsec[open]>summary::after{content:'⌃'}
.pdsec[open]>summary{margin-bottom:2px}
.bbopt .bt{display:none}

@media(max-width:820px){
  /* variation picker: a swipeable row of photo tiles, exactly like Shopee's "size" row */
  .priceline{margin:0 0 2px}
  .priceline .price.big{font-size:2rem}
  .sold{font-size:12.5px}
  .buybox .bbopts{flex-wrap:nowrap;overflow-x:auto;gap:10px;padding:2px 0 12px;
    -webkit-overflow-scrolling:touch}
  .buybox .bbopt{flex:0 0 92px;padding:0 0 8px;overflow:hidden;align-items:center;text-align:center}
  .buybox .bbopt .bt{display:block;width:100%;height:88px;object-fit:cover;background:#fff;
    border-bottom:1px solid #263140}
  .buybox .bbopt .n{font-size:12px;padding:7px 6px 0;white-space:nowrap;overflow:hidden;
    text-overflow:ellipsis;max-width:100%}
  .buybox .bbopt .p{font-size:12px;padding:0 6px}
  .buybox .bbopt.on{box-shadow:0 0 0 1px #ffc400 inset}
  /* sticky bar: two tones + icons, like Shopee's Chat / Add to Cart | Buy Now */
  .mbar{gap:0;padding:0;border-top:1px solid #232c36;background:#0E1116;
    padding-bottom:env(safe-area-inset-bottom)}
  .mbar a,.mbar button{height:56px;border-radius:0;border:0;flex-direction:column;gap:3px;
    font:600 11.5px/1 Inter,system-ui,sans-serif}
  .mbar svg{display:block}
  .mbar-chat{flex:0 0 24%;background:#141b24;color:#cfd8e2;border-right:1px solid #232c36 !important}
  .mbar-add{flex:0 0 36%;background:#141b24;color:#cfd8e2;border-right:1px solid #232c36 !important}
  .mbar-buy{flex:1 1 auto;background:#ffc400;color:#111;font-size:15px;
    font-family:'Archivo Black',Inter,system-ui,sans-serif}
  .mbar-chat:hover,.mbar-add:hover{color:#fff}
}

/* Grouped options: a long mixed list (Motor Hoist / Crane / …) reads as labelled sections. */
.bbgroup{margin:0 0 14px}
.bbgroup:last-child{margin-bottom:0}
.bblbl{display:block;font:700 11.5px/1 Inter,system-ui,sans-serif;letter-spacing:.1em;
  text-transform:uppercase;color:#8f9dab;margin:0 0 8px}
@media(max-width:820px){
  .bblbl{margin:0 0 6px}
  .bbgroup{margin-bottom:10px}
}

/* Photo a bit smaller, and the option/buy panel sits under the photos (owner, 2026-10-01). */
.pdp{grid-template-columns:minmax(0,500px) minmax(0,1fr);gap:30px}
.buywrap{grid-column:1 / -1;margin:0 0 28px}
.buywrap .buybox{max-width:none;margin:0;padding:20px;display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,360px);gap:12px 30px;align-items:start}
.buywrap .buybox [data-optrow]{grid-column:1;grid-row:2 / span 3;margin:0}
.buywrap .buybox .bbrow{grid-column:2;grid-row:2;margin:0}
.buywrap .buybox .bbfoot{grid-column:2;grid-row:3;margin:0}
.buywrap .buybox .bbacts{grid-column:2;grid-row:4;margin:0}
.buywrap .buybox .bbnote{grid-column:1 / -1;grid-row:5;margin:14px 0 0}
.buywrap .buybox .smart{grid-row:1}   /* the suggestion sits above the variations */
@media(max-width:1000px){
  .pdp{grid-template-columns:minmax(0,1fr)}
  .buywrap .buybox{display:block;margin:0}
  .buywrap .buybox .bbrow,.buywrap .buybox .bbfoot,.buywrap .buybox .bbacts{margin-top:14px}
}
@media(max-width:820px){
  /* the full-bleed photo was eating the whole screen on a phone — cap it, keep it edge to edge */
  body.page-pdp .pdp .gal .main img{max-height:min(58vh,420px);object-fit:contain;background:#fff}
  body.page-pdp .pdp .gal .thumbs{margin-top:8px}
  .buywrap{margin-bottom:18px}
}

/* "Product details" sits in the space beside the photo, under the CTA row. */
.info .desc{margin:22px 0 0;max-width:62ch}
.info .desc h2{font-size:1.05rem;margin:0 0 8px}
@media(max-width:1000px){.info .desc{margin:20px 0 0}}

/* ------------------------------------------------------------------ phone: everything smaller
   The owner: 「电话版的太大了全部东西」. Measured before: title 23px, price block 145px tall,
   option tiles 140px tall, page 9423px long — plus .buywrap was never pinned so the option strip
   (1562px) widened the whole page and the phone could scroll sideways. */
@media(max-width:820px){
  body.page-pdp{font-size:13.5px}
  body.page-pdp .buywrap{min-width:0;max-width:100%;overflow:hidden}
  body.page-pdp .buywrap .bbopts{overflow-x:auto;max-width:100%}
  /* photo */
  body.page-pdp .pdp .gal{margin-bottom:10px}
  body.page-pdp .pdp .gal .main img{max-height:min(46vh,330px)}
  body.page-pdp .galcount{right:10px;bottom:10px;font-size:11px;padding:4px 8px}
  body.page-pdp .pdp .gal .thumbs{margin:8px 14px 0;gap:6px}
  body.page-pdp .pdp .gal .thumbs img{width:48px;height:48px}
  /* price / title / delivery */
  body.page-pdp .pdp .info h1{font-size:1.06rem;line-height:1.26;margin:6px 0}
  body.page-pdp .pdp .info .price.big{font-size:1.5rem}
  .priceline{gap:8px;margin:0}
  .priceline .price.big{font-size:1.5rem}
  .sold{font-size:11px}
  .save{font-size:11.5px;line-height:1.45}
  body.page-pdp .pdp .info .save{margin:0 0 7px}
  .shiprow{margin:7px 0 2px;padding:8px 10px;font-size:12px;gap:7px}
  .shiprow .cv{font-size:16px}
  /* phone: the long "Ask about this on WhatsApp" label does not fit in a half-width 40px button —
     it wrapped to three lines and spilled outside the box. One full-width row per button instead. */
  .cta.secondary{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;margin-top:9px}
  .cta.secondary a,.cta.secondary button{height:auto;min-height:40px;font-size:12.5px;
    padding:9px 12px;line-height:1.3;white-space:normal;text-align:center;justify-content:center}
  /* option picker: a swipe row of small tiles */
  .bbgroup{margin:0 0 8px}
  .bblbl{font-size:10.5px;margin:0 0 5px;letter-spacing:.08em}
  .buybox{padding:12px !important}
  .buybox .bbopts{gap:7px;padding:1px 0 8px}
  .buybox .bbopt{flex:0 0 68px;padding:0 0 5px}
  .buybox .bbopt .bt{height:54px}
  .buybox .bbopt .n{font-size:10px;padding:4px 3px 0;line-height:1.15;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal}
  .buybox .bbopt .p{font-size:10px;padding:1px 3px 0;font-weight:700}
  .buywrap .buybox .bbrow,.buywrap .buybox .bbfoot,.buywrap .buybox .bbacts{margin-top:9px}
  .buywrap{margin-bottom:12px}
  .buybox .bbadd,.buybox .bbbuy{padding:12px 14px;font-size:13.5px}
  .buybox .bbqty,.buybox .stepper{height:38px}
  /* sections, tables, details */
  .pdsec>summary{font-size:14px;padding:8px 0}
  .pdsec>summary::after{font-size:16px}
  .specs th,.specs td{font-size:12px;padding:5px 6px}
  .info .desc{margin:10px 0 0;font-size:12.5px;line-height:1.55}
  .info .desc h2{font-size:.94rem;margin:0 0 5px}
  .desc p{margin:0 0 7px;font-size:12.5px;line-height:1.55}
  .pd-top{padding:0}
  .buybox .bbnote{font-size:11px;margin-top:9px !important}
  /* sticky bar a touch shorter */
  .mbar a,.mbar button{height:50px;font-size:10.5px}
  .mbar-buy{font-size:13.5px}
  /* section spacing */
  .pdp{margin:0 0 12px}
  .pdsec,.pd-details section{margin-bottom:10px}
}

/* phone density pass 2 — the lower half of the page: cards, tables, footer (owner: 「全部东西」太大) */
@media(max-width:820px){
  .buybox .bbopt{flex:0 0 62px}
  .buybox .bbopt .bt{height:46px}
  .crumbs{font-size:11.5px;padding:8px 0}
  /* two product cards per row, compact */
  .grid{grid-template-columns:1fr 1fr !important;gap:10px}
  .card .cbody{padding:8px}
  .card .cbody h3{font-size:.8rem;line-height:1.25;margin:0 0 4px}
  .card .price{font-size:.84rem}
  .card .meta{font-size:.64rem;gap:4px;flex-wrap:wrap}
  .card .badge{padding:2px 5px}
  .section-head h2,.blk h2,h2{font-size:1.02rem}
  .blk p,.blk li,.blk{font-size:12.5px;line-height:1.6}
  .blk{padding:14px}
  .specs th,.specs td,.variants th,.variants td,.vt th,.vt td{font-size:11.5px;padding:3px 6px}
  .compare .scrollx table th,.compare .scrollx table td{font-size:11px;padding:3px 5px}
  /* footer link lists go two-up */
  footer .cols,footer .links{display:grid;grid-template-columns:1fr 1fr;gap:8px 14px}
  footer a,footer p,footer li,footer .wrap{font-size:11.5px;line-height:1.7}
}
@media(max-width:820px){
  .vart th,.vart td{font-size:11.5px;padding:3px 6px}
  .variants h2{font-size:.95rem;margin:0 0 6px}
  .variants ul{margin:.3em 0;padding-left:1.1em;font-size:12.5px}
  .blk{padding:12px 10px}
}
@media(max-width:820px){
  /* the 23-row options table was 1576px on a phone: drop the Stock/SKU columns (the SKU is shown
     in the buy panel as soon as you pick an option) so each row stays one line */
  .vart th:nth-child(3),.vart td:nth-child(3),.vart th:nth-child(4),.vart td:nth-child(4){display:none}
  .vart th,.vart td{font-size:12px;padding:4px 4px}
  .variants{margin-top:4px}
  .variants p.muted{font-size:11px;margin:6px 0 0}
  /* thumbnails stay on one swipeable row, like Shopee */
  body.page-pdp .pdp .gal .thumbs{flex-wrap:nowrap;overflow-x:auto;gap:6px}
  /* …and they are SQUARE. The row is a scroller, so the tiles must not shrink: without `flex:0 0 auto`
     ten photos squeeze themselves into the 390px row, the img keeps its 48px height while the global
     `max-width:100%` clamps its width to the shrunken box → tall rounded rectangles with a cropped
     photo (owner, 2026-10-04: 「电话版 product page 那些小照片改成正方形」). Pin tile and photo. */
  body.page-pdp .pdp .gal .thumbs>*{flex:0 0 auto;width:58px;height:58px;display:flex;
    align-items:center;justify-content:center}
  body.page-pdp .pdp .gal .thumbs img{width:48px;height:48px;max-width:none;object-fit:contain}
  /* tighter buy panel */
  .buybox .bbrow{gap:6px}
  .buybox .bbfoot{font-size:11.5px}
  .buybox .bbacts{gap:7px}
  .buybox .bbnote{line-height:1.5}
  .buybox .pricebig,.buybox .bbprice{font-size:22px}
}

/* ------------------------------------------------------------------ smart suggestion (variation area)
   Owner: 加一个 smart suggestion 问顾客 要吊多高、多重、工作时间多长，再推荐选哪一个. */
.buybox .smart{grid-column:1 / -1;margin:0 0 16px;padding:14px;border:1px solid #263140;
  border-radius:12px;background:#101720}
.buybox .smart .smhead{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin:0 0 10px}
.buybox .smart .smhead b{color:#fff;font-size:14px}
.buybox .smart .smhead span{color:#8f9dab;font-size:12px}
.buybox .smart .smq{margin:0 0 9px}
.buybox .smart .sml{display:block;color:#a9b6c3;font-size:12px;margin:0 0 5px}
.buybox .smart .smchips{display:flex;flex-wrap:wrap;gap:6px}
.buybox .smart .smchip{border:1.5px solid #313d4a;background:#141b24;color:#cfd8e2;
  border-radius:9px;padding:6px 10px;font:600 12px/1 Inter,system-ui,sans-serif;cursor:pointer}
.buybox .smart .smchip:hover{border-color:#4b5b6e;color:#fff}
.buybox .smart .smchip.on{border-color:#ffc400;background:#241f0c;color:#ffc400}
.buybox .smart .smout{margin-top:10px}
.buybox .smart .smhint{color:#7b8794;font-size:11.5px}
.buybox .smart .smrec{color:#fff;font-size:13px;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.buybox .smart .smrec b{font-size:14.5px}
.buybox .smart .smsug{background:#ffc400;color:#111;border-radius:5px;padding:2px 6px;
  font:700 10.5px/1 Inter,system-ui,sans-serif;letter-spacing:.04em;text-transform:uppercase}
.buybox .smart .smsku{color:#8f9dab;font-size:11.5px}
.buybox .smart .smwhy{color:#9fb0c0;font-size:11.5px;line-height:1.5;margin:5px 0 9px}
.buybox .smart .smuse{border:0;border-radius:9px;background:#ffc400;color:#111;cursor:pointer;
  padding:9px 14px;font:800 12.5px/1 Inter,system-ui,sans-serif}
.buybox .smart .smalts{color:#7b8794;font-size:11px;margin-top:9px}
.buybox .smart .smalt-b{margin:0 6px 0 0;border:1px dashed #3a4756;background:transparent;
  color:#b9c6d3;border-radius:8px;padding:5px 8px;font:600 11px/1 Inter,system-ui,sans-serif;cursor:pointer}
.buybox .smart .smalt-b:hover{border-color:#ffc400;color:#ffc400}
.buybox .smart .smnote{color:#7b8794;font-size:11px;margin-top:8px}
.buybox .smart .smno{color:#ffb4a2;font-size:12px;line-height:1.5}
.buybox .smart a{color:#ffc400}
@media(max-width:820px){
  .buybox .smart{padding:10px;margin-bottom:11px}
  .buybox .smart .smhead{margin-bottom:7px}
  .buybox .smart .smq{margin-bottom:7px}
  .buybox .smart .smchip{padding:5px 8px;font-size:11px}
  .buybox .smart .smrec{font-size:12px}
  .buybox .smart .smrec b{font-size:13px}
}
.buybox .smart .smlim{color:#ffb4a2;font-size:10px;text-transform:uppercase;letter-spacing:.04em}
.buybox .smart .smq .smhint{margin-top:5px;font-size:11px;line-height:1.45;color:#7b8794}
.buybox .smart .smi{display:inline-flex;align-items:center;justify-content:center;
  width:14px;height:14px;margin-left:5px;border-radius:50%;border:1px solid #8f9dab;color:#8f9dab;
  font:700 9.5px/1 Inter,system-ui,sans-serif;font-style:normal;vertical-align:1px}
.buybox .smart .smtip{display:block;color:#7b8794;font-size:11px;line-height:1.45;margin:4px 0 0}
.buybox .smart .smfacts{margin:12px 0 0;padding-top:10px;border-top:1px solid #263140;color:#7b8794;
  font-size:11px;line-height:1.55}
.buybox .smart .smfacts b{color:#a9b6c3}
@media(max-width:820px){
  .buybox .smart .smtip{font-size:10.5px}
  .buybox .smart .smfacts{font-size:10.5px;margin-top:9px;padding-top:8px}
}

/* Smart suggestion: a size up (owner, 2026-10-02 「这个字体稍微大一点」). */
.buybox .smart .smhead b{font-size:16px}
.buybox .smart .smhead span{font-size:13.5px}
.buybox .smart .sml{font-size:14px;margin-bottom:7px}
.buybox .smart .smi{width:16px;height:16px;font-size:11px;margin-left:6px;vertical-align:0}
.buybox .smart .smtip{font-size:12.5px;margin-top:5px}
.buybox .smart .smchip{padding:8px 12px;font-size:13.5px;border-radius:10px}
.buybox .smart .smq{margin-bottom:12px}
.buybox .smart .smrec{font-size:14px}
.buybox .smart .smrec b{font-size:16px}
.buybox .smart .smsug{font-size:11.5px;padding:3px 7px}
.buybox .smart .smsku{font-size:12.5px}
.buybox .smart .smwhy{font-size:13px;line-height:1.55;margin:6px 0 11px}
.buybox .smart .smuse{padding:11px 17px;font-size:14px;border-radius:10px}
.buybox .smart .smalt-b{padding:6px 10px;font-size:12.5px}
.buybox .smart .smalts,.buybox .smart .smnote{font-size:12.5px}
.buybox .smart .smno{font-size:13px}
.buybox .smart .smhint{font-size:12.5px}
.buybox .smart .smfacts{font-size:12.5px;line-height:1.6}
@media(max-width:820px){
  .buybox .smart .smhead b{font-size:14.5px}
  .buybox .smart .smhead span{font-size:12px}
  .buybox .smart .sml{font-size:12.5px}
  .buybox .smart .smtip{font-size:11px}
  .buybox .smart .smchip{padding:6px 9px;font-size:12px}
  .buybox .smart .smrec{font-size:12.5px}
  .buybox .smart .smrec b{font-size:14px}
  .buybox .smart .smwhy{font-size:11.5px}
  .buybox .smart .smuse{padding:9px 14px;font-size:12.5px}
  .buybox .smart .smfacts{font-size:11px}
  .buybox .smart .smalt-b{font-size:11.5px}
}
.buybox .smart .smtier{display:inline-block;border:1px solid #ffc400;color:#ffc400;
  border-radius:6px;padding:2px 8px;font:700 11.5px/1.3 Inter,system-ui,sans-serif;
  letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}
@media(max-width:820px){.buybox .smart .smtier{font-size:10.5px;padding:2px 6px}}

/* "PLEASE READ BEFORE BUY" modal — wall-mount crane hoist page only (owner, 2026-10-02) */
.mread{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;
  padding:18px}
.mread[hidden]{display:none}
.mread-bg{position:absolute;inset:0;background:rgba(6,8,11,.72)}
.mread-card{position:relative;z-index:1;width:100%;max-width:600px;max-height:86vh;overflow:auto;
  background:#141b24;border:1px solid #2b3745;border-radius:16px;padding:22px 22px 18px;
  box-shadow:0 24px 60px rgba(0,0,0,.6)}
.mread-card h2{margin:0 0 14px;font-family:'Archivo Black',Inter,system-ui,sans-serif;font-size:1.15rem;
  letter-spacing:.02em;color:#ffc400;text-transform:uppercase}
.mread-card ol{margin:0 0 16px;padding-left:1.2em;color:#dfe7ef;font-size:14px;line-height:1.6}
.mread-card li{margin:0 0 10px;padding-left:2px}
.mread-card li::marker{color:#ffc400;font-weight:800}
.mread-ok{display:block;width:100%;border:0;border-radius:11px;background:#ffc400;color:#111;
  cursor:pointer;padding:13px 16px;font:800 15px/1 Inter,system-ui,sans-serif}
.mread-ok:hover{filter:brightness(1.05)}
@media(max-width:820px){
  .mread{padding:12px;align-items:flex-start;padding-top:26px}
  .mread-card{padding:18px 16px 14px;max-height:84vh}
  .mread-card h2{font-size:1rem}
  .mread-card ol{font-size:13px;line-height:1.55}
  .mread-card li{margin-bottom:9px}
}
.mread-again{display:flex;align-items:center;gap:8px;margin:0 0 12px;color:#aebbc8;
  font-size:13px;cursor:pointer;user-select:none}
.mread-again input{width:16px;height:16px;accent-color:#ffc400;cursor:pointer;flex:0 0 auto}
.buybox .smart .smfit{margin:8px 0 0;color:#9fb0c0;font-size:12.5px;line-height:1.5}
.buybox .smart .smfit b{color:#cfd8e2}
@media(max-width:820px){.buybox .smart .smfit{font-size:11.5px}}
.buybox .smart .smbox{margin:0 0 9px;padding:10px 12px;border:1px dashed rgba(255,196,0,.55);
  border-radius:10px;background:#121821}
.buybox .smart .smcrane{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.buybox .smart .smsug2{background:#ffc400;color:#111;border-radius:5px;padding:2px 6px;
  font:700 10.5px/1 Inter,system-ui,sans-serif;letter-spacing:.04em;text-transform:uppercase}
.buybox .smart .smcrane b{color:#fff;font-size:14px}
.buybox .smart .smcprice{color:#ffc400;font-weight:800;font-size:14px}
.buybox .smart .smaddc{margin-left:auto;border:1.5px solid #ffc400;background:transparent;color:#ffc400;
  border-radius:9px;padding:7px 11px;font:700 12.5px/1 Inter,system-ui,sans-serif;cursor:pointer}
.buybox .smart .smaddc:hover{background:#ffc400;color:#111}
@media(max-width:820px){
  .buybox .smart .smcrane{gap:6px;padding:8px 9px;margin-top:9px}
  .buybox .smart .smcrane b,.buybox .smart .smcprice{font-size:12.5px}
  .buybox .smart .smaddc{margin-left:0;width:100%;text-align:center;padding:8px 11px;font-size:12px}
}
/* the crane-fits note is a full-width line inside the Suggested Crane box */
.buybox .smart .smcrane .smfit{flex:1 1 100%;margin:6px 0 0}
.buybox .smart .smcrane .smfit b{color:#cfd8e2}
.buybox .smart .smcrane{display:block}
.buybox .smart .smcmax{color:#7b8794;font-size:11.5px;margin-left:6px}
.buybox .smart .smcrow{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:7px 0;
  border-top:1px solid #1d2632;margin-top:6px}
.buybox .smart .smcrow:first-of-type{border-top:0;margin-top:4px}
.buybox .smart .smcrow b{color:#fff;font-size:13.5px}
.buybox .smart .smcrow .smaddc{margin-left:auto}
@media(max-width:820px){
  .buybox .smart .smcrow{padding:6px 0}
  .buybox .smart .smcrow b,.buybox .smart .smcrow .smcprice{font-size:12.5px}
  .buybox .smart .smcrow .smaddc{margin-left:0;width:100%;text-align:center;padding:7px 10px;font-size:11.5px}
}
/* both suggestion labels must be exactly the same size (owner, 2026-10-02) */
.buybox .smart .smsug,.buybox .smart .smsug2{display:inline-block;background:#ffc400;color:#111;
  border-radius:5px;padding:3px 7px;font:800 11px/1 Inter,system-ui,sans-serif;
  letter-spacing:.04em;text-transform:uppercase;vertical-align:1px}
/* ⓘ next to "double line" — tap it and the single/double picture pops up (owner, 2026-10-02) */
/* the ⓘ after "double line X kg": one clean circle, hover shows the picture */
.buybox .smart .smi-pic{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;
  min-width:16px;margin-left:6px;border-radius:50%;border:1.5px solid #ffc400;color:#ffc400;
  cursor:help;font:800 10.5px/1 Inter,system-ui,sans-serif;font-style:normal;vertical-align:-2px}
.buybox .smart .smi-pic::after{content:'i'}
.buybox .smart .smi-pic:hover{background:#ffc400;color:#111}
.smov{position:fixed;inset:0;z-index:300;display:flex;align-items:center;justify-content:center;padding:16px}
.smov[hidden]{display:none}
.smov-bg{position:absolute;inset:0;background:rgba(6,8,11,.78)}
.smov-card{position:relative;z-index:1;width:100%;max-width:620px;max-height:88vh;overflow:auto;
  background:#141b24;border:1px solid #2b3745;border-radius:16px;padding:14px}
.smov-card img{display:block;width:100%;height:auto;border-radius:10px;background:#fff}
.smov-cap{color:#cfd8e2;font-size:13px;line-height:1.55;margin:11px 2px 12px}
.smov-cap b{color:#ffc400}
.smov-x{display:block;width:100%;border:0;border-radius:11px;background:#ffc400;color:#111;
  cursor:pointer;padding:12px 14px;font:800 14px/1 Inter,system-ui,sans-serif}
@media(max-width:820px){
  .smov{align-items:flex-start;padding:14px;padding-top:22px}
  .smov-cap{font-size:12px}
}


/* ---- /cart/ action row: four buttons, one size, Checkout on the far right (owner, 2026-10-02) */
.cartacts{display:flex;gap:10px;flex-wrap:wrap;align-items:stretch}
.cartacts .btn{flex:0 0 auto;width:186px;min-width:186px;height:48px;padding:0 12px;display:inline-flex;align-items:center;
  justify-content:center;font:700 13px/1 Archivo,system-ui,sans-serif;letter-spacing:.05em;
  text-transform:uppercase;border-radius:8px;border:1.5px solid var(--edge2);background:var(--paper3);
  color:var(--text);cursor:pointer;text-decoration:none}
.cartacts .btn.ghost{background:transparent;color:var(--text)}
.cartacts .btn.ghost:hover{background:var(--text);color:#111}
.cartacts .btn.btn-y,.cartacts .btn.wa,.cartacts .btn.order{background:var(--yellow);border-color:var(--yellow);
  color:#111}
.cartacts .btn.btn-y:hover{background:var(--yellow-d);border-color:var(--yellow-d);color:#111}
.cartacts .btn.btn-y{margin-left:auto}                     /* Checkout sits at the far right */
@media(max-width:700px){.cartacts .btn{min-width:0;width:100%}.cartacts .btn.btn-y{margin-left:0}}

/* ------------------------------------------------------------------ model picker (product pages)
   cart.js builds .phh-pick when Add to cart / Buy now is pressed; the homepage carries its own copy
   of these rules inline (build_home_demo.PICK_CSS) because the demo does not link this stylesheet.
   Owner, 2026-10-05: 「产品页面那个 add to cart 也要弹 variation 出来给顾客选择」. */
.phh-pick{position:fixed;inset:0;z-index:400;display:grid;place-items:center;padding:18px;
  background:rgba(4,6,9,.76);backdrop-filter:blur(3px)}
.phh-pick[hidden]{display:none}
.phh-pick .pp-box{width:100%;max-width:460px;max-height:86vh;overflow:auto;background:var(--paper2);
  border:1px solid var(--edge);border-radius:14px;padding:18px;box-shadow:0 30px 70px rgba(0,0,0,.55)}
.phh-pick h3{margin:0 0 4px;font-family:var(--head);font-size:19px;line-height:1.25;color:var(--text)}
.phh-pick .pp-sub{margin:0 0 14px;color:var(--text3);font-size:13px}
.phh-pick .pp-opt{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;
  margin:0 0 8px;padding:12px 14px;border:1px solid var(--edge);border-radius:10px;background:var(--paper4);
  color:var(--text);font:600 14.5px/1.3 var(--body);cursor:pointer;text-align:left}
.phh-pick .pp-opt:hover{border-color:var(--yellow)}
.phh-pick .pp-opt.on{border-color:var(--yellow);box-shadow:0 0 0 1px var(--yellow)}
.phh-pick .pp-opt b{color:var(--yellow);font-variant-numeric:tabular-nums;white-space:nowrap}
.phh-pick .pp-opt .pp-out{display:block;margin-top:3px;color:var(--text3);font-weight:400;font-size:12.5px}
.phh-pick .pp-acts{display:flex;gap:12px;align-items:center;margin-top:14px}
.phh-pick .pp-add{flex:1;background:var(--yellow);border:0;border-radius:10px;padding:13px 16px;
  color:#111;font:800 15px/1 var(--body);cursor:pointer}
.phh-pick .pp-cancel{background:none;border:0;color:var(--text3);font:600 13.5px/1 var(--body);
  cursor:pointer;text-decoration:underline}
@media(max-width:520px){.phh-pick .pp-box{padding:15px}.phh-pick h3{font-size:17px}}

/* ---------------------------------------------------------------- prose pages (contact, how-to-pay,
   shipping-warranty, order…): site.css still carries light-theme prose colours (#2f363d paragraphs)
   which are unreadable on the near-black theme. Owner, 2026-10-05: 「那个字体换一下颜色看不清楚啊」. */
.prose p,.prose li,.prose .lede{color:var(--text2)}
.prose .muted,.prose .hint,.prose .small,.prose .sub{color:var(--text3)}
.prose .note,.prose .note p{color:var(--text2)}
.prose b,.prose strong{color:#fff}
.prose .steps li{color:var(--text2)}
