/* 产品详情 · Figma 90:1947 */
body.page-detail {
  padding-top: var(--header-h);
  background: #f5f6f8;
}

body.page-detail .header {
  position: fixed;
}

.detail-bar {
  height: 57px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.detail-bar-inner {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.detail-crumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  line-height: 16px;
  color: #6b7280;
}

.detail-crumb span {
  color: #374151;
}

.detail-crumb i {
  font-style: normal;
  font-size: 12px;
}

.detail-search {
  display: flex;
  height: 32px;
}

.detail-search input {
  width: 208px;
  height: 32px;
  border: 1px solid #d1d5db;
  border-right: 0;
  border-radius: 9999px 0 0 9999px;
  padding: 0 16px;
  font-size: 14px;
  color: #374151;
  outline: none;
}

.detail-search button {
  height: 32px;
  padding: 0 20px;
  background: var(--c-primary);
  color: #fff;
  font-size: 14px;
  line-height: 16px;
  border-radius: 0 9999px 9999px 0;
}

.detail-top {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 32px 0 24px;
}

.detail-gallery {
  flex: 1 1 62%;
  width: auto;
  min-width: 0;
  max-width: none;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  padding: 25px;
}

.detail-main {
  position: relative;
  height: clamp(420px, 42vw, 741px);
  background: transparent;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
}

.detail-main-swiper,
.detail-main-swiper .swiper-wrapper,
.detail-main-swiper .swiper-slide {
  height: 100%;
}

.detail-main-swiper .swiper-slide {
  position: relative;
}

.detail-main-swiper img {
  position: absolute;
  inset: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  transform: none;
  object-fit: contain;
  object-position: center center;
  background: transparent;
  mix-blend-mode: multiply;
}

.detail-play-btn {
  position: absolute;
  display: block;
  inset: 0;
  z-index: 20;
  width: auto;
  height: auto;
  margin: 0;
  border: 0;
  padding: 0;
  font-size: 0;
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  pointer-events: auto;
}

.detail-play-btn.is-deco {
  inset: auto;
  left: 50%;
  top: 50%;
  width: 70px;
  height: 70px;
  margin: -35px 0 0 -35px;
  cursor: default;
  pointer-events: none;
}

.detail-play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70px;
  height: 70px;
  margin: -35px 0 0 -35px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.48);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 6.2v11.6L19.2 12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 54% 50%;
  background-size: 22px 22px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  pointer-events: none;
}

.detail-thumbs-swiper {
  margin-top: 16px;
  overflow: hidden;
}

.detail-thumbs-swiper .swiper-slide {
  box-sizing: border-box;
  width: 80px;
  height: 80px;
  padding: 5px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
}

.detail-thumbs-swiper .swiper-slide-thumb-active {
  border: 2px solid var(--c-primary);
  padding: 4px;
}

.detail-thumbs-swiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-info {
  flex: 1 1 38%;
  width: auto;
  min-width: 0;
  max-width: 520px;
  min-height: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  padding: 25px;
  display: flex;
  flex-direction: column;
}

.detail-info h1 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: #111827;
  padding-bottom: 17px;
  border-bottom: 1px solid #f3f4f6;
}

.detail-info .summary {
  margin-top: 16px;
  font-size: 14px;
  line-height: 22.75px;
  color: #4b5563;
}

.detail-contact {
  margin-top: 16px;
  padding: 25px 17px;
}

.detail-contact h3 {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #1f2937;
  margin-bottom: 8px;
}

.detail-contact h3 a {
  color: inherit;
}

.detail-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 18px;
  line-height: 20px;
}

.detail-contact p img {
  width: 16px;
  height: 16px;
}

.detail-contact a {
  color: var(--c-primary);
}

.detail-cat {
  margin-top: 16px;
  padding-top: 8px;
  font-size: 14px;
  line-height: 20px;
  color: #6b7280;
}

.detail-cat b {
  font-weight: 400;
  color: #374151;
}

.detail-consult {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  background: var(--c-primary);
  color: #fff;
  font-size: 16px;
  line-height: 24px;
  border-radius: 4px;
}

.detail-pdf {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border: 1px solid var(--c-primary);
  color: var(--c-primary);
  background: #fff;
  font-size: 16px;
  line-height: 24px;
  border-radius: 4px;
}

.detail-body {
  width: 100%;
  max-width: 1087px;
  padding: 0 0 48px;
  box-sizing: border-box;
}

.spec-title {
  height: 37px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: var(--c-primary);
  color: #fff;
  font-size: 18px;
  line-height: 28px;
}

.detail-hscroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 32px;
}

.detail-hscroll .spec-table {
  margin-top: 0;
  margin-bottom: 0;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-top: 16px;
  margin-bottom: 32px;
}

.spec-table th,
.spec-table td {
  height: 41px;
  border: 1px solid #e5e7eb;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
  color: #4b5563;
}

.spec-table th {
  font-weight: 700;
  color: #1f2937;
  background: #fff;
}

.spec-table td:first-child {
  color: #374151;
}

.detail-sec {
  margin-bottom: 32px;
}

.detail-sec h3 {
  height: 36px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: var(--c-primary);
  color: #fff;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.detail-sec .lead {
  margin: 12px 0 8px;
  padding: 0 24px 0 0;
  font-size: 14px;
  line-height: 22.75px;
  color: #4b5563;
}

.detail-sec ul {
  list-style: none;
}

.detail-sec li {
  position: relative;
  padding-left: 13px;
  font-size: 14px;
  line-height: 20px;
  color: #4b5563;
  margin-top: 6px;
}

.detail-sec li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #4b5563;
}

.spec-table thead th {
  font-weight: 700;
  color: #1f2937;
}

.inquiry {
  width: 100%;
  scroll-margin-top: 100px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  padding: 41px;
  margin: 8px 0 80px;
}

.inquiry h2 {
  text-align: center;
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  color: #111827;
}

.inquiry .hint {
  text-align: center;
  margin-top: 8px;
  font-size: 14px;
  line-height: 20px;
  color: #6b7280;
}

.inquiry form {
  margin-top: 32px;
}

.inquiry .full,
.inquiry .half {
  width: 100%;
  height: 44px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 0 17px;
  font-size: 14px;
  color: #374151;
  outline: none;
}

.inquiry .full {
  height: 42px;
  background: #f9fafb;
  margin-bottom: 16px;
}

.inquiry .row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.inquiry .row .half {
  flex: 1;
}

.inquiry textarea {
  width: 100%;
  height: 102px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 11px 17px;
  font-size: 14px;
  font-family: inherit;
  resize: none;
  outline: none;
}

.inquiry input::placeholder,
.inquiry textarea::placeholder {
  color: #6b7280;
}

.inquiry .submit {
  display: block;
  width: 100%;
  height: 44px;
  margin-top: 16px;
  background: var(--c-primary);
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  border-radius: 4px;
}

.inquiry-notice {
  margin-top: 12px;
  font-size: 14px;
  line-height: 20px;
}

.inquiry-notice.is-ok {
  color: #047857;
}

.inquiry-notice.is-err {
  color: #b91c1c;
}


body.sd-video-open {
  overflow: hidden;
}

.sd-video-modal {
  position: fixed;
  inset: 0;
  z-index: 2400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.72);
}

.sd-video-modal[hidden] {
  display: none !important;
}

.sd-video-modal.is-open {
  display: flex !important;
}

.sd-video-dialog {
  position: relative;
  width: min(960px, 100%);
}

.sd-video-dialog video {
  display: block;
  width: 100%;
  max-height: 80vh;
  background: #000;
  border-radius: 8px;
}

.sd-video-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1366px) and (min-width: 1020px) {
  .detail-top {
    gap: 24px;
    padding: 24px 0 20px;
  }

  .detail-gallery {
    flex: 1 1 56%;
    padding: 20px;
  }

  .detail-info {
    flex: 1 1 44%;
    max-width: none;
    padding: 20px;
  }

  .detail-main {
    height: clamp(360px, 38vw, 560px);
  }
}

@media (max-width: 1019px) {
  .detail-top {
    flex-direction: column;
  }

  .detail-gallery,
  .detail-info,
  .detail-body {
    width: 100%;
    padding-left: 0;
  }

  .detail-main {
    height: 420px;
  }

  .detail-main-swiper img {
    width: 90%;
    height: 90%;
  }
}

@media (max-width: 768px) {
  .detail-bar {
    height: auto;
  }

  .detail-bar-inner {
    height: auto;
    min-height: 48px;
    padding: 10px 0;
  }

  .detail-crumb {
    flex-wrap: wrap;
    font-size: 12px;
    line-height: 18px;
    gap: 4px;
  }

  .detail-search {
    display: none;
  }

  .detail-top {
    padding: 16px 0;
    gap: 16px;
  }

  .detail-gallery {
    padding: 12px;
  }

  .detail-main {
    height: 240px;
  }

  .detail-play-btn.is-deco {
    width: 52px;
    height: 52px;
    margin: -26px 0 0 -26px;
  }

  .detail-play-mark {
    width: 52px;
    height: 52px;
    margin: -26px 0 0 -26px;
    background-size: 16px 16px;
  }

  .detail-info {
    min-height: 0;
    padding: 16px;
  }

  .detail-info h1 {
    font-size: 18px;
    line-height: 26px;
    padding-bottom: 12px;
  }

  .detail-contact {
    padding: 16px 0;
  }

  .detail-contact p {
    font-size: 16px;
    flex-wrap: wrap;
  }

  .detail-body {
    padding-bottom: 24px;
    overflow-x: auto;
  }

  .spec-table {
    min-width: 520px;
  }

  .detail-sec .lead {
    padding-right: 0;
  }

  .inquiry {
    padding: 20px 16px;
    margin-bottom: 48px;
  }

  .inquiry h2 {
    font-size: 20px;
    line-height: 28px;
  }

  .inquiry .row {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .detail-main {
    height: 200px;
  }

  .detail-thumbs-swiper .swiper-slide {
    width: 64px;
    height: 64px;
  }
}
