.contacts__data__item__shop > div{ margin-bottom:3px;}
/*---*/
.contacts {
  display: flex;
  justify-content: space-between;
}
.contacts .select-block {
  width: 100%;
  position: relative;
}
.contacts .select-block:hover {
  z-index: 11;
}
.contacts .select-block__current {
  width: 100%;
}
.contacts .contacts__data .contacts__city {
  flex-direction: column;
  gap: 10px;
}
.contacts .select-block__select {
  width: 100%;
}
.contacts .select-block.disabled:hover .select-block__current {
  border: 1px solid #828282;
}
.contacts .select-block.open .select-block__select {
  display: flex;
  gap: 20px;
}
.contacts .select-block__select > div {
  margin-bottom: 0;
}

.contacts__data {
  width: 380px;
}

.contacts__data_buy {
  height: 490px;
}

.contacts__city {
  margin-bottom: 73px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.contacts__city span {
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
  color: #000000;
  display: block;
  margin-right: 10px;
}

.contacts__city_buy {
  gap: 10px;
  width: 470px;
  min-width: 470px;
  margin-bottom: 0;
}

.contacts__phone {
  font-weight: 400;
  font-size: 24px;
  line-height: 29px;
  color: #000000;
  text-decoration: none;
  position: relative;
  padding-left: 29px;
  display: block;
  margin-bottom: 40px;
}

.contacts__phone:before {
  content: url("../images/phone_i.svg");
  display: block;
  position: absolute;
  left: 0;
  top: 2px;
}

.contacts__address {
  font-weight: 400;
  font-size: 18px;
  line-height: 22px;
  color: #000000;
  position: relative;
  padding-left: 29px;
  margin-bottom: 40px;
}

.contacts__address:before {
  content: url("../images/address_i.svg");
  display: block;
  position: absolute;
  left: 0;
  top: 1px;
}

.contacts__email {
  position: relative;
  display: block;
  font-weight: 400;
  font-size: 18px;
  line-height: 22px;
  color: #000000;
  text-decoration: none;
  padding-left: 29px;
}

.contacts__email:before {
  content: url("../images/email_i.svg");
  display: block;
  position: absolute;
  left: 0;
  top: 3px;
}

#map {
  width: 780px;
  height: 490px;
  margin-left: 30px;
}

.contacts__data__item {
  display: none;
}

.contacts__data__item.open {
  display: block;
}

.contacts__data__item__btns {
  display: flex;
  border-bottom: 1px solid #BDBDBD;
  margin-bottom: 43px;
}
.contacts__data__item__btns a {
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
  color: #828282;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0 0 18px 0;
  width: 50%;
  position: relative;
  transition: 0.2s;
}
.contacts__data__item__btns a.active {
  color: #000000;
}
.contacts__data__item__btns a:hover {
  color: #000000;
}
.contacts__data__item__btns a:after {
  content: "";
  height: 1px;
  width: 100%;
  position: absolute;
  bottom: -1px;
  left: 0;
  display: block;
  background: transparent;
  transition: 0.2s;
}
.contacts__data__item__btns a.active:after {
  background: #000;
}

.contacts__data__item__shops {
  display: block;
  max-height: 490px;
  overflow: hidden;
}

.contacts__data__item__shops.active {
  display: block;
}

.contacts__data__item__shop {
  margin-bottom: 40px;
  transition: 0.2s;
  padding-left: 0;
  position: relative;
  cursor: pointer;
  display: none;
}

.contacts__data__item__shop.show {
  display: block;
}

.contacts__data__item__shop:before {
  content: "";
  width: 1px;
  height: calc(100% - 10px);
  display: block;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  left: 0;
  background: transparent;
  transition: 0.2s;
}

.contacts__data__item__shop.active:before {
  background: #000;
}

.contacts__data__item__shop:last-child {
  margin-bottom: 0;
}

.contacts__data__item__address, .contacts__data__item__phone, .contacts__data__item__worktime, .contacts__data__item__link {
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: #828282;
  transition: 0.2s;
}

.contacts__data__item__address {
  margin-bottom: 5px;
}

.contacts__data__item__phone, .contacts__data__item__link {
  text-decoration: none;
}

.contacts__data__item__shop.active {
  padding-left: 21px;
}
.contacts__data__item__shop.active .contacts__data__item__address, .contacts__data__item__shop.active .contacts__data__item__phone, .contacts__data__item__shop.active .contacts__data__item__worktime {
  color: #000;
}

.contacts__data__item__shop:hover .contacts__data__item__address, .contacts__data__item__shop:hover .contacts__data__item__phone, .contacts__data__item__shop:hover .contacts__data__item__worktime {
  color: #000;
}

.contacts__data__item__name {
  margin-bottom: 9px;
  font-size: 16px;
  line-height: 22px;
}

.contacts__data__item__address {
  font-size: 16px;
  line-height: 22px;
}

.contacts__data__item__worktime {
  font-size: 16px;
  line-height: 22px;
}

/*.contacts__data__item__link {
  background: #DB5856;
  color: #fff;
  font-size: 16px;
  line-height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 20px;
  border-radius: 10px;
  margin-top: 10px;
  transition: 0.2s;
  box-shadow: 0px 6px 3px rgba(172, 29, 27, 0.15), 0px 3px 3px rgba(172, 29, 27, 0.26);
}

.contacts__data__item__link:hover {
  box-shadow: inset 0px 1px 3px rgba(153, 41, 40, 0.5), 0px 10px 4px rgba(172, 29, 27, 0.04), 0px 6px 3px rgba(172, 29, 27, 0.15), 0px 3px 3px rgba(172, 29, 27, 0.26), 0px 1px 1px rgba(172, 29, 27, 0.29);
}*/

.contacts__data__item__icon {
  position: absolute;
  top: 4px;
  left: 0;
  transition: 0.2s;
}

.contacts__data__item__phones {
  margin-bottom: 5px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.contacts__data__item__phones a {
  color: #828282;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contacts__data__item__phones a:after {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #828282;
}
.contacts__data__item__phones a:last-child:after {
  display: none;
}

.contacts__data__item__shop:hover .contacts__data__item__phones a {
  color: #000000;
}
.contacts__data__item__shop:hover .contacts__data__item__phones a:after {
  background: #000000;
}

.contacts__data__item__shop.active .contacts__data__item__icon {
  left: 20px;
}
.contacts__data__item__shop.active .contacts__data__item__phones a {
  color: #000;
}
.contacts__data__item__shop.active .contacts__data__item__phones a:after {
  background: #000;
}

.contacts__data__amount {
  margin-bottom: 19px;
  color: #828282;
  font-size: 16px;
  line-height: 22px;
}
.contacts__data__amount span {
  color: #000;
}

.mCSB_scrollTools .mCSB_draggerRail {
  background-color: #E0E0E0;
}

.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  background: #000;
  width: 2px;
}

.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar {
  background: #000 !important;
}

.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar:hover {
  background: #000 !important;
}

.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  background: #000;
}

.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar {
  background: #000;
}

.main-title_wherebuy {
  margin-bottom: 35px;
}

.wherebuy__intro {
  font-size: 16px;
  line-height: 22px;
  margin: 0 0 37px 0;
}

.contacts-topline {
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  gap: 20px;
}
.contacts-topline .select-block.disabled {
  background: #eee;
}

.contacts-topline__btns {
  display: flex;
  gap: 10px;
  width: 100%;
}

.contacts-topline__btn {
  color: #828282;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  transition: 0.2s;
  border: 1px solid #828282;
  /* width: calc((100% - 20px) / 3); */
  text-align: center;
  height: 40px;
  box-sizing: border-box;
  /*font-size: 14px;*/
    font-weight: 400;
    font-size: 16px;
}

.contacts-topline__btn:hover {
  color: #000000;
}

.contacts-topline__btn.active {
  /*color: #000000;*/
  /*border: 1px solid #000000;*/
}

.legends__btn__icon {
  height: 16px;
  position: relative;
  left: -30px;
}
.legends__btn__icon img {
  left: 0;
  position: absolute;
}
.legends__btn__icon img:nth-child(2) {
  left: 8px;
}
.legends__btn__icon img:nth-child(3) {
  left: 16px;
}

.legends__btn {
  display: flex;
  align-items: center;
  font-size: 16px;
  line-height: 16px;
  border: none;
  background: none;
  gap: 4px;
  cursor: pointer;
}
.legends__btn > img {
  margin-left: 3px;
  transition: 0.2s;
}

.legends__btn.active > img {
  transform: rotate(180deg);
}

.legends__info {
  position: absolute;
  background: #fff;
  width: 375px;
  box-sizing: border-box;
  padding: 20px;
  right: 0;
  border: 1px solid #828282;
  flex-direction: column;
  gap: 15px;
  top: 35px;
  display: none;
}

.legends__btn.active + .legends__info {
  display: flex;
}

.legends__info__item {
  border-bottom: 1px solid #828282;
  padding-bottom: 15px;
  position: relative;
}

.legends__info__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.legends__info__item__title {
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: bold;
  padding-left: 25px;
}

.legends__info__item__text {
  font-size: 14px;
  line-height: 18px;
  padding-left: 25px;
}

.legends__info__item__icon {
  position: absolute;
  top: 0;
  left: 0;
}

.contacts-tab {
  display: none;
}

.contacts-tab.active {
  display: flex;
}

.place-list {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 10px 20px;
  justify-content: flex-start;
}

.place-list__item {
  width: calc((100% - 80px) / 5);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.place-list__item a {
  color: #828282;
  text-decoration: none;
  transition: 0.2s;
}
.place-list__item a:hover {
  color: #000000;
}
.place-list__item a.active {
  color: #000000;
}

.place-list__item__title {
  font-weight: bold;
  margin-bottom: 5px;
}

.legends_m {
  display: none;
}

.select-block_city .select-block__select {
  max-height: 300px;
  padding-right: 5px;
}
.select-block_city .select-block__select .mCSB_container {
  margin-right: 0;
}
.select-block_city .select-block__select .mCSB_container .city {
  padding: 10px;
}

@media (max-width: 992px) {
  #map {
    width: 100%;
    height: 400px;
    margin-left: 0;
  }
  .contacts {
    flex-direction: column;
    justify-content: flex-start;
  }
  .contacts__city {
    margin-bottom: 26px;
  }
  .contacts__city span {
    font-size: 12px;
  }
  .contacts__email {
    margin-bottom: 35px;
    font-size: 16px;
    line-height: 22px;
  }
  .contacts__phone {
    font-size: 22px;
    line-height: 27px;
  }
  .contacts__address {
    font-size: 16px;
    line-height: 20px;
  }
  .contacts__data_buy {
    height: auto;
    order: 2;
  }
  .contacts__data__item__shops {
    height: 300px;
    overflow: hidden;
    padding-bottom: 20px;
  }
  .contacts__data__item__btns a {
    font-size: 14px;
  }
  .contacts__data__item__address, .contacts__data__item__phone, .contacts__data__item__worktime, .contacts__data__item__link {
    font-size: 12px;
    line-height: 16px;
  }
  .contacts__data__item__shop {
    margin-bottom: 20px;
  }
  .contacts-topline {
    flex-wrap: wrap;
    margin-bottom: 10px;
  }
  .contacts-topline__btns {
    gap: 10px;
    width: 100%;
  }
  .contacts-topline__btn {
    padding: 0 10px;
    font-size: 12px;
  }
  .select-block__current {
    height: 36px;
  }
  .contacts .contacts__data .contacts__city {
    gap: 5px;
  }
  .contacts__data__item__phones a {
    font-size: 12px;
  }
  .contacts__data__item__link {
    font-size: 12px;
    line-height: 20px;
    height: 31px;
    padding: 0 15px;
  }
  .legends_d {
    display: none;
  }
  .legends_m {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 111;
  }
  .legends_m .legends__btn {
    font-size: 14px;
    line-height: 14px;
  }
  .legends_m .legends__info {
    background: #fff;
    width: 280px;
    padding: 10px;
    top: 25px;
  }
  .legends_m .legends__info__item__title {
    font-size: 12px;
    margin-bottom: 5px;
  }
  .legends_m .legends__info__item__text {
    font-size: 12px;
    line-height: 18px;
    padding-left: 25px;
  }
  .contacts_buy {
    position: relative;
  }
  .contacts_buy #map {
    height: 150px;
    order: 1;
    margin-bottom: 20px;
  }
  .contacts_buy .select-block__select {
    padding: 10px;
  }
  .contacts_buy .select-block.open .select-block__select {
    gap: 10px;
  }
  .contacts__data__amount {
    font-size: 12px;
    line-height: 16px;
    position: relative;
  }
  .contacts__data__amount span {
    font-size: 14px;
  }
  .contacts__data__item__shop {
    position: relative;
    padding-right: 140px;
  }
  .contacts__data__item__link {
    position: absolute;
    top: 0;
    right: 0;
  }
  .place-list {
    gap: 10px;
    box-sizing: border-box;
  }
  .place-list .place-list__item {
    width: calc((100% - 30px) / 4);
    box-sizing: border-box;
  }
  .place-list .place-list__item a {
    font-size: 12px;
    line-height: 16px;
  }
  .place-list .place-list__item__title {
    font-size: 12px;
    margin: 0;
  }
  .contacts__city_buy {
    width: 100%;
    min-width: 100%;
    margin-bottom: 0;
  }
  /* .select-block { */
    /* width: calc((100% - 10px) / 2); */
  /* } */
  .select-block__current {
    width: 100% !important;
  }
  .contacts-topline {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .place-list .place-list__item {
    width: calc((100% - 20px) / 3);
  }
  .contacts-topline__btn {
    line-height: 16px;
  }
}
@media (max-width: 522px) {
  .place-list .place-list__item {
    width: calc((100% - 10px) / 2);
  }
}

/*tmp*/

.select-block.select-block_city.open .select-block__select{ overflow-y:scroll;}

.select-block .select-block__select{ width:100%;}

.filterinp{
  height: 40px;
  box-sizing: border-box;
  font-weight: 400;
  line-height: 16px;
  padding: 0 12px;
  width: 100%;
}

.wtb_top {
    display: flex;
}
.wtb_top_left {
    width: 40%;
    padding-left: 20px;
}
form.wtb_search {
    position: relative;
    display: flex;
    align-items: center;
}
form.wtb_search input {
    height: 48px;
    border: none;
    padding: 0 0 0 12px;
    background-color: #F5F5F5;
    width: 100%;
	border-radius: 0px;
  font-family: "Formular", sans-serif;
}
form.wtb_search input:focus-visible {
	outline: none;
}
span.wtb_search_icon {
    position: absolute;
    right: 12px;
    height: 20px;
}
.wtb_top_right {
    display: flex;
    width: 60%;
    gap: 10px;
}
.select-block__current {
    min-width: 175px !important;
    height: 48px !important;
    font-size: 16px !important;
	width: unset !important;
}
.contacts-topline__btn {
    min-width: 175px;
    padding: 0 13px;
    height: 48px;
}
.flex-grow-1 {
    flex-grow: 1;
}

.wtb_bottom {
    display: flex;
	margin-top: 27px;
}

.wtb_bottom_left_wr {
  width: 40%;
  padding-left: 20px;
  order: 1;
  display: flex;
  flex-direction: column;
}

.wtb_bottom_left_wr .select-block_city {
  margin-bottom: 11px;
}

.wtb_bottom_left_wr .wtb_search {
  margin-bottom: 24px;
}

.wtb_bottom_left {
    height: 100%;
    position: relative;

}

.wtb_bottom_data  {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    overflow-y: overlay;
    scrollbar-width: thin;
    scrollbar-color: #000000 transparent;
}

.wtb_bottom_data::-webkit-scrollbar {
  width: 2px;
}

.wtb_bottom_data::-webkit-scrollbar-track {
  background: #E0E0E0;
}

.wtb_bottom_data::-webkit-scrollbar-thumb {
  background-color: #9d999f;
  border-radius: 0;
  border: 2px solid #ffffff;
}

.wtb_bottom_right {
    display: flex;
    width: 60%;
    gap: 10px;
}
#map {
	width: 100% !important;
	margin-left: 0px !important;
}
.wtb_bottom_data {
    /* overflow-y: auto; */
    /*height: 490px;*/
}

.wtb_bottom_data_item_shop {
    margin-bottom: 23px;
    padding-bottom: 7px;
	color: #858585;
	display: none;
	cursor: pointer;
}
.wtb_bottom_data_item_shop.show {
	display: block;
}
.wtb_bottom_data_item_shop_title {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
	color: #000;
	display: flex;
}
.wtb_bottom_data_item_shop_title svg {
    margin-right: 6px;
}
.wtb_bottom_data_item_shop_address {
    font-size: 16px;
    line-height: 16px;
    margin-bottom: 5px;
    margin-left: 20px;
}
.wtb_bottom_data_item_shop_phone {
    margin-bottom: 5px;
    margin-left: 20px;
}
.wtb_bottom_data_item_shop_phone a {
    text-decoration: none;
    color: #858585;
}
.wtb_bottom_data_item_shop_time {
    font-size: 16px;
    line-height: 16px;
    margin-left: 20px;
}
.wtb_bottom_data_item_shop_link {
    margin-left: 20px;
}
.wtb_bottom_data_item_shop_link a {
    padding: 14px 20px;
    background-color: #DB5856;
    border-radius: 10px;
    color: #ffffff !important;
    text-decoration: none;
    margin-top: 10px;
    display: inline-block;
}
.wtb_bottom_data_item_shop.active {
    padding-left: 19px;
    border-left: 1px solid #000;
	color: #000;
}
.wtb_bottom_data_item_shop.active a {
	color: #000;
}
.wtb_bottom_data_item_shop.active svg path:first-child {
    fill: #ffd700;
}
#balloon {
    padding: 10px 0;
}
.wtb_bottom_data_item_shop_icon {
	width: 14px;
	height: 14px;
	margin-right: 6px
}

.wrapper {
  max-width: 1510px;
  padding: 0 20px;
  width: auto !important;
}

.wtb_bottom {
  margin-top: 0;
}
@media (max-width: 1034px) {
	.wtb_top {
		flex-direction: column;
	}
	.wtb_top_left {
		width: 100%;
		padding: 0;
		margin-bottom: 10px;

	}
	.wtb_top_right {
		width: 100%;
		gap: 10px;
		flex-direction: column;
	}
	.wtb_bottom {
		flex-direction: column;
	}
	.wtb_bottom_left {
		width: 100%;
		padding: 0;
      height: 450px;
	}

  .wtb_bottom_left_wr {
    width: 100%;
    padding: 0;
    order: 2;
  }

  .wtb_bottom {
    margin-top: 0;
  }

  .wtb_bottom #map {
    height: 300px;
  }

	.wtb_bottom_right {
		width: 100%;
		gap: 10px;
		flex-direction: column;
		order: 1;
		margin-bottom: 17px;
	}
}

@media (max-width: 992px) {
  form.wtb_search input {
    font-size: 16px;
    color: #828282;
    padding-left: 13px;
  }

  .select-block__current span{
    font-size: 16px !important;
  }

  .select-block__current {
    padding-left: 13px;
    font-size: 16px;
  }

  .contacts-topline__btn {
    text-align: left;
    justify-content: start;
    font-size: 16px;
  }
}

@media (min-width: 1035px) {
  .wtb_top_left {
    order: 1;
  }

  .wtb_bottom_left{
    order: 1;
  }

  .wtb_top_right {
    gap: 14px;
  }

  .wtb_top_right .select-block,
  .wtb_top_right .contacts-topline__btn{
    flex: 0 0 calc(33.33% - 9px);
  }
}

.wtb_top_right .select-block__current{
  border-color: #DB5856;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0%;
  text-align: center;
  justify-content: center;
}

@media all and (max-width: 1034px) {
  .wtb_top_right .select-block__current,
  .contacts-topline__btn{
    justify-content: start;
  }
}

.wtb_top_right .select-block__current .select-block__current__arrow{
  display: none;
}

.wtb_top_right .select-block__current span {
  color: #DB5856;
}

.wtb_top_right .select-block:hover .select-block__current span{
  color: #202020;
}

.wtb_bottom_data_item_shop.show {
  display: flex;
  gap: 20px;
  align-items: start;
}

.wtb_bottom_data_item_shop.show .wtb_bottom_data_item_shop_click_wrap {
  flex: 1 1 auto;
}

.wtb_bottom_data_item_shop.show .wtb_bottom_data_item_shop_link {
  margin: 0 10px 0 0;
}

.wtb_bottom_data_item_shop.show .wtb_bottom_data_item_shop_link a {
  margin-top: 0;
  white-space: nowrap;
}

@media all and (max-width: 420px) {
  .wtb_bottom_data_item_shop.show {
    flex-wrap: wrap;
  }
}


.ymaps3--popup-marker_container {
  max-width: 360px !important;
}

@media all and (max-width: 600px){
  .ymaps3--popup-marker_container {
    max-width: 253px !important;
  }
}


.ymaps3--small-poi .ymaps3--default-marker__background[style="color: rgb(94, 179, 237);"] {
  color: #ffd700 !important;
}

.link_top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
  width: 40px;
  height: 150px;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='40' height='40' fill='black' fill-opacity='0.8' /%3E%3Cpath d='M20.2071 9.79289C19.8166 9.40237 19.1834 9.40237 18.7929 9.79289L12.4289 16.1569C12.0384 16.5474 12.0384 17.1805 12.4289 17.5711C12.8195 17.9616 13.4526 17.9616 13.8431 17.5711L19.5 11.9142L25.1569 17.5711C25.5474 17.9616 26.1805 17.9616 26.5711 17.5711C26.9616 17.1805 26.9616 16.5474 26.5711 16.1569L20.2071 9.79289ZM20.5 29.5L20.5 10.5L18.5 10.5L18.5 29.5L20.5 29.5Z' fill='white' /%3E%3C/svg%3E") 50% no-repeat;
  z-index: 10;
  display: none;
}

@media all and (max-width: 600px) {
  .link_top {
    bottom: 16px;
    right: 16px;
    display: block;
  }
}

.balloon-close {
  display: none !important;
}

@media all and (max-width: 990px) {
  .balloon-close {
    display: block !important;
  }
}