/* ===================================================================
   镭捷医疗 LEIJEX × MAKGRAC · 产品详情页样式
   Product Detail Page Styles
   Depends on style.css design tokens
   =================================================================== */

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 13px;
  color: var(--ink-500);
  padding-top: 24px;
}
.breadcrumb a:hover {
  color: var(--teal-600);
}

/* ---------- ① Product Hero ---------- */
.product-hero {
  padding-top: 32px;
  padding-bottom: 32px;
}
.product-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Hero media placeholder */
.product-hero-media {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.product-image-placeholder {
  background: linear-gradient(135deg, var(--ink-50), var(--ink-100));
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--ink-300);
  color: var(--ink-300);
  text-align: center;
  padding: 40px;
}
.product-hero-info {
  padding: 20px 0;
}

/* Badges */
.product-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.series-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--ink-50);
  color: var(--ink-700);
  letter-spacing: 0.05em;
}
.product-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 16px;
  background: var(--ink-50);
  color: var(--ink-700);
  display: inline-block;
}

/* ---------- ② Core Technology ---------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.tech-item {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.3s;
}
.tech-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.tech-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
}
.tech-item h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 8px;
}
.tech-item p {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.7;
}

/* ---------- ③ Key Features ---------- */
.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.feature-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--ink-50);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.3s;
}
.feature-card:hover {
  background: var(--white);
  box-shadow: var(--shadow);
}
.feature-check {
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 800;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 4px;
}
.feature-card p {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.7;
}

/* ---------- ④ Specifications Table ---------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.spec-table tr {
  transition: background 0.2s;
}
.spec-table tr:hover {
  background: var(--teal-50);
}
.spec-key {
  width: 35%;
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-800);
  border-bottom: 1px solid var(--ink-100);
}
.spec-val {
  padding: 16px 24px;
  font-size: 14px;
  color: var(--ink-700);
  border-bottom: 1px solid var(--ink-100);
}
.spec-table tr:last-child .spec-key,
.spec-table tr:last-child .spec-val {
  border-bottom: none;
}

/* ---------- ⑤ Applications ---------- */
.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.app-card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.3s;
}
.app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.app-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--teal-50);
}
.app-card p {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.7;
}

/* ---------- ⑥ Media Gallery ---------- */
.media-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink-100);
}
.media-section-head h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-800);
}
.media-section-head p {
  font-size: 13px;
  color: var(--ink-500);
}
.media-section-head code {
  font-family: var(--ff-mono);
  font-size: 12px;
  background: var(--ink-50);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--teal-600);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.media-slot {
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s;
}
.media-slot:hover {
  transform: translateY(-4px);
}
.media-placeholder {
  background: linear-gradient(135deg, var(--ink-50), var(--ink-100));
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--ink-300);
  color: var(--ink-300);
  text-align: center;
  padding: 20px;
  gap: 4px;
}
.media-hint {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-700);
}
.media-sub {
  font-size: 12px;
  color: var(--ink-500);
  line-height: 1.5;
}
.media-path {
  font-size: 10px;
  font-family: var(--ff-mono);
  color: var(--ink-300);
  word-break: break-all;
}

/* AR grid */
.ar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
}
.ar-placeholder {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(45, 212, 191, 0.4);
  color: var(--teal-400);
  text-align: center;
  padding: 40px;
  border-radius: var(--radius-lg);
  gap: 8px;
}
.ar-placeholder .media-hint {
  color: var(--teal-400);
  font-size: 18px;
}
.ar-placeholder .media-sub {
  color: rgba(255, 255, 255, 0.6);
}
.ar-placeholder .media-path {
  color: rgba(45, 212, 191, 0.5);
}

/* ---------- ⑦ Video Gallery ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.video-slot {
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s;
}
.video-slot:hover {
  transform: translateY(-4px);
}
.video-placeholder {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(45, 212, 191, 0.3);
  color: var(--teal-400);
  text-align: center;
  padding: 30px;
  gap: 8px;
}
.video-placeholder .media-hint {
  color: var(--teal-400);
  font-size: 17px;
}
.video-placeholder .media-sub {
  color: rgba(255, 255, 255, 0.6);
}
.video-placeholder .media-path {
  color: rgba(45, 212, 191, 0.5);
}

/* ---------- ⑧ Configurations List ---------- */
.oem-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.oem-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink-700);
}
.oem-list .check {
  flex-shrink: 0;
  color: var(--teal-500);
  font-weight: 800;
  font-size: 18px;
}

/* ---------- ⑩ FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-sm);
  padding: 0;
  transition: all 0.3s;
}
.faq-item[open] {
  border-color: var(--teal-400);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy-800);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 300;
  color: var(--teal-500);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--ink-500);
  line-height: 1.8;
}

/* ---------- ⑪ Inquiry Form (reuse contact-form) ---------- */
.contact-form {
  background: var(--ink-50);
  border-radius: var(--radius);
  padding: 40px;
}

/* ---------- Related Products ---------- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.related-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.related-media {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  color: var(--teal-600);
}
.related-media.brand-leijex {
  color: var(--rose-500);
}
.related-body {
  padding: 16px 20px 20px;
}
.related-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 4px;
}
.related-body p {
  font-size: 13px;
  color: var(--ink-500);
  line-height: 1.6;
}
.related-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

/* ---------- Brand-specific accent overrides ---------- */
.brand-makgrac {
  /* teal accent already default */
}
.brand-leijex {
  /* rose accent for medical products */
}

/* ===================================================================
   响应式 · 平板
   =================================================================== */
@media (max-width: 968px) {
  .product-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .product-hero-media {
    position: static;
    max-width: 480px;
    margin: 0 auto;
  }
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-list {
    grid-template-columns: 1fr;
  }
  .app-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .oem-list {
    grid-template-columns: 1fr;
  }
}

/* ===================================================================
   响应式 · 手机
   =================================================================== */
@media (max-width: 640px) {
  .product-hero h1 {
    font-size: 28px !important;
  }
  .tech-grid {
    grid-template-columns: 1fr;
  }
  .app-grid {
    grid-template-columns: 1fr;
  }
  .media-grid {
    grid-template-columns: 1fr;
  }
  .video-grid {
    grid-template-columns: 1fr;
  }
  .spec-key,
  .spec-val {
    padding: 12px 16px;
    font-size: 13px;
  }
  .spec-key {
    width: 40%;
  }
  .contact-form {
    padding: 24px 20px;
  }
  .media-section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}