.cart {
  display: flex;
  position: relative;
  transition: 0.1s;
  cursor: pointer;
}

.cart-img {
  background-image: url(../../icon/backetIcon.svg);
  width: 20px;
  height: 20px;
  margin-right: 20px;
}

.cart-num {
  position: absolute;
  top: -5px;
  left: 20px;
  color: rgba(255, 255, 255, 1);
}

.img-fox {
  background-image: url(../../icon/foxIcon.svg);
  width: 20px;
  height: 20px;
}

.show-img {
  display: none;
}

.show-img {
  display: none;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.33);
  z-index: 1000;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  overflow-y: scroll;
}

.popup__container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100vh;
  max-width: 445px;
  background-color: rgba(255, 255, 255, 1);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 5;
  overflow-y: scroll;
  @media screen and (max-width: 768px) {
    height: auto;
    justify-content: flex-start;
  }
  @media screen and (max-width: 445px) {
    width: 100%;
  }
}

.popup__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px 0;
  height: 100%;
  @media screen and (max-width: 445px) {
    width: 100%;
    padding: 0;
  }
}

.popup__item h3 {
  padding: 100px 0 0;
  text-align: center;
  color: rgba(150, 149, 149, 1);
  font-family: "Montserrat";
  font-size: 15px;
  font-weight: 600;
  line-height: 23px;
  letter-spacing: 0.05em;
}

.popup__item h1 {
  font-family: "Playfair Display";
  font-size: 50px;
  font-weight: 700;
  line-height: 60px;
  text-align: center;
  padding-bottom: 100px;
  @media screen and (max-width: 768px) {
    padding-bottom: 50px;
  }
}

.popup__title {
  font-size: 20px;
}

span .popup__product-title {
  font-family: "Montserrat";
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
  letter-spacing: 0.05em;
}

.popup__product {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.popup__product-wrap {
  display: flex;
  flex-direction: column;
}
.popup__product-text {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.popup__product-amount {
  display: flex;
  padding: 0 0 0 10px;
}
.popup__product-minus,
.popup__product-plus {
  font-family: "Roboto";
  font-size: 27px;
  font-weight: 700;
  line-height: 40px;
  padding: 0 15px;
  color: rgba(140, 140, 140, 1);
  @media screen and (max-width: 768px) {
    font-size: 19px;
  }
  @media screen and (max-width: 360px) {
    padding: 0 7px;
  }
}
.popup__product-quantity {
  width: 62px;
  height: 40px;
  background-color: rgba(204, 85, 32, 1);
  border-radius: 30px;
  color: rgba(255, 255, 255, 1);
  font-family: Roboto;
  font-size: 19px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 0.02em;
  text-align: center;
}

.popup__product-remove {
  display: flex;
  padding: 15px 0 0 60px;
  @media screen and (max-width: 768px) {
    width: 50px;
    flex-direction: column-reverse;
    padding: 15px 0 0 55px;
    text-align: center;
  }
  @media screen and (max-width: 360px) {
    padding: 15px 0 0 44px;
  }
}
.popup__product-remove p {
  font-family: "Roboto";
  font-size: 11px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.02em;
  color: rgba(140, 140, 140, 1);
  padding: 8px 10px 0 0;
  @media screen and (max-width: 768px) {
    padding: 0;
  }
}
.popup__product-remove img {
  @media screen and (max-width: 768px) {
    width: 39px;
    height: 39px;
  }
}

.popup__product-image {
  width: 204px;
  height: 112px;
  border-radius: 5%;
}

.popup__product-title {
  max-width: 204px;
  font-family: "Montserrat";
  font-size: 15px;
  font-weight: 700;
  line-height: 21px;
  letter-spacing: 0.05em;
}

.popup__product-price {
  font-weight: 600;
  padding-left: 32px;
}

.popup__product-delete {
  font-size: 12px;
  padding: 5px;
  cursor: pointer;
  color: #d62240;
}

.popup__cost-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.popup__cost-title {
  font-family: "Playfair Display";
  font-size: 37px;
  font-style: italic;
  font-weight: 800;
  line-height: 56px;
  letter-spacing: 0.05em;
}

.popup__cost-value {
  font-family: "Playfair Display";
  font-size: 37px;
  font-weight: 600;
  line-height: 56px;
  letter-spacing: 0.05em;
}

.popup__cost-button {
  width: 353px;
  height: 70px;
  background-color: rgba(204, 85, 32, 1);
  color: rgba(255, 255, 255, 1);
  font-family: "Montserrat";
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  text-align: center;
  margin: 50px 0;
  border: none;
  @media screen and (max-width: 363px) {
    width: 100%;
  }
}

.popup__close {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 49%;
  padding: 60px 0 0 0;
  font-size: 13px;
  color: rgba(150, 149, 149, 1);
  text-align: center;
  @media screen and (max-width: 768px) {
    font-size: 18.32px;
  }
}

.popup__close:hover {
  color: rgb(54, 67, 100);
}

.popup--open {
  display: flex;
}
