/* 产品详情顶区：通栏、等比缩放、上下紧挨 */
.prod-top-imgs {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  font-size: 0;
}

.prod-hero,
.prod-banner {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  background: #fff;
  overflow: hidden;
}

.prod-hero img,
.prod-banner img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  vertical-align: top;
  object-fit: contain;
  -webkit-user-drag: none;
}

.prod-img-caption {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  max-width: min(86%, 900px);
  width: max-content;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 18px 24px;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  line-height: 1.45;
  font-size: medium;
  cursor: text;
  -webkit-user-select: text;
  user-select: text;
}

.prod-img-caption p {
  margin: 0;
  color: #fff;
  cursor: text;
  -webkit-user-select: text;
  user-select: text;
}

.prod-img-caption p:nth-child(1) {
  font-size: clamp(16px, 1.8vw, 28px);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.prod-img-caption p:nth-child(2) {
  margin-top: 10px;
  font-size: clamp(20px, 2.6vw, 40px);
  font-weight: 700;
  line-height: 1.3;
}

.prod-img-caption p:nth-child(3) {
  margin-top: 12px;
  font-size: clamp(15px, 1.5vw, 24px);
  font-weight: 500;
  opacity: 0.95;
}

@media (max-width: 860px) {
  .prod-img-caption {
    padding: 12px 14px;
  }
}

.prod-feat {
  background: #e8f3ff;
}

.prod-feat-stage {
  position: relative;
  width: min(1280px, 100%);
  margin: 0 auto;
  aspect-ratio: 4000 / 1440;
  background: url("../img/pro1_2.jpg") center / contain no-repeat;
  overflow: hidden;
}

.prod-feat-title {
  position: absolute;
  top: 5.2%;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
  padding: 4px 56px;
  background: #e8f3ff;
  color: #2f7cf6;
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 700;
  letter-spacing: 6px;
  white-space: nowrap;
}

.feat-chevron {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.feat-chevron::before,
.feat-chevron::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
}

.feat-chevron-left::before,
.feat-chevron-left::after {
  border-width: 6px 0 6px 9px;
  border-color: transparent transparent transparent #f0a020;
}

.feat-chevron-right::before,
.feat-chevron-right::after {
  border-width: 6px 9px 6px 0;
  border-color: transparent #f0a020 transparent transparent;
}

.feat-cap {
  position: absolute;
  z-index: 2;
  width: 8.8%;
  text-align: center;
  color: #7a7a7a;
  font-size: clamp(10px, 0.8vw, 12px);
  line-height: 1.35;
  background: #eef6ff;
  padding: 1px 0 3px;
}

.feat-cap-l1 { left: 3.4%; top: 34.5%; }
.feat-cap-l2 { left: 3.4%; top: 56.8%; }
.feat-cap-l3 { left: 3.4%; top: 79%; }
.feat-cap-r1 { right: 3.4%; top: 29.8%; }
.feat-cap-r2 { right: 3.4%; top: 52%; }
.feat-cap-r3 { right: 3.4%; top: 74.2%; }

.callout {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 2px 10px 2px 4px;
  color: #2f7cf6;
  font-size: clamp(12px, 1.05vw, 15px);
  font-weight: 500;
  white-space: nowrap;
  background: #e8f3ff;
}

.callout::before {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 3px;
  background: #2aa7c2 center / 12px 12px no-repeat;
}

.callout-l1 { top: 29.6%; left: 17.2%; }
.callout-l2 { top: 45.2%; left: 17.2%; }
.callout-l3 { top: 59.6%; left: 17.2%; }
.callout-r1 { top: 31.2%; left: 68.8%; }
.callout-r2 { top: 45.2%; left: 68.8%; }
.callout-r3 { top: 59.4%; left: 68.8%; }

.callout-l1::before {
  background-color: #1f8fb8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='3' y='2' width='10' height='12' rx='1' fill='none' stroke='white' stroke-width='1.4'/%3E%3Cpath d='M5 5h6M5 8h6M5 11h4' stroke='white' stroke-width='1.2'/%3E%3C/svg%3E");
}

.callout-l2::before,
.callout-r1::before {
  background-color: #2aa7c2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='5' fill='none' stroke='white' stroke-width='1.4'/%3E%3Ccircle cx='8' cy='8' r='1.6' fill='white'/%3E%3C/svg%3E");
}

.callout-l3::before {
  background-color: #2aa7c2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='3' y='6' width='10' height='6' rx='1' fill='none' stroke='white' stroke-width='1.4'/%3E%3Ccircle cx='6' cy='12' r='1.4' fill='white'/%3E%3Ccircle cx='11' cy='12' r='1.4' fill='white'/%3E%3C/svg%3E");
}

.callout-r2::before {
  background-color: #2aa7c2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 11l5-7 5 7H3z' fill='none' stroke='white' stroke-width='1.4'/%3E%3C/svg%3E");
}

.callout-r3::before {
  background-color: #2aa7c2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='5.2' fill='none' stroke='white' stroke-width='1.4'/%3E%3Ccircle cx='8' cy='8' r='1.5' fill='white'/%3E%3C/svg%3E");
}

.feat-pills {
  position: absolute;
  left: 50%;
  bottom: 5.2%;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 0;
  transform: translateX(-50%);
  width: 70%;
  padding: 0;
  background: transparent;
}

.feat-pills span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  height: 28px;
  padding: 0 18px;
  border-radius: 4px;
  background: #2a73e8;
  color: #fff;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .prod-feat-stage {
    aspect-ratio: auto;
    min-height: 0;
    padding: 28px 16px 24px;
    background: url("../img/pro1_2.jpg") center 42% / cover no-repeat;
  }

  .prod-feat-title {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 22px;
  }

  .feat-cap,
  .callout {
    position: static;
    display: none;
  }

  .feat-pills {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    flex-wrap: wrap;
    margin-top: 220px;
    background: rgba(232, 243, 255, 0.92);
  }
}

.prod-spec {
  background: #fff;
  padding: 48px 20px 64px;
}

.prod-spec-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.prod-spec h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 22px;
  font-weight: 700;
  color: #222;
  letter-spacing: 1px;
}

.prod-spec h2 img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.prod-spec table {
  width: 100%;
  border-collapse: collapse;
  color: #666;
  font-size: 14px;
}

.prod-spec th,
.prod-spec td {
  padding: 14px 20px;
  text-align: center;
  line-height: 1.6;
}

.prod-spec thead th {
  background: #f3f4f6;
  font-weight: 500;
  color: #888;
}

.prod-spec tbody tr:nth-child(odd) {
  background: #fff;
}

.prod-spec tbody tr:nth-child(even) {
  background: #f3f4f6;
}

.prod-spec td:first-child,
.prod-spec th:first-child {
  width: 38%;
}

@media (max-width: 720px) {
  .prod-spec th,
  .prod-spec td {
    padding: 12px 10px;
    font-size: 13px;
  }

  .prod-spec td:first-child,
  .prod-spec th:first-child {
    width: 32%;
  }
}

.prod-related {
  background: #fff;
  padding: 8px 20px 64px;
}

.prod-related-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.prod-related h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 22px;
  font-weight: 700;
  color: #222;
  letter-spacing: 1px;
}

.prod-related h2 img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.prod-related-body {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 36px;
  align-items: center;
  background: #f7f8fa;
  padding: 36px 32px;
}

.prod-related-copy h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: #222;
}

.prod-related-copy h3 span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: transparent;
  font-size: 0;
}

.prod-related-copy h3 span::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid #3b82f6;
  border-radius: 3px;
  transform: rotate(45deg);
}

.prod-related-copy h3 span::after {
  content: "+";
  position: relative;
  z-index: 1;
  color: #3b82f6;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.prod-related-copy p {
  margin-top: 16px;
  color: #666;
  font-size: 14px;
  line-height: 1.9;
}

.prod-related-copy a {
  color: #2f7cf6;
}

.prod-related-copy a:hover {
  text-decoration: underline;
}

.prod-related-media img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 860px) {
  .prod-related-body {
    grid-template-columns: 1fr;
    padding: 24px 18px;
    gap: 20px;
  }
}

.prod-cases {
  background: #fff;
  padding: 8px 20px 64px;
}

.prod-cases-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.prod-cases h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 22px;
  font-weight: 700;
  color: #222;
  letter-spacing: 1px;
}

.prod-cases h2 img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.prod-cases-wrap {
  position: relative;
  padding: 0 36px;
}

.prod-cases-viewport {
  overflow: hidden;
}

.prod-cases-track {
  display: flex;
  gap: 18px;
  will-change: transform;
  transition: transform 0.5s ease;
}

.prod-case-card {
  flex: 0 0 calc((100% - 54px) / 4);
  min-width: 0;
}

.prod-case-card img {
  width: 100%;
  height: 148px;
  object-fit: cover;
  display: block;
  background: #f4f4f4;
}

.prod-case-card h3 {
  margin-top: 12px;
  padding: 0 4px;
  font-size: 13px;
  font-weight: 400;
  color: #666;
  text-align: center;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prod-cases-btn {
  position: absolute;
  top: 62px;
  width: 28px;
  height: 28px;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  z-index: 2;
}

.prod-cases-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-top: 1.6px solid #bbb;
  border-right: 1.6px solid #bbb;
}

.prod-cases-btn.prev {
  left: 0;
}

.prod-cases-btn.prev::before {
  transform: translate(-30%, -50%) rotate(-135deg);
}

.prod-cases-btn.next {
  right: 0;
}

.prod-cases-btn.next::before {
  transform: translate(-70%, -50%) rotate(45deg);
}

.prod-cases-btn:hover {
  border-color: #2f7cf6;
}

.prod-cases-btn:hover::before {
  border-color: #2f7cf6;
}

@media (max-width: 980px) {
  .prod-case-card {
    flex-basis: calc((100% - 18px) / 2);
  }
}

@media (max-width: 560px) {
  .prod-cases-wrap {
    padding: 0 28px;
  }

  .prod-case-card {
    flex-basis: 100%;
  }
}
