body.yt-buy-hub-page {
  overflow-x: hidden;
}

body.yt-buy-hub-page #header .yt-page-lang {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  margin-right: 0;
}

body.yt-buy-hub-page #header .yt-page-lang select {
  box-sizing: border-box;
  width: 120px;
  max-width: 120px;
  height: 32px;
  padding: 0 24px 0 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  color: #131313;
  font-size: 13px;
  font-weight: 400;
  line-height: normal;
}

body.yt-buy-hub-page .NearMeContent .yt-buy-hub-regions {
  display: block;
}

body.yt-buy-hub-page .yt-buy-hub-regions .NearMeCitySection .section-link {
  box-sizing: border-box;
  width: 100%;
  padding: 1rem 1.5rem 1.5rem;
}

body.yt-buy-hub-page .yt-buy-hub-regions .NearMeCitySection .section-link a {
  color: #15727a;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

body.yt-buy-hub-page .yt-buy-hub-regions .NearMeCitySection .section-link a:hover {
  color: #5aa8ae;
  text-decoration: underline;
}

body.yt-buy-hub-page .yt-buy-hub-empty {
  margin: 32px 0 56px;
  color: #686868;
  font-size: 16px;
}

body.yt-buy-hub-page .HomeCardContainer .bp-Homecard {
  cursor: pointer;
}

body.yt-buy-hub-page .HomeCardContainer .bp-Homecard:focus {
  outline: 2px solid #3b98ed;
  outline-offset: 2px;
}

/* Replace the downloaded source-site map snapshot with the local business map. */
body.yt-buy-hub-page #near-me-map-wrapper.yt-property-map-host {
  position: relative !important;
  overflow: hidden !important;
  background: #e9e9e9 !important;
}

body.yt-buy-hub-page #near-me-map-wrapper.yt-property-map-host .yt-property-map-canvas,
body.yt-buy-hub-page #near-me-map-wrapper.yt-property-map-host .leaflet-container {
  width: 100% !important;
  height: 100% !important;
  min-height: 420px;
  background: #e9e9e9;
}

body.yt-buy-hub-page #near-me-map-wrapper.yt-property-map-host .leaflet-control-attribution {
  font-size: 10px;
}

body.yt-buy-hub-page #near-me-map-wrapper.yt-property-map-host .yt-property-map-controls {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 500;
  display: grid;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(19, 19, 19, .12), 0 1px 2px rgba(19, 19, 19, .08);
}

body.yt-buy-hub-page #near-me-map-wrapper.yt-property-map-host .yt-property-map-controls button {
  width: 48px;
  height: 48px;
  border: 0;
  border-bottom: 1px solid #e2e2e2;
  background: #fff;
  color: #131313;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

body.yt-buy-hub-page #near-me-map-wrapper.yt-property-map-host .yt-property-map-controls button:last-child {
  border-bottom: 0;
}

body.yt-buy-hub-page #near-me-map-wrapper.yt-property-map-host .yt-property-map-controls button:hover {
  background: #f5f5f5;
}

body.yt-buy-hub-page #near-me-map-wrapper.yt-property-map-host .yt-property-map-marker {
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  background: transparent !important;
}

body.yt-buy-hub-page #near-me-map-wrapper.yt-property-map-host .yt-property-map-price-link {
  display: inline-block;
  min-width: 54px;
  padding: 6px 9px;
  border: 2px solid #fff;
  border-radius: 16px;
  background: #de3341;
  box-shadow: 0 2px 7px rgba(18, 18, 18, .28);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transform: translate(-50%, -100%);
  white-space: nowrap;
}

body.yt-buy-hub-page #near-me-map-wrapper.yt-property-map-host .yt-property-map-price-link:hover {
  background: #c12a36;
  color: #fff;
  text-decoration: none;
}

body.yt-buy-hub-page #near-me-map-wrapper.yt-property-map-host .yt-property-map-empty {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 600;
  padding: 10px 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .94);
  color: #4d4d4d;
  font-weight: 700;
  transform: translate(-50%, -50%);
}

body.yt-buy-hub-page #near-me-map-wrapper.yt-property-map-host .yt-property-map-loading {
  position: absolute;
  inset: 0;
  z-index: 700;
  display: grid;
  place-content: center;
  gap: 8px;
  background: #e9e9e9;
  color: #4d4d4d;
  text-align: center;
}

body.yt-buy-hub-page #near-me-map-wrapper.yt-property-map-host .yt-property-map-loading[hidden] {
  display: none;
}

body.yt-buy-hub-page #near-me-map-wrapper.yt-property-map-host .yt-property-map-loading span {
  width: 24px;
  height: 24px;
  margin: 0 auto;
  border: 3px solid rgba(222, 51, 65, .22);
  border-top-color: #de3341;
  border-radius: 50%;
  animation: yt-buy-hub-map-spin .8s linear infinite;
}

body.yt-buy-hub-page #near-me-map-wrapper.yt-property-map-host .yt-property-map-popup {
  display: grid;
  gap: 6px;
  min-width: 180px;
  color: #131313;
}

body.yt-buy-hub-page #near-me-map-wrapper.yt-property-map-host .yt-property-map-popup a {
  color: #15727a;
  font-weight: 700;
}

@keyframes yt-buy-hub-map-spin {
  to { transform: rotate(360deg); }
}
