/* ═══════════════════════════════════════════════════
   SEO PAGES — общие стили для всех SEO-страниц ВиЗ
   v1.0 cb=20260513
   ═══════════════════════════════════════════════════ */

/* ===== ROOT VARS ===== */
:root {
    --blue: #0066cc;
    --dark-blue: #004a99;
    --navy: #2c5aa0;
    --deep: #1e3a5f;
    --light-blue: #e6f2ff;
    --green: #28a745;
    --orange: #f57c00;
    --gray: #6c757d;
    --border: #e0e0e0;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --radius: 12px;
}

body { background: #f0f4f8; }

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    background: #f8f9fa;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.breadcrumbs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray);
}
.breadcrumbs a {
    color: var(--blue);
    text-decoration: none;
}
.breadcrumbs a:hover { text-decoration: underline; }

/* ===== CATEGORY HERO ===== */
.category-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--deep) 100%);
    color: #fff;
    padding: 60px 0;
}
.category-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.2;
}
.category-hero p {
    font-size: 18px;
    text-align: center;
    max-width: 820px;
    margin: 0 auto 30px;
    line-height: 1.6;
    opacity: 0.92;
}

/* ===== CTA BUTTONS ===== */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin: 30px 0 0;
}
.btn {
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0,102,204,0.35);
}
.btn-primary:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,102,204,0.45);
}
.btn-secondary {
    background: #fff;
    color: var(--navy);
    border: 2px solid var(--navy);
}
.btn-secondary:hover {
    background: var(--navy);
    color: #fff;
    transform: translateY(-2px);
}

/* ===== CATEGORY CONTENT ===== */
.category-content { padding: 60px 0; }

/* ===== BENEFITS GRID ===== */
.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin: 0 0 50px;
}
.benefit-card {
    background: #fff;
    padding: 30px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}
.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.benefit-card i {
    font-size: 44px;
    color: var(--navy);
    margin-bottom: 16px;
    display: block;
}
.benefit-card h3 {
    color: var(--navy);
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px;
}
.benefit-card p {
    color: var(--gray);
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

/* ===== PRODUCT GALLERY ===== */
.product-gallery {
    margin: 0 0 50px;
    padding: 40px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.product-gallery h2 {
    text-align: center;
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 28px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 24px;
}
.gallery-item {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}
.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0,102,204,0.18);
}
.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: #f4f8ff;
    padding: 10px;
    display: block;
    border-bottom: 2px solid var(--light-blue);
    transition: opacity 0.2s;
}
.gallery-item img:hover { opacity: 0.88; }
.gallery-item p {
    padding: 12px 14px;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.4;
}

/* ===== PRICE SECTION ===== */
.price-section {
    margin: 0 0 50px;
    padding: 40px 30px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.price-section h2 {
    text-align: center;
    color: var(--navy);
    font-size: 28px;
    margin-bottom: 10px;
}
.price-table-wrapper { overflow-x: auto; }
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.price-table thead {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    color: #fff;
}
.price-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.price-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}
.price-table tbody tr:hover { background: #f8fbff; }
.price-table tbody tr:last-child { border-bottom: none; }
.price-table td {
    padding: 13px 16px;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
}
.price-table td:last-child {
    font-size: 15px;
    font-weight: 700;
    color: var(--green);
    white-space: nowrap;
    text-align: right;
}
.price-note {
    margin-top: 16px;
    padding: 14px 18px;
    background: #f0f7ff;
    border-radius: 8px;
    border-left: 4px solid var(--blue);
}

/* ===== FAQ SECTION ===== */
.faq-section {
    margin: 0 0 50px;
    padding: 40px 30px;
    background: linear-gradient(135deg, #fff8f0 0%, #fff3e0 100%);
    border-radius: var(--radius);
    border: 1px solid #ffe0b2;
}
.faq-section h2 {
    text-align: center;
    color: var(--navy);
    font-size: 28px;
    margin-bottom: 28px;
}
.faq-item {
    background: #fff;
    margin-bottom: 12px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.07);
    overflow: hidden;
    border: 1px solid var(--border);
}
.faq-item summary {
    padding: 18px 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: background 0.2s;
    user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 22px;
    font-weight: 700;
    color: var(--blue);
    flex-shrink: 0;
    transition: transform 0.25s;
    line-height: 1;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:hover { background: #f8f9fa; }
.faq-item p {
    padding: 0 20px 18px;
    margin: 0;
    color: #444;
    line-height: 1.75;
    font-size: 15px;
}

/* ===== SEO TEXT ===== */
.seo-text {
    max-width: 920px;
    margin: 0 auto 50px;
    line-height: 1.8;
    color: #333;
    background: #fff;
    padding: 36px 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.seo-text h2 {
    color: var(--navy);
    font-size: 22px;
    margin: 28px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--light-blue);
}
.seo-text h2:first-child { margin-top: 0; }
.seo-text p { margin: 0 0 14px; font-size: 15px; }
.seo-text ul, .seo-text ol {
    margin: 0 0 14px;
    padding-left: 22px;
    font-size: 15px;
}
.seo-text li { margin-bottom: 8px; }

/* ===== HEADER MOBILE FIX ===== */
@media (max-width: 992px) {
    .header-right { display: flex !important; align-items: center !important; gap: 0 !important; }
    .cart-link-mobile {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        width: 56px !important;
        height: 56px !important;
        margin-right: 10px !important;
    }
    .cart-link-mobile .cart-badge {
        position: absolute !important;
        right: calc(100% + 8px) !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin: 0 !important;
        font-size: 11px !important;
        padding: 4px 8px !important;
        min-width: 50px !important;
        min-height: 22px !important;
        border-radius: 12px !important;
        white-space: nowrap !important;
    }
    header nav { display: none !important; }
    .mobile-menu { display: block !important; position: fixed !important; left: -100% !important; }
    .mobile-menu.active { left: 0 !important; display: block !important; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .category-hero { padding: 40px 0; }
    .category-hero h1 { font-size: 28px; }
    .category-hero p { font-size: 16px; }
    .category-content { padding: 36px 0; }
    .benefits { grid-template-columns: 1fr 1fr; gap: 14px; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
    .product-gallery, .price-section, .faq-section { padding: 24px 16px; }
    .seo-text { padding: 22px 16px; }
    .price-table { font-size: 13px; }
    .price-table th, .price-table td { padding: 10px 10px; }
    .faq-item summary { font-size: 15px; padding: 14px 16px; }
    .faq-section h2, .product-gallery h2, .price-section h2 { font-size: 22px; }
}
@media (max-width: 480px) {
    .category-hero h1 { font-size: 22px; }
    .benefits { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 320px; justify-content: center; }
}
