:root {
    --paper:#fbf8f2; --white:#fffdf9; --ink:#25302a; --muted:#545b50; --green:#244736;
    --line:#e4ded2; --sand:#f0e9dd; --clay:#a4422c; --deep:#203b2f;
    --display: Georgia,"Noto Serif TC","Songti TC",serif;
    --body: system-ui,-apple-system,"PingFang TC","Microsoft JhengHei",sans-serif;
}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.68 var(--body)}
img{display:block;max-width:100%;height:auto}
figure,p,h1,h2,h3,dl,dd{margin:0}
p+p{margin-top:1em}
h1,h2,h3{line-height:1.23}
h1,h2{font-family:var(--display);font-weight:500}
h1{font-size:clamp(2.4rem,5.1vw,5rem);letter-spacing:-.045em}
h2{font-size:clamp(1.65rem,3vw,2.65rem);letter-spacing:-.035em}
h3{font-size:1.07rem}
a{color:inherit;text-underline-offset:4px}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
button:disabled{opacity:.54;cursor:default}
:focus-visible{outline:3px solid #a6562f;outline-offset:3px}
.wrap{width:min(1230px,calc(100% - 104px));margin-inline:auto}
.section{padding-block:68px}
.narrow{max-width:820px}
.muted,small{color:var(--muted)}
.skip{position:absolute;top:-100px;left:12px;z-index:20;background:var(--white);padding:8px 12px}
.skip:focus{top:8px}
.site-header{border-bottom:1px solid var(--line);background:var(--paper);position:relative;z-index:2}
.header-inner{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.wordmark{display:inline-flex;align-items:center;gap:10px;color:var(--green);text-decoration:none;font-size:1.18rem;font-weight:760;letter-spacing:.06em;line-height:1;white-space:nowrap}
.brand-second{font-weight:530;padding-left:3px}
.brand-mark{width:28px;height:28px;display:grid;grid-template:repeat(2,1fr)/repeat(2,1fr);gap:3px;transform:rotate(-11deg)}
.brand-mark i{background:currentColor;border-radius:50% 50% 1px 50%}
.brand-mark i:nth-child(2){transform:rotate(90deg)}
.brand-mark i:nth-child(3){transform:rotate(-90deg)}
.brand-mark i:nth-child(4){transform:rotate(180deg)}
.primary-nav,.header-tools{display:flex;align-items:center;gap:clamp(12px,2.5vw,35px)}
.primary-nav a,.header-tools a,.languages summary,.menu-toggle{font-size:.87rem;font-weight:540;text-decoration:none;white-space:nowrap}
.primary-nav a:hover,.primary-nav a[aria-current]{color:var(--clay);text-decoration:underline}
.header-tools{gap:15px}
.header-tools svg{stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;display:block}
.bag{display:flex;align-items:center;gap:5px}
.bag span{background:var(--green);color:white;width:19px;height:19px;border-radius:50%;font-size:.68rem;display:grid;place-items:center}
.languages{position:relative}
.languages summary{list-style:none;cursor:pointer}
.languages summary::-webkit-details-marker{display:none}
.languages div{position:absolute;min-width:126px;right:-12px;top:36px;background:var(--white);border:1px solid var(--line);box-shadow:0 8px 28px #2f281316;padding:6px}
.languages div a{display:block;padding:7px 9px}
.languages div a:hover,.languages div a[aria-current]{background:var(--sand)}
.menu-toggle{display:none}
.hero{display:grid;grid-template-columns:1fr 1.13fr;align-items:center;gap:5.3%;min-height:565px;padding-block:42px 57px;position:relative}
.hero-content{padding-block:18px}
.eyebrow{display:flex;align-items:center;gap:10px;font-size:.77rem;letter-spacing:.12em;color:var(--green);font-weight:700;text-transform:uppercase;margin-bottom:20px}
.eyebrow span{width:8px;height:8px;border-radius:50%;background:var(--clay)}
.hero h1{color:var(--deep);font-size:clamp(3rem,6vw,5.7rem);line-height:1.02;margin-bottom:23px}
.hero h1 em{color:var(--clay);font-weight:400}
html[lang^="zh"] .hero h1 em{font-style:normal}
.hero h2{font:650 clamp(1.08rem,1.65vw,1.46rem)/1.35 var(--body);letter-spacing:.01em;margin-bottom:12px}
.hero-description{color:var(--muted);max-width:440px}
.actions{display:flex;align-items:center;flex-wrap:wrap;gap:11px;margin-top:23px}
.button{background:var(--green);color:#fff;border:1px solid var(--green);display:inline-flex;align-items:center;justify-content:center;gap:14px;border-radius:3px;min-height:45px;padding:10px 18px;text-decoration:none;font-size:.91rem;font-weight:620;line-height:1.22}
.button:hover{background:#365c46}
.button.outline{background:transparent;color:var(--green)}
.button.outline:hover{background:var(--sand)}
.hero-art{position:relative;background:var(--sand);border-radius:3px;overflow:hidden}
.hero-art img{width:100%;height:clamp(380px,37vw,486px);object-fit:cover;object-position:center 54%}
.hero-art figcaption{position:absolute;bottom:14px;right:14px;background:var(--paper);color:var(--green);border-radius:2px;padding:5px 9px;font-size:.7rem}
.hero-qr{position:absolute;left:calc(47% - 34px);bottom:38px;display:flex;align-items:center;gap:11px;background:var(--white);border:1px solid var(--line);box-shadow:0 12px 27px #2d2a1820;padding:11px 13px;border-radius:4px;color:var(--green);text-decoration:none}
.hero-qr strong,.hero-qr small{display:block;font-size:.78rem}
.hero-qr small{font-size:.66rem}
.hero-qr:hover{text-decoration:underline}
.qr-symbol{width:30px;height:30px;display:grid;grid-template:repeat(2,1fr)/repeat(2,1fr);gap:3px;flex-shrink:0}
.qr-symbol i{border:2px solid var(--green)}
.qr-symbol i:last-child{border-width:0 3px 3px 0;width:9px;height:9px;align-self:center;justify-self:center}
.collection{background:#f2ede3;border-block:1px solid var(--line)}
.section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:24px}
.section-title p{margin-top:8px;color:var(--muted)}
.text-link{font-weight:650;color:var(--green);text-decoration-color:#8d9b8b}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.product-card{border:1px solid var(--line);background:var(--white);border-radius:4px;overflow:hidden}
.product-image{display:block;aspect-ratio:1.1;background:#f7f4ef;overflow:hidden}
.product-image img{width:100%;height:100%;object-fit:contain;transition:transform .22s ease}
.product-image.canvas-image img{object-fit:cover}
.product-card:hover .product-image img{transform:scale(1.035)}
.product-caption{padding:14px 15px}
.product-caption small{font-weight:620;font-size:.72rem}
.product-caption h3{margin-top:3px}
.product-caption a{text-decoration:none}
.product-caption a:hover{text-decoration:underline}
.product-price{display:flex;justify-content:space-between;color:var(--green);margin-top:8px}
.product-price a{border:1px solid var(--line);border-radius:50%;width:28px;height:28px;display:grid;place-items:center}
.page-head{background:var(--sand);border-bottom:1px solid var(--line);padding:56px 0}
.page-head h1{color:var(--deep);font-size:clamp(2.2rem,5vw,4rem)}
.page-head p{margin-top:10px;color:var(--muted);max-width:750px}
.pills,.tags{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 26px;padding:0;list-style:none}
.pills a,.tags li{border:1px solid var(--line);padding:6px 13px;border-radius:25px;text-decoration:none;font-size:.85rem}
.pills a.selected,.pills a:hover{background:var(--green);color:white;border-color:var(--green)}
.catalog .product-grid{row-gap:26px}
.how-home{text-align:center}
.steps,.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.steps{margin-top:22px;text-align:left}
.steps article,.feature-grid article{padding:22px;border:1px solid var(--line);background:var(--white);border-radius:4px}
.steps p,.feature-grid p,.how-list p{color:var(--muted);margin-top:9px;font-size:.94rem}
.number{display:block;color:var(--clay);font:600 1.25rem/1 var(--display);margin-bottom:12px}
.centered{justify-content:center}
.story-banner{display:grid;grid-template-columns:1fr 1fr;background:var(--deep);color:var(--white);overflow:hidden;border-radius:4px}
.story-banner img{width:100%;height:100%;max-height:450px;object-fit:cover}
.story-banner div{align-self:center;padding:clamp(22px,4vw,53px)}
.story-banner p{margin-block:14px 20px}
.story-banner .tags{margin:0}
.story-banner .tags li{border-color:#73887c}
.philosophy{margin-top:32px;background:var(--sand);padding:24px;border-radius:4px}
.philosophy p{margin:9px 0 12px;max-width:840px}
.detail,.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(20px,5vw,65px);align-items:start}
.detail > div:nth-child(2){align-self:center}
.detail-image{background:var(--white);border-radius:4px;overflow:hidden}
.detail-image img{width:100%;max-height:610px;object-fit:contain}
.detail .eyebrow{margin-top:24px;margin-bottom:10px}
.detail h1{font-size:clamp(2.3rem,4.5vw,4.3rem)}
.detail .price-large{margin-block:16px}
.detail .button{margin-top:12px}
.detail .buy .button{margin-top:0}
.price-large{color:var(--green);font-size:1.3rem;font-weight:700}
.about-detail img{border-radius:4px}
.how-list article{display:flex;align-items:baseline;gap:20px;padding:20px 0;border-bottom:1px solid var(--line)}
.how-list h2,.rich h2{font-size:1.45rem}
.rich section+section{margin-top:26px}
.rich h2{margin-bottom:9px}
.rich p{margin-bottom:8px}
.panel{background:var(--white);border:1px solid var(--line);padding:clamp(16px,2.5vw,30px);border-radius:4px;min-width:0;overflow-wrap:anywhere}
.panel h2,.panel h3{margin-bottom:10px}
.panel p{margin-bottom:10px}
.resource-form{max-width:550px;margin-bottom:30px}
.resource-form+h2{margin-bottom:20px}
.auth{max-width:530px}
.field{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:.9rem;font-weight:560;margin-bottom:13px}
.field input,.field select,.field textarea{width:100%;min-height:42px;border:1px solid #c9cabc;border-radius:3px;padding:8px 10px;background:white;color:var(--ink)}
.field textarea{resize:vertical}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}
.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.check{display:flex;align-items:baseline;gap:7px;font-size:.9rem;margin:12px 0;flex-wrap:wrap}
.check input{accent-color:var(--green)}
.trap{position:absolute;left:-10000px}
.buy,.inline{display:flex;align-items:flex-end;gap:11px;flex-wrap:wrap;margin-top:13px}
.buy .field,.inline .field{margin:0}
.buy input[type=number],.cart-row-controls input[type=number]{width:75px}
.cart-list{margin-bottom:23px}
.cart-row{display:grid;grid-template-columns:85px 1fr auto;align-items:center;gap:13px;padding:13px 0;border-bottom:1px solid var(--line)}
.cart-row img{width:85px;height:76px;object-fit:contain;background:var(--white);border-radius:3px}
.cart-row-controls,.cart-row-controls form:first-child{display:flex;align-items:flex-end;flex-wrap:wrap;gap:8px}
.cart-row-controls .field{margin:0}
.link-button{border:0;background:none;padding:7px 3px;color:var(--green);text-decoration:underline;font-size:.88rem}
.table-wrap{overflow-x:auto;margin-block:12px}
table{width:100%;border-collapse:collapse;text-align:left;font-size:.9rem}
th,td{border-bottom:1px solid var(--line);padding:9px;vertical-align:middle}
th{color:var(--green)}
.totals{margin-block:17px}
.totals div{display:flex;justify-content:space-between;gap:10px;padding-block:5px}
.totals .grand{font-weight:740;border-top:1px solid var(--line);color:var(--green)}
.bank-note{background:var(--sand);padding:12px}
.notice{margin-top:14px;padding:10px 14px;border-radius:4px;background:#e4eee0;color:var(--green)}
.notice-error{background:#f3ded5;color:#7f281b}
.admin-grid{display:grid;grid-template-columns:210px minmax(0,1fr);gap:22px}
.admin-nav{display:grid;gap:4px;align-content:start}
.admin-nav a{padding:9px 12px;text-decoration:none;border-radius:3px}
.admin-nav a:hover,.admin-nav a[aria-current]{background:var(--sand);color:var(--green)}
.admin-nav form{padding-left:8px}
.admin-content>h2{margin-bottom:16px}
.admin-content .panel,.admin-content .table-wrap{margin-bottom:14px}
.admin-content .thumb{width:48px;height:42px;object-fit:contain;display:inline-block;vertical-align:middle}
.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.stat-grid a{text-decoration:none}
.stat-grid strong{display:block;color:var(--green);font-size:1.8rem}
.settings-panel h3:not(:first-of-type){margin-top:20px}
.generated-qr img{width:190px;height:190px;image-rendering:pixelated;background:white}
.footer{background:var(--deep);color:#f7f2e9;padding-top:43px}
.footer .wordmark{color:#f7f2e9;margin-bottom:12px}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:24px;padding-bottom:24px}
.footer nav{display:grid;justify-items:start;gap:4px}
.footer a{text-decoration:none}
.footer a:hover{text-decoration:underline}
.footer-bottom{display:flex;justify-content:space-between;gap:10px;padding-block:14px;border-top:1px solid #73887c;font-size:.77rem;color:#e0e5dc}
@media(max-width:1024px){
    .wrap{width:calc(100% - 60px)}
    .primary-nav,.header-tools{gap:12px}
    .hero{min-height:auto}
    .hero-art img{height:420px}
    .hero-qr{left:45%}
    .product-grid{gap:12px}
}
@media(max-width:800px){
    .wrap{width:calc(100% - 36px)}
    .header-inner{min-height:63px;gap:9px}
    .menu-toggle{display:block;background:none;border:0;color:var(--green);margin-left:auto;padding:8px}
    .primary-nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--paper);padding:10px 18px;border-bottom:1px solid var(--line)}
    .primary-nav.open{display:grid}
    .primary-nav a{padding:6px 5px}
    .hero{grid-template-columns:1fr;gap:14px;padding-block:26px 31px}
    .hero h1{font-size:clamp(2.8rem,10vw,4.6rem)}
    .hero-content{padding:4px 0 5px}
    .hero-art img{height:clamp(260px,58vw,405px)}
    .hero-qr{left:10px;bottom:42px}
    .section{padding-block:40px}
    .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .steps,.feature-grid,.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .admin-grid{grid-template-columns:1fr}
    .admin-nav{display:flex;flex-wrap:wrap}
    .admin-nav a{font-size:.85rem}
}
@media(max-width:480px){
    .wordmark{font-size:.96rem;gap:6px}
    .brand-mark{width:21px;height:21px}
    .header-tools{gap:8px}
    .menu-toggle{padding:4px}
    .header-tools svg{width:17px}
    .hero-art figcaption{top:9px;bottom:auto;right:9px}
    .hero-qr{left:7px;bottom:38px}
    .section-title{align-items:flex-start;flex-direction:column;gap:8px}
    .collection .section-title{margin-bottom:16px}
    .steps,.feature-grid,.story-banner,.detail,.contact-grid,.footer-grid,.form-grid,.form-grid.three{grid-template-columns:1fr}
    .story-banner img{max-height:325px}
    .cart-row{grid-template-columns:65px 1fr}
    .cart-row-controls{grid-column:2}
    .footer-grid{gap:13px}
    .footer nav{grid-template-columns:repeat(2,1fr)}
}
@media print{
    body *{visibility:hidden}
    .generated-qr,.generated-qr *{visibility:visible}
    .generated-qr{position:absolute;inset:20px auto auto 20px}
    .generated-qr img{width:45mm;height:45mm}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.product-image.canvas-image img{object-position:right center}
.button span[aria-hidden],.hero-qr>span:last-child{font-family:"DejaVu Sans","Segoe UI Symbol",sans-serif}
