body .custom-quantity {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
    direction: rtl;
    position: relative;
    z-index: 1;
    padding: 5px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body .custom-quantity .carton-quantity-input {
    width: 90px;
    text-align: center;
    border-radius: 8px;
    border: 2px solid #720eec;
    padding: 8px;
    font-size: 18px;
    font-weight: 500;
    color: #535353;
    background: transparent;
    outline: none;
}

body .custom-quantity .carton-qty-plus,
body .custom-quantity .carton-qty-minus {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #720eec;
    color: #fcfbfe;
    border: none;
    border-radius: 10px;
    width: 36px;
    height: 36px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

body .custom-quantity .carton-qty-plus:hover,
body .custom-quantity .carton-qty-minus:hover {
    background: #f5d0fe;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    body .custom-quantity {
        gap: 8px;
        padding: 4px;
    }

    body .custom-quantity .carton-quantity-input {
        width: 70px;
        font-size: 16px;
        padding: 6px;
    }

    body .custom-quantity .carton-qty-plus,
    body .custom-quantity .carton-qty-minus {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
}

.quantity:not(.custom-quantity) .plus,
.quantity:not(.custom-quantity) .minus {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}