@media screen and (max-width:1179px) {
    #headSection{
        min-height: 250px;
        height: auto;
        background: url(/image/productList-head-bg.png) no-repeat center;
        background-size: cover;
    }
    #headSection .head-bg {
        /* min-height: 164px; */
        display: none;
    }

    #headSection .title {
        font-size: 38px;
        line-height: 0px;
    }

    .tab-search{
        flex-direction: column;
        row-gap: 20px;
        margin-bottom: 10px;
    }
    .layui-tab{
        margin: 0;
    }
    .layui-tab-brief .layui-tab-title li{
        font-size: 17px;
        line-height: 20px;
        padding: 0;
    }
    .layui-tab-title{
        column-gap: 30px;
        height: 26px;
        order: 2;
    }
    .layui-tab-brief .layui-tab-more li.layui-this:after,.layui-tab-brief .layui-tab-title .layui-this:after {
        width: 90%;
        height: 26px;
        left: 4px;
    }
    .search-box{
        width: 90%;
        order: 1;
    }
    .search-box label{
        padding: 7px 15px;
    }
    .gift-list{
        column-gap: 0;
        row-gap: 0;
    }
    /* 全部 */
    .gift-list1{
        column-gap: 0;
        justify-content: space-between;
        row-gap: 20px;
    }
    .gift-list1 .gift-box{
        width: 100%;
    }
    .gift-list1 .gift-item .content{
        padding: 10px;
    }
    /* .con-title h3{
        font-size: 16px;
        line-height: 20px;
    }
    .con-title span{
        font-weight: bold;
        font-size: 13px;
        color: #333333;
        line-height: 13px;
        background: url(/image/star.png) left center no-repeat;
        background-position: left 0px;
        background-size: 13px;
        padding-left: 18px;
        padding-top: 2px;
    }
    .content>p{
        font-size: 13px;
        color: #646464;
        line-height: 20px;
        font-weight: normal;
        margin: 8px 0;
    }
    .con-price{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .con-price p{
        font-weight: bold;
        font-size: 17px;
        color: #E73724;
        line-height: 20px;
    }
    .con-price h4{
        font-size: 12px;
        line-height: 16px;
    }
    .con-price h4::after{
        content: '';
        width: 20px;
        height: 2px;
        background-color: #333333;
        position: absolute;
        bottom: -3px;
        right: 3px;
    } */
    .layui-tab-content{
        padding: 0;
    }
    #demo-laypage-theme-1 {
        display: flex;
        justify-content: center;
        padding: 20px 0 30px 0;
    }

    .gift-list .gift-item .img-box{
        border-radius: 5px 5px 0 0;
    }

    /* 熱門 */
    #popularList{
        padding: 0;
    }

    .title-box{
        display: none;
    }

    .gift-list{
        padding: 10px;
    }
    .gift-list2 .gift-item .img-box{
        border-radius: 5px;
    }
    .gift-item>p{
        font-size: 18px;
        line-height: 20px;
        margin-top: 10px;
    }
    .contact-link{
        right: 10px;
        top: -11px;
        display: none;
    }
    .gift-list2 .gift-box.odd{
        margin-bottom: 20px;
        margin-top: 0;
    }
    .gift-list2 .gift-box.even{
        margin-top: 20px;
        margin-bottom: 0;
    }
    .gift-list2 .gift-box:nth-child(even){
        margin-top: 20px;
    }
    .gift-list2 .gift-box:nth-child(odd){
        margin-bottom: 20px;
    }
    /* 最新 */
    .gift-list3{
        padding: 10px;
        column-gap: 11.9px;
        row-gap: 20px;
        justify-content: space-between;
    }
    .gift-list3 a{
        width: 48%;
    }
    .gift-list3 .gift-item .img-box{
        border-radius: 5px;
    }

    .gift-item{
        border-radius: 5px;
    }




    #mProductSelectSection{
        padding: 20px 0;
        display: block;
    }
    .fliter-container{
        display: flex;
        margin: 0 10px;
        align-items: center;
        justify-content: space-between;
    }

    #mProductSelectSection .right-wrapper {
        display: flex;
        align-items: center;
    }

    #mProductSelectSection .right-wrapper .filter-txt {

        font-weight: 400;
        font-size: 16px;
        color: var(--font-color);
        line-height: 16px;
    }

    #mProductSelectSection .right-wrapper .filter-icon {
        width: 18px;
    }


    #filtersOverlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }

    #filtersSection {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        /* 初始位置在屏幕外 */
        width: 80%;
        height: 100%;
        background-color: white;
        padding: 20px 16px;
        z-index: 1001;
        transition: right 0.3s ease-in-out;
        /* 添加过渡效果 */
    }

    /* 当 #filtersSection 显示时的样式 */
    #filtersSection.show {
        right: 0;
    }

    #filtersSection .filters-container {
        position: relative;
        overflow-x: hidden;
        overflow-y: auto;
        height: 100%;
    }

    #filtersSection .title-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;

        font-weight: 400;
        font-size: 16px;
        color: var(--font-color);
        line-height: 19px;
        padding-bottom: 18px;
        background-color: #ffffff;
    }

    #filtersSection .title-wrapper .close-icon {
        width: 21px;
        position: absolute;
        top: 0px;
        right: 0px;
    }

    #filtersSection .filter-item {
        padding-bottom: 23px;
    }

    #filtersSection .filter-item .i-title {

        font-weight: 400;
        font-size: 14px;
        color: var(--font-color);
        line-height: 16px;
        padding-bottom: 16px;
    }

    #filtersSection .filter-item .i-items {
        display: flex;
        flex-wrap: wrap;
    }

    #filtersSection .filter-item .i-items .i-item {
        width: 32%;
        background: #F8F8F8;
        border-radius: 8px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: 400;
        font-size: 12px;
        color: var(--font-color);
        line-height: 14px;
        padding: 10px 0px;
        margin-right: 2%;
        margin-bottom: 10px;
    }

    #filtersSection .filter-item .i-items .i-item:nth-child(3n) {
        margin-right: 0;
    }

    #filtersSection .filter-item .i-items .i-item.selected {
        color: #ffffff;
        background-color: var(--main-color);
    }

    #filtersSection .btns {
        display: flex;
        align-items: center;
        padding: 24px 0;
        margin-bottom: 24px;
    }

    #filtersSection .btns .reset-btn {
        width: 30%;
        border-radius: 40px;
        border: 1px solid #CCCCCC;

        font-weight: 400;
        font-size: 16px;
        color: var(--font-color);
        line-height: 19px;
        padding: 8px 0;
        text-align: center;
    }

    #filtersSection .btns .confirm-btn {
        flex: 1;
        background: var(--main-color);
        border-radius: 43px;

        font-weight: 400;
        font-size: 16px;
        color: #FFFFFF;
        line-height: 19px;
        padding: 8px 0;
        margin-left: 13px;
        text-align: center;
    }
    .empty-tip {
        font-size: 20px;
    }

    .layui-laypage a,
.layui-laypage span {
    height: 30px;
    line-height: 30px;
    font-size: 13px;
    font-weight: bold;
    margin: 0 1px;
    padding: 0 12px;
}
}

@media screen and (max-width:589px) {

    #filtersSection .filter-item .i-items .i-item {
        width: 32%;
        background: #F8F8F8;
        border-radius: 8px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: 400;
        font-size: 12px;
        color: var(--font-color);
        line-height: 14px;
        padding: 10px 0px;
        margin-right: 2%;
        margin-bottom: 10px;
    }
	
	.list-container{
		max-width:97%;
		padding:0 0;
	}
	
	
	#headSection .title-wrapper {
    top: 40%;
    left: 0;
    transform:none;
    text-align: center;
    width: 100%;
	}
	
}