:root{--yellow:#fdd000;--gold:#d4a900;--ink:#292319;--muted:#8b8376;--paper:#fff;--wash:#fff9e6;--line:#eee5ca;--safe-bottom:env(safe-area-inset-bottom,0px)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f5f5f5;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}img{display:block;max-width:100%}
.topbar{position:fixed;z-index:1000;top:0;left:0;right:0;height:64px;padding:9px max(14px,calc((100vw - 760px)/2));display:flex;align-items:center;gap:11px;background:var(--yellow);box-shadow:0 2px 14px #7d670020}.brand{flex:0 0 116px;height:44px;display:flex;align-items:center}.brand img{width:112px;max-height:39px;object-fit:contain}.search{height:42px;flex:1;display:flex;align-items:center;gap:8px;padding:0 14px;border-radius:24px;background:#fff}.search input{min-width:0;width:100%;border:0;outline:0;background:transparent}.support{font-weight:900;font-size:22px}
#app{width:min(760px,100%);min-height:100vh;margin:auto;padding:64px 0 calc(82px + var(--safe-bottom));background:#fff}.loading,.empty{padding:70px 20px;text-align:center;color:var(--muted)}
.hero{position:relative;min-height:286px;overflow:hidden;background:url("/assets/hero-real-products.webp") center/cover no-repeat}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#ffffff8c 0,#ffffff29 42%,transparent 65%)}.hero-copy{position:relative;z-index:2;width:47%;padding:38px 0 28px 28px}.hero h1{margin:0 0 11px;font-size:26px;line-height:1.3}.hero p{line-height:1.75;margin:0 0 18px;font-weight:600}.hero button{border:0;border-radius:20px;padding:10px 18px;background:var(--yellow);font-weight:800;box-shadow:0 5px 16px #785f0035}
.member-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;padding:13px 16px 5px}.member-actions>a{display:grid;grid-template-columns:42px 1fr 16px;align-items:center;gap:9px;padding:11px 13px;border-radius:13px;background:linear-gradient(100deg,#fff8de,#fff);border:1px solid #f2e4b1}.member-actions img{width:38px;height:38px;object-fit:cover;border-radius:50%}.member-actions b,.member-actions small{display:block}.member-actions small{margin-top:3px;color:var(--muted);font-size:11px}.member-actions em{font-size:25px;font-style:normal;color:#b5aa95}
.quick{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:18px 16px 12px}.quick a{min-width:0;text-align:center;font-size:13px}.quick i{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 7px;border-radius:50%;background:#fff;font-style:normal;overflow:hidden}.quick i img{width:100%;height:100%;object-fit:cover}.quick span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.assurance{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin:0 16px 15px;padding:12px 5px;border:1px solid var(--line);border-radius:12px;font-size:11px;text-align:center;color:#6f6757}
.promo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;padding:0 16px 13px}.promo-card{min-width:0;height:104px;position:relative;overflow:hidden;padding:12px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(145deg,#fff,#fff7dc)}.promo-card span{position:relative;z-index:2}.promo-card b,.promo-card small{display:block}.promo-card b{font-size:14px}.promo-card small{font-size:10px;color:var(--muted);margin-top:4px}.promo-card img{position:absolute;right:-2px;bottom:-7px;width:58%;height:72%;object-fit:contain}
.spotlight{min-height:184px;margin:0 16px 14px;padding:20px;display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:14px;background:linear-gradient(115deg,#fff,#fff9df);overflow:hidden}.spotlight>div{z-index:1}.spotlight small{font-weight:800}.spotlight h2{margin:8px 0 5px;font-size:21px}.spotlight p{font-size:12px;color:var(--muted)}.spotlight a{font-size:12px;color:#b08c00}.spotlight img{width:42%;aspect-ratio:1;object-fit:contain}
.catalog-section{padding:0 14px 17px}.section-head{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;min-height:64px;margin-bottom:9px;padding:10px 15px;border-radius:12px 12px 4px 4px;background:linear-gradient(100deg,var(--yellow),#ffe77d 70%,#fff4b8)}.section-head:after{content:"";position:absolute;inset:0 0 0 52%;background:url("/assets/section-texture.webp") center/cover no-repeat;mix-blend-mode:multiply;opacity:.28}.section-head h2{position:relative;z-index:1;margin:0;font-size:21px}.section-head small{position:relative;z-index:1;display:block;margin-top:3px;font-size:11px;color:#6d5a15}.section-head a{position:relative;z-index:1;padding:7px 12px;border-radius:16px;background:#fff;font-size:12px;white-space:nowrap}
.product-row{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(132px,30%);gap:10px;overflow-x:auto;overscroll-behavior-inline:contain;padding:2px 1px 8px;scrollbar-width:none}.product-row::-webkit-scrollbar{display:none}.product-card{min-width:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}.product-card img{width:100%;aspect-ratio:1;object-fit:contain;background:#faf9f5}.product-card .meta{padding:9px}.product-card strong{display:block;height:38px;overflow:hidden;font-size:13px;line-height:19px}.product-card small{display:block;margin-top:3px;color:#9d8420;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-card .price{display:block;margin-top:6px;color:#df501a;font-weight:800}.home .product-card .price{display:none}.product-card.compact{border-radius:10px}.product-card.compact strong{font-size:12px}
.recommendation,.favorites{padding:1px 14px 16px}.plain-title{display:flex;align-items:center;justify-content:space-between}.plain-title h2{font-size:19px}.plain-title a{font-size:12px;color:var(--muted)}
.gift-banner{display:flex;align-items:center;gap:14px;margin:0 15px 14px;padding:12px 16px;border-radius:12px;background:linear-gradient(105deg,#fff3c2,#fff,#e8f1ff);border:1px solid #f0df9b}.gift-banner>img{width:94px;height:38px;object-fit:contain}.gift-banner span{min-width:0}.gift-banner b,.gift-banner small{display:block}.gift-banner b{font-size:15px}.gift-banner small{margin-top:4px;font-size:10px;color:var(--muted)}.favorite-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.category-page,.search-page{padding:15px}.category-page h1,.search-page h1{font-size:23px}.page-lead{margin-top:-5px;color:var(--muted)}.category-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.category-card{padding:20px;border-radius:16px;background:var(--wash);border:1px solid #f2e3a5}.category-card b{display:block;font-size:17px}.category-card span{font-size:12px;color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.detail{padding-bottom:22px}.detail-back{position:fixed;z-index:900;top:74px;left:max(12px,calc((100vw - 730px)/2));width:38px;height:38px;border:0;border-radius:50%;background:#ffffffdf;box-shadow:0 3px 14px #0002;font-size:27px}.main-media{position:relative;background:#f7f5ef}.main-media>img{width:100%;aspect-ratio:1.18;object-fit:contain;transition:opacity .18s,transform .18s}.main-media>img.switching{opacity:.25;transform:scale(.985)}.main-media>span{position:absolute;right:14px;bottom:12px;padding:5px 9px;border-radius:14px;background:#2c251db5;color:#fff;font-size:11px}.thumbs{display:flex;gap:9px;padding:12px 14px;overflow:auto}.thumb{flex:0 0 78px;padding:3px;border:2px solid transparent;border-radius:10px;background:#fff}.thumb.active{border-color:var(--yellow)}.thumb img{width:100%;aspect-ratio:1;object-fit:contain;border-radius:7px}.thumb small{display:block;margin-top:4px;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.detail-info{padding:4px 18px 16px}.detail-price{font-size:29px;font-weight:850;color:#e64f1a}.detail-price small{font-size:15px}.detail-info h1{font-size:20px;line-height:1.45}.detail-info p{color:var(--muted);line-height:1.6}.spec-title{font-weight:700;margin:14px 0 9px}.specs{display:flex;flex-wrap:wrap;gap:9px}.spec{border:1px solid #ddd;border-radius:18px;padding:8px 13px;background:#fff}.spec small{display:block;font-size:9px;color:var(--muted)}.spec.active{border-color:#d5ae00;background:#fff7cc}.service{margin-top:16px;padding:13px;border-radius:12px;background:#faf8f0;font-size:13px;line-height:1.8}.description{padding:15px 18px;border-top:8px solid #f6f6f6}.description img{height:auto!important}.buybar{position:fixed;z-index:950;left:50%;bottom:calc(64px + var(--safe-bottom));transform:translateX(-50%);width:min(760px,100%);display:grid;grid-template-columns:1fr 1.2fr;padding:10px 14px;background:#fff;border-top:1px solid var(--line)}.buybar a{display:grid;place-items:center;height:46px;font-weight:800}.buybar a:first-child{border:1px solid var(--yellow);border-radius:23px 0 0 23px}.buybar a:last-child{border-radius:0 23px 23px 0;background:var(--yellow)}
.tabbar{position:fixed;z-index:1000;left:50%;bottom:0;transform:translateX(-50%);width:min(760px,100%);height:calc(64px + var(--safe-bottom));padding-bottom:var(--safe-bottom);display:grid;grid-template-columns:repeat(5,1fr);background:#fff;border-top:1px solid #eee;box-shadow:0 -5px 18px #0000000d}.tabbar a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;font-size:11px}.tabbar span{font-size:23px;line-height:1}.tabbar em{font-style:normal}.tabbar a.active{color:#dcad00;font-weight:800}.toast{position:fixed;z-index:2000;left:50%;bottom:92px;transform:translate(-50%,20px);padding:10px 15px;border-radius:20px;background:#2b251ddf;color:#fff;opacity:0;pointer-events:none;transition:.25s}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:520px){.topbar{height:58px;padding:8px 10px;gap:8px}.brand{flex-basis:96px}.brand img{width:94px}.support{font-size:18px}#app{padding-top:58px}.hero{min-height:250px;background-position:55% center}.hero-copy{width:55%;padding:30px 0 22px 16px}.hero h1{font-size:21px}.hero p{font-size:12px}.member-actions{padding-inline:10px}.quick{gap:4px;padding-inline:10px}.quick i{width:47px;height:47px}.assurance{font-size:10px;margin-inline:10px}.promo-grid{padding-inline:10px;gap:6px}.promo-card{padding:9px;height:96px}.promo-card b{font-size:12px}.spotlight{margin-inline:10px}.product-row{grid-auto-columns:39%}.catalog-section{padding-inline:10px}.section-head small{max-width:180px}.favorite-grid{grid-template-columns:repeat(2,1fr)}.gift-banner{margin-inline:10px}.detail-back{top:67px}}

/* 新版账户、购物车、下单和地址页面 */
.buybar button{display:grid;place-items:center;height:46px;border:0;background:#fff;font-weight:800}.buybar button:first-child{border:1px solid var(--yellow);border-radius:23px 0 0 23px}.buybar button:last-child{border-radius:0 23px 23px 0;background:var(--yellow)}.buybar button:disabled{opacity:.55}
.account-page{padding:14px 14px 150px}.page-title{position:relative;min-height:52px;display:flex;align-items:center;justify-content:center;margin-bottom:12px}.page-title h1{margin:0;font-size:22px}.page-back{position:absolute;left:0;width:40px;height:40px;border:0;border-radius:50%;background:#fff;box-shadow:0 3px 14px #0001;font-size:28px}.state-card{max-width:520px;margin:70px auto 0;padding:42px 24px;text-align:center;border:1px solid var(--line);border-radius:18px;background:linear-gradient(145deg,#fff,#fff9e6)}.state-icon{width:68px;height:68px;margin:auto;display:grid;place-items:center;border-radius:50%;background:var(--yellow);font-size:28px;font-weight:900}.state-card h2{margin:18px 0 8px}.state-card p{color:var(--muted)}.primary-button,.floating-primary{display:inline-grid;place-items:center;min-width:180px;height:46px;padding:0 22px;border:0;border-radius:24px;background:var(--yellow);font-weight:800}.text-link{display:block;margin-top:18px;color:#9a7900}.account-assurance{grid-template-columns:repeat(3,1fr);margin:0 0 14px}.cart-list{display:grid;gap:10px}.cart-item{position:relative;display:grid;grid-template-columns:24px 94px 1fr auto;align-items:center;gap:10px;padding:12px;border:1px solid var(--line);border-radius:14px}.cart-item img{width:94px;height:94px;object-fit:contain;background:#faf9f5}.cart-item strong,.cart-item small,.cart-item b{display:block}.cart-item small{margin:5px 0;color:var(--muted)}.cart-item b{color:#df501a}.quantity{display:flex;align-self:end}.quantity button,.quantity input{width:32px;height:30px;border:1px solid #ddd;background:#fff;text-align:center}.quantity input{border-inline:0}.delete-cart{position:absolute;right:8px;top:5px;border:0;background:transparent;color:#999;font-size:20px}.cart-settle,.submit-order{position:fixed;z-index:960;left:50%;bottom:calc(64px + var(--safe-bottom));transform:translateX(-50%);width:min(760px,100%);min-height:64px;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-top:1px solid #eee}.cart-settle>div{display:flex;align-items:center;gap:12px}.cart-settle button,.submit-order button{height:44px;padding:0 25px;border:0;border-radius:23px;background:var(--yellow);font-weight:800}.profile-card{display:flex;align-items:center;gap:16px;padding:24px;border-radius:18px;background:linear-gradient(120deg,#fdd000,#ffe98a)}.profile-card img{width:72px;height:72px;border-radius:50%;object-fit:contain;background:#fff}.profile-card h2,.profile-card p{margin:4px 0}.account-stats{display:grid;grid-template-columns:repeat(3,1fr);margin:14px 0;padding:18px;border:1px solid var(--line);border-radius:15px}.account-stats a{text-align:center}.account-stats b,.account-stats span{display:block}.account-stats b{font-size:20px}.account-stats span{font-size:12px;color:var(--muted)}.menu-list{overflow:hidden;border:1px solid var(--line);border-radius:15px}.menu-list a{display:grid;grid-template-columns:36px 1fr 20px;align-items:center;min-height:58px;padding:0 16px;border-bottom:1px solid #eee}.menu-list a:last-child{border:0}.menu-list em{font-style:normal;color:#aaa}.address-list{display:grid;gap:10px}.address-card{display:flex;align-items:center;justify-content:space-between;padding:17px;border:1px solid var(--line);border-radius:14px}.address-card h3,.address-card p{margin:0}.address-card h3 small{margin-left:12px;font-weight:400;color:var(--muted)}.address-card p{margin-top:8px;color:#665f53}.address-card p b{color:#cf3f1d}.floating-primary{position:fixed;z-index:960;left:50%;bottom:calc(78px + var(--safe-bottom));transform:translateX(-50%);width:min(520px,86%)}.address-form{display:grid;gap:11px}.smart-address,.address-form>label{padding:15px;border:1px solid var(--line);border-radius:14px;background:#fff}.smart-address h2,.smart-address p{margin:0 0 8px}.smart-address p{font-size:12px;color:var(--muted)}.smart-address textarea,.detail-field textarea{width:100%;min-height:72px;padding:10px;border:1px solid #eee;border-radius:10px;resize:vertical}.smart-address button{margin-top:8px;padding:8px 14px;border:0;border-radius:18px;background:#fff4bf}.address-form>label:not(.default-check){display:grid;grid-template-columns:92px 1fr;align-items:center}.address-form input{min-width:0;padding:8px;border:0;outline:0}.default-check{display:flex!important;align-items:center;gap:9px}.address-form>.primary-button{width:100%}.checkout-address{position:relative;display:block;padding:19px 50px 19px 19px;border:1px solid var(--line);border-radius:15px;background:#fffaf0}.checkout-address h3,.checkout-address p{margin:0}.checkout-address h3 small{margin-left:10px}.checkout-address p{margin-top:8px;color:var(--muted)}.checkout-address em{position:absolute;right:18px;top:50%;transform:translateY(-50%);font-size:28px;font-style:normal}.checkout-goods,.order-summary{margin-top:12px;border:1px solid var(--line);border-radius:15px;overflow:hidden}.checkout-goods article{display:grid;grid-template-columns:74px 1fr auto;align-items:center;gap:12px;padding:12px;border-bottom:1px solid #eee}.checkout-goods article:last-child{border:0}.checkout-goods img{width:74px;height:74px;object-fit:contain}.checkout-goods strong,.checkout-goods small{display:block}.checkout-goods small{margin-top:5px;color:var(--muted)}.order-summary{padding:12px 17px}.order-summary p{display:flex;justify-content:space-between}.order-summary strong{color:#df501a;font-size:21px}.submit-order button:disabled{background:#ddd;color:#999}
@media(max-width:520px){.cart-item{grid-template-columns:22px 78px 1fr}.cart-item img{width:78px;height:78px}.quantity{grid-column:3}.checkout-goods article{grid-template-columns:64px 1fr}.checkout-goods article>span{grid-column:2}.address-form>label:not(.default-check){grid-template-columns:76px 1fr}}

/* 新版登录与订单 */
.order-detail-actions{display:flex;justify-content:flex-end;margin-top:12px;padding:14px 0 90px}.order-detail-actions a{display:inline-grid;place-items:center;min-width:120px;height:42px;padding:0 20px;border:1px solid #e0b800;border-radius:22px;background:#fff;color:#7a6100;font-weight:800}

/* 新版退款与售后 */
.refund-page{padding-bottom:110px}.refund-tip{margin:14px auto;padding:20px;border:1px solid #f0d46b;border-radius:16px;background:linear-gradient(135deg,#fff8d8,#fff)}.refund-tip b{font-size:18px}.refund-tip p{margin:7px 0 0;color:#8f805f}.refund-goods-list{display:grid;gap:12px;margin:14px auto}.refund-good-card{display:flex;align-items:center;gap:14px;padding:15px;border:1px solid #eee0ae;border-radius:16px;background:#fff;box-shadow:0 5px 20px rgba(60,45,0,.05);cursor:pointer}.refund-good-card input{width:20px;height:20px;accent-color:#fdd000}.refund-good-card img{width:82px;height:82px;object-fit:contain;border-radius:12px;background:#faf9f5}.refund-good-card span{display:grid;gap:5px;min-width:0}.refund-good-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.refund-good-card small{color:#8c8068}.refund-good-card em{color:#c59600;font-style:normal}.refund-good-card.static{cursor:default}.refund-form{display:grid;gap:1px;margin:14px auto;border:1px solid #eee0ae;border-radius:16px;overflow:hidden;background:#eee0ae}.refund-form label{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px;background:#fff}.refund-form label>span{font-weight:700}.refund-form select{min-width:55%;padding:9px;border:1px solid #ddd;border-radius:9px;background:#fff}.refund-form .refund-explain{display:grid}.refund-form textarea{width:100%;min-height:120px;padding:12px;border:1px solid #ddd;border-radius:10px;resize:vertical}.refund-form .primary-button{margin:18px}.refund-submitbar{position:fixed;z-index:55;left:50%;bottom:70px;display:flex;align-items:center;justify-content:space-between;width:min(100% - 24px,820px);padding:11px 14px;border:1px solid #ead98b;border-radius:18px;background:#fff;box-shadow:0 -5px 22px rgba(0,0,0,.09);transform:translateX(-50%)}.refund-submitbar button{min-width:130px;padding:13px 22px;border:0;border-radius:24px;background:#fdd000;font-weight:800}.refund-submitbar button:disabled{opacity:.45}
.login-card{max-width:480px;margin:30px auto;padding:32px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(145deg,#fff,#fff9e5);text-align:center}.login-card>img{width:142px;height:64px;margin:auto;object-fit:contain}.login-card h2{margin:22px 0 7px}.login-card>p,.login-card>small{color:var(--muted)}.login-card form{display:grid;gap:12px;margin:24px 0}.login-card label{display:grid;grid-template-columns:110px 1fr;align-items:center;padding:7px 14px;border:1px solid var(--line);border-radius:13px;background:#fff;text-align:left}.login-card input{min-width:0;height:42px;border:0;outline:0}.login-card .primary-button{width:100%}.login-card button:disabled{opacity:.6}.order-tabs{position:sticky;z-index:30;top:64px;display:grid;grid-template-columns:repeat(5,1fr);margin-bottom:12px;background:#fff;border:1px solid var(--line);border-radius:14px}.order-tabs a{padding:13px 5px;text-align:center;font-size:13px}.order-tabs a.active{color:#b88e00;font-weight:800;border-bottom:3px solid var(--yellow)}.order-list{display:grid;gap:12px}.order-card{overflow:hidden;border:1px solid var(--line);border-radius:15px;background:#fff}.order-card header,.order-card footer,.order-total{display:flex;align-items:center;justify-content:space-between;padding:13px 15px}.order-card header{border-bottom:1px solid #eee}.order-card header b{color:#c79800}.order-good{display:grid;grid-template-columns:72px 1fr auto;align-items:center;gap:12px;padding:12px 15px;background:#fcfbf7}.order-good img{width:72px;height:72px;object-fit:contain}.order-good strong,.order-good small{display:block}.order-good small{margin-top:5px;color:var(--muted)}.order-total{justify-content:flex-end;margin:0;border-bottom:1px solid #eee}.order-total b{margin-left:6px;color:#df501a}.order-card footer{justify-content:flex-end;gap:9px}.order-card footer a,.order-card footer button{padding:8px 14px;border:1px solid #ddd;border-radius:18px;background:#fff}.order-card footer .primary{border-color:#264f40;background:#264f40;color:#fff}.order-summary-card{padding:22px;border-radius:16px;background:linear-gradient(115deg,#264f40,#38705d);color:#fff}.order-summary-card b{font-size:22px}.order-summary-card p{margin:7px 0 0;color:#e4f0eb}@media(max-width:520px){.login-card{padding:24px 16px}.login-card label{grid-template-columns:1fr}.login-card label span{font-size:12px;color:var(--muted)}.order-tabs{top:58px}.order-good{grid-template-columns:62px 1fr}.order-good>span{grid-column:2}.order-card footer{flex-wrap:wrap}}
