@charset "UTF-8";
.detail-page-main__container {
    width: 1200px;
    margin: 0 auto;
}
.detail-page-main__header {
    padding: 44px 0 34px;
}
.detail-page-main__header .title-bar {
    margin-bottom: 20px;
    font-size: 32px;
    color: #000;
}
.detail-page-main__header .rating {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: Arial, Helvetica, sans-serif;
}
.detail-page-main__header .rating .score {
    background: #2f7ddd;
    color: #fff;
    padding: 4px 8px;
    border-radius: 40px 0px 40px 40px;
    font-size: 16px;
}
.detail-page-main__header .rating .count,
.detail-page-main__header .rating .booking {
    font-size: 16px;
    color: #9e9e9e;
}
.detail-page-main__header .rating .count {
    color: #2f7ddd;
    margin-right: 40px;
}
.detail-page-main__body {
    display: flex;
    margin-bottom: 50px;
}
.detail-page-main__body__left {
    flex: 0 0 775px;
    width: 775px;
}
.detail-page-main__body__right {
    flex: 0 0 400px;
    width: 400px;
}

/* 轮播图 */
.detail-page-swiper {
    margin-bottom: 30px;
}
.detail-page-swiper .main-swiper {
    height: 514px;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
.detail-page-swiper .main-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}
.detail-page-swiper .main-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.detail-page-swiper .main-swiper .custom-swiper-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}
.detail-page-swiper .main-swiper .custom-swiper-button.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}
.detail-page-swiper .main-swiper .custom-swiper-button.disabled:hover {
    background: rgba(255, 255, 255, 0.4);
}
.detail-page-swiper .main-swiper .custom-swiper-button:hover {
    background: rgba(0, 0, 0, 0.6);
}
.detail-page-swiper .main-swiper .custom-swiper-button span {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}
.detail-page-swiper .main-swiper .prev-btn {
    left: 15px;
    transform: translateY(-50%) rotate(180deg);
}
.detail-page-swiper .main-swiper .next-btn {
    right: 15px;
}
.detail-page-swiper .thumbs-swiper {
    height: 120px;
    position: relative;
}
.detail-page-swiper .thumbs-swiper .swiper-slide {
    width: calc(25% - 8px);
    border-radius: 5px;
    overflow: hidden;
    opacity: 0.6;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
}
.detail-page-swiper .thumbs-swiper .swiper-slide.swiper-slide-thumb-active {
    opacity: 1;
    border: 3px solid #5dae59;
}
.detail-page-swiper .thumbs-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 简要信息 */
.detail-base-info {
    padding: 30px;
    background: #fff;
    border: 1px solid #dadfe6;
    border-radius: 10px;
    box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}
.detail-base-info__group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 0;
}
.detail-base-info__group .item {
    flex: 0 0 50%;
    width: 50%;
    display: flex;
    align-items: center;
    gap: 20px;
    box-sizing: border-box;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
}
.detail-base-info__group .item .hd {
    color: #5a5f6c;
}
.detail-base-info__group .item .bd {
    color: #000;
}
/* 行程导航 */
.trip-tabs {
    position: sticky;
    top: 0;
    margin-bottom: 40px;
    background: #fff;
    z-index: 99;
}
.trip-tabs .trip-tabs-list {
    display: flex;
}
.trip-tabs .trip-tabs-list .trip-tab-item .trip-tab-link {
    display: inline-block;
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
    text-align: center;
    font-size: 18px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}
.trip-tabs .trip-tabs-list .trip-tab-item .trip-tab-link:hover {
    color: #2f7ddd;
}
.trip-tabs .trip-tabs-list .trip-tab-item.active .trip-tab-link {
    color: #fff;
    border-radius: 40px;
    background: #2f7ddd;
}

/* 行程 */
.detail-trip-content {
    margin-bottom: 60px;
}
.detail-trip-content .trip-title {
    color: #000;
    margin-bottom: 20px;
    font-size: 32px;
    justify-content: space-between;
    display: flex;
    align-items: center;
}
.travel-plan-link {
    color: #00b7ee;
    height: 22px;
    line-height: 22px;
    padding: 0 9px;
    font-size: 12px;
    border: 1px solid #00b7ee;
    border-radius: 3px;
    transition: all .3s;
}
.detail-trip-content .trip-plan-content {
    position: relative;
    padding-left: 60px;
}
.detail-trip-content .trip-plan-content::before {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    left: 15px;
    bottom: 0;
    width: 15px;
    border-radius: 20px;
    background: #2f7ddd;
}
.detail-trip-content .trip-plan-content .trip-start,
.detail-trip-content .trip-plan-content .trip-back {
    height: 40px;
    line-height: 40px;
    margin-bottom: 40px;
    font-size: 20px;
    position: relative;
}
.detail-trip-content .trip-plan-content .trip-start .icon,
.detail-trip-content .trip-plan-content .trip-back .icon {
    color: #fff;
    cursor: pointer;
    display: block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    position: absolute;
    left: -57px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #2f7ddd;
    font-size: 20px;
    transition: all 0.2s;
}
.detail-trip-content .trip-plan-content .trip-start .icon:hover,
.detail-trip-content .trip-plan-content .trip-back .icon:hover {
    transform: scale(1.1);
}
.detail-trip-content .trip-plan-content .trip-day {
    margin-bottom: 20px;
    position: relative;
}
.detail-trip-content .trip-plan-content .trip-day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    cursor: pointer;
}
.detail-trip-content .trip-plan-content .trip-day-title {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}
.detail-trip-content .trip-plan-content .trip-day-title .icon {
    color: #fff;
    display: block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    position: absolute;
    left: -56px;
    border-radius: 50%;
    background: #5c677a;
    font-size: 20px;
    transition: all 0.2s;
}
.detail-trip-content .trip-plan-content .trip-day-title .icon:hover {
    transform: scale(1.1);
}
.detail-trip-content .trip-plan-content .trip-day-title .day-icon {
    color: #3eb96f;
    font-size: 20px;
}
.detail-trip-content .trip-plan-content .trip-day-title .day-text {
    color: #333;
    font-size: 20px;
}
.detail-trip-content .trip-plan-content .trip-day-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition:transform 0.3s;
}
.detail-trip-content .trip-plan-content .trip-day-toggle.open{
    transform: rotate(180deg)
}
.detail-trip-content .trip-plan-content .trip-day-toggle .toggle-icon {
    color: #acb4bf;
    font-size: 24px;
}
.detail-trip-content .trip-plan-content .trip-day-content {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}
.detail-trip-content .trip-plan-content .trip-day-content.open {
    height: auto;
}
.detail-trip-content .trip-plan-content .trip-day-content .trip-info-cards {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.detail-trip-content .trip-plan-content .trip-day-content .trip-info-cards .trip-info-card {
    flex: 1;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #e6e6e6;
    display: flex;
    gap: 15px;
}
.detail-trip-content .trip-plan-content .trip-day-content .trip-info-cards .trip-info-card .card-icon {
    display: flex;
    justify-content: center;
    color: #3eb96f;
    font-size: 24px;
}
.detail-trip-content .trip-plan-content .trip-day-content .trip-info-cards .trip-info-card .card-content .card-title {
    font-size: 16px;
    color: #9e9e9e;
    margin-bottom: 5px;
}
.detail-trip-content .trip-plan-content .trip-day-content .trip-info-cards .trip-info-card .card-content .card-text {
    font-size: 16px;
    color: #000;
    line-height: 38px;
}
.detail-trip-content .trip-plan-content .trip-description {
    margin-bottom: 20px;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}
.detail-trip-content .trip-plan-content .trip-description * {
    max-width: 100% !important;
}

/* 详情模块样式 */
.detail-section-block {
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
}
.detail-section-block:last-child {
    margin-bottom: 0;
    border-bottom: 0;
}
.detail-section-block .section-block__bar {
    color: #000;
    margin-bottom: 20px;
    font-size: 32px;
}
.detail-section-block .section-block__wrapper {
    font-size: 16px;
    color: #333;
    max-height: 200px;
    overflow: hidden;
    line-height: 1.6;
    position: relative;
}
.detail-section-block .section-block__wrapper * {
    max-width: 100% !important;
}
.detail-section-block .section-block__wrapper.open {
    max-height: none;
}
.detail-section-block .section-block__wrapper.open::after {
    display: none;
}
.detail-section-block .section-block__wrapper::after {
    content: "";
    display: block;
    color: #2f7ddd;
    height: 40px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, #fff 100%);
}
.detail-section-block .section-block__wrapper * {
    max-width: 100% !important;
}
.detail-section-block .section-block__footer {
    height: 30px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
}
.detail-section-block .section-block__footer.open .arrow-icon {
    transform: rotate(180deg);
}
.detail-section-block .section-block__footer .check {
    color: #2f7ddd;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
}
.detail-section-block .section-block__footer .arrow-icon {
    font-size: 14px;
    font-weight: bold;
    color: #2f7ddd;
    display: inline-block;
    vertical-align: middle;
    margin-top: -3px;
    transition: transform 0.3s;
}

/* 边栏 */
.detail-side {
    flex: 0 0 410px;
    width: 410px;
    padding: 20px;
    margin-left: 20px;
    border-radius: 10px;
    border: 2px solid #2f7ddd;
    box-sizing: border-box;
    background: #f5f9ff;
    position: sticky;
    top: 0;
}
.detail-side__body {
    padding: 15px;
    border: 1px solid #d5d8df;
    border-radius: 10px;
    background: #fff;
}
.detail-side__block {
    padding: 15px 0;
    border-top: 1px solid #f2f2f2;
}
.detail-side__block:first-child {
    padding-top: 0;
    border: 0;
}
.detail-side__block .tit-bar {
    padding-bottom: 15px;
    font-size: 16px;
}
.detail-side__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}
.detail-side__footer .total .tit {
    color: #000;
    font-size: 16px;
}
.detail-side__footer .total .price {
    color: #2f7ddd;
    margin-top: 8px;
    font-size: 16px;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
}
.detail-side__footer .btn-next {
    color: #fff;
    cursor: pointer;
    width: 160px;
    height: 56px;
    line-height: 56px;
    text-align: center;
    border-radius: 6px;
    background: #2f7ddd;
    font-size: 17px;
    font-weight: bold;
}

.trips-dates-scroll {
    height: 260px;
    overflow-y: auto;
}
.trips-dates-scroll::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
.trips-dates-scroll::-webkit-scrollbar-thumb {
    background-color: #aaa;
    border-radius: 3px;
}
.trips-dates-scroll .trips-dates-group .item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 42px;
    line-height: 42px;
    padding: 0 15px;
    margin-bottom: 10px;
    cursor: pointer;
    border: 1px solid #d5d8df;
    border-radius: 6px;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
}
.trips-dates-scroll .trips-dates-group .item:last-child {
    margin-bottom: 0;
}
.trips-dates-scroll .trips-dates-group .item.active {
    color: #fff;
    border-color: #2f7ddd;
    background: #2f7ddd;
}
.trips-dates-scroll .trips-dates-group .item.active .period,
.trips-dates-scroll .trips-dates-group .item.active .day,
.trips-dates-scroll .trips-dates-group .item.active .status {
    color: #fff!important;
}
.trips-dates-scroll .trips-dates-group .item .period {
    color: #333;
    flex: 0 0 60px;
    width: 60px;
}
.trips-dates-scroll .trips-dates-group .item .day {
    color: #333;
    flex: 1 1 auto;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.trips-dates-scroll .trips-dates-group .item.bookstatus_1 .status {
    color: #2f7ddd;
}
.trips-dates-scroll .trips-dates-group .item.bookstatus_2 .status {
    color: #3eb96f;
}
.trips-dates-scroll .trips-dates-group .item.bookstatus_3 .status {
    color: #d20f0f;
}
.trips-dates-scroll .trips-dates-group .item.bookstatus_4 {
    background: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
}

.trips-price-con__group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.trips-price-con__group .item {
    color: #000;
    height: 36px;
    line-height: 36px;
    padding: 0 14px;
    cursor: pointer;
    font-size: 16px;
    border: 1px solid #ebedf1;
    border-radius: 6px;
    background: #fff;
}
.trips-price-con__group .item.active {
    border-color: #2f7ddd;
    background: #2f7ddd;
    color: #fff;
}

.trip-product-con {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.trip-product-con .hd {
    font-size: 16px;
    color: #2f7ddd;
}
.trip-product-con .bd {
    flex: 0 0 180px;
    /* 步进器样式 */
}
.trip-product-con .bd .stepper {
    display: flex;
    align-items: center;
    overflow: hidden;
}
.trip-product-con .bd .stepper-btn {
    flex: 0 0 36px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    border: none;
    background: #f5f5f5;
    border: 1px solid #e4e4e4;
    color: #333;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.trip-product-con .bd .stepper-btn.disabled {
    background: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
}
.trip-product-con .bd .stepper-input {
    flex: 1;
    width: 100px;
    height: 34px;
    border-top: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
    text-align: center;
    font-size: 16px;
    padding: 0;
    outline: none;
    background: #fff;
}
.trip-product-con .bd .stepper-input::-webkit-inner-spin-button,
.trip-product-con .bd .stepper-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.trip-product-con .bd .stepper-input[type=number] {
    -moz-appearance: textfield;
}
