/* F 方案：仅作用于买家端，运营后台共享 brand-theme.css 中的品牌变量。 */
.shop-store{--blue:var(--brand-primary);--ink:var(--brand-ink);--line:var(--brand-line);background:var(--brand-bg);color:var(--ink);font-family:Inter,"Microsoft YaHei",system-ui,sans-serif}
.shop-store [hidden]{display:none!important}.shop-symbols{position:absolute;width:0;height:0;overflow:hidden}.shop-icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.shop-wrap,.shop-store main{width:100%;max-width:1340px;margin:0 auto;padding:0 44px}.shop-store main{padding-bottom:28px;min-height:60vh}.shop-store button,.shop-store input{font:inherit}.shop-header{display:flex;align-items:center;gap:32px;min-height:96px}.shop-brand{display:flex;align-items:center;gap:10px;flex-shrink:0;color:var(--ink)}.shop-brand img{object-fit:contain}.shop-brand strong{display:block;font-size:21px;letter-spacing:.04em}.shop-brand small{display:block;font-size:9px;letter-spacing:2px;color:#8a8174;margin-top:3px}.shop-search{display:flex;align-items:center;gap:10px;max-width:410px;flex:1;border-radius:30px;background:#f4f1e9;padding:0 16px;height:44px;color:#91897b}.shop-search input{border:0!important;outline:0;background:transparent;min-width:0;width:100%;font-size:12px;color:var(--ink);padding:0!important}.shop-search:focus-within{outline:2px solid var(--brand-primary);outline-offset:3px}.shop-search kbd{font-size:12px;opacity:.65}.shop-header nav{display:flex;align-items:center;gap:20px;margin-left:auto;font-size:12px;white-space:nowrap}.shop-header nav>a{color:#716c60}.shop-query{display:inline-flex;align-items:center;gap:7px;border:0;border-radius:30px;background:#f4f1e9;padding:12px 18px;color:var(--ink);cursor:pointer}.shop-query .shop-icon{width:17px;height:17px}
.market-hero{display:grid;grid-template-columns:1.5fr 1fr;gap:18px;margin-top:12px}.market-banner{background:#ff693e;border-radius:18px;min-height:260px;padding:32px 34px;position:relative;overflow:hidden;color:#fff9e9;display:flex;align-items:center}.market-banner-copy{position:relative;z-index:1}.market-eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:600;margin:0}.market-banner .market-eyebrow{color:#ffebd6;font-size:9px}.market-banner h1{font-size:42px;line-height:1.3;letter-spacing:-1.5px;margin:12px 0}.market-banner-copy>p:not(.market-eyebrow){font-size:12px;color:#fff0dc;margin:0 0 21px;line-height:1.8}.market-cta{display:inline-flex;align-items:center;gap:23px;background:#fff6d7;color:#833114;border-radius:30px;font-size:12px;padding:11px 18px}.market-cta .shop-icon{width:16px;height:16px}.market-flower{position:absolute;right:-35px;top:5px;width:280px;height:280px;color:#ffa467;opacity:.8}.market-spotlights{display:grid;gap:15px}.market-spotlight{width:100%;border:0;border-radius:16px;position:relative;overflow:hidden;padding:23px 26px;display:flex;gap:12px;align-items:center;justify-content:space-between;text-align:left;cursor:pointer;background:#e5eacb;color:#455937}.market-spotlight:nth-child(2){background:#e8e0f0;color:#5c4579}.market-spotlight strong{display:block;font-size:21px;overflow-wrap:anywhere}.market-spotlight small{display:block;font-size:11px;margin-top:10px;opacity:.8}.market-spotlight>.shop-icon{width:46px;height:46px;stroke-width:1.2}.market-spotlight:after{content:'';position:absolute;width:145px;height:145px;border-radius:50%;border:1px solid #fff9;right:5px;top:-36px;pointer-events:none}.market-spotlight:hover{filter:brightness(.97)}.spotlight-placeholder{display:grid;place-items:center;border-radius:16px;background:#f4f1e9;color:#756d5d;padding:24px}
.market-service-strip{display:flex;gap:24px;align-items:center;border-bottom:1px solid var(--line);font-size:11px;padding:20px 3px;color:#817963}.market-service-strip>span:first-child{margin-right:auto;color:#625d4e}.market-service-strip button{border:0;background:transparent;color:#756c58;font-size:11px;cursor:pointer}.market-catalog{padding-top:29px;scroll-margin-top:24px}.market-catalog-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.market-catalog-heading h2{font-size:27px;margin:0;letter-spacing:-.7px}.market-catalog-heading>span{font-size:12px;color:#81786a}.market-filters{display:grid;gap:10px;margin-bottom:24px}.market-filters .filters{display:flex;gap:8px;flex-wrap:wrap}.market-filters button{padding:10px 17px;border:0;background:#f4f1e9;border-radius:30px;font-size:12px;color:#736b5e;cursor:pointer}.market-filters button.active{background:#292823;color:#fff}.market-filters #subcategories button{font-size:11px;padding:7px 14px;background:transparent;border:1px solid var(--line)}.market-filters #subcategories button.active{background:#fff0e6;color:#9b371c;border-color:#f9bea7}
.shop-store #home-page .product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:25px 23px}.shop-store .market-product{min-width:0;min-height:0;border:0;border-radius:0;box-shadow:none;background:transparent;padding:0;display:flex;flex-direction:column;overflow:visible}.market-product-art{position:relative;height:96px;border-radius:12px;background:#e8eccc;padding:13px;display:flex;align-items:center;gap:13px;overflow:hidden;color:#454f32}.market-product:nth-child(3n+2) .market-product-art{background:#f5e3d4;color:#865333}.market-product:nth-child(3n) .market-product-art{background:#e7e0ef;color:#634c7f}.market-product-icon{background:#ffffff99;width:43px;height:43px;border-radius:50%;display:grid;place-items:center;z-index:1;flex-shrink:0}.market-product-art strong{font-size:19px;z-index:1;overflow-wrap:anywhere}.market-art-decoration{position:absolute;width:100px;height:100px;border:18px solid #ffffff50;border-radius:30px;right:-24px;top:14px;transform:rotate(30deg)}.market-product-copy{padding:14px 3px;display:flex;flex-direction:column;flex:1;min-width:0}.market-product .product-category{font-size:10px;color:#80796e;line-height:1.6}.shop-store .market-product h3{font-size:14px;line-height:1.7;margin:8px 0;min-height:48px;color:var(--ink);overflow-wrap:anywhere}.market-product h3 a:hover{text-decoration:underline;text-underline-offset:4px}.shop-store .market-product .unit-price{font-size:11px;margin:0 0 14px;color:#8a8174;line-height:1.6;display:block}.shop-store .market-product .product-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:0}.shop-store .market-product .price{color:#bc3e1b;font-size:25px;font-weight:650;white-space:nowrap;letter-spacing:-.7px}.shop-store .market-product .price small{font-size:10px;font-weight:400;color:#8a8174;letter-spacing:0}.market-detail-link{width:32px;height:32px;border-radius:50%;background:#f4f0e7;display:grid;place-items:center;flex-shrink:0;color:#635949}.market-detail-link span{display:none}.market-detail-link:hover{background:var(--brand-primary);color:#fff}.market-detail-link .shop-icon{width:17px;height:17px}.market-product:hover .market-product-art{filter:saturate(1.12)}.market-guide{display:grid;grid-template-columns:1.15fr 1fr 1fr 1fr;align-items:center;background:#f5f3ec;border-radius:14px;padding:28px;margin-top:30px;gap:24px;scroll-margin-top:24px}.market-guide h2{font-size:19px;margin:9px 0 0}.market-guide .market-eyebrow{color:#867b68;font-size:9px}.market-guide>div:not(:first-child){display:flex;align-items:center;gap:12px}.market-guide b{font-size:25px;font-weight:400;color:#af9d83}.market-guide strong{display:block;font-size:12px}.market-guide small{display:block;color:#827866;font-size:10px;line-height:1.8;margin-top:6px}.shop-footer{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:10px;padding-top:27px;padding-bottom:32px;color:#827866;font-size:12px}.shop-footer .shop-brand{font-size:17px;font-weight:700}.shop-footer p{font-size:11px;margin:7px 0 0 50px}.shop-footer>div:nth-child(2){display:flex;gap:25px}.shop-footer button{background:none;border:0;color:inherit;padding:0;cursor:pointer}.shop-footer>small{font-size:9px;letter-spacing:1.5px}
.shop-store .lookup-dialog{padding:28px;background:var(--brand-bg);border:1px solid var(--line);border-radius:20px;color:var(--ink)}.lookup-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.lookup-heading h2{font-size:23px;margin-top:10px}.lookup-heading .market-eyebrow{color:#a34b2c}.lookup-heading button{border:0;border-radius:50%;width:32px;height:32px;background:#f4f0e7;color:#665a49;cursor:pointer;font-size:24px}.lookup-dialog>p{font-size:13px;color:#827866;line-height:1.8}.shop-store .lookup-dialog form{padding:0;display:grid;gap:5px}.lookup-dialog label{color:#665d4d;font-size:13px}.lookup-dialog input{background:#fff}.lookup-dialog .buy{margin-top:5px;width:100%;padding:12px}.lookup-dialog #query-result{font-size:13px;color:#a43522;overflow-wrap:anywhere}.shop-store .empty{grid-column:1/-1;background:#f5f3ec;color:#827866;border-radius:14px;padding:40px 20px;text-align:center}.shop-store .empty button{padding:10px 17px;border-radius:30px;border:1px solid var(--line);background:#fff;cursor:pointer}.shop-store .store-notice{background:#fff1dd;color:#8c5b1f}.shop-store .detail-breadcrumb{margin-top:20px}.shop-store .detail-shell,.shop-store .detail-section,.shop-store .checkout-card{border-radius:18px}.shop-store .detail-variant-option.active{border-color:var(--brand-primary);background:#fff0e6;color:#a33f1f}.shop-store .detail-media,.shop-store .checkout-cover{background:#f5f3ec}.shop-store .order-progress li.is-done,.shop-store .order-status.is-pending{background:#fff0e6;color:#a33f1f}.shop-store .order-progress li.is-current{outline-color:#f5a17d}.shop-store .buy,.shop-store .primary{background:var(--brand-action);color:white;border-radius:12px}.shop-store .recharge-notice,.shop-store .order-payment-qr{background:#faf6ed}.shop-store .order-payment-qr #order-qr-open{color:#a33f1f}.shop-store :focus-visible{outline:2px solid var(--brand-primary);outline-offset:4px}
@media(max-width:1150px){.shop-header{gap:20px}.shop-header nav>a{display:none}.market-banner h1{font-size:34px}.market-banner{padding:25px}.market-flower{right:-85px}.market-spotlight{padding:22px}.market-spotlight strong{font-size:18px}.market-guide{grid-template-columns:1fr 1fr}.shop-store #home-page .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.shop-wrap,.shop-store main{padding-left:18px;padding-right:18px}.shop-header{flex-wrap:wrap;gap:13px;min-height:78px;padding-top:15px;padding-bottom:17px}.shop-brand{gap:7px}.shop-brand img{width:40px;height:40px}.shop-brand strong{font-size:19px}.shop-brand small{font-size:8px}.shop-header nav{gap:0}.shop-query{padding:10px 13px;font-size:12px!important}.shop-search{order:3;max-width:none;flex-basis:100%;height:39px}.market-hero{grid-template-columns:1fr;gap:12px;margin-top:3px}.market-banner{min-height:0;border-radius:13px;padding:20px 21px}.market-banner h1{font-size:29px;letter-spacing:-.5px;margin:8px 0}.market-banner-copy>p:not(.market-eyebrow){font-size:11px;margin-bottom:12px}.market-banner .market-eyebrow{font-size:8px;letter-spacing:1px}.market-cta{padding:9px 15px;font-size:11px}.market-flower{width:220px;height:220px;right:-60px;top:0}.market-spotlights{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.market-spotlight:only-child{grid-column:1/-1}.market-spotlight{padding:15px 13px;border-radius:10px;min-height:85px;gap:5px}.market-spotlight strong{font-size:16px}.market-spotlight small{font-size:10px;margin-top:7px}.market-spotlight>.shop-icon{width:27px;height:27px}.market-spotlight:after{width:90px;height:90px;right:-23px;top:-20px}.market-service-strip{display:none}.market-catalog{padding-top:24px}.market-catalog-heading h2{font-size:22px}.market-catalog-heading>span{font-size:11px}.market-filters{gap:8px;margin-bottom:19px}.market-filters .filters{gap:6px}.market-filters button{font-size:11px;padding:9px 13px}.shop-store #home-page .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 13px}.market-product-art{height:70px;padding:10px;gap:7px;border-radius:9px}.market-product-icon{width:30px;height:30px}.market-product-icon .shop-icon{width:18px;height:18px}.market-product-art strong{font-size:15px}.market-art-decoration{width:80px;height:80px;border-width:14px}.market-product-copy{padding:11px 1px}.market-product .product-category{font-size:9px}.shop-store .market-product h3{font-size:12px;min-height:61px;margin:6px 0;line-height:1.7}.shop-store .market-product .unit-price{font-size:10px;min-height:32px;margin-bottom:9px}.shop-store .market-product .price{font-size:22px}.shop-store .market-product .price small{font-size:9px}.market-detail-link{width:27px;height:27px}.market-guide{grid-template-columns:1fr;padding:23px;gap:22px;margin-top:20px}.shop-footer{flex-wrap:wrap;gap:22px;padding-top:22px}.shop-footer>small{display:none}.shop-footer>div:nth-child(2){gap:24px;font-size:11px}.shop-store .lookup-dialog{padding:23px}.shop-store main{padding-bottom:22px}}
@media(max-width:360px){.shop-wrap,.shop-store main{padding-left:14px;padding-right:14px}.shop-brand strong{font-size:17px}.shop-brand img{width:35px;height:35px}.shop-query{padding:10px}.market-banner h1{font-size:27px}.market-banner-copy>p:not(.market-eyebrow){max-width:210px}.market-product-art strong{font-size:14px}.market-product-icon{width:25px;height:25px}.shop-store .market-product .price{font-size:19px}.market-spotlight>.shop-icon{width:22px;height:22px}.market-spotlight strong{font-size:14px}}
.market-filters .filters{justify-content:flex-start}
.market-detail-link{min-width:72px;height:34px;padding:0 15px;border:0;border-radius:8px;background:var(--brand-action);color:#fff;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;font-size:12px;font-weight:600;transition:filter .16s ease,transform .16s ease}.market-detail-link span{display:inline}.market-detail-link:hover{background:var(--brand-action);color:#fff;filter:brightness(.94);transform:translateY(-1px)}.market-detail-link:focus-visible{outline:2px solid var(--brand-primary);outline-offset:3px}
.shop-store .purchase-dialog{width:min(480px,calc(100% - 28px));padding:24px;background:#fffdf8;border:1px solid var(--brand-line);border-radius:8px;color:var(--ink)}.purchase-dialog .lookup-heading h2{font-size:21px;margin:6px 0 0;overflow-wrap:anywhere}.purchase-dialog .lookup-heading button{border:0;background:#f4f0e7;width:32px;height:32px;border-radius:50%;font-size:24px;cursor:pointer}.purchase-dialog #purchase-status{margin:13px 0 0;color:#9b482c;font-size:13px}.purchase-dialog .purchase-name{font-size:14px;font-weight:650;line-height:1.5;margin:16px 0;overflow-wrap:anywhere}.purchase-notice{padding:13px 15px;background:#f7f3e9;border-left:3px solid var(--brand-primary);font-size:13px;line-height:1.7}.purchase-notice strong{display:block;margin-bottom:5px}.purchase-notice p{margin:0;white-space:pre-line;overflow-wrap:anywhere}.purchase-dialog label{display:block;margin:16px 0 0;color:#5f5a50;font-size:13px}.purchase-dialog select,.purchase-dialog input{width:100%;min-width:0;margin-top:7px;padding:10px 12px;border:1px solid var(--brand-line);border-radius:6px;background:#fff;color:var(--ink)}.purchase-total{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:20px 0;border-top:1px solid var(--brand-line);padding-top:15px;font-size:13px}.purchase-total strong{font-size:21px;color:#bc3e1b}.purchase-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.purchase-actions>a:first-child{font-size:13px;color:#7a5e48;text-decoration:underline}.purchase-actions .buy{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 18px;font-size:13px}.purchase-actions .buy.is-disabled{opacity:.5;cursor:not-allowed}
@media(max-width:680px){.market-detail-link{width:auto;min-width:60px;height:30px;padding:0 10px;font-size:11px}}
@media(max-width:360px){.shop-store .market-product .product-bottom{display:grid;grid-template-columns:minmax(0,1fr);gap:6px}.market-detail-link{justify-self:end}}
@media(prefers-reduced-motion:reduce){.shop-store *{scroll-behavior:auto!important;transition:none!important}}
#detail-notice,#purchase-notice,#checkout-notice{white-space:pre-wrap;overflow-wrap:anywhere}
/* 首页自定义海报与联系站长弹窗 */
.shop-store .home-posters{position:relative;overflow:hidden;border-radius:8px;background:#f1eee6;aspect-ratio:3/1}
.shop-store .home-posters img{display:block;width:100%;height:100%;object-fit:contain}
.shop-store .home-posters #home-poster-stage,.shop-store .home-posters #home-poster-stage>a{display:block;width:100%;height:100%}
.shop-store .home-poster-controls{position:absolute;right:16px;bottom:16px;display:flex;align-items:center;gap:9px;padding:5px;border-radius:6px;background:#fffefaec;color:#45392e;font-size:12px}
.shop-store .home-poster-controls button{width:32px;height:32px;border:0;border-radius:4px;background:#f76735;color:#fff;cursor:pointer;font-size:22px;line-height:1}
.shop-store .contact-dialog{width:min(650px,calc(100% - 28px));padding:26px;border:1px solid #e9e5dc;border-radius:8px;background:#fffefa;color:#292823}
.shop-store .contact-head{display:flex;align-items:start;justify-content:space-between;border-bottom:1px solid #e9e5dc;padding-bottom:16px}
.shop-store .contact-head small{color:#ba401b;font-weight:700}.shop-store .contact-head h2{margin:4px 0 0;font-size:24px}
.shop-store .contact-head button{width:32px;height:32px;border:0;background:transparent;color:#81786a;font-size:25px;cursor:pointer}
.shop-store .contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;padding-top:20px}
.shop-store .contact-grid section{text-align:center;min-width:0}.shop-store .contact-grid h3{margin:0 0 12px;font-size:16px}
.shop-store .contact-qr{display:grid;place-items:center;width:min(100%,210px);aspect-ratio:1;margin:auto;background:#f5f2e9;border:1px solid #e9e5dc;border-radius:6px}
.shop-store .contact-qr img{width:100%;height:100%;object-fit:contain}.shop-store .contact-qr.is-empty:after{content:'暂未上传二维码';color:#81786a;font-size:13px}
.shop-store .contact-grid p{min-height:22px;margin:12px 0;overflow-wrap:anywhere}
.shop-store .contact-grid button{border:0;border-radius:5px;background:#ba401b;color:#fff;padding:9px 15px;cursor:pointer;font:inherit}
.shop-store .contact-grid button:disabled{background:#d4cdc1}.shop-store #contact-status{min-height:20px;color:#a34020;text-align:center}
@media(max-width:600px){.shop-store .home-posters{aspect-ratio:5/3}.shop-store .contact-dialog{padding:18px}.shop-store .contact-grid{gap:12px}.shop-store .contact-grid button{padding:8px;font-size:12px}}
