.minicart {
  position: fixed;
  right: -99%;
  top: 0;
  width: 460px;
  background: white;
  z-index: 9999;
  bottom: 0;
  top: 0;
  transition-delay: 0.3s;
  transition-duration: 0.4s;
}
@media (max-width: 576px) {
  .minicart {
    right: -999%;
    width: 95%;
  }
}

.minicart__outer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  opacity: 0;
  z-index: -999;
  visibility: hidden;
  transition-duration: 0.4s;
  background-color: rgba(0, 0, 0, 0.4);
}
.minicart__outer:not(.active) {
  transition-delay: 0.6s;
}
.minicart__outer.active {
  z-index: 999;
  opacity: 1;
  visibility: visible;
}
#minicart.active {
  right: 0;
}
.minicart #preloader-container {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  top: 0;
  background: rgba(255, 255, 255, 0.64);
  display: flex;
  justify-content: center;
  align-items: center;
}
.minicart #preloader-container .dots-loader {
  display: inline-block;
  text-align: center;
}
.minicart #preloader-container .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 2px;
  background-color: rgb(107, 39, 55);
  border-radius: 50%;
  animation: bounce 1.5s infinite ease-in-out;
}
.minicart #preloader-container .dot:nth-child(1) {
  animation-delay: -0.3s;
}
.minicart #preloader-container .dot:nth-child(2) {
  animation-delay: -0.15s;
}
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.minicart h3 {
  font-size: 28px;
  line-height: 32px;
  margin-bottom: 0;
  padding: 20px 30px;
  border-bottom: solid 1px rgba(117, 117, 117, 0.2);
}
.minicart__close {
  position: absolute;
  top: 30px;
  right: 40px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.minicart__close.active .line1 {
  transform: rotate(0);
}
.minicart__close.active .line2 {
  transform: rotate(0);
}
.minicart__wrapper {
  padding: 20px 30px;
}
.minicart__wrapper--actions {
  position: absolute;
  padding: 20px 30px 20px 30px;
  left: 0;
  bottom: 0;
  right: 0;
  border-top: solid 1px rgba(117, 117, 117, 0.2);
}
.minicart__wrapper--actions .minicart-summary {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  color: rgb(4, 2, 2);
}
.minicart__wrapper--actions .minicart-summary * {
  color: rgb(4, 2, 2);
}
.minicart__wrapper--actions .black-outline {
  margin-bottom: 7px;
}
.minicart #minicart-items {
  height: 31vh;
  overflow: auto;
}

.minicart__empty {
  font-size: 14px;
  color: rgba(38, 38, 38, 0.3);
  height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 576px) {
  .minicart #minicart-items {
    height: 55vh;
  }
}

@media (min-width: 1600px) {
  .minicart #minicart-items {
    height: 60vh;
  }
}

.minicart .minicart-item {
  display: flex;
  align-items: center;
  border-bottom: solid 1px rgba(117, 117, 117, 0.2);
  padding-bottom: 20px;
  margin-bottom: 37px;
  gap: 12px;
}
.minicart .minicart-item__price * {
  font-size: 16px;
  color: rgb(4, 2, 2);
}
.minicart .minicart-item__quantity {
  width: 106px;
  border: solid 1px rgba(117, 117, 117, 0.2);
  justify-content: space-between;
  display: flex;
  align-items: center;
  padding: 1px 18px;
}
.minicart .minicart-item__quantity .quantity-value {
  font-size: 18px;
}
.minicart .minicart-item__quantity button {
  padding: 0;
  font-size: 20px;
  background: transparent;
  font-family: "outfit";
}
.minicart .minicart-item__thumbnail {
  width: 26%;
}
.minicart .minicart-item__thumbnail img {
  width: 80px;
  height: 80px;
  object-fit: cover;
}
.minicart .minicart-item__details {
  width: 55%;
}
.minicart .minicart-item__details h4 {
  margin-bottom: 0;
  font-size: 16px;
  font-family: "outfit";
}
.minicart .minicart-item__categories {
  margin-bottom: 20px;
}
.minicart .minicart-item__categories a {
  font-size: 14px;
  color: rgb(54, 54, 54);
}
.minicart .minicart-item__remove-item {
  background-image: url("./trash.svg");
  width: 16px;
  height: 16px;
  padding: 0;
  background-color: transparent;
  background-repeat: no-repeat;
}
.minicart .minicart-item__actions {
  width: 20%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  align-self: stretch;
  padding: 4px 0px;
}
.minicart .line {
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #000;
  transition: all 0.3s ease-in-out;
}
.minicart .line1 {
  transform: rotate(45deg);
}
.minicart .line2 {
  transform: rotate(-45deg);
}
.minicart #minicart-close {
  display: block;
  margin-top: 10px;
}
.minicart .free-shipping-progress__message {
  text-align: center;
  color: rgb(54, 54, 54);
  font-size: 13px;
  line-height: 19px;
}
.minicart .progress-bar {
  width: 100%;
  height: 5px;
  margin-bottom: 10px;
  background-color: #eddada;
  position: relative;
}
.minicart .progress-bar__elem {
  position: absolute;
  right: -5px;
  top: -17px;
  z-index: 9999;
  background: white;
  border-radius: 50%;
  color: rgb(4, 2, 2);
  font-size: 14px;
  padding: 4px;
}
.minicart .progress-bar-fill {
  height: 100%;
  background-color: rgb(107, 39, 55);
  width: 0;
  position: relative;
  transition: width 0.5s ease;
}
.minicart .progress-bar-fill .progress-bar__elem {
  position: absolute;
  right: -5px;
  top: -13px;
}

.minicart .btn.black-outline {
  display: block;
  padding: 13px;
  border: solid 2px rgb(4, 2, 2);
  text-align: center;
  color: rgb(4, 2, 2);
}

.minicart .btn.black:hover {
  background-color: rgb(4, 2, 2);
  color: white;
}

.minicart .btn.black {
  border: solid 2px rgb(4, 2, 2);
  text-align: center;
  padding: 13px 40px;
  display: block;
  background-color: rgb(4, 2, 2);
  color: white;
}

.minicart .btn.black:hover {
  background-color: white;
  color: rgb(4, 2, 2);
}
