/* ============================================================
 * landing.css - 落地页样式 v2.0
 * ------------------------------------------------------------
 * 【日本专属版 (JP Only)】
 * 颜色规范：
 *   售价：#FC1E3D    原价(划线)：#333333    按钮主色：#F53851
 * 全局字体：Poppins / Arial / sans-serif
 * ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&display=swap');

:root {
  --theme: #F53851;              /* 主行动按钮色 */
  --theme-dark: #d42e44;
  --theme-soft: #ffe9ec;
  --price-red: #FC1E3D;          /* 售价 */
  --orig-dark: #333333;          /* 划线原价 */
  --text: #222;
  --text-soft: #555;
  --text-hint: #666;
  --border: #eee;
  --footer-bg: #f7f7f7;
  --footer-text: #666;
  --footer-h: #333;
  --footer-line: #e6e6e6;
}

body {
  background: #f5f5f5;
  max-width: 640px;
  margin: 0 auto;
  padding-bottom: 68px;
  font-family: 'Poppins', 'Arial', sans-serif;
  font-weight: 400;
}

/* ============ 轮播 v2.0 ==== ======== */
.carousel { background: #fff; position: relative; }
.main-track {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.main-track .slide {
  position: absolute; top: 0; left: 0;
  width: 100%;
  opacity: 0; transition: opacity .25s;
}
.main-track .slide.active { position: relative; opacity: 1; }
.main-track .slide img {
  width: 100%; height: auto; display: block;
}
/* 分数型分页器 */
.carousel-counter {
  position: absolute;
  bottom: 12px; left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 10px;
  z-index: 5;
  pointer-events: none;
  letter-spacing: 1px;
}
.thumb-row {
  display: flex; gap: 6px;
  overflow-x: auto;
  padding: 6px 10px;
  scrollbar-width: none;
}
.thumb-row::-webkit-scrollbar { display: none; }
.thumb {
  flex: 0 0 52px;
  height: 52px;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.5);
  pointer-events: none;
}
.thumb.active { border-color: var(--theme); }
.thumb.active::after { opacity: 0; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ============ 价格促销横幅 (clip-path 红底+金色丝带) ============ */
.price-promo-banner {
  background-color: #F13E55;
  color: #ffffff;
  padding: 8px 22px;
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 10px 4px;
  position: relative;
}
.price-info { display: flex; flex-direction: column; }
.price-info .current-price {
  font-size: 22px; font-weight: 800; line-height: 1.2;
  color: #fff;
}
.price-info .current-price .currency {
  font-size: 14px; margin-left: 3px; font-weight: 700;
}
.price-info .regular-price {
  font-size: 11px;
  color: rgba(255,255,255,0.85); margin-top: 2px;
}
.price-info .regular-price .orig {
  text-decoration: line-through;
}
.ribbon-badge {
  background-color: #E6B422;
  color: #5C0000;
  font-weight: 900; font-size: 13px;
  padding: 6px 10px 6px 18px;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%);
  position: relative; right: -5px;
  box-shadow: -2px 2px 5px rgba(0,0,0,0.1);
  white-space: nowrap;
}

/* ============ 商品信息 ============ */
.prod-info {
  background: #fff;
  padding: 14px 14px 12px;
  border-bottom: 8px solid #f5f5f5;
}
.prod-name {
  font-size: 17px; margin: 0 0 4px; line-height: 1.4;
  font-weight: 700; color: var(--text);
}
.prod-sub {
  color: var(--text-soft); font-size: 13px; margin: 0 0 8px;
}
.stats {
  display: flex; justify-content: space-between;
  color: #888; font-size: 12px;
}

/* ============ 套餐（SALE：一行两个，红字） ============ */
.pkg-mini {
  background: #fff;
  padding: 8px 14px;
  border-bottom: 1px solid #f4f4f4;
  font-size: 14px;
}
.pkg-row {
  display: flex;
  align-items: center;
}
.pkg-row-top {
  justify-content: flex-start;
  gap: 6px;
}
.pkg-row-bot {
  justify-content: space-between;
  margin-top: 4px;
  padding-left: 52px;
}
.pkg-row-two {
  justify-content: space-between;
}
.pkg-mini-h {
  font-weight: 800; color: #FC1E3D; font-size: 14px;
}
.pkg-item {
  font-size: 14px; color: #FC1E3D; font-weight: 600;
}

/* ============ 信任单行 ============ */
.trust-line {
  background: #fff;
  padding: 8px 14px;
  font-size: 13px; color: #333;
  text-align: center;
  border-bottom: 8px solid #f5f5f5;
  font-weight: 600;
}
.trust-line .sp { color: #ccc; margin: 0 4px; }

/* ============ 评论（大幅压缩） ============ */
.reviews {
  background: #fff;
  padding: 6px 14px;
  border-bottom: 8px solid #f5f5f5;
}
.review-scroll {
  display: flex; gap: 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.review-scroll::-webkit-scrollbar { display: none; }
.review-card {
  flex: 0 0 70%;
  scroll-snap-align: start;
  background: #fafafa;
  border-radius: 6px;
  padding: 8px;
}
.rv-head { display: flex; gap: 6px; align-items: center; }
.rv-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #F53851;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 10px;
  flex-shrink: 0;
}
.rv-name { flex: 1; font-size: 12px; font-weight: 700; }
.rv-stars { font-size: 11px; color: #ddd; white-space: nowrap; }
.rv-stars .on { color: #ffb400; }
.rv-text { margin-top: 3px; font-size: 13px; color: #555; line-height: 1.4; }
.rv-img { margin-top: 5px; display: flex; gap: 6px; flex-wrap: wrap; }
.rv-img-wrap { position: relative; display: inline-block; line-height: 0; }
.rv-img-wrap img {
  width: 75px; height: 75px;
  object-fit: cover; border-radius: 6px; background: #eee;
}
.rv-zoom {
  position: absolute; right: 4px; bottom: 4px;
  width: 20px; height: 20px;
  border-radius: 4px;
  background: rgba(0,0,0,0.4);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.rv-zoom svg { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 2; }

/* 通用图片放大 lightbox */
.img-lightbox {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,0.85);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.img-lightbox img { max-width: 92%; max-height: 92%; object-fit: contain; border-radius: 8px; }

/* ============ 详情 ============ */
.detail-section {
  background: #fff;
  padding: 14px;
}
.detail-html img,
.detail-html video,
.detail-html iframe { max-width: 100%; height: auto; display: block; margin: 0; }
.detail-html p { line-height: 1.7; }

/* ============ 页脚 ============ */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 20px 15px;
  font-size: 11px; line-height: 1.8;
}
.ft-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 15px;
  padding-bottom: 14px; border-bottom: 1px solid var(--footer-line);
}
.ft-col { min-width: 0; }
.ft-col h4.ft-h {
  margin: 0 0 6px 0; font-size: 13px; font-weight: 700;
  color: var(--footer-h);
}
.ft-col a { display: block; font-size: 12px; color: var(--footer-text); line-height: 1.8; text-decoration: none; }
.ft-bottom { text-align: center; padding-top: 12px; }
.ft-logo { display: block; max-width: 120px; height: auto; margin: 15px auto 10px; }
.ft-pays { display: flex; justify-content: center; gap: 6px; margin: 6px auto 8px; flex-wrap: wrap; }
.pay-ic { display: inline-block; font-size: 9px; font-weight: 700; color: #555; background: #fff; border: 1px solid #ddd; border-radius: 3px; padding: 3px 6px; letter-spacing: .5px; line-height: 1; }
.pay-visa { color: #1a1f71; }
.pay-mc   { color: #eb001b; }
.pay-jcb  { color: #0e4c96; }
.pay-amex { color: #2e77bb; }
.ft-copy { font-size: 10px; color: #999; margin-top: 4px; }

/* ============ 悬浮按钮 ============ */
.float-btns {
  position: fixed; right: 12px; bottom: 92px;
  display: flex; flex-direction: column; gap: 10px; z-index: 100;
  align-items: flex-end;
}
.fb {
  display: flex; align-items: center; justify-content: center;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.fb-line {
  width: 46px; height: 46px;
  border-radius: 50%;
  margin-bottom: 6px;
}
.fb-line svg { width: 22px; height: 22px; display: block; }
.fb-top {
  width: 36px; height: 36px;
  font-size: 18px; color: #555; font-weight: 700;
}

/* ============ Sticky CTA v2.0 ============ */
.sticky-cta {
  position: fixed; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%; max-width: 640px;
  background: #fff;
  border-top: 1px solid #eee;
  display: flex; align-items: stretch;
  z-index: 99;
  box-shadow: 0 -2px 8px rgba(0,0,0,.06);
}
.cta-track {
  flex: 0 0 62px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px; color: #555; font-size: 11px; padding: 3px 4px;
  border-right: 1px solid #f0f0f0;
}
.cta-track-ic { width: 18px; height: 18px; line-height: 1; }
.cta-track-ic svg { width: 18px; height: 18px; display: block; }
.cta-track-tx { line-height: 1.1; }
.cta-buy {
  flex: 1;
  background: #F53851;
  color: #fff;
  font-weight: 900; font-size: 16px;
  text-align: center; padding: 11px 10px;
  display: flex; align-items: center; justify-content: center;
  gap: 7px;
  border-radius: 50px; margin: 6px 8px 6px 4px;
  letter-spacing: .3px;
}
.cta-buy .cart-icon { width: 18px; height: 18px; flex-shrink: 0; }
.cta-buy:active { background: var(--theme-dark); }
