/*
Theme Name: Borisov24
Theme URI: https://borisov24.by
Author: Ваше Имя
Description: Чистая тема для сайта Borisov24
Version: 1.0
Text Domain: borisov24
*/
/* 1. Блокируем любые попытки SiteOrigin добавить отрицательные margin через JS */
.siteorigin-panels-stretch, 
.panel-row-style, 
[data-stretch-type="full-width"], 
[data-stretch-type="full-width-stretch"] {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    box-sizing: border-box !important;
}

/* 2. Убираем внутренние зазоры ячеек конструктора */
.panel-grid-cell {
    padding: 0 !important;
    margin: 0 !important;
}

/* 3. Центрируем подвал (на случай, если он внутри SiteOrigin или под ним) */
.b24-footer-content, .msk-footer-container {
    margin: 0 auto !important;
    float: none !important;
    display: block !important;
}

/* 4. Запрет на горизонтальный скролл (финальный щит) */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative !important;
}

/* Фикс для блоков, которые могут распирать сайт (Hero, Footer, Контейнеры) */
.b24-hero-section, 
.seo-hero-block-dynamic, 
.b24-about-hero,
#b24-footer-live, 
.glass-footer-section,
.msk-site-footer {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important; /* Обрезаем всё, что пытается вылезти вправо */
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: 0 !important;
}
/* 2. ИСПРАВЛЕНИЕ ВСЕХ ПОЛНОЭКРАННЫХ БЛОКОВ */
/* Заменяем vw на 100% для всех твоих главных секций */
.seo-hero-block-dynamic, 
.site-header, 
.glass-footer-section, 
.consultation-full-section,
#b24-footer-live {
    width: 100% !important; 
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* 3. ФИКС ДЛЯ ДИНАМИЧЕСКОГО КОНТЕЙНЕРА (чтобы не косило) */
.seo-container-1290 {
    width: 100%;
    max-width: 1290px !important;
    margin: 0 auto !important;
    display: block;
}
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
html {
    scroll-behavior: smooth;
    /* Укажи здесь высоту своей шапки + 20px запаса */
    scroll-padding-top: 100px; 
}
.container {
    max-width: 1270px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- ХЕДЕР (ОБЩЕЕ) --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease-in-out; /* Плавность исчезновения */
}

/* Класс для скрытия хедера при скролле вниз */
.site-header.header-hidden {
    transform: translateY(-100%);
}

/* Распорка, чтобы контент не прыгал под хедер. 
   Высоту нужно подбирать примерно под высоту вашего хедера */
.header-spacer {
    height: 55px; 
}

/* --- TOP BAR (САЙДБАР) --- */
.top-bar {
    background: #333;
    color: #fff;
    padding: 5px 0;
    font-size: 14px;
}

.top-bar a {
    color: #fff;
    text-decoration: none;
}

/* --- ОСНОВНОЙ ХЕДЕР --- */
.main-header {
    padding: 15px 0;
    background: #fff;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Логотип */
.site-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
}

.site-branding a {
    text-decoration: none;
}

/* --- МЕНЮ (ДЕСКТОП) --- */
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-navigation ul li {
    margin-left: 1px;
    position: relative;
}

.main-navigation ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 5px 10px;
    transition: color 0.3s;
}

.main-navigation ul li a:hover {
    color: #0073aa; /* Цвет при наведении */
}

/* Скрываем бургер на десктопе */
.menu-toggle {
    display: none;
}

/* --- МОБИЛЬНАЯ ВЕРСИЯ (до 768px) --- */
@media screen and (max-width: 768px) {
    
    /* Уменьшаем распорку */
    .header-spacer {
        height: 60px; 
    }

    /* Показываем бургер */
    .menu-toggle {
        display: block;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1000;
    }

    .menu-toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: #333;
        transition: all 0.3s ease-in-out;
    }

    /* Анимация бургера в крестик */
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Меню на мобильном */
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%; /* Спрятано справа */
        width: 80%; /* Ширина шторки */
        max-width: 300px;
        height: 100vh;
        background: #fff;
        padding-top: 80px; /* Отступ сверху */
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        transition: right 0.3s ease-in-out;
        z-index: 998;
    }

    /* Когда меню открыто */
    .main-navigation.toggled {
        right: 0;
    }

    .main-navigation ul {
        flex-direction: column;
    }

    .main-navigation ul li {
        margin: 0;
        border-bottom: 1px solid #eee;
    }

    .main-navigation ul li a {
        display: block;
        padding: 15px 20px;
        font-size: 18px;
    }
}
/* Убираем отступы у body и footer, чтобы фон был на всю ширину */
body {
    margin: 0;
    padding: 0;
}
footer.site-footer {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}
/* Скрываем стандартные отступы виджетов в подвале, если тема их добавляет */
.footer-widget-area {
    margin: 0;
    padding: 0;
    width: 100%;
}
/* --- СТИЛИ МЕССЕНДЖЕРОВ В ШАПКЕ (С заголовком в мобильном) --- */

/* 1. Общие настройки для ПК */
.header-msg-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
}

.h-msg-item img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: block;
    transition: transform 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.h-msg-item:hover img {
    transform: scale(1.1);
}

@media (min-width: 901px) {
    .main-navigation {
        display: flex;
        align-items: center;
    }
    .header-msg-wrap {
        margin-right: 30px; 
    }
}

/* 2. НАСТРОЙКИ ДЛЯ МОБИЛЬНОГО (Макс. ширина 900px) */
@media (max-width: 900px) {
    
    /* Делаем меню колонкой */
    .main-navigation.toggled, 
    .main-navigation.open,
    nav.mobile-menu-open { 
        display: flex !important;
        flex-direction: column;
    }

    /* Само меню наверх */
    .main-navigation ul {
        order: 1;
        width: 100%;
    }

    /* Блок иконок вниз */
    .header-msg-wrap {
        order: 2;
        display: flex !important;
        justify-content: center;
        flex-wrap: wrap; /* Чтобы надпись перенеслась на новую строку */
        width: 100%;
        margin-top: 20px;
        margin-bottom: 20px;
        padding-top: 20px;
        border-top: 1px solid #eee; /* Линия разделитель */
    }

    /* --- МАГИЯ: ДОБАВЛЯЕМ ТЕКСТ --- */
    .header-msg-wrap::before {
        content: 'Напишите нам в мессенджеры:'; /* Текст надписи */
        display: block;
        width: 100%;
        text-align: center;
        font-size: 13px;
        font-weight: 600;
        text-transform: uppercase;
        color: #888; /* Серый цвет текста */
        margin-bottom: 15px; /* Отступ от текста до иконок */
    }

    .h-msg-item img {
        width: 42px; /* Иконки покрупнее для пальца */
        height: 42px;
    }
}

    /* --- ОСНОВНОЙ КОНТЕЙНЕР --- */
    #b24-footer-live {
        position: relative;
        background-color: #0f172a;
        color: #94a3b8;
        padding: 60px 0;
        overflow: hidden;
        font-size: 14px;
        line-height: 1.5;
        border-top: 1px solid rgba(255,255,255,0.05);
    }

    /* --- ЖИВЫЕ ПЯТНА --- */
    .b24-blob {
        position: absolute; filter: blur(80px); z-index: 0; opacity: 0.4;
        animation: b24-float 10s infinite ease-in-out alternate;
    }
    .b24-blob-1 {
        top: -10%; left: -10%; width: 500px; height: 500px;
        background: radial-gradient(circle, #25d366 0%, transparent 70%);
    }
    .b24-blob-2 {
        bottom: -10%; right: -10%; width: 600px; height: 600px;
        background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
        animation-delay: -5s;
    }
    @keyframes b24-float {
        0% { transform: translate(0, 0) scale(1); }
        100% { transform: translate(30px, 50px) scale(1.1); }
    }

    /* --- КОНТЕНТ --- */
    .b24-footer-content {     position: relative;
    z-index: 10;
    max-width: 1300px; /* Ваша целевая ширина */
    margin: 0 auto !important; /* ПРИНУДИТЕЛЬНОЕ ЦЕНТРИРОВАНИЕ */
    padding: 0 20px; }
    
    .b24-footer-grid {
        display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 40px; align-items: start;
    }

    /* Логотип */
    .b24-footer-logo {
        font-size: 30px; font-weight: 900; color: #fff; text-transform: uppercase;
        letter-spacing: 1px; margin-bottom: 20px; display: inline-block; text-decoration: none;
        text-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
    }
    .b24-logo-dot { color: #25d366; }

    /* Заголовки */
    .b24-footer-col h4 {
        color: #fff; font-size: 17px; font-weight: 700; margin-top: 0; margin-bottom: 25px;
        text-transform: uppercase; letter-spacing: 0.5px; position: relative; display: inline-block;
    }
    .b24-footer-col h4::after {
        content: ''; position: absolute; bottom: -8px; left: 0; width: 40px; height: 3px;
        background: #25d366; border-radius: 2px;
    }

    /* Контакты */
    .b24-contact-list { list-style: none; padding: 0; margin: 0 0 30px 0; }
    .b24-contact-list li { margin-bottom: 15px; display: flex; align-items: flex-start; }
    .b24-contact-icon { color: #25d366; margin-right: 12px; font-size: 18px; margin-top: 1px; }
    .b24-contact-value { color: #f1f5f9; font-weight: 500; font-size: 15px; }
    .b24-contact-label { font-size: 12px; display: block; color: #64748b; }

    /* Соцсети (Стили для шорткода) */
    .b24-social-grid { display: flex; flex-wrap: wrap; gap: 12px; }
    .b24-social-item img {
        width: 40px; height: 40px; border-radius: 10px;
        transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    }
    .b24-social-item:hover img {
        transform: translateY(-5px) scale(1.1); z-index: 10;
    }

    /* Меню ссылок */
    .b24-footer-links { list-style: none; padding: 0; margin: 0; }
    .b24-footer-links li { margin-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 12px; }
    .b24-footer-links li:last-child { border: none; }
    .b24-footer-links a { 
        color: #94a3b8; text-decoration: none; 
        transition: all 0.2s; display: block; position: relative; left: 0;
    }
    .b24-footer-links a:hover { 
        color: #fff; left: 5px; text-shadow: 0 0 10px rgba(255,255,255,0.3);
    }

    /* Карточка Бизнеса (Стекло) */
    .b24-glass-card {
        background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1); padding: 30px; border-radius: 20px;
        text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.2); transition: transform 0.3s;
    }
    .b24-glass-card:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.2); }

    /* Ракета */
    .b24-rocket-anim { 
        font-size: 40px; display: inline-block; margin-bottom: 15px; animation: rocket-fly 3s infinite ease-in-out;
    }
    @keyframes rocket-fly {
        0%, 100% { transform: translateY(0) rotate(0deg); }
        50% { transform: translateY(-10px) rotate(5deg); }
    }

    .b24-business-title { color: #fff; font-weight: 700; font-size: 18px; margin-bottom: 10px; }
    .b24-business-text { font-size: 13px; margin-bottom: 25px; color: #cbd5e1; line-height: 1.5; }
    
    /* Кнопка */
    .b24-pulse-btn {
        display: block; background: linear-gradient(90deg, #2563eb, #3b82f6);
        color: #fff !important; text-decoration: none !important;
        padding: 14px 20px; border-radius: 12px; font-weight: 700; font-size: 15px;
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); animation: btn-pulse 2s infinite;
        transition: transform 0.2s;
    }
    .b24-pulse-btn:hover { transform: scale(1.05); }
    @keyframes btn-pulse {
        0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
        70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
        100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
    }

    @media (max-width: 768px) {
        .b24-footer-grid { grid-template-columns: 1fr; gap: 40px; }
        .b24-footer-logo { display: block; text-align: center; }
        .b24-blob { opacity: 0.2; }
    }
.verifbor24 {font-size:11px; color:#25d366; margin-top:15px; line-height:1.4;font-weight: 800;}
/* Настройка размера логотипа */
.b24-main-logo {
    display: block;
    max-height: 50px; /* Оптимальная высота для хедера */
    width: auto;      /* Ширина подстроится автоматически */
    object-fit: contain;
}
.b24-blob {
    position: absolute;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.3;
    pointer-events: none;
    max-width: 100%; /* Чтобы не вылезали вправо */
}
/* Центрирование ссылки с логотипом */
.site-branding .custom-logo-link {
    display: flex;
    align-items: center;
}

/* На мобильных можно сделать чуть меньше, если нужно */
@media (max-width: 768px) {
    .b24-main-logo {
        max-height: 40px;
    }
}
#primary-menu {
    display: flex;
    gap: 5px; /* Чуть меньше зазор, так как есть фон */
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

#primary-menu li a {
    text-decoration: none;
    color: #1f2937;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 20px; /* Внутренние отступы для "кнопки" */
    border-radius: 50px; /* Закругленные края */
    transition: all 0.3s ease;border-left: 1px solid #00000012;
}

/* Эффект при наведении */
#primary-menu li a:hover {
    background-color: #f3f4f6; /* Светло-серый фон */
    color: #22c55e; /* Зеленый текст */
    transform: translateY(-2px); /* Легкое всплытие вверх */
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); /* Легкая тень */
}
    :root {
        --b24-dark-bg: #111827;
        --b24-green: #22c55e;
        --b24-green-hover: #16a34a;
        --b24-light-bg: #f9fafb;
    }

    /* --- HERO SECTION --- */
    .b24-map-hero {
        background: var(--b24-dark-bg);
        background: linear-gradient(135deg, #111827 0%, #0f172a 100%);
        color: white;
        padding: 70px 20px 90px 20px;
        position: relative;
        text-align: center;
        overflow: hidden;
    }
    
    .b24-map-glow {
        position: absolute;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(34,197,94,0.1) 0%, rgba(0,0,0,0) 70%);
        top: -100px;
        left: 50%;
        transform: translateX(-50%);
        pointer-events: none;
    }

    .b24-map-title {
        font-size: 2.5rem;
        font-weight: 800;
        margin: 0 0 15px 0;
        line-height: 1.2;
    }

    .b24-map-desc {
        color: #9ca3af;
        max-width: 600px;
        margin: 0 auto 35px auto;
        font-size: 1.1rem;
        line-height: 1.5;
    }

    /* --- ПОИСК --- */
    .b24-search-wrapper {
        max-width: 550px;
        margin: 0 auto;
        position: relative;
    }
    
    .b24-search-input {
        width: 100%;
        padding: 16px 50px 16px 25px;
        border-radius: 50px;
        border: 1px solid rgba(255,255,255,0.15);
        background: rgba(255,255,255,0.08);
        color: white;
        backdrop-filter: blur(10px);
        font-size: 16px;
        transition: all 0.3s ease;
        outline: none;
    }
    
    .b24-search-input::placeholder {
        color: rgba(255,255,255,0.5);
    }
    
    .b24-search-input:focus {
        background: rgba(255,255,255,0.15);
        border-color: var(--b24-green);
        box-shadow: 0 0 15px rgba(34, 197, 94, 0.2);
    }
    
    .b24-search-icon {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        opacity: 0.7;
        pointer-events: none;
    }

    /* --- ОСНОВНОЙ КОНТЕНТ --- */
    .b24-map-body {
        background: var(--b24-light-bg);
        padding: 0 20px 80px 20px;
        position: relative;
        /* Делаем небольшой наезд на темную шапку */
        margin-top: -40px; 
    }

    .b24-map-container {
        max-width: 1200px;
        margin: 0 auto;
        background: white;
        border-radius: 20px;
        box-shadow: 0 20px 40px -5px rgba(0,0,0,0.06);
        padding: 50px;
        position: relative;
        z-index: 2;
    }

    /* Быстрые ссылки сверху */
    .b24-quick-nav {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 40px;
        padding-bottom: 30px;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .b24-quick-btn {
        background: #f3f4f6;
        color: #374151;
        padding: 10px 22px;
        border-radius: 30px;
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
        transition: 0.2s;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .b24-quick-btn:hover {
        background: var(--b24-dark-bg);
        color: white;
        transform: translateY(-2px);
    }

    /* --- СЕТКА ССЫЛОК --- */
    .b24-columns-wrapper {
        column-count: 3;
        column-gap: 50px;
    }

    @media (max-width: 900px) { .b24-columns-wrapper { column-count: 2; column-gap: 30px; } }
    @media (max-width: 600px) { .b24-columns-wrapper { column-count: 1; } .b24-map-container { padding: 30px 20px; } }

    .b24-link-group {
        break-inside: avoid; /* Запрещаем разрыв блока между колонками */
        margin-bottom: 35px;
    }

    .b24-group-letter {
        font-size: 20px;
        font-weight: 800;
        color: var(--b24-green);
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    /* Линия после буквы */
    .b24-group-letter::after {
        content: "";
        flex-grow: 1;
        height: 2px;
        background: #f3f4f6;
        border-radius: 2px;
    }

    .b24-link-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .b24-link-list li {
        margin-bottom: 8px;
    }

    .b24-link-list a {
        text-decoration: none;
        color: #4b5563;
        font-size: 15px;
        transition: 0.2s;
        display: block;
        padding: 4px 0;
        line-height: 1.4;
    }

    .b24-link-list a:hover {
        color: var(--b24-green);
        padding-left: 5px;
    }
  #b24-main-wrapper { max-width: 1300px; margin: 0 auto; font-family: sans-serif; }
        .b24-search-section { margin-bottom: 30px; text-align: center; margin-top: 40px;}
        #b24-input { width: 100%; max-width: 700px; padding: 15px 25px; font-size: 18px; border: 2px solid #ececec; border-radius: 30px; outline: none; width: -webkit-fill-available;
    margin-left: 10px;    margin-right: 10px;}
        #b24-input:focus { border-color: #4caf50; }
        
        .b24-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
        .b24-info-card { background: #fff; padding: 25px; border-radius: 15px; border: 1px solid #f0f0f0; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
        .b24-card-badge { display: inline-block; padding: 4px 10px; background: #eefaf3; color: #27ae60; border-radius: 6px; font-size: 12px; font-weight: bold; margin-bottom: 10px; }
        .biz-badge { background: #ebf4ff; color: #3182ce; }
        .b24-info-card h3 { margin: 0 0 15px 0; font-size: 20px; }
        .b24-card-list { list-style: none; padding: 0; margin-bottom: 20px; }
        .b24-card-list li { margin-bottom: 8px; font-size: 14px; display: flex; gap: 8px; }
        .b24-biz-btn { display: inline-block; background: #4caf50; color: #fff !important; padding: 10px 20px; border-radius: 8px; text-decoration: none; font-weight: 600; }

        .b24-sitemap-grid { column-count: 3; column-gap: 40px; }
        .b24-letter-group { break-inside: avoid; margin-bottom: 30px; }
        .b24-letter-title { font-size: 22px; font-weight: 800; color: #4caf50; border-bottom: 1px solid #eee; padding-bottom: 8px; margin-bottom: 15px; display: block; }
        .b24-link-list { list-style: none; padding: 0; }
        .b24-link-list li { margin-bottom: 8px; }
        .b24-link-list a { text-decoration: none; color: #555; font-size: 15px; transition: 0.2s; }
        .b24-link-list a:hover { color: #4caf50; text-decoration: underline; }

        @media (max-width: 900px) { .b24-info-grid { grid-template-columns: 1fr; } .b24-sitemap-grid { column-count: 2; } }
        @media (max-width: 600px) { .b24-sitemap-grid { column-count: 1; padding-left: 15px; padding-right: 15px;} }
        .b24-related-section {
            background-color: #fff;
            padding: 40px 0 80px 0;
            border-top: 1px solid #f3f4f6;
        }
        
        .b24-related-container {
            max-width: 1330px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .b24-related-title {
            text-align: center;
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 40px;
            color: #111827;
            text-transform: uppercase;
            letter-spacing: -0.5px;
        }
        .b24-related-title span { color: #25d366; } /* Зеленый акцент */

        /* СЕТКА (Grid Masonry Style) */
        .b24-related-grid {
            display: grid;
            /* Адаптивная сетка: автозаполнение, минимум 220px ширина карточки */
            grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            gap: 20px;
        }

        /* КАРТОЧКА */
        .b24-rel-card {
            position: relative;
            height: 200px; /* Фиксированная высота */
            border-radius: 12px;
            overflow: hidden;
            text-decoration: none;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            transition: transform 0.3s, box-shadow 0.3s;
            display: block; /* Ссылка блоком */
        }

        /* Картинка на фоне */
        .b24-rel-bg {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background-size: cover;
            background-position: center;
            transition: transform 0.5s ease;
        }

        /* Затемнение (Градиент) */
        .b24-rel-overlay {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
            z-index: 1;
            transition: background 0.3s;
        }

        /* Название страницы */
        .b24-rel-title {
            position: absolute;
            bottom: 20px;
            left: 20px;
            right: 20px;
            z-index: 2;
            color: #fff;
            font-weight: 700;
            font-size: 1.1rem;
            line-height: 1.3;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
        }

        /* Эффекты при наведении */
        .b24-rel-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.2);
        }
        .b24-rel-card:hover .b24-rel-bg {
            transform: scale(1.1); /* Плавное приближение картинки */
        }
        .b24-rel-card:hover .b24-rel-overlay {
            background: linear-gradient(0deg, rgba(37, 211, 102, 0.9) 0%, rgba(0,0,0,0.2) 80%); /* Зеленый оттенок при наведении */
        }

        /* Адаптив */
        @media (max-width: 600px) {
            .b24-related-grid { grid-template-columns: 1fr 1fr; gap: 10px; } /* 2 в ряд на телефоне */
            .b24-rel-card { height: 160px; }
            .b24-rel-title { font-size: 0.9rem; left: 15px; bottom: 15px; }
            .b24-related-title { font-size: 1.5rem; margin-bottom: 25px; }
        }
 /* Стиль формы */
        .b24-form-container {
            background: #fff;
            padding: 30px;
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            border: 1px solid #e5e7eb;
            font-family: 'Segoe UI', Roboto, sans-serif;
            max-width: 500px; /* Ограничиваем ширину, если вставят на всю страницу */
            margin: 0 auto; /* Центрируем */
        }
        .b24-form-head { font-size: 1.4rem; font-weight: 700; color: #111; margin-bottom: 5px; }
        .b24-form-sub { font-size: 0.9rem; color: #6b7280; margin-bottom: 20px; }

        .b24-f-inp {
            width: 100%; box-sizing: border-box;
            padding: 12px 15px; margin-bottom: 12px;
            border: 1px solid #e5e7eb; border-radius: 8px; font-size: 14px;
            outline: none; transition: border 0.3s;
        }
        .b24-f-inp:focus { border-color: #25d366; }
        textarea.b24-f-inp { height: 100px; resize: vertical; }

        /* Звезды */
        .b24-stars-row {
            display: flex; flex-direction: row-reverse; justify-content: flex-end;
            gap: 5px; margin-bottom: 15px;
        }
        .b24-stars-row input { display: none; }
        .b24-stars-row label {
            font-size: 26px; color: #d1d5db; cursor: pointer; transition: color 0.2s; line-height: 1;
        }
        .b24-stars-row label:hover,
        .b24-stars-row label:hover ~ label,
        .b24-stars-row input:checked ~ label { color: #fbbf24; }

        /* Кнопка */
        .b24-f-btn {
            width: 100%; background: #25d366; color: #fff; border: none;
            padding: 12px; border-radius: 8px; font-weight: 700; cursor: pointer;
            font-size: 16px; transition: background 0.3s;
        }
        .b24-f-btn:hover { background: #1ea850; }
        .b24-f-btn:disabled { opacity: 0.7; cursor: wait; }

        .b24-f-note { font-size: 11px; color: #9ca3af; margin-top: 15px; line-height: 1.3; }
        
        /* Сообщения */
        .b24-f-alert { display: none; padding: 10px; border-radius: 6px; margin-bottom: 15px; font-size: 13px; }
        .b24-f-ok { background: #f0fdf4; color: #166534; }
        .b24-f-err { background: #fef2f2; color: #991b1b; }
        /* Основной контейнер */
        .b24-stats-wrapper {
            background-color: #0f172a; /* Темный фон */
            border-top: 1px solid rgba(255,255,255,0.05);
            border-bottom: 1px solid rgba(255,255,255,0.05);
            padding: 15px 0; /* Чуть меньше отступы, чтобы было компактнее */
            width: 100%;
            position: relative;
            z-index: 10;
        }

        .b24-stats-inner {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 50px; /* Расстояние между группами */
            font-family: 'Segoe UI', Roboto, sans-serif;
        }

        /* Группа (Точка + Текст) */
        .b24-stat-box {
            display: flex;
            align-items: center;
            gap: 12px; /* Отступ от точки до цифры */
        }

        /* Точки */
        .b24-pulse-dot {
            width: 8px; height: 8px;
            background-color: #25d366; /* Зеленый */
            border-radius: 50%;
            box-shadow: 0 0 10px #25d366;
            animation: statsPulse 2s infinite;
            flex-shrink: 0;
        }
        
        .b24-static-dot {
            width: 8px; height: 8px;
            background-color: #3b82f6; /* Синий */
            border-radius: 50%;
            box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
            flex-shrink: 0;
        }

        @keyframes statsPulse {
            0% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.3); opacity: 0.6; }
            100% { transform: scale(1); opacity: 1; }
        }

        /* Текстовый блок (ТЕПЕРЬ В СТРОКУ) */
        .b24-stat-text {
            display: flex;
            align-items: baseline; /* Выравнивание по нижней линии текста */
            gap: 8px; /* Расстояние между цифрой и словами */
            color: #fff;
        }

        /* Цифра */
        .b24-stat-num {
            font-size: 18px;
            font-weight: 700;
            line-height: 1;
        }

        /* Описание */
        .b24-stat-desc {
            font-size: 12px;
            text-transform: uppercase;
            color: #64748b; /* Серый цвет для текста */
            font-weight: 600;
            letter-spacing: 0.5px;
        }

        /* Разделитель */
        .b24-stat-sep {
            width: 1px; height: 20px;
            background: rgba(255,255,255,0.1);
        }

        /* Адаптив для телефонов */
        @media (max-width: 600px) {
            .b24-stats-inner { gap: 20px; }
            .b24-stat-desc { font-size: 10px; } /* Чуть меньше текст на мобилках */
            .b24-stat-num { font-size: 16px; }
        }
html, body {
    overflow-x: hidden !important; /* Строгий запрет на вылет вправо */
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
  .b24-article {
        font-family: 'Helvetica Neue', Arial, sans-serif;
        color: #3e4452;
        line-height: 1.8;
        max-width: 900px;
        margin: 0 auto;
    }

    /* Навигация по статье */
    .b24-contents {
        background: #f1f4f8;
        padding: 25px;
        border-radius: 12px;
        margin-bottom: 35px;
        border-left: 6px solid #26d367;
    }
    .b24-contents h3 { margin-top: 0; color: #1c2233; }
    .b24-contents ul { list-style: none; padding: 0; }
    .b24-contents li { margin-bottom: 10px; }
    .b24-contents a { 
        color: #1c2233; 
        text-decoration: none; 
        font-weight: 600;
        transition: 0.2s;
    }
    .b24-contents a:hover { color: #26d367; }

    /* Стили текста */
    h2 { color: #1c2233; font-size: 32px; margin-top: 50px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
    h3 { color: #1c2233; font-size: 24px; margin-top: 30px; }
    
    .b24-accent-box {
        background: #1c2233;
        color: #fff;
        padding: 30px;
        border-radius: 15px;
        margin: 40px 0;
    }
    .b24-accent-box h4 { color: #26d367; margin-top: 0; font-size: 20px; }

    /* Таблица характеристик */
    .b24-info-table {
        width: 100%;
        border-collapse: collapse;
        margin: 30px 0;
        font-size: 15px;
    }
    .b24-info-table th { background: #f8f9fa; color: #1c2233; padding: 15px; text-align: left; border: 1px solid #dee2e6; }
    .b24-info-table td { padding: 15px; border: 1px solid #dee2e6; }

    /* Блок с ошибками */
    .b24-error-list {
        background: #fff5f5;
        border-radius: 12px;
        padding: 25px;
        border: 1px solid #feb2b2;
    }
    .b24-error-item {
        display: flex;
        gap: 15px;
        margin-bottom: 15px;
    }
    .b24-error-icon {
        background: #f56565;
        color: #fff;
        min-width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        font-weight: bold;
    }

    /* Ссылка на услугу */
    .b24-internal-link {
        display: block;
        background: #26d367;
        color: #fff !important;
        text-align: center;
        padding: 20px;
        border-radius: 10px;
        text-decoration: none;
        font-weight: bold;
        font-size: 18px;
        margin: 40px 0;
        transition: 0.3s;
    }
    .b24-internal-link:hover { background: #1eb956; box-shadow: 0 5px 15px rgba(38, 211, 103, 0.4); }

    .expert-note {
        font-style: italic;
        border-left: 4px solid #ffcc00;
        padding-left: 20px;
        margin: 30px 0;
        color: #555;
    }/* =========================================
   1. ГЛОБАЛЬНЫЕ НАСТРОЙКИ HERO
   ========================================= */
.b24-hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    /* ...остальные стили... */
}

/* =========================================
   2. КНОПКИ И МЕССЕНДЖЕРЫ
   ========================================= */
.b24-btn-green {
    /* ...стили кнопки... */
}

/* =========================================
   3. БЛОК ЦЕН (ТАБЛИЦА)
   ========================================= */
.b24-price-table {
    width: 100%;
    /* ...стили таблицы... */
}

/* =========================================
   4. МОБИЛЬНАЯ АДАПТАЦИЯ (Все медиа-запросы лучше держать в конце)
   ========================================= */
@media (max-width: 900px) {
    .b24-hero-container { grid-template-columns: 1fr; }
    /* ...остальное... */
}
 /* --- 1. ГЛОБАЛЬНЫЕ НАСТРОЙКИ ФОНА И СЕТКИ --- */
.b24-hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 600px;
    display: flex;
    align-items: center;padding-bottom: 40px;
    color: #fff;
    overflow: hidden; /* Обрезаем всё, что вылетает за границы */
    width: 100%;      /* ЗАМЕНИЛ 100vw на 100% */
    }
/* Ссылка на внешний сайт */
    .b24-ext-link {
        font-size: 13px;
        color: #b0d6ff; /* Серый цвет */
        text-decoration: none;
        border-bottom: 1px dashed #6b7280; /* Пунктирное подчеркивание */
        transition: color 0.3s;font-weight: 600;
    }
    .b24-ext-link:hover {
        color: #25d366; /* Зеленый при наведении */
        border-color: #25d366;
    }
    .b24-hero-overlay {
        position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1;
        background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.85) 45%, rgba(15, 23, 42, 0.1) 100%);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        -webkit-mask-image: linear-gradient(to right, black 50%, transparent 100%);
        mask-image: linear-gradient(to right, black 50%, transparent 100%);
		 position: absolute; 
    top: 0; left: 0; right: 0; bottom: 0; 
    z-index: 1;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.85) 45%, rgba(15, 23, 42, 0.1) 100%);
    }

    .b24-hero-container {
        position: relative; z-index: 2;
        max-width: 1280px; width: 100%; margin: 0 auto; padding: 0 20px;
        display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 50px; align-items: center;
    }

    /* --- 2. ЛЕВАЯ ЧАСТЬ: ТИПОГРАФИКА --- */
    .b24-crumbs { font-size: 13px; color: #aaa; margin-bottom: 20px; text-transform: uppercase; font-weight: 600;padding-top: 56px; }
    .b24-crumbs a { color: #ccc; text-decoration: none; }
    
    .b24-hero-title {
        font-size: clamp(1.6rem, 4vw, 3.8rem);
        font-weight: 800; line-height: 1.1; margin: 0 0 25px 0;
        text-transform: uppercase; text-shadow: 0 10px 30px rgba(0,0,0,0.5); color: #fff;
    }

    .b24-rating-line { display: flex; align-items: center; gap: 15px; margin-bottom: 30px; color: #ddd; font-size: 15px; }
    
    .b24-tags-wrap { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 0; }
    .b24-tag {
        background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 10px 20px; border-radius: 50px; font-size: 15px;
        display: flex; align-items: center; backdrop-filter: blur(4px);
    }
    .b24-icon-check { color: #25d366; margin-right: 8px; font-weight: 800; }

    /* --- 3. СТИЛИ ДЛЯ КНОПОК ТЕЛЕФОНА (Генерируются шорткодом Logic) --- */
    .b24-left-contacts-box {
        margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1);
    }
    .b24-phones-row {
        display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 25px;
    }
    .b24-ph-btn {
        display: flex; align-items: center; justify-content: center;
        padding: 14px 25px; border-radius: 12px;
        font-size: 18px; font-weight: 700; text-decoration: none !important;
        transition: transform 0.2s, box-shadow 0.2s; white-space: nowrap;
    }
    .b24-ph-btn:hover { transform: translateY(-2px); }

    /* Основной телефон (Зеленый) */
    .b24-ph-primary {
        background: linear-gradient(135deg, #25d366 0%, #1ea850 100%);
        color: #fff !important; box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    }
    /* Дополнительный (Прозрачный) */
    .b24-ph-secondary {
        background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.3); color: #fff !important;
    }
    .b24-ph-secondary:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

    /* Мессенджеры слева */
    .b24-messengers-left .b24-social-grid { justify-content: flex-start !important; gap: 12px !important; }
    .b24-messengers-label {
        font-size: 11px; text-transform: uppercase; color: #94a3b8; 
        margin-bottom: 12px; font-weight: 600; letter-spacing: 1px;
    }
    .b24-social-item img { width: 40px; height: 40px; border-radius: 10px; transition: transform 0.2s; }
    .b24-social-item:hover img { transform: scale(1.1); }

    /* --- 4. ПРАВАЯ ЧАСТЬ: КАРТОЧКА --- */
    .b24-glass-card {
        background: rgb(9 9 9 / 24%); backdrop-filter: blur(20px);
        border-radius: 24px; padding: 35px 30px; text-align: center;
        box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.5); color: #333;
    }
    .b24-badge-verified {
        display: inline-flex; align-items: center; gap: 6px;
        background: #007aff; color: #fff; padding: 8px 16px;
        border-radius: 50px; font-size: 12px; font-weight: 700;
        text-transform: uppercase; margin-bottom: 20px;
        box-shadow: 0 4px 10px rgba(0, 122, 255, 0.3);
    }
    .b24-company-name { font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 5px 0; }
    .b24-company-sub { font-size: 14px; color: #ffffff; margin-bottom: 15px; display: block; }

    /* КНОПКИ-ЯКОРЯ СПРАВА */
    .b24-hero-anchors {
        display: grid; grid-template-columns: 1fr 1fr; gap: 15px;
        margin-top: 25px; border-top: 1px solid rgba(0,0,0,0.1); padding-top: 20px;
    }
    .b24-glass-btn {
        background: #111827; color: #fff !important;
        text-decoration: none !important; padding: 12px 0;
        border-radius: 8px; font-size: 14px; font-weight: 700; text-transform: uppercase;
        display: flex; align-items: center; justify-content: center; gap: 8px;
        transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    .b24-glass-btn:hover {
        background: #25d366; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    }

    @media (max-width: 900px) {
        .b24-hero-container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
        .b24-glass-card { max-width: 450px; margin: 0 auto; }
        .b24-hero-overlay { background: linear-gradient(180deg, rgb(3 4 7 / 70%) 0%, rgb(15 23 42 / 56%) 100%); mask-image: none; backdrop-filter: blur(4px);}
    	.b24-tag {padding: 5px 8px;font-size: 0.8em;}
        .b24-left-contacts-box { border-top: none; padding-top: 10px; margin-top: 20px; }
        .b24-phones-row { justify-content: center; }
        .b24-messengers-left .b24-social-grid { justify-content: center !important; }
        .b24-rating-line, .b24-tags-wrap { justify-content: center; }
    }
       /* 1. ФОН СЕКЦИИ */
    .b24-info-white {
        background-color: #ffffff;
        padding: 40px 0;
    }

    /* СЕТКА (3 Равные колонки) */
    .b24-grid-3col {
        max-width: 1300px; /* Вернули ширину, чтобы влезло 3 блока */
        margin: 0 auto; padding: 0 20px;
        display: grid; 
        grid-template-columns: repeat(3, 1fr); /* 3 части */
        gap: 20px; 
    }

    /* 2. СТИЛЬ КАРТОЧКИ (Общий для всех) */
    .b24-card-dark {
        background: #111827; /* Темный */
        color: #9ca3af;
        border-radius: 12px;
        padding: 25px; /* Компактно */
        display: flex; flex-direction: column; justify-content: space-between;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        height: 100%; box-sizing: border-box;
        border: 1px solid rgba(255,255,255,0.05);
        transition: transform 0.3s, border-color 0.3s;
        position: relative; overflow: hidden;
    }

    .b24-card-dark:hover {
        transform: translateY(-5px);
        border-color: #25d366; /* Зеленая рамка при наведении */
    }

    /* ЗАГОЛОВКИ */
    .b24-block-title {
        font-size: 1rem; font-weight: 700; color: #fff; 
        margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px;
        display: flex; align-items: center; gap: 10px;
    }
    .b24-title-line { height: 2px; width: 30px; background: #25d366; display: block; }

    /* --- 1. СТИЛИ ДЛЯ СПИСКА (КОНТАКТЫ) --- */
    .b24-data-list { list-style: none; padding: 0; margin: 0; font-size: 0.9rem; width: 100%; }
    .b24-data-list li {
        display: flex; justify-content: space-between; margin-bottom: 10px; 
        border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 8px;
    }
    .b24-data-list li:last-child { border: none; margin: 0; padding: 0; }
    .b24-data-val { color: #fff; font-weight: 600; text-align: right; }

    /* --- 2. СТИЛИ ДЛЯ АКЦИИ (Центр) --- */
    .b24-big-percent {
        font-size: 4rem; font-weight: 900; line-height: 1; margin: 5px 0 15px 0;
        background: linear-gradient(135deg, #25d366 0%, #fff 100%);
        -webkit-background-clip: text; -webkit-text-fill-color: transparent;
        text-align: center;
    }
    .b24-promo-text { font-size: 0.85rem; text-align: center; line-height: 1.4; color: #cbd5e1; }
    /* Пятно на фоне акции */
    .b24-bg-glow {
        position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
        width: 150px; height: 150px; background: rgba(37, 211, 102, 0.15);
        filter: blur(40px); pointer-events: none;
    }

    /* --- 3. СТИЛИ ДЛЯ ГАРАНТИЙ (Правый блок) --- */
    .b24-w-icon {
        font-size: 2.5rem; margin-bottom: 10px; color: #25d366; text-align: center;
        filter: drop-shadow(0 0 10px rgba(37, 211, 102, 0.4));
    }
    .b24-w-list { list-style: none; padding: 0; margin: 0; }
    .b24-w-list li {
        margin-bottom: 10px; font-size: 0.9rem; color: #e5e7eb;
        display: flex; align-items: start; gap: 10px;
    }
    .b24-tick-circle {
        min-width: 16px; height: 16px; background: rgba(37, 211, 102, 0.2);
        border-radius: 50%; color: #25d366; font-size: 10px;
        display: flex; align-items: center; justify-content: center;
        margin-top: 3px;
    }

    @media (max-width: 900px) {
        .b24-grid-3col { grid-template-columns: 1fr; gap: 15px; }
        .b24-big-percent { font-size: 3.5rem; }
    }
      .b24-prices-section {
        background-color: #fff;
        padding: 50px 0;
        color: #333;
    }

    .b24-price-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    /* Заголовок */
    .b24-section-title {
        text-align: center;
        margin-bottom: 30px;
    }
    .b24-section-title h2 {
        font-size: 2rem;
        color: #111827;
        margin-bottom: 10px;
        font-weight: 800;
    }

    /* --- ОБЕРТКА ТАБЛИЦЫ С ПОЛЗУНКОМ --- */
    .b24-table-scroll {
        overflow-x: auto; /* Включаем скролл */
        border-radius: 12px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.05);
        margin-bottom: 25px;
        border: 1px solid #e5e7eb;
        
        /* Стилизация полосы прокрутки (Scrollbar) */
        scrollbar-width: thin; /* Firefox */
        scrollbar-color: #25d366 #f1f1f1; /* Firefox */
    }

    /* Стили скроллбара для Chrome/Safari/Edge */
    .b24-table-scroll::-webkit-scrollbar {
        height: 8px; /* Высота ползунка */
    }
    .b24-table-scroll::-webkit-scrollbar-track {
        background: #f1f1f1; /* Цвет дорожки */
        border-radius: 0 0 12px 12px;
    }
    .b24-table-scroll::-webkit-scrollbar-thumb {
        background: #25d366; /* Цвет самого ползунка (Зеленый) */
        border-radius: 10px;
    }
    .b24-table-scroll::-webkit-scrollbar-thumb:hover {
        background: #1ea850;
    }

    /* Сама таблица */
    table.b24-price-table {
        width: 100%;
        min-width: 600px; /* Фиксируем ширину, чтобы не плющило текст */
        border-collapse: collapse;
        background: #fff;
    }

    .b24-price-table thead {
        background-color: #111827;
        color: #fff;
    }
    .b24-price-table th {
        padding: 18px;
        text-align: left;
        font-weight: 600;
        font-size: 0.95rem;
    }

    .b24-price-table td {
        padding: 15px 18px;
        border-bottom: 1px solid #e5e7eb;
        color: #4b5563;
        font-size: 0.95rem;
        vertical-align: middle;
    }

    .b24-price-table tr:nth-child(even) { background-color: #f9fafb; }
    
    .b24-price-val {
        font-weight: 700;
        color: #25d366;
        white-space: nowrap;
    }

    /* Подсказка для мобильных "Листайте" */
    .b24-mobile-hint {
        display: none; /* Скрыто на ПК */
        text-align: center;
        font-size: 12px;
        color: #9ca3af;
        margin-bottom: 10px;
    }

    /* --- БЛОК "ВАЖНО" --- */
    .b24-important-notice {
        background-color: #fffbeb; /* Светло-желтый фон */
        border-left: 4px solid #f59e0b; /* Оранжевая полоса */
        padding: 20px;
        border-radius: 8px;
        display: flex;
        gap: 15px;
        align-items: flex-start;
    }
    .b24-notice-icon {
        font-size: 24px;
        margin-top: -3px;
    }
    .b24-notice-text {
        font-size: 0.9rem;
        color: #92400e; /* Темно-оранжевый текст */
        line-height: 1.5;
    }
    .b24-notice-title {
        font-weight: 700;
        display: block;
        margin-bottom: 5px;
        text-transform: uppercase;
        font-size: 0.8rem;
        letter-spacing: 0.5px;
    }

    /* Адаптив */
    @media (max-width: 768px) {
        .b24-mobile-hint { display: block; } /* Показываем подсказку */
    }
      /* ФОН И ОБЩИЕ СТИЛИ (Оставил прежние, так как они хороши) */
    .b24-cta-section {
        background-color: #111827; background-image: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
        padding: 60px 0; font-family: 'Segoe UI', Roboto, sans-serif; color: #fff;
        position: relative; overflow: hidden;
    }
    .b24-cta-glow {
        position: absolute; top: -50%; right: -10%; width: 600px; height: 600px;
        background: radial-gradient(circle, rgba(37, 211, 102, 0.1) 0%, transparent 70%); pointer-events: none;
    }
    .b24-cta-container {
        max-width: 1200px; margin: 0 auto; padding: 0 20px;
        display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 2;
    }

    /* ЛЕВАЯ ЧАСТЬ */
    .b24-cta-left { max-width: 600px; }
    .b24-cta-title { font-size: 2.2rem; font-weight: 800; margin: 0 0 15px 0; line-height: 1.1; }
    .b24-cta-desc { font-size: 1.1rem; color: #94a3b8; margin-bottom: 30px; max-width: 450px; }

    /* Блок телефона */
    .b24-phone-block { display: flex; flex-direction: column; align-items: flex-start; }
    .b24-phone-label { font-size: 0.9rem; text-transform: uppercase; color: #25d366; font-weight: 700; margin-bottom: 5px; display: flex; align-items: center; }
    .b24-dot-live { width: 8px; height: 8px; background: #25d366; border-radius: 50%; margin-right: 8px; box-shadow: 0 0 10px #25d366; animation: pulseLive 2s infinite; }
    @keyframes pulseLive { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }

    /* Шорткод телефона */
    .b24-phone-link { font-size: 2.5rem; font-weight: 800; color: #fff; text-decoration: none; transition: color 0.3s; line-height: 1; }
    .b24-phone-link:hover { color: #25d366; text-shadow: 0 0 20px rgba(37, 211, 102, 0.4); }

    /* ПРАВАЯ ЧАСТЬ (Мессенджеры) */
    .b24-cta-right { display: flex; flex-direction: column; align-items: flex-end; }
    .b24-messengers-title { font-size: 1rem; color: #cbd5e1; margin-bottom: 20px; text-align: right; }

    /* --- МАГИЯ: Стилизуем шорткод мессенджеров ТУТ --- */
    /* Делаем иконки крупными */
    .b24-cta-right .b24-social-grid {
        justify-content: flex-end !important; /* Прижать вправо */
        gap: 20px !important;
    }
    .b24-cta-right .b24-social-item img {
        width: 64px; height: 64px; /* Крупные */
        filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
    }
    /* Скрываем ненужные (VK, Instagram, TikTok) ТОЛЬКО в этом блоке */
    .b24-cta-right a[href*="instagram"], 
    .b24-cta-right a[href*="vk.com"], 
    .b24-cta-right a[href*="tiktok"] {
        display: none !important;
    }

    @media (max-width: 900px) {
        .b24-cta-container { flex-direction: column; text-align: center; }
        .b24-cta-left { margin-bottom: 40px; }
        .b24-phone-block { align-items: center; }
        .b24-cta-right { align-items: center; }
        .b24-cta-right .b24-social-grid { justify-content: center !important; }
        .b24-phone-link { font-size: 2rem; }
    }
        .b24-benefits-white {
        background-color: #ffffff;
        padding: 80px 0;
        font-family: 'Segoe UI', Roboto, Arial, sans-serif;
        color: #333;
    }

    .b24-benefits-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    /* Заголовок секции */
    .b24-ben-header {
        text-align: center;
        margin-bottom: 50px;
    }
    .b24-ben-header h2 {
        font-size: 2.2rem;
        font-weight: 800;
        color: #111827;
        margin-bottom: 15px;
        position: relative;
        display: inline-block;
    }
    /* Зеленое подчеркивание */
    .b24-ben-header h2::after {
        content: '';
        position: absolute;
        bottom: -10px; left: 50%;
        transform: translateX(-50%);
        width: 60px; height: 3px;
        background: #25d366;
        border-radius: 2px;
    }
    .b24-ben-header p {
        color: #6b7280;
        font-size: 1.1rem;
        margin-top: 25px;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Сетка 3 колонки */
    .b24-ben-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    /* Карточка */
    .b24-ben-card {
        background: #fff;
        border: 1px solid #e5e7eb; /* Очень легкая рамка */
        border-radius: 16px;
        padding: 40px 30px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        height: 100%;
        box-sizing: border-box;
    }

    .b24-ben-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.08);
        border-color: #25d366;
    }

    /* Иконка */
    .b24-ben-icon {
        width: 64px; height: 64px;
        background: #f0fdf4; /* Светло-зеленый фон */
        border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        font-size: 30px;
        margin-bottom: 25px;
        color: #25d366;
        transition: transform 0.3s;
    }
    
    .b24-ben-card:hover .b24-ben-icon {
        transform: scale(1.1) rotate(5deg);
        background: #25d366;
        color: #fff;
    }

    .b24-ben-title {
        font-size: 1.25rem;
        font-weight: 700;
        color: #1f2937;
        margin-bottom: 12px;
    }

    .b24-ben-text {
        font-size: 0.95rem;
        color: #6b7280;
        line-height: 1.6;
    }

    /* Адаптив */
    @media (max-width: 900px) {
        .b24-ben-grid { grid-template-columns: 1fr; gap: 20px; }
        .b24-ben-card { text-align: center; }
        .b24-ben-icon { margin: 0 auto 20px auto; }
    }
     /* 1. Темный фон секции */
    .b24-faq-dark {
        background-color: #111827;
        /* Легкий градиент для глубины */
        background-image: linear-gradient(180deg, #111827 0%, #0f172a 100%);
        padding: 80px 0;
        font-family: 'Segoe UI', Roboto, Arial, sans-serif;
        color: #fff;
        position: relative;
        overflow: hidden;
    }

    /* Фоновое свечение (как в блоке консультации) */
    .b24-faq-glow {
        position: absolute;
        top: 20%; left: -10%;
        width: 500px; height: 500px;
        background: radial-gradient(circle, rgba(37, 211, 102, 0.05) 0%, transparent 70%);
        pointer-events: none;
    }

    .b24-faq-container {
        max-width: 800px;
        margin: 0 auto;
        padding: 0 20px;
        position: relative;
        z-index: 2;
    }

    /* Заголовок */
    .b24-faq-header {
        text-align: center;
        margin-bottom: 50px;
    }
    .b24-faq-header h2 {
        font-size: 2.2rem;
        font-weight: 800;
        color: #fff;
        margin-bottom: 15px;
    }
    .b24-faq-header p {
        color: #94a3b8; /* Светло-серый */
        font-size: 1.1rem;
    }

    /* Стили Карточки Вопроса */
    .b24-faq-item {
        background: rgba(255, 255, 255, 0.03); /* Прозрачный фон */
        border: 1px solid rgba(255, 255, 255, 0.1); /* Тонкая рамка */
        border-radius: 12px;
        margin-bottom: 15px;
        transition: all 0.3s ease;
        overflow: hidden;
    }

    .b24-faq-item:hover {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.2);
    }

    /* Тег details */
    details { width: 100%; }

    /* Вопрос (Summary) */
    summary {
        list-style: none;
        padding: 20px 25px;
        font-weight: 700;
        font-size: 1.1rem;
        color: #f3f4f6; /* Почти белый текст */
        cursor: pointer;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        outline: none;
    }

    summary::-webkit-details-marker { display: none; }

    /* Плюсик */
    summary::after {
        content: '+';
        font-size: 24px;
        font-weight: 400;
        color: #25d366; /* Зеленый акцент */
        transition: transform 0.3s ease;
        margin-left: 15px;
    }

    /* Состояние "Открыто" */
    details[open] summary::after {
        transform: rotate(45deg); /* Превращаем в крестик */
        color: #ef4444; /* Красный */
    }
    
    details[open] summary {
        color: #25d366; /* Заголовок становится зеленым */
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* Ответ */
    .b24-faq-answer {
        padding: 20px 25px;
        line-height: 1.7;
        color: #cbd5e1; /* Серый текст ответа */
        font-size: 0.95rem;
        background: rgba(0, 0, 0, 0.2); /* Чуть темнее фон внутри */
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
     /* 1. ФОН СЕКЦИИ */
    .b24-seo-modern {
        background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
        padding: 60px 0;
        color: #374151;
        position: relative;
    }

    /* 2. ГЛАВНАЯ КАРТОЧКА */
    .b24-seo-card {
        max-width: 1300px;
        margin: 0 auto;
        background: #ffffff;
        border-radius: 24px;
        padding: 40px 30px;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
        position: relative;
        z-index: 2;
        overflow: hidden;
    }
    
    /* Декоративная линия */
    .b24-seo-card::before {
        content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 6px;
        background: linear-gradient(90deg, #25d366, #3b82f6);
    }

    /* --- ТИПОГРАФИКА --- */
    .b24-seo-h2 {
        font-size: 2.4rem; font-weight: 800; margin-bottom: 30px; line-height: 1.1;
        background: linear-gradient(90deg, #111827, #4b5563);
        -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    }

    .b24-seo-h3 {
        font-size: 1.5rem; font-weight: 700; color: #1f2937; margin-top: 40px; margin-bottom: 20px;
        display: flex; align-items: center;
    }
    .b24-seo-h3::before {
        content: ''; width: 8px; height: 24px; background: #25d366; margin-right: 15px; border-radius: 4px;
    }

    .b24-text p {
        font-size: 0.85rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #4b5563;
    }
    .b24-text strong { color: #111; font-weight: 700; }

    /* --- СЕТКА (2 КОЛОНКИ) --- */
    .b24-seo-columns {
        display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin: 40px 0; align-items: start;
    }

    .b24-tile-list { display: grid; gap: 15px; }
    .b24-tile-item {
        background: #f9fafb; padding: 15px 20px; border-radius: 12px; border-left: 4px solid #25d366;
        font-weight: 600; color: #374151; display: flex; align-items: center; transition: transform 0.2s;
    }
    .b24-tile-item:hover { transform: translateX(5px); background: #f0fdf4; }
    .b24-tile-icon { font-size: 20px; margin-right: 15px; }

    /* --- БЛОК ВАЖНО --- */
    .b24-alert-box {
        background: #111827; color: #fff; padding: 30px; border-radius: 16px;
        margin: 40px 0; position: relative; overflow: hidden;
    }
    .b24-alert-bg {
        position: absolute; top: -50%; right: -20%; width: 300px; height: 300px;
        background: radial-gradient(circle, rgba(37, 211, 102, 0.3), transparent 70%); pointer-events: none;
    }
    .b24-alert-title { font-weight: 700; color: #25d366; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; margin-bottom: 10px; display: block;}
    .b24-alert-text { font-size: 1.1rem; line-height: 1.6; position: relative; z-index: 2; }

    /* --- ЭТАПЫ РАБОТЫ --- */
    .b24-steps-grid {
        display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; margin-bottom: 30px;
    }
    .b24-step {
        background: #fff; border: 1px solid #e5e7eb; padding: 25px; border-radius: 16px;
        position: relative; transition: all 0.3s;
    }
    .b24-step:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.05); border-color: #25d366; }
    .b24-step-num {
        font-size: 3rem; font-weight: 900; color: #f3f4f6; position: absolute; top: 10px; right: 20px; line-height: 1; z-index: 0;
    }
    .b24-step-content { position: relative; z-index: 1; }
    .b24-step h4 { margin: 0 0 10px 0; font-size: 1.1rem; font-weight: 700; }
    .b24-step p { font-size: 0.9rem; margin: 0; color: #6b7280; }

    /* --- ГАЛЕРЕЯ (адаптивная сетка + лайтбокс) --- */
    .b24-gallery-box {
        margin-top: 40px;
    }

    .b24-gallery-imgs {
        display: grid;
        gap: 16px;
    }

    .b24-gallery-imgs.b24-gallery-cols-1 { grid-template-columns: 1fr; }
    .b24-gallery-imgs.b24-gallery-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .b24-gallery-imgs.b24-gallery-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .b24-gallery-imgs.b24-gallery-cols-4 { grid-template-columns: repeat(4, 1fr); }

    .b24-gallery-item {
        border: 0;
        padding: 0;
        margin: 0;
        background: transparent;
        cursor: pointer;
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .b24-gallery-item img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        aspect-ratio: 4 / 3;
        transform: scale(1.01);
        transition: transform 0.25s ease;
    }

    .b24-gallery-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 32px rgba(15, 23, 42, 0.28);
    }

    .b24-gallery-item:hover img {
        transform: scale(1.05);
    }

    /* Лайтбокс */
    .b24-lightbox[data-b24-lightbox-root] {
        position: fixed;
        inset: 0;
        z-index: 9999;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 20px;
        touch-action: none;
    }

    .b24-lightbox.is-open {
        display: flex;
    }

    .b24-lightbox-backdrop {
        position: absolute;
        inset: 0;
        background: rgba(15, 23, 42, 0.82);
        backdrop-filter: blur(10px);
    }

    .b24-lightbox-inner {
        position: relative;
        z-index: 2;
        max-width: 1100px;
        width: 100%;
        max-height: 100%;
        display: flex;
        flex-direction: column;
        background: rgba(15, 23, 42, 0.96);
        border-radius: 18px;
        padding: 20px 16px 14px;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    }

    .b24-lightbox-main {
        flex: 1 1 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        background: radial-gradient(circle at top, #1e293b 0, #020617 60%);
        border-radius: 14px;
        overflow: hidden;
    }

    .b24-lightbox-main-img {
        width: 100%;
        max-width: 100%;
        max-height: 70vh;
        object-fit: contain;
    }

    .b24-lightbox-thumbs {
        margin-top: 12px;
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding: 6px 2px 4px;
    }

    .b24-lightbox-thumb {
        border-radius: 10px;
        overflow: hidden;
        border: 2px solid transparent;
        cursor: pointer;
        flex: 0 0 auto;
        background: #020617;
    }

    .b24-lightbox-thumb img {
        display: block;
        width: 90px;
        height: 68px;
        object-fit: cover;
    }

    .b24-lightbox-thumb.is-active {
        border-color: #22c55e;
        box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.4);
    }

    .b24-lightbox-close {
        position: absolute;
        top: -14px;
        right: 6px;
        width: 38px;
        height: 38px;
        border-radius: 999px;
        border: 0;
        background: rgba(15, 23, 42, 0.9);
        color: #e5e7eb;
        font-size: 22px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
        z-index: 3;
    }

    .b24-lightbox-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        border-radius: 999px;
        border: 0;
        background: rgba(15, 23, 42, 0.9);
        color: #e5e7eb;
        font-size: 20px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
        z-index: 3;
    }

    .b24-lightbox-prev { left: 10px; }
    .b24-lightbox-next { right: 10px; }

    body.b24-lightbox-open {
        overflow: hidden;
    }

    /* --- АДАПТИВ (ДЛЯ МОБИЛЬНЫХ) --- */
    @media (max-width: 900px) {
        .b24-seo-card { padding: 30px 20px; width: 90%; }
        
        /* 1 колонка для текста */
        .b24-seo-columns { grid-template-columns: 1fr; gap: 30px; }
        
        /* 1 колонка для шагов */
        .b24-steps-grid { grid-template-columns: 1fr; }
        
        /* ГАЛЕРЕЯ: 2 КОЛОНКИ НА МОБИЛЬНОМ */
        .b24-gallery-imgs { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
        .b24-gallery-item img { aspect-ratio: 4/3; }

        .b24-lightbox-inner {
            padding: 18px 10px 10px;
        }

        .b24-lightbox-main-img {
            max-height: 65vh;
        }
    }
      /* 1. Основной фон и сетка */
    .b24-reviews-main {
        background-color: #f9fafb; /* Светло-серый, почти белый */
        padding: 80px 0;
        font-family: 'Segoe UI', Roboto, sans-serif;
    }

    .b24-rev-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    /* Заголовок на всю ширину */
    .b24-rev-heading {
        text-align: center;
        margin-bottom: 50px;
        font-size: 2.2rem;
        font-weight: 900;
        color: #111827;
        text-transform: uppercase;
        letter-spacing: -0.5px;
    }
    .b24-rev-heading span { color: #25d366; } /* Зеленый акцент */

    /* Главная сетка: Слева отзывы, Справа форма */
    .b24-main-grid {
        display: grid;
        grid-template-columns: 1.4fr 0.8fr; /* Слева шире (под 2 карточки) */
        gap: 40px;
        align-items: start;
    }

    /* --- ЛЕВАЯ КОЛОНКА (Сетка отзывов 2x2) --- */
    .b24-cards-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    /* Стиль одной карточки */
    .b24-review-card {
        background: #ffffff;
        border-radius: 16px;
        padding: 25px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.02); /* Легкая тень */
        border: 1px solid #f3f4f6;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        height: 100%; /* Одинаковая высота */
        box-sizing: border-box;
    }

    .b24-review-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.05);
        border-color: #25d366;
    }

    /* Шапка карточки (Аватар + Инфо) */
    .b24-card-header {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 15px;
    }

    .b24-avatar-circle {
        width: 48px; height: 48px;
        border-radius: 50%;
        color: #fff;
        font-size: 18px;
        font-weight: 700;
        display: flex; align-items: center; justify-content: center;
        flex-shrink: 0;
    }
    /* Цвета аватаров */
    .av-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
    .av-green { background: linear-gradient(135deg, #25d366, #16a34a); }
    .av-orange { background: linear-gradient(135deg, #f97316, #ea580c); }
    .av-purple { background: linear-gradient(135deg, #a855f7, #9333ea); }

    .b24-user-info h4 { margin: 0; font-size: 1rem; color: #1f2937; font-weight: 700; }
    .b24-user-info span { font-size: 0.8rem; color: #9ca3af; display: block; margin-top: 2px; }

    /* Рейтинг и текст */
    .b24-r-stars { color: #fbbf24; margin-bottom: 12px; font-size: 14px; letter-spacing: 2px; }
    
    .b24-r-text {
        font-size: 0.95rem;
        line-height: 1.6;
        color: #4b5563;
        font-style: italic;
    }

    .b24-r-date {
        margin-top: 20px;
        display: block;
        text-align: right;
        font-size: 12px;
        color: #cbd5e1;
    }

    /* --- ПРАВАЯ КОЛОНКА (Обертка для формы) --- */
    .b24-form-wrapper {
        position: sticky; /* Чтобы форма залипала при скролле */
        top: 20px;
    }

    /* Адаптив */
    @media (max-width: 900px) {
        .b24-main-grid { grid-template-columns: 1fr; } /* Одна колонка */
        .b24-rev-heading { font-size: 1.8rem; }
    }
    @media (max-width: 600px) {
        .b24-cards-wrapper { grid-template-columns: 1fr; } /* Отзывы друг под другом */
    }

    /* --- КАТАЛОГ ТОВАРОВ [b24_product_catalog] --- */
    .b24-catalog-section {
        margin: 40px 0 60px;
        background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.05), transparent 55%),
                    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.05), transparent 55%),
                    #f9fafb;
    }

    .b24-catalog-inner {
        max-width: 1300px;
        margin: 0 auto;
        padding: 32px 20px 38px;
    }

    .b24-catalog-heading {
        margin: 0 0 24px;
        font-size: 1.6rem;
        font-weight: 800;
        color: #0f172a;
        letter-spacing: -0.02em;
        text-transform: uppercase;
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }

    .b24-catalog-heading::after {
        content: '';
        flex: 0 0 80px;
        height: 3px;
        border-radius: 999px;
        background: linear-gradient(90deg, #22c55e, #3b82f6);
    }

    .b24-catalog-grid {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 20px;
    }

    .b24-catalog-card {
        background: #ffffff;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
        border: 1px solid #e5e7eb;
        display: flex;
        flex-direction: column;
        transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }

    .b24-catalog-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
        border-color: #d1d5db;
    }

    .b24-catalog-thumb {
        position: relative;
        padding-bottom: 100%; /* квадрат */
        overflow: hidden;
    }

    .b24-catalog-thumb img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .b24-catalog-body {
        padding: 14px 14px 16px;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .b24-catalog-title {
        margin: 0;
        font-size: 1rem;
        font-weight: 700;
        color: #111827;
    }

    .b24-catalog-price {
        font-weight: 700;
        color: #16a34a;
        font-size: 0.98rem;
    }

    .b24-catalog-btn {
        margin-top: 8px;
        align-self: flex-start;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 8px 16px;
        border-radius: 999px;
        background: linear-gradient(135deg, #22c55e, #16a34a);
        color: #ffffff !important;
        font-size: 0.86rem;
        font-weight: 700;
        text-decoration: none;
        letter-spacing: 0.03em;
        text-transform: uppercase;
        box-shadow: 0 10px 25px rgba(34, 197, 94, 0.35);
        transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    }

    .b24-catalog-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 30px rgba(22, 163, 74, 0.45);
        background: linear-gradient(135deg, #16a34a, #15803d);
    }

    @media (max-width: 1100px) {
        .b24-catalog-grid {
            grid-template-columns: repeat(4, minmax(0, 1fr));
        }
    }

    @media (max-width: 900px) {
        .b24-catalog-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }
    }

    @media (max-width: 640px) {
        .b24-catalog-inner {
            padding-inline: 16px;
        }

        .b24-catalog-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }