.header-custom {
    position: static !important;
}
.top-block-wrapper.custom-top.bg-cover {
    background-image: none !important;
    min-height: unset !important;
}
.breadcrumbs__item-name, .breadcrumbs__separator {
    color: #BDBDBD !important;
}
span.breadcrumbs__item .breadcrumbs__item-name {
    color: #0C34C6 !important;
}
.breadcrumbs a:hover span {
    color: var(--fill_dark_light_white_hover) !important;
}
h1#pagetitle {
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 50px;
    color: #333333 !important;
}
.topic__heading.topic_desc {
    display: none !important;
}

.detail-image {
    /*height: 370px;*/
    margin-top: 30px;
    border-radius: 34px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 70px;
}
.detail-image img {
    height: 370px;
    width: 100%;
    border-radius: 34px;
    object-fit: cover;
}
.detail-desc {
    display: grid;
    grid-template-columns: 0.6fr 0.4fr;
    grid-template-rows: auto;
    grid-column-gap: 58px;
    margin-bottom: 2rem;
}
.detail-desc ul:not([id*="bx_"]) > li {
    list-style-type: none;
}
.detail-cheked {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px 24px;
    gap: 32px;
    background: #F7F7F7;
    box-shadow: -12px -12px 24px #FFFFFF, 4px 4px 24px rgba(12, 52, 198, 0.2);
    border-radius: 32px;
    align-self: flex-start;

    position: sticky;
    top: 1rem;
}
.detail-result {
    display: grid;
    grid-template-columns: 50px 1fr;
    align-items: center;
}
.detail-result span {
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 32px;
    color: #333333;
    margin-left: 10px;
}
.detail-result:before {
    content: '';
    min-width: 36px;
    height: 36px;
    display: inline;
    margin-right: 16px;
    background-image: url('/local/templates/aspro_max-clinic/components/bitrix/news/services/bitrix/news.detail/.default/images/check.svg');
    background-size: cover;
}
.service-wrapper {
   /*margin: 100px 0;*/
   margin-top: 50px;
}
.service-price {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    row-gap: 35px;
    align-items: center;
    justify-content: center;
}
.service-price_item {
    display: flex;
    max-width: 1120px;
    gap: 30px;
    background: #F7F7F7;
    box-shadow: 2px 4px 24px rgba(12, 52, 198, 0.2), -12px -12px 24px #FFFFFF;
    border-radius: 32px;
    justify-content: space-between;
    align-items: center;
    padding: 32px;
    width: 85%;
}
.service-price_item > div:first-child {
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 22px;
    text-transform: uppercase;
    color: #333333;
    flex: 1 0 250px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}
.service-price_item > div:nth-child(2) {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #333333;
    display: block;
}
.service-price_item > div:last-child {
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 22px;
    color: #333333;
    text-align: center;
    flex: 1 0 120px;
    display: block;
}
.service-price_item > div:first-child > span.item__collapse {
    display: none;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    color: #333333;
}
.service-price_item > div:first-child > span.item__collapse {cursor: pointer; position: relative; width: 18px; height: 18px}
.service-price_item > div:first-child > span.item__collapse:before, .service-price_item > div:first-child > span.item__collapse:after {content: ""; top: 50%; position: absolute; width: 100%; height: 2px; background: #C6C6C6;}
.service-price_item > div:first-child > span.item__collapse:after {transform: rotate(90deg);}
.service-price_item > div.expanded:first-child > span.item__collapse:before {background: #0C34C6;}
.service-price_item > div.expanded:first-child > span.item__collapse:after {content: unset;}

.service-action {
    margin: 40px 0;
    display: flex;
    overflow: hidden;
    position: relative;
    z-index: 100; 
    width: calc(100% + 14px);
    padding: 2rem 0;
}
.service-action_item {
    background: #F7F7F7;
    box-shadow: 2px 4px 24px rgba(12, 52, 198, 0.2), -12px -12px 24px #FFFFFF;
    border-radius: 32px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 180px auto auto auto;
    grid-row-gap: 10px;
    overflow: hidden;
    cursor: pointer;    
    margin: 0 21.5px;
    /*max-width: 420px;*/
    width: 420px;
    position: relative;
}
.service-action_item > div:first-child {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 32px;
}
.service-action_item > div:nth-child(2) {
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 22px;
    text-transform: uppercase;
    color: #333333;
    padding: 0 20px;
}
.service-action_item > div:nth-child(3) {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #333333;
    padding: 0 20px;
}
.service-action_item > div:nth-child(4) {
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    color: #0C34C6;
    padding: 0 20px 20px 20px;
    position: relative;
}
.action-goto {
    position: absolute;
    bottom: 20px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #F7F7F7;
    box-shadow: inset -4px -4px 4px #FFFFFF, inset 4px 4px 4px rgba(12, 52, 198, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}
.action-goto > .arrow_right {
    width: 20px;
    height: 2px;
    background-color: #153BC8;
    box-shadow: 0 3px 5px rgb(0 0 0 / 20%);
    display: block;
    position: relative;
}
.action-goto > .arrow_right::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 2px;
    bottom: -2px;
    right: 0;
    background-color: #153BC8;
    box-shadow: 0 3px 5px rgb(0 0 0 / 20%);
    transform: rotate(-45deg);
}

.action-goto > .arrow_right::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 2px;
    top: -2px;
    right: 0px;
    background-color: #153BC8;
    transform: rotate(45deg);
}

.proced-btn {
    display: inline-flex;
}

.services__more {
    border-radius: 60px;
    border: 1.2px solid #0C34C6;
    color: #0C34C6;
    padding: 12px 20px 8px 20px;
    cursor: pointer;
    transition: 0.5s;
    display: inline-block;
    margin: auto;
}

.services__more:hover {
    background: #0C34C6;
    color: #FFFFFF;
}

.service-action_img {
   background-color: #f7f7f7;
}

.price-block {
    color: #333333;
}

.service-link {
    position: absolute;
}

.specialists_section {
    padding-top: 0 !important;
}


@media (max-width:991px) {
    .service-detail__wrapper h1 {
        color: #0C34C6;
    }

    .detail-image {
        margin-bottom: 35px;
    }
    .detail-image img {
        height: 155px;
    }
    .service-price {
        align-items: stretch;
    }
    .service-price_item {
        display: block;
        width: 100%;
    }
    .service-price_item > div:first-child {
        cursor: pointer;
    }
    .service-price_item > div:nth-child(n+2) {
        display: none;
        padding-top: 10px;
    }
    .service-price_item > div:last-child {
        text-align: left;
    }
    .service-price_item > div:first-child > span.item__collapse {
        display: block;
    }

}

@media all and (max-width: 911px) {
    .detail-desc {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        grid-row-gap: 30px;
        /*margin-bottom: 3rem;*/
    }
   
    .service-action_wrapper {
        display: none;
    }
    
}

.service-detail__wrapper {
    margin-top: 24px;
}

.service-detail__wrapper h1 {   
    font-weight: 700;
}

.service-action .owl-stage {
    display: flex;
    justify-content: center;
}

/* .service-action .owl-nav.disabled {
    display: none;
} */

.service-action .owl-nav {
    display: block;
}

.service-action .owl-nav.disabled:not(.link-item) {
    opacity: 1;
}

.service-action .owl-nav button {
    position: absolute;
    z-index: 200;
    top: 50%;    
    border: none;
    background: #fff;
    height: 42px;
    width: 42px;
    border-radius: 25px;
    /*box-shadow: 2px 4px 24px rgba(12, 52, 198, 0.2), -12px -12px 24px #FFFFFF;*/
}

.service-action .owl-nav button.owl-prev {
    left: 0;
    transform: rotate(180deg);
}
.service-action .owl-nav button.owl-next {
    right: 0;
}
.service-action .owl-nav .icon-arr::before {
    content: '';
    background: url('/local/templates/aspro_max-clinic/images/svg/arrows/arrow-right-dark.svg') center no-repeat;
    width: 42px;
    height: 42px;
    display: block;
}

.detail-price {
    font-weight: 700;
    font-size: 24px;
}

h3 {
    margin: 24px 0;
    font-weight: 700 !important;
}
.detail-price {
    margin: 1.666rem 0px;
}

.detail-price p {
    font-size: 34px;
    line-height: 28px;
    font-weight: 700;
}

.before-after {
    padding-bottom: 45px;
}
.before-after .ptotos-item {
    box-shadow: none;
}