

/* 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 */
/* /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 */
