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

body {
  background-color: #f5f5f5;
  font-family: "Microsoft YaHei", system-ui, sans-serif;
}

.page-shell {
  max-width: 750px;
  margin: 0 auto;
  background: #ffffff;
  min-height: 100vh;
}

/* ===== 顶部红色头部 ===== */
.hero {
  background: linear-gradient(145deg, #b90f12, #9e0d10);
  color: #fff;
  padding: 20px 15px 28px;
  text-align: center;
  border-radius: 0 0 30px 30px;
}

.brand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 14px;
}

.badge {
  background: #ffcc00;
  color: #b90f12;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 12px;
}

.eyebrow {
  display: inline-block;
  background-color: #ffcc00;
  color: #b90f12;
  font-size: 14px;
  padding: 4px 16px;
  border-radius: 30px;
  margin-bottom: 12px;
  font-weight: 600;
}

.hero h1 {
  font-size: 26px;
  line-height: 1.4;
}

.hero h1 em {
  color: #ffcc00;
  font-size: 28px;
  font-style: normal;
}

.hero-copy {
  font-size: 15px;
  opacity: 0.95;
  margin: 10px 0 0;
}

/* ===== 产品选择区域 ===== */
.selector {
  padding: 20px 15px 10px;
}

#campaign-title {
  font-size: 20px;
  color: #1f1a18;
  margin-bottom: 4px;
  text-align: center;
}

.selector-note {
  font-size: 13px;
  color: #888;
  margin-bottom: 18px;
  text-align: center;
}

/* ===== 产品卡片：左图右介绍 ===== */
.product-single {
  background: #fcfaf9;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #eee8e2;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.product-inner {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
}

/* ---- 左侧：产品图（图片完整显示） ---- */
.product-image-wrapper {
  flex: 0 0 50%;
  position: relative;
  aspect-ratio: 1/1;
  background: #e8e0da;
  overflow: hidden;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 关键修改：使用 object-fit: contain 让图片完整显示 */
.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;  /* 改为 contain，完整显示图片 */
  object-position: center;
  background-color: #f5f2ef;
  padding: 12px;        /* 给图片留一点边距，更美观 */
  transition: transform 0.3s;
}

.product-single:hover .product-image {
  transform: scale(1.02);
}

/* 如果图片加载失败，显示占位背景 */
.product-image[src=""] {
  opacity: 0;
}

.free-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #b90f12;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(185,15,18,0.35);
  letter-spacing: 0.5px;
  z-index: 2;
}

/* ---- 右侧：产品介绍 ---- */
.product-meta {
  flex: 0 0 50%;
  padding: 20px 18px 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fcfaf9;
  min-height: 240px;
}

.product-meta h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1f1a18;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.product-meta h3 small {
  font-size: 12px;
  background: #f0ebe7;
  color: #5f534b;
  padding: 2px 14px;
  border-radius: 40px;
  font-weight: 500;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 0;
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
}

.feature-list li {
  font-size: 12.5px;
  color: #2d2521;
  padding: 3px 0;
  position: relative;
  padding-left: 0;
  width: 100%;
  line-height: 1.6;
  border-bottom: 1px dashed #f0ebe7;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: "✦";
  color: #b90f12;
  margin-right: 6px;
  font-size: 11px;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.price-free {
  font-size: 26px;
  font-weight: 800;
  color: #b90f12;
}

.price-free small {
  font-size: 14px;
  font-weight: 500;
  color: #b90f12;
  margin-left: 2px;
}

.price-original {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-tags span {
  background: #f0ebe7;
  padding: 3px 14px;
  border-radius: 40px;
  font-size: 12px;
  color: #3f3631;
  border: 1px solid #e5dcd6;
}

.product-grid {
  display: none;
}

/* ===== 福利四栏 ===== */
.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px 15px 8px;
}

.benefits div {
  background: linear-gradient(145deg, #b90f12, #a00e11);
  color: #fff;
  text-align: center;
  padding: 12px 8px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(185,15,18,0.15);
}

.benefits strong {
  display: block;
  font-size: 16px;
}

.benefits span {
  font-size: 12px;
  opacity: 0.9;
}

/* ===== 微信按钮 ===== */
.wechat-button {
  width: calc(100% - 30px);
  margin: 8px 15px 10px;
  background: #07c160;
  color: #ffffff;
  border: none;
  border-radius: 60px;
  padding: 16px 0;
  font-size: 17px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 24px rgba(7, 193, 96, 0.30);
  transition: 0.15s;
}

.wechat-button:active {
  transform: scale(0.97);
  background: #06ad56;
}

.wechat-icon {
  font-weight: 700;
  background: #fff;
  color: #07c160;
  padding: 4px 14px;
  border-radius: 40px;
  font-size: 14px;
}

.wechat-button strong {
  font-weight: 700;
}

.wechat-button small {
  display: block;
  font-size: 12px;
  opacity: 0.8;
  font-weight: 400;
}

.auto-jump-tip {
  font-size: 14px;
  color: #b90f12;
  padding: 4px 0 8px;
  text-align: center;
}

/* ===== 页脚 ===== */
footer {
  margin-top: 30px;
  padding: 20px 15px;
  background: #1f1a18;
  color: #999;
  font-size: 12px;
  text-align: center;
  line-height: 1.8;
}

footer strong {
  display: block;
  color: #ddd;
  margin-bottom: 4px;
  font-size: 14px;
}

/* ===== 响应式 ===== */
@media (max-width: 550px) {
  .product-inner {
    flex-direction: column;
  }

  .product-image-wrapper {
    flex: none;
    width: 100%;
    aspect-ratio: 1/1;
    min-height: auto;
  }

  .product-meta {
    flex: none;
    width: 100%;
    padding: 16px 16px 18px;
    min-height: auto;
  }

  .product-meta h3 {
    font-size: 18px;
  }

  .price-free {
    font-size: 24px;
  }

  .feature-list li {
    font-size: 13px;
    width: 100%;
  }

  .hero h1 {
    font-size: 20px;
  }
  .hero h1 em {
    font-size: 22px;
  }
}

/* ===== 针对正方形的图片优化 ===== */
@media (min-width: 551px) {
  .product-image-wrapper {
    aspect-ratio: 1/1;
  }
}