/* ===== ОСНОВНЫЕ СТИЛИ ===== */
.mv-new {
    margin: 0;
    padding: 0;
    width: 100%;
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.mv-container-full {
    width: 100%;
    max-width: 1400px;
    padding: 24px 32px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* ===== ЗАГОЛОВОК СТРАНИЦЫ ===== */
.mv-new-header {
    margin: 0 0 16px 0;
}

.mv-new-subtitle {
    font-size: 16px;
    color: #7e8c9e;
    margin: 8px 0 0 0;
    line-height: 1.5;
}

/* ===== ИНФОРМАЦИЯ О ТОВАРАХ ===== */
.mv-products-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 24px 0;
    padding: 0;
    font-size: 14px;
    color: #54656f;
}

.mv-products-info strong {
    color: #1f2a3a;
    font-weight: 600;
}

.mv-page-info {
    color: #7e8c9e;
}

/* ===== СЕТКА ТОВАРОВ ===== */
.mv-new-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin: 0 0 48px 0;
}

/* ===== КАРТОЧКА ТОВАРА ===== */
.mv-new-card {
    background: white;
    border: 1px solid #eaeef2;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.mv-new-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: #d0d7de;
}

.mv-new-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Бейджи */
.mv-new-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mv-badge-new {
    background: #fff300;
    color: #1f2a3a;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
    display: inline-block;
    width: fit-content;
}

.mv-badge-discount {
    background: #ff4d4d;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
    display: inline-block;
    width: fit-content;
}

/* Изображение */
.mv-new-image-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f9fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mv-new-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.mv-new-card:hover .mv-new-image {
    transform: scale(1.03);
}

/* Контент карточки */
.mv-new-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mv-new-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2a3a;
    margin: 0 0 12px 0;
    line-height: 1.4;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
}

/* Цены */
.mv-new-prices {
    margin-bottom: 12px;
}

.mv-price-old {
    font-size: 14px;
    color: #7e8c9e;
    text-decoration: line-through;
    margin-right: 8px;
}

.mv-price-current {
    font-size: 18px;
    font-weight: 700;
    color: #1f2a3a;
}

.mv-price-current.has-discount {
    color: #ff4d4d;
}

/* Наличие */
.mv-new-availability {
    margin-top: auto;
    font-size: 13px;
    font-weight: 500;
}

.mv-availability-badge {
    color: #2e7d32;
}

.mv-availability-badge.is-empty {
    color: #ff4d4d;
}

/* ===== ПАГИНАЦИЯ ===== */
.mv-new-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 32px 0 48px;
}

.mv-pagination-pages {
    display: flex;
    gap: 4px;
    align-items: center;
}

.mv-pagination-btn {
    padding: 8px 16px;
    border: 1px solid #eaeef2;
    border-radius: 8px;
    background: white;
    color: #1f2a3a;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mv-pagination-btn:hover {
    background: #f6f8fa;
    border-color: #d0d7de;
}

.mv-pagination-page {
    padding: 8px 12px;
    border: 1px solid #eaeef2;
    border-radius: 6px;
    background: white;
    color: #1f2a3a;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    min-width: 36px;
    text-align: center;
}

.mv-pagination-page:hover {
    background: #f6f8fa;
    border-color: #d0d7de;
}

.mv-pagination-current {
    background: #1f2a3a;
    border-color: #1f2a3a;
    color: white;
    font-weight: 500;
}

.mv-pagination-current:hover {
    background: #2c3a4a;
    border-color: #2c3a4a;
    color: white;
}

.mv-pagination-dots {
    padding: 8px 4px;
    color: #7e8c9e;
}

/* ===== SEO БЛОК ===== */
.mv-new-seo {
    margin: 48px 0 32px;
    padding: 32px;
    background: #f9fafc;
    border-radius: 16px;
    border: 1px solid #eaeef2;
}

.mv-new-seo h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1f2a3a;
    margin: 0 0 16px 0;
    letter-spacing: -0.01em;
}

.mv-new-seo h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2a3a;
    margin: 24px 0 12px 0;
}

.mv-new-seo p {
    font-size: 15px;
    line-height: 1.6;
    color: #54656f;
    margin: 0 0 16px 0;
}

.mv-new-seo ul,
.mv-new-seo ol {
    margin: 0 0 16px 0;
    padding: 0 0 0 20px;
}

.mv-new-seo li {
    font-size: 15px;
    line-height: 1.6;
    color: #54656f;
    margin-bottom: 8px;
}

.mv-new-seo a {
    color: #1f2a3a;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.mv-new-seo a:hover {
    color: #fff300;
}

.mv-new-seo-lead {
    font-size: 16px;
    font-weight: 500;
    color: #1f2a3a;
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    border-left: 4px solid #fff300;
}

/* ===== FAQ ===== */
.mv-new-faq {
    max-width: 900px;
    margin: 48px auto 0;
    padding: 32px 0 0;
    border-top: 1px solid #eaeef2;
}

.mv-new-faq-title {
    font-size: 24px;
    font-weight: 600;
    color: #1f2a3a;
    margin: 0 0 24px 0;
    letter-spacing: -0.01em;
    text-align: center;
}

.mv-new-faq-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mv-new-faq-item {
    border: 1px solid #eaeef2;
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

.mv-new-faq-question {
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 500;
    color: #1f2a3a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background 0.2s;
}

.mv-new-faq-question:hover {
    background: #f6f8fa;
}

.mv-new-faq-question.active {
    background: #f6f8fa;
    border-bottom: 1px solid #eaeef2;
}

.mv-new-faq-icon {
    font-size: 20px;
    color: #7e8c9e;
    font-weight: 400;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mv-new-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: white;
}

.mv-new-faq-answer p,
.mv-new-faq-answer ul,
.mv-new-faq-answer ol {
    margin: 0;
    padding: 0 20px 20px 20px;
    font-size: 15px;
    color: #54656f;
    line-height: 1.6;
}

.mv-new-faq-answer ul,
.mv-new-faq-answer ol {
    padding-left: 40px;
}

.mv-new-faq-answer li {
    margin-bottom: 6px;
}

.mv-new-faq-link {
    color: #1f2a3a;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.mv-new-faq-link:hover {
    color: #fff300;
}

/* ===== ПУСТОЙ РЕЗУЛЬТАТ ===== */
.mv-new-empty {
    padding: 60px 20px;
    text-align: center;
    background: #f6f8fa;
    border-radius: 16px;
    color: #54656f;
    font-size: 16px;
}

.mv-new-empty a {
    color: #1f2a3a;
    text-decoration: underline;
    margin-top: 16px;
    display: inline-block;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1024px) {
    .mv-new-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .mv-container-full {
        padding: 16px 20px;
    }
    
    .mv-new-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 16px;
    }
    
    .mv-new-content {
        padding: 16px;
    }
    
    .mv-new-title {
        font-size: 15px;
        min-height: 40px;
    }
    
    .mv-price-current {
        font-size: 16px;
    }
    
    .mv-new-faq-title {
        font-size: 20px;
    }
    
    .mv-new-seo {
        padding: 20px;
    }
    
    .mv-products-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .mv-new-grid {
        grid-template-columns: 1fr;
    }
    
    .mv-new-faq-question {
        padding: 14px 16px;
        font-size: 15px;
    }
    
    .mv-new-seo h2 {
        font-size: 20px;
    }
    
    .mv-new-seo h3 {
        font-size: 16px;
    }
    
    .mv-pagination-pages {
        gap: 2px;
    }
    
    .mv-pagination-page {
        min-width: 32px;
        padding: 6px 8px;
    }
}