:root{font-family:"DM Sans","PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:#152e25;background:#f7f8f5;font-synthesis:none;--green:#176144;--dark:#153f30;--light:#e5f0e5;--muted:#596e64;--line:#dfe7df;--white:#fff;--orange:#d78832}
*{box-sizing:border-box}
body{margin:0;min-width:320px}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:disabled{opacity:.53;cursor:not-allowed}
a{color:inherit;text-decoration:none}
:focus-visible{outline:3px solid #63a184;outline-offset:3px}
img{max-width:100%;display:block}
[hidden]{display:none!important}
.wrap{width:min(1220px,calc(100% - 72px));margin:auto}
.strip{background:var(--dark);color:#e9f3e9;font-size:.86rem}
.strip .wrap{min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.tophead{background:white;border-bottom:1px solid var(--line)}
.headerrow{display:grid;grid-template-columns:230px minmax(200px,1fr) auto;align-items:center;gap:26px;min-height:83px}
.brand{display:inline-flex;align-items:center;gap:11px;width:max-content;font-weight:900;letter-spacing:-.04em;font-size:1.42rem}
.brand small{display:block;font-size:.65rem;letter-spacing:.14em;color:#63786b;font-weight:800;margin-top:2px}
.logo{display:grid;place-items:center;width:46px;height:46px;background:#dfeddd;border-radius:14px;font-size:1.55rem}
.search{display:flex;align-items:center;gap:10px;position:relative;color:var(--muted)}
.search span{position:absolute;left:15px;font-size:1.2rem;pointer-events:none}
.search input{width:100%;background:#f4f7f3;border-color:#e4ebe3;padding-left:43px}
.headerlinks{display:flex;align-items:center;justify-content:flex-end;gap:8px;white-space:nowrap}
.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid transparent;border-radius:11px;padding:11px 15px;min-height:44px;background:var(--green);color:#fff;font-weight:750;font-size:.91rem;text-align:center}
.btn:hover{filter:brightness(.94)}
.btn.soft{background:var(--light);color:var(--dark)}
.btn.light{background:#fff;color:var(--dark);border-color:var(--line)}
.btn.plain{background:transparent;color:var(--dark)}
.btn.warn{background:#fff5ed;color:#a35228;border-color:#f7dfca}
.hero{margin-top:27px;min-height:340px;background:#e2efdF;border:1px solid #deeadc;border-radius:27px;position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center}
.hero img{position:absolute;z-index:-2;width:67%;height:100%;right:0;top:0;object-fit:cover;object-position:center 50%}
.hero:after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#e2efdf 0%,#e2efdf 29%,#e2efdfdf 44%,transparent 62%)}
.herocopy{padding:40px 50px}
.hero h1{font-size:clamp(2rem,4.5vw,4rem);line-height:1.1;letter-spacing:-.06em;margin:14px 0 14px;color:#173d2b}
.hero p{margin:0 0 24px;color:#365a47;font-size:1.04rem}
.eyebrow{font-size:.9rem;font-weight:800;color:var(--green);display:inline-flex;align-items:center;gap:7px}
.eyebrow:before{content:"";width:8px;height:8px;border-radius:50%;background:#36845c}
.perks{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-radius:16px;background:white;margin:19px 0 33px;padding:14px 0}
.perk{display:flex;gap:11px;align-items:center;justify-content:center;border-right:1px solid var(--line);padding:2px 12px}
.perk:last-child{border:0}
.perk span{font-size:1.2rem;min-width:35px;text-align:center}
.perk b{font-size:.93rem;display:block}
.perk small{display:block;color:var(--muted);margin-top:2px;font-size:.82rem}
.sectionhead{display:flex;justify-content:space-between;align-items:flex-end;gap:15px;margin-bottom:15px}
.sectionhead h2,.adminhead h1{margin:0;font-size:clamp(1.65rem,3vw,2.35rem);letter-spacing:-.045em}
.sectionhead p,.muted{color:var(--muted)}
.sectionhead p{margin:5px 0 0}
.filters{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}
.chip{border:1px solid var(--line);color:#355445;background:white;border-radius:100px;padding:8px 13px;font-size:.9rem;font-weight:700;white-space:nowrap}
.chip.on{background:var(--dark);color:white;border-color:var(--dark)}
.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.card,.panel{background:#fff;border:1px solid var(--line);border-radius:17px}
.card{overflow:hidden}
.productPic{width:100%;aspect-ratio:1.37;background:#eaf2e9;object-fit:cover;text-align:center;font-size:3rem;display:grid;place-items:center}
.catalog-photo{object-fit:contain;background:#f4f5ef}
.cardbody{padding:14px 15px 15px}
.cardbody h3{margin:3px 0 4px;font-size:1.06rem}
.cardbody .muted{font-size:.875rem}
.bottomline,.line{display:flex;align-items:center;justify-content:space-between;gap:10px}
.bottomline{margin-top:14px}
.price{color:var(--green);font-size:1.24rem;font-weight:850;white-space:nowrap}
.product-details{display:flex;align-items:center;justify-content:space-between;gap:6px}
.dual-price{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px;text-align:left}
.dual-price .price{display:flex;flex-wrap:wrap;gap:0 .24em;white-space:normal;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.dual-price .price+.price{border-left:1px solid var(--line);padding-left:8px}
.cart-price{text-align:right}
.plus{font-size:1.35rem;padding:0;width:39px;min-height:39px;flex-shrink:0}
.empty{background:#fff;border:1px dashed #cbd9cc;border-radius:15px;padding:24px;color:var(--muted)}
.request{margin:28px 0 42px;border-radius:18px;background:#e7f0e6;padding:21px 23px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.request h2{margin:0 0 5px;font-size:1.14rem}
.request p{margin:0;color:var(--muted)}
#footer{background:#edf2eb;color:#516a5d}
#footer .wrap{min-height:78px;display:flex;justify-content:space-between;align-items:center;gap:12px}
#footer a{font-weight:700;color:var(--dark)}
dialog{border:1px solid var(--line);border-radius:20px;width:min(560px,calc(100vw - 24px));padding:0;max-height:calc(100dvh - 32px);color:#152e25;box-shadow:0 24px 90px #16342742}
dialog::backdrop{background:#0c281e87}
.dialoghead{position:sticky;top:0;background:#fff;z-index:2;padding:16px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:18px}
.dialoghead h2{margin:0;font-size:1.25rem}
.dialogbody{padding:19px 20px}
.stack{display:grid;gap:13px}
label{display:grid;gap:6px;font-weight:700;font-size:.92rem}
input,select,textarea{width:100%;padding:10px 11px;border:1px solid #cbd9cf;border-radius:9px;background:white;color:#193528;min-height:42px}
textarea{min-height:72px;resize:vertical}
input[type=checkbox]{width:auto;min-height:0;accent-color:var(--green)}
.checkline{display:flex;align-items:center;gap:8px}
.formerror{color:#a33320;margin:0;font-size:.9rem}
.cartline{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding:8px 0 14px}
.qty{display:flex;align-items:center;gap:8px}
.qty button{background:#ebf2eb;border:0;width:30px;height:30px;border-radius:7px;color:var(--dark);font-weight:800}
.summary{background:#eef5ee;border-radius:12px;display:grid;gap:6px;padding:12px;color:#315140}
.summary .total{font-weight:850;color:#123b28}
#toast{position:fixed;z-index:10;bottom:max(20px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);padding:11px 18px;border-radius:10px;background:var(--dark);color:#fff;width:max-content;max-width:calc(100% - 22px);box-shadow:0 5px 18px #0002}
.loading{padding:44px;text-align:center;color:var(--muted)}
.adminwrap{padding:26px 0 42px;min-height:70vh}
.headerrow.owner-header{display:flex;justify-content:space-between}
.owner-entry{display:grid;justify-content:center;align-content:start;min-height:69vh;padding:44px 0}
.owner-login{width:min(410px,calc(100vw - 36px));padding:24px}
.owner-login h1{margin:0 0 18px;font-size:1.48rem}
.adminhead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px}
.adminhead p{margin:5px 0 0}
.adminbar{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0 20px}
.panel{padding:16px;margin-bottom:10px}
.panel h3{margin:6px 0 8px}
.panel p{margin:7px 0;overflow-wrap:anywhere}
.tag{font-size:.81rem;font-weight:760;color:var(--green);padding:4px 8px;background:var(--light);border-radius:7px;display:inline-block}
.tag.new{background:#fff1d7;color:#8c5317}
.actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.adminpic{width:68px;border-radius:9px;aspect-ratio:1;object-fit:cover}
.adminproduct{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center}
.adminproduct .actions{margin:0}
.category-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
.category-row strong{overflow-wrap:anywhere}
.category-row .actions{margin:0}
.twocol{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.phone-field{display:grid;grid-template-columns:minmax(128px,.8fr) minmax(0,1.3fr);gap:10px}
.link{color:var(--green);font-weight:750;text-decoration:underline}
.strip-link{padding:4px 0;color:inherit;font:inherit;text-decoration:underline;background:none;border:0;white-space:nowrap}
.floating-shop-actions{--cart-safe-left:env(safe-area-inset-left,0px);--cart-safe-right:env(safe-area-inset-right,0px);--cart-safe-top:env(safe-area-inset-top,0px);--cart-safe-bottom:env(safe-area-inset-bottom,0px);position:fixed;right:calc(14px + var(--cart-safe-right));bottom:calc(16px + var(--cart-safe-bottom));z-index:5}
.floating-shop-actions.cart-repositioned{right:auto;bottom:auto}
.floating-shop-actions:not(.cart-repositioned){left:auto!important;top:auto!important}
.floating-cart{display:none;background:var(--dark);min-height:50px;padding:10px 13px;border-radius:30px;box-shadow:0 5px 18px #153f3030;touch-action:none;user-select:none;white-space:nowrap;cursor:grab}
.floating-cart:active{cursor:grabbing}
.cart-badge{display:grid;place-items:center;min-width:23px;height:23px;padding:0 5px;border-radius:50px;background:#d0eeae;color:#153f30;font-weight:850;font-size:.8rem}
.search-empty{grid-column:1/-1}
.saved-address{margin-top:10px}
.wish-photo{max-width:min(100%,200px);max-height:200px;border-radius:10px;object-fit:contain}
.geo-status{font-size:.86rem}
.gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:8px;margin:10px 0}
.gallery .btn{flex-direction:column;white-space:normal}
.stats-table{width:100%;border-collapse:collapse;margin-top:12px;text-align:left}
.stats-table th,.stats-table td{border-bottom:1px solid var(--line);padding:8px 3px;font-size:.89rem}
.sales-rank{margin:0;padding-left:1.5rem;line-height:1.8}
.order-filter-heading{margin:0 0 14px;font-size:1.24rem}
.order-filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,165px),1fr));gap:12px}
.order-filter-grid input,.order-filter-grid select{min-width:0}
.order-presets,.order-filter-actions{margin:0}
.order-filter-actions .formerror{flex-basis:100%}
.order-report-totals{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:15px;padding:13px;border-radius:9px;background:var(--light);font-size:.9rem;color:var(--dark)}
.report-pages{margin:14px 0}
.android-device{padding:8px 0;border-top:1px solid var(--line)}
@media(max-width:650px){.floating-cart{display:inline-flex}.cart-price{grid-column:2}}
@media(max-width:960px){.wrap{width:calc(100% - 38px)}.headerrow{grid-template-columns:auto minmax(150px,1fr) auto;gap:13px}.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero{min-height:310px}}
@media(max-width:650px){.wrap{width:calc(100% - 24px)}.strip .wrap{min-height:31px;font-size:.74rem}.strip .wrap span:last-child{display:none}.headerrow{grid-template-columns:1fr auto;min-height:67px;padding:8px 0;gap:8px}.headerlinks{gap:1px}.headerlinks .btn{padding:6px 8px;min-height:37px;font-size:.82rem}.search{grid-row:2;grid-column:1/-1}.brand{font-size:1.19rem;gap:6px}.brand small{font-size:.57rem}.logo{width:39px;height:39px;font-size:1.25rem}.hero{min-height:238px;margin-top:13px;border-radius:17px;align-items:center}.hero img{width:78%;object-position:58% center}.hero:after{background:linear-gradient(90deg,#e2efdf 7%,#e2efdfef 22%,#e2efdfb6 44%,transparent 71%)}.herocopy{padding:17px}.hero h1{font-size:clamp(1.65rem,7vw,2.55rem);margin:9px 0}.hero p{font-size:.83rem;max-width:155px;margin-bottom:14px}.eyebrow{font-size:.76rem}.hero .btn{min-height:37px;padding:7px 10px}.perks{margin:12px 0 21px;padding:9px 0}.perk{gap:2px;padding:2px 4px;flex-direction:column;text-align:center}.perk b{font-size:.78rem}.perk small{font-size:.67rem}.sectionhead{align-items:center}.sectionhead p{font-size:.85rem}.sectionhead .btn{font-size:.8rem;padding:7px;min-height:39px}.filters{gap:5px}.chip{font-size:.76rem;padding:7px 8px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.card{border-radius:13px}.cardbody{padding:10px}.cardbody h3{font-size:.95rem}.cardbody .muted{font-size:.74rem}.price{font-size:1rem}.bottomline{margin-top:8px;gap:4px}.plus{width:34px;min-height:34px}.request{padding:14px;margin-bottom:25px}.request p{font-size:.85rem}.request .btn{min-width:86px;padding:7px}.adminproduct{grid-template-columns:auto 1fr}.adminproduct .actions{grid-column:1/-1}.cartline{grid-template-columns:1fr auto;gap:7px}.cartline .price{grid-column:2}}
