/* 产品详情页专用样式 - 重构版本 */

/* ===== 全局设计系统 ===== */
:root {
  --primary-color: #007bff;
  --primary-dark: #0056b3;
  --secondary-color: #6c757d;
  --success-color: #28a745;
  --info-color: #17a2b8;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --light-color: #f8f9fa;
  --dark-color: #2c3e50;
  --white: #ffffff;
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

/* ===== 兼容现有样式 ===== */
.product-category-banner {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  margin-bottom: 2rem;
}

.product-category-banner img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

/* Product Header */
.product-header {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1rem;
}

.product-title {
    color: #999999;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-name {
    color: #34495e;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-serial {
    font-size: 1rem;
    color: #6c757d;
}

.product-desc {
    width: 100%;
    height: auto;
    max-height: calc(2em * 1.625);
    font-size: var(--font14);
    color: var(--text-secondary);
    line-height: 1.625;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

/* Product Images */
.product-carousel-image {
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.product-single-image {
    text-align: center;
}

.product-image {
    max-height: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product-no-image {
    text-align: center;
}

.product-placeholder {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 3rem 2rem;
    color: #6c757d;
}

.product-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Product Details Navigation */
.product-details-nav {
    border-bottom: 1px solid #e9ecef;
}

.nav-pills .nav-link {
    background: none;
    border: 2px solid transparent;
    color: #6c757d;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    margin-right: 0.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-pills .nav-link:hover {
    color: #007bff;
    border-color: #007bff;
    background: rgba(0, 123, 255, 0.1);
}

.nav-pills .nav-link.active {
    background: #007bff;
    border-color: #007bff;
    color: white;
}

/* Product Content */
.product-content,
.product-specifications {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-height: 300px;
}

.product-content h1,
.product-content h2,
.product-content h3,
.product-content h4,
.product-content h5,
.product-content h6 {
    color: #2c3e50;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.product-content p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1rem 0;
}

.product-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.product-content table th,
.product-content table td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    text-align: left;
}

.product-content table th {
    background: #f8f9fa;
    font-weight: 600;
}

.product-specifications table {
    width: 100%;
    border-collapse: collapse;
}

.product-specifications table th,
.product-specifications table td {
    padding: 1rem;
    border: 1px solid #dee2e6;
    text-align: left;
}

.product-specifications table th {
    background: #f8f9fa;
    font-weight: 600;
    width: 30%;
}

/* Error Message */
.error-message {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 3rem 2rem;
}

.error-message i {
    color: #dc3545;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-name {
        font-size: 1.5rem;
    }

    .product-carousel-image,
    .product-image {
        max-height: 250px;
    }

    .product-content,
    .product-specifications {
        padding: 1rem;
    }

    .nav-pills .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .product-header {
        text-align: center;
    }

    .product-name {
        font-size: 1.3rem;
    }

    .nav-pills .nav-link {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
}

/* Animation */
.tab-pane {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Carousel Custom Styles */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.5);
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 4px;
}

.carousel-indicators .active {
    background: #007bff;
}

/* ===== 新增产品详情页重构样式 ===== */

/* ===== 主容器 ===== */
.product-detail-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.product-section {
  margin-bottom: 4rem;
  animation: fadeInUp 0.6s ease-out;
}

.product-section:nth-child(odd) {
  animation-delay: 0.1s;
}

.product-section:nth-child(even) {
  animation-delay: 0.2s;
}

/* ===== 1. 产品详情标题（增强版） ===== */
.product-detail-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.product-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.product-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  border-radius: 2px;
}

/* ===== 2. 产品名称（增强版） ===== */
.product-name-section {
  text-align: center;
  margin-bottom: 2rem;
}

.product-name {
  font-size: 2rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== 3. 产品型号（增强版） ===== */
.product-serial-section {
  text-align: center;
  margin-bottom: 2rem;
}

.product-serial {
  display: inline-block;
  font-size: 1.1rem;
  color: var(--secondary-color);
  padding: 0.5rem 1.5rem;
  background: var(--light-color);
  border-radius: 25px;
  border: 2px solid #e9ecef;
  font-weight: 500;
}

.product-serial strong {
  color: var(--dark-color);
  margin-right: 0.5rem;
}

/* ===== 4. 产品简要描述 ===== */
.product-remark-section {
  text-align: center;
  margin-bottom: 3rem;
}

.product-remark {
  font-size: 1.1rem;
  color: var(--secondary-color);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-color);
}

/* ===== 5. 产品图片轮播（缩略图版） ===== */
.product-carousel-section {
  margin-bottom: 4rem;
}

.product-carousel-container {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

/* 主图片区域 */
.product-main-image {
  position: relative;
  width: 100%;
  height: 500px;
  background: var(--light-color);
  overflow: hidden;
}

/* 轮播指示箭头自定义样式 */
.product-carousel-container .carousel-control-prev,
.product-carousel-container .carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.product-carousel-container .carousel-control-prev {
  left: 20px;
}

.product-carousel-container .carousel-control-next {
  right: 20px;
}

.product-carousel-container:hover .carousel-control-prev,
.product-carousel-container:hover .carousel-control-next {
  opacity: 1;
}

.product-carousel-container .carousel-control-prev:hover,
.product-carousel-container .carousel-control-next:hover {
  background: rgba(0, 123, 255, 0.8);
  transform: translateY(-50%) scale(1.1);
  border-color: rgba(255, 255, 255, 0.8);
}

.product-carousel-container .carousel-control-prev-icon,
.product-carousel-container .carousel-control-next-icon {
  width: 20px;
  height: 20px;
}

.product-carousel-container .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.product-carousel-container .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

/* Bootstrap carousel item 图片样式 */
.product-main-image .carousel-item img {
  width: 100%;
  height: 500px;
  object-fit: contain;
  background: var(--light-color);
}

.product-no-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--secondary-color);
}

.product-no-image i {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* 缩略图区域 */
.product-thumbnails {
  padding: 1rem;
  background: var(--light-color);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) #e9ecef;
}

.product-thumbnails::-webkit-scrollbar {
  height: 6px;
}

.product-thumbnails::-webkit-scrollbar-track {
  background: #e9ecef;
  border-radius: 3px;
}

.product-thumbnails::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 3px;
}

.product-thumbnail {
  flex-shrink: 0;
  width: 200px;
  height: 90px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: var(--transition);
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-thumbnail:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.product-thumbnail.active {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2), 0 4px 12px rgba(0, 123, 255, 0.3);
  transform: translateY(-2px);
}

.product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-thumbnail:hover img {
  transform: scale(1.05);
}

/* ===== 6. 产品特性 ===== */
.product-features-section {
  margin-bottom: 4rem;
}

.product-features-container {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  transition: all 0.3s ease;
}

.product-features-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}


.product-features-content {
  margin-top: 1.5rem;
  line-height: 1.8;
}

.product-features-content :first-child {
  margin-top: 0;
}

.product-features-content :last-child {
  margin-bottom: 0;
}

/* ===== 7. 产品属性表（Accordion增强版） ===== */
.product-attributes-section {
  margin-bottom: 4rem;
}

.product-attributes-container {
  max-width: 1000px;
  margin: 0 auto;
}

.accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: var(--border-radius) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.accordion-header {
  border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
}

.accordion-button {
  background: linear-gradient(135deg, var(--light-color), #e9ecef);
  color: var(--dark-color);
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  padding: 1.25rem 1.5rem;
  transition: var(--transition);
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

.accordion-button::after {
  filter: brightness(0) invert(1);
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.accordion-body {
  padding: 1.5rem;
  background: var(--white);
}

/* 属性表格样式 */
.attribute-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.attribute-table tr {
  border-bottom: 1px solid #e9ecef;
  transition: var(--transition);
}

.attribute-table tr:last-child {
  border-bottom: none;
}

.attribute-table tr:hover {
  background: rgba(0, 123, 255, 0.05);
}

.attribute-table td {
  padding: 0.75rem 1rem;
  vertical-align: middle;
}

.attribute-table td:first-child {
  font-weight: 600;
  color: var(--dark-color);
  width: 40%;
  border-right: 2px solid #e9ecef;
}

.attribute-table td:last-child {
  color: var(--secondary-color);
  width: 60%;
}

/* 属性网格样式 */
.attribute-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.attribute-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: var(--light-color);
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  transition: var(--transition);
}

.attribute-item:hover {
  background: rgba(0, 123, 255, 0.1);
  transform: translateY(-2px);
}

.attribute-name {
  font-weight: 600;
  color: var(--dark-color);
  margin-right: 0.5rem;
  min-width: 80px;
}

.attribute-value {
  color: var(--secondary-color);
  flex: 1;
}

/* ===== 产品简介（新增） ===== */
.product-desc-section {
  margin-bottom: 4rem;
}

.product-desc-container {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  transition: all 0.3s ease;
}

.product-desc-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}


.product-desc-content {
  margin-top: 1.5rem;
}

.product-desc {
  font-size: 1.05rem;
  color: var(--secondary-color);
  line-height: 1.8;
  margin: 0;
}

/* ===== 产品详情内容（增强版） ===== */
.product-content-section {
  margin-bottom: 4rem;
}

.product-content-container {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  transition: all 0.3s ease;
}

.product-content-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}


.product-content-body {
  line-height: 1.8;
  margin-top: 1.5rem;
}

.product-content-body :first-child {
  margin-top: 0;
}

.product-content-body :last-child {
  margin-bottom: 0;
}

.product-content-body h1,
.product-content-body h2,
.product-content-body h3,
.product-content-body h4,
.product-content-body h5,
.product-content-body h6 {
  color: var(--dark-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.product-content-body h1:first-child,
.product-content-body h2:first-child,
.product-content-body h3:first-child {
  margin-top: 0;
}

.product-content-body p {
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.product-content-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem 0;
}

/* ===== 产品优势（增强版） ===== */
.product-remark-section {
  margin-bottom: 4rem;
}

.product-remark-container {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  transition: all 0.3s ease;
}

.product-remark-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}


.product-remark-content {
  font-size: 1.05rem;
  color: var(--secondary-color);
  line-height: 1.8;
  margin-top: 1.5rem;
}

.product-remark-content :first-child {
  margin-top: 0;
}

.product-remark-content :last-child {
  margin-bottom: 0;
}

/* ===== 锚点导航 ===== */
.product-anchor-nav {
  position: sticky;
  top: 80px;
  z-index: 999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 4rem;
}

.product-anchor-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.product-anchor-list {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 1rem 0;
  gap: 2rem;
}

.product-anchor-list .nav-item {
  margin: 0;
}

.product-anchor-list .nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  border-radius: 25px;
  transition: var(--transition);
  position: relative;
}

.product-anchor-list .nav-link:hover,
.product-anchor-list .nav-link.active {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.product-anchor-list .nav-link i {
  font-size: 1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .product-anchor-list {
    gap: 1rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .product-anchor-list::-webkit-scrollbar {
    display: none;
  }

  .product-anchor-list .nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .product-desc-content,
  .product-remark-content {
    padding: 1.5rem;
  }

  .product-content-body {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .product-desc-title,
  .product-content-title,
  .product-remark-title {
    font-size: 1.3rem;
  }

  .product-desc,
  .product-remark-content {
    font-size: 1rem;
  }

  .product-anchor-list {
    gap: 0.5rem;
  }

  .product-anchor-list .nav-link {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }
}


/* ===== 统一的组件标题样式 ===== */
.product-section-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 3rem;
  position: relative;
  transition: all 0.3s ease;
  cursor: default;
}

.product-section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  border-radius: 2px;
  transition: all 0.3s ease;
}

.product-section-title:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

.product-section-title:hover::after {
  width: 100px;
  background: linear-gradient(90deg, var(--primary-color), var(--info-color));
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

/* ===== 9. 应用场景 ===== */
.product-showcases-section {
  margin-bottom: 4rem;
}

.product-showcases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.product-showcase-card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
  display: block;
}

.product-showcase-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.product-showcase-image {
  position: relative;
  height: 200px;
  background: var(--light-color);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-showcase-card:hover .product-showcase-image img {
  transform: scale(1.05);
}

.product-showcase-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--secondary-color);
}

.product-showcase-placeholder i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  opacity: 0.5;
}

.product-showcase-content {
  padding: 1.5rem;
}

.product-showcase-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-color);
  margin: 0;
  text-align: center;
}

/* ===== 10. 产品推荐 ===== */
.product-recommendations-section {
  margin-bottom: 2rem;
}

.product-recommendations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.product-recommendation-card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
  display: block;
}

.product-recommendation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.product-recommendation-image {
  position: relative;
  height: 200px;
  background: var(--light-color);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-recommendation-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-recommendation-card:hover .product-recommendation-image img {
  transform: scale(1.05);
}

.product-recommendation-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--secondary-color);
}

.product-recommendation-placeholder i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  opacity: 0.5;
}

.product-recommendation-content {
  padding: 1.5rem;
}

.product-recommendation-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-color);
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
}

.product-recommendation-desc {
  font-size: 0.9rem;
  color: var(--secondary-color);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-recommendation-serial {
  font-size: 0.85rem;
  color: var(--primary-color);
  font-weight: 500;
  margin-top: 0.5rem;
}

/* ===== 动画效果 ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== 响应式设计（增强版） ===== */
@media (max-width: 992px) {
  .product-title {
    font-size: 2.2rem;
  }

  .product-name {
    font-size: 1.8rem;
  }

  .product-main-image {
    height: 400px;
  }

  .product-showcases-grid,
  .product-recommendations-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .product-detail-container {
    padding: 1rem 0.5rem;
  }

  .product-section {
    margin-bottom: 3rem;
  }

  .product-title {
    font-size: 2rem;
  }

  .product-name {
    font-size: 1.5rem;
  }

  .product-remark {
    font-size: 1rem;
    padding: 1rem;
  }

  .product-main-image {
    height: 300px;
  }

  .product-thumbnail {
    width: 60px;
    height: 45px;
  }

  .product-features-content,
  .product-content-container {
    padding: 1.5rem;
  }

  .accordion-body {
    padding: 1rem;
  }

  .attribute-grid {
    grid-template-columns: 1fr;
  }

  .product-showcases-grid,
  .product-recommendations-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .product-title {
    font-size: 1.8rem;
  }

  .product-name {
    font-size: 1.3rem;
  }

  .product-serial {
    font-size: 1rem;
    padding: 0.4rem 1rem;
  }

  .product-remark {
    font-size: 0.95rem;
  }

  .product-main-image {
    height: 250px;
  }

  .product-thumbnail {
    width: 50px;
    height: 38px;
  }

  .product-features-content,
  .product-content-container {
    padding: 1rem;
  }

  .product-section-title {
    font-size: 1.5rem;
  }

  .product-showcases-grid,
  .product-recommendations-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .attribute-table td:first-child {
    width: 35%;
  }

  .attribute-table td:last-child {
    width: 65%;
  }
}
