/**
Include icons in scss/css.
Usage: 
 @include icon(close);
*/
/*
Media query mixin.
Usage: 
@include media($bp-l, min)
*/
/*
Mixin to add loading spinner to button/element.
Usage: 
@include loading()
*/
.cart-item {
  font-size: 0.75rem;
  line-height: 160%;
  font-weight: 500;
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid #e6e6e6;
}
.cart-item--for-cart {
  border-color: #f2f2f2;
}
@media only screen and (min-width: 768px) {
  .cart-item--for-cart {
    display: grid;
    grid-template-columns: 10rem calc(45% - 7.25rem) 1fr;
  }
  .cart-item--for-cart .cart-item__info {
    height: 100%;
  }
  .cart-item--for-cart .cart-item__actions,
  .cart-item--for-cart .cart-item__details .cart-item__price {
    display: none;
  }
  .cart-item--for-cart .cart-item__error--mobile {
    display: none !important;
  }
  .cart-item--for-cart .cart-item__error--desktop {
    display: block;
  }
  .cart-item--for-cart .cart-item__details {
    margin: 0.25rem 0 0.375rem;
  }
  .cart-item--for-cart .cart-item__extra {
    margin-top: 0.25rem;
  }
  .cart-item--for-cart .cart-item__image-wrapper {
    width: 10rem;
    height: 10rem;
  }
}
.cart-item--for-cart:last-of-type {
  border-bottom: 1px solid #f2f2f2;
}
.cart-item--for-cart .cart-item__info {
  display: flex;
  flex-direction: column;
}
.cart-item--for-cart .cart-item__title {
  font-size: 1.25rem;
  line-height: 150%;
  font-weight: 600;
  letter-spacing: -0.0125rem;
}
.cart-item--for-cart .cart-item__remove--for-cart {
  margin-top: auto;
  margin-left: 0;
  width: max-content;
  color: #054040;
  padding-top: 1rem;
}
.cart-item--for-cart .cart-item__error--mobile {
  display: block;
}
@media only screen and (min-width: 992px) {
  .cart-item--for-order {
    display: grid;
    grid-template-columns: 6.25rem 25rem 1fr;
    border-top: none;
  }
  .cart-item--for-order .cart-item__details .cart-item__price {
    display: none;
  }
}
.cart-item--for-order:first-child {
  border-top: none;
}

.cart-item__image {
  display: block;
}
.cart-item__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__image-wrapper {
  width: 6.25rem;
  height: 6.25rem;
  background-color: #f2f2f2;
  position: relative;
}

.cart-item__title {
  font-size: 1.125rem;
  line-height: 150%;
  font-weight: 600;
  letter-spacing: -0.0125rem;
  color: inherit;
  text-decoration: none;
  margin-bottom: 0.25rem;
  display: block;
}
@media only screen and (min-width: 992px) {
  .cart-item__title {
    margin-bottom: 0.5rem;
  }
}
.cart-item__title:hover {
  text-decoration: none;
}

.cart-item__details {
  font-size: 0.875rem;
  line-height: 140%;
  font-weight: 500;
  flex-grow: 1;
}

.cart-item__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.cart-item__price {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.cart-item__final-price + .cart-item__price-current {
  opacity: 0.5;
  text-decoration: line-through;
}

.cart-item__discounts {
  font-size: 0.75rem;
  line-height: 140%;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.2px;
  margin-top: 0.5rem;
  color: #054040;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cart-item__discounts li span {
  background-color: #d7fff2;
  display: inline-block;
  padding: 0.25rem 0.625rem;
  border-radius: 6.25rem;
}

.cart-item__info {
  line-height: 1rem;
}

.cart-item__extra {
  color: #1a1a1a;
}

.cart-item__fulfillment {
  color: #363636;
}

.cart-item__options li {
  margin-bottom: 0.25rem;
}

.cart-item__properties li {
  margin-bottom: 0.125rem;
  word-break: break-all;
}

.cart-item__selling-plan {
  font-size: 0.75rem;
  line-height: 160%;
  font-weight: 500;
  color: #054040;
  background-color: #f6fffc;
  border-left: 8px solid #50fcce;
  padding: 0.25rem 0.75rem;
  margin-top: 0.5rem;
  border-radius: 4px;
}

.cart-item__remove {
  font-size: 0.75rem;
  line-height: 140%;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.2px;
  margin-left: auto;
  color: #054040;
}
.cart-item__remove:hover {
  text-decoration: none;
}
.cart-item__remove--for-cart {
  display: none;
}
@media only screen and (min-width: 768px) {
  .cart-item__remove--for-cart {
    display: inline-block;
  }
}

.cart-item__fulfillment {
  margin-top: 0.5rem;
}

.cart-item__fulfillment-date {
  font-size: 0.75rem;
  line-height: 140%;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.2px;
}

.cart-item__fulfillment-tracking {
  margin-top: 0.25rem;
  word-break: break-all;
}
.cart-item__fulfillment-tracking a {
  display: inline-block;
  margin-bottom: 0.25rem;
  color: inherit;
}

.cart-item__quantity-picker {
  width: 6.25rem;
  border: 1px solid #054040;
  border-radius: 2.0625rem;
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  overflow: hidden;
}
.cart-item__quantity-picker a,
.cart-item__quantity-picker button {
  background-color: transparent;
  padding: 0;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.875rem;
  outline: none !important;
  color: #054040;
}
.cart-item__quantity-picker input {
  font-size: 1rem;
  line-height: 140%;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  font-family: Poppins, serif;
  text-align: center;
  padding-inline: 0.25rem;
  flex: 1 1 auto;
  height: 2.25rem;
  width: 1px;
  border: 0;
  padding: 0;
}
.cart-item__quantity-picker input, .cart-item__quantity-picker input[readonly], .cart-item__quantity-picker input[disabled] {
  opacity: 1;
  background-color: transparent;
  color: #054040;
  -webkit-text-fill-color: #054040;
}
.cart-item__quantity-picker input::-webkit-outer-spin-button, .cart-item__quantity-picker input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}
.cart-item__quantity-picker input[type=number] {
  appearance: textfield;
}

.cart-item__error {
  font-size: 0.75rem;
  line-height: 160%;
  font-weight: 500;
  color: #b50808;
}
.cart-item__error:not(:empty) {
  margin-top: 0.5rem;
}

.cart-item__for-cart {
  font-size: 0.875rem;
  line-height: 140%;
  font-weight: 500;
  display: none;
  text-align: center;
  color: #1a1a1a;
}
@media only screen and (min-width: 768px) {
  .cart-item__for-cart {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
  }
}
.cart-item__for-cart .cart-item__price {
  justify-content: center;
  margin-top: 0.5625rem;
}
.cart-item__for-cart .cart-item__total {
  margin-top: 0.5625rem;
}
.cart-item__for-cart > div:last-child {
  text-align: right;
}

.cart-item__for-order {
  display: none;
  text-align: center;
  color: #1a1a1a;
}
@media only screen and (min-width: 992px) {
  .cart-item__for-order {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: flex-start;
    max-height: 8.3125rem;
  }
}
.cart-item__for-order .cart-item__price {
  font-size: 1rem;
  line-height: 140%;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  justify-content: center;
  flex-wrap: wrap;
}
.cart-item__for-order .cart-item__discounts {
  margin-top: 0;
  width: 100%;
}
.cart-item__for-order .cart-item__total {
  font-size: 1rem;
  line-height: 140%;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  text-align: right;
}
