/* Car rental page (block "Car Detail Page"): the hotel page's design (hotel-detail.css, .bm-htd) plus the few parts a
   car rental needs, scoped to .bm-cdp. The "In short" box is the location page's (.bm-ldp .inshort). */

/* one heading size for every section (24px, weight 600) */
.bm-cdp .sec-h,.bm-cdp .sec-head h2,.bm-cdp .nb-head h2,.bm-cdp .cdp-about-h,.bm-cdp .bm-ask .sech h2,
.bm-cdp .bm-cs .cbk-h,.bm-cdp .bmfaq-h,.bm-cdp .hrz.hrz .hrz-head h2{font-family:var(--font-ui)!important;font-size:24px!important;font-weight:600!important;line-height:1.3!important;color:var(--ink)!important;letter-spacing:0!important}
.bm-cdp .nb-head h2{color:var(--ink)!important;border-bottom:0!important;padding-bottom:0!important}
.bm-cdp .bp-title h1{font-weight:600!important}
.bm-cdp .nb-card h4,.bm-cdp .why-h{font-weight:600}

/* booking box beside the photos */
.bm-cdp .cdp-rail{display:flex;flex-direction:column;gap:8px}
.bm-cdp .cdp-from{margin:0 0 2px;font-size:13px;color:var(--ink-2)}
.bm-cdp .cdp-from b{font-family:var(--font-ui);font-size:20px;font-weight:600;color:var(--ink)}
.bm-cdp .cdp-from s{color:var(--muted);margin-left:4px}
.bm-cdp .cdp-rail select{width:100%;border:0;background:transparent;font:inherit;color:var(--ink);padding:0}
.bm-cdp .cdp-rail input[type=date]{width:100%;min-width:0}
.bm-cdp .cdp-total{display:flex;align-items:baseline;justify-content:space-between;gap:8px;border-top:1px solid var(--line);padding-top:10px;margin-top:4px;font-size:13px;color:var(--ink-2)}
.bm-cdp .cdp-total b{font-family:var(--font-ui);font-size:20px;font-weight:600;color:var(--ink)}
.bm-cdp .cdp-rail .bb-msg{margin:2px 0 4px}
.bm-cdp .cdp-rail .bb-msg.cdp-bad{color:var(--red)}
.bm-cdp .cdp-rail .bb-btn{height:42px;background:linear-gradient(180deg,#ff7a2f,#f05a1a);font-family:var(--font-ui);font-size:14px;font-weight:600}
.bm-cdp .cdp-rail .bb-btn:disabled{opacity:.55;cursor:not-allowed}
.bm-cdp .cdp-rail.is-busy .cdp-total b{opacity:.45}
.bm-cdp .cdp-details{font-size:12px;text-align:center;color:var(--blue);text-decoration:underline}
@media (min-width:992px){.bm-cdp .bp-rail{position:sticky;top:12px;align-self:start}}

/* about: the company's own text */
.bm-cdp .cdp-about-h{margin:14px 0 2px}
.bm-cdp .cdp-src{font-size:12px;color:var(--muted);margin:0 0 10px}
.bm-cdp .pane-note .link{color:var(--blue);text-decoration:underline}

/* good to know */
.bm-cdp .cdp-gtk{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.bm-cdp .cdp-gtk li{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:8px;font-size:12.5px;color:var(--ink-2);border-bottom:1px dashed var(--line);padding-bottom:7px}
.bm-cdp .cdp-gtk li:last-child{border-bottom:0}
.bm-cdp .cdp-gtk i{color:var(--blue);text-align:center}
.bm-cdp .cdp-gtk b{font-weight:600;color:var(--ink);text-align:right}
.bm-cdp .hd-empty{flex-wrap:wrap}
.bm-cdp .hd-empty>span{flex:1 1 220px;min-width:0}
.bm-cdp .cdp-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}

/* "In short" (as on the location page) */
.bm-cdp .inshort{margin:0 0 10px;padding:12px 14px;border-left:3px solid var(--blue-cyan);background:var(--blue-soft);border-radius:0 8px 8px 0}
.bm-cdp .inshort b{display:block;font-family:var(--font-ui);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--blue-dark);margin-bottom:3px}
.bm-cdp .inshort p{margin:0;font-size:13px;line-height:1.65;color:var(--ink)}

/* the company's cars */
.bm-cdp .cdp-specs{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px 12px;font-size:12px;color:var(--ink-2)}
.bm-cdp .cdp-specs i{color:var(--blue);margin-right:5px}
.bm-cdp .cdp-vtext{font-size:12px;color:var(--ink-2);margin:8px 0 0;line-height:1.55}

/* the booking form (book-box, car-search.css .bm-cs) inside the page */
.bm-cdp .cdp-book{margin-top:26px;margin-bottom:10px;scroll-margin-top:12px}
.bm-cdp #book-car{scroll-margin-top:12px}

/* reviews: the invitation when there is no review yet */
.bm-cdp .cdp-invite{padding:16px;margin-bottom:14px}
.bm-cdp .cdp-invite b{display:block;font-family:var(--font-ui);font-size:15px;font-weight:600;color:var(--ink);margin-bottom:6px}
.bm-cdp .cdp-invite p{font-size:12.5px;color:var(--ink-2);margin:0 0 10px;line-height:1.6}

@media (max-width:767px){
  .bm-cdp .sec-h,.bm-cdp .sec-head h2,.bm-cdp .nb-head h2,.bm-cdp .cdp-about-h,.bm-cdp .bm-ask .sech h2,
  .bm-cdp .bm-cs .cbk-h,.bm-cdp .bmfaq-h,.bm-cdp .hrz.hrz .hrz-head h2{font-size:20px!important}
}

/* "In short" under "About {name}", as on the location page */
.bm-cdp .cdp-about-h + .inshort{margin-top:12px}


/* car card: rental terms, what the price includes and paid extras (admin "Add car" form) */
.bm-cdp .cdp-sim{font-size:12px;font-weight:400;color:var(--muted)}
.bm-cdp .cdp-terms{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:3px;font-size:12px;color:var(--ink-2)}
.bm-cdp .cdp-terms i{color:#1a9b5a;margin-right:6px;font-size:11px}
.bm-cdp .cdp-vline{margin:6px 0 0;font-size:12px;line-height:1.5;color:var(--ink-2)}
.bm-cdp .cdp-vline b{font-weight:700;color:var(--ink)}

/* ---- extra sections (car-detail-page/more.blade.php): trips, things to do ---- */
.bm-cdp .cdx-trip .cdx-route{display:flex;align-items:center;gap:10px;padding:16px 16px 6px;font-family:var(--font-ui,inherit);font-size:13px;color:var(--ink-2)}
.bm-cdp .cdx-trip .cdx-route b{font-size:17px;color:var(--ink)}
.bm-cdp .cdx-trip .cdx-route i{color:var(--blue,var(--bm-brand-strong,#0a73b0))}
.bm-cdp .cdx-trip .nb-loc{display:flex;gap:14px;flex-wrap:wrap}
.bm-cdp .cdx-types{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:4px;font-size:12.5px}
.bm-cdp .cdx-types li{display:flex;justify-content:space-between;gap:8px;border-bottom:1px dashed var(--line);padding:3px 0}
.bm-cdp .cdx-types small{color:var(--muted)}

/* Rental terms: the cancellation timeline in its row (as the results page's View detail) */
.bm-cdp .hrz-body .cdx-line{position:relative;display:grid;grid-template-columns:12px 1fr 12px;align-items:center;max-width:460px;margin:2px 0 12px;padding:24px 14% 28px;background:#eef2f6;border-radius:12px}
.bm-cdp .cdx-line .dot{width:12px;height:12px;border-radius:50%;border:2px solid var(--ink);background:#fff}
.bm-cdp .cdx-line .dot.on{background:var(--ink)}
.bm-cdp .cdx-line .bar{position:relative;height:2px;background:#8a96a6}
.bm-cdp .cdx-line .bar small{position:absolute;left:50%;bottom:8px;transform:translateX(-50%);white-space:nowrap;font-size:12px;color:var(--ink-2)}
.bm-cdp .cdx-line.no .bar{background:repeating-linear-gradient(90deg,#c0392b 0 6px,transparent 6px 10px)}
.bm-cdp .cdx-line .lab{position:absolute;bottom:7px;font-size:12px;color:var(--ink)}
.bm-cdp .cdx-line .lab.l{left:calc(14% - 18px)}
.bm-cdp .cdx-line .lab.r{right:calc(14% - 26px)}
/* demand note and booking offers above the cars (more.blade.php, part offers): the hotel page's .demand / .promo */
