:root{--green:#8c3a50;--green-deep:#6e2d40;--ink:#2c2426;--muted:#74686c;--line:#eadfdc;--bg:#f6f3ea;--card:#fff;--notice:#f6e7a8;--max:560px;--pad:12px;--r:12px}
*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;background:var(--bg);scroll-behavior:smooth;scroll-padding-top:64px}
body{margin:0;font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",system-ui,sans-serif;color:var(--ink);background:var(--bg);line-height:1.65;font-size:16px;letter-spacing:.01em;min-height:100vh}
img{max-width:100%;height:auto}a{color:var(--green)}a:hover{color:var(--green-deep)}
h1,h2,h3{line-height:1.35;letter-spacing:.01em}
:focus-visible{outline:3px solid #e0a100;outline-offset:2px;border-radius:4px}
.skip{position:absolute;left:-9999px;top:0;z-index:2000;background:#fff;color:var(--green-deep);padding:.6rem 1rem;border-radius:0 0 10px 0;font-weight:700}
.skip:focus{left:0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.bar-wrap{position:sticky;top:0;z-index:50;background:var(--bg)}
.bar{max-width:var(--max);margin:0 auto;display:flex;align-items:center;flex-wrap:wrap;gap:.35rem .5rem;padding:.6rem var(--pad) .4rem}
.brand{display:flex;align-items:center;gap:.4rem;color:var(--green);text-decoration:none;font-weight:800;font-size:.98rem;margin-right:auto;min-height:36px;white-space:nowrap}
.brand:hover{color:var(--green-deep)}
.nav.pills{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:.28rem;margin-left:auto}
.pills>a,.more>.pill{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:.12rem .68rem;border-radius:999px;border:1px solid #e6d9d4;background:#fff;color:#4c4246;text-decoration:none;font-size:.8rem;font-weight:700;cursor:pointer;white-space:nowrap;line-height:1.2}
.pills>a:hover,.more>.pill:hover{border-color:var(--green);color:var(--green)}
.pills>a.on,.more.has-current>.pill{background:var(--green);border-color:var(--green);color:#fff}
.menu-toggle{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.menu-toggle:focus-visible+.pill{outline:3px solid #e0a100;outline-offset:2px}
.menu-toggle:checked+.pill{background:var(--green-deep);border-color:var(--green-deep);color:#fff}
.more{position:relative}
.more-panel{display:none;position:absolute;top:calc(100% + .35rem);right:0;z-index:80;width:min(240px,calc(100vw - 1.4rem));background:#fff;border-radius:14px;border:1px solid rgba(40,50,40,.08);box-shadow:0 12px 32px rgba(30,40,30,.14);padding:.3rem}
.menu-toggle:checked~.more-panel{display:block}
.more-panel a{display:flex;align-items:center;min-height:42px;padding:.3rem .7rem;border-radius:10px;text-decoration:none;color:var(--green-deep);font-weight:700;font-size:.9rem}
.more-panel a:hover{background:#faf4f6}
.more-panel a.on{background:var(--green);color:#fff}

.notice{max-width:var(--max);margin:.15rem auto 0;background:var(--notice);color:#5c5330;border-radius:6px;display:flex;align-items:center;gap:.55rem;padding:.42rem .7rem;font-size:.8rem;line-height:1.45}
.notice[hidden]{display:none !important}
.notice span{flex:1;min-width:0}
.notice-x{margin-left:auto;border:0;background:transparent;color:#5c5330;font:inherit;font-size:.8rem;font-weight:700;cursor:pointer;white-space:nowrap;min-height:32px;padding:.1rem .15rem}

main{max-width:var(--max);margin:0 auto;padding:.2rem var(--pad) .5rem;min-width:0}
.catalog h1{margin:.85rem 0 .7rem;color:var(--green);font-size:1.62rem;font-weight:750;line-height:1.35}
.crumb{font-size:.8rem;color:var(--muted);margin:.55rem 0 .15rem}
.crumb a{color:var(--muted);text-decoration:none}
.crumb a:hover{color:var(--green)}
h2{color:var(--green);font-size:1.05rem;margin:1rem 0 .45rem}
.card h2{margin:.1rem 0 .5rem}

.find{display:flex;align-items:center;gap:.35rem}
.find input[type=search]{flex:1 1 120px;min-width:0;height:40px;border-radius:999px;border:1px solid #e3ddd2;background:#fff;padding:0 .9rem;font:inherit;font-size:16px;color:inherit}
.find input[type=search]:focus{outline:none}
.find:focus-within input[type=search]{border-color:var(--green);box-shadow:0 0 0 3px rgba(140,58,80,.16)}
.find select{height:40px;border-radius:999px;border:1px solid #e3ddd2;background:#fff;padding:0 .45rem 0 .7rem;font:inherit;font-size:16px;color:var(--ink);max-width:8.6rem}
.find button[type=submit]{height:40px;border:0;border-radius:999px;background:var(--green);color:#fff;font:inherit;font-weight:700;padding:0 .9rem;cursor:pointer;white-space:nowrap}
.find button[type=submit]:hover{background:var(--green-deep)}
.spec-row{display:none;flex-wrap:wrap;gap:.35rem;margin:.55rem 0 0}
.spec-row.open{display:flex}
.spec-row a{display:inline-flex;align-items:center;min-height:32px;padding:.1rem .7rem;border-radius:999px;border:1px solid #e6d9d4;background:#fff;color:#4c4246;text-decoration:none;font-size:.8rem;font-weight:700}
.spec-row a.on,.spec-row a[aria-current="true"]{background:var(--green);border-color:var(--green);color:#fff}
.empty{margin:.8rem 0;padding:.85rem 1rem;background:#fff;border-radius:var(--r);color:var(--muted)}
.empty[hidden]{display:none !important}

.grid-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.42rem;margin:.85rem 0 .35rem}
.pcard{display:flex;flex-direction:column;background:#fff;border-radius:10px;overflow:hidden;min-width:0;box-shadow:0 1px 2px rgba(40,36,20,.05)}
.pcard[hidden]{display:none !important}
.pcard figure{display:contents}
.pcard .body{order:1}
.pcard .credit{order:2}
.pcard img,.pcard .ph{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;background:#efeae0}
.pcard .ph{height:auto}
.pcard .body{padding:.38rem .42rem .5rem}
.pcard .name{margin:0;font-size:.78rem;font-weight:700;line-height:1.35;color:#1c1c1c}
.pcard .tagline,.pcard .brief{margin:.12rem 0 0;font-size:.68rem;color:#6f6a62;line-height:1.35}
.pcard .brief{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pcard .price{margin:.22rem 0 0;font-weight:800;font-size:.92rem;color:#1a1a1a;font-variant-numeric:tabular-nums}
.pcard .credit{margin:0;padding:.15rem .42rem .4rem;font-size:.6rem;line-height:1.3;color:#9a948a;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pcard .credit a{color:#9a948a}
.shown{text-align:center;color:#8a8478;font-size:.84rem;margin:.75rem 0 .4rem}
.more-btn{display:block;margin:0 auto .35rem;min-width:148px;height:40px;padding:0 1.3rem;border-radius:999px;border:1px solid var(--green);background:#fff;color:var(--green);font:inherit;font-weight:700;cursor:pointer}
.more-btn:hover{background:#faf4f6}
.more-btn[hidden]{display:none !important}
@media (max-width:639px){
 .grid-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}
 .catalog h1{font-size:1.42rem}
 .find{flex-wrap:wrap}
 .find select{max-width:none}
}

.card,.month,details,.video,main>p{background:var(--card);border-radius:var(--r);box-shadow:0 1px 2px rgba(40,36,20,.04)}
.card,.page-head{padding:.9rem 1rem 1rem;margin:0 0 .7rem;min-width:0}
main>p{padding:.85rem 1rem;margin:.7rem 0}
.page-head h1{margin:0;color:var(--green);font-size:1.35rem}
.page-head>p{margin:.3rem 0 0;color:#4a4044}
.page-head figure{margin:.7rem 0 0}
.page-head figure img,.page-pic{display:block;width:100%;height:150px;max-height:150px;object-fit:cover;border-radius:10px;background:#efeae0}
.grid{display:grid;grid-template-columns:1fr;gap:.65rem;margin:0 0 .35rem}
.grid>.card{margin:0}
@media (min-width:640px){.grid{grid-template-columns:1fr 1fr}}
.card h3,.month h3,.card h2.name{margin:.35rem 0 .3rem;color:var(--green-deep);font-size:1.02rem}
.card p,.month p{margin:.35rem 0}
.meta{font-size:.86rem;color:var(--muted);margin:.15rem 0}
.tag{display:inline-block;background:#f6e7ec;color:var(--green);border-radius:99px;padding:.05rem .6rem;font-size:.82rem;margin:.1rem .15rem .1rem 0;font-weight:700}
figure{margin:0 0 .55rem;max-width:100%;min-width:0}
.card figure img,.month figure img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:10px;background:#efeae0}
.card figure img[src*="graft.webp"],.card figure img[src*="tree.webp"]{object-fit:contain;background:#f7f4ee}
figcaption,.credit{font-size:.75rem;color:var(--muted);line-height:1.45;margin-top:.3rem}
figcaption a,.credit a{color:var(--muted)}
dl.info{margin:.45rem 0 0}
dl.info dt{font-weight:700;color:var(--green-deep);font-size:.9rem}
dl.info dd{margin:0 0 .45rem}
.note{background:#fff8e4;border-radius:var(--r)}
.lead{color:#4a4044}

.video{max-width:100%;margin:.7rem 0;padding:.65rem .7rem .75rem}
.video .frame{position:relative;aspect-ratio:16/9;background:#1c2820;border-radius:10px;overflow:hidden}
.video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.video figcaption{font-size:.8rem;margin:.4rem .05rem 0}

.timeline{display:grid;gap:.65rem;grid-template-columns:1fr}
.month{overflow:hidden;min-width:0;padding:.9rem 1rem 1rem}

details{padding:.1rem .95rem;margin:0 0 .55rem}
summary{cursor:pointer;font-weight:700;color:var(--green-deep);padding:.7rem 0;min-height:44px}
details[open] summary{border-bottom:1px solid var(--line)}
details p{margin:.65rem 0}
details.about{margin:.85rem 0 .2rem}
details.about summary{color:var(--green)}

.tail{margin-top:.85rem}
.steps{list-style:none;margin:.15rem 0 0;padding:0}
.steps li{margin:0;padding:.65rem 0;border-top:1px solid var(--line)}
.steps li:first-child{border-top:0;padding-top:.1rem}
.steps .num{display:inline-flex;align-items:center;justify-content:center;width:1.55rem;height:1.55rem;margin:0 .4rem 0 0;border-radius:999px;background:#f6e7ec;color:var(--green);font-weight:800;font-size:.82rem;line-height:1;vertical-align:.05em}
.guide-links a{position:relative;display:block;padding:.6rem 1rem .6rem 0;border-top:1px solid var(--line);text-decoration:none;color:inherit}
.guide-links a:first-child{border-top:0}
.guide-links a strong{display:block;color:var(--green-deep)}
.guide-links a span{display:block;color:#5c5154;font-size:.9rem;line-height:1.45}
.guide-links a::after{content:"›";position:absolute;right:0;top:50%;transform:translateY(-50%);color:var(--green);font-size:1.15rem}

footer.site{background:transparent;margin:0;padding:0 0 1.6rem}
.foot-band{max-width:var(--max);margin:1.15rem auto .7rem;background:var(--green);color:#f8eef1;border-radius:10px;padding:1rem .95rem .85rem}
.foot-band strong{display:block;font-size:1.02rem;color:#fff}
.foot-band p{margin:.35rem 0 0;color:#f0dde3;font-size:.88rem;line-height:1.55}
.foot-links{display:flex;flex-wrap:wrap;gap:.2rem .8rem;margin-top:.6rem}
.foot-links a{display:inline-flex;align-items:center;min-height:32px;color:#fff;text-decoration:none;font-size:.86rem;font-weight:700}
.foot-links a:hover{color:#fff}
.foot-links a.on{text-decoration:underline;text-underline-offset:.18em}
.fine{max-width:var(--max);margin:0 auto;padding:0 var(--pad);font-size:.75rem;color:#8a8478;line-height:1.55}

.zoomable{cursor:zoom-in}
html.lb-on{overflow:hidden}
.lb{position:fixed;inset:0;z-index:1000;background:rgba(12,16,12,.96);display:flex;align-items:center;justify-content:center;padding:3.2rem .5rem 1rem}
.lb[hidden]{display:none}
.lb-fig{margin:0;max-width:min(1400px,100%);max-height:100%;display:flex;flex-direction:column;align-items:center}
.lb-fig img{max-width:100%;max-height:calc(100vh - 9rem);max-height:calc(100dvh - 9rem);object-fit:contain;border-radius:6px;background:#fff1;cursor:default}
.lb-fig figcaption{color:#f6e8ec;font-size:.85rem;text-align:center;margin-top:.6rem;max-width:60em;line-height:1.5}
.lb-fig figcaption a{color:#f3d5df}
.lb button{position:absolute;background:rgba(255,255,255,.14);color:#fff;border:0;border-radius:99px;width:48px;height:48px;font-size:2rem;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}
.lb button:hover,.lb button:focus-visible{background:rgba(255,255,255,.3);outline:2px solid #fff}
.lb-close{top:.6rem;right:.6rem}.lb-prev{left:.5rem;top:50%;transform:translateY(-50%)}.lb-next{right:.5rem;top:50%;transform:translateY(-50%)}
.lb button[hidden]{display:none}
.lb-count{position:absolute;top:1rem;left:1rem;color:#fff;font-size:.85rem}
@media (max-width:600px){.lb-prev,.lb-next{top:auto;bottom:.6rem;transform:none;width:44px;height:44px}.lb{padding-bottom:4rem}}
.to-top{position:fixed;right:max(1rem,env(safe-area-inset-right));bottom:max(1rem,env(safe-area-inset-bottom));z-index:60;width:48px;height:48px;border-radius:50%;border:0;background:var(--green);color:#fff;font-size:1.4rem;box-shadow:0 4px 14px rgba(80,30,45,.22);cursor:pointer}
.to-top[hidden]{display:none}
header.site,.hero{display:none}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* home: lifestyle intro and large picks sit above the searchable directory */
body.home main{padding-top:.85rem;padding-bottom:1.4rem}
.intro{padding:1.15rem .2rem .15rem}
.intro .kicker{margin:0 0 .45rem;color:var(--green);font-size:.95rem;font-weight:700;letter-spacing:.08em}
.intro h1{margin:0 0 .6rem;color:#3a2a30;font-size:clamp(1.85rem,5.4vw,2.15rem);font-weight:750;line-height:1.38;letter-spacing:.02em}
.intro p{margin:0;max-width:28em;color:#4e4246;font-size:1.06rem;line-height:1.8}
.intro-cta{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.15rem}
.intro-cta a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:.35rem 1.15rem;border-radius:999px;text-decoration:none;font-weight:700;font-size:1rem}
.intro-cta .btn{background:var(--green);color:#fff;border:1px solid var(--green)}
.intro-cta .btn:hover{background:var(--green-deep);color:#fff}
.intro-cta .ghost{background:#fff;color:var(--green-deep);border:1px solid #e4c9d1}
.intro-cta .ghost:hover{background:#faf4f6;color:var(--green-deep)}
.picks{margin:1.85rem 0 .15rem}
.picks h2{margin:0 0 .3rem;color:var(--green-deep);font-size:1.35rem;font-weight:750;line-height:1.35}
.picks-lead{margin:0 0 1rem;color:#5c5154;font-size:1rem;line-height:1.7}
.pick-grid{display:grid;gap:1rem}
.pick{display:flex;flex-direction:column;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 10px 28px rgba(90,40,55,.07)}
.pick figure{display:contents}
.pick img{order:1;display:block;width:100%;aspect-ratio:4/3;object-fit:cover;object-position:center;background:#efeae0}
.pick .body{order:2;padding:1rem 1.05rem .35rem}
.pick .name{margin:0;font-size:1.2rem;font-weight:750;line-height:1.35;color:#2c2426}
.pick .tagline{margin:.28rem 0 0;font-size:.92rem;color:var(--green);font-weight:700}
.pick .brief{margin:.28rem 0 0;font-size:1rem;line-height:1.65;color:#4e4246}
.pick .price{margin:.45rem 0 0;font-size:1.12rem;font-weight:800;color:var(--green-deep);font-variant-numeric:tabular-nums}
.pick .credit{order:3;margin:0;padding:.55rem 1.05rem .95rem;font-size:.72rem;line-height:1.45;color:#8a807c}
.pick .credit a{color:#8a807c}
#catalog{scroll-margin-top:76px}
.directory{margin-top:2rem;padding-top:.15rem}
.directory>h2{margin:0 0 .85rem;color:var(--green-deep);font-size:1.32rem;font-weight:750;line-height:1.45}

/* 會員：頁首按鈕、會員頁、訂單頁 */
.pills>a.member-link{gap:.3rem;border-color:var(--green);color:var(--green);max-width:9.5em}
.pills>a.member-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pills>a.member-link .mi{flex:none}
.pills>a.member-link.in{background:#f6e7ec;border-color:#e4c9d1;color:var(--green-deep)}
.pills>a.member-link:hover{background:var(--green);border-color:var(--green);color:#fff}
.mtabs{display:flex;gap:.35rem;margin:.55rem 0 .5rem}
.mtabs a{display:inline-flex;align-items:center;min-height:36px;padding:.1rem .9rem;border-radius:999px;border:1px solid #e6d9d4;background:#fff;color:#4c4246;text-decoration:none;font-size:.88rem;font-weight:700}
.mtabs a.on{background:var(--green);border-color:var(--green);color:#fff}
.mbox h1{margin:.1rem 0 .6rem;color:var(--green);font-size:1.4rem}
.mnote{margin:.3rem 0;color:#4a4044}
.mfine{margin:.5rem 0 0;color:var(--muted);font-size:.82rem;line-height:1.6}
.mrow{display:flex;flex-wrap:wrap;gap:.5rem;margin:.9rem 0 .2rem}
.mbtn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.3rem 1.2rem;border-radius:999px;border:1px solid var(--green);background:var(--green);color:#fff;font:inherit;font-weight:700;font-size:.96rem;text-decoration:none;cursor:pointer}
.mbtn:hover{background:var(--green-deep);border-color:var(--green-deep);color:#fff}
.mbtn.ghost{background:#fff;color:var(--green-deep);border-color:#e4c9d1}
.mbtn.ghost:hover{background:#faf4f6;color:var(--green-deep)}
.mout{margin:.6rem 0 0}
.mdl{display:grid;grid-template-columns:5em 1fr;gap:.4rem .6rem;margin:.6rem 0}
.mdl dt{color:var(--muted);font-size:.9rem}
.mdl dd{margin:0;font-weight:700;word-break:break-all}
.mlist{list-style:none;margin:.5rem 0 0;padding:0;display:grid;gap:.5rem}
.mlist li{display:flex;flex-wrap:wrap;align-items:center;gap:.2rem .7rem;padding:.65rem .8rem;border:1px solid var(--line);border-radius:10px}
.mlist .mid{font-weight:800;font-variant-numeric:tabular-nums}
.mlist .mst{background:#f6e7ec;color:var(--green);border-radius:99px;padding:.05rem .6rem;font-size:.82rem;font-weight:700}
.mlist .mmeta{flex-basis:100%;color:var(--muted);font-size:.84rem}

/* 最新公告：首頁精選與目錄之間，資料來自 data/news.json */
.news{margin:1.6rem 0 .15rem}
.news[hidden]{display:none !important}
.news h2{margin:0 0 .55rem;color:var(--green-deep);font-size:1.32rem;font-weight:750;line-height:1.35}
.news-list{list-style:none;margin:0;padding:0;display:grid;gap:.55rem}
.news-item{padding:.7rem .8rem .75rem;background:var(--card);border:1px solid var(--line);border-radius:var(--r)}
.news-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .5rem;margin:0 0 .28rem;font-size:.78rem;color:var(--muted);font-variant-numeric:tabular-nums}
.news-topic{background:#f6e7ec;color:var(--green);border-radius:99px;padding:.05rem .55rem;font-size:.75rem;font-weight:700}
.news-summary{margin:0;color:var(--ink);font-size:.95rem;line-height:1.6}
.news-foot{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem .7rem;margin:.4rem 0 0;font-size:.82rem}
.news-link{font-weight:700;text-decoration:none}
.news-link:hover{text-decoration:underline}
.news-account{color:var(--muted)}
