.shops {
  padding: 30px 0 40px;
}

.shops__list-item {
  padding: 25px;
  border-radius: 15px;
  border: 1px solid #EFEFEF;
  margin-bottom: 18px;
  display: flex;
  gap: 45px;
  transition: all .3s;
}

.shops__list-item:hover {
  border: 1px solid #E63737;
  box-shadow: 0 0 0 1px #E63737;
}

.shops__list-item:last-child {
  margin-bottom: 0;
}

.shops__item__address {
  flex: 1 1 100%;
  max-width: 469px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.shops__item__img {
  min-width: 97px;
  width: 97px;
  height: auto;
  border-radius: 10px;
}

.shops__item__address-title {
  color: #000;
  font-size: 18px;
  font-weight: 500;
  line-height: 140%;
  margin-bottom: 4px;
}

.shops__item__address-descr {
  display: flex;
  align-items: center;
  gap: 5px;
}

.shops__item__address-icon svg {
  min-width: 20px;
  width: 20px;
  height: 20px;
}

.shops__item__address-descr span {
  color: #363636;
  font-size: 15px;
  font-weight: 400;
  line-height: 140%;
}

span.shops__item__address-icon {
  line-height: 0;
}

.shops__item__contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 10px;
}

.shops__item__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.shops__item__contact-icon {
  line-height: 0;
}

.shops__item__contact-icon svg {
  min-width: 36px;
  width: 36px;
  aspect-ratio: 1;
}

.shops__item__contact-text {
  color: #363636;
  font-size: 15px;
  font-weight: 300;
  line-height: 140%;
}


.shops__item__contact-link {
  color: #363636;
  font-size: 16px;
  font-weight: 500;
  line-height: 140%;
  transition: all .3s;
}

.shops__item__contact-link:hover {
  color: #E63737;
}



.projects {
  padding-bottom: 60px;
}

.projects-title {
  margin-bottom: 30px;
}

.projects-list {}

.project__card {}

.project__card-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}

.project__image {
  flex: 1 1 100%;
  max-width: 50%;
}

.project__image img {
  width: 100%;
  border-radius: 20px;
  aspect-ratio: 1 / 0.8;
  height: auto;
  object-fit: cover;
}

.project__content {
  flex: 1 1 100%;
  max-width: 50%;
}

.project__content-title {
  margin-bottom: 20px;
}

.project__card-text,
.project__card-text p {
  color: #363636;
  opacity: 1;
  font-size: 14px;
  margin-bottom: 15px;
}

.project__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
  margin-top: 20px;
}

.project__gallery img {
  border-radius: 15px;
  width: 100%;
  aspect-ratio: 1 / 0.8;
  object-fit: cover;
}

.project__card-btn {
  margin-top: 20px;
  width: fit-content;
}

/* Slick slider styles for projects */


.projects-list {
  position: relative;
  margin: 0 -15px;
}

.projects-list .slick-dots {
  bottom: -50px;
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 28px;
}

.projects-list .slick-dots li {
  margin: 0;
  display: flex;
}

.projects-list .slick-dots li button {
  width: 24px;
  height: 4px;
  border-radius: 999px;
  border: none;
  background: #EAEAEA;
  font-size: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.projects-list .slick-dots li.slick-active button {
  background: #E63737;
}


.projects-list .slick-slide {
  outline: none;
  margin: 0 15px;
}

.projects-list .slick-track {
  display: flex;
  align-items: stretch;
}

.projects-list .slick-slide>div {
  height: 100%;
}

.projects-list .project__card-wrapper {
  height: 100%;
}

/* Попап с картой */
.shop-map-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.shop-map-popup.active {
  opacity: 1;
  visibility: visible;
}

.shop-map-popup__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.shop-map-popup__container {
  position: relative;
  width: 1676px;
  height: 811px;
  max-width: 95vw;
  max-height: 90vh;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.shop-map-popup.active .shop-map-popup__container {
  transform: scale(1);
}

.shop-map-popup__close {
  position: absolute;
  top: -40px;
  right: -58px;
  width: 53px;
  height: 53px;
  border: 2px solid rgba(255, 255, 255, 0.20);
  background: transparent;
  border-radius: 15px;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.shop-map-popup__close:hover {
  background: rgba(255, 255, 255, 1);
  color: #E63737;
}

.shop-map-popup__content {
  width: 100%;
  height: 100%;
  position: relative;
}

.shop-map-popup__map {
  width: 100%;
  height: 100%;
  border-radius: 20px;
}


.shop-map-popup__info {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 20%;
  background: white;
  padding: 20px;
  border-radius: 15px;
  background: #FFF;
  box-shadow: 0 4px 69px 0 rgba(0, 0, 0, 0.20);
  max-width: 327px;
  width: 100%;
  z-index: 5;
  height: fit-content;
}

.shop-map-popup__address,
.shop-map-popup__phone {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 25px;
}

.shop-map-popup__phone {
  margin-bottom: 20px;
}

.popup-text {
  color: #000;
  font-size: 16px;
  font-weight: 500;
  line-height: 140%;
  margin-bottom: 4px;
}

.shop-map-popup__address-icon {
  line-height: 0;
  min-width: 30px;
}

.shop-map-popup__address-icon {
  min-width: 30px;
  width: 30px;
}

.shop-map-popup__phone-icon {
  line-height: 0;
  min-width: 20px;
}

.shop-map-popup__schedule span,
.popup-phone-subtitle {
  color: #787878;
  font-size: 13px;
  font-weight: 300;
  display: block;
}

.shop-map-popup__address-text,
.shop-map-popup__phone-text {
  display: flex;
  flex-direction: column;
}

.shop-map-popup__route-btn {
  width: 100%;
}


.shop-map-popup__map .ymaps-2-1-79-balloon__content {
  background: white;
  border-radius: 10px;
  padding: 15px;
}

.shop-map-popup__wrapper {
  position: relative;

}


@media (max-width: 1700px) {
  .shop-map-popup__close {
    position: absolute;
    top: -69px;
    right: 0;
  }
}

/* Адаптивность */
@media (max-width: 1200px) {
  .shop-map-popup__container {
    width: 90vw;
    height: 60vh;
  }

  .shop-map-popup__info {
    bottom: 20px;
    left: 20px;
    max-width: 300px;
    padding: 20px;
  }

}





@media (max-width: 1260px) {
  .shops__list-item {
    gap: 25px;
    flex-wrap: wrap;
  }

  .shops__item__contact {
    justify-content: flex-start;
    gap: 25px;
  }
}

@media (max-width: 1024px) {
  .project__card-wrapper {
    gap: 25px;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .shops__item__contact {
    flex-wrap: wrap;
  }

  .shops__item__contact-btn {
    display: block;
  }

  .shops {
    padding: 25px 0 30px;
  }

  .shops__list-item {
    padding: 10px;
    gap: 14px;
  }

  .shops__item__img {
    min-width: 70px;
    width: 70px;
  }

  .shops__item__address-title {
    font-size: 15px;
  }

  .shops__item__address-descr span {
    font-size: 13px;
  }

  .shops__item__address {
    gap: 10px;
  }

  .shops__item__contact-text {
    font-size: 14px;
  }

  .shops__item__contact-link {
    font-size: 15px;
  }

  .shops__item__address-descr {
    align-items: flex-start;
  }

  .projects {
    padding-bottom: 30px;
  }

  .project__card-wrapper {
    flex-direction: column;
    gap: 14px;
  }

  .project__image {
    flex: 1 1 100%;
    max-width: 80%;
  }

  .project__content {
    max-width: 100%;
  }

  .project__content-title {
    margin-bottom: 10px;
  }

  .project__card-text,
  .project__card-text p {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .project__card-btn {
    margin-top: 10px;
  }

  .project__gallery {
    margin-bottom: 10px;
    margin-top: 10px;
  }

  .projects-list .slick-dots {
    margin-top: 20px;
  }

  .shop-map-popup__close {
    top: -57px;
    width: 41px;
    height: 41px;
    font-size: 20px;
  }

  .shop-map-popup__info {
    bottom: 14px;
    left: 14px;
    top: auto;
    transform: none;
    width: calc(100% - 28px);
    max-width: 100%;
  }

  .popup-text {
    font-size: 14px;
    margin-bottom: 2px;
  }

  .shop-map-popup__address,
  .shop-map-popup__phone {
    margin-bottom: 10px;
    gap: 10px;
  }
}

@media (max-width: 570px) {
  .shops__item__contact-btn {
    width: 100%;
  }

  .shops__item__contact {
    gap: 14px;
  }

  .project__image {
    max-width: 100%;
  }

  .project__card-btn {
    width: 100%;
  }
}

@media (max-width: 470px) {
  .project__gallery {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
  }

  .project__gallery img {
    width: 60%;
  }
}