/* 🚐 cvprice.css — the VW Caravelle VIP in the price tables (Sky 20 Nov 2026 "เพิ่มรถ caravelle ลงไป ตาราง ราคา ในเวบได้เลย").
   Jev: Commuter · Caravelle · Alphard (by price); a Caravelle price shows a small chat label and opens the chat with a ready message,
   never the online booking; "—" where it is not sold (Phuket) with one short line under the table; route pages: a third card between
   the two. In build.py's CSS list (the bundle + every route page) and linked by cvprice.legacy() on /van-rental-price/. */

/* the fare board (homepage #quote and /routes/): four columns at the same row height (qa.py counts first-screen rows) */
.departure-table table.cv-cols th:first-child{width:40%}
.departure-table table.cv-cols th:nth-child(n+2){width:20%;text-align:center}
.departure-table .cv-th .board-car-thumb{object-fit:cover;background:#101b1b}
a.fare-key.fare-cv{color:inherit;text-decoration:none}
.fare-key.fare-cv-none{cursor:default}
.fare-key.fare-cv-none strong{color:#7f948f;font-weight:400}
.fare-key.fare-cv-none:hover{border-color:transparent;background:none;transform:none}
.board-cv-note a{color:inherit;text-decoration:underline;text-underline-offset:3px}
/* five-digit fares fit three fare columns on a phone (integration.css sets 18px / 16px !important for two columns) */
@media(max-width:768px){:is(.directory-view,.home-route-board) .departure-table table.cv-cols .fare-key strong{font-size:16px!important}}
@media(max-width:400px){
  .departure-table table.cv-cols th:nth-child(n+2){padding-inline:1px;font-size:9.5px;letter-spacing:-.015em}
  .departure-table table.cv-cols th small{white-space:nowrap;letter-spacing:-.02em}
}
@media(max-width:359px){
  :is(.directory-view,.home-route-board) .departure-table table.cv-cols .fare-key strong{font-size:14px!important}
  .departure-table table.cv-cols th:nth-child(n+2){font-size:8.5px}
}

/* a Caravelle price in a plain table: the price, a small chat label under it */
.cv-chat{display:inline-flex;flex-direction:column;align-items:inherit;gap:1px;color:inherit;text-decoration:none;line-height:1.25}
.cv-chat small{font-size:11px;line-height:1.3;font-weight:400;color:#aebfba;text-decoration:underline;text-underline-offset:2px;white-space:nowrap}
.cv-chat:hover small{color:#efd29b}
.price-cv .cv-chat{align-items:inherit}
.pricing-cv-note a,.pr-cv-note a{color:inherit;text-decoration:underline;text-underline-offset:3px}

/* route pages: the Caravelle card between the Commuter and the Alphard */
.destination-page .route-car-cv .cv-card-cta .book-online-note{font-size:11.5px;line-height:1.5;text-align:center}
@media(min-width:1101px){
  .shared-route .route-car-grid:has(>.route-car-cv){grid-template-columns:repeat(3,minmax(0,1fr));max-width:1320px}
}
/* its photo and place in the row: like the two others (route-shared.css, big clear vans, 20 Nov 2026) */
.route-package-table.has-cv td.cv-cell{white-space:nowrap}

/* /pricing/: the finder's Caravelle column (three prices side by side on a phone) and its hourly cards */
.pr-table.has-cv td.pr-cv{text-align:right}
.pr-table .pr-cv .cv-chat{align-items:flex-end}
.pr-table td.pr-cv-none{color:#7f958d;font-weight:400}
.pr-pp .pr-pp-cv .cv-chat{align-items:flex-end}
@media(max-width:600px){
  .pr-table.has-cv tr{grid-template-columns:repeat(3,minmax(0,1fr))}
  .pr-table.has-cv td.pr-cv{text-align:left}
  .pr-table .pr-cv .cv-chat{align-items:flex-start}
}

/* the homepage price list (#pricing) */
.pricing-table table.cv-cols .price-cv .cv-chat{align-items:flex-end}
.pricing-table table.cv-cols .price-cv .cv-chat small{font-weight:400}

/* /van-rental-price/ (the older page): its two tables */
.cv-legacy{display:inline-flex;flex-direction:column;color:inherit;text-decoration:none;line-height:1.3}
.cv-legacy small{font-size:11px;font-weight:400;opacity:.75;text-decoration:underline;text-underline-offset:2px;white-space:nowrap}
.cv-legacy-note{margin:6px 0 18px;font-size:13px;line-height:1.6}
.cv-legacy-note a{color:inherit;text-decoration:underline;text-underline-offset:3px}
/* five columns on a phone: the page's own rule is 8px 7px !important at 640px */
@media(max-width:640px){
  .tbl table[data-cv-table] th,.tbl table[data-cv-table] td{padding-left:3px!important;padding-right:3px!important;font-size:.74rem!important}
  .tbl table[data-cv-table] th:first-child,.tbl table[data-cv-table] td:first-child{overflow-wrap:anywhere}
  .tbl table[data-cv-table] .cv-legacy small{font-size:10px}
}
