.shop-cart-popup {
  width: 100%;
  height: 100%;
  position: fixed;
  top: -120vh;
  left: 0;
  z-index: 9999;
  background: var(--color-brown-1);
  justify-content: center;
  align-items: center;
  transition: top 0.4s ease-in-out;
}

.shop-cart-popup.opened {
  top: 0;
}

.shop-cart-popup-inner {
  width: 90%;
  max-width: 670px;
  height: auto;
  background: var(--color-white);
  padding: 70px 90px;
  border-radius: 5px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.shop-cart-popup-close--top {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 26px;
  height: 26px;
}

.shop-cart-popup-close--top:hover {
  transform: rotate(180deg);
}

.shop-cart-popup-close--top::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 26px;
  height: 26px;
  border: 2px solid var(--color-brown-1);
  border-radius: 51%;
  opacity: .1;
  z-index: 0;
  transition: all 0.3s ease-in-out;
}

.shop-cart-popup-close--top:hover::before {
  opacity: .45;
}

.shop-cart-popup-close--top span {
  position: absolute;
  z-index: 1;
  width: 15px;
  height: 1px;
  display: inline-block;
  background: var(--color-brown-1);
}

.shop-cart-popup-close--top span:first-child {
  transform: translate(-50%,-50%) rotate(45deg);
  top: 50%;
  left: 50%;
}

.shop-cart-popup-close--top span:last-child {
  transform: translate(50%,-50%) rotate(-45deg);
  top: 50%;
  right: 50%;
}

.shop-cart-popup-header {
  text-transform: uppercase;
  font-size: 1.66rem;
  line-height: 1.77rem;
}

.shop-cart-popup-content {
  width: 100%;
  position: relative;
  padding: 13px 0;
  margin: 15px 0 20px;
}

.shop-cart-popup-content p {
  margin: 0;
  padding: 0;
}

.shop-cart-popup-content::before,
.shop-cart-popup-content::after {
  content: "";
  width: 100%;
  height: 1px;
  background: var(--color-brown-1);
  position: absolute;
  left: 0;
  opacity: .1;
}

.shop-cart-popup-content::before {
  top: 0;
}

.shop-cart-popup-content::after {
  bottom: 0;
}

.shop-cart-popup-actions {
  width: 100%;
  display: block;
  margin: 0;
  padding: 0;
}

.shop-cart-popup-actions ul {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.shop-cart-popup-actions ul li a {
  font-weight: 600;
  font-size: .9rem;
  line-height: 43px;
  padding: 0 20px;
  display: inline-block;
  border-radius: 5px;
}

.shop-cart-popup-actions ul li a.shop-cart-popup-close--actions {
  color: var(--color-brown-1);
  background: var(--color-light-3);
  border: 1px solid var(--color-light-2);
}

.shop-cart-popup-actions ul li a.shop-cart-popup-close--actions:hover {
  color: var(--color-white);
  background: var(--color-brown-1);
  border: 1px solid var(--color-brown-1);
}

.shop-cart-popup-actions ul li a.shop-cart-popup-cart {
  color: var(--color-white);
  background: var(--color-blue-3);
  border: 1px solid var(--color-blue-3);
}

.shop-cart-popup-actions ul li a.shop-cart-popup-cart:hover {
  background: var(--color-blue-1);
  border: 1px solid var(--color-blue-1);
}

@media screen and (max-width: 767px) {
  .shop-cart-popup-inner {
    width: 90%;
    max-width: 670px;
    height: auto;
    background: var(--color-white);
    padding: 50px 40px;
    border-radius: 5px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .shop-cart-popup-actions ul li a {
    padding: 0 15px;
  }
}

@media screen and (max-width: 550px) {
  .shop-cart-popup-actions ul {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    align-items: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
  }

  .shop-cart-popup-header {
    font-size: 1.2rem;
    line-height: 1.3rem;
  }
}

@media screen and (max-width: 350px) {
  .shop-cart-popup-inner {
    padding: 30px 20px;
  }

  .shop-cart-popup-actions ul li a {
    line-height: 33px;
    padding: 0 10px;
    font-size: .8rem;
  }
}