/* 装修案例列表页专属样式 */

/* Banner 阴影遮罩 */
.page-hero::before {
  background: rgba(0, 0, 0, 0.35);
}

/* 字体：与整装服务页一致 */
.page-hero h1 {
  font-family: "SourceHanSerifCN-Heavy", var(--serif);
  font-weight: 900;
}

.page-hero p {
  font-family: "SourceHanSerifCN-SemiBold", var(--serif);
  font-weight: 600;
}

/* ---------- 筛选区域 ---------- */
.cases-page-filters {
  padding: 48px 0 40px;
  background: #fff;
  border-bottom: none;
}

.cases-page-filters .filter-row {
  margin-bottom: 18px;
  align-items: center;
  gap: 28px;
}

.cases-page-filters .filter-row:last-of-type {
  margin-bottom: 0;
}

.cases-page-filters .filter-label {
  width: 36px;
  min-width: 36px;
  font-family: "SourceHanSerifCN-Medium", var(--serif);
  font-weight: 500;
  font-size: 14px;
  color: #666;
  line-height: 32px;
  white-space: nowrap;
}

.cases-page-filters .filter-tags {
  gap: 8px 22px;
  flex: 1;
  min-width: 0;
}

.cases-page-filters .filter-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "SourceHanSerifCN-Medium", var(--serif);
  font-weight: 500;
  height: 30px;
  padding: 0 4px;
  font-size: 14px;
  color: #333;
  border-radius: 15px;
  background: transparent;
  text-decoration: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

.cases-page-filters .filter-tag b {
  font-weight: inherit;
}

.cases-page-filters .filter-tag:hover {
  color: #84070d;
  background: transparent;
}

.cases-page-filters .filter-tag.active {
  background: #84070d;
  color: #fff;
  padding: 0 16px;
}

/* 筛选下方报价条 */
.cases-filter-quote {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #e8e4df;
}

.cases-filter-quote .quote-bar-label {
  color: #1a1a1a;
  font-family: "SourceHanSerifCN", "SourceHanSerifCN-Bold", var(--serif);
  font-weight: bold;
  font-size: 15px;
  white-space: nowrap;
  flex-shrink: 0;
}

.cases-filter-quote .quote-form {
  flex: 1;
  gap: 12px;
}

.cases-filter-quote .form-field {
  font-family: "SourceHanSerifCN-Medium", var(--serif);
  font-weight: 500;
  height: 44px;
  background: #fff;
  border: 1px solid #ddd8d2;
  border-radius: 3px;
  padding: 0 14px;
  font-size: 14px;
  color: #333;
}

.cases-filter-quote .btn-primary {
  flex-shrink: 0;
  min-width: 148px;
  height: 44px;
  border-radius: 3px;
}

/* ---------- 案例列表（同整装服务·整装案例） ---------- */
.cases-gallery-section {
  padding: 40px 0 80px;
  background: #f6f1ef;
}

.cases-empty {
  grid-column: 1 / -1;
  padding: 48px 16px;
  text-align: center;
  font-family: "SourceHanSerifCN-Medium", var(--serif);
  font-size: 14px;
  color: #999;
}

.cases-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 378px);
  justify-content: space-between;
  row-gap: 28px;
  padding-top: 0;
}

.cases-gallery-grid .case-card {
  width: 378px;
  height: 353px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transform: none;
  transition: box-shadow 0.3s ease;
}

.cases-gallery-grid .case-card:hover {
  transform: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.cases-gallery-grid .case-card-img {
  width: 378px;
  height: 240px;
  aspect-ratio: auto;
  overflow: hidden;
}

.cases-gallery-grid .case-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.cases-gallery-grid .case-card:hover .case-card-img img {
  transform: scale(1.04);
}

.cases-gallery-grid .case-card-body {
  height: 113px;
  box-sizing: border-box;
  padding: 16px 18px 14px;
  background: #fff;
}

.cases-gallery-grid .case-card-title {
  font-family: "SourceHanSerifCN", "SourceHanSerifCN-Bold", var(--serif);
  font-weight: bold;
  font-size: 16px;
  color: #1a1a1a;
  margin-bottom: 8px;
  line-height: 1.4;
  transition: color 0.25s ease;
}

.cases-gallery-grid .case-card:hover .case-card-title {
  color: #84070d;
}

.cases-gallery-grid .case-card-addr,
.cases-gallery-grid .case-card-tags {
  font-family: "SourceHanSerifCN", "SourceHanSerifCN-SemiBold", var(--serif);
  font-weight: 600;
  font-size: 13px;
  color: #999;
  margin-bottom: 4px;
  line-height: 1.5;
}

.cases-gallery-grid .case-card-tags {
  margin-bottom: 0;
}

.cases-load-more {
  text-align: center;
  padding-top: 16px;
}

.cases-load-more .btn-load-more {
  display: inline-block;
  margin: 32px auto 0;
  min-width: 180px;
  cursor: pointer;
  border: none;
  border-radius: 3px;
  font-family: "SourceHanSerifCN", "SourceHanSerifCN-Bold", var(--serif);
  font-weight: bold;
}

.cases-load-more .btn-load-more:disabled {
  opacity: 0.7;
  cursor: wait;
}
