

/* Start:/local/components/dev/catalog.promo/templates/.default/style.css?17646649144479*/
body .section-title {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 28px;
    margin-bottom: 4px;
}

.section-title-icon{
    height: 1em;
    margin-right: 8px;
}

body .promo-cards {
    /*display: grid;*/
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

body .promo-card {
    font-family: 'Source Sans 3', sans-serif;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

body .promo-preview-text {
    margin-bottom: 16px;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.2;
}

body .promo-card > img {
    width: 100%;
    border-radius: 8px;
}

body .promo-card-content {
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

body .promo-card-content h3 {
    font-size: 18px;
    margin: 0 0 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
}

body .promo-card-content p {
    font-size: 14px;
    color: #666;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 37px;
}

body .promo-card-footer {
    font-weight: 400;
    font-size: 16px;
    color: rgba(69, 130, 239, 1);
    display: flex;
    align-items: center;
    margin-top: auto;
    line-height: 1;
}

body .promo-card-footer img {
    margin-right: 5px;
    height: 16px;
    width: 16px;
}

body .promo-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff6f61;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
}

body .catalog-promo-wrapper{
    padding: 0;
}


.promo-card-img-wrapper .banner-marker{
    top: 10px;
    /* bottom: 121px; */
    left: auto;
    right: 10px;
    font-size: 11px;
    border-radius: 16px;
    padding-top: 2px;
    padding-right: 2px;
    padding-bottom: 2px;
    padding-left: 8px;
    color: #323232;
}
.promo-card-img-wrapper .banner-marker__inner{
    width: 16px;
    height: 16px;
}

/*
.promo-card-img-wrapper .banner-marker__content{
    right: -153px;
    top: -62px;
}

.promo-card-img-wrapper .banner-marker__content{
    min-width: 13vw;
    left: 0;
    top: -75px;
    right: auto;
}
*/
.promo-card-img-wrapper .banner-marker__content.active {
    display: flex;
    position: absolute;
    top: 0;
    right: 1px;
    left: auto;
    width: 100%;
    min-width: 190px;
    flex-direction: column;
}

.promo-card-img-wrapper img{
    border-radius: 8px;
}


.catalog-promo-wrapper{
    margin-bottom: 24px;
    display: block !important;
}

@media (min-width: 1200px) {
    body .promo-cards {
        display: grid !important;
    }
}

@media (min-width: 1200px) {
    body .promo-card {
        height: 300px;
    }
}

/*@media (min-width: 1920px) {*/
/*    body .promo-card {*/
/*        height: 350px;*/
/*    }*/
/*}*/

/*@media (max-width: 992px) {*/
/*    body .promo-cards {*/
/*        grid-template-columns: repeat(2, 1fr);*/
/*    }*/
/*}*/

@media (max-width: 1200px) {
    body .promo-card {
        width: 250px;
        height: 300px;
    }
    /*.promo-card-img-wrapper .banner-marker{
        top: 115px;
    }*/
    /*.promo-card-img-wrapper .banner-marker__content{
        right: -141px;
        top: -55px;
        padding: 6px;
    }*/
}
@media (max-width: 768px) {
    body .promo-preview-text {
        font-size: 17px;
    }
    body .promo-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    body .promo-card {
        width: 150px;
        height: 215px;
    }
    body .promo-card-footer {
        font-size: 13px;
    }

/*
    .promo-card-img-wrapper .banner-marker{
        top: 67px;
        left: 4px;
        right: auto;
        font-size: 6px;
        padding-left: 4px;
    }*/
    .promo-card-img-wrapper .banner-marker{
        top: 2px;
        right: 2px;
    }
    .promo-card-img-wrapper .banner-marker__inner{
        width: 6px;
        height: 6px;
    }

    .promo-card-img-wrapper .banner-marker__content.active{
        font-size: 6px;
        line-height: 1.6;
        min-width: 125px;
        right: 0px;
        width: 30px;
        top: 0;
        padding: 4px;
    }

    .catalog-promo-wrapper .swiper{
        padding-right: 60px;
    }
    .body .promo-preview-text{
        font-size: 17px;
    }
    body .section-title {
        font-size: 22px;
    }
}
/* End */


/* Start:/local/templates/rtf2024/components/bitrix/news.list/catalogFranchisePromo/style.css?17443850841717*/
@media (max-width: 575.98px) {

    body .reviews_news_wrap {
        display: block;
    }

    body .reviews_news_wrap .right_side {
        max-width: 100%;
    }

    body .design2024 .franchises_list .franchises_list-container{
        grid-template-columns: repeat(2, 1fr);
    }
    body .design2024 .franchises_list .banners_slider,
    body .design2024 .franchises_list .promo-block-main {
        grid-column: 1 / 3;
    }

    body .show_more {
        margin: auto;
    }
}

body.design2024,
main,
body .breadcrumbs_cont{
    background: #f6f8fc;
}

.fr-logo{
    display: none;
}

.franchises_list--horizontal .fr-logo{
    display: block;
}
.franchises_list--horizontal .fr-preview-image{
    display: none;
}
body .franchises_list--horizontal .franchise_item__text{
    display: block;
}

.fr-pharmacy-motivate__view{
    margin-bottom: 18px;
}

.franchise_item__hover{
    display: block;
}

.a101-fr-label{
    position: absolute !important;
    right: 0;
    top: 0px;
    background: #fff;
    padding: 5px 5px 3px 7px;
    border-bottom-left-radius: 18px;
    border-top-right-radius: 6px;
    z-index: 2 !important; /* чтобы перебить стиль [data-tooltip] */
    transition: 0.3s ease-out;
}

.franchise_item:hover .a101-fr-label{
    opacity: 0;
    pointer-events: none;
}

.fr-services .h5.card__title{
    font-weight: 600;
    font-size: 17px;
}

.fr-services .card-info .card__view .image{
    min-width: initial;
    min-height: initial;
    max-height: 200px;
    width: auto;
    /*height: 135px;*/
}

.franchises_list--horizontal .franchise_item__view .image{
    display: none;
}
.franchises_list--horizontal .franchise_item__view .image.fr-logo{
    display: block;
}
/* End */


/* Start:/local/components/dev/franchise.item/templates/.default/style.css?17651974224378*/
@media (max-width: 575.98px) {

    body .reviews_news_wrap {
        display: block;
    }

    body .reviews_news_wrap .right_side {
        max-width: 100%;
    }

    body .design2024 .franchises_list .franchises_list-container{
        grid-template-columns: repeat(2, 1fr);
    }
    body .design2024 .franchises_list .banners_slider,
    body .design2024 .franchises_list .promo-block-main {
        grid-column: 1 / 3;
    }

    body .show_more {
        margin: auto;
    }
}

body.design2024,
main,
body .breadcrumbs_cont{
    background: #f6f8fc;
}

.fr-logo{
    display: none;
}

.franchises_list--horizontal .fr-logo{
    display: block;
}
.franchises_list--horizontal .fr-preview-image{
    display: none;
}
body .franchises_list--horizontal .franchise_item__text{
    display: block;
}

.fr-pharmacy-motivate__view{
    margin-bottom: 18px;
}

.franchise_item__hover{
    display: block;
}

.a101-fr-label{
    position: absolute !important;
    right: 0;
    top: 0px;
    background: #fff;
    padding: 5px 5px 3px 7px;
    border-bottom-left-radius: 18px;
    border-top-right-radius: 6px;
    z-index: 2 !important; /* чтобы перебить стиль [data-tooltip] */
    transition: 0.3s ease-out;
}

.franchise_item:hover .a101-fr-label{
    opacity: 0;
    pointer-events: none;
}

.fr-services .h5.card__title{
    font-weight: 600;
    font-size: 17px;
}

.fr-services .card-info .card__view .image{
    min-width: initial;
    min-height: initial;
    max-height: 200px;
    width: auto;
    /*height: 135px;*/
}

.franchises_list--horizontal .franchise_item__view .image{
    display: none;
}
.franchises_list--horizontal .franchise_item__view .image.fr-logo{
    display: block;
}
.franchise_item__view{
    position: relative;
}
/* Обычные стили */
.franchise_item .banner-marker {
    /*top: auto;
    bottom: 4px;
    left: 4px;
    right: auto;*/
    font-size: 11px;
    border-radius: 16px;
    padding-top: 2px;
    padding-right: 2px;
    padding-bottom: 2px;
    padding-left: 8px;
    color: #323232;
}
/*
.franchise_item:hover .banner-marker {
    right: 35px;
    top: 10px;
}
*/

.franchise_item .banner-marker__inner {
    width: 16px;
    height: 16px;
}

.franchise_item .banner-marker__content {
    right: -20px;
    top: 30px;
}

/* Адаптив под max-width: 1200px */
@media (max-width: 1200px) {
    .franchise_item .banner-marker__content {
        right: -141px;
        top: -55px;
        padding: 6px;
    }
}

/* Адаптив под max-width: 768px */
@media (max-width: 768px) {
    .franchise_item .banner-marker {
        right: 1px;
        top: 5px;
        font-size: 6px;
        padding-left: 4px;
    }
    .franchise_item .banner-marker__inner {
        width: 6px;
        height: 6px;
    }
    .franchise_item .banner-marker__content {
        font-size: 6px;
        line-height: 1.6;
        max-width: 140px;
        right: 8px;
        top: 0px;
        padding: 4px;
    }
}


/* Скрываем стандартный чекбокс */
.franchise_item__action input[type="checkbox"] {
    display: none;
}

/* Стили для контейнера label */
.franchise_item__action label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    width: 36px;
    height: 36px;
}

/* Стили для изображения (иконки чекбокса) */
.franchise_item__action .icon {
    width: auto; /* Размер иконки, настройте под ваш SVG */
    height: 12px;
}

/* Состояние при выборе (checked) */
.franchise_item__action input[type="checkbox"]:checked + .icon {
    opacity: 1;
}

/* Эффект при наведении на label */
.franchise_item__action label:hover {
    background-color: #e9ecef; /* Легкий серый оттенок при наведении */
}

/* Эффект при наведении на label */
.franchise_item__action label:has(input[type="checkbox"]:checked) {
    background-color: rgba(69, 130, 239, 1);
}

/* Адаптивность (опционально) */
@media (max-width: 768px) {
    .franchise_item__action .icon {
        width: 20px;
        height: 20px;
    }
}

.custom-popup{
    text-align: center;
    padding: 12px;
}
/* End */


/* Start:/local/templates/rtf2024/include/multiselect/bulk_actions_styles.css?17709751296426*/
/* Стили для множественного выбора франшиз */
.franchises_bulk_actions {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 1000;
    padding: 15px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 300px;
    opacity: 0;
    transition: all 0.3s ease;
}

.franchises_bulk_actions.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
.franchises_bulk_actions__container .franchises_bulk_send {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 8px;
    box-shadow: none;
    background: #EB6124;
    font-weight: 500;
    color: var(--white-color);
    height: 40px;
}
.franchises_bulk_actions__close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.franchises_bulk_actions__close:hover {
    background: #f8f9fa;
    color: #495057;
}

.franchises_bulk_actions__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.franchises_bulk_clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    min-width: 56px;
    height: 56px;
    border: 0;
    border-radius: 10px;
    background: #e8ebf0;
    color: #444c56;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.franchises_bulk_clear:hover {
    background: #dde2e9;
    color: #1f2833;
}


.franchises_bulk_actions__text {
    font-weight: 600;
    color: #495057;
    font-size: 14px;
    white-space: nowrap;
}

.selected-count {
    color: #000000;
    font-weight: 500;
}

/* Стили для чекбокса множественного выбора под франшизой */
.franchise_item__selection {
    position: relative;
    z-index: 3;
    margin: 10px 0px -16px;
    text-align: center;
    pointer-events: auto;
    width: 100%;
}

.franchise_selection_checkbox {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 0px 0px 8px 8px;
    background: #4582EF;
    border: 1px solid rgba(252, 115, 55, 0.2);
    transition: all 0.2s ease;
    font-size: 14px;
    color: #ffffff;
    position: relative;
    z-index: 4;
    width: 100%;
}
.franchise_selection_checkbox.disabled {
    background: #B9BED0;
}

.franchise_selection_checkbox:hover {
    background: #EC6124;
    border-color: #EC6124;
}

.franchise_selection_checkbox:has(input[type="checkbox"]:checked) {
    background: #fc7337;
    border-color: #fc7337;
}

.franchise_selection_checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkbox-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    background: #fff;
    transition: all 0.2s ease;
    color: transparent;
    position: relative;
    z-index: 5;
}

.franchise_selection_checkbox input[type="checkbox"]:checked + .checkbox-icon {
    background: #fff;
    border-color: #fff;
    color: #fc7337;
}

.checkbox-text {
    font-weight: 500;
    user-select: none;
    position: relative;
    z-index: 5;
}

@media (max-width: 992px) {
    .franchises_bulk_actions {
        bottom: 60px;
    }
}
.franchises_bulk_actions.with-cookie-popup {
    bottom: 80px;
}

/* Мобильные стили */
@media (max-width: 768px) {
    .franchises_bulk_actions {
        left: 50%;
        right: auto;
        min-width: auto;
        max-width: calc(100vw - 20px);
        transform: translateX(-50%) translateY(100px);
    }

    .franchises_bulk_actions__container {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        justify-content: space-between;
    }

    .franchises_bulk_actions__text {
        text-align: center;
        font-size: 13px;
        order: 1;
        flex: 1;
        min-width: 0;
    }

    .franchises_bulk_actions button {
        width: 100%;
        font-size: 14px;
        padding: 10px 15px;
    }

    .franchises_bulk_clear {
        width: 100%;
        min-width: 0;
        height: 44px;
        order: 2;
        margin-left: auto;
    }

    .franchises_bulk_send {
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        margin-top: 12px;
    }

    .franchises_bulk_actions__close {
        top: 6px;
        right: 6px;
    }

    .franchise_item__selection {
        margin-top: 10px;
        z-index: 3;
    }

    .franchise_selection_checkbox {
        padding: 6px 10px;
        font-size: 13px;
        gap: 6px;
        z-index: 4;
    }

    .checkbox-icon {
        width: 18px;
        height: 18px;
        z-index: 5;
    }

    .checkbox-text {
        font-size: 13px;
        z-index: 5;
    }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
    .franchises_bulk_actions {
        left: 50%;
        right: auto;
        bottom: 60px;
        padding: 12px 15px;
        min-width: auto;
        transform: translateX(-50%) translateY(100px);
        width: 100%;
    }
    .franchise_item__info-text {
        max-width: 50%;
    }
    button.franchises_bulk_clear{
        width: 15%;
    }
    .franchises_bulk_actions__text{
        width: 20%;
        align-items: center;
        justify-content: left;
        display: flex;
        font-size: 18px;
    }
    .franchises_bulk_actions__container {
        flex-direction: row;
        align-items: stretch;
        gap: 0px;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .franchises_bulk_send{
        margin-top: 5px;
    }
    .franchises_bulk_actions button {
        font-size: 18px;
        padding: 8px 12px;
    }

    .franchise_selection_checkbox {
        padding: 6px 4px;
        font-size: 12px;
        gap: 3px;
    }

    .checkbox-icon {
        width: 16px;
        height: 16px;
        z-index: 5;
    }
    .franchises_bulk_actions.with-cookie-popup {
        bottom: 110px;
    }
}
/* End */
/* /local/components/dev/catalog.promo/templates/.default/style.css?17646649144479 */
/* /local/templates/rtf2024/components/bitrix/news.list/catalogFranchisePromo/style.css?17443850841717 */
/* /local/components/dev/franchise.item/templates/.default/style.css?17651974224378 */
/* /local/templates/rtf2024/include/multiselect/bulk_actions_styles.css?17709751296426 */
