/* 公共样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 轮播图 */
.banner {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 20px;
}
.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 导航 */
.nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    margin-top: 24px;
}
.nav-item {
    flex: 1;
    text-align: center;
}
.nav-item img {
    width: 40px;
    height: 40px;
    margin-bottom: 6px;
}
.nav-item span {
    display: block;
    font-size: 14px;
    color: #333;
}

/* 通用标题 */
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0 15px;
}

.section-title h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}
.section-title a {
    font-size: 14px;
    color: #999;
    text-decoration: none;
    display: flex;
    align-items: center;
    /*gap: 4px;*/
}

.section-title a::after {
    content: '';
    width: 6px;
    height: 6px;
    border-right: 1px solid #999;
    border-bottom: 1px solid #999;
    transform: rotate(-45deg);
    margin-left: 2px;
}

/* 产品卡片 */
.product-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.product-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.product-info {
    padding: 10px;
}
.product-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.product-price {
    font-size: 16px;
    color: #ff4d4f;
    margin-top: 15px;
      display: flex;
    align-items: baseline;
    gap: 5px;
    /*font-weight: 600;*/
}

/* 玩法攻略 */
.strategies {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}
.strategy-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.strategy-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}
.strategy-info {
    padding: 10px;
}
.strategy-title {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 热门推荐 */
.hot-products {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 10px;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.hot-products::-webkit-scrollbar {
    display: none;  /* Chrome, Safari and Opera */
}
.hot-products .product-item {
    flex: 0 0 50%;
    min-width: 120px;
}

/* 主题导航 */
.theme-nav {
    display: flex;
    gap: 15px;
    margin: 15px 0;
    overflow-x: auto;
    padding-bottom: 10px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.theme-nav::-webkit-scrollbar {
    display: none;
}
.theme-nav-item {
    flex: 0 0 auto;
    width: 100px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../img/zt_bg.png');
    background-size: cover;
    background-position: center;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.theme-nav-item.active {
    background-image: url('../img/zt_bg_on.png');
    color: #fff;
}

/* 主题精选 */
.theme-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

/* 路线详情 */
.route-info {
    background: #f7f3e8;
    padding: 16px;
    margin-bottom: 10px;
}
.route-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}
.route-price {
    font-size: 24px;
    color: #ff4d4f;
    font-weight: 600;
    margin-bottom: 10px;
}

/* 收藏按钮 */
.favorite-btn {
    cursor: pointer;
    padding: 5px;
}

.star-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23999" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"></polygon></svg>');
    background-size: cover;
    transition: all 0.3s ease;
}

.favorite-btn:hover .star-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ff4d4f" stroke="%23ff4d4f" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"></polygon></svg>');
}
.route-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}
.meta-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
}
.meta-item i {
    margin-right: 5px;
}
.route-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    /*margin-bottom: 15px;*/
}
.tag {
    padding: 4px 8px;
    background: #f5f5f5;
    border-radius: 16px;
    font-size: 10px;
    color: #666;
    margin-right:2px;
}
.tag1 {
    padding: 1px 6px;
    background: #f4ede3;
    border-radius: 20px;
    font-size: 10px;
    color: #956f31;
    border: 1px solid #956f31;

}
/* 行程概览 */
.trip-overview {
    background: #fff;
    padding: 20px;
    margin-bottom: 10px;
}
.overview-item {
    display: flex;
    margin-bottom: 10px;
}
.overview-label {
    width: 80px;
    font-size: 14px;
    color: #666;
}
.overview-value {
    flex: 1;
    font-size: 14px;
    color: #333;
}

/* 行程介绍 */
.trip-intro {
    background: #fff;
    padding: 20px;
    margin-bottom: 10px;
}
.trip-content {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}
.trip-content img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
}

/* 费用说明 */
.cost-info {
    background: #fff;
    padding: 20px;
    margin-bottom: 10px;
}
.cost-list {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}
.cost-list li {
    margin-bottom: 8px;
}

/* 选项卡 */
.tab-container {
    margin-bottom: 80px;
    background: #F7F3E4;
}

.tab-header {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
}

.tab-item {
    flex: 1;
    padding: 15px 0;
    text-align: center;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-item.active {
    color: #956f31;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 2px;
    background: #956f31;
}

.tab-content {
    padding: 20px;
    background: #ede6d4;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* 预订须知 */
.booking-list {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}
.booking-list li {
    margin-bottom: 8px;
}

/* 票型选择 */
.ticket-types {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.ticket-types::-webkit-scrollbar {
    display: none;
}



.ticket-name {
    font-size: 14px;
    color: #333;
    /*margin-bottom: 5px;*/
}

.ticket-price {
    font-size: 16px;
    font-weight: bold;
    color: #ff4d4f;
    margin-bottom: 3px;
}

.ticket-market-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

/* 日期选择 */
.date-selector {
    margin-top: 15px;
}

.date-title {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.date-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.date-list::-webkit-scrollbar {
    display: none;
}

.date-item {
    flex: 0 0 auto;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 8px;
    text-align: center;
    min-width: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
}



.date-day {
    font-size: 12px;
    color: #333;
    margin-bottom: 5px;
}

.date-price {
    font-size: 14px;
    font-weight: bold;
    color: #956f31;
}

/*.date-item.active .date-day,*/
/*.date-item.active .date-price {*/
/*    color: #fff;*/
/*}*/

.date-item.more {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.more-date {
    font-size: 12px;
    color: #333;
    margin-bottom: 5px;
}

.more-arrow {
    font-size: 10px;
    color: #666;
}

/* 日期选择模态窗 */
.date-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.date-modal-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f7f3e8;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    max-height: 80vh;
    overflow-y: auto;
}

.date-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.date-modal-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.close-btn {
    font-size: 24px;
    color: #999;
    cursor: pointer;
}

.date-modal-note {
    padding: 15px;
    font-size: 12px;
    color: #999;
    background-color: #ede6d4;
}

.calendar-container {
    padding: 15px;
}

.calendar-month {
    margin-bottom: 20px;
}

.calendar-month-header {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.calendar-weekday {
    text-align: center;
    font-size: 12px;
    color: #666;
    padding: 5px 0;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    text-align: center;
    padding: 10px 5px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.calendar-day .day-number {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 3px;
}

.calendar-day .day-price {
    font-size: 12px;
    color: #999;
}

.calendar-day.active {
    color: #fff;
     background-color: #956e33;
    border: 1px solid #956e33;
}

.calendar-day.active .day-number,
.calendar-day.active .day-price {
    color: #fff;
}

.calendar-day.low-price {
    position: relative;
}

.calendar-day.low-price::after {
    content: '低价团期';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    font-size: 10px;
    color: #ff4d4f;
    text-align: center;
}

.date-modal-footer {
    padding: 15px;
    border-top: 1px solid #f0f0f0;
}

.next-btn {
    width: 100%;
    padding: 12px;
    background-color: #956f31;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.next-btn:hover {
    background-color: #956f31;
}

/* 底部预订按钮 */
.booking-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    background: #fff;
    padding: 15px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}
.price-info {
    flex: 1;
}
.price-label {
    font-size: 12px;
    color: #666;
}
.price-value {
    font-size: 20px;
    color: #ff4d4f;
    font-weight: 600;
}
    .btn {
            padding: 10px 20px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            text-align: center;
            background: #956f31;
            color: #fff;
            /*min-width: 120px;*/
        }
/* 产品列表 */
/*.header {*/
/*    background: #fff;*/
/*    padding: 15px 0;*/
/*    position: sticky;*/
/*    top: 0;*/
/*    z-index: 100;*/
/*    box-shadow: 0 2px 4px rgba(0,0,0,0.1);*/
/*}*/
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}
.header-actions {
    display: flex;
    gap: 15px;
}

/* 搜索框 */
.search-bar {

    padding: 15px;
    margin-bottom: 10px;
}
.search-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
}

/* 分类筛选 */
.filter-tabs {
    background: #fff;
    padding: 15px;
    margin-bottom: 10px;
}
.filter-row {
    display: flex;
    align-items: center;
    padding: 10px 10px;
    /*border-bottom: 1px solid #f0f0f0;*/
}
.filter-tab {
    flex: 1;
    padding: 8px 0;
    text-align: center;
    border-radius: 16px;
    font-size: 14px;
    background: #f5f5f5;
    color: #666;
    cursor: pointer;
}
.filter-tab.active {
    background: #ff4d4f;
    color: #fff;
}

/* 产品列表 */
.product-list {
    /*padding: 15px;*/
    margin-bottom: 80px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.product-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.product-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-sales {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.price-current {
    font-size: 16px;
    color: #ff4d4f;
    font-weight: 600;
}
.price-original {
    font-size: 12px;
    color: #999;
    /*text-decoration: line-through;*/
}

/* 分页 */
.pagination {
    background: #fff;
    padding: 15px;
    text-align: center;
    margin-bottom: 20px;
}

/* 底部导航 */
.footer-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    background: #fff;
    padding: 10px 0;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
}
.footer-nav-item {
    text-align: center;
}
.footer-nav-item img {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
}
.footer-nav-item span {
    display: block;
    font-size: 12px;
    color: #333;
}

/* 返回按钮 */
.back-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.back-btn:hover {
    background-color: rgba(255, 255, 255, 1);
}

/* 底部导航（Common/foot.html） */
.row {
    margin-right: -15px;
    margin-left: -15px;
}
.navbar-fixed-bottom {
    position: fixed;
    right: 0;
    left: 0;
    z-index: 1030;
    bottom: 0;
    margin-bottom: 0;
    border-width: 1px 0 0;
}
.bot {
    display: flex;
    justify-content: space-around;
    background: #fff;
    padding: 10px 0;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
}
.f_bar {
    flex: 1;
    text-align: center;
    padding: 5px 0;
}
.f_bar img {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
}
.f_bar.prc {
    color: #9c7532;
}