/* 产品列表页样式 - 主色：#0746ce */
.product-list-page {
    padding: 30px 0 50px;
}

/* 面包屑导航 */
.breadcrumb-nav {
    margin-bottom: 30px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.breadcrumb-nav a {
    color: #0746ce;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
    color: #0638a8;
}

.breadcrumb-nav span:not(.fas) {
    color: #666;
}

.breadcrumb-nav i.fa-chevron-right {
    font-size: 12px;
    color: #999;
}

/* 内容布局 */
.content-wrapper {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
}

/* 左侧分类侧边栏 (20%) */
.category-sidebar {
    width: 20%;
    flex-shrink: 0;
}

.widget-title {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0746ce;
    font-weight: 600;
}

.category-list {
    list-style: none;
    margin-bottom: 30px;
}

.category-item {
    display: block;
    padding: 12px 15px;
    margin-bottom: 5px;
    color: #555;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    border-left: 3px solid transparent;
    font-size: 14px;
    line-height: 1.4;
}

.category-item:hover {
    background: #f8f9fa;
    color: #0746ce;
    border-left-color: #0746ce;
    padding-left: 20px;
}

.category-item.active {
    background: #0746ce;
    color: white;
    border-left-color: #052e8a;
    padding-left: 20px;
}

/* 快速联系 - 更新样式 */
.quick-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-method-simple {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #555;
    transition: all 0.3s;
    border: 1px solid #e9ecef;
}

.contact-method-simple:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-method-simple i {
    width: 20px;
    text-align: center;
    font-size: 16px;
    color: #0746ce;
}

.contact-method-simple span {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

/* WhatsApp联系样式 */
.whatsapp-contact {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white !important;
    border: none !important;
}

.whatsapp-contact i {
    color: white !important;
}

.whatsapp-contact:hover {
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* WhatsApp二维码部分 */
.whatsapp-qr-section {
    margin-top: 10px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.whatsapp-qr-section h4 {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

.qr-code-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.whatsapp-qr-code {
    width: 150px;
    height: 150px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px;
    background: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.whatsapp-qr-code:hover {
    transform: scale(1.05);
}

.qr-note {
    font-size: 12px;
    color: #666;
    text-align: center;
    line-height: 1.4;
    margin: 0;
    max-width: 180px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .category-sidebar {
        width: 100%;
        order: 2;
        margin-top: 30px;
    }
    
    .product-list-main {
        width: 100%;
    }
    
    .quick-contact {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .contact-method-simple {
        flex: 1;
        min-width: 200px;
    }
    
    .whatsapp-qr-section {
        width: 100%;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .contact-method-simple {
        min-width: 100%;
    }
    
    .whatsapp-qr-code {
        width: 120px;
        height: 120px;
    }
}

/* 页面标题 */
.page-header {
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* 产品搜索 */
.product-search-section {
    margin-bottom: 25px;
}

.product-search-form {
    max-width: 600px;
}

.search-input-group {
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: #0746ce;
    box-shadow: 0 0 0 3px rgba(7, 70, 206, 0.1);
}

.search-btn {
    padding: 12px 24px;
    background: #0746ce;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-btn:hover {
    background: #0638a8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(7, 70, 206, 0.3);
}

/* 产品筛选 */
.product-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.filter-options {
    display: flex;
    align-items: center;
    gap: 20px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.filter-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    min-width: 150px;
}

.filter-select:focus {
    outline: none;
    border-color: #0746ce;
}

.product-count {
    font-size: 14px;
    color: #666;
}

/* 产品网格 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border: 1px solid #e9ecef;
}

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

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1; /* 正方形图片 */
    background: #f8f9fa;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 70, 206, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.view-details-btn {
    padding: 12px 24px;
    background: white;
    color: #0746ce;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.view-details-btn:hover {
    background: #f8f9fa;
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.4;
}

.product-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 20px;
    color: #0746ce;
    font-weight: 700;
    margin-bottom: 15px;
}

.product-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #0746ce;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.product-btn:hover {
    background: #0638a8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(7, 70, 206, 0.3);
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
}

.page-nav {
    padding: 10px 20px;
    background: #f8f9fa;
    color: #555;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-nav:hover:not(.disabled) {
    background: #0746ce;
    color: white;
}

.page-nav.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 8px;
}

.page-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #555;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s;
}

.page-number:hover,
.page-number.active {
    background: #0746ce;
    color: white;
}

.page-dots {
    padding: 0 10px;
    color: #999;
}

/* 行动号召 */
.cta-section {
    background: linear-gradient(135deg, #0746ce 0%, #052e8a 100%);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-top: 50px;
}

.cta-content h3 {
    font-size: 28px;
    color: white;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: white;
    color: #0746ce;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
}

.cta-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}