.region_wrapper {
  max-width: 155px;
  position: relative;
  z-index: 10;
  padding: 0 10px 0 21px;
  margin-right: 20px;
  margin-left: 30px;
}

.region_wrapper:before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  background: url("/local/templates/aspro_tires2/images/svg/Marker.svg") 0 0 no-repeat;
}

.region_wrapper .city_title {
  font-weight: bold;
  color: #333;
  font-size: 14px;
}

.region_wrapper .js_city_chooser {
  cursor: pointer;
  padding-right: 10px;
  position: relative;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: inline-block;
  overflow: hidden;
  font-size: 14px;
}

.region_wrapper .arrow {
  position: absolute;
  right: 0;
  top: 8px;
  padding: 0;
}

.region_wrapper .arrow i {
  content: "";
  display: block;
  width: 5px;
  height: 3px;
  background: url("/local/templates/aspro_tires2/images/svg/tires2.svg") -20px -333px no-repeat;
  border-radius: 4px;
}

/* DESKTOP confirm_region */
.confirm_region {
  position: absolute;
  display: block;
  min-width: 270px;
  text-align: center;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 0 14px rgba(0, 0, 0, 0.1);
  -o-box-shadow: 0 0 14px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0 0 14px rgba(0, 0, 0, 0.1);
  z-index: 1002;
  background: #fff;
  border-radius: 4px;
  padding: 20px 29px 24px 29px;
  box-sizing: border-box;
  top: 50px;
  left: -50%;
  margin-left: -35px;
}

.confirm_region__title {
  font-size: 15px;
  color: #333;
}

.confirm_region__buttons {
  margin-top: 14px;
  white-space: nowrap;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.confirm_region .close {
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  position: absolute;
  right: 5px;
  top: 5px;
  cursor: pointer;
  z-index: 3;
}

.confirm_region .close .svg {
  min-width: unset;
  min-height: unset;
}

/* MOBILE confirm_region */
.top_mobile_region .confirm_region .close {
  top: 11px;
  right: 10px;
  opacity: 0.4;
}

.top_mobile_region .confirm_region .close:hover {
  opacity: 1;
}

.top_mobile_region {
  position: relative;
  top: -60px;
}

.top_mobile_region .confirm_region {
  background: #f9f9f9;
  box-shadow: inset 0 -1px 0 0 #f5f5f5;
  border-radius: 0;
  margin: 0;
  padding: 24px 15px;
}

.top_mobile_region .confirm_region {
  position: static;
}

@media all and (max-width: 380px) {
  .top_mobile_region .confirm_region__title {
    text-align: left;
    max-width: 240px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .top_mobile_region .confirm_region__buttons .btn {
    width: 100%;
  }
}

@media all and (min-width: 601px) {
  .top_mobile_region .confirm_region {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
  }

  .top_mobile_region .confirm_region__buttons {
    margin: 0;
  }
}

@media all and (min-width: 992px) {
  .confirm_region:before {
    content: "";
    position: absolute;
    left: 50%;
    top: -18px;
    border: 10px solid transparent;
    border-bottom: 10px solid white;
    margin-left: -10px;
  }

  .top_mobile_region {
    display: none;
  }
}

.popup_regions .nav-tabs {
  display: flex;
}

.popup_regions .nav-tabs li {
  width: 100%;
}

.popup_regions .nav-tabs li a {
  text-align: center;
  margin: 0 0 -1px !important;
}
