.CartItem li {
  overflow: hidden;
  transition: .5s ease-out;
}

.CartItem:focus {
  outline: 0;
}

.CartItem:focus > li {
  transform: translateX(-139.99px);
}

.CartItem .name {
  display: block !important;
  white-space: pre-wrap;
  font-size: 13px;
  font-weight: 700;
  padding: 0px 20px 0px 0px;
}
.CartItem .description {
  display: block !important;
  white-space: pre-wrap;
  font-size: 13px;
  font-weight: 700;
}
.CartItem .qty-ja {
  /* display: block !important; */
  white-space: pre-wrap;
  font-size: 13px;
  font-weight: 700; 
  line-height: 13px;
  text-align: left;
}
.CartItem .price {
  display: block !important;
  white-space: pre-wrap;
  font-size: 13px;
  font-weight: 700;  
  text-align: left;
}
.CartItem .discount {
  position: absolute;
  right: 20px;
  bottom: 5px;
}



.CartItem .ingredientChanges {
  display: block !important;
  white-space: pre-wrap;
}

.CartItem.premade:focus li {
  transform: translateX(-70px);
  transform: translateX(-70px);
}

.CartItem .priceLabel {
  font-size: 0.85em;
  color: #7D7769;
  padding-right: 4px;
  font-size: 14px;
  font-weight: 700;
}

/* .CartItem:focus .edit, .CartItem:focus .remove, .CartItem.premade:focus .remove {
  transform: translateX(0);
} */
.CartItem:focus .control-wrapper, .CartItem.premade:focus .control-wrapper {
  transform: translateX(0);
}
/* .CartItem .edit, .CartItem .remove {
  display: block;
  width: 70px;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  transform: translateX(140px);
} */
.CartItem .control-wrapper {
  display: block;
  width: 115px;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  transform: translateX(115px);
}
/* .CartItem.premade .remove {
  transform: translateX(70px);
} */
.CartItem .edit button, .CartItem .remove button {
  /* height: 100%; */
  height: 50%;
  width: 100%;
  position: relative;
  padding: 0;
}
.CartItem .edit button img, .CartItem .remove button img {
  position: absolute;
  top: 0;
  left: 0;
  right: 1px;
  width: 69px;
}
/* .CartItem .edit {
  right: 70px;
  border-right: 1px solid #F2EDE9;
  background-color: #8FB291;
  z-index: 1000
} */
.CartItem .control-wrapper {
  /* right: 70px; */
  border-right: 1px solid #F2EDE9;
  background-color: #8FB291;
  z-index: 1000
}
.CartItem .edit {
  position: relative;
  display: flex;
  justify-content: center;
  height: 50%;
  /* background-color: #a59ee3; */
  line-height: 48px;
  z-index: 1000;
}
.CartItem .remove {
  position: relative;
  display: flex;
  justify-content: center;
  height: 50%;
  /* background-color: #E39E9F; */
  line-height: 48px;
  z-index: 1000
}
.CartItem img {
  width: 95px;
  height: 95px;
  object-fit: cover;
}

.CartItem > li:first-child {
  width: 95px;
  display: block;
  position: relative;
  background-color: #f9f9f9;
}
.CartItem > .body {
  /* padding-left: 10px;
  padding-bottom: 23px; */
  padding: 5px 10px;

}
.CartItem li h5 {
  font-size: 1em;
  margin-bottom: 0;
  line-height: 1.6em;
  margin-top: 8px;
  padding-right: 26px;
  font-weight: 600;
}
.CartItem .body {
  width: calc(100% - 95px);
  position: relative;
}
.CartItem .EditIcon {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 1em;
  color: #91B698;
}
.CartItem p {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.CartItem > .body p {
  /* font-size: 0.8em; */
  /* font-style: italic; */
  margin: 0;
  padding-right: 2px;
  line-height: 15px;
  display: inline-block;
  margin-bottom: 38px;
}
.CartItem .details {
  /* position: absolute;
  bottom: 0px;
  left: 10px;
  right: 10px; */
}
.CartItem .footer {
  overflow: hidden;
  transition: .5s ease-out;
  position: absolute;
  padding-right: 2px;
  left: 10px;
  bottom: 5px;
}

.CartItem .edit .details, .CartItem .remove .details {
  /* position: absolute;
  width: 69px;
  bottom: 0px;
  left: 50%;
  transform: translate(-50%, 0); */
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  align-self: center;
  text-align: left;
}

.CartItem .modify-icon {
  margin: -3px 10px 0px 0px;
  align-self: center;
  /* position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); */
}

.CartItem .details > p:nth-child(1) {
  max-width: 50%;
  margin-right: 10px;
}
.cart-order-price {
  padding: 21px 24px 0px 24px;
}

/*--- Mobile Landscape & Portrait ---*/
@media (max-width: 767px) {
  .cart .CartItem button {
    width: 70px;
  }
}


.CartItem .discount-wrapper {
  display: inline-block !important;
  padding: 2px 10px 2px 10px;    
  margin: 4px 10px 4px 10px !important;
  font-size: 12px !important;
  line-height: 15px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  outline: none;
  color: #fff;
  background-color: #577bfd;
  border: none;
  border-radius: 15px;
}

.ActionButton {
  width: 100%;
  bottom: 0px;
  /* position: absolute; */
}
.ActionButtonRelative {
  width: 100%;
  bottom: 0px;
  /* position: absolute; */
}