.basket-pop {
  position: fixed;
  top: 4rem;
  right: 4rem;
  z-index: 97;
  overflow-y: auto;

  display: none;

  width: 75rem;
  max-height: calc(100vh - 8rem);

  border-radius: 2rem;
  background-color: #fff;

  padding: 6.6rem 5.8rem 6.8rem 6.2rem;
    z-index: 9999;
}

.basket-pop__button {
  width: 100%;
  height: 6rem;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 6rem;
  background-color: #000;
  transition: background-color 0.3s ease;

  color: #fff;
  font-weight: 1.6rem;
  font-weight: 500;

  border: none;
  outline: none;
}

.basket-pop__button:not(:last-child) {
  margin-bottom: 1.5rem;
}

.basket-pop__button:hover {
  background-color: #3f892c;
}

.basket-pop__input {
  border-radius: 0.8rem;
}

.basket-pane__count.basket-pop__count {
  margin-left: 3.4rem;
}

.basket-pop__close {
  top: 1rem;
  right: 0.9rem;
}

.basket-pop__del {
  height: max-content;

  color: #a3a3a3;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1;

  transition: color 0.3s ease;

  background-color: transparent;
  border: none;
  outline: none;
}

.basket-pop__del:hover {
  color: #3f892c;
}

.basket-pop__actions {
  line-height: 1 !important;
}

.basket-item__favorite.basket-pop__favorite {
  height: max-content;

  margin-right: 1.5rem;
}

.basket-item__content.basket-pop__content {
  padding-right: 0;
}

.basket-pane__footer.basket-pop__footer {
  position: relative;

  padding-top: 3.5rem;
  margin: 2.8rem 0 7rem 0;
}

.basket-pane__footer.basket-pop__footer::before {
  position: absolute;
  content: "";

  top: 0;
  right: 0;

  width: 30.7rem;
  height: 0.1rem;

  background-color: #d9d9d9;
}


/* Overlay */
.basket-pop-overlay {
  display: none;

  position: fixed;
  inset: 0;
  z-index: 96;

  background-color: rgba(0, 0, 0, 0.2);
}

.basket-pop-overlay.show {
  display: block;
}

/* Show state */

.basket-pop.show {
  display: block;
}

/* Adaptiv */

@media only screen and (min-width: 360px) and (max-width: 1024px) {
  .basket-pop {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

@media only screen and (min-width: 360px) and (max-width: 768px) {
  .basket-pop {
    width: 100%;
		height: 45.4rem;

		padding: 5.6rem 1.8rem 3.8rem 1.2rem;
  }

  .basket-pop__button {
    height: 4rem;
  }

  .basket-pane__count.basket-pop__count {
    margin-left: 2rem;
  }

	.basket-pane__footer.basket-pop__footer {
		padding-top: 2rem;
    margin: 2.8rem 0 3rem 0;
  }

	.basket-pop__close {
		top: 3rem;
		right: 2rem;
	}
}

#basket-pop .promocode__input.has-error {
    color: #dc3545 !important;
    border-color: #dc3545 !important;
}

#basket-pop .promocode__input.has-success {
    color: inherit;
}