/* 
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 a little space between the number and the increment/decrement arrows */

/* Base styling for quantity inputs (product, cart, checkout) */
/* Product page & cart */
.woocommerce div.product form.cart .quantity input.qty,
.woocommerce-cart .quantity input.qty {
    width: 70px;          /* slightly wider for comfort */
    padding: 3px 6px;     /* reduce padding while keeping space for arrows */
    box-sizing: border-box;
    text-align: center;
    font-size: 16px;
}

/* Checkout page */
.woocommerce-checkout .quantity input.qty {
    width: 90px;          /* wider box for checkout */
    padding: 3px 6px;     
    box-sizing: border-box;
    text-align: center;
    font-size: 16px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .woocommerce div.product form.cart .quantity input.qty,
    .woocommerce-cart .quantity input.qty,
    .woocommerce-checkout .quantity input.qty {
        width: 65px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .woocommerce div.product form.cart .quantity input.qty,
    .woocommerce-cart .quantity input.qty,
    .woocommerce-checkout .quantity input.qty {
        width: 55px;
        font-size: 14px;
    }
}

/* Ensure spinner buttons height stays correct */
.woocommerce div.product form.cart .quantity input.qty::-webkit-inner-spin-button,
.woocommerce div.product form.cart .quantity input.qty::-webkit-outer-spin-button,
.woocommerce-checkout .quantity input.qty::-webkit-inner-spin-button,
.woocommerce-checkout .quantity input.qty::-webkit-outer-spin-button {
    height: auto;
}
