/**
 * 全局样式文件
 * 管制瓶跨境电商网站
 */

/* ==================== 全局重置 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: #2196f3;
    transition: color 0.3s;
}

a:hover {
    color: #1976d2;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== 按钮样式 ==================== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background-color: #2196f3;
    color: white;
}

.btn-primary:hover {
    background-color: #1976d2;
    color: white;
}

.btn-secondary {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background-color: #e0e0e0;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 14px;
}

/* ==================== 头部样式 ==================== */
.site-header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo h1 {
    font-size: 28px;
    color: #2196f3;
    margin-bottom: 5px;
}

.logo p {
    font-size: 14px;
    color: #666;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: #333;
    font-weight: 500;
    padding: 10px 0;
}

.main-nav a:hover {
    color: #2196f3;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box form {
    display: flex;
    gap: 10px;
}

.search-box input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 200px;
}

.search-box button {
    padding: 8px 16px;
    background-color: #2196f3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.lang-switch {
    display: flex;
    align-items: center;
}

.lang-switch .el-select {
    width: 140px;
}

.lang-switch .el-input__inner {
    height: 32px;
    line-height: 30px;
    padding: 0 10px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.lang-switch .el-select .el-input__suffix {
    right: 8px;
}

/* ==================== 页脚样式 ==================== */
.site-footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #bdc3c7;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* ==================== 首页样式 ==================== */
.banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.banner h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.banner p {
    font-size: 24px;
    margin-bottom: 30px;
}

.features {
    padding: 60px 0;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: #333;
}

.featured-products {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.product-info .sku {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.product-info .price {
    font-size: 20px;
    font-weight: 700;
    color: #2196f3;
    margin-bottom: 10px;
}

.stock-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.stock-badge.in-stock {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.stock-badge.out-of-stock {
    background-color: #ffebee;
    color: #c62828;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.product-tags .tag {
    display: inline-block;
    padding: 3px 8px;
    background-color: #e3f2fd;
    color: #1976d2;
    border-radius: 3px;
    font-size: 12px;
}

.section-actions {
    text-align: center;
}

.about-intro {
    padding: 60px 0;
    background-color: white;
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #666;
}

/* ==================== 产品列表页样式 ==================== */
.products-page {
    padding: 40px 0;
}

.page-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

.tags-filter {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.tags-filter h3 {
    margin-bottom: 15px;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-checkbox {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.tag-checkbox:hover {
    background-color: #e3f2fd;
    border-color: #2196f3;
}

.tag-checkbox.selected {
    background-color: #2196f3;
    border-color: #2196f3;
    color: white;
}

.tag-checkbox input[type="checkbox"] {
    margin-right: 8px;
}

.tag-name {
    font-weight: 500;
}

.tag-count {
    margin-left: 5px;
    font-size: 12px;
    color: #999;
}

.tag-checkbox.selected .tag-count {
    color: rgba(255, 255, 255, 0.8);
}

.no-products {
    text-align: center;
    padding: 60px 0;
}

.no-products h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.no-products p {
    color: #666;
}

/* ==================== 产品详情页样式 ==================== */
.product-detail-page {
    padding: 40px 0;
}

.breadcrumb {
    margin-bottom: 30px;
    color: #666;
}

.breadcrumb a {
    color: #666;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.product-gallery {
    position: sticky;
    top: 100px;
}

/* ==================== 淘宝风格主图样式 ==================== */
.taobao-gallery {
    position: relative;
}

.main-image-container {
    position: relative;
    width: 100%;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    margin-bottom: 10px;
}

.main-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 正方形比例 */
    overflow: hidden;
    cursor: crosshair;
}

.main-image-wrapper .main-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    z-index: 1;
}

.main-image-wrapper .main-image.active {
    opacity: 1;
    z-index: 2;
}

/* 云标签 */
.image-tags {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.image-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    color: white;
    text-transform: uppercase;
}

.image-tag.tag-hot {
    background: linear-gradient(135deg, #ff9000 0%, #ff5000 100%);
}

.image-tag.tag-new {
    background: linear-gradient(135deg, #00d93e 0%, #00bf52 100%);
}

/* 放大镜提示 */
.zoom-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    color: rgba(255, 255, 255, 0.8);
}

.main-image-wrapper:hover .zoom-hint {
    opacity: 1;
}

/* 图片计数器 */
.image-counter {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* 缩略图导航 */
.thumbnail-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #e8e8e8;
    background-color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    flex-shrink: 0;
}

.nav-btn:hover {
    border-color: #ff5000;
    color: #ff5000;
    background-color: #fff5f5;
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.thumbnail-list {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    scroll-behavior: smooth;
    flex: 1;
    padding: 5px 0;
    scrollbar-width: thin;
    scrollbar-color: #ddd #f5f5f5;
}

.thumbnail-list::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-list::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 3px;
}

.thumbnail-list::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.thumbnail-list::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

.thumbnail-list .thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid #e8e8e8;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.thumbnail-list .thumb:hover {
    border-color: #ff5000;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(255, 80, 0, 0.2);
}

.thumbnail-list .thumb.active {
    border-color: #ff5000;
    box-shadow: 0 2px 8px rgba(255, 80, 0, 0.3);
}

/* 隐藏旧的辅图区域 */
.gallery-section {
    display: none;
}

/* 主图放大效果 */
.main-image-wrapper.zoomed .main-image {
    transform: scale(2);
    cursor: grab;
}

.main-image-wrapper.zoomed .main-image:active {
    cursor: grabbing;
}

.variant-selector {
    margin: 30px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.variant-selector h4 {
    margin-bottom: 15px;
}

.variant-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.variant-option {
    display: block;
    padding: 15px;
    background-color: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.variant-option:hover {
    border-color: #2196f3;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.2);
}

.variant-option.active {
    border-color: #2196f3;
    background-color: #e3f2fd;
}

.variant-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
}

.variant-sku {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.variant-price {
    font-weight: 700;
    color: #2196f3;
    font-size: 18px;
    margin: 10px 0;
}

.gallery-section h5 {
    margin: 30px 0 15px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.gallery-grid img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s;
}

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

.product-info-section h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.product-info-section .sku {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.product-info-section .price {
    font-size: 28px;
    font-weight: 700;
    color: #2196f3;
    margin: 20px 0;
}

.product-info-section .min-order {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.product-tags-section {
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.product-tags-section .tag-link {
    display: inline-block;
    margin: 5px 10px 5px 0;
    padding: 5px 12px;
    background-color: #e3f2fd;
    color: #1976d2;
    border-radius: 3px;
    font-size: 14px;
}

.product-tags-section .tag-link:hover {
    background-color: #1976d2;
    color: white;
}

.product-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.btn-inquiry {
    flex: 1;
}

.btn-contact {
    flex: 1;
}

.variant-attributes {
    margin: 30px 0;
    padding: 20px;
    background-color: #fff3e0;
    border-radius: 8px;
}

.variant-attributes h3 {
    margin-bottom: 15px;
    color: #f57c00;
}

.variant-attributes table {
    width: 100%;
    border-collapse: collapse;
}

.variant-attributes td {
    padding: 10px;
    border-bottom: 1px solid #ffe0b2;
}

.variant-attributes .attr-name {
    font-weight: 600;
    width: 150px;
    color: #666;
}

.common-attributes {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.common-attributes h2 {
    margin-bottom: 20px;
}

.common-attributes table {
    width: 100%;
    border-collapse: collapse;
}

.common-attributes td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.common-attributes .attr-name {
    font-weight: 600;
    width: 200px;
    color: #666;
}

.product-description {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.product-description h2 {
    margin-bottom: 20px;
}

.product-description h3 {
    margin: 30px 0 15px;
}

.product-description ul,
.product-description ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

.product-description li {
    margin-bottom: 10px;
}

.product-description table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.product-description th,
.product-description td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

.product-description th {
    background-color: #f5f5f5;
    font-weight: 600;
}

.variants-comparison {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 40px;
    overflow-x: auto;
}

.variants-comparison h2 {
    margin-bottom: 20px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.comparison-table th,
.comparison-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #e0e0e0;
}

.comparison-table th {
    background-color: #f5f5f5;
    font-weight: 600;
}

.comparison-table tr.active {
    background-color: #e3f2fd;
}

.comparison-table tr:hover {
    background-color: #f5f5f5;
}

/* ==================== 搜索页样式 ==================== */
.search-page {
    padding: 40px 0;
}

.search-box-large {
    margin-bottom: 30px;
}

.search-box-large form {
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.search-filters {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.results-count {
    margin-bottom: 20px;
    color: #666;
}

.no-results,
.search-tips {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
}

.no-results h3,
.search-tips h3 {
    margin-bottom: 15px;
}

.no-results ul,
.search-tips ul {
    text-align: left;
    display: inline-block;
    margin-top: 20px;
}

.no-results li,
.search-tips li {
    margin-bottom: 10px;
}

.match-type {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 12px;
    background-color: #e3f2fd;
    color: #1976d2;
    border-radius: 12px;
    font-size: 12px;
}

/* ==================== 关于和联系页样式 ==================== */
.about-page,
.contact-page {
    padding: 40px 0;
}

.about-content,
.contact-content {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
}

.about-section,
.contact-section {
    margin-bottom: 40px;
}

.about-section h2,
.contact-section h2 {
    margin-bottom: 20px;
    color: #333;
}

.advantages-list,
.certifications-list {
    list-style: none;
}

.advantages-list li,
.certifications-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.contact-item h3 {
    margin-bottom: 10px;
    color: #2196f3;
}

.contact-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
}

/* ==================== 错误页样式 ==================== */
.error-page {
    padding: 100px 0;
    text-align: center;
    background-color: white;
}

.error-page h1 {
    font-size: 120px;
    color: #2196f3;
    margin-bottom: 20px;
}

.error-page h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.error-page p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .header-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ==================== 产品详情图片展示区样式 ==================== */
.product-details-gallery {
    margin: 40px 0;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-details-gallery h2 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #333;
    text-align: center;
    font-weight: 600;
}

/* 选项卡导航 */
.details-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden; /* 禁止上下滚动 */
    -webkit-overflow-scrolling: touch;
    /* 隐藏滚动条但保留滚动功能 */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.details-tabs::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.details-tabs .tab-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 13px;
    color: #666;
    margin-bottom: -2px;
    white-space: nowrap;
    flex-shrink: 0;
}

.details-tabs .tab-btn:hover {
    background-color: #e8f4ff;
    color: #2196f3;
}

.details-tabs .tab-btn.active {
    background-color: #2196f3;
    color: white;
    border-color: #2196f3;
}

.details-tabs .tab-btn svg {
    flex-shrink: 0;
}

/* 选项卡内容区 */
.tabs-content {
    position: relative;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-panel.active {
    display: block;
}

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

/* 主图查看器 */
.main-image-viewer {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.main-image-viewer img {
    width: 100%;
    height: auto;
    display: block;
}

/* 产品细节垂直列表（淘宝详情页风格） */
.details-vertical-list {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
}

.details-vertical-list .detail-image-item {
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background-color: white;
}

.details-vertical-list .detail-image-item:last-child {
    margin-bottom: 0;
}

.details-vertical-list .detail-image-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* 缩略图条 */
.thumbnail-strip {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    overflow-x: auto;
    padding: 10px 0;
}

.thumbnail-strip .detail-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    flex-shrink: 0;
}

.thumbnail-strip .detail-thumb:hover {
    border-color: #2196f3;
    transform: scale(1.05);
}

.thumbnail-strip .detail-thumb.active {
    border-color: #2196f3;
}

/* 认证证书网格 */
.certificate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

.cert-item {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s;
}

.cert-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.cert-item img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* 无图片占位符 */
.no-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    color: #999;
    text-align: center;
}

.no-image-placeholder svg {
    margin-bottom: 20px;
    opacity: 0.3;
}

.no-image-placeholder p {
    font-size: 16px;
    color: #999;
}

/* 产品描述内容区 */
.product-description-content {
    padding: 20px;
    background-color: white;
    line-height: 1.8;
}

.product-description-content h1,
.product-description-content h2,
.product-description-content h3,
.product-description-content h4,
.product-description-content h5,
.product-description-content h6 {
    margin-top: 24px;
    margin-bottom: 16px;
    font-weight: 600;
    color: #333;
}

.product-description-content h1 {
    font-size: 24px;
}

.product-description-content h2 {
    font-size: 20px;
}

.product-description-content h3 {
    font-size: 18px;
}

.product-description-content p {
    margin-bottom: 16px;
    color: #555;
}

.product-description-content ul,
.product-description-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.product-description-content li {
    margin-bottom: 8px;
}

.product-description-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.product-description-content th,
.product-description-content td {
    padding: 12px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.product-description-content th {
    background-color: #f5f5f5;
    font-weight: 600;
}

.product-description-content blockquote {
    margin: 20px 0;
    padding: 16px;
    border-left: 4px solid #2196f3;
    background-color: #f9f9f9;
    color: #666;
}

.product-description-content code {
    background-color: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
    font-size: 14px;
}

.product-description-content pre {
    background-color: #f5f5f5;
    padding: 16px;
    border-radius: 4px;
    overflow-x: auto;
    margin: 16px 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .product-details-gallery {
        padding: 20px;
    }
    
    .details-tabs {
        gap: 5px;
    }
    
    .details-tabs .tab-btn {
        padding: 10px 15px;
        font-size: 14px;
        flex: 1 1 auto;
        justify-content: center;
    }
    
    .details-tabs .tab-btn span {
        display: none;
    }
    
    .thumbnail-strip .detail-thumb {
        width: 60px;
        height: 60px;
    }
    
    .certificate-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
}
