/* =====================================================================
   Luxury Car Rental - car details page v2.
   Generated from the "CAR DETAILS PAGE" block of public/carstandalone.html
   by resources/design/build-car-v2-css.py. Loaded after css/home-v2.css,
   which carries everything the two hand-offs share (nav, cards, footer...).
   Every rule is scoped under .hv2, like home-v2.css.
   ===================================================================== */


/* ===================== CAR DETAILS PAGE ===================== */.hv2 .page{padding-top:80px;padding-bottom:6px}
.hv2{padding-bottom:84px}
@media(min-width:992px){.hv2 .page{padding-top:112px;padding-bottom:20px}.hv2{padding-bottom:0}}
.hv2 .crumb{display:flex;flex-wrap:wrap;gap:5px;align-items:center;color:var(--gray6);font-size:12.5px;margin-bottom:10px}
.hv2 .crumb .ic{font-size:11px}
.hv2 .crumb a:hover{color:var(--orange)}
.hv2 .car-head{display:flex;align-items:center;gap:10px}
.hv2 .car-head img{width:40px;height:32px;object-fit:contain;filter:brightness(0);flex:none}
.hv2 .car-head h1{font-size:21px;font-weight:700;letter-spacing:.2px;line-height:1.2;text-wrap:balance}
@media(min-width:992px){.hv2 .car-head h1{font-size:30px}.hv2 .car-head img{width:54px;height:40px}}
.hv2 .keys{display:flex;gap:10px}
.hv2 .key{flex:1;border:1px solid #dfe3e8;border-radius:12px;padding:12px 8px;text-align:center;background:#fafbfc}
.hv2 .key img{width:24px;height:24px;object-fit:contain;margin:0 auto 8px;display:block;opacity:.75}
.hv2 .key b{display:block;font-size:17px;font-variant-numeric:tabular-nums}
.hv2 .key span{font-size:11.5px;color:var(--gray6)}
.hv2 .tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:11px}
.hv2 .tag{background:#fff;border:1px solid #cdd2da;border-radius:50px;padding:4px 13px;font-size:12.5px;color:#3c4149}
.hv2 .tag.hot{background:var(--orange);border-color:var(--orange);color:#fff;font-weight:700}


/* layout: gallery, booking card, then the rest */.hv2 .car-grid{display:grid;gap:16px;margin-top:16px}
.hv2 .car-grid>*{min-width:0}
.hv2 .gal-wrap{order:1}.hv2 .col-side{order:2}.hv2 .col-rest{order:3}
@media(min-width:992px){
  .hv2 .car-grid{grid-template-columns:minmax(0,1.5fr) minmax(320px,1fr);
            grid-template-areas:"gal side" "rest side";align-items:start;gap:24px;margin-top:20px}
  .hv2 .gal-wrap{grid-area:gal}
  .hv2 .col-side{grid-area:side;position:sticky;top:104px}
  .hv2 .col-rest{grid-area:rest}
}


/* gallery */.hv2 .gal-main{position:relative;background:#111 url(../img/new2/card-bg.webp) center/cover;border-radius:18px;overflow:hidden;border:1px solid #cdd2da}
.hv2 .gal-main img{width:100%;aspect-ratio:16/11;object-fit:cover;display:block;user-select:none;-webkit-user-drag:none}
.hv2 .gal-nav{position:absolute;top:50%;transform:translateY(-50%);width:38px;height:38px;border-radius:50%;
         background:rgba(0,0,0,.42);color:#fff;display:flex;align-items:center;justify-content:center;font-size:20px;
         backdrop-filter:blur(3px);transition:background .15s}
.hv2 .gal-nav:hover{background:rgba(0,0,0,.68)}
.hv2 .gal-nav.prev{left:10px}.hv2 .gal-nav.next{right:10px}
.hv2 .gal-count{position:absolute;right:12px;bottom:12px;background:rgba(0,0,0,.55);color:#fff;font-size:12px;
           border-radius:50px;padding:4px 10px;font-variant-numeric:tabular-nums}
.hv2 .gal-badge{position:absolute;left:12px;top:12px;background:var(--orange);color:#fff;font-size:11.5px;font-weight:700;
           border-radius:6px;padding:4px 9px}
.hv2 .thumbs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin-top:9px;padding-bottom:3px;max-width:100%}
.hv2 .thumbs::-webkit-scrollbar{display:none}
.hv2 .thumbs button{flex:none;width:74px;aspect-ratio:16/11;border-radius:10px;overflow:hidden;border:2px solid transparent;
               background:#111;padding:0;opacity:.72;transition:opacity .15s,border-color .15s}
.hv2 .thumbs button.on{border-color:var(--orange);opacity:1}
.hv2 .thumbs img{width:100%;height:100%;object-fit:cover;display:block}


/* panels */.hv2 .panel{background:#fff;border:1px solid #cdd2da;border-radius:16px;padding:17px;max-width:100%}
.hv2 .panel + .panel{margin-top:14px}
.hv2 .panel h2{font-size:13px;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;color:#5a6069;margin-bottom:13px}
.hv2 .panel.book-panel{border-color:#c7ccd4;box-shadow:0 4px 18px rgba(20,25,40,.09);padding-top:0;overflow:hidden}
.hv2 .book-panel .cap{height:4px;background:var(--orange);margin:0 -17px 16px}
.hv2 .book-panel h2{margin-bottom:11px}
.hv2 .rates{margin-top:0!important}


/* price */.hv2 .price-now{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.hv2 .price-now b{font-size:36px;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-.5px}
.hv2 .price-now .cur{font-size:13px;color:var(--gray6)}
.hv2 .price-now s{color:var(--gray8);font-size:16px}
.hv2 .price-now .off{background:var(--orange);color:#fff;font-size:11.5px;font-weight:700;border-radius:5px;padding:3px 8px}
.hv2 .price-sub{margin-top:5px;font-size:12.5px;color:var(--gray6);min-height:18px}
.hv2 .price-now .from{font-size:11.5px;color:#3c4149;font-weight:700;background:#f1f3f6;border-radius:5px;padding:3px 8px}
.hv2 .rates{display:grid;grid-template-columns:1fr;gap:8px;margin-top:13px}
.hv2 .rate{display:grid;grid-template-columns:1fr auto;align-items:center;gap:3px 10px;
      border:1px solid #dfe3e8;border-radius:12px;padding:10px 13px;background:#fafbfc;text-align:left}
.hv2 .r-lbl{grid-area:2/1;font-size:12.5px;color:var(--gray6)}
.hv2 .r-off{grid-area:1/2;justify-self:end;background:#ffe8dd;color:#d3480d;font-size:11px;font-weight:700;
       border-radius:5px;padding:2px 7px;white-space:nowrap}
.hv2 .r-price{grid-area:1/1;display:flex;align-items:baseline;gap:5px}
.hv2 .r-price b{font-size:21px;font-variant-numeric:tabular-nums;line-height:1.1}
.hv2 .r-price small{font-size:11px;color:var(--gray6)}
.hv2 .r-meta{grid-area:2/2;justify-self:end;text-align:right;font-size:11.5px;line-height:1.35;font-variant-numeric:tabular-nums}
.hv2 .r-meta s{color:var(--gray8)}
.hv2 .r-meta em{font-style:normal;display:block;color:#3c4149;font-weight:700}
@media(min-width:576px) and (max-width:991px){.hv2 .rates{grid-template-columns:1fr 1fr}}
.hv2 .trust{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:13px;padding-top:12px;border-top:1px solid #edeff2}
.hv2 .trust span{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#3c4149}
.hv2 .trust img{width:14px}
.hv2 .side-actions{display:none;gap:8px;margin-top:14px}
.hv2 .side-actions a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:50px;border-radius:12px;
                font-weight:700;font-size:14.5px;border:1px solid transparent;color:#fff;flex:1;transition:filter .15s}
.hv2 .side-actions a:hover{filter:brightness(1.06)}
.hv2 .side-actions .wa{background:var(--green);border-color:var(--green);flex:2.4;flex-direction:column;gap:0;font-size:14px}
.hv2 .side-actions .wa .top{display:flex;align-items:center;gap:7px;white-space:nowrap;line-height:1.15}
.hv2 .side-actions .book,.hv2 .side-actions .call{flex:1;font-size:14px}
.hv2 .side-actions .wa .sub{font-size:11px;font-weight:400;opacity:.92;line-height:1.15;margin-top:3px}
.hv2 .side-actions .call{background:#fff;border-color:#cdd2da;color:#212529}
.hv2 .side-actions .book{background:var(--orange);border-color:var(--orange)}
@media(min-width:992px){.hv2 .side-actions{display:flex}}


/* specs / included / payment */.hv2 .specs div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #edeff2;font-size:13.5px}
.hv2 .specs div:last-child{border-bottom:0}
.hv2 .specs span{color:var(--gray6)}
.hv2 .specs b{font-weight:700}
@media(min-width:576px){.hv2 .specs{display:grid;grid-template-columns:1fr 1fr;column-gap:26px}
  .hv2 .specs div:nth-last-child(2){border-bottom:0}}
.hv2 .incl{display:grid;grid-template-columns:1fr;gap:9px}
.hv2 .incl div{display:flex;align-items:center;gap:9px;font-size:13.5px}
.hv2 .incl img{width:16px;flex:none}
@media(min-width:576px){.hv2 .incl{grid-template-columns:1fr 1fr;gap:10px 22px}}
.hv2 .pay{display:flex;flex-wrap:wrap;gap:8px}
.hv2 .pay img{width:62px;height:auto;object-fit:contain;display:block}


/* sticky action bar (mobile) */.hv2 .actionbar{position:fixed;inset:auto 0 0 0;z-index:160;background:#37393a;display:flex;gap:8px;
           padding:8px 12px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -6px 18px rgba(0,0,0,.3)}
.hv2 .actionbar a{display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;border-radius:10px;
             font-size:12.5px;font-weight:700;color:#fff;border:1px solid transparent;flex:1;min-width:0;padding:0 4px}
.hv2 .actionbar .ic{font-size:17px}
.hv2 .actionbar .book{background:var(--orange);border-color:var(--orange)}
.hv2 .actionbar .book,.hv2 .actionbar .call{gap:4px;padding:0 2px}
.hv2 .actionbar .book .ic,.hv2 .actionbar .call .ic{font-size:15px}
.hv2 .actionbar .call{background:transparent;border-color:rgba(255,255,255,.35)}
.hv2 .actionbar .wa{background:var(--green);border-color:var(--green);flex:2.6;flex-direction:column;gap:0;min-height:48px;padding:6px 12px;font-size:13px;line-height:1.15}
.hv2 .actionbar .wa .top{display:flex;align-items:center;gap:6px;white-space:nowrap;line-height:1.15}
.hv2 .actionbar .wa .sub{font-size:10px;font-weight:400;opacity:.92;line-height:1.15;margin-top:3px}
@media(max-width:379px){
  .hv2 .actionbar{padding:7px 8px calc(7px + env(safe-area-inset-bottom));gap:6px}
  .hv2 .actionbar a{font-size:11.5px;gap:4px;padding:0 3px}
  .hv2 .actionbar .ic{font-size:15px}
  .hv2 .actionbar .wa{flex:2.9;font-size:12px;padding:7px 8px}
  .hv2 .actionbar .wa .sub{font-size:9.5px}
}
@media(min-width:992px){.hv2 .actionbar{display:none}}

/* the details page has a light background, so the bar can never be transparent */.hv2 .topbar{background:#111}
@media(min-width:992px){.hv2 .topbar{background:rgba(20,21,24,.97);backdrop-filter:blur(8px)}.hv2 .topbar.scrolled{background:rgba(20,21,24,.97)}}

/* WhatsApp button: two lines need real height, and the label must not spill */.hv2 .side-actions a{padding:8px 10px;line-height:1.2;text-align:center}
.hv2 .side-actions .wa{min-height:58px;justify-content:center}
.hv2 .side-actions .wa .sub{margin-top:2px}

/* mobile: full width everywhere, the 96vw + 24px inset was eating 63px a side */@media(max-width:991px){
  .hv2 .container{max-width:100%;padding:0 16px}
  .hv2 .sim .track{padding-left:16px;padding-right:16px;scroll-padding-inline:16px}
  .hv2 .sim .slider-nav{padding-left:16px;padding-right:16px}
  .hv2 .docs .doc-card{margin:14px 0;padding:20px;min-height:420px;position:relative;isolation:isolate}
  .hv2 .docs .doc-card::before{content:"";position:absolute;inset:0;border-radius:10px;z-index:-1;
    background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(255,255,255,.86) 55%,rgba(255,255,255,.35))}
  .hv2 .docs .docs-grid{gap:0}
  .hv2 .footer .container{padding:0 16px}
}

/* flicking felt sticky on touch because every scroll was animated */@media(hover:none){.hv2{scroll-behavior:auto}}
.hv2 .sim{margin-top:26px}
.hv2 :focus-visible{outline:2px solid var(--orange);outline-offset:2px}


/* =====================================================================
   Real-data additions. The hand-off was drawn for one car; these cover what
   the admin data has and the mock-up did not.
   ===================================================================== */
/* A specification is stored as an icon and a value, with no label, so the
   icon takes the label's place at the start of the row. */
.hv2 .specs.with-icons div{justify-content:flex-start;align-items:center}
.hv2 .specs.with-icons img{width:22px;height:22px;object-fit:contain;flex:none;filter:brightness(0);opacity:.75}
/* Car photos are uploaded at 1400x700. The hand-off's 16:11 frame, drawn
   around its own stock shots, cropped a quarter of their width under
   object-fit:cover (half the rear of the car and the watermark), so the
   photo and its thumbnails take the uploads' 2:1 shape. */
.hv2 .gal-main img,.hv2 .thumbs button{aspect-ratio:2/1}
/* The main photo is a link to the full image (the lightbox). */
.hv2 .gal-zoom{display:block;cursor:zoom-in}
/* Video button, for cars that have one. */
.hv2 .gal-play{position:absolute;left:12px;bottom:12px;width:44px;height:44px;border-radius:50%;display:flex;
  align-items:center;justify-content:center;transition:transform .15s}
.hv2 .gal-play:hover{transform:scale(1.08)}
/* GAL PLAY ICON 2026-10-27: the legacy .play img rule in all.v25 (position:absolute;margin-top:-48px;right:25px) pulled this icon out of its button; keep it static inside the 44px circle */
.hv2 .gal-play img{position:static;margin:0;top:auto;right:auto;bottom:auto;left:auto;z-index:auto;width:44px;height:44px}
/* Admin-authored description (legacy markup, so only spacing is set here). */
.hv2 .car-desc{line-height:1.6;font-size:14.5px}
.hv2 .car-desc :where(p,ul,ol){margin:8px 0}
.hv2 .car-desc :where(ul,ol){padding-inline-start:20px}
/* .panel.car-desc, not .car-desc: it has to outrank the design's .panel h2
   (the small grey panel title). */
.hv2 .panel.car-desc :where(h1,h2,h3,h4){font-size:17px;font-weight:700;margin:16px 0 6px;letter-spacing:normal;
  text-transform:none;color:inherit;line-height:1.3}
.hv2 .car-desc img{height:auto;border-radius:10px}
/* Car FAQs, in the panel style. */
.hv2 .faq details{border-top:1px solid #edeff2}
.hv2 .faq details:first-of-type{border-top:0}
.hv2 .faq summary{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;
  font-size:14px;font-weight:700;cursor:pointer;list-style:none}
.hv2 .faq summary::-webkit-details-marker{display:none}
.hv2 .faq summary .ic{color:var(--orange);font-size:18px;flex:none;transition:transform .2s}
.hv2 .faq details[open] summary .ic{transform:rotate(180deg)}
.hv2 .faq details p{font-size:13.5px;color:#3c4149;padding-bottom:12px}

/* The WhatsApp "nudge" widget that production's header-web injects
   (.vipn-wrap, fixed bottom-right, appended to <body> so outside .hv2) would
   sit on top of the action bar. This sheet only loads on car pages, so lift it
   clear of the bar wherever the bar shows. */
@media(max-width:991px){body .vipn-wrap{bottom:calc(76px + env(safe-area-inset-bottom))!important}}

/* =====================================================================
   RTL (Arabic). Mirrors the physically-directional declarations of the car
   block; flexbox, grid and text-align:start flip on their own.
   ===================================================================== */
.hv2[dir="rtl"] .crumb .ic{transform:scaleX(-1)}
.hv2[dir="rtl"] .gal-nav.prev{left:auto;right:10px}
.hv2[dir="rtl"] .gal-nav.next{right:auto;left:10px}
.hv2[dir="rtl"] .gal-nav .ic{transform:scaleX(-1)}
.hv2[dir="rtl"] .gal-count{right:auto;left:12px}
.hv2[dir="rtl"] .gal-badge{left:auto;right:12px}
.hv2[dir="rtl"] .gal-play{left:auto;right:12px}
.hv2[dir="rtl"] .rate{text-align:right}
.hv2[dir="rtl"] .r-meta{text-align:left}
/* Bidi: "1 / 8" must not become "8 / 1", and admin spec values are usually
   English ("8- Speed Automatic", "250 Km/h"), which an RTL paragraph would
   reorder; let each value take the direction of its own text. */
.hv2[dir="rtl"] .gal-count{direction:ltr}
.hv2[dir="rtl"] .specs b{unicode-bidi:plaintext}

/* =====================================================================
   Site-bundle collisions (css/all.v25.min.css), found by diffing computed
   styles of the hand-off markup with and without the bundle. home-v2.css
   resets the bare-element rules inside section/header/footer/nav; the car
   page's own content sits in <main>, so the same resets are repeated for it.
   ===================================================================== */
.hv2 :where(main) img{vertical-align:baseline}
.hv2 :where(main) :where(h1,h2,h3,h4,h5,h6){line-height:inherit;letter-spacing:normal}

