*{box-sizing:border-box}
html,body{margin:0;padding:0;background:#f5f6fa;color:#1f2937;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}
a{color:inherit}
body.modal-open{overflow:hidden}
.mobile-page{max-width:760px;margin:0 auto;min-height:100vh;background:#f5f6fa;padding-bottom:92px}
.mobile-home{background:linear-gradient(180deg,#ff6a00 0,#ff7d15 220px,#f5f6fa 220px,#f5f6fa 100%)}

.mall-header{padding:18px 16px 10px;color:#fff}
.mall-header-inner{display:flex;align-items:center;gap:12px}
.mall-logo{width:52px;height:52px;border-radius:16px;background:rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center;font-size:28px;box-shadow:0 10px 30px rgba(0,0,0,.12)}
.mall-header-copy h1{margin:0;font-size:24px;font-weight:800;letter-spacing:.5px}
.mall-header-copy p{margin:4px 0 0;font-size:13px;color:rgba(255,255,255,.9)}
.home-main{padding:0 14px 16px}
.hero-banner,.notice-card,.home-toolbar-card,.summary-card,.profile-card,.page-card{background:#fff;border-radius:18px;box-shadow:0 8px 28px rgba(15,23,42,.06)}
.hero-banner{display:flex;align-items:stretch;justify-content:space-between;gap:16px;padding:18px 16px;margin-bottom:12px;background:linear-gradient(135deg,#ff8a1f 0,#ff6a00 72%);color:#fff;overflow:hidden;position:relative}
.hero-banner:after{content:'';position:absolute;right:-36px;top:-36px;width:140px;height:140px;border-radius:50%;background:rgba(255,255,255,.10)}
.hero-copy{position:relative;z-index:1;flex:1;min-width:0}
.hero-tag{display:inline-flex;align-items:center;height:28px;padding:0 12px;border-radius:999px;background:rgba(255,255,255,.18);font-size:12px;font-weight:700}
.hero-copy h2{margin:12px 0 8px;font-size:26px;line-height:1.2}
.hero-copy p{margin:0;color:rgba(255,255,255,.92);font-size:14px;line-height:1.7;max-width:420px}
.hero-actions{display:flex;gap:10px;margin-top:16px;flex-wrap:wrap}
.hero-primary,.hero-secondary{height:40px;padding:0 16px;border-radius:999px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;font-size:14px;font-weight:700}
.hero-primary{background:#fff;color:#ff6a00}
.hero-secondary{background:rgba(255,255,255,.16);color:#fff;border:1px solid rgba(255,255,255,.2)}
.hero-card-mini{width:148px;flex:0 0 148px;position:relative;z-index:1;border-radius:18px;background:rgba(255,255,255,.16);padding:16px 14px;display:flex;flex-direction:column;justify-content:center;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.hero-mini-top{font-size:12px;color:rgba(255,255,255,.86)}
.hero-mini-amount{margin-top:8px;font-size:20px;font-weight:800;line-height:1.3}
.hero-mini-note{margin-top:8px;font-size:12px;color:rgba(255,255,255,.88);line-height:1.5}

.notice-card{display:flex;align-items:center;gap:12px;padding:12px 14px;margin-bottom:12px}
.notice-label{flex:0 0 auto;padding:6px 10px;border-radius:999px;background:#fff3e8;color:#ff6a00;font-size:13px;font-weight:700}
.notice-text{display:block;min-width:0;flex:1;border:0;background:transparent;padding:0;margin:0;color:#ef4444;white-space:nowrap;overflow:hidden;font:inherit;font-size:14px;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}
.notice-text:focus-visible{outline:2px solid #ff8c3a;outline-offset:2px;border-radius:4px}
.notice-marquee{display:block;width:100%;overflow:hidden}
.notice-marquee-track{display:flex;align-items:center;width:max-content;gap:36px;transform:translate3d(0,0,0);will-change:transform}
.notice-marquee-content{display:block;flex:0 0 auto;white-space:nowrap}
.notice-marquee-copy{display:none}
.notice-marquee-track.is-scrolling .notice-marquee-copy{display:block}
.notice-marquee-track.is-scrolling{animation:announcement-marquee var(--marquee-duration,12s) linear infinite}
.notice-text:hover .notice-marquee-track.is-scrolling,.notice-text:focus-visible .notice-marquee-track.is-scrolling{animation-play-state:paused}
@keyframes announcement-marquee{from{transform:translate3d(0,0,0)}to{transform:translate3d(var(--marquee-distance,-240px),0,0)}}

.home-flash{margin:0 0 12px;padding:12px 14px;border-radius:14px;font-size:14px;line-height:1.5}
.home-flash-success{background:#ecfdf3;color:#067647}
.home-flash-error{background:#fff1f2;color:#be123c}
.home-toolbar-card{padding:14px;margin-bottom:14px}
.search-form{display:flex;gap:10px;align-items:center}
.search-box{position:relative;flex:1}
.search-box:before{content:'⌕';position:absolute;left:14px;top:8px;font-size:24px;color:#a6abb4}
.search-box input{width:100%;height:44px;border:1px solid #edf0f4;border-radius:999px;background:#f7f8fa;padding:0 15px 0 42px;font-size:15px;outline:none}
.search-btn{border:0;background:transparent;color:#58606e;font-size:15px;padding:0 4px}
.search-btn-filled{height:44px;padding:0 18px;border-radius:999px;background:linear-gradient(180deg,#ff9f4a 0,#ff7a00 100%);color:#fff;font-weight:700;box-shadow:0 8px 18px rgba(255,122,0,.24)}
.category-chip-row{display:flex;gap:10px;overflow-x:auto;padding-top:14px;scrollbar-width:none}
.category-chip-row::-webkit-scrollbar{display:none}
.category-chip{flex:0 0 auto;height:34px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#f5f6fa;color:#4b5563;text-decoration:none;font-size:13px;font-weight:600}
.category-chip.active{background:#fff1e7;color:#ff6a00;border:1px solid #ffd0ae}
.sortbar{display:grid;grid-template-columns:repeat(3,1fr);margin-top:14px;border-radius:14px;overflow:hidden;background:#f8fafc;border:1px solid #eef2f7}
.sortbar a{height:42px;display:flex;align-items:center;justify-content:center;color:#667085;text-decoration:none;position:relative;font-size:14px}
.sortbar a+a:before{content:'';position:absolute;left:0;top:11px;bottom:11px;width:1px;background:#e5e7eb}
.sortbar a.active{color:#ff6a00;font-weight:700;background:#fff}
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:6px 2px 14px}
.section-heading h2{margin:0;font-size:20px;color:#111827}
.section-heading p{margin:5px 0 0;color:#98a2b3;font-size:13px}
.section-badge{flex:0 0 auto;padding:6px 10px;border-radius:999px;background:#fff;color:#ff7a00;font-size:12px;font-weight:700;box-shadow:0 6px 16px rgba(15,23,42,.05)}

.product-grid{display:grid;gap:12px}
.oil-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.product-card{background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 8px 24px rgba(15,23,42,.06);display:flex;flex-direction:column;min-width:0}
.product-thumb-link{display:block;text-decoration:none}
.product-image{aspect-ratio:4/3;display:block;width:100%;object-fit:cover;background:#fff4ed}
.product-body{padding:12px 12px 14px;display:flex;flex-direction:column;flex:1;background:#fff}
.product-title{font-size:17px;line-height:1.45;font-weight:700;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:49px}
.product-subtitle{font-size:13px;color:#667085;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:4px}
.product-sales{font-size:12px;color:#98a2b3;margin-top:8px}
.product-price-line{display:flex;align-items:flex-end;gap:8px;margin-top:10px}
.price{font-size:18px;color:#ff6a00;font-weight:800;white-space:nowrap}
.product-actions{display:grid;gap:8px;margin-top:12px}
.vertical-actions{grid-template-columns:1fr}
.buy-btn,.cart-btn,.empty-action,.service-entry,.announcement-confirm,.primary-submit,.batch-checkout-btn,.batch-checkout-link{border:0;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer}
.buy-btn{background:linear-gradient(180deg,#ffa24d 0,#ff7a00 100%);color:#fff;padding:10px 12px;font-size:14px;font-weight:700;box-shadow:0 8px 18px rgba(255,122,0,.22)}
.wide-buy-btn{height:42px;font-size:15px}
.cart-btn{background:#fff3e8;color:#ff7a00;padding:10px 12px;font-size:14px;font-weight:700}
.soft-cart-btn{height:38px;background:#fff;color:#ff7a00;border:1px solid #ffd3b3}
.empty{grid-column:1/-1;background:#fff;border-radius:18px;padding:42px 20px;text-align:center;color:#98a2b3;box-shadow:0 8px 24px rgba(15,23,42,.04)}
.large-empty{padding:56px 20px}
.empty p{margin:0 0 14px;font-size:16px;color:#667085}
.empty-action{height:42px;padding:0 22px;background:#ff7a00;color:#fff;font-weight:700}

.bottom-nav{position:fixed;left:50%;transform:translateX(-50%);bottom:0;z-index:120;width:min(760px,100%);padding:8px 10px calc(8px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(3,1fr);gap:8px;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-top:1px solid #eceff4;box-shadow:0 -10px 24px rgba(15,23,42,.06)}
.bottom-nav-item{text-decoration:none;color:#98a2b3;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:12px;font-weight:500;padding:4px 0}
.bottom-nav-item.active{color:#ff6a00}
.nav-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;font-size:22px;line-height:1;width:24px;height:24px}
.nav-badge{position:absolute;top:-6px;right:-12px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:#ef4444;color:#fff;font-size:10px;font-style:normal;display:flex;align-items:center;justify-content:center;line-height:1}

.sub-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 16px;color:#111827;background:#fff;position:sticky;top:0;z-index:20;box-shadow:0 6px 20px rgba(15,23,42,.04)}
.sub-header h1{margin:0;font-size:22px}
.sub-header a,.sub-header span{color:#ff7a00;text-decoration:none;font-size:14px;font-weight:600}
.sub-page-content{padding:14px}
.summary-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;margin-bottom:12px}
.highlight-summary{background:linear-gradient(135deg,#ffffff 0,#fff8f1 100%)}
.summary-card strong{font-size:26px;color:#111827}
.summary-card span{margin-left:6px;color:#98a2b3;font-size:14px}
.summary-right-group{display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.summary-total{font-size:14px;color:#667085}
.summary-total b{font-size:18px;color:#ff6a00}
.batch-checkout-btn{height:38px;padding:0 16px;background:linear-gradient(180deg,#ffa24d 0,#ff7a00 100%);color:#fff;font-size:14px;font-weight:700;box-shadow:0 8px 18px rgba(255,122,0,.18)}
.cart-list{display:flex;flex-direction:column;gap:12px}
.cart-item{display:flex;gap:12px;background:#fff;border-radius:18px;padding:12px;box-shadow:0 8px 24px rgba(15,23,42,.05)}
.cart-item-image{width:96px;height:96px;border-radius:14px;object-fit:cover;background:#f8fafc;flex:0 0 auto}
.cart-item-main{min-width:0;flex:1;display:flex;flex-direction:column}
.cart-item-title{font-size:16px;font-weight:700;line-height:1.45}
.cart-item-subtitle{font-size:13px;color:#98a2b3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:4px}
.cart-item-price{font-size:18px;font-weight:800;color:#ff6a00;margin-top:10px}
.cart-line-total{font-size:13px;color:#667085;margin-top:4px}
.cart-item-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-top:auto;padding-top:10px}
.qty-control{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border-radius:999px;background:#f7f8fa}
.qty-control a{width:24px;height:24px;border-radius:50%;background:#fff;color:#ff7a00;text-decoration:none;display:flex;align-items:center;justify-content:center;font-size:16px;box-shadow:0 2px 8px rgba(15,23,42,.06)}
.qty-control span{min-width:18px;text-align:center;font-weight:700;color:#111827}
.cart-actions{display:flex;gap:8px;align-items:center}
.cart-remove{font-size:13px;color:#98a2b3;text-decoration:none}
.cart-tools{padding:12px 4px 0}
.dual-tools{display:flex;align-items:center;justify-content:space-between;gap:12px}
.cart-clear-link{font-size:13px;color:#98a2b3;text-decoration:none}
.batch-checkout-link{height:38px;padding:0 16px;background:#fff3e8;color:#ff7a00;font-size:14px;font-weight:700}

.profile-card{display:flex;align-items:center;gap:14px;padding:18px;margin-bottom:12px}
.profile-avatar{width:58px;height:58px;border-radius:18px;background:linear-gradient(180deg,#ff9e48 0,#ff7a00 100%);color:#fff;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:800;box-shadow:0 10px 24px rgba(255,122,0,.2)}
.profile-card h2{margin:0 0 6px;font-size:20px;color:#111827}
.profile-card p{margin:0;color:#98a2b3;line-height:1.6;font-size:14px}
.compact-card{padding:16px;margin-bottom:12px}
.block-title{margin:0 0 14px;font-size:17px;color:#111827}
.lookup-form .primary-submit{width:100%;height:46px;background:linear-gradient(180deg,#ffa24d 0,#ff7a00 100%);color:#fff;font-size:16px;font-weight:700;box-shadow:0 8px 20px rgba(255,122,0,.2)}
.service-entry{width:100%;height:46px;background:#fff3e8;color:#ff7a00;font-size:16px;font-weight:700}
.lookup-list{display:flex;flex-direction:column;gap:12px}
.lookup-item{padding:14px;border-radius:16px;background:#f8fafc}
.lookup-title{font-size:16px;font-weight:700;line-height:1.5;color:#111827;margin-bottom:8px}
.lookup-meta{font-size:13px;color:#667085;line-height:1.8}
.lookup-actions{display:flex;gap:8px;margin-top:12px}
.lookup-actions .cart-btn,.lookup-actions .buy-btn{flex:1}

.me-page{background:linear-gradient(180deg,#ff6a00 0,#ff7d15 180px,#f5f6fa 180px,#f5f6fa 100%)}
.member-page-content{padding-top:18px}
.member-hero{padding:18px 16px;border-radius:22px;background:linear-gradient(135deg,#ff8c26 0,#ff6a00 76%);color:#fff;box-shadow:0 14px 32px rgba(255,106,0,.2)}
.member-hero-main{display:flex;align-items:center;gap:14px}
.member-avatar{width:62px;height:62px;border-radius:20px;background:rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:800}
.member-copy h1{margin:0;font-size:24px}
.member-copy p{margin:6px 0 0;font-size:13px;color:rgba(255,255,255,.92)}
.member-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:16px}
.member-stat{padding:14px;border-radius:18px;background:rgba(255,255,255,.14)}
.member-stat strong{display:block;font-size:24px;line-height:1.2}
.member-stat span{display:block;margin-top:4px;font-size:12px;color:rgba(255,255,255,.88)}
.member-menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}
.member-menu-item{display:flex;flex-direction:column;gap:6px;padding:16px 14px;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.05);text-decoration:none}
.member-menu-item b{font-size:16px;color:#111827}
.member-menu-item span{font-size:12px;color:#98a2b3;line-height:1.6}
.member-announcement{border-radius:14px;background:#fff7ed;color:#9a3412;padding:14px;line-height:1.8;font-size:14px}

.page-card{margin:14px;padding:18px}
.page-title{font-size:22px;font-weight:800;margin:0 0 16px}
.order-product{display:flex;gap:14px;padding-bottom:16px;border-bottom:1px solid #eee;margin-bottom:16px}
.order-product img{width:92px;height:92px;border-radius:14px;object-fit:cover}
.order-product h3{margin:2px 0 8px;font-size:17px;line-height:1.4}
.form-row{margin-bottom:14px}
.form-row label{display:block;font-size:14px;font-weight:600;margin-bottom:8px;color:#111827}
.form-row input,.form-row textarea{width:100%;border:1px solid #dfe3e8;border-radius:14px;padding:12px 14px;font-size:16px;outline:none;background:#fff}
.form-row textarea{min-height:88px;resize:vertical}
.primary-submit{width:100%;height:48px;background:linear-gradient(180deg,#ffa24d 0,#ff7a00 100%);color:#fff;font-size:16px;font-weight:700;box-shadow:0 8px 20px rgba(255,122,0,.18)}
.payment-amount{text-align:center;padding:10px 0}
.payment-amount .amount{font-size:36px;color:#ff6a00;font-weight:800}
.qr-box{width:min(76vw,310px);height:min(76vw,310px);margin:14px auto;border:1px solid #e5e7eb;border-radius:18px;padding:10px;background:#fff}
.qr-box img{width:100%;height:100%;object-fit:contain}
.payment-tip{background:#fff7ed;color:#9a3412;border-radius:14px;padding:12px;line-height:1.7;font-size:14px}
.proof-preview{max-width:100%;border-radius:14px;margin-top:10px}
.order-meta{background:#f8fafc;border-radius:14px;padding:12px;line-height:1.9;color:#596273;font-size:14px}
.back-link{display:inline-block;margin:14px 14px 0;color:#ff7a00;text-decoration:none;font-weight:600}

.batch-order-list{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}
.batch-order-item{display:flex;gap:12px;padding:12px;border-radius:16px;background:#f8fafc}
.batch-order-item img{width:78px;height:78px;border-radius:14px;object-fit:cover;flex:0 0 auto;background:#fff}
.batch-order-info{min-width:0;flex:1}
.batch-order-title{font-size:15px;font-weight:700;line-height:1.45;color:#111827}
.batch-order-meta{font-size:13px;color:#667085;margin-top:6px}
.batch-order-total{font-size:14px;color:#ff6a00;font-weight:700;margin-top:8px}
.batch-total-box{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;margin-bottom:16px;border-radius:16px;background:#fff7ed;color:#9a3412;font-size:14px}
.batch-total-box strong{font-size:22px;color:#ff6a00}

.announcement-modal{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:22px}
.announcement-modal.is-open{display:flex}
.announcement-mask{position:absolute;inset:0;background:rgba(15,23,42,.52);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}
.announcement-dialog{position:relative;width:min(100%,460px);max-height:min(76vh,620px);display:flex;flex-direction:column;background:#fff;border-radius:18px;box-shadow:0 24px 70px rgba(15,23,42,.28);overflow:hidden;animation:announcement-in .18s ease-out}
.announcement-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid #eef0f3}
.announcement-header h2{margin:0;font-size:18px;line-height:1.4;color:#1f2937}
.announcement-close{width:34px;height:34px;display:flex;align-items:center;justify-content:center;flex:0 0 34px;border:0;border-radius:50%;background:#f3f4f6;color:#6b7280;font-size:26px;line-height:1;cursor:pointer}
.announcement-content{padding:18px;overflow-y:auto;color:#374151;font-size:15px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;-webkit-overflow-scrolling:touch}
.announcement-footer{padding:0 18px 18px}
.announcement-confirm{width:100%;height:44px;background:linear-gradient(180deg,#ffa24d 0,#ff7a00 100%);color:#fff;font-size:16px;font-weight:700}
@keyframes announcement-in{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}

@media(prefers-reduced-motion:reduce){.notice-marquee-track.is-scrolling{animation:none}.notice-marquee-copy{display:none!important}.notice-marquee{overflow-x:auto;scrollbar-width:none}.notice-marquee::-webkit-scrollbar{display:none}}
@media(max-width:460px){
  .mobile-page{padding-bottom:88px}
  .mall-header-copy h1{font-size:22px}
  .hero-banner{flex-direction:column;gap:12px}
  .hero-copy h2{font-size:24px}
  .hero-card-mini{width:100%;flex-basis:auto}
  .section-heading{padding-top:2px}
  .oil-product-grid{gap:10px}
  .product-title{font-size:15px;min-height:44px}
  .price{font-size:17px}
  .buy-btn,.cart-btn{padding:9px 10px}
  .cart-item{padding:10px}
  .cart-item-image{width:88px;height:88px}
  .cart-item-footer{flex-direction:column;align-items:stretch}
  .cart-actions{justify-content:space-between}
  .summary-card{flex-direction:column;align-items:flex-start}
  .summary-right-group{width:100%;align-items:stretch}
  .member-menu-grid{grid-template-columns:1fr 1fr}
  .batch-total-box{flex-direction:column;align-items:flex-start}
  .announcement-modal{padding:18px}
  .announcement-dialog{max-height:78vh;border-radius:16px}
  .announcement-content{padding:16px;font-size:15px}
}
@media(max-width:350px){
  .oil-product-grid{grid-template-columns:1fr}
  .member-menu-grid{grid-template-columns:1fr}
}

/* 参考图首页样式 */
.ui-ref-home{background:#f6f7fb}
.ref-home-main{padding:16px 16px 12px}
.ref-notice-bar{display:flex;align-items:center;gap:10px;padding:0 0 14px}
.ref-notice-left{flex:0 0 auto;display:flex;align-items:center;gap:8px;padding:0 4px 0 2px}
.ref-notice-icon{font-size:20px;line-height:1}
.ref-notice-tag{font-size:16px;font-weight:800;color:#ef4444}
.ref-notice-button{flex:1;min-width:0;height:48px;border:0;border-radius:16px;background:#fff7f1;display:flex;align-items:center;gap:10px;padding:0 14px;color:#222;cursor:pointer}
.ref-notice-button .notice-marquee{flex:1;min-width:0}
.ref-notice-button .notice-marquee-content{color:#303133;font-size:15px}
.ref-notice-arrow{flex:0 0 auto;font-size:26px;color:#4b5563;line-height:1}
.ref-hero-banner{position:relative;overflow:hidden;border-radius:24px;padding:24px 20px 34px;min-height:220px;background:linear-gradient(135deg,#0d63ff 0,#1a78ff 42%,#46b1ff 100%);box-shadow:0 14px 30px rgba(38,99,235,.18)}
.ref-hero-banner:before{content:'';position:absolute;inset:auto auto -80px -50px;width:240px;height:160px;border-radius:50%;background:rgba(255,255,255,.08)}
.ref-hero-banner:after{content:'';position:absolute;right:-32px;top:-24px;width:180px;height:180px;border-radius:50%;background:rgba(255,255,255,.12)}
.ref-hero-copy{position:relative;z-index:1;max-width:54%}
.ref-hero-copy h1{margin:0;color:#ffe8a3;font-size:52px;line-height:1.04;font-weight:900;letter-spacing:1px;text-shadow:0 3px 10px rgba(0,0,0,.12)}
.ref-hero-copy p{margin:16px 0 0;color:#eaf3ff;font-size:16px;line-height:1.7;font-weight:600}
.ref-hero-badge{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:18px;padding:0 18px;border-radius:999px;background:linear-gradient(180deg,#ffe89a 0,#ffcb4d 100%);color:#3e2f00;font-size:17px;font-weight:800;box-shadow:0 10px 20px rgba(0,0,0,.12)}
.ref-hero-visual{position:absolute;right:20px;bottom:22px;width:250px;height:165px;z-index:1}
.ref-station-canopy{position:absolute;right:0;top:0;width:168px;height:42px;border-radius:14px 14px 8px 8px;background:linear-gradient(180deg,#ff6b57 0,#ce271e 100%);color:#fff;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:800;box-shadow:0 10px 24px rgba(0,0,0,.18)}
.ref-station-body{position:absolute;right:8px;top:38px;left:18px;bottom:0;border-radius:10px;background:linear-gradient(180deg,rgba(255,255,255,.18) 0,rgba(255,255,255,.06) 100%)}
.ref-station-body:before{content:'';position:absolute;left:0;right:0;bottom:16px;height:6px;border-radius:999px;background:rgba(6,39,100,.34)}
.ref-pump{position:absolute;bottom:24px;width:32px;height:74px;border-radius:10px;background:linear-gradient(180deg,#1f3a8a 0,#1d4ed8 100%);box-shadow:0 8px 14px rgba(0,0,0,.18)}
.ref-pump:nth-child(1){left:26px}
.ref-pump:nth-child(2){left:78px}
.ref-pump span{display:inline-flex;align-items:center;justify-content:center;width:100%;height:20px;border-radius:10px 10px 0 0;background:#ef4444;color:#fff;font-size:11px;font-weight:800}
.ref-car{position:absolute;right:10px;bottom:16px;width:74px;height:32px;border-radius:18px 18px 12px 12px;background:linear-gradient(180deg,#f8fafc 0,#dbe4ef 100%);box-shadow:0 8px 18px rgba(0,0,0,.14)}
.ref-car:before,.ref-car:after{content:'';position:absolute;bottom:-5px;width:14px;height:14px;border-radius:50%;background:#1f2937}
.ref-car:before{left:12px}.ref-car:after{right:12px}
.ref-hero-dots{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);display:flex;gap:10px;z-index:2}
.ref-hero-dots span{width:12px;height:12px;border-radius:50%;background:rgba(255,255,255,.4)}
.ref-hero-dots span.active{background:#fff}
.ref-search-card{padding:16px 0 12px}
.ref-search-form{display:flex;align-items:center;gap:10px;padding:0;background:transparent}
.ref-search-input-wrap{flex:1;min-width:0;height:56px;border-radius:28px;background:#fff;border:1px solid #e9edf4;display:flex;align-items:center;padding:0 18px;box-shadow:0 6px 18px rgba(15,23,42,.04)}
.ref-search-icon{font-size:26px;color:#454c5a;line-height:1;margin-right:10px}
.ref-search-input-wrap input{border:0;outline:none;width:100%;font-size:16px;background:transparent;color:#111827}
.ref-search-input-wrap input::placeholder{color:#8c95a5}
.ref-search-submit{flex:0 0 auto;height:50px;padding:0 22px;border:0;border-radius:25px;background:linear-gradient(180deg,#2d85ff 0,#1d62ff 100%);color:#fff;font-size:17px;font-weight:800;box-shadow:0 8px 20px rgba(29,98,255,.22)}
.ref-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:2px 0 10px}
.ref-product-card{border-radius:18px;box-shadow:0 5px 18px rgba(15,23,42,.06);overflow:hidden}
.ref-product-image{aspect-ratio:1.55/1;border-radius:0;background:#eef4ff}
.ref-product-body{padding:12px 14px 14px}
.ref-product-title{min-height:auto;font-size:17px;line-height:1.35;font-weight:800;color:#16181d}
.ref-product-subtitle{margin-top:5px;font-size:13px;color:#666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ref-product-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-top:12px}
.ref-price-wrap{display:flex;align-items:baseline;gap:2px;min-width:0}
.ref-price-symbol{color:#ef4444;font-size:15px;font-weight:700}
.ref-price{font-size:18px;color:#ef4444;font-weight:900}
.ref-card-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.ref-mini-cart{width:34px;height:34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;background:#f3f6fb;color:#255cf5;font-size:20px;font-weight:700}
.ref-buy-btn{min-width:64px;height:38px;padding:0 18px;border-radius:19px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;background:linear-gradient(180deg,#2f86ff 0,#1a62ff 100%);color:#fff;font-size:16px;font-weight:800;box-shadow:0 8px 16px rgba(26,98,255,.18)}
.ref-bottom-nav{background:#fff;border-top:1px solid #e8edf5;box-shadow:0 -4px 20px rgba(15,23,42,.05)}
.ref-bottom-nav .bottom-nav-item.active{color:#1d62ff}
.ref-bottom-nav .nav-badge{background:#1d62ff}

@media(max-width:460px){
  .ref-home-main{padding:12px 12px 10px}
  .ref-notice-button{height:44px;border-radius:14px;padding:0 12px}
  .ref-hero-banner{padding:18px 16px 30px;min-height:190px;border-radius:20px}
  .ref-hero-copy{max-width:56%}
  .ref-hero-copy h1{font-size:40px}
  .ref-hero-copy p{font-size:13px;margin-top:10px}
  .ref-hero-badge{min-height:38px;margin-top:12px;padding:0 14px;font-size:14px}
  .ref-hero-visual{right:10px;bottom:20px;width:160px;height:120px}
  .ref-station-canopy{width:120px;height:34px;font-size:13px}
  .ref-pump{width:22px;height:54px}
  .ref-pump:nth-child(1){left:16px}
  .ref-pump:nth-child(2){left:52px}
  .ref-pump span{height:16px;font-size:9px}
  .ref-car{width:52px;height:22px}
  .ref-search-input-wrap{height:50px}
  .ref-search-submit{height:46px;padding:0 18px;font-size:15px}
  .ref-product-grid{gap:12px}
  .ref-product-body{padding:10px 12px 12px}
  .ref-product-title{font-size:15px}
  .ref-buy-btn{min-width:58px;height:34px;padding:0 14px;font-size:15px}
  .ref-mini-cart{width:30px;height:30px;font-size:18px}
}
@media(max-width:350px){.ref-product-grid{grid-template-columns:1fr}}

/* 油卡商城参考图首页 */
.ui-ref-home{background:#fff;padding-bottom:94px}
.ref-home-main{padding:18px 16px 20px}
.ref-notice-bar{height:62px;display:flex;align-items:center;gap:12px;padding:0 18px;margin-bottom:14px;border-radius:18px;background:linear-gradient(90deg,#fff8f3 0,#fff4eb 100%);box-shadow:0 8px 24px rgba(15,23,42,.035)}
.ref-notice-left{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.ref-notice-icon{width:24px;height:27px;object-fit:contain;display:block}
.ref-notice-tag{font-size:16px;font-weight:800;color:#f04438;white-space:nowrap}
.ref-notice-button{min-width:0;flex:1;height:100%;display:flex;align-items:center;gap:10px;border:0;background:transparent;padding:0;color:#222;font:inherit;cursor:pointer}
.ref-notice-button .notice-marquee{flex:1;min-width:0}
.ref-notice-button .notice-marquee-content{font-size:15px;color:#252525}
.ref-notice-arrow{font-size:30px;line-height:1;color:#111;flex:0 0 auto;margin-top:-2px}
.ref-hero-banner{margin-bottom:14px;border-radius:18px;overflow:hidden;background:#eef5ff;box-shadow:0 10px 28px rgba(19,93,205,.16)}
.ref-hero-banner img{display:block;width:100%;height:auto;aspect-ratio:882/347;object-fit:cover}
.ref-search-card{margin-bottom:16px}
.ref-search-form{height:62px;display:flex;align-items:center;gap:12px;padding:7px 8px 7px 18px;border:1px solid #d8e0ec;border-radius:32px;background:#fff;box-shadow:0 6px 18px rgba(15,23,42,.04)}
.ref-search-input-wrap{min-width:0;flex:1;display:flex;align-items:center;gap:12px}
.ref-search-icon{width:25px;height:28px;object-fit:contain;flex:0 0 auto;opacity:.86}
.ref-search-input-wrap input{min-width:0;flex:1;height:46px;border:0;outline:0;background:transparent;font-size:16px;color:#222;padding:0}
.ref-search-input-wrap input::placeholder{color:#8b8f98}
.ref-search-submit{flex:0 0 auto;height:46px;min-width:96px;border:0;border-radius:25px;background:linear-gradient(180deg,#1f70ff 0,#075bf0 100%);color:#fff;font-size:17px;font-weight:700;box-shadow:0 8px 18px rgba(20,99,238,.24)}
.ref-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}
.ref-product-card{border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.09);overflow:hidden}
.ref-product-card .product-thumb-link{padding:12px 12px 0}
.ref-product-image{width:100%;aspect-ratio:371/178;border-radius:13px;object-fit:cover;background:#edf4ff;box-shadow:0 5px 14px rgba(15,23,42,.11)}
.ref-product-body{padding:10px 12px 12px}
.ref-product-title{min-height:auto;font-size:17px;line-height:1.42;font-weight:700;color:#171717;-webkit-line-clamp:1;white-space:nowrap;text-overflow:ellipsis}
.ref-product-subtitle{margin-top:3px;font-size:13px;line-height:1.45;color:#777;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.ref-product-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px}
.ref-price-wrap{min-width:0;display:flex;align-items:baseline;white-space:nowrap;color:#f5222d}
.ref-price-symbol{font-size:15px;font-weight:700;margin-right:1px}
.ref-price{font-size:20px;color:#f5222d;font-weight:800;line-height:1}
.ref-card-actions{display:flex;align-items:center;gap:6px;flex:0 0 auto}
.ref-mini-cart{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;text-decoration:none;background:#eef4ff;color:#0b63f6;font-size:20px;line-height:1;font-weight:500}
.ref-buy-btn{height:34px;padding:0 17px;border-radius:19px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;background:linear-gradient(180deg,#1f70ff 0,#075bf0 100%);color:#fff;font-size:15px;font-weight:700;box-shadow:0 7px 15px rgba(20,99,238,.22)}
.ref-bottom-nav{height:auto;padding-top:8px;background:#fff;border-top:1px solid #ececec;box-shadow:0 -4px 18px rgba(15,23,42,.05)}
.nav-icon-image-wrap{position:relative;display:flex;align-items:center;justify-content:center;width:34px;height:30px}
.nav-icon-image{display:block;width:30px;height:34px;object-fit:contain;mix-blend-mode:multiply}
.ref-bottom-nav .bottom-nav-item{gap:2px;font-size:13px;color:#666}
.ref-bottom-nav .bottom-nav-item.active{color:#1264f3;font-weight:600}
.ref-bottom-nav .bottom-nav-item:not(.active) .nav-icon-image{filter:grayscale(1);opacity:.72}
.ref-bottom-nav .bottom-nav-item.active .nav-icon-image{filter:none;opacity:1}
.ref-bottom-nav .nav-badge{top:-3px;right:-8px}

@media(max-width:520px){
  .ref-home-main{padding:12px 10px 18px}
  .ref-notice-bar{height:56px;padding:0 13px;border-radius:15px;margin-bottom:12px}
  .ref-notice-icon{width:22px;height:25px}
  .ref-notice-tag{font-size:15px}
  .ref-notice-button .notice-marquee-content{font-size:14px}
  .ref-hero-banner{border-radius:15px;margin-bottom:12px}
  .ref-search-form{height:56px;padding:6px 7px 6px 15px}
  .ref-search-input-wrap{gap:9px}
  .ref-search-icon{width:23px;height:25px}
  .ref-search-input-wrap input{font-size:15px}
  .ref-search-submit{height:44px;min-width:82px;font-size:16px}
  .ref-product-grid{gap:12px 10px}
  .ref-product-card{border-radius:14px}
  .ref-product-card .product-thumb-link{padding:10px 10px 0}
  .ref-product-image{border-radius:11px}
  .ref-product-body{padding:9px 10px 11px}
  .ref-product-title{font-size:15px}
  .ref-product-subtitle{font-size:12px}
  .ref-price{font-size:18px}
  .ref-buy-btn{height:32px;padding:0 14px;font-size:14px}
  .ref-mini-cart{width:30px;height:30px}
}
@media(max-width:360px){
  .ref-search-submit{min-width:70px;padding:0 12px}
  .ref-product-grid{grid-template-columns:1fr}
}

/* 油卡商城参考 UI：首页真实轮播图与商品卡片 */
.oil-ui-page{background:#f8f9fc;padding-bottom:92px}
.oil-ui-main{padding:14px 14px 20px}
.oil-ui-notice{height:54px;display:flex;align-items:center;gap:12px;padding:0 14px;margin-bottom:12px;border-radius:18px;background:linear-gradient(90deg,#fff7ef 0,#fffaf5 100%);box-shadow:0 7px 24px rgba(15,23,42,.05);overflow:hidden}
.oil-ui-notice-title{display:flex;align-items:center;gap:8px;flex:0 0 auto;color:#f0442f}
.oil-ui-notice-title img{display:block;width:22px;height:22px;object-fit:contain}
.oil-ui-notice-title strong{font-size:16px;white-space:nowrap}
.oil-ui-notice-content{display:flex;align-items:center;gap:10px;min-width:0;flex:1;border:0;background:transparent;padding:0;color:#30343b;font-size:14px;text-align:left;cursor:pointer}
.oil-ui-notice-content .notice-marquee{min-width:0;flex:1}
.oil-ui-notice-arrow{font-size:28px;color:#111827;line-height:1;flex:0 0 auto}

.oil-carousel{position:relative;margin-bottom:14px;border-radius:20px;overflow:hidden;background:#eaf1ff;box-shadow:0 10px 28px rgba(18,87,210,.14);touch-action:pan-y}
.oil-carousel-viewport{overflow:hidden}
.oil-carousel-track{display:flex;width:100%;transition:transform .48s cubic-bezier(.22,.61,.36,1);will-change:transform}
.oil-carousel-slide{flex:0 0 100%;width:100%;aspect-ratio:882/347;background:#eaf1ff}
.oil-carousel-slide a{display:block;width:100%;height:100%}
.oil-carousel-slide img{display:block;width:100%;height:100%;object-fit:cover}
.oil-carousel-dots{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);display:flex;align-items:center;gap:7px;padding:5px 8px;border-radius:999px;background:rgba(15,23,42,.12);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.oil-carousel-dots button{width:8px;height:8px;padding:0;border:0;border-radius:999px;background:rgba(255,255,255,.58);cursor:pointer;transition:.2s}
.oil-carousel-dots button.active{width:20px;background:#fff}

.oil-ui-search-card{padding:0;margin-bottom:14px}
.oil-ui-search-form{display:flex;align-items:center;gap:10px;padding:7px;border:1px solid #dce3ee;border-radius:999px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.05)}
.oil-ui-search-field{display:flex;align-items:center;gap:10px;min-width:0;flex:1;padding-left:10px}
.oil-ui-search-field img{width:25px;height:25px;display:block;object-fit:contain;opacity:.82}
.oil-ui-search-field input{min-width:0;width:100%;height:40px;border:0;outline:0;background:transparent;color:#111827;font-size:15px}
.oil-ui-search-field input::placeholder{color:#9aa3b2}
.oil-ui-search-form button{height:42px;min-width:82px;padding:0 20px;border:0;border-radius:999px;background:linear-gradient(180deg,#2382ff 0,#0965ef 100%);color:#fff;font-size:16px;font-weight:700;box-shadow:0 8px 18px rgba(9,101,239,.22)}

.oil-ui-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.oil-ui-product-card{border-radius:18px;border:1px solid #edf0f4;box-shadow:0 7px 24px rgba(15,23,42,.07);overflow:hidden;background:#fff}
.oil-ui-product-image{aspect-ratio:1.86/1;width:100%;object-fit:cover;background:#eef4ff}
.oil-ui-product-body{padding:11px 12px 12px}
.oil-ui-product-title{min-height:0;font-size:16px;line-height:1.45;font-weight:700;color:#171a20;-webkit-line-clamp:1;white-space:nowrap;text-overflow:ellipsis;display:block}
.oil-ui-product-subtitle{margin-top:3px;font-size:13px;color:#7f8794;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.oil-ui-product-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px}
.oil-ui-price{min-width:0;color:#f5222d;font-size:19px;font-weight:800;letter-spacing:-.2px;white-space:nowrap}
.oil-ui-price small{font-size:13px;margin-right:2px}
.oil-ui-buy{height:34px;min-width:66px;padding:0 15px;border-radius:999px;background:linear-gradient(180deg,#2382ff 0,#0965ef 100%);color:#fff;font-size:14px;font-weight:700;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 7px 16px rgba(9,101,239,.2)}
.oil-ui-add-cart{display:block;margin-top:9px;padding-top:8px;border-top:1px solid #f0f2f5;color:#8a93a2;font-size:12px;text-align:center;text-decoration:none}
.oil-ui-bottom-nav .bottom-nav-item{color:#7f8794}
.oil-ui-bottom-nav .bottom-nav-item.active{color:#0965ef}
.oil-ui-nav-icon{display:block;width:25px;height:25px;object-fit:contain}
.oil-ui-bottom-nav .bottom-nav-item:not(.active) .oil-ui-nav-icon{filter:grayscale(1);opacity:.7}
.oil-ui-bottom-nav .nav-badge-wrap{position:relative;display:inline-flex}

@media(max-width:460px){
  .oil-ui-main{padding:10px 10px 18px}
  .oil-ui-notice{height:50px;padding:0 12px;border-radius:16px}
  .oil-ui-notice-title strong{font-size:15px}
  .oil-ui-notice-content{font-size:13px}
  .oil-carousel{border-radius:16px}
  .oil-carousel-dots{bottom:7px}
  .oil-ui-search-form{padding:5px}
  .oil-ui-search-form button{height:40px;min-width:72px;padding:0 16px;font-size:15px}
  .oil-ui-search-field input{font-size:14px}
  .oil-ui-product-grid{gap:9px}
  .oil-ui-product-card{border-radius:15px}
  .oil-ui-product-body{padding:9px 10px 10px}
  .oil-ui-product-title{font-size:15px}
  .oil-ui-product-subtitle{font-size:12px}
  .oil-ui-price{font-size:17px}
  .oil-ui-buy{height:32px;min-width:60px;padding:0 12px;font-size:13px}
}
@media(max-width:350px){.oil-ui-product-grid{grid-template-columns:1fr}}

/* 购物车页面：使用用户提供的购物车图片资源 */
.cart-ref-page{background:#f7faff;padding-bottom:178px;color:#16181d}
.cart-ref-header{height:96px;padding:36px 28px 18px;display:flex;align-items:flex-end;justify-content:space-between;background:#fff;border-bottom:1px solid #eef2f7}
.cart-ref-header h1{margin:0;font-size:28px;line-height:1;font-weight:800}
.cart-ref-header button{border:0;background:transparent;padding:0;color:#25282d;font-size:16px;cursor:pointer}
.cart-ref-trust-strip{height:58px;padding:0 28px;display:flex;align-items:center;gap:9px;background:#eef7ff;color:#0865e8;font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden}
.cart-ref-trust-strip img{width:20px;height:22px;object-fit:contain}
.cart-ref-trust-strip i{font-style:normal;color:#73aaf3}
.cart-ref-main{padding:16px 20px 24px}
.cart-ref-list{background:#fff;border-radius:18px;box-shadow:0 10px 28px rgba(29,78,216,.07);overflow:hidden}
.cart-ref-item{position:relative;display:grid;grid-template-columns:44px 154px minmax(0,1fr);gap:16px;align-items:center;padding:24px 22px;border-bottom:1px solid #edf0f4}
.cart-ref-item:last-child{border-bottom:0}
.cart-ref-check{width:36px;height:36px;border:2px solid #d7e2f1;border-radius:50%;display:flex;align-items:center;justify-content:center;text-decoration:none;background:#fff;transition:.15s ease}
.cart-ref-check.selected{border-color:transparent}
.cart-ref-check img{width:36px;height:36px;display:block}
.cart-ref-product-image{width:154px;height:106px;object-fit:cover;border-radius:12px;background:#eef5ff;box-shadow:0 5px 14px rgba(15,23,42,.08)}
.cart-ref-product-info{min-width:0;position:relative}
.cart-ref-product-info h2{margin:0;color:#121417;font-size:20px;line-height:1.35;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cart-ref-product-info p{margin:8px 0 0;color:#8a8f98;font-size:14px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cart-ref-face-value{margin-top:11px;color:#222;font-size:15px}
.cart-ref-face-value span{display:inline-flex;align-items:center;height:28px;margin-right:8px;padding:0 8px;border-radius:6px;background:#eaf3ff;color:#0666e8;font-size:13px;font-weight:700}
.cart-ref-item-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}
.cart-ref-item-bottom strong{color:#ef3026;font-size:22px;line-height:1;font-weight:800;white-space:nowrap}
.cart-ref-qty{display:grid;grid-template-columns:36px 34px 36px;align-items:center;text-align:center}
.cart-ref-qty a{width:36px;height:36px;border:1px solid #dce5f0;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#0768e9;background:#fff;text-decoration:none;font-size:22px;line-height:1}
.cart-ref-qty span{font-size:17px;color:#1f2937}
.cart-ref-remove{display:none;position:absolute;right:0;top:0;color:#ef4444;font-size:13px;text-decoration:none}
.cart-ref-page.is-managing .cart-ref-remove{display:block}
.cart-ref-page.is-managing .cart-ref-qty{opacity:.45;pointer-events:none}
.cart-ref-empty{margin-top:28px;padding:58px 20px;border-radius:20px;background:#fff;text-align:center;box-shadow:0 10px 28px rgba(29,78,216,.06)}
.cart-ref-empty-icon{font-size:52px}
.cart-ref-empty h2{margin:18px 0 8px;font-size:20px}
.cart-ref-empty p{margin:0;color:#98a2b3;font-size:14px}
.cart-ref-empty a{display:inline-flex;align-items:center;justify-content:center;height:44px;margin-top:20px;padding:0 26px;border-radius:999px;background:#0868ec;color:#fff;text-decoration:none;font-weight:700}
.cart-ref-guarantee{padding:30px 8px 4px}
.cart-ref-guarantee-title{display:flex;align-items:center;justify-content:center;gap:8px;color:#23262b;font-size:18px;font-weight:700}
.cart-ref-guarantee-title:before,.cart-ref-guarantee-title:after{content:'';width:100px;height:1px;background:#e5eaf1}
.cart-ref-guarantee-title img{width:22px;height:24px;object-fit:contain}
.cart-ref-guarantee-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:24px;text-align:center}
.cart-ref-guarantee-grid>div{min-width:0}
.cart-ref-guarantee-grid img{width:42px;height:42px;object-fit:contain}
.cart-ref-guarantee-grid b{display:block;margin-top:8px;color:#30343a;font-size:14px;font-weight:600}
.cart-ref-guarantee-grid span{display:block;margin-top:5px;color:#999fa9;font-size:11px;line-height:1.4}
.cart-ref-settlement{position:fixed;left:50%;bottom:82px;z-index:125;transform:translateX(-50%);width:min(720px,calc(100% - 28px));min-height:80px;padding:12px 16px;border-radius:18px;background:rgba(255,255,255,.98);box-shadow:0 8px 30px rgba(15,23,42,.13);display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.cart-ref-select-all{display:flex;align-items:center;gap:9px;color:#20242a;text-decoration:none;font-size:16px;white-space:nowrap}
.cart-ref-select-circle{width:34px;height:34px;border:2px solid #d7e2f1;border-radius:50%;display:flex;align-items:center;justify-content:center}
.cart-ref-select-circle img{width:34px;height:34px;display:block}
.cart-ref-select-all.selected .cart-ref-select-circle{border-color:transparent}
.cart-ref-total{text-align:right;min-width:0;color:#24272c;font-size:16px;line-height:1.4}
.cart-ref-total strong{color:#ef3026;font-size:23px}
.cart-ref-total span{display:block;color:#9ca3ad;font-size:12px}
.cart-ref-checkout{height:52px;padding:0 24px;border-radius:999px;background:linear-gradient(180deg,#1678f5 0,#0563e5 100%);color:#fff;text-decoration:none;display:flex;align-items:center;justify-content:center;font-size:17px;font-weight:700;box-shadow:0 8px 18px rgba(5,99,229,.22);white-space:nowrap}
.cart-ref-checkout.disabled{background:#b9c7da;box-shadow:none}
.cart-ref-bottom-nav{height:auto;padding-top:7px}
.cart-ref-bottom-nav .bottom-nav-item>img,.cart-ref-bottom-nav .cart-ref-nav-icon-wrap>img{width:31px;height:31px;object-fit:contain}
.cart-ref-bottom-nav .bottom-nav-item.active{color:#0868ec}
.cart-ref-nav-icon-wrap{position:relative;height:31px}
.cart-ref-nav-icon-wrap em{position:absolute;right:-12px;top:-8px;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#ff4338;color:#fff;font-size:10px;font-style:normal;display:flex;align-items:center;justify-content:center}

/* 我的页面：使用用户提供的简约版图片资源 */
.me-ref-page{background:#fbfcfe;padding-bottom:100px;color:#111318}
.me-ref-header{height:176px;padding:70px 20px 28px;display:flex;align-items:flex-end;justify-content:center;background:linear-gradient(180deg,#fff 0,#fdfefe 100%)}
.me-ref-header h1{margin:0;font-size:30px;line-height:1;font-weight:800}
.me-ref-main{padding:0 30px 50px}
.me-ref-order-card{padding:34px 32px 36px;border-radius:22px;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.06)}
.me-ref-order-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.me-ref-order-head h2{margin:0;font-size:26px;line-height:1.2;font-weight:800}
.me-ref-order-head a{display:flex;align-items:center;gap:10px;color:#8b8f96;text-decoration:none;font-size:18px;white-space:nowrap}
.me-ref-order-head a img{width:12px;height:16px;object-fit:contain}
.me-ref-status-grid{display:grid;grid-template-columns:repeat(4,1fr);margin-top:44px}
.me-ref-status-grid a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;text-decoration:none;color:#17191d;min-width:0}
.me-ref-status-grid a+a:before{content:'';position:absolute;left:0;top:4px;bottom:4px;width:1px;background:#edf0f4}
.me-ref-status-grid img{width:54px;height:54px;object-fit:contain}
.me-ref-status-grid span{font-size:18px;white-space:nowrap}
.me-ref-lookup-card{margin-top:20px;padding:24px;border-radius:20px;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.06);scroll-margin-top:20px}
.me-ref-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.me-ref-section-head h2{margin:0;font-size:21px}
.me-ref-section-head a{color:#0868ec;text-decoration:none;font-size:13px}
.me-ref-lookup-form .form-row{margin-bottom:13px}
.me-ref-lookup-form .form-row input{border-radius:12px;background:#f7f9fc;border-color:#edf0f4}
.me-ref-query-button{width:100%;height:46px;border:0;border-radius:999px;background:linear-gradient(180deg,#1779f5 0,#0864e7 100%);color:#fff;font-size:16px;font-weight:700;box-shadow:0 8px 18px rgba(8,100,231,.2)}
.me-ref-results{display:flex;flex-direction:column;gap:12px;margin-top:18px}
.me-ref-no-order{padding:30px 14px;border-radius:14px;background:#f8fafc;text-align:center;color:#98a2b3}
.me-ref-order-result{padding:15px;border-radius:14px;background:#f8fafc}
.me-ref-result-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.me-ref-result-head strong{font-size:15px;line-height:1.45}
.me-ref-result-head span{flex:0 0 auto;color:#0868ec;font-size:13px}
.me-ref-order-result p{margin:7px 0 0;color:#667085;font-size:13px;line-height:1.5}
.me-ref-result-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}
.me-ref-result-bottom b{color:#ef3026;font-size:19px}
.me-ref-result-bottom a{height:36px;padding:0 15px;border-radius:999px;background:#0868ec;color:#fff;text-decoration:none;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700}
.me-ref-service-notice{margin-top:18px;padding:14px 16px;border-radius:14px;background:#fff7ed;color:#9a3412;font-size:13px;line-height:1.7}
.me-ref-bottom-nav{height:auto;padding-top:8px}
.me-ref-bottom-nav .bottom-nav-item>img,.me-ref-bottom-nav .me-ref-nav-cart>img{width:34px;height:36px;object-fit:contain}
.me-ref-bottom-nav .bottom-nav-item.active{color:#0868ec}
.me-ref-nav-cart{position:relative;height:36px}
.me-ref-nav-cart em{position:absolute;right:-13px;top:-8px;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#ff4338;color:#fff;font-size:10px;font-style:normal;display:flex;align-items:center;justify-content:center}

@media(max-width:620px){
  .cart-ref-header{height:86px;padding:30px 20px 16px}
  .cart-ref-header h1{font-size:25px}
  .cart-ref-trust-strip{padding:0 20px;font-size:14px}
  .cart-ref-main{padding:14px 12px 22px}
  .cart-ref-item{grid-template-columns:34px 112px minmax(0,1fr);gap:10px;padding:18px 12px}
  .cart-ref-check,.cart-ref-check img{width:30px;height:30px}
  .cart-ref-product-image{width:112px;height:78px;border-radius:10px}
  .cart-ref-product-info h2{font-size:16px}
  .cart-ref-product-info p{font-size:12px;margin-top:5px}
  .cart-ref-face-value{margin-top:7px;font-size:13px}
  .cart-ref-face-value span{height:24px;font-size:11px}
  .cart-ref-item-bottom{margin-top:8px}
  .cart-ref-item-bottom strong{font-size:18px}
  .cart-ref-qty{grid-template-columns:30px 26px 30px}
  .cart-ref-qty a{width:30px;height:30px;font-size:18px}
  .cart-ref-qty span{font-size:15px}
  .cart-ref-guarantee{padding-top:26px}
  .cart-ref-guarantee-title:before,.cart-ref-guarantee-title:after{width:62px}
  .cart-ref-guarantee-grid img{width:36px;height:36px}
  .cart-ref-guarantee-grid b{font-size:12px}
  .cart-ref-guarantee-grid span{font-size:9px}
  .cart-ref-settlement{bottom:76px;width:calc(100% - 20px);min-height:72px;padding:10px 12px;gap:8px}
  .cart-ref-select-all{font-size:14px;gap:6px}
  .cart-ref-select-circle,.cart-ref-select-circle img{width:28px;height:28px}
  .cart-ref-total{font-size:13px}
  .cart-ref-total strong{font-size:18px}
  .cart-ref-checkout{height:46px;padding:0 15px;font-size:14px}
  .me-ref-header{height:150px;padding-top:58px}
  .me-ref-header h1{font-size:27px}
  .me-ref-main{padding:0 16px 42px}
  .me-ref-order-card{padding:26px 20px 30px;border-radius:18px}
  .me-ref-order-head h2{font-size:22px}
  .me-ref-order-head a{font-size:15px}
  .me-ref-status-grid{margin-top:34px}
  .me-ref-status-grid img{width:46px;height:46px}
  .me-ref-status-grid span{font-size:15px}
  .me-ref-lookup-card{padding:18px}
}
@media(max-width:390px){
  .cart-ref-item{grid-template-columns:28px 92px minmax(0,1fr);gap:8px;padding-left:9px;padding-right:9px}
  .cart-ref-check,.cart-ref-check img{width:26px;height:26px}
  .cart-ref-product-image{width:92px;height:66px}
  .cart-ref-product-info h2{font-size:14px}
  .cart-ref-product-info p{display:none}
  .cart-ref-face-value{font-size:12px}
  .cart-ref-item-bottom strong{font-size:16px}
  .cart-ref-qty{grid-template-columns:27px 22px 27px}
  .cart-ref-qty a{width:27px;height:27px}
  .cart-ref-settlement{grid-template-columns:auto minmax(0,1fr) auto}
  .cart-ref-checkout{padding:0 11px;font-size:13px}
  .me-ref-status-grid span{font-size:13px}
  .me-ref-status-grid img{width:40px;height:40px}
}

/* 购物车修正版：使用用户提供的透明资源，移除旧资源的白色底块 */
.cart-ref-page{background:#f5f8fd;padding-bottom:calc(76px + env(safe-area-inset-bottom));color:#16181d}
.cart-ref-header{height:72px;padding:18px 20px 14px;display:flex;align-items:flex-end;justify-content:space-between;background:#fff;border-bottom:1px solid #eef2f7}
.cart-ref-header h1{margin:0;font-size:27px;line-height:1;font-weight:800;letter-spacing:-.5px}
.cart-ref-header button{border:0;background:transparent;padding:0 2px;color:#25282d;font-size:16px;cursor:pointer}
.cart-ref-trust-strip{height:54px;padding:0 20px;display:flex;align-items:center;background:#eef7ff;overflow:hidden}
.cart-ref-trust-strip .cart-ref-trust-image{display:block;width:auto;height:25px;max-width:100%;object-fit:contain;object-position:left center}
.cart-ref-main{padding:16px 14px 28px}
.cart-ref-empty{min-height:360px;margin:0;padding:64px 20px 54px;border-radius:22px;background:#fff;text-align:center;box-shadow:0 12px 32px rgba(29,78,216,.06);display:flex;flex-direction:column;align-items:center;justify-content:center}
.cart-ref-empty-icon{width:78px;height:78px;color:#7b8798;display:flex;align-items:center;justify-content:center}
.cart-ref-empty-icon svg{display:block;width:100%;height:100%}
.cart-ref-empty h2{margin:18px 0 8px;color:#15171b;font-size:21px;line-height:1.35;font-weight:750}
.cart-ref-empty p{margin:0;color:#9aa4b3;font-size:14px;line-height:1.6}
.cart-ref-empty a{display:inline-flex;align-items:center;justify-content:center;min-width:142px;height:46px;margin-top:24px;padding:0 28px;border-radius:999px;background:linear-gradient(180deg,#1878f4 0,#0866e8 100%);color:#fff;text-decoration:none;font-size:16px;font-weight:700;box-shadow:0 9px 20px rgba(8,102,232,.2)}
.cart-ref-list{background:#fff;border-radius:18px;box-shadow:0 10px 28px rgba(29,78,216,.07);overflow:hidden}
.cart-ref-item{position:relative;display:grid;grid-template-columns:32px 128px minmax(0,1fr);gap:12px;align-items:center;padding:20px 16px;border-bottom:1px solid #edf0f4}
.cart-ref-item:last-child{border-bottom:0}
.cart-ref-check{width:30px;height:30px;border:1.5px solid #d7e2f1;border-radius:50%;display:flex;align-items:center;justify-content:center;text-decoration:none;background:#fff}
.cart-ref-check.selected{border-color:transparent}
.cart-ref-check img{display:block;width:30px;height:30px;object-fit:contain}
.cart-ref-product-image{width:128px;height:88px;object-fit:cover;border-radius:10px;background:#eef5ff;box-shadow:0 5px 14px rgba(15,23,42,.07)}
.cart-ref-product-info{min-width:0;position:relative}
.cart-ref-product-info h2{margin:0;color:#121417;font-size:18px;line-height:1.35;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cart-ref-product-info p{margin:6px 0 0;color:#8a8f98;font-size:13px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cart-ref-face-value{margin-top:9px;color:#222;font-size:14px}
.cart-ref-face-value span{display:inline-flex;align-items:center;height:25px;margin-right:7px;padding:0 7px;border-radius:5px;background:#eaf3ff;color:#0666e8;font-size:12px;font-weight:700}
.cart-ref-item-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}
.cart-ref-item-bottom strong{color:#ef3026;font-size:20px;line-height:1;font-weight:800;white-space:nowrap}
.cart-ref-qty{display:grid;grid-template-columns:30px 28px 30px;align-items:center;text-align:center}
.cart-ref-qty a{width:30px;height:30px;border:0;border-radius:50%;display:flex;align-items:center;justify-content:center;background:transparent;text-decoration:none;overflow:hidden}
.cart-ref-qty a img{display:block;width:30px;height:30px;object-fit:contain}
.cart-ref-qty span{font-size:15px;color:#1f2937}
.cart-ref-remove{display:none;position:absolute;right:0;top:0;color:#ef4444;font-size:13px;text-decoration:none}
.cart-ref-page.is-managing .cart-ref-remove{display:block}
.cart-ref-page.is-managing .cart-ref-qty{opacity:.42;pointer-events:none}
.cart-ref-guarantee{padding:28px 6px 10px}
.cart-ref-guarantee-title{display:flex;align-items:center;justify-content:center;gap:8px;color:#23262b;font-size:17px;font-weight:700}
.cart-ref-guarantee-title:before,.cart-ref-guarantee-title:after{content:'';width:80px;height:1px;background:#e5eaf1}
.cart-ref-guarantee-title img{display:block;width:22px;height:24px;object-fit:contain}
.cart-ref-guarantee-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:20px;text-align:center}
.cart-ref-guarantee-grid img{display:block;width:38px;height:38px;margin:0 auto;object-fit:contain}
.cart-ref-guarantee-grid b{display:block;margin-top:8px;color:#30343a;font-size:13px;font-weight:600}
.cart-ref-guarantee-grid span{display:block;margin-top:4px;color:#999fa9;font-size:10px;line-height:1.4}
.cart-ref-settlement{position:fixed;left:50%;bottom:calc(68px + env(safe-area-inset-bottom));z-index:125;transform:translateX(-50%);width:min(732px,calc(100% - 24px));min-height:76px;padding:10px 14px;border-radius:17px;background:rgba(255,255,255,.98);box-shadow:0 8px 30px rgba(15,23,42,.13);display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.cart-ref-select-all{display:flex;align-items:center;gap:8px;color:#20242a;text-decoration:none;font-size:15px;white-space:nowrap}
.cart-ref-select-circle{width:30px;height:30px;border:1.5px solid #d7e2f1;border-radius:50%;display:flex;align-items:center;justify-content:center}
.cart-ref-select-circle img{display:block;width:30px;height:30px;object-fit:contain}
.cart-ref-select-all.selected .cart-ref-select-circle{border-color:transparent}
.cart-ref-total{text-align:right;min-width:0;color:#24272c;font-size:14px;line-height:1.45}
.cart-ref-total strong{color:#ef3026;font-size:20px}
.cart-ref-total span{display:block;color:#9ca3ad;font-size:11px}
.cart-ref-checkout{height:48px;padding:0 20px;border-radius:999px;background:linear-gradient(180deg,#1678f5 0,#0563e5 100%);color:#fff;text-decoration:none;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:700;box-shadow:0 8px 18px rgba(5,99,229,.22);white-space:nowrap}
.cart-ref-checkout.disabled{background:#b9c7da;box-shadow:none}
.cart-ref-bottom-nav{height:68px;padding:7px 18px calc(7px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e8edf5;box-shadow:0 -4px 20px rgba(15,23,42,.05)}
.cart-ref-bottom-nav .bottom-nav-item{gap:2px;padding:0;color:#555d68;font-size:12px;line-height:1.2}
.cart-ref-bottom-nav .bottom-nav-item.active{color:#0868ec;font-weight:600}
.cart-ref-bottom-nav .bottom-nav-item>img,.cart-ref-bottom-nav .cart-ref-nav-icon-wrap>img{display:block;width:27px;height:27px;object-fit:contain;background:transparent}
.cart-ref-nav-icon-wrap{position:relative;display:flex;align-items:center;justify-content:center;width:32px;height:29px}
.cart-ref-nav-icon-wrap em{position:absolute;right:-7px;top:-5px;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:#ff4338;color:#fff;font-size:9px;font-style:normal;display:flex;align-items:center;justify-content:center;border:1px solid #fff}

@media(max-width:460px){
  .cart-ref-page{padding-bottom:calc(72px + env(safe-area-inset-bottom))}
  .cart-ref-header{height:64px;padding:14px 18px 13px}
  .cart-ref-header h1{font-size:25px}
  .cart-ref-trust-strip{height:52px;padding:0 18px}
  .cart-ref-trust-strip .cart-ref-trust-image{height:23px}
  .cart-ref-main{padding:14px 12px 22px}
  .cart-ref-empty{min-height:340px;padding:52px 20px;border-radius:20px}
  .cart-ref-empty-icon{width:70px;height:70px}
  .cart-ref-item{grid-template-columns:28px 104px minmax(0,1fr);gap:9px;padding:17px 10px}
  .cart-ref-check,.cart-ref-check img{width:27px;height:27px}
  .cart-ref-product-image{width:104px;height:73px;border-radius:9px}
  .cart-ref-product-info h2{font-size:15px}
  .cart-ref-product-info p{font-size:11px;margin-top:4px}
  .cart-ref-face-value{margin-top:6px;font-size:12px}
  .cart-ref-face-value span{height:22px;font-size:10px;padding:0 6px}
  .cart-ref-item-bottom{margin-top:7px}
  .cart-ref-item-bottom strong{font-size:17px}
  .cart-ref-qty{grid-template-columns:27px 24px 27px}
  .cart-ref-qty a,.cart-ref-qty a img{width:27px;height:27px}
  .cart-ref-qty span{font-size:14px}
  .cart-ref-guarantee-title:before,.cart-ref-guarantee-title:after{width:58px}
  .cart-ref-guarantee-grid img{width:34px;height:34px}
  .cart-ref-guarantee-grid b{font-size:11px}
  .cart-ref-guarantee-grid span{font-size:8px}
  .cart-ref-settlement{bottom:calc(64px + env(safe-area-inset-bottom));width:calc(100% - 18px);min-height:68px;padding:9px 10px;gap:7px}
  .cart-ref-select-all{font-size:13px;gap:5px}
  .cart-ref-select-circle,.cart-ref-select-circle img{width:27px;height:27px}
  .cart-ref-total{font-size:12px}
  .cart-ref-total strong{font-size:17px}
  .cart-ref-checkout{height:44px;padding:0 13px;font-size:13px}
  .cart-ref-bottom-nav{height:64px;padding-left:12px;padding-right:12px}
  .cart-ref-bottom-nav .bottom-nav-item>img,.cart-ref-bottom-nav .cart-ref-nav-icon-wrap>img{width:25px;height:25px}
}

@media(max-width:360px){
  .cart-ref-item{grid-template-columns:25px 88px minmax(0,1fr);gap:7px;padding-left:8px;padding-right:8px}
  .cart-ref-product-image{width:88px;height:64px}
  .cart-ref-product-info h2{font-size:14px}
  .cart-ref-product-info p{display:none}
  .cart-ref-item-bottom strong{font-size:15px}
  .cart-ref-qty{grid-template-columns:25px 20px 25px}
  .cart-ref-qty a,.cart-ref-qty a img{width:25px;height:25px}
  .cart-ref-settlement{grid-template-columns:auto minmax(0,1fr) auto}
  .cart-ref-checkout{padding:0 10px;font-size:12px}
}

/* 底部导航动态角标修复：不再使用自带“4”的图片，角标只由真实购物车数量生成 */
.clean-bottom-nav .bottom-nav-item{color:#69717d}
.clean-bottom-nav .bottom-nav-item.active{color:#0868ec}
.clean-bottom-nav .nav-svg{display:block;width:27px;height:27px;overflow:visible}
.clean-bottom-nav .dynamic-nav-icon{position:relative;display:inline-flex;width:29px;height:29px;align-items:center;justify-content:center}
.clean-bottom-nav .dynamic-cart-badge{position:absolute;right:-10px;top:-7px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:#ff4338;color:#fff;border:1.5px solid #fff;font-size:10px;font-weight:700;font-style:normal;line-height:1;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 4px rgba(239,68,68,.25)}
.clean-bottom-nav .bottom-nav-item:not(.active) .nav-svg{opacity:.82}
.clean-trust-strip{gap:8px!important;color:#0865e8!important}
.clean-trust-strip .trust-shield-svg{display:block;width:20px;height:22px;flex:0 0 20px;color:#0868ec;fill:#0868ec;stroke:#fff;stroke-width:1.7}
.clean-trust-strip span{font-weight:600}
.clean-trust-strip i{color:#73aaf3;font-style:normal}
@media(max-width:460px){
  .clean-bottom-nav .nav-svg{width:25px;height:25px}
  .clean-bottom-nav .dynamic-nav-icon{width:27px;height:27px}
  .clean-trust-strip{gap:6px!important;font-size:14px!important}
}


/* 确认订单与支付方式选择页 */
.payment-select-body{margin:0;background:#f5f7fb;color:#181b22;padding-bottom:calc(92px + env(safe-area-inset-bottom));font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
.payment-select-shell{width:min(100%,520px);min-height:100vh;margin:0 auto;background:#f5f7fb}
.payment-select-header{height:64px;padding:env(safe-area-inset-top) 18px 0;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;background:#fff;border-bottom:1px solid #eef1f5;box-sizing:content-box;position:sticky;top:0;z-index:20}
.payment-select-header h1{margin:0;text-align:center;font-size:21px;line-height:1;font-weight:800}
.payment-select-back{width:40px;height:40px;display:flex;align-items:center;justify-content:flex-start;color:#151922;text-decoration:none;font-size:42px;font-weight:300;line-height:1}
.payment-select-header-space{display:block}
.payment-select-main{padding:14px 14px 8px}
.confirm-order-card{background:#fff;border-radius:18px;padding:18px;margin-bottom:14px;box-shadow:0 7px 24px rgba(24,39,75,.07)}
.confirm-product-card{display:flex;gap:16px;align-items:stretch}
.confirm-product-image{width:118px;height:96px;object-fit:cover;border-radius:14px;background:#eef4ff;flex:0 0 auto}
.confirm-product-content{min-width:0;flex:1;display:flex;flex-direction:column}
.confirm-product-content h2{margin:1px 0 12px;font-size:18px;line-height:1.35;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.confirm-product-row{display:flex;justify-content:space-between;align-items:center;color:#5f6673;font-size:15px;line-height:1.9}
.confirm-product-row strong{color:#343943;font-size:16px;font-weight:500}
.confirm-section-title{display:flex;align-items:center;gap:11px;margin-bottom:14px}
.confirm-section-title h2{margin:0;font-size:19px;font-weight:800}
.confirm-section-icon{width:34px;height:34px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;color:#fff;background:linear-gradient(180deg,#2585ff,#0967ed);font-size:22px;font-weight:800;box-shadow:0 7px 15px rgba(9,103,237,.2)}
.confirm-info-list{border-top:1px solid #f0f2f5}
.confirm-info-row{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;min-height:52px;border-bottom:1px dashed #e8ebf0;font-size:15px}
.confirm-info-row:last-child{border-bottom:0}
.confirm-info-row span{color:#646c79}
.confirm-info-row strong{font-weight:500;color:#3e4551;word-break:break-all}
.payment-method-list{display:grid;gap:10px}
.payment-method-option{position:relative;display:flex;align-items:center;min-height:70px;border:1px solid #e4e8ef;border-radius:14px;padding:10px 16px;cursor:pointer;background:#fff}
.payment-method-option input{position:absolute;opacity:0;pointer-events:none}
.payment-brand-icon{width:46px;height:46px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:24px;font-weight:800;margin-right:15px;flex:0 0 auto}
.payment-brand-wechat{background:#19bf4b}
.payment-brand-alipay{background:#1677ff}
.payment-method-name{font-size:17px;color:#262b34;font-weight:600}
.payment-radio-mark{width:24px;height:24px;border-radius:50%;border:2px solid #c8ced8;margin-left:auto;box-sizing:border-box;position:relative}
.payment-method-option input:checked~.payment-radio-mark{border-color:#1677ff;background:#1677ff}
.payment-method-option input:checked~.payment-radio-mark:after{content:'';position:absolute;left:6px;top:3px;width:7px;height:12px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.payment-method-option:has(input:checked){border-color:#b7d3ff;background:#fbfdff}
.payment-method-error,.payment-method-empty{padding:14px;border-radius:12px;background:#fff1f2;color:#be123c;line-height:1.6;font-size:14px}
.payment-select-footer{position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,520px);height:78px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));box-sizing:content-box;background:#fff;border-top:1px solid #edf0f4;display:flex;align-items:center;gap:14px;z-index:30;box-shadow:0 -7px 24px rgba(24,39,75,.06)}
.payment-total{flex:1;white-space:nowrap;font-size:15px;color:#1f232b}
.payment-total strong{color:#f5222d;font-size:28px;font-weight:800;letter-spacing:-.5px}
.payment-now-button{width:168px;height:54px;border:0;border-radius:999px;background:linear-gradient(180deg,#ff3434,#ff1717);color:#fff;font-size:19px;font-weight:800;box-shadow:0 9px 20px rgba(255,23,23,.24);cursor:pointer}
.payment-now-button:disabled{background:#c9ced6;box-shadow:none;cursor:not-allowed}
.payment-page-card{margin-bottom:28px}
.payment-scan-label{text-align:center;color:#515967;font-size:14px;margin:-2px 0 14px}
.payment-setting-field{margin:18px 0;border-radius:8px}
@media(max-width:380px){.confirm-product-image{width:100px;height:84px}.confirm-product-content h2{font-size:16px}.confirm-info-row{grid-template-columns:98px}.payment-total strong{font-size:24px}.payment-now-button{width:142px}}

/* 固定单屏确认订单与扫码付款页 */
.payment-select-body,
.pay-qr-body{margin:0;height:100vh;overflow:hidden;background:#f5f7fb;color:#181b22;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
.payment-select-shell,
.pay-qr-shell{width:min(100%,520px);height:100vh;min-height:100vh;margin:0 auto;background:#f5f7fb;display:grid;grid-template-rows:auto 1fr auto;overflow:hidden}
.pay-qr-shell{grid-template-rows:auto 1fr}
.payment-select-header{position:static;height:58px;padding:calc(env(safe-area-inset-top) + 6px) 16px 6px;box-sizing:content-box}
.payment-select-header h1{font-size:20px}
.payment-select-back{height:36px;width:36px;font-size:38px}
.payment-select-main{padding:10px 12px;display:flex;flex-direction:column;gap:10px;overflow:hidden}
.confirm-order-card{margin-bottom:0;padding:14px 15px;border-radius:16px;box-shadow:0 6px 18px rgba(24,39,75,.06)}
.confirm-product-card{gap:12px}
.confirm-product-image{width:104px;height:84px;border-radius:12px}
.confirm-product-content h2{margin:0 0 8px;font-size:17px}
.confirm-product-row{font-size:14px;line-height:1.75}
.confirm-product-row strong{font-size:15px}
.confirm-section-title{margin-bottom:10px;gap:10px}
.confirm-section-title h2{font-size:18px}
.confirm-section-icon{width:32px;height:32px;font-size:20px;border-radius:10px}
.confirm-info-row{grid-template-columns:100px minmax(0,1fr);min-height:42px;font-size:14px}
.payment-method-card{padding-bottom:14px}
.payment-method-list{gap:8px}
.payment-method-option{min-height:58px;padding:8px 14px;border-radius:13px}
.payment-brand-image{width:40px;height:40px;border-radius:10px;object-fit:cover;margin-right:12px;flex:0 0 auto}
.payment-brand-icon{width:40px;height:40px;font-size:22px;margin-right:12px}
.payment-method-name{font-size:16px}
.payment-radio-mark{width:22px;height:22px}
.payment-radio-mark:after{transform:rotate(45deg)}
.payment-method-option input:checked~.payment-radio-mark:after{left:5px;top:2px}
.payment-method-error,.payment-method-empty{padding:12px;font-size:13px;border-radius:12px}
.payment-select-footer{position:static;left:auto;bottom:auto;transform:none;width:100%;height:auto;padding:10px 12px calc(10px + env(safe-area-inset-bottom));box-sizing:border-box;box-shadow:0 -4px 16px rgba(24,39,75,.06)}
.payment-total{font-size:14px}
.payment-total strong{font-size:24px}
.payment-now-button{width:150px;height:48px;font-size:18px}

.pay-qr-main{padding:10px 12px calc(12px + env(safe-area-inset-bottom));overflow:hidden}
.pay-qr-card{height:100%;background:#fff;border-radius:18px;padding:14px 15px;box-shadow:0 6px 18px rgba(24,39,75,.06);display:flex;flex-direction:column;gap:10px;overflow:hidden}
.pay-qr-topline{display:flex;align-items:center;gap:12px}
.pay-qr-method-icon{width:44px;height:44px;border-radius:12px;object-fit:cover;flex:0 0 auto}
.pay-qr-topline-text h2{margin:0;font-size:18px;line-height:1.3;font-weight:800}
.pay-qr-topline-text p{margin:3px 0 0;font-size:13px;color:#667085}
.pay-qr-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;padding:12px;border-radius:14px;background:#f8fafc}
.pay-qr-summary div{min-width:0}
.pay-qr-summary span{display:block;font-size:12px;color:#64748b;line-height:1.25}
.pay-qr-summary strong{display:block;margin-top:3px;font-size:13px;color:#1f2937;font-weight:600;line-height:1.4;word-break:break-all}
.pay-qr-amount-box{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-radius:14px;background:#fff7ed;color:#9a3412}
.pay-qr-amount-box span{font-size:14px}
.pay-qr-amount-box strong{font-size:24px;color:#f5222d;line-height:1}
.pay-qr-code-box{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}
.pay-qr-code-box img{width:min(42vw,188px);max-width:188px;aspect-ratio:1/1;border-radius:16px;border:1px solid #eef1f5;background:#fff;object-fit:contain;padding:6px}
.payment-scan-label{margin:0;font-size:13px}
.pay-qr-tip,.pay-qr-error{padding:10px 12px;border-radius:12px;font-size:13px;line-height:1.6}
.pay-qr-tip{background:#fff7ed;color:#9a3412}
.pay-qr-error{background:#fff1f2;color:#be123c}
.pay-qr-form{margin-top:auto;display:flex;flex-direction:column;gap:10px}
.pay-qr-upload{display:flex;flex-direction:column;gap:6px;padding:11px 12px;border:1px dashed #cfd8e3;border-radius:12px;background:#fafbfc;font-size:13px;color:#475569}
.pay-qr-upload input{font-size:13px}
.proof-preview{max-width:100%;max-height:78px;object-fit:contain;border-radius:12px;border:1px solid #edf0f4;background:#fff}
.pay-qr-submit{height:46px;border:0;border-radius:14px;background:linear-gradient(180deg,#ff3434,#ff1717);color:#fff;font-size:16px;font-weight:800;box-shadow:0 8px 18px rgba(255,23,23,.2)}

@media(max-width:420px){
  .payment-select-header{height:54px;padding:calc(env(safe-area-inset-top) + 4px) 14px 4px}
  .payment-select-main,.pay-qr-main{padding-left:10px;padding-right:10px}
  .confirm-order-card,.pay-qr-card{padding:12px 13px}
  .confirm-product-image{width:94px;height:76px}
  .confirm-product-content h2{font-size:16px}
  .confirm-info-row{grid-template-columns:88px minmax(0,1fr);min-height:39px;font-size:13px}
  .payment-method-option{min-height:54px;padding:8px 12px}
  .payment-brand-image,.payment-brand-icon{width:36px;height:36px;margin-right:10px}
  .payment-method-name{font-size:15px}
  .payment-total strong{font-size:22px}
  .payment-now-button{width:136px;height:44px;font-size:17px}
  .pay-qr-topline-text h2{font-size:17px}
  .pay-qr-summary{gap:6px 10px;padding:10px}
  .pay-qr-summary strong{font-size:12px}
  .pay-qr-amount-box strong{font-size:22px}
  .pay-qr-code-box img{width:min(40vw,160px);max-width:160px}
  .pay-qr-tip,.pay-qr-error,.pay-qr-upload{font-size:12px}
  .pay-qr-submit{height:42px;font-size:15px}
}

/* 进一步紧凑化：让确认付款区域上移，尽量单屏完整显示 */
.payment-select-body,
.pay-qr-body{height:100svh;min-height:100svh}
.payment-select-shell,
.pay-qr-shell{height:100svh;min-height:100svh}
.payment-select-main{padding:8px 10px 6px;gap:8px}
.confirm-order-card{padding:12px 13px;border-radius:15px}
.confirm-product-card{gap:10px}
.confirm-product-image{width:90px;height:72px}
.confirm-product-content h2{margin:0 0 6px;font-size:16px}
.confirm-product-row{font-size:13px;line-height:1.6}
.confirm-product-row strong{font-size:14px}
.confirm-section-title{margin-bottom:8px}
.confirm-section-title h2{font-size:17px}
.confirm-section-icon{width:30px;height:30px;font-size:18px}
.confirm-info-row{grid-template-columns:90px minmax(0,1fr);min-height:36px;font-size:13px}
.payment-method-list{gap:7px}
.payment-method-option{min-height:52px;padding:7px 12px}
.payment-brand-image,.payment-brand-icon{width:34px;height:34px;margin-right:10px;border-radius:9px}
.payment-brand-icon{font-size:20px}
.payment-method-name{font-size:15px}
.payment-radio-mark{width:20px;height:20px}
.payment-method-option input:checked~.payment-radio-mark:after{left:5px;top:1px;width:6px;height:10px}
.payment-select-footer{padding:8px 10px calc(8px + env(safe-area-inset-bottom));gap:10px}
.payment-total{font-size:13px}
.payment-total strong{font-size:22px}
.payment-now-button{width:138px;height:44px;font-size:17px;border-radius:999px}

@media(max-width:430px){
  .payment-select-header{height:52px;padding:calc(env(safe-area-inset-top) + 2px) 12px 2px}
  .payment-select-header h1{font-size:19px}
  .payment-select-main{padding:7px 8px 5px;gap:7px}
  .confirm-order-card{padding:11px 12px}
  .confirm-product-image{width:84px;height:68px}
  .confirm-product-content h2{font-size:15px}
  .confirm-info-row{grid-template-columns:82px minmax(0,1fr);min-height:34px;font-size:12px}
  .confirm-section-title h2{font-size:16px}
  .payment-method-option{min-height:49px;padding:7px 10px}
  .payment-brand-image,.payment-brand-icon{width:32px;height:32px;margin-right:9px}
  .payment-method-name{font-size:14px}
  .payment-total strong{font-size:20px}
  .payment-now-button{width:128px;height:42px;font-size:16px}
}

/* 紧凑可滚动版：小屏幕允许自然滚动，避免内容被强行压缩或截断 */
.payment-select-body,
.pay-qr-body{
  height:auto;
  min-height:100svh;
  overflow-x:hidden;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
}
.payment-select-shell,
.pay-qr-shell{
  height:auto;
  min-height:100svh;
  overflow:visible;
}
.payment-select-shell{
  display:flex;
  flex-direction:column;
}
.payment-select-main{
  flex:1 0 auto;
  overflow:visible;
}
.payment-select-footer{
  position:sticky;
  left:auto;
  bottom:0;
  transform:none;
  z-index:30;
  flex:0 0 auto;
}
.pay-qr-shell{
  display:flex;
  flex-direction:column;
}
.pay-qr-main{
  flex:1 0 auto;
  overflow:visible;
}
.pay-qr-card{
  height:auto;
  min-height:0;
  overflow:visible;
}

/* 通用客服入口：后台可切换自带客服或第三方客服 */
.customer-service-fab{position:fixed;right:max(14px,calc((100vw - 520px)/2 + 14px));bottom:calc(82px + env(safe-area-inset-bottom));z-index:88;display:flex;align-items:center;gap:5px;min-width:64px;height:38px;padding:0 12px;border-radius:20px;background:linear-gradient(135deg,#3182f6,#2563eb);color:#fff!important;text-decoration:none!important;font-size:13px;font-weight:700;box-shadow:0 8px 22px rgba(37,99,235,.28)}
.customer-service-fab-icon{font-size:16px;line-height:1}
.payment-select-body .customer-service-fab,.pay-qr-body .customer-service-fab{bottom:calc(72px + env(safe-area-inset-bottom));right:max(12px,calc((100vw - 520px)/2 + 12px));transform:translateY(-100%)}
@media(max-width:380px){.customer-service-fab{right:10px;min-width:58px;height:36px;padding:0 10px;font-size:12px}}
