/* Product Search Page - Mobile Responsive Styles */

@media screen and (max-width: 768px) {
    /* 头部背景简化 */
    .top-bar{
        background-color: #144279;
        background-image: none;
    }

    .top-bar .hero,
    .hero{
        display: none;
    }

    /* 页面主体 */
    .product-search-main{
        background-color: #ffffff;
        padding: 15rem 0 60rem 0;
    }

    .product-search-inner{
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 20rem;
        box-sizing: border-box;
    }

    /* Breadcrumb */
    .product-search-breadcrumb{
        display: flex;
        align-items: center;
        gap: 8rem;
        margin-bottom: 20rem;
        font-size: 12rem;
        flex-wrap: wrap;
        color: #333333;
    }

    .breadcrumb-home{
        color: #333333;
        text-decoration: none;
        font-size: 12rem;
        display: flex;
        align-items: center;
    }

    .breadcrumb-home:hover{
        text-decoration: underline;
    }

    .breadcrumb-separator{
        color: #333333;
    }

    .breadcrumb-current{
        color: #144279;
    }

    /* Page Title */
    .product-search-title{
        font-family: 'Arial Negreta', 'Arial Normal', 'Arial', sans-serif;
        font-weight: 700;
        font-size: 24rem;
        color: #144279;
        margin-bottom: 24rem;
        line-height: 1.3;
    }

    /* Main Content Area */
    .product-search-content{
        display: flex;
        flex-direction: column;
        gap: 24rem;
        align-items: stretch;
    }

    /* Left Sidebar - Filters */
    .product-search-sidebar{
        width: 100%;
        flex-shrink: 0;
        height: auto;
    }

    .filter-section{
        margin-bottom: 16rem;
    }

    .filter-section:last-child{
        margin-bottom: 0;
    }

    .filter-section-title{
        font-size: 18rem;
        font-weight: 700;
        color: #004a80;
        margin-bottom: 12rem;
    }

    .filter-group{
        margin-bottom: 4rem;
    }

    .filter-group:last-child{
        border-bottom: none;
        margin-bottom: 0;
    }

    .filter-subgroup{
        margin-left: 16rem;
        margin-top: 4rem;
        display: flex;
        flex-direction: column;
        gap: 4rem;
    }

    .filter-option{
        display: flex;
        align-items: center;
        gap: 4rem;
        font-size: 13rem;
        color: #004a80;
        cursor: pointer;
    }

    .filter-option:hover{
        color: #B8b21A;
    }

    .filter-option input[type="checkbox"],
    .filter-sidebar .filter-option input[type="radio"]{
        width: 16rem;
        height: 16rem;
        cursor: pointer;
        accent-color: #004a80;
    }

    .filter-option.filter-option-active{
        color: #c57a1a;
        font-weight: 600;
    }

    .filter-options-tags{
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        align-items: flex-start;
        gap: 8rem;
        padding-top: 2rem;
    }

    .filter-options-tags-wrap{
        display: flex;
        flex-direction: column;
        gap: 14rem;
    }

    .tag-category-block{
        display: flex;
        flex-direction: column;
        gap: 8rem;
    }

    .tag-category-title{
        font-size: 12rem;
        font-weight: 700;
        color: #144279;
        line-height: 1.4;
        padding-left: 2rem;
    }

    .filter-option-tag{
        position: relative;
        padding: 0;
        width: auto;
        max-width: 100%;
        flex: 0 1 auto;
        border: 1rem solid #cfd8e3;
        border-radius: 6rem;
        background: #ffffff;
        color: #17405f;
        overflow: hidden;
    }

    .filter-option-tag input[type="checkbox"]{
        position: absolute;
        opacity: 0;
        pointer-events: none;
        width: 0;
        height: 0;
    }

    .filter-option-tag span{
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 28rem;
        padding: 0 11rem;
        font-size: 12rem;
        font-weight: 600;
        line-height: 1.2;
        white-space: nowrap;
    }

    .filter-option-tag.is-active{
        color: #ffffff;
        border-color: #144279;
        background: #144279;
    }

    a.filter-option{
        text-decoration: none;
    }

    /* Right Content Area */
    .product-search-results{
        flex: 1;
        width: 100%;
    }

    /* Search Bar */
    .search-bar-section{
        margin-bottom: 30rem;
    }

    .search-bar-title{
        font-size: 20rem;
        font-weight: 700;
        color: #144279;
        margin-bottom: 12rem;
    }

    .search-bar-wrapper{
        display: flex;
        flex-wrap: wrap;
        gap: 12rem;
        align-items: center;
    }

    .search-input{
        flex: 1;
        min-width: 0;
        padding: 10rem 12rem;
        border: 1px solid #e0e0e0;
        border-radius: 4rem;
        font-size: 14rem;
        font-family: 'Arial', sans-serif;
    }

    .search-input:focus{
        outline: none;
        border-color: #144279;
    }

    .search-btn{
        padding: 10rem 24rem;
        background-color: #c57a1a;
        color: #ffffff;
        border: none;
        border-radius: 4rem;
        font-family: 'Arial', sans-serif;
        font-size: 16rem;
        font-weight: 600;
        cursor: pointer;
        transition: background-color 0.3s ease;
        flex-shrink: 0;
    }

    .search-btn:hover{
        background-color: #b8741a;
    }

    /* Product Grid */
    .product-grid{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16rem;
    }

    .product-card{
        height: auto;
        background-color: #ffffff;
        border: 1px solid #e0e0e0;
        padding: 16rem 12rem;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-shadow: 0 0 10rem 0 rgba(0, 0, 0, 0.08);
    }

    .product-card-link{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        text-decoration: none;
        color: inherit;
        box-sizing: border-box;
    }

    .product-card-label{
        font-family: "Arial Bold", "Arial Normal", "Arial", sans-serif;
        font-weight: 700;
        font-size: 11rem;
        color: rgba(51, 51, 51, 0.5);
        text-transform: uppercase;
        margin-bottom: 12rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #b8741a;
        padding: 5rem 0 12rem 0;
    }

    .product-card-image{
        width: 90rem;
        margin-bottom: 12rem;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 140rem;
    }

    .product-card-image img{
        max-width: 100%;
        height: auto;
        display: block;
    }

    .product-card-title{
        font-family: "Arial Bold", "Arial Normal", "Arial", sans-serif;
        font-weight: 700;
        font-size: 14rem;
        color: #333333;
        margin: 0;
        text-align: center;
        line-height: 1.4;
    }

    /* Pagination */
    .pagination{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8rem;
        margin-top: 30rem;
        flex-wrap: wrap;
    }

    .pagination-link{
        display: inline-block;
        padding: 6rem 10rem;
        font-size: 14rem;
        color:  rgba(51, 51, 51, 0.8);
        text-decoration: none;
        border-radius: 4rem;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    .pagination-link:hover{
        background-color: #f0f0f0;
        color: #144279;
    }

    .pagination-link.active{
        background-color: #e0e0e0;
        color: rgba(51, 51, 51, 0.7);
    }

    .pagination-ellipsis{
        padding: 6rem 4rem;
        font-size: 14rem;
        color: #333333;
    }
}
