 /* Base Styles */
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* Breadcrumb */
.mianbaoxie {
    background-color: #040404b1;
    padding: 10px;
}

/* Product Container */
.product-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.product-main {
    display: flex;
    gap: 40px;
}

.product-image {
    flex: 1;
}

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

.product-info {
    flex: 1;
    padding: 20px 0;
}

.product-title {
    font-size: 28px;
    margin-bottom: 20px;
    color: #222;
}

.product-description {
    margin-bottom: 30px;
    font-size: 16px;
    color: #555;
}

/* Image Gallery */
.image-gallery {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.gallery-item {
    cursor: pointer;
    text-align: center;
}

.image-gallery img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #ddd;
    transition: transform 0.3s;
}

.image-gallery img:hover {
    transform: scale(1.05);
}

.image-caption {
    margin-top: 8px;
    font-size: 12px;
    color: #666;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

.lightbox-content,
.lightbox-image {
    margin: auto;
    max-width: 80%;
    max-height: 80%;
    border: 3px solid white;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 35px;
    cursor: pointer;
    font-weight: bold;
}

.caption-text,
.lightbox-caption {
    position: absolute;
    bottom: 20px;
    color: white;
    text-align: center;
    width: 100%;
    margin: 15px auto;
}

/* Buttons */
.button-group {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.contact-btn,
.download-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
    margin-left: 20px; /* Added left margin here */

}

.contact-btn:hover,
.download-btn:hover {
    background-color: #0052a3;
}

/* Responsive */
@media (max-width: 768px) {
    .product-main {
        flex-direction: column;
    }
    .contact-btn,
.download-btn {   
     margin-top: 20px; /* Added left margin here */

}
}
      /* 弹出窗口样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto; /* 允许内容滚动 */
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto; /* 减少顶部边距 */
    padding: 25px;
    border: 1px solid #888;
    width: 90%; /* 更灵活的宽度 */
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: relative;
    max-height: 90vh; /* 限制最大高度 */
    overflow-y: auto; /* 内容过多时滚动 */
}

.close {
    color: #aaa;
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #333;
}

/* 表单样式 */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input, 
.form-group select,
.form-group textarea {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-group input:focus, 
.form-group select:focus,
.form-group textarea:focus {
    border-color: #4CAF50;
    outline: none;
}

/* 单选按钮样式 */
.form-radio {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.radio-option {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    font-size: 15px;
    user-select: none;
}

.radio-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-checkmark {
    position: absolute;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 50%;
}

.radio-option:hover input ~ .radio-checkmark {
    border-color: #4CAF50;
}

.radio-option input:checked ~ .radio-checkmark {
    background-color: #fff;
    border-color: #4CAF50;
}

.radio-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.radio-option input:checked ~ .radio-checkmark:after {
    display: block;
}

.radio-option .radio-checkmark:after {
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4CAF50;
}
.submit-btn {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #3e8e41;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 2% auto;
        padding: 20px 15px;
    }
    
    .form-group input, 
    .form-group select,
    .form-group textarea {
        padding: 8px 10px;
    }
    
    .submit-btn {
        padding: 10px 15px;
    }
}
    .pc-product-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }
        
        .pc-product-item {
            text-align: center;
            
        }
        
        .pc-product-link {
            text-decoration: none;
            color: inherit;
            display: block;
        }
        
        .pc-product-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 8px;
            margin-bottom: 10px;
            transition: transform 0.3s ease;
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15); /* 阴影更大、更明显 */

        }
        
        .pc-product-image:hover {
            transform: scale(1.03);
        }
        
        .pc-product-title {
            font-size: 18px;
            font-weight: 600;
            margin-top: 8px;
        }
        
        @media (max-width: 768px) {
            .pc-product-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 480px) {
            .pc-product-grid {
                grid-template-columns: 1fr;
            }
        }
      .xiangguan { font-size: 32px;           /* 字体大小 */
            color: #007BFF;            /* 蓝色字体 */
            text-align: left;        /* 居中对齐 */
            font-weight: 600;          /* 设置加粗 */
            margin: 20px 0;            /* 设置上下边距 */
            padding: 10px 0;           /* 设置内边距 */
            border-bottom: 3px solid #007BFF; /* 下边框线 */
        }
                .photo-gallery {
            display: flex;
            flex-wrap: wrap;
            gap: 20px; /* Space between photos */
            justify-content: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        .photo-container {
            flex: 0 0 calc(50% - 10px); /* Two photos per row accounting for gap */
            max-width: calc(50% - 10px);
            box-sizing: border-box;
        }
        
        .photo-container img {
            width: 100%;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }
        
        .photo-container img:hover {
            transform: scale(1.02);
        }
        
        .photo-caption {
            margin-top: 10px;
            text-align: center;
            font-family: Arial, sans-serif;
            color: #333;
        }
        
        @media (max-width: 768px) {
            .photo-container {
                flex: 0 0 100%; /* Stack photos vertically on small screens */
                max-width: 100%;
            }
        }
.video-row {
  display: flex;
  flex-wrap: wrap; /* 允许换行 */
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 20px; /* 增加间距，避免挤在一起 */
}
.video-item {
  width: 48%;
}
.video-item iframe {
  width: 100%;
  height: 315px;
}
.video-item p {
  text-align: center;
  margin-top: 8px;
  font-weight: bold;
}
 @media (max-width: 768px) {
  .video-item {
    width: 100%; /* 手机端：每行1个（100%宽度） */
  }
  
  .video-item iframe,
  .video-item video {
    height: 200px; /* 手机端适当降低高度 */
  }
}       