.elementor-988285 .elementor-element.elementor-element-7c5ac24{--display:flex;}/* Start custom CSS *//* Background */
body.woocommerce-cart {
    background: #f8f9fc;
}

/* Cart Table */
.woocommerce-cart-form table {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    border: none;
}

.woocommerce-cart-form th {
    background: #fafafa;
    font-weight: 700;
    padding: 20px;
}

.woocommerce-cart-form td {
    padding: 20px;
    vertical-align: middle;
}

/* Product Image */
.product-thumbnail img {
    border-radius: 12px;
    transition: .3s;
}

.product-thumbnail img:hover {
    transform: scale(1.05);
}

/* Quantity */
.quantity .qty {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    height: 46px;
}

/* Coupon */
.coupon input {
    border-radius: 12px;
    border: 1px solid #ddd;
    height: 48px;
    padding: 0 15px;
}

.coupon button,
.button,
.checkout-button {
    border-radius: 14px !important;
    background: #000 !important;
    color: #fff !important;
    transition: all .3s ease;
}

.coupon button:hover,
.button:hover,
.checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

/* Cart Totals Box */
.cart-collaterals .cart_totals {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    border: 1px solid #f0f0f0;
}

.cart_totals h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 30px;
}

/* Checkout Button */
.checkout-button {
    width: 100%;
    padding: 18px !important;
    font-size: 16px;
    font-weight: 700;
}

/* Remove Button */
.product-remove a {
    color: #ef4444 !important;
    font-size: 22px;
    transition: .3s;
}

.product-remove a:hover {
    transform: rotate(90deg);
}

/* Spacing */
.woocommerce {
    max-width: 1400px;
    margin: auto;
}

/* Mobile */
@media (max-width: 768px) {
    .cart-collaterals .cart_totals {
        padding: 25px;
    }

    .cart_totals h2 {
        font-size: 30px;
    }
}


/* سبد خرید وسط‌چین و پخش‌شده */
.woocommerce-cart-form,
.cart-collaterals {
  direction: rtl;
  text-align: right;
}

.cart-collaterals {
  float: none !important;
  width: 100% !important;
  max-width: 480px;
  margin: 30px auto 0 !important;   /* وسط‌چین */
}

.cart_totals {
  float: none !important;
  width: 100% !important;
  margin: 0 auto !important;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 24px 22px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

/* جدول سبد خرید */
.woocommerce-cart-form table.shop_table {
  width: 100% !important;
  direction: rtl;
  text-align: right;
  margin-bottom: 20px;
}

.woocommerce-cart-form table.shop_table th,
.woocommerce-cart-form table.shop_table td {
  text-align: right !important;
  padding: 14px 10px !important;
}

/* دکمه‌ها */
.woocommerce-cart-form .coupon,
.woocommerce-cart-form .button {
  border-radius: 10px !important;
}

.cart_totals .checkout-button {
  width: 100% !important;
  height: 48px !important;
  border-radius: 11px !important;
  font-weight: 600 !important;
}
.cart-collaterals {
  float: none !important;
  width: 100% !important;
  max-width: 560px;          /* عرض بیشتر شد */
  margin: 30px auto 0 !important;
}

.cart_totals {
  float: none !important;
  width: 100% !important;
  margin: 0 auto !important;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 26px 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}/* End custom CSS */