/**
 * Navigator Component - Nettop Styles
 * Цветовая схема: #48acb4 (тёмно-бирюзовый)
 * Цена: #520101 (красный)
 */

/* ================================================
   ОСНОВНОЙ ЦВЕТ НЕТТОПОВ
   ================================================ */
.nettop-primary-color {
    color: #48acb4 !important;
}

.nettop-primary-bg {
    background-color: #48acb4 !important;
}

/* ================================================
   ЗАГОЛОВКИ КАРТОЧЕК
   ================================================ */
.nettop-card-header {
    background-color: #48acb4;
    color: #ffffff;
    padding: 1rem;
}

.nettop-card-header .card-title {
    margin-bottom: 0;
}

.nettop-card-header a {
    color: #ffffff;
    text-decoration: none;
}

.nettop-card-header a:hover {
    text-decoration: underline;
}

/* ================================================
   ЦЕНЫ
   ================================================ */
.nettop-price {
    color: #520101;
    font-weight: bold;
    font-size: 1.25rem;
}

.nettop-price-large {
    color: #520101;
    font-weight: bold;
    font-size: 2rem;
}

.nettop-price-card {
    color: #520101;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ================================================
   КНОПКИ
   ================================================ */
.btn-nettop-primary {
    background-color: #48acb4;
    border-color: #48acb4;
    color: #ffffff;
}

.btn-nettop-primary:hover {
    background-color: #013d3e;
    border-color: #013d3e;
    color: #ffffff;
}

.btn-nettop-primary:focus,
.btn-nettop-primary:active {
    background-color: #01292a;
    border-color: #01292a;
    color: #ffffff;
    box-shadow: 0 0 0 0.25rem rgba(1, 81, 82, 0.25);
}

.btn-outline-nettop-primary {
    border-color: #48acb4;
    color: #015152;
}

.btn-outline-nettop-primary:hover {
    background-color: #48acb4;
    border-color: #48acb4;
    color: #ffffff;
}

/* ================================================
   БЕЙДЖИ (АКТИВНЫЕ ФИЛЬТРЫ)
   ================================================ */
.badge-nettop-primary {
    background-color: #48acb4;
    color: #ffffff;
}

.nettop-badge-qty {
    background-color: #6c757d;
    color: #ffffff;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    margin-left: 0.25rem;
}

/* ================================================
   КАРТОЧКИ МОДЕЛЕЙ
   ================================================ */
.nettop-model-card {
    height: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.nettop-model-card:hover {
    box-shadow: 0 4px 12px rgba(1, 81, 82, 0.2);
}

.nettop-model-card .card-img-top {
    max-height: 250px;
    object-fit: contain;
    padding: 1rem;
}

.nettop-model-card .card-body {
    display: flex;
    flex-direction: column;
}

.nettop-model-card .card-body .mt-auto {
    margin-top: auto !important;
}

/* ================================================
   ИЗОБРАЖЕНИЕ-ЗАГЛУШКА
   ================================================ */
.nettop-image-placeholder {
    height: 250px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.nettop-image-placeholder-large {
    height: 400px;
    background-color: #f8f9fa;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* ================================================
   СПЕЦИФИКАЦИЯ (ДЕТАЛЬНЫЙ ПРОСМОТР)
   ================================================ */
.nettop-spec-table {
    margin-bottom: 0;
}

.nettop-spec-table th {
    width: 35%;
    color: #6c757d;
    font-weight: 500;
}

.nettop-spec-table td {
    font-weight: normal;
}

.nettop-spec-image {
    max-height: 400px;
    object-fit: contain;
}

/* ================================================
   ПОХОЖИЕ МОДЕЛИ
   ================================================ */
.nettop-similar-models {
    margin-top: 3rem;
}

.nettop-similar-models h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ================================================
   АДАПТИВНОСТЬ
   ================================================ */
@media (max-width: 768px) {
    .nettop-price-large {
        font-size: 2rem;
    }
    
    .nettop-model-card .card-img-top {
        max-height: 200px;
    }
    
    .nettop-spec-table th {
        width: 40%;
    }
}

@media (max-width: 576px) {
    .nettop-card-header {
        padding: 0.75rem;
    }
    
    .nettop-price-large {
        font-size: 1.75rem;
    }
}

/* ================================================
   УТИЛИТЫ
   ================================================ */
.nettop-text-muted {
    color: #6c757d;
}