/* 纷然设备详情页样式 */
#equipment-detail {
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.equipment-content .banner-image:nth-child(2) {
  margin-top: 7px !important;
}

#equipment-detail.loaded {
  opacity: 1;
}

.loading {
  text-align: center;
  padding: 100px 20px;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--accent-color, #8b4513);
  margin: 0 auto 20px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.error-message {
  text-align: center;
  padding: 100px 20px;
  color: #666;
}

.error-message h2 {
  margin: 20px 0 10px;
  color: #333;
}

.error-message .fa-exclamation-triangle {
  font-size: 48px;
  margin-bottom: 20px;
  color: #ff6b6b;
}

.reload-btn {
  margin-top: 20px;
  padding: 10px 30px;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

/* 案例详情内容 */
.equipment-container {
  margin: 0 auto;
}

.equipment-content.animated>* {
  opacity: 1;
  transform: translateY(0);
}

/* 产品切换器（调试用） */
.product-switcher {
  position: fixed;
  top: var(--nav-height);
  right: 20px;
  padding: 15px;
  z-index: 1000;
  display: none;
}

.switch-btn {
  display: block;
  width: 100%;
  margin: 5px 0;
  padding: 8px;
  border: none;
  cursor: pointer;
}

.toggle-switcher {
  position: fixed;
  top: 100px;
  right: 20px;
  width: 40px;
  height: 40px;
  color: white;
  border: none;
  cursor: pointer;
  z-index: 1001;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-preview {
  position: absolute;
  top: 20px;
  right: 20px;
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 响应式设计 */
@media (max-width: 768px) {

  .product-switcher,
  .toggle-switcher {
    display: none !important;
  }
}