/* Chi tiết tour giống travelvietnam.com.vn (20261027-dn) */

/* Lịch trình: thẻ từng ngày, chỉ mở ngày đầu */
#days.tv-dys { display: grid; gap: 12px; margin: 6px 0 22px; padding: 0; border: 0; }
#days.tv-dys::before, #days.tv-dys::after { display: none !important; }
.tv-dys-tools { display: flex; justify-content: flex-end; margin: -4px 0 0; }
.tv-dy-all { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid #F5D5D8; border-radius: 999px; background: #fff; color: #1a1a1a; font-family: SF-UI-Text-Semibold; font-size: 13.5px; cursor: pointer; transition: border-color .2s, color .2s; }
.tv-dy-all:hover, .tv-dy-all.on { border-color: #CD2E3A; color: #CD2E3A; }
.tv-dy-all svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tv-dy { border: 1px solid #F8E2E3; border-radius: 18px; background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .25s; }
.tv-dy:hover, .tv-dy.open { border-color: #F3CBCE; }
.tv-dy.open { box-shadow: 0 6px 18px -10px rgba(205, 46, 58, 0.25); }
.tv-dy-h { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; width: 100%; padding: 16px 18px; border: 0; background: transparent; text-align: left; color: inherit; cursor: pointer; }
.tv-dy-h:focus { outline: none; }
.tv-dy-h:focus-visible { outline: 2px solid #CD2E3A; outline-offset: -2px; }
.tv-dy.open .tv-dy-h { background: #FDF7F7; border-bottom: 1px dashed #F0C0C4; }
.tv-dy-n { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 58px; height: 62px; border-radius: 13px; background: #FAEAEB; color: #CD2E3A; line-height: 1; transition: background .2s, color .2s; }
.tv-dy.open .tv-dy-n { background: #CD2E3A; color: #fff; box-shadow: 0 10px 18px -10px rgba(205, 46, 58, 0.9); }
.tv-dy-n small { margin-bottom: 4px; font-family: SF-UI-Text-Semibold; font-size: 10.5px; letter-spacing: .12em; }
.tv-dy-n b { font-family: SF-UI-Text-Semibold; font-size: 24px; font-weight: normal; }
.tv-dy-t { min-width: 0; }
.tv-dy-t .ttl { display: block; color: #1a1a1a; font-family: SF-UI-Text-Semibold; font-size: 17px; line-height: 1.4; text-transform: none; }
.tv-dy-t .sub { display: -webkit-box; margin-top: 3px; overflow: hidden; color: #666; font-size: 13.5px; line-height: 1.5; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tv-dy.open .tv-dy-t .sub { display: none; }
.tv-dy-c { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.tv-dy-c > span { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 4px 11px; border: 1px solid #F5D5D8; border-radius: 999px; background: #fff; color: #444; font-size: 12.5px; line-height: 1.4; }
.tv-dy-c .fa { color: #CD2E3A; }
.tv-dy-x { display: grid; flex: none; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #FAEAEB; color: #CD2E3A; transition: background .2s, color .2s; }
.tv-dy-x svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.tv-dy.open .tv-dy-x { background: #CD2E3A; color: #fff; }
.tv-dy.open .tv-dy-x svg { transform: rotate(180deg); }
.tv-dy-b { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .32s ease, visibility .32s; }
.tv-dy.open .tv-dy-b { grid-template-rows: 1fr; visibility: visible; }
.tv-dy-b > div { min-height: 0; overflow: hidden; }
#days .tv-dy-in { margin: 0; padding: 18px 22px 20px; }

/* Lịch khởi hành: chỉ hiện ngày gần nhất (máy tính 3, điện thoại 1) + 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 #CD2E3A; border-radius: 999px; background: #fff; color: #CD2E3A; 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: #CD2E3A; color: #fff; }

@media (max-width: 767px) {
    .tv-dy-h { gap: 12px; padding: 13px 12px; }
    .tv-dy-n { width: 48px; height: 52px; border-radius: 11px; }
    .tv-dy-n b { font-size: 20px; }
    .tv-dy-t .ttl { font-size: 15.5px; }
    .tv-dy-x { width: 30px; height: 30px; }
    #days .tv-dy-in { padding: 14px 14px 16px; }
    .tv-dep-btn { width: 100%; justify-content: center; }
}

/* dn-fix2: nút "Gửi đánh giá" không bị bóp chữ xuống dòng */
#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 #CD2E3A !important; border-radius: 999px; background: #fff; color: #CD2E3A; font-size: 14px; line-height: 1.2; white-space: nowrap; transition: background .2s, color .2s; }
#reviews .button_contact_price:hover, #reviews .button_contact_price:focus { background: #CD2E3A; color: #fff; }
#reviews .d-flex > div:last-child { flex: none; }
@media (max-width: 767px) { #reviews .d-flex { gap: 12px; } }
