/* Cart bridge: pull layout behavior from style.min.css but keep UFM palette. */

.main.cart .step-by {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 0 2.8rem;
}

.main.cart .step-by .title-step {
  position: relative;
  margin: 0;
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.2;
}

.main.cart .step-by .title-step a {
  color: #666;
}

.main.cart .step-by .title-step.active a {
  color: #f37427;
}

.main.cart .step-by .title-step:not(:last-child) {
  margin-right: 3.7rem;
  padding-right: 4.8rem;
}

.main.cart .step-by .title-step:not(:last-child)::after {
  content: "";
  font-family: "ufm";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: #999;
}

.main.cart .shop-table.cart-table td,
.main.cart .shop-table.cart-table th {
  vertical-align: middle;
}

.main.cart .cart-table .product-name {
  font-weight: 600;
  color: #222;
  line-height: 1.86;
}

.main.cart .cart-table .product-price {
  width: 100px;
}

.main.cart .cart-table .product-quantity {
  width: 135px;
}

.main.cart .cart-table .product-subtotal {
  width: 85px;
  color: #222;
}

.main.cart .cart-table .input-group button,
.main.cart .cart-table .input-group input {
  border-color: #eee;
}

.main.cart .cart-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.main.cart .cart-actions .btn-icon-left {
  padding: 1.06em 2.2em;
}

.main.cart .cart-actions .btn-icon-left i {
  margin-right: 0.8rem;
  font-size: 2rem;
}

.main.cart .cart-actions button {
  padding: 1.07em 2.23em;
}

.main.cart .cart-actions button.btn-disabled {
  border-color: #222 !important;
  background-color: transparent !important;
  border-width: 1px;
  color: #222 !important;
  opacity: 0.4;
  cursor: default;
}

.main.cart .cart-coupon-box .coupon-title {
  margin-bottom: 2.3rem;
  padding-top: 0.8rem;
  font-size: 1.8rem;
}

.main.cart #coupon_code,
.main.cart .cart-coupon-box .form-control {
  padding-left: 1.6rem;
  padding-right: 1.6rem;
  font-size: 1.3rem;
  border: none;
  border-bottom: 1px solid #e1e1e1;
  border-radius: 0;
}

.main.cart .summary {
  padding: 2.4rem 3rem;
  border: 1px solid #e1e1e1;
}

.main.cart .summary .summary-title {
  margin-bottom: 1.9rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid #e1e1e1;
}

.main.cart .summary .summary-subtitle {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #222;
  margin-bottom: 0;
  padding: 2rem 0;
}

.main.cart .summary-subtotal-price {
  font-size: 1.4rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 0;
}

.main.cart .summary-total-price {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0;
}

.main.cart .sumnary-shipping ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.main.cart .shipping-address {
  padding-bottom: 2.4rem;
  border-bottom: 1px solid #e1e1e1;
}

.main.cart .shipping-address label {
  display: block;
  margin-bottom: 1.4rem;
  font-size: 1.5rem;
}

.main.cart .shipping-address .form-control,
.main.cart .shipping-address .select-box .form-control {
  margin-bottom: 1.5rem;
  padding: 1rem 1.4rem;
  font-size: 1.3rem;
  min-height: 4.1rem;
  border-color: #e1e1e1;
  color: #999;
  background-color: #fff;
}

.main.cart .shipping-address .btn {
  padding: 0.9em 1.7em;
}

.main.cart .total .summary-subtitle {
  padding: 2.3rem 0 2.1rem;
}

/* Fix icon/font mismatch caused by style-derived rules */
.main.cart .step-by .title-step:not(:last-child)::after {
  content: "›";         /* plain char instead of icon font glyph */
  font-family: inherit;
}

.main.cart .shipping-address .select-box:before,
.main.cart .checkout .select-box:before {
  content: "▾";         /* plain dropdown arrow */
  font-family: inherit;
  font-size: 1.2rem;
  right: 1.4rem;
}

/* Keep UFM brand colors on cart */
.main.cart .title-step.active a,
.main.cart .btn:hover,
.main.cart a:hover {
  color: #f37427;
}

.main.cart .btn-dark,
.main.cart .btn.btn-checkout {
  background-color: #252429;
  border-color: #252429;
  color: #fff;
}

.main.cart .btn-dark:hover,
.main.cart .btn.btn-checkout:hover {
  background-color: #f37427;
  border-color: #f37427;
  color: #fff;
}
