
.subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 30px;
}

.quantity-label {
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
    color: #2c3e50;
    font-size: 16px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    margin: 0 auto;
}

.quantity-btn {
    width: 48px;
    height: calc(50px + var(--space-1) + var(--space-1));
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border: var(--border-width-thick) solid var(--border-grey);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 20px;
    color: #495057;
}

.quantity-btn:hover:not(:disabled) {
    background: #e9ecef;
    border-color: #dee2e6;
}

.quantity-btn:active:not(:disabled) {
    transform: scale(0.95);
}

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

.quantity-input {
    width: 100%;
    height: calc(50px + var(--space-1) + var(--space-1));
    margin: 0 10px;
    text-align: center;
    border-radius: var(--radius-lg);
    border: var(--border-width-thick) solid var(--border-grey);
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    background: var(--color-white);
    -moz-appearance: textfield;
}

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

.quantity-input:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.quantity-info {
    text-align: center;
    margin-top: 15px;
    color: #6c757d;
    font-size: 14px;
}

.stock-info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    color: #28a745;
    font-size: 14px;
    font-weight: 500;
}

.stock-info svg {
    margin-right: 6px;
}

.selected-quantity {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
    border: 2px dashed #e9ecef;
}

.selected-quantity p {
    margin: 0;
    color: #6c757d;
}

.selected-quantity span {
    font-weight: 600;
    color: #4f46e5;
    font-size: 18px;
}

@media (max-width: 480px) {
    
    .quantity-btn {
        height: 44px;
        font-size: 18px;
    }
    
    .quantity-input {
        height: 44px;
        font-size: 16px;
    }
}

.quantity-selector-error {
    border: 2px solid red !important;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.3);
}

.quantity-selector {
    border: 2px solid transparent;
    padding: 0 10px;
    transition: border-color 0.3s ease;
}

.quantity-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 5px;
    background-color: var(--text-color);
    border: 2px solid var(--text-secondary);
    border-radius: 6px;
}

.quantity-btn {
    width: 100px;
    height: 50px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.quantity-btn:hover:not(:disabled) {
    border-color: #007bff;
    background-color: #f8f9fa;
}

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

.quantity-input {
    width: 100%;
    height: 50px;
    border: 2px solid #ddd;
    border-radius: 6px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    padding: 0 8px;
}

.quantity-input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

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

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