.cart-overlay {
  position: fixed;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1001;
  background-color: rgba(0, 0, 0, 0.8);
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  opacity: 0;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.cart-overlay.show {
  opacity: 1;
  pointer-events: unset;
  -webkit-user-select: unset;
     -moz-user-select: unset;
      -ms-user-select: unset;
          user-select: unset;
}

.cart-popup {
  max-height: 95%;
  max-width: 560px;
  width: 100%;
  overflow-y: scroll;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  scrollbar-width: thin;
}

.cart-close {
  position: absolute;
  top: 40px;
  right: 40px;
  cursor: pointer;
  color: #fff;
}

.cart-wrapper {
  width: 100%;
  background: #fff;
  padding: 40px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  height: 100%;
  margin: auto;
}

.cart-title {
  font-size: 24px;
}

.cart-items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 30px;
  border-bottom: 1px solid #000;
  border-top: 1px solid #000;
  padding: 24px 0;
  margin: 30px 0;
}

.cart-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 80px;
}

.cart-right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 20px;
}
.cart-right .item-img {
  width: 70px;
  height: 70px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #e6e6e6;
  border-radius: 10px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.cart-right .item-title {
  font-size: 16px;
  margin-bottom: 5px;
}
.cart-right .item-price {
  font-size: 12px;
  opacity: 0.7;
}

.cart-left {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.cart-left .item-price {
  font-size: 16px;
  margin: 0 10px 0 30px;
}

.cart-controls {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.cart-controls .plus {
  width: 16px;
  height: 16px;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.cart-controls .plus img {
  width: 100%;
}
.cart-controls .counter {
  margin: 0 10px;
}
.cart-controls .minus {
  width: 16px;
  height: 16px;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.cart-controls .minus img {
  width: 100%;
}

.item-remove {
  width: 16px;
  height: 16px;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  margin-left: 20px;
}
.item-remove img {
  width: 100%;
}

.cart-item-pices {
  margin: 0 0 0 20px;
}
.cart-item-pices .total {
  text-decoration: line-through;
  font-weight: 300;
  font-size: 14px;
  -webkit-transition: 0.3s easy-in-out;
  transition: 0.3s easy-in-out;
}
.cart-item-pices .discount {
  color: green;
  font-weight: 500;
}

.total-price {
  font-size: 18;
  margin: 0 0 30px 0;
  text-align: right;
  font-weight: bold;
}

.discount-price {
  font-size: 14px;
  text-align: right;
  margin: 30px 0 5px 0;
}
.discount-price ul {
  list-style-type: none;
}

.discount-price-total {
  font-size: 14px;
  text-align: right;
  margin-bottom: 10px;
}

.input-wrapper {
  height: 56px;
  width: 100%;
  margin-bottom: 20px;
}

.promocode {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.promocode input {
  border-radius: 10px 0 0 10px;
}
.promocode button {
  border-radius: 0 10px 10px 0;
}

input {
  width: 100%;
  height: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border: 1px solid #000;
  padding: 0 20px;
  border-radius: 10px;
  outline: none;
}

.cart-form {
  position: relative;
}

.promocode-error {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 10px;
  position: absolute;
  width: 100%;
  height: 80px;
  background: #fff;
  border: 1px solid red;
  font-size: 22px;
  border-radius: 10px;
  background: #fff;
  font-weight: 300;
  -webkit-transition: 0.3s easy-in-out;
  transition: 0.3s easy-in-out;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  opacity: 0;
  -webkit-box-shadow: 0 0 4px 6px #fff;
          box-shadow: 0 0 4px 6px #fff;
}
.promocode-error b {
  font-weight: 600;
}

.promocode-success {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
  position: absolute;
  width: 100%;
  height: 80px;
  background: #fff;
  font-size: 18px;
  border-radius: 10px;
  background: #fff;
  font-weight: 500;
  -webkit-transition: 0.3s easy-in-out;
  transition: 0.3s easy-in-out;
  pointer-events: none;
  text-align: center;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  opacity: 0;
  -webkit-box-shadow: 0 0 4px 6px #fff;
          box-shadow: 0 0 4px 6px #fff;
  color: green;
}
.promocode-success b {
  font-weight: 300;
  color: #000;
}

label {
  display: block;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 56px;
  width: 100%;
  background: #000;
  color: #fff;
  cursor: pointer;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border-radius: 10px;
  border: none;
  outline: none;
}

textarea {
  height: 56px;
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.loyalty {
  margin-top: 32px;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 8px;
}
.loyalty__text {
  margin: 0;
  font-size: 16px;
}
.loyalty__text2 {
  margin: 0;
  font-size: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.loyalty__text-accent {
  font-weight: 700;
  color: #b0ed39;
}
.loyalty__progress-bar {
  width: 100%;
  height: 100%;
  position: relative;
}
.loyalty__progress-line {
  width: 100%;
  height: 8px;
  border-radius: 12px;
  background-color: #ddd;
  position: relative;
}
.loyalty__progress-fill {
  height: 100%;
  background-color: #b0ed39;
  border-radius: 10px;
  -webkit-transition: width 0.4s ease;
  transition: width 0.4s ease;
}
.loyalty__item {
  width: 48px;
  height: 48px;
  background-color: #ddd;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.loyalty__item.done {
  background-color: #b0ed39;
}
.loyalty__img {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #b0ed39;
}

@media screen and (max-width: 768px) {
  .cart-wrapper {
    max-width: 95%;
    width: 100%;
    margin: auto;
    overflow-x: hidden;
    padding: 15px;
  }
  .item-remove {
    margin-left: 16px;
  }
  .cart-items {
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  .cart-item {
    gap: 12px;
    position: relative;
  }
  .cart-right {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: 8px;
  }
  .cart-right .item-img {
    width: 60px;
    height: 60px;
  }
  .cart-item-pices {
    margin: 0;
  }
  .cart-controls {
    position: absolute;
    left: 72px;
    bottom: 0;
  }
  .cart-controls .counter {
    font-size: 14px;
  }
  .cart-popup {
    position: relative;
  }
  .cart-close {
    z-index: 100;
    top: 20px;
    right: 30px;
    fill: #000;
  }
  .loyalty {
    margin-top: 32px;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 8px;
  }
  .loyalty__text {
    font-size: 14px;
  }
  .loyalty__text2 {
    font-size: 14px;
  }
}