/* The Local results map (local-map.js): the map picture (#lmrTile) and the map view (#lmrMapView).
   Phones and tablets (<1024px): full screen over the page, under the filter sheet (.lm-ov 2000 / .lm-sheet 2001),
   controls clear of the status bar. Desktop (≥1024px): the picture tops the results' left column; the map sits
   under the site header, three columns.
   The canvas is dir=ltr (the map never mirrors); the controls around it follow the page direction. */

/* ---- the map picture ---- */
.lmr-tile{position:relative;display:block;box-sizing:border-box;width:100%;height:120px;margin:0 0 12px;padding:0;border:1px solid var(--line,#E7E4DC);border-radius:16px;overflow:hidden;background:#E9E5DC;cursor:pointer;-webkit-tap-highlight-color:transparent}
.lmr-tile[hidden]{display:none}
.lmr-tile-img{display:block;width:100%;height:100%;object-fit:cover}
.lmr-tile.is-broken .lmr-tile-img{visibility:hidden}
.lmr-tile.is-broken{background:linear-gradient(135deg,#EDE9E1 25%,#E4DFD5 25%,#E4DFD5 50%,#EDE9E1 50%,#EDE9E1 75%,#E4DFD5 75%) 0 0/24px 24px}
.lmr-tile-cta{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 18px;border-radius:999px;background:#0B0F14;color:#fff;font:800 14.5px/1 "Manrope",system-ui,sans-serif;white-space:nowrap;box-shadow:0 10px 24px -10px rgba(11,15,20,.55);transition:transform .15s ease}
.lmr-tile:hover .lmr-tile-cta{background:#1E242B}
.lmr-tile:active .lmr-tile-cta{transform:translate(-50%,-50%) scale(.97)}
.lmr-tile:focus-visible{outline:2px solid #FF5400;outline-offset:2px}
.lmr-place-chip{background:#fff;color:var(--ink,#0B0F14);border-color:var(--line,#E7E4DC)}
.lmr-place-chip ph-icon:first-child{color:#FF5400;opacity:1}

/* ---- the map view (phones and tablets) ---- */
html.lmv-open,html.lmv-open body{overflow:hidden}
.lmv{position:fixed;inset:0;z-index:1500;background:#E9E5DC;color:var(--ink,#0B0F14);font-family:"Manrope",system-ui,sans-serif;overscroll-behavior:contain}
.lmv[hidden]{display:none}
.lmv-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.lmv-map{position:absolute;inset:0;overflow:hidden}
.lmv-canvas{position:absolute;inset:0;touch-action:none}
.lmv-top{position:absolute;z-index:3;top:calc(env(safe-area-inset-top,0px) + 10px);inset-inline:12px;display:flex;align-items:center;justify-content:space-between;gap:10px;pointer-events:none}
.lmv-top > *{pointer-events:auto}
.lmv-x,.lmv-filters-btn,.lmv-close,.lmv-zoom button{border:0;background:#fff;color:#0B0F14;cursor:pointer;box-shadow:0 6px 18px -6px rgba(11,15,20,.35),0 0 0 1px rgba(11,15,20,.06);-webkit-tap-highlight-color:transparent}
.lmv-x{display:grid;place-items:center;width:44px;height:44px;padding:0;border-radius:50%}
.lmv-filters-btn{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 16px;border-radius:999px;font:800 14.5px/1 "Manrope",system-ui,sans-serif}
.lmv-count-badge{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;box-sizing:border-box;border-radius:999px;background:#FF5400;color:#fff;font:800 11.5px/1 "Manrope",system-ui,sans-serif;font-style:normal}
.lmv-count-badge[hidden]{display:none}
.lmv-x:focus-visible,.lmv-filters-btn:focus-visible,.lmv-close:focus-visible,.lmv-zoom button:focus-visible{outline:2px solid #FF5400;outline-offset:2px}
.lmv-status{position:absolute;z-index:3;left:50%;top:calc(env(safe-area-inset-top,0px) + 66px);transform:translateX(-50%);display:flex;align-items:center;gap:10px;max-width:calc(100% - 32px);box-sizing:border-box;padding:10px 16px;border-radius:999px;background:#fff;box-shadow:0 8px 22px -8px rgba(11,15,20,.35);font:700 13.5px/1.3 "Manrope",system-ui,sans-serif}
.lmv-status[hidden]{display:none}
.lmv-status button{flex:none;height:30px;padding:0 12px;border:0;border-radius:999px;background:#0B0F14;color:#fff;font:800 13px/1 "Manrope",system-ui,sans-serif;cursor:pointer}
.lmv-spin{flex:none;width:16px;height:16px;border:2.5px solid rgba(11,15,20,.15);border-top-color:#FF5400;border-radius:50%;animation:lmv-spin .8s linear infinite}
@keyframes lmv-spin{to{transform:rotate(360deg)}}
.lmv.is-loading .lmv-pins{opacity:.55;transition:opacity .2s}
/* Above Google's attribution (bottom right of the canvas, physical in every language). */
.lmv-osm{position:absolute;z-index:2;right:0;bottom:calc(env(safe-area-inset-bottom,0px) + 15px);margin:0;padding:1px 6px;background:rgba(255,255,255,.75);color:#444;font:500 10px/1.4 Roboto,Arial,sans-serif;direction:ltr;pointer-events:auto}
.lmv-osm a{color:inherit}

/* ---- pins (inside the ltr canvas) ---- */
.lmv-pins{position:absolute;left:0;top:0}
.lmv-pin{position:absolute;z-index:1;transform:translate(-50%,calc(-100% - 7px));display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 10px;box-sizing:border-box;border:0;border-radius:10px;background:#14181D;color:#fff;font:800 13px/1 "Manrope",system-ui,sans-serif;white-space:nowrap;cursor:pointer;box-shadow:0 6px 14px -6px rgba(0,0,0,.5);-webkit-tap-highlight-color:transparent;transition:background-color .12s ease,box-shadow .12s ease}
.lmv-pin::after{content:"";position:absolute;left:50%;bottom:-5px;width:11px;height:11px;margin-left:-5.5px;background:inherit;transform:rotate(45deg);border-radius:0 0 3px 0}
.lmv-pin-t{position:relative;z-index:1}
.lmv-pin ph-icon{position:relative;z-index:1;opacity:.75}
.lmv-pin-tm{position:relative;z-index:1;flex:none;width:8px;height:8px;border-radius:50%;background:#FF5400;box-shadow:0 0 0 1.5px #fff}
.lmv-pin-ap{position:relative;z-index:1;font-weight:700;opacity:.8}
.lmv-pin.is-wilaya{transform:translate(-50%,-50%);min-width:36px;height:36px;padding:0 10px;justify-content:center;border-radius:999px;border:2px solid #fff;font-size:13.5px}
.lmv-pin.is-wilaya::after{display:none}
.lmv-pin.is-stack{box-shadow:3px -3px 0 0 rgba(20,24,29,.35),0 6px 14px -6px rgba(0,0,0,.5)}
.lmv-pin.is-approx{background:#3C4148;outline:1.5px dashed rgba(255,255,255,.85);outline-offset:-4px}
.lmv-pin.is-out{background:#fff;color:#14181D;box-shadow:0 0 0 1px #CFCAC0,0 6px 14px -6px rgba(0,0,0,.4)}
.lmv-pin.is-out .lmv-pin-ap{opacity:.6}
.lmv-pin.is-out.is-approx{outline-color:rgba(20,24,29,.45)}
.lmv-pin.is-hover{z-index:4;box-shadow:0 0 0 3px #FF5400,0 8px 18px -6px rgba(0,0,0,.5)}
.lmv-pin.is-on{z-index:5;background:#FF5400;color:#fff;box-shadow:0 0 0 2px #fff,0 10px 22px -8px rgba(0,0,0,.55)}
.lmv-pin.is-on .lmv-pin-tm{background:#fff;box-shadow:none}
.lmv-pin:focus-visible{z-index:5;outline:2px solid #FF5400;outline-offset:3px}
@media (hover:hover){.lmv-pin:hover{z-index:4;background:#2A3038}.lmv-pin.is-out:hover{background:#F3F1EC}.lmv-pin.is-on:hover{background:#E04A00}}

/* ---- the selected place's cars: bottom card / strip (phones), popup (desktop) ---- */
.lmv-sheet{position:absolute;z-index:3;inset-inline:10px;bottom:calc(env(safe-area-inset-bottom,0px) + 34px);animation:lmv-up .22s ease-out}
.lmv-sheet[hidden]{display:none}
@keyframes lmv-up{from{transform:translateY(24px);opacity:0}}
.lmv-strip-head{display:flex;align-items:center;justify-content:space-between;gap:12px;width:max-content;max-width:100%;box-sizing:border-box;margin:0 0 8px;padding:6px 6px 6px 14px;border-radius:999px;background:#fff;box-shadow:0 6px 18px -8px rgba(11,15,20,.35);font:800 14px/1.2 "Manrope",system-ui,sans-serif}
html[dir="rtl"] .lmv-strip-head{padding:6px 14px 6px 6px}
.lmv-strip-list{flex:none;height:32px;padding:0 14px;border:0;border-radius:999px;background:#0B0F14;color:#fff;font:800 13px/1 "Manrope",system-ui,sans-serif;cursor:pointer}
.lmv-strip{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin:0 -10px;padding:0 10px 2px;scroll-padding-inline:10px}
.lmv-strip::-webkit-scrollbar{display:none}
.lmv-strip > .lmv-card{flex:0 0 86%;scroll-snap-align:start}
.lmv-card{position:relative;display:flex;gap:12px;box-sizing:border-box;min-width:0;padding:10px;border-radius:18px;background:#fff;color:#0B0F14;text-decoration:none;box-shadow:0 14px 34px -14px rgba(11,15,20,.45),0 0 0 1px rgba(11,15,20,.05);-webkit-tap-highlight-color:transparent}
.lmv-card:focus-visible{outline:2px solid #FF5400;outline-offset:2px}
.lmv-card-photo{position:relative;flex:none;width:116px;height:98px;border-radius:12px;overflow:hidden;background:#EFECE6 url("/no-image-car.webp") center/cover no-repeat}
.lmv-card-photo img{display:block;width:100%;height:100%;object-fit:cover}
.lmv-card-src,.lmv-card-tm{position:absolute;top:6px;inset-inline-start:6px;max-width:calc(100% - 12px);overflow:hidden;text-overflow:ellipsis;padding:3px 7px;border-radius:999px;font:800 10.5px/1.2 "Manrope",system-ui,sans-serif;white-space:nowrap}
.lmv-card-src{background:rgba(255,255,255,.94);color:#0B0F14;box-shadow:0 0 0 1px rgba(11,15,20,.08)}
.lmv-card-tm{background:#FF5400;color:#fff}
.lmv-card-body{display:flex;flex-direction:column;justify-content:center;gap:3px;min-width:0;flex:1}
.lmv-card-title{overflow:hidden;font:800 15px/1.25 "Sora","Manrope",system-ui,sans-serif;white-space:nowrap;text-overflow:ellipsis}
.lmv-card-price{font:800 16px/1.25 "Manrope",system-ui,sans-serif;color:#0B0F14}
.lmv-card-price.is-none{font-size:13.5px;font-weight:700;color:var(--muted,#5C6167)}
.lmv-card-specs,.lmv-card-place,.lmv-card-ext{display:flex;align-items:center;gap:0;min-width:0;overflow:hidden;color:var(--muted,#5C6167);font:600 12.5px/1.35 "Manrope",system-ui,sans-serif;white-space:nowrap}
.lmv-card-specs > span,.lmv-card-place > span{flex:none;unicode-bidi:isolate}
.lmv-card-place > span:last-child{flex:0 1 auto;overflow:hidden;text-overflow:ellipsis}
.lmv-card-place ph-icon{flex:none;margin-inline-end:4px;color:#FF5400}
.lmv-card-ext{gap:4px;color:#0B0F14;font-weight:700;font-size:12px;white-space:normal}
.lmv-card.is-skel .lmv-card-photo{background:#EFECE6}
.lmv-card.is-skel .lmv-card-body i{display:block;height:12px;border-radius:6px;background:#EFECE6}
.lmv-card.is-skel .lmv-card-body i:nth-child(1){width:70%}
.lmv-card.is-skel .lmv-card-body i:nth-child(2){width:40%;height:16px}
.lmv-card.is-skel .lmv-card-body i:nth-child(3){width:55%}
.lmv-cars-err{margin:0;padding:16px;border-radius:18px;background:#fff;font:700 14px/1.4 "Manrope",system-ui,sans-serif;box-shadow:0 14px 34px -14px rgba(11,15,20,.45)}
.lmv-pop{position:absolute;z-index:6;transform:translate(-50%,calc(-100% - 48px));width:300px;box-sizing:border-box;padding:8px;border-radius:18px;background:#fff;box-shadow:0 18px 40px -16px rgba(11,15,20,.5),0 0 0 1px rgba(11,15,20,.06);cursor:auto}
.lmv-pop .lmv-strip-head{width:auto;margin:2px 30px 6px 6px;padding:0;box-shadow:none;font-size:13.5px}
.lmv-pop[dir="rtl"] .lmv-strip-head{margin:2px 6px 6px 30px}
.lmv-pop .lmv-card{box-shadow:none;padding:6px}
.lmv-pop .lmv-one .lmv-card{flex-direction:column;gap:8px}
.lmv-pop .lmv-one .lmv-card-photo{width:100%;height:150px}
.lmv-pop .lmv-rows{display:flex;flex-direction:column;gap:2px}
.lmv-pop .lmv-card.is-row .lmv-card-photo{width:72px;height:56px;border-radius:10px}
.lmv-pop .lmv-card.is-row .lmv-card-src,.lmv-pop .lmv-card.is-row .lmv-card-tm{display:none}
.lmv-pop .lmv-card.is-row:hover{background:#F5F3EE}
.lmv-pop-x{position:absolute;z-index:2;top:8px;inset-inline-end:8px;display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.94);color:#0B0F14;cursor:pointer;box-shadow:0 0 0 1px rgba(11,15,20,.08)}
.lmv-pop::after{content:"";position:absolute;left:50%;bottom:-7px;width:14px;height:14px;margin-left:-7px;background:#fff;transform:rotate(45deg);box-shadow:3px 3px 6px -3px rgba(11,15,20,.25)}

/* ---- desktop: filters | list | map, under the site header ---- */
@media screen and (min-width: 1024px) {
  .lmr-tile{margin:0}
  /* the top of the results' left column (#lmrSide, desktop-local.css), Booking's small map */
  #s-local-results .lmr-side > .lmr-tile{height:160px;margin:0;border-radius:var(--tm-radius-card);border-color:var(--tm-border)}
  .lmr-tile-cta{height:46px;padding:0 20px;font-size:15px}

  .lmv{top:calc(var(--tm-header-h) + 1px);z-index:50;display:grid;grid-template-columns:300px 420px minmax(0,1fr);background:var(--tm-cream);color:var(--tm-ink)}
  .lmv[hidden]{display:none}
  .lmv-filters{min-height:0;overflow-y:auto;box-sizing:border-box;padding:18px 20px 24px;border-inline-end:1px solid var(--tm-border);background:var(--tm-surface)}
  .lmv-filters-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--tm-border)}
  .lmv-h{margin:0;font:800 18px/1.2 "Sora","Manrope",system-ui,sans-serif}
  /* The filter screen as an instant-apply column: no count button, tighter sections. */
  .lmv-filters .lm-filter-form{padding:0;overflow:visible}
  .lmv-filters .lmf-sec{gap:10px;padding:16px 0}
  #lmvFilters .lmf-h{font-size:15px}
  #lmvFilters .lmf-row{min-height:38px;font-size:14px}
  .lmv-filters .lmf-chart{height:56px}
  .lmv-filters .lm-f input,.lmv-filters .lm-f select{min-height:44px;font-size:15px}
  #lmvFilters .lmf-smart-q{font-size:15px;min-height:64px}
  .lmv-list{display:flex;flex-direction:column;min-height:0;border-inline-end:1px solid var(--tm-border)}
  .lmv-list-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px 12px}
  .lmv-count{margin:0;font:800 15px/1.3 "Manrope",system-ui,sans-serif}
  .lmv-sort .lm-sort{position:relative}
  .lmv-sort .lmr-menu{inset-inline-end:0;inset-inline-start:auto}
  .lmv-cards{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding:2px 18px 12px}
  .lmv-cards.is-loading{opacity:.6;transition:opacity .2s}
  .lmv-cards .lmv-card{flex:none;box-shadow:0 0 0 1px var(--tm-border);transition:box-shadow .12s ease}
  .lmv-cards .lmv-card:hover,.lmv-cards .lmv-card.is-hl{box-shadow:0 0 0 2px var(--tm-orange),0 10px 24px -14px rgba(11,15,20,.4)}
  .lmv-cards .lmv-card-photo{width:128px;height:96px}
  .lmv-foot{padding:0 18px 16px}
  .lmv-foot .lm-more{width:100%}
  .lmv-foot .lm-more[hidden]{display:none}
  .lmv-empty{padding:28px 8px;text-align:center;color:var(--tm-muted);font:600 14px/1.5 "Manrope",system-ui,sans-serif}
  .lmv-empty p{margin:0}
  .lmv-empty button{margin-top:12px;height:38px;padding:0 16px;border:1px solid var(--tm-border);border-radius:var(--tm-radius-ctl);background:#fff;font:800 13.5px/1 "Manrope",system-ui,sans-serif;cursor:pointer}
  .lmv-map{position:relative;inset:auto;min-width:0}
  .lmv-top{top:16px;inset-inline:16px}
  .lmv-search{position:relative;width:min(340px,60%)}
  .lmv-search-field{display:flex;align-items:center;gap:10px;height:46px;padding:0 14px;box-sizing:border-box;border-radius:var(--tm-radius-ctl);background:#fff;box-shadow:0 6px 18px -6px rgba(11,15,20,.3),0 0 0 1px rgba(11,15,20,.06)}
  .lmv-search-field:focus-within{box-shadow:0 0 0 2px var(--tm-ink),0 6px 18px -6px rgba(11,15,20,.3)}
  .lmv-search-field input{flex:1;min-width:0;height:100%;border:0;background:transparent;color:var(--tm-ink);font:600 15px/1 "Manrope",system-ui,sans-serif;outline:none}
  .lmv-search-field input::-webkit-search-cancel-button{display:none}
  .lmv-suggest{position:absolute;top:calc(100% + 6px);inset-inline:0;max-height:320px;overflow-y:auto;padding:6px;border-radius:var(--tm-radius-ctl);background:#fff;box-shadow:0 18px 40px -16px rgba(11,15,20,.45),0 0 0 1px rgba(11,15,20,.06)}
  .lmv-suggest[hidden]{display:none}
  .lmv-opt{display:flex;align-items:center;gap:10px;width:100%;padding:10px;border:0;border-radius:10px;background:none;color:var(--tm-ink);text-align:start;font:700 14px/1.2 "Manrope",system-ui,sans-serif;cursor:pointer}
  .lmv-opt ph-icon{flex:none;color:var(--tm-orange)}
  .lmv-opt-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .lmv-opt-sub{flex:none;color:var(--tm-muted);font-weight:600;font-size:12.5px}
  .lmv-opt:hover,.lmv-opt[aria-selected="true"]{background:var(--tm-cream)}
  .lmv-opt-none{margin:0;padding:10px;color:var(--tm-muted);font:600 13.5px/1.3 "Manrope",system-ui,sans-serif}
  .lmv-close{display:inline-flex;align-items:center;gap:8px;height:46px;padding:0 16px;border-radius:var(--tm-radius-ctl);font:800 14px/1 "Manrope",system-ui,sans-serif}
  .lmv-close:hover,.lmv-zoom button:hover{background:#F5F3EE}
  /* The zoom stays with the map (physical bottom right, above Google's attribution). */
  .lmv-zoom{position:absolute;z-index:3;right:16px;bottom:40px;display:flex;flex-direction:column;border-radius:var(--tm-radius-ctl);overflow:hidden;box-shadow:0 6px 18px -6px rgba(11,15,20,.35),0 0 0 1px rgba(11,15,20,.06)}
  .lmv-zoom button{display:grid;place-items:center;width:44px;height:44px;padding:0;border-radius:0;box-shadow:none}
  .lmv-zoom button + button{border-top:1px solid var(--tm-border)}
  .lmv-zoom button:disabled{color:#B5B1A8;cursor:default;background:#fff}
  .lmv-status{top:74px}
  .lmv-osm{bottom:15px}
}
@media (prefers-reduced-motion: reduce) {
  .lmv-sheet{animation:none}
  .lmv-pin,.lmr-tile-cta,.lmv-cards .lmv-card{transition:none}
  .lmv-spin{animation-duration:2s}
}
