/* Side Cart - Checkout Manager: quantity stepper + remove on the order review */
/* Hardened against theme button styling ( big / colored / stacked ). */

.xoo-wsc-cm-qty {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.xoo-wsc-cm-qty .xoo-wsc-qty-stepper {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: auto !important;
    max-width: max-content;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    overflow: hidden;
    line-height: 1;
    box-sizing: border-box;
}

.xoo-wsc-cm-qty .xoo-wsc-qs-btn {
    flex: 0 0 auto !important;
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    height: 30px !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: rgba(0, 0, 0, 0.04) !important;
    color: inherit !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    text-shadow: none !important;
    box-shadow: none !important;
    float: none !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    -webkit-appearance: none;
    appearance: none;
    transition: background 0.15s ease;
}

.xoo-wsc-cm-qty .xoo-wsc-qs-btn:hover {
    background: rgba(0, 0, 0, 0.1) !important;
}

.xoo-wsc-cm-qty .xoo-wsc-qs-btn.xoo-wsc-qs-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.xoo-wsc-cm-qty .xoo-wsc-qs-input {
    flex: 0 0 auto !important;
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 30px !important;
    min-height: 0 !important;
    padding: 0 2px !important;
    margin: 0 !important;
    border: 0 !important;
    border-left: 1px solid rgba(0, 0, 0, 0.15) !important;
    border-right: 1px solid rgba(0, 0, 0, 0.15) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: inherit !important;
    text-align: center !important;
    font-size: 14px !important;
    line-height: 30px !important;
    box-shadow: none !important;
    -moz-appearance: textfield;
    pointer-events: none;
}

.xoo-wsc-cm-qty .xoo-wsc-qs-input::-webkit-outer-spin-button,
.xoo-wsc-cm-qty .xoo-wsc-qs-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.xoo-wsc-cm-qty .xoo-wsc-cm-remove {
    font-size: 12px;
    text-decoration: underline;
    opacity: 0.75;
    line-height: 1;
}

.xoo-wsc-cm-qty .xoo-wsc-cm-remove:hover {
    opacity: 1;
}
