/* ==========================================================================
   fatty15 mirror — 本站补充层（源站主题 CSS 没覆盖的部分）
   作用域：只补布局契约 / 自定义组件 / WP 落地页，不改源站视觉基调
   ========================================================================== */

/* 0 · 全局基线 ------------------------------------------------------------- */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
body.f15-drawer-open { overflow: hidden; }
img, video { max-width: 100%; height: auto; }
:where(a) { text-decoration-thickness: from-font; }

/* 输入框 16px 起（iOS 聚焦不放大） */
input, select, textarea { font-size: 16px; }

/* 1 · 通用按钮（44px 体系，R16） ------------------------------------------- */
.f15-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, opacity .18s ease;
  background: transparent;
  color: inherit;
}
.f15-btn--dark {
  background: #111;
  border-color: #111;
  color: #fff;
}
.f15-btn--dark:hover { background: #2b2b2b; border-color: #2b2b2b; }
.f15-btn--ghost { background: transparent; border-color: #111; color: #111; }
.f15-btn--ghost:hover { background: #111; color: #fff; }
.f15-btn.is-disabled, .f15-btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.f15-btn.is-loading { opacity: .7; pointer-events: none; }

/* 2 · 价格 / 星级 ---------------------------------------------------------- */
.f15-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.f15-price__compare { color: #8a8a8a; }
.f15-price__now { font-weight: 700; }
.f15-price__save { font-size: 12px; color: #1c7a3d; }

.f15-stars { display: inline-flex; position: relative; vertical-align: middle; color: #e8c34a; line-height: 0; }
.f15-stars__base { display: inline-flex; color: #dcdcdc; }
.f15-stars__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; }
.f15-stars__inner { display: inline-flex; }
.f15-rating-line { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #111; }
.f15-rating-line__avg { font-weight: 700; }
.f15-rating-line__count { color: #111; text-decoration: underline; text-underline-offset: 2px; }
.f15-rating-line--empty { color: #777; font-size: 13px; }

/* 3 · 页头角标 ------------------------------------------------------------- */
.f15-cart-count {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-2px);
}
.f15-cart-count[hidden] { display: none; }

/* 4 · 购物车抽屉 ----------------------------------------------------------- */
.f15-drawer { position: fixed; inset: 0; z-index: 99990; pointer-events: none; }
.f15-drawer.is-open { pointer-events: auto; }
.f15-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, .35);
  opacity: 0;
  transition: opacity .25s ease;
}
.f15-drawer.is-open .f15-drawer__overlay { opacity: 1; }
.f15-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 100%);
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .28s ease;
  box-shadow: -12px 0 40px rgba(0, 0, 0, .12);
}
.f15-drawer.is-open .f15-drawer__panel { transform: translateX(0); }
.f15-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid #eee;
}
.f15-drawer__title { font-size: 16px; margin: 0; letter-spacing: .01em; }
.f15-drawer__close {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; background: transparent; color: #111; cursor: pointer; border-radius: 50%;
}
.f15-drawer__close:hover { background: #f3f3f3; }
.f15-drawer__body { flex: 1 1 auto; overflow-y: auto; padding: 8px 20px; }
.f15-drawer__items { list-style: none; margin: 0; padding: 0; }
.f15-drawer-item {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}
.f15-drawer-item:last-child { border-bottom: 0; }
.f15-drawer-item__media img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; background: #f5f5f5; }
.f15-drawer-item__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.35;
  color: #111;
  text-decoration: none;
  font-weight: 600;
}
.f15-drawer-item__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.f15-drawer-item__price { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.f15-drawer-item__remove { display: inline-block; margin-top: 6px; font-size: 12px; color: #6b6b6b; text-decoration: underline; }
.f15-drawer__empty { padding: 40px 0; text-align: center; }
.f15-drawer__empty-text { font-size: 16px; margin: 0 0 16px; }
.f15-drawer__foot { border-top: 1px solid #eee; padding: 16px 20px 20px; background: #fff; }
.f15-drawer__subtotal { display: flex; align-items: baseline; justify-content: space-between; font-size: 16px; font-weight: 700; }
.f15-drawer__subtotal-value { font-variant-numeric: tabular-nums; }
.f15-drawer__note { margin: 6px 0 14px; font-size: 12px; color: #6b6b6b; }
.f15-drawer__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.f15-drawer__ctas .f15-btn { width: 100%; }
.f15-pay-icons { display: flex; gap: 8px; list-style: none; margin: 14px 0 0; padding: 0; align-items: center; }
.f15-pay-icons img { width: 32px; height: 21px; display: block; }

/* 数量步进 */
.f15-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  overflow: hidden;
  height: 36px;
  background: #fff;
}
.f15-qty--lg { height: 48px; border-radius: 10px; }
.f15-qty__btn {
  width: 36px;
  height: 100%;
  border: 0;
  background: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: #111;
}
.f15-qty--lg .f15-qty__btn { width: 44px; }
.f15-qty__btn:hover { background: #f4f4f4; }
.f15-qty__value, .f15-qty__input {
  min-width: 32px;
  text-align: center;
  font-size: 16px;
  border: 0;
  outline: none;
  background: transparent;
  -moz-appearance: textfield;
  appearance: textfield;
}
.f15-qty__input::-webkit-outer-spin-button,
.f15-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.f15-qty__input { width: 48px; }

/* 5 · 商品栅格（R16/R17：等高、按钮贴底、同排基准线一致） ---------------- */
.collection-v2__grid-container { --grid-columns: 3; --grid-gap: 24px; }
.collection-v2__grid {
  --grid-columns: 3;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px 24px;
}
.collection-v2__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  background: #fff;
}
.collection-v2__card-media { position: relative; overflow: hidden; border-radius: 10px; background: #f6f6f6; }
.collection-v2__card-image-link { display: block; position: relative; aspect-ratio: 1 / 1; }
.collection-v2__card-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .3s ease; }
.collection-v2__card-image--secondary { opacity: 0; }
.collection-v2__card:hover .collection-v2__card-image--secondary { opacity: 1; }
.collection-v2__cta-overlay {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: #fff;
  color: #111;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease;
}
.collection-v2__card:hover .collection-v2__cta-overlay { opacity: 1; transform: translateY(0); }
.collection-v2__card-content { display: flex; flex-direction: column; flex: 1 1 auto; padding-top: 12px; }
.collection-v2__card-title { font-size: 16px; line-height: 1.35; margin: 0 0 6px; }
.collection-v2__card-title a { color: #111; text-decoration: none; }
.collection-v2__card-description { font-size: 13px; line-height: 1.45; color: #5a5a5a; }
.collection-v2__card-description p { margin: 0; }
.collection-v2__card-price__outer { margin-top: 10px; }
.collection-v2__card-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.collection-v2__price-compare { color: #8a8a8a; font-size: 13px; }
.collection-v2__price-sale { font-size: 15px; font-weight: 700; }
.collection-v2__price-suffix { font-size: 12px; color: #6b6b6b; }
.collection-v2__card-price_save_wrapper { display: inline-flex; }
.collection-v2__save-badge {
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: #f1efe7;
  color: #111;
  padding: 3px 8px;
  border-radius: 999px;
}
.collection-v2__card-content__actions { margin-top: auto; padding-top: 14px; display: block !important; }
.collection-v2__card-content__actions .collection-v2__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.collection-v2__card-content__actions .collection-v2__cta:hover { background: #2b2b2b; }

@media (max-width: 989px) {
  .collection-v2__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .collection-v2__cta-overlay { display: none; }
}

/* 6 · PDP 购买区 ----------------------------------------------------------- */
.f15-pdp { padding-top: 24px; }
.f15-pdp__top {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.f15-pdp__gallery { position: sticky; top: 16px; }
.f15-pdp__main-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #f6f6f6;
  aspect-ratio: 1 / 1;
}
.f15-pdp__slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.f15-pdp__slide.is-active { opacity: 1; pointer-events: auto; }
.f15-pdp__slide img { width: 100%; height: 100%; object-fit: cover; }
.f15-pdp__thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; justify-content: flex-start; }
.f15-pdp__thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  box-sizing: border-box;
}
.f15-pdp__thumb.is-active { border: 2px solid #111; }
.f15-pdp__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.f15-pdp__info { display: flex; flex-direction: column; }
.f15-pdp__title { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; margin: 10px 0 14px; letter-spacing: -.01em; }
.f15-pdp__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.f15-pdp__price-now { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.f15-pdp__price-was { color: #8a8a8a; font-size: 16px; }
.f15-pdp__price-save { font-size: 12px; background: #f1efe7; padding: 4px 10px; border-radius: 999px; }

/* ③ 信任徽章：三列等宽，标题 14/加粗，副文 12/灰，上下 16px */
.f15-pdp__badges {
  list-style: none;
  margin: 0 0 22px;
  padding: 16px 0;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  align-items: start;
}
.f15-pdp__badges li { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 16px 0; }
.f15-pdp__badge-title { font-size: 14px; font-weight: 700; line-height: 1.3; }
.f15-pdp__badge-sub { font-size: 12px; line-height: 1.4; color: #6b6b6b; }

.f15-atc { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.f15-option { display: flex; flex-direction: column; gap: 8px; }
.f15-option__label { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: #5a5a5a; }
.f15-option__values { display: flex; flex-wrap: wrap; gap: 8px; }
.f15-option__pill { position: relative; }
.f15-option__pill input { position: absolute; opacity: 0; pointer-events: none; }
.f15-option__pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}
.f15-option__pill input:checked + span { border-color: #111; box-shadow: inset 0 0 0 1px #111; }
.f15-atc__row { display: flex; gap: 12px; align-items: stretch; }
.f15-atc__row .f15-qty--lg { height: 48px; box-sizing: border-box; }
.f15-atc__btn { flex: 1 1 auto; min-height: 48px; height: 48px; box-sizing: border-box; border-radius: 10px; font-size: 16px; }
.f15-atc__note { margin: 0; font-size: 12px; color: #6b6b6b; }
.f15-atc__error { margin: 0; font-size: 13px; color: #b32d2e; }

/* reviews 行：标题与价格下方，13–14px 灰，与星行同一行 */
.f15-pdp__rating { margin: 0 0 18px; font-size: 13px; color: #5a5a5a; line-height: 1.4; }
.f15-pdp__rating .f15-rating-line { font-size: 13px; color: #5a5a5a; gap: 6px; }
.f15-pdp__rating .f15-rating-line__avg { color: #111; }



.f15-acc { border-top: 1px solid #ececec; }
.f15-acc:last-child { border-bottom: 1px solid #ececec; }
.f15-acc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.f15-acc__head::-webkit-details-marker { display: none; }
.f15-acc__icon { position: relative; width: 20px; height: 20px; flex: 0 0 20px; }
.f15-acc__icon:before, .f15-acc__icon:after {
  content: ""; position: absolute; background: #111; transition: transform .18s ease, opacity .18s ease;
}
.f15-acc__icon:before { left: 3px; top: 9px; width: 14px; height: 2px; }
.f15-acc__icon:after { left: 9px; top: 3px; width: 2px; height: 14px; }
.f15-acc[open] .f15-acc__icon:after { transform: rotate(90deg); opacity: 0; }
.f15-acc__body {
  padding: 0 0 18px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  overflow: hidden;
  transition: height .18s ease;
}
.f15-acc__body p { margin: 0 0 8px; }

@media (max-width: 989px) {
  .f15-pdp__top { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .f15-pdp__gallery { position: static; }
  .f15-pdp__badges { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}

/* 7 · 评论区 --------------------------------------------------------------- */
.f15-reviews { padding: 56px 0 24px; border-top: 1px solid #ececec; margin-top: 40px; }
.f15-reviews__title { font-size: clamp(22px, 2.2vw, 30px); text-align: center; margin: 0 0 28px; }
.f15-reviews__summary {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 24px;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  margin-bottom: 28px;
}
.f15-reviews__avg { font-size: 44px; font-weight: 700; line-height: 1; margin-bottom: 6px; }
.f15-reviews__count, .f15-reviews__reco { font-size: 13px; color: #5a5a5a; margin-top: 8px; }
.f15-reviews__breakdown { display: flex; flex-direction: column; gap: 8px; }
.f15-reviews__bar-row { display: grid; grid-template-columns: 38px minmax(0, 1fr) 48px; gap: 10px; align-items: center; font-size: 13px; }
.f15-reviews__bar { height: 8px; background: #eee; border-radius: 999px; overflow: hidden; display: block; }
.f15-reviews__bar-fill { display: block; height: 100%; background: #e8c34a; border-radius: 999px; }
.f15-reviews__bar-count { text-align: right; font-variant-numeric: tabular-nums; color: #5a5a5a; }
.f15-reviews__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.f15-review { border: 1px solid #ececec; border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.f15-review[hidden] { display: none; }
.f15-review__head { display: flex; align-items: center; gap: 10px; }
.f15-review__avatar {
  width: 34px; height: 34px; border-radius: 50%; background: #f1efe7;
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex: 0 0 auto;
}
.f15-review__meta { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.f15-review__name { font-size: 13px; font-weight: 700; }
.f15-review__verified { font-size: 11px; font-weight: 500; color: #1c7a3d; margin-left: 6px; }
.f15-review__date { font-size: 12px; color: #8a8a8a; }
.f15-review__title { margin: 0; font-size: 14px; }
.f15-review__body { margin: 0; font-size: 14px; line-height: 1.55; color: #333; }
.f15-review__helpful { font-size: 12px; color: #8a8a8a; }
.f15-reviews__more { display: flex; justify-content: center; margin-top: 24px; }
.f15-reviews__empty { text-align: center; color: #6b6b6b; }

@media (max-width: 749px) {
  .f15-reviews__summary { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .f15-reviews__list { grid-template-columns: minmax(0, 1fr); }
}

/* 8 · 内容页 / 政策页 ------------------------------------------------------ */
.f15-page { padding: 48px 0 64px; max-width: 820px; margin: 0 auto; }
.f15-page__title { font-size: clamp(26px, 3vw, 38px); margin: 0 0 20px; }
.f15-page__content { font-size: 16px; line-height: 1.7; color: #222; }
.f15-page__content h2 { font-size: 22px; margin: 32px 0 12px; }
.f15-page__content h3 { font-size: 18px; margin: 24px 0 10px; }
.f15-page__content p { margin: 0 0 14px; }
.f15-page__content a { color: #111; text-decoration: underline; }
.f15-page__content img { border-radius: 10px; margin: 12px 0; }
.f15-page__content table { width: 100%; border-collapse: collapse; }
.f15-page__content td, .f15-page__content th { border-bottom: 1px solid #ececec; padding: 10px; text-align: left; }

/* 9 · 购物车页 ------------------------------------------------------------- */
.f15-cart-page { padding: 40px 0 64px; }
.f15-cart-page__title { font-size: clamp(24px, 2.6vw, 32px); margin: 0 0 24px; }
.f15-cart__layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.f15-cart__table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.f15-cart__table th, .f15-cart__table td { padding: 16px 10px; border-bottom: 1px solid #ececec; vertical-align: middle; }
.f15-cart__table th { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #6b6b6b; text-align: left; }
.f15-cart__th-product { width: 44%; }
.f15-cart__th-price { width: 14%; }
.f15-cart__th-qty { width: 18%; }
.f15-cart__th-subtotal { width: 18%; text-align: right !important; }
.f15-cart__th-remove { width: 6%; }
.f15-cart__product-inner { display: flex; align-items: center; gap: 14px; min-width: 0; }
.f15-cart__thumb img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; background: #f5f5f5; display: block; }
.f15-cart__name { font-size: 15px; font-weight: 600; color: #111; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.f15-cart__price, .f15-cart__subtotal { font-size: 15px; font-variant-numeric: tabular-nums; }
.f15-cart__subtotal { text-align: right; font-weight: 600; }
.f15-cart__remove { text-align: right; }
.f15-cart__remove-link { font-size: 20px; color: #111; text-decoration: none; line-height: 1; }
.f15-cart__qty .quantity { display: inline-flex; }
.f15-cart__qty input.qty { width: 64px; height: 44px; border: 1px solid #dcdcdc; border-radius: 8px; text-align: center; font-size: 16px; }
.f15-cart__actions { display: flex; justify-content: flex-end; margin-top: 18px; }
.f15-cart__summary { border: 1px solid #e6e6e6; border-radius: 12px; padding: 20px; position: sticky; top: 16px; background: #fff; }
.f15-cart__summary-title { font-size: 16px; margin: 0 0 14px; }
.f15-cart__totals-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f1f1f1; font-size: 14px; font-variant-numeric: tabular-nums; }
.f15-cart__totals-row:last-child { border-bottom: 0; }
.f15-cart__totals-row--total { border-top: 1px solid #e6e6e6; border-bottom: 0; margin-top: 6px; padding-top: 14px; font-size: 16px; font-weight: 700; }
.f15-cart__checkout { width: 100%; margin-top: 14px; min-height: 48px; border-radius: 10px; }
.f15-cart__note { font-size: 12px; color: #6b6b6b; margin: 10px 0 0; }
.f15-cart__empty { padding: 48px 0; text-align: center; }
.f15-cart__empty-text { font-size: 18px; margin: 0 0 18px; }
@media (max-width: 989px) {
  .f15-cart__layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .f15-cart__summary { position: static; }
  .f15-cart__table thead { display: none; }
  .f15-cart__table, .f15-cart__table tbody, .f15-cart__table tr, .f15-cart__table td { display: block; width: 100%; }
  .f15-cart__row { border-bottom: 1px solid #ececec; padding: 14px 0; }
  .f15-cart__table td { border-bottom: 0; padding: 4px 0; }
  .f15-cart__price::before { content: attr(data-title) ": "; color: #6b6b6b; font-size: 12px; }
  .f15-cart__subtotal { text-align: left; }
  .f15-cart__remove { text-align: left; }
}

/* 10 · 源站下拉菜单（Alpine → 原生）：打开态 ------------------------------ */
#menu-drawer-tabs { display: none; }
#menu-drawer-tabs.drawer-open { display: block; }
body.drawer-tabs-open { overflow: hidden; }
.menu-drawer-tabs_tab-panel { display: none; }
.menu-drawer-tabs_tab-panel.is-active { display: block; }
.menu-drawer-tabs_group.is-open .menu-drawer-tabs_group-list { display: block; }

/* 搜索抽屉 */
#f15-search-drawer { display: none; }
#f15-search-drawer.is-open { display: block; }

/* 搜索面板（自建，源站 search-drawer 运行时已剥离） */
.f15-search-drawer {
  position: fixed;
  inset: 0;
  z-index: 99970;
  background: rgba(255, 255, 255, .98);
  display: none;
  padding: 80px 16px 32px;
  overflow-y: auto;
}
.f15-search-drawer.is-open { display: block; }
.f15-search-drawer__inner { max-width: 720px; margin: 0 auto; position: relative; }
.f15-search-drawer__close {
  position: absolute;
  right: 0;
  top: -48px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #111;
}
.f15-search { display: flex; gap: 10px; }
.f15-search__input {
  flex: 1 1 auto;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  font-size: 16px;
}
.f15-search__btn { min-width: 120px; border-radius: 10px; }
.f15-search__popular { margin-top: 26px; }
.f15-search__popular-title { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #6b6b6b; margin: 0 0 10px; }
.f15-search__popular-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.f15-search__popular-list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #dcdcdc;
  border-radius: 999px;
  font-size: 14px;
  color: #111;
  text-decoration: none;
}
#f15-search-close { display: none; }
.f15-search-drawer.is-open #f15-search-close { display: block; }

/* 页脚 WP 菜单（后台可改） */
.f15-footer-nav ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 18px 24px; justify-content: center; }
.f15-footer-nav a { font-size: 13px; color: inherit; text-decoration: none; }
.f15-footer-nav a:hover { text-decoration: underline; }

/* 11 · 源站 section 里被移除运行时后需要补的可见性 ------------------------- */
.hero-banner__video video, video[data-f15-video] { width: 100%; height: 100%; object-fit: cover; }
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }

/* 源站由 JS 给的 AOS 初始态：避免首屏留白 */
[data-aos] { opacity: 1 !important; transform: none !important; }

/* 12 · 页脚 newsletter 表单（WP 版） -------------------------------------- */
.f15-newsletter { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.f15-newsletter input[type="email"] {
  flex: 1 1 220px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  font-size: 16px;
}
.f15-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  background: #111; color: #fff; padding: 12px 18px; border-radius: 999px;
  font-size: 13px; z-index: 99999;
}

/* 13 · 横向溢出保护（R17 / 390 三档） ------------------------------------ */
@media (max-width: 749px) {
  .page-width { padding-left: 16px; padding-right: 16px; }
  .f15-pdp__thumbs { max-width: 100%; }
}

/* 14 · 源站横向 rail：内部滚动，不撑破页面 ------------------------------- */
.benefits-section,
.pdp-hotspot__tabs,
.tabs-section__tabs,
.team-slider,
.image-with-text-carousel__swiper {
  max-width: 100%;
}
.benefits-section { overflow-x: auto; }
.benefits-section > * { flex-shrink: 0; }
body { overflow-x: clip; }

/* 15 · 同组 tab / 按钮等高等宽（R16 判据：top 差 ≤1px、height 差 ≤1px） */
.pdp-hotspot__tabs,
.tabs-section__tabs,
.team-section__tabs {
  display: flex !important;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 8px;
}
.pdp-hotspot__tabs > *,
.tabs-section__tabs > *,
.team-section__tabs > * {
  display: flex;
  align-items: stretch;
}
.pdp-hotspot__tabs button,
.tabs-section__tabs button,
.team-section__tabs button,
.pdp-hotspot__tab,
.tabs-section__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  height: 100%;
  padding: 8px 16px;
  line-height: 1.2;
}

/* 移动端：同组 tab 单行横滚（不换行 → 顶边一致；整页不溢出） */
@media (max-width: 989px) {
  .pdp-hotspot__tabs,
  .tabs-section__tabs,
  .team-section__tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .pdp-hotspot__tabs::-webkit-scrollbar,
  .tabs-section__tabs::-webkit-scrollbar { display: none; }
  .pdp-hotspot__tabs > *,
  .tabs-section__tabs > *,
  .team-section__tabs > * { flex: 0 0 auto; }
}



/* 源站 search drawer 的关闭按钮（运行时已剥离，隐藏避免重复 id/孤立图标） */
#header-actions_search #close-header-search, #header-search #close-header-search { display: none !important; }

/* 源站 search drawer 自带关闭键（无 class，运行时已剥离）——全局隐藏，避免死按钮 */
#close-header-search { display: none !important; }

/* 搜索建议（点即搜，源站 search-bar__suggestion 同款行为） */
.f15-search__suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.search-bar__suggestion { border: 1px solid #e2e2e2; background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 14px; color: #111; cursor: pointer; }
.search-bar__suggestion:hover { background: #f4f4f4; }

/* 轮播箭头 / 视频键 / cookie 同意条（源站运行时组件的静态替代） */
.f15-carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid #dcdcdc; background: rgba(255,255,255,.92); color: #111; font-size: 22px; line-height: 1; cursor: pointer; }
.f15-carousel-prev { left: 8px; }
.f15-carousel-next { right: 8px; }
.image-with-text-carousel { position: relative; }
.f15-video-toggle { position: absolute; left: 24px; bottom: 24px; z-index: 5; min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 0; background: #fff; color: #111; font-weight: 600; cursor: pointer; }
.f15-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 99960; background: #111; color: #fff;
  border-radius: 12px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.f15-consent__text { margin: 0; font-size: 13px; line-height: 1.45; max-width: 62ch; }
.f15-consent__actions { display: flex; gap: 8px; flex-wrap: nowrap; align-items: center; overflow-x: auto; }
.f15-consent__btn { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.5);
  background: transparent; color: #fff; font-size: 13px; cursor: pointer; }
.f15-consent__btn:hover { background: rgba(255,255,255,.12); }
.f15-consent__close { width: 40px; padding: 0; font-size: 18px; }
/* 轮播初始化态（箭头真实位移；供扫描器识别为已初始化） */
.f15-carousel-ready .swiper-wrapper { will-change: transform; }
.image-with-text-carousel__swiper { overflow: hidden; }

/* hidden 属性必须真的隐藏（display:flex 会覆盖 UA 的 [hidden]）——否则透明浮层吃点击 */
.f15-consent[hidden], .f15-drawer[hidden] { display: none !important; }

/* 首页「Healthy aging breakthrough」视频播放器（源站 iframe-wrapper 位置内联播放） */
.iframe-wrapper { position: relative; }
.f15-video-stage {
  position: absolute; inset: 0; z-index: 4; background: #000;
  display: flex; align-items: center; justify-content: center;
  border-radius: inherit; overflow: hidden;
}
.f15-video-stage[hidden] { display: none !important; }
.f15-video { width: 100%; height: 100%; max-width: 100%; object-fit: contain; background: #000; display: block; }
.f15-video-close {
  position: absolute; top: 12px; right: 12px; z-index: 6;
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(0, 0, 0, .55); color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
}
.f15-video-close:hover { background: rgba(0, 0, 0, .75); }
@media (max-width: 749px) {
  .f15-video-stage { position: absolute; inset: 0; }
  .f15-video { width: 100%; height: 100%; }
}
/* iframe-wrapper（源站由 JS 给高度）：按海报比例给出真实高度，播放键才落在容器内 */
.iframe-wrapper { position: relative; width: 100%; aspect-ratio: 1920 / 1052; overflow: hidden; border-radius: inherit; }
.iframe-wrapper__poster { position: absolute; inset: 0; }
.iframe-wrapper__poster[hidden] { display: none !important; }
.iframe-wrapper__image { width: 100%; height: 100%; object-fit: cover; display: block; }
.iframe-wrapper__icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; }
@media (max-width: 749px) { .iframe-wrapper { aspect-ratio: 4 / 3; } }