

/* Start:/local/templates/lit_clinic/components/bitrix/news/doctors/bitrix/news.detail/.default/style.css?178706312710987*/
.service-box {
    display: block;
    margin-top: 10px;
    overflow: hidden;
    position: relative;
}

.reviews .res, .service-box.res.answer {
    margin-left: 60px;
    padding: 10px 0 5px;
}

.accordion__item p:not(:last-child),
.accordion__item ul:not(:last-child),
.accordion__item ol:not(:last-child){
    margin-bottom: 1.6rem;
}

.reviews{
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.reviews__item{
    background: var(--color-white);
    padding: 2.4rem 2.4rem 3.6rem 2.4rem;
    border-radius: var(--rounded-24);
}

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

.reviews__sources{
    width: auto;
    height: 1.6rem;
}

.reviews__item._hide{
    display: none;
}

.reviews__date{
    font-size: var(--fz-14);
    color: var(--color-gray-50);
}

.reviews__row{
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviews__icon{
    width: 4.8rem;
    min-width: 4.8rem;
    height: 4.8rem;
}

.reviews__answer{
    padding: 2.4rem 0 0 3.2rem;
}
.reviews__show-more{
    position: relative;
    max-height: 9.1rem;
    overflow: hidden;
    transition: max-height 0.5s ease;
}
.reviews__show-more:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
    transition: var(--transition-main);
}
.reviews__show-more._show:before {
    background: transparent;
}
.price-tab__content[data-content]{
    display: none;
}

.price-tab__content._active[data-content]{
    display: block;
}

.quote{
    display: flex;
    gap: 3.2rem;
}

.quote._narrow{
    padding: 0 18rem;
}

.quote._border{
    padding: 4.8rem;
    border: .1rem solid var(--color-gray-30);
    border-radius: var(--rounded-16);
}

.quote__icon{
    width: 4.8rem;
    min-width: 4.8rem;
    height: 4.8rem;
}

.quote__text{
    position: relative;
    max-height: 9.1rem;
    overflow: hidden;
    padding-bottom: 1.6rem;
    transition: max-height 0.5s ease;
}

.quote__text:before{
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(247, 247, 252, 0) 0%, #F7F7FC 100%);
    transition: var(--transition-main);
}

.quote__text._white:before{
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
}

.quote__text._show:before{
    background: transparent;
}

.quote__img{
    width: 20rem;
    min-width: 20rem;
    height: 20rem;
    overflow: hidden;
    border-radius: var(--rounded-16);
}

.quote__img img{
    object-position: top;
}

.block-border__item:not(:first-child){
    padding-top: 2.4rem;
}

.block-border__item:not(:last-child){
    padding-bottom: 2.4rem;
    border-bottom: .1rem solid var(--color-gray-80);
}

.not-found{
    width: 100%;
    background: var(--color-white);
    border-radius: var(--rounded-12);
    padding: 2.4rem;
    color: var(--color-orange-40);
}

.price-min{
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

.price-min__num{
    font-family: var(--ff-bold);
    font-size: var(--fz-18);
    color: var(--color-blue-60);
}

.certificate{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6rem;
}

.certificate__item{
    cursor: pointer;
}

.certificate__img{
    border-radius: var(--rounded-24);
    border: .1rem solid var(--color-gray-80);
    gap: 2.4rem;
    height: 19rem;
    overflow: hidden;
}

.certificate img{
    transition: var(--transition-main);
}

.certificate__title{
    font-family: var(--ff-bold);
    margin-top: 1.6rem;
}

.certificate__modal,
.certificate__overlay{
    position: fixed;
    inset: 0;
}

.certificate__modal{
    display: none;
    overflow-y: auto;
    z-index: 9999;
    justify-content: center;
    padding: 4rem 1.6rem;
}

.certificate__modal._active{
    display: flex;
}

.certificate__overlay{
    background: var(--color-font);
    opacity: .2;
    filter: blur(1rem);
    z-index: 1;
}

.certificate__modal img{
    position: relative;
    width: auto;
    height: 100%;
    z-index: 2;
    object-fit: contain;
}

.card-cert{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .8rem;
    margin-bottom: 1.6rem;
}

.card-cert__item{
    padding: 1.6rem;
    border-radius: var(--rounded-16);
    background: var(--color-white);
    cursor: pointer;
}

.card-cert__big{
    font-family: var(--ff-medium);
}
.card-cert__min{
    font-size: var(--fz-14);
    margin-top: .4rem;
}

.schedule-doctors{
    background: var(--color-gray-20);
    border-radius: var(--rounded-16);
    padding: 2.4rem;
}

.schedule-doctors__content{
    display: flex;
    align-items: center;
    gap: 3.2rem;
}

.schedule-doctors__btn{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.2rem;
    min-width: 4.2rem;
    height: 4.2rem;
    border-radius: var(--rounded-12);
    background: var(--color-gray-10);
    cursor: pointer;
    user-select: none;
    transition: opacity .2s ease;
}

.schedule-doctors__btn._disabled{
    opacity: .4;
    pointer-events: none;
}

/* скоуп именно на контент, иначе скрылись бы и стрелки недель на мобилке */
.schedule-doctors__content._no-scroll .schedule-doctors__btn{
    display: none;
}

.schedule-doctors__icon{
    width: 2.6rem;
    height: 2.6rem;
}

.schedule-doctors__btn._left .schedule-doctors__icon{
    transform: rotate(90deg);
}

.schedule-doctors__btn._right .schedule-doctors__icon{
    transform: rotate(-90deg);
}

.schedule-doctors__row{
    display: flex;
    flex: 1;
    gap: .8rem;
    /* запас, чтобы overflow-y не срезал точку у выбранной карточки */
    padding: .6rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.schedule-doctors__row::-webkit-scrollbar{
    display: none;
}

/* пока тянут мышью: snap мешает — доводит слайд на место прямо во время протяжки */
.schedule-doctors__row._dragging,
.schedule-doctors__weeks._dragging{
    scroll-snap-type: none;
    scroll-behavior: auto;
    user-select: none;
    cursor: grabbing;
}

.schedule-doctors__row._dragging *,
.schedule-doctors__weeks._dragging *{
    cursor: grabbing;
}

.schedule-doctors__item{
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: .8rem;
    width: 14.8rem;
    min-width: 14.8rem;
    scroll-snap-align: start;
    background: var(--color-white);
    border-radius: var(--rounded-16);
    border: .1rem solid var(--color-gray-80);
    font-family: var(--ff-medium);
    padding: 1.2rem;
    cursor: pointer;
    transition: border 350ms;
}

/* выбранный день */
.schedule-doctors__item._active{
    position: relative;
    border-color: var(--color-blue-60);
}

.schedule-doctors__item::after{
    content: '';
    position: absolute;
    top: -.2rem;
    right: 0;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background: var(--color-blue-60);
    border: .1rem solid var(--color-gray-20);
    transition: var(--transition-main);
    opacity: 0;
}

.schedule-doctors__item._empty::after{
    background: var(--color-gray-130);
}

/* точка на углу карточки */
.schedule-doctors__item._active::after{
    opacity: 1;
}

/* день без приёма — место в ленте занимает, но выглядит погашенным */
.schedule-doctors__item._empty{
    background: transparent;
    border-color: var(--color-gray-180);
    color: var(--color-gray-130);
    cursor: default;
}

.schedule-doctors__cabinet{
    background: var(--color-blue-210);
    color: var(--color-blue-60);
    font-family: var(--ff-bold);
    font-size: var(--fz-12);
    border-radius: var(--rounded-16);
    padding: .4rem .8rem;
}

.schedule-doctors__bot{
    display: flex;
    justify-content: flex-end;
}

/* ---- Мобильный вид: недели ПН–ВС ---- */

.schedule-doctors__mobile{
    display: none;
}

.schedule-doctors__head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem;
    margin-bottom: .8rem;
}

.schedule-doctors__label{
    font-family: var(--ff-bold);
    text-align: center;
}

.schedule-doctors__weeks{
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.schedule-doctors__weeks::-webkit-scrollbar{
    display: none;
}

.schedule-doctors__week{
    width: 100%;
    min-width: 100%;
    scroll-snap-align: start;
}

.schedule-doctors__day{
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1.2rem .8rem;
    border-radius: var(--rounded-12);
    font-family: var(--ff-medium);
    cursor: pointer;
}

.schedule-doctors__day-date{
    display: flex;
    align-items: center;
    gap: .8rem;
    flex: 1;
}

/* точка выбранного дня — в строке после даты, не в углу как на десктопе */
.schedule-doctors__day-date::after{
    content: '';
    width: .8rem;
    height: .8rem;
    border-radius: 50%;
    background: var(--color-blue-60);
    transition: var(--transition-main);
    opacity: 0;
}

.schedule-doctors__day._active .schedule-doctors__day-date::after{
    opacity: 1;
}

/* сегодня без приёма — точка есть, но серая */
.schedule-doctors__day._empty._active .schedule-doctors__day-date::after{
    background: var(--color-gray-130);
}

.schedule-doctors__day._empty{
    background: var(--color-gray-10);
    color: var(--color-gray-130);
    cursor: default;
}

@media screen and (max-width: 1023px){
    .schedule-doctors__content{
        display: none;
    }

    .schedule-doctors__mobile{
        display: block;
    }

    .schedule-doctors__bot .btn{
        width: 100%;
    }

    .schedule-doctors__day{
        border-radius: 0;
        padding: 1.2rem 0;
    }

    .schedule-doctors__day:not(:last-child){
        border-bottom: .1rem solid var(--color-gray-250);
    }

    .schedule-doctors__day._empty{
        background: transparent;
    }
}

@media (hover: hover) {
    .certificate__item:hover img{
        transform: scale(1.05);
    }
}

@media screen and (max-width: 1023px){
    .quote{
        flex-direction: column;
        gap: 2.4rem;
    }

    .quote._narrow{
        padding: 0;
    }

    .quote._border{
        padding: 1.6rem;
    }

    .quote__img{
        order: -1;
        margin: auto;
    }

    .certificate{
        grid-template-columns: repeat(2, 1fr);
    }

    .certificate__modal{
        align-items: center;
    }

    .certificate__modal img{
        width: 80%;
        height: auto;
    }

    .certificate__title{
        font-size: var(--fz-12);
    }
    .card-cert{
        grid-template-columns: repeat(1, 1fr);
    }

}
/* End */


/* Start:/local/templates/lit_clinic/assets/css/components/detail/_doctor-detail.css?17853906912109*/
.doctor-detail{
    display: grid;
    /*grid-template-columns: 18rem 1fr 32rem;*/
    grid-template-columns: 28rem 1fr;
    gap: 2.4rem;
    background: var(--color-gray-20);
    border-radius: var(--rounded-16);
    padding: 2.4rem;
}

.doctor-detail__left{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.4rem;
}

.doctor-detail__img{
    position: relative;
    width: 100%;
    height: 30rem;
    display: flex;
    align-items: center;
    justify-content:center;
    background: var(--color-white);
    border-radius: var(--rounded-16);
    overflow: hidden;
}

.doctor-detail__picture{
    width: 19rem;
    height: auto;
}

.doctor-detail__img img{
    object-position: top;
}

.doctor-detail__revue{
    position: absolute;
    bottom: 1.8rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .6rem;
    background: var(--color-gray-60);
    border-radius: var(--rounded-16);
    white-space: nowrap;
}

.doctor-detail__revue-icon{
    width: 1.6rem;
    height: 1.6rem;
    fill: var(--color-orange-40);
}

.doctor-detail__group{
    display: flex;
    gap: .8rem;
    flex-wrap: wrap;
}

.doctor-detail__content{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--color-gray-20);
    border-radius: var(--rounded-16);
}

.doctor-detail__row{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2.4rem;
}

.doctor-experience{
    display: flex;
    align-items: center;
    gap: .4rem;
    color: var(--color-blue-60);
}

.doctor-experience__icon{
    width: 2.4rem;
    height: 2.4rem;
    fill: var(--color-blue-60);
}

@media screen and (max-width: 1024px){
    .doctor-detail{
        grid-template-columns: repeat(1, 1fr);
        gap: 1.6rem;
        padding: 1.6rem;
    }

    .doctor-detail__img{
        height: 32rem;
    }

    .doctor-detail__revue{
        background: var(--color-white);
    }

    .doctor-detail__group .btn{
        width: 100%;
    }

    .doctor-detail__row{
        gap: .8rem;
    }
}
/* End */
/* /local/templates/lit_clinic/components/bitrix/news/doctors/bitrix/news.detail/.default/style.css?178706312710987 */
/* /local/templates/lit_clinic/assets/css/components/detail/_doctor-detail.css?17853906912109 */
