/* ============================================================
   独立页面（估价 / 资讯 / 商品详情 / 平台介绍）
   ============================================================ */

.page-wrap {
  padding: 8px 0 28px;
}

.pg-card {
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(31, 45, 96, .04);
}

.pg-card + .pg-card {
  margin-top: 12px;
}

.pg-h2 {
  color: #1f2430;
  font-size: 16px;
  font-weight: 600;
}

.pg-sub {
  margin-top: 6px;
  color: #8a90a0;
  font-size: 12px;
  line-height: 1.6;
}

/* 表单 */
.pg-field {
  display: block;
  margin-top: 14px;
  color: #666;
  font-size: 12px;
}

.pg-field input,
.pg-field select,
.pg-field textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 0 12px;
  border: 1px solid #e3e7f0;
  border-radius: 10px;
  background: #fff;
  color: #333;
  font-size: 14px;
  outline: 0;
}

.pg-field input,
.pg-field select {
  height: 42px;
}

.pg-field textarea {
  padding: 10px 12px;
  line-height: 1.5;
  resize: none;
}

.pg-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  text-align: center;
  margin-top: 16px;
  border: 0;
  border-radius: 10px;
  background: #5468ff;
  color: #fff;
  font-size: 15px;
}

.pg-btn--ghost {
  background: #eef1ff;
  color: #5468ff;
}

.pg-btn:disabled {
  opacity: .6;
}

/* 估价结果 */
.pg-result {
  margin-top: 14px;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eef1ff, #f8f9ff);
  text-align: center;
}

.pg-result__label {
  color: #8a90a0;
  font-size: 12px;
}

.pg-result__price {
  margin-top: 6px;
  color: #5468ff;
  font-size: 26px;
  font-weight: 700;
}

.pg-result__tip {
  margin-top: 8px;
  color: #a6acbb;
  font-size: 11px;
}

.pg-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f2f4f9;
  color: #666;
  font-size: 13px;
}

.pg-row:last-child {
  border-bottom: 0;
}

.pg-row b {
  color: #1f2430;
  font-weight: 500;
  text-align: right;
}

/* 资讯 */
.news-item {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid #f2f4f9;
}

.news-item:last-child {
  border-bottom: 0;
}

.news-item__title {
  color: #1f2430;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.news-item__meta {
  margin-top: 6px;
  color: #a6acbb;
  font-size: 11px;
}

.news-item__tag {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 6px;
  border-radius: 5px;
  background: #eef1ff;
  color: #5468ff;
  font-size: 10px;
}

.article h2 {
  color: #1f2430;
  font-size: 18px;
  line-height: 1.5;
}

.article__meta {
  margin-top: 8px;
  color: #a6acbb;
  font-size: 11px;
}

.article p {
  margin-top: 12px;
  color: #444;
  font-size: 14px;
  line-height: 1.8;
}

/* 商品详情 */
.goods-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  border-radius: 16px;
  background: linear-gradient(135deg, #5b6bff, #8f5bff);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
}

.goods-price {
  margin-top: 12px;
  color: #ff5a3c;
  font-size: 26px;
  font-weight: 700;
}

.goods-price small {
  font-size: 13px;
  font-weight: 400;
}

.goods-title {
  margin-top: 6px;
  color: #1f2430;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.goods-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.goods-tags span {
  padding: 3px 8px;
  border-radius: 6px;
  background: #f2f4fa;
  color: #6b7280;
  font-size: 11px;
}

.goods-actions {
  position: sticky;
  bottom: 12px;
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.goods-actions .pg-btn {
  margin-top: 0;
}

/* 平台介绍 */
.intro-hero {
  padding: 26px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #5468ff, #7a5bff);
  color: #fff;
}

.intro-hero h2 {
  font-size: 20px;
  font-weight: 700;
}

.intro-hero p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  opacity: .9;
}

.intro-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.intro-step {
  padding: 14px 12px;
  border-radius: 12px;
  background: #f7f8fc;
}

.intro-step b {
  display: block;
  color: #5468ff;
  font-size: 18px;
}

.intro-step span {
  display: block;
  margin-top: 4px;
  color: #666;
  font-size: 12px;
  line-height: 1.5;
}

.goods-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
}

.sell-preview {
  display: block;
  width: 100%;
  margin-top: 10px;
  border-radius: 10px;
}

.cl-search {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #e3e7f0;
  border-radius: 10px;
  font-size: 14px;
  outline: 0;
}

.cl-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.cl-card {
  display: block;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(31, 45, 96, .04);
}

.cl-card__img,
.cl-card__ph {
  width: 100%;
  height: 96px;
  border-radius: 8px;
  object-fit: cover;
}

.cl-card__ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #5b6bff, #8f5bff);
  color: #fff;
  font-size: 14px;
}

.cl-card__title {
  margin-top: 8px;
  color: #1f2430;
  font-size: 13px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cl-card__meta {
  margin-top: 4px;
  color: #a6acbb;
  font-size: 11px;
}

.cl-card__price {
  margin-top: 6px;
  color: #ff5a3c;
  font-size: 16px;
  font-weight: 700;
}

.cl-empty {
  padding: 40px 0;
  color: #a6acbb;
  font-size: 13px;
  text-align: center;
}
