/**
*定制游-栏目页
**/

/* 轮播图上文字 */
.words-module-container{
    position: relative;
}
.words-module-container .words-module-text{
    position: absolute;
    bottom: 54px;
    left: 0;
    right: 0;
    z-index: 2;
    text-align: center;
    font-size: 50px;
    font-weight: bold;
    color: #FFFFFF;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.3);
}
/* 手机端适配——轮播图上文字 */
@media screen and (max-width: 768px) {
    .words-module-container .words-module-text{
        position: static;
        padding: 0.28rem 0.2rem;
        font-size: 0.36rem;
        font-weight: bold;
        line-height: 0.52rem;
        text-align: center;
        color: #121826;
        background-color: #F2F2F2;
        text-shadow: none;
    }
}

/* 搜索/品牌 */
.search-brand-container{
    padding: 40px 0;
    background-color: #F2F2F2;
}
.search-brand-container .search-brand-wrap{}
.search-brand-container .brand-block{
}
.search-brand-container .brand-block .brand-list {
    display: grid;
    /* 默认大屏：3列，每列等宽 */
    grid-template-columns: repeat(3, 1fr);
    gap: 15px; /* 间距 */
}
.search-brand-container .brand-block .brand-list .brand-item{
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
}
.search-brand-container .brand-block .brand-list .iconfont{
    color: #ffb400;
    font-size: 32px;
    margin-right: 6px;
}
@media screen and (max-width: 990px) {
    .search-brand-container .brand-block .brand-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* 媒体查询——搜索/品牌 */
@media screen and (max-width: 768px) {
    .search-brand-container{
        padding: 0.3rem 0;
    }
    .search-brand-container .search-brand-wrap{
        padding: 0 !important;
        width: 100%;
    }
    .search-brand-container .brand-block{
        padding: 0 0.24rem;
    }
    .search-brand-container .brand-block .brand-list {
        /* 小屏关键代码：改为 2列 */
        grid-template-columns: repeat(2, 1fr);
    }
    .search-brand-container .brand-block .brand-list .brand-item{
        font-size:0.22rem;
        font-family: Arial, Helvetica, sans-serif;
    }
    .search-brand-container .brand-block .brand-list .iconfont{
        color: #ffb400;
        font-size: 0.32rem;
        margin-right: 0.06rem;
    }
}

/* 畅销商品 */
.best-sellers-list{
    display: grid;
    margin: 0 auto;
    /* 大屏幕：一排 3 个 */
    grid-template-columns: repeat(3, 1fr);
    /* 卡片之间的间距 */
    gap: 30px;
}
.best-sellers-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;

    transition: transform 0.3s;
    background-color: #F2F2F2; /* 卡片底色偏灰 */
}
.best-sellers-card:hover {
    transform: translateY(-5px); /* 悬停浮动效果 */
}
.best-sellers-card .card-img-top {
    width: 100%;
    display: block;/* 消除底部微小空隙 */
    height: auto;
}
.best-sellers-card .best-sellers-info {
    padding: 30px 22px 40px;
}
.best-sellers-card .best-sellers-title {
    font-size: 22px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.best-sellers-card .duration-badge {
    display: block;
    background-color: #C75000;
    color: #fff;
    width: 110px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 4px;
    font-size: 18px;
    margin: 16px auto 0;
}
.best-sellers-card .tour-location {
    color: #121826;
    font-size: 16px;
    margin-top: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.best-sellers-card .btn-explore {
    background-color: #fff;
    padding: 12px 30px;
    color: #121826;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s;
    margin-top: 30px;
}
.best-sellers-card .btn-explore:hover {
    background-color: #c85a17;
    color: white;
    border-color: #c85a17;
}
@media screen and (max-width: 1200px) {
    .best-sellers-info{
        padding: 24px 18px 32px!important;
    }
    .best-sellers-card .best-sellers-title{
        font-size: 18px;
    }
}
/* 手机端适配——畅销商品 */
@media screen and (max-width: 768px) {
    .best-sellers-list {
        /* 小屏幕：一排 2 个 */
        grid-template-columns: repeat(2, 1fr);
        gap: 0.18rem; /* 手机上间距稍微小一点 */
        margin-top: 0;
    }
    .best-sellers-list .best-sellers-card:nth-of-type(n+5){
        display: none;
    }
    .best-sellers-card:hover {
        transform: translateY(0); /* 悬停浮动效果 */
    }
    .best-sellers-card .card-img-top {
        /*width: 3.5rem;*/
        /*height: 2.5rem;*/
    }
    .best-sellers-card .best-sellers-info {
        padding: 0.2rem 0.2rem 0.34rem!important;
    }
    .best-sellers-card .best-sellers-title {
        font-size: 0.28rem;
    }
    .best-sellers-card .duration-badge {
        width: 1rem;
        height: 0.42rem;
        border-radius: 0.04rem;
        font-size: 0.22rem;
        line-height: 0.42rem;
        margin-top: 0.28rem;
    }
    .best-sellers-card .tour-location {
        font-size: 0.22rem;
        color: #121826;
        margin-top: 0.2rem;
    }
    .best-sellers-card .btn-explore {
        padding: 0 0.1rem;
        height: 0.5rem;
        font-size: 0.22rem;
        transition: all 0.3s;
        margin: 0.26rem auto 0;
        line-height: 0.5rem;
        text-align: center;
    }
    .best-sellers-card .btn-explore:hover {
        background-color: #fff;
        color: #333;
        border-color: #fff;
    }
}

/* 主题旅行体验 */
.themed-travel-list{
    display: grid;
    /* 电脑端：4 列 */
    grid-template-columns: repeat(4, 1fr);
    gap: 15px; /* 卡片间距 */
    max-width: 1320px;
    margin: 0 auto;
}
.themed-travel-list .themed-travel-card {
    position: relative; /* 为了给里面的标签做定位参考 */
    overflow: hidden;   /* 即使图片放大，也不超出圆角 */
    cursor: pointer;
}
.themed-travel-list .themed-travel-card img {
    width: 100%;
    height: auto;
    display: block;
}
.themed-travel-list .themed-travel-info{
    border-top: 7px solid #C75000;
    padding: 16px;
    height: 100px;
    background-color: #F2F2F2;
    transition: transform 0.3s; /* 鼠标悬停动画效果 */
}
.themed-travel-list .themed-travel-card:hover .themed-travel-info{
    background-color: #e7e7e7;
}
.themed-travel-list .themed-travel-info .themed-travel-title{
    font-size: 22px;
    line-height: 30px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 限制显示的行数为3 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media screen and (max-width: 1200px) {
    .themed-travel-list .themed-travel-info .themed-travel-title{
        font-size: 18px;
    }
}
@media screen and (max-width: 990px) {
    .themed-travel-list{
        grid-template-columns: repeat(3, 1fr);
    }
}
/* 手机端适配——主题旅行体验 */
@media screen and (max-width: 768px) {
    .themed-travel-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.18rem; /* 卡片间距 */
        margin-top: 0;
    }
    .themed-travel-list .themed-travel-card:nth-of-type(n+5){
        display: none;
    }
    .themed-travel-list .themed-travel-info {
        border-top: 0.08rem solid #C75000;
        padding: 0.17rem;
        height: 1.1rem;
    }
    .themed-travel-list .themed-travel-info .themed-travel-title {
        font-size: 0.28rem;
        line-height: 0.34rem;
    }
}

/* 热门目的地 */
.popular-destinations-container{}
.popular-destinations-list{
    display: grid;
    /* 电脑端：4 列 */
    grid-template-columns: repeat(4, 1fr);
    gap: 15px; /* 卡片间距 */
    max-width: 1320px;
    margin: 0 auto;
}
.popular-destinations-list .popular-destinations-card {
    position: relative; /* 为了给里面的标签做定位参考 */
    overflow: hidden;   /* 即使图片放大，也不超出圆角 */
    cursor: pointer;
    /*width: 320px;*/
    /*height: 320px;*/
    border-radius: 10px;
    transition: transform 0.3s; /* 鼠标悬停动画效果 */
}
.popular-destinations-list .popular-destinations-card:hover{
    transform: translateY(-5px);
}
.popular-destinations-list .popular-destinations-card img {
    width: 100%;
    height: auto;
    display: block;
}
.popular-destinations-list .popular-destinations-name{
    position: absolute;
    top: 20px;
    left: 18px;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    padding: 5px 14px;
    border-radius: 4px;
    background-color: #C75000;
}
.popular-destinations-list .popular-destinations-name .iconfont{
    font-size: 27px;
    margin-right: 8px;
}
.popular-destinations-list .hot-destinations-name{
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    padding: 0 14px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(-50%);
}
@media screen and (max-width: 1200px) {
    .popular-destinations-list .popular-destinations-name,
    .popular-destinations-list .hot-destinations-name{
        font-size: 18px;
    }
    .popular-destinations-list .popular-destinations-name .iconfont{
        font-size: 18px;
    }
}
/* 手机端适配——热门目的地 */
@media screen and (max-width: 990px) {
    .popular-destinations-list{
        grid-template-columns: repeat(3, 1fr);
    }
}
@media screen and (max-width: 768px) {
    .popular-destinations-list{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.18rem; /* 卡片间距 */
        margin-top: 0;
    }
    .popular-destinations-list .popular-destinations-card:nth-of-type(n+5){
        display: none;
    }
    .popular-destinations-list .popular-destinations-name{
        font-size: 0.28rem;
        padding: 0.04rem 0.2rem;
    }
    .popular-destinations-list .popular-destinations-name .iconfont {
        top: 0.22rem;
        left: 0.22rem;
        font-size:0.35rem;
        margin-right: 0.04rem;
    }
    .popular-destinations-list .hot-destinations-name{
        font-size: 0.32rem;
        padding: 0 0.24rem;
    }
}
