.product-quantity-controls {
    display: flex;
}

.product-quantity-form-group {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid var(--color-border, #dee2e6);
    border-radius: var(--border-radius-sm, 8px);
    background-color: #fff;
    overflow: hidden;
    height: 44px;
    width: auto;
    min-width: 132px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.product-quantity-form-group .button.control-minus,
.product-quantity-form-group .button.control-plus {
    border: none;
    background: #fff;
    width: 44px;
    min-width: 44px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-primary, var(--brand-red, #C8102E));
    transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
    padding: 0;
    margin: 0;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: none;
    outline: none;
}

.product-quantity-form-group .button.control-minus:hover:not(.inactive),
.product-quantity-form-group .button.control-plus:hover:not(.inactive) {
    background-color: #f3f4f6;
}

.product-quantity-form-group .button.inactive {
    opacity: 0.35;
    cursor: not-allowed;
    color: #9ca3af;
}

.product-quantity-form-group .button.inactive:hover {
    background-color: #fff;
}

.product-quantity-form-group .control-input {
    border: none;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    text-align: center;
    width: 44px;
    min-width: 44px;
    max-width: 64px;
    flex: 1 1 auto;
    height: 100%;
    padding: 0 4px;
    margin: 0;
    -moz-appearance: textfield;
    font-weight: 700;
    color: #111827;
    font-size: 16px;
    background: #fff;
    border-radius: 0;
}

.product-quantity-form-group .control-input:focus {
    outline: none;
    background-color: #fafafa;
}

.product-quantity-form-group .control-input::-webkit-outer-spin-button,
.product-quantity-form-group .control-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-quantity-form-group button i {
    pointer-events: none;
}

.product-sidebar-qty-row .product-quantity-input {
    width: auto;
}

.product-sidebar-qty-row .product-quantity-form-group {
    justify-content: flex-start;
}

.product-quantity-hint {
    display: none;
    font-size: 12px;
    line-height: 1.35;
    width: 100%;
    max-width: 280px;
}

.cart-item-quantity-block .product-quantity-hint {
    max-width: none;
}
