#cart .cart-detailed-actions {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  padding-bottom: 0 !important;
}

#cart .cart-detailed-actions .text-sm-center {
  order: 1 !important;
  width: 100% !important;
}

#cart #ps_checkout-payment-method-logo-block-container,
#cart .cart-detailed-actions #ps_checkout-payment-method-logo-block-container {
  order: 2 !important;
  text-align: center !important;
  margin: 10px 0 0 0 !important;
}

#cart #alma-cart-widget-custom,
#cart .cart-detailed-actions #alma-cart-widget-custom {
  order: 3 !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin: 8px auto 20px auto !important;
  display: flex !important;
  justify-content: center !important;
}

#cart #alma-cart-widget-custom .alma-payment-plans-container,
#cart #alma-cart-widget-custom #alma-widget-payment-plans-main-container,
#cart .cart-detailed-actions .alma-payment-plans-container,
#cart .cart-detailed-actions #alma-widget-payment-plans-main-container {
  width: fit-content !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

#cart #alma-cart-widget-custom .alma-payment-plans-eligibility-line,
#cart .cart-detailed-actions .alma-payment-plans-eligibility-line {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

#cart #alma-cart-widget-custom .alma-payment-plans-payment-info,
#cart #alma-cart-widget-custom .alma-payment-plans-payment-info p,
#cart .cart-detailed-actions .alma-payment-plans-payment-info,
#cart .cart-detailed-actions .alma-payment-plans-payment-info p {
  text-align: center !important;
}


/* ==========================================================================
   Gift Product / Goodies in Cart
   ========================================================================== */
#cart .product-gift-price {
  margin-top: 4px;
}

#cart .product-gift-price .gift-crossed-price {
  text-decoration: line-through;
  color: #999;
  font-size: 14px;
  font-weight: 400;
}

#cart .gift-quantity {
  font-size: 14px;
  font-weight: 500;
  color: #555;
  display: inline-block;
  line-height: 36px;
}

#cart .product-price .gift.gift-free {
  color: #27ae60;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 36px;
  display: inline-block;
}


/* Promo voucher in Cart */
#cart .block-promo {
  padding-top: 10px !important;
  padding-bottom: 8px !important;
}

#cart .block-promo ul.promo-name {
  list-style: none;
  margin-bottom: 0;
  padding: 4px 1.25rem 0 1.25rem !important;
}

#cart .block-promo .promo-name .cart-summary-line {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 16px !important;
  margin-bottom: 10px;
  padding-top: 0 !important;
}

#cart .block-promo .promo-name .cart-summary-line::after {
  display: none !important;
}

#cart .block-promo .promo-name .cart-summary-line .label {
  flex: 1 1 auto !important;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #444;
  text-align: left !important;
}

#cart .block-promo .promo-name .cart-summary-line .value {
  flex: 0 0 auto !important;
  float: none !important;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #666;
  text-align: right !important;
  white-space: nowrap !important;
}

#cart .block-promo .promo-name .cart-summary-line .value a {
  margin-left: 6px;
  display: inline-block;
  vertical-align: middle;
  color: #777;
}

#cart .block-promo .promo-code-button {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

#cart .block-promo ul.promo-name ~ p.promo-code-button {
  margin-top: 12px !important;
}

#cart .block-promo .block-promo {
  border-top: none !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}


/* ==========================================================================
   Exclusive / Highlighted discounts list (Customer Vouchers)
   ========================================================================== */
#cart .promo-highlighted,
.promo-highlighted {
  border-top: 1px solid #efefef;
  padding: 10px 1.25rem 4px 1.25rem;
  margin-top: 8px;
}

#cart .promo-highlighted-title,
.promo-highlighted-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #282828;
  margin-bottom: 6px;
  text-align: left;
}

#cart ul.promo-discounts,
ul.promo-discounts,
.cart-grid-right .promo-discounts {
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
  text-align: left !important;
}

#cart ul.promo-discounts .cart-summary-line,
ul.promo-discounts .cart-summary-line {
  margin: 6px 0;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

#cart ul.promo-discounts .cart-summary-line .label,
ul.promo-discounts .cart-summary-line .label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: #444;
  padding: 0 !important;
  margin: 0 !important;
  text-align: left !important;
  width: 100%;
}

#cart ul.promo-discounts .cart-summary-line .code,
ul.promo-discounts .cart-summary-line .code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 3px 8px;
  line-height: normal;
  background-color: #f7f7f7;
  border: 1px dashed #b5b5b5;
  border-radius: 3px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #222;
  cursor: pointer;
  transition: all 0.2s ease;
}

#cart ul.promo-discounts .cart-summary-line .code:hover,
ul.promo-discounts .cart-summary-line .code:hover {
  background-color: #222;
  border-color: #222;
  color: #fff;
}

#cart ul.promo-discounts .cart-summary-line .code:empty,
ul.promo-discounts .cart-summary-line .code:empty {
  display: none !important;
}


#cart ul.promo-discounts .discount-name,
ul.promo-discounts .discount-name {
  font-size: 12px;
  color: #555;
  font-weight: 400;
  line-height: 1.4;
  text-align: left !important;
  flex: 1 1 auto;
}



