/* 基础样式 */
body {
    background: #fff;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

.products-main{
    padding-top: 85px;
}

/* 顶部产品宣传区域 */
.products-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.products-hero-content {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-left {
    flex: 1;
    padding-right: 60px;
}

.brand-label {
    background: #072A5A;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.hero-right {
    width: 100%;
    height: 100%;
}

.hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 产品分类标签 */
.products-categories {
    background: #FFF;
    position: absolute;
    margin-top: -22px;
    left: 50%;
    border-radius: 30px ;
    overflow: hidden;
    transform: translateX(-50%);
}

.category-tabs {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 0;
    overflow-x: auto;
}

.category-tab {
    background: #FFF;
    color: #2c3e50;
    padding: 8px 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.category-tab.active {
    background: #CCA55A;
    color: white;
}

.category-tab:hover:not(.active) {
    background: #CCA55A;
    color: white;
}

/* 产品列表区域 */
.products-list {
    background: #001A3D;
    min-height: 800px;
    padding: 40px;
    padding-bottom: 140px;
}

.list-header {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.product-count {
    color: white;
    font-size: 18px;
    font-weight: 500;
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sort-label {
    color: #B8C7E0;
    font-size: 14px;
}

.sort-dropdown {
    background: #1A4B8C;
    color: white;
    border: 1px solid #2A5BA0;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    min-width: 140px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M6 8L2 4h8l-4 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 32px;
}

.sort-dropdown:hover {
    background: #2A5BA0;
    border-color: #3A6BB0;
}

.sort-dropdown:focus {
    outline: none;
    border-color: #4A7BC0;
    box-shadow: 0 0 0 2px rgba(74, 123, 192, 0.3);
}

.sort-dropdown option {
    background: #1A4B8C;
    color: white;
    padding: 8px 16px;
}

/* 产品网格布局 */
.products-grid {
    width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    grid-template-rows: auto auto auto;
}

/* 大产品卡片 - 占据第一行的2.5个位置 */
.product-large {
    grid-column: 1 / span 3;
    background: #DFDFDF;
    overflow: hidden;
    display: flex;
}

.product-content {
    display: flex;
    width: 100%;
    height: 100%;
}

.product-image {
    width: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    object-fit: contain;
}

.product-info {
    width: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 60px;
    text-align: right;
}

.product-tags {
    margin-bottom: 15px;
}

.tag-usage {
    background: #072A5A;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.product-title {
    font-size: 40px;
    font-weight: 600;
    color: #000;
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-subtitle {
    font-size: 25px;
    color: #000;
    margin-bottom: 60px;
}

.buy-btn {
    color: #000;
    border: none;
    padding: 6px 44px;
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 20px;
    cursor: pointer;
    align-self: end;
    transition: background-color 0.3s;
}

/* 小产品卡片 */
.product-item {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 496px;
    overflow: hidden;
    align-items: center;
}



.product-card img {
    width: 100%;
    object-fit: contain;
}

.card-content h4 {
    font-size: 16px;
    font-weight: bold;
    color: #2c3e50;
    line-height: 1.2;
}

.product-details {
    color: white;
    padding-top: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-details h3 {
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #FFE9CB;
}

.product-details p {
    font-size: 20px;
    color: #FFF;
    margin-bottom: 15px;
    line-height: 1.5;
}
.jxdsj{
    color:#012A58;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 24px;
}
.price {
    font-size: 20px;
    font-weight: bold;
    width: 280px;
    padding:0 10px;
    display: flex;
    color: #012A58;
    background: linear-gradient(268deg, #C9A37C 36%, #F6E6CF 100%);
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price-number {
    font-size: 60px;font-weight: 600;
}
.price-number1{
    font-size: 35px;
}
.buy-link {
    font-size: 20px;
    color: #000000;
    font-weight: 500;
    margin-left: 20px;
    text-decoration: none;
    cursor: pointer;
    line-height: 1.5;
    transition: color 0.3s;
}

.buy-link:hover {
    color: white;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .product-large {
        grid-column: 1 / span 2;
        height: 250px;
    }
    
    .product-image {
        width: 250px;
    }
    
    .product-item {
        height: 380px;
    }
}

@media (max-width: 768px) {
    .products-hero {
        min-height: 300px;
    }
    
    .products-hero-content {
        width: 100%;
        height: 100%;
    }
    
    .hero-right {
        width: 100%;
        height: 100%;
    }
    
    .hero-right img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .hero-left {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .products-categories {
       display: none;
    }
    
    .category-tabs {
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .category-tab {
        border-radius: 6px;
        font-size: 14px;
        padding: 8px 16px;
    }
    
    .products-list {
        padding: 10px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        margin-top: 20px;
        gap: 15px;
        width:100%;
    }
    
    .product-large {
        grid-column: span 1;
        height: auto;
        background-color: #133F7E;
        flex-direction: column;
    }
    
    .product-image {
        width: 100%;
        height: auto;
        max-height:unset;
    }
    
    .product-content {
        flex-direction: column;
        min-height: auto;
    }
    
    .product-info {
        padding: 10px;
        width:100%;
        text-align: left;
    }
    
    .product-title {
        font-size: 20px;
    }
    
    .product-item {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .products-main {
        padding-top: 70px;
    }
    .products-hero {
        min-height: auto;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .list-header {
        flex-direction: column;
        display: none;
        gap: 15px;
        align-items: flex-start;
    }
    
    .sort-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .product-item {
        height: auto;
    }
    
    .product-card {
        height: auto;
    }
    
    .card-image img {
        width: 80px;
        height: 80px;
    }
    
    .card-content h4 {
        font-size: 14px;
    }
    .product-tags {
        margin-bottom:0;
    }
    
    .product-details h3 {
        font-size: 22px;
        color: #FFF;
    }
    .product-details p {
         font-size: 14px;
    }
    .product-details a:first{
       font-size: 14px;
    }
    .product-subtitle {
        font-size: 14px;
        margin-bottom: 10px;
    }
    .price {
        font-size: 18px;
        width: 40%;
        margin-left: 10px;
        flex-direction: column;
        background: none;
        margin-top:0;
        justify-content: center;
    }
    
    .jxdsj {
        font-size: 16px;
    }
    .price-number {
        font-size: 30px;
    }
    .product-zysj{
        display: flex;
    }
    
    .product-btcj{
        padding-right: 20px;
    }

    .jggm{
        width:40%;
        display: flex;
        flex-direction: column;
    }
    .jggm a{
        text-align: right;
    }
    .buy-btn {
        font-size: 15px;
        padding: 3px 9px;
    }
    .product-details {
        background: #133F7E;
        padding: 10px;
        flex-direction: row;
    }
 
    .price > a:first-of-type,.price-number1 {
         font-size: 18px;
         color: #FFF;
    }
    
    .price a:nth-of-type(2) {
        background: linear-gradient(268deg, #C9A37C 36%, #F6E6CF 100%);
        color: #000;
        font-size: 14px;
        padding: 3px 10px;
    }
} 