:root{
  --green:#046E22; --green-line:#B9D8C1; --green-bg:#EAF4EC;
  --ink:#222; --muted:#5F6660; --cream:#FAF8F3;
  --gut:clamp(16px,4vw,48px);
  --edge:max(var(--gut),calc((100vw - 1200px)/2 + var(--gut)));
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:84px}
body{font-family:"Noto Sans TC","Microsoft JhengHei",sans-serif;font-weight:300;color:var(--ink);background:#fff;line-height:1.75;font-size:16px;-webkit-font-smoothing:antialiased}
b,strong{font-weight:700}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.wrap{width:min(1200px,100%);margin:0 auto;padding:0 var(--gut)}
.eyebrow{font-size:13px;letter-spacing:.16em;color:var(--green);font-weight:700;display:flex;align-items:center;gap:12px}
.eyebrow::before{content:"";width:32px;height:2px;background:var(--green);flex:none}
.btn{display:inline-block;background:var(--ink);color:#fff;font-weight:700;padding:13px 30px;letter-spacing:.08em;transition:background .15s}
.btn:hover,.btn:focus-visible{background:var(--green)}
.btn.line{background:#fff;color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.btn.line:hover,.btn.line:focus-visible{background:var(--green);color:#fff;box-shadow:none}

/* 導覽列 */
.nav{position:sticky;top:0;z-index:10;background:#fff;border-bottom:1px solid var(--green-line)}
.nav .wrap{display:flex;align-items:center;justify-content:space-between;gap:20px;height:72px}
.brand{display:flex;align-items:center;gap:10px}
.brand img{width:44px;height:44px;object-fit:contain}
.brand b{display:block;font-size:18px;color:var(--green);line-height:1.25}
.brand small{display:block;font-size:10.5px;letter-spacing:.12em;color:var(--muted);line-height:1.3}
.nav nav{display:flex;align-items:center;gap:30px;font-size:15px;font-weight:400}
.nav nav a:not(.tel):hover{color:var(--green)}
.nav .tel{font-size:19px;font-weight:700;color:var(--green)}

/* 主視覺：滿版照片，白色缺角放標題 */
.hero{position:relative;height:min(76vh,700px);min-height:540px;background:url("img/hero.jpg") 62% 50%/cover no-repeat}
.notch{position:absolute;left:0;bottom:0;background:#fff;padding:36px 64px 0 var(--edge);max-width:900px}
.notch h1{font-size:clamp(34px,4.6vw,60px);line-height:1.26;font-weight:300;letter-spacing:.02em;margin-top:12px}
.notch h1 strong{font-weight:900;color:var(--green)}

.intro{padding:24px 0 52px}
.intro .wrap{display:grid;grid-template-columns:1.4fr auto;gap:24px 40px;align-items:center}
.intro p{color:var(--muted);font-size:17px}
.intro .act{display:flex;flex-wrap:wrap;gap:12px}

/* 產品索引 */
.index{background:var(--green-bg)}
.index ul{list-style:none;display:grid;grid-template-columns:repeat(5,1fr)}
.index a{display:block;padding:22px 16px 22px 0;height:100%}
.index small{display:block;font-size:13px;color:var(--green);font-weight:700;letter-spacing:.08em}
.index b{display:block;font-size:19px;font-weight:900;line-height:1.4}
.index a:hover b{color:var(--green)}
.index span{display:block;font-size:14px;color:var(--muted);line-height:1.5}

/* 區塊 */
.band{padding:84px 0}
.band.tint{background:var(--cream)}
.title{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap;margin-bottom:32px}
.title h2{font-size:clamp(32px,4vw,48px);font-weight:900;line-height:1.25;margin-top:8px}
.title p{color:var(--muted);max-width:460px}
.sec-h{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 16px;border-bottom:2px solid var(--green);padding-bottom:8px}
.sec-h h3{font-size:22px;font-weight:900;line-height:1.3}
.sec-h span{font-size:14px;color:var(--muted);margin-left:auto}
table.spec{width:100%;border-collapse:collapse}
table.spec th,table.spec td{text-align:left;padding:11px 0;border-bottom:1px solid var(--green-line);vertical-align:top}
table.spec th{width:84px;color:var(--green);font-weight:700}
.sw{display:inline-block;width:13px;height:13px;border:1px solid #9A9A9A;vertical-align:-1px;margin-right:5px}
.colors span{display:inline-block;margin-right:14px;white-space:nowrap}

/* 過濾鐵網 */
.mesh-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:48px}
table.num{width:100%;border-collapse:collapse;margin-top:12px;background:#fff}
table.num th,table.num td{padding:10px 8px;text-align:center;border:1px solid var(--green-line)}
table.num thead th{background:var(--green-bg);color:var(--green);font-weight:700}
.note{font-size:14px;color:var(--muted);margin-top:12px}
.photos{display:grid;grid-template-columns:1.35fr 1fr;gap:8px;margin-top:36px}
.photos figure{height:400px;overflow:hidden;background:var(--cream)}
.photos img{width:100%;height:100%;object-fit:cover}

/* 太空包 */
.bags{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:36px}
.bags figure{position:relative;height:400px;overflow:hidden}
.bags img{width:100%;height:100%;object-fit:cover}
.bags figcaption{position:absolute;left:0;bottom:0;background:#fff;color:var(--green);font-size:14px;font-weight:700;padding:3px 14px}
.two{display:grid;grid-template-columns:1.15fr 1fr;gap:48px}
.filter{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px}
.filter>span{font-size:14px;color:var(--muted);margin-right:4px}
.filter button{font:inherit;font-size:15px;font-weight:400;color:var(--ink);background:#fff;border:1px solid var(--green-line);padding:5px 16px;cursor:pointer}
.filter button:hover{border-color:var(--green)}
.filter button[aria-pressed="true"]{background:var(--green);border-color:var(--green);color:#fff;font-weight:700}
.filter .count{margin-left:auto;font-size:14px;color:var(--muted)}
table.stock{width:100%;border-collapse:collapse;margin-top:12px;background:#fff}
table.stock th,table.stock td{padding:10px 12px;text-align:center;border:1px solid var(--green-line)}
table.stock thead th{background:var(--green-bg);color:var(--green);font-weight:700}
table.stock td:first-child{font-weight:700;white-space:nowrap}
.block{margin-top:44px}
.styles{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:18px}
.styles h4{font-size:16px;color:var(--green);font-weight:700;margin-bottom:8px}
.types{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.type{text-align:center}
.type .box{background:var(--green-bg);padding:14px 6px 6px}
.type svg{width:100%;height:92px;display:block}
.type b{display:block;margin-top:6px;line-height:1.5}
.type small{display:block;font-size:13px;color:var(--muted);line-height:1.5}

/* 其他產品 */
.more{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.card figure{height:240px;overflow:hidden;background:var(--cream)}
.card figure img{width:100%;height:100%;object-fit:cover}
.card figure.fit{background:#fff;box-shadow:inset 0 0 0 1px var(--green-line)}
.card figure.fit img{object-fit:contain;padding:12px}
.card h3{font-size:24px;font-weight:900;margin-top:14px;line-height:1.35}
.tag{display:inline-block;font-size:12.5px;font-weight:400;border:1px solid var(--green);color:var(--green);padding:0 8px;margin-left:8px;vertical-align:3px;line-height:1.7}
.card .sub{color:var(--green);font-weight:700;font-size:15px;margin-bottom:6px}
.card table.spec th{width:56px}
.card table.spec th,.card table.spec td{padding:7px 0;font-size:15px}

/* 流程 */
.steps{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:36px;border-top:2px solid var(--green);padding-top:24px}
.steps em{font-style:normal;font-size:38px;font-weight:900;color:var(--green);line-height:1}
.steps h3{font-size:20px;font-weight:700;margin:6px 0 2px}
.steps p{color:var(--muted);font-size:15.5px}

/* 常見問題 */
.faq{display:grid;grid-template-columns:1fr 2fr;gap:48px}
.faq h2{font-size:clamp(32px,4vw,48px);font-weight:900;line-height:1.25;margin-top:8px}
details{border-top:1px solid var(--green-line)}
details:last-child{border-bottom:1px solid var(--green-line)}
summary{cursor:pointer;list-style:none;padding:17px 36px 17px 0;font-size:17px;font-weight:700;position:relative}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";position:absolute;right:6px;top:11px;font-size:24px;font-weight:300;color:var(--green)}
details[open] summary::after{content:"–"}
details p{padding:0 36px 18px 0;color:var(--muted)}

/* 聯絡 */
.contact{background:var(--green);color:#fff;padding:60px 0}
.contact .wrap{display:grid;grid-template-columns:1.2fr 1fr auto;gap:48px;align-items:center}
.contact h2{font-size:clamp(30px,3.6vw,42px);font-weight:900;line-height:1.3}
.contact p{opacity:.9;margin-top:6px}
.contact .big{display:block;font-size:clamp(30px,3.4vw,38px);font-weight:900;line-height:1.3}
.contact dl{display:grid;grid-template-columns:56px 1fr;gap:2px 8px;font-size:15px;margin-top:10px}
.contact dt{opacity:.75}
.qr{display:block;background:#fff;padding:10px;text-align:center;color:var(--green);font-size:14px;font-weight:700}
.qr img{width:136px;height:136px;margin-bottom:4px}
footer{font-size:13px;color:var(--muted);padding:18px 0}
footer .wrap{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px 20px}

.dock{display:none}

@media (max-width:980px){
  .nav nav a:not(.tel){display:none}
  .index ul{grid-template-columns:repeat(2,1fr)}
  .index li:last-child{grid-column:span 2}
  .mesh-grid,.two,.styles,.faq{grid-template-columns:1fr;gap:32px}
  .more{grid-template-columns:1fr 1fr}
  .contact .wrap{grid-template-columns:1fr auto}
  .contact .wrap>div:first-child{grid-column:span 2}
}
@media (max-width:640px){
  html{scroll-padding-top:68px}
  .nav .wrap{height:60px}
  .brand img{width:38px;height:38px}
  .nav .tel{display:none}
  .hero{height:auto;min-height:0;background:none}
  .hero::before{content:"";display:block;height:230px;background:url("img/hero.jpg") 62% 50%/cover no-repeat}
  .notch{position:static;padding:22px var(--gut) 0;max-width:none}
  .intro{padding:14px 0 32px}
  .intro .wrap{grid-template-columns:1fr}
  .intro .act .btn{flex:1 1 100%;text-align:center}
  .band{padding:48px 0}
  .photos{grid-template-columns:1fr}
  .photos figure{height:230px}
  .bags{gap:4px;margin-bottom:28px}
  .bags figure{height:190px}
  .bags figcaption{font-size:12.5px;padding:1px 8px}
  .sec-h span{margin-left:0;width:100%}
  .filter .count{margin-left:0;width:100%}
  table.stock th,table.stock td{padding:9px 3px;font-size:14px}
  table.num th,table.num td{padding:8px 3px;font-size:14.5px}
  .type svg{height:66px}
  .type small{font-size:12px}
  .more{grid-template-columns:1fr;gap:32px}
  .steps{grid-template-columns:1fr;gap:20px}
  .contact .wrap{grid-template-columns:1fr}
  .contact .wrap>div:first-child{grid-column:auto}
  .qr{display:none}
  body{padding-bottom:58px}
  .dock{display:grid;grid-template-columns:1fr 1fr;position:fixed;left:0;right:0;bottom:0;z-index:9;font-weight:700;text-align:center;box-shadow:0 -1px 0 var(--green-line)}
  .dock a{padding:14px 8px;background:#fff;color:var(--green)}
  .dock a:first-child{background:var(--ink);color:#fff}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* ===== 多頁版 ===== */
.title h1{font-size:clamp(32px,4vw,48px);font-weight:900;line-height:1.25;margin-top:8px}
.nav nav a[aria-current="page"]{color:var(--green);font-weight:700;box-shadow:0 2px 0 var(--green)}
.nav nav a{padding:4px 0}

/* 首頁產品入口 */
.lineup{padding:64px 0 84px}
.lead-card{display:grid;grid-template-columns:1.35fr 1fr;background:var(--green-bg);margin-bottom:24px}
.lead-card figure{min-height:340px;overflow:hidden}
.lead-card img{width:100%;height:100%;object-fit:cover}
.lead-card>div{padding:40px;display:flex;flex-direction:column;justify-content:center}
.lead-card h3{font-size:clamp(32px,3.6vw,42px);font-weight:900;line-height:1.25;margin-top:8px}
.lead-card p{color:var(--muted);margin-top:8px}
.go{display:inline-block;margin-top:14px;color:var(--green);font-weight:700}
.go::after{content:" →"}
.lineup-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.pick{display:block;border-bottom:2px solid var(--green);padding-bottom:14px}
.pick figure{height:190px;overflow:hidden;background:var(--cream)}
.pick figure img{width:100%;height:100%;object-fit:cover;transition:transform .2s}
.pick:hover figure img{transform:scale(1.03)}
.pick figure.fit{background:#fff;box-shadow:inset 0 0 0 1px var(--green-line)}
.pick figure.fit img{object-fit:contain;padding:10px}
.pick h3{font-size:21px;font-weight:900;margin-top:12px;line-height:1.35}
.pick small{display:block;color:var(--muted);font-size:14.5px;line-height:1.5}
.head-row{margin-bottom:28px}
.head-row h2{font-size:clamp(30px,3.6vw,42px);font-weight:900;line-height:1.25;margin-top:8px}

/* 內頁下方詢價條 */
.ask{background:var(--green-bg);padding:28px 0}
.ask .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px 32px;flex-wrap:wrap}
.ask b{font-size:20px;font-weight:900}

@media (max-width:980px){
  html{scroll-padding-top:116px}
  .nav .wrap{height:auto;flex-wrap:wrap;gap:0 16px;padding-top:8px}
  .nav nav{order:3;width:100%;gap:22px;overflow-x:auto;padding:6px 0 8px;white-space:nowrap;scrollbar-width:none}
  .nav nav::-webkit-scrollbar{display:none}
  .nav nav a:not(.tel){display:inline-block}
  .lineup-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  .nav .wrap{height:auto}
  .nav nav{font-size:14.5px}
  .lineup{padding:40px 0 48px}
  .lead-card{grid-template-columns:1fr}
  .lead-card figure{min-height:0;height:210px}
  .lead-card>div{padding:22px 18px 26px}
  .pick figure{height:140px}
  .pick h3{font-size:18px}
  .pick small{font-size:13px}
  .ask .btn{width:100%;text-align:center}
}
.map-frame{position:relative;width:100%;aspect-ratio:4/3;max-width:100%;border:1px solid var(--green-line);background:var(--green-bg)}
.map-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
#map .btn{margin-top:8px}
