:root{color-scheme:light;--page:#fcfaf5;--ink:#253831;--text:#30453a;--muted:#52645a;--forest:#205a47;--dark:#174536;--line:#d9e2d9;--paper:#fff;--rose:#f5e3ce;--price:#903e22;--radius:20px;--base:18px;font-family:"Noto Sans SC","Microsoft YaHei","PingFang SC",system-ui,sans-serif;font-size:var(--base);line-height:1.55}
*{box-sizing:border-box}body{margin:0;background:var(--page);color:var(--text)}body.large{font-size:1.2rem}h1,h2,h3,p{margin:0}h1,h2,h3{color:var(--ink);line-height:1.2}h1{font-size:clamp(2rem,4vw,3.6rem);font-weight:800;letter-spacing:.01em}h2{font-size:clamp(1.45rem,2.7vw,2rem);font-weight:800}h3{font-size:1.25rem}a{color:var(--forest);text-underline-offset:4px}a,button,input,select,textarea{font:inherit}button,.button{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:49px;padding:.58em .95em;border-radius:11px;border:1px solid transparent;font-weight:700;line-height:1.2;text-decoration:none;white-space:normal;text-align:center}button:disabled{opacity:.55;cursor:default}.solid{background:var(--forest);color:#fff}.solid:hover:not(:disabled){background:var(--dark)}.outline{background:#fff;color:var(--forest);border-color:#a5b9ac}.plain{background:transparent;color:var(--forest);border:none}.plain:hover,.outline:hover{background:#edf5eb}.count{background:#f4f9ef;color:var(--dark);font-size:.85em;min-width:1.5em;padding:.15em .25em;border-radius:99px}
:focus-visible{outline:3px solid #a85625;outline-offset:3px}input,select,textarea{padding:.68em .7em;min-height:49px;border:1px solid #8caa99;border-radius:9px;background:#fff;color:var(--ink);width:100%}input[type=checkbox]{width:auto;min-height:auto;accent-color:var(--forest);transform:scale(1.25);margin:0 .5em}textarea{resize:vertical}img{display:block;width:100%;height:auto}button,[href],input{touch-action:manipulation}.wide{width:min(1180px,calc(100% - 64px));margin-inline:auto}.sr,.skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip:focus{position:fixed;top:8px;left:8px;background:#fff;padding:.65rem;z-index:20}[hidden]{display:none!important}
.header{background:#fffdf8;border-bottom:1px solid var(--line)}.head-inner{display:flex;gap:1.5rem;align-items:center;justify-content:space-between;min-height:85px}.header nav,.head-actions{display:flex;gap:.5rem;align-items:center}.header nav a{display:flex;align-items:center;min-height:49px;padding-inline:.7rem;font-weight:700;text-decoration:none}.brand{display:flex;align-items:center;gap:.62rem;text-decoration:none;font-size:1.32rem;font-weight:850;line-height:1.17;color:var(--ink);white-space:nowrap}.mark{display:grid;place-items:center;min-width:47px;min-height:47px;background:var(--forest);color:#fff;border-radius:13px 13px 13px 5px;font-weight:800;font-size:1.27rem}.brand small{display:block;margin-top:.22rem;color:var(--muted);font-size:.77rem;font-weight:550;letter-spacing:.04em}.hero{display:grid;grid-template-columns:1fr 1.07fr;min-height:330px;overflow:hidden;border-radius:26px;margin:30px 0 45px;background:var(--rose)}.hero-copy{align-self:center;padding:40px clamp(26px,5.2vw,72px)}.hero-copy p{margin:1.05em 0 1.25em;font-size:1.05em;color:#36483e}.hero img{width:100%;height:100%;max-height:408px;object-fit:cover;object-position:center 47%}
.catalog{scroll-margin-top:20px}.catalog-head,.section-bar{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:1rem}.catalog-head p,.section-bar p{margin-top:.4rem;color:var(--muted)}.search{display:flex;gap:.46rem;width:min(100%,23rem)}.search input{min-width:5rem}.filters{display:flex;gap:.6rem;flex-wrap:wrap;margin:0 0 1.1rem}.filters button{color:var(--forest);background:#fff;border-color:#acbfb2;border-radius:12px}.filters button[aria-pressed=true]{color:#fff;background:var(--forest);border-color:var(--forest)}.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.05rem}.card{overflow:hidden;border-radius:var(--radius);background:var(--paper);border:1px solid var(--line);display:flex;flex-direction:column}.photo{width:100%;aspect-ratio:1.7;overflow:hidden;background:#e8ede0}.photo img{height:100%;object-fit:cover}.photo-empty{display:grid;place-items:center;height:100%;font-weight:700;color:#315c48}.photo-button{display:block;padding:0;border:0;border-radius:0;background:none;width:100%;text-align:initial}.card-copy{padding:1rem}.category{color:var(--muted);font-size:.9em;margin-bottom:.28rem}.product-name{display:inline;min-height:auto;text-align:left;border:0;padding:0;background:none;color:inherit;border-radius:0;font:inherit;font-weight:inherit}.card-bottom{margin-top:.8rem;display:flex;justify-content:space-between;align-items:center;gap:.4rem;flex-wrap:wrap}.price{color:var(--price);font-size:1.45em;line-height:1.15;font-weight:800;font-variant-numeric:tabular-nums}.support{margin:3rem 0 2.4rem;padding:1.3rem 1.65rem;background:#edf1e5;border-radius:var(--radius)}.support h2{margin-bottom:.6rem}.support details{padding:.63rem 0;border-bottom:1px solid #d0ddca}.support details:last-child{border-bottom:0}.support summary{font-weight:700;cursor:pointer;min-height:36px}.support p{margin:.25rem 0 .5rem}.footer{background:var(--dark);color:white}.footer .wide{padding:1.2rem 0;display:flex;justify-content:space-between;gap:1rem}.footer a{color:#fff}.mobile-nav{display:none}
dialog{border:1px solid var(--line);border-radius:16px;padding:0;background:var(--paper);color:var(--text);width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 30px);overflow:auto;overscroll-behavior:contain}dialog::backdrop{background:#14261ebb}.dialog-head{position:sticky;top:0;z-index:1;display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.15rem;background:var(--paper);border-bottom:1px solid var(--line)}#dialogBody,#editorBody{padding:1.15rem}.dialog-photo{max-height:280px;object-fit:cover;border-radius:12px;margin-bottom:1rem}.dialog-actions{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.8rem;margin-top:1rem}.items{display:grid;gap:.55rem;padding:0;list-style:none;margin:0}.line{display:flex;justify-content:space-between;gap:.7rem;align-items:center;border-bottom:1px solid var(--line);padding:.75rem 0}.line>div:first-child{min-width:0;overflow-wrap:anywhere}.qty{display:flex;align-items:center;gap:.35rem;flex-shrink:0}.qty button{min-width:48px;padding:.3rem}.notice{padding:.7rem .9rem;margin:.7rem 0;border-radius:9px;background:#edf4eb;color:#234d38}.error{background:#fff0e9;color:#842e19}.empty{display:grid;gap:.8rem;padding:1rem 0;justify-items:start}.fields{display:grid;gap:.85rem}.fields label{display:grid;gap:.3rem;font-weight:650}.fields label.switch{display:flex;align-items:center}.order{padding:.85rem 0;border-bottom:1px solid var(--line);display:grid;gap:.45rem}.order:last-child{border-bottom:0}.order p{overflow-wrap:anywhere}.order strong{color:var(--ink)}.order-top{display:flex;justify-content:space-between;gap:.65rem}.payment-box{margin-top:.85rem;padding:.85rem;background:#eef4ee;border-radius:12px;text-align:center}.payment-box img{width:min(245px,100%);margin:.6rem auto 0}.toast{position:fixed;z-index:4;bottom:24px;right:24px;background:var(--dark);color:#fff;padding:.65rem .9rem;border-radius:10px;margin:0;max-width:min(360px,80vw)}body:has(dialog[open]){overflow:hidden}
.admin-main{padding-block:2rem}.admin-main h1{font-size:clamp(1.8rem,3vw,2.7rem)}.login{max-width:440px;margin:2rem auto}.panel{border:1px solid var(--line);background:#fff;border-radius:14px;padding:1.1rem}.panel h1{margin-bottom:1rem}.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:12px;background:#fff}.table-wrap table{border-collapse:collapse;width:100%;min-width:620px}.table-wrap th,.table-wrap td{padding:.65rem .8rem;text-align:left;border-bottom:1px solid var(--line);white-space:normal}.table-wrap th{background:#e9f1e9;color:var(--ink)}.table-wrap tr:last-child td{border-bottom:0}.admin-orders{display:grid;gap:.7rem}.admin-orders .order{padding:.8rem 1rem}.admin-orders button{justify-self:start}.date,.muted{color:var(--muted)}.editor-form h3{margin-top:.5rem}
@media(max-width:880px){.head-inner{gap:.65rem}.wide{width:min(100% - 36px,1180px)}.hero-copy{padding:30px}.products{grid-template-columns:repeat(2,minmax(0,1fr))}.card-bottom .outline{font-size:.95em}}
@media(max-width:620px){:root{--base:17px}.wide{width:calc(100% - 28px)}.head-inner{min-height:65px;gap:.4rem}.brand{font-size:1.12rem}.brand small{font-size:.72rem}.mark{min-width:38px;min-height:38px}.header nav,.header [data-view=cart]{display:none}.head-actions{gap:.25rem}.head-actions button,.head-actions .button{padding:.5rem .65rem}.hero{grid-template-columns:1fr;margin:16px 0 25px;border-radius:17px}.hero-copy{padding:21px 22px}.hero-copy h1{font-size:clamp(1.85rem,8vw,2.65rem)}.hero-copy p{margin:.67rem 0 .85rem}.hero img{height:155px;object-position:50% 51%}.desktop-only{display:none}.catalog-head{display:grid;align-items:start;gap:.75rem}.search{width:100%}.filters{gap:.4rem}.filters button{padding:.38em .58em;min-height:48px}.products{gap:.62rem}.card{border-radius:13px}.card-copy{padding:.66rem}.card h3{font-size:1.06em}.card-bottom{margin-top:.55rem}.card-bottom button{width:100%;height:48px;padding:.4em}.photo{aspect-ratio:1.2}.support{padding:1.1rem;margin:1.6rem 0}.footer .wide{padding-bottom:80px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;z-index:3;display:flex;justify-content:space-evenly;background:#fffdf8;border-top:1px solid var(--line);padding:.22rem .2rem max(env(safe-area-inset-bottom),.2rem)}.mobile-nav a{display:flex;align-items:center;font-weight:700;min-height:49px;padding:.25rem .45rem;text-decoration:none}.mobile-nav button{padding:.25rem .45rem}.toast{bottom:64px}.dialog-head,#dialogBody,#editorBody{padding:.7rem .85rem}.qty button{min-width:44px}.admin-main .section-bar{align-items:start}.admin-main{padding-block:1rem}}
@media(max-width:375px){.products{grid-template-columns:1fr}.photo{aspect-ratio:1.65}.card-bottom button{width:auto}}
@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
.dialog-notice{margin:.65rem 1.15rem 0}body.large h2{font-size:clamp(1.65rem,3vw,2.3rem)}body.large h3{font-size:1.3em}body.large .header .font-button{font-size:1rem}
.search input{flex:1}.search button{flex:none;white-space:nowrap}
@media(max-width:620px){#filters button{padding-inline:.28em}}
