/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/* برای موبایل و تبلت */
@media (max-width: 1024px) {
    .woocommerce .coupon.e-cart-section.shop_table .form-row.coupon-col {
        display: flex;
        flex-wrap: nowrap; /* نذاره بره خط بعد */
        align-items: center;
        gap: 10px; /* فاصله بین input و دکمه */
    }

    .woocommerce .coupon-col-start,
    .woocommerce .coupon-col-end {
        flex: unset;
        padding: 0;
    }

    /* اینپوت کشیده‌تر بشه */
    .woocommerce #coupon_code {
        flex: 1;
        min-width: 0; /* برای جلوگیری از شکستن */
    }

    /* دکمه سایز خودشو نگه داره */
    .woocommerce .coupon-col-end button {
        white-space: nowrap;
    }
}
add_action('wp_footer', 'custom_select2_script');