
/* ===== DREAMS 页面整体：沿用原始模板样式 ===== */
.dreams-page {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 0 35px;
  color: #191919;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}
.dreams-page *,
.dreams-page *::before,
.dreams-page *::after {
  box-sizing: border-box;
}
/* ===== 顶部标题与介绍 ===== */
.dreams-intro {
  display: block;
  width: 100%;
  text-align: center !important;
  margin: 0 auto 28px;
  padding: 0 12px;
}
.dreams-page .dreams-intro-text,
.dreams-page p.dreams-intro-text {
  display: block !important;
  width: 100% !important;
  max-width: 920px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  text-align: center !important;
}
.dreams-intro-label {
  margin: 0 0 12px;
  color: #191919;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.dreams-intro-text {
  max-width: 920px;
  margin: 0 auto;
  color: #555;
  font-size: 15px;
  line-height: 1.8;
}
/* ===== 第一部分：8 个产品卡片 ===== */
.dreams-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin-bottom: 48px;
}
.dreams-product {
  min-width: 0;
  min-height: 350px;
  padding: 12px 8px 10px;
  border: 1px solid #dedede;
  border-radius: 7px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.dreams-product-title {
  width: 100%;
  min-height: 27px;
  margin: 0 0 13px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}
.dreams-product-title a,
.dreams-content-heading a {
  color: inherit;
  text-decoration: none;
}
.dreams-product-image {
  width: 100%;
  height: 175px;
  margin-bottom: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}
.dreams-product-image a {
  display: block;
  width: 100%;
  height: 100%;
}
.dreams-product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.dreams-image-placeholder {
  color: #777;
  font-size: 27px;
  line-height: 1;
}
/* ===== 产品参数：上下分层、居中排列 ===== */
.dreams-page .dreams-product .dreams-spec-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 0;
  row-gap: 9px;
  width: 100%;
  padding: 0 10px;
  align-items: start;
  text-align: center !important;
}
.dreams-page .dreams-product .dreams-spec-grid .dreams-spec {
  min-width: 0;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}
.dreams-page .dreams-product .dreams-spec-grid .dreams-spec-label {
  margin: 0 0 4px !important;
  padding: 0 !important;
  color: #777 !important;
  font-size: 10px !important;
  line-height: 1.3 !important;
  text-align: center !important;
  overflow-wrap: normal;
  word-break: normal;
}
.dreams-page .dreams-product .dreams-spec-grid .dreams-spec-value {
  margin: 0 !important;
  padding: 0 !important;
  color: #222 !important;
  font-size: 11.5px !important;
  line-height: 1.35 !important;
  text-align: center !important;
  overflow-wrap: anywhere;
}
@media (max-width: 900px) {
  .dreams-page .dreams-product .dreams-spec-grid {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    row-gap: 8px;
    padding: 0 7px;
  }
  .dreams-page .dreams-product .dreams-spec-grid .dreams-spec-label {
    font-size: 9.5px !important;
  }
  .dreams-page .dreams-product .dreams-spec-grid .dreams-spec-value {
    font-size: 11px !important;
  }
}
@media (max-width: 600px) {
  .dreams-page .dreams-product .dreams-spec-grid {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    row-gap: 8px;
    padding: 0 7px;
  }
  .dreams-page .dreams-product .dreams-spec-grid .dreams-spec-label {
    font-size: 11px !important;
  }
  .dreams-page .dreams-product .dreams-spec-grid .dreams-spec-value {
    font-size: 12px !important;
  }
}
/* ===== 产品参数基础样式 ===== */
.dreams-page .dreams-product .dreams-spec {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}
.dreams-page .dreams-product .dreams-spec-label {
  margin: 0 0 5px !important;
  padding: 0 !important;
  color: #777;
  font-size: 12px;
  line-height: 1.4 !important;
}
.dreams-page .dreams-product .dreams-spec-value {
  margin: 0 !important;
  padding: 0 !important;
  color: #222;
  font-size: 13px;
  line-height: 1.45 !important;
}
/* ===== 产品详情链接 ===== */
.dreams-page .dreams-product .dreams-product-link {
  display: inline-block;
  margin-top: 22px !important;
  padding-top: 0 !important;
  color: #222;
  font-size: 14px;
  line-height: 1.4 !important;
  text-decoration: none;
}
.dreams-page .dreams-product .dreams-product-link:hover {
  color: #222;
}
.dreams-content-link:hover {
  color: #056b79;
}
/* ===== 第二部分标题 ===== */
.dreams-more {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.dreams-more-title {
  margin: 0 0 25px;
  text-align: center;
  color: #191919;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
}
/* ===== 第二部分：三个图片卡片 ===== */
.dreams-content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.dreams-content-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dedede;
  border-radius: 7px;
  background: #fff;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.dreams-content-image {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  overflow: hidden;
  background: #fff;
}
.dreams-content-image a {
  display: block;
  width: 100%;
  height: 100%;
  line-height:0;
}
.dreams-content-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align:top;
  transition: transform 0.3s ease;
}
.dreams-content-card:hover .dreams-content-image img {
  transform: scale(1.03);
}
.dreams-content-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 13px 14px;
}
.dreams-content-heading {
  width: 100%;
  margin: 0 0 11px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}
.dreams-content-description {
  margin: 0 0 13px;
  color: #666;
  font-size: 14px;
  line-height: 1.7;
}
.dreams-content-link {
  display: inline-block;
  margin-top: auto;
  color: #666666;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
}
/* ===== 底部导航区块（新增，统一风格） ===== */
.dreams-bottom-nav {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto 0;
  text-align: center;
  padding: 20px 12px;
  color: #555;
  font-size: 15px;
  line-height: 1.8;
}
.dreams-bottom-nav a {
  color: #3598db;
  text-decoration: none;
}
.dreams-bottom-nav a:hover {
  color: #056b79;
}
.dreams-bottom-nav .nav-divider {
  margin: 0 10px;
  color: #999;
}
/* ===== 平板适配 ===== */
@media (max-width: 900px) {
  .dreams-products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
  .dreams-product {
    padding: 10px 5px;
  }
  .dreams-product-title {
    font-size: 14px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .dreams-spec-label {
    font-size: 11px;
  }
  .dreams-spec-value {
    font-size: 13px;
  }
  .dreams-content-grid {
    gap: 10px;
  }
  .dreams-content-heading {
    font-size: 16px;
  }
  .dreams-content-description {
    font-size: 13px;
  }
  .dreams-bottom-nav {
    font-size: 14px;
  }
}
/* ===== 手机适配 ===== */
@media (max-width: 600px) {
  .dreams-page {
    padding: 12px 0 25px;
  }
  .dreams-intro-label {
    font-size: 13px;
  }
  .dreams-intro-text {
    font-size: 13px;
  }
  .dreams-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 35px;
  }
  .dreams-product {
    min-height: 325px;
    padding: 10px 7px;
  }
  .dreams-product-title {
    font-size: 15px;
    white-space: normal;
  }
  .dreams-product-image {
    height: 90px;
  }
  .dreams-spec-label {
    font-size: 12px;
  }
  .dreams-more-title {
    margin-bottom: 20px;
    font-size: 23px;
  }
  .dreams-content-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .dreams-content-image {
    aspect-ratio: 1.7 / 1;
  }
  .dreams-content-heading {
    font-size: 18px;
  }
  .dreams-content-description {
    max-width: 360px;
    font-size: 14px;
  }
  .dreams-bottom-nav {
    font-size: 13px;
  }
}
