.cart-grid {
  margin-bottom: 1rem
}

.cart-items {
  margin-bottom: 0
}

.cart-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #e0e0e0;
  background-color: #fff
}

.cart-item:last-child {
  border-bottom: 0
}

.cart-item .product-image {
  width: calc(15% - 15px);
  margin-right: 15px
}

.cart-item .product-image img {
  max-width: 100%
}

.cart-item .cart__product-name {
  width: 50%
}

.cart-item .cart__product-name a {
  color: var(--color_font);
  font-size: 0.875rem
}

.cart-item .cart__product-name .product-attributes .value {
  font-size: 0.875rem
}

.cart-item .cart__product-qty {
  width: 35%;
  text-align: center
}

.cart-item .cart__product-qty .input-group {
  margin: 0 auto;
  display: table;
  float: none;
  z-index: 1000
}

.cart-item .cart__product-qty .input-group .js-cart-line-product-quantity {
  height: 38px !important;
  left: 29px;
  width: 35px;
  text-align: center;
  line-height: 24px;
  border-left: 0;
  border-top: 0.8px solid var(--primary_color);
  border-bottom: 0.8px solid var(--primary_color);
  border-right: 0
}

.cart-item .cart__product-qty .bootstrap-touchspin .input-group-btn-vertical .touchspin-up:after {
  content: "\e145"
}

.cart-item .cart__product-qty .bootstrap-touchspin .input-group-btn-vertical .touchspin-down:after {
  content: "\e15b"
}

.cart-item .cart__product-qty .bootstrap-touchspin #quantity_wanted, .cart-item .cart__product-qty .bootstrap-touchspin #quantity_wanted_miniature {
  left: 29px;
  width: 50px;
  height: 44px !important;
  padding: 0;
  text-align: center;
  line-height: 24px;
  border-left: 0;
  border-top: 0.8px solid var(--primary_color);
  border-bottom: 0.8px solid var(--primary_color);
  border-right: 0
}

.cart-item .cart__product-qty .bootstrap-touchspin .input-group-btn-vertical {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 100%
}

.cart-item .cart__product-qty .bootstrap-touchspin .input-group-btn-vertical .btn {
  height: 38px !important;
  padding: 1px 6px !important;
  top: 0;
  margin-top: 0
}

.cart-item .cart__product-qty .bootstrap-touchspin .input-group-btn-vertical .btn i {
  position: relative;
  top: 0;
  left: 0
}

.cart-item .cart__product-qty .bootstrap-touchspin .input-group-btn-vertical .btn.bootstrap-touchspin-down {
  left: -61px;
  margin: 0;
  border-color: var(--color-bg-2);
  box-shadow: none;
}

.cart-item .cart__product-qty .bootstrap-touchspin .input-group-btn-vertical .btn.bootstrap-touchspin-up {
  left: 30px;
  border-color: var(--color-bg-2);
  border-left: 0.8px solid var(--color-bg-2);
  box-shadow: none;
}

.cart-item .cart__product-price {
  width: 30%;
  display: flex;
  flex-direction: column;
  text-align: right
}

.cart-item .cart__product-price .remove-from-cart {
  color: var(--color_font);
  text-decoration: underline;
  font-size: 14px;
  margin-bottom: 10px
}

.cart-item .cart__product-price .remove-from-cart>i {
  float: right !important
}

.cart-item .cart__product-price .product-totalprice {
  font-size: 16px;
  font-weight: 400;
  color: var(--color_font)
}

.cart-item .cart__product-price .product-price {
  font-size: 13px;
  margin-top: 8px;
  color: var(--color_font)
}

.card-block.checkout {
  padding-top: 0;
  padding-bottom: 1.75rem
}

.card-block.checkout .btn-primary {
  width: 100%
}

.card-block.cart-detailed-subtotals+.cart-summary-totals .cart-total {
  border-top: 1px solid #ddd
}

.card-block.cart-summary-totals {
  padding: 0 1.25rem 0.825rem
}

.card-block.cart-summary-totals .cart-summary-line {
  padding: 0.5rem 0.2rem 0
}

.card-block.cart-summary-totals .cart-summary-line:last-child {
  margin-bottom: 0
}

.card-block.cart-summary-totals .cart-summary-line.cart-total {
  padding: 1rem 0
}

.card-block.cart-summary-totals .cart-summary-line.cart-total .label, .card-block.cart-summary-totals .cart-summary-line.cart-total .value {
  font-weight: 700
}

.card-block.cart-summary-totals .cart-summary-line.cart-total .label {
  font-size: 1rem
}

.card-block.cart-summary-totals .cart-summary-line.cart-total .value {
  font-size: 1rem
}

.card-block.cart-summary-totals .cart-summary-line span.sub {
  float: none;
  font-size: 0.88rem;
  text-align: left
}

.cart-summary-line {
  clear: both;
  margin-bottom: 0.315rem;
  clear: both
}

.cart-summary-line:not(:last-child) {
  margin-bottom: 1rem
}

.cart-summary-line .label {
  padding-left: 0;
  font-weight: 400;
  color: #363a42;
  white-space: inherit
}

.cart-summary-line .value {
  float: right;
  font-weight: 600;
  color: var(--color_font)
}

.cart-summary-line.cart-summary-subtotals .label, .cart-summary-line.cart-summary-subtotals .value {
  font-weight: 500
}

.cart-summary-line .label, .cart-summary-line .value {
  font-size: 1rem
}

.cart-grid-body {
  margin-bottom: 0.75rem
}

.cart-grid-body a.label:hover {
  color: var(--color_hover)
}

.cart-grid-body .card-block {
  padding: 1rem;
  border-bottom: 1px solid #f1f1f1;
  background-color: #fff
}

.cart-grid-body .card-block h1 {
  margin-bottom: 0;
  font-size: 1.5rem
}

.cart-grid-body .cart-overview {
  padding: 1rem
}

.cart-grid-right .cart-summary .cart-summary_header {
  padding: 1rem;
  background-color: #fff;
  font-weight: 600;
  border-bottom: 1px solid #f1f1f1
}

.cart-grid-right .cart-summary .cart-detailed-totals .cart-summary-line .label {
  padding-left: 0;
  font-weight: 400;
  white-space: inherit;
  color: var(--color_font);
  font-size: 0.875rem
}

.cart-grid-right .cart-summary .cart-detailed-totals .cart-summary-line .value {
  color: var(--color_font);
  float: right;
  font-size: 1rem;
  font-weight: 400
}

.cart-grid-right .cart-summary .cart-summary-totals {
  padding: 0 1rem 1rem
}

.cart-grid-right .cart-summary .cart-summary-totals .cart-summary-line.cart-total {
  background-color: inherit;
  padding: 0.5rem
}

.cart-grid-right .cart-summary .cart-summary-totals .cart-summary-line.cart-total .label {
  font-size: 1.3rem;
  font-weight: 700
}

.cart-grid-right .cart-summary .cart-summary-totals .cart-summary-line.cart-total .label>span {
  font-weight: 400;
  font-size: 0.85rem
}

.cart-grid-right .cart-summary .cart-summary-totals .cart-summary-line.cart-total .value {
  font-size: 1.125rem;
  font-weight: 700
}

.cart-grid-right .promo-discounts {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  margin-bottom: 0;
  text-align: center
}

.cart-grid-right .promo-discounts .cart-summary-line .label {
  font-size: 1rem;
  color: #7a7a7a
}

.cart-grid-right .promo-discounts .cart-summary-line .label .code {
  color: #f49d6e;
  cursor: pointer
}

.cart-grid-right .cart-summary-line.cart-subtotal-products .label, .cart-grid-right .cart-summary-line.cart-subtotal-products .value {
  font-weight: 600
}

.cart-grid-right .cart-summary-line.cart-subtotal-products .value {
  font-size: 1rem
}

.block-promo {
  margin-bottom: 1rem
}

.block-promo .promo-code {
  padding: 1rem
}

.block-promo .promo-code .alert-danger {
  position: relative;
  display: none;
  margin-top: 1.25rem;
  color: #fff;
  background: #ff4c4c
}

.block-promo .promo-code .alert-danger::after {
  position: absolute;
  bottom: 100%;
  left: 10%;
  width: 0;
  height: 0;
  margin-left: -10px;
  pointer-events: none;
  content: " ";
  border: solid transparent;
  border-width: 10px;
  border-bottom-color: #ff4c4c
}

.block-promo .promo-code form {
  text-align: center;
  display: flex;
  justify-content: space-between;
}

.block-promo .promo-input {
  width: 50%;
  height: 2.5rem;
  margin-right: -0.24rem;
  color: var(--color_font);
  text-indent: 0.625rem;
  border: #7a7a7a 1px solid
}

.block-promo .promo-input+button {
  margin-top: -4px;
  margin-left: -1px;
  text-transform: capitalize;
  border: 2px solid var(--primary_color)
}

.block-promo .cart-summary-line .label, .block-promo .promo-name {
  margin-bottom: 0;
  font-weight: 600;
  color: #ff9a52
}

.block-promo .cart-summary-line .label a, .block-promo .promo-name a {
  display: inline-block;
  font-weight: 500;
  color: var(--color_font)
}

.block-promo .promo-name .cart-summary-line .label {
  font-weight: 500;
  color: #363a42
}

.block-promo .promo-name .cart-summary-line span {
  color: #f49d6e
}

.block-promo .promo-name .material-icons {
  margin-left: 0.4rem;
  font-size: 1.2rem
}

.block-promo .promo-code-button {
  display: block;
  padding: 0 0 1rem;
  text-align: center
}

.block-promo .promo-code-button.with-discounts {
  display: none
}

.block-promo .promo-code-button.cancel-promo {
  margin-bottom: 0;
  color: var(--primary_color)
}

.block-promo .promo-code-button.cancel-promo[aria-expanded="true"] {
  display: block;
  padding: 0;
  margin-top: 1rem
}

.block-promo.promo-highlighted {
  padding: 0 1rem;
  margin-bottom: 0;
  text-align: center
}

.block-promo p {
  margin-bottom: 0
}

.product-line-grid-left img {
  max-width: 100%
}

.product-line-grid-body>.product-line-info>.label {
  padding: 0;
  font-weight: 600;
  line-height: inherit;
  text-align: left;
  white-space: inherit
}

.product-line-grid-body>.product-line-info>.out-of-stock {
  color: #f00
}

.product-line-grid-body>.product-line-info>.available {
  color: #4cbb6c
}

.product-line-grid-body>.product-line-info>.unit-price-cart {
  padding-left: 0.3125rem;
  font-size: 0.875rem;
  color: #7a7a7a
}

.product-line-grid-right .cart-line-product-actions, .product-line-grid-right .product-price {
  line-height: 36px;
  color: var(--color_font)
}

.product-line-grid-right .cart-line-product-actions .remove-from-cart, .product-line-grid-right .product-price .remove-from-cart {
  display: inline-block;
  margin-top: 0.3125rem;
  color: var(--color_font)
}

@media (max-width: 767px) {
  .product-line-grid-body {
    margin-bottom: 1rem
  }

  .cart-grid-right .cart-detailed-totals {
    padding: 1rem
  }

  .cart-grid-right .cart-detailed-totals>.card-block {
    padding: 0
  }

  .cart-grid-right .cart-detailed-totals .cart-summary-line:not(:last-child) {
    margin-bottom: 0.5rem
  }

  .cart-grid-right .cart-detailed-totals .cart-summary-totals {
    padding: 0;
    margin-top: 1rem
  }

  .cart-grid-right .cart-detailed-totals .cart-summary-totals .cart-summary-line.cart-total {
    padding: 0
  }

  .cart-grid-right .card-block.checkout {
    padding: 1rem
  }

  .cart-item {
    flex-wrap: wrap;
    position: relative
  }

  .cart-item .cart__product-name {
    width: 75%
  }

  .cart-item .cart__product-qty {
    width: 50%;
    margin-top: 15px
  }

  .cart-item .cart__product-qty .input-group {
    margin: 0
  }

  .cart-item .cart__product-price {
    width: 50%;
    flex-direction: row-reverse;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap
  }

  .cart-item .cart__product-price .product-price {
    margin-top: 0;
    margin-right: 8px
  }

  .cart-item .cart__product-price .remove-from-cart {
    position: absolute;
    top: 1rem;
    right: 1rem
  }
}

@media (max-width: 575px) {
  .cart-items {
    padding: 1rem 0
  }

  .cart-item {
    border-bottom: 1px solid #f6f6f6
  }

  .cart-item:last-child {
    border-bottom: 0
  }

  .cart-grid-body .cart-overview {
    padding: 0
  }

  .cart-grid-body .no-items {
    display: inline-block;
    padding: 1rem
  }

  .product-line-grid-left {
    padding-right: 0 !important
  }
}

@media (max-width: 360px) {
  .product-line-grid-right .qty {
    width: 100%
  }

  .product-line-grid-right .price {
    width: 100%
  }
}
