:root{--bg:#f7f5ee;--ink:#263e35;--muted:#727970;--line:#e1e4da;--orange:#a75532;--light:#e9eee3}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font:15px/1.65 'Microsoft YaHei','PingFang SC',sans-serif}button,input,select,textarea{font:inherit}button,.button{cursor:pointer;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:8px;padding:9px 14px;text-decoration:none;display:inline-flex;justify-content:center;align-items:center;gap:6px}button:disabled{opacity:.45;cursor:default}button:hover:not(:disabled),.button:hover{border-color:#728d70}button:focus-visible,a:focus-visible{outline:3px solid #a98b5c;outline-offset:2px}.primary{background:var(--ink);color:#fff;border-color:var(--ink)}.full{width:100%;margin-top:14px}input:not([type=checkbox]),select,textarea{display:block;width:100%;padding:10px;border:1px solid #d5dccf;border-radius:7px;background:#fff;color:var(--ink);margin-top:5px;min-width:0}input:focus,textarea:focus,select:focus{outline:2px solid #8fa28a}textarea{resize:vertical}label{display:block;color:var(--muted);font-size:13px}h1,h2,h3,p{margin-top:0}h1{font-size:34px;line-height:1.4;margin-bottom:12px}h2{font-size:23px;margin-bottom:15px}h3{font-size:17px}a{color:inherit}header{border-bottom:1px solid var(--line);display:flex;align-items:center;gap:20px;min-height:76px;padding:18px max(5vw,20px)}.brand{font-size:23px;font-weight:700;text-decoration:none;margin-right:auto}#contact{font-size:13px;color:var(--muted)}#admin-link{font-size:12px;text-decoration:none}main{max-width:1440px;margin:auto;padding:0 5vw 60px}.intro{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:38px 0;border-bottom:1px solid var(--line);margin-bottom:28px}.intro p:last-child{margin:0}.intro #subtitle{color:var(--orange);margin-bottom:8px}.muted{color:var(--muted)}.tiny{font-size:12px}.stats{display:flex;gap:30px}.stat{text-align:center;min-width:85px}.stat strong{display:block;font-size:30px;line-height:1.2}.stat span{font-size:12px;color:var(--muted)}.layout{display:grid;grid-template-columns:minmax(0,1fr) 355px;gap:30px;align-items:start}.filters{display:flex;gap:10px;margin-bottom:15px}.filters input{margin:0}.filters select{width:auto;margin:0}.pills{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:14px}.pills button{background:transparent;border:0;padding:8px 13px;border-radius:6px;font-size:13px}.pills .selected{background:var(--ink);color:#fff}.pills.subtle button{padding:5px 10px;font-size:12px}.pills.subtle .selected{background:#e5ebdd;color:var(--ink)}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 19px}.product{min-width:0}.cover{display:block;width:100%;padding:0;aspect-ratio:1.2;position:relative;background:#ebece2;border:0;overflow:hidden}.cover img{width:100%;height:100%;object-fit:cover}.placeholder{font-size:34px;color:#a6afa0;font-weight:300}.stock-label{position:absolute;left:12px;top:12px;background:#fffdf6ed;padding:3px 10px;font-size:12px;border-radius:5px}.product-title{display:block;border:0;padding:0;background:transparent;font-size:18px;font-weight:600;margin-top:12px;text-align:left}.product .spec{font-size:12px;color:var(--muted);min-height:20px;margin:4px 0 8px}.price{font-size:25px;font-weight:600}.price small{font-size:11px;font-weight:400;margin-left:4px}.price-row,.section-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.section-head h2{margin:0}.sales{font-size:12px;color:var(--orange);margin:6px 0}.soldout .cover img{opacity:.7}.fee{font-size:11px;color:var(--muted);margin-top:4px}.qty{display:inline-flex;align-items:center;gap:8px}.qty button{height:28px;width:28px;padding:0;border-radius:5px}.card{background:#fff;border:1px solid var(--line);padding:24px;border-radius:12px}#checkout{position:sticky;top:16px;scroll-margin-top:15px}#checkout h3{margin:21px 0 10px}.badge{background:var(--light);padding:2px 9px;border-radius:50%;font-size:12px}.cart-line{border-bottom:1px solid var(--line);padding:13px 0;font-size:13px;display:flex;justify-content:space-between;align-items:center;gap:10px}.cart-line span small{display:block;color:var(--muted)}.region-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.region-grid label:first-child{grid-column:1/-1}.check{display:flex;gap:8px;align-items:flex-start;margin:12px 0;font-size:12px}.check input{margin:4px 0 0;flex-shrink:0}.address{margin-top:13px}#full-address{margin:5px 0 14px;overflow-wrap:anywhere}#quote{border-top:1px solid var(--line);margin-top:18px;padding-top:15px}.cost{display:flex;justify-content:space-between;gap:10px;font-size:13px;margin:6px 0}.total{display:flex;justify-content:space-between;align-items:baseline;border-top:1px solid var(--line);padding-top:13px;margin-top:14px}.total strong{font-size:25px}.pending{color:#9b612b;font-size:12px;margin:9px 0}summary{cursor:pointer;color:var(--ink);padding:10px 0;font-size:14px}details .form-grid{margin-top:10px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.wide{grid-column:1/-1}.error{color:#ae432e;font-size:13px;white-space:pre-wrap}.error:empty{display:none}.banner{text-align:center;padding:12px;background:#fbebd9}.empty{text-align:center;padding:60px 20px;color:var(--muted)}footer{border-top:1px solid var(--line);padding:25px 5vw;display:flex;justify-content:space-between;color:var(--muted);font-size:12px}.mobile-cart{display:none}.manager-title{padding:30px 0}.manager-title h1{margin:0}.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.login{max-width:420px;margin:45px auto}.admin-products{display:grid;gap:12px;margin-top:20px}.admin-product{display:flex;align-items:center;gap:15px;background:#fff;border:1px solid var(--line);padding:15px;border-radius:10px}.admin-product .thumb{width:72px;height:72px;background:#eceee5;border-radius:6px;object-fit:cover;display:grid;place-items:center}.admin-product .info{flex:1;min-width:0}.admin-product h3{margin:0;font-size:16px;overflow-wrap:anywhere}.admin-product p{font-size:12px;margin:3px 0;color:var(--muted)}.admin-product .actions button{font-size:12px}#admin-stats{justify-content:flex-start;margin:10px 0 26px}#tabs{border-bottom:1px solid var(--line);padding-bottom:15px;margin-bottom:24px}#settings-form{max-width:740px}#shipping-rules .card{margin-top:15px}.table-wrap{overflow:auto;margin:20px 0}table{width:100%;border-collapse:collapse;background:#fff;font-size:13px;text-align:left;white-space:nowrap}th,td{padding:13px;border-bottom:1px solid var(--line)}td small{display:block;color:var(--muted)}th{background:#e9ede2;font-weight:500}.mt{margin-top:15px}dialog{border:1px solid var(--line);border-radius:13px;background:var(--bg);color:var(--ink);padding:30px;width:min(650px,calc(100% - 28px));max-height:90vh;box-shadow:0 16px 60px #142c2940}dialog::backdrop{background:#10271e70}.close{position:absolute;right:12px;top:9px;font-size:25px;background:transparent;border:0;padding:0 8px}.detail-image{width:100%;max-height:320px;object-fit:contain;background:#edece3;border-radius:9px;margin-bottom:17px}video{width:100%;max-height:350px}.description{white-space:pre-wrap;overflow-wrap:anywhere}.order-summary{padding:15px;background:#fff;border:1px solid var(--line);border-radius:8px;overflow-wrap:anywhere}.order-summary dt{font-size:12px;color:var(--muted);margin-top:7px}.order-summary dd{margin:0;font-size:14px}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);z-index:100;background:var(--ink);color:#fff;padding:12px 22px;border-radius:9px;max-width:90vw;font-size:14px}.honeypot{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}[hidden]{display:none!important}.upload input{font-size:12px;max-width:100%}.upload small{display:block;color:var(--muted);font-size:11px}.media-preview{max-width:120px;max-height:90px}.editor-hint{margin-bottom:15px}.category-row{display:flex;align-items:center;gap:6px;margin:8px 0}.category-row input{margin:0}.category-row button{flex-shrink:0}#sales-time{margin-top:25px}@media(min-width:1400px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1050px){.layout{grid-template-columns:minmax(0,1fr) 320px;gap:20px}.price-row{flex-wrap:wrap}.stats{gap:18px}.card{padding:20px}}@media(max-width:760px){header{min-height:65px;padding:15px 18px;gap:10px}.brand{font-size:20px}#contact{font-size:11px;max-width:130px;overflow-wrap:anywhere}#admin-link{font-size:11px}main{padding:0 18px 40px}.intro{display:block;padding:26px 0;margin-bottom:23px}.intro h1{font-size:28px}.intro .stats{margin-top:24px;justify-content:space-between}.stat{min-width:70px}.stat strong{font-size:25px}.layout{grid-template-columns:1fr}.product-grid{gap:22px 14px}.product-title{font-size:16px}.cover{aspect-ratio:1}.product .spec{font-size:11px}.price{font-size:22px}.price-row button{font-size:12px;padding:6px 9px}.price-row .qty button{padding:0}.price-row .price small{font-size:9px}.sales{font-size:11px}#checkout{position:static;margin-top:16px;padding:21px}.filters{gap:7px}.filters input{font-size:13px}.filters select{font-size:12px;max-width:135px}.pills{gap:4px}.pills button{padding:7px 10px}.mobile-cart:not([hidden]){position:fixed;bottom:12px;left:18px;right:18px;z-index:10;display:flex;background:var(--ink);color:white;padding:13px 20px;justify-content:space-between;box-shadow:0 5px 25px #10231933}footer{padding:22px 18px 85px}.manager-title{display:block}.manager-title h1{font-size:27px;margin-bottom:14px}.actions button,.actions a{font-size:12px;padding:8px 10px}.admin-product{flex-wrap:wrap;padding:12px;gap:10px}.admin-product .actions{width:100%;justify-content:flex-end}.section-head h2{font-size:20px}#admin-stats{gap:20px}.form-grid{gap:12px}.section-head{align-items:center}dialog{padding:28px 20px}.stats .stat span{font-size:11px}#toast{bottom:78px}}
.brand{display:flex;align-items:center;gap:10px}.brand-logo{width:49px;height:49px;object-fit:contain}@media(max-width:760px){.brand{gap:6px;font-size:18px}.brand-logo{width:38px;height:38px}}
