/* ============================================================
   沛素 per-sulii — main.css
   ============================================================ */

:root {
  --paper: linear-gradient(170deg, #f4f6f7 70%, #e8e8e6 100%);
  --bg: #ffffff;
  --bg2: #ececec;
  --ink: #2A2A2A;
  --ink-soft: #565656;
  --mid: #9C9C9C;
  --mid-text: #6f6f6f;
  --line: #e8e8e8;
  --deep: #1f1f1f;
  --deep2: #141414;
  --taupe: #6f6f6f;
  --serif: 'Funnel Display', 'Noto Serif TC', serif;
  --sans: 'Funnel Display', 'Noto Sans TC', -apple-system, 'Segoe UI', sans-serif;
  --img-radius: 8px;
  --link: #7791b0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}

.hdr,
main {
  max-width: 1920px;
  margin: 0 auto;
}

main {
  padding-bottom: 24px;
}

/* a11y */
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: inherit
}

a {
  color: inherit;
  text-decoration: none
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

/* stage / device */
.stage {
  display: block
}

.device {
  background: var(--paper);
  width: 100%
}

/* typography */
.eyebrow {
  font-family: var(--sans);
  font-size: clamp(13px, 2vw, 20px);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--taupe)
}

h1,
h2,
h3 {
  font-family: var(--sans)
}

/* 標題捲動載入動畫：進入視窗前隱藏並右移，進入時由右至左滑入淡入 */
h1,
h2,
h3 {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity .8s cubic-bezier(.16, .84, .44, 1), transform .8s cubic-bezier(.16, .84, .44, 1)
}

h1.in-view,
h2.in-view,
h3.in-view {
  opacity: 1;
  transform: translateX(0)
}

@media (prefers-reduced-motion: reduce) {

  h1,
  h2,
  h3 {
    opacity: 1;
    transform: none;
    transition: none
  }
}

.serif {
  font-family: var(--serif)
}

.display {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.15;
  letter-spacing: 0
}

.h2 {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(27px, 3.6vw, 42px);
  line-height: 1.3;
  letter-spacing: 0
}

.h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(18px, 2.5vw, 26px);
  line-height: 1.45
}

.about-sec-head {
  padding: 6px 12px;
  border-top: 1px solid var(--mid);
  border-bottom: 1px solid var(--mid);
  display: inline-block;
}

.lead {
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.9;
  color: var(--ink-soft);
  line-height: 1.95;
  position: relative;
}

.body {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.75;
  color: var(--ink-soft);
  font-weight: 400;
}

.small {
  font-size: clamp(14px, 1vw, 16px);
  color: var(--mid-text);
  line-height: 1.7;
}

/* layout */
.wrap {
  /* box-sizing:border-box 會讓 padding 吃掉 max-width，用 calc 補回來，讓內容實際維持 1100px */
  max-width: calc(1200px + 56px * 2);
  margin: 0 auto;
  padding: 0 56px
}

.sec {
  padding: clamp(28px, 2.5vw, 40px) 0;
}

.sec.paper {
  background: var(--paper);
}

.sec.tight {
  padding: clamp(16px, 2vw, 32px) 0;
}

.sec.hight {
  padding: clamp(40px, 4vw, 56px) 0;
}

.center {
  text-align: center
}

/* 標題與 eyebrow 同一行並排 */
.title-line {
  display: flex;
  width: fit-content;
  margin: 16px auto 0px;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 0px;
  border-bottom: 1px solid var(--deep);
}

.mt8 {
  margin-top: 8px
}

.mt12 {
  margin-top: 12px
}

.mt16 {
  margin-top: 16px
}

.mt20 {
  margin-top: 20px
}

.mt24 {
  margin-top: 24px
}

.mt32 {
  margin-top: 32px
}

.mt40 {
  margin-top: 40px
}

.mt56 {
  margin-top: 56px
}

.maxwl {
  max-width: calc(1440px + 56px * 2);
}

#about-article {
  width: 100%;
  max-width: 950px;
  margin: 0 auto
}

.media.about-frame-media {
  position: sticky;
  top: 120px;
  max-width: 540px;
}

.about-copy h2 {
  text-align: left
}

.about-copy p {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 2.5;
  text-align: left;
  letter-spacing: 0.02em;
}

.about-copy p b {
  color: var(--ink);
  font-weight: 500;
}

.maxw {
  max-width: 680px
}

.maxw.center {
  margin: 0 auto
}

.grid {
  display: grid;
  gap: clamp(20px, 1vw, 44px)
}

.g2 {
  grid-template-columns: 1fr 1fr
}

.g3 {
  grid-template-columns: repeat(3, 1fr)
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center
}

.divider {
  height: 1px;
  background: var(--line);
  border: 0
}

.ingredient-flow {
  background-color: #f1f1f1;
  border-radius: 8px;
  padding: 12px;
}

.ingredient-flow-terms {
  font-family: var(--sans);
  font-size: clamp(18px, 2.7vw, 22px);
  line-height: 1.4;
  color: var(--ink);
}

.ingredient-flow-plus,
.ingredient-flow-arrow {
  color: var(--mid);
  font-weight: 400;
  padding: 0 4px
}

.ingredient-flow-caption {
  font-size: clamp(14px, 1.6vw, 17px);
  color: var(--ink-soft)
}

/* buttons / links */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 500;
  letter-spacing: .08em;
  padding: 8px 32px;
  border-radius: 2px;
  cursor: pointer;
  transition: .2s;
  border: 1px solid var(--ink)
}

.btn.solid {
  background: var(--ink);
  color: #fff
}

.btn.solid:hover {
  background: #000
}

.btn.ghost {
  background: transparent;
  color: var(--ink)
}

.btn.ghost:hover {
  background: var(--ink);
  color: #fff
}

.btn.light {
  border-color: rgba(255, 255, 255, .6);
  color: #fff;
  background: transparent
}

.btn.light:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff
}

.tlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--ink);
  cursor: pointer;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: .2s
}

.tlink:hover {
  gap: 13px;
  color: #000
}

.video-share-wrap {
  text-align: center;
  margin-top: 20px
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px
}

.share-btn svg {
  width: 16px;
  height: 16px
}

.quote {
  padding: 8px 24px;
  background-color: #f3f3f3;
  border-radius: 16px;
}

/* media placeholders */
.media {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border-radius: var(--img-radius)
}

.media::after {
  content: attr(data-mono);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: clamp(48px, 9vw, 120px);
  font-weight: 500;
  color: rgba(42, 42, 42, .055);
  letter-spacing: 4px;
  user-select: none
}

.media .media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  display: block;
  transition: transform .5s ease
}

.pcard:hover .media-img,
.pfeature:hover .media-img {
  transform: scale(1.06)
}

.pcard .media::before,
.pfeature .media::before {
  content: '';
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: url(/images/icon/click-icon.webp) center / cover no-repeat;
  z-index: 2;
  pointer-events: none
}

.media .media-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .45s ease;
  z-index: 1
}

.media .media-hover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block
}

/* .pcard:hover .media-hover {
  opacity: 1
} */

.media .media-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 48px 28px 24px;
  background: linear-gradient(to top, rgba(20, 20, 20, .55), rgba(20, 20, 20, 0));
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .45s ease, transform .45s ease
}

.media .media-cap-t {
  font-family: var(--sans, sans-serif);
  font-size: 36px;
  letter-spacing: 2px
}

.media .media-cap-d {
  font-family: var(--sans, sans-serif);
  font-size: 28px;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, .85)
}

/* .pcard:hover .media-cap {
  opacity: 1;
  transform: translateY(0)
} */

.media.dark {
  background: radial-gradient(120% 120% at 70% 25%, #3a3a3a 0%, #222 45%, #161616 100%)
}

.media.dark::after {
  color: rgba(255, 255, 255, .05)
}

.media.product {
  background: #f0f0ef;
  width: 100%;
  max-width: 628px;
  aspect-ratio: 628 / 520;
  height: auto
}

.media.product~div p {
  max-width: 75%;
}

/* ---- HEADER ---- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 300
}

.hdr {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(140%) blur(10px);
}

.hdr-in {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 56px
}

.hdr .logo {
  height: 64px;
  width: auto;
  display: block;
  transition: height .35s ease, opacity .3s ease
}

.hdr.no-anim,
.hdr.no-anim * {
  transition: none !important
}

/* 往下捲時收起 logo，往上捲時展開（由 components.js 切換 class） */
.hdr.logo-hidden .logo {
  height: 0;
  opacity: 0
}

.hdr.logo-hidden .hdr-in {
  gap: 0
}

.hdr-in {
  transition: gap .35s ease
}

.nav {
  display: flex;
  align-self: flex-end;
  gap: 34px
}

.nav a {
  font-size: 1.1rem;
  letter-spacing: .06em;
  color: var(--ink-soft);
  cursor: pointer;
  position: relative;
  padding-bottom: 3px;
  transition: .2s;
  display: inline-block
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: .25s
}

.nav a:hover {
  color: var(--ink)
}

.nav a:hover::after,
.nav a.on::after {
  width: 100%
}

.desk {
  display: flex
}

.mob {
  display: none
}

.burger {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  line-height: 1
}

.burger img {
  width: 30px;
  height: 24px;
  display: block
}

.mmenu {
  display: none
}

.mmenu.open {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  height: 100dvh;
  background: #fff;
  z-index: 200
}

.mmenu a {
  display: block;
  padding: 14px 24px;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: .05em;
  color: var(--ink);
  cursor: pointer
}

/* page header */
.pagehead {
  background: var(--bg);
  text-align: center;
  padding: clamp(25px, 3vw, 40px) 0
}

.crumb {
  font-size: 13px;
  letter-spacing: .05em;
  color: var(--mid-text);
  padding: 18px 0 0;
  text-align: center;
}

.pbanner-wrap {
  padding-top: 12px
}

.pbanner {
  display: block;
  width: 100%;
  height: auto
}

/* hero */
.hero {
  position: relative;
  --hero-p: 0;
  min-height: min(calc(84vh - 50vh * var(--hero-p)), calc(860px - 300px * var(--hero-p)));
  width: 100%;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center top;
  color: var(--ink);
  overflow: hidden
}

.hero .wrap {
  position: relative;
  z-index: 2;
  width: 100%
}

.hero .eyebrow {
  color: var(--taupe)
}

.hero .lead {
  color: var(--ink-soft)
}

/* cards */
.card {
  background: var(--paper)
}

.pcard {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  text-align: left;
  align-self: start
}

.pcard {
  cursor: pointer
}

.pcard .media {
  width: 100%;
  max-width: 628px;
  aspect-ratio: 628 / 540;
  height: auto
}

/* .pcard:hover .media {
  filter: brightness(.98)
} */

/* 首頁產品圖文並排 */
.pfeatures {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 56px)
}

.pfeature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  text-align: left
}

.pfeature .media {
  width: 100%;
  aspect-ratio: 628 / 540;
  height: auto
}

.pfeature:hover .media {
  filter: brightness(.98)
}

.acard-group {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.acard {
  padding: clamp(28px, 3vw, 40px);
  background-size: contain;
  background-repeat: no-repeat;
  padding-top: 80px;

  background-repeat: no-repeat;
  background-position: 40px 8px;
}

.acard.jp {
  background-image: url(/images/jp.webp);
  background-size: 80px;
}

.acard.usa {
  background-image: url(/images/usa.webp);
  background-size: 105px;
}

.num {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--taupe);
  letter-spacing: .1em
}

/* numbered feature list */
.flist {
  display: grid;
  gap: 0
}

.flist .fitem {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(28px, 3vw, 40px) 0;
  border-top: 1px solid var(--line);
  align-items: baseline
}

.flist .fitem:last-child {
  border-bottom: 1px solid var(--line)
}

.fnum {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 68px);
  line-height: .9;
  color: var(--taupe);
  opacity: .5
}

/* photo cards */
.photocards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px
}

.pc {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(18px, 1.6vw, 24px);
  color: #fff;
  background: linear-gradient(160deg, #bcbcbb 0%, #9a9a99 100%)
}

.pc::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .15) 55%, rgba(0, 0, 0, 0) 100%)
}

.pc .pc-c {
  position: relative;
  z-index: 1
}

.pc .pc-n {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .12em;
  opacity: .9
}

.pc .pc-t {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(16px, 1.5vw, 19px);
  margin-top: 8px
}

.pc .pc-d {
  font-size: 12.5px;
  line-height: 1.65;
  opacity: .88;
  margin-top: 8px
}

/* FAQ accordion */
.faq {
  max-width: 760px;
  margin: 0 auto
}

.faq-item {
  border-top: 1px solid var(--line)
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line)
}

.faq-q {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: clamp(20px, 2.4vw, 28px) 0;
  cursor: pointer;
  font-size: clamp(16px, 1.7vw, 18px);
  font-weight: 500;
  color: var(--ink)
}

.faq-q .ic {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 26px;
  color: var(--taupe);
  transition: transform .25s;
  flex-shrink: 0;
  line-height: 1
}

.faq-item.open .faq-q .ic {
  transform: rotate(45deg)
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease
}

.faq-a .inner {
  padding: 0 0 26px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.95;
  max-width: 92%
}

.faq-item.open .faq-a {
  max-height: 340px
}

/* signature / director */
.sign {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 30px;
  color: #3a3a3a;
  line-height: 1;
  margin-top: 6px
}

.sign img {
  max-width: 200px;
  margin-right: 20px;
}

.drole {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(20px, 2.3vw, 27px);
  line-height: 1.4;
  color: var(--ink)
}

.drole+.drole {
  margin-top: 2px
}

.dname {
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--ink-soft);
  margin-top: 18px
}

/* footer 社群 icon */
.ftr li.ftr-social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 8px
}

.ftr .ftr-social a {
  display: inline-flex;
  align-items: center;
  color: inherit;
  transition: color .2s, opacity .2s;
  opacity: .8
}

.ftr .ftr-social a:hover {
  opacity: 1
}

.ftr .ftr-social svg {
  width: 28px;
  height: 28px
}

/* Line 的圖形本身內縮，放大補償視覺大小 */
.ftr .ftr-social a:first-child svg {
  width: 36px;
  height: 36px
}

/* ---- FOOTER ---- */
.ftr {
  background: var(--deep);
  color: #cdcdc8;
  padding: 32px 32px clamp(56px, 6vw, 84px);
  background: linear-gradient(0deg, var(--deep) 93%, var(--taupe) 100%);
}

.ftr-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 36px
}

.ftr-flex-item {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  margin-bottom: 24px;
}

.ftr-flex-item a {
  display: inline-block;
  padding: 8px 16px;
}

.ftr .logo {
  height: 68px;
  filter: brightness(0) invert(1);
  opacity: .92;
  margin-bottom: 8px
}

.ftr h4 {
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: .1em;
  color: #c6c6c1;
  margin-bottom: 16px
}

.ftr a,
.ftr li,
.ftr button {
  font-size: 1.2rem;
  color: #bdbdb8;
  line-height: 2.1;
  list-style: none;
  display: block;
  cursor: pointer;
  transition: .15s
}

.ftr a:hover,
.ftr button:hover {
  color: #fff
}

.ftr .tagline {
  font-size: 1rem;
  color: #9a9d9a;
  line-height: 1.9;
  margin-top: 16px
}

.ftr-cert {
  text-align: center;
  padding: 36px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 18px;
}

.ftr-cert-chip {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, .3);
  color: rgba(255, 255, 255, .72);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .1em;
  padding: 5px 14px;
  border-radius: 2px
}

.ftr .info li {
  font-size: 13px;
  letter-spacing: .04em
}

.ftr-flex-cert {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ftr-cert-sub {
  font-size: 13px;
  margin: 14px auto;
  letter-spacing: .04em;
  text-align: center;
}

.ftr-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
  padding-top: 8px;
  /* border-top: 1px solid rgba(255, 255, 255, .12); */
  font-size: 12px;
  color: #83867f
}

.ftr-bottom .lang span {
  cursor: pointer
}

.ftr-bottom .lang span.on {
  color: #fff
}

/* prev/next */
.pn {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 30px
}

.pn .pn-i {
  cursor: pointer
}

.pn .pn-i .eyebrow {
  font-size: 12px
}

.pn .pn-i .nm {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink);
  margin-top: 6px;
  transition: .2s
}

.pn .pn-i:hover .nm {
  color: var(--taupe)
}

/* form */
.field label {
  display: block;
  font-size: 12.5px;
  letter-spacing: .05em;
  color: var(--ink-soft);
  margin-bottom: 7px
}

.field input,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 13px 15px;
  transition: .2s
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff
}

.field {
  margin-top: 18px
}

/* ---- responsive ---- */
@media (max-width:768px) {
  .display {
    font-size: 36px
  }

  .h2 {
    font-size: 26px
  }

  .wrap {
    padding: 0 32px
  }

  .sec {
    padding: 24px 0
  }

  .about-copy p {
    font-size: 13.5px;
    line-height: 1.75;
  }

  .media.about-frame-media {
    position: static;
    max-width: none;
  }

  .g2,
  .g3,
  .split,
  .pfeature {
    grid-template-columns: 1fr;
    gap: clamp(16px, 1vw, 32px);
  }

  .pfeature .media,
  .split .media {
    order: 1
  }

  /* 保養功效區塊：手機版維持原本欄數，內容改為 icon 在上、文字在下 */
  .benefits-row.cols-3 {
    gap: 0
  }

  .benefits-row .benefit-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px
  }

  .pfeature-text {
    min-width: 0;
    padding: 16px 0;
  }

  .pfeature-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px
  }

  .pfeature-head .pfeature-copy {
    flex: 1 1 auto;
    min-width: 0
  }

  .pfeature-head .pfeature-more {
    margin-top: 0;
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 16px 4px;
  }

  .pfeature {
    gap: 10px;
  }

  .pfeature-copy h3 {
    font-size: 20px;
    margin-top: 4px;
  }

  .pfeature-copy p {
    margin-top: 6px;
  }

  .pfeature-more .tlink {
    border-bottom: none;
    padding-bottom: 0;
    border-left: 1px solid var(--ink);
    padding-left: 12px;
  }

  #home-products {
    margin-top: 16px;
  }

  .pfeatures {
    gap: 24px;
  }

  #product-feature-sec h2.h3 {
    font-size: 17px;
  }

  #product-feature-sec .small {
    font-size: 13.5px;
  }

  #product-feature-sec p.body {
    font-size: 13.5px;
  }

  #product-list {
    grid-template-columns: 1fr;
    gap: 24px
  }

  /* 商品詳情頁底部按鈕：手機版只顯示標籤文字，不顯示商品名稱 */
  .pn .pn-i .nm {
    display: none
  }

  .pn .pn-i .eyebrow {
    font-size: 15px
  }

  .hdr-in {
    padding: 16px 24px;
    position: relative;
    z-index: 210;
    justify-content: center
  }

  .hdr .logo {
    height: 38px
  }

  /* 漢堡選單移到左側，logo 置中（見上面 .hdr-in 的 justify-content） */
  .burger {
    left: 24px;
    right: auto
  }

  .desk {
    display: none
  }

  .mob {
    display: block
  }

  .pagehead {
    padding: 19px 0 14px
  }

  .hero {
    min-height: 300px
  }

  .hero .display {
    font-size: 28px !important
  }

  .hero .lead {
    font-size: 13.5px
  }

  .tfda-chip {
    font-size: 12px !important
  }

  .tfda-sub {
    font-size: 12.5px
  }

  .pcard .media {
    height: auto !important
  }

  #product-hero-media {
    height: auto !important
  }

  .media.product~div p {
    max-width: unset;
  }

  .flist .fitem {
    grid-template-columns: 1fr;
    gap: 10px
  }

  .fnum {
    font-size: 40px
  }

  .photocards {
    grid-template-columns: 1fr 1fr;
    gap: 12px
  }

  .ftr>.wrap {
    padding: 0 8px;
  }

  .ftr-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ftr-grid-item {
    width: fit-content;
    margin: auto;
  }
  .ftr-logo {
    text-align: center;
  }

  .ftr-flex-item {
    padding-bottom: 12px;
    margin-bottom: 44px;
    align-items: flex-start;
  }

  .ftr-bottom {
    margin-top: 24px;
  }

  .ftr li.ftr-social {
    justify-content: center
  }

  .ftr a,
  .ftr li,
  .ftr button {
    font-size: 1rem;
  }
}

@media (max-width: 560px) {
  .benefit-item p br {
    display: none;
  }
   .benefit-item p {
     max-width: 77%;
     margin: auto;
  }
}

/* hero 輪播 */
.hero.has-swipe {
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide-img,
.hero-fallback-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-fallback-img {
  z-index: 0;
}

.hero-slide~.wrap {
  padding-top: 12px;
  padding-bottom: 12px;
}

.hero-slide.active {
  opacity: 1
}

/* 拖曳中：圖片跟著手指走，關掉淡入淡出 */
.hero.dragging {
  cursor: grabbing;
}

.hero.dragging .hero-slide,
.hero.no-anim .hero-slide {
  transition: none;
}

/* 放開後回位／換頁的滑動動畫（時間需與 main.js 的 SETTLE_MS 一致） */
.hero.settling .hero-slide {
  transition: transform .6s cubic-bezier(.22, .61, .36, 1);
}

/* 拖曳時從旁邊帶進來的下一張 */
.hero-slide.peek {
  opacity: 1;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 60px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  opacity: .5;
  transition: opacity .2s;
}

.hero-arrow img {
  width: 60%;
  height: 100%;
  display: block
}

.hero-arrow:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, .3);
}

.hero-arrow.prev {
  left: 0
}

.hero-arrow.next {
  right: 0
}

.hero-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 20px 0 0;
}

.hero-dot {
  width: 28px;
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  transition: background .2s;
}

.hero-dot.active {
  background: var(--ink)
}

@media (max-width:768px) {
  .hero-arrow {
    display: none
  }

  .hero .btn {
    padding: 8px 12px;
  }

  .hero .mt40 {
    margin-top: 24px;
  }
}

/* Homepage About Us section styles
   .h-about-img-wrap 維持正常文件流（不再用 sticky／fixed），
   進場後由 initAboutImgPin()（js/main.js）驅動背景／前景兩層做小幅度反向位移，
   捲動時產生「錯位」的視差感。位移幅度刻意留小（見該函式的 BG_OFFSET / TOP_OFFSET），
   搭配 LAYER_SCALE 的些微放大當作位移邊界，避免露出圖片邊緣、也避免裁掉太多內容。
   aspect-ratio 只是 JS 尚未接手前（或無 JS）的後備，比例需與 initAboutImgPin 的 ASPECT 一致 */
.h-about-img-wrap {
  width: 100%;
  aspect-ratio: 2982 / 1485;
  overflow: hidden;
  position: relative;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.03);
}

/* 背景／前景兩層疊在一起，各自用不同幅度位移 */
.h-about-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
}

.h-about-img-bg {
  z-index: 1;
}

.h-about-img-top {
  z-index: 2;
}

/* Custom text link styling */
.text-link {
  color: var(--link);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.text-link:hover {
  opacity: 0.8;
}

/* 產品頁：亮點標籤 */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.chip {
  display: inline-block;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .06em;
  padding: 6px 16px;
  border-radius: 2px
}

/* 產品頁：勾選清單（適用族群 / 品質認證 / 注意事項） */
.checklist {
  display: grid;
  gap: 12px;
  list-style: none
}

.checklist li {
  font-family: var(--sans);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--ink-soft);
  padding-left: 28px;
  position: relative
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ink);
  font-weight: 600
}

/* 注意事項：列點式，行距較緊湊 */
.checklist.dot {
  gap: 8px
}

.checklist.dot li::before {
  content: '•';
  font-weight: 400
}

/* 產品頁：四大保養功效（兩欄式格線，電腦／手機皆維持兩欄，中間十字灰線分隔） */
.benefits-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.benefit-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: clamp(20px, 2.5vw, 32px)
}

.benefit-item:nth-child(even) {
  border-left: 1px solid var(--line);
  padding-left: clamp(16px, 3vw, 32px);
}

.benefit-item:nth-child(odd) {
  padding-right: clamp(16px, 3vw, 32px);
}

.benefit-item:nth-child(n+3) {
  border-top: 1px solid var(--line);
  padding-top: clamp(20px, 2.5vw, 32px);
}

/* 產品頁：三大保養功效（三欄式，項目間灰線分隔，僅單列不需上邊線） */
.benefits-row.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.benefits-row.cols-3 .benefit-item {
  border-top: none;
  padding-top: 0;
  padding-right: clamp(16px, 3vw, 32px);
}

.benefits-row.cols-3 .benefit-item:nth-child(n+2) {
  border-left: 1px solid var(--line);
  padding-left: clamp(16px, 3vw, 32px);
}

.benefits-row.cols-3 .benefit-item:last-child {
  padding-right: 0;
}

.benefit-thumb {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  /* border: 1px solid var(--line); */
  background: var(--bg2);
  border-radius: 4px
}

/* 產品頁：功效區塊搭配介紹影片（上文下影片） */
.benefits-layout {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 56px)
}

.video-frame {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0;
  aspect-ratio: 9 / 16;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg2)
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0
}

/* 產品頁：瓶身規格表 */
.pspecs {
  border-collapse: collapse;
  width: 100%
}

.pspecs th,
.pspecs td {
  text-align: left;
  font-weight: 400;
  font-size: 1rem;
  padding: 14px 0;
  border-top: 1px solid var(--line)
}

.pspecs th {
  width: 30%;
  color: var(--taupe);
  letter-spacing: .04em
}

.pspecs tr:last-child th,
.pspecs tr:last-child td {
  border-bottom: 1px solid var(--line)
}

/* 產品頁：全成分表英文內文，電腦版限制寬度避免整行拉太長 */
.inci-text {
  max-width: 800px;
}