/* 产品banner样式 */
.product-banner {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

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

/* 分类标题样式 */
.category-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.category-title h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 600;
    margin: 0;
    padding: 0 50px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* 分类标签样式 */
.category-tabs {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.5);
}

.category-item {
    padding: 10px 20px;
    margin: 0 10px;
    color: #fff;
    cursor: pointer;
    position: relative;
}

.category-item.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #0066cc;
}
.breadcrumb a{ color:#666; text-decoration:none}
.breadcrumb a:hover{ color: #002fa7; text-decoration:none}

/* 型号分类样式 */
.model-tabs {
    background-color: #f5f5f5;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.model-list {
    display: flex;
    align-items: center;
    gap: 30px;
    overflow-x: auto;
    padding: 0 15px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}
.model-list a{
    text-decoration: none;
}

.model-list a:hover{
color: #002fa7;
    border-bottom: 2px solid #002fa7;
    font-weight: bold;}

.model-list::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.model-item {
    padding: 8px 0;
    cursor: pointer;
    color: #666;
    font-size: 16px;
    white-space: nowrap;
    position: relative;
    transition: color 0.3s;
    text-decoration: none;
}
.model-item a:hover{
color: #002fa7;
    border-bottom: 2px solid #002fa7;
    font-weight: bold;}
.model-item a{
    text-decoration: none;
}

.model-item.active {
    color: #002fa7;
  border-bottom: 2px solid #002fa7;
  font-weight: bold;
}

.model-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #0066cc;
}

/* 产品列表样式 */
.product-list {
    padding: 40px 0;
}

.product-item {
    background: #fff;
    border: 1px solid #eee;
    overflow: hidden;
    transition: box-shadow 0.3s;
    position: relative;
    height: 100%;
}

.product-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
}

.product-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: rgba(0,102,204,0.5);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    padding: 0;
}

.product-model {
    position: absolute;
    top: 12px;
    left: 16px;
    color: #fff;
    font-size: 14px;
    z-index: 3;
}

.arrow-link {
    position: absolute;
    bottom: 12px;
    right: 16px;
    color: #0066cc;
    font-size: 22px;
    text-decoration: none;
    z-index: 5;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.arrow-link:hover {
    background: #0066cc;
    color: #fff;
    transform: translateX(3px);
}

.product-info-on-img {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 18px 16px 14px 16px;
    z-index: 3;
    text-align: left;
}

.product-info-on-img h3 {
    margin: 0 0 6px 0;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
}

.product-info-on-img p {
    margin: 0;
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
}

@media (max-width: 991px) {
    .category-title h1 {
        font-size: 36px;
        padding: 0 30px;
    }
    .product-info-on-img h3 { font-size: 15px; }
    .product-info-on-img p { font-size: 12px; }
}

@media (max-width: 767px) {
    .category-title h1 {
        font-size: 28px;
        padding: 0 20px;
    }
    .model-item {
        font-size: 14px;
    }
    .product-info-on-img h3 { font-size: 14px; }
    .product-info-on-img p { font-size: 11px; }
} 
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

ul.pagination {
    display: inline-block;
    padding: 0;
    margin: 20px auto;
    text-align: center;
}

ul.pagination li {display: inline;}

ul.pagination li a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
    border: 1px solid #ddd;
}

ul.pagination li .page-num-current {
    background-color: #002fa7;
    color: white;
    border: 1px solid #002fa7;
}



ul.pagination li a:hover:not(.active) {background-color: #ddd;}