#headerContainer {
    width: 100%;
    height: 300px;
    background-image: url(../image/breadcrumb_bg.jpg);
    background-size: 100% auto;
    background-position: left bottom;
    background-repeat: no-repeat;
}

#headerContainer .page-title {
    top: 50%;
    font-size: 70px;
}

#productListMain {
    background-image: url(../image/service-bg-1-12.png);
    background-size: 100% auto;
    background-position: center;
    background-repeat: repeat;
}

/* 搜索 */
.tab-search{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.search-box label{
    background-color: #FFFFFF;
    border-radius: 30px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.search-box input{
    font-size: 16px;
    outline: none;
    border: none;
    width: 200px;
    background: transparent;
    height: 30px;
}
.search-box label img{
    width: 18px;
    cursor: pointer;
}

/* 排序下拉框樣式 */
.sort-div {
    position: relative;
    user-select: none;
}

.sort-wrapper {
    background: #FFFFFF;
    border: 2px solid #E8E8E8;
    border-radius: 25px;
    padding: 12px 45px 12px 20px;
    font-size: 16px;
    color: #333333;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.sort-wrapper:hover {
    /* border-color: var(--main-color); */
    /* box-shadow: 0 4px 12px rgba(255, 123, 20, 0.15); */
    transform: translateY(-2px);
}

.sort-wrapper.active {
    /* border-color: var(--main-color); */
    /* box-shadow: 0 4px 16px rgba(255, 123, 20, 0.25); */
}

.sort-wrapper::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #666666;
    transition: all 0.3s ease;
}

.sort-wrapper:hover::after,
.sort-wrapper.active::after {
    /* border-top-color: var(--main-color); */
    transform: translateY(-50%) rotate(180deg);
}

.sort-wrapper p {
    margin: 0;
    font-size: 16px;
    color: #333333;
}

.sort-modal {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-top: none;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 2px;
}

.sort-modal.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sort-item {
    padding: 12px 20px;
    font-size: 16px;
    color: #333333;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #F0F0F0;
}

.sort-item:last-child {
    border-bottom: none;
    border-radius: 0 0 13px 13px;
}

.sort-item:hover {
    background: #FFF5F0;
    color: var(--main-color);
}

.sort-item.active {
    background: var(--main-color);
    color: #FFFFFF;
}

.layui-tab .layui-tab-title:after {
    border-bottom: none;
}


/* 产品列表-start */
#productListMain {
    background-color: #F3F5F7;
}

#productList {
    padding: 50px 0;
}

.list-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}

.title-box {
    padding: 30px;
    display: flex;
    background-color: #ffffff;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    flex-direction: column;
}

.title-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    transition: all 0.3s ease;
}

.title-box.active {
    border-radius: 10px 10px 0 0;
}

.title-item {
    /* padding: 10px 30px; */
    cursor: pointer;
    width: 12%;
    padding: 10px 0;
}

.title-item p {
    font-size: 17px;
    color: #333333;
    text-align: center;
}

.title-item.active {
    background: var(--main-color);
    border-radius: 4px;
    color: #FFFFFF;
}

.title-item.active p {
    color: #ffffff;
    font-weight: bold;
}

.title-more {
    display: flex;
    align-items: center;
    column-gap: 3px;
    cursor: pointer;
    justify-content: center;
}

.title-more p {
    font-size: 18px;
    color: #333333;
}

.title-more img {
    width: 24px;
}

#more-img {
    display: none;
}

#more-img.open,
#more-img-light.open {
    display: block;
}

#more-img-light {
    display: none;
    transition: transform 0.3s ease;
}

#more-img-light.close {
    transform: rotate(180deg);
}

.title-box {
    position: relative;
}

.more-list {
    width: 100%;
    /* width: 95.35%; */
    position: absolute;
    padding: 30px 26px;
    background-color: #FFFFFF;
    top: 99%;
    left: 0%;
    z-index: 1;
    border-radius: 0 0 10px 10px;
    border-top: 1px solid #F3F5F7;
    display: none;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.more-list .title-list {
    flex-wrap: wrap;
    row-gap: 12px;
    padding-bottom: 0;
}

.more-list .title-list .title-item.active {
    background: none;
}

.more-list .title-list .title-item.active p {
    color: var(--main-color);
    font-weight: bold;
}


.gift-list {
    padding: 50px 0;
    display: flex;
    flex-wrap: wrap;
    row-gap: 60px;
    column-gap: 40px;
    /* justify-content: space-between; */
    position: relative;
    /* min-height: 300px; */
}

.gift-list a {
    width: 31%;
}
.gift-item{
    background: #ffffff;
    border-radius: 20px;
}
.gift-item .img-box {
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: center;
}

.gift-item .img-box img {
    max-width: 100%;
    height: auto;
    transition: all 0.3s ease;
}

.gift-item .img-box img:hover {
    transform: scale(1.1);
}

.gift-item .content{
    padding: 25px;
}
.con-title{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.con-title h3{
    font-weight: bold;
    font-size: 20px;
    color: #333333;
    line-height: 23px;
}
.con-title span{
    font-weight: bold;
    font-size: 15px;
    color: #333333;
    background: url(/image/star.png) left center no-repeat;
    background-size: 15px;
    margin-left: 20px;
    line-height: 20px;
    background: rgba(52, 58, 78, 0.05);
    border-radius: 20px;
    padding: 8px 16px;
}
.content>p{
    font-size: 16px;
    color: #646464;
    line-height: 26px;
    font-weight: normal;
    margin: 15px 0;
}
.con-price{
    display: flex;
    justify-content: space-between;
}
.con-price p{
    font-weight: bold;
    font-size: 24px;
    color: var(--main-color);
    line-height: 22px;
}
.con-price h4{
    font-weight: bold;
    font-size: 14px;
    color: #333333;
    line-height: 16px;
    letter-spacing: 1px;
    position: relative;
}
.con-price h4::after{
    content: '';
    width: 25px;
    height: 2px;
    background-color: #333333;
    position: absolute;
    bottom: 0px;
    right: 3px;
}
.gift-item:hover .con-price h4{
    color: var(--main-color);
}
.gift-item:hover .con-price h4::after{
    background-color: var(--main-color);
}

.gift-item>p {
    font-weight: bold;
    font-size: 25px;
    color: #333333;
    line-height: 30px;
    margin-top: 15px;
}

/* .gift-list .gift-box.even {
    margin-top: 0;
}

.gift-list .gift-box.odd {
    margin-bottom: 0;
} */

#demo-laypage-theme-1 {
    display: flex;
    justify-content: center;
    padding: 20px 0 60px 0;
}

.layui-disabled,
.layui-disabled:active {
    background-color: #ffffff !important;
}

.layui-laypage a,
.layui-laypage button,
.layui-laypage input,
.layui-laypage select,
.layui-laypage span {
    border: none;
}

.layui-laypage a,
.layui-laypage span {
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    font-weight: bold;
    margin: 0 1px;
}

.layui-laypage a:hover {
    color: var(--main-color);
}

.layui-laypage .layui-laypage-curr .layui-laypage-em {
    border-radius: 7px;
    background-color: var(--main-color);
}

.empty-tip {
    font-size: 22px;
    color: rgba(51, 51, 51, 0.55);
    line-height: 26px;
    text-align: center;
    padding: 30px 0;
    width: 100%;
    display: none;
}

#mProductSelectSection {
    display: none;
}

#filtersOverlay,
#filtersSection {
    display: none;
}

/* 产品列表-end */