/**
 * 90° 上悬系统 - 执手详情页样式
 */

/* 表头中英文切换 */
[data-lang="zh"] .en {
  display: none;
}

[data-lang="en"] .zh {
  display: none;
}

/* ========== 配件简介区 ========== */
.handle-detail__intro {
  padding: 80px 0 60px 0;
  background-color: #ffffff;
  margin-top: 30px;
}

.handle-detail__intro-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 100px;
}

/* 左侧：配件简介文字 */
.handle-detail__intro-content {
  flex: 1;
  max-width: 580px;
  padding-top: 40px;
}

.handle-detail__intro-title {
  font-size: 32px;
  font-weight: 700;
  color: #D0021B;
  margin: 0 0 40px 0;
  line-height: 1.3;
  letter-spacing: 1px;
}

.handle-detail__intro-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.handle-detail__intro-text p {
  position: relative;
  font-size: 15px;
  color: #555555;
  line-height: 2;
  margin: 0;
  padding-left: 28px;
  transition: all 0.3s ease;
}

.handle-detail__intro-text p::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  background-color: #D0021B;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.handle-detail__intro-text p:hover {
  color: #1a1a1a;
  padding-left: 32px;
}

.handle-detail__intro-text p:hover::before {
  width: 12px;
  height: 12px;
  top: 10px;
}

/* 右侧：配件场景图 */
.handle-detail__intro-image {
  flex: 1;
  max-width: 520px;
  margin-top: 60px;
  position: relative;
}

.handle-detail__intro-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  background: linear-gradient(135deg, rgba(208, 2, 27, 0.1) 0%, rgba(208, 2, 27, 0.05) 100%);
  border-radius: 12px;
  z-index: -1;
}

.handle-detail__intro-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.handle-detail__intro-image img:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 48px rgba(208, 2, 27, 0.25);
}

/* ========== 页面标题区 ========== */
.handle-detail__header {
  padding: 40px 0 30px 0;
  background-color: #ffffff;
  text-align: center;
}

.handle-detail__logo {
  display: inline-block;
  padding: 4px 16px;
  background-color: #D0021B;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  border-radius: 2px;
  margin-bottom: 16px;
}

.handle-detail__title {
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  margin: 0;
  line-height: 1.5;
}

/* ========== 产品图 & 图纸区 ========== */
.handle-detail__gallery {
  padding: 40px 0;
  background-color: #F5F5F5;
}

.handle-detail__product-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.handle-detail__product-item {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
}

.handle-detail__product-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-color: rgba(208, 2, 27, 0.3);
}

.handle-detail__product-item.active {
  border-color: #D0021B;
  box-shadow: 0 8px 24px rgba(208, 2, 27, 0.25);
  background: linear-gradient(to bottom, #ffffff 0%, #fff8f8 100%);
}

.handle-detail__product-item.active::before {
  content: '✓';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  background-color: #D0021B;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.handle-detail__product-item img {
  width: 100%;
  height: auto;
  max-width: 280px;
  margin: 0 auto 20px auto;
  display: block;
}

.handle-detail__product-label {
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  margin: 0;
  line-height: 1.6;
  padding: 12px 20px;
  background: linear-gradient(to right, rgba(208, 2, 27, 0.05) 0%, rgba(208, 2, 27, 0.02) 100%);
  border-left: 3px solid #D0021B;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.handle-detail__product-label:hover {
  background: linear-gradient(to right, rgba(208, 2, 27, 0.08) 0%, rgba(208, 2, 27, 0.04) 100%);
  border-left-width: 4px;
  padding-left: 22px;
  color: #D0021B;
}

.handle-detail__drawings {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.handle-detail__drawing-item {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
}

.handle-detail__drawing-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-color: rgba(208, 2, 27, 0.3);
}

.handle-detail__drawing-item.active {
  border-color: #D0021B;
  box-shadow: 0 8px 24px rgba(208, 2, 27, 0.25);
  background: linear-gradient(to bottom, #ffffff 0%, #fff8f8 100%);
}

.handle-detail__drawing-item.active::before {
  content: '✓';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  background-color: #D0021B;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  animation: scaleIn 0.3s ease;
}

.handle-detail__drawing-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========== 技术参数区 & 锁盒优点区 ========== */
.handle-detail__params,
.handle-detail__advantages {
  padding: 50px 0;
  background-color: #ffffff;
}

.handle-detail__section-title {
  position: relative;
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  margin: 0 0 24px 0;
  padding-left: 12px;
  line-height: 1.5;
}

.handle-detail__section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background-color: #D0021B;
}

/* 小标题样式 */
.handle-detail__subsection-title {
  font-size: 15px;
  font-weight: 600;
  color: #333333;
  margin: 20px 0 16px 0;
  line-height: 1.5;
}

/* 技术参数网格布局 */
.handle-detail__params-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 30px;
}

.handle-detail__params-column {
  background-color: #f9f9f9;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 24px;
}

.handle-detail__params-column .handle-detail__subsection-title {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 16px;
}

/* 响应式布局 */
@media (max-width: 768px) {
  .handle-detail__params-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.handle-detail__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.handle-detail__list li {
  font-size: 14px;
  color: #666666;
  line-height: 1.8;
  margin: 0;
}

/* ========== 安装说明区 ========== */
.handle-detail__installation {
  padding: 60px 0;
  background-color: #F5F5F5;
}

.handle-detail__installation-title {
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  text-align: center;
  margin: 0 0 50px 0;
  line-height: 1.5;
}

.handle-detail__steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.handle-detail__step {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px;
}

.handle-detail__step-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.handle-detail__step-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background-color: #D0021B;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.handle-detail__step-info {
  flex: 1;
}

.handle-detail__step-title {
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  margin: 0 0 12px 0;
  line-height: 1.5;
}

.handle-detail__step-desc {
  font-size: 14px;
  color: #666666;
  line-height: 1.8;
  margin: 0;
}

.handle-detail__step-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.handle-detail__step-image {
  background-color: #f9f9f9;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.handle-detail__step-image:hover {
  background-color: #ffffff;
  border-color: rgba(208, 2, 27, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.handle-detail__step-image.active {
  background-color: #ffffff;
  border: 2px solid #D0021B;
  box-shadow: 0 6px 16px rgba(208, 2, 27, 0.2);
}

.handle-detail__step-image.active::after {
  content: '✓';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  background-color: #D0021B;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  animation: scaleIn 0.3s ease;
}

.handle-detail__step-image img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 12px;
}

.handle-detail__step-label {
  font-size: 12px;
  color: #999999;
  line-height: 1.6;
  margin: 0;
}

/* ========== 产品配置表 ========== */
.handle-detail__config {
  padding: 50px 0;
  background-color: #ffffff;
}

.handle-detail__table-wrapper {
  margin-top: 30px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.handle-detail__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background-color: #ffffff;
}

.handle-detail__table thead {
  background: linear-gradient(to bottom, #f8f8f8 0%, #f0f0f0 100%);
  position: sticky;
  top: 0;
  z-index: 10;
}

.handle-detail__table th {
  font-size: 15px;
  font-weight: 600;
  color: #333333;
  text-align: center;
  padding: 18px 20px;
  border-bottom: 2px solid #D0021B;
  background: linear-gradient(to bottom, #f8f8f8 0%, #f0f0f0 100%);
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.handle-detail__table th:first-child {
  border-top-left-radius: 8px;
}

.handle-detail__table th:last-child {
  border-top-right-radius: 8px;
}

.handle-detail__table tbody tr {
  transition: all 0.3s ease;
  border-bottom: 1px solid #f0f0f0;
}

.handle-detail__table tbody tr:hover {
  background-color: #fff8f8;
  transform: translateX(4px);
  box-shadow: -4px 0 0 0 #D0021B inset;
}

.handle-detail__table tbody tr:last-child {
  border-bottom: none;
}

.handle-detail__table td {
  font-size: 14px;
  color: #666666;
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid #f5f5f5;
  transition: all 0.3s ease;
}

.handle-detail__table td:first-child {
  font-weight: 600;
  color: #D0021B;
  font-size: 15px;
}

/*修改字体
.handle-detail__table td:nth-child(3) {
  font-family: 'Courier New', monospace;
  color: #555555;
  font-weight: 500;
}
/*修改字体*/
.handle-detail__table td:nth-child(3) {
 font-size: 14px;
  color: #666666;
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid #f5f5f5;
  transition: all 0.3s ease;
}


.handle-detail__table td:nth-child(4) {
  font-weight: 600;
  color: #D0021B;
}

.handle-detail__table tbody tr:hover td {
  color: #333333;
}

.handle-detail__table tbody tr:hover td:first-child,
.handle-detail__table tbody tr:hover td:nth-child(4) {
  color: #D0021B;
  font-weight: 700;
}

/* ========== 安装视频提示区 ========== */
.handle-detail__video-hint {
  padding: 50px 0;
  background-color: #FFF5F5;
}

.handle-detail__video-box {
  display: flex;
  align-items: center;
  gap: 30px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.handle-detail__video-left {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.handle-detail__video-logo {
  padding: 8px 20px;
  background-color: #D0021B;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  border-radius: 4px;
}

.handle-detail__video-play {
  width: 50px;
  height: 50px;
  background-color: #D0021B;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.handle-detail__video-play:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(208, 2, 27, 0.3);
}

.handle-detail__video-play i {
  font-size: 20px;
  margin-left: 4px;
}

.handle-detail__video-right {
  flex: 1;
}

.handle-detail__video-right .handle-detail__video-title,
.handle-detail__video-title {
  font-size: 18px;
  font-weight: 600;
  color: #D0021B;
  margin: 0 0 12px 0;
  line-height: 1.5;
}

.handle-detail__video-right p,
.handle-detail__video-right .handle-detail__video-hint,
.handle-detail__video-hint {
  font-size: 14px;
  color: #333333;
  line-height: 1.8;
  margin: 0;
}

/* ========== 视频弹窗 ========== */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-modal.active {
  display: flex;
  opacity: 1;
}

.video-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.video-modal__content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  background-color: #000000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  z-index: 10000;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.video-modal__close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s ease;
  z-index: 10001;
}

.video-modal__close:hover {
  background-color: #D0021B;
  transform: rotate(90deg);
}

.video-modal__player {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 比例 */
  background-color: #000000;
}

.video-modal__player video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  outline: none;
}

/* ========== 咨询/下载区 ========== */
.handle-detail__contact {
  padding: 60px 0;
  background-color: #ffffff;
}

/* ==================== 响应式设计 ==================== */

/* 平板端 (≤960px) */
@media (max-width: 960px) {
  .handle-detail__intro {
    padding: 60px 0 50px 0;
    margin-top: 20px;
  }

  .handle-detail__intro-wrapper {
    flex-direction: column;
    gap: 60px;
  }

  .handle-detail__intro-content {
    max-width: 100%;
    padding-top: 20px;
  }

  .handle-detail__intro-image {
    max-width: 100%;
    margin-top: 0;
  }

  .handle-detail__intro-image::before {
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
  }

  .handle-detail__intro-title {
    font-size: 28px;
  }

  .handle-detail__header {
    padding: 30px 0 24px 0;
  }

  .handle-detail__title {
    font-size: 16px;
  }

  .handle-detail__gallery {
    padding: 30px 0;
  }

  .handle-detail__product-images,
  .handle-detail__drawings {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .handle-detail__params,
  .handle-detail__advantages,
  .handle-detail__config {
    padding: 40px 0;
  }

  .handle-detail__installation {
    padding: 50px 0;
  }

  .handle-detail__installation-title {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .handle-detail__step {
    padding: 24px;
  }

  .handle-detail__step-images {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .handle-detail__video-hint {
    padding: 40px 0;
  }

  .handle-detail__video-box {
    flex-direction: column;
    text-align: center;
  }

  .video-modal__content {
    width: 95%;
  }

  .video-modal__close {
    top: 10px;
    right: 10px;
  }

  .handle-detail__contact {
    padding: 40px 0;
  }
}

/* 手机端 (≤640px) */
@media (max-width: 640px) {
  .handle-detail__intro {
    padding: 50px 0 40px 0;
    margin-top: 15px;
  }

  .handle-detail__intro-wrapper {
    gap: 40px;
  }

  .handle-detail__intro-content {
    padding-top: 0;
  }

  .handle-detail__intro-title {
    font-size: 24px;
  }

  .handle-detail__intro-text {
    gap: 18px;
    margin-top: 32px;
  }

  .handle-detail__intro-text p {
    font-size: 14px;
    line-height: 1.9;
    padding-left: 24px;
  }

  .handle-detail__intro-text p::before {
    width: 6px;
    height: 6px;
    top: 11px;
  }

  .handle-detail__intro-text p:hover::before {
    width: 10px;
    height: 10px;
    top: 9px;
  }

  .handle-detail__intro-image {
    margin-top: 0;
  }

  .handle-detail__intro-image::before {
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
  }

  .handle-detail__header {
    padding: 24px 0 20px 0;
  }

  .handle-detail__title {
    font-size: 15px;
  }

  .handle-detail__gallery {
    padding: 24px 0;
  }

  .handle-detail__product-item,
  .handle-detail__drawing-item {
    padding: 20px;
  }

  .handle-detail__params,
  .handle-detail__advantages,
  .handle-detail__config {
    padding: 30px 0;
  }

  .handle-detail__section-title {
    font-size: 15px;
  }

  .handle-detail__installation {
    padding: 40px 0;
  }

  .handle-detail__installation-title {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .handle-detail__step {
    padding: 20px;
  }

  .handle-detail__step-header {
    gap: 12px;
    margin-bottom: 20px;
  }

  .handle-detail__step-number {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .handle-detail__step-title {
    font-size: 15px;
  }

  .handle-detail__step-desc {
    font-size: 13px;
  }

  .handle-detail__step-images {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .handle-detail__video-hint {
    padding: 30px 0;
  }

  .handle-detail__video-box {
    padding: 20px;
  }

  .handle-detail__video-left {
    flex-direction: column;
    gap: 16px;
  }

  .video-modal__content {
    width: 100%;
    border-radius: 0;
  }

  .video-modal__close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .handle-detail__table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .handle-detail__table {
    min-width: 500px;
  }

  .handle-detail__table th,
  .handle-detail__table td {
    padding: 12px;
    font-size: 13px;
  }

  .handle-detail__contact {
    padding: 30px 0;
  }
}

/* ========== 锁座详情页特定样式 - 单张尺寸图居中显示 ========== */
body:has([data-page="lockseat-detail"]) .handle-detail__drawings {
  display: flex;
  justify-content: center;
  align-items: center;
}

body:has([data-page="lockseat-detail"]) .handle-detail__drawing-item {
  max-width: 800px;
  width: 100%;
}

/* 如果浏览器不支持:has，使用类名方案 */
.lockseat-detail-page .handle-detail__drawings {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lockseat-detail-page .handle-detail__drawing-item {
  max-width: 800px;
  width: 100%;
}

/* 平板端响应式 */
@media (max-width: 960px) {
  body:has([data-page="lockseat-detail"]) .handle-detail__drawing-item,
  .lockseat-detail-page .handle-detail__drawing-item {
    max-width: 100%;
  }
}

/* ========== 锁盒详情页特定样式 - 单张尺寸图居中显示 ========== */
body:has([data-page="lockbox-detail"]) .handle-detail__drawings {
  display: flex;
  justify-content: center;
  align-items: center;
}

body:has([data-page="lockbox-detail"]) .handle-detail__drawing-item {
  max-width: 800px;
  width: 100%;
}

/* 如果浏览器不支持:has，使用类名方案 */
.lockbox-detail-page .handle-detail__drawings {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lockbox-detail-page .handle-detail__drawing-item {
  max-width: 800px;
  width: 100%;
}

/* 平板端响应式 */
@media (max-width: 960px) {
  body:has([data-page="lockbox-detail"]) .handle-detail__drawing-item,
  .lockbox-detail-page .handle-detail__drawing-item {
    max-width: 100%;
  }
}

/* ========== 铰链详情页新增样式 ========== */

/* 应用范围要求区 */
.handle-detail__application {
  padding: 60px 0;
  background-color: #ffffff;
}

.handle-detail__application-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.handle-detail__application-card {
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.handle-detail__application-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.handle-detail__application-card--allowed {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 2px solid #86efac;
}

.handle-detail__application-card--forbidden {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 2px solid #fca5a5;
}

.handle-detail__application-subtitle {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 20px 0;
  line-height: 1.5;
}

.handle-detail__application-card--allowed .handle-detail__application-subtitle {
  color: #16a34a;
}

.handle-detail__application-card--forbidden .handle-detail__application-subtitle {
  color: #dc2626;
}

.handle-detail__application-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.handle-detail__application-list li {
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
  padding-left: 0;
}

.handle-detail__application-card--allowed .handle-detail__application-list li {
  color: #166534;
}

.handle-detail__application-card--forbidden .handle-detail__application-list li {
  color: #991b1b;
}

/* 配置详解区 */
.handle-detail__config-detail {
  padding: 60px 0;
  background-color: #ffffff;
}

/* 主标题居中 */
.handle-detail__section-title--center {
  text-align: center;
}

/* 配置详解主标题 - 90°上悬配置表 */
.handle-detail__config-main-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  margin: 30px 0 24px 0;
  padding-left: 16px;
  line-height: 1.5;
  position: relative;
}

.handle-detail__config-main-subtitle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background-color: #D0021B;
  border-radius: 2px;
}

/* 组件位置示意图区域 */
.handle-detail__config-diagram {
  margin-top: 30px;
}

.handle-detail__config-diagram-wrapper {
  background-color: #F5F5F5;
  border-radius: 8px;
  padding: 30px;
}

.handle-detail__config-image-box {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 20px;
  overflow: hidden;
}

/* 图片交互效果 */
.handle-detail__config-image-box--interactive {
  cursor: zoom-in;
  transition: all 0.3s ease;
}

.handle-detail__config-image-box--interactive:hover {
  border-color: #D0021B;
  box-shadow: 0 4px 16px rgba(208, 2, 27, 0.15);
}

.handle-detail__config-image-box--interactive img {
  transition: transform 0.3s ease;
}

.handle-detail__config-image-box--interactive:hover img {
  transform: scale(1.05);
}

.handle-detail__config-image-box img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 组件位置示意图标题 */
.handle-detail__config-diagram-title {
  font-size: 14px;
  font-weight: 600;
  color: #333333;
  text-align: center;
  margin: 0 0 8px 0;
  line-height: 1.5;
}

/* 组件位置示意图说明文字 */
.handle-detail__config-diagram-note {
  font-size: 12px;
  color: #666666;
  text-align: center;
  margin: 0;
  line-height: 1.6;
}

/* 配置表格区域 */
.handle-detail__config-table-section {
  margin-top: 30px;
}

/* 表格小标题 */
.handle-detail__config-table-title {
  font-size: 15px;
  font-weight: 600;
  color: #333333;
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.handle-detail__config-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  text-align: center;
  margin: 0 0 24px 0;
  line-height: 1.5;
}

.handle-detail__config-image {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.handle-detail__config-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .handle-detail__application-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .handle-detail__application-card {
    padding: 20px;
  }
  
  .handle-detail__config-diagram-wrapper {
    padding: 20px;
  }
  
  .handle-detail__config-image-box {
    padding: 20px;
  }
  
  .handle-detail__config-image {
    padding: 20px;
  }
}

/* 铰链详情页单张尺寸图居中显示 */
body[data-page="hinge-detail"] .handle-detail__drawings {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  margin-top: 30px;
}

body[data-page="hinge-detail"] .handle-detail__drawing-title {
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  margin: 0 0 20px 0;
  text-align: center;
}

body[data-page="hinge-detail"] .handle-detail__drawing-item {
  max-width: 1000px;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

body[data-page="hinge-detail"] .handle-detail__drawing-item img {
  width: 100%;
  height: auto;
  transform: scale(0.9);
  transform-origin: center;
}

/* 如果浏览器不支持:has，使用类名方案 */
.hinge-detail-page .handle-detail__drawings {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  margin-top: 30px;
}

.hinge-detail-page .handle-detail__drawing-title {
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  margin: 0 0 20px 0;
  text-align: center;
}

.hinge-detail-page .handle-detail__drawing-item {
  max-width: 1000px;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.hinge-detail-page .handle-detail__drawing-item img {
  width: 100%;
  height: auto;
  transform: scale(0.9);
  transform-origin: center;
}

@media (max-width: 960px) {
  body[data-page="hinge-detail"] .handle-detail__drawing-item,
  .hinge-detail-page .handle-detail__drawing-item {
    max-width: 100%;
  }
  
  body[data-page="hinge-detail"] .handle-detail__drawing-item img,
  .hinge-detail-page .handle-detail__drawing-item img {
    transform: scale(1);
  }
}

/* ========== 90° 上悬窗使用要求模块 ========== */
.handle-detail__requirements-section {
  margin-top: 50px;
}

/* 顶部两栏布局 */
.handle-detail__requirements-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  background-color: #F8F9FA;
  padding: 30px;
  border-radius: 8px;
}

/* 左侧：图表允许应用范围 */
.handle-detail__requirements-diagrams {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.handle-detail__requirements-subtitle {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.5;
}

.handle-detail__requirements-diagram-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.handle-detail__requirements-diagram-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.handle-detail__requirements-diagram-box {
  width: 150px;
  height: 80px;
  background-color: #ffffff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.handle-detail__requirements-diagram-label {
  font-size: 13px;
  color: #555555;
  text-align: center;
  margin: 0;
  line-height: 1.4;
}

/* 右侧：尺寸要求列表 */
.handle-detail__requirements-specs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.handle-detail__requirements-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.handle-detail__requirements-list li {
  font-size: 14px;
  color: #333333;
  line-height: 1.8;
  padding-left: 0;
}

/* 负载图表区 */
.handle-detail__requirements-chart {
  margin-bottom: 30px;
  background-color: #F8F9FA;
  padding: 30px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: zoom-in;
  transition: all 0.3s ease;
}

.handle-detail__requirements-chart:hover {
  background-color: #F0F1F3;
  box-shadow: 0 4px 16px rgba(208, 2, 27, 0.12);
}

.handle-detail__requirements-chart img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.handle-detail__requirements-chart:hover img {
  transform: scale(1.03);
}

/* 规格表区 */
.handle-detail__requirements-table {
  margin-top: 30px;
}

.handle-detail__requirements-note {
  font-size: 12px;
  color: #666666;
  text-align: center;
  margin: 12px 0 0 0;
  line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 960px) {
  .handle-detail__requirements-top {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 20px;
  }
  
  .handle-detail__requirements-diagram-grid {
    grid-template-columns: 1fr;
  }
  
  .handle-detail__requirements-chart {
    padding: 20px;
  }
}
