/* 京东风格商城模板 — compact red/white direct-purchase list, independent storefront. */
:root{--c1:#e62f32;--c1h:#c91f25;--R:12px;--Rm:8px;--Rs:4px;--bg:#f6f7f9;--card:#fff;--text:#24262b;--sub:#62656d;--light:#707580;--border:#e9eaee;--display:inherit;--t2:#62656d;--t3:#707580}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:650;line-height:1.4}a{color:inherit;text-decoration:none}a:hover{color:var(--c1)}img{max-width:100%;height:auto;vertical-align:middle}button,input,select,textarea{font:inherit}button,a,input,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid color-mix(in srgb,var(--c1) 35%,transparent);outline-offset:3px}button svg{pointer-events:none}input[type=number]{appearance:textfield;-moz-appearance:textfield}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=radio]{accent-color:var(--c1)}.icon{width:18px;height:18px;flex-shrink:0;vertical-align:middle}.container{width:min(1180px,calc(100% - 48px));margin-inline:auto}main{min-height:55vh}.muted,.field-hint{color:var(--sub)}.field-hint{font-size:12px;margin-top:6px;line-height:1.7}
/* Store header: 28px utilities + 52px brand/search + 32px shop facts. */
.utility-bar{height:28px;background:#f2f3f5;border-bottom:1px solid #e8e9ec;color:var(--sub);font-size:11px}.utility-inner,.utility-inner nav,.header-inner,.footer-top,.footer-top nav{display:flex;align-items:center;justify-content:space-between;gap:20px}.utility-inner{height:100%}.utility-greeting{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.utility-inner nav{gap:20px;flex-shrink:0}.shop-header{background:#fff;border-bottom:1px solid #e5e6e9}.header-inner{height:52px;gap:28px}.shop-brand{display:flex;align-items:center;gap:10px;min-width:0;max-width:430px}.shop-avatar{width:32px;height:32px;object-fit:cover;border-radius:6px;flex-shrink:0}.shop-brand>span{display:flex;align-items:baseline;gap:12px;min-width:0}.shop-brand strong{display:block;font-size:18px;font-weight:750;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:300px;letter-spacing:-.2px}.shop-brand small{color:var(--c1);font-size:11px;white-space:nowrap;font-weight:650;letter-spacing:.8px}.header-search{display:flex;align-items:center;gap:8px;border:1px solid var(--c1);border-radius:4px;height:32px;flex:1;max-width:440px;min-width:180px;padding-left:10px;margin-left:auto}.header-search .icon{width:15px;height:15px;color:var(--sub)}.header-search input{border:0;outline:0!important;min-width:0;width:100%;background:transparent;font-size:12px;color:var(--text)}.header-search button{border:0;background:var(--c1);color:#fff;align-self:stretch;padding:0 20px;margin:-1px -1px -1px 0;border-radius:0 4px 4px 0;white-space:nowrap;font-size:12px}.header-search button:hover{background:var(--c1h)}.header-search:focus-within{box-shadow:0 0 0 3px color-mix(in srgb,var(--c1) 12%,transparent)}.account-link{display:flex;gap:6px;align-items:center;white-space:nowrap;font-size:12px}.account-link .icon{width:16px;height:16px}.nav-burger,.mobile-navigation{display:none}.store-info-strip{border-top:1px solid #f1f1f3;background:#fff}.store-info-inner{display:flex;align-items:center;gap:22px;min-height:32px;overflow-x:auto;scrollbar-width:none;font-size:12px;white-space:nowrap}.store-info-inner::-webkit-scrollbar{display:none}.demo-store-badge{font-size:10px;color:#9c6b34;background:#fff6e9;border:1px solid #f1e5cf;border-radius:3px;padding:0 5px;line-height:17px;flex-shrink:0}.store-stat{display:flex;align-items:center;gap:5px;flex-shrink:0;color:var(--sub)}.store-stat strong{color:#3e424a;font-size:12px;font-weight:600}.store-stat .store-rating{color:var(--c1);font-weight:750}.store-stat .icon{width:13px;height:13px;color:var(--c1)}.store-services{display:flex;align-items:center;gap:18px;margin-left:auto;color:var(--sub)}.store-services>span{display:flex;align-items:center;gap:4px}.store-services .icon{width:12px;height:12px;color:var(--c1)}.shop-footer{margin-top:32px;background:#fff;border-top:1px solid var(--border);padding:22px 0;color:var(--sub);font-size:12px}.footer-top strong{font-size:14px;color:var(--text);overflow-wrap:anywhere}.footer-top nav{gap:24px;flex-wrap:wrap}.shop-footer p{margin-top:12px;color:var(--light);font-size:11px}
/* Horizontal category rail and compact, purchase-oriented product rows. */
.catalog-page{padding-top:12px}.shop-notice{display:flex;align-items:center;gap:10px;background:#fff;padding:10px 14px;margin-bottom:12px;border:1px solid var(--border);font-size:12px;border-radius:4px}.shop-notice>.icon{width:15px;height:15px;color:var(--c1)}.shop-notice>div{min-width:0;flex:1;display:flex;align-items:baseline;gap:14px}.shop-notice strong{flex-shrink:0;font-size:12px}.shop-notice p{color:var(--sub);white-space:pre-line;overflow-wrap:anywhere;line-height:1.8}.shop-notice:has(.notice-more) p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.notice-thumbnail{width:36px;height:28px;object-fit:cover;border-radius:3px;flex-shrink:0}.notice-more{flex-shrink:0;color:var(--light);display:grid;place-items:center;width:32px;min-height:40px}.notice-more .icon{width:14px;height:14px}.shop-intro{display:flex;align-items:baseline;gap:15px;margin:14px 0 12px}.shop-intro h1{font-size:18px}.shop-intro p{color:var(--sub);font-size:12px;overflow-wrap:anywhere}.catalog-shelf{background:#fff;border:1px solid var(--border);border-top:0;border-radius:var(--R);overflow:hidden}.category-nav{display:flex;align-items:center;gap:0;height:38px;background:var(--c1);overflow:auto;scrollbar-width:none;padding:0 12px}.category-nav::-webkit-scrollbar{display:none}.category-nav a{white-space:nowrap;display:flex;align-items:center;height:100%;padding:0 23px;font-size:14px;font-weight:500;color:#fff;flex-shrink:0}.category-nav a:hover{background:color-mix(in srgb,var(--c1) 80%,black);color:white}.category-nav a[aria-current=page]{background:color-mix(in srgb,var(--c1) 83%,black);font-weight:650;box-shadow:inset 0 -3px #fff}.catalog-context{display:flex;align-items:baseline;gap:10px;padding:12px 22px 9px;background:#fff}.catalog-context h2{font-size:14px}.catalog-context>span{font-size:11px;color:var(--light)}.catalog-context>a{display:flex;align-items:center;gap:4px;margin-left:auto;font-size:11px;color:var(--sub)}.catalog-context>a .icon{width:12px;height:12px}.catalog-sort{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:38px;padding:6px 10px;background:#f8f9fb;border-bottom:1px solid var(--border)}.catalog-sort nav{display:flex;gap:3px;overflow:auto;scrollbar-width:none}.catalog-sort a{padding:3px 12px;border-right:1px solid #e9eaee;white-space:nowrap;color:var(--sub);font-size:12px;line-height:1.4}.catalog-sort a:last-child{border:0}.catalog-sort a[aria-current=page]{color:var(--c1);font-weight:650}.search-summary{color:var(--light);font-size:12px;overflow-wrap:anywhere}.product-grid{display:block}.product-card{display:grid;grid-template-columns:110px minmax(0,1fr) 255px;gap:24px;align-items:center;min-height:140px;padding:14px 24px;background:#fff;border-bottom:1px solid var(--border);transition:background .15s;min-width:0}.product-card:last-child{border:0}.product-card:hover{background:#fffafa}.product-image{display:block;width:110px;height:110px;background:#f7f7f8;overflow:hidden;border-radius:6px}.product-image img{width:100%;height:100%;object-fit:contain;transition:transform .2s}.product-card:hover .product-image img{transform:scale(1.025)}.product-copy{min-width:0}.product-copy h2{font-size:15px;font-weight:550;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;max-width:640px}.product-labels{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.delivery-label,.hot-label{font-size:11px;border-radius:3px;padding:0 5px;line-height:18px}.delivery-label{color:var(--c1);border:1px solid color-mix(in srgb,var(--c1) 30%,white)}.hot-label{color:#bf5c22;background:#fff2e7}.product-meta{display:flex;gap:0;font-size:12px;color:var(--light);margin-top:9px;flex-wrap:wrap}.product-meta>span+span{border-left:1px solid #e4e6eb;padding-left:12px;margin-left:12px}.product-labels:empty,.product-meta:empty{display:none}.product-offer{display:grid;grid-template-columns:minmax(0,1fr) 100px;align-items:center;gap:18px;min-width:0}.product-pricing{min-width:0;text-align:right}.product-price{display:block;color:var(--c1);font-size:27px;line-height:1.15;font-weight:750;letter-spacing:-.6px;font-variant-numeric:tabular-nums;white-space:nowrap}.product-price small{font-size:14px;letter-spacing:0;margin-right:3px}.product-pricing del{display:block;color:var(--light);font-size:12px;margin-top:5px}.product-offer .product-buy{min-width:100px;font-size:12px;min-height:34px;padding:7px 12px;border-radius:4px;flex-shrink:0}.empty-state{text-align:center;padding:60px 20px;color:var(--sub)}.empty-state>.icon{width:38px;height:38px;color:#b7bac2;margin-bottom:16px}.empty-state h1,.empty-state h2{font-size:18px;color:var(--text);margin-bottom:10px}.empty-state .btn{margin-top:20px}.pagination{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:24px 0}.pagination a{width:32px;height:32px;border:1px solid var(--border);border-radius:4px;background:#fff;display:grid;place-items:center;font-size:12px}.pagination a[aria-current=page]{background:var(--c1);color:white;border-color:var(--c1)}
/* Product details: one authentic image, explicit transaction rows, full-width description. */
.breadcrumb{display:flex;align-items:center;gap:9px;color:var(--sub);font-size:12px;padding:14px 0;flex-wrap:wrap}.breadcrumb .icon{width:12px;height:12px;color:#b5b7bf}.breadcrumb span{color:var(--light)}.product-detail{display:grid;grid-template-columns:390px minmax(0,1fr);gap:36px;background:#fff;border:1px solid var(--border);border-radius:var(--R);padding:22px}.detail-gallery{min-width:0}.detail-media{margin:0;background:#f7f7f8;aspect-ratio:1;overflow:hidden;border-radius:6px}.detail-media img{width:100%;height:100%;object-fit:contain}.detail-thumbnails{display:flex;align-items:center;gap:12px;margin-top:12px}.current-thumbnail{display:block;width:50px;height:50px;border:1px solid var(--c1);padding:2px;border-radius:3px;background:white}.current-thumbnail img{width:100%;height:100%;object-fit:contain}.detail-thumbnails small{font-size:11px;color:var(--light)}.detail-commerce{min-width:0;padding:2px 0}.detail-store{font-size:12px;color:var(--sub);margin-bottom:7px}.detail-store>span{margin-left:10px;font-size:10px;color:var(--c1)}.detail-commerce h1{font-size:22px;font-weight:700;line-height:1.55;overflow-wrap:anywhere}.detail-hot{display:inline-block;font-size:11px;line-height:18px;color:var(--c1);margin-top:8px}.price-block{display:flex;align-items:baseline;gap:15px;flex-wrap:wrap;background:#fff2f2;border-top:1px solid #ffe0e0;border-bottom:1px solid #ffe0e0;padding:15px 16px;margin:16px 0 14px}.price-label{font-size:12px;color:var(--sub);min-width:62px}.price-block strong{font-size:34px;color:var(--c1);font-weight:750;letter-spacing:-1px;line-height:1.2}.price-block del{font-size:12px;color:var(--light)}.price-source{display:none;color:var(--c1);font-size:11px}.price-block p,#priceHint{font-size:12px;color:var(--sub);width:100%;margin:0}.trade-facts{margin:0}.trade-facts>div{display:flex;gap:16px;padding:7px 0;font-size:12px;align-items:flex-start}.trade-facts dt{width:62px;flex-shrink:0;color:var(--light)}.trade-facts dd{margin:0;display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;color:var(--sub)}.trade-facts dd strong{font-weight:500;color:var(--text)}.trade-facts dd .icon{width:13px;height:13px;color:var(--c1);margin-right:-7px}.trade-facts dd>span{font-size:11px;color:var(--light)}.wholesale-offers{display:flex;gap:16px;font-size:12px;margin:10px 0;color:var(--sub)}.wholesale-offers>span{width:62px;flex-shrink:0;color:var(--light)}.wholesale-offers>div{display:flex;gap:6px 16px;flex-wrap:wrap}.wholesale-offers strong{font-weight:550;color:var(--text)}.quantity-field{display:flex;align-items:center;gap:16px;margin:16px 0;flex-wrap:wrap}.quantity-field label{width:62px;flex-shrink:0;color:var(--light);font-size:12px}.qty-bar{display:flex;border:1px solid #d8dbe1;border-radius:3px;overflow:hidden;height:32px;background:white}.qty-bar button{touch-action:manipulation;width:30px;border:0;background:#f7f7f8;font-size:18px;color:#4a4f58}.qty-bar input{border:0;border-inline:1px solid var(--border);text-align:center;width:46px;outline-offset:-3px!important;color:var(--text);background:#fff;font-size:13px}.quantity-hint{font-size:11px;color:var(--light)}.purchase-bar{display:flex;align-items:center;gap:24px;margin:20px 0 12px;padding-top:15px;border-top:1px solid var(--border)}.purchase-total{min-width:0}.purchase-total span{font-size:12px;color:var(--sub);margin-right:8px}.purchase-total strong{font-size:23px;color:var(--c1);font-variant-numeric:tabular-nums;white-space:nowrap}.purchase-bar .btn{min-width:175px;padding:10px 25px;font-size:14px;min-height:42px}.delivery-explanation{font-size:11px;color:var(--light);line-height:1.7}.login-required{font-size:12px;color:#9a6224;margin-top:10px}.login-required a{text-decoration:underline}.unavailable{border:1px solid var(--border);background:var(--bg);color:var(--sub);padding:18px;margin:18px 0;border-radius:var(--Rm)}.description-section{background:#fff;border:1px solid var(--border);border-radius:var(--R);margin-top:18px;overflow:hidden}.description-section h2{font-size:16px;border-bottom:1px solid var(--border);padding:14px 22px;border-top:2px solid var(--c1);background:#fcfcfd}.description-section h2 small{font-size:11px;color:var(--light);margin-left:12px;font-weight:400}.native-description{padding:24px;font-size:14px;line-height:1.9;overflow-wrap:anywhere;min-width:0}.native-description img{max-width:100%!important;height:auto!important}.native-description iframe,.native-description video{max-width:100%}.native-description table{border-collapse:collapse;max-width:100%;font-size:13px}.native-description td,.native-description th{border:1px solid var(--border);padding:10px}.description-table-scroll{overflow-x:auto;width:100%}.related-section{margin-top:18px;background:#fff;border:1px solid var(--border);border-radius:var(--R);overflow:hidden}.related-section>h2{font-size:16px;padding:14px 22px;border-bottom:1px solid var(--border)}.product-facts{display:flex;align-items:center;flex-wrap:wrap;gap:12px;color:var(--sub);font-size:12px;margin:10px 0}.product-facts>span{display:inline-flex;gap:4px;align-items:center}.product-facts .icon{width:13px;height:13px;color:var(--c1)}
.btn,.btn-block,.btn-copy{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px 18px;border:1px solid #dfe1e6;border-radius:var(--Rm);background:#fff;color:var(--text);font-size:13px;font-weight:600;line-height:1.5;transition:background .15s,border-color .15s;text-align:center}.btn:hover,.btn-copy:hover{color:var(--c1);border-color:var(--c1);background:#fff}.btn-primary,.btn-block{background:var(--c1);border-color:var(--c1);color:white}.btn-primary:hover,.btn-block:hover{background:var(--c1h);border-color:var(--c1h);color:#fff}.btn-full,.btn-block{width:100%}.btn-ghost{background:var(--bg)}.btn-sm{padding:6px 12px;font-size:12px;min-height:32px}.icon-button{width:32px;height:32px;border:0;border-radius:6px;background:transparent;color:var(--sub);display:grid;place-items:center;flex-shrink:0}.icon-button:hover{background:var(--bg);color:var(--text)}.form-label{display:block;color:#4a4e57;font-size:13px;margin-bottom:8px;font-weight:500}.form-control{display:block;width:100%;height:44px;background:#fff;border:1px solid #dfe1e6;border-radius:var(--Rm);padding:10px 13px;color:var(--text);min-width:0}.form-control:focus{border-color:var(--c1);box-shadow:0 0 0 3px color-mix(in srgb,var(--c1) 10%,transparent)}.form-control::placeholder{color:var(--light)}.form-control:disabled{background:#f6f7f9;color:var(--sub)}.form-group{margin-bottom:20px}.page-heading{margin:4px 0 18px;display:flex;align-items:baseline;justify-content:space-between;gap:20px}.page-heading h1{font-size:22px}.page-heading p{color:var(--sub);font-size:12px}.page-heading p>span{margin:0 12px;color:#c8cbd1}
/* Numbered order checklist and a narrow live receipt. */
.page-eyebrow{display:block;font-size:10px;letter-spacing:1.2px;color:var(--c1);margin-bottom:4px;font-weight:650}.order-steps{list-style:none;padding:0;margin:0;display:flex;gap:22px;color:var(--light);font-size:11px}.order-steps li{display:flex;align-items:center;gap:7px;white-space:nowrap}.order-steps b{font-size:10px;font-weight:600;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;border:1px solid #dddfe5}.order-steps .current{color:var(--c1)}.order-steps .current b{background:var(--c1);border-color:var(--c1);color:white}.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 288px;gap:20px;align-items:start}.checkout-form{display:grid;gap:12px;min-width:0}.checkout-section{background:white;border:1px solid var(--border);border-radius:8px;overflow:hidden}.checklist-heading{display:flex;align-items:center;gap:12px;padding:16px 20px;background:#fcfcfd;border-bottom:1px solid var(--border)}.checklist-number{display:grid;place-items:center;width:28px;height:28px;border:1px solid #f2d0d2;border-radius:5px;color:var(--c1);font-size:11px;font-weight:700;background:#fff;flex-shrink:0}.checklist-heading>div{min-width:0}.checklist-heading h2{font-size:15px;margin:0}.checklist-heading p{font-size:11px;color:var(--light);margin-top:2px}.checklist-heading>a{margin-left:auto;display:flex;align-items:center;gap:3px;white-space:nowrap;font-size:11px;color:var(--sub)}.checklist-heading>a .icon{width:12px;height:12px}.checklist-body{padding:20px}.checkout-product{display:flex;align-items:flex-start;gap:18px;margin-bottom:18px}.checkout-product>img{width:88px;height:88px;border:1px solid var(--border);border-radius:4px;object-fit:contain;background:#fafafa;flex-shrink:0}.checkout-product>div{min-width:0}.checkout-product h3{font-size:15px;line-height:1.6;overflow-wrap:anywhere}.checkout-product .product-facts{margin:7px 0;font-size:11px;gap:8px 12px}.checkout-price-line{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap;font-size:11px;color:var(--light)}.checkout-unit-price{color:var(--c1);font-size:21px;line-height:1.4}.checkout-product #priceHint{font-size:11px;margin-top:3px}.checkout-section .quantity-field{border-top:1px solid var(--border);padding-top:16px;margin:0}.checkout-section .quantity-field label{display:block;color:var(--sub)}.checkout-section .wholesale-offers{margin:12px 0 0}.checkout-section .form-control{max-width:500px;height:40px;font-size:13px}.checkout-section .form-label{font-size:12px;margin-bottom:8px}.pay-list,.pay-grid{display:flex;gap:10px;flex-wrap:wrap}.pay-item{transition:border-color .15s,background-color .15s;display:flex;align-items:center;gap:9px;border:1px solid #dfe1e6;border-radius:4px;padding:11px 13px;cursor:pointer;font-size:12px;color:var(--text);min-height:42px;background:#fff}.pay-item.active,.pay-item:has(input:checked){border-color:var(--c1);background:#fff7f7}.pay-item img{width:20px;height:20px;border-radius:3px;flex-shrink:0}.pay-item input{margin:0;flex-shrink:0;width:16px;height:16px;accent-color:var(--c1)}.pay-item span{overflow-wrap:anywhere;min-width:0}.receipt{background:#fff;border:1px solid var(--border);border-top:3px solid var(--c1);border-radius:6px;padding:22px;min-width:0}.checkout-summary,.payment-receipt,.result-receipt{position:sticky;top:18px}.receipt-heading{margin-bottom:19px}.receipt-heading>span{display:block;color:#a3a5ad;font-size:9px;letter-spacing:1.5px;margin-bottom:4px}.receipt-heading h2{font-size:17px}.receipt-store{display:flex;align-items:center;gap:6px;color:var(--sub);font-size:11px;overflow-wrap:anywhere;margin-bottom:9px}.receipt-store .icon{width:13px;height:13px;color:var(--c1)}.receipt-product{font-size:13px;line-height:1.7;overflow-wrap:anywhere;margin-bottom:18px}.receipt-lines{margin:0;padding:15px 0;border-top:1px dashed #dfe1e6;border-bottom:1px dashed #dfe1e6}.receipt-lines>div{display:flex;justify-content:space-between;align-items:baseline;gap:16px;font-size:12px;padding:5px 0}.receipt-lines dt{color:var(--light);flex-shrink:0}.receipt-lines dd{margin:0;text-align:right;min-width:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.checkout-paybar{display:flex;flex-direction:column;gap:17px;align-items:stretch;padding-top:0;border-top:0;margin:20px 0 12px}.checkout-paybar .purchase-total{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.checkout-paybar .purchase-total span{margin:0;font-size:12px}.checkout-paybar .purchase-total strong{font-size:29px}.checkout-paybar .btn{min-width:0;width:100%;border-radius:4px;min-height:42px;font-size:14px}.checkout-paybar .btn .icon{width:14px;height:14px}.receipt-note{font-size:11px;color:var(--light);line-height:1.8;margin-top:14px}.back-product{display:block;text-align:center;font-size:11px;color:var(--sub);margin-top:13px}
.narrow-page{max-width:800px;margin:34px auto}
/* Cashier and order result share the same compact transaction structure. */
.payment-page,.result-wrap{margin-bottom:28px}.commerce-status{display:flex;align-items:center;gap:16px;padding:20px 24px;background:#fff;border:1px solid var(--border);border-left:3px solid var(--c1);border-radius:6px;margin-bottom:18px}.commerce-status>div:last-child{min-width:0}.commerce-status h1{font-size:22px;line-height:1.5}.commerce-status p{font-size:12px;color:var(--sub);line-height:1.8;margin-top:4px;overflow-wrap:anywhere}.status-symbol,.result-icon{width:42px;height:42px;flex-shrink:0;border:1px solid currentColor;border-radius:50%;display:grid;place-items:center;color:var(--c1);font-size:24px;font-weight:600}.status-symbol .icon{width:22px;height:22px}.cashier-layout,.result-layout{display:grid;grid-template-columns:minmax(0,1fr) 288px;gap:20px;align-items:start}.payment-panel,.result-card{background:#fff;border:1px solid var(--border);border-radius:8px;overflow:hidden;min-width:0}.panel-head,.result-card-head{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 22px;border-bottom:1px solid var(--border);background:#fcfcfd}.panel-head h2,.result-card-title{font-size:15px;font-weight:650}.order-state-label{font-size:11px;color:var(--c1);border:1px solid #f4d6d7;padding:1px 7px;border-radius:3px;background:#fff}.payment-order-body{padding:24px}.payment-product-name{font-size:17px;font-weight:600;line-height:1.7;overflow-wrap:anywhere;margin-bottom:18px}.fact-list{margin:0}.fact-list>div{display:flex;align-items:baseline;gap:24px;padding:10px 0;border-bottom:1px solid #f0f1f3}.fact-list>div:last-child{border:0}.fact-list dt{font-size:12px;color:var(--light);width:74px;flex-shrink:0}.fact-list dd{margin:0;min-width:0;font-size:13px;overflow-wrap:anywhere}.payment-followup{display:flex;align-items:center;gap:12px;padding:18px 24px;border-top:1px solid var(--border);background:#fcfcfd;color:var(--sub)}.payment-followup>.icon{color:var(--c1);width:22px;height:22px}.payment-followup strong{font-size:12px;font-weight:550;color:var(--text)}.payment-followup p{font-size:11px;color:var(--light);margin-top:3px}.payment-followup>a{margin-left:auto;display:flex;align-items:center;gap:4px;font-size:11px;white-space:nowrap}.payment-followup>a .icon{width:12px;height:12px}.payment-amount{font-size:34px;line-height:1.3;font-weight:750;color:var(--c1);letter-spacing:-.7px;white-space:nowrap;font-variant-numeric:tabular-nums;margin:6px 0 20px}.payment-amount small{font-size:18px;margin-right:4px;letter-spacing:0}.payment-actions{display:flex;flex-direction:column;gap:10px;margin-top:20px}.payment-actions .btn{width:100%;font-size:13px;border-radius:4px;min-height:42px}.payment-meta{font-size:11px;color:#9d6422;background:#fff8ee;padding:8px 10px;border-radius:3px;min-height:34px;line-height:1.8}.payment-meta:empty{display:none}.demo-payment-label{display:flex;align-items:center;gap:8px;font-size:13px;padding:12px 0;border-block:1px dashed var(--border)}.demo-payment-label>.icon{color:var(--c1)}.demo-payment-label small{color:var(--light);font-size:10px;margin-left:auto}.payment-actions #error{margin:0;font-size:12px}.result-content{min-width:0;display:grid;gap:16px}.result-card-title small{font-size:11px;color:var(--light);font-weight:400;margin-left:8px}.result-card-head .btn-copy{min-height:30px;padding:5px 9px;font-size:11px;border-radius:4px;white-space:nowrap}.result-card-head .btn-copy .icon{width:13px;height:13px}.result-card-body{padding:22px}.code-box,.hm-delivery{width:100%;min-height:160px;padding:15px;border:1px solid #e0e3e9;border-radius:4px;background:#f8f9fb;font:13px/1.9 ui-monospace,SFMono-Regular,Consolas,monospace;color:#303641;resize:vertical;overflow-wrap:anywhere}.order-detail-lines{margin:0}.order-detail-lines>div{display:grid;grid-template-columns:78px minmax(0,1fr);gap:20px;padding:11px 0;border-bottom:1px solid #f0f1f3}.order-detail-lines>div:first-child{padding-top:0}.order-detail-lines>div:last-child{border:0;padding-bottom:0}.order-detail-lines dt{font-size:12px;color:var(--light)}.order-detail-lines dd{margin:0;overflow-wrap:anywhere;font-size:13px}.receipt-status{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--sub);padding:12px 0;border-block:1px dashed var(--border)}.receipt-status .icon{width:15px;height:15px;color:var(--c1)}.result-actions{display:flex;flex-direction:column;gap:10px;margin-top:20px}.result-actions .btn{width:100%;border-radius:4px}.receipt-link{display:flex;align-items:center;justify-content:center;gap:5px;font-size:11px;color:var(--sub);margin:4px 0}.receipt-link .icon{width:12px;height:12px}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.info-label{color:var(--sub);font-size:12px;margin-bottom:5px}.info-value{font-size:14px;overflow-wrap:anywhere}
.query-panel{background:#fff;padding:26px;border-radius:var(--R);margin-bottom:22px}.query-form{display:flex;gap:12px}.query-form input{flex:1;min-width:0}.query-order{background:#fff;padding:24px;border-radius:var(--R);margin-bottom:16px}.query-order-top{display:flex;justify-content:space-between;gap:14px;font-size:12px;color:var(--sub);margin-bottom:16px;flex-wrap:wrap}.query-order h2{font-size:16px;margin-bottom:16px;overflow-wrap:anywhere}.query-status{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.query-price{margin-left:auto;color:var(--c1);font-size:20px;font-weight:700}.query-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}.query-delivery{margin-top:18px}.query-delivery label{display:block;font-size:12px;color:var(--sub);margin-bottom:8px}.query-delivery .btn{margin-top:10px}.lookup-feedback{font-size:12px;color:var(--sub);margin-top:8px}
.card,.panel{background:#fff;border-radius:var(--R);overflow:hidden}.card-body{padding:24px}.panel-head a{font-size:12px;color:var(--sub)}.badge{display:inline-flex;align-items:center;border-radius:4px;padding:2px 7px;line-height:1.8;font-size:11px;white-space:nowrap}.badge-blue{background:#edf3ff;color:#3265a8}.badge-green{background:#eaf6ef;color:#258250}.badge-amber{background:#fff4df;color:#986115}.badge-red{background:#fff0f0;color:#c64040}.badge-gray{background:#f1f2f5;color:var(--sub)}.user-wrap{width:min(1200px,calc(100% - 64px));margin:30px auto}.user-shell{display:grid;grid-template-columns:190px minmax(0,1fr);gap:24px;align-items:start}.user-sidebar{background:#fff;border-radius:var(--R);padding:22px 16px}.user-ident{padding:0 12px 20px;border-bottom:1px solid var(--border)}.user-ident .icon{width:30px;height:30px;margin-bottom:10px;color:var(--c1)}.user-ident strong{display:block;font-size:16px;overflow-wrap:anywhere}.user-ident small{display:block;color:var(--light);font-size:11px;margin-top:4px}.user-nav{display:flex;flex-direction:column;gap:3px;margin-top:16px}.user-nav a{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:6px;font-size:13px;color:var(--sub)}.user-nav .icon{width:17px;height:17px}.user-nav a.active{color:var(--c1);background:#fff2f2;font-weight:650}.user-nav .logout{margin-top:16px;border-top:1px solid var(--border);padding-top:20px;border-radius:0}.user-content{min-width:0}.account-heading{margin:0 0 22px}.account-heading h1{font-size:24px}.account-heading p{font-size:12px;color:var(--sub);margin-top:4px}.account-overview{background:#fff;border-radius:var(--R);padding:26px;margin-bottom:24px}.overview-top{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:24px}.overview-top h1{font-size:23px}.overview-top p{font-size:12px;color:var(--sub);margin-top:5px}.overview-links{display:flex;gap:12px;flex-wrap:wrap}.overview-stats{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--border);padding-top:24px}.overview-stats>div{border-right:1px solid var(--border);padding-left:26px}.overview-stats>div:first-child{padding-left:0}.overview-stats>div:last-child{border:0}.overview-stats span{display:block;font-size:12px;color:var(--sub);margin-bottom:6px}.overview-stats strong{font-size:27px;font-weight:700;font-variant-numeric:tabular-nums}.overview-stats .account-money{color:var(--c1)}.order-entry{padding:22px 24px;border-bottom:1px solid var(--border)}.order-entry:last-child{border:0}.order-entry-meta{display:flex;justify-content:space-between;gap:14px;font-size:11px;color:var(--light);margin-bottom:12px;flex-wrap:wrap}.order-entry-main{display:flex;gap:18px;justify-content:space-between;align-items:start}.order-entry-name{font-size:15px;font-weight:600;overflow-wrap:anywhere}.order-entry-price{font-size:20px;font-weight:700;white-space:nowrap}.order-entry-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:16px}.order-statuses,.order-actions{display:flex;gap:8px;flex-wrap:wrap}.order-entry .quantity-note{font-size:12px;color:var(--sub);margin-top:4px}.account-card-row{padding:22px 24px;border-bottom:1px solid var(--border)}.account-card-row>p{font-size:12px;color:var(--sub);margin-bottom:12px}.account-card-content{display:flex;gap:12px;align-items:center}.account-card-content code{min-width:0;flex:1;background:var(--bg);padding:13px;font:13px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;border-radius:6px;overflow-wrap:anywhere}.account-balance{display:flex;justify-content:space-between;align-items:center;gap:24px;background:#fff;padding:30px;border-radius:var(--R);margin-bottom:24px}.account-balance h2{color:var(--sub);font-size:13px;font-weight:500;margin-bottom:8px}.account-balance strong{font-size:36px;color:var(--c1);font-weight:750}.account-balance p{font-size:12px;color:var(--sub);margin-top:8px}.log-row{display:flex;justify-content:space-between;gap:20px;padding:20px 24px;border-bottom:1px solid var(--border)}.log-row small{display:block;color:var(--light);margin-top:5px;font-size:11px}.log-amount{font-size:17px;font-weight:650;white-space:nowrap}.positive{color:#258250}.negative{color:var(--c1)}.member-summary-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:26px;background:#fff;border-radius:var(--R);margin-bottom:24px}.member-summary-row small{font-size:12px;color:var(--sub)}.member-summary-row h2{font-size:25px;margin:6px 0}.member-summary-row p{font-size:12px;color:var(--sub)}.member-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.member-card{display:flex;flex-direction:column;border:1px solid var(--border);background:#fff;border-radius:var(--R);padding:24px 20px;min-width:0}.member-card.current{border-color:var(--c1)}.member-name{font-size:19px;font-weight:650;overflow-wrap:anywhere}.member-price{font-size:30px;color:var(--c1);font-weight:750;margin:18px 0}.member-desc{font-size:12px;color:var(--sub);line-height:1.9;margin-bottom:18px}.member-gap{font-size:12px;color:#a56c26;margin-bottom:12px}.member-card .btn{margin-top:auto}.member-discount{font-size:12px;color:var(--sub);margin-top:8px}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.profile-grid h2{font-size:17px;margin-bottom:22px}.profile-grid .card{padding:26px}
.auth-page{max-width:430px;margin:50px auto;padding:34px;background:#fff;border-radius:var(--R)}.auth-brand{display:flex;align-items:center;gap:12px;font-weight:650;font-size:16px;margin-bottom:28px;overflow-wrap:anywhere}.auth-brand img{width:38px;height:38px;border-radius:9px;object-fit:cover}.auth-page h1{font-size:25px;margin-bottom:8px}.auth-page>p{font-size:13px;color:var(--sub);margin-bottom:24px}.auth-links{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;font-size:12px;color:var(--sub);margin-top:22px}.form-error{padding:10px 14px;color:#c43a3a;border:1px solid #f5d3d3;background:#fff2f2;border-radius:6px;font-size:12px;margin-bottom:16px}.article-page{background:#fff;padding:34px;border-radius:var(--R);max-width:860px;margin:34px auto}.article-page h1{font-size:26px;margin:14px 0 22px}.article-meta{font-size:12px;color:var(--sub);display:flex;gap:14px;align-items:center}.article-content{line-height:1.9;font-size:14px;white-space:pre-line;overflow-wrap:anywhere}.article-back{font-size:12px;color:var(--sub);display:inline-flex;gap:6px;align-items:center;margin-top:28px}.help-section{margin-bottom:28px}.help-section h2{font-size:18px;margin-bottom:14px}.help-item{background:#fff;border-bottom:1px solid var(--border);padding:20px 24px}.help-item:first-child{border-radius:var(--R) var(--R) 0 0}.help-item:last-child{border-bottom:0;border-radius:0 0 var(--R) var(--R)}.help-item summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:18px;font-weight:550;font-size:14px}.help-item summary::-webkit-details-marker{display:none}.help-item[open] summary>.icon{transform:rotate(90deg)}.help-item-content{white-space:pre-line;font-size:13px;line-height:1.9;color:var(--sub);padding-top:18px;overflow-wrap:anywhere}.help-item-content a{color:var(--c1);display:inline-block;margin-top:10px}
.front-modal{position:fixed;inset:0;padding:24px;background:rgba(23,25,30,.45);z-index:1000;align-items:center;justify-content:center;overflow:auto}.front-dialog{width:460px;max-width:100%;max-height:calc(100dvh - 48px);background:#fff;border-radius:var(--R);display:flex;flex-direction:column;box-shadow:0 18px 60px #0002;overflow:hidden;color:var(--text)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;border-bottom:1px solid var(--border);flex-shrink:0}.dialog-head h2{font-size:18px;overflow-wrap:anywhere}.dialog-body{padding:24px;overflow:auto;min-height:0}.dialog-actions{padding:0 24px 24px;display:flex;justify-content:flex-end;flex-shrink:0}.notice-illustration{display:block;width:100%;max-height:280px;object-fit:contain;margin-bottom:18px;border-radius:6px}.notice-content{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;font-size:14px;color:var(--sub)}.front-dialog-open,.front-menu-open{overflow:hidden}.amount-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0}.amount-btn{background:white;border:1px solid var(--border);border-radius:var(--Rm);padding:11px 8px;color:var(--text);font-weight:650}.amount-btn.active{border-color:var(--c1);color:var(--c1);background:#fff4f4}.recharge-payments{margin-top:24px}.recharge-payments .pay-list{margin-top:12px}.recharge-payments .pay-item{padding:10px 12px;flex:1}.front-dialog .btn-full{margin-top:24px}#toast{position:fixed;top:24px;left:50%;transform:translateX(-50%);z-index:3000;display:flex;flex-direction:column;gap:8px;pointer-events:none;width:max-content;max-width:calc(100% - 32px)}.toast-item{padding:11px 18px;border-radius:8px;background:#292d35;color:#fff;font-size:13px;box-shadow:0 5px 20px #0002}.toast-item.err{background:#b92e32}

@media(max-width:1000px){.header-inner{gap:20px}.shop-brand strong{font-size:18px;max-width:210px}.shop-brand small{display:none}.account-link{display:none}.store-info-inner{gap:17px}.store-services{gap:14px}.product-card{grid-template-columns:100px minmax(0,1fr) 220px;gap:18px;padding:14px 18px;min-height:130px}.product-image{width:100px;height:100px}.product-offer{gap:15px}.product-price{font-size:25px}.product-offer .product-buy{min-width:90px}.product-detail{grid-template-columns:330px minmax(0,1fr);gap:26px;padding:20px}.detail-commerce h1{font-size:20px}.price-block{padding:14px 12px;gap:10px}.price-label{min-width:55px}.price-block strong{font-size:30px}.purchase-bar{gap:16px}.purchase-bar .btn{min-width:140px;padding-inline:20px}.purchase-total strong{font-size:21px}.checkout-layout,.cashier-layout,.result-layout{grid-template-columns:minmax(0,1fr) 252px;gap:16px}.receipt{padding:18px}.checklist-heading{padding:14px 17px}.checklist-body{padding:18px}.order-steps{gap:14px}.payment-followup{flex-wrap:wrap}.payment-followup>a{margin-left:34px}.user-shell{grid-template-columns:160px minmax(0,1fr);gap:18px}.user-sidebar{padding:20px 10px}.user-nav a{font-size:12px}.member-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-grid{grid-template-columns:1fr}.overview-stats strong{font-size:23px}}
@media(max-width:700px){body{font-size:13px}.container{width:calc(100% - 20px)}.utility-bar{height:28px;font-size:10px}.utility-inner{gap:15px}.utility-inner nav{gap:15px}.utility-inner nav a:nth-child(n+3){display:none}.utility-greeting{max-width:180px}.header-inner{height:52px;display:flex;gap:10px}.shop-brand{gap:7px;flex-shrink:0;max-width:140px}.shop-avatar{width:28px;height:28px;border-radius:5px}.shop-brand strong{font-size:15px;max-width:98px;letter-spacing:-.3px}.shop-brand>span{display:block}.shop-brand small{display:none}.header-search{flex:1;max-width:none;min-width:75px;margin:0;height:30px;gap:6px;padding-left:8px;border-width:1px}.header-search .icon{display:none}.header-search input{font-size:11px}.header-search button{padding:0 10px;font-size:11px}.nav-burger{display:grid;place-items:center;width:22px;height:30px;background:white;border:0;color:var(--text);padding:0;flex-shrink:0}.nav-burger .icon{width:18px;height:18px}.mobile-navigation.open{display:flex;flex-direction:column;background:#fff;position:absolute;top:80px;right:10px;left:10px;z-index:150;border:1px solid var(--border);border-radius:6px;box-shadow:0 10px 24px #0002;padding:5px}.mobile-navigation a{padding:11px 13px;border-bottom:1px solid var(--border);font-size:13px}.mobile-navigation a:last-child{border:0}.store-info-inner{min-height:31px;font-size:10px;gap:14px;padding:5px 0}.store-stat strong{font-size:11px}.store-stat{gap:4px}.store-stat .icon{width:12px;height:12px}.store-services{gap:13px;margin:0;padding-right:12px}.store-services .icon{width:11px;height:11px}.demo-store-badge{font-size:9px;line-height:15px;padding:0 4px}.catalog-page{padding-top:9px}.shop-notice{padding:8px 10px;gap:8px;margin-bottom:9px;font-size:11px;border-radius:3px}.shop-notice>div{display:block}.shop-notice strong{font-size:11px;display:block;margin-bottom:1px}.shop-notice p{font-size:11px;line-height:1.7}.shop-notice>.icon{width:14px;height:14px}.notice-thumbnail{width:28px;height:28px}.shop-intro{display:block;margin:12px 2px 9px}.shop-intro h1{font-size:16px}.shop-intro p{font-size:11px;margin-top:3px}.catalog-shelf{border-radius:6px}.category-nav{height:34px;padding:0 4px}.category-nav a{font-size:12px;padding:0 15px}.category-nav a[aria-current=page]{box-shadow:inset 0 -2px #fff}.catalog-context{padding:9px 12px 7px;gap:8px}.catalog-context h2{font-size:12px}.catalog-context>span,.catalog-context>a{font-size:10px}.catalog-sort{padding:8px 5px;min-height:36px;display:block}.catalog-sort a{font-size:10px;padding:2px 8px}.catalog-sort nav{gap:0}.search-summary{display:block;margin:6px 6px 0;font-size:10px}.product-grid{display:block}.product-card{grid-template-columns:92px minmax(0,1fr);grid-template-rows:auto auto;gap:8px 12px;padding:13px 12px;min-height:132px;align-items:start}.product-image{width:92px;height:92px;grid-column:1;grid-row:1/span 2;align-self:center;border-radius:4px}.product-copy{grid-column:2;grid-row:1}.product-copy h2{font-size:13px;line-height:1.5;font-weight:550}.product-labels{margin-top:6px;gap:4px}.delivery-label,.hot-label{font-size:9px;line-height:15px;padding:0 4px}.product-meta{font-size:11px;gap:10px;margin-top:5px}.product-offer{grid-column:2;grid-row:2;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-self:end;align-items:end}.product-pricing{text-align:left}.product-meta>span+span{padding-left:8px;margin-left:8px}.product-price{font-size:22px;line-height:1.1;letter-spacing:-.5px}.product-price small{font-size:11px;margin-right:1px}.product-pricing del{font-size:9px;margin-top:3px}.product-offer .product-buy{min-width:70px;min-height:28px;padding:5px 8px;font-size:10px;border-radius:3px}.shop-footer{margin-top:24px;padding:18px 0}.footer-top{align-items:flex-start;gap:13px;flex-direction:column}.footer-top strong{font-size:14px}.footer-top nav{gap:18px;font-size:11px}.shop-footer p{font-size:10px;line-height:1.8}.breadcrumb{padding:12px 1px;font-size:10px;gap:6px}.product-detail{display:block;padding:14px;background:#fff;border-radius:6px}.detail-gallery{max-width:430px;margin:auto}.detail-media{width:100%;border-radius:4px}.detail-thumbnails{margin-top:8px;gap:8px}.current-thumbnail{width:36px;height:36px;padding:1px}.detail-thumbnails small{font-size:10px}.detail-commerce{margin-top:16px;padding:0}.detail-store{font-size:11px;margin-bottom:6px}.detail-store>span{font-size:9px}.detail-commerce h1{font-size:18px;line-height:1.55}.detail-hot{font-size:10px;margin-top:5px}.price-block{padding:13px 12px;margin:13px 0 11px;gap:10px}.price-block strong{font-size:29px}.price-label{font-size:11px;min-width:55px}.price-block del{font-size:11px}.trade-facts>div{font-size:11px;gap:13px;padding:6px 0}.trade-facts dt{width:56px}.trade-facts dd{gap:4px 9px}.trade-facts dd>span{font-size:10px}.trade-facts dd .icon{width:12px;height:12px}.wholesale-offers{font-size:11px;gap:13px;margin:9px 0}.wholesale-offers>span{width:56px}.quantity-field{gap:13px;margin:14px 0}.quantity-field label{font-size:11px;width:56px}.quantity-hint{flex-basis:100%;font-size:10px;margin-top:-3px;padding-left:69px}.qty-bar{height:32px}.purchase-bar{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--border);z-index:100;padding:10px 14px calc(10px + env(safe-area-inset-bottom));margin:0;justify-content:space-between;gap:12px;min-height:66px;box-shadow:0 -3px 12px #00000005}.purchase-total{display:flex;flex-direction:column;gap:2px;min-width:0}.purchase-total span{font-size:10px;margin:0}.purchase-total strong{font-size:23px;line-height:1.15}.purchase-bar .btn{font-size:13px;min-width:138px;min-height:38px;padding:9px 22px}.delivery-explanation{font-size:10px}.description-section{margin-top:12px;border-radius:6px}.description-section h2{font-size:14px;padding:11px 14px}.description-section h2 small{font-size:10px;margin-left:9px}.native-description{font-size:13px;padding:18px 14px}.related-section{margin-top:12px;border-radius:6px}.related-section>h2{font-size:14px;padding:12px 14px}.related-section .product-card{padding:12px}.product-facts{font-size:10px;gap:8px;margin:7px 0}body[data-page=product-detail],body[data-page=order-buy]{padding-bottom:calc(82px + env(safe-area-inset-bottom))}.page-heading{display:block;margin:2px 0 14px}.page-heading h1{font-size:20px}.page-heading p{font-size:10px;margin-top:4px}.page-heading p>span{margin:0 8px}.page-eyebrow{font-size:9px;letter-spacing:.8px}.order-steps{gap:16px;font-size:10px;margin-top:10px}.order-steps b{width:17px;height:17px;font-size:9px}.checkout-layout,.cashier-layout,.result-layout{display:block}.checkout-form{gap:10px}.checkout-section{border-radius:6px}.checklist-heading{gap:9px;padding:12px 13px}.checklist-number{width:24px;height:24px;font-size:10px}.checklist-heading h2{font-size:13px}.checklist-heading p{font-size:10px}.checklist-heading>a{font-size:10px}.checklist-heading>a .icon{width:10px;height:10px}.checklist-body{padding:15px 13px}.checkout-product{gap:12px;margin-bottom:14px}.checkout-product>img{width:65px;height:65px;border-radius:3px}.checkout-product h3{font-size:13px;line-height:1.55}.checkout-product .product-facts{font-size:9px;gap:4px 7px;margin:5px 0}.checkout-unit-price{font-size:20px}.checkout-price-line{font-size:10px;gap:6px}.checkout-product #priceHint{font-size:10px}.checkout-section .quantity-field{padding-top:13px;margin:0;gap:12px}.checkout-section .quantity-field label{width:50px;font-size:11px}.checkout-section .quantity-hint{padding-left:0;font-size:10px}.checkout-section .wholesale-offers{font-size:10px;gap:12px;margin-top:10px}.checkout-section .wholesale-offers>span{width:50px}.checkout-section .form-label{font-size:11px}.checkout-section .form-control{height:44px;font-size:16px}.checkout-section .field-hint{font-size:12px}.checkout-section .pay-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pay-item{font-size:12px;padding:12px 10px;min-height:46px;gap:8px}.pay-item img{width:17px;height:17px}.receipt{padding:17px;border-radius:5px}.checkout-summary,.payment-receipt,.result-receipt{position:static;margin-top:12px}.receipt-heading{margin-bottom:14px}.receipt-heading>span{font-size:8px}.receipt-heading h2{font-size:15px}.receipt-store{font-size:10px;margin-bottom:5px}.receipt-product{font-size:12px;margin-bottom:13px}.receipt-lines{padding:10px 0}.receipt-lines>div{font-size:11px;padding:4px 0}.receipt-note{font-size:10px;margin-top:10px}.checkout-paybar{flex-direction:row;align-items:center;margin:0;padding:10px 14px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--border);gap:14px}.checkout-paybar .purchase-total{display:flex;flex-direction:column;gap:2px;align-items:start}.checkout-paybar .purchase-total span{font-size:10px}.checkout-paybar .purchase-total strong{font-size:24px}.checkout-paybar .btn{width:auto;min-width:138px;min-height:40px;font-size:13px}.back-product{font-size:10px;margin-top:8px}.narrow-page{width:calc(100% - 24px);margin:24px auto}.commerce-status{gap:12px;padding:16px 14px;border-radius:5px;margin-bottom:12px;align-items:flex-start}.commerce-status h1{font-size:18px;line-height:1.5}.commerce-status p{font-size:11px;margin-top:4px}.status-symbol,.result-icon{width:34px;height:34px;font-size:19px;margin-top:3px}.status-symbol .icon{width:18px;height:18px}.panel-head,.result-card-head{padding:13px 15px;gap:10px}.panel-head h2,.result-card-title{font-size:13px}.order-state-label{font-size:10px}.payment-order-body{padding:17px 15px}.payment-product-name{font-size:14px;line-height:1.7;margin-bottom:13px}.fact-list>div{gap:14px;padding:8px 0}.fact-list dt{font-size:11px;width:62px}.fact-list dd{font-size:11px}.payment-followup{padding:14px 15px;gap:10px;flex-wrap:wrap}.payment-followup>.icon{width:18px;height:18px}.payment-followup strong{font-size:11px}.payment-followup p{font-size:10px}.payment-followup>a{font-size:10px;margin-left:28px}.payment-amount{font-size:32px;margin-bottom:15px}.payment-amount small{font-size:16px}.payment-actions{gap:9px;margin-top:15px}.payment-actions .btn{font-size:12px;min-height:41px}.payment-meta{font-size:11px}.demo-payment-label{font-size:12px}.demo-payment-label small{font-size:10px}.result-content{gap:12px}.result-card-body{padding:16px}.result-card-title small{font-size:10px;margin-left:5px}.result-card-head .btn-copy{padding:4px 8px;font-size:10px}.order-detail-lines>div{grid-template-columns:62px minmax(0,1fr);gap:14px;padding:9px 0}.order-detail-lines dt,.order-detail-lines dd{font-size:11px}.code-box{font-size:12px;min-height:150px;padding:12px}.receipt-status{font-size:11px}.result-actions{margin-top:15px;gap:9px}.result-actions .btn{font-size:12px}.receipt-link{font-size:10px}.info-grid{grid-template-columns:1fr;gap:16px}.info-value{font-size:13px}
.query-panel{padding:20px}.query-form{flex-direction:column;gap:12px}.query-form .btn{min-height:43px}.query-order{padding:18px}.query-order h2{font-size:15px}.query-status{gap:6px}.query-price{font-size:18px}.query-actions .btn{font-size:12px}.user-wrap{width:calc(100% - 24px);margin:16px auto}.user-shell{display:block}.user-sidebar{padding:0;background:#fff;margin-bottom:18px;border-radius:8px;overflow:hidden}.user-ident{display:none}.user-nav{margin:0;display:flex;flex-direction:row;overflow:auto;padding:7px;gap:4px;scrollbar-width:none}.user-nav a{flex-shrink:0;white-space:nowrap;font-size:12px;padding:9px 11px}.user-nav .icon{display:none}.user-nav .logout{margin:0;border:0;padding:9px 11px;border-radius:6px}.account-heading{margin:0 3px 18px}.account-heading h1{font-size:22px}.account-overview{padding:22px 18px;margin-bottom:18px}.overview-top{align-items:flex-start;margin-bottom:22px;gap:12px}.overview-top h1{font-size:20px}.overview-top p{font-size:11px}.overview-links{gap:6px}.overview-links .btn{font-size:11px;min-height:34px;padding:6px 10px}.overview-stats{padding-top:20px}.overview-stats>div{padding-left:12px}.overview-stats span{font-size:10px}.overview-stats strong{font-size:20px}.order-entry{padding:18px}.order-entry-name{font-size:14px}.order-entry-price{font-size:18px}.order-entry-bottom{align-items:flex-start;flex-direction:column;gap:14px}.order-actions{align-self:flex-end}.order-entry-meta{font-size:10px;gap:6px}.account-card-row{padding:18px}.account-card-content{align-items:flex-start;gap:8px}.account-card-content code{font-size:12px;padding:10px}.account-card-content .btn{min-height:34px;padding:6px 10px;font-size:11px}.account-balance{padding:24px 20px;gap:15px;margin-bottom:18px}.account-balance strong{font-size:32px}.account-balance p{font-size:11px}.account-balance .btn{padding:9px 14px;white-space:nowrap;font-size:12px}.log-row{padding:18px;gap:16px;font-size:12px}.log-amount{font-size:15px}.member-summary-row{padding:22px 18px;gap:15px;margin-bottom:18px}.member-summary-row h2{font-size:22px}.member-summary-row .btn{font-size:11px;white-space:nowrap;padding:8px 12px}.member-grid{grid-template-columns:1fr;gap:14px}.member-card{padding:24px}.member-name{font-size:20px}.member-price{font-size:32px;margin:14px 0}.profile-grid{gap:18px}.profile-grid .card{padding:22px 20px}.auth-page{width:calc(100% - 24px);margin:24px auto;padding:28px 24px}.auth-page h1{font-size:23px}.auth-brand{font-size:15px;margin-bottom:24px}.article-page{width:calc(100% - 24px);padding:24px 20px;margin:24px auto}.article-page h1{font-size:23px}.article-content{font-size:13px}.article-meta{font-size:11px}.help-item{padding:18px}.help-item summary{font-size:13px}.help-item-content{font-size:12px}.help-section h2{font-size:17px}.front-modal{padding:16px}.front-dialog{max-height:calc(100dvh - 32px);width:420px}.dialog-head{padding:18px 20px}.dialog-head h2{font-size:17px}.dialog-body{padding:20px}.dialog-actions{padding:0 20px 20px}.notice-content{font-size:13px}.notice-illustration{max-height:230px}.recharge-payments .pay-item{font-size:12px;padding:10px}.empty-state{padding:50px 14px}.empty-state h1{font-size:18px}}

@media(max-width:350px){.container,.user-wrap{width:calc(100% - 16px)}.header-inner{gap:7px}.shop-brand{gap:6px;max-width:115px}.shop-brand strong{font-size:14px;max-width:80px}.shop-avatar{width:26px;height:26px}.header-search button{padding-inline:8px}.store-info-inner{gap:12px}.category-nav a{padding-inline:12px}.product-card{grid-template-columns:80px minmax(0,1fr);gap:7px 10px;padding:12px 10px;min-height:124px}.product-image{width:80px;height:80px}.product-copy h2{font-size:12px}.product-price{font-size:20px}.product-offer .product-buy{min-width:62px;padding-inline:6px;font-size:9px}.product-meta{font-size:11px;gap:0}.product-meta>span+span{padding-left:6px;margin-left:6px}.overview-stats strong{font-size:17px}.overview-top{flex-direction:column}.purchase-bar{padding-inline:12px;gap:8px}.purchase-bar .btn{min-width:124px;padding-inline:17px}.purchase-total strong{font-size:21px}.checkout-product>img{width:60px;height:60px}.pay-item{padding:8px}.auth-page{padding:24px 20px}.user-nav a{padding:9px}.related-section .product-card{padding:10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Query modes and results share the same order presentation. */
.lookup-tabs{display:flex;gap:24px;border-bottom:1px solid var(--border);margin-bottom:24px;overflow:auto}.lookup-tabs a{font-size:13px;white-space:nowrap;padding:0 0 14px;border-bottom:2px solid transparent}.lookup-tabs a[aria-current=page]{color:var(--c1);border-color:var(--c1);font-weight:650}.query-input form>label{display:block;font-size:13px;margin-bottom:9px;color:var(--sub)}.query-input form .btn-block{margin-top:16px;min-height:44px}.query-input .history-link{display:block;padding:12px 0;border-bottom:1px solid var(--border);font-size:12px;overflow-wrap:anywhere}.member-history{font-size:12px;color:var(--sub)}.query-order-card{background:white;padding:24px;border-radius:var(--R);margin-bottom:18px}.query-order-card .order-row{display:flex;align-items:baseline;gap:18px;flex-wrap:wrap;margin-bottom:18px}.query-order-card .order-row strong{font-size:16px;flex:1;overflow-wrap:anywhere}.query-order-card .price{color:var(--c1);font-size:22px;font-weight:700;white-space:nowrap}.query-order-card .back-link{font-size:12px;color:var(--sub)}.query-order-card .facts{margin:0}.query-order-card .facts>div{display:flex;gap:20px;justify-content:space-between;padding:9px 0;border-bottom:1px solid var(--border);font-size:12px}.query-order-card .facts dt{color:var(--sub);white-space:nowrap}.query-order-card .facts dd{margin:0;text-align:right;overflow-wrap:anywhere}.query-order-card .actions{display:flex;gap:10px;justify-content:flex-end;margin-top:18px}.delivery-content{width:100%;min-height:120px;resize:vertical;background:#f8f9fb;border:1px solid var(--border);border-radius:6px;padding:14px;font:13px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;margin-top:20px;color:var(--text)}.native-query-empty,.message{background:#fff;padding:24px;border-radius:var(--R);font-size:13px;color:var(--sub);margin-bottom:18px}
@media(max-width:700px){.lookup-tabs{gap:22px;margin-bottom:20px}.lookup-tabs a{font-size:12px}.query-order-card{padding:20px}.query-order-card .order-row{gap:8px 12px}.query-order-card .order-row strong{font-size:15px}.query-order-card .price{font-size:20px}.query-order-card .back-link{flex-basis:100%;font-size:11px}.query-order-card .facts>div{font-size:11px;gap:12px}.query-order-card .actions .btn{font-size:12px}.delivery-content{font-size:12px}}

/* Clear payment choices and touch controls for the checklist. */
.pay-item:focus-within{outline:2px solid color-mix(in srgb,var(--c1) 35%,transparent);outline-offset:3px}
.pay-item input:focus-visible{outline:none}
.pay-item.active,.pay-item:has(input:checked){box-shadow:inset 0 0 0 1px var(--c1)}
.qty-bar:focus-within{border-color:var(--c1)}
.qty-bar button:disabled{opacity:1;color:#b7bbc3;background:#f8f9fa}
@media(hover:hover){.pay-item:hover{border-color:var(--c1)}.qty-bar button:not(:disabled):hover{background:#fff0f0;color:var(--c1)}}
@media(max-width:700px){.checkout-section .pay-item{position:relative;flex-direction:column;align-items:flex-start;gap:8px;padding:12px;min-height:78px}.checkout-section .pay-item input{position:absolute;top:14px;right:12px}.checkout-section .pay-item img,.checkout-section .pay-item>.icon{width:22px;height:22px}.checkout-section .pay-item span{font-size:12px;line-height:1.5}.qty-bar{height:44px}.qty-bar button{width:42px}.qty-bar input{font-size:16px;width:48px}.quantity-hint,.checkout-section .quantity-hint{font-size:11px}.receipt-note{font-size:11px}.receipt-lines>div{font-size:12px}}

/* Stable footer on short pages; long catalogues retain normal document flow. */
body.theme-jd-shop{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}
body.theme-jd-shop>main{flex:1 0 auto;min-width:0}
body.theme-jd-shop>.shop-footer{flex:none}

html{scrollbar-gutter:stable}

/* Announcement dialog fitted to this storefront. */
.theme-jd-shop #noticePopupBox{width:min(520px,100%);max-height:min(74dvh,640px);border-top:3px solid var(--c1)}
.theme-jd-shop #noticePopupBox .dialog-head{gap:12px;padding:14px 20px}
.theme-jd-shop #noticePopupTitle{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;min-width:0;font-size:18px;line-height:1.6}
.theme-jd-shop #noticePopupBox .dialog-head button{flex:none;width:36px;height:36px}
.theme-jd-shop #noticePopupBox .dialog-body{padding:18px 22px;scrollbar-width:thin;overscroll-behavior:contain}
.theme-jd-shop #noticePopupBox .dialog-actions{padding:12px 20px;border-top:1px solid var(--border)}
@media(max-width:767px){.theme-jd-shop #noticePopupBox{width:min(400px,100%);max-height:min(78dvh,590px)}.theme-jd-shop #noticePopupBox .dialog-head{padding:12px 14px}.theme-jd-shop #noticePopupTitle{font-size:16px}.theme-jd-shop #noticePopupBox .dialog-head button{width:40px;height:40px}.theme-jd-shop #noticePopupBox .dialog-body{padding:16px 18px}.theme-jd-shop #noticePopupBox .dialog-actions{padding:11px 14px}.theme-jd-shop #noticePopupBox .dialog-actions button{width:100%;min-height:42px}}

html:has(body.notice-popup-open),body.notice-popup-open{overflow:hidden}

/* Bound long store metadata and the mobile search to the actual viewport. */
@media(max-width:767px){
 .theme-jd-shop .shop-header,.theme-jd-shop .utility-bar{width:100%;max-width:100%;min-width:0}
 .theme-jd-shop .header-inner{min-width:0}
 .theme-jd-shop .header-search{width:0;min-width:0;flex:1 1 0}
 .theme-jd-shop .store-info-inner{min-width:0;max-width:calc(100% - 20px)}
 .theme-jd-shop .store-services{flex-shrink:0}
}
