/* Стили для асинхронной загрузки данных производителя и кнопок повтора */

/* Индикатор загрузки */
.details__vendor-loading,
.retry-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px 20px;
}

/* Спиннер */
.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Блок ошибки */
.details__vendor-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px 20px;
}

/* Контейнер повтора */
.retry-container {
    text-align: center;
}

/* Сообщения об ошибках */
.error-message,
.retry-message {
    color: #e74c3c;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
}

/* Кнопка повтора */
.retry-button {
    margin-top: 10px;
    min-width: 200px;
}

/* Текст загрузки */
.loading-text {
    color: #999;
    font-style: italic;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 767px) {
    .details__vendor-loading,
    .details__vendor-error,
    .retry-container {
        padding: 20px 15px;
    }
    
    .error-message,
    .retry-message {
        font-size: 13px;
    }
    
    .retry-button {
        min-width: 150px;
    }
}










