/* 客户案例详情页 */
body[data-page="customer-detail-v2"] {
  margin: 0;
  color: #333;
  background: #f8f9fd;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body[data-page="customer-detail-v2"] img { display: block; max-width: 100%; }
body[data-page="customer-detail-v2"] a { text-decoration: none; }
body[data-page="customer-detail-v2"] h1,
body[data-page="customer-detail-v2"] h2,
body[data-page="customer-detail-v2"] p { margin: 0; }

.cust-dtl-container {
  width: min(1280px, calc(100% - 80px));
  margin-inline: auto;
}

.cust-dtl-head {
  padding: 120px 0 32px;
}
.cust-dtl-breadcrumb {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}
.cust-dtl-breadcrumb a {
  color: #666;
}
.cust-dtl-breadcrumb a:hover {
  color: #165dff;
}
.cust-dtl-breadcrumb [aria-current="page"] {
  color: #165dff;
  font-weight: 500;
}

.cust-dtl-hero {
  display: grid;
  grid-template-columns: 448px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 32px 0 48px;
}
.cust-dtl-hero__photo {
  width: 100%;
  height: 305px;
  object-fit: cover;
  border-radius: 8px;
}
.cust-dtl-hero__body {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-height: 305px;
}
.cust-dtl-hero__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
}
.cust-dtl-hero__title-row h1 {
  color: #333;
  font-size: 32px;
  line-height: 1.6;
  font-weight: 700;
}
.cust-dtl-tag {
  padding: 6px 24px;
  border-radius: 18px;
  font-size: 16px;
  line-height: 1.4;
}
.cust-dtl-tag--jewelry { background: #ffdbd0; color: #ff0000; }
.cust-dtl-tag--medical { background: rgba(0, 145, 0, 0.2); color: #009100; }
.cust-dtl-tag--food { background: rgba(0, 145, 0, 0.2); color: #009100; }
.cust-dtl-tag--default { background: rgba(22, 93, 255, 0.1); color: #165dff; }

.cust-dtl-modules__label {
  margin-bottom: 16px;
  font-size: 24px;
  line-height: 1.6;
  font-weight: 700;
}
.cust-dtl-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.cust-dtl-module {
  padding: 4px 16px;
  border-radius: 8px;
  background: rgba(22, 93, 255, 0.1);
  color: #165dff;
  font-size: 16px;
  line-height: 24px;
}
.cust-dtl-summary {
  color: #333;
  font-size: 16px;
  line-height: 1.6;
}

.cust-dtl-divider {
  height: 1px;
  margin: 0;
  border: 0;
  background: #d9d9d9;
}

.cust-dtl-section {
  padding: 32px 0 48px;
}
.cust-dtl-section__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.cust-dtl-section__bar {
  flex: 0 0 4px;
  width: 4px;
  height: 26px;
  border-radius: 2px;
  background: #165dff;
}
.cust-dtl-section__head h2 {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 700;
}
.cust-dtl-section__text {
  margin-bottom: 24px;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
}
.cust-dtl-section__figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.cust-dtl-solution-item + .cust-dtl-solution-item {
  margin-top: 32px;
}
.cust-dtl-solution-item h3 {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
}

.cust-dtl-related {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 48px 0 88px;
}
body[data-page="customer-detail-v2"] .cust-dtl-related__title {
  margin: 0;
  padding: 0;
  border: 0;
  color: #165dff;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 500;
}
.cust-dtl-related__divider {
  display: block;
  width: 100%;
  height: 1px;
  margin: 16px 0 24px;
  padding: 0;
  border: 0;
  background: #d9d9d9;
}
.cust-dtl-related__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  padding: 0;
}
.cust-dtl-related__tag {
  padding: 8px 24px;
  border: 1px solid #165dff;
  border-radius: 8px;
  background: #f8f9fd;
  color: #165dff;
  font-size: 14px;
  line-height: 24px;
  transition: background .2s ease, color .2s ease;
}
.cust-dtl-related__tag:hover {
  background: #165dff;
  color: #fff;
}

@media (max-width: 1100px) {
  .cust-dtl-hero {
    grid-template-columns: 1fr;
  }
  .cust-dtl-hero__photo {
    height: auto;
    max-height: 360px;
  }
}

@media (max-width: 900px) {
  .cust-dtl-head { padding-top: 88px; }
  .cust-dtl-container { width: calc(100% - 40px); }
  .cust-dtl-hero__title-row h1 { font-size: 24px; line-height: 1.35; }
  .cust-dtl-modules__label { font-size: 18px; }
}

@media (max-width: 600px) {
  .cust-dtl-container { width: calc(100% - 32px); }
  .cust-dtl-hero__title-row h1 { font-size: 22px; }
  .cust-dtl-hero__photo { max-height: 240px; }
}
