



/* ------------- 
content start - bannercsssg
------------- */

/* Стили только для второго баннера */
.bf-banner2-wrapper {
    width: 100%;
    max-width: 300px;  /* Уменьшено в 2 раза (было 500px) */
    position: fixed;
    bottom: 355px !important;  /* Опущен ниже (было 355px) */
    right: 36px;
    z-index: 10001;
}

.bf-banner2 {
    background-color: #fff;
    width: 100%;
    height: auto;  /* Высота будет пропорциональна ширине */
    cursor: pointer;
}

.bf-banner2__close-btn {
    position: absolute !important;
    top: -10px !important;  /* Поднял выше, чтобы не налезал на баннер */
    right: -15px !important;  /* Сдвинул правее */
    font-size: 40px !important;  /* Увеличил размер (было 24px) */
    line-height: 0.8 !important;
    color: #000 !important;
    transition: .3s !important;
    background: rgba(255, 255, 255, 0.8) !important;  /* Добавил фон */
    width: 30px !important;  /* Ширина области клика */
    height: 30px !important;  /* Высота области клика */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;  /* Сделал круглым */
    text-decoration: none !important;
    font-weight: bold !important;  /* Жирный шрифт */
}

/* Нижний крестик */
.bf-banner2__close-btn-bottom {
    position: absolute !important;
    bottom: 0 !important;
   /* left: 0 !important; */ /* Слева внизу */
    right: -15px !important;  /* Сдвинул правее */
    font-size: 40px !important;
    line-height: 0.8 !important;
    color: #000 !important;
    transition: .3s !important;
    background: rgba(255, 255, 255, 0.9) !important;
    width: 35px !important;
    height: 35px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    text-decoration: none !important;
    font-weight: bold !important;
 /*   border: 2px solid #00ff00 !important;  *//* Зеленая граница для теста */
    z-index: 10003 !important;
}

/* Медиа-запросы только для второго баннера */
@media (min-width: 768px) {
    .bf-banner2__close-btn:hover,
    .bf-banner2__close-btn-bottom:hover {
        opacity: .8;
        text-decoration: none;
        color: #fff;
    }
    
    .gc-main-content.with-left-menu .bf-banner2-wrapper {
        right: 85px;
    }
}

@media (max-width: 767px) {
    .gc-main-content.with-left-menu .bf-banner2-wrapper {
        bottom: 55px;
    }
    
    .bf-banner2-wrapper {
        width: auto;
        right: 25px;
        bottom: 200px !important; 
    }
       
    .bf-banner2__close-btn {
        font-size: 35px !important;  /* Немного меньше на планшетах */
        width: 28px !important;
        height: 28px !important;
        top: -8px !important;
        right: -12px !important;
    }
        .bf-banner2__close-btn-bottom {
        font-size: 35px !important;
        width: 32px !important;
        height: 32px !important;
        bottom: -12px !important;
        right: -12px !important;
    }
}

@media (max-width: 600px) {
    .bf-banner2-wrapper {
        max-width: 200px;  /* На мобильных тоже уменьшено в 2 раза */
        bottom: 200px !important; 
    }
    
    .bf-banner2__close-btn {
        right: -20px;
        font-size: 24px;
    }
      
    .bf-banner2__close-btn {
        font-size: 30px !important;  /* На мобильных тоже увеличен */
        width: 25px !important;
        height: 25px !important;
        top: -5px !important;
        right: -10px !important;
    }
    
 .bf-banner2__close-btn-bottom {
        font-size: 30px !important;
        width: 28px !important;
        height: 28px !important;
        bottom: -10px !important;
        right: -10px !important;
    }
}
/* ------------- 
content finish - bannercsssg
------------- */
