/* 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}}

/* Bootstrap 5 components and the original Unicorn header/card markup. */
.theme-unicorn{background:#fff}.theme-unicorn header.header{display:block;height:auto;box-shadow:none;position:sticky;padding:20px 0}.theme-unicorn .logo{font-size:20px;line-height:52px}.native-logo-word{color:var(--sub);font-weight:600}.theme-unicorn .navbar-brand{font-size:20px}.theme-unicorn .native-unicorn-product{height:100%;color:var(--sub);display:flex}.theme-unicorn .native-unicorn-product .card-img-top{height:auto;aspect-ratio:1/1;object-fit:cover}.theme-unicorn .native-unicorn-product .card-title{font-size:14px}.theme-unicorn .native-unicorn-product .btn-primary{display:block;width:max-content;margin-top:10px;margin-left:auto}.theme-unicorn .native-unicorn-product .btn-outline-success{width:max-content}.theme-unicorn .native-header-search{gap:6px;max-width:240px}.theme-unicorn .native-header-search input{min-width:0}.theme-unicorn .navbar-collapse.open{display:flex}.theme-unicorn .native-header-search .btn{padding:6px 12px}.theme-unicorn .native-query-wrap .form-control{width:100%}.theme-unicorn .native-main .good-card .card-img-top.p-5{width:100%;height:auto;aspect-ratio:1/1;object-fit:contain}.theme-unicorn .buy-form .form-group.row{display:flex;flex-direction:row}.theme-unicorn .native-methods legend{font-size:14px}.theme-unicorn .footer{border-top:0;background:transparent;margin-top:auto;font-size:13px;line-height:1.8}.theme-unicorn .footer p{margin-bottom:6px}.theme-unicorn .native-quantity .native-qty-button{height:32px;min-width:25px}.theme-unicorn .native-quantity input{height:32px;font-size:14px}.theme-unicorn .native-limits span{margin-right:6px}.theme-unicorn .user-shell .card-body{padding:22px}
@media(max-width:991px){.theme-unicorn .navbar-collapse.open{display:block;width:100%;padding-top:12px}.theme-unicorn .native-header-search{max-width:none}.theme-unicorn .nav-burger{display:block}.theme-unicorn header.header{padding:10px 0}.theme-unicorn .header .container-fluid{padding:0}.theme-unicorn .navbar-brand{font-size:18px}.theme-unicorn .navbar-nav .nav-link{padding:10px 4px}}
@media(max-width:767px){.theme-unicorn .main-container .good-card .card-img-top.p-5{max-height:200px;padding:20px!important}.theme-unicorn .buy-form .form-control{font-size:16px}.theme-unicorn .native-quantity input{height:38px}.theme-unicorn .native-quantity .native-qty-button{height:38px}.theme-unicorn .native-query-wrap .card{margin:16px 0!important}}

.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}

.theme-unicorn .btn-primary{--bs-btn-bg:var(--c1);--bs-btn-border-color:var(--c1);--bs-btn-hover-bg:var(--c1h);--bs-btn-hover-border-color:var(--c1h);--bs-btn-active-bg:var(--c1h)}.theme-unicorn .btn-outline-primary{--bs-btn-color:var(--c1);--bs-btn-border-color:var(--c1);--bs-btn-hover-bg:var(--c1);--bs-btn-hover-border-color:var(--c1)}

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