/* Start custom CSS for section, class: .elementor-element-3b2f01e7 *//* مخفی کردن کد تخفیف فقط در صفحه سبد خرید */
.woocommerce-cart .coupon {
    display: none !important;
}

/* حذف دکمه بروزرسانی سبد خرید */
button[name='update_cart'], 
input[name='update_cart'] {
    display: none !important;
    
    /* 1. اجبار کردن کادر تعداد به قرارگیری در یک خط */
.woocommerce .quantity {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important; /* وسط‌چین کردن در ستون */
    flex-wrap: nowrap !important;
    margin: 0 auto !important; /* اطمینان از وسط بودن */
}

/* 2. استایل فیلد عدد (وسط) */
.woocommerce .quantity input.qty {
    width: 50px !important; /* عرض ثابت و مناسب */
    height: 40px !important; /* ارتفاع یکسان با دکمه‌ها */
    padding: 0 !important;
    margin: 0 !important;
    text-align: center !important;
    border-radius: 0 !important; /* حذف گردی گوشه‌ها برای چسبیدن به دکمه‌ها */
    border: 1px solid #ccc !important;
    border-right: none !important; /* حذف خط بین دکمه و عدد برای زیبایی */
    border-left: none !important;
}

/* 3. استایل دکمه‌های مثبت و منفی */
.woocommerce .quantity .plus,
.woocommerce .quantity .minus,
.woocommerce .quantity button {
    width: 35px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #f1f1f1 !important; /* رنگ پس‌زمینه دکمه‌ها */
    border: 1px solid #ccc !important;
    cursor: pointer !important;
    font-size: 18px !important;
    line-height: 1 !important;
}

/* گرد کردن گوشه‌های بیرونی (اختیاری - برای زیبایی بیشتر) */
.woocommerce .quantity .minus {
    border-top-right-radius: 5px !important; /* با توجه به فارسی بودن */
    border-bottom-right-radius: 5px !important;
}
.woocommerce .quantity .plus {
    border-top-left-radius: 5px !important;
    border-bottom-left-radius: 5px !important;
}
}/* End custom CSS */