.quantity-pill {
    display: inline-flex;
    align-items: stretch;
    background-color: #243b7a;
    border-radius: 999px;
    overflow: hidden;
    min-height: 34px;
    min-width: 96px;
}

.quantity-pill .quantity-pill-btn {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.quantity-pill .quantity-pill-btn:hover:not(:disabled) {
    background-color: #5b84f5;
}

.quantity-pill .quantity-pill-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.quantity-pill .quantity-pill-input-wrap {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.28);
    border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.quantity-pill .quantity-pill-input {
    width: 100%;
    max-width: 2.75rem;
    margin: 0;
    padding: 0.15rem 0.2rem;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    outline: none;
}

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

.quantity-pill .quantity-pill-input[type='number'] {
    -moz-appearance: textfield;
    appearance: textfield;
}
