.quantity-checker-wrapper {
    margin: 12px 0;
    font-family: inherit;
}
.qc-alert {
    display: none;
    padding: 10px 16px;
    font-size: 13px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.qc-alert-danger {
    text-align: center;
    background-color: #EC0000;
    color: #ffffff;
    border: none;
    position: absolute;
    top: -36px;
    width: 250px;
    right: -36px;
}

.qc-qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ccc;
    overflow: hidden;
    height: 40px;
}

.qc-qty-btn {
    width: 22px;
    height: 100%;
    border: none;
    background: #D6D6D6;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    color: #333;
    transition: background 0.15s;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.qc-qty-btn:hover {
    background: #e8e8e8;
}

.qc-qty-btn:active {
    background: #d5d5d5;
}

.qc-qty-input {
    width: 50px;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    outline: none;
    -moz-appearance: textfield;
    appearance: textfield;
    padding: 0 4px;
}
.qc-qty-decrease {
    margin-top: 2px;
}
.qc-qty-increase {
    margin-bottom: 2px;
}

.qc-qty-input::-webkit-inner-spin-button,
.qc-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.add-to-cart.qc-btn-disabled,
.add-to-cart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 575px) {
    .qc-qty-control {
        width: 100%;
    }
    .qc-qty-input {
        flex: 1;
    }
}
