:root {
  color-scheme: light;
  --ink: #172923;
  --forest: #173c31;
  --green: #255745;
  --muted: #4f655a;
  --cream: #f8f7f1;
  --edge: #dce4db;
  --paper: #fff;
  font-family: "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--cream); line-height: 1.7; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.22; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: .035em; }
h3 { font-size: 1.25rem; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .24em; }
a:hover { color: #397a54; }
:focus-visible { outline: 3px solid #b55e2e; outline-offset: 4px; }
.wrap { width: min(100% - 3.5rem, 1184px); margin-inline: auto; }
.skip { position: absolute; top: 1rem; left: 1rem; z-index: 10; transform: translateY(-200%); background: var(--paper); padding: .75rem; }
.skip:focus { transform: none; }
.site-header { background: #fbfcf8; border-bottom: 1px solid #e3e8df; }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 77px; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; flex-shrink: 0; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.17rem; line-height: 1.2; letter-spacing: .14em; }
.brand small { font-size: .78rem; opacity: .85; letter-spacing: .08em; }
.brand-mark { display: inline-grid; place-items: center; width: 2.55rem; height: 2.55rem; border-radius: .6rem; background: #285643; }
.brand-mark::before { content: ""; width: 1.05rem; height: 1.35rem; background: #e1edbc; border-radius: 85% 0 85% 0; transform: rotate(16deg); border-bottom: 3px solid #a6c480; }
.header-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1rem, 3.5vw, 2.75rem); }
.header-nav a { font-size: .95rem; font-weight: 700; text-decoration: none; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: .62rem 1.1rem; min-height: 45px; border: 1px solid transparent; border-radius: .42rem; font-size: .94rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.header-line { border-color: #bdcebd; color: var(--forest); }
.primary { background: var(--green); color: #fff; }
.primary:hover { background: var(--forest); color: #fff; }
.outline { border-color: #9faf9f; color: var(--forest); }
.outline:hover, .header-line:hover { background: #e7efe4; }
.hero { background: var(--forest); color: #fbfcf4; }
.hero-inner { min-height: 456px; display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; gap: clamp(2rem, 6vw, 5rem); padding-block: clamp(2.25rem, 5vw, 4.5rem); }
.hero-copy { padding-block: .4rem; }
.eyebrow { font-size: .85rem; font-weight: 750; letter-spacing: .16em; color: var(--green); margin-bottom: .65rem; }
.hero .eyebrow { color: #d1dfa4; }
.hero h1 { font-family: "Noto Serif TC", "PMingLiU", "Microsoft JhengHei", serif; font-size: clamp(2.75rem, 6.4vw, 5.15rem); font-weight: 750; letter-spacing: .06em; line-height: 1.16; }
.hero-copy > p:not(.eyebrow) { max-width: 33ch; color: #e1eae0; margin-top: 1.25rem; font-size: 1.05rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.55rem; }
.hero .primary { color: #1b3528; background: #e0ebba; }
.hero .primary:hover { background: #f0f5d9; }
.hero .outline { color: #fff; border-color: #88a393; }
.hero .outline:hover { background: #285745; }
.hero-photo { display: block; min-width: 0; aspect-ratio: 1.46; position: relative; overflow: hidden; background: #f4f4f1; border: 8px solid #fcfcf5; border-radius: .85rem; box-shadow: 0 20px 44px #08251c60; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.home-body { padding-block: clamp(2.2rem, 5vw, 4rem) 4.5rem; }
.category-grid { margin-top: 1.15rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.category-card { background: var(--paper); color: var(--ink); border-radius: .65rem; overflow: hidden; border: 1px solid var(--edge); text-decoration: none; }
.category-card:hover { border-color: #60816a; color: var(--green); }
.category-photo { aspect-ratio: 2.55; overflow: hidden; background: #ebeee6; }
.category-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.category-card.eco img { object-position: center 35%; }
.category-copy { position: relative; padding: 1.1rem 2.7rem 1.05rem 1.15rem; }
.category-copy p { line-height: 1.45; font-size: .92rem; color: var(--muted); margin-top: .38rem; }
.category-copy span { position: absolute; top: 1.1rem; right: 1rem; color: var(--green); }
.catalog { margin-top: 3.4rem; scroll-margin-top: 1.25rem; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.search { width: min(100%, 23.5rem); position: relative; }
.search label { display: block; font-weight: 700; margin-bottom: .25rem; font-size: .88rem; }
.search input { font: inherit; display: block; width: 100%; padding: .64rem .8rem; color: var(--ink); border-radius: .4rem; border: 1px solid #9eb2a2; background: var(--paper); }
.search p { position: absolute; color: var(--muted); font-size: .84rem; top: 100%; }
.directory { margin-block: 1.75rem; padding: 1.3rem; background: var(--paper); border-radius: .65rem; border: 1px solid var(--edge); scroll-margin-top: 1rem; }
.directory h3 { color: var(--forest); border-left: 4px solid #57856d; padding-left: .65rem; margin-bottom: .7rem; }
.directory.pack h3 { border-color: #467987; }
.directory.eco h3 { border-color: #799447; }
.directory ul, .related ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.4rem; padding: 0; margin: 0; }
.directory li { border-bottom: 1px solid #e6ebe4; }
.directory a { display: flex; align-items: center; justify-content: space-between; gap: .55rem; text-decoration: none; min-height: 3.1rem; padding: .45rem .35rem; }
.directory a:hover, .related a:hover { background: #edf3ea; }
.directory small { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.empty { margin-block: 2.25rem; }
.faq { margin-top: 3rem; max-width: 54rem; }
.faq h2 { margin-bottom: .9rem; }
details { border-bottom: 1px solid #cdd8cb; }
summary { cursor: pointer; padding-block: .85rem; font-weight: 700; }
details p { padding: 0 0 .9rem 1.2rem; color: var(--muted); }
.site-footer { color: #edf4e8; background: #142e26; }
.site-footer a:hover { color: #d1dfa4; }
.site-directory { padding-block: 1.75rem; border-bottom: 1px solid #4b6359; }
.up-directory-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: .6rem; }
.up-directory-grid a { display: flex; align-items: center; justify-content: space-between; gap: .4rem; padding: .6rem .75rem; min-height: 44px; border: 1px solid #5b7469; border-radius: .35rem; font-weight: 650; text-decoration: none; }
.up-directory-grid a:hover, .up-directory-grid a:focus-visible { background: #24443a; border-color: #aac497; }
.up-directory-grid a[aria-current="page"] { color: #172923; background: #e0ebba; border-color: #e0ebba; }
.up-directory-grid span { font-size: .88em; }
.footer-inner { min-height: 100px; }
.detail-banner { padding: 1.65rem 0 2.5rem; background: #e8efe4; border-bottom: 1px solid var(--edge); }
.detail-banner.pack { background: #e5eeef; }
.detail-banner.eco { background: #edf0df; }
.breadcrumbs { display: flex; gap: .6rem; align-items: center; margin-bottom: 1.45rem; font-size: .92rem; color: var(--muted); }
.detail-banner h1 { max-width: 1000px; font-size: clamp(1.9rem, 4.65vw, 3.75rem); letter-spacing: .04em; }
.detail-intro { margin-top: .9rem; max-width: 51rem; color: #354c42; font-size: 1.06rem; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(250px, 1fr); gap: 1.7rem; align-items: start; padding-block: 2.15rem; }
.product-info { min-width: 0; display: grid; gap: 1.85rem; }
.product-info h2 { margin-bottom: .9rem; }
.table-scroll { overflow: auto; border: 1px solid var(--edge); border-radius: .5rem; background: var(--paper); }
.table-scroll + .table-scroll { margin-top: 1.1rem; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
caption { text-align: left; padding: .65rem .85rem; color: var(--forest); font-weight: 750; font-size: 1.02rem; }
th, td { padding: .56rem .7rem; text-align: left; border-top: 1px solid #e4eae2; }
thead { color: #24493c; background: #eaf1e8; }
tbody tr:nth-child(even) { background: #f6f8f3; }
tbody th, .numeric { white-space: nowrap; font-variant-numeric: tabular-nums; }
.note { color: var(--muted); font-size: .91rem; }
section > .note { margin-top: .7rem; }
.brochure { min-width: 0; overflow: hidden; background: #fff; border: 1px solid #d7e0d6; border-radius: .65rem; }
.brochure img { width: 100%; }
.brochure figcaption { padding: .7rem 1rem; border-top: 1px solid var(--edge); text-align: center; font-size: .94rem; }
.related ul { grid-template-columns: 1fr; }
.related a { display: block; border-bottom: 1px solid var(--edge); padding: .6rem .4rem; }
.contact { padding: 1.1rem; background: #eef2e6; border: 1px solid #d9e2d3; border-radius: .55rem; }
.contact p { margin-bottom: .8rem; }
.guide { padding-left: 1.4rem; }
.guide li + li { margin-top: .45rem; }
.fruit-list > div { padding: .55rem 0; border-bottom: 1px solid var(--edge); }
.fruit-list dt { font-weight: 750; }
.fruit-list dd { margin: 0; }
.pagination { display: flex; gap: .8rem; justify-content: space-between; margin-bottom: 2.5rem; border-top: 1px solid var(--edge); padding-top: .9rem; }
.pagination a { flex: 1; text-decoration: none; }
.pagination a:last-child { text-align: right; }
.pagination small { display: block; color: var(--muted); font-size: .83rem; }
@media (max-width: 850px) {
  .detail-grid { grid-template-columns: minmax(0, 1fr) minmax(205px, .6fr); gap: 1rem; }
  .header-nav { gap: .9rem; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { min-height: 64px; gap: .6rem; flex-wrap: wrap; padding-block: .55rem; }
  .header-nav { order: 3; width: 100%; justify-content: space-between; padding-block: .35rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 1.25rem; }
  .hero h1 br { display: none; }
  .hero-photo { aspect-ratio: 1.65; border-width: 5px; }
  .category-grid { gap: .7rem; }
  .category-copy { padding: .7rem .6rem; }
  .category-copy h3 { font-size: 1rem; }
  .category-copy p, .category-copy span { display: none; }
  .section-head { align-items: start; flex-direction: column; }
  .directory { padding: .85rem; }
  .directory ul, .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .up-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brochure { max-width: 36rem; width: 100%; margin-inline: auto; }
  .site-footer a { font-size: .87rem; }
}
