/* 产品服务页样式 */

/* 筛选栏 */
.filter-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; padding-bottom: 28px;
  border-bottom: 1px solid var(--line); margin-bottom: 48px;
}
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line); background: transparent; color: var(--ink-2);
  padding: 9px 22px; border-radius: 100px; font-size: 14px; cursor: pointer;
  transition: all 0.28s var(--ease); white-space: nowrap;
}
.chip:hover { border-color: var(--green-500); color: var(--green-700); }
.chip.is-on { background: var(--green-700); border-color: var(--green-700); color: var(--cream); }
.filter-count { font-size: 13.5px; color: var(--ink-3); }

/* 产品卡片 */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.prod {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  overflow: hidden; transition: all 0.4s var(--ease);
}
.prod:hover { border-color: var(--line); transform: translateY(-4px); box-shadow: 0 18px 44px rgba(26,36,32,0.08); }
.prod__img { aspect-ratio: 1/1; overflow: hidden; background: var(--sand); position: relative; }
.prod__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.prod:hover .prod__img img { transform: scale(1.05); }
.prod__brand {
  position: absolute; left: 14px; top: 14px;
  background: rgba(253,251,245,0.94); backdrop-filter: blur(6px);
  color: var(--green-800); font-size: 12px; letter-spacing: 0.08em;
  padding: 5px 13px; border-radius: 100px; font-weight: 500;
}
.prod__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.prod__cat { font-size: 11.5px; letter-spacing: 0.14em; color: var(--green-500); margin-bottom: 9px; }
.prod__name { font-size: 18px; font-weight: 600; color: var(--green-900); margin-bottom: 10px; line-height: 1.4; }
.prod__desc { font-size: 13.5px; color: var(--ink-3); line-height: 1.8; margin: 0 0 18px; flex: 1; }
.prod__meta {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; padding-top: 16px; border-top: 1px solid var(--line-soft);
}
.prod__spec { font-size: 12.5px; color: var(--ink-3); }
.prod__price { font-family: var(--font-serif); font-size: 19px; color: var(--green-800); white-space: nowrap; }
.prod__price small { font-size: 12px; color: var(--ink-3); font-family: var(--font-cn); margin-left: 4px; }

/* 空状态 / 骨架 */
.empty { text-align: center; padding: 80px 20px; color: var(--ink-3); font-size: 15px; }
.empty strong { display: block; color: var(--green-800); font-size: 17px; margin-bottom: 10px; }
.skel {
  background: linear-gradient(90deg, var(--sand) 25%, #f2eee3 37%, var(--sand) 63%);
  background-size: 400% 100%; animation: skel 1.4s ease infinite; border-radius: var(--radius-lg);
  height: 420px;
}
@keyframes skel { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* 品牌条 */
.brand-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.brand-strip__item {
  background: var(--cream); padding: 30px 24px; text-align: center;
  transition: background 0.3s var(--ease);
}
.brand-strip__item:hover { background: var(--white); }
.brand-strip__name { font-family: var(--font-serif); font-size: 20px; color: var(--green-900); letter-spacing: 0.08em; }
.brand-strip__tag { font-size: 12px; color: var(--ink-3); margin-top: 8px; line-height: 1.6; }

/* 服务模块 */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.svc {
  border: 1px solid rgba(253,251,245,0.16); padding: 40px 34px;
  transition: background 0.35s var(--ease);
}
.svc:hover { background: rgba(253,251,245,0.05); }
.svc__no { font-family: var(--font-serif); font-size: 12px; color: var(--gold-soft); letter-spacing: 0.2em; }
.svc h3 { color: var(--cream); font-size: 21px; margin: 20px 0 14px; font-family: var(--font-serif); letter-spacing: 0.06em; }
.svc p { color: rgba(253,251,245,0.66); font-size: 14.5px; line-height: 1.9; margin: 0 0 18px; }
.svc ul { margin: 0; padding: 0; list-style: none; }
.svc li { color: rgba(253,251,245,0.54); font-size: 13.5px; padding: 7px 0; border-top: 1px solid rgba(253,251,245,0.1); }

/* 加盟步骤 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.step {
  background: var(--white); border: 1px solid var(--line-soft);
  padding: 34px 28px; border-radius: var(--radius-lg); counter-increment: s; position: relative;
}
.step::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--font-serif); font-size: 13px; color: var(--gold);
  letter-spacing: 0.14em; display: block; margin-bottom: 40px;
}
.step h3 { font-size: 17px; margin-bottom: 10px; }
.step p { margin: 0; font-size: 13.5px; color: var(--ink-3); line-height: 1.8; }

@media (max-width: 1024px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .brand-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .prod-grid { grid-template-columns: 1fr; gap: 24px; }
  .steps { grid-template-columns: 1fr; }
  .brand-strip { grid-template-columns: repeat(2, 1fr); }
  .filter-bar { gap: 16px; }
  .chip { padding: 8px 16px; font-size: 13px; }
}
