/* 设计稿基准 375px，rem 换算见 js/rem.js */

body {
  background: #f7f8fa;
  color: #1a1b1f;
}

html.is-wechat-browser .page {
  display: none;
}

.wechat-browser-mask {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.3rem;
  background: #fff;
}

html.is-wechat-browser .wechat-browser-mask {
  display: flex;
}

.wechat-open-guide {
  width: 100%;
  max-width: 3.2rem;
  color: #1a1b1f;
}

.wechat-open-guide__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.07rem;
  width: 0.68rem;
  height: 0.68rem;
  margin: 0 auto 0.24rem;
  border-radius: 50%;
  background: #111;
}

.wechat-open-guide__icon i {
  width: 0.08rem;
  height: 0.08rem;
  border-radius: 50%;
  background: #fff;
}

.wechat-open-guide h1 {
  margin: 0;
  color: #111;
  font-size: 0.22rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.wechat-open-guide__steps {
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
  margin: 0.34rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: guide-step;
}

.wechat-open-guide__steps li {
  display: flex;
  align-items: center;
  min-height: 0.58rem;
  padding: 0.12rem 0.16rem;
  border: 0.01rem solid #e0e2e8;
  border-radius: 0.06rem;
  background: #f8f9fb;
  font-size: 0.16rem;
  font-weight: 500;
  line-height: 1.5;
  counter-increment: guide-step;
}

.wechat-open-guide__steps li::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 0.28rem;
  height: 0.28rem;
  margin-right: 0.12rem;
  border-radius: 50%;
  background: #111;
  color: #fff;
  content: counter(guide-step);
  font-size: 0.14rem;
  font-weight: 600;
}

.wechat-open-guide__tips {
  margin-top: 0.28rem;
  padding: 0.14rem 0.16rem;
  border: 0.01rem solid #dfe3f0;
  border-radius: 0.06rem;
  color: #43557e;
}

.wechat-open-guide__tips p {
  display: flex;
  align-items: flex-start;
  gap: 0.1rem;
  margin: 0;
  font-size: 0.14rem;
  line-height: 1.6;
}

.wechat-open-guide__tips p + p {
  margin-top: 0.16rem;
}

.wechat-open-guide__tips strong {
  flex: 0 0 auto;
  color: #2748a8;
  font-weight: 600;
}

.page {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  min-height: 100vh;
  padding-bottom: env(safe-area-inset-bottom);
}

.page-status {
  margin: 0.08rem 0.15rem 0.2rem;
  color: #b3161b;
  font-size: 0.13rem;
  text-align: center;
}

/* 商品主图 */
.gallery {
  width: 100%;
  height: 3.75rem;
  background: #fff;
  overflow: hidden;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 标题描述 */
.product-intro {
  padding: 0.23rem 0.15rem 0;
}

.product-title {
  font-size: 0.18rem;
  font-weight: 700;
  line-height: 1.35;
  color: #1a1b1f;
  margin-bottom: 0.08rem;
}

.product-desc {
  font-size: 0.13rem;
  line-height: 1.55;
  color: #5f5e5e;
}

/* 认证评估价卡片 */
.price-card {
  margin: 0.08rem 0.1rem 0;
  padding: 0.14rem 0.15rem;
  border-radius: 0.08rem;
  background: #b3161b;
  color: #fff;
}

.price-label {
  display: block;
  font-size: 0.12rem;
  line-height: 1;
  opacity: 0.85;
  margin-bottom: 0.06rem;
}

.price-value {
  display: flex;
  align-items: baseline;
  gap: 0.04rem;
}

.price-symbol {
  font-size: 0.16rem;
  font-weight: 600;
}

.price-num {
  font-size: 0.28rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.005rem;
}

/* 信息卡片 */
.info-card {
  margin: 0.1rem 0.1rem 0;
  padding: 0.14rem 0.15rem;
  border-radius: 0.08rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.06rem;
}

.info-card--full {
  margin-top: 0.15rem;
}

.info-row {
  display: flex;
  gap: 0.1rem;
  padding: 0 0.1rem;
  margin-top: 0.1rem;
}

.info-card--half {
  flex: 1;
  margin: 0;
}

.info-label {
  font-size: 0.12rem;
  line-height: 1.3;
  color: #5f5e5e;
}

.info-value {
  font-size: 0.16rem;
  font-weight: 600;
  line-height: 1.3;
  color: #1a1b1f;
}

/* 规格参数 */
.spec-card {
  margin: 0.15rem 0.1rem 0.2rem;
  padding: 0.15rem 0.15rem 0.04rem;
  border-radius: 0.08rem;
  background: #fff;
}

.spec-title {
  font-size: 0.16rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1b1f;
  margin-bottom: 0.04rem;
}

.spec-list {
  display: flex;
  flex-direction: column;
}

.spec-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.12rem;
  padding: 0.15rem 0;
  border-bottom: 0.01rem solid #eee;
}

.spec-item:first-child {
  border-bottom-color: #e4beb9;
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-label {
  flex-shrink: 0;
  font-size: 0.13rem;
  line-height: 1.4;
  color: #5f5e5e;
}

.spec-value {
  text-align: right;
  font-size: 0.13rem;
  font-weight: 600;
  line-height: 1.4;
  color: #1a1b1f;
}
