
:root{--orange:#e8874a;--teal:#009f82;--ink:#2a1a14;--muted:#6b5a52;--bg:#f7faf9;--line:#d9e6e2;--navy:#1a73e8}
*{box-sizing:border-box}html,body{margin:0}body{font-family:"IBM Plex Sans","Noto Sans TC",sans-serif;background:var(--bg);color:var(--ink);line-height:1.65}
a{color:inherit;text-decoration:none}img{max-width:100%;display:block}
.trustbar{background:#12352f;color:#dff5ef;display:flex;justify-content:center;gap:28px;flex-wrap:wrap;padding:10px 16px;font-size:.82rem}
.site-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 5vw;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:40}
.site-logo{display:flex;align-items:center;gap:8px;font-weight:700;color:var(--teal)}
.site-logo img{height:28px}
.site-nav{display:flex;gap:14px;flex-wrap:wrap;list-style:none;margin:0;padding:0}
.site-nav a{font-size:.88rem;color:var(--muted)}.site-nav a:hover{color:var(--orange)}
.cart-link{position:relative;width:40px;height:40px;border:1px solid var(--line);display:inline-flex;align-items:center;justify-content:center;border-radius:6px}
.cart-link svg{width:18px;height:18px;fill:var(--teal)}
#shop_quantity{position:absolute;top:-6px;right:-6px;min-width:18px;height:18px;border-radius:9px;background:var(--orange);color:#fff;font-size:.7rem;display:flex;align-items:center;justify-content:center}
.funnel{max-width:880px;margin:0 auto;padding:40px 5vw}
.funnel .step{background:#fff;border:1px solid var(--line);border-radius:10px;padding:22px;margin-bottom:14px}
.funnel .step .n{display:inline-flex;width:28px;height:28px;border-radius:50%;background:var(--teal);color:#fff;align-items:center;justify-content:center;font-size:.8rem;font-weight:700;margin-right:8px}
.hero-med{padding:48px 5vw 28px;background:linear-gradient(120deg,#e8f7f3,#fff8f2)}
.hero-med h1{margin:0 0 10px;font-size:clamp(1.8rem,4vw,2.8rem)}
.hero-med p{margin:0 0 20px;color:var(--muted);max-width:560px}
.btn{display:inline-block;padding:12px 20px;border-radius:6px;border:1px solid var(--orange);background:var(--orange);color:#fff;font-weight:700;cursor:pointer}
.btn.teal{background:var(--teal);border-color:var(--teal)}
.btn.outline{background:#fff;color:var(--teal);border-color:var(--teal)}
.dose-pick{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}
.dose-pick a{display:block;background:#fff;border:2px solid var(--line);border-radius:10px;padding:16px;text-align:center}
.dose-pick a:hover,.dose-pick a.active{border-color:var(--teal)}
.dose-pick img{max-height:100px;object-fit:contain;margin:0 auto 8px}
.dose-pick strong{display:block;color:var(--orange)}
.clinic{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:28px 5vw 48px}
.clinic .box{background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px}
.clinic h3{margin:0 0 8px;color:var(--teal)}
.site-footer{background:#1c2a27;color:#cfe6e0;padding:32px 5vw}
.site-footer a{color:#cfe6e0;margin-right:12px}
.page-hero{background:#e8f7f3}
.page-hero h1{color:var(--teal)}
.badge{background:#e8f7f3;color:var(--teal);border-radius:4px}
.detail-price,.cart-summary .total{color:var(--orange)}

.page-hero{padding:48px 32px 24px}
.page-content{padding:32px 32px 64px;max-width:1080px;width:100%;margin:0 auto;box-sizing:border-box}
.info-table,.spec-table{width:100%;border-collapse:collapse;margin:12px 0 18px}
.info-table td,.spec-table td{padding:10px 12px;border:1px solid var(--line, #ddd)}
.detail{display:grid;grid-template-columns:1fr 1.05fr;gap:32px;padding:32px 5vw 56px;max-width:1100px;margin:0 auto}
.detail-img{padding:24px;background:#fff;border:1px solid var(--line,#ddd)}
.detail-img img{max-height:380px;object-fit:contain;margin:0 auto;display:block}
.detail h1{margin:8px 0 4px}
.detail h2{margin:0 0 14px;font-size:1rem;font-weight:500;opacity:.7}
.warning{padding:12px 14px;margin-bottom:14px;font-size:.92rem;background:#fff7e8;border-left:3px solid #d4a017}
.detail-price{font-size:1.5rem;font-weight:800;margin:8px 0 14px}
.qty-row{display:inline-flex;border:1px solid var(--line,#ddd);margin:0 10px 14px 0;background:#fff}
.qty-row button,.qty-btn{width:40px;height:40px;border:0;background:#f5f5f5;cursor:pointer}
.qty-row input{width:48px;height:40px;border:0;text-align:center}
.related{margin-top:18px;display:flex;gap:14px;flex-wrap:wrap}
.breadcrumb{list-style:none;display:flex;gap:8px;padding:0;margin:0 0 12px;font-size:.88rem;opacity:.7;flex-wrap:wrap}
.breadcrumb li::after{content:"/";margin-left:8px;opacity:.5}.breadcrumb li:last-child::after{content:""}
.badge{display:inline-block;font-size:.72rem;padding:3px 10px;margin-bottom:8px}
.note{margin-top:14px;opacity:.75;font-size:.95rem}
.article-cover img{width:100%;max-height:260px;object-fit:contain;background:#fff;margin-bottom:14px}
.cta-wrap{margin-top:24px}
.cart-page{padding:40px 5vw 56px;max-width:920px;margin:0 auto}
.cart-empty,.cart-item{background:#fff;border:1px solid var(--line,#ddd);padding:18px;margin-bottom:12px}
.cart-empty{text-align:center;padding:48px}
.cart-item{display:grid;grid-template-columns:80px 1fr auto auto auto;gap:14px;align-items:center}
.cart-item img{width:80px;height:80px;object-fit:contain}
.cart-summary{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:flex-end;margin-top:16px}
.cart-summary .total{margin-right:auto;font-size:1.25rem;font-weight:800}
@media(max-width:900px){.detail{grid-template-columns:1fr}.cart-item{grid-template-columns:70px 1fr}}

@media(max-width:900px){.dose-pick,.clinic{grid-template-columns:1fr}}

/* article-page-layout */
.page-hero{padding-left:32px;padding-right:32px}
.page-hero h1,.page-hero p{max-width:1080px;width:100%;margin-left:auto;margin-right:auto;box-sizing:border-box}

img.article-cover{width:100%;max-height:360px;object-fit:cover;border-radius:8px;display:block;margin:0 0 28px;border:1px solid var(--line)}

/* article-fixed-width */
.page-hero h1,.page-hero p{max-width:1080px;margin-left:auto;margin-right:auto}

/* === article-theme (auto) === */
.page-content h2{color:var(--teal);font-weight:600;font-size:1.28rem;margin:28px 0 10px}
.page-content h3{color:var(--ink);font-weight:600;font-size:1.05rem;margin:20px 0 8px}
.page-content p{color:var(--ink);margin:0 0 14px;line-height:1.75}
.page-content ul,.page-content ol{color:var(--ink);padding-left:1.3em;margin:8px 0 16px}
.page-content li{margin:0 0 8px}
.page-content a{color:var(--teal);text-decoration:underline;text-underline-offset:3px}
.page-content table{width:100%;border-collapse:collapse;margin:18px 0 22px;font-size:.94rem}
.page-content th{background:var(--teal);color:#fff;padding:12px 14px;text-align:left;border:1px solid var(--teal)}
.page-content td{padding:12px 14px;border:1px solid var(--line);color:var(--ink);background:#fff;vertical-align:top}
.qa{margin:16px 0;padding:16px 18px;background:#e8f7f3;border-radius:0 8px 8px 0}
.qa .q{font-weight:600;color:var(--teal);margin:0 0 8px}
.qa .a{margin:0;color:var(--ink)}
.note{margin:18px 0;padding:14px 16px;border:1px solid var(--line);background:#fff;color:var(--muted);border-radius:8px}
.related-arts{margin:36px 0 8px;padding:18px 20px;border:1px solid var(--line);background:#fff;border-radius:8px}
.related-arts strong{display:block;margin-bottom:10px;color:var(--teal);font-weight:600}
.related-arts a{color:var(--teal)}
img.article-cover{width:100%;max-height:380px;object-fit:cover;display:block;margin:0 0 28px;border:1px solid var(--line);border-radius:8px;background:#fff}
/* === sticky-footer-pc (auto) === */
html{height:100%;}
body{
  min-height:100vh !important;
  min-height:100dvh !important;
  display:flex !important;
  flex-direction:column !important;
}
body > header,
body > .site-header,
body > .promo,
body > .topbar,
body > .top-bar{
  flex:0 0 auto;
}
/* 主内容按实际高度，剩余留给页脚外层铺色 */
body > main,
body > main.animsition,
body > .animsition{
  flex:0 0 auto;
  width:100%;
  
}
body > .page-hero{
  flex:0 0 auto;
  width:100%;
}
body > .page-content{
  flex:0 0 auto;
  width:100%;
}
.site-footer-outer{
  flex:1 0 auto !important;
  width:100%;
  min-height:0;
  box-sizing:border-box;
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-end !important;
  background:#1c2a27 !important;
}
.site-footer-outer > .site-footer,
.site-footer-outer > footer{
  width:100%;
  box-sizing:border-box;
  flex:0 0 auto;
  background:#1c2a27;
}
body > footer,
body > .site-footer{
  margin-top:auto !important;
  width:100%;
  background:#1c2a27;
}
@media (max-width:900px){
  body{min-height:auto !important;display:block !important;}
  .site-footer-outer{flex:none !important;}
  body > main, body > main.animsition{min-height:auto !important;}
}
