/**
* Theme Name:        avanam-cosmika
* Theme URI:         https://templatemela.com/
* Template:          avanam
* Author:            TemplateMela
* Author URI:        #
* Description:       This is a child theme of Avanam, generated by TemplateMela.
* Version:           1.0.0
* License:           GNU General Public License v3.0 (or later)
* License URI:       https://www.gnu.org/licenses/gpl-3.0.html
* Text Domain:       avanam-cosmika
* Requires at least: 6.2
* Tested up to:      6.6
* Requires PHP:      7.4
* Tags: translation-ready, two-columns, right-sidebar, left-sidebar, footer-widgets, blog, custom-logo, custom-background, custom-menu, rtl-language-support, editor-style, threaded-comments, custom-colors, featured-images, wide-blocks, full-width-template, theme-options, e-commerce

*/

/* ==========================================================================
   WooCommerce cart drawer: quantity stepper (+/-)
   ========================================================================== */

#cart-drawer .cosmika-quantity,
.cosmika-quantity {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.cosmika-quantity.cosmika-updating {
    opacity: 0.5;
    pointer-events: none;
}

.cosmika-qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var( --global-gray-400, #dddddd );
    border-radius: 999px;
    overflow: hidden;
    background: transparent;
}

.cosmika-qty-btn {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    color: var( --global-palette3, #333333 );
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.cosmika-qty-btn:hover,
.cosmika-qty-btn:focus {
    background: var( --global-palette7, #f0f0f0 );
    color: var( --global-palette1, #000000 );
}

.cosmika-qty-btn.disabled,
.cosmika-qty-btn[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.cosmika-qty-value {
    min-width: 28px;
    padding: 0 4px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var( --global-palette3, #333333 );
}

.cosmika-qty-price {
    font-size: 13px;
    color: var( --global-palette5, #666666 );
}