/**
 * Nova Tour — nhóm danh sách / trang chủ: khối thẻ, tìm kiếm, mã ưu đãi, điểm đến, bộ lọc, kết quả.
 * Nền ( token --nt-*, nút, chip, thẻ, slider ) ở travel.css. Mọi màu qua --nt-*.
 * Bản vẽ: .tools/khao-sat-travel/BAN-VE.md mục 3–7.
 */

/* ---------- Khối section ---------- */
.nt-sec { position: relative; min-width: 0; }
.nt-sec--box, .nt-sec--soft { padding: 40px 20px; border: 1px solid var(--nt-line); border-radius: var(--nt-radius-box); background: var(--nt-white); }
.nt-sec--soft { border-color: var(--nt-soft); background: var(--nt-softer); }
@media (min-width: 768px) { .nt-sec .nt-head { align-items: center; } }
.nt-sec__more-m { display: none; justify-content: center; margin-top: 20px; }
.nt-hot { flex-wrap: nowrap; margin-top: 24px; min-width: 0; }
.nt-hot__list { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.nt-hot__list::-webkit-scrollbar { display: none; }
.nt-hot .nt-chip { flex: 0 0 auto; }
.nt-hot .nt-chips__label { flex: 0 0 auto; color: var(--nt-text); }
.nt-cards, .nt-rows, .nt-rail__track { list-style: none; margin: 0; }
.nt-cards { padding: 0; }
.nt-cards > li, .nt-rail__track > li, .nt-res__list > li { display: flex; min-width: 0; }
.nt-cards > li[hidden], .nt-rail__track > li[hidden] { display: none; }
.nt-rows { display: grid; gap: 12px; padding: 0; }
.nt-ic { flex: none; }

/* ---------- Thẻ: phần bổ sung cho travel.css ---------- */
.nt-card { flex: 1 1 auto; width: 100%; }
.nt-card__media { color: var(--nt-primary); }
.nt-card__noimg { display: grid; place-items: center; width: 100%; height: 100%; }
.nt-card__title a:hover { color: var(--nt-primary); }
.nt-card__meta .nt-ic { color: var(--nt-muted-2); }
.nt-card__meta--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; }
.nt-card__meta--grid b { font-weight: 600; color: var(--nt-muted); }
.nt-card__meta--hotel { flex-direction: column; gap: 6px; }
.nt-card__addr { color: var(--nt-link); }
.nt-card__addr .nt-ic { color: var(--nt-link) !important; }
.nt-card__promo { display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px 10px; border-radius: 8px; background: var(--nt-cta-soft); color: var(--nt-cta-dark); }
.nt-card__dayrow { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 12px; color: var(--nt-muted-2); }
.nt-card__dayslabel { display: inline-flex; align-items: center; gap: 4px; flex: none; }
.nt-card__days { flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.nt-card__days::-webkit-scrollbar { display: none; }
.nt-card__days .nt-day-chip { flex: 0 0 auto; }
.nt-card__days .nt-day-chip:hover { background: var(--nt-cta); color: var(--nt-white); }
.nt-card__daysnext { display: grid; place-items: center; flex: none; width: 22px; height: 22px; padding: 0; border: 1px solid var(--nt-line); border-radius: 50%; background: var(--nt-white); color: var(--nt-muted-2); }
.nt-card__from del { margin-right: 4px; color: var(--nt-muted-2); font-size: 12px; }
.nt-card__unit { margin-left: 2px; font-size: 12px; font-weight: 600; color: var(--nt-muted); }
.nt-card__cta:hover { filter: brightness(.94); }
.nt-card__cta--gold { background: var(--nt-gold); color: var(--nt-text-strong); font-size: 14px; }
.nt-price--hot { color: var(--nt-cta); }
.nt-badge--hot { background: var(--nt-cta-dark); color: var(--nt-white); text-transform: uppercase; }
.nt-stars { display: inline-flex; gap: 2px; color: var(--nt-gold); }
.nt-card__starchip { position: absolute; left: 12px; bottom: 12px; z-index: 2; padding: 4px 8px; border-radius: 8px; background: rgba(25, 25, 25, .8); line-height: 0; }
.nt-card--row .nt-card__cta { margin-right: -16px; }
/* Ảnh thẻ ngang không quyết định chiều cao ( ảnh 4:3 sẽ kéo thẻ cao hơn 224 ). */
.nt-card--row .nt-card__media img { position: absolute; inset: 0; }
.nt-card--row .nt-card__title { padding-right: 8px; }
.nt-card--hotel.nt-card--row { border-radius: var(--nt-radius-box); box-shadow: var(--nt-shadow); }
.nt-card--hotel .nt-card__body { min-height: 150px; }
.nt-card--hotel:not(.nt-card--row) .nt-card__body { margin-top: -80px; }

/* ---------- Form tìm kiếm ( mục 3.1 ) ---------- */
.nt-search { position: relative; min-width: 0; }
.nt-search__tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nt-search__tabs::-webkit-scrollbar { display: none; }
.nt-search__tab { flex: 0 0 auto; height: 56px; padding: 8px; border: 0; border-radius: 24px 24px 0 0; background: rgb(255 255 255 / 90%); }
.nt-search__tab[aria-selected="true"] { background: var(--nt-white); }
.nt-search__pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 20px; color: var(--nt-primary); font-size: 12px; font-weight: 700; line-height: 16px; text-transform: uppercase; white-space: nowrap; }
.nt-search__tab[aria-selected="true"] .nt-search__pill { background: var(--nt-soft); }
.nt-search__panel { padding: 16px; border-radius: 0 24px 24px 24px; background: var(--nt-white); box-shadow: var(--nt-shadow); }
.nt-search__panel--solo { border-radius: var(--nt-radius-box); }
.nt-search__form { display: flex; align-items: center; gap: 12px; }
.nt-search__scope { display: flex; flex-direction: column; gap: 15px; flex: 0 0 auto; min-width: 120px; margin: 0; padding: 0; border: 0; }
.nt-radio { display: flex; align-items: center; gap: 8px; font-size: 16px; cursor: pointer; }
.nt-radio input, .nt-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--nt-primary); flex: none; }
.nt-search__fields { display: flex; flex: 1 1 auto; gap: 12px; min-width: 0; }
.nt-field { display: flex; align-items: center; gap: 10px; flex: 1 1 0; min-width: 0; height: 56px; padding: 0 16px 0 8px; border: 1px solid transparent; border-radius: 60px; background: var(--nt-page); cursor: pointer; }
.nt-field:focus-within { border-color: var(--nt-primary); }
.nt-field__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--nt-white); color: var(--nt-muted-2); }
.nt-field__body { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.nt-field__label { font-size: 12px; font-weight: 500; line-height: 16px; color: var(--nt-text); }
.nt-field .nt-field__input { width: 100%; min-width: 0; height: 24px; margin: 0; padding: 0; border: 0; border-radius: 0; outline: 0; box-shadow: none; background: transparent; color: var(--nt-primary); font: inherit; font-size: 16px; font-weight: 700; line-height: 24px; -webkit-appearance: none; appearance: none; text-overflow: ellipsis; cursor: pointer; }
.nt-field__input::placeholder { color: var(--nt-faint); font-weight: 600; opacity: 1; }
.nt-search__go { flex: 0 0 200px; height: 56px; border-radius: 60px; }

/* Ô gõ có gợi ý ( điểm khởi hành / điểm đến ) */
.nt-cb { position: relative; cursor: text; }
.nt-zup { z-index: 50 !important; }
.nt-cb__input { cursor: text; }
.nt-cb__clear { display: grid; place-items: center; flex: none; width: 28px; height: 28px; margin-right: -6px; padding: 0; border: 0; border-radius: 50%; background: var(--nt-white); color: var(--nt-muted-2); cursor: pointer; }
.nt-cb__clear[hidden] { display: none; }
.nt-cb__clear:hover, .nt-cb__clear:focus-visible { color: var(--nt-cta-dark); }
.nt-cb__pop { position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; width: max(100%, 340px); max-height: min(380px, 60vh); overflow-y: auto; overscroll-behavior: contain; padding: 8px; border-radius: 16px; background: var(--nt-white); box-shadow: 0 8px 28px rgba(0, 0, 0, .16); cursor: default; }
.nt-cb__pop[hidden] { display: none; }
.nt-cb__g { margin: 8px 8px 4px; color: var(--nt-muted-2); font-size: 12px; font-weight: 700; line-height: 16px; text-transform: uppercase; }
.nt-cb__grp:first-child .nt-cb__g { margin-top: 0; }
.nt-cb__opt { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 8px; border-radius: 10px; cursor: pointer; }
.nt-cb__opt:hover, .nt-cb__opt.is-active { background: var(--nt-softer); }
.nt-cb__opt[aria-selected="true"] b { color: var(--nt-primary); }
.nt-cb__img { display: grid; place-items: center; flex: none; width: 32px; height: 32px; overflow: hidden; border-radius: 50%; background: var(--nt-soft); color: var(--nt-primary); }
.nt-cb__img img { width: 100%; height: 100%; object-fit: cover; }
.nt-cb__img .nt-ic { width: 18px; height: 18px; }
.nt-cb__t { display: flex; flex-direction: column; min-width: 0; }
.nt-cb__t b { overflow: hidden; color: var(--nt-text); font-size: 14px; font-weight: 700; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; }
.nt-cb__t small { overflow: hidden; color: var(--nt-faint); font-size: 12px; line-height: 16px; text-overflow: ellipsis; white-space: nowrap; }
.nt-cb__none { margin: 0; padding: 16px 8px; color: var(--nt-muted-2); font-size: 14px; text-align: center; }

/* Bảng "Đổi tìm kiếm": thả từ trên xuống, nền mờ + blur phía dưới; mobile là sheet */
.nt-spanel { position: fixed; inset: 0; z-index: 100000; outline: 0; }
.nt-spanel[hidden] { display: none; }
.nt-spanel__shade { position: absolute; inset: 0; background: rgba(0, 14, 26, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s ease; }
.nt-spanel__box { position: absolute; top: var(--wp-admin--admin-bar--height, 0px); left: 0; right: 0; background: var(--nt-white); box-shadow: var(--nt-shadow-bar); transform: translateY(calc(-100% - 40px)); transition: transform .25s ease; }
.nt-spanel.is-open .nt-spanel__shade { opacity: 1; }
.nt-spanel.is-open .nt-spanel__box { transform: none; }
.nt-spanel__in { max-width: 1240px; margin: 0 auto; padding: 20px 20px 28px; }
.nt-spanel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.nt-spanel__title { margin: 0; color: var(--nt-text); font-size: 20px; font-weight: 800; line-height: 28px; }
.nt-spanel__x { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--nt-page); color: var(--nt-text); cursor: pointer; }
.nt-spanel .nt-search__form { flex-direction: column; align-items: stretch; }
.nt-spanel .nt-search__scope { flex-direction: row; gap: 24px; }
.nt-spanel .nt-cb__pop { max-height: min(340px, 50vh); }
.nt-search .nt-hot { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--nt-line); }
.nt-search .nt-chips__label { font-size: 14px; text-transform: none; }

/* ---------- Mã ưu đãi ( mục 3.2 ) ---------- */
.nt-coupons__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
/*
 * Vé khoét hai bên đúng ngay vạch đứt. Phần trên cao cố định ( 1 dòng tiêu đề + 2 dòng mô tả ) để vạch luôn
 * nằm ở 79–80px tính từ mép trên: lỗ khoét bằng mask ( trong suốt thật, hợp mọi màu nền của dải ), còn
 * ::before / ::after vẽ nửa vòng viền quanh miệng lỗ cho liền với viền thẻ. Đổi padding / chiều cao thì
 * sửa cả --nt-vc-y.
 */
.nt-voucher {
	--nt-vc-y: 79.5px;
	position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; min-height: 138px; padding: 12px;
	border: 1px solid var(--nt-primary); border-radius: 12px; background: var(--nt-white);
	-webkit-mask: radial-gradient(circle 9px at 0 var(--nt-vc-y), transparent 9px, #000 9.3px) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% var(--nt-vc-y), transparent 9px, #000 9.3px) right / 51% 100% no-repeat;
	mask: radial-gradient(circle 9px at 0 var(--nt-vc-y), transparent 9px, #000 9.3px) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% var(--nt-vc-y), transparent 9px, #000 9.3px) right / 51% 100% no-repeat;
}
.nt-voucher::before, .nt-voucher::after {
	content: ''; position: absolute; top: calc(var(--nt-vc-y) - 11px); left: -11px; box-sizing: border-box; width: 20px; height: 20px;
	border: 1px solid var(--nt-primary); border-radius: 50%; pointer-events: none;
}
.nt-voucher::after { left: auto; right: -11px; }
.nt-voucher__top { display: flex; gap: 8px; box-sizing: border-box; height: 67px; padding-bottom: 12px; border-bottom: 1px dashed var(--nt-line); }
.nt-voucher__top > div { min-width: 0; }
.nt-voucher__logo { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--nt-primary); color: var(--nt-white); }
.nt-voucher__title { margin: 0; overflow: hidden; font-size: 14px; font-weight: 800; line-height: 20px; color: var(--nt-text); text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.nt-voucher__desc { margin: 2px 0 0; color: var(--nt-faint); font-size: 12px; font-weight: 600; line-height: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nt-voucher__code { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 34px; padding: 0 4px 0 12px; border-radius: 23px; background: var(--nt-softer); }
.nt-voucher__ma { display: inline-flex; align-items: center; gap: 6px; min-width: 0; color: var(--nt-primary); }
.nt-voucher__ma code { overflow: hidden; background: none; color: inherit; font: 700 12px/16px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-overflow: ellipsis; white-space: nowrap; }
.nt-voucher__copy { flex: none; min-height: 30px; padding: 0 10px; border: 0; border-radius: 20px; background: transparent; color: var(--nt-primary); font-size: 12px; font-weight: 600; }
.nt-voucher__copy:hover, .nt-voucher__copy.is-done { background: var(--nt-soft); }

/* ---------- Điểm đến ( mục 4.5 ) ---------- */
.nt-dests { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin: 0; padding: 0; list-style: none; }
.nt-dest { display: flex; flex-direction: column; align-items: center; color: var(--nt-text-strong); text-decoration: none; }
.nt-dest__img { display: block; overflow: hidden; background: var(--nt-soft); color: var(--nt-primary); }
.nt-dest__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.nt-dest:hover .nt-dest__img img { transform: scale(1.05); }
.nt-dest__noimg { display: grid; place-items: center; width: 100%; height: 100%; }
.nt-dest__name { display: flex; align-items: center; min-height: 40px; font-size: 16px; font-weight: 700; }
.nt-dests--oval > li { flex: 0 0 216px; }
.nt-dests--oval .nt-dest__img { width: 216px; height: 336px; border-radius: 108px; }
.nt-dests--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.nt-dests--grid .nt-dest { position: relative; overflow: hidden; border-radius: var(--nt-radius-card); }
.nt-dests--grid .nt-dest__img { width: 100%; aspect-ratio: 350 / 216; }
.nt-dests--grid .nt-dest__name, .nt-destcard__name { position: absolute; left: 0; right: 0; bottom: 0; justify-content: center; min-height: 44px; margin: 0; background: rgba(25, 25, 25, .7); color: var(--nt-white); font-size: 15px; font-weight: 700; text-transform: uppercase; }

/* ---------- Bộ lọc ( mục 5.2 / 7.2 ) ---------- */
/* Dính: phải là thẻ gốc của element ( .nt-ui ) mới có chỗ trượt trong cột; cột chứa bộ lọc
   kéo dài bằng hàng dù hàng đang "Canh dọc: Giữa" ( mặc định của Nova ). */
/* Dính chỉ khi cả bộ lọc vừa màn hình ( is-fit do JS đo ): cao hơn màn hình mà dính thì phần dưới không bao giờ xem được. */
.nt-ui:has(> .nt-filter-wrap--sticky.is-fit) { position: sticky; top: calc(10px + var(--wp-admin--admin-bar--height, 0px)); }
.nova-col:has(> .nt-el-tour-filter) { align-self: stretch; }
.nt-destcard { position: relative; display: block; overflow: hidden; margin-bottom: 20px; border-radius: var(--nt-radius-card); aspect-ratio: 350 / 216; background: var(--nt-soft); }
.nt-destcard img, .nt-destcard .nt-dest__noimg { width: 100%; height: 100%; object-fit: cover; }
.nt-destcard__name { display: flex; align-items: center; }
.nt-filter { display: flex; flex-direction: column; padding: 16px 12px; border-radius: var(--nt-radius-card); background: var(--nt-white); }
.nt-filter__grip, .nt-filter__close { display: none; }
.nt-filter__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.nt-filter__title { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; font-weight: 700; }
.nt-filter__reset, .nt-filter__reset2 { color: var(--nt-text); font-size: 14px; text-decoration: none; }
.nt-filter__reset.is-off { color: var(--nt-line); pointer-events: none; }
/* Thanh cuộn nổi ( vẽ bằng .nt-sbar, absolute ): thanh gốc ẩn nên bề ngang không đổi khi nội dung ngắn / dài. */
.nt-filter__vp { position: relative; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.nt-filter__body { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.nt-filter__body::-webkit-scrollbar { display: none; }
.nt-sbar { position: absolute; top: 0; right: -8px; bottom: 0; width: 6px; opacity: 0; transition: opacity .2s; touch-action: none; }
.nt-sbar.is-on { opacity: .55; }
.nt-filter__vp:hover .nt-sbar.is-on, .nt-sbar.is-on:active { opacity: 1; }
.nt-sbar:not(.is-on) { pointer-events: none; }
.nt-sbar i { display: block; width: 6px; border-radius: 3px; background: rgba(0, 14, 26, .35); cursor: grab; }
.nt-filter__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--nt-line-soft); }
.nt-filter__foot .nt-btn { flex: 0 1 200px; }
.nt-js .nt-filter__foot { display: none; }
.nt-fsec { display: block; padding: 12px 0; border-top: 1px solid var(--nt-line); }
.nt-fsec:first-of-type { border-top: 0; }
.nt-fsec__title { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 600; line-height: 20px; color: var(--nt-text); }
.nt-fsec--fold > summary { display: flex; align-items: center; justify-content: space-between; list-style: none; cursor: pointer; }
.nt-fsec--fold > summary::-webkit-details-marker { display: none; }
.nt-fsec--fold > summary::after { content: ""; width: 7px; height: 7px; margin-right: 8px; border: solid var(--nt-muted-2); border-width: 0 2px 2px 0; transform: rotate(-135deg); }
.nt-fsec--fold:not([open]) > summary { margin-bottom: 0; }
.nt-fsec--fold:not([open]) > summary::after { transform: rotate(45deg); }
.nt-fsec__list { display: flex; flex-direction: column; gap: 8px; }
.nt-fsec--sort { display: none; }
.nt-check { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; cursor: pointer; }
.nt-check small { color: var(--nt-muted-2); font-size: 13px; }
.nt-res__select {
	width: 100%; height: 46px; padding: 0 40px 0 16px; border: 1px solid transparent; border-radius: 60px; outline: 0;
	background-color: var(--nt-page); color: var(--nt-text); font: inherit; font-size: 14px; -webkit-appearance: none; appearance: none; cursor: pointer;
	background-image: linear-gradient(45deg, transparent 50%, var(--nt-muted-2) 50%), linear-gradient(135deg, var(--nt-muted-2) 50%, transparent 50%);
	background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%; background-size: 5px 5px; background-repeat: no-repeat;
}
.nt-res__select:focus { border-color: var(--nt-primary); }
/* Ô Điểm đến / Điểm khởi hành trong bộ lọc: combobox của ô tìm kiếm, gọn lại; danh sách xổ ngay trong thanh
   ( thanh lọc tự cuộn nên danh sách nổi sẽ bị cắt ). */
.nt-fsec--cb .nt-field { flex: none; height: auto; min-height: 50px; flex-wrap: wrap; padding: 4px 12px 4px 4px; }
.nt-fsec--cb .nt-field__icon { width: 36px; height: 36px; }
.nt-fsec--cb .nt-field__body { flex-basis: 0; min-height: 40px; justify-content: center; }
.nt-fsec--cb .nt-field__label { font-size: 13px; font-weight: 600; color: var(--nt-text-strong); }
.nt-fsec--cb .nt-field .nt-field__input { font-size: 14px; }
.nt-fsec--cb .nt-cb.is-open { border-radius: 25px 25px 16px 16px; }
.nt-fsec--cb .nt-cb__pop { position: static; flex: 1 1 100%; width: auto; max-height: 300px; margin: 6px -8px 4px 0; border: 1px solid var(--nt-line); box-shadow: none; }

/* Lịch tháng */
.nt-cal__head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.nt-cal__nav { display: grid; place-items: center; flex: none; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: var(--nt-text-strong); color: var(--nt-white); }
.nt-cal__nav[disabled] { background: var(--nt-line); cursor: default; }
.nt-cal__title { display: flex; align-items: center; flex: 1 1 auto; height: 32px; margin: 0; border-radius: 20px; background: var(--nt-page); font-size: 12px; font-weight: 600; }
.nt-cal__title span { flex: 1; text-align: center; }
.nt-cal__title span + span { border-left: 1px solid var(--nt-muted-2); }
.nt-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; }
.nt-cal__wd { padding: 4px 0; color: var(--nt-muted-2); font-size: 11px; font-weight: 600; }
.nt-cal__wd.is-sun, .nt-cal__day.is-sun b { color: var(--nt-cta); }
.nt-cal__day { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 38px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--nt-text); }
.nt-cal__day b { font-size: 11px; font-weight: 700; line-height: 14px; }
.nt-cal__day small { color: var(--nt-primary); font-size: 8px; line-height: 10px; white-space: nowrap; }
.nt-cal__day:not([disabled]):hover { background: var(--nt-soft); }
.nt-cal__day[disabled] { cursor: default; }
.nt-cal__day[disabled] b, .nt-cal__day[disabled] small, .nt-cal__day.is-past b { color: var(--nt-line); }
.nt-cal__day.is-on { background: var(--nt-primary); }
.nt-cal__day.is-on b, .nt-cal__day.is-on small { color: var(--nt-white); }
.nt-cal__note { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; color: var(--nt-muted-2); font-size: 12px; }

/* Ngân sách: hai thanh trượt chồng nhau */
.nt-range__track { position: relative; height: 24px; margin: 4px 8px 6px; }
.nt-range__track::before, .nt-range__fill { content: ""; position: absolute; top: 11px; height: 2px; border-radius: 2px; }
.nt-range__track::before { left: 0; right: 0; background: var(--nt-line); }
.nt-range__fill { left: var(--a, 0%); right: var(--b, 0%); background: var(--nt-primary); }
.nt-range input[type="range"] { position: absolute; inset: 0 -8px; width: calc(100% + 16px); height: 24px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.nt-range input[type="range"]::-webkit-slider-runnable-track { background: none; }
.nt-range input[type="range"]::-webkit-slider-thumb { width: 18px; height: 18px; border: 2px solid var(--nt-primary); border-radius: 50%; background: var(--nt-white); pointer-events: auto; cursor: pointer; -webkit-appearance: none; appearance: none; }
.nt-range input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border: 2px solid var(--nt-primary); border-radius: 50%; background: var(--nt-white); pointer-events: auto; cursor: pointer; }
.nt-range__vals { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }

/* Pill nổi "Lọc | Sắp xếp" ( chỉ mobile ) */
.nt-fpill { display: none; }

/* ---------- Kết quả ( mục 5.2 / 7.2 ) ---------- */
.nt-res { min-width: 0; }
.nt-sum { min-height: 70px; margin-bottom: 20px; }
.nt-sum__bar { display: flex; align-items: center; gap: 16px; min-height: 70px; padding: 12px 16px; border-radius: 16px; background: var(--nt-white); }
.nt-sum.is-stuck .nt-sum__bar { position: fixed; top: var(--wp-admin--admin-bar--height, 0px); left: 0; right: 0; z-index: 110; padding-inline: max(16px, calc((100vw - 1240px) / 2)); border-radius: 0 0 20px 20px; box-shadow: var(--nt-shadow-bar); }
.nt-sum__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 8px; background: var(--nt-soft); color: var(--nt-primary); }
.nt-sum__list { display: flex; flex: 1 1 auto; min-width: 0; margin: 0; }
.nt-sum__item { flex: 1 1 0; min-width: 0; padding: 0 16px; border-left: 1px solid var(--nt-line); }
.nt-sum__item:first-child { padding-left: 0; border-left: 0; }
.nt-sum__item dt { overflow: hidden; color: var(--nt-muted); font-size: 14px; font-weight: 600; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; }
.nt-sum__item dd { overflow: hidden; margin: 0; color: var(--nt-link); font-size: 16px; font-weight: 700; line-height: 24px; text-overflow: ellipsis; white-space: nowrap; }
.nt-sum__edit { flex: none; min-height: 42px; }
.nt-res__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-bottom: 20px; border-bottom: 1px solid var(--nt-line); }
.nt-res__count { flex: 1 1 240px; }
.nt-res__count p { margin: 0; font-size: 16px; font-weight: 700; line-height: 24px; }
.nt-res__count b { color: var(--nt-primary); }
.nt-res__count .nt-res__sub { font-size: 14px; font-style: italic; font-weight: 600; }
.nt-res__sort label { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 600; white-space: nowrap; }
.nt-res__select { width: auto; min-width: 220px; height: 48px; border-color: var(--nt-line); background-color: var(--nt-white); color: var(--nt-primary); font-weight: 700; }
.nt-res__view { display: flex; gap: 4px; padding-left: 12px; border-left: 1px solid var(--nt-line); }
.nt-res__view button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--nt-muted-2); }
.nt-res__view button[aria-pressed="true"] { color: var(--nt-primary); }
.nt-res__list { display: grid; gap: 12px; margin: 0; padding: 24px 0 0; list-style: none; }
.nt-res__list[data-view="grid"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nt-res__list[data-view="grid"] .nt-card--row { display: flex; flex-direction: column; min-height: 0; }
.nt-res__list[data-view="grid"] .nt-card--row .nt-card__media { height: auto; aspect-ratio: 4 / 3; }
.nt-res__list[data-view="grid"] .nt-card--row .nt-card__body { margin: -40px 6px 6px; padding: 10px 8px 0; flex: 1 1 auto; }
.nt-res__list[data-view="grid"] .nt-card--row .nt-card__cta { margin-right: -8px; }
/* Nhãn sao neo góc dưới trái của thẻ hàng ngang ( = đáy ảnh ); thẻ dọc thì góc đó là dòng giá → lên góc trên phải ảnh ( trên trái là nhãn KM ). */
.nt-res__list[data-view="grid"] .nt-card__starchip { top: 12px; right: 12px; bottom: auto; left: auto; }
.nt-res__list[data-view="grid"] .nt-card__meta--grid { grid-template-columns: minmax(0, 1fr); }
.nt-res__list[data-view="grid"] .nt-card__dayslabel { display: none; }
.nt-res__empty { display: grid; justify-items: center; gap: 12px; padding: 48px 16px; color: var(--nt-muted); text-align: center; }
.nt-res__empty p { margin: 0; }
.nt-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.nt-pages a, .nt-pages span { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 40px; background: var(--nt-white); color: var(--nt-text); font-weight: 600; text-decoration: none; }
.nt-pages a:hover { background: var(--nt-soft); color: var(--nt-primary); }
.nt-pages .nt-pages__cur { background: var(--nt-primary); color: var(--nt-white); }
.nt-pages .nt-pages__gap { background: transparent; }

@media (max-width: 1100px) {
	.nt-search__form { flex-wrap: wrap; }
	.nt-search__scope { flex-direction: row; flex: 1 1 100%; }
	.nt-search__fields { flex-wrap: wrap; }
	.nt-field { flex: 1 1 220px; }
	.nt-search__go { flex: 1 1 200px; }
	.nt-res__list[data-view="grid"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nt-sum__item:nth-child(1) { display: none; }
	.nt-sum__item:nth-child(2) { padding-left: 0; border-left: 0; }
}

@media (max-width: 767px) {
	.nt-sec--box, .nt-sec--soft { padding: 24px 16px; border-radius: 16px; }
	.nt-sec .nt-head .nt-more { display: none; }
	.nt-sec__more-m { display: flex; }
	.nt-hot { flex-direction: column; align-items: flex-start; gap: 8px; }
	.nt-hot__list { width: 100%; }
	.nt-rail__track { scroll-padding-inline: 0; }
	.nt-rail__track > li { flex-basis: min(295px, 80vw); }
	.nt-grid.nt-cards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain; scrollbar-width: none; padding-bottom: 8px; }
	.nt-grid.nt-cards > li { flex: 0 0 min(295px, 80vw); scroll-snap-align: start; }

	.nt-search__tab { height: 48px; padding: 4px; }
	.nt-search__pill { height: 40px; padding: 0 12px; }
	.nt-search__panel { padding: 12px; border-radius: 0 16px 16px 16px; }
	.nt-search__fields, .nt-field, .nt-search__go { flex: 1 1 100%; }
	.nt-field { height: 52px; }
	.nt-search__go { height: 48px; }
	.nt-search .nt-hot { flex-direction: row; align-items: center; }
	.nt-cb__pop { left: -8px; right: -8px; width: auto; max-height: min(360px, 55vh); }
	.nt-spanel__box { top: auto; bottom: 0; max-height: 92vh; overflow-y: auto; overscroll-behavior: contain; border-radius: 24px 24px 0 0; transform: translateY(105%); }
	.nt-spanel__in { padding: 16px 16px 24px; }
	.nt-spanel__title { font-size: 18px; }
	.nt-spanel .nt-cb__pop { position: static; margin-top: 6px; box-shadow: none; border: 1px solid var(--nt-line); }
	.nt-spanel .nt-cb.is-open { height: auto; flex-wrap: wrap; padding-bottom: 8px; border-radius: 28px 28px 16px 16px; }
	.nt-spanel .nt-cb.is-open .nt-cb__pop { flex: 1 1 100%; margin-left: -8px; margin-right: -16px; }

	.nt-coupons__list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(320px, 85%); overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain; scrollbar-width: none; }
	.nt-voucher { scroll-snap-align: start; }

	.nt-dests--oval { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
	.nt-dests--oval > li { flex: 0 0 150px; }
	.nt-dests--oval .nt-dest__img { width: 150px; height: 234px; border-radius: 75px; }

	/* Bộ lọc thành bottom sheet */
	.nt-ui:has(> .nt-filter-wrap--sticky.is-fit) { position: static; }
	.nt-filter { position: fixed; left: 0; right: 0; bottom: 0; z-index: 130; max-height: 88vh; padding: 8px 20px 0; border-radius: 24px 24px 0 0; box-shadow: var(--nt-shadow-bar); transform: translateY(105%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
	.nt-filter-wrap.is-open .nt-filter { transform: none; visibility: visible; }
	.nt-filter-wrap.is-open::before { content: ""; position: fixed; inset: 0; z-index: 125; background: rgba(25, 25, 25, .6); }
	.nt-filter__grip { display: block; width: 40px; height: 4px; margin: 0 auto 8px; border-radius: 2px; background: var(--nt-line); }
	.nt-filter__head { position: relative; justify-content: center; }
	.nt-filter__head .nt-filter__reset { display: none; }
	.nt-filter__close { position: absolute; right: -8px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; background: transparent; color: var(--nt-muted-2); }
	.nt-filter__body { flex: 1 1 auto; max-height: none; }
	.nt-js .nt-filter__foot, .nt-filter__foot { display: flex; padding: 12px 0 16px; background: var(--nt-white); }
	.nt-fsec--sort { display: block; }
	.nt-filter-wrap.is-sort .nt-fsec:not(.nt-fsec--sort) { display: none; }
	.nt-fpill { position: fixed; left: 50%; bottom: 16px; z-index: 120; display: flex; align-items: center; padding: 4px; border-radius: 40px; background: var(--nt-white); box-shadow: var(--nt-shadow-bar); transform: translateX(-50%); }
	.nt-fpill button { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; height: 40px; padding: 0 16px; border: 0; background: transparent; color: var(--nt-text); font-size: 14px; font-weight: 600; }
	.nt-fpill span { width: 1px; height: 20px; background: var(--nt-line); }
	.nt-lock, .nt-lock body { overflow: hidden; }

	.nt-sum__bar { gap: 10px; padding: 10px 12px; }
	.nt-sum__icon { display: none; }
	.nt-sum__item { padding: 0 10px; }
	.nt-sum__item:nth-child(n+4) { display: none; }
	.nt-sum__item dt { font-size: 12px; line-height: 16px; }
	.nt-sum__item dd { font-size: 14px; line-height: 20px; }
	.nt-sum__edit { width: 42px; padding: 0; background: var(--nt-soft); border-color: var(--nt-soft); color: var(--nt-primary); }
	.nt-sum__edit span { display: none; }
	.nt-sum.is-stuck .nt-sum__bar { padding-inline: 16px; }
	.nt-res__view { display: none; }
	body:has(.nt-fpill) .nt-res__sort { display: none; }
	.nt-res__sort, .nt-res__sort label, .nt-res__select { width: 100%; min-width: 0; }
	.nt-res__list, .nt-res__list[data-view="grid"] { grid-template-columns: minmax(0, 1fr); }
	.nt-res__list .nt-card--row .nt-card__cta { margin-right: -16px; }
	.nt-card--row .nt-card__body { padding: 12px 12px 0; }
	.nt-card--row .nt-card__cta { margin-right: -12px !important; }
	.nt-card__meta--grid { grid-template-columns: minmax(0, 1fr); }
	.nt-card--row .nt-card__dayslabel { display: none; }
	.nt-pages { margin-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
	.nt-filter, .nt-dest__img img, .nt-spanel__box, .nt-spanel__shade { transition: none; }
	.nt-card__days { scroll-behavior: auto; }
}
