.popup {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  display: none;
  justify-content: center;
  align-items: center;
}

.popup_is-opened {
  visibility: visible;
  display: flex;
  opacity: 1;
  transition: visibility 0s, opacity 0.6s;
  pointer-events: all;
}

.popup__close-btn {
  position: absolute;
  top: -50px;
  right: -43px;
  padding: 18px;
  font-size: 0;
}

.popup__close-btn svg {
  width: 12px;
  height: 12px;
}

.popup__container {
  position: relative;
  display: flex;
  max-width: 900px;
  max-height: 500px;
  border-radius: 9px;
  background-color: #fafafa;
}

.popup__image {
  min-width: 500px;
  border-radius: 9px;
}

.popup__info {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 50px 20px 0 30px;
  font-family: var(--font-family);
}

.popup__header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.popup__name {
  font-size: 35px;
  line-height: 45.5px;
  letter-spacing: 0.06em;
}

.popup__type {
  font-size: 20px;
  line-height: 23px;
  letter-spacing: 0.06em;
}

.popup__description {
  font-size: 15px;
  line-height: 16.5px;
  letter-spacing: 0.06em;
}

.popup__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
  letter-spacing: 0.06em;
}

.popup__list-item {
  margin-left: 15px;
  list-style: disc;
}
.popup__list-item::marker {
  color: #f1cdb3;
}

@media (width < 1280px) {
  .popup__container {
    max-width: 630px;
    max-height: 350px;
  }

  .popup__image {
    min-width: 350px;
  }

  .popup__info {
    gap: 19px;
    padding: 10px 9px 0;
  }

  .popup__description {
    font-size: 13px;
    line-height: 14.3px;
    letter-spacing: 0.06em;
  }

  .popup__list {
    gap: 6px;
  }
}

@media (width < 768px) {
  .popup__container {
    position: relative;
    display: block;
    max-width: 240px;
    max-height: fit-content;
    border-radius: 9px;
    background-color: #fafafa;
  }

  .popup__close-btn {
    right: -30px;
  }

  .popup__image {
    display: none;
  }

  .popup__info {
    gap: 20px;
    padding: 10px;
  }

  .popup__header {
    text-align: center;
  }

  .popup__description {
    text-align: justify;
  }
}
