/* «السيارات» — airport transfers and cars with a driver (reference 2026-10-12): wide hero, search card over it,
   side filters and a compact list. Site tokens: --navy #0c2b3f, --teal #18ae97. */
.cx-hero,.cx-searchwrap,.cx-results,.cx-search{--cx-navy:var(--navy,#0c2b3f);--cx-navy-2:#123a53;--cx-teal:#0e8270;--cx-line:#e4ebef;--cx-muted:#5d6f7c;--cx-ink:#10283a;--cx-soft:#f5f8fa}

/* hero: the photo, a navy veil on the text side, title and three plain promises */
.cx-hero{position:relative;color:#fff;padding:26px 0 120px;min-height:340px;
  background:linear-gradient(to left,rgba(8,26,38,.94) 0%,rgba(8,26,38,.78) 38%,rgba(8,26,38,.18) 72%,rgba(8,26,38,.05) 100%),
    var(--cx-hero-img,url("/ht/images/partners-join/car.webp")) center 58%/cover no-repeat,#0c2b3f}
[dir=ltr] .cx-hero{background:linear-gradient(to right,rgba(8,26,38,.94) 0%,rgba(8,26,38,.78) 38%,rgba(8,26,38,.18) 72%,rgba(8,26,38,.05) 100%),
    var(--cx-hero-img,url("/ht/images/partners-join/car.webp")) center 58%/cover no-repeat,#0c2b3f}
.cx-hero .crumb{color:#a9c4d1;font-size:13px;margin-bottom:18px}
.cx-hero .crumb a{color:#d7e6ee}
.cx-hero h1{font-size:clamp(28px,3.6vw,44px);font-weight:900;line-height:1.25;max-width:640px;text-wrap:balance;text-shadow:0 4px 22px rgba(4,16,24,.45)}
.cx-hero>.container>p{font-size:clamp(15px,1.5vw,19px);color:#e3eef3;margin-top:8px;max-width:600px}
.cx-perks{display:flex;flex-wrap:wrap;gap:10px 22px;list-style:none;padding:0;margin:20px 0 0}
.cx-perks li{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:700;color:#fff}
.cx-perks .icon{width:30px;height:30px;padding:6px;border-radius:9px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);color:#7fe3d2;flex:none}

/* the search card over the hero */
.cx-searchwrap{margin-top:-92px;position:relative;z-index:3}
.cx-search{background:#fff;border-radius:20px;border:1px solid rgba(12,43,63,.06);box-shadow:0 24px 56px -28px rgba(12,43,63,.45);padding:14px 18px 18px}
.cx-tabs{display:flex;gap:6px;border-bottom:1px solid var(--cx-line);margin:0 -18px 14px;padding:0 18px}
.cx-tab{margin:0;cursor:pointer}
.cx-tab input{position:absolute;opacity:0;pointer-events:none}
.cx-tab span{display:flex;align-items:center;gap:8px;padding:10px 14px 12px;font-weight:800;font-size:14.5px;color:var(--cx-muted);border-bottom:3px solid transparent;margin-bottom:-1px}
.cx-tab .icon{width:18px;height:18px}
.cx-tab input:checked+span{color:var(--cx-navy);border-bottom-color:var(--cx-navy)}
.cx-tab input:focus-visible+span{outline:2px solid var(--cx-teal);outline-offset:2px;border-radius:8px}
.cx-err{margin:0 0 12px;padding:9px 12px;border-radius:10px;background:#fde9e7;color:#9b2c1f;font-weight:700;font-size:13.5px}
.cx-fields{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:12px;align-items:end}
.cx-f{grid-column:span 3;margin:0;min-width:0}
.cx-f--wide{grid-column:span 6}
.cx-f--sm{grid-column:span 2}
.cx-f--dir{grid-column:span 3}
.cx-f>span:first-child,.cx-f>span[data-dir-label]{display:block;font-size:12.5px;font-weight:800;color:var(--cx-ink);margin-bottom:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cx-f small{font-weight:600;color:var(--cx-muted)}
.cx-in{position:relative;display:flex;align-items:center;gap:8px;height:46px;padding:0 12px;border:1px solid #d9e3e9;border-radius:12px;background:#fff;transition:border-color .15s,box-shadow .15s}
.cx-in:focus-within{border-color:var(--cx-teal);box-shadow:0 0 0 3px rgba(14,130,112,.14)}
.cx-in .icon{width:17px;height:17px;color:var(--cx-teal);flex:none}
.cx-in input,.cx-in select{flex:1;min-width:0;height:100%;border:0;outline:0;background:transparent;font:inherit;font-size:14px;color:var(--cx-ink)}
.cx-seg{display:flex;height:46px;padding:4px;border-radius:12px;background:var(--cx-soft);border:1px solid var(--cx-line);gap:4px}
.cx-seg label{flex:1;margin:0;cursor:pointer}
.cx-seg input{position:absolute;opacity:0;pointer-events:none}
.cx-seg span{display:grid;place-items:center;height:100%;border-radius:9px;font-size:13px;font-weight:800;color:var(--cx-muted);white-space:nowrap;padding:0 8px}
.cx-seg input:checked+span{background:#fff;color:var(--cx-navy);box-shadow:0 1px 3px rgba(12,43,63,.12)}
.cx-seg input:focus-visible+span{outline:2px solid var(--cx-teal);outline-offset:1px}
.cx-go{grid-column:span 3;display:flex;align-items:center;justify-content:center;gap:8px;height:46px;border:0;border-radius:12px;background:var(--cx-navy);color:#fff;font:inherit;font-weight:800;font-size:15px;cursor:pointer;box-shadow:0 12px 24px -14px rgba(12,43,63,.8);transition:background .15s}
.cx-go:hover{background:var(--cx-navy-2)}
.cx-go:focus-visible{outline:3px solid rgba(24,174,151,.45);outline-offset:2px}
.cx-go .icon{width:18px;height:18px}
[data-for][hidden]{display:none!important}

/* results */
.cx-results{padding:26px 0 56px}
.cx-notice{margin:0 0 14px;padding:10px 14px;border-radius:12px;background:#fdf3dc;color:#7a5410;font-weight:700}
.cx-start{max-width:560px;margin:10px auto 0;text-align:center;color:var(--cx-muted)}
.cx-start h2{font-size:20px;font-weight:900;color:var(--cx-ink);margin:12px 0 4px}
.cx-start__ic{display:inline-grid;place-items:center;width:58px;height:58px;border-radius:18px;background:#e3f4f0;color:var(--cx-teal)}
.cx-start__ic .icon{width:28px;height:28px}
.cx-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px;align-items:start}
.cx-grid--solo{grid-template-columns:minmax(0,1fr)}
.cx-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.cx-head h2{font-size:18px;font-weight:900;color:var(--cx-ink)}
.cx-head p{font-size:13px;color:var(--cx-muted);margin-top:2px}
.cx-tools{display:flex;gap:8px;align-items:center}
.cx-sort{display:flex;align-items:center;gap:8px;height:40px;padding:0 6px 0 12px;border:1px solid var(--cx-line);border-radius:11px;background:#fff;margin:0;font-size:13px;color:var(--cx-muted)}
[dir=rtl] .cx-sort{padding:0 12px 0 6px}
.cx-sort select{border:0;background:transparent;font:inherit;font-weight:800;color:var(--cx-ink);outline:0;height:100%}
.cx-filterbtn{display:none;align-items:center;gap:6px;height:40px;padding:0 14px;border:1px solid var(--cx-line);border-radius:11px;background:#fff;font:inherit;font-weight:800;font-size:13.5px;color:var(--cx-ink);cursor:pointer}
.cx-filterbtn .icon{width:16px;height:16px}

/* one compact row per car: price and buttons · name and specs · photo (RTL: right → left) */
.cx-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.cx-row{display:grid;grid-template-columns:200px minmax(0,1fr) 230px;grid-template-areas:"media body buy";align-items:center;gap:18px;background:#fff;border:1px solid var(--cx-line);border-radius:16px;padding:12px 16px 12px 12px;box-shadow:0 1px 2px rgba(12,43,63,.04);transition:border-color .15s,box-shadow .15s}
[dir=rtl] .cx-row{grid-template-areas:"buy body media";grid-template-columns:230px minmax(0,1fr) 200px;padding:12px 12px 12px 16px}
.cx-row:hover{border-color:#cfdde4;box-shadow:0 10px 26px -18px rgba(12,43,63,.45)}
.cx-row[hidden]{display:none}
.cx-row__media{grid-area:media;height:118px;border-radius:12px;overflow:hidden;background:linear-gradient(180deg,#f3f7f9,#e9f0f3);display:grid;place-items:center}
.cx-row__media img{width:100%;height:100%;object-fit:cover}
.cx-row__media{position:relative}.cx-row__media>.htg{position:absolute;inset:0}.cx-row__sl{width:100%;height:100%}
.cx-row__sl{display:flex;overflow:hidden}.cx-row__sl[data-htg]{cursor:zoom-in}.cx-row__sl>img{flex:0 0 100%}
.cx-row__ph .icon{width:44px;height:44px;color:#9bb0bc}
.cx-row__body{grid-area:body;min-width:0}
.cx-row__body h3{font-size:17px;font-weight:900;color:var(--cx-ink);line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cx-row__cls{font-size:13px;color:var(--cx-muted);margin:2px 0 0}
.cx-row__cls span{color:#8a9aa6}
.cx-spec{display:flex;flex-wrap:wrap;gap:6px 16px;list-style:none;padding:0;margin:10px 0 0;font-size:13px;color:#33475b;font-weight:600}
.cx-spec li{display:flex;align-items:center;gap:6px}
.cx-spec .icon{width:16px;height:16px;color:var(--cx-teal);fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cx-row__buy{grid-area:buy;display:flex;align-items:center;gap:14px;justify-content:space-between}
.cx-price{display:flex;flex-direction:column;line-height:1.2;min-width:0}
.cx-price small{font-size:11.5px;color:var(--cx-muted);font-weight:600}
.cx-price b{display:flex;align-items:center;gap:4px;font-size:23px;font-weight:900;color:var(--cx-navy);font-variant-numeric:tabular-nums;margin:2px 0}
.cx-sar{width:17px;height:17px;flex:none}
.cx-acts{display:grid;gap:8px;flex:none;width:118px}
.cx-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:0 14px;border-radius:10px;font:inherit;font-weight:800;font-size:13.5px;text-decoration:none;cursor:pointer;border:1.5px solid transparent;white-space:nowrap;transition:background .15s,border-color .15s,color .15s}
.cx-btn--primary{background:var(--cx-navy);color:#fff}
.cx-btn--primary:hover{background:var(--cx-navy-2);color:#fff}
.cx-btn--ghost{background:#fff;border-color:#c9d8e0;color:var(--cx-navy)}
.cx-btn--ghost:hover{border-color:var(--cx-navy);background:var(--cx-soft)}
.cx-btn:focus-visible{outline:3px solid rgba(24,174,151,.45);outline-offset:2px}
.cx-btn--block{width:100%}
.cx-none,.cx-empty{display:grid;justify-items:center;gap:8px;text-align:center;padding:36px 16px;background:#fff;border:1px dashed #cfdde4;border-radius:16px;color:var(--cx-muted)}
.cx-none[hidden]{display:none}
.cx-none b,.cx-empty h3{font-size:16px;font-weight:900;color:var(--cx-ink)}

/* the details window */
.cx-dlg{border:0;padding:0;border-radius:18px;width:min(620px,calc(100% - 24px));max-height:calc(100vh - 32px);box-shadow:0 30px 70px -20px rgba(4,16,24,.5);color:var(--cx-ink)}
.cx-dlg::backdrop{background:rgba(8,26,38,.55)}
.cx-dlg[open]{display:flex;flex-direction:column}
.cx-dlg__head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 18px;border-bottom:1px solid var(--cx-line)}
.cx-dlg__head h3{font-size:17px;font-weight:900}
.cx-x{width:36px;height:36px;border-radius:10px;border:1px solid var(--cx-line);background:#fff;font-size:22px;line-height:1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0;color:var(--cx-ink)}
/* a column that scrolls: each part keeps its own height (a squeezed grid let the photo run over the text) */
.cx-dlg__body{padding:16px 18px;overflow-y:auto;display:flex;flex-direction:column;gap:10px;flex:1 1 auto;min-height:0}
.cx-dlg__body>*{flex:none}
.cx-dlg__body h4{font-size:14px;font-weight:900;margin-top:4px}
.cx-gal{position:relative;border-radius:14px;overflow:hidden;background:#eef3f5;aspect-ratio:16/9}
.cx-gal img{width:100%;height:100%;object-fit:cover}
.cx-inc{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 14px;font-size:13.5px}
.cx-inc li{position:relative;padding-inline-start:20px}
.cx-inc li::before{content:"";position:absolute;inset-inline-start:2px;top:5px;width:9px;height:5px;border:solid var(--cx-teal);border-width:0 0 2px 2px;transform:rotate(-45deg)}
.cx-dlg__note{font-size:12.5px;color:var(--cx-muted);background:var(--cx-soft);border-radius:10px;padding:10px 12px;margin:4px 0 0}
.cx-dlg__foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;border-top:1px solid var(--cx-line)}

/* filters */
.cx-filters{background:#fff;border:1px solid var(--cx-line);border-radius:16px;padding:16px;display:grid;gap:4px;position:sticky;top:90px}
.cx-filters__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.cx-filters__head h2{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:900;color:var(--cx-ink)}
.cx-filters__head .icon{width:17px;height:17px;color:var(--cx-teal)}
.cx-filters__head .cx-x,.cx-filters__done{display:none}
.cx-fg{display:block;border-top:1px solid var(--cx-line);padding:12px 0 10px;margin:0;min-width:0}
.cx-fg__t{font-size:14px;font-weight:900;color:var(--cx-ink);margin:0 0 10px}
.cx-chk{position:relative;width:100%;display:flex;align-items:flex-start;gap:9px;margin:0 0 8px;cursor:pointer;font-size:13.5px;font-weight:700;color:#33475b}
.cx-chk input{position:static;opacity:1;width:17px;height:17px;margin:2px 0 0;accent-color:var(--cx-navy);flex:none;pointer-events:auto}
.cx-chk>span{flex:1;min-width:0}
.cx-chk small{display:block;font-weight:500;color:var(--cx-muted);font-size:12px}
.cx-range{position:relative;height:28px}
.cx-range input{position:absolute;inset-inline:0;top:6px;width:100%;margin:0;background:none;pointer-events:none;-webkit-appearance:none;appearance:none;height:16px}
.cx-range input::-webkit-slider-runnable-track{height:4px;background:#d9e3e9;border-radius:4px}
.cx-range input::-moz-range-track{height:4px;background:#d9e3e9;border-radius:4px}
.cx-range input::-webkit-slider-thumb{-webkit-appearance:none;pointer-events:auto;width:18px;height:18px;border-radius:50%;background:var(--cx-navy);border:3px solid #fff;box-shadow:0 1px 4px rgba(12,43,63,.4);margin-top:-7px;cursor:pointer}
.cx-range input::-moz-range-thumb{pointer-events:auto;width:14px;height:14px;border-radius:50%;background:var(--cx-navy);border:3px solid #fff;box-shadow:0 1px 4px rgba(12,43,63,.4);cursor:pointer}
.cx-range input:focus-visible::-webkit-slider-thumb{outline:3px solid rgba(24,174,151,.5)}
.cx-range__out{font-size:13px;font-weight:700;color:#33475b;margin:4px 0 0;font-variant-numeric:tabular-nums}
.cx-pills{display:flex;flex-wrap:wrap;gap:6px}
.cx-pills label{margin:0;cursor:pointer}
.cx-pills input{position:absolute;opacity:0;pointer-events:none}
.cx-pills span{display:grid;place-items:center;min-width:44px;height:36px;padding:0 10px;border:1px solid #d9e3e9;border-radius:10px;font-weight:800;font-size:13.5px;color:var(--cx-ink);background:#fff}
.cx-pills input:checked+span{background:var(--cx-navy);border-color:var(--cx-navy);color:#fff}
.cx-pills input:focus-visible+span{outline:2px solid var(--cx-teal);outline-offset:2px}
.cx-filters .cx-btn--block{margin-top:8px}

/* tablets: the search in two rows, filters above */
@media (max-width:1199.98px){
  .cx-f{grid-column:span 4}.cx-f--wide{grid-column:span 8}.cx-f--sm{grid-column:span 2}.cx-f--dir{grid-column:span 4}.cx-go{grid-column:span 4}
  .cx-row,[dir=rtl] .cx-row{grid-template-columns:160px minmax(0,1fr) 210px}
}
@media (max-width:991.98px){
  .cx-grid{grid-template-columns:minmax(0,1fr)}
  .cx-filterbtn{display:inline-flex}
  /* filters become a panel that slides in */
  .cx-filters{position:fixed;inset-block:0;inset-inline-end:0;z-index:1050;width:min(340px,92vw);border-radius:0;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;align-content:start;box-shadow:-20px 0 50px -20px rgba(4,16,24,.5)}
  [dir=rtl] .cx-filters{transform:translateX(-100%)}
  .cx-filters.is-open{transform:none}
  .cx-filters__head .cx-x,.cx-filters__done{display:inline-flex;align-items:center;justify-content:center}
  body.cx-lock{overflow:hidden}
  body.cx-lock::after{content:"";position:fixed;inset:0;background:rgba(8,26,38,.45);z-index:1040}
}
@media (max-width:767.98px){
  .cx-hero{padding:18px 0 110px;min-height:0}
  .cx-perks{gap:8px}.cx-perks li{font-size:13px}
  .cx-search{padding:10px 12px 14px;border-radius:18px}
  .cx-tabs{margin:0 -12px 12px;padding:0 6px;overflow-x:auto}
  .cx-tab span{font-size:13.5px;padding:10px;white-space:nowrap}
  .cx-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .cx-f,.cx-f--sm{grid-column:span 1}.cx-f--wide,.cx-f--dir,.cx-go{grid-column:1/-1}
  /* each car: photo and name on top, price and buttons below — still compact */
  .cx-row,[dir=rtl] .cx-row{grid-template-columns:112px minmax(0,1fr);grid-template-areas:"media body" "buy buy";gap:10px 12px;padding:10px}
  .cx-row__media{height:78px}
  .cx-row__body h3{font-size:15px;white-space:normal}
  .cx-spec{gap:4px 12px;font-size:12.5px;margin-top:6px}
  .cx-spec li:nth-child(n+4){display:none}
  .cx-row__buy{border-top:1px solid var(--cx-line);padding-top:10px}
  .cx-price b{font-size:20px}
  .cx-acts{display:flex;width:auto}
  .cx-acts .cx-btn{padding:0 12px}
  .cx-inc{grid-template-columns:minmax(0,1fr)}
}
@media (prefers-reduced-motion:reduce){.cx-filters{transition:none}}

/* the site's date and time pickers inside the search fields: one frame, not two */
.cx-in .htp{flex:1;min-width:0}
.cx-in .htp-trigger{border:0!important;box-shadow:none!important;background:transparent!important;min-height:44px;padding:0!important}
.cx-in:has(.htp){padding-inline:10px}

/* «موقع الانطلاق» / «الوجهة»: suggestions — the city's airport, its centre, or anything typed in */
.cx-f--sug{position:relative}
.cx-f--sug>label{display:block;font-size:12.5px;font-weight:800;color:var(--cx-ink);margin-bottom:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cx-sug{position:absolute;z-index:40;top:calc(100% + 8px);inset-inline:0;min-width:280px;background:#fff;border:1px solid #e3ebef;border-radius:16px;padding:8px;
  box-shadow:0 24px 50px -18px rgba(12,43,63,.35),0 6px 16px -8px rgba(12,43,63,.12);animation:cxSugIn .16s cubic-bezier(.2,.7,.2,1)}
.cx-sug[hidden]{display:none}
@keyframes cxSugIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.cx-sug__cap{display:block;font-size:11px;font-weight:800;letter-spacing:.02em;color:var(--cx-muted);padding:6px 10px 4px}
.cx-sug__opt{display:flex;align-items:center;gap:12px;width:100%;border:0;background:none;border-radius:12px;padding:9px 10px;font:inherit;text-align:start;cursor:pointer;color:var(--cx-ink)}
.cx-sug__opt:hover,.cx-sug__opt.is-act{background:#f1f7f6}
.cx-sug__ic{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;flex:none;background:#eaf5f3;color:var(--cx-teal)}
.cx-sug__ic .icon{width:18px;height:18px}
.cx-sug__opt--city .cx-sug__ic{background:#eef2f6;color:var(--cx-navy)}
.cx-sug__txt{display:grid;min-width:0}
.cx-sug__txt b{font-size:14px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cx-sug__txt small{font-size:12px;color:var(--cx-muted);font-weight:600}
.cx-sug__hint{display:flex;align-items:center;gap:8px;margin:6px 4px 2px;padding:9px 8px 4px;border-top:1px solid #edf2f4;font-size:12px;color:var(--cx-muted)}
.cx-sug__hint .icon{width:15px;height:15px;color:var(--cx-muted)}
@media (max-width:767px){.cx-sug{min-width:0}.cx-fields .cx-f--sug,.cx-fields .cx-f:has(select[name=city]){grid-column:1/-1}}
@media (prefers-reduced-motion:reduce){.cx-sug{animation:none}}

/* ===== the same search inside the home page's «السيارات» tab (site.partials.cars-search, embed) — in the home search's look ===== */
.cx-search--embed{background:transparent;border:0;box-shadow:none;padding:0;border-radius:0;animation:hsIn .35s ease}
.cx-search--embed .cx-tabs{display:inline-flex;gap:0;margin:0 4px 16px;padding:4px;border:1px solid var(--hs-line,#e4ebef);border-radius:14px;background:var(--hs-soft,#f4f8f9)}
.cx-search--embed .cx-tab span{height:40px;padding:0 18px;border:0;margin:0;border-radius:11px;font-size:14.5px;color:#4b606d;transition:background .18s,color .18s,box-shadow .18s}
.cx-search--embed .cx-tab input:checked+span{background:#fff;color:var(--hs-navy,#0c2b3f);box-shadow:0 4px 12px -4px rgba(12,43,63,.22)}
.cx-search--embed .cx-tab input:checked+span .icon{color:var(--hs-teal,#1f8f78)}
.cx-search--embed .cx-fields{gap:14px 12px}
.cx-search--embed .cx-f>span:first-child,.cx-search--embed .cx-f>span[data-dir-label],.cx-search--embed .cx-f--sug>label{font-size:14px;color:var(--hs-navy,#0c2b3f);padding-inline:4px;margin-bottom:7px}
.cx-search--embed .cx-in{height:58px;padding:0 16px;border:1.5px solid var(--hs-line,#e4ebef);border-radius:16px}
.cx-search--embed .cx-in:hover{border-color:#c9d6dd}
.cx-search--embed .cx-in:focus-within{border-color:var(--hs-teal-2,#2aa58f);box-shadow:0 0 0 4px rgba(42,165,143,.14)}
.cx-search--embed .cx-in input,.cx-search--embed .cx-in select{font-size:15px}
.cx-search--embed .cx-in .icon{width:19px;height:19px}
.cx-search--embed .cx-seg{height:58px;border-radius:16px}
.cx-search--embed .cx-go{height:58px;border-radius:16px;font-size:16.5px;background:linear-gradient(160deg,var(--hs-teal-2,#2aa58f),var(--hs-teal,#1f8f78) 55%,var(--hs-teal-d,#156b5d));
  box-shadow:0 16px 26px -14px rgba(21,107,93,.85),inset 0 1px 0 rgba(255,255,255,.25);transition:transform .18s,box-shadow .18s,filter .18s}
.cx-search--embed .cx-go:hover{transform:translateY(-2px);filter:brightness(1.05)}
.cx-search--embed .cx-err{margin:0 4px 12px}
@media (max-width:767px){
  .cx-search--embed .cx-tabs{display:flex;margin-inline:0}
  .cx-search--embed .cx-tab{flex:1}
  .cx-search--embed .cx-tab span{justify-content:center;padding:0 8px;font-size:13.5px}
  .cx-search--embed .cx-in,.cx-search--embed .cx-seg,.cx-search--embed .cx-go{height:54px}
}

/* ===== top bar: the service + one way / return ===== */
.cx-top{display:flex;align-items:flex-end;justify-content:space-between;gap:10px 16px;flex-wrap:wrap;border-bottom:1px solid var(--cx-line);margin:0 -18px 14px;padding:0 18px}
.cx-top .cx-tabs{border:0;margin:0;padding:0}
.cx-trip{display:inline-flex;gap:4px;padding:4px;margin-bottom:8px;border-radius:12px;background:var(--cx-soft);border:1px solid var(--cx-line)}
.cx-trip[hidden]{display:none}
.cx-trip label{margin:0;cursor:pointer;position:relative}
.cx-trip input{position:absolute;opacity:0;pointer-events:none}
.cx-trip span{display:flex;align-items:center;gap:7px;height:34px;padding:0 14px;border-radius:9px;font-size:13.5px;font-weight:800;color:var(--cx-muted);transition:background .15s,color .15s,box-shadow .15s}
.cx-trip .icon{width:15px;height:15px}
[dir=rtl] .cx-trip label:first-child .icon{transform:none}
[dir=ltr] .cx-trip label:first-child .icon{transform:scaleX(-1)}
.cx-trip input:checked+span{background:#fff;color:var(--cx-navy);box-shadow:0 3px 10px -4px rgba(12,43,63,.25)}
.cx-trip input:checked+span .icon{color:var(--cx-teal)}
.cx-trip input:focus-visible+span{outline:2px solid var(--cx-teal);outline-offset:2px}
/* the return fields: a soft teal tint so they read as «the way back» */
.cx-f--ret .cx-in{background:#f3faf8;border-color:#cfe7e1}
.cx-f--ret>span:first-child{color:var(--cx-teal)}
.cx-search.is-round .cx-f--ret{animation:cxSugIn .2s ease}
/* suggestion list: groups + scrolling */
.cx-sug{max-height:min(420px,60vh);overflow-y:auto;overscroll-behavior:contain}
.cx-sug__cap{border-top:1px solid #edf2f4;margin-top:4px;padding-top:9px}
.cx-sug__cap:first-child{border-top:0;margin-top:0}
.cx-sug__opt--dist .cx-sug__ic{background:#f4f6f8;color:#5d6f7c}
/* embedded (home): same top bar in the home look */
.cx-search--embed .cx-top{border:0;margin:0 0 14px;padding:0 4px;align-items:center}
.cx-search--embed .cx-top .cx-tabs{margin:0}
.cx-search--embed .cx-trip{margin:0;border-radius:14px;border-color:var(--hs-line,#e4ebef);background:var(--hs-soft,#f4f8f9)}
.cx-search--embed .cx-trip span{height:40px;border-radius:11px;font-size:14px}
@media (max-width:767px){
  .cx-top{margin:0 -12px 12px;padding:0 12px}
  .cx-trip{width:100%;margin-bottom:10px}.cx-trip label{flex:1}.cx-trip span{justify-content:center}
  .cx-search--embed .cx-top{margin:0 0 12px;padding:0}
}

/* ===== the booking steps (results page) ===== */
.cx-steps{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0 0 18px;padding:14px 18px;background:#fff;border:1px solid var(--cx-line);border-radius:16px;counter-reset:cxs}
.cx-steps li{position:relative;display:flex;align-items:center;gap:10px;min-width:0;font-size:13.5px;font-weight:800;color:var(--cx-muted)}
.cx-steps li:not(:last-child)::after{content:"";flex:1;height:2px;border-radius:2px;background:var(--cx-line);margin-inline:8px}
.cx-steps .n{width:30px;height:30px;border-radius:50%;flex:none;display:grid;place-items:center;font-size:13px;font-weight:900;border:2px solid var(--cx-line);color:var(--cx-muted);background:#fff}
.cx-steps .t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cx-steps .t small{display:block;font-size:11.5px;font-weight:600;color:var(--cx-muted)}
.cx-steps .is-done{color:var(--cx-ink)}
.cx-steps .is-done .n{background:var(--cx-teal);border-color:var(--cx-teal);color:#fff}
.cx-steps .is-done::after{background:var(--cx-teal)!important}
.cx-steps .is-cur{color:var(--cx-navy)}
.cx-steps .is-cur .n{border-color:var(--cx-navy);color:var(--cx-navy);box-shadow:0 0 0 4px rgba(12,43,63,.08)}
@media (max-width:767px){
  .cx-steps{padding:12px;gap:4px}
  .cx-steps li{flex-direction:column;gap:6px;text-align:center;font-size:11.5px}
  .cx-steps li:not(:last-child)::after{position:absolute;top:15px;inset-inline-start:calc(50% + 20px);inset-inline-end:calc(-50% + 20px);margin:0}
  .cx-steps .t{white-space:normal}.cx-steps .t small{display:none}
}

/* the provider's cancellation policy on each result */
.cx-pol{display:inline-flex;align-items:center;gap:6px;margin:8px 0 0;font-size:12.5px;font-weight:800;color:#0b6b5c}
.cx-pol .icon{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.cx-pol--strict{color:#9a5b00}

/* ===== one look with the home page search and the site's teal buttons (the /cars page and its results) ===== */
.cx-hero,.cx-searchwrap,.cx-results,.cx-search{--cx-acc:#1f8f78;--cx-acc-2:#2aa58f;--cx-acc-d:#156b5d;--cx-acc-soft:#e9f7f4;
  --cx-grad:linear-gradient(160deg,var(--cx-acc-2),var(--cx-acc) 55%,var(--cx-acc-d))}
/* search card: pill tabs, roomy rounded fields, the teal gradient button — as on the home page */
.cx-search:not(.cx-search--embed){border-radius:24px;padding:18px 20px 20px}
.cx-search:not(.cx-search--embed) .cx-top{border-bottom:0;margin:0 0 16px;padding:0;align-items:center}
.cx-search:not(.cx-search--embed) .cx-tabs{display:inline-flex;gap:0;margin:0;padding:4px;border:1px solid var(--cx-line);border-radius:14px;background:#f4f8f9}
.cx-search:not(.cx-search--embed) .cx-tab span{height:40px;padding:0 18px;border:0;margin:0;border-radius:11px;font-size:14.5px;color:#4b606d;transition:background .18s,color .18s,box-shadow .18s}
.cx-search:not(.cx-search--embed) .cx-tab input:checked+span{background:#fff;color:var(--cx-navy);box-shadow:0 4px 12px -4px rgba(12,43,63,.22)}
.cx-search:not(.cx-search--embed) .cx-tab input:checked+span .icon{color:var(--cx-acc)}
.cx-search:not(.cx-search--embed) .cx-trip{margin:0;border-radius:14px;background:#f4f8f9}
.cx-search:not(.cx-search--embed) .cx-trip span{height:40px;border-radius:11px;font-size:14px}
.cx-search:not(.cx-search--embed) .cx-fields{gap:14px 12px}
.cx-search:not(.cx-search--embed) .cx-f>span:first-child,.cx-search:not(.cx-search--embed) .cx-f>span[data-dir-label],.cx-search:not(.cx-search--embed) .cx-f--sug>label{font-size:14px;color:var(--cx-navy);padding-inline:4px;margin-bottom:7px}
.cx-search:not(.cx-search--embed) .cx-in{height:54px;padding:0 16px;border:1.5px solid var(--cx-line);border-radius:16px}
.cx-search:not(.cx-search--embed) .cx-in:hover{border-color:#c9d6dd}
.cx-search .cx-in:focus-within{border-color:var(--cx-acc-2);box-shadow:0 0 0 4px rgba(42,165,143,.14)}
.cx-search .cx-in .icon{color:var(--cx-acc)}
.cx-search:not(.cx-search--embed) .cx-seg{height:54px;border-radius:16px}
.cx-search .cx-seg input:checked+span,.cx-search .cx-trip input:checked+span{color:var(--cx-acc-d)}
.cx-search:not(.cx-search--embed) .cx-go{height:54px;border-radius:16px;font-size:16px}
.cx-go{background:var(--cx-grad);box-shadow:0 16px 26px -14px rgba(21,107,93,.85),inset 0 1px 0 rgba(255,255,255,.25);transition:transform .18s,box-shadow .18s,filter .18s}
.cx-go:hover{background:var(--cx-grad);transform:translateY(-2px);filter:brightness(1.05)}
.cx-go:active{transform:none}
@media (max-width:767px){
  .cx-search:not(.cx-search--embed){padding:14px 14px 16px;border-radius:20px}
  .cx-search:not(.cx-search--embed) .cx-tabs{display:flex;width:100%}
  .cx-search:not(.cx-search--embed) .cx-tab{flex:1}
  .cx-search:not(.cx-search--embed) .cx-tab span{justify-content:center;padding:0 8px;font-size:13.5px}
  .cx-search:not(.cx-search--embed) .cx-trip{width:100%}
}
/* results: teal actions, steps and filters */
.cx-btn--primary{background:var(--cx-grad);color:#fff;box-shadow:0 10px 20px -12px rgba(21,107,93,.8),inset 0 1px 0 rgba(255,255,255,.2);transition:filter .15s,transform .15s}
.cx-btn--primary:hover{background:var(--cx-grad);color:#fff;filter:brightness(1.06);transform:translateY(-1px)}
.cx-btn--ghost{border-color:#bfe0d8;color:var(--cx-acc-d)}
.cx-btn--ghost:hover{border-color:var(--cx-acc);background:var(--cx-acc-soft);color:var(--cx-acc-d)}
.cx-steps .is-done .n{background:var(--cx-acc);border-color:var(--cx-acc)}
.cx-steps .is-done::after{background:var(--cx-acc)!important}
.cx-steps .is-cur{color:var(--cx-acc-d)}
.cx-steps .is-cur .n{border-color:var(--cx-acc);color:#fff;background:var(--cx-grad);box-shadow:0 0 0 4px rgba(42,165,143,.16)}
.cx-pills input:checked+span{background:var(--cx-acc);border-color:var(--cx-acc)}
.cx-chk input{accent-color:var(--cx-acc)}
.cx-range input::-webkit-slider-thumb{background:var(--cx-acc)}
.cx-range input::-moz-range-thumb{background:var(--cx-acc)}
.cx-filterbtn:hover{border-color:var(--cx-acc);color:var(--cx-acc-d)}
.cx-row:hover{border-color:#bfe0d8}

/* ===== car with driver by the day: the drop-off date and the days count; three service tabs ===== */
.cx-f--4{grid-column:span 4}
.cx-f__lbl{display:flex!important;align-items:center;gap:8px;overflow:visible!important}
.cx-days{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:999px;background:var(--cx-acc-soft,#e9f7f4);color:var(--cx-acc-d,#156b5d);font-size:12px;font-weight:800;white-space:nowrap;font-variant-numeric:tabular-nums}
.cx-days[hidden]{display:none}
.cx-days.is-over{background:#fdeeea;color:#9a2f1b}
.cx-search.is-days .cx-f--edate .cx-in{background:#f3faf8;border-color:#cfe7e1}
@media (max-width:767.98px){
  .cx-fields .cx-f--4{grid-column:1/-1}
  .cx-search .cx-tab span{gap:6px;padding:0 6px;font-size:12.5px}
  .cx-search .cx-tab .icon{width:16px;height:16px}
}
@media (max-width:767.98px){
  /* three tabs on a phone: equal columns, the icon over a short two-line label */
  .cx-search .cx-tabs,.cx-search--embed .cx-tabs{display:flex;width:100%;overflow:visible}
  .cx-search .cx-tab,.cx-search--embed .cx-tab{flex:1 1 0;min-width:0}
  .cx-search .cx-tab span,.cx-search--embed .cx-tab span{flex-direction:column;justify-content:center;gap:3px;height:auto;min-height:56px;padding:6px 4px;white-space:normal;text-align:center;line-height:1.3;font-size:12.5px}
}

/* «شامل الضريبة» under each price (prices include 15% VAT) */
.cx-vat{display:inline-flex;align-self:flex-start;align-items:center;margin:1px 0 3px;padding:1px 8px;border-radius:999px;background:var(--cx-acc-soft,#e9f7f4);color:var(--cx-acc-d,#156b5d);font-style:normal;font-size:11px;font-weight:800;white-space:nowrap}
