.input-field .select2 {
    font-size: 14px;
    width: 100%;
    min-width: 200px;
    border: 1px solid #c2c2c2;
    height: 42px; 
    display: inline-block;
}

.input-field .select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 0; 
    height: 40px;
    line-height: 40px;
}
    .input-field .select2-container--default .select2-selection--single .select2-selection__rendered {
        color: #444;
        line-height: 42px;
        height: 42px;
    }

    .input-field .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 42px;
        top: 2px; 
    }

.input-field .select2-selection__clear {
    display: none;
}

#telCode {
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
}

    #telCode select {
        background: transparent;
        border: none;
        outline: none;
    }


.tour-gallery-wrap.pc .slick-track a.item { 
    height: 395px !important;
}



.tour-gallery-wrap .slider-for .item .NewRadio {
    background: url(../img/play.png) no-repeat center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
}

.tour-gallery-wrap .slider-nav .item .NewRadioSmall {
    background: url(../img/play.png) no-repeat center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
}

.tourgroupflight {
    float: left;
    line-height: 1.5;
    display: inline-block;
    padding-right: 10px;
}

.card-2-wrap .card .tirps {
    position: absolute;
    width: 100%;
    display: -webkit-flex;
    display: flex;
    z-index: 1;
}


    .card-2-wrap .card .tirps div {
        flex: 1;
        text-align: center;
        max-width: 25%;
    }
      
        .card-2-wrap .card .tirps div img {
            /*width: 23px;
            height: 29px;*/
             width: 40px;
            height: 48px;
            margin: 0 auto;
        }
       .card-2-wrap .best-offer-row2 .tirps div img {
             width: 56px;
            height: 60px;
        }

label.error {
    color: red;
    position: absolute;
    bottom: -20px;
    left: 0;
}



    .contact-person-info .name-field .input-field:last-child {
        /*width: 10% !important;*/
    }

.contact-person-info .errortext span {
    color: #ff4500;
    font-size: 14px; 
    margin-top:2px;
}

.contact-person-info .emererrortext span {
    color: #ff4500;
    font-size: 14px;
    position: absolute;
    margin-top: 2px;
}

.errorText, .codeError {
    display: block;
    color: #ff4500;
    font-size: 14px;
    margin-top: 15px;
    white-space: pre;
}

.txtVerification {
    border: 1px solid #ccc;
    height: 23px;
    padding: 0 10px;
}

.indexbannerImg {
    width: 100%;
    height:400px;
    overflow: hidden;
}

    .indexbannerImg img {
        width: 100%;
    }

.landing-banner {
    position: relative;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    height:auto;
    min-height:initial;
}

.indexbannerImg + .banner-content {
    position: absolute;
}

.calendar-popup .input-field .price {
    font-size: 16px;
    position: unset;
    width: 268px;
    text-align: right;
    color: #EB0B8C;
}

.calendar-popup .input-field label {
    width: 268px;
    display: block;
    padding-left: 0;
}

.enquiry-form .input-field .select2 {
    font-size: 14px;
    width: 100%;
    min-width: 200px;
    border: 1px solid #c2c2c2;
    color: #444;
    line-height: 42px;
    height: 42px;
}

 
    .enquiry-form .input-field .select2-container--default .select2-selection--single .select2-selection__rendered{
        color: #444; 
    }

    .enquiry-form .input-field .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 34px;
        top: 0px;
    }

.enquiry-form .input-field .select2 {
    min-width: 100px;
}

.popup.enquiry-form .short-field.telZoneCode {
    top: -5px;
}

.tour-details .enquiry-form .input-field {
    margin-top: 0;
    margin-bottom: 0;
}


.tour-details .enquiry-form .input-field {
    padding-right: 0;
}

.tour-details .lookTableBtn {
    bottom: 0px;
    position: absolute;
    width: auto;
    right: 235px;
}

.tour-details .txtidCode {
    width: 100px;
}

.tour-details .popup .short-field.txtCode {
    top: 5px;
}


.tour-details .popup .ehong-code-val-tip {
    margin-top: 5px;
    display: block;
}

.tour-details .popup .ehong-idcode-val {
    display: block;
    height: 32px;
    line-height: 32px;
}

.tour-details .popup .short-field.txtCode + div input {
    position: relative;
    top: -23px;
    height: 34px;
}

a.EC008C {
    color: #EC008C;
}

ul.quick-select-wrap.style-1 li a.Attrhover {
    background-color: #EC008C;
}
 

.landing .main-content {
    padding-top: 0px;
}

#popular_view .card-1-wrap .card .view-img {
    height: 156px;
}

#popular_view .card-1-wrap .card {
    min-height: 156px;
}

#popular_view .card-1-wrap .card .view-desc {
    padding: 10px 10px 10px 260px;
}

.teaparty-search-wrap {
    margin: 0px -20px;
    border: 1px solid #E6E6E6;
}

    .teaparty-search-wrap .input-field {
        display: table-cell;
        padding: 20px;
        white-space: nowrap;
    }

    .teaparty-search-wrap .input-field span { 
        font-size:16px;
        color:#666;
    }

        .teaparty-search-wrap .input-field input.input-01 {
            width: 250px;
        }

    .teaparty-search-wrap .input-field:first-child {
        border-right: 1px solid #E6E6E6
    }

    .teaparty-search-wrap .input-field:nth-child(2) { 
        width:100%;
        text-align:right;
    }

    .teaparty-search-wrap .input-field:nth-child(2) {
        width: 100%;
        text-align: right;
    }

.teaparty-detail-wrap .container {
    border: 1px solid #E6E6E6;
}

.teaparty-detail-wrap .section-title {
    margin-left: -20px;
    margin-right: -20px;
    border-bottom: 1px solid #E6E6E6;
    padding: 20px;
}

.teaparty-detail-wrap .table {
    margin-bottom:60px;
}

.teaparty-detail-wrap .remarks {
    bottom: -28px;
    position: absolute;
    clear: both;
    display: block;
}

.teaparty-detail-wrap .table .tr .td:first-child {
    width: 180px;
    color: #666;
}

.teaparty-detail-wrap .table .tr .td:first-child:after {
    content:":";
    float:right;
}

.teaparty-detail-wrap img{
    max-width:100%;
}

.teaparty-detail-wrap p..remarks-grey{
    margin-bottom:0px;
}


.recent-view .card-2-wrap .card .price {
    width: calc(100% - 30px);
    padding: 0;
}

.tour-info-layout {
    gap: 24px;
}

/* 行程描述富文本圖片不超出容器（覆蓋 CMS 內聯寬高） */
.page-tour-details .tour-info img,
.page-tour-details #main_tour img {
    max-width: 100% !important;
    height: auto !important;
}

.page-tour-details .tour-info-main,
.page-tour-details #main_tour .txt-area {
    max-width: 100%;
    overflow-x: auto;
}

.tour-info-browse-aside {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    z-index: 1;
}

/* 向下捲動顯示 top-buy 固定列時，避免遮擋右側瀏覽記錄 */
.tour-details-desktop.top-buy-active .tour-info-browse-aside {
    top: var(--browse-aside-sticky-top, 201px);
}

.tour-details-desktop.top-buy-active .tour-detail-browse-history .browse-history-list {
    max-height: calc(100vh - var(--browse-aside-sticky-top, 201px) - 24px);
}

.tour-detail-browse-history {
    margin-top: 0;
}

.tour-detail-browse-history .browse-history-title {
    font-size: 16px;
    line-height: 1.4;
    margin: 0 0 12px;
    font-weight: 600;
    color: #333;
}

.tour-detail-browse-history .browse-history-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 680px;
    overflow-y: auto;
    padding-right: 2px;
}

.tour-detail-browse-history .browse-history-list-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease;
}

.tour-detail-browse-history .browse-history-list-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tour-detail-browse-history .browse-history-thumb {
    width: 72px;
    height: 54px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    border-radius: 3px;
    background-color: #f5f5f5;
}

.tour-detail-browse-history .browse-history-body {
    flex: 1;
    min-width: 0;
}

.tour-detail-browse-history .browse-history-name {
    font-size: 13px;
    line-height: 1.35;
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #333;
}

.tour-detail-browse-history .browse-history-price {
    font-size: 13px;
    line-height: 1.3;
    margin: 0;
    color: #FF7518;
}

.tour-detail-browse-history .browse-history-price span {
    font-weight: 600;
}

@media screen and (max-width: 992px) {
    .tour-info-layout {
        flex-direction: column;
    }

    .tour-info-browse-aside {
        width: 100%;
        position: static;
    }

    .tour-detail-browse-history .browse-history-list {
        max-height: none;
    }
}

.recent-view .card-2-wrap .card .tour-location:before {
    content: "";
    background: url(../img/common/icon_city.png) no-repeat;
    width: 16px;
    height: 16px;
    display: inline-grid;
    margin-right: 5px;
}

.recent-view .card-2-wrap .card .tour-location {
    position: absolute;
    top: 0;
    right: 0;
    color: #333333;
}

.recent-view .card-2-wrap .card .tour-booking-date {
    color: #333333;
    font-size: 12px;
    line-height: 12px;
    letter-spacing: 0px;
}

 
 
.tour-date-wrap a {
    background: #fff;
    color: #ff2965;
    border: 1px solid #ff2965;
    padding: 8px 10px;
    margin-right: 15px;
    margin-bottom: 15px;
    display: inline-flex;
}

#calendar .fc-scroller.fc-day-grid-container {
    /* overflow: hidden !important;
    height: 390px !important; */
}

#calendar .fc-scroller.fc-day-grid-container::-webkit-scrollbar {
    width: 2px;
    background: #fff;
}
#calendar .fc-scroller.fc-day-grid-container::-webkit-scrollbar-thumb {
    background: #FF7518;
    border-radius: 2px;
}



/** Tour Mobile Version */
@media screen and (min-width: 993px) {
    .contact-person-info .name-field .input-field {
        width: 36.5% !important;
    }

}

@media screen and (max-width: 992px) {
    .card-2-wrap .card p.code {
        display: block!important;
        font-size:12px;
        left:10px;
        text-align:left;
        bottom:30px;
    }




    .teaparty-search-wrap .input-field,
    .teaparty-search-wrap .input-field:nth-child(2) {
        white-space: pre-wrap;
        text-align: left;
        margin-bottom: 10px;
    }

    .teaparty-search-wrap {
        margin: 10px auto;
    }

        .teaparty-search-wrap p.highlight {
            margin-left: 10px;
            margin-bottom: 0px;
        }

        .teaparty-search-wrap .input-field input.input-01 {
            width: calc(100% - 30px);
            margin-top: 5px;
            margin-bottom: 10px;
        }

        .teaparty-search-wrap .input-field .btn-wrap {
            float: right;
            right: 20px;
            margin-bottom: 20px;
        }

        .teaparty-search-wrap .input-field input.submit-01 {
            line-height: 20px;
        }

    .teaparty-detail-wrap .section-title {
        margin-left: auto;
        margin-right: auto;
        padding: initial;
        margin-bottom:0px;
    }

    .teaparty-detail-wrap .table {
        margin-top: 20px;
        margin-bottom: 20px;
    }

        .teaparty-detail-wrap .table .tr .td:first-child {
            width: 100%;
            margin-top: 5px;
        }

            .teaparty-detail-wrap .table .tr .td:first-child:after{
                float:none;
            }
        .tea
        party-detail-wrap .table .tr .td {
            display: list-item;
            padding: 5px 15px;
        }

    .teaparty-detail-wrap .remarks {
        position: relative;
        margin: 10px;
    }
       .card-2-wrap .card .tirps div img {
              /*width: 23px;
            height: 29px;*/
                 width: 40px;
            height: 48px;
            margin: 0 auto;
        }

    /* 手機端日曆：格子窄，價格改為上下堆疊 + 小字，避免錯位 */
    .tour-details-mobile .calendar-wrap .fc-view-container .fc-content-skeleton table {
        height: auto;
        min-height: 58px;
    }

    .tour-details-mobile .calendar-wrap .fc-view-container .fc-content-skeleton tbody td {
        position: relative !important;
        vertical-align: top;
        min-height: 58px;
        height: auto;
    }

    .tour-details-mobile .calendar-wrap .fc-view-container .fc-day-top {
        position: relative !important;
        padding: 2px 0 0 !important;
        text-align: center;
    }

    .tour-details-mobile .calendar-wrap .fc-view-container .fc-day-number {
        float: none !important;
        display: block;
        padding: 0;
        font-size: 12px;
        line-height: 1.2;
        text-align: center;
    }

    .tour-details-mobile .calendar-wrap .fc-view-container .fc-event {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100%;
        height: auto;
        margin: 0;
    }

    .tour-details-mobile .calendar-wrap .fc-view-container .fc-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 1px;
        width: 100%;
        height: auto;
        padding: 0 1px 4px;
        overflow: hidden;
        white-space: normal;
    }

    .tour-details-mobile .calendar-wrap .fc-view-container .fc-content span {
        position: static !important;
        width: 100%;
        padding: 0 !important;
        text-align: center;
    }

    .tour-details-mobile .calendar-wrap .fc-view-container .fc-content .calendar-cell-price {
        order: 2;
        display: inline-flex;
        flex-wrap: wrap;
        align-items: baseline;
        justify-content: center;
        gap: 0 1px;
        width: 100%;
        max-width: 100%;
        font-size: 10px !important;
        line-height: 1.15;
        color: #FF2864;
        word-break: break-all;
        white-space: normal;
    }

    .tour-details-mobile .calendar-wrap .fc-view-container .fc-content .calendar-cell-price [data-price-cny] {
        display: inline;
        width: auto;
        font-size: 10px !important;
        line-height: 1.15;
        font-weight: 600;
    }

    .tour-details-mobile .calendar-wrap .fc-view-container .fc-content .calendar-cell-currency {
        display: inline;
        width: auto;
        font-size: 8px !important;
        line-height: 1.1;
        font-weight: 500;
        flex-shrink: 0;
    }

    .tour-details-mobile .calendar-wrap .fc-view-container .fc-content .fc-content-status {
        order: 3;
        display: flex;
        justify-content: center;
        gap: 2px;
        line-height: 1;
    }

    .tour-details-mobile .calendar-wrap .fc-view-container .fc-content .status {
        width: 6px !important;
        height: 6px !important;
        margin-top: 0 !important;
        display: inline-block;
    }

    .tour-details-mobile .calendar-wrap .fc-view-container .fc-content.tag-like:before,
    .tour-details-mobile .calendar-wrap .fc-view-container .fc-content.tag-tick:after {
        top: auto;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        width: 10px;
        height: 10px;
    }

    @media screen and (max-width: 375px) {
        .tour-details-mobile .calendar-wrap .fc-view-container .fc-content .calendar-cell-price [data-price-cny] {
            font-size: 9px !important;
        }

        .tour-details-mobile .calendar-wrap .fc-view-container .fc-content .calendar-cell-currency {
            font-size: 7px !important;
        }
    }





}