/* V9037 — larger readable labels + bounded map + bottom visual filters. */
.automotive-service-map-v9036__titlebar{gap:10px}
.automotive-service-map-v9036__phone{display:inline-flex;align-items:center;gap:6px;width:max-content;max-width:100%;margin-top:6px;color:#0b5cff;font-weight:800;text-decoration:none;direction:ltr}
.automotive-service-map-v9036__phone::before{content:'☎';font-size:12px}
.automotive-service-map-v9036__phone[hidden]{display:none!important}
.automotive-service-map-v9036__selected-icon{display:grid;place-items:center;font-size:26px}

/* Tools/spare-parts only: bottom filter dock. */
body.automotive-service-map-v9036-body{
  --asm-v9036-filter-height:260px;
  --asm-v9036-filter-gap:6px;
  --asm-v9036-map-top:calc(var(--map-safe-top) + 50px);
}
body.map-fullscreen-all-v8919-body .automotive-service-map-v9036__filters{
  position:fixed!important;z-index:46!important;
  left:6px!important;right:6px!important;bottom:max(6px,env(safe-area-inset-bottom))!important;top:auto!important;
  width:auto!important;height:var(--asm-v9036-filter-height)!important;min-width:0!important;margin:0!important;padding:6px!important;
  display:grid!important;grid-template-rows:36px 102px 102px!important;gap:3px!important;
  border:1px solid rgba(203,219,238,.98)!important;border-radius:18px!important;background:rgba(255,255,255,.97)!important;
  box-shadow:0 -8px 26px rgba(16,48,87,.16)!important;-webkit-backdrop-filter:blur(16px)!important;backdrop-filter:blur(16px)!important;
  overflow:hidden!important;
}
.automotive-service-map-v9036__filter-head{display:flex;align-items:center;gap:6px;min-width:0}
.automotive-service-map-v9036__origin{display:flex;align-items:center;gap:6px;flex:1 1 auto;min-width:0;height:36px;padding:0 10px;border:1px solid #d9e5f3;border-radius:11px;background:#f8fbff;color:#1769df}
.automotive-service-map-v9036__origin>i{flex:0 0 auto;font-size:13px}
.automotive-service-map-v9036__origin select{appearance:none;-webkit-appearance:none;flex:1 1 auto;min-width:0;height:34px;padding:0;border:0!important;background:transparent!important;color:#17345c!important;-webkit-text-fill-color:#17345c!important;outline:0!important;font:inherit!important;font-size:12px!important;font-weight:950!important;direction:rtl!important}
.automotive-service-map-v9036__filter-reset{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border:1px solid #d9e5f3;border-radius:11px;background:#fff;color:#52657f;text-decoration:none;font-size:13px}
.automotive-service-map-v9036__filter-reset span{display:none}

.automotive-service-map-v9036__strip-row{display:grid;grid-template-columns:58px minmax(0,1fr);gap:5px;align-items:stretch;min-width:0}
.automotive-service-map-v9036__strip-label{display:grid;place-items:center;border-radius:11px;background:#f2f6fb;color:#60718a;font-size:10px;font-weight:1000;writing-mode:horizontal-tb;transform:none;letter-spacing:0;text-align:center}
.automotive-service-map-v9036__strip{display:flex;align-items:stretch;gap:7px;min-width:0;overflow-x:auto;overflow-y:hidden;padding:1px 2px 3px;direction:rtl;scroll-snap-type:x proximity;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.automotive-service-map-v9036__strip::-webkit-scrollbar{display:none}

.automotive-service-map-v9036__choice{
  position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
  flex:0 0 96px;min-width:96px;height:96px;margin:0;padding:3px 4px 3px;border:1px solid #dce7f4;border-radius:13px;background:#fff;color:#27415f;
  box-shadow:0 2px 8px rgba(18,57,97,.05);font:inherit;cursor:pointer;scroll-snap-align:start;overflow:hidden;
}
.automotive-service-map-v9036__choice>.ui-action-icon{display:none!important}
.automotive-service-map-v9036__choice-name{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:26px;max-height:30px;overflow:visible;text-overflow:clip;white-space:normal;font-size:12.5px;font-weight:950;text-align:center;line-height:1.12;word-break:normal}
.automotive-service-map-v9036__choice-media{display:grid;place-items:center;flex:0 0 56px;width:56px;height:56px;overflow:hidden;border-radius:11px;background:#eef4fc}
.automotive-service-map-v9036__choice-media img{display:block;width:100%;height:100%;object-fit:contain;background:#fff}
.automotive-service-map-v9036__choice-media.is-icon{color:#1769df;font-size:26px}
.automotive-service-map-v9036__choice.is-group{flex-basis:100px;min-width:100px}
.automotive-service-map-v9036__choice.is-group .automotive-service-map-v9036__choice-media{flex-basis:60px;width:60px;height:60px}
.automotive-service-map-v9036__choice.is-active{border-color:#2e7de8;background:#edf5ff;color:#0f59c6;box-shadow:0 0 0 1px rgba(46,125,232,.12),0 4px 12px rgba(23,105,223,.11)}
.automotive-service-map-v9036__choice.is-active::after{content:'';position:absolute;top:4px;left:4px;width:6px;height:6px;border-radius:50%;background:#1769df;box-shadow:0 0 0 2px #fff}
.automotive-service-map-v9036__choice.is-placeholder{opacity:.58;cursor:default;flex-basis:86px;min-width:86px}
.automotive-service-map-v9036__choice:focus-visible{outline:2px solid #2f7eea;outline-offset:1px}

/* The spare-parts map itself is no longer hidden under the top/bottom UI. */
body.map-fullscreen-all-v8919-body .automotive-service-map-v9036__filters + .automotive-service-map-v9036__map{
  position:fixed!important;
  inset:var(--asm-v9036-map-top) 0 calc(var(--asm-v9036-filter-height) + var(--asm-v9036-filter-gap) + max(6px,env(safe-area-inset-bottom))) 0!important;
  width:100vw!important;height:auto!important;min-height:0!important;max-height:none!important;
  margin:0!important;padding:0!important;overflow:hidden!important;
}
body.map-fullscreen-all-v8919-body .automotive-service-map-v9036__filters + .automotive-service-map-v9036__map .fuel-map-v8680-shell{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden!important;
}
body.map-fullscreen-all-v8919-body .automotive-service-map-v9036__filters + .automotive-service-map-v9036__map .fuel-map-v8680-canvas{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;
}

/* Since the map has its own bounded viewport, controls restart near its top edge. */
body.map-fullscreen-all-v8919-body .automotive-service-map-v9036__filters + .automotive-service-map-v9036__map .workshop-map-v8719__governorate,
body.map-fullscreen-all-v8919-body .automotive-service-map-v9036__filters + .automotive-service-map-v9036__map .fuel-map-v8680-controls{
  top:8px!important;
}
body.map-fullscreen-all-v8919-body .automotive-service-map-v9036__filters + .automotive-service-map-v9036__map .workshop-map-v8719__counter{
  top:64px!important;
}
body.map-fullscreen-all-v8919-body .automotive-service-map-v9036__filters + .automotive-service-map-v9036__map .workshop-map-v8719__empty{
  top:112px!important;
}

.automotive-service-map-v9036-body .project-map-open-status-v9020.is-unknown{border-color:#f1d89a;background:#fff9e9;color:#8a6412}
.automotive-service-map-v9036-body .project-map-open-status-v9020.is-unknown>i{background:#e0a020;box-shadow:0 0 0 3px rgba(224,160,32,.14)}

@media(min-width:720px){
  body.automotive-service-map-v9036-body{--asm-v9036-filter-height:294px;--asm-v9036-filter-gap:8px;--asm-v9036-map-top:calc(var(--map-safe-top) + 54px)}
  body.map-fullscreen-all-v8919-body .automotive-service-map-v9036__filters{left:12px!important;right:12px!important;bottom:max(8px,env(safe-area-inset-bottom))!important;grid-template-rows:38px 122px 122px!important;gap:3px!important;padding:6px!important}
  .automotive-service-map-v9036__origin,.automotive-service-map-v9036__filter-reset{height:38px}
  .automotive-service-map-v9036__origin select{height:36px;font-size:13px!important}
  .automotive-service-map-v9036__strip-row{grid-template-columns:66px minmax(0,1fr);gap:6px}
  .automotive-service-map-v9036__strip-label{font-size:11px}
  .automotive-service-map-v9036__strip{gap:8px}
  .automotive-service-map-v9036__choice{height:114px;flex-basis:112px;min-width:112px;padding:3px 5px}
  .automotive-service-map-v9036__choice.is-group{flex-basis:116px;min-width:116px}
  .automotive-service-map-v9036__choice-media{flex-basis:64px;width:64px;height:64px;border-radius:13px}
  .automotive-service-map-v9036__choice-media.is-icon{font-size:29px}
  .automotive-service-map-v9036__choice.is-group .automotive-service-map-v9036__choice-media{flex-basis:70px;width:70px;height:70px}
  .automotive-service-map-v9036__choice-name{font-size:13.5px;min-height:30px;max-height:34px}
}
@media(max-width:390px){
  body.automotive-service-map-v9036-body{--asm-v9036-filter-height:236px}
  body.map-fullscreen-all-v8919-body .automotive-service-map-v9036__filters{grid-template-rows:34px 94px 94px;padding:5px}
  .automotive-service-map-v9036__origin,.automotive-service-map-v9036__filter-reset{height:34px}
  .automotive-service-map-v9036__origin select{height:32px;font-size:11px!important}
  .automotive-service-map-v9036__strip-row{grid-template-columns:52px minmax(0,1fr);gap:4px}
  .automotive-service-map-v9036__strip-label{font-size:9px}
  .automotive-service-map-v9036__strip{gap:5px}
  .automotive-service-map-v9036__choice{height:90px;flex-basis:92px;min-width:92px;padding:3px}
  .automotive-service-map-v9036__choice.is-group{flex-basis:96px;min-width:96px}
  .automotive-service-map-v9036__choice-media{flex-basis:50px;width:50px;height:50px;border-radius:11px}
  .automotive-service-map-v9036__choice-media.is-icon{font-size:23px}
  .automotive-service-map-v9036__choice.is-group .automotive-service-map-v9036__choice-media{flex-basis:54px;width:54px;height:54px}
  .automotive-service-map-v9036__choice-name{font-size:11.8px;min-height:24px;max-height:28px}
}
