/* Trang chi tiết tour – đồng bộ màu (2026-10-26) */

/* Giá gốc gạch ngang trong khung đặt tour */
#r_bking .tv-gia-old { display: flex; align-items: center; gap: 8px; margin: 0 0 2px; line-height: 1.2; }
#r_bking .tv-gia-old s { color: rgba(255, 255, 255, .7); font-size: 15px; }
#r_bking .tv-gia-disc { padding: 2px 8px; border-radius: 6px; background: var(--gold, #FFD66B); color: var(--red-dd, #650A21); font-family: SF-UI-Text-Semibold; font-size: 12.5px; }

/* Lịch trình: mốc thời gian và tiêu đề ngày */
#tour-detail .right-day::before { background: var(--red, #B5123B) !important; box-shadow: 0 0 0 4px var(--red-bg, #FCE7ED); }
#tour-detail .day-title, #tour-detail .day-title * { color: var(--navy, #0B2259) !important; border-color: var(--navy, #0B2259); }
#tour-detail .day-number { color: var(--red, #B5123B); }

/* Bảng lịch khởi hành */
#lichkhoihanh .btn-danger { border-color: var(--red, #B5123B); background: var(--red, #B5123B); }
#lichkhoihanh .btn-danger:hover { border-color: var(--red-d, #8F0D2E); background: var(--red-d, #8F0D2E); }
#lichkhoihanh .btn-success { border: 1px solid var(--red, #B5123B); background: #fff; color: var(--red, #B5123B); }
#lichkhoihanh .btn-success:hover, #lichkhoihanh .btn-success:focus { background: var(--red-bg, #FCE7ED); color: var(--red, #B5123B); }

/* Hỏi đáp + đánh giá */
#tour-detail .ask-question, #tour-detail #reviews .button_contact_price { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; margin: 0; padding: 0 18px !important; border: 1.5px solid var(--red, #B5123B) !important; border-radius: 999px; background: #fff; color: var(--red, #B5123B); font-family: SF-UI-Text-Semibold; font-size: 14px; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s; }
#tour-detail .ask-question:hover, #tour-detail #reviews .button_contact_price:hover { background: var(--red, #B5123B); color: #fff; }
#tour-detail .review-overview { padding: 16px 18px; border: 1px solid var(--sky-2, #DCE7FB); border-radius: 16px; background: var(--sky, #EDF3FF); }
#tour-detail .review-over-rate { background: var(--red, #B5123B); }
@media (max-width: 767px) {
    #tour-detail .review-overview > .d-flex { flex-wrap: wrap; gap: 12px; }
    #tour-detail .review-overview > .d-flex > div:last-child { flex: none; }
}

/* Lịch khởi hành: chỉ hiện vài ngày gần nhất + nút xem thêm */
#lichkhoihanh tbody > tr.tv-dep-hide { display: none !important; }
.tv-dep-more { margin: 4px 0 8px; text-align: center; }
.tv-dep-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 22px; border: 1.5px solid var(--navy, #0B2259); border-radius: 999px; background: #fff; color: var(--navy, #0B2259); font-family: SF-UI-Text-Semibold; font-size: 14.5px; cursor: pointer; transition: background .2s, color .2s; }
.tv-dep-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.tv-dep-btn.open svg { transform: rotate(180deg); }
.tv-dep-btn:hover { background: var(--navy, #0B2259); color: #fff; }
@media (max-width: 767px) {
    .tv-dep-btn { width: 100%; justify-content: center; }
    #lichkhoihanh tbody > tr.responsive { margin: 0 0 12px; overflow: hidden; border: 1px solid var(--line, #E0E7F4); border-radius: 14px; background: #fff !important; box-shadow: var(--sh-sm); }
    #lichkhoihanh tbody > tr.responsive > td.responsive { padding: 11px 14px 11px 46%; border-bottom: 1px solid var(--line, #E0E7F4); background: transparent; color: var(--navy, #0B2259); font-family: SF-UI-Text-Semibold; }
    #lichkhoihanh tbody > tr.responsive > td.responsive:last-child { border-bottom: 0; }
    #lichkhoihanh tbody > tr.responsive > td.responsive::before { left: 14px; padding-top: 11px; color: var(--muted, #5A6682); font-family: SF-UI-Text-Regular, sans-serif; font-weight: normal; }
    #lichkhoihanh tbody > tr.responsive > td.sttt { display: none; }
    #lichkhoihanh tbody > tr.responsive > td:nth-of-type(3) > span:first-child .mda-money { color: var(--red, #B5123B); }
    #lichkhoihanh tbody > tr.responsive > td:nth-of-type(3) > span + span, #lichkhoihanh tbody > tr.responsive > td:nth-of-type(3) > span + span .mda-money { color: var(--muted, #5A6682) !important; font-family: SF-UI-Text-Regular, sans-serif; }
    #lichkhoihanh tbody > tr.responsive > td:nth-of-type(3) > span:first-child { color: var(--red, #B5123B); font-size: 17px; }
}
@media (max-width: 767px) {
    #lichkhoihanh .mda-price-item > td { display: block; max-width: calc(100vw - 30px); padding: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    #lichkhoihanh .mda-price-item-box { min-width: 0; }
}
