/* Improved cart, order and checkout styles */
.cart-area,
.checkout-area {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 38%);
}
.table-list-content,
.checkout-wrapper,
.checkout-order-summery,
.coupon-wrapper {
  background: #fff;
  border: 1px solid #edf0f5 !important;
  border-radius: 18px;
  box-shadow: 0 16px 44px rgba(15, 23, 42, .07);
  overflow: hidden;
}
.table-list-content {
  padding: 6px;
}
.checkout-wrapper {
  padding: 26px;
}
.checkout-inner-title,
.summery-title,
.coupon-contents-title,
.billing-title {
  color: #111827;
  font-weight: 800 !important;
  letter-spacing: -.02em;
}
.checkout-inner-title,
.summery-title {
  padding-bottom: 14px;
  border-bottom: 1px solid #edf0f5;
}
.checkout-form-flex {
  gap: 18px;
}
.checkout-form-flex .single-input {
  width: 100%;
}
.checkout-form .form--control,
.coupon-contents-form .form--control {
  height: 48px;
}
.checkout-order-summery {
  padding: 24px;
  position: sticky;
  top: 18px;
}
.coupon-contents-form {
  display: flex;
  align-items: center;
  gap: 10px;
}
.coupon-contents-form .single-input {
  flex: 1;
}
.coupon-contents-form .btn-submit,
.coupon-btn {
  min-height: 48px;
  white-space: nowrap;
  border: 0;
  background: var(--main-color-one, #ff6a00);
  color: #fff;
  padding: 0 18px;
}
.checkout-cart-wrapper {
  max-height: 420px;
  overflow: auto;
  padding-right: 6px;
}
[dir="rtl"] .checkout-cart-wrapper {
  padding-right: 0;
  padding-left: 6px;
}
.single-checkout-cart-items {
  padding: 14px 0;
  border-bottom: 1px solid #edf0f5;
}
.single-checkout-cart-items:last-child {
  border-bottom: 0;
}
.single-check-carts,
.check-cart-flex-contents {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.checkout-cart-thumb {
  width: 68px;
  height: 68px;
  min-width: 68px;
  border-radius: 12px;
  overflow: hidden;
  background: #f1f5f9;
}
.checkout-cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.checkout-cart-title {
  font-size: 15px;
  line-height: 1.35;
  margin-bottom: 4px;
}
.checkout-cart-title a {
  color: #111827;
  font-weight: 800;
}
.coupon-contents {
  padding: 28px !important;
}
.coupon-contents-details-list {
  padding: 12px 0 !important;
}
.coupon-contents-details-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px !important;
}
.coupon-contents-details-list-item h6,
.coupon-title {
  margin: 0;
  font-weight: 800;
}
.coupon-price,
.coupon-contents-details-list-item-price {
  font-size: 18px;
  font-weight: 900 !important;
}
.product-quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e5e7eb !important;
  border-radius: 999px !important;
  overflow: hidden;
  background: #fff;
  height: 40px;
}
.product-quantity .substract,
.product-quantity .plus,
.product-quantity .minus,
.product-quantity .quantity-decrease,
.product-quantity .quantity-increase {
  width: 38px;
  height: 38px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  color: #111827;
  cursor: pointer;
  transition: all .18s ease;
}
.product-quantity .substract:hover,
.product-quantity .plus:hover,
.product-quantity .minus:hover,
.product-quantity .quantity-decrease:hover,
.product-quantity .quantity-increase:hover {
  background: var(--main-color-one, #ff6a00);
  color: #fff;
}
.product-quantity .quantity-input,
.product-quantity input {
  width: 52px;
  height: 38px;
  border: 0 !important;
  text-align: center;
  font-weight: 800;
  padding: 0;
}
.close-table-cart,
.remove-cart-item {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fef2f2;
  color: #dc2626;
  transition: all .2s ease;
}
.close-table-cart:hover,
.remove-cart-item:hover {
  background: #dc2626;
  color: #fff;
}
.payment-gateway-wrapper ul {
  gap: 10px;
}
.payment-gateway-wrapper ul li {
  border-radius: 12px !important;
  border-color: #e5e7eb !important;
  min-width: 92px;
  justify-content: center;
  background: #fff;
  transition: all .2s ease;
}
.payment-gateway-wrapper ul li:hover,
.payment-gateway-wrapper ul li.selected {
  border-color: var(--main-color-one, #ff6a00) !important;
  box-shadow: 0 10px 24px rgba(var(--main-color-one-rgb, 255, 106, 0), .16);
}
.billing-details,
.sign-in.register,
.checkout-inner {
  background: #fff;
  border-radius: 18px;
}
.order-btn-custom,
.btn-wrapper .cmn-btn {
  min-height: 48px;
}
.cart-loading,
.loader {
  z-index: 9999;
}
@media (max-width: 991px) {
  .checkout-wrapper,
  .checkout-order-summery {
    padding: 20px;
  }
  .checkout-order-summery {
    position: static;
  }
}
@media (max-width: 575px) {
  .coupon-contents-form {
    flex-direction: column;
    align-items: stretch;
  }
  .coupon-contents {
    padding: 20px !important;
  }
  .single-check-carts,
  .check-cart-flex-contents {
    gap: 10px;
  }
  .checkout-cart-thumb {
    width: 58px;
    height: 58px;
    min-width: 58px;
  }
  .coupon-contents-details-list-item {
    align-items: flex-start;
  }
}
