/* ==================================================================
   ZTravel - Lich khoi hanh, chuyen bay, thanh dat tour (trang chi tiet)

   Lay tu khoi <style> noi tuyen cua trang single tren bestbooking.vn.
   Da BO cac luat rieng cho tung bai viet cua ho (.postid-xxxxx,
   .diem-den-*) vi khong dung cho site nay.
   ================================================================== */

.note-price-text {
        font-weight: 600;
            color: #b72020;
    }
.calendar {
        display: none;
        flex-flow: column;
    }
.calendar-wrapper.loading {
    	opacity: 0.7;
    	pointer-events: none;
    }
.calendar.active {
        display: flex;
    }
.calendar .header .month-year {
        font-size: 20px;
        font-weight: bold;
        text-transform: uppercase;
        color: #05429b;
    }
.calendar .days {
        display: flex;
        flex-flow: wrap;
    }
.calendar .header {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 30px;
        padding-bottom: 20px;
    }
.calendar .days .day_name {
        width: calc(100% / 7);
        padding: 10px;
        text-transform: uppercase;
        font-weight: bold;
        text-align: center;
        margin-bottom: 10px;
    }
.calendar .days .day_name:nth-child(7) {
        border: none;
    }
.calendar-wrapper {
        flex: 0 0 80%;
        padding-left: 20px;
    }
.calendar-details> p {
        text-align: center;
        font-style: italic;
        margin-bottom: 0;
        margin-top: 20px;
        font-size: 14px;
    }
.nav-button {
        width: 30px;
        height: 30px;
        text-align: center;
        line-height: 30px;
        border: 1px dashed;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }
.nav-button:before {
        content: "";
        background: url(/wp-content/themes/ztravel/assets/traveler/v2/images/svg/ico_next.svg) no-repeat center center / contain;
        width: 15px;
        height: 15px;
        filter: invert(100%);
        display: block;
    }
.nav-button.prev-button:before {
            transform: rotate(180deg);
    }
.calendar .days .day-cell {
        width: calc(100% / 7);

    }
.calendar .days .day-cell .day {
        cursor: pointer;
        text-align: center;
        height: 60px;
        position: relative;
        width: 60px;
        border: 1px solid transparent;
        margin: auto;
    }
.calendar .days .day-cell.not-available {
        cursor: not-allowed;
        pointer-events: none;
    }
*/

    body.single-st_tours .calendar .days .day-cell.available.phao-hoa {
        background: url(https://bestbooking.vn/wp-content/uploads/2024/12/fireworks.png) no-repeat center center / 70%;
    }
body.single-st_tours .calendar .days .day-cell.available.co-do {
            background: url(https://bestbooking.vn/wp-content/uploads/2025/08/vi-flag.png) no-repeat top 5px right 5px / 35%;
    }
/*    .calendar .days .day-cell[data-date="20250129"], .calendar .days .day-cell[data-date="20250130"], .calendar .days .day-cell[data-date="20250131"], .calendar .days .day-cell[data-date="20250201"], .calendar .days .day-cell[data-date="20250202"] {
        background: url(https://bestbooking.vn/wp-content/uploads/2024/12/mai-removebg-preview.png) no-repeat;
        background-size: 20px;
        background-position-y: -4px;
        background-position-x: 83%;
    }
*/



    .calendar .days .day-cell.available:hover .day, .calendar .days .day-cell.active .day {
        border-color: #05429b;
        border-radius: 50%;
    }
.calendar .days .day-cell .day>span.day-num {
        position: absolute;
        width: 100%;
        left: 0;
        top: 7px
    }
.calendar .days .day-cell .day>span.price {
        position: absolute;
        width: 100%;
        top: 27px;
        left: 0;
    }
.calendar .days .day-cell:hover {
        background-color: #fdfdfd;
    }
.calendar .days .day-cell .price {
        color: #05429b;
        font-size: 14px;
        font-weight: bold;
    }
.calendar .days .day-cell.ignore {
        color: #ced2d4;
        cursor: inherit;
    }
.calendar .days .day-cell.selected {}
.departure-schedule {
        display: flex;
        border-bottom: 1px solid #d9d9d9 !important;
        padding-bottom: 40px;
        margin-bottom: 40px;
    }
.bb-box {
        box-shadow: 0 0 15px rgb(0 0 0 / 10%);
        border-radius: 6px;
        padding: 20px;
        height: 100%;
        position: relative;
        overflow: hidden;
    }
.departure-schedule .tab-month {
        flex: 0 0 20%;
    }
.calendar-note {
        text-align: center;
        font-style: italic;
        margin-bottom: 0;
    }
.tab-month ul {
        list-style: none;
        padding-left: 0;
    }
.tab-month li {
        margin-top: 15px;
    }
.tab-month li a {
        padding: 5px 10px;
        display: block;
        background-color: transparent;
        text-align: center;
        border-radius: 6px;
    }
.tab-month li.active a {
        background-color: #05429b;
        color: #fff;
    }
.tab-month h4 {
        font-size: 18px;
        margin-top: 0;
        text-align: center;
    }
.calendar.last .next-button, .calendar.first .prev-button {
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
    }
.date-details {
        z-index: 2;
        display: none;
    }
.calendar-wrapper.detail-active .calendar-details {
    	display: none;
    }
.calendar-wrapper.detail-active .date-details {
        display: block;
    }
.date-details .button-back {
            background-color: transparent;
        padding: 0;
        border: 0;
    }
.date-details .header {
        display: flex;
        justify-content: space-between;
    }
.date-details .header .date {
        color: #b72020;
        font-size: 18px;
        font-weight: 500;
    }
.date-details h4 {
        text-align: center;
            font-size: 20px;
        font-weight: bold;
    }
.flight-info {
        display: flex;
        justify-content: space-between;
            gap: 20px;
            font-size: 14px;
                align-items: center;
    }
.flights p {
        text-align: left;
        font-size: 14px;
            margin-bottom: 0;
    }
.flights {
        display: flex;
        flex-direction: column;
    }
.flights [data-order="1"] {
        order: 1;
    }
.flights [data-order="3"] {
        order: 3;
    }
.flights [data-order="4"] {
        order: 4;
    }
.flights [data-order="2"] {
        order: 2;
    }
.flights > h5 {
        text-align: center;
        color: #000;
        font-weight: 600;
        font-size: 16px;
            margin-top: 15px;
            margin-bottom: 0;
    }
.airline-from-to {
        flex-grow: 1;
            padding: 0 20px;
    }
.airline {
        flex: 0 0 70px;
    }
.airline img {
        max-width: 100%;
    }
.airline-from-to .top {
        border-bottom: 2px solid #05429b;
        display: flex;
        justify-content: space-between;
            margin-bottom: 5px;
        padding-bottom: 5px;
        color: #05429b;
        align-items: flex-end;
    }
.airline-info {
        flex: 0 0 90px;
        text-align: center;
    }
.airline-from-to .top .text {
        padding-bottom: 7px;
    }
.airline-from-to .bottom {
        display: flex;
        justify-content: space-between;
            color: #747474;
    }
.airline-time {
        text-align: center;
            font-weight: 600;
                color: #000;
        font-size: 17px;
    }
.airline-location {
            color: #747474;
    }
.date-start, .date-end {
        margin-top: 15px;
    }
.price-details, .flights {
        border-bottom: 2px solid #e3e3e3;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
.price-columns {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        position: relative;
    }
.price-columns:before {
        content: "";
        left: calc(50% - 1px);
        width: 1px;
        background-color: #e3e3e3;
        height: 100%;
        top: 0;
        display: block;
        position: absolute;
    }
.price-columns .col {
        flex: 0 0 45%;
        max-width: 45%;
        display: flex;
        justify-content: space-between;
        margin-top: 5px;
            color: #000;
    }
.price-columns .heading span {
        display: block;
        font-size: 14px;
        font-weight: 400;
        color: #747474;
    }
.price-columns .price {
        color: #b72020;
        font-size: 17px;
        font-weight: bold;
    }
.date-details > p {
            font-size: 14px;
        font-weight: 600;
        font-style: italic;
        text-align: center;
        margin-bottom: 0;
    }
.form-dates.active .btn-select-dates, .form-dates .button-actions {
    	display: none;
    	gap: 10px;
    }
.form-dates.active .button-actions {
    	display: flex;
    }
.form-dates .button-actions a, .form-dates .button-actions button {
        display: block;
        padding: 7px;
        border-radius: 7px;
        color: #fff;
            border: 1px solid #05429b;
            background-color: #05429b;
        font-weight: 600;
        font-size: 15px;
        width: 50%;
        text-align: center;
    }
.form-dates .button-actions .change-date {
    	background-color: #fff;
    	color: #05429b;
    }
.flight--SE .airline .img img {
            width: 50px;
        height: 50px;
        overflow: hidden;
        border-radius: 50%;
        object-fit: cover;
    }
.flight--SE .airline-from-to .bottom, .flight--SE .airline-from-to .top .fly {
        display: none;
    }
.flight--SE .airline-from-to .top {
        justify-content: center;
    }
@media (max-width: 768px) {
.departure-schedule .tab-month {
    		display: none;
    	}
.airline-info {
            flex-basis: 77px;
        }
.calendar-wrapper {
    		flex: 0 0 100%;
    		padding-left: 0;
    	}
.airline {
    		flex: 0 0 30px;
    	}
.airline-time {
    		font-size: 14px;
    	}
.flight-info {
    		gap: 5px;
    		    font-size: 12px;
    	}
.airline-from-to {
    		padding: 0 5px;
    	}
.airline-from-to .top {
    		padding-bottom: 0;
    	}
.price-columns .col {
    		flex:  0 0 100%;
    		max-width: 100%;
    	}
.price-columns:before {
    		display: none;
    	}
.price-columns .price {
    		font-size: 16px;
    	}
.date-details > p {
    		font-size: 12px;
    	}
.calendar .days .day_name {
    		padding: 0;
    	}
.calendar .days .day-cell .day>span.day-num {
    		top: 2px;
    	}
.calendar .days .day-cell .day {
    		width: 45px;
    		height: 45px;
    	}
.calendar .days .day-cell .day>span.price {
    		top: 20px;
    		font-size: 12px;
    	}
.date-details .header {
            font-size: 14px;
        }
.date-details .header .date {
            font-size: 16px;
        }
.tour-booking-bar .btn-collapse {
            display: none;
            position: absolute;
            top: 10px;
            right: 10px;
            border: 0;
            background-color: transparent;
        }
.tour-booking-bar:not(.expanded) .calendar-wrapper {
            display: none;
        }
.tour-booking-bar .calendar-wrapper {
            max-height: 650px;
            overflow: auto;
        }
.tour-booking-bar .calendar-wrapper .bb-box {
            padding: 10px;
            box-shadow: none;
            border-radius: 0;
        }
.tour-booking-bar.expanded .date-details .header, .tour-booking-bar .calendar-details> p {
            display: none;
        }
.tour-booking-bar.expanded {
            border-radius: 12px 12px 0 0;
             padding-top: 10px;
        }
.tour-booking-bar.expanded .btn-collapse {
            display: block;
         }
.tour-booking-bar.expanded > .top {
            border-top: 1px solid #dedede;
            padding-top: 10px;
         }
.date-details h4 {
            font-size: 18px;
            margin-bottom: 5px;
         }
}
/* ------------------------------------------------------------------
   Bang chuyen tour tuong tu — 3 cot
   ------------------------------------------------------------------ */
.ukirot-tour-related-slider { margin-left: -10px; margin-right: -10px; }
.ukirot-tour-related-slider .slick-slide { padding: 0 10px; height: auto; }
.ukirot-tour-related-slider .slick-slide > div { height: 100%; }
.ukirot-tour-related-slider .slick-track { display: flex; align-items: stretch; }
/* Bo lop luoi Bootstrap ben trong vi slick tu tinh be rong */
.ukirot-tour-related-slider .col-xs-12,
.ukirot-tour-related-slider .col-sm-6,
.ukirot-tour-related-slider .col-md-3 {
    width: 100% !important; float: none !important;
    padding-left: 0 !important; padding-right: 0 !important;
    height: 100%;
}
.ukirot-tour-related-slider .slick-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 38px; height: 38px; border-radius: 50%; border: 0;
    background: #fff; box-shadow: 0 2px 10px rgba(16, 24, 40, .16);
    font-size: 0; cursor: pointer;
}
.ukirot-tour-related-slider .slick-prev { left: -8px; }
.ukirot-tour-related-slider .slick-next { right: -8px; }
.ukirot-tour-related-slider .slick-arrow::before {
    content: ""; display: block; width: 9px; height: 9px; margin: 0 auto;
    border-top: 2px solid var(--main-color, #0445A1);
    border-right: 2px solid var(--main-color, #0445A1);
}
.ukirot-tour-related-slider .slick-prev::before { transform: rotate(-135deg); margin-left: 15px; }
.ukirot-tour-related-slider .slick-next::before { transform: rotate(45deg); margin-left: 11px; }
.ukirot-tour-related-slider .slick-arrow.slick-disabled { opacity: .35; cursor: default; }

/* ------------------------------------------------------------------
   Lich trinh tung ngay — gap lai nhu ban goc (.item cao ~100px),
   bam vao thanh ngay de mo noi dung.
   ------------------------------------------------------------------ */
#tourPrintProgram .item .topbar { cursor: pointer; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
#tourPrintProgram .item .topbar .tieu-de { font-weight: 700; color: var(--bb-navy, #1a2b48); flex: 1 1 auto; }
#tourPrintProgram .item .topbar::after {
    content: ""; width: 9px; height: 9px; flex: 0 0 auto;
    border-right: 2px solid var(--main-color, #0445A1);
    border-bottom: 2px solid var(--main-color, #0445A1);
    transform: rotate(45deg); margin-left: auto;
    transition: transform .2s ease;
}
#tourPrintProgram .item.mo .topbar::after { transform: rotate(-135deg); }
#tourPrintProgram .item .content {
    display: none; padding-top: 8px; color: #4a5568;
}
#tourPrintProgram .item.mo .content { display: block; }

/* ------------------------------------------------------------------
   Khop voi ban goc: muc chon thang cao 36px, dong ghi chu cao 45px
   ------------------------------------------------------------------ */
.departure-schedule .tab-month li {
    height: 36px; display: flex; align-items: center;
    padding: 0 8px; border-radius: 6px; cursor: pointer;
}
/* Ban goc: dong ghi chu cao 45px (dem, khong phai le — le khong lam cao hop) */
.departure-schedule .calendar-details p {
    margin: 20px 0 0; min-height: 45px; display: flex; align-items: flex-end;
}
