/* Restore normal flow: the old 100px icon used negative vertical margins. */
body .new_header > .wrap > .z123-location-row,
body #zbhmh > .z123-location-row {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px 14px;
  clear: both;
  box-sizing: border-box;
  width: 100%;
  height: auto !important;
  min-height: 64px;
  margin: 8px 0 0 !important;
  padding: 10px 12px !important;
  border-top: 1px solid #e9e4f2;
  background: #faf9fd;
  border-radius: 0 0 14px 14px;
  overflow: visible;
  z-index: auto !important;
}
body .new_header .z123-location-row > button.z123-location-control,
body #zbhmh .z123-location-row > button.z123-location-control,
body #z123ag-entry.z123-location-actions > button.z123-location-control {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  float: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 0 1 auto;
  box-sizing: border-box;
  width: auto !important;
  max-width: 100%;
  min-width: 176px;
  height: auto !important;
  min-height: 48px;
  padding: 10px 16px !important;
  margin: 0 !important;
  border: 1px solid #7b2446 !important;
  border-radius: 14px !important;
  background: #7b2446 !important;
  color: #fff !important;
  box-shadow: 0 3px 9px #4338a51a;
  font-family: inherit;
  font-size: 16px !important;
  line-height: 1.4 !important;
  font-weight: 700;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
body .z123-location-row > button.z123-location-control::before,
body .z123-location-row > button.z123-location-control::after { content: none !important; }
body .z123-location-control .z123-location-symbol {
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 26px; width: 26px; height: 26px;
}
body .z123-location-control .z123-location-symbol svg,
body .z123-location-control .z123-location-chevron {
  display: block; width: 24px; height: 24px; flex-shrink: 0;
  fill: none !important; stroke: currentColor !important;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
body .z123-location-control .z123-location-chevron { width: 17px; height: 17px; }
body .z123-location-row .z123-location-help {
  color: #5e5872; font-family: inherit; font-weight: 400;
  font-size: 14px; line-height: 1.5;
}
body .new_header .bot.z123-location-arranged > button.landing_menu.mobile { display: none !important; }
body .z123-location-row > button.z123-location-control:hover { filter: brightness(1.08); }
body .z123-location-row > button.z123-location-control:focus-visible {
  outline: 3px solid #2b6eea !important;
  outline-offset: 4px;
}
@media (max-width: 900px) {
  body #zbhmh > .z123-location-row,
  body .new_header > .wrap > .z123-location-row {
    justify-content: center;
    gap: 6px;
    margin-top: 4px !important;
    padding: 8px 12px !important;
  }
  body #zbhmh .z123-location-row > button.z123-location-control,
  body .new_header .z123-location-row > button.z123-location-control {
    width: 100% !important;
    min-width: 0;
    min-height: 48px;
    border-radius: 12px !important;
  }
  body .z123-location-row .z123-location-help { display: none; }
}

/* Desktop shares the existing assistant strip; no extra location row. */
@media (min-width: 901px) {
  body .new_header > .wrap > .z123-location-row.z123-location-empty { display:none !important; }
  body #z123ag-entry.z123-location-actions {
    display:flex !important; align-items:center; justify-content:center;
    flex-wrap:wrap; gap:12px; direction:rtl;
  }
  body #z123ag-entry.z123-location-actions > button.z123-location-control {
    border-radius:999px !important; min-height:48px; flex:0 1 auto;
  }
  body #z123ag-entry.z123-location-actions > button.z123-location-control:focus-visible {
    outline:3px solid #2b6eea !important; outline-offset:4px;
  }
}
