/* crv-cards-g 2026-11-24: kieu the moi cho trang dia diem (/thue-xe/*, /en/car-rental/*) va cam nang. Khong dung form bao gia (.bq-*). */
:root{--cc-ink:#1C1B2E;--cc-mute:#6E6C7C;--cc-line:#E6E3EE;--cc-pink:#D1009C;--cc-pink-h:#E600AE;--cc-pink-a:rgba(209,0,156,.32);--cc-pink-t:rgba(209,0,156,.08);--cc-r:24px;--cc-rb:14px}
/* ---------- the xe ---------- */
html body .cards:not(#_){gap:14px!important}
html body .car-card:not(#_){position:relative;display:flex!important;flex-direction:column;text-align:left!important;padding:0 0 14px!important;border-radius:var(--cc-r)!important;border:1px solid var(--cc-line)!important;box-shadow:none!important;background:#fff!important;overflow:hidden;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
html body .car-card:not(#_)>img{display:block;width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:16/10;object-fit:contain;padding:12px 10px 4px;border-radius:0!important;margin:0 0 4px!important;background:linear-gradient(180deg,#F6F4FB 0%,#ECE9F4 100%);transition:transform .45s ease}
html body .car-card:not(#_)>:not(img){margin-left:14px!important;margin-right:14px!important}
html body .car-card:not(#_) h3{margin-top:6px!important;margin-bottom:2px!important;font-size:17px!important;font-weight:800!important;color:var(--cc-ink)!important}
html body .car-card:not(#_) .price{font-size:18px!important;font-weight:800!important;color:var(--cc-pink)!important;margin-bottom:2px!important}
html body .car-card:not(#_) .seats,html body .car-card:not(#_) .trip-price{font-size:12.5px!important;color:var(--cc-mute)!important;line-height:1.45}
.crv-gc-act{display:flex;flex-direction:column;gap:10px;margin-top:12px!important}
.crv-ic-row{display:flex;gap:8px;align-items:center}
.crv-ic{flex:0 0 40px;height:40px;border-radius:var(--cc-rb);border:1px solid var(--cc-pink-a);display:inline-flex;align-items:center;justify-content:center;color:var(--cc-ink)!important;background:#fff;transition:border-color .2s linear,background-color .2s linear,transform .15s ease;text-decoration:none!important}
.crv-ic svg{width:18px;height:18px}
.crv-ic:hover,.crv-ic:focus-visible{border-color:var(--cc-pink);background:var(--cc-pink-t)}
.crv-ic:active{transform:scale(.94)}
.crv-ic-note{flex:1;font-size:11.5px;line-height:1.25;color:var(--cc-mute);padding-left:4px}
.crv-ic-note b{display:block;font-size:13px;color:var(--cc-ink)}
.crv-gc-btn{display:inline-flex;align-items:center;justify-content:center;height:40px;border-radius:var(--cc-rb);background:var(--cc-pink);color:#fff!important;font-weight:700;font-size:13.5px;text-decoration:none!important;transition:background-color .2s linear,transform .15s ease}
.crv-gc-btn:hover{background:var(--cc-pink-h)}
.crv-gc-btn:active{transform:scale(.97)}
/* dien thoai: bang truot ngang co diem dung */
@media (max-width:767px){
  html body .cards:not(#_){display:grid!important;grid-auto-flow:column;grid-auto-columns:80%;grid-template-columns:none!important;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding:2px 2px 10px!important;scrollbar-width:none}
  html body .cards:not(#_)::-webkit-scrollbar{display:none}
  html body .car-card:not(#_){scroll-snap-align:start}
}
/* ---------- the tuyen ---------- */
html body .route-card:not(#_),html body .routes:not(#_) .route{position:relative;border-radius:16px!important;border:1px solid var(--cc-line)!important;background:#fff!important;box-shadow:none!important;padding:12px 40px 12px 14px!important;transition:border-color .2s linear,background-color .2s linear,transform .2s ease}
html body .route-card:not(#_):after,html body .routes:not(#_) .route:after{content:"";position:absolute;right:16px;top:50%;width:8px;height:8px;border-top:2px solid var(--cc-pink);border-right:2px solid var(--cc-pink);transform:translateY(-50%) rotate(45deg)}
html body .route-card:not(#_) a,html body .routes:not(#_) .route a{color:var(--cc-ink)!important;text-decoration:none!important}
html body .route-card:not(#_) a:before,html body .routes:not(#_) .route a:before{content:"";position:absolute;inset:0}
html body .route-card:not(#_) .route-info,html body .routes:not(#_) .route small{display:block;margin-top:3px;font-size:12.5px!important;color:var(--cc-mute)!important}
html body .route-card:not(#_):hover,html body .routes:not(#_) .route:hover{border-color:var(--cc-pink-a)!important;background:#FDF8FC!important}
/* ---------- khung noi dung ---------- */
html body main .card:not(#_),html body .wrap .card:not(#_){border-radius:var(--cc-r)!important;border:1px solid var(--cc-line)!important;box-shadow:none!important;background:#fff!important}
/* ---------- hieu ung chuot ---------- */
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  html body .car-card:not(#_):hover{transform:translateY(-4px);border-color:rgba(209,0,156,.35)!important;box-shadow:0 14px 34px rgba(28,27,46,.10)!important}
  html body .car-card:not(#_):hover>img{transform:scale(1.04)}
  html body .route-card:not(#_):hover,html body .routes:not(#_) .route:hover{transform:translateY(-2px)}
}
