.product-card{width:100%;max-width:600px;background:#fff;border-radius:12px;box-shadow:0 4px 20px rgba(0,0,0,.08);overflow:hidden;transition:transform .3s ease,box-shadow .3s ease}
.product-card:hover{transform:translateY(-5px);box-shadow:0 8px 30px rgba(0,0,0,.12)}
.jizone-mall-list{display:grid;gap:16px;align-items:stretch}
.jizone-mall-list[data-layout="detail"]{grid-template-columns:repeat(2,1fr)}
@media (max-width:768px){.jizone-mall-list[data-layout="detail"]{grid-template-columns:1fr}}
.jizone-mall-list[data-layout="simple"]{grid-template-columns:repeat(6,1fr)}
@media (max-width:1200px){.jizone-mall-list[data-layout="simple"]{grid-template-columns:repeat(4,1fr)}}
@media (max-width:768px){.jizone-mall-list[data-layout="simple"]{grid-template-columns:repeat(2,1fr)}}
.jizone-mall-list .product-card{max-width:none;margin:0}
.jizone-mall-list[data-layout="simple"] .product-card{cursor:pointer}
.card-content{display:flex;flex-wrap:nowrap}
.product-card .card-content{display:flex !important;flex-wrap:nowrap !important}
.product-card img{margin:0 !important;cursor:default !important}
.product-image-section{flex:1;min-width:260px;padding:18px}
.product-image-section{text-align:left}
.product-main-image{width:100%;aspect-ratio:1/1;height:auto;object-fit:cover;border-radius:8px;margin-bottom:15px;box-shadow:0 2px 10px rgba(0,0,0,.05)}
.product-name{font-size:16px;font-weight:600;color:#333;line-height:1.4;margin-bottom:5px}
.product-category{color:#666;font-size:12px;margin-bottom:2px}
.product-info-section{flex:1;min-width:260px;padding:20px;border-left:1px solid #f0f0f0;display:flex;flex-direction:column}
.jizone-mall-list[data-layout="simple"] .product-card .card-content{display:block !important}
.jizone-mall-list[data-layout="simple"] .product-image-section{padding:12px;min-width:0}
.jizone-mall-list[data-layout="simple"] .product-info-section{border-left:none;padding:10px;min-width:0}
.jizone-mall-list[data-layout="simple"] .sku-image{width:32px;height:32px}
.sku-section{margin-bottom:20px}
.sku-title{font-size:16px;font-weight:600;color:#333;margin-bottom:10px}
.sku-images{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-start;align-items:flex-start;text-align:left}
.sku-image{width:60px;height:60px;aspect-ratio:1/1;object-fit:cover;border-radius:6px;border:2px solid transparent;cursor:pointer;transition:all .2s ease}
.sku-image:hover{border-color:#4a90e2;transform:scale(1.05)}
.sku-image.active{border-color:#4a90e2;box-shadow:0 0 0 2px rgba(74,144,226,.3)}
.sku-variant{width:60px;height:60px;border-radius:6px;border:2px solid transparent;cursor:pointer;transition:all .2s ease;background-color:#f0f0f0;background-size:cover;background-position:center}
.sku-variant:hover{border-color:#4a90e2;transform:scale(1.05)}
.sku-variant.active{border-color:#4a90e2;box-shadow:0 0 0 2px rgba(74,144,226,.3)}
.main-thumbs{display:flex;flex-wrap:nowrap;gap:10px;margin-top:8px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity}
.main-thumb{width:60px;height:60px;border-radius:6px;border:2px solid transparent;cursor:pointer;transition:all .2s ease;background-size:cover;background-position:center;flex:0 0 auto;scroll-snap-align:start}
.main-thumb:hover{border-color:#4a90e2;transform:scale(1.05)}
.main-thumb.active{border-color:#4a90e2;box-shadow:0 0 0 2px rgba(74,144,226,.3)}
.price-section{margin-bottom:10px}
.current-price{font-size:16px;font-weight:700;color:#ff4757;margin-bottom:5px}
.original-price{font-size:16px;color:#999;text-decoration:line-through;margin-bottom:5px}
.discount{display:inline-block;background-color:#ff4757;color:#fff;font-size:12px;padding:2px 6px;border-radius:4px;margin-left:5px}
.stock-section{margin-bottom:20px}
.stock-title{font-size:16px;font-weight:600;color:#333;margin-bottom:10px}
.stock-info{display:flex;align-items:center;gap:10px}
.stock-bar{flex:1;height:8px;background-color:#f0f0f0;border-radius:4px;overflow:hidden}
.stock-progress{height:100%;background-color:#4a90e2;border-radius:4px;transition:width .5s ease}
.stock-text{font-size:14px;color:#666;white-space:nowrap}
.action-buttons{display:flex;gap:10px;margin-top:auto}
.btn{flex:1;padding:12px 0;border:none;border-radius:6px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s ease;display:block;text-align:center;text-decoration:none}
.btn-cart{background-color:#f8f9fa;color:#333;border:1px solid #e0e0e0}
.btn-cart:hover{background-color:#e9ecef}
.btn-buy{background-color:#ff4757;color:#fff}
.btn-buy:hover{background-color:#ff2e43}
@media (max-width:768px){.card-content{flex-direction:column}.product-info-section{border-left:none;border-top:1px solid #f0f0f0}}
.jzm-product-center .product-card{margin:0 auto}
/* 详情页纵向布局 */
.jzm-product-center .product-detail{display:block;padding:18px}
.jzm-product-center .product-card{padding-bottom:90px}
.jzm-product-center .product-desc{font-size:14px;color:#666;margin:12px 0}
.jzm-product-center .product-card{width:100%}
.jzm-product-center .card-content{display:block !important}
.jzm-product-center .product-image-section{min-width:0}
.jzm-product-center .product-detail{width:100%}
.jzm-product-center .product-detail-images{display:block;margin-top:8px}
.jzm-product-center .product-detail-images .detail-image{display:block;width:100%;height:auto;border-radius:8px;object-fit:cover;box-shadow:0 2px 8px rgba(0,0,0,.06);margin-bottom:12px}
.jzm-product-center .floating-buy .btn{width:100%;max-width:none}
.jzm-product-center .floating-buy{position:fixed;left:0;right:0;bottom:16px;z-index:9999;padding:0 16px}
.jzm-product-center .floating-buy{bottom:calc(16px + env(safe-area-inset-bottom, 0px))}
.jzm-product-center .floating-buy .btn{max-width:600px;margin:0 auto}
.sheet-mask{position:fixed;inset:0;background:rgba(0,0,0,.35);opacity:0;pointer-events:none;transition:opacity .2s ease;z-index:9999}
.sheet-mask.visible{opacity:1;pointer-events:auto}
.no-scroll{overflow:hidden;position:fixed;width:100%}
.sku-sheet{position:fixed;left:0;right:0;bottom:0;background:#fff;border-top-left-radius:12px;border-top-right-radius:12px;box-shadow:0 -8px 24px rgba(0,0,0,.15);transform:translateY(100%);transition:transform .3s ease;z-index:10000;max-height:70vh;display:flex;flex-direction:column}
.sku-sheet.open{transform:translateY(0)}
.sheet-header{padding:12px 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f0f0f0}
.sheet-close{width:28px;height:28px;border-radius:50%;border:1px solid #e6e6e6;background:#f5f5f5;color:#666;line-height:26px;text-align:center;font-size:12px;cursor:pointer;transition:all .2s ease}
.sheet-close:hover{background:#fff;border-color:#ccc;color:#333;box-shadow:0 2px 6px rgba(0,0,0,.08);transform:scale(1.05)}
.sheet-body{padding:12px 16px;overflow:auto}
.sheet-preview{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.sheet-preview-image{width:128px;height:128px;border-radius:8px;object-fit:cover;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.sheet-preview-info{flex:1}
.sheet-sku-name{font-size:16px;font-weight:600;color:#333}
.sheet-sku-price{font-size:18px;font-weight:700;color:#ff4757;margin-top:4px}
.sheet-selected{font-size:13px;color:#666;margin-top:4px}
.sheet-total{font-size:14px;color:#333;margin-top:4px}
.sheet-qty{display:flex;align-items:center;gap:12px;margin-top:10px;justify-content:flex-end}
.qty-btn{width:36px;height:36px;border-radius:6px;background:#f5f5f5;border:1px solid #e6e6e6;color:#333;font-size:16px;line-height:34px;text-align:center;cursor:pointer}
.qty-count{min-width:18px;text-align:center;font-size:16px;color:#333}
.sheet-stock{display:flex;align-items:center;gap:8px;margin-top:8px}
.sheet-stock-bar{flex:1;height:6px;background-color:#f0f0f0;border-radius:4px;overflow:hidden}
.sheet-stock-progress{height:100%;background-color:#4a90e2;transition:width .5s ease}
.sheet-stock-text{font-size:12px;color:#666;white-space:nowrap}
.sheet-warning{font-size:12px;color:#ff4757;margin-top:6px}
.sheet-divider{height:1px;background:#f0f0f0;margin:12px 0}
.sheet-group-title{font-size:14px;color:#666;margin-bottom:8px}
.sku-sheet .sku-images{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-start;align-items:flex-start;text-align:left}
.sku-sheet .sku-variant{width:60px;height:60px;aspect-ratio:1/1;border-radius:8px;border:2px solid #e6e6e6;background-color:#f5f5f5;color:#666;cursor:pointer;background-size:cover;background-position:center}
.sku-sheet .sku-variant.active{border-color:#ff4757;color:#ff4757}
.sku-confirm.disabled,.sku-confirm:disabled{opacity:.6;cursor:not-allowed}
.sheet-actions{padding:12px 16px;border-top:1px solid #f0f0f0}
.sheet-actions .btn{width:90%;margin:0 auto;display:block}
/* 支付页面移动端适配 */
@media (max-width:768px){
  .jzm-pay-page{max-width:100% !important;margin:0 !important;border-radius:0 !important;box-shadow:none !important;padding:16px !important}
  .jzm-pay-actions{flex-direction:column !important}
  .jzm-pay-actions .btn{width:100%}
}