.itl-internet-store-name.itl-internet-store-name.itl-internet-store-name.itl-internet-store-name {
  min-width: 20.08vw;
  max-width: 20.08vw;
  margin-right: 0.729vw;
}

.ital-map .cities-selector {
  max-height: 611px;
  overflow-y: scroll;
}

.ital-map .cities-selector::-webkit-scrollbar {
  width: 0px;
}

.location_block_inner-contacts .location-item-email {
  text-overflow: ellipsis;
  overflow: hidden;
  transition: all 0.15s ease-in;

  &:hover {
    color: #CE2B37;
  }
}

.location-item-phone {
  transition: all 0.15s ease-in;

  &:hover {
    color: #CE2B37;
  }
}

.location_block_inner-contacts .location-item-link {
  text-overflow: ellipsis;
  overflow: hidden;
}

.location_block_inner-contacts .location-box-main-el {
  width: 100%;
}

/* test */

.white-blue-bg-gradient-map {
  /* background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(249, 209, 214, 1) 85%,
    rgba(247, 184, 190, 1) 100%
  ); */
  background-color: #fff;
}

.map-button {
  width: 25%;
  height: 100%;
  background-color: #FBE3E6;
}

.map-button.active {
  background-color: #8A1C24;
  position: relative;
}

/* .map-button.active:not(:first-child):before {
  content: "";
  display: block;
  width: 2px;
  height: 100%;
  position: absolute;
  background: #8A1C24;
  z-index: 9;
  left: -2px;
} */

.map-button.active .map-text {
  font-size: 20px;
  color: white;
  font-weight: bold;
}

.map-window {
  opacity: 0;
  height: 0;
  width: 0;
  transform: translateY(40px);
  transition: transform 0.2s ease-in;
  /* display: none; */
  overflow: hidden;
}

.map-window.active {
  height: 100%;
  width: 100%;
  /* display: block; */
  opacity: 1;
  /* transform: translateY(0); */
  transform: translateY(0px) scale(1);

  /* transform: translateX(-100px) translateY(50px); */
  /* transition: all 0.8s ease; */
}

.map-window.visible.active {
  /* opacity: 1; */
  /* transform: translateX(0) translateY(0); */
}

.map-border {
  box-sizing: border-box;
  pointer-events: none;
}

.map-text {
  pointer-events: none;
}

body .locations-map__locations-box {
  width: 479px;
  height: 780px;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  gap: 7px;
}

body .locations-map__locations-bottom-button {
  width: 100%;
  height: 80px;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  background-color: var(--primary-color);
  /* transition: all 0.3s ease-in; */

  &:hover {
    /* opacity: 0.8; */
  }

  /* mt-[9px] */
}

body .lbme-content {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

body .location-item-link.lbme-content {
  font-weight: 700;

}

body .location-box-main-el {
  gap: 10px;
}

.map-location-block {
  width: 100%;
  height: 80px;
  border-width: 1px;
  border-color: #8A1C24;
  /* margin-bottom:9px; */
  padding-left: 19px;
  padding-right: 19px;
  transition: all 0.2s ease;
  overflow: hidden;
}

.map-location-block:not(:first-child) {
  /* margin-top: 8px; */
  margin-top: 7px;
}

.map-location-block:last-child {
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}

.map-location-block.active {
  height: 247px;
}

.map-location-block .location_block_inner {
  display: none;
}

.map-location-block.active .location_block_inner {
  width: 100%;
  color: #8A1C24;
  font-size: 14px;
  display: flex;
}

.loc-image {
  pointer-events: none;
}

.map-location-button {
  min-width: 22px;
}

.map-location-button .loc-image {
  width: 22px;
  height: 23px;
  content: url("../../image/ital/map/add-button.png");
}

.map-location-button.active .loc-image {
  width: 22px;
  height: 22px;
  content: url("../../image/ital/map/remove.png");
  filter: brightness(0) saturate(100%) invert(15%) sepia(55%) saturate(1688%) hue-rotate(207deg) brightness(89%) contrast(95%);
}

.map-pin-but:hover>div {
  color: #CE2B37;
}

.map-pin-but>img {
  content: url("../../image/ital/map/gps_black.png");
}

.map-pin-but:hover>img {
  content: url("../../image/ital/map/gps_hovered.png");
}

.location-box-main-el:hover .lbme-content {
  color: #CE2B37;
  transition-duration: 200ms;
}

.map-header-fade {
  opacity: 0;
  transform: translateY(-100px);
  transition: all 2s ease;
}

#product-product .map-header-fade {
  opacity: 1;
  transform: translateY(0);
  /* transition: all 2s ease; */
}

.map-header-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

.locations-scroll::-webkit-scrollbar {
  width: 4px;
}

.locations-scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0);
}

.locations-scroll::-webkit-scrollbar-thumb {
  background: rgb(123, 151, 189);
  border-radius: 0px;
}

.locations-scroll::-webkit-scrollbar-thumb:hover {
  background: rgb(197 210 227);
}

.locations-scroll {
  height: calc(100% - 178px);
  overflow-y: scroll;
  overflow-x: hidden;
  margin-right: -8px;
  padding-right: 5px;
}

.custom-popup {
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  color: #8A1C24;
}

.custom-popup .custom-title {
  font-weight: 600;
  font-size: 14px;
}

.custom-popup .custom-text {
  font-weight: 500;
  font-size: 11px;
}

.map-location-city-selector-wrapper {
  width: 100%;
  height: 80px;
  position: relative;
}

.map-location-city-selector {
  width: 100%;
  height: 100%;
  background-color: rgba(206, 43, 55, 0.15);
  padding-left: 20px;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;

  border-top-right-radius: 40px;
  border-top-left-radius: 40px;
  transition: all 0.2s ease;

  /* w-full h-[80px] rounded-t-[40px] bg-[#FBE3E6] pl-[20px] flex justify-between items-center */
}

body .map-pin-but {
  gap: 10px;
}

.map-location-city-selector>div:nth-child(2) {
  rotate: 44deg;
  transition: all 0.2s ease-in-out;
}

.map-location-city-selector.active>div:nth-child(2) {
  rotate: 134deg;
}

.map-location-city-selector:nth-child(2) {
  background-color: black;
}

.map-location-city-selector:hover {
  cursor: pointer;
  background-color: rgba(145, 176, 216, 1);
}

/* .map-location-city-selector:active + div + div>div:nth-child(1){
    margin-top: 18px;
  } */

.cities-selector {
  width: 100%;
  visibility: hidden;
  opacity: 0;
  top: 60px;
  left: 0;
  position: absolute;
  transition: all 0.2s ease-in;

  &.active {
    visibility: visible;
    opacity: 1;
    position: absolute;
    z-index: 99;
    top: 80px;
    border-color: #FBE3E6;
    user-select: none;
  }
}

.map-location-city-but {
  width: 100%;
  height: 80px;
  background-color: white;
  padding-left: 20px;
  border-bottom: 4px solid #FBE3E6;
  border-left: 4px solid #FBE3E6;
  border-right: 4px solid #FBE3E6;

  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.15s ease;

  &:hover {
    cursor: pointer;
    background-color: rgba(145, 176, 216, 1);
  }
}

.map-location-block-text {
  padding-right: 10px;
  /* max-width: 380px; */
  /* max-width: 250px; */
  width: fit-content;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body .map-location-title-city {
  color: var(--primary-color);
  /* max-width: 250px; */
  max-width: 300px;
  width: fit-content;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body .location_block_inner-info {
  margin-left: 8px;
}

body .location-box-item.location-box-schedule-wrapper {
  &>div>p {
    font-size: 12px;
    margin-left: 34px;
  }
}

/* internet-store */
#map_anchor .itl-internet-store-item {
  color: var(--primary-color);
  margin-bottom: 8px;
  border-color: var(--primary-color);
}

#map_anchor .itl-internet-store-contacts {
  font-weight: 500;
  font-size: 14px;
}

.itl-internet-store-contact-text {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
}

#map_anchor .itl-internet-store-box .itl-internet-store-item:nth-child(n + 5) {
  height: 0;
  visibility: hidden;
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 0;
  transition: all 0.12s ease-in;
  /* display: none; */
}

#map_anchor .itl-internet-store-box.active .itl-internet-store-item:nth-child(n + 5) {
  /* display: block; */
  visibility: visible;
  height: 100%;
  padding-top: 25px;
  padding-bottom: 27px;
  margin-bottom: 8px;
}

#map_anchor .itl-internet-store-box .itl-internet-store-less-text {
  display: none;
}

#map_anchor .itl-internet-store-box.active .itl-internet-store-less-text {
  display: block;
}

#map_anchor .itl-internet-store-box.active .itl-internet-store-more-text {
  display: none;
}

#map_anchor .itl-internet-store-name {
  color: var(--primary-color);
}

#map_anchor .itl-internet-store-item .itl-internet-store-link {
  font-weight: 520;
}

.itl-internet-store-item .itl-internet-store-content {
  /* display: none; */
  display: flex;
  padding-left: calc(200px + 16.5%);

  visibility: hidden;
  opacity: 0;
  height: 0;
  margin-top: 0;
  transition: all 0.12s ease-in;
}

.itl-internet-store-item .itl-internet-store-content.active {
  visibility: visible;
  height: 100%;
  margin-top: 47px;
  opacity: 1;
  /* display: flex; */
}

.itl-internet-store-link {
  display: flex;
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
  transition: all 0.3s ease-in;

  &:hover {
    opacity: 0.8;
  }
}

.itl-internet-store-contact-link {
  display: flex;
  align-items: center;
  gap: 9px;
  transition: all 0.3s ease-in;

  &:hover {
    opacity: 0.8;
  }
}

body .itl-internet-store-title {
  align-items: center;
}

body .itl-internet-store-name {
  word-break: break-word;
  overflow: hidden;
}

body .itl-internet-store-link-wrapper a {
  overflow: hidden;
  margin-right: 40px;
  word-break: break-word;
}

.itl-internet-store-item .map-store-button .loc-image {
  width: 22px;
  height: 23px;
  content: url("../../image/ital/map/add-button.png");
}

.itl-internet-store-item .map-store-button.active .loc-image {
  width: 22px;
  height: 22px;
  content: url("../../image/ital/map/remove.png");
  filter: brightness(0) saturate(100%) invert(15%) sepia(55%) saturate(1688%) hue-rotate(207deg) brightness(89%) contrast(95%);
}

#map_anchor .itl-internet-store-more-button {
  background-color: var(--primary-color);
  color: #fff;

  &.openable:hover {
    opacity: 0.9;
    transition: all 0.12s ease-in;
  }
}


body .header-select-text {
  width: fit-content;
  max-width: 250px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.map__upper-buttons-wrapper {
  height: 100%;
  display: flex;
}

.map__bottom-buttons-wrapper {
  height: 100%;
  display: flex;
}

body .ital-map .map-header-fade .map__upper-buttons-wrapper .map-button {
  width: 50%;
}

/* .ital-map .map-header-fade [data-button="marketplace"] {
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
} */

/* .ital-map .map-header-fade [data-button="marketplace"] .map-border {
  border: none;
} */

.map__all-windows-wrapper {
  margin-top: 40px;
}

/* #marketplace.map-window {
  padding-left: 37px;
  padding-right: 37px;
} */

.marketplace__tab-wrapper {
  height: 120px;
  border-bottom: 1px solid var(--primary-color);
  border-top: 1px solid var(--primary-color);
  margin-bottom: 9px;

  display: flex;
  align-items: center;

  & div {
    /* width: 33.3%; */
    display: flex;
  }
}

.marketplace__tab-title {
  color: var(--primary-color);
  width: 41.3%;
  font-size: 20px;
  font-weight: 700;
  padding-left: 20px;
  justify-content: start;
  margin-right: 10px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.marketplace__tab-image-wrapper {
  width: 29.35%;
  height: 40px;
  justify-content: start;
}

/* .marketplace__tab-link-button-wrapper {
  width: 29.35%;
  justify-content: end;
  padding-right: 20px;
  transition: all 0.2s ease-in;

  & .marketplace__tab-link-button {
    border-radius: 27px;
    border: 2px solid rgba(30, 43, 101, 0.3);
    width: 179px;
    height: 54px;
    position: relative;
    transition: all 0.12s ease-in;

    &:hover {
      border: 2px solid rgba(30, 43, 101, 1);
    }

    &:hover .marketplace__tab-link-button-arrow {
      background-color: rgba(30, 43, 101, 1);
    }

    &:hover .marketplace__tab-link-button-arrow-image {
      background: url("../../image/ital/map/marketplace_arrow_white.png") 0 0 / contain no-repeat;
    }

    &:hover .marketplace__tab-link-button-text {
      font-weight: 700;
    }
  }

  & .marketplace__tab-link-button-text {
    color: var(--primary-color);
    font-weight: 500;
    height: 100%;
    display: flex;
    font-size: 16px;
    align-items: center;
    justify-content: center;
    padding-right: 48px;
  }

  & .marketplace__tab-link-button-arrow {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    display: flex;
    position: absolute;
    justify-content: center;
    align-items: center;
    background-color: rgba(30, 43, 101, 0.1);
    top: 5px;
    right: 7px;
    transition: all 0.12s ease-in;
  }

  & .marketplace__tab-link-button-arrow-image {
    width: 15px;
    height: 15px;
    background: url("../../image/ital/map/marketplace_arrow_black.png") 0 0 / contain no-repeat;
  }

} */

.marketplace__main-wrapper {
  border-radius: 40px;
  overflow: hidden;
  display: flex;
  gap: 21px;
  width: 1338px;
  max-width: 100%;
  margin: auto;
  flex-wrap: wrap;

  & .marketplace_item {
    position: relative;
    width: 436px;
    max-width: calc(33.63% - 14px);
    display: block;

    & .marketplace_top {
      display: flex;
      justify-content: center;
      align-items: center;
      padding-top: 30px;
      padding-left: 50px;
      padding-bottom: 30px;
      padding-right: 50px;
      background-color: #FDEDEF;
      margin-bottom: 3px;
      height: 200px;

      & .marketplace_img_box {
        height: calc(40% + 1px);
        overflow: hidden;
        position: relative;

        & .marketplace_img {
          transition: none;
          max-width: 267px;
          height: auto;
          max-height: 170px;
          aspect-ratio: auto;
        }

      }
    }

    &:hover .marketplace_img_box img {
      transform: translateY(-50%);
    }
  }

}


.ital-map .distributor_item *:not(.distributor_img),
.ital-map .marketplace_item * {
  transition: all 0.2s;
}

.ital-map .distributor_item:hover .distributor_arrow {
  transform: rotate(44deg);
}

/* .ital-map .distributor_item .distributor_img{
  opacity: 1;
} */
.ital-map .distributor_item:hover .distributor_img {
  opacity: 0;
}

.ital-map .distributor_item .distributor_img_mask {
  background: linear-gradient(to right, rgba(30, 43, 101, 0) 0%, rgb(37, 80, 223, 0) 100%);
  -webkit-mask-image: var(--mask-url);
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-image: var(--mask-url);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.ital-map .distributor_img_box {
  width: 100%;
  display: flex;
  justify-content: center;
}

.ital-map .distributor_item:hover .distributor_img_mask {
  background: linear-gradient(to right, rgb(138, 28, 36) 0%, rgb(37, 80, 223) 100%);
}

.ital-map .distributor_item:hover .distributor_bottom {
  background: var(--primary-color);
}

.ital-map .distributor_item:hover .distributor_text {
  border-color: #fff;
  color: #fff;
}

.ital-map .distributor_text {
  word-break: break-word;
}

.ital-map .marketplace_arrow {
  background: url("../../image/ital/arrow_black.png") 0 0 / contain no-repeat;
  width: 16px;
  height: 15px;
}

.ital-map .marketplace_item:nth-child(3n - 1) {
  width: 424px;
  max-width: calc(32.73% - 14px);

  .marketplace_bottom {
    padding-left: 44px;
    padding-right: 44px;
  }
}

.ital-map .marketplace_img {
  /* image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transform: translateZ(0);
    backface-visibility: hidden; */
  /* transform: translate3d(0, 0, 0);
  will-change: transform; */
}

.ital-map .marketplace_item:hover {
  .marketplace_arrow {
    background: url("../../image/ital/arrow.png") 0 0 / contain no-repeat;
    transform: rotate(45deg);
    width: 16px;
    height: 16px;
    margin-right: 3px;
  }

  .marketplace_bottom {
    background: var(--primary-color);
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
  }

  .marketplace_text {
    color: #fff;
    border-color: #fff;
  }

  /* .marketplace_gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(30, 43, 101, 0.7) 0%, rgba(37, 80, 223, 0.7) 100%); */
  /* -webkit-mask-image: var(--mask-url);
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-image: var(--mask-url);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center; */
  /* } */
}

.ital-map .marketplace_item:not(:last-child):after {
  content: "";
  position: absolute;
  top: 0;
  right: -11px;
  height: 100%;
  width: 1px;
  background-color: rgba(128, 128, 128, 0.14);
}


body .location-box-item {
  &:nth-child(1):not(.shop-present) {
    margin-top: 0px;
  }

  &:nth-child(2):not(.shop-present) {
    margin-top: 30px;
  }

  &.shop-present {
    margin-top: 30px;
  }
}

@media (max-width: 1537px) {
  body .locations-map__locations-wrapper {
    gap: 20px;
  }

  body #location-map {
    width: 58%;
  }
}

@media (max-width: 1280px) {
  body .locations-map__locations-wrapper {
    gap: 20px;
    padding-right: 0;
    padding-left: 0;
  }

  body #location-map {
    width: 45%;
  }

  body .locations-map__locations-box {
    width: 52%;
  }



  .marketplace__main-wrapper {
    & .marketplace_item {
      & .marketplace_top {

        & .marketplace_img_box {
          height: calc(29% + 1px);
          overflow: hidden;
          position: relative;

          & .marketplace_img {
            transition: none;
            max-width: 200px;
            height: auto;
            max-height: 170px;
            aspect-ratio: auto;
          }

        }
      }

      &:hover .marketplace_img_box img {
        transform: translateY(-50%);
      }
    }

  }


}

@media (min-width: 930px) {
  /* body .map__only-mobile-button {
    display: none;
  } */

  /* .map__upper-buttons-wrapper {
    width: 66.6%;
  } */

  /* .map__bottom-buttons-wrapper {
    width: 33.3%;
  } */
  .map__upper-buttons-wrapper,
  .map__bottom-buttons-wrapper {
    width: 50%;
  }

  body .ital-map .map-header-fade .map__bottom-buttons-wrapper .map-button {
    width: 100%;
  }

  .map__all-buttons-wrapper {
    flex-direction: row;
  }

  .map__upper-buttons-wrapper .map-button.active:not(:first-child)::before {
    content: "";
    display: block;
    width: 3px;
    height: 100%;
    position: absolute;
    background: #8A1C24;
    z-index: 9;
    left: -3px;
  }

  .map__bottom-buttons-wrapper .map-button.active::before {
    content: "";
    display: block;
    width: 3px;
    height: 100%;
    position: absolute;
    background: #8A1C24;
    z-index: 9;
    left: -3px;
  }
}

@media (max-width: 929px) {
  .ital-map .cities-selector {
    max-height: 407px;
  }

  body .white-blue-bg-gradient-map {
    background: linear-gradient(145deg, rgba(255, 255, 255, 1) 0%, rgba(249, 209, 214, 1) 60%, rgba(247, 184, 190, 1) 100%);
  }

  body .map__only-mobile-button {
    display: flex;
  }

  .map__all-buttons-wrapper {
    gap: 2px;
    flex-direction: column;
  }

  body .map__upper-buttons-wrapper {
    height: 60px;
    width: 100%;
    gap: 2px;
  }

  .map__bottom-buttons-wrapper {
    height: 60px;
    width: 100%;
    gap: 2px;
  }

  body .ital-map .map-header-fade .map__bottom-buttons-wrapper .map-button {
    width: 50%;
  }

  body .map__upper-buttons-wrapper .map-button {
    &:first-child {
      border-bottom-left-radius: unset;
      border-top-right-radius: unset;
      border-top-left-radius: 21.5px;
    }

    border-top-right-radius: 21.5px;

    & .map-text {
      letter-spacing: -0.8px;
      font-size: 13px;
      font-weight: 700;
    }

    &.active .map-text {
      font-size: 13px;
      font-weight: 700;
    }
  }

  body .ital-map .map-header-fade .map__bottom-buttons-wrapper .map-button {
    border-top-right-radius: unset;
    border-bottom-right-radius: unset;

    & .map-text {
      letter-spacing: -0.8px;
      font-size: 13px;
      font-weight: 700;
    }

    &.active .map-text {
      font-size: 13px;
      font-weight: 700;
    }
  }

  body .ital-map {
    padding-bottom: 64px;
    /* padding-right: 16px;
    padding-left: 16px; */

    /* padding-right: 14px;
    padding-left: 15px; */
    padding-right: 3%;
    padding-left: 3.2%;
  }

  body .map-element__switch-wrapper {
    height: 60px;
  }

  body .locations-map__locations-wrapper {
    padding-left: unset;
    padding-right: unset;
    flex-direction: column-reverse;
  }

  body .locations-map__locations-box {
    height: 547px;
    width: 100%;
  }

  body .locations-scroll {
    height: calc(100% - 130px);
  }

  body #location-map {
    border-radius: unset;
    width: 100%;
    height: 369.3px;
  }

  body .locations-map__locations-bottom-button {
    height: 60px;
    border-bottom-right-radius: 24px;
    border-bottom-left-radius: 24px;
    margin-top: 2px;
  }

  body .map-location-city-selector {
    border-radius: unset;
  }

  body .cities-selector {
    top: 40px;

    &.active {
      top: 55px;
    }
  }

  body .locations-map__locations-box {
    height: fit-content;
    /* row-gap: 5px; */
    row-gap: 7px;
  }

  body .locations-scroll {
    /* max-height: 392.4px; */
    max-height: 395px;
    height: fit-content;
  }

  body .map-border {
    border-color: rgba(30, 43, 101, 0);
  }

  .map__upper-buttons-wrapper .map-button.active:not(:first-child)::before {
    width: 0px;
  }

  .map__bottom-buttons-wrapper .map-button.active::before {
    width: 0px;
  }

  body .map-element__switch-wrapper {
    background-color: unset;
    height: unset;
  }

  body .map__all-windows-wrapper {
    margin-top: 10px;
  }

  body .locations-map__locations-wrapper {
    gap: 10px;
  }

  body .map-location-city-selector-wrapper {
    height: 56px;

    & .map-location-city-selector {
      padding-left: 12px;
    }
  }

  body .map-location-city-but {
    height: 56.2px;
    /* width: calc(100% + 1px); */
  }

  body .map-location-title-city {
    font-size: 14px;
    font-weight: 700;
  }

  #map_anchor .itl-internet-store-box.active .itl-internet-store-item:nth-child(n + 5) {
    padding-top: 13.5px;
    padding-bottom: 13.5px;
  }

  body .header-select-text {
    font-size: 14px;
  }

  body .map-location-quantity {
    font-size: 13px;
  }

  body .map-location-city-selector-image {
    margin-right: 19px;

    &>img {
      width: 12px;
      height: 12px;
    }
  }

  body .map-location-block-wrapper {
    height: 54.9px;
  }

  body .map-location-block {
    height: 54.9px;
    /* height: 55.2px; */
    /* padding-left: 12px;
    padding-right: 12px; */
    padding-left: 13px;
    padding-right: 14px;

    &.active {
      height: 203.1px;
    }
  }

  .map-location-block:last-child {
    border-bottom-left-radius: unset;
    border-bottom-right-radius: unset;
  }

  body .map-location-block-text {
    font-size: 14px;
  }

  .map-location-block.active .location_block_inner {
    font-size: 12px;
    /* padding-left: 10px; */

    & img {
      width: 25px;
      height: 25px;
    }

    &>div {
      /* margin-top: 8px; */
      margin-top: 11px;
    }

    & .location_block_inner-qr img {
      width: 68px;
      height: 68px;
    }
  }

  .map-location-button {
    min-width: 17px;

    &.active .loc-image {
      width: 17px;
      height: 17px;
    }

    & .loc-image {
      width: 17px;
      height: 17px;
    }
  }

  body .location_block_inner-contacts,
  body .location_block_inner-info {
    width: 167px;
  }

  body .location-box-item {
    white-space: nowrap;
    align-items: center;

    &:nth-child(1):not(.shop-present) {
      margin-top: 0px;
    }

    &:nth-child(2):not(.shop-present) {
      margin-top: 20px;
    }

    &.shop-present {
      margin-top: 20px;
    }
  }

  body .location-box-item:first {
    margin-top: 0px;
  }

  body .map-pin-but {
    align-items: center;
  }

  body .lbme-content {
    margin-top: 4px;
    margin-left: 10px;
  }

  body .location-box-item.location-box-schedule-wrapper {
    margin-top: 7px;
  }

  body .text-end {
    letter-spacing: -0.7px;

    &:nth-child(1) {
      text-align: start;
    }

    &:nth-child(2) {
      margin-top: 0px;
      margin-left: 55px;
    }
  }

  /* ---------------------INTERNET STORE---------------------------- */

  body .itl-internet-store-box {
    padding-left: 0px;
    padding-right: 0px;
  }

  #map_anchor .itl-internet-store-item {
    padding-left: 12px;
    padding-right: 12px;
  }

  body .itl-internet-store-item {
    padding-top: 13.5px;
    padding-bottom: 13.5px;
  }

  body .itl-internet-store-name {
    font-size: 12px;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  body .itl-internet-store-link-wrapper {
    padding-left: 10px;
  }

  body .itl-internet-store-link {
    font-size: 11px;
  }

  .itl-internet-store-item .map-store-button {
    &.active .loc-image {
      width: 17px;
      height: 17px;
    }

    & .loc-image {
      width: 17px;
      height: 17px;
    }
  }

  body .itl-internet-store-link {
    align-items: center;
  }

  body .itl-internet-store-contact,
  body .itl-internet-store-working-hours-title,
  body .itl-internet-store-working-hours-item,
  body .itl-internet-store-working-hours-item {
    white-space: nowrap;
    font-size: 12px;
  }

  body .itl-call-us-content-img {
    width: 25px;
    height: 25px;
  }

  body .itl-internet-store-more-button {
    height: 60px;
    font-size: 14px;
  }

  body .itl-internet-store-name {
    min-width: 100px;
    overflow: hidden;
    margin-right: unset;
  }

  .itl-internet-store-item .itl-internet-store-content {
    padding-left: 0px;
  }

  /* --------------------marketplace --------------------------------------- */
  /* #marketplace.map-window {
    padding-left: 0;
    padding-right: 0;
  } */

  .ital-map .marketplace__main-wrapper {
    justify-content: center;
  }

  .ital-map .marketplace_item,
  .ital-map .marketplace_item:nth-child(3n - 1) {
    max-width: 100%;
  }

  .ital-map .marketplace_item:not(:last-child):after {
    content: unset;
  }

  .ital-map .marketplace_img {
    max-width: 267px;
  }


  .marketplace__tab-wrapper {
    height: 60px;
  }

  body .marketplace__tab-title {
    width: 33.3%;
    font-size: 14px;
  }

  body .marketplace__tab-image-wrapper {
    height: 20px;
    width: 33.3%;
  }

  body .marketplace__tab-link-button-wrapper {
    width: 33.3%;
  }

  .marketplace__tab-link-button-wrapper {
    & .marketplace__tab-link-button {
      height: 40px;
      width: 120px;
    }

    & .marketplace__tab-link-button-text {
      font-size: 12px;
    }

    & .marketplace__tab-link-button-arrow {
      width: 30px;
      height: 30px;
      top: 8%;
      right: 8%;
    }
  }
}

@media (max-width: 530px) {

  .itl-internet-store-item .itl-internet-store-content .location_block_qr_code {
    display: none;
  }

  body .text-end {
    &:nth-child(2) {
      margin-left: 0px;
    }
  }

  body .itl-internet-store-contacts {
    margin-right: 5px;
  }

  body .map-location-title-city {
    max-width: 180px;
  }

  body .header-select-text {
    max-width: 150px;
  }

  body .location_block_inner-qr {
    display: none;
  }
}

@media (max-width: 424px) {
  .itl-internet-store-box .itl-internet-store-item .itl-internet-store-content {
    justify-content: space-between;
  }

  .itl-internet-store-item .itl-internet-store-content .itl-internet-store-working-hours-box {
    margin: 0;
  }
}

@media (max-width: 420px) {
  body .marketplace__tab-title {
    font-size: 12px;
    width: 50%;
  }

  body .marketplace__tab-link-button-wrapper {
    width: 50%;
  }

  body .marketplace__tab-image-wrapper {
    display: none;
  }

  .itl-internet-store-working-hours-box .img {
    display: none;
  }

  /* .map-location-block-text {
    max-width: 300px;
  } */
}
