/* 首页：目录式商品列表。全部规则限定在 storefront-home，避免影响详情与查询页。 */
.storefront-home{--store-bg:#f4f5f7;--store-surface:#fff;--store-border:#e1e4e9;--store-text:#111318;--store-muted:#6d727c;min-height:100vh;background:var(--store-bg)!important;color:var(--store-text)}
.storefront-home .navbar-acg{width:calc(100% - 64px);max-width:1600px;min-height:64px;margin:10px auto 0;padding:7px 0;border:1px solid var(--store-border);border-radius:34px;background:#f8f9fb;box-shadow:0 2px 5px rgba(20,24,32,.12);backdrop-filter:none;-webkit-backdrop-filter:none}
.storefront-home .navbar-acg>.container{width:100%;max-width:none;padding:0 16px}.storefront-home .navbar-brand{color:#0f1115;font-size:18px}.storefront-home .navbar-brand span{color:#101216!important}.storefront-home .brand-logo{width:40px;height:40px;border-radius:50%;box-shadow:0 0 0 1px rgba(0,0,0,.06)}
.storefront-home .navbar-nav{align-items:center;gap:2px}.storefront-home .navbar-acg .nav-link{padding:9px 12px;border-radius:22px;color:#666b74;font-size:14px;font-weight:500}.storefront-home .navbar-acg .nav-link.active{color:#15171b;background:#fff;box-shadow:0 1px 4px rgba(24,28,36,.12)}.storefront-home .navbar-acg .search-input{display:none!important}
.storefront-home .user-login-box{display:flex;gap:10px}.storefront-home .user-login-box .btn{min-height:40px;padding:9px 17px;border-radius:22px;font-weight:700}.storefront-home .user-login-box .btn-primary{border-color:#050505;background:#050505}.storefront-home .user-info-box .dropdown-toggle{min-height:44px;padding:5px 12px;border-radius:24px;background:#fff;box-shadow:0 1px 4px rgba(24,28,36,.1)}
.storefront-main{display:grid;grid-template-columns:minmax(270px,390px) minmax(0,1fr);gap:24px;width:calc(100% - 64px);max-width:1600px;margin:26px auto 0;align-items:start}.category-panel,.catalog-panel{overflow:hidden;border:1px solid var(--store-border);border-radius:22px;background:var(--store-surface);box-shadow:0 2px 5px rgba(20,24,32,.12)}
.storefront-heading{min-height:110px;padding:25px 22px 20px;border-bottom:1px solid var(--store-border)}.heading-eyebrow{display:block;margin-bottom:12px;color:#696f78;font-size:11px;font-weight:800;letter-spacing:.08em}.storefront-heading h1{margin:0;color:var(--store-text);font-size:25px;font-weight:800;line-height:1.1}
.category-list{display:flex;flex-direction:column;gap:8px;padding:21px 22px 25px}.category-item{display:flex;align-items:center;justify-content:space-between;min-height:43px;padding:6px 10px;border:1px solid #d9dde3;border-radius:22px;color:#3f454e;background:#fff;box-shadow:0 2px 6px rgba(20,24,32,.1);font-size:14px;transition:background-color .15s,box-shadow .15s,color .15s,transform .15s}.category-item:hover{color:#111318;background:#f7f8f9;box-shadow:0 3px 8px rgba(20,24,32,.14);transform:translateY(-1px)}.category-item.is-primary{color:#17191e;border-color:#d9dde3;background:#fff;box-shadow:0 2px 6px rgba(20,24,32,.1)}
.category-item-main{display:flex;min-width:0;align-items:center;gap:11px}.category-icon,.category-recommend{width:23px;height:23px;flex:0 0 23px;border-radius:50%;background-position:center;background-size:cover}.category-recommend{display:inline-flex;align-items:center;justify-content:center;color:#fff;background:#ff8964;box-shadow:inset 0 0 0 3px #fff0ea;font-size:10px}.category-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.category-arrow{display:inline-flex;width:24px;height:24px;align-items:center;justify-content:center;border-radius:50%;color:#767b83;background:#eff1f4;font-size:11px;opacity:1}
.catalog-heading{display:flex;align-items:center;justify-content:space-between;gap:24px}.catalog-search{display:flex;width:min(100%,360px);height:48px;align-items:center;padding-left:16px;border:1px solid #d9dde3;border-radius:25px;background:#fff;color:#707681}.catalog-search>i{font-size:15px}.catalog-search input{min-width:0;height:100%;flex:1;padding:0 11px;border:0;outline:0;background:transparent;color:#17191e;font-size:14px}.catalog-search input::placeholder{color:#a5a9b1}
.item-search-button{display:inline-flex;min-width:80px;height:36px;margin-right:6px;align-items:center;justify-content:center;gap:7px;border:0;border-radius:20px;background:#050505;color:#fff;font-size:13px;font-weight:700}.catalog-content{padding:21px 22px 14px}.catalog-table-head,.catalog-row{display:grid;grid-template-columns:minmax(300px,1fr) 110px 92px 88px;align-items:center}.catalog-table-head{min-height:46px;padding:0 16px;border:1px solid #dcdfe4;border-radius:17px 17px 0 0;background:#f4f5f7;color:#656a73;font-size:12px;font-weight:700}
.catalog-list{overflow:hidden;border:1px solid #dcdfe4;border-top:0;border-radius:0 0 17px 17px}.catalog-row{min-height:78px;padding:9px 16px;border-bottom:1px solid #e0e3e7;background:#fff;transition:background-color .15s}.catalog-row:last-child{border-bottom:0}.catalog-row:hover{background:#fafbfc}.catalog-product{display:flex;min-width:0;align-items:center;gap:13px}.catalog-cover{width:42px;height:42px;flex:0 0 42px;border:1px solid #e3e5e8;border-radius:12px;background-position:center;background-size:cover}.catalog-product-info{min-width:0}.catalog-product-name{display:block;overflow:hidden;color:#181a1f;font-size:14px;font-weight:700;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.catalog-product-name:hover{color:#000}
.catalog-tags{display:flex;gap:6px;margin-top:5px}.catalog-badge,.member-price{display:inline-flex;width:fit-content;align-items:center;padding:2px 7px;border-radius:10px;font-size:10px;line-height:1.2}.catalog-badge.is-delivery{color:#139b48;background:#eaf8ef}.catalog-badge.is-recommend{color:#1977ca;background:#eaf4fd}.catalog-price{display:flex;flex-direction:column;align-items:flex-start;gap:5px;color:#08090b;font-size:15px}.member-price{color:#1476c8;background:#e9f4ff}.catalog-stock{display:flex;flex-direction:column;gap:3px;color:#636872;font-size:12px}.catalog-stock small{color:#a0a4ac;font-size:10px}.catalog-action{text-align:right}
.buy-button{display:inline-flex;min-width:66px;height:36px;align-items:center;justify-content:center;gap:6px;border-radius:20px;background:#050505;color:#fff;font-size:12px;font-weight:700}.buy-button:hover{color:#fff;background:#26282d}.catalog-row.is-sold-out{opacity:.58}.buy-button.disabled{pointer-events:none;background:#93979e}.catalog-list .item-message{min-height:170px;margin:0;display:flex;align-items:center;justify-content:center;gap:8px}
.storefront-notice-modal .modal-content{overflow:hidden;border:1px solid var(--store-border);border-radius:22px;box-shadow:0 20px 60px rgba(20,24,32,.2)}.storefront-notice-modal .modal-header,.storefront-notice-modal .modal-body{padding:20px 24px}.storefront-notice-modal .modal-title{font-weight:800}.storefront-notice-actions{display:flex;gap:9px;padding:14px 20px 18px;border-top:1px solid #eceef1}.notice-close-button,.notice-dismiss-forever{min-width:92px;height:38px;padding:0 16px;border-radius:20px;font-size:12px;font-weight:700}.notice-close-button{border:1px solid #d7dbe1;background:#fff;color:#444a53}.notice-close-button:hover{background:#f4f5f7}.notice-dismiss-forever{border:1px solid #050505;background:#050505;color:#fff}.notice-dismiss-forever:hover{background:#292b30}.storefront-home footer{margin-top:20px;color:#7b8089}
@media(max-width:1100px){.storefront-main{grid-template-columns:245px minmax(0,1fr);gap:16px}.catalog-table-head,.catalog-row{grid-template-columns:minmax(230px,1fr) 95px 75px 74px}}
@media(max-width:767.98px){.storefront-home .navbar-acg{width:calc(100% - 24px);min-height:58px;margin-top:8px}.storefront-home .brand-logo{width:34px;height:34px}.storefront-home .navbar-toggler{order:3;margin-left:6px;padding:5px;border:0}.storefront-home .navbar-collapse{order:4;flex-basis:100%}.storefront-home .navbar-nav{align-items:stretch;padding:8px 0 4px}.storefront-home .user-login-box,.storefront-home .user-info-box{position:static;margin-left:auto!important}.storefront-home .user-login-box .btn{min-height:34px;padding:7px 10px;font-size:12px}.storefront-home .user-login-box .btn-primary{display:none}
.storefront-main{display:block;width:calc(100% - 24px);margin-top:16px}.category-panel{margin-bottom:14px;border-radius:18px}.category-heading{min-height:0;padding:17px 18px 14px}.heading-eyebrow{margin-bottom:7px}.storefront-heading h1{font-size:21px}.category-list{flex-direction:row;overflow-x:auto;padding:13px 14px 15px;scrollbar-width:none}.category-list::-webkit-scrollbar{display:none}.category-item{min-height:38px;flex:0 0 auto;padding:5px 12px;background:#f6f7f8}.category-arrow{display:none}.catalog-panel{border-radius:18px}.catalog-heading{min-height:0;align-items:flex-start;flex-direction:column;gap:15px;padding:18px}.catalog-search{width:100%}.catalog-content{padding:14px}.catalog-table-head{display:none}.catalog-list{display:flex;overflow:visible;flex-direction:column;gap:10px;border:0;border-radius:0}.catalog-row{grid-template-columns:1fr auto;gap:12px;min-height:0;padding:14px;border:1px solid #e0e3e7;border-radius:15px}.catalog-product{grid-column:1/-1}.catalog-cover{width:52px;height:52px;flex-basis:52px}.catalog-product-name{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.catalog-stock{display:none}.catalog-action{align-self:end}}

/* 商品详情 */
.product-detail-page,.query-page{width:calc(100% - 64px);max-width:1360px;margin:0 auto;padding:22px 0 32px}.product-detail-page{max-width:1080px}.detail-breadcrumb{display:flex;align-items:center;gap:10px;margin-bottom:14px;color:#9599a0;font-size:12px}.detail-breadcrumb a{display:inline-flex;align-items:center;gap:7px;color:#555b64;font-weight:700}.detail-breadcrumb a:hover{color:#000}.product-purchase-card,.product-description-card,.query-hero,.query-result-section,.query-state{overflow:hidden;border:1px solid var(--store-border);border-radius:22px;background:#fff;box-shadow:0 2px 5px rgba(20,24,32,.1)}.product-purchase-body{padding:18px}.product-cover-wrap{position:relative;min-height:400px;overflow:hidden;border:1px solid #e1e4e9;border-radius:18px;background:#f5f6f7}.product-cover-wrap .item-cover{object-fit:cover}.product-cover-label{position:absolute;top:15px;left:15px;display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border-radius:16px;background:rgba(255,255,255,.92);color:#2f333a;font-size:11px;font-weight:700;box-shadow:0 2px 6px rgba(20,24,32,.1)}.product-purchase-info{padding:4px 6px 2px}.product-purchase-info h1{margin:0 0 10px;color:#111318;font-size:24px;font-weight:800;line-height:1.3}.product-meta-badges{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:14px}.product-meta-badges .badge-soft{border:0;padding:4px 8px}.product-price-row{display:flex;min-height:64px;align-items:center;justify-content:space-between;margin-bottom:14px;padding:10px 15px;border:1px solid #e1e4e9;border-radius:16px;background:#f7f8f9}.product-price-label{color:#6b717a;font-size:12px;font-weight:700}.product-price-row .price{color:#050505;font-size:25px}.product-price-row .price .unit{color:#050505}.product-order-form{padding-top:1px;gap:9px!important}.product-order-form .form-label{color:#4f555e;font-size:12px;font-weight:700}.product-order-form .form-control{min-height:40px;border:1px solid #dce0e5;border-radius:12px;background:#fafbfc;color:#17191e}.product-order-form .form-control:focus{border-color:#959aa3;background:#fff;box-shadow:0 0 0 3px rgba(17,19,24,.06)}.product-order-form .sku{min-height:34px;padding:5px 11px;border:1px solid #dce0e5;border-radius:18px;background:#fff;box-shadow:none;color:#575d66;font-size:12px}.product-order-form .sku.is-primary{border-color:#050505;background:#050505;color:#fff}.product-order-form .optional-card{border:1px solid #dce0e5;background:#f8f9fa;box-shadow:none}.product-order-form .input-group.qty-group{display:grid!important;width:126px;height:42px;grid-template-columns:34px 1fr 34px;align-items:center;padding:3px;border:1px solid #dce0e5!important;border-radius:22px!important;background:#f5f6f7!important;box-shadow:none!important}.product-order-form .input-group.qty-group>button{width:34px;height:34px;margin:0!important;padding:0;border:0!important;border-radius:50%!important;background:#050505;color:#fff;font-size:15px;font-weight:800;line-height:34px;box-shadow:none!important}.product-order-form .input-group.qty-group>button:hover{background:#292b30;transform:none}.product-order-form .input-group.qty-group>input[type=number]{width:100%!important;height:34px!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#111318!important;font-size:14px;font-weight:800;box-shadow:none!important}.product-order-form .cash-pay{border:1px solid #dce0e5;border-radius:16px;background:#f7f8f9;box-shadow:none}.product-order-form .pay-list .pay{border:1px solid #dce0e5;background:#fff;box-shadow:none}.product-description-card{margin-top:16px}.product-description-heading,.query-section-heading{display:flex;min-height:96px;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid var(--store-border)}.product-description-heading h2,.query-section-heading h2{margin:0;color:#111318;font-size:22px;font-weight:800}.description-icon{display:inline-flex;width:40px;height:40px;align-items:center;justify-content:center;border-radius:50%;background:#f1f2f4;color:#555b64;font-size:16px}.product-description-body{padding:22px;color:#3f444c;line-height:1.75}.product-description-body img{max-width:100%;height:auto;border-radius:14px}
@media(min-width:992px){.product-purchase-grid{align-items:flex-start!important}.product-cover-wrap{height:auto!important;min-height:0;aspect-ratio:1/1}.product-order-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px;row-gap:9px!important}.product-order-form>.cash-pay{grid-column:1/-1}.product-order-form .cash-pay{margin-top:0}.product-order-form .cash-pay .pay-list{min-height:38px}}

/* 订单查询 */
.query-page{max-width:900px;padding-top:20px}.query-hero{padding:36px 32px;text-align:center}.query-hero-copy{max-width:590px;margin:0 auto}.query-hero-copy h1{margin:0 0 9px;color:#111318;font-size:28px;font-weight:800}.query-hero-copy p{margin:0;color:#747a83;font-size:13px;line-height:1.6}.query-search{display:flex;width:min(100%,600px);height:52px;align-items:center;margin:22px auto 14px;padding-left:17px;border:1px solid #d9dde3;border-radius:27px;background:#f9fafb;color:#7b818a}.query-search>i{font-size:15px}.query-search input{min-width:0;height:100%;flex:1;padding:0 11px;border:0;outline:0;background:transparent;color:#17191e;font-size:13px}.query-search button{display:inline-flex;min-width:104px;height:40px;margin-right:6px;align-items:center;justify-content:center;gap:7px;border:0;border-radius:21px;background:#050505;color:#fff;font-size:12px;font-weight:700}.query-tips{display:flex;justify-content:center;gap:22px;color:#858a92;font-size:10px}.query-tips span{display:inline-flex;align-items:center;gap:5px}.query-result-section,.query-state{margin-top:14px}.query-result-section .order-list{padding:16px}.query-result-section .order-item{border:1px solid #e1e4e9;border-radius:17px;background:#fff;box-shadow:none}.query-result-section .goods-section,.query-result-section .card-display-content{border:1px solid #e1e4e9;background:#f7f8f9;backdrop-filter:none}.query-result-section .amount-value{color:#111318}.query-state{padding:42px 20px;text-align:center}.query-state-icon{display:inline-flex;width:52px;height:52px;align-items:center;justify-content:center;margin-bottom:13px;border-radius:50%;background:#f0f2f4;color:#626872;font-size:20px}.query-state h2{margin:0 0 7px;color:#1c1f24;font-size:18px;font-weight:800}.query-state p{margin:0;color:#7d828b;font-size:12px}
.query-result-section .order-item{padding:15px;margin-bottom:12px}.query-result-section .order-item:last-child{margin-bottom:0}.query-result-section .order-item::before{height:2px;background:#111318}.query-result-section .order-item:hover{transform:none;box-shadow:0 3px 10px rgba(20,24,32,.08)}.query-result-section .order-header{margin-bottom:12px;padding-bottom:12px}.query-result-section .order-left{gap:10px}.query-result-section .status-badge{padding:5px 10px;border-radius:16px;font-size:10px;letter-spacing:0;box-shadow:none}.query-result-section .order-no{margin-bottom:4px;font-size:14px}.query-result-section .order-time,.query-result-section .payment-time,.query-result-section .payment-dst{margin-bottom:2px;font-size:11px}.query-result-section .amount-label{margin-bottom:3px;font-size:9px}.query-result-section .amount-value{font-size:18px}.query-result-section .goods-section{gap:9px;padding:9px;border-radius:10px}.query-result-section .goods-image{width:54px;height:54px;border:1px solid #fff;border-radius:9px}.query-result-section .goods-name{margin-bottom:5px;font-size:13px;line-height:1.3}.query-result-section .goods-meta{gap:3px}.query-result-section .goods-sku{padding:2px 6px;font-size:9px}.query-result-section .payment-icon{width:15px;height:15px}.query-result-section .payment-name{font-size:11px}.query-result-section .card-section{margin-top:12px;padding-top:12px}.query-result-section .card-header{margin-bottom:8px}.query-result-section .card-title{font-size:13px!important}.query-result-section .shipment-badge{padding:2px 5px;font-size:9px}.query-result-section .card-content,.query-result-section .card-content-no-password{margin-top:8px;padding:10px;border-radius:8px;font-size:12px}.query-result-section .card-display-content{padding:12px}.query-result-section .card-password-input,.query-result-section .view-card-btn{height:36px;font-size:11px}.query-result-section .view-card-btn{padding:7px 11px}.query-result-section .card-loading{padding:12px;font-size:11px}.query-result-section .card-text{min-height:54px;margin-bottom:10px;padding:10px;font-size:11px;line-height:1.5}.query-result-section .copy-all-btn{padding:8px 15px;font-size:11px}
.query-result-section .card-title{width:100%}.copy-order-secret{display:inline-flex;min-width:66px;height:30px;margin-left:auto;align-items:center;justify-content:center;gap:5px;padding:0 11px;border:1px solid #d9dde3;border-radius:16px;background:#fff;color:#343941;font-size:10px;font-weight:700;box-shadow:0 1px 3px rgba(20,24,32,.08)}.copy-order-secret:hover{border-color:#aeb3bb;background:#f3f4f6;color:#000}.copy-order-secret:active{transform:scale(.97)}
.query-result-section .order-list{padding:18px}.query-result-section .order-item{padding:18px;margin-bottom:14px}.query-result-section .order-header{margin-bottom:14px;padding-bottom:14px}.query-result-section .order-left{gap:12px}.query-result-section .status-badge{padding:6px 11px;font-size:11px}.query-result-section .order-no{margin-bottom:5px;font-size:15px}.query-result-section .order-time,.query-result-section .payment-time,.query-result-section .payment-dst{margin-bottom:3px;font-size:12px}.query-result-section .amount-label{font-size:10px}.query-result-section .amount-value{font-size:20px}.query-result-section .goods-section{gap:11px;padding:11px}.query-result-section .goods-image{width:62px;height:62px}.query-result-section .goods-name{margin-bottom:6px;font-size:14px}.query-result-section .goods-sku{padding:3px 7px;font-size:10px}.query-result-section .payment-icon{width:17px;height:17px}.query-result-section .payment-name{font-size:12px}.query-result-section .card-section{margin-top:14px;padding-top:14px}.query-result-section .card-header{margin-bottom:10px}.query-result-section .card-title{font-size:14px!important}.query-result-section .shipment-badge{font-size:10px}.query-result-section .card-content,.query-result-section .card-content-no-password{padding:12px;font-size:13px}.query-result-section .card-password-input,.query-result-section .view-card-btn{height:38px;font-size:12px}.copy-order-secret{min-width:70px;height:32px;font-size:11px}
@media(max-width:991.98px){.product-cover-wrap{min-height:430px}.product-purchase-info{padding:0}.query-hero{padding:40px 24px}}
@media(max-width:767.98px){.product-detail-page,.query-page{width:calc(100% - 24px);padding-top:16px}.product-purchase-card,.product-description-card,.query-hero,.query-result-section,.query-state{border-radius:18px}.product-purchase-body{padding:14px}.product-cover-wrap{min-height:320px}.product-purchase-info h1{font-size:22px}.product-description-heading,.query-section-heading{min-height:86px;padding:18px}.product-description-body{padding:18px}.query-hero{padding:32px 18px}.query-hero-copy h1{font-size:26px}.query-search{height:auto;min-height:54px}.query-search button{min-width:52px}.query-search button span{display:none}.query-tips{flex-direction:column;align-items:center;gap:7px}.query-result-section .order-list{padding:10px}.query-result-section .order-item{padding:12px}.query-result-section .order-header{gap:9px;margin-bottom:10px;padding-bottom:10px}.query-result-section .goods-section{flex-direction:row;align-items:center;gap:8px;text-align:left}.query-result-section .goods-thumb{align-self:auto}.query-result-section .goods-meta{justify-content:flex-start}.query-result-section .order-right{align-self:flex-start}.query-result-section .card-display-content{padding:10px}}
