:root {
  color-scheme: light;
  --ink: #15271e;
  --muted: #52635a;
  --forest: #123b2c;
  --mint: #eaf2e8;
  --lime: #d8f4a0;
  --line: #dce5da;
  --paper: #f7f9f4;
  --white: #fff;
  --font: "Segoe UI", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.55; }
body:has(dialog[open]) { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, dl, dd { margin: 0; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 92px; }
#top { scroll-margin-top: 0; }
:focus-visible { outline: 2px solid #26865a; outline-offset: 4px; }

.wrap { width: min(1264px, calc(100% - 96px)); margin-inline: auto; }
.sr-only, .icon-library, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 9; padding: 12px; background: var(--white); }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 3;
  border-bottom: 1px solid var(--line);
  background: #f7f9f4f5;
  backdrop-filter: blur(14px);
}
.header-layout { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 72px; gap: 24px; }
.wordmark { display: inline-flex; width: fit-content; gap: 10px; align-items: center; }
.wordmark span { display: grid; }
.wordmark strong { line-height: 1.15; font-size: 19px; letter-spacing: .04em; }
.wordmark small { margin-top: 4px; font-size: 9px; font-weight: 750; line-height: 1; letter-spacing: .22em; color: var(--muted); }
.main-nav { grid-area: 1 / 2; display: flex; align-items: center; gap: clamp(22px, 3vw, 44px); }
.main-nav a { padding-block: 12px; color: #3a4f43; font-size: 14px; font-weight: 650; }
.main-nav a:hover, .back-top:hover { color: #1e744e; }
.menu-toggle { display: none !important; }

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 17px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 720;
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
  transition: background .18s, border-color .18s, color .18s;
}
.button-header { grid-area: 1 / 3; justify-self: end; min-height: 42px; background: var(--white); border-color: #d5e1d4; color: var(--forest); }
.button-header:hover, .button-outline:hover { background: var(--mint); border-color: #a4bda8; }
.button-header .icon { width: 18px; height: 18px; }
.button-lime { background: var(--lime); color: #182d16; }
.button-lime:hover { background: #e8ffc2; }
.button-dark { background: var(--forest); color: var(--white); }
.button-dark:hover { background: #235844; }
.button-outline { border-color: var(--line); background: var(--white); color: var(--forest); }
.icon-button { display: inline-grid; place-items: center; min-width: 40px; min-height: 40px; padding: 0; color: var(--forest); border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.icon-button:hover { background: var(--mint); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 428px;
  margin-top: 28px;
  border-radius: 24px;
  background: #071e16;
  color: #f5faf3;
}
.hero-picture { position: absolute; inset: 0 0 0 37%; z-index: -1; }
.hero-picture img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 45%; }
.hero-picture::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #071e16, #071e1600 40%); }
.hero-content { padding: 52px clamp(36px, 5.3vw, 82px); }
.hero-label { display: inline-flex; gap: 9px; align-items: center; color: #cae5cf; font-size: 12px; font-weight: 650; letter-spacing: .11em; }
.hero-label span { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.hero h1 { margin-top: 15px; font-size: clamp(52px, 5.55vw, 82px); line-height: 1.055; font-weight: 850; letter-spacing: -.065em; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero p { margin-block: 22px 25px; max-width: 360px; font-size: 15px; line-height: 1.65; color: #d8e9df; }
.hero .button { min-height: 48px; padding-inline: 17px; }
.hero-caption { position: absolute; bottom: 15px; right: 19px; color: #c5dbcb; font-size: 11px; }
.hero :focus-visible, .contact :focus-visible { outline-color: var(--lime); }

.shortcuts { margin-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.shortcuts a { min-width: 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 17px 23px; border-radius: 12px; transition: background .18s; }
.shortcuts a + a { border-left: 1px solid var(--line); border-top-left-radius: 0; border-bottom-left-radius: 0; }
.shortcuts a:hover { background: #eff6ec; }
.icon-tile { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #23583e; background: var(--mint); }
.icon-tile .icon { width: 23px; height: 23px; }
.shortcuts strong, .shortcuts small { display: block; }
.shortcuts strong { font-size: 15px; }
.shortcuts small { margin-top: 2px; color: var(--muted); font-size: 12px; }
.shortcut-arrow { color: #466853; width: 18px; height: 18px; }

.section { margin-block-start: 60px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 21px; }
.section-heading h2, .contact h2 { font-size: clamp(29px, 3vw, 42px); font-weight: 820; line-height: 1.15; letter-spacing: -.055em; }
.section-heading p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.search { display: flex; align-items: center; gap: 8px; padding-inline: 12px; width: min(260px, 100%); flex: none; min-height: 43px; border: 1px solid var(--line); background: var(--white); border-radius: 10px; color: var(--muted); }
.search:focus-within { outline: 2px solid #26865a; outline-offset: 2px; }
.search input { min-width: 0; width: 100%; padding-block: 9px; border: 0; background: transparent; outline: 0; font-size: 14px; color: var(--ink); }
.search input::placeholder { color: #65756c; }
.catalog-controls { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.brand-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.brand-filters button { min-height: 38px; padding: 6px 15px; border-radius: 8px; border: 1px solid var(--line); background: var(--white); font-size: 13px; font-weight: 700; color: var(--muted); }
.brand-filters button:hover { background: var(--mint); }
.brand-filters [aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--white); }
.sort { position: relative; flex: none; }
.sort select { min-height: 38px; appearance: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 32px 6px 12px; background: var(--white); color: var(--muted); font-size: 13px; }
.sort .icon { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); pointer-events: none; width: 14px; height: 14px; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 9px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); transition: border-color .18s, box-shadow .18s, transform .18s; }
.product-card:hover { transform: translateY(-3px); border-color: #a5bda9; box-shadow: 0 8px 24px #1739230d; }
.product-card:has(.product-trigger:focus-visible) { outline: 2px solid #26865a; outline-offset: 3px; }
.product-media { position: relative; overflow: hidden; min-width: 0; border-radius: 10px; background: #eff1ec; }
.product-media[data-tone="peach"] { background: #f6eee7; }
.product-media[data-tone="blue"] { background: #eaf0f5; }
.product-media[data-tone="green"] { background: #edf2e9; }
.product-media[data-tone="rose"] { background: #f4ebee; }
.product-card .product-media { height: clamp(155px, 16vw, 224px); }
.product-media img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; }
.accessory-media img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 13px 9px 7px; }
.product-brand { color: #567161; font-size: 11px; letter-spacing: .085em; font-weight: 800; text-transform: uppercase; }
.product-body h3 { margin-top: 4px; font-size: clamp(16px, 1.65vw, 23px); font-weight: 780; line-height: 1.2; letter-spacing: -.046em; }
.product-trigger { padding: 0; border: 0; outline: 0; background: transparent; text-align: left; color: var(--ink); }
.product-trigger::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.product-description { margin-top: 5px; color: var(--muted); font-size: 12px; }
.product-bottom { display: flex; justify-content: space-between; align-items: end; gap: 6px; padding-top: 13px; margin-top: auto; }
.product-price-label { display: block; color: var(--muted); font-size: 11px; }
.product-price { display: block; color: #1b523a; font-size: clamp(17px, 1.9vw, 26px); font-weight: 800; line-height: 1.16; letter-spacing: -.035em; }
.product-arrow { display: grid; place-items: center; width: 33px; height: 33px; flex: none; border-radius: 50%; border: 1px solid var(--line); color: #2e6147; }
.product-arrow .icon { width: 16px; height: 16px; }
.product-card:hover .product-arrow { background: var(--forest); border-color: var(--forest); color: var(--white); }
.empty-state { padding: 34px 20px; border: 1px dashed #b3c5b6; border-radius: 14px; background: var(--white); text-align: center; }
.empty-state p { margin: 4px 0 14px; color: var(--muted); font-size: 14px; }

.order-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.order-steps li { display: grid; justify-items: start; align-content: start; gap: 14px; padding: clamp(18px, 2.4vw, 30px); border: 1px solid var(--line); border-radius: 16px; background: #eef4eb; }
.order-steps li:last-child { background: #f2f4e8; }
.order-steps .icon-tile { background: var(--white); }
.order-steps h3 { font-size: clamp(18px, 1.8vw, 24px); letter-spacing: -.04em; }
.order-steps p { margin-top: 5px; color: var(--muted); font-size: 14px; }
.other-inquiries { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 12px; }
.text-button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin-top: auto; padding: 0; border: 0; background: transparent; color: #1b553b; font-size: 14px; font-weight: 750; text-align: left; }
.text-button:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-button .icon { width: 17px; height: 17px; }
.faq { display: grid; grid-template-columns: minmax(230px, .65fr) minmax(0, 1.4fr); gap: 22px; }
.faq .section-heading { align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 17px 3px; color: #294436; font-size: 15px; font-weight: 720; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #236248; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 27px 17px 3px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.faq details a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }

.contact { display: grid; grid-template-columns: 1fr minmax(245px, .8fr); align-items: center; gap: clamp(24px, 5vw, 66px); padding: clamp(25px, 4vw, 52px); border-radius: 19px; background: #112f23; color: var(--white); }
.contact h2 { color: #f1faed; }
.contact p { margin-top: 10px; color: #cfdfd3; font-size: 14px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.button-contact { background: transparent; border-color: #9eb7a6; color: #f1faed; }
.button-contact:hover { background: #284a3b; }
.store-info div { display: grid; grid-template-columns: minmax(100px, .42fr) 1fr; gap: 10px; align-items: start; padding: 11px 0; border-bottom: 1px solid #36584a; font-size: 14px; }
.store-info div:first-child { border-top: 1px solid #36584a; }
.store-info dt { display: flex; gap: 8px; align-items: center; font-weight: 700; }
.store-info dt .icon { color: var(--lime); width: 17px; height: 17px; }
.store-info dd { color: #d0e1d6; overflow-wrap: anywhere; }
.store-info a { text-decoration: underline; text-underline-offset: 3px; }
.site-footer { margin-top: 54px; border-top: 1px solid var(--line); }
.footer-layout { min-height: 88px; display: flex; gap: 16px; justify-content: space-between; align-items: center; padding-block: 12px; }
.footer-layout .wordmark strong { font-size: 16px; }
.footer-layout .wordmark small { font-size: 8px; }
.footer-layout p { color: var(--muted); font-size: 12px; }
.footer-policies { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--forest); font-size: 13px; }
.footer-policies a:hover { text-decoration: underline; text-underline-offset: 4px; }
.back-top { display: inline-flex; gap: 5px; align-items: center; color: var(--forest); font-weight: 680; font-size: 12px; white-space: nowrap; }
.back-top .icon { width: 15px; height: 15px; }

dialog { width: min(670px, calc(100% - 28px)); max-height: calc(100% - 28px); padding: 0; border: 1px solid var(--line); border-radius: 17px; background: var(--white); color: var(--ink); box-shadow: 0 18px 80px #081b1160; }
dialog::backdrop { background: #081c16b3; }
.dialog-close { position: absolute; z-index: 1; right: 12px; top: 12px; }
dialog h2 { font-size: clamp(23px, 4vw, 31px); line-height: 1.15; letter-spacing: -.05em; }
.detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: 25px; }
.detail-layout .product-media { min-height: 235px; }
.detail-layout .accessory-media { aspect-ratio: 5 / 4; min-height: 0; height: auto; align-self: center; }
.detail-copy { padding-top: 28px; }
.detail-copy h2 { margin-block: 5px 16px; }
.product-specs > div { display: grid; grid-template-columns: 78px 1fr; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.product-specs dt { color: var(--muted); font-size: 13px; }
.product-specs .product-price { font-size: 20px; }
.detail-note { margin-block: 11px 15px; color: var(--muted); font-size: 12px; }
.inquiry-layout { padding: 27px; }
.inquiry-layout h2 { margin-right: 40px; }
.inquiry-layout > p { margin-top: 10px; color: var(--muted); font-size: 14px; }
.inquiry-layout label { display: block; margin-top: 14px; font-weight: 700; font-size: 13px; }
.inquiry-layout textarea { width: 100%; padding: 12px; margin-top: 5px; resize: vertical; border: 1px solid #c6d6c8; border-radius: 8px; background: var(--paper); color: var(--ink); font-size: 14px; line-height: 1.6; }
.dialog-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.inquiry-status:empty { display: none; }

.policy-page { max-width: 1060px; }
.policy-intro { margin: 36px 0 28px; padding: clamp(22px, 4vw, 44px); border-radius: 18px; color: var(--white); background: #112f23; }
.policy-intro h1 { font-size: clamp(29px, 4.4vw, 52px); line-height: 1.2; letter-spacing: -.05em; }
.policy-intro p { margin-top: 12px; color: #cfdfd3; font-size: 14px; }
.policy-layout { display: grid; grid-template-columns: 192px minmax(0, 1fr); gap: 24px; align-items: start; }
.policy-nav { display: grid; position: sticky; top: 94px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.policy-nav a { padding: 9px 11px; border-radius: 7px; color: var(--forest); font-weight: 700; font-size: 14px; }
.policy-nav a:hover { background: var(--mint); }
.policy-content { display: grid; gap: 16px; }
.policy-content section { padding: clamp(17px, 3.5vw, 34px); border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.policy-content h2 { font-size: clamp(23px, 2.8vw, 32px); line-height: 1.2; letter-spacing: -.04em; }
.policy-content h3 { margin: 18px 0 5px; color: var(--forest); font-size: 16px; }
.policy-content p, .policy-content ol { color: var(--muted); font-size: 14px; line-height: 1.8; }
.policy-content p + p, .policy-content li + li { margin-top: 7px; }
.policy-content ol { margin: 0; padding-left: 1.4em; }
.policy-content a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.policy-content .policy-source { margin-top: 14px; font-size: 12px; }
.policy-contact { font-size: 14px; }
.policy-contact > div { display: grid; grid-template-columns: 85px minmax(0, 1fr); padding: 6px 0; border-bottom: 1px solid var(--line); }
.policy-contact dd { color: var(--muted); overflow-wrap: anywhere; }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 56px); }
  .hero { min-height: 415px; }
  .hero-picture { left: 28%; }
  .shortcuts a { padding-inline: 15px; gap: 10px; }
  .product-body { padding-inline: 6px; }
}

@media (max-width: 740px) {
  .wrap { width: calc(100% - 32px); }
  [id] { scroll-margin-top: 76px; }
  .header-layout { min-height: 63px; grid-template-columns: 1fr auto auto; gap: 8px; }
  .header-layout .wordmark img { width: 34px; height: 34px; }
  .header-layout .wordmark strong { font-size: 16px; }
  .header-layout .wordmark small { font-size: 8px; }
  .menu-toggle { display: inline-grid !important; grid-column: 3; grid-row: 1; }
  .button-header { grid-column: 2; grid-row: 1; min-height: 40px; padding-inline: 9px; font-size: 12px; gap: 5px; }
  .button-header .icon { width: 16px; height: 16px; }
  .main-nav { display: none; position: absolute; top: calc(100% + 4px); right: 0; left: 0; padding: 7px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: 0 10px 30px #182d1620; }
  .menu-toggle[aria-expanded="true"] + .main-nav { display: grid; gap: 0; }
  .main-nav a + a { border-top: 1px solid var(--line); }
  .hero { min-height: 0; margin-top: 16px; border-radius: 16px; display: block; padding-bottom: clamp(178px, 53vw, 315px); }
  .hero-picture { inset: auto 0 0; height: clamp(242px, 68vw, 405px); }
  .hero-picture img { object-fit: cover; object-position: 100% 59%; }
  .hero-picture::after { background: linear-gradient(180deg, #071e16, #071e1600 39%); }
  .hero-content { padding: 27px 24px 0; }
  .hero-label { font-size: 10px; }
  .hero h1 { margin-top: 12px; font-size: clamp(48px, 9.7vw, 64px); }
  .hero p { max-width: 290px; margin-block: 12px 15px; font-size: 13px; }
  .hero .button { min-height: 44px; font-size: 13px; }
  .hero-caption { right: 10px; bottom: 8px; font-size: 10px; }
  .shortcuts { margin-top: 12px; border-radius: 12px; }
  .shortcuts a { grid-template-columns: 1fr; justify-items: center; gap: 6px; padding: 11px 3px; text-align: center; }
  .shortcuts .icon-tile { width: 35px; height: 35px; border-radius: 9px; }
  .shortcuts .icon-tile .icon { width: 19px; height: 19px; }
  .shortcuts strong { font-size: 12px; }
  .shortcuts small, .shortcut-arrow { display: none; }
  .section { margin-block-start: 45px; }
  .section-heading { align-items: stretch; flex-direction: column; gap: 12px; margin-bottom: 14px; }
  .section-heading p { margin-top: 6px; font-size: 13px; }
  .search { width: 100%; }
  .catalog-controls { flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
  .brand-filters { gap: 5px; }
  .brand-filters button { min-height: 35px; padding-inline: 10px; font-size: 12px; }
  .sort { margin-left: auto; }
  .sort select { min-height: 34px; font-size: 12px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-card { padding: 6px; border-radius: 12px; }
  .product-card .product-media { height: clamp(120px, 36vw, 218px); border-radius: 7px; }
  .product-body { padding: 8px 5px 5px; }
  .product-bottom { padding-top: 9px; }
  .product-arrow { width: 27px; height: 27px; }
  .product-arrow .icon { width: 14px; height: 14px; }
  .order-steps, .faq, .contact { grid-template-columns: 1fr; }
  .order-steps { gap: 10px; }
  .order-steps li { grid-template-columns: auto 1fr; align-items: start; }
  .faq { gap: 0; }
  .contact { gap: 20px; }
  .footer-layout { flex-wrap: wrap; }
  .footer-policies { order: 1; width: 100%; }
  .footer-layout p { order: 2; width: 100%; }
  .policy-intro { margin-block: 16px; }
  .policy-layout { grid-template-columns: 1fr; gap: 12px; }
  .policy-nav { position: static; grid-template-columns: repeat(2, 1fr); gap: 2px 8px; }
}

@media (max-width: 500px) {
  .detail-layout { grid-template-columns: 1fr; gap: 12px; padding: 17px; }
  .detail-layout .product-media:not(.accessory-media) { min-height: 0; height: 175px; }
  .detail-copy { padding-top: 0; }
  .inquiry-layout { padding: 20px 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
