
.bebanstore-quantity-section .quantity,
.bebanstore-quantity-section .bebanstore-quantity-input-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bebanstore-quantity-section{
    flex: unset !important;
}
.bebanstore-quantity-section .bebanstore-qty-button{
    margin: 0 !important;
}
.bebanstore-quantity-section .qty,
.bebanstore-quantity-section .bebanstore-quantity-input-wrapper .qty {
    width: 30px !important;
    padding: 0 !important;
    text-align: center !important;
    border: none !important;
    -moz-appearance: textfield !important;
    color: #333 !important;
    pointer-events: none !important;
}

.bebanstore-quantity-section .bebanstore-qty-button {
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    border: none !important;
    color: #333 !important;
    cursor: pointer;
}

/*
 * Isolate qty buttons from theme/Elementor `.cart button` rules.
 * Higher specificity than typical `.elementor-* .cart button` selectors.
 */
.cart .bebanstore-quantity-section .quantity button.bebanstore-qty-button,
.bebanstore-quantity-section .quantity button.bebanstore-qty-button[type="button"] {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    font-weight: normal;
    line-height: 1;
    min-height: 0;
    min-width: 0;
    width: auto;
    height: auto;
    text-transform: none;
    letter-spacing: normal;
    text-decoration: none;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.bebanstore-quantity-section .bebanstore-qty-button svg {
    width: 20px;
    height: 20px;
}

.bebanstore-quantity-section .bebanstore-qty-button svg path {
    stroke: currentColor;
}

.bebanstore-quantity-section .bebanstore-qty-button:hover:not(:disabled) {
    color: #000 !important;
}

.bebanstore-quantity-section .bebanstore-qty-button:disabled {
    opacity: 0.5;
    color: #bbb !important;
    background: transparent !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}
.bebanstore-quantity-section .bebanstore-qty-button:disabled:hover {
    color: #bbb !important;
    background: transparent !important;
    cursor: not-allowed !important;
}

.bebanstore-quantity-section .bebanstore-qty-button.trash {
    color: #EE4055 !important;
}

.bebanstore-quantity-section .bebanstore-qty-button.trash:hover:not(:disabled) {
    color: #d63384 !important;
}

.bebanstore-quantity-section .bebanstore-qty-button.minus {
    border-right: 1px solid #ddd;
}

.bebanstore-quantity-section .bebanstore-qty-button.plus {
    border-left: 1px solid #ddd;
}


.bebanstore-quantity-section .bebanstore-qty-button.trash svg{
    padding: 2px;
}


/* Hide spinners for number input */
.bebanstore-quantity-section .qty::-webkit-outer-spin-button,
.bebanstore-quantity-section .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Loading spinner animation */
@keyframes bebanstore-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Cart Page Specific Styles */
.bebanstore-quantity-section--cart .bebanstore-quantity-input-wrapper {
    margin: 0 auto;
}

/* Quantity Control Mobile Responsiveness */
@media (max-width: 768px) {
    .bebanstore-quantity-input-wrapper {
        max-width: 120px;
    }

    .bebanstore-qty-button {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .bebanstore-quantity-input-wrapper .qty {
        width: 40px !important;
        height: 35px !important;
        font-size: 13px !important;
    }
} 