/* hibus – search results page */
.kq-search{background:var(--brand);padding:14px 0}
.booking.compact{padding:10px;border-radius:10px;box-shadow:none}
.booking.compact .field{min-height:52px;padding-top:6px;padding-bottom:6px}
.booking.compact .search-btn{min-width:130px}

.kq-grid{display:grid;grid-template-columns:288px 1fr;gap:20px;align-items:start;padding:20px 0 48px}

/* Filters */
.filters{position:sticky;top:80px;max-height:calc(100vh - 96px);overflow:auto;background:#fff;border:1px solid var(--line);border-radius:10px;scrollbar-width:none;overscroll-behavior:contain}
.filters::-webkit-scrollbar,.lb-ths::-webkit-scrollbar{display:none}
.f-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:10px;padding:14px 16px;background:#fff;border-bottom:1px solid var(--line)}
.f-head h2{font-size:17px;margin-right:auto}
.f-clear{font-size:13.5px;font-weight:600;color:var(--brand)}
.f-clear:disabled{color:var(--ink-3);cursor:default}
.f-close{display:none;width:34px;height:34px;border-radius:8px;place-items:center}
.f-close svg{width:20px;height:20px;fill:none;stroke:var(--ink);stroke-width:2;stroke-linecap:round}
.f-sec{padding:14px 16px;border-bottom:1px solid var(--line)}
.f-sec:last-of-type{border-bottom:0}
.f-sec h3{font-size:14px;font-weight:700;margin-bottom:10px}
.tiles{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:66px;padding:8px 6px;border:1px solid var(--line);border-radius:8px;font-size:12.5px;font-weight:500;color:var(--ink-2);text-align:center;line-height:1.25;transition:border-color .15s,background .15s}
.tile svg{width:24px;height:24px;fill:none;stroke:var(--ink-2);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.tile small{font-size:11.5px;color:var(--ink-3)}
.tile:hover{border-color:#c9cdd8}
.tile.on{border-color:var(--brand);background:var(--brand-50);color:var(--brand)}
.tile.on svg{stroke:var(--brand)}
.tile.on small{color:var(--brand)}
.tile:disabled{opacity:.45;cursor:default}
.tiles.four .tile{min-height:72px}

.price-track{position:relative;height:28px}
.price-track::before{content:"";position:absolute;left:0;right:0;top:12px;height:4px;border-radius:2px;background:var(--line)}
.price-fill{position:absolute;top:12px;height:4px;border-radius:2px;background:var(--brand)}
.price-track input{position:absolute;inset:0;width:100%;margin:0;background:none;pointer-events:none;-webkit-appearance:none;appearance:none}
.price-track input::-webkit-slider-thumb{pointer-events:auto;-webkit-appearance:none;width:20px;height:20px;border-radius:50%;background:#fff;border:2px solid var(--brand);cursor:grab}
.price-track input::-moz-range-thumb{pointer-events:auto;width:16px;height:16px;border-radius:50%;background:#fff;border:2px solid var(--brand);cursor:grab}
.price-val{display:flex;justify-content:space-between;font-size:13px;font-weight:600;color:var(--ink);margin-top:4px}

.f-search{width:100%;height:36px;border:1px solid var(--line);border-radius:8px;padding:0 10px 0 32px;font:inherit;font-size:13.5px;outline:0;margin-bottom:8px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a90a0' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") 9px center/16px no-repeat}
.f-search:focus{border-color:var(--brand)}
.chk{display:flex;align-items:flex-start;gap:9px;padding:6px 0;font-size:13.5px;color:var(--ink);cursor:pointer;line-height:1.35}
.chk input{flex:none;width:16px;height:16px;margin-top:1px;accent-color:var(--brand)}
.chk span{flex:1;min-width:0}
.chk small{display:block;font-size:12px;color:var(--ink-3)}
.chk em{font-style:normal;font-size:12.5px;color:var(--ink-3)}
.f-more{margin-top:4px;font-size:13px;font-weight:600;color:var(--brand)}
.f-none{font-size:13px;color:var(--ink-3);padding:4px 0}
.f-apply{display:none}

/* Results column */
.results{min-width:0}
.r-top{display:flex;align-items:flex-start;gap:12px;margin-bottom:12px}
.r-title{flex:1;min-width:0}
.r-title h1{font-size:clamp(18px,2vw,22px);font-weight:700}
.day-nav{display:inline-flex;align-items:center;gap:4px;margin-top:6px;border:1px solid var(--line);background:#fff;border-radius:8px;padding:2px}
.day-nav a{width:30px;height:30px;display:grid;place-items:center;border-radius:6px;cursor:pointer}
.day-nav a:hover{background:var(--bg)}
.day-nav a[aria-disabled=true]{opacity:.3;pointer-events:none}
.day-nav svg{width:18px;height:18px;fill:none;stroke:var(--ink);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.day-nav span{font-size:14px;font-weight:600;color:var(--ink);padding:0 6px;white-space:nowrap}
.f-open{display:none;align-items:center;gap:6px;height:40px;padding:0 14px;border:1px solid var(--line);border-radius:8px;background:#fff;font-weight:600;font-size:14px;color:var(--ink)}
.f-open svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.f-open b[hidden]{display:none}
.f-open b{min-width:20px;height:20px;border-radius:10px;background:var(--brand);color:#fff;font-size:12px;display:grid;place-items:center;padding:0 5px}

.sortbar{display:flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:8px 10px;overflow-x:auto;scrollbar-width:none}
.sortbar::-webkit-scrollbar{display:none}
.sortbar>span{font-size:13.5px;color:var(--ink-3);white-space:nowrap;margin-right:4px}
.sortbar button{display:flex;align-items:center;gap:4px;white-space:nowrap;padding:7px 12px;border-radius:6px;font-size:14px;font-weight:500;color:var(--ink-2)}
.sortbar button:hover{background:var(--bg)}
.sortbar button.on{background:var(--brand-50);color:var(--brand);font-weight:600}
.sortbar button i{font-style:normal;font-size:12px}
.r-count{font-size:14px;color:var(--ink-2);margin:12px 2px}
.r-count b{color:var(--ink)}
.r-load{color:var(--ink-3)}

.popular{background:#fff;border:1px solid var(--line);border-radius:10px;padding:12px 14px;margin-bottom:12px}
.pop-head{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:10px}
.pop-head h3{font-size:14.5px}
.pop-tabs{display:flex;gap:4px}
.pop-tabs button{font-size:13px;font-weight:500;padding:5px 10px;border-radius:6px;color:var(--ink-2)}
.pop-tabs button.on{background:var(--ink);color:#fff}
.pop-chips{display:flex;flex-wrap:wrap;gap:8px}
.pchip{display:flex;align-items:center;gap:6px;font-size:13px;padding:6px 11px;border:1px solid var(--line);border-radius:99px;color:var(--ink)}
.pchip em{font-style:normal;color:var(--ink-3);font-size:12px;font-variant-numeric:tabular-nums;min-width:3ch;text-align:center}
.pchip:hover{border-color:#c9cdd8}
.pchip.on{border-color:var(--brand);background:var(--brand-50);color:var(--brand)}
.active-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.active-chips:empty{display:none}
.achip{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:500;padding:4px 6px 4px 10px;border-radius:6px;background:var(--brand-50);color:var(--brand)}
.achip svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}

/* Trip card */
.trip{background:#fff;border:1px solid var(--line);border-radius:10px;margin-bottom:12px;transition:border-color .15s}
.trip:hover{border-color:#cfd3dd}
.trip-main{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1.5fr) auto;gap:18px;padding:16px 18px;align-items:center}
.op{display:flex;gap:12px;min-width:0}
.op-ava{flex:none;width:42px;height:42px;border-radius:9px;display:grid;place-items:center;font-weight:700;font-size:15px;color:#fff}
.op-name{font-size:15.5px;font-weight:700;color:var(--ink);line-height:1.3}
.op-type{font-size:13px;color:var(--ink-3);margin-top:2px}
.op-rate{display:flex;align-items:center;gap:6px;margin-top:6px;font-size:12.5px;color:var(--ink-3)}
.op-rate b{display:inline-flex;align-items:center;gap:3px;background:#16a05a;color:#fff;font-size:12px;font-weight:700;padding:2px 6px;border-radius:5px}
.op-rate b svg{width:11px;height:11px;fill:#fff}
.op-rate b.mid{background:#e09a12}
.when{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center}
.t{font-size:20px;font-weight:700;color:var(--ink);line-height:1.1}
.t sup{font-size:11px;font-weight:600;color:#d43a1a;margin-left:2px}
.st{font-size:12.5px;color:var(--ink-3);margin-top:3px;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.when .end{text-align:right}
.when .end .st{margin-left:auto}
.dur{position:relative;text-align:center;font-size:12px;font-weight:500;color:var(--ink-2)}
.dur::before{content:"";position:absolute;left:0;right:0;top:50%;border-top:1px dashed #c9cdd8}
.dur span{position:relative;background:#fff;padding:2px 8px;border:1px solid var(--line);border-radius:99px}
.buy{text-align:right;min-width:150px}
.price-now{font-size:21px;font-weight:700;color:var(--ink)}
.price-was{font-size:13px;color:var(--ink-3);text-decoration:line-through;margin-right:6px}
.buy-btn{margin-top:8px;height:40px;padding:0 20px;border-radius:8px;background:var(--accent);color:#fff;font-weight:700;font-size:14.5px}
.buy-btn:hover{background:var(--accent-d)}
.seats{font-size:12.5px;color:var(--ink-3);margin-top:6px}
.seats.low{color:#d43a1a;font-weight:600}
.trip-foot{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 18px;border-top:1px solid var(--line)}
.tag{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:500;padding:3px 8px;border-radius:5px;background:var(--bg);color:var(--ink-2)}
.tag svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tag.ok{background:#eaf7f0;color:#11834a}
.tag.deal{background:#fff1ea;color:#c94a12}
.tag.hot{background:#ff6a1a;color:#fff}.tag.hot svg{stroke:#fff}
.tlinks{margin-left:auto;display:flex;gap:2px}
.tlinks button{font-size:13px;font-weight:600;color:var(--brand);padding:4px 8px;border-radius:6px}
.tlinks button:hover,.tlinks button.on{background:var(--brand-50)}
.detail{border-top:1px solid var(--line);padding:14px 18px 16px;display:none}
.detail.open{display:block}
.pts{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.pts h4{font-size:13.5px;margin-bottom:8px}
.pts ol{list-style:none;max-height:260px;overflow:auto}
.pts li{display:grid;grid-template-columns:48px 1fr;gap:8px;padding:6px 0;font-size:13.5px;color:var(--ink);border-bottom:1px dashed var(--line)}
.pts li:last-child{border-bottom:0}
.pts time{font-weight:700}
.pts small{display:block;color:var(--ink-3);font-size:12px}
.policy{font-size:13.5px;color:var(--ink);white-space:pre-line;line-height:1.55}
.next-step{margin-top:14px;padding:10px 12px;border-radius:8px;background:var(--bg);font-size:13px;color:var(--ink-2)}

/* Card photo */
.op-photo{position:relative;flex:none;width:96px;height:64px;border-radius:8px;overflow:hidden;background:#eef0f4}
.op-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s}
.op-photo:hover img{transform:scale(1.05)}
.op-photo span{position:absolute;left:4px;bottom:4px;font-size:10.5px;font-weight:600;color:#fff;background:rgba(10,14,24,.6);padding:1px 6px;border-radius:4px}

/* Booking panel */
.trip.picking{border-color:var(--brand)}
.sp-loading{display:flex;align-items:center;justify-content:center;gap:10px;padding:32px;font-size:14px;color:var(--ink-3)}
.spin{width:18px;height:18px;border-radius:50%;border:2px solid var(--line);border-top-color:var(--brand);animation:spin .7s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.sp-retry{color:var(--brand);font-weight:600}
.sp-gal-wrap{position:relative;margin-bottom:14px}
.sp-gal{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;scroll-behavior:smooth}
.gal-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:34px;height:34px;border-radius:50%;background:#fff;box-shadow:0 2px 8px rgba(21,26,38,.25);font-size:22px;line-height:1;color:var(--ink)}
.gal-nav.prev{left:-10px}.gal-nav.next{right:-10px}
.sp-gal::-webkit-scrollbar{display:none}
.gal-th{flex:none;width:132px;height:82px;border-radius:8px;overflow:hidden;background:#eef0f4}
.gal-th img{width:100%;height:100%;object-fit:cover;display:block}
.gal-th:hover img{opacity:.85}
.gal-more{flex:none;width:82px;height:82px;border-radius:8px;background:var(--bg);font-size:13px;font-weight:600;color:var(--ink)}
.sp-steps{display:flex;list-style:none;border-bottom:1px solid var(--line);margin-bottom:16px;overflow-x:auto;scrollbar-width:none}
.sp-steps li{display:flex;align-items:center;gap:8px;padding:10px 16px 11px;font-size:14px;font-weight:600;color:var(--ink-3);border-bottom:2.5px solid transparent;margin-bottom:-1px;white-space:nowrap}
.sp-steps li:first-child{padding-left:0}
.sp-steps i{font-style:normal;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:12px;background:var(--bg);color:var(--ink-3)}
.sp-steps li.on{color:var(--ink);border-color:var(--accent)}
.sp-steps li.on i{background:var(--brand);color:#fff}
.sp-steps li.done i{background:#e3f5ea;color:#11834a}
.sp-body.s1{display:flex;flex-direction:column;gap:18px}
.sp-rule{align-self:flex-start;display:flex;align-items:center;gap:24px;padding:12px 16px;border:1px solid #9cbcf5;background:#eef4ff;border-radius:10px;font-size:14px;color:var(--ink)}
.sp-rule button{font-weight:700;color:var(--brand);text-decoration:underline;text-underline-offset:2px}
.s1-grid{display:grid;grid-template-columns:minmax(220px,300px) 1fr;gap:28px;align-items:start}
.sp-legend h4{font-size:14.5px;margin-bottom:12px}
.sp-legend ul{list-style:none;display:flex;flex-direction:column;gap:16px}
.sp-legend li{display:flex;align-items:center;gap:12px;font-size:14px;color:var(--ink)}
.sp-legend li>span:not(.sic){display:flex;flex-direction:column;gap:1px}
.sp-legend li b{font-weight:700}
.sp-legend s{font-weight:400;color:var(--ink-3);font-size:13px}
.sp-hint{font-size:12.5px;color:var(--ink-3);margin-top:16px}
/* Seat icon: outlined in the group's colour, two pillows at the bottom (VeXeRe style). */
.sic{position:relative;flex:none;width:42px;height:30px;border:1.6px solid var(--c,#9aa3b2);border-radius:5px;background:#fff;display:flex;align-items:flex-end;justify-content:center;gap:3px;padding:0 3px 3px}
.sic i{flex:1;height:6px;border:1.4px solid var(--c,#9aa3b2);border-radius:4px}
.sic.taken{--c:#d5d9e0;background:#eceef2}
.sic.on{--c:#2fae5f;background:#8fe0a6}
.sic b{position:absolute;top:2px;left:50%;transform:translateX(-50%);font-size:13px;line-height:1;font-weight:400;color:#b6bcc7}
.sic svg{position:absolute;top:2px;left:50%;transform:translateX(-50%);width:15px;height:15px}
.decks{--cell:44px;display:flex;gap:16px;justify-content:center;flex-wrap:wrap}
.deck-col{display:flex;flex-direction:column;align-items:center;gap:8px}
.deck-col h5{font-size:16px;font-weight:500;color:var(--ink)}
.deck{background:#f1f2f4;border-radius:22px;padding:14px 14px 18px}
.deck-head{height:30px;display:flex;align-items:center;padding-left:4px;margin-bottom:8px}
.wheel{width:26px;height:26px;fill:none;stroke:#7d8594;stroke-width:1.9;stroke-linecap:round}
.deck-grid{display:grid;gap:12px 8px}
.seat{position:relative;padding:0;display:flex;align-items:center;justify-content:center;background:none;border:0}
.seat .sic{width:var(--cell);height:30px}
.seat:not(.bed) .sic{width:36px;height:34px}
.seat:hover:not(:disabled) .sic{box-shadow:0 0 0 3px color-mix(in srgb,var(--c) 25%,transparent)}
.seat.taken{cursor:not-allowed}
.seat.taken .sic{--c:#d5d9e0;background:#eceef2}
.seat.on .sic{--c:#2fae5f;background:#8fe0a6}
.seat[data-tip]:hover::after,.seat[data-tip]:focus-visible::after{content:attr(data-tip);position:absolute;z-index:5;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);white-space:nowrap;background:#0d2a52;color:#fff;font-size:13px;font-weight:600;padding:6px 10px;border-radius:6px;pointer-events:none}
.seat[data-tip]:hover::before,.seat[data-tip]:focus-visible::before{content:"";position:absolute;z-index:5;bottom:calc(100% + 2px);left:50%;transform:translateX(-50%);border:6px solid transparent;border-top-color:#0d2a52;border-bottom:0;pointer-events:none}
.sp-go{width:100%;height:46px;margin-top:12px}
.sp-go:disabled{background:#c9cdd8;cursor:default;font-weight:600}
.sp-msg{font-size:13px;color:#11834a;margin-top:8px}
.sp-msg:empty{display:none}
.s1-bar{margin-top:0}
/* Rules modal */
.pol{position:fixed;inset:0;z-index:90;background:rgba(10,14,24,.5);display:grid;place-items:center;padding:16px}
.pol[hidden]{display:none}
.pol-box{width:min(640px,100%);max-height:86vh;display:flex;flex-direction:column;background:#fff;border-radius:12px;overflow:hidden}
.pol-head{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid var(--line)}
.pol-head h3{font-size:17px}
.pol-head button{width:36px;height:36px;font-size:26px;line-height:1;color:var(--ink-2)}
.pol-body{overflow:auto;padding:14px 18px 20px;scrollbar-width:none}
.pol-op{font-size:13px;color:var(--ink-3);margin-bottom:10px}
.pol-body section+section{margin-top:16px}
.pol-body h4{font-size:15px;margin-bottom:6px}
.pol-body ul{padding-left:18px;display:flex;flex-direction:column;gap:6px;font-size:14px;color:var(--ink);line-height:1.5;white-space:pre-line}
.pt-cols{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}
.pt-col{min-width:0;border:1px solid var(--line);border-radius:10px;background:#fff}
.pt-top{position:relative;z-index:3;background:#f3f4f6;padding:14px 16px 10px;border-radius:10px 10px 0 0}
.pt-row1{display:flex;align-items:center;gap:12px}
.pt-row1 h4{font-size:16px;white-space:nowrap}
.pt-search{flex:1;display:flex;align-items:center;gap:8px;height:40px;padding:0 14px;background:#fff;border-radius:20px;min-width:0}
.pt-search svg{flex:none;width:18px;height:18px;fill:none;stroke:var(--ink-3);stroke-width:2;stroke-linecap:round}
.pt-search input{flex:1;min-width:0;border:0;outline:0;font:inherit;font-size:14px;background:none}
.pt-search:focus-within{box-shadow:0 0 0 2px rgba(238,0,51,.25)}
.pt-row2{display:flex;justify-content:space-between;align-items:flex-end;gap:10px;margin-top:12px}
.pt-row2 small{display:block;font-size:12.5px;color:var(--ink-2)}
.pt-sort{position:relative}
.pt-sort button{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:700;color:var(--ink);padding:2px 0}
.pt-sort i{font-style:normal;font-size:11px;color:var(--ink-2)}
.pt-menu{position:absolute;z-index:20;top:100%;left:0;margin-top:6px;list-style:none;background:#fff;border-radius:8px;box-shadow:0 8px 24px rgba(21,26,38,.18);padding:6px 0;min-width:150px}
.pt-menu li{padding:9px 16px;font-size:14px;color:var(--ink);cursor:pointer;white-space:nowrap}
.pt-menu li:hover{background:var(--bg)}
.pt-menu li[aria-selected=true]{font-weight:600}
.pt-near{text-align:right}
.pt-near button{font-size:13.5px;font-weight:600;color:var(--brand);text-decoration:underline;text-underline-offset:2px;padding:2px 0}
.pt-ask{display:flex;gap:6px;margin-top:10px}
.pt-ask input{flex:1;min-width:0;height:38px;border:1px solid var(--line);border-radius:8px;padding:0 10px;font:inherit;font-size:13.5px;outline:0;background:#fff}
.pt-ask input:focus{border-color:var(--brand)}
.pt-ask button{height:38px;padding:0 12px;border-radius:8px;font-size:13.5px;font-weight:600;background:var(--brand);color:#fff}
.pt-ask .pt-gps{display:flex;align-items:center;gap:5px;background:#fff;color:var(--brand);border:1px solid var(--line)}
.pt-gps svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.pt-colnote{font-size:12.5px;color:#8a6d2b;background:#fffaf0;padding:8px 16px;border-bottom:1px solid var(--line)}
.pt-list{max-height:420px;overflow:auto;scrollbar-width:none;overscroll-behavior:contain;
  -webkit-mask-image:linear-gradient(180deg,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(180deg,#000 calc(100% - 28px),transparent)}
.pt-list::-webkit-scrollbar{display:none}
.pt-ref{font-size:12.5px;color:var(--brand);background:var(--brand-50);padding:8px 16px}
.pt-ref.warn{color:#b4400f;background:#fff4ec}
.pt{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:start;padding:14px 16px;border-bottom:1px solid var(--line);cursor:pointer;color:var(--ink)}
.pt:last-child{border-bottom:0}
.pt input[type=radio]{appearance:none;-webkit-appearance:none;width:22px;height:22px;margin:0;border:2px solid #2b2f38;border-radius:50%;display:grid;place-items:center;flex:none}
.pt input[type=radio]:checked{border-color:var(--brand)}
.pt input[type=radio]:checked::after{content:"";width:11px;height:11px;border-radius:50%;background:var(--brand)}
.pt-main{min-width:0;display:flex;flex-direction:column;gap:3px}
.pt-time{font-size:15px;font-weight:700}
.pt-time small{font-weight:500;color:var(--ink-3)}
.pt-main b{font-size:15px;font-weight:700;margin-top:4px}
.pt em{font-style:normal;font-size:11px;font-weight:600;color:#9a5b00;background:#fff4dc;padding:1px 6px;border-radius:4px;margin-left:6px;vertical-align:2px}
.pt-main small{font-size:13px;color:var(--ink-3);line-height:1.45}
.pt .pt-note{color:#8a6d2b}
.pt .pt-warn{color:#d43a1a}
.pt-fee{align-self:flex-start;font-size:12px;font-weight:600;color:#c94a12;background:#fff1ea;padding:2px 8px;border-radius:5px;margin-top:2px}
.pt-fee.later{color:#6b5a1f;background:#f7f2df}
.pt-side{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:52px;padding-top:24px}
.pt-map{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:13px;font-weight:600;color:var(--brand)}
.pt-map svg{width:22px;height:22px;fill:var(--brand)}
.pt-side small{font-size:12px;color:var(--ink-2);white-space:nowrap}
.pt:hover{background:#fafbfc}
.pt.on{background:linear-gradient(90deg,#eaf1ff,#FFF7F8 70%)}
.pt.on::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--brand)}
.pt.off{cursor:default;opacity:.55}
.pt-addr{display:block;box-sizing:border-box;width:calc(100% - 66px);margin:0 16px 12px 50px;height:38px;border:1px solid var(--brand);border-radius:8px;padding:0 10px;font:inherit;font-size:13.5px;outline:0}
.sp-none{font-size:13.5px;color:var(--ink-3);padding:16px}
.sp-toggle{display:inline-flex;align-items:center;gap:10px;margin-top:14px;font-size:14px;color:var(--ink);cursor:pointer}
.sp-toggle input{position:absolute;opacity:0;pointer-events:none}
.sp-toggle i{position:relative;width:40px;height:22px;border-radius:11px;background:#c9cdd8;transition:background .15s}
.sp-toggle i::after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;transition:transform .15s}
.sp-toggle input:checked+i{background:#16a05a}
.sp-toggle input:checked+i::after{transform:translateX(18px)}
.sp-toggle input:focus-visible+i{box-shadow:0 0 0 3px rgba(238,0,51,.3)}
.sp-bar{display:flex;align-items:center;gap:16px;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.bar-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;font-size:13px;color:var(--ink-2)}
.bar-info b{color:var(--ink)}
.bar-info .later{color:#6b5a1f}
.bar-total{font-size:15px;color:var(--ink);white-space:nowrap}
.bar-total b{font-size:18px;color:var(--brand)}
.sp-back{height:44px;padding:0 16px;border:1px solid var(--line);border-radius:8px;background:#fff;font-weight:600;color:var(--ink-2)}
.sp-bar .sp-go{width:auto;min-width:150px;height:44px;padding:0 20px;margin-top:0;background:var(--brand)}
.sp-bar .sp-go:hover{background:var(--brand-d)}
.sp-bar .sp-go:disabled{background:#c9cdd8}

/* Photo viewer */
.lb{position:fixed;inset:0;z-index:90;background:rgba(8,11,20,.92);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:56px 16px 16px}
.lb[hidden]{display:none}
.lb figure{max-width:min(1000px,100%);margin:0}
.lb figure img{display:block;max-width:100%;max-height:70vh;border-radius:8px;margin:0 auto}
.lb figcaption{display:flex;justify-content:space-between;gap:12px;color:#d9dce4;font-size:13.5px;margin-top:10px}
.lb-x{position:absolute;top:10px;right:14px;width:40px;height:40px;font-size:30px;line-height:1;color:#fff}
.lb-nav{position:absolute;top:45%;width:46px;height:46px;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:30px;line-height:1}
.lb-nav:hover{background:rgba(255,255,255,.25)}
.lb-nav.prev{left:16px}.lb-nav.next{right:16px}
.lb-ths{display:flex;gap:6px;margin-top:14px;max-width:100%;overflow-x:auto;scrollbar-width:none}
.lb-ths button{flex:none;width:72px;height:46px;border-radius:5px;overflow:hidden;opacity:.5;border:2px solid transparent}
.lb-ths button.on{opacity:1;border-color:#fff}
.lb-ths img{width:100%;height:100%;object-fit:cover}

@media (max-width:1100px){.s1-grid{grid-template-columns:1fr}.sp-legend ul{flex-direction:row;flex-wrap:wrap;gap:12px 20px}}
@media (max-width:760px){
  .op-photo{width:80px;height:56px}
  .gal-th{width:110px;height:70px}
  .decks{--cell:38px;gap:10px}
  .deck{padding:10px 10px 14px;border-radius:16px}
  .deck-grid{gap:10px 6px}
  .seat:not(.bed) .sic{width:32px;height:30px}
  .sp-rule{align-self:stretch;justify-content:space-between;gap:10px}
  .pt-cols{grid-template-columns:1fr}
  .pt-top{padding:12px 12px 10px}
  .pt-row1 h4{font-size:15px}
  .pt-list{max-height:380px}
  .pt{padding:12px;gap:10px}
  .pt-addr{margin-left:44px;width:calc(100% - 60px)}
  .sp-bar{display:grid;grid-template-columns:auto 1fr;gap:10px}
  .bar-info{grid-column:1/-1;grid-row:1}
  .bar-total{grid-column:1/-1;grid-row:2;display:flex;justify-content:space-between;align-items:baseline}
  .sp-bar .sp-back{grid-column:1;grid-row:3}
  .sp-bar .sp-go{grid-column:2;grid-row:3;min-width:0}
  .lb-nav{top:auto;bottom:90px}
}

/* States */
.skel{height:150px;border-radius:10px;margin-bottom:12px;background:linear-gradient(90deg,#eceef3 0,#f6f7fa 40%,#eceef3 80%) 0 0/200% 100%;animation:sk 1.2s linear infinite}
@keyframes sk{to{background-position:-200% 0}}
.empty{background:#fff;border:1px solid var(--line);border-radius:10px;padding:36px 20px;text-align:center}
.empty svg{width:56px;height:56px;margin:0 auto 12px;fill:none;stroke:var(--ink-3);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.empty h3{font-size:17px;margin-bottom:6px}
.empty p{font-size:14px}
.empty button{margin-top:14px;height:40px;padding:0 18px;border-radius:8px;border:1px solid var(--line);font-weight:600;color:var(--brand)}
#more{display:flex;flex-direction:column;align-items:center;text-align:center}
.more button{height:44px;padding:0 24px;border-radius:8px;border:1px solid var(--brand);color:var(--brand);font-weight:600;background:#fff}
.more button:hover{background:var(--brand-50)}
.more button:disabled{opacity:.6;cursor:default}
.more p{font-size:13px;color:var(--ink-3);margin-top:8px}

@media (max-width:1100px){
  .kq-grid{grid-template-columns:260px 1fr}
  .trip-main{grid-template-columns:1fr auto;grid-template-areas:"op buy" "when buy"}
  .op{grid-area:op}.when{grid-area:when}.buy{grid-area:buy}
}
@media (max-width:900px){
  .kq-grid{grid-template-columns:1fr}
  .f-open{display:flex}
  .filters{position:fixed;z-index:60;left:0;right:0;bottom:0;top:auto;max-height:86vh;border-radius:16px 16px 0 0;transform:translateY(105%);transition:transform .25s ease;border:0}
  .filters.open{transform:none}
  .f-close{display:grid}
  .f-apply{display:block;position:sticky;bottom:0;padding:12px 16px;background:#fff;border-top:1px solid var(--line)}
  .f-apply .search-btn{width:100%;height:48px}
  .f-scrim{position:fixed;inset:0;z-index:55;background:rgba(15,20,32,.45)}
  .tiles{grid-template-columns:repeat(4,1fr)}
}
@media (max-width:760px){
  .kq-search{padding:10px 0}
  .booking.compact{border-radius:10px;padding:8px}
  .booking.compact .fields{grid-template-columns:1fr 1fr;grid-template-areas:"f f" "t t" "d d" "q b";gap:6px}
  .booking.compact .field{min-height:48px}
  .booking.compact .quick button{min-height:44px;min-width:0;padding:0 6px;font-size:13px;white-space:nowrap}
  .booking.compact .search-btn{min-width:0;min-height:44px}
  .kq-grid{padding-top:14px}
  .tiles{grid-template-columns:1fr 1fr}
  .trip-main{grid-template-columns:1fr;grid-template-areas:"op" "when" "buy";gap:14px;padding:14px}
  .buy{display:grid;grid-template-columns:1fr auto;align-items:center;text-align:left;min-width:0;column-gap:10px}
  .buy .seats{grid-column:1;grid-row:2;margin-top:0}
  .buy-btn{grid-column:2;grid-row:1/3;margin-top:0}
  .t{font-size:18px}
  .st{max-width:120px}
  .trip-foot{padding:10px 14px}
  .tlinks{margin-left:0;width:100%}
  .detail{padding:12px 14px}
  .pts{grid-template-columns:1fr;gap:14px}
  .pop-chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
  .pchip{white-space:nowrap}
}
.skel-note{font-size:14px;color:var(--ink-3);margin:2px 0 10px}
/* VeXeRe promotion ribbon, service perks, notice strip */
.trip.has-promo{overflow:hidden}
.trip-promo{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-1px -1px 0;padding:7px 16px;font-size:13px;color:#fff}
.trip-promo b{display:flex;align-items:center;gap:6px;text-transform:uppercase;letter-spacing:.02em}
.trip-promo b svg{width:15px;height:15px;stroke:#fff}
.trip-promo span{font-weight:600;background:#fff;border-radius:999px;padding:2px 10px}
.trip-promo time{font-weight:800;font-variant-numeric:tabular-nums}
.trip-promo.lm{background:#ff7a1a}.trip-promo.lm span{color:#e8620c}
.trip-promo.eb{background:#EE0033}.trip-promo.eb span{color:#C4002A}
.op-photo .good{position:absolute;top:6px;left:6px;font-style:normal;font-size:11px;font-weight:700;color:#fff;background:linear-gradient(90deg,#c58a2b,#e8b04b);border-radius:4px;padding:2px 7px}
.perks{display:flex;flex-wrap:wrap;gap:4px 0;padding:0 16px 8px;font-size:12.5px;font-weight:700;color:#169e55;text-transform:uppercase}
.perks span+span::before{content:"";display:inline-block;width:1px;height:12px;background:#cfd5dd;margin:0 10px;vertical-align:-1px}
.bulletin{display:flex;align-items:center;gap:10px;padding:0 16px 10px;font-size:13px;min-width:0}
.bulletin span{flex:none;position:relative;background:#2474e5;color:#fff;font-weight:700;padding:3px 14px 3px 9px;clip-path:polygon(0 0,calc(100% - 8px) 0,100% 50%,calc(100% - 8px) 100%,0 100%)}
.bulletin button{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#2474e5;text-decoration:underline;text-underline-offset:2px;text-align:left}
@media (max-width:640px){.perks{gap:4px 14px}.perks span+span::before{display:none}.trip-promo{padding:7px 12px;font-size:12px}}

/* Trip card v2: light card, photo strip, discount pill, link row + pill button */
.trip{background:#fff;border:1px solid #e7e9ef;border-radius:16px;margin-bottom:14px;box-shadow:0 1px 2px rgba(16,24,40,.04);transition:box-shadow .2s,border-color .2s;overflow:hidden}
.trip:hover{box-shadow:0 6px 20px rgba(16,24,40,.07);border-color:#dfe2ea}
.trip-main{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1.45fr) auto;gap:22px;padding:18px 22px 12px;align-items:start}
.op{display:block;min-width:0}
.op-head{display:flex;align-items:center;gap:8px}
.op-name{font-size:16px;font-weight:700;color:var(--ink);line-height:1.3;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.op-type{font-size:13px;color:var(--ink-3);margin-top:2px}
.rate{flex:none;display:inline-flex;align-items:center;gap:3px;background:#2474e5;color:#fff;font:inherit;font-size:12.5px;font-weight:700;padding:2px 8px;border:0;border-radius:6px;cursor:pointer;line-height:1.5}
.rate small{font-size:inherit;font-weight:600}
.rate svg{width:12px;height:12px;fill:#fff}
.rate:hover{background:#1a5fd0}
.rate.mid{background:#e09a12}
.thumbs{display:flex;gap:6px;margin-top:12px}
.thumbs:empty{display:none}
.th{position:relative;flex:none;width:84px;height:56px;border-radius:8px;overflow:hidden;background:#eef0f4;padding:0}
.th img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s}
.th:hover img{transform:scale(1.06)}
.th .more{position:absolute;inset:0;display:grid;place-items:center;background:rgba(10,14,24,.55);color:#fff;font-size:13px;font-weight:700}
.th .good{position:absolute;top:4px;left:4px;font-style:normal;font-size:10.5px;font-weight:700;color:#fff;background:linear-gradient(90deg,#c58a2b,#e8b04b);border-radius:4px;padding:1px 6px}
.when{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:start;padding-top:2px}
.t{font-size:19px;font-weight:700;color:var(--ink);line-height:1.15}
.st{font-size:12.5px;color:var(--ink-3);margin-top:4px;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dur{position:relative;text-align:center;font-size:12px;color:var(--ink-3);margin-top:9px}
.dur::before{content:"";position:absolute;left:0;right:0;top:50%;border-top:1px solid #dfe2ea}
.dur span{position:relative;background:#fff;padding:0 8px;border:0}
.buy{text-align:right;min-width:140px;display:flex;flex-direction:column;align-items:flex-end;gap:2px}
.save{display:inline-block;background:#ffe9a8;color:#5c4300;font-size:12px;font-weight:700;padding:3px 10px;border-radius:7px;margin-bottom:6px;white-space:nowrap}
.price-now{font-size:20px;font-weight:800;color:var(--ink);line-height:1.2}
.price-was{font-size:13px;color:var(--ink-3);text-decoration:line-through;margin:0}
.seats{font-size:12.5px;color:var(--ink-3);margin-top:4px}
.seats.low{color:#d43a1a;font-weight:600}
.trip-info{display:flex;flex-direction:column;gap:8px;padding:0 22px 12px}
.perks{display:flex;flex-wrap:wrap;gap:4px 0;padding:0;font-size:12px;font-weight:700;color:#169e55;text-transform:uppercase;letter-spacing:.01em}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.chip{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:500;padding:2px 9px;border-radius:999px;background:#f3f4f7;color:var(--ink-2)}
.chip svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.chip.ok{background:#eaf7f0;color:#11834a}
.chip.deal{background:#fff3ec;color:#c94a12}
.chip.hot{background:#fff0e6;color:#e8620c;font-weight:700}
.bulletin{padding:0}
.trip-foot{display:flex;align-items:center;gap:12px;padding:12px 22px;border-top:1px dashed #e4e6ec}
.tlinks{margin:0;display:flex;align-items:center;gap:0;flex-wrap:wrap;min-width:0}
.tlinks button{font-size:13px;font-weight:600;color:#4f5bd5;padding:4px 14px;border-radius:0;position:relative}
.tlinks button:first-child{padding-left:0}
.tlinks button+button::before{content:"";position:absolute;left:0;top:50%;height:16px;margin-top:-8px;border-left:1px solid #e4e6ec}
.tlinks button:hover,.tlinks button.on{background:none;color:#2f3bb5;text-decoration:underline;text-underline-offset:3px}
.tlinks small{font-weight:500;color:var(--ink-3);margin-left:2px}
.trip-foot .buy-btn{margin:0;flex:none;height:42px;min-width:150px;padding:0 26px;border-radius:7px;font-size:14.5px;border:1px solid var(--accent-d);box-shadow:none}
.trip-foot .buy-btn:disabled{background:#c9cdd8;border-color:#c9cdd8;box-shadow:none}
/* "Ưu đãi giờ chót" tab ribbon with the countdown on a white notch */
.trip.has-promo{border-color:#ffd3b0}
.trip-promo{position:relative;display:flex;align-items:stretch;justify-content:space-between;height:34px;margin:0;padding:0;background:#fff;font-size:13px}
.trip-promo b{display:flex;align-items:center;gap:7px;padding:0 34px 0 18px;color:#fff;text-transform:uppercase;letter-spacing:.03em;font-weight:800;background:linear-gradient(90deg,#ff7a12,#ff8f2e);border-radius:0 0 26px 0;flex:1 1 auto;max-width:68%}
.trip-promo b svg{width:15px;height:15px;stroke:#fff;fill:none}
.trip-promo span{display:flex;align-items:center;gap:5px;padding:0 20px;background:none;border-radius:0;font-weight:600;white-space:nowrap}
.trip-promo time{font-weight:800;font-variant-numeric:tabular-nums}
.trip-promo.lm span{color:#f06a0f}
.trip-promo.eb b{background:linear-gradient(90deg,#1a6fe0,#3d8bf0)}
.trip-promo.eb span{color:#C4002A}
.trip.has-promo.eb-card{border-color:#cfe0fb}
@media (max-width:900px){
  .trip-main{grid-template-columns:1fr auto;grid-template-areas:"op buy" "when when";gap:14px}
  .op{grid-area:op}.when{grid-area:when}.buy{grid-area:buy;display:flex;text-align:right}
}
@media (max-width:640px){
  .trip{border-radius:14px}
  .trip-main{padding:14px 14px 10px}
  .trip-info{padding:0 14px 10px}
  .trip-foot{padding:10px 14px;flex-wrap:wrap}
  .tlinks{width:100%}
  .tlinks button{padding:4px 10px;font-size:12.5px}
  .trip-foot .buy-btn{width:100%}
  .th{width:72px;height:50px}
  .trip-promo b{padding:0 22px 0 12px;font-size:12px;max-width:58%}
  .trip-promo span{padding:0 12px;font-size:12px}
  .buy{min-width:0}
  .perks{gap:4px 14px}.perks span+span::before{display:none}
}
.trip-promo.lm,.trip-promo.eb{background:#fff}
/* Pick block: coral button + seats left under it */
.trip-foot .pick{margin-left:auto;display:flex;flex-direction:column;align-items:center;gap:5px;flex:none}
.pick .left{display:inline-flex;align-items:center;gap:4px;font-size:12.5px;font-weight:600;color:#d63c35}
.pick .left svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
.pick .left:not(.low){color:var(--ink-2)}
.tlinks button{color:#EE0033}
.tlinks button:hover,.tlinks button.on{color:#1559c0}
/* Trip detail panel (6 tabs) */
.detail:has(.dt){padding:0}
.dt-tabs{display:flex;align-items:center;gap:4px;padding:0 10px 0 18px;border-bottom:1px solid #e7e9ef;overflow-x:auto;scrollbar-width:none}
.dt-tabs::-webkit-scrollbar{display:none}
.dt-tabs [data-dt]{flex:none;padding:13px 12px 11px;font-size:14px;font-weight:600;color:var(--ink-2);border-bottom:2px solid transparent;border-radius:0}
.dt-tabs [data-dt]:hover{color:#EE0033;background:none}
.dt-tabs [data-dt].on{color:#EE0033;border-bottom-color:#EE0033}
.dt-x{margin-left:auto;flex:none;width:34px;height:34px;display:grid;place-items:center;border-radius:50%}
.dt-x svg{width:24px;height:24px;fill:none;stroke:#EE0033;stroke-width:1.8;stroke-linecap:round}
.dt-x:hover{background:#fdecea}
.dt-body{padding:16px 18px 18px;font-size:14px;color:var(--ink)}
.dt-wait,.dt-empty{padding:22px 0;text-align:center;color:var(--ink-3);font-size:13.5px}
.dt-wait .spin{display:inline-block;width:14px;height:14px;margin-right:8px;vertical-align:-2px;border:2px solid #d6dae3;border-top-color:#EE0033;border-radius:50%;animation:dtspin .8s linear infinite}
@keyframes dtspin{to{transform:rotate(360deg)}}
/* Giảm giá */
.dt .dt-coupons{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}
.dt .cp{display:flex;border:1px solid #e3e6ee;border-radius:10px;overflow:hidden;background:#fff}
.dt .cp-l{flex:none;width:96px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:10px 6px;background:#EE0033;color:#fff;text-align:center;font-size:12px;position:relative}
.dt .cp-l.eb{background:#0e8a5f}
.dt .cp-l::after{content:"";position:absolute;right:-6px;top:0;bottom:0;width:12px;background:radial-gradient(circle at 6px 8px,#fff 4px,transparent 4.5px) 0 0/12px 16px repeat-y}
.dt .cp-l svg{width:24px;height:24px;fill:#ffd84d}
.dt .cp-r{flex:1;min-width:0;padding:10px 14px}
.dt .cp-r h5{font-size:15px;font-weight:700}
.dt .cp-r h5 s{font-size:12.5px;font-weight:500;color:var(--ink-3);margin-left:4px}
.dt .cp-r p{font-size:12.5px;color:var(--ink-3);margin-top:2px}
.dt .cp-bar{display:block;height:4px;border-radius:4px;background:#ffd84d;margin:8px 0 6px}
.dt .cp-end{font-size:12.5px;color:var(--ink-2)}
/* Đón/trả */
.dt-note{background:#f4f6fa;border-radius:8px;padding:10px 14px;margin-bottom:14px}
.dt-note h5{font-size:14px;font-weight:700;margin-bottom:2px}
.dt-note p{font-size:13px;color:var(--ink-2);line-height:1.5}
.dt-pts{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.dt-pts h4{font-size:14.5px;font-weight:700;margin-bottom:6px}
.dt-pts ol{list-style:none;max-height:320px;overflow:auto}
.dt-pts li{display:grid;grid-template-columns:44px 12px 1fr;gap:4px;padding:7px 0;font-size:13.5px;align-items:start}
.dt-pts time{font-weight:700}
.dt-pts li>span{color:var(--ink-3)}
.dt-pts b{font-weight:500}
.dt-pts small{display:block;color:var(--ink-3);font-size:12px}
.dt-pts .door{display:inline-block;font-style:normal;font-size:11px;font-weight:700;color:#fff;background:#16a05a;border-radius:4px;padding:1px 6px;margin-right:6px;vertical-align:1px}
/* Đánh giá */
.dt-rhead{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:12px;border-bottom:1px solid #eef0f4}
.dt-rhead h5{font-size:15px;font-weight:700}
.dt-rhead p{font-size:13px;color:var(--ink-3)}
.dt-score{display:inline-flex;align-items:center;gap:5px;background:#EE0033;color:#fff;font-size:22px;font-weight:800;padding:4px 12px;border-radius:8px}
.dt-score svg{width:18px;height:18px;fill:#ffd84d}
.dt-reviews{list-style:none}
.dt-reviews li{padding:14px 0;border-bottom:1px solid #eef0f4}
.dt-reviews li:last-child{border-bottom:0}
.rv-top{display:flex;gap:10px;align-items:flex-start}
.rv-ava{flex:none;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:13px;font-weight:700}
.rv-top b{display:block;font-size:14px}
.rv-ok{display:block;font-size:12.5px;color:#16a05a;margin:1px 0 2px}
.dt-stars{display:inline-flex;gap:1px}
.dt-stars i svg{width:14px;height:14px;fill:#dfe2ea}
.dt-stars i.on svg{fill:#ffb400}
.dt-reviews p{margin:8px 0 0 48px;font-size:14px;line-height:1.55;white-space:pre-line}
.dt-reviews blockquote{margin:8px 0 0 48px;padding:8px 12px;background:#f4f6fa;border-radius:8px;font-size:13px;color:var(--ink-2)}
.rv-meta{display:flex;flex-wrap:wrap;gap:4px 16px;margin:8px 0 0 48px;font-size:12.5px;color:var(--ink-3)}
.dt-big{display:inline-flex;align-items:center;gap:6px;color:var(--ink);font-size:22px;font-weight:700}
.dt-big svg{width:22px;height:22px;fill:#ffc107}
.rv-crit{display:grid;grid-template-columns:repeat(4,1fr);gap:10px 22px;padding:14px 0;border-bottom:1px solid #eef0f4}
.rv-bar{display:grid;grid-template-columns:1fr auto;gap:5px 8px;font-size:13px;color:var(--ink-2)}
.rv-bar b{font-weight:700;color:var(--ink)}
.rv-bar i{grid-column:1/-1;height:6px;border-radius:3px;background:#eef0f4;overflow:hidden}
.rv-bar em{display:block;height:100%;background:#27ae60;border-radius:3px}
.rv-filter{display:flex;gap:8px;padding:12px 0;border-bottom:1px solid #eef0f4}
.rv-all,.rv-sel{height:36px;padding:0 14px;border:1px solid #dfe2ea;border-radius:8px;background:#fff;font:inherit;font-size:13.5px;color:var(--ink-2);cursor:pointer}
.rv-all.on,.rv-sel.on{border-color:var(--brand);color:var(--brand);background:var(--brand-50);font-weight:600}
.rv-pick{position:relative}
.rv-sel{display:flex;align-items:center;gap:8px}
.rv-sel span{display:inline-flex;align-items:center;gap:3px}
.rv-sel small{font-size:12.5px;color:inherit;opacity:.8}
.rv-st{display:inline-flex;font-style:normal}.rv-st svg{width:13px;height:13px;fill:#ffb400}
.rv-menu{position:absolute;z-index:5;top:40px;left:0;min-width:130px;background:#fff;border:1px solid #eef0f4;border-radius:10px;box-shadow:0 8px 24px rgba(20,30,60,.14);padding:6px}
.rv-menu button{display:flex;align-items:center;gap:4px;width:100%;padding:8px 10px;border:0;background:none;border-radius:6px;font:inherit;font-size:13.5px;text-align:left;cursor:pointer}
.rv-menu button:hover,.rv-menu button[aria-checked="true"]{background:var(--brand-50);color:var(--brand)}
.rv-imgs{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 0 48px}
.rv-imgs img{width:72px;height:72px;object-fit:cover;border-radius:8px}
.rv-reply{margin:10px 0 0 48px;padding:10px 12px;background:#f6f7fa;border-left:3px solid var(--brand);border-radius:0 8px 8px 0}
.rv-reply b{font-size:13px}
.dt-reviews .rv-reply p{margin:4px 0 0;font-size:13.5px;color:var(--ink-2)}
.rv-pager{display:flex;justify-content:center;align-items:center;gap:4px;padding:14px 0 4px}
.rv-pager button{min-width:34px;height:34px;padding:0 6px;border:1px solid #dfe2ea;border-radius:8px;background:#fff;font:inherit;font-size:13.5px;cursor:pointer}
.rv-pager button.on{background:var(--brand);border-color:var(--brand);color:#fff;font-weight:700}
.rv-pager button:disabled{opacity:.4;cursor:default}
.rv-pager span{color:var(--ink-3);padding:0 2px}
.rv-foot{padding-top:12px;border-top:1px solid #eef0f4;text-align:center}
.rv-report{display:inline-flex;align-items:center;gap:6px;border:0;background:none;font:inherit;font-size:13.5px;color:var(--brand);font-weight:600;cursor:pointer}
.rv-report svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.rv-report:hover{text-decoration:underline}
body.rp-lock{overflow:hidden}
.rp-wrap{position:fixed;inset:0;z-index:1000;background:rgba(15,20,35,.5);display:grid;place-items:center;padding:16px}
.rp{position:relative;width:100%;max-width:480px;max-height:calc(100vh - 32px);overflow:auto;background:#fff;border-radius:14px;padding:22px 22px 18px;box-shadow:0 20px 60px rgba(0,0,0,.25)}
.rp h3{font-size:18px;font-weight:800;text-align:center;margin-bottom:12px}
.rp-x{position:absolute;top:10px;right:12px;width:32px;height:32px;border:0;background:none;font-size:24px;line-height:1;color:var(--ink-3);cursor:pointer;border-radius:50%}
.rp-x:hover{background:#f2f3f6}
.rp-q{font-size:14px;font-weight:600;margin:12px 0 8px}
.rp-types{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.rp-types button{height:40px;border:1px solid #dfe2ea;border-radius:8px;background:#fff;font:inherit;font-size:14px;cursor:pointer}
.rp-types button.on{border-color:var(--brand);background:var(--brand-50);color:var(--brand);font-weight:600}
.rp-fields{display:grid;gap:8px}
.rp-fields label{display:flex;align-items:center;gap:9px;font-size:14px;cursor:pointer}
.rp-fields input{width:17px;height:17px;accent-color:var(--brand)}
.rp textarea,.rp input[type=tel]{width:100%;margin-top:12px;padding:10px 12px;border:1px solid #dfe2ea;border-radius:8px;font:inherit;font-size:14px;resize:vertical}
.rp textarea:focus,.rp input[type=tel]:focus{outline:0;border-color:var(--brand)}
.rp-tip{display:flex;gap:8px;margin-top:10px;padding:10px 12px;background:#fff8e6;border-radius:8px;font-size:12.5px;line-height:1.5;color:#7a5a00}
.rp-tip svg{flex:none;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.rp-msg{min-height:18px;margin-top:8px;font-size:13px;color:#d92d20}
.rp-go{width:100%;height:44px;margin-top:6px;border:0;border-radius:8px;background:var(--brand);color:#fff;font:inherit;font-size:15px;font-weight:700;cursor:pointer}
.rp-go:hover{background:var(--brand-d)}.rp-go:disabled{opacity:.6;cursor:default}
.rp-done{text-align:center;padding:10px 0 0}
.rp-done svg{width:52px;height:52px;fill:none;stroke:#16a05a;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;margin:0 auto 8px}
.rp-done p{font-size:14px;color:var(--ink-2);margin-bottom:14px}
.rv-ok svg{display:inline-block;width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.2;vertical-align:-2px;margin-right:3px}
/* Chính sách */
.dt-sub{display:flex;gap:8px;margin-bottom:14px}
.dt-sub button{padding:6px 16px;border-radius:999px;border:1px solid #d6dae3;font-size:13.5px;font-weight:600;color:var(--ink-2)}
.dt-sub button.on{border-color:#EE0033;color:#EE0033;background:#eef4fe}
.dt .cc{max-width:560px}
.dt .cc-head{display:flex;justify-content:space-between;font-size:13px;font-weight:700;color:var(--ink-3);padding-bottom:6px}
.dt .cc ol{list-style:none;position:relative;padding-left:20px}
.dt .cc ol::before{content:"";position:absolute;left:5px;top:12px;bottom:12px;border-left:2px solid #dfe2ea}
.dt .cc li{position:relative;display:flex;justify-content:space-between;gap:12px;padding:9px 0;font-size:13.5px}
.dt .cc li::before{content:"";position:absolute;left:-19px;top:13px;width:10px;height:10px;border-radius:50%;background:#fff;border:2px solid #b8bfcc}
.dt .cc li b{font-weight:700}
.dt .cc li.past{color:#a5acba}
.dt .cc li.past::before{border-color:#dfe2ea}
.dt .cc li.cc-now{color:#EE0033;font-weight:700}
.dt .cc li.cc-now::before{background:#EE0033;border-color:#EE0033;box-shadow:0 0 0 4px rgba(229,83,75,.18)}
.dt .cc li.cc-dep::before{background:#EE0033;border-color:#EE0033}
.dt .cc li.cc-dep{color:var(--ink-2)}
.dt .cc-note{margin-top:10px;font-size:13px;color:var(--ink-3);white-space:pre-line;line-height:1.5}
.dt .ot{padding:10px 0;border-bottom:1px solid #eef0f4}
.dt .ot:last-child{border-bottom:0}
.dt .ot h5{font-size:14px;font-weight:700;margin-bottom:4px}
.dt .ot p,.dt .ot li{font-size:13.5px;line-height:1.55;white-space:pre-line;color:var(--ink-2)}
.dt .ot ul{padding-left:18px}
.dt .ot li+li{margin-top:6px}
/* Hình ảnh */
.dt-gal{position:relative;display:flex;align-items:center;justify-content:center;background:#f1f3f7;border-radius:10px;overflow:hidden}
.dt-gal figure{margin:0;width:100%;aspect-ratio:5/3;max-height:420px}
.dt-gal img{width:100%;height:100%;object-fit:contain;display:block;cursor:zoom-in}
.dt .g-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:1;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.92);box-shadow:0 2px 8px rgba(0,0,0,.15);font-size:24px;line-height:1;color:var(--ink)}
.dt .g-nav[data-g="-1"]{left:10px}.dt .g-nav[data-g="1"]{right:10px}
.dt .g-cap{display:flex;justify-content:space-between;gap:10px;font-size:13px;color:var(--ink-3);margin:8px 0}
.dt .g-ths{display:flex;gap:8px;overflow-x:auto;padding:3px 2px 6px}
.dt .g-ths button{flex:none;width:92px;height:60px;border-radius:7px;overflow:hidden;padding:0;outline:2px solid transparent;outline-offset:1px;opacity:.75}
.dt .g-ths button.on{outline-color:#EE0033;opacity:1}
.dt .g-ths img{width:100%;height:100%;object-fit:cover;display:block}
/* Tiện ích */
.dt .am-long{list-style:none;display:grid;gap:10px;margin-bottom:12px}
.dt .am-long li{background:#f4f6fa;border-radius:8px;padding:12px 14px}
.dt .am-long div{display:flex;align-items:center;gap:10px}
.dt .am-long b{font-size:14px}
.dt .am-long p{margin:6px 0 0 34px;font-size:13px;color:var(--ink-2);line-height:1.5;white-space:pre-line}
.dt .am-short{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:8px 20px}
.dt .am-short li{display:flex;align-items:center;gap:10px;font-size:13.5px;padding:6px 0}
.dt .am-long img,.dt .am-short img,.dt .am-long i,.dt .am-short i{flex:none;width:24px;height:24px;object-fit:contain}
@media (max-width:640px){
  .dt-tabs{padding:0 4px 0 8px}
  .dt-tabs [data-dt]{padding:12px 9px 10px;font-size:13.5px}
  .dt-body{padding:14px}
  .dt-pts{grid-template-columns:1fr;gap:16px}
  .dt .am-short{grid-template-columns:1fr}
  .trip-foot .pick{width:100%;margin:4px 0 0}
  .tlinks{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;white-space:nowrap}
  .tlinks button{flex:none}
  .dt-reviews p,.dt-reviews blockquote,.rv-meta,.rv-imgs,.rv-reply{margin-left:0}
  .rv-crit{grid-template-columns:1fr 1fr;gap:10px 16px}
  .dt .g-ths button{width:72px;height:48px}
}
/* Card v3: bolder text, bigger photos, VeXeRe-style promo price */
.op-name{font-size:17px;font-weight:800}
.op-type{font-size:13.5px;color:var(--ink-2);font-weight:500}
.th{width:104px;height:70px;border-radius:9px}
.thumbs{gap:8px}
.t{font-size:22px;font-weight:800;letter-spacing:-.01em}
.t .nd{font-size:13px;font-weight:600;color:var(--ink-3);margin-left:4px;letter-spacing:0}
.st{font-size:13px;font-weight:600;color:var(--ink-2);max-width:170px}
.dur{font-weight:600;color:var(--ink-2)}
.deal-tag{display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:700;color:#f06a0f;white-space:nowrap}
.deal-tag svg{width:15px;height:15px;fill:#f06a0f}
.price-now{font-size:22px;font-weight:800}
.price-now.off{color:#f06a0f}
.price-was{display:flex;align-items:center;gap:6px;text-decoration:none;font-size:13.5px}
.price-was s{color:var(--ink-3)}
.price-was em{font-style:normal;font-size:12px;font-weight:700;color:#fff;background:#EE0033;border-radius:999px;padding:1px 7px}
.perks{font-size:12.5px;font-weight:800}
.perks span+span::before{content:"";display:inline-block;width:1px;height:12px;background:#b9e3c9;margin:0 10px;vertical-align:-1px}
@media (max-width:640px){
  .th{width:92px;height:62px}
  .t{font-size:20px}
  .price-now{font-size:20px}
  .perks{gap:4px 0}.perks span+span::before{display:inline-block;margin:0 8px}
  .when{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px}
  .when .end{text-align:right;min-width:0}
  .st{max-width:none}
  .t .nd{display:block;margin:0}
}
/* Seats left: VeXeRe-style seat glyph, red, centred under the button */
.pick .left,.pick .left:not(.low){gap:3px;font-size:12px;font-weight:500;color:#d63c35;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pick .left svg{width:16px;height:16px;fill:currentColor;stroke:none;margin-bottom:2px}
/* Result total + popular criteria cards */
.r-count{font-size:22px;font-weight:700;color:var(--ink);margin:14px 2px 10px}
.r-count b{color:var(--ink-2);font-weight:700}
.r-count .r-of{font-size:14px;font-weight:500;color:var(--ink-3)}
.r-count .r-load{font-size:13px;font-weight:500}
.crit-wrap{display:flex;align-items:center;gap:14px;margin-bottom:12px}
.crit-wrap h3{flex:none;width:92px;font-size:14px;font-weight:700;line-height:1.45;color:var(--ink)}
.crit-row{display:flex;gap:10px;overflow-x:auto;padding:3px 2px 8px;min-width:0;scrollbar-width:thin}
.crit{position:relative;flex:none;width:150px;height:84px;display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:12px;color:#fff;text-align:left;overflow:hidden;border:2px solid transparent;box-shadow:0 2px 6px rgba(16,24,40,.08);transition:transform .15s,box-shadow .15s}
.crit:hover{transform:translateY(-1px);box-shadow:0 6px 14px rgba(16,24,40,.14)}
.crit svg{position:absolute;right:-8px;bottom:-10px;width:62px;height:62px;fill:none;stroke:rgba(255,255,255,.35);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.crit span{position:relative;display:flex;flex-direction:column;min-width:0}
.crit small{font-size:12px;font-weight:600;opacity:.95}
.crit b{font-size:17px;font-weight:800;line-height:1.15;text-transform:uppercase;letter-spacing:.01em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.crit.c-pick b,.crit.c-drop b{font-size:14px;text-transform:none;color:#ffe27a}
.crit em{position:absolute;top:6px;right:8px;font-style:normal;font-size:11px;font-weight:700;background:rgba(0,0,0,.22);border-radius:99px;padding:1px 7px}
.crit.on{border-color:#fff;box-shadow:0 0 0 3px #EE0033}
.c-deal{background:linear-gradient(135deg,#ff7a45,#EE0033)}
.c-good{background:linear-gradient(135deg,#b88a2e,#e7b852)}
.c-gps{background:linear-gradient(135deg,#1a6fe0,#45a3ff)}
.c-door{background:linear-gradient(135deg,#0e8a5f,#2fc08a)}
.c-pick{background:linear-gradient(135deg,#334155,#64748b)}
.c-drop{background:linear-gradient(135deg,#5b3cc4,#8b6cf0)}
@media (max-width:640px){
  .r-count{font-size:19px}
  .crit-wrap{flex-direction:column;align-items:stretch;gap:6px}
  .crit-wrap h3{width:auto;text-align:left}
  .crit{width:136px;height:76px}
}
/* Criteria cards: illustrated backgrounds (assets/img/crit), text kept readable on the left */
.crit{background-size:cover;background-position:right center;background-repeat:no-repeat}
.crit::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.38),rgba(0,0,0,.12) 55%,rgba(0,0,0,0) 75%)}
.crit>svg{display:none}
.crit span{max-width:62%;text-shadow:0 1px 3px rgba(0,0,0,.35)}
.c-deal{background-image:url(../img/crit/deal.jpg)}
.c-good{background-image:url(../img/crit/good.jpg)}
.c-gps{background-image:url(../img/crit/gps.jpg)}
.c-door{background-image:url(../img/crit/door.jpg)}
.c-pick{background-image:url(../img/crit/pick.jpg)}
.c-drop{background-image:url(../img/crit/drop.jpg)}
/* Vertical time line (VeXeRe style): ○ depart • point / duration / pin arrive • point / (next day) */
.when.tl{display:block;padding-top:2px;min-width:0}
.tl-row{display:flex;align-items:baseline;gap:8px;min-width:0}
.tl-row .t{flex:none;font-size:22px;font-weight:800;line-height:1.2}
.tl-row .st{flex:1;min-width:0;max-width:none;margin:0;font-size:15px;font-weight:500;color:var(--ink-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tl-dot,.tl-pin{flex:none;position:relative;top:-1px;width:14px;display:flex;justify-content:center}
.tl-dot::before{content:"";width:9px;height:9px;border:2.5px solid #5f6b7a;border-radius:50%}
.tl-pin svg{width:17px;height:17px;fill:#4b5563}
.tl-dur{position:relative;margin:2px 0 2px 22px;padding:6px 0;font-size:13px;font-weight:500;color:var(--ink-3)}
.tl-dur::before{content:"";position:absolute;left:-15px;top:0;bottom:0;border-left:2px dotted #b7bfcb}
.tl-nd{margin:1px 0 0 22px;font-size:13px;font-weight:600;color:var(--ink-3)}
@media (max-width:640px){
  .tl-row .t{font-size:20px}
  .tl-row .st{font-size:14px}
}
/* Criteria row v2: equal cards, five per view, arrows instead of a scrollbar */
.crit-wrap{align-items:center;gap:16px}
.crit-wrap h3{width:96px;font-size:14.5px;font-weight:700;line-height:1.5}
.crit-box{position:relative;flex:1;min-width:0}
.crit-row{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 40px) / 5);gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:3px;margin:-3px}
.crit-row::-webkit-scrollbar{display:none}
.crit{width:auto;height:auto;aspect-ratio:16/9;padding:10px 12px;scroll-snap-align:start}
.crit b{font-size:16px}
.crit.c-pick b,.crit.c-drop b{font-size:13.5px}
.crit em{background:rgba(255,255,255,.92);color:var(--ink);font-size:11px}
.crit-nav{position:absolute;top:50%;z-index:2;width:32px;height:32px;margin-top:-16px;display:grid;place-items:center;border-radius:50%;background:#fff;box-shadow:0 2px 8px rgba(16,24,40,.22)}
.crit-nav[hidden]{display:none}
.crit-nav svg{width:18px;height:18px;fill:none;stroke:var(--ink);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.crit-nav.prev{left:-12px}.crit-nav.next{right:-12px}
@media (max-width:900px){.crit-row{grid-auto-columns:calc((100% - 30px) / 4)}}
@media (max-width:640px){
  .crit-wrap h3{width:auto;text-align:left}
  .crit-row{grid-auto-columns:42%}
  .crit-nav{display:none}
}
/* Card spacing v4: photos stay inside their column, time block gets air */
.trip-main{grid-template-columns:minmax(0,1.1fr) minmax(0,1.3fr) auto;gap:28px;align-items:start}
.thumbs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-width:330px}
.thumbs .th{width:auto;height:auto;aspect-ratio:3/2}
.when.tl{padding:4px 0 0 4px}
.tl-row{gap:10px}
.tl-dur{margin:4px 0 4px 24px;padding:10px 0}
.tl-dur::before{left:-17px}
.tl-nd{margin-left:24px}
.crit-nav.prev{left:-16px}.crit-nav.next{right:-16px}
@media (max-width:900px){.trip-main{grid-template-columns:minmax(0,1fr) auto;gap:14px 16px}}
@media (max-width:640px){.thumbs{max-width:none}.when.tl{padding:6px 0 0}}
/* Next-day arrival badge */
.tl-nd{display:flex;align-items:center;gap:6px;margin-top:4px;font-size:12.5px;font-weight:600;color:var(--ink-3)}
.tl-nd span{background:#6b7280;color:#fff;font-size:11.5px;font-weight:700;border-radius:6px;padding:2px 8px}
.tiles .tile:last-child:nth-child(odd){grid-column:1/-1}

/* Filter accordion */
.f-sec{padding:0 16px}
.f-sec h3{margin:0}
.f-tog{display:flex;align-items:center;gap:8px;width:100%;padding:15px 0;font:inherit;font-size:15px;font-weight:700;color:var(--ink);text-align:left}
.f-tog span{margin-right:auto}
.f-badge{order:0;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--accent);color:#fff;font-size:11.5px;font-weight:700;display:grid;place-items:center;margin-right:auto;margin-left:-2px}
.f-badge[hidden]{display:none}
.f-tog:has(.f-badge:not([hidden])) span{margin-right:0}
.f-chev{flex:none;width:20px;height:20px;fill:none;stroke:#6b7280;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.f-sec:not(.shut) .f-chev{transform:rotate(180deg)}
.f-body{padding-bottom:16px}
.f-sec.shut .f-body{display:none}
.f-scroll{max-height:236px;overflow-y:auto;padding-right:4px;overscroll-behavior:contain}
.f-scroll::-webkit-scrollbar{width:6px}
.f-scroll::-webkit-scrollbar-thumb{background:#c4c8d0;border-radius:3px}

/* Sidebar v5 (VeXeRe layout): checkbox lists, area tree, time range, rating tiles, seat stepper */
.f-head h2{font-size:18px}
.f-tog{font-size:15.5px}
.chk{align-items:center;padding:7px 0;font-size:14px}
.chk input{width:18px;height:18px;margin:0}
.chk em{font-style:normal;color:var(--ink-2)}
.chk.off{opacity:.5}
.chk .rt{flex:none;font-style:normal;font-size:13px;font-weight:600;color:var(--ink);display:flex;align-items:center;gap:2px}
.chk .rt svg,.rtile svg{width:14px;height:14px;fill:#f5b301;stroke:none}
.chk .rt.none{color:var(--ink-3)}.chk .rt.none svg{fill:#d0d4db}
.f-scroll{max-height:250px}
.tr-head{display:flex;align-items:center;gap:4px}
.tr-head .chk{flex:1;min-width:0}
.tr-x{flex:none;width:18px;height:28px;display:grid;place-items:center}
.tr-x::before{content:"";border-left:5px solid #4b5563;border-top:4px solid transparent;border-bottom:4px solid transparent;transition:transform .15s}
.tr.open .tr-x::before{transform:rotate(90deg)}
.tr-kids{display:none;padding-left:44px}
.tr.open .tr-kids{display:block}
.tr-kids .chk{font-size:13.5px;padding:5px 0}
.tbox{display:flex;align-items:center;gap:10px;margin-top:12px}
.tbox div{flex:1;border:1px solid var(--line);border-radius:10px;padding:7px 12px}
.tbox small{display:block;font-size:12px;color:var(--ink-3)}
.tbox b{font-size:15px;font-weight:700}
.tbox i{width:8px;border-top:1.5px solid #c4c8d0}
.rates{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.rtile{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:3px;padding:10px 4px;border:1px solid var(--line);border-radius:8px;font-size:14px;font-weight:600;color:var(--ink)}
.rtile small{flex-basis:100%;text-align:center;font-size:12px;font-weight:500;color:var(--ink-3)}
.rtile.on{border-color:var(--brand);background:var(--brand-50);color:var(--brand)}
.rtile:disabled{opacity:.45;cursor:default}
.crits .chk{align-items:flex-start;padding:8px 0}
.crits .chk input{margin-top:1px}
.crits .chk b{font-weight:500}
.crits .chk small{margin-top:2px;font-size:12.5px;line-height:1.4}
.ci{display:inline-flex;vertical-align:-3px;margin:0 2px 0 4px}
.ci svg{width:16px;height:16px;fill:none;stroke:var(--brand);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.stepper{display:flex;align-items:center;gap:12px;font-size:14px}
.stepper span{margin-right:auto;color:var(--ink-2)}
.stepper button{width:30px;height:30px;border:1px solid var(--line);border-radius:50%;font-size:18px;line-height:1;color:var(--brand)}
.stepper b{min-width:18px;text-align:center;font-size:15px}

/* Side column: "Sắp xếp" card above the "Lọc" card (VeXeRe layout) */
.side{position:sticky;top:80px;display:flex;flex-direction:column;gap:16px;max-height:calc(100vh - 96px)}
.side .filters{position:static;max-height:none;min-height:0;flex:1 1 auto}
.sortcard{flex:none;background:#fff;border:1px solid var(--line);border-radius:10px;padding:14px 16px 8px}
.sortcard h2,.f-head h2{font-size:18px;font-weight:700;color:var(--ink)}
.sortcard h2{margin-bottom:6px}
.rad{display:flex;align-items:center;gap:10px;padding:7px 0;font-size:14.5px;color:var(--ink);cursor:pointer}
.rad input{width:20px;height:20px;margin:0;accent-color:var(--brand)}
.f-head{border-bottom:0;padding-bottom:4px}
.f-clear{color:var(--brand);text-decoration:underline;text-underline-offset:3px}
.f-clear:disabled{color:var(--brand);opacity:1}
.sortbar{display:none}
@media (max-width:900px){
  .side{position:static;display:contents}
  .sortcard{display:none}
  .sortbar{display:flex}
  .side .filters{position:fixed;max-height:86vh}
}

/* ---- Smooth filters v6 ---- */
/* Accordion: height animates (grid 0fr -> 1fr) */
.f-body{display:grid;grid-template-rows:1fr;opacity:1;padding-bottom:0;transition:grid-template-rows .3s cubic-bezier(.4,0,.2,1),opacity .25s ease,visibility 0s}
.f-sec.shut .f-body{display:grid;grid-template-rows:0fr;opacity:0;visibility:hidden;transition:grid-template-rows .3s cubic-bezier(.4,0,.2,1),opacity .2s ease,visibility 0s .3s}
.f-in{min-height:0;overflow:hidden}
.f-in::after{content:"";display:block;height:16px}
.f-tog{transition:color .15s}
.f-tog:hover{color:var(--brand)}
.f-tog:hover .f-chev{stroke:var(--brand)}
.f-chev{transition:transform .3s cubic-bezier(.4,0,.2,1),stroke .15s}
.f-badge:not([hidden]){animation:hbPop .28s cubic-bezier(.3,1.6,.6,1)}
@keyframes hbPop{from{transform:scale(.4);opacity:0}to{transform:none;opacity:1}}

/* Rows: soft hover, custom check boxes and radios */
.chk,.rad{margin:0 -8px;padding-left:8px;padding-right:8px;border-radius:8px;transition:background .15s}
.chk:hover,.rad:hover{background:#f4f6fb}
.chk.off:hover{background:none}
.tr-head .chk{margin-left:0;padding-left:4px}
.chk input[type=checkbox],.rad input[type=radio]{-webkit-appearance:none;appearance:none;flex:none;display:grid;place-items:center;margin:0;background:#fff;border:1.6px solid #a3aab6;cursor:pointer;transition:background .18s,border-color .18s,box-shadow .18s}
.chk input[type=checkbox]{width:18px;height:18px;border-radius:5px}
.chk input[type=checkbox]::after{content:"";width:5px;height:9px;margin-top:-2px;border:solid #fff;border-width:0 2.2px 2.2px 0;transform:rotate(45deg) scale(0);transition:transform .2s cubic-bezier(.3,1.6,.6,1)}
.chk input[type=checkbox]:checked,.chk input[type=checkbox]:indeterminate{background:var(--brand);border-color:var(--brand)}
.chk input[type=checkbox]:checked::after{transform:rotate(45deg) scale(1)}
.chk input[type=checkbox]:indeterminate::after{width:8px;height:0;margin:0;border-width:0 0 2.2px 0;transform:none}
.rad input[type=radio]{width:20px;height:20px;border-radius:50%}
.rad input[type=radio]::after{content:"";width:10px;height:10px;border-radius:50%;background:var(--brand);transform:scale(0);transition:transform .2s cubic-bezier(.3,1.6,.6,1)}
.rad input[type=radio]:checked{border-color:var(--brand)}
.rad input[type=radio]:checked::after{transform:scale(1)}
.chk:hover input[type=checkbox]:not(:checked),.rad:hover input[type=radio]:not(:checked){border-color:var(--brand)}
.chk input:focus-visible,.rad input:focus-visible{box-shadow:0 0 0 3px rgba(238,0,51,.22)}
.chk input:active,.rad input:active{transform:scale(.9)}

/* Area tree: points slide open */
.tr-kids{display:grid!important;grid-template-rows:0fr;transition:grid-template-rows .25s cubic-bezier(.4,0,.2,1)}
.tr.open .tr-kids{grid-template-rows:1fr}
.tr-kids>div{min-height:0;overflow:hidden}
.tr-x{border-radius:6px;transition:background .15s}
.tr-x:hover{background:#eef1f7}
.tr-x::before{transition:transform .25s cubic-bezier(.4,0,.2,1)}

/* Sliders: bigger, lifted thumbs */
.price-track input::-webkit-slider-thumb{width:22px;height:22px;box-shadow:0 1px 4px rgba(16,24,40,.25);transition:transform .15s,box-shadow .15s}
.price-track input::-webkit-slider-thumb:hover{transform:scale(1.12);box-shadow:0 0 0 6px rgba(238,0,51,.14),0 1px 4px rgba(16,24,40,.25)}
.price-track input:active::-webkit-slider-thumb{transform:scale(1.18);cursor:grabbing;box-shadow:0 0 0 8px rgba(238,0,51,.18),0 1px 4px rgba(16,24,40,.25)}
.price-track input::-moz-range-thumb{box-shadow:0 1px 4px rgba(16,24,40,.25)}
.tbox b,.price-val span{font-variant-numeric:tabular-nums}

/* Rating tiles, stepper */
.rtile{transition:border-color .15s,background .15s,color .15s,transform .12s}
.rtile:not(:disabled):hover{border-color:var(--brand)}
.rtile:not(:disabled):active,.stepper button:active{transform:scale(.94)}
.stepper button{transition:background .15s,border-color .15s,transform .12s}
.stepper button:hover{background:var(--brand-50);border-color:var(--brand)}

/* Results: list fades in after a filter change, count gives a small nudge */
#list.list-in .trip{animation:hbIn .34s cubic-bezier(.2,.7,.3,1) both}
#list.list-in .trip:nth-child(2){animation-delay:.04s}
#list.list-in .trip:nth-child(3){animation-delay:.08s}
#list.list-in .trip:nth-child(4){animation-delay:.12s}
#list.list-in .trip:nth-child(n+5){animation-delay:.16s}
@keyframes hbIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
#r-count.bump b{display:inline-block;animation:hbBump .35s ease}
@keyframes hbBump{40%{transform:scale(1.08);color:var(--brand)}}
.achip{animation:hbPop .22s ease}
.f-scroll{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){.f-body,.tr-kids,#list.list-in .trip,.f-badge,.achip{transition:none!important;animation:none!important}}
/* Rows keep their hover pad inside the box: no sideways clipping or scrollbar */
.chk,.rad{margin:0;padding-left:6px;padding-right:6px}
.f-scroll{overflow-x:hidden}
.tr-kids{padding-left:38px}

/* ---- Results header v2: white search band glued under the menu, both stay on screen while scrolling ---- */
.kq-search{background:#fff;padding:10px 0 12px;border-bottom:1px solid var(--line)}
.kq-search .booking.compact{background:transparent;padding:0;border-radius:0;box-shadow:none}
.kq-search .booking.compact .fields{gap:0;background:#f4f5f8;border-radius:12px;padding:0;overflow:visible}
.kq-search .booking.compact .field{background:transparent;border:0;border-radius:0;box-shadow:none}
.kq-search .booking.compact .field + .field,.kq-search .booking.compact .date{border-left:1px solid #e3e6ec}
.kq-search .booking.compact .field:hover{background:#eceff4}
.kq-search .booking.compact .field.open,.kq-search .booking.compact .field:focus-within{background:#fff;box-shadow:inset 0 0 0 1.5px var(--brand);border-radius:12px}
.kq-search .booking.compact .quick{gap:0}
.kq-search .booking.compact .quick button{background:transparent;border:0;border-left:1px solid #e3e6ec;border-radius:0;min-width:96px}
.kq-search .booking.compact .quick button:hover{background:#eceff4}
.kq-search .booking.compact .quick button.on{background:var(--brand-50)}
.kq-search .booking.compact .search-btn{border-radius:0 12px 12px 0;min-width:150px}
@media (min-width:901px){
  .topbar{border-bottom:0}
  .kq-search{position:sticky;top:64px;z-index:39;transition:box-shadow .2s}
  .kq-search.stuck{box-shadow:0 6px 18px -10px rgba(16,24,40,.25)}
  .side,.filters{top:calc(64px + var(--kq-h, 82px) + 14px);max-height:calc(100vh - 64px - var(--kq-h, 82px) - 28px)}
}
@media (max-width:900px){
  .kq-search .booking.compact .fields{background:transparent;gap:6px}
  .kq-search .booking.compact .field,.kq-search .booking.compact .quick button{background:#f4f5f8;border:0;border-radius:10px}
  .kq-search .booking.compact .search-btn{border-radius:10px}
}

/* Review item, VeXeRe-like: name + green "Đã đi" on one line, stars below, body flush left. */
.rv-top{align-items:center}
.rv-ava{width:42px;height:42px;font-size:15px}
.rv-top b{display:inline;font-size:15px;font-weight:600;vertical-align:middle}
.rv-ok{display:inline-flex;align-items:center;gap:4px;margin:0 0 0 8px;font-size:12.5px;color:#16a05a;vertical-align:middle}
.rv-ok svg{display:block;width:16px;height:16px;margin:0;stroke-width:2.4}
.rv-ok svg circle{fill:#16a05a;stroke:none}
.rv-ok svg path{stroke:#fff;fill:none}
.rv-top .dt-stars{display:flex;margin-top:3px}
.dt-reviews p,.rv-imgs{margin-left:0}
.rv-meta{display:grid;grid-template-columns:1fr 1fr;gap:4px 16px;margin-left:0;color:#9aa0ab}
.rv-reply{margin-left:0;background:#f4f4f5;border-left:0;border-radius:6px;padding:12px 14px}
.rv-reply b{font-size:14px;font-weight:700}
.dt-reviews .rv-reply p{margin-top:8px;font-size:14px;color:var(--ink)}
@media (max-width:640px){.rv-meta{grid-template-columns:1fr}}
/* Pager + report link, flat like the reference: plain numbers, outlined current page. */
.rv-pager{gap:2px;padding:16px 0 6px}
.rv-pager button{min-width:26px;height:26px;padding:0 5px;border:1px solid transparent;border-radius:4px;background:none;font-size:14px;color:var(--ink-2)}
.rv-pager button:hover:not(:disabled){color:var(--brand)}
.rv-pager button.on{background:none;border-color:var(--brand);color:var(--brand);font-weight:500}
.rv-pager button:disabled{opacity:.35}
.rv-foot{border-top:0;padding-top:6px;text-align:left}
.rv-report{font-size:13.5px;font-weight:700;text-decoration:underline}
/* "Chặng thuộc chuyến …": the leg belongs to a longer run. */
.seg-note{margin:0;font-size:13px;color:var(--ink-3)}
.seg-note::before{content:"*";color:#d92d20;margin-right:6px}
/* Search feedback card under "Xem thêm chuyến". */
.fb{position:relative;margin:16px 0 4px;padding:18px 16px 14px;background:#fff;border-radius:12px;box-shadow:0 1px 4px rgba(20,30,60,.08);text-align:center}
.fb h3{font-size:17px;font-weight:700;margin-bottom:12px}
.fb-x{position:absolute;top:8px;right:10px;width:32px;height:32px;border:0;background:none;font-size:24px;line-height:1;color:var(--ink-3);cursor:pointer;border-radius:50%}
.fb-x:hover{background:#f2f3f6}
.fb-faces{display:flex;justify-content:center;gap:18px;flex-wrap:wrap}
.fb-faces button{display:flex;flex-direction:column;align-items:center;gap:6px;border:0;background:none;font:inherit;font-size:12px;color:var(--ink-2);cursor:pointer;min-width:60px}
.fb-faces svg{width:42px;height:42px;fill:none;stroke:#555;stroke-width:1.4;stroke-linecap:round;transition:transform .15s}
.fb-faces svg circle:first-child{fill:#e3e3e3;stroke:none}
.fb-faces button:hover svg{transform:scale(1.1)}.fb-faces button:hover svg circle:first-child{fill:#ffd84d}
.fb-done{font-size:14px;color:#16a05a;font-weight:600;padding:8px 0}
@media (max-width:640px){.fb-faces{gap:6px}.fb-faces button{min-width:54px}}
/* Route SEO block: facts table, introduction, FAQ (server-rendered). */
.seo{display:grid;gap:16px;margin:28px 0 36px}
.seo-card{background:#fff;border-radius:12px;box-shadow:0 1px 4px rgba(20,30,60,.08);padding:20px 22px}
.seo h2{font-size:19px;font-weight:800;margin-bottom:14px}
.seo-tbl{width:100%;border-collapse:collapse;font-size:14.5px}
.seo-tbl th,.seo-tbl td{padding:13px 4px;border-top:1px solid #eef0f4;text-align:left}
.seo-tbl tr:first-child th,.seo-tbl tr:first-child td{border-top:0}
.seo-tbl th{font-weight:400;color:var(--ink-2)}
.seo-tbl td{text-align:right;font-weight:700}
.seo-text h3{font-size:16px;font-weight:700;margin:18px 0 8px}
.seo-text h2+h3{margin-top:0}
.seo-text h4{font-size:14.5px;font-weight:700;margin:12px 0 4px}
.seo-text p,.seo-text li{font-size:14.5px;line-height:1.7;color:var(--ink-2)}
.seo-text ol{padding-left:22px}
.seo-faq{display:grid;grid-template-columns:230px 1fr;gap:20px;align-items:start}
.seo-faq h2{font-size:17px;line-height:1.4}
.faq{border:1px solid #e6e8ee;border-radius:10px;overflow:hidden}
.faq details+details{border-top:1px solid #e6e8ee}
.faq summary{list-style:none;cursor:pointer;padding:14px 44px 14px 16px;font-size:15px;font-weight:600;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";position:absolute;right:18px;top:50%;width:8px;height:8px;border-right:2px solid var(--ink-3);border-bottom:2px solid var(--ink-3);transform:translateY(-70%) rotate(45deg);transition:transform .2s}
.faq details[open] summary::after{transform:translateY(-30%) rotate(-135deg)}
.faq summary:hover{color:var(--brand)}
.faq details p{padding:12px 16px 16px;border-top:1px solid #f0f1f5;font-size:14.5px;line-height:1.65;color:var(--ink-2)}
@media (max-width:760px){.seo-faq{grid-template-columns:1fr;gap:10px}.seo-card{padding:16px 14px}.seo-tbl{font-size:14px}}
.fb+.more{margin-top:14px}
/* SEO block: breadcrumbs, inline links, related routes. */
.seo-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:13px;color:var(--ink-3)}
.seo-crumbs a{color:var(--ink-2)}.seo-crumbs a:hover{color:var(--brand)}
.seo-crumbs b{font-weight:600;color:var(--ink)}
.seo-text a,.faq a{color:#2474e5;font-weight:600}
.seo-text a:hover,.faq a:hover{text-decoration:underline}
.seo-links ul{list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:8px 20px}
.seo-links a{color:#2474e5;font-size:14.5px}
.seo-links a:hover{text-decoration:underline}
.kq-app{margin:0 auto 40px}
/* Detail panel open: its own tab row takes over, so the inline links hide (space kept so "Chọn chỗ" stays put). */

.buy .pick-up{display:none}
@media (min-width:641px){
  /* Detail tab open: footer (links + button) folds away, the button moves under the price like the closed card's right column. */
  .trip:has(.detail.open:not([data-kind="seats"])) .trip-foot{display:none}
  .trip:has(.detail.open:not([data-kind="seats"])) .buy .pick-up{display:flex;flex-direction:column;align-items:center;gap:5px;margin-top:10px}
  .buy .pick-up .buy-btn{margin:0;height:42px;min-width:150px;padding:0 26px;border-radius:7px;font-size:14.5px;border:1px solid var(--accent-d)}
  .buy .pick-up .buy-btn:disabled{background:#c9cdd8;border-color:#c9cdd8}
}
@media (max-width:640px){.trip:has(.detail.open:not([data-kind="seats"])) .tlinks{display:none}}
/* Rules modal: operator note first (kept as written, line breaks included), then the grouped rules; agree button at the bottom. */
.pol-note p{font-size:14px;line-height:1.55;white-space:pre-line;color:var(--ink)}
.pol-note{padding-bottom:14px;border-bottom:1px solid var(--line)}
.pol-foot{padding:12px 18px;border-top:1px solid var(--line)}
.pol-foot .buy-btn{width:100%;margin:0;height:44px;border-radius:8px}
/* Rules modal kept compact: narrow, about 60% of the screen tall, body scrolls (opened only by "Xem chi tiết"). */
.pol-box{width:min(520px,100%);max-height:min(560px,70vh)}
.pol-head{padding:10px 14px}.pol-head h3{font-size:15px}
.pol-body{padding:10px 14px 14px;scrollbar-width:thin}
.pol-body h4{font-size:13.5px}
.pol-body ul,.pol-note p{font-size:13px;line-height:1.5}
.pol-body ul{gap:4px}
.pol-foot{padding:10px 14px}.pol-foot .buy-btn{height:40px;font-size:14px}
/* Late-night departure reminder. */
.nn-wrap{position:fixed;inset:0;z-index:95;background:rgba(10,14,24,.5);display:grid;place-items:center;padding:16px}
.nn{position:relative;width:min(380px,100%);background:#fff;border-radius:14px;overflow:hidden;text-align:center}
.nn-top{background:#ffa53d;height:150px;display:flex;align-items:flex-end;justify-content:center;overflow:hidden}
.nn-top svg{width:190px;height:190px;margin-bottom:-60px}
.nn-x{position:absolute;top:10px;right:10px;width:34px;height:34px;border-radius:50%;background:#fff;font-size:24px;line-height:1;color:#222;box-shadow:0 1px 4px rgba(0,0,0,.2)}
.nn-body{padding:18px 20px 20px}
.nn-body h3{font-size:17px;margin-bottom:6px}
.nn-body p{font-size:14px;color:var(--ink-2);margin-bottom:14px}
.nn-off{display:flex;align-items:center;gap:8px;font-size:14px;margin-bottom:14px;cursor:pointer;text-align:left}
.nn-off input{width:18px;height:18px}
.nn-ok{width:100%;height:44px;border-radius:8px;background:var(--accent);color:#fff;font-weight:700;font-size:15px}
/* Double bed: 1 or 2 guests. */
.bd-wrap{position:fixed;inset:0;z-index:95;background:rgba(10,14,24,.5);display:grid;place-items:center;padding:16px}
.bd{position:relative;width:min(400px,100%);background:#fff;border-radius:12px;padding:20px}
.bd h3{font-size:18px;text-align:center;margin-bottom:12px}
.bd p{font-size:14px;color:var(--ink-2);line-height:1.5;margin-bottom:14px}
.bd-x{position:absolute;top:10px;right:10px;width:34px;height:34px;font-size:24px;line-height:1;color:var(--ink-2)}
.bd-opts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-bottom:16px}
.bd-opts button{display:flex;flex-direction:column;gap:4px;align-items:center;padding:10px 8px;border:1.5px solid var(--line);border-radius:8px;text-align:center}
.bd-opts button b{font-size:13.5px;font-weight:600}
.bd-opts button span{font-size:13px;color:var(--ink-2)}
.bd-opts button s{color:var(--ink-3)}
.bd-opts button.on{border-color:var(--brand);background:var(--brand-50)}
.bd-ok{width:100%;height:44px;border-radius:8px;background:var(--accent);color:#fff;font-weight:700;font-size:15px}
/* Long route article: room between paragraphs and sections so it reads easily. */
.seo-text h2{margin-bottom:16px}
.seo-text h3{font-size:16.5px;margin:30px 0 12px}
.seo-text h4{font-size:15px;margin:24px 0 10px}
.seo-text h3+h4{margin-top:14px}
.seo-text p{margin:0 0 12px;line-height:1.8}
.seo-text p:last-child{margin-bottom:0}
.seo-text ol{margin:4px 0 14px;display:flex;flex-direction:column;gap:6px}
.seo-text li{line-height:1.7}
.seo-card+.seo-card{margin-top:18px}
/* Two-handle sliders: native inputs only hold values; the handles below are dragged. */
.price-track{touch-action:none;cursor:pointer;height:32px}
.price-track input{opacity:0;pointer-events:none!important}
.price-track input::-webkit-slider-thumb{pointer-events:none!important}
.price-track input::-moz-range-thumb{pointer-events:none!important}
.price-track::before,.price-fill{top:14px}
.rk{position:absolute;top:16px;width:22px;height:22px;margin:-11px 0 0 -11px;border-radius:50%;background:#fff;border:2px solid var(--brand);box-shadow:0 1px 4px rgba(16,24,40,.25);cursor:grab;transition:transform .12s,box-shadow .12s;outline:none;z-index:1}
.rk:hover,.rk:focus-visible{box-shadow:0 0 0 6px rgba(238,0,51,.14),0 1px 4px rgba(16,24,40,.25)}
.dragging .rk:focus{transform:scale(1.15);cursor:grabbing;box-shadow:0 0 0 8px rgba(238,0,51,.18),0 1px 4px rgba(16,24,40,.25);z-index:2}
.dragging{cursor:grabbing}
.tbox label{flex:1;border:1px solid var(--line);border-radius:10px;padding:7px 12px;cursor:text;transition:border-color .15s}
.tbox label:focus-within{border-color:var(--brand)}
.tbox input{display:block;width:100%;border:0;padding:0;background:none;font:inherit;font-size:15px;font-weight:700;color:var(--ink);outline:none;font-variant-numeric:tabular-nums}
.tbox input.bad{color:#d63c35}
.price-fill,.rk{will-change:left}
/* Sliders inside the accordion (its body clips overflow for the open/close animation): inset the track by half a
   handle on each side and leave room above/below for the hover ring, so nothing is cut off. */
.f-sec .price{padding:6px 0 2px}
.f-sec .price-track{margin:0 13px}
.f-sec .tbox{margin-top:10px}
/* Accordion header: no box after a mouse click; a soft ring for keyboard focus only. */
.f-tog:focus{outline:none}
.f-tog:focus-visible{outline:2px solid rgba(238,0,51,.35);outline-offset:-2px;border-radius:8px}
.rk:focus{outline:none}
/* Operator notice: text pops up over the card on hover / tap, like a tooltip. */
.bulletin{position:relative}
.bl-pop{display:none;position:fixed;left:16px;top:0;z-index:60;width:min(520px,calc(100vw - 32px));max-height:320px;box-sizing:border-box;overflow:auto;padding:14px 16px;background:#fff;border-radius:10px;box-shadow:0 8px 28px rgba(16,24,40,.18),0 0 0 1px rgba(16,24,40,.06);color:#344054;font-size:13.5px;line-height:1.6;white-space:pre-line;overscroll-behavior:contain}
.bl-pop::after{content:"";position:absolute}
.bulletin:hover .bl-pop,.bulletin.pin .bl-pop,.bulletin:focus-within .bl-pop{display:block}
.bulletin::before{content:"";position:absolute;left:0;right:0;top:100%;height:8px}

.th-none{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:104px;height:70px;border-radius:9px;background:#f2f4f7;color:#98a2b3;font-size:11.5px}
.th-none svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.dt .am-long li{padding:12px 14px;border-radius:10px;background:#f5f7fa}
.dt .am-long b{font-size:14.5px;font-weight:600;color:var(--ink)}
.dt .am-long p{margin:6px 0 0 44px;font-size:13.5px;color:#475467}
.am-ic{flex:none;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:8px;background:#fff;box-shadow:inset 0 0 0 1px #eaecf0}
.dt .am-short .am-ic{background:#f5f7fa;box-shadow:none}
.dt .am-ic img{width:22px;height:22px;object-fit:contain}
.dt .am-short{grid-template-columns:repeat(3,1fr);gap:10px 18px;padding:4px 2px}
.dt .am-short li{font-size:14px;color:var(--ink);padding:2px 0}
.dt-foot{margin-top:12px}
@media (max-width:767px){.dt .am-short{grid-template-columns:1fr 1fr}.dt .am-long p{margin-left:0}}
.am-ic{width:40px;height:40px;border-radius:9px}
.dt .am-ic img{width:36px;height:36px}
.dt .am-long p{margin-left:50px}
@media (max-width:767px){.dt .am-long p{margin-left:0}}
.pt-day{font-weight:400;color:#98a2b3;font-size:12.5px;white-space:nowrap}
.dt-pts .has-day li{grid-template-columns:96px 12px 1fr}
.dt-pts .has-day li{grid-template-columns:104px 12px 1fr}
.dt-pts .has-day time{white-space:nowrap}
.thumbs:empty{min-height:70px}

/* "Tìm kiếm địa chỉ" dialog (chon-ghe.js askAddress) */
html.ad-open{overflow:hidden}
.ad-wrap{position:fixed;inset:0;z-index:200;background:rgba(16,24,40,.45);display:flex;align-items:flex-start;justify-content:center;padding:6vh 16px 16px}
.ad{width:min(520px,100%);max-height:88vh;display:flex;flex-direction:column;background:#fff;border-radius:12px;box-shadow:0 20px 50px rgba(16,24,40,.25);overflow:hidden}
.ad-head{position:relative;padding:18px 48px 10px;text-align:center}
.ad-head h3{margin:0;font-size:17px;font-weight:700}
.ad-x{position:absolute;right:12px;top:12px;width:34px;height:34px;border-radius:50%;font-size:18px;color:#101828;background:none}
.ad-x:hover{background:#f2f4f7}
.ad-top{padding:6px 20px 12px;border-bottom:1px solid #eaecf0}
.ad-in{width:100%;box-sizing:border-box;height:42px;border:1px solid #d0d5dd;border-radius:8px;padding:0 12px;font:inherit;font-size:15px;outline:0}
.ad-in:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-50)}
.ad-gps{display:inline-flex;align-items:center;gap:6px;margin-top:10px;padding:0;background:none;color:var(--brand);font-weight:600;font-size:14px;text-decoration:underline;text-underline-offset:2px}
.ad-gps svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.ad-list{list-style:none;margin:0;padding:0;overflow:auto;min-height:260px}
.ad-list button{display:flex;gap:12px;align-items:flex-start;width:100%;padding:12px 20px;background:none;text-align:left;border-bottom:1px solid #eaecf0}
.ad-list button:hover,.ad-list button:focus-visible{background:#f5f8ff}
.ad-list svg{flex:none;width:22px;height:22px;margin-top:2px;fill:none;stroke:#667085;stroke-width:1.8}
.ad-list b{display:block;font-size:15px;font-weight:600;color:#101828}
.ad-list small{display:block;margin-top:2px;font-size:13px;color:#667085}
.ad-note{padding:14px 20px;font-size:13.5px;color:#667085}
@media (max-width:600px){.ad-wrap{padding:0}.ad{max-height:none;height:100%;border-radius:0}}

.pt-list{border-radius:0 0 10px 10px}

/* Step 2 as on VeXeRe: reassurance strip, "Hiển thị khoảng cách đến … Thay đổi", footer with the report link. */
.pt-safe{display:flex;align-items:center;gap:8px;margin:0 0 14px;padding:9px 12px;border:1px solid #33b37a;border-radius:8px;background:#eefbf4;color:#14532d;font-size:13.5px}
.pt-safe svg{flex:none;width:18px;height:18px;fill:#16a05a;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.pt-near.on{min-width:0;max-width:62%}
.pt-near.on small{color:var(--ink)}
.pt-near.on button{display:flex;align-items:baseline;justify-content:flex-end;gap:6px;max-width:100%;text-decoration:none}
.pt-near.on b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink);font-weight:700}
.pt-near.on u{flex:none;color:var(--brand);text-underline-offset:2px}
.pt-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:14px}
.pt-foot .sp-toggle{margin-top:0}
.pt-rep{font-size:14px;color:var(--ink)}
.pt-rep button{padding:0;background:none;color:var(--brand);font-weight:700;text-decoration:underline;text-underline-offset:2px}

/* Door-to-door groups ("Đón tận nơi tại …"), as on VeXeRe */
.pt-grp{border-bottom:1px solid var(--line);padding:12px 12px 14px}
.pt-gh{display:flex;align-items:center;gap:10px;cursor:pointer;padding:2px 4px 10px;font-size:15px}
.pt-gh b{flex:1;min-width:0;font-weight:700;color:var(--ink)}
.pt-gr{flex:none;width:20px;height:20px;border-radius:50%;border:2px solid #98a2b3;background:#fff;box-sizing:border-box}
.pt-grp.on .pt-gr{border-color:var(--brand);box-shadow:inset 0 0 0 4px #fff;background:var(--brand)}
.pt-chev{flex:none;width:24px;height:24px;display:grid;place-items:center}
.pt-chev::before{content:"";width:8px;height:8px;border-left:2px solid var(--ink);border-top:2px solid var(--ink);transform:translateY(2px) rotate(45deg)}
.pt-gh[aria-expanded="false"] .pt-chev::before{transform:translateY(-2px) rotate(225deg)}
.pt-gbox{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff}
.pt.sub{grid-template-columns:minmax(0,1fr) auto;padding:12px 14px}
.pt.sub input[type=radio]{position:absolute;opacity:0;pointer-events:none}
.pt.sub .pt-side{padding-top:22px}
.pt.sub:last-of-type{border-bottom:0}
.pt.sub .pt-time{display:flex;align-items:baseline;gap:8px}
.pt-tipbtn{margin-left:auto;position:relative;padding:0 0 0 10px;background:none;font-size:13px;font-weight:500;color:#2474e5;text-decoration:underline;text-underline-offset:2px}
.pt-tipbtn::before{content:"";position:absolute;left:2px;top:3px;width:5px;height:5px;border-radius:50%;background:#e5343a}
.pt-fee2{color:#d92d20!important;font-size:13px!important}
.pt-bus{display:flex;align-items:center;gap:6px;color:var(--ink-2)!important;font-size:12.5px!important}
.pt-bus svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}
.pt-gbox textarea.pt-addr,.pt-grp textarea.pt-addr{display:block;box-sizing:border-box;width:calc(100% - 28px);margin:0 14px 12px;height:auto;min-height:72px;padding:9px 11px;border:1px solid #d0d5dd;border-radius:8px;font:inherit;font-size:14px;resize:vertical;outline:0}
.pt-gbox textarea.pt-addr:focus{border-color:var(--brand)}
.pt-gmore{display:block;width:100%;padding:12px;background:#fff;color:#2474e5;font-weight:600;font-size:14px;text-decoration:underline;text-underline-offset:2px;border-top:1px solid var(--line)}
.pt-tip{position:fixed;z-index:300;max-width:280px;padding:10px 12px;border-radius:8px;background:#0f2a4a;color:#fff;font-size:13.5px;line-height:1.5;box-shadow:0 8px 24px rgba(16,24,40,.25);pointer-events:none;white-space:pre-line}
.pt-tip::after{content:"";position:absolute;left:var(--ax,50%);top:100%;margin-left:-7px;border:7px solid transparent;border-top-color:#0f2a4a}
.pt-tip.below::after{top:auto;bottom:100%;border-top-color:transparent;border-bottom-color:#0f2a4a}

/* Return date in the compact search band */
@media (max-width:760px){.booking.compact .fields{grid-template-areas:"f f" "t t" "d r" "q b"}}

/* Round trip: leg steps above the results, chosen outbound on the return leg */
.rt-wrap{margin:0 0 14px}
.rt-bar{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.rt-leg{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:12px;background:#fff;border:1.5px solid var(--line);color:var(--ink);text-decoration:none;min-width:0}
.rt-leg i{flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#eef0f4;color:var(--ink-2);font-style:normal;font-weight:700;font-size:14px}
.rt-leg span{display:flex;flex-direction:column;gap:2px;min-width:0}
.rt-leg small{font-size:12.5px;color:var(--ink-2)}
.rt-leg b{font-size:15px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rt-leg.on{border-color:var(--brand);background:var(--brand-50)}
.rt-leg.on i{background:var(--brand);color:#fff}
.rt-leg.done i{background:#1f9d55;color:#fff}
a.rt-leg:hover{border-color:#c9cdd8}
.rt-tip{margin:8px 2px 0;font-size:13.5px;color:var(--ink-2)}
.rt-go{display:flex;align-items:center;gap:12px;margin-top:10px;padding:12px 14px;border-radius:12px;background:#eefbf4;border:1px solid #9ad8b5}
.rt-ok{flex:none;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#1f9d55;color:#fff;font-size:13px;font-weight:700}
.rt-go div{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.rt-go small{font-size:12.5px;color:#14532d}
.rt-go b{font-size:14.5px}
.rt-go div span{font-size:13px;color:var(--ink-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rt-go a{flex:none;color:var(--brand);font-weight:700;font-size:14px;text-decoration:underline;text-underline-offset:2px}
.sp-msg.err{color:#d92d20;font-weight:600}
@media (max-width:640px){.rt-leg{padding:10px}.rt-leg b{font-size:14px}.rt-go{flex-wrap:wrap}.rt-go a{margin-left:36px}}

/* trip whose operator has not opened online seat selection */
.pick .buy-btn:disabled{background:#eef0f4;color:var(--ink-3);box-shadow:none;cursor:default}
.pick .left.off,.pick .left.off:not(.low){color:var(--ink-3)}
.trip.noseat .trip-main{opacity:.78}
