/* Thẻ du thuyền trang Du thuyền Hạ Long (2026-10-26) */
.tv-cl .tv-i { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tv-cl { margin-bottom: 24px; }
.tv-cl-card { position: relative; display: flex; flex: 1; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--sh-sm); transition: transform .25s, box-shadow .25s, border-color .2s; }
.tv-cl-card:hover { border-color: #f4cfb3; box-shadow: var(--sh-md); transform: translateY(-4px); }

/* Băng chuyền ở trang chủ */
#cruise-index .owl-stage-outer { padding: 6px 0 16px; }
#cruise-index .owl-stage { display: flex; }
#cruise-index .owl-item { display: flex; }
#cruise-index .item.tv-cl { display: flex; width: 100%; margin: 0; }
#cruise-index .tv-cl-ph img { width: 100%; }

/* Ảnh + nhãn giá */
.tv-cl-ph { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sky-2); }
.tv-cl-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tv-cl-card:hover .tv-cl-ph img { transform: scale(1.06); }
.tv-cl-ph::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(180deg, rgba(24,26,33, 0), rgba(24,26,33, .55)); pointer-events: none; }
.tv-cl-hot { position: absolute; left: 12px; top: 12px; z-index: 2; padding: 4px 11px; border-radius: 8px; background: var(--red); color: #fff; font-family: SF-UI-Text-Semibold; font-size: 12px; letter-spacing: .5px; }
.tv-cl-disc { position: absolute; right: 12px; top: 12px; z-index: 2; padding: 5px 11px; border-radius: 999px; background: var(--gold, #FFD66B); color: var(--red-dd, #7c2d12); font-family: SF-UI-Text-Semibold; font-size: 13px; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .45); }
.tv-cl-from { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: inline-flex; flex-direction: column; padding: 7px 14px 8px; border-radius: 12px 12px 12px 4px; background: var(--red); color: #fff; line-height: 1.1; box-shadow: 0 10px 20px -8px rgba(124,45,18, .7); }
.tv-cl-from small { color: #fdeadb; font-size: 11.5px; letter-spacing: .03em; }
.tv-cl-from b { margin-top: 2px; font-family: SF-UI-Text-Semibold; font-size: 21px; font-weight: normal; letter-spacing: -.01em; }

/* Nội dung */
.tv-cl-b { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 16px 18px 18px; }
.tv-cl-t { margin: 0; font-family: SF-UI-Text-Semibold; font-size: 18px; line-height: 1.35; }
.tv-cl-t a { color: var(--navy); text-decoration: none; transition: color .2s; }
.tv-cl-card:hover .tv-cl-t a { color: var(--red); }
.tv-cl-st { display: block; line-height: 1; }
.tv-cl-s { display: -webkit-box; margin: 2px 0 0; overflow: hidden; color: var(--muted); font-size: 14px; line-height: 1.6; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }

/* Bảng giá chương trình */
.tv-cl-tours { margin-top: auto; padding: 10px 12px 6px; border: 1px solid #f7dcc7; border-radius: 14px; background: linear-gradient(180deg, #fff9f5, var(--red-bg, #fcf0e7)); }
.tv-cl-tours-h { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 6px; border-bottom: 1px dashed #f4ceb1; color: var(--red-d, #9a3412); font-family: SF-UI-Text-Semibold; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.tv-cl-tour { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; }
.tv-cl-tour + .tv-cl-tour { border-top: 1px dashed #f4ceb1; }
.tv-cl-tour .d { display: inline-flex; align-items: flex-start; gap: 6px; min-width: 0; color: var(--navy); font-family: SF-UI-Text-Semibold; font-size: 14px; line-height: 1.35; }
.tv-cl-tour .d .tv-i { margin-top: 2px; color: var(--red); font-size: 15px; }
.tv-cl-tour .d em { color: var(--muted); font-family: SF-UI-Text-Regular, sans-serif; font-size: 12.5px; font-style: normal; }
.tv-cl-tour .p { display: flex; flex: none; flex-direction: column; align-items: flex-end; line-height: 1.15; text-align: right; }
.tv-cl-tour .p s { color: var(--muted); font-size: 12px; }
.tv-cl-tour .p b { color: var(--red); font-family: SF-UI-Text-Semibold; font-size: 20px; font-weight: normal; letter-spacing: -.01em; white-space: nowrap; }
.tv-cl-tour .p.na { color: var(--navy); font-family: SF-UI-Text-Semibold; font-size: 14px; }

.tv-cl-go { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; margin-top: 12px; border-radius: 12px; background: var(--red); color: #fff; font-family: SF-UI-Text-Semibold; font-size: 15px; text-decoration: none; box-shadow: 0 10px 20px -12px rgba(194,65,12, .8); transition: background .2s; }
.tv-cl-go .tv-i { font-size: 18px; transition: transform .2s; }
.tv-cl-go:hover, .tv-cl-go:focus, .tv-cl-card:hover .tv-cl-go { background: var(--red-d); color: #fff; text-decoration: none; }
.tv-cl-card:hover .tv-cl-go .tv-i { transform: translateX(3px); }

@media (max-width: 991px) {
    .post-column2.tv-cl { width: 50%; }
}
@media (max-width: 767px) {
    .post-column2.tv-cl { width: 100%; margin-bottom: 16px; }
    .tv-cl-t { font-size: 17px; }
    .tv-cl-from b { font-size: 19px; }
    .tv-cl-tours { padding: 8px 10px 4px; }
    .tv-cl-tours-h { font-size: 10.5px; letter-spacing: .02em; white-space: nowrap; }
    .tv-cl-tour .d { font-size: 13.5px; }
    .tv-cl-tour .d em { display: block; }
    .tv-cl-tour .p b { font-size: 18px; }
}

/* Mobile: dua nut mui ten len giua anh, khong che gia (2026-10-28) */
@media (max-width: 767px) {
    #cruise-index .owl-nav .owl-prev,
    #cruise-index .owl-nav .owl-next {
        top: calc(30.85vw - 47px); /* giua nhan giam gia va o gia */
        width: 36px;
        height: 36px;
    }
}

/* Mobile/cam ung: tat hieu ung hover khi vuot slider de het giat (2026-10-30) */
@media (hover: none) {
    .tv-cl-card:hover { transform: none; box-shadow: var(--sh-sm); border-color: var(--line); }
    .tv-cl-card:hover .tv-cl-ph img,
    .tv-cl-card:hover .tv-cl-go .tv-i { transform: none; }
    .tv-cl-card, .tv-cl-ph img { transition: none; }
}
#cruise-index .owl-stage { will-change: transform; }
#cruise-index .owl-stage-outer { touch-action: pan-y; }
#cruise-index .item.tv-cl { box-shadow: none; }

/* Mobile: slider du thuyen dung cuon ngang native thay Owl (2026-10-30) */
@media (max-width: 767px) {
    #cruise-index.tv-cl-snap { display: flex; gap: 8px; padding: 0 0 6px 30px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: none; }
    #cruise-index.tv-cl-snap::-webkit-scrollbar { display: none; }
    #cruise-index.tv-cl-snap > .item.tv-cl { display: flex; flex: 0 0 calc(100% - 30px); min-width: 0; scroll-snap-align: center; scroll-snap-stop: always; }
    #cruise-index.tv-cl-snap > .item.tv-cl:last-child { margin-right: 30px; }
}
/* 2026-11-11 heading-A: tren dien thoai tieu de nhom (Top gia tot, Ngu dem, Trong ngay, An toi) thanh dai xanh dam chu trang; ca thanh bam duoc vao trang nhom */
@media (max-width: 767px) {
    html body .row-cruise-catlist { margin-top: 28px; }
    html body .row-cruise-catlist h2.h3-title { position: relative; display: flex; align-items: center; gap: 8px; background: #9b3f0d; border-radius: 12px; padding: 13px 16px !important; margin-bottom: 16px !important; font-size: 20px !important; font-weight: 700 !important; line-height: 1.3 !important; }
    html body .row-cruise-catlist h2.h3-title .ico-cruise { color: #fff !important; }
    html body .row-cruise-catlist h2.h3-title a.a-cat-cruie { flex: 1; display: flex; align-items: center; gap: 8px; color: #fff !important; text-decoration: none; }
    html body .row-cruise-catlist h2.h3-title a.a-cat-cruie:before { content: ""; position: absolute; inset: 0; }
    html body .tv-pz-top .tv-pz-tt { background: #9b3f0d; border-radius: 12px; padding: 12px 14px; }
    html body .tv-pz-top .tv-pz-h { color: #fff !important; font-size: 19px !important; font-weight: 700 !important; }
}
/* 2026-11-11 viewall: bo chu "Xem tat ca" tren thanh tieu de; nut duoi moi nhom doi chu "Xem tat ca", nen xanh dam (moi man hinh) */
html body .row-cruise-catlist .btn-view-more, html body .btn-view-more.btn-danger { background: #9b3f0d !important; border-color: #9b3f0d !important; color: #fff !important; }
html body .row-cruise-catlist .btn-view-more:hover, html body .btn-view-more.btn-danger:hover { background: #2a2f3a !important; border-color: #2a2f3a !important; }
/* 2026-11-11 nowrap: tren dien thoai tieu de nhom nam tren 1 dong, chu co theo be ngang man hinh */
@media (max-width: 767px) {
    html body div.tv-pz-top div.tv-pz-tt { padding: 11px 12px; gap: 8px; flex: 1 1 auto; width: 100%; box-sizing: border-box; }
    html body div.tv-pz-top div.tv-pz-tt > div { min-width: 0; }
    html body div.tv-pz-top .tv-pz-tt p.tv-pz-h { white-space: nowrap !important; overflow: hidden; text-overflow: ellipsis; font-size: clamp(12px, 4.05vw, 19px) !important; }
    html body .row-cruise-catlist h2.h3-title { font-size: clamp(15px, 5.2vw, 20px) !important; }
    html body .row-cruise-catlist h2.h3-title a.a-cat-cruie { white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
}
/* 2026-11-11 colors-2: dien thoai - thanh Top mau cam; moi nhom mot mau (Ngu dem xanh dam, Trong ngay xanh ngoc, An toi tim hong), bieu tuong trong vong tron, mui ten ben phai */
@media (max-width: 767px) {
    html body div.tv-pz-top div.tv-pz-tt { background: linear-gradient(135deg, #EA580C, #F97316) !important; box-shadow: 0 6px 16px -8px rgba(234, 88, 12, .6); }
    html body div.tv-pz-top .tv-pz-ic { background: #fff !important; color: #EA580C !important; }
    html body div.tv-pz-top .tv-pz-ic svg { stroke: #EA580C !important; }
    html body div.row-cruise-catlist h2.h3-title { box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .45); }
    html body div.row-cruise-catlist h2.h3-title:has(a[href*="ngu-dem"]) { background: linear-gradient(135deg, #2a2f3a, #9b3f0d) !important; }
    html body div.row-cruise-catlist h2.h3-title:has(a[href*="trong-ngay"]) { background: linear-gradient(135deg, #0E7490, #0EA5B7) !important; }
    html body div.row-cruise-catlist h2.h3-title:has(a[href*="an-toi"]) { background: linear-gradient(135deg, #5B1A6E, #A3266B) !important; }
    html body div.row-cruise-catlist h2.h3-title .ico-cruise { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; background: rgba(255, 255, 255, .2); color: #fff !important; font-size: 17px; }
    html body div.row-cruise-catlist h2.h3-title a.a-cat-cruie:after { content: "\203A"; margin-left: auto; padding-left: 8px; font-size: 26px; line-height: 1; opacity: .9; }
    /* vua 1 dong o man 320px: chu nho hon, vong tron 28px, dem 12px */
    html body div.row-cruise-catlist h2.h3-title { padding: 12px !important; gap: 6px !important; font-size: clamp(14px, 4.8vw, 20px) !important; }
    html body div.row-cruise-catlist h2.h3-title .ico-cruise { width: 28px; height: 28px; flex: 0 0 28px; font-size: 15px; }
    html body div.row-cruise-catlist h2.h3-title a.a-cat-cruie { gap: 6px !important; }
    html body div.row-cruise-catlist h2.h3-title a.a-cat-cruie:after { padding-left: 4px; font-size: 24px; }
}

/* =========================================================
   [MOBILE-LAYOUT-20261111] Trang /du-thuyen-ha-long/ - BAN MOBILE (<= 767px)
   Cac nhom (Ngu dem / Trong ngay / An toi): chay slide ngang
   (Phan "Top Du Thuyen" mobile nam trong tv-cruise-promo.css, marker MOBILE-TOP-20261111)
   Ban sao luu truoc khi sua: tv-cruise-list.css.bak-20261111
   ========================================================= */
@media (max-width: 767px) {

  /* ---------- 2) NHOM DU THUYEN: slide ngang ---------- */
  html body .row-cruise-catlist .post-wrapper2 {
    display: flex; flex-wrap: nowrap; gap: 12px;
    margin: 0 -15px; padding: 4px 15px 14px;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; scroll-padding: 0 15px;
    overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  html body .row-cruise-catlist .post-wrapper2::-webkit-scrollbar { display: none; }
  html body .row-cruise-catlist .post-column2.tv-cl {
    display: flex; flex: 0 0 84%;
    width: auto; max-width: none; min-width: 0;
    margin: 0; padding: 0;
    scroll-snap-align: start;
  }
  html body .row-cruise-catlist .tv-cl-card:hover { transform: none; }
}

/* 2026-11-11 heading-plain: dien thoai - tieu de nhom (Ngu dem, Trong ngay, An toi) bo thanh nen mau, chi con vach do ben trai + chu xanh dam nhu dulichonline (owner) */
@media (max-width: 767px) {
    html body div.row-cruise-catlist h2.h3-title, html body div.row-cruise-catlist h2.h3-title:has(a.a-cat-cruie) { background: none !important; box-shadow: none !important; border-radius: 0 !important; border-left: 4px solid #c2410c; padding: 2px 0 2px 12px !important; color: #2a2f3a; }
    html body div.row-cruise-catlist h2.h3-title .ico-cruise { background: none !important; color: #2a2f3a !important; width: auto; height: auto; flex: 0 0 auto; border-radius: 0; }
    html body div.row-cruise-catlist h2.h3-title a.a-cat-cruie { color: #2a2f3a !important; }
    html body div.row-cruise-catlist h2.h3-title a.a-cat-cruie:after { content: none !important; }
}

/* 2026-11-11 boat-icons: icon tieu de nhom mau do, moi nhom mot icon (Ngu dem = trang, Trong ngay = mat troi, An toi = nap chuong mon an) - owner */
html body div.row-cruise-catlist h2.h3-title .ico-cruise { color: #c2410c !important; }
html body div.row-cruise-catlist h2.h3-title:has(a[href*="/ngu-dem/"]) .ico-cruise { display: inline-block !important; width: 26px !important; height: 26px !important; flex: 0 0 26px !important; border-radius: 0 !important; vertical-align: -5px; margin-right: 6px; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23B5123B%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2.5%2015h19l-2.6%204.4a1.6%201.6%200%200%201-1.4.8H6.5a1.6%201.6%200%200%201-1.4-.8z%22%2F%3E%3Cpath%20d%3D%22M5.5%2015v-3.5h10V15%22%2F%3E%3Cpath%20d%3D%22M7.5%2011.5V8.5h6v3%22%2F%3E%3Cpath%20d%3D%22M8%2013.3h.01M10.5%2013.3h.01M13%2013.3h.01%22%2F%3E%3Cpath%20d%3D%22M21%206.6A3.2%203.2%200%201%201%2017.4%203a2.5%202.5%200%200%200%203.6%203.6z%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat !important; }
html body div.row-cruise-catlist h2.h3-title:has(a[href*="/ngu-dem/"]) .ico-cruise::before { content: none !important; }
html body div.row-cruise-catlist h2.h3-title:has(a[href*="/trong-ngay/"]) .ico-cruise { display: inline-block !important; width: 26px !important; height: 26px !important; flex: 0 0 26px !important; border-radius: 0 !important; vertical-align: -5px; margin-right: 6px; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23B5123B%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2.5%2015h19l-2.6%204.4a1.6%201.6%200%200%201-1.4.8H6.5a1.6%201.6%200%200%201-1.4-.8z%22%2F%3E%3Cpath%20d%3D%22M6%2015v-3.5h9V15%22%2F%3E%3Cpath%20d%3D%22M10.5%2011.5V5.5l4%202.5-4%201.5%22%2F%3E%3Ccircle%20cx%3D%2219%22%20cy%3D%225%22%20r%3D%221.8%22%2F%3E%3Cpath%20d%3D%22M19%201.6v.6M19%207.8v.6M15.6%205h.6M21.8%205h.6M16.6%202.6l.4.4M21%207l.4.4M21.4%202.6l-.4.4%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat !important; }
html body div.row-cruise-catlist h2.h3-title:has(a[href*="/trong-ngay/"]) .ico-cruise::before { content: none !important; }
html body div.row-cruise-catlist h2.h3-title:has(a[href*="/an-toi/"]) .ico-cruise { display: inline-block !important; width: 26px !important; height: 26px !important; flex: 0 0 26px !important; border-radius: 0 !important; vertical-align: -5px; margin-right: 6px; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23B5123B%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2.5%2015h19l-2.6%204.4a1.6%201.6%200%200%201-1.4.8H6.5a1.6%201.6%200%200%201-1.4-.8z%22%2F%3E%3Cpath%20d%3D%22M6%2015v-3h12v3%22%2F%3E%3Cpath%20d%3D%22M7%209h10%22%2F%3E%3Cpath%20d%3D%22M8%209a4%204%200%200%201%208%200%22%2F%3E%3Cpath%20d%3D%22M12%203.6v1.3%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat !important; }
html body div.row-cruise-catlist h2.h3-title:has(a[href*="/an-toi/"]) .ico-cruise::before { content: none !important; }

/* 2026-11-11 desktop-line: may tinh cung co vach do ben trai tieu de nhom nhu dien thoai (owner: "ban desktop thieu I") */
@media (min-width: 768px) {
    html body div.row-cruise-catlist h2.h3-title { border-left: 4px solid #c2410c; padding-left: 12px; }
}