/* Taxi-only selectors: legacy/Flowers city menus retain their own styles. */
.taxi-city-picker { margin: 0; }
.taxi-city-picker > summary { list-style: none; }
.taxi-city-picker > summary::-webkit-details-marker { display: none; }
.taxi-city-picker > summary::marker { content: ''; }
.taxi-city-picker[open] > summary .menu-city-arrow { transform: rotate(90deg) !important; }
.passenger-service--cities #city-objects { scroll-margin-top: 120px; }
.taxi-city-menu, .taxi-city-menu * { box-sizing: border-box; }
.taxi-city-picker:not([open]) .taxi-city-menu, .taxi-city-menu [hidden] { display: none !important; }
.taxi-city-menu {
  position: fixed; top: 100px; left: 0; width: 100%; z-index: 999;
  max-height: calc(100vh - 100px); max-height: calc(100dvh - 100px);
  overflow-y: auto; overscroll-behavior: contain; padding: 28px max(24px, calc((100% - 1280px) / 2));
  color: #17233c; background: #fff; box-shadow: 0 12px 30px #13274626;
  font-size: 16px; line-height: 1.45; text-align: left;
}
.taxi-city-search { width: 100%; margin-bottom: 18px; }
.taxi-city-search label { display: block; font-weight: 600; margin-bottom: 8px; }
.taxi-city-search input {
  display: block; width: 100%; height: 48px; padding: 10px 14px;
  border: 1px solid #b8c7d9; border-radius: 10px; background: #f6f9fc;
  color: #17233c; font: inherit; appearance: auto;
}
.taxi-city-status { min-height: 1.45em; margin: 6px 0 0; font-size: 14px; color: #52627a; }
.taxi-city-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; }
.taxi-city-heading { margin: 0 0 24px; font-family: inherit; font-size: 40px; line-height: 1.1; color: #09a0ff; font-weight: 300; }
.taxi-city-countries { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.taxi-city-country {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 4px 0;
  border: 0; border-radius: 0; background: transparent; color: #17233c;
  font: inherit; text-align: left; cursor: pointer;
}
.taxi-city-country:disabled { opacity: .42; filter: grayscale(1); cursor: default; }
.taxi-city-country:disabled * { cursor: default; }
.taxi-city-country[aria-pressed="true"] { color: #075a9e; }
.taxi-city-flag { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.taxi-city-objects-link { display: inline-block; margin-top: 24px; font-size: 14px; color: #075a9e; text-decoration: underline; }
.taxi-city-panels { min-width: 0; border-left: 1px solid #d7e2ed; padding-left: 28px; }
.taxi-city-panels > section { margin: 0; padding: 0; border: 0; background: none; }
.taxi-city-panel-heading { margin: 18px 0 12px; font-size: 18px; }
.taxi-city-picker--enhanced .taxi-city-panel-heading { display: none; }
.taxi-city-tree { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 4px 22px; margin: 0; padding: 0; list-style: none; align-items: start; }
.taxi-city-group { min-width: 0; list-style: none; margin: 0; padding: 0; }
.taxi-city-row { display: flex; flex-wrap: wrap; align-items: center; column-gap: 6px; min-height: 44px; }
.taxi-city-menu a[data-city-name] { color: #17233c; font: inherit; text-decoration: none; overflow-wrap: anywhere; }
.taxi-city-row > a { min-width: 0; padding: 10px 0; }
.taxi-city-menu a:hover { color: #075a9e; text-decoration: underline; }
.taxi-city-toggle {
  flex: 0 0 auto; min-width: 44px; min-height: 44px; padding: 10px 4px;
  border: 0; border-radius: 0; background: transparent; color: #075a9e;
  font: inherit; font-size: 14px; white-space: nowrap; cursor: pointer;
}
.taxi-city-toggle::before { content: '·'; margin-right: 6px; color: #7b8b9d; }
.taxi-city-toggle:hover { text-decoration: underline; }
.taxi-city-children { list-style: none; margin: 0 0 10px 4px; padding: 0 0 0 12px; border-left: 1px solid #d7e2ed; }
.taxi-city-children li { list-style: none; margin: 0; padding: 0; }
.taxi-city-children a { display: block; padding: 10px 4px; min-height: 44px; }
.taxi-city-picker > summary:focus-visible, .taxi-city-menu :is(a, button, input):focus-visible { outline: 3px solid #0865b5; outline-offset: 3px; }
@media (max-width: 800px) {
  .taxi-city-menu { padding: 20px; }
  .taxi-city-layout { grid-template-columns: 170px minmax(0, 1fr); gap: 20px; }
  .taxi-city-heading { font-size: 27px; }
  .taxi-city-panels { padding-left: 20px; }
}
@media (max-width: 600px) {
  .taxi-city-menu { padding: 16px; height: calc(100vh - 100px); height: calc(100dvh - 100px); }
  .taxi-city-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .taxi-city-heading { font-size: 26px; margin-bottom: 14px; }
  .taxi-city-countries { flex-direction: row; flex-wrap: wrap; }
  .taxi-city-country { font-size: 14px; gap: 8px; padding: 4px 0; }
  .taxi-city-countries { column-gap: 16px; }
  .taxi-city-flag { flex-basis: 24px; width: 24px; height: 24px; }
  .taxi-city-objects-link { margin-top: 14px; }
  .taxi-city-panels { border-left: 0; border-top: 1px solid #d7e2ed; padding: 16px 0 0; }
  .taxi-city-tree { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 440px) {
  .taxi-city-menu { top: 60px; height: calc(100vh - 60px); height: calc(100dvh - 60px); max-height: calc(100vh - 60px); max-height: calc(100dvh - 60px); }
}
