:root {
  color-scheme: light;
  --paper: #f7f8f3;
  --surface: #fff;
  --ink: #172a22;
  --muted: #54675c;
  --line: #dde5da;
  --forest: #173c31;
  --accent: #e6efb3;
  --soft: #eef3e8;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 1rem; line-height: 1.55; }
p,h1,h2,h3 { margin: 0; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #457a66; outline-offset: 3px; }
.symbols { position: absolute; width: 0; height: 0; pointer-events: none; }
.icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.wrap { max-width: 1296px; width: calc(100% - 112px); margin-inline: auto; }
.skip { position: fixed; z-index: 5; top: 8px; left: 12px; transform: translateY(-130%); background: white; padding: 10px 14px; border-radius: 8px; }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); background: #f9faf6; }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 17px; font-weight: 760; letter-spacing: .045em; white-space: nowrap; }
.brand-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: var(--accent); background: var(--forest); }
.brand-icon .icon { width: 20px; height: 20px; }
.site-header nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 650; }
.site-header nav a:hover { color: #3a765c; }
.catalog { scroll-margin-top: 16px; margin-bottom: 65px; }
.storefront-catalog { margin-top: clamp(24px, 4vw, 52px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.section-heading h1 { font-size: clamp(29px, 3.1vw, 43px); line-height: 1.25; font-weight: 810; letter-spacing: .025em; }
.section-count { color: var(--muted); font-size: 13px; padding-bottom: 4px; }
.text-button { border: 0; padding: 3px 1px; background: none; color: #376d55; font-size: 13px; }
.text-button:hover { text-decoration: underline; }
.text-button:disabled { color: var(--muted); opacity: .65; text-decoration: none; }
select { appearance: none; padding: 8px 34px 8px 11px; border: 1px solid var(--line); border-radius: 8px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23486657' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; min-width: 0; font-size: 14px; cursor: pointer; }
.storefront-toolbar { display: grid; grid-template-columns: minmax(0,1fr) minmax(130px, .35fr) minmax(130px, .35fr) auto; gap: 10px; }
.storefront-toolbar select { min-height: 44px; }
.storefront-toolbar .text-button { padding-inline: 8px; font-size: .875rem; }
.search-box { position: relative; min-width: 0; }
.search-box svg { position: absolute; top: 14px; left: 12px; width: 19px; height: 19px; color: #536b5d; pointer-events: none; }
.search-box input { display: block; width: 100%; min-height: 46px; padding: 8px 12px 8px 38px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 16px; }
.search-box input::placeholder { color: #586e61; opacity: 1; }
.results-label { padding: 12px 1px 10px; color: var(--muted); font-size: 13px; }
.catalog-list { margin: 1rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.product-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(8rem, 19%) minmax(9rem, 15%); align-items: baseline; gap: 1rem; padding: .55rem .2rem; border-bottom: 1px solid var(--line); }
.product-name { color: var(--forest); font-weight: 650; overflow-wrap: anywhere; }
.product-name:hover, .product-name:focus-visible { text-decoration: underline; }
.row-category, .row-price { color: var(--muted); font-size: .875rem; }
.row-price { text-align: end; font-variant-numeric: tabular-nums; }
.empty { grid-column: 1/-1; border: 1px solid var(--line); border-radius: 12px; background: white; padding: 36px 20px; text-align: center; }
.empty h2 { font-size: 18px; margin-bottom: 4px; }
.empty p { color: var(--muted); margin-bottom: 6px; }
.site-footer { border-top: 1px solid var(--line); background: #eef2e9; }
.footer-inner { display: flex; align-items: center; gap: 20px; padding-block: 26px; }
.footer-title { font-size: 15px; font-weight: 780; }
@media (max-width: 1070px) {
  .wrap { width: calc(100% - 72px); }
}
@media (max-width: 830px) {
  .wrap { width: calc(100% - 44px); }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 28px); }
  .header-inner { min-height: 60px; }
  .brand { font-size: 15px; gap: 7px; }
  .brand-icon { width: 32px; height: 32px; border-radius: 8px; }
  .brand-icon .icon { width: 17px; height: 17px; }
  .site-header nav { font-size: 14px; gap: 12px; }
  .section-heading { margin-bottom: 12px; }
  select { padding-inline: 8px 29px; background-position: right 7px center; }
  .storefront-toolbar { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px; }
  .storefront-toolbar .search-box { grid-column: 1 / -1; }
  .storefront-toolbar .text-button { justify-self: start; min-height: 36px; }
  .product-row { grid-template-columns: minmax(0, 1fr) auto; gap: .1rem .75rem; }
  .product-name { grid-column: 1 / -1; }
  .section-count { font-size: 12px; }
  .footer-inner { gap: 13px; align-items: start; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

.index-page a { color: #275e48; text-decoration: underline; text-underline-offset: 3px; }
.index-page { padding-block: 28px 57px; }
.index-trail { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.index-trail ol, .category-directory ul { display: flex; flex-wrap: wrap; align-items: baseline; list-style: none; padding: 0; margin: 0; }
.index-trail li + li::before { content: '/'; margin-inline: .5em; }
.category-directory { margin: 0 0 1.25rem; }
.category-directory h2 { font-size: 1rem; margin-bottom: .4rem; }
.category-directory ul { gap: .35rem 1.1rem; }
.category-directory a { color: #275e48; text-decoration: underline; text-underline-offset: 3px; }
.buying-guide { max-width: 75ch; margin-bottom: 1.5rem; }
.buying-guide h2 { font-size: 1.2rem; margin-bottom: .35rem; }
.buying-guide dl { margin: .75rem 0 0; }
.buying-guide dt { font-weight: 700; }
.buying-guide dd { margin: 0 0 .55rem; }
.buying-guide a { color: #275e48; text-decoration: underline; text-underline-offset: 3px; }
.product-section .category-product-list { list-style: none; padding: 0; max-width: 80ch; }
.category-product-list li { padding-block: .65rem; border-bottom: 1px solid var(--line); }
.category-product-list span { display: block; color: var(--muted); font-size: .9rem; }
.index-page h1 { font-size: clamp(27px, 4vw, 42px); line-height: 1.25; margin-bottom: 14px; }
.index-table-wrap { margin-top: 19px; border: 1px solid var(--line); border-radius: 10px; overflow-x: auto; background: white; }
.index-table { width: 100%; border-collapse: collapse; text-align: left; }
.index-table caption { padding: 10px 12px; text-align: left; font-weight: 750; }
.index-table th, .index-table td { padding: 9px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.index-table thead { background: var(--soft); }
.index-table th[scope="row"] { min-width: 170px; }
.index-table td:last-child { min-width: 105px; }
.product-summary { display: grid; grid-template-columns: min(46%, 570px) minmax(0, 1fr); gap: clamp(22px, 3vw, 44px); align-items: start; margin-block: 20px; }
.product-summary h2 { margin: 0 0 10px; font-size: 1.25rem; }
.product-gallery { width: 100%; max-width: 570px; min-width: 0; overflow: hidden; background: #fff; border: 1px solid #e3ece7; border-radius: 20px; }
.gallery-stage { aspect-ratio: 1; }
.gallery-stage-link, .gallery-stage img { display: block; width: 100%; height: 100%; }
.gallery-stage-link { padding: 12px; cursor: zoom-in; touch-action: pan-y pinch-zoom; }
.gallery-stage-link:focus-visible { outline-offset: -4px; }
.gallery-stage img, .gallery-thumb img { object-fit: contain; }
.gallery-thumbs { display: flex; gap: 10px; margin: 8px 12px 12px; overflow-x: auto; overscroll-behavior-x: contain; }
.gallery-thumbs::-webkit-scrollbar { height: 8px; }
.gallery-thumbs::-webkit-scrollbar-track { background: #f7f8f7; border-radius: 6px; }
.gallery-thumbs::-webkit-scrollbar-thumb { background: #8c8c8c; border: 1px solid #f7f8f7; border-radius: 6px; }
@supports not selector(::-webkit-scrollbar) {
  .gallery-thumbs { scrollbar-color: #8c8c8c #f7f8f7; scrollbar-width: thin; }
}
.gallery-thumb { display: block; flex: 0 0 clamp(68px, 18vw, 100px); aspect-ratio: 1; border: 1px solid transparent; border-radius: 4px; overflow: hidden; }
.gallery-thumb:hover { border-color: #8aa6a0; }
.gallery-thumb[aria-current="true"] { border-color: #003634; }
.gallery-thumb:focus-visible { outline-offset: -3px; }
.gallery-thumb picture, .gallery-thumb img { display: block; width: 100%; height: 100%; }
.product-specs { margin: 0 0 13px; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.product-specs div { display: grid; grid-template-columns: minmax(90px, 29%) 1fr; gap: 10px; padding: 9px 12px; }
.product-specs div + div { border-top: 1px solid var(--line); }
.product-specs dt { font-weight: 720; }
.product-specs dd { margin: 0; overflow-wrap: anywhere; }
.product-section { margin-top: 23px; }
.catalog-article { max-width: 50rem; }
.catalog-article p { line-height: 1.8; }
.catalog-article .article-date { font-size: .9rem; color: var(--muted); margin-bottom: .9rem; }
.article-lead { font-size: 1.08rem; }
.article-figure { margin: 1.2rem 0; }
.article-figure img { display: block; max-width: min(100%, 19rem); height: auto; }
.article-figure figcaption { margin-top: .35rem; color: var(--muted); font-size: .875rem; }
.catalog-article p + p { margin-top: .7rem; }
.article-crosslink { margin-top: 1.2rem; }
.product-section h2 { font-size: 20px; margin-bottom: 9px; }
.product-overview, .product-intro p, .product-guide p { max-width: 78ch; line-height: 1.75; }
.product-overview { margin: 0 0 1.25rem; }
.product-intro p + p { margin-top: 8px; }
.product-guide h3 { font-size: 1rem; margin: 0 0 4px; }
.product-guide p + h3 { margin-top: 14px; }
.product-section ul { margin-top: 6px; padding-inline-start: 21px; }
.product-section ul li + li { margin-top: 6px; }
.product-related-group + .product-related-group { margin-top: 17px; }
.product-related-group h3 { font-size: 15px; }
.product-back { margin-top: 10px; }
.product-date { color: var(--muted); font-size: 13px; }
@media (max-width: 830px) {
  .product-summary { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 640px) {
  .index-page { padding-block: 18px 36px; }
  .index-table th, .index-table td { padding: 7px 8px; }
}
