/* Модальное окно быстрого добавления */
.quick-add-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: none; /* Скрыто по умолчанию */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.quick-add-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    width: 300px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.close-quick-add {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 24px;
    cursor: pointer;
}

.qa-section {
    margin-bottom: 20px;
}

.qa-label {
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: bold;
}

/* Цвета */
.qa-colors {
    display: flex;
    gap: 10px;
}

.color-option {
    width: 25px; height: 25px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid #ddd;
    transition: transform 0.2s, border-color 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.selected {
    border: 2px solid #333;
    transform: scale(1.1);
}

/* Размеры */
.qa-sizes {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-option {
    padding: 8px 12px;
    border: 1px solid #ccc;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.2s;
}

.size-option:hover {
    background: #f0f0f0;
}

.size-option.selected {
    background: #333;
    color: white;
    border-color: #333;
}

/* Кнопка добавления */
.qa-add-btn {
    width: 100%;
    padding: 12px;
    background: #c62828;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.qa-add-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}