/* Fanadiquna Cars v2 — listings & filters (phase 4). Loaded only on v2 listing pages. */
body.fcr-page-list{margin:0;background:var(--fcr-sand);font-family:var(--fcr-font);color:var(--fcr-ink)}
.fcr-list{display:block;padding:var(--fcr-s5) 0 var(--fcr-s7)}
.fcr-list h1,.fcr-list h2,.fcr-list h3{font-family:var(--fcr-font);margin:0;color:var(--fcr-ink)}
.fcr-list .fcr-crumbs ol{display:flex;flex-wrap:wrap;gap:6px;align-items:center;list-style:none;margin:0;padding:0}
.fcr-list .fcr-crumbs li{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--fcr-muted)}
.fcr-list .fcr-crumbs li + li::before{content:"‹"!important;color:var(--fcr-line-2)}
.fcr-list__hd{margin-bottom:var(--fcr-s5)}
.fcr-list__h1{font-size:clamp(24px,3vw,34px)!important;font-weight:800;line-height:1.3;margin-top:6px!important}
.fcr-list__lead{margin-top:6px!important;color:var(--fcr-ink-2);font-size:15.5px}
.fcr-list__grid{display:grid;grid-template-columns:280px minmax(0,1fr);gap:var(--fcr-s5);align-items:start}
.fcr-list__count{font-weight:700;font-size:15px;margin-bottom:var(--fcr-s3)!important}
.fcr-list__note{margin-top:var(--fcr-s4)!important;color:var(--fcr-ink-2)}
.fcr-list__note a{color:var(--fcr-petrol);font-weight:700;text-decoration:underline!important}
.fcr-cars--list{grid-template-columns:repeat(3,minmax(0,1fr))}

/* filters */
.fcr-ft-bar{display:none}
.fcr-ft{position:sticky;top:calc(var(--fcr-hh) + var(--fcr-adm,0px) + 16px);background:var(--fcr-paper);border:1px solid var(--fcr-line);border-radius:var(--fcr-r-l);padding:var(--fcr-s4);display:flex;flex-direction:column;gap:var(--fcr-s4)}
.fcr-ft__hd{display:flex;justify-content:space-between;align-items:center}
.fcr-ft__title{font-weight:800;font-size:16px}
.fcr-ft__x{display:none}
.fcr-ft__grp{border:0;margin:0;padding:0;min-width:0}
.fcr-ft__lbl{display:block;font-weight:700;font-size:13.5px;color:var(--fcr-ink-2);margin-bottom:8px;padding:0}
.fcr-ft__q{width:100%;height:44px;border:1.5px solid var(--fcr-line-2);border-radius:var(--fcr-r-m);padding:0 12px;font:inherit;font-size:15px;background:#fff;color:var(--fcr-ink)}
.fcr-ft__q:focus{outline:3px solid var(--fcr-amber);outline-offset:1px;border-color:var(--fcr-petrol)}
.fcr-ft__opts{display:flex;flex-wrap:wrap;gap:6px}
.fcr-opt{position:relative;cursor:pointer}
.fcr-opt input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.fcr-opt span{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 12px;border-radius:var(--fcr-pill);border:1.5px solid var(--fcr-line-2);background:#fff;font-size:14px;font-weight:600}
.fcr-opt small{font-size:12px;color:var(--fcr-muted);font-weight:600}
.fcr-opt input:checked + span{background:var(--fcr-petrol);border-color:var(--fcr-petrol);color:#fff}
.fcr-opt input:checked + span small{color:#CFE3E1}
.fcr-opt input:focus-visible + span{outline:3px solid var(--fcr-amber);outline-offset:2px}
.fcr-opt.is-off span{opacity:.45;cursor:not-allowed}
.fcr-ft__act{display:flex;flex-wrap:wrap;gap:8px}
.fcr-ft__act .fcr-btn{flex:1 1 auto}
.fcr-badge{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:var(--fcr-pill);background:var(--fcr-amber);color:var(--fcr-ink);font-size:12.5px;font-weight:800}

/* active chips */
.fcr-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:var(--fcr-s4)!important}
.fcr-chips a{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;border-radius:var(--fcr-pill);background:var(--fcr-petrol-50);color:var(--fcr-petrol);font-weight:700;font-size:13.5px}
.fcr-chips svg{width:14px;height:14px}

/* empty states */
.fcr-empty{background:var(--fcr-paper);border:1px dashed var(--fcr-line-2);border-radius:var(--fcr-r-l);padding:var(--fcr-s6);text-align:center}
.fcr-empty h2{font-size:20px!important;font-weight:800;margin-bottom:8px!important}
.fcr-empty p{color:var(--fcr-ink-2);margin-bottom:var(--fcr-s4)!important}
.fcr-empty--dest{text-align:start}
.fcr-alts{display:grid;grid-template-columns:1fr 1fr;gap:var(--fcr-s4)}
.fcr-alt{background:var(--fcr-sand);border-radius:var(--fcr-r-m);padding:var(--fcr-s4)}
.fcr-alt h3{font-size:16px!important;font-weight:800;margin-bottom:8px!important}
.fcr-alt a{display:inline-flex;min-height:40px;align-items:center;color:var(--fcr-petrol);font-weight:700;text-decoration:underline!important;text-underline-offset:4px}

/* pager */
.fcr-pager ul{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin-top:var(--fcr-s6)!important}
.fcr-pager a,.fcr-pager span{display:inline-grid;place-items:center;min-width:44px;height:44px;padding:0 12px;border-radius:var(--fcr-r-m);border:1.5px solid var(--fcr-line-2);background:#fff;font-weight:700}
.fcr-pager a:hover{border-color:var(--fcr-petrol);color:var(--fcr-petrol)}
.fcr-pager span[aria-current]{background:var(--fcr-petrol);border-color:var(--fcr-petrol);color:#fff}

/* driver services on light background */
.fcr-drvs--light .fcr-drv{background:var(--fcr-ink)}

@media (max-width:1079px){
  .fcr-list__grid{grid-template-columns:1fr}
  .fcr-cars--list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fcr-ft-bar{display:flex;align-items:center;gap:var(--fcr-s3);margin-bottom:var(--fcr-s4)}
  .fcr-ft-open{cursor:pointer}
  .fcr-ft-clear{color:var(--fcr-petrol);font-weight:700;text-decoration:underline!important;text-underline-offset:4px;min-height:44px;display:inline-flex;align-items:center}
  .fcr-ft{display:none;position:fixed;inset:0;top:auto;max-height:86vh;overflow:auto;z-index:1003;border-radius:20px 20px 0 0;padding-bottom:calc(var(--fcr-s5) + env(safe-area-inset-bottom));box-shadow:0 -12px 40px rgba(15,30,38,.25)}
  .fcr-ft-toggle:checked ~ .fcr-ft{display:flex}
  .fcr-ft-toggle:checked ~ .fcr-ft-bar::after{content:"";position:fixed;inset:0;background:rgba(15,30,38,.45);z-index:1002}
  .fcr-ft__x{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:var(--fcr-r-m);border:1.5px solid var(--fcr-line-2);cursor:pointer}
  .fcr-ft__act{position:sticky;bottom:calc(-1 * var(--fcr-s5));background:#fff;padding-top:8px}
  .fcr-ft__act .fcr-btn{min-height:50px}
  body.fcr-ft-on .fcr-mbar{display:none}
}
@media (max-width:640px){
  .fcr-list{padding-top:var(--fcr-s4)}
  .fcr-cars--list{grid-template-columns:1fr}
  .fcr-alts{grid-template-columns:1fr}
  .fcr-empty{padding:var(--fcr-s5) var(--fcr-s4)}
}
/* narrow grid cards: price line above a full-width details button */
.fcr-cars--list .fcr-car__foot{flex-direction:column;align-items:stretch;gap:8px}
.fcr-cars--list .fcr-car__more{justify-content:center}
@media (max-width:640px){.fcr-cars--list .fcr-car__foot{flex-direction:row;align-items:center}}
