:root {
    --primary: #1a5276;
    --primary-dark: #154360;
    --primary-light: #2e86c1;
    --accent: #d4af37;
    --accent-dark: #b8941f;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-dark: #1a1a1a;
    --border: #e0e0e0;
    --shadow: 0 5px 15px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-light);
    font-family: Inter, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ÃƒÂ©Ã‚Â¡Ã‚ÂµÃƒÂ©Ã‚ÂÃ‚Â¢ÃƒÂ¦Ã‚Â Ã¢â‚¬Â¡ÃƒÂ©Ã‚Â¢Ã‹Å“ÃƒÂ¦Ã‚Â¨Ã‚ÂªÃƒÂ¥Ã‚Â¹Ã¢â‚¬Â¦ */
.page-banner {
    height: 300px;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.page-banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a5276 0%, var(--primary-dark) 100%);
    opacity: 0.9;
}

.page-banner-content {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: white;
}

.page-banner p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* ÃƒÂ©Ã‚Â¡Ã‚ÂµÃƒÂ©Ã‚ÂÃ‚Â¢ÃƒÂ¥Ã¢â‚¬Â Ã¢â‚¬Â¦ÃƒÂ¥Ã‚Â®Ã‚Â¹ÃƒÂ¥Ã…â€™Ã‚ÂºÃƒÂ¥Ã…Â¸Ã…Â¸ */
.page-content {
    display: none;
    padding: 30px 0 60px;
}

.page-content.active {
    display: block;
}
.bg-dark{
    background-color: rgb(35 44 51 / var(--tw-bg-opacity, 1));
}
/* ÃƒÂ¤Ã‚ÂºÃ‚Â§ÃƒÂ¥Ã¢â‚¬Å“Ã‚ÂÃƒÂ©Ã‚Â¡Ã‚ÂµÃƒÂ¦Ã‚Â Ã‚Â·ÃƒÂ¥Ã‚Â¼Ã‚Â */
.filter-section {
    background-color: var(--bg-white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 10px;
}

.filter-label {
    font-weight: 600;
    color: var(--primary);
    font-size: 14px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 25px 8px;
}

.filter-option a {
    padding: 8px 12px;
    background-color: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 20px;
    cursor: pointer;
    a s display: é˜¿æ–¯é¡¿;
    a s display: é˜¿æ–¯;
    a s display: é˜¿;
}
.filter-option .addfl{
    background: #fff;
    border-radius: 0;
    border: 1px solid var(--border);
}
.filter-option .addxz{background: #214b75;color: #fff;}
.addxz a{color:#fff;}
.filter-option a:hover {
    background: #214b75;
    color: white;
    border-color: var(--primary-light);
}
.addxz a:hover {
    background: #fff;
    color: #fff;
    border:0;
}
.filter-option.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.filter-actions {
    margin-left: auto;
    display: flex;
    gap: 10px;
}

.btn {
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background-color: #1a5276;
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.btn-accent {
    background-color: var(--accent);
    color: white;
}

.btn-accent:hover {
    background-color: var(--accent-dark);
}
.position{margin-bottom:20px;}
.position a{}
/* 左侧分类栏容器 */
        .category-sidebar {
            width: 250px;
            background-color: #fff;
            border: 1px solid #e5e7eb;
            border-radius: 6px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
            /* position: sticky; */
            top: 20px;
            height: fit-content;
            float: left;
        }

        /* 分类标题 */
        .sidebar-title {
            padding: 15px 20px;
            font-size: 18px;
            font-weight: 600;
            color: #1a1a1a;
            border-bottom: 1px solid #e5e7eb;
        }

        /* 分类列表 */
        .category-list {
            list-style: none;
        }

        /* 一级分类项 */
        .category-item {
            position: relative;
        }

        .category-link {
            display: block;
            padding: 12px 20px;
            color: #333;
            text-decoration: none;
            font-size: 18px;
            transition: background-color 0.2s ease;
        }

        /* 鼠标悬停一级分类样式 */
        .category-item:hover .category-link {
            background-color: #f8f9fa;
            color: #1a5276;
        }

        /* 二级分类容器 - 默认隐藏 */
        .subcategory-list {
            position: absolute;
            top: 0;
            left: 100%;
            width: 220px;
            background-color: #fff;
            border: 1px solid #e5e7eb;
            border-radius: 6px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            list-style: none;
            display: none;
            z-index: 100;
        }

        /* 鼠标悬停显示二级分类 */
        .category-item:hover .subcategory-list {
            display: block;
        }

        /* 二级分类项样式 */
        .subcategory-item {
            padding: 0;
        }

        .subcategory-link {
            display: block;
            padding: 10px 20px;
            color: #333;
            text-decoration: none;
            font-size: 14px;
            transition: background-color 0.2s ease;
        }

        .subcategory-item:hover .subcategory-link {
            background-color: #f8f9fa;
            color: #1a5276;
        }
.products-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}
.p-right{
    width: 80%;
    float: right;
}
.product-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
}

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

.product-img {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-img img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-info {
    padding: 20px;
}

.product-category {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 5px;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.product-specs {
    list-style: none;
    margin-bottom: 15px;
}

.product-specs li {
    margin-bottom: 5px;
    font-size: 14px;
    color: var(--text-light);
}

.product-specs li i {
    color: var(--primary);
    margin-right: 5px;
}

.product-actions {
    display: flex;
    justify-content: space-between;
}

/* ÃƒÂ¤Ã‚ÂºÃ‚Â§ÃƒÂ¥Ã¢â‚¬Å“Ã‚ÂÃƒÂ¨Ã‚Â¯Ã‚Â¦ÃƒÂ¦Ã†â€™Ã¢â‚¬Â¦ÃƒÂ©Ã‚Â¡Ã‚ÂµÃƒÂ¦Ã‚Â Ã‚Â·ÃƒÂ¥Ã‚Â¼Ã‚Â */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.product-gallery {
    position: relative;
}

.main-image {
    height: 400px;
    background-color: #f1f8ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    cursor: zoom-in;
    overflow: hidden;
}

.main-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: var(--transition);
}

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

.thumbnail-gallery {
    display: flex;
    gap: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    background-color: #f1f8ff;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.thumbnail.active {
    border-color: var(--primary);
}

.thumbnail img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.product-info-detail h1 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 15px;
}

.product-code {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 14px;
}

.product-description {
    margin-bottom: 25px;
    color: var(--text-dark);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

.specs-table td {
    padding: 10px 15px;
    border-bottom: 1px solid var(--border);
}

.specs-table td:first-child {
    font-weight: 600;
    width: 30%;
    color: var(--text-dark);
}

.product-details-tabs {
    margin: 50px 0;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

.tab-btn {
    padding: 15px 25px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
    position: relative;
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
}

.tab-content {
    display: none;
    padding: 20px 0;
}

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

.inquiry-form {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-top: 50px;
}

.inquiry-form h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(26,82,118,0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.related-products {
    margin-top: 60px;
}

.section-title {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent);
}

/* ÃƒÂ¥Ã¢â‚¬Â¦Ã‚Â³ÃƒÂ¤Ã‚ÂºÃ…Â½ÃƒÂ¦Ã‹â€ Ã¢â‚¬ËœÃƒÂ¤Ã‚Â»Ã‚Â¬ÃƒÂ©Ã‚Â¡Ã‚ÂµÃƒÂ¦Ã‚Â Ã‚Â·ÃƒÂ¥Ã‚Â¼Ã‚Â */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.about-text h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-section {
    margin-bottom: 50px;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-content {
    padding: 25px;
    background-color: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
}

.timeline-content h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 10px;
}

.timeline-content .year {
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 10px;
    display: block;
    font-size: 18px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--bg-white);
    border: 4px solid var(--primary);
    border-radius: 50%;
    top: 20px;
    z-index: 1;
}

.timeline-item:nth-child(odd)::after {
    right: -10px;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.certificates-section {
    margin-bottom: 50px;
}

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

.certificate-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    padding: 30px 20px;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.certificate-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.certificate-card:hover {
    transform: translateY(-10px);
}

.certificate-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
}

.certificate-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.gallery-section {
    margin-bottom: 50px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 250px;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

.values-section {
    margin-bottom: 50px;
}

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

.value-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.value-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

/* ÃƒÂ¨Ã‚ÂÃ¢â‚¬ÂÃƒÂ§Ã‚Â³Ã‚Â»ÃƒÂ¦Ã‹â€ Ã¢â‚¬ËœÃƒÂ¤Ã‚Â»Ã‚Â¬ÃƒÂ©Ã‚Â¡Ã‚ÂµÃƒÂ¦Ã‚Â Ã‚Â·ÃƒÂ¥Ã‚Â¼Ã‚Â */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.contact-info h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.contact-text p {
    color: var(--text-light);
}

.map-container {
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ÃƒÂ¦Ã¢â‚¬â€œÃ‚Â°ÃƒÂ©Ã¢â‚¬â€Ã‚Â»ÃƒÂ©Ã‚Â¡Ã‚ÂµÃƒÂ©Ã‚ÂÃ‚Â¢ÃƒÂ¦Ã‚Â Ã‚Â·ÃƒÂ¥Ã‚Â¼Ã‚Â */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(350px,1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.news-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.news-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

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

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

.news-content {
    padding: 20px;
}

.news-date {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 10px;
}

.news-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.news-excerpt {
    color: var(--text-light);
    margin-bottom: 15px;
}

.news-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.news-link:hover {
    color: var(--primary-dark);
    gap: 10px;
}

/* CatalogÃƒÂ©Ã‚Â¡Ã‚ÂµÃƒÂ©Ã‚ÂÃ‚Â¢ÃƒÂ¦Ã‚Â Ã‚Â·ÃƒÂ¥Ã‚Â¼Ã‚Â */
.catalog-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.catalog-intro h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 20px;
}

.catalog-download {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    margin-bottom: 50px;
}

.catalog-download h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 15px;
}

.catalog-download p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.catalog-preview {
    margin-bottom: 50px;
}

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

.preview-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 300px;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ÃƒÂ©Ã‚Â¡Ã‚ÂµÃƒÂ¨Ã¢â‚¬Å¾Ã…Â¡ÃƒÂ¦Ã‚Â Ã‚Â·ÃƒÂ¥Ã‚Â¼Ã‚Â */
footer {
    color: white;
    padding: 60px 0 20px;
}

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

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: white;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    color: #aaa;
}

/* ÃƒÂ¥Ã…Â Ã‚Â¨ÃƒÂ§Ã¢â‚¬ÂÃ‚Â»ÃƒÂ¦Ã¢â‚¬Â¢Ã‹â€ ÃƒÂ¦Ã…Â¾Ã…â€œ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s,transform 0.6s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ÃƒÂ¥Ã¢â‚¬Å“Ã‚ÂÃƒÂ¥Ã‚ÂºÃ¢â‚¬ÂÃƒÂ¥Ã‚Â¼Ã‚ÂÃƒÂ¨Ã‚Â®Ã‚Â¾ÃƒÂ¨Ã‚Â®Ã‚Â¡ */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns:repeat(2,1fr);
    }
    .subcategory-list{
    left: 0;
    width: 100%;
}
    .category-sidebar{
    width: 100%;
    margin-bottom: 10px;
}
    .product-detail {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item::after {
        left: 21px;
    }

    .timeline-item:nth-child(odd)::after,.timeline-item:nth-child(even)::after {
        left: 21px;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns:1fr;
        width: 100%;
    }

    .filter-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .filter-actions {
        margin-left: 0;
        width: 100%;
        justify-content: space-between;
    }

    .nav-links {
        display: none;
    }

    .page-banner {
        height: 250px;
    }

    .page-banner h1 {
        font-size: 32px;
    }
}
/* 分页整体样式重置 */
.pages {
  width: 100%;
  padding: 20px 0;
  clear: both;
}
.pages ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pagination.pages_box {
  display: flex;
  align-items: center;
  gap: 8px; /* 页码之间间距，可调整 */
  flex-wrap: wrap; /* 小屏幕自动换行 */
  width: 35%;
  margin: auto;
}

/* 上一页/下一页 按钮样式 */
.pagination.pages_box .page-link {
  display: inline-block;
  padding: 8px 16px;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  color: #333333;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
}
/* 上一页/下一页 hover&禁用状态（如果有不可点情况） */
.pagination.pages_box .page-link:hover:not(:disabled) {
  background-color: #f5f7fa;
  border-color: #d1d5db;
  color: #1a5276;
}
.pagination.pages_box .page-link:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  color: #9ca3af;
}

/* 数字页码样式 */
.pagination.pages_box .page-num {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pagination.pages_box .page-num a {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  color: #333333;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

/* 当前页码高亮样式（核心） */
.pagination.pages_box .page-num-current a {
  background-color: #1a5276;
  border-color: #1a5276;
  color: #ffffff;
  font-weight: 600;
}

/* 数字页码hover样式 */
.pagination.pages_box .page-num:not(.page-num-current) a:hover {
  background-color: #f5f7fa;
  border-color: #d1d5db;
  color: #1a5276;
}

/* 响应式适配（小屏幕优化） */
@media (max-width: 576px) {
  .pagination.pages_box {
    gap: 4px;
  }
  .pagination.pages_box .page-link {
    padding: 6px 12px;
    font-size: 13px;
  }
  .pagination.pages_box .page-num a {
    width: 32px;
    height: 32px;
    line-height: 32px;
    font-size: 13px;
  }
}