/* Minimal integration rules. Native layout and component design comes from vendor/<theme>. */
:root{--c1:#3b82f6;--c1h:#2563eb;--bg:#f6f8fb;--card:#fff;--text:#545454;--sub:#87939d;--light:#87939d;--border:#e5e9f0;--R:6px;--Rm:4px;--Rs:4px}
html,body{min-width:0;min-height:100%;max-width:100%;margin:0}body{font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;display:flex;flex-direction:column;min-height:100vh}body.front-dialog-open{overflow:hidden}a{text-decoration:none}button,input,textarea{font-family:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}img{max-width:100%}.native-main{flex:1;min-width:0}.native-description{line-height:1.9;overflow-wrap:anywhere}.native-description img,.native-description video{max-width:100%;height:auto}.native-description table{display:block;max-width:100%;overflow:auto}.native-description pre{white-space:pre-wrap;overflow-wrap:anywhere}.native-empty{text-align:center;padding:40px 12px;color:var(--sub)}.native-limits{font-size:12px;line-height:1.9;margin:10px 0;color:var(--sub)}.native-limits span{display:inline-block;margin-right:9px}.native-notice-text{white-space:pre-wrap;overflow-wrap:anywhere}.native-card-description,.native-card-sales{font-size:12px;color:var(--sub);line-height:1.6;margin-top:7px;display:block}.native-card-description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.native-card-stock{font-size:12px;color:var(--sub)}.native-quantity{display:inline-flex;align-items:center;max-width:100%;vertical-align:middle}.native-quantity .form-control,.native-quantity input{min-width:0;text-align:center;width:64px!important;flex:1 1 64px;border-radius:0;padding:6px}.native-qty-button{height:36px;min-width:30px;border:1px solid #dce2e9;background:#f7f8fa;color:var(--sub);font-size:20px;line-height:1}.native-methods{display:flex;flex-wrap:wrap;gap:8px}.native-methods .pay-item{display:inline-flex;align-items:center;gap:6px;border:1px solid #dce2e9;background:#fff;border-radius:4px;color:var(--sub);padding:7px 10px;cursor:pointer;font-size:13px;font-weight:400;line-height:1.5}.native-methods .pay-item.active{border-color:var(--c1);color:var(--c1);background:#f2f7ff}.native-methods input[type=radio]{display:inline-block!important;appearance:auto;width:14px;height:14px;accent-color:var(--c1);margin:0}.native-total{margin:15px 0;font-size:14px}.native-total strong{color:var(--c1);font-size:18px}.native-price-source{font-size:12px;color:var(--c1);line-height:1.8}.native-wholesale-item{display:block;padding:6px 10px;border:1px solid #dce2e9;font-size:12px;color:var(--sub)}.hm-pagination{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:22px 0}.hm-pagination a{background:#edf2f9;color:var(--c1);padding:5px 12px;border-radius:4px;font-size:13px}.hm-pagination a.active{background:var(--c1);color:#fff}#toast{position:fixed;top:20px;right:16px;z-index:10050;display:flex;flex-direction:column;gap:8px;pointer-events:none;max-width:calc(100vw - 32px)}.toast-item{background:#fff;border:1px solid #e3e8ef;padding:12px 18px;border-radius:5px;box-shadow:0 8px 24px #0002;font:14px/1.6 "Microsoft YaHei",sans-serif;overflow-wrap:anywhere}.toast-item.err{border-left:3px solid #dc2626;color:#b91c1c}.toast-item.ok{border-left:3px solid #10b981;color:#059669}#noticePopupBox{max-height:calc(100dvh - 36px);display:flex;flex-direction:column}#noticePopupBox>div:first-child{flex-shrink:0}#noticePopupBox>div:last-child{min-height:0;overflow:auto}.native-notice-modal{position:fixed;inset:0;background:#0006;z-index:2000;display:flex;align-items:center;justify-content:center;padding:18px}.native-notice-modal[hidden]{display:none}.native-notice-dialog{width:600px;max-width:100%;max-height:80dvh;overflow:auto;background:white;border-radius:5px;box-shadow:0 15px 60px #0003}.native-notice-head{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid #eee}.native-notice-head h5{margin:0}.native-notice-head button{border:0;background:none;color:var(--sub);font-size:24px}.native-notice-content{padding:20px;white-space:pre-wrap;overflow-wrap:anywhere}.native-query-results{max-width:100%;min-width:0}.hm-query-card{padding:22px;background:#fff;border:1px solid #e3e8ee;border-radius:6px;margin-top:20px}.order-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.order-row strong{overflow-wrap:anywhere}.facts{display:grid;gap:8px;margin:16px 0;font-size:13px}.facts>div{display:grid;grid-template-columns:80px minmax(0,1fr);gap:10px}.facts dt{color:var(--sub)}.facts dd{overflow-wrap:anywhere;margin:0}.hm-delivery,.native-order-cards textarea{box-sizing:border-box;width:100%;min-height:140px;padding:12px;border:1px solid #dce4ef;border-radius:5px;background:#f7f9fd;color:var(--sub);font:13px/1.8 monospace;resize:vertical}.actions,.native-card-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 12px;border:1px solid var(--c1);border-radius:4px;background:var(--c1);color:#fff;cursor:pointer;font-size:13px}.secondary{background:#fff;color:var(--c1)}.native-result-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:24px;padding:24px}.native-order-info,.native-order-cards{min-width:0}.native-order-info h4,.native-order-cards h4{font-size:18px;margin:0 0 18px}.native-order-info p{font-size:14px;line-height:1.9;overflow-wrap:anywhere}.native-order-cards textarea{min-height:220px}.native-result-wrap{margin-top:24px;margin-bottom:30px}.user-wrap{max-width:1140px;margin:28px auto;padding:0 14px}.user-content{min-width:0}.user-shell .btn{font-size:13px}.user-shell .form-control{width:100%}.hm-auth-card .form-group{display:flex;flex-direction:column;gap:6px;margin-bottom:18px}.hm-auth-card .form-control{box-sizing:border-box;width:100%;border:1px solid #dae2ec}.hm-auth-card .btn-full{width:100%}.user-wrap img{max-width:100%}.native-help-wrap{max-width:1000px;margin:25px auto}
@media(max-width:767px){.native-quantity .form-control,.native-buy-form input,.native-query-form input{font-size:16px}.native-result-layout{grid-template-columns:1fr;padding:18px}.native-order-cards textarea{min-height:180px}.user-wrap{padding:0 12px}.user-shell{grid-template-columns:minmax(0,1fr)}.user-shell .user-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.user-shell .user-nav a{min-width:0;justify-content:center;white-space:normal;padding:9px 4px}.user-order-head,.user-order-summary{flex-wrap:wrap}button,a,input{touch-action:manipulation}.native-methods .pay-item{min-height:40px}.user-content .form-control{min-height:42px}}

/* Retain the original Layui spacing and gradients. */
.theme-luna{background:#f8f8fa}.theme-luna .background{min-width:0}.theme-luna .native-logo{vertical-align:middle}.theme-luna .header .header-box{overflow:visible;min-height:65px}.theme-luna .header .header-box .query{margin-top:4px}.native-account-links{font-size:12px;display:flex;gap:15px;margin-top:14px}.native-account-links a{color:var(--sub)}.native-catalog-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.native-search{display:flex;gap:6px;margin-bottom:12px;font-size:12px}.native-search input{width:180px;border:1px solid #e3e8ed;border-radius:4px;padding:6px 9px}.native-search button{padding:6px 10px;border:1px solid #e3e8ed;background:#fafafa;border-radius:4px;color:var(--sub)}.theme-luna .goods-img img{width:100%;height:auto;object-fit:contain}.theme-luna .goods-msg .native-quantity input{height:36px!important;border:1px solid #e3e8ed;width:64px!important}.theme-luna .goods-msg .native-quantity .native-qty-button{height:36px;width:32px}.theme-luna .entry .native-methods{display:inline-flex;vertical-align:middle;max-width:calc(100% - 86px)}.theme-luna .entry .native-methods .pay-item{display:inline-flex;width:auto;height:auto;line-height:1.5}.theme-luna .native-buy-form>.btn{display:block}.theme-luna .native-total{margin-left:83px}.theme-luna .goods-msg .native-limits{margin:5px 0 12px}.theme-luna .native-description{padding:0 20px}.theme-luna .goods-list{font-size:0}.theme-luna .goods-box{max-width:100%;box-sizing:border-box}.theme-luna .goods-box .msg{min-width:0}.theme-luna .goods-box .goods-name{max-width:220px;overflow-wrap:anywhere}.theme-luna .goods-box .picture img{object-fit:cover}.theme-luna .query-m{z-index:100}.theme-luna .footer{position:static;text-align:center;line-height:1.9;padding:28px 12px;color:var(--sub)}.theme-luna .user-shell .card{background:#fff;border-radius:6px}.theme-luna .user-shell .card-body{padding:22px}.theme-luna .btn{display:inline-flex;align-items:center;justify-content:center;padding:9px 16px;border:1px solid var(--c1);border-radius:4px;background:var(--c1);color:#fff;cursor:pointer}.theme-luna .btn-outline{background:#fff;color:var(--c1)}.theme-luna .btn-full{width:100%}.theme-luna .user-content .form-control{box-sizing:border-box;padding:9px 12px;border:1px solid #dae2ec;border-radius:4px}.theme-luna .native-query-panel{padding:18px 24px}.theme-luna .native-query-form .entry input{width:min(320px,calc(100vw - 140px));box-sizing:border-box}.theme-luna .native-query-form .btn{padding:0;background:none;border:none}.theme-luna .native-query-form .btn button{padding:10px 24px;border:0;color:#fff;border-radius:4px;background:linear-gradient(135deg,#3c8ce7,#00eaff)}
@media(max-width:767px){.theme-luna .goods-msg .entry .input{max-width:calc(100% - 90px)}.theme-luna .goods-msg .entry input#contact{width:100%;box-sizing:border-box}.theme-luna .goods-list .goods-box{width:100%;margin-right:0}.theme-luna .goods-list .goods-box .msg{flex:1}.theme-luna .goods-msg .native-total{margin-left:0}.theme-luna .header .header-box .info{font-size:16px;margin-left:0}.theme-luna .native-account-links{margin-bottom:8px}.theme-luna .native-query-panel{padding:14px}.theme-luna .native-query-form .entry .l-msg{display:block}.theme-luna .native-query-form .entry input{width:100%}.theme-luna .native-query-form .entry .input{width:100%}}

@media(max-width:767px){.theme-luna .native-account-links a{color:#fff}.theme-luna .entry .input.native-quantity input{height:36px!important;line-height:36px!important;padding:0!important;box-shadow:none!important}.theme-luna .entry .input.native-quantity{vertical-align:middle;gap:0;height:36px}.theme-luna .goods-msg .entry input#contact{font-size:14px}.theme-luna .goods-img img{max-height:300px;object-fit:contain}}

.theme-luna .main .cate .cate-box-select,.theme-luna .header .header-box .query a,.theme-luna .query-m,.theme-luna .native-buy-form>.btn button{background-image:linear-gradient(135deg,var(--c1),var(--c1h))}.theme-luna .main .goods .msg .goods-price{color:var(--c1)}

.theme-luna .native-buy-form>.btn{padding:0;background:transparent;border:0;display:block}.theme-luna .native-buy-form>.btn button{width:160px;max-width:100%;min-height:40px;border:0;border-radius:20px;color:#fff;cursor:pointer}

.pay-method-icon{display:inline-block!important;width:22px!important;height:22px!important;max-width:22px!important;object-fit:cover;border-radius:4px;vertical-align:middle;flex-shrink:0;margin:0 3px 0 0}

.native-retail-price{margin-left:10px;font-size:13px;color:var(--light);font-weight:400}.bole-product-sales{display:block;clear:both;font-size:12px!important;line-height:1.7!important;color:var(--sub)!important;white-space:normal!important;margin-top:4px}

body.theme-has-bg .wrapper,body.theme-has-bg .content-page,body.theme-has-bg .bole-desktop .content{background:transparent}
