body.shop-live{--primary:#165dff;--ink:#1d2129;--muted:#86909c;--line:#e5e6eb;--bg:#f4f6fa;background:linear-gradient(#e8efff, #f4f6fa 350px);color:#4e5969}.shop-live .container{max-width:1188px;margin:24px auto}.shop-live .topbar{padding-top:12px;padding-bottom:12px;background:#ffffffee}.shop-live .brand-icon{background:linear-gradient(135deg,#3369ff,#3798f7);border-radius:8px}.shop-live .btn{border-radius:7px}.shop-live .btn.secondary{background:#e8f3ff;color:#165dff}.shop-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px 28px;background:linear-gradient(120deg,#3369ff,#3798f7);color:white;border-radius:12px;box-shadow:0 10px 30px #3369ff25;margin-bottom:18px}.shop-identity{display:flex;align-items:center;gap:16px;min-width:0}.shop-avatar{display:grid;place-items:center;width:60px;height:60px;flex-shrink:0;background:#ffffff25;border:1px solid #ffffff55;border-radius:15px;font-size:28px;font-weight:700}.shop-name{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.shop-name h1{font-size:23px;margin:0;color:white}.self-operated{background:white;color:#165dff;border-radius:10px;padding:1px 8px;font-size:11px}.shop-identity p{font-size:13px;margin:5px 0 0;opacity:.9}.shop-actions{display:flex;gap:10px;flex-wrap:wrap}.shop-actions a,.shop-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;border:1px solid #ffffff66;background:#ffffff22;color:#fff;border-radius:22px;padding:7px 15px;font-size:13px}.notice{display:flex;align-items:flex-start;gap:16px;padding:16px 20px;background:white;border:1px solid #edf0f5;border-radius:10px;margin-bottom:16px}.notice strong{color:#ff7d00;white-space:nowrap}.notice p{margin:0;font-size:13px;color:#86909c}.catalog-panel{padding:20px 24px 24px;background:white;border:1px solid #edf0f5;border-radius:10px}.catalog-bar{display:flex;align-items:baseline;gap:15px;margin-bottom:16px}.catalog-bar h2{font-size:17px;margin:0}.catalog-bar>span{color:#86909c;font-size:12px}.shop-live .category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px 14px;margin:0 0 22px}.shop-live .category-grid .category{display:flex;flex-direction:column;justify-content:center;min-height:67px;padding:10px 14px;background:#f7f8fa;border:1px solid #edf0f5;border-radius:10px;color:#4e5969;min-width:0}.category strong{font-size:14px;overflow-wrap:anywhere}.category span{font-size:11px;color:#86909c;margin-top:2px}.shop-live .category[aria-current=page]{background:linear-gradient(-45deg,#3369ff,#3798f7);border-color:#3580fb;box-shadow:0 7px 10px #3690f83a;color:white}.category[aria-current=page] span{color:#ffffffdd}.shop-live .product-heading{border-top:1px solid #f2f3f5;padding-top:18px;margin-bottom:16px}.product-heading h2{font-size:16px}.product-heading h2 small{font-size:12px;font-weight:400;margin-left:6px}.shop-live .catalog-search{width:270px}.catalog-search input{background:#f2f3f5}.shop-live .product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.product-grid .product{display:flex;flex-direction:column;justify-content:space-between;gap:12px;min-width:0;padding:14px 16px;border:2px solid #f1f4fb;border-radius:8px;box-shadow:0 4px 10px #00000008;background:white;color:#1d2129}.product:hover{border-color:#c9dcff;box-shadow:0 3px 16px #00000010}.product-name{font-size:14px;font-weight:500;line-height:1.5;margin:0;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:42px}.product-meta{display:flex;align-items:center;justify-content:space-between;gap:5px;flex-wrap:wrap}.price{font-size:20px;font-weight:700;color:#165dff}.price small{font-size:12px;color:inherit;margin-right:2px}.stock{font-size:11px;color:#2275ff;background:#f0f7ff;border-radius:4px;padding:2px 7px;white-space:nowrap}.stock.out{color:#a9aeb8;background:#f2f3f5}.empty-state{text-align:center;padding:50px 20px;color:#86909c}.empty-state h3{font-size:16px;color:#4e5969}.shop-live .store-price,.shop-live .checkout-total strong{color:#165dff}.shop-live .product-symbol,.shop-live .payment-icon,.shop-live .checkout-section legend>span{background:#e8f3ff;color:#165dff}.shop-live .payment-option:has(input:checked){background:#f2f7ff;border-color:#165dff}.shop-live .wholesale-box{background:#f7f8fa}.shop-live .detail-tags span{background:#e8f3ff;color:#2275ff}.shop-live .card{border-radius:10px;box-shadow:0 4px 16px #00000004}.shop-live .footer{color:#86909c;background:transparent}.shop-live dialog::backdrop{background:#0009}.shop-live dialog{color:#4e5969;border:0;background:white;box-shadow:0 20px 60px #0003}#live-purchase-dialog{width:min(520px,calc(100vw - 32px));height:min(800px,90dvh);max-height:90dvh;padding:0;border-radius:16px;overflow:hidden}#live-purchase-dialog[open]{display:flex;flex-direction:column}.live-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid #f2f3f5;flex-shrink:0}.live-dialog-heading h2{font-size:17px;margin:0;overflow-wrap:anywhere;max-height:52px;overflow:auto}.live-dialog-heading button{background:#f2f3f5;color:#86909c;border:0;width:40px;height:40px;border-radius:50%;padding:0;font-size:24px;flex-shrink:0}#live-purchase-dialog iframe{flex:1;min-height:0;width:100%;border:0;background:white}.live-fallback{display:block;padding:9px 18px;border-top:1px solid #f2f3f5;text-align:right;font-size:12px;flex-shrink:0}#shop-contact-dialog{width:min(420px,calc(100vw - 32px));border-radius:16px;padding:24px}#shop-contact-dialog p{overflow-wrap:anywhere}.shop-toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);padding:10px 18px;background:#1d2129ed;color:white;border-radius:8px;max-width:90vw;z-index:100}.shop-live:has(dialog[open]){overflow:hidden}html.embedded-purchase .topbar,html.embedded-purchase .footer,html.embedded-purchase .back-link,html.embedded-purchase .purchase-info{display:none}html.embedded-purchase body{background:white}html.embedded-purchase .container{padding:0;margin:0;min-height:0;max-width:none}html.embedded-purchase .purchase-layout{display:block}html.embedded-purchase .purchase-form-card{border:0;box-shadow:none;border-radius:0;margin:0;padding:18px 20px}html.embedded-purchase .narrow{margin:0;border:0;border-radius:0}html.embedded-purchase .checkout-heading{display:none}html.embedded-purchase .payment-options{grid-template-columns:repeat(2,minmax(0,1fr))}html.embedded-purchase .checkout-total strong{color:#ff4f11}.embedded-product-description{padding:12px 14px;margin-bottom:20px;background:#f7f8fa;border-radius:8px;max-height:200px;overflow:auto;font-size:13px}.embedded-product-description h3{font-size:14px;margin-bottom:8px}.embedded-product-description p{margin-bottom:6px}
@media(max-width:900px){.shop-live .category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.shop-live .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.shop-live .container{padding:0 18px;margin:0 auto 24px}.shop-live .topbar{padding:12px 16px;gap:10px}.shop-live .brand{font-size:17px}.shop-live .topbar nav{gap:9px;font-size:12px}.shop-live .topbar nav .btn{display:none}.shop-head{margin:0 -18px 14px;padding:22px 18px;border-radius:0;flex-direction:column;align-items:stretch;gap:18px;box-shadow:none}.shop-name h1{font-size:21px}.shop-actions{flex-wrap:nowrap}.shop-actions>*{flex:1;padding:6px!important;font-size:12px!important}.notice{padding:13px;gap:6px;flex-direction:column}.catalog-panel{padding:0;border:0;background:transparent}.shop-live .category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}.shop-live .category-grid .category{min-height:60px;background:white}.shop-live .category-grid .category[aria-current=page]{background:linear-gradient(-45deg,#3369ff,#3798f7);color:#fff}.shop-live .category-grid .category[aria-current=page] strong,.shop-live .category-grid .category[aria-current=page] span{color:#fff}.shop-live .product-heading{padding:0;border:0;gap:12px}.shop-live .catalog-search{width:100%}.shop-live .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-grid .product{padding:12px;border-width:1px}.price{color:#ff4f11;font-size:18px}.stock{font-size:10px;padding:2px 5px}.product-name{font-size:13px;min-height:39px}.catalog-bar h2{font-size:16px}.catalog-bar>span{font-size:11px}#live-purchase-dialog{width:100%;max-width:100%;height:88dvh;max-height:88dvh;margin:auto 0 0;border-radius:16px 16px 0 0}.live-dialog-heading{padding:12px 16px}.live-fallback{padding-bottom:calc(9px + env(safe-area-inset-bottom))}html.embedded-purchase .purchase-form-card{padding:16px}.shop-live .purchase-layout{grid-template-columns:minmax(0,1fr)}.shop-live .product-detail{margin-top:20px}}
