

/* Start:/bitrix/templates/template.rimeks/components/veeeeeRySeXy/serv.mass/zapis-na-uslugi-detail-new/style.css?175920699524972*/
#route-overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    z-index: 9;
    overflow: hidden;
    display: none;
}
.no-scroll {
    overflow-y: hidden;
}
#route-overlay.visible {
    display: block;
}

.hidden-add-cart-btn {
    position: fixed;
    background-color: var(--site-light-color);
    bottom: 30px;
    bottom: 66px;
    width: 100%;
    left: 0;
    z-index: 20;
    padding: 12px 15px;
    box-shadow: 0px -10px 10px 0px rgba(0, 0, 0, 0.1);
    display: none;
}

.mobile__menu.active {
    border-top: none;
}

.hidden-add-cart-btn.active {
    display: flex;
}

.service-detail__top {
    display: flex;
    gap: 44px;
    padding-bottom: 44px;
}

.first-block {
    flex-basis: calc((100% - 44px)/2);
}

.second-block {
    display: flex;
    justify-content: end;
    flex-basis: calc((100% - 44px)/2 + 24px);
}

.second-block img {
    max-width: 100%;
    border-radius: 8px;
}

.service-detail__top-block .page-title {
    margin-top: 0;
    margin-bottom: 12px;
}

.service-detail__top-block-price {
    margin-bottom: 20px;
}

.header2 {
    font-size: 26px;
    font-weight: 600;
    line-height: 115%;
}

.descriptor {
    font-size: 18px;
    font-weight: 500;
    line-height: 135%;
}

.text1 {
    font-size: 16px;
    line-height: 125%;
}

.text2 {
    font-size: 14px;
    line-height: 145%;
}

.service-detail__top-block-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 125%;
    margin-bottom: 20px;
    max-width: 500px;
}

.service-detail__top .btn-blue.picked {
    background: url(/bitrix/templates/template.rimeks/images/svg/checkmark.svg) no-repeat 85% center var(--site-accent-color) !important;
}

.btn-blue svg {
    transform: none !important;
}

.btn-blue:hover {
    transform: none !important;
}


.service-detail__top-block-btn.only-mobile {
    display: none;
}

.service-detail__top-block-btn {
    display: flex;
    column-gap: 10px;
    row-gap: 8px;
}

.btn-blue.service-detail-btn {
    display: flex;
    align-items: center;
    padding: 15px;
    flex-basis: calc((100% - 156px) / 2);
    justify-content: center;
}

.service-detail-btn span {
    line-height: 123%;
    letter-spacing: -0.5px;
}

.service-detail__top-block-btn .btn-outline {
    padding: 15px;
    line-height: 125%;
    flex-basis: calc((100% - 132px) / 2);
}

.service-detail__btn_link-app_wrapper.only-mobile {
    display: none;
}

.service-detail__btn_link-app_wrapper {
    margin-top: 40px;
    padding: 20px;
    border-radius: 8px;
    background-color: var(--site-light-color);
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 502px;
}

.link-app_wrapper__title {
    font-size: 18px;
    line-height: 125%;
    letter-spacing: -0.3px;
}

.service-detail__btn_link-app_wrapper .link-app_wrapper__btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-app_wrapper__btn_text {
    line-height: 125%;
    letter-spacing: -0.3px;
}

@media(max-width:1400px) {
    .btn-blue.service-detail-btn {
        flex: 1;
    }

    .service-detail__top-block-btn .btn-outline {
        flex: 1;
    }
}

@media(max-width:1200px) {
    .service-detail__top-block-btn {
        flex-direction: column;
    }

    .service-detail__top .btn-blue.picked {
        background-position: calc(50% + 85px) center !important;
    }
}

@media(max-width:1100px) {

    .service-detail__top-block-description {
        margin-bottom: 0px;
    }

    .service-detail__top-block-btn.only-desktop {
        display: none;
    }

    .service-detail__top-block-btn.only-mobile {
        display: flex;
    }

    .second-block img {
        width: 100%;
        max-height: 216px;
        object-fit: cover;
        margin-bottom: 16px;
    }

    .service-detail__top {
        flex-direction: column;
        gap: 16px;
    }

    .service-detail__btn_link-app_wrapper.only-desktop {
        display: none;
    }

    .service-detail__btn_link-app_wrapper.only-mobile {
        display: flex;
        max-width: unset;
        text-align: center;
    }

    .second-block {
        flex-direction: column;
    }
}

@media(max-width:1100px) {
    .service-detail__top-block .page-title {
        font-size: 30px;
        line-height: 115%;
        margin-bottom: 8px;
    }

    .service-detail__top-block-price {
        margin-bottom: 5px;
    }

    .header2 {
        font-size: 20px;
        line-height: 115%;
    }

    .service-detail__top-block-description {
        line-height: 145%;
        font-size: 14px;
    }

    .service-detail__top-block-btn .btn-outline {
        padding: 16px;
    }

    .service-detail__btn_link-app_wrapper {
        margin-top: 16px;
        gap: 12px;
    }

    .link-app_wrapper__title {
        font-size: 16px;
        letter-spacing: normal;
    }

    .service-detail__btn_link-app_wrapper .link-app_wrapper__btn {
        padding: 15px;
    }

    .service-detail__btn_link-app_wrapper .link-app_wrapper__btn svg {
        transform: translateY(2px);
        margin-left: 13px;
    }
}

@media(max-width:767px) {
    .service-detail__top {
        padding-bottom: 20px;
    }
}

@media(max-width:767px) {
    .service-detail__top {
        padding-bottom: 20px;
    }
}

.service-detail__bottom {
    background-color: var(--site-light-color);
    padding-bottom: 44px;
}

.service-detail__bottom h2 {
    margin-bottom: 0;
}

.service-detail-main-block {
    display: flex;
    padding-top: 44px;
    gap: 32px;
    padding-bottom: 64px;
}

.calculator-block {
    flex-basis: calc((100% - 422px)/2);
}

.form-serv-auto-personal-add {
    color: var(--site-default-color) !important;
    position: relative;
}

.form-serv-auto-personal-add::before {
    position: absolute;
    content: '';
    top: 0;
    left: 15px;
    right: 15px;
    height: 1px;
    background-color: var(--site-light-separator-color);
}

.form-serv-auto-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.calculator-main-blocks {
    display: none;
    flex-direction: column;
    gap: 24px;
}

.diametr-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.header3 {
    font-size: 18px;
    line-height: 125%;
    font-weight: 600;
}

.diametr-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.diametr-item {
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 16px;
    line-height: 145%;
    font-weight: 500;
    color: rgba(51, 51, 51, 1);
    background-color: rgba(246, 246, 246, 1);
    padding: 7px 13px;
    border: 1px solid white;
}

.diametr-item.active {
    background-color: rgba(16, 80, 153, 1);
    color: rgba(255, 255, 255, 1);
    border: 1px solid rgba(16, 80, 153, 1);
}

.diametr-item:hover {
    cursor: pointer;
    border: 1px solid rgba(16, 80, 153, 1);
    background-color: rgba(255, 255, 255, 1);
}

.diametr-item.active:hover {
    cursor: auto;
    background-color: rgba(16, 80, 153, 1);
    color: rgba(255, 255, 255, 1);
}

.flat-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.flat-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.price-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.price-text {
    font-size: 18px;
    font-weight: 600;
    line-height: 125%;
}

.price-summ {
    font-size: 26px;
    font-weight: 500;
    line-height: 115%;
}

.emty-price {
    font-size: 22px;
}

.map-block {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.map-block-content {
    display: flex;
    gap: 12px;
    position: relative;
}

.store-list {
    display: flex;
    flex-direction: column;
    max-width: 284px;
    gap: 12px;
    position: relative;
}

.store-list-full-width {
    max-width: unset;
}

.store-change {
    display: none;
    background-color: rgba(246, 246, 246, 1);
    border-radius: 8px;
}

.store-change__content {
    padding: 4px;
    display: flex;
    width: 100%;
}

.change-item {
    padding: 12.5px 10px;
    background-color: inherit;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    line-height: 145%;
    color: rgba(51, 51, 51, 1);
    width: 50%;
    text-align: center;
}

.change-item.active {
    color: rgba(16, 80, 153, 1);
    font-weight: 600;
    background-color: rgba(255, 255, 255, 1);
}

.change-item.inactive:hover {
    cursor: pointer;
}

.store-list:hover {
    cursor: pointer;
}

.sm__holder {
    display: flex;
    position: relative;
}

.sm__holder.hidden {
    visibility: hidden;
    height: 0;
}

.sm__block--centers {
    position: relative;
}

.sm__holder-tabs {
    display: none;
}

.select__title {
    padding: 12px 16px;
    border: 1px solid rgba(228, 228, 228, 1);
    border-radius: 4px;
    font-size: 17px;
    font-weight: 400;
    line-height: 130%;
}

.select__title::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 21px;
    width: 13px;
    height: 7px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(/bitrix/templates/template.rimeks/images/svg/select-arrow.svg);
    -webkit-transition: right 0.2s, top 0.2s, -webkit-transform 0.2s;
    transition: right 0.2s, top 0.2s, -webkit-transform 0.2s;
    -o-transition: transform 0.2s, right 0.2s, top 0.2s;
    transition: transform 0.2s, right 0.2s, top 0.2s;
    transition: transform 0.2s, right 0.2s, top 0.2s, -webkit-transform 0.2s;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.g-store-list.open {
    display: block;
    z-index: 10;
    width: auto;
    max-width: none;
    min-width: 100%;
}

.custom-select__item {
    display: block;
    padding: 10px 15px;
    color: var(--site-dark-color);
    cursor: pointer;
    -webkit-transition: background-color 0.2s ease, color 0.2s ease;
    -o-transition: background-color 0.2s ease, color 0.2s ease;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 125%;
    word-break: break-word;
}

.sm__block-list {
    max-height: 441px;
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 145%;
    color: var(--site-dark-color);
}

.sm__block-item {
    padding: 8px 0px;
    position: relative;
    background-color: var(--site-light-color);
    cursor: pointer;
    border-bottom: 1px solid rgba(242, 242, 242, 1);
}

.sm__block-item-holder {
    display: flex;
    flex-direction: column;
}

.sm__block-item-address {
    font-size: 15px;
    font-weight: 600;
    line-height: 135%;
}

.sm__block-item-timetable {
    color: rgba(125, 125, 125, 1);
    font-weight: 400;
    font-size: 13px;
    line-height: 140%;
}

.route-block {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    opacity: 0;
    display: flex;
    gap: 12px;
    flex-direction: column;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.route-block-name {
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    display: none;
    align-items: center;
}

.route-image-list {
    position: relative;
    overflow: hidden;
}

.route-image-list img {
    max-width: 150px;
    height: 100px;
    border-radius: 8px;
}

.sm__block {
    overflow: auto;
    scrollbar-color: unset;
    scrollbar-width: none;
    position: relative;
}

.store-list::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    z-index: 1;
    pointer-events: none;
    height: 40px;
}

.store-list.store-list--hidden::after {
    display: none;
}

.sm__block-item:last-child {
    border-bottom: 0;
}

.clear {
    clear: both;
    height: 0;
    width: 100%;
    font-size: 0;
    overflow: hidden;
}

.route-block.active {
    display: flex;
    opacity: 1;
    margin-top: 12px;
    gap: 12px;
    flex-direction: column;
    max-height: none;
    pointer-events: all;
}

.sm__block-item.active .sm__block-item-address {
    color: rgba(16, 80, 153, 1);
}

.map-link {
    background-color: rgba(241, 241, 241, 1);
    border-radius: 4px;
    color: rgba(16, 80, 153, 1) !important;
    max-width: 284px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 125%;
}

.sm__block--map {
    width: 553px;
    height: 501px;
}

.map-full-width {
    width: 700px;
}

.sm__block--map.hidden-map {
    opacity: 0;
    position: absolute;
    z-index: -2;
    pointer-events: none;
}

@media(max-width:1260px) {
    .service-detail-main-block {
        flex-direction: column-reverse;
    }

    .map-block-content {
        justify-content: space-between;
    }

    .store-list {
        max-width: unset;
    }
    .sticky-block .sticky-wrap.absolute{
        position: static;
    }
}

@media(max-width:900px) {
    .service-detail-main-block {
        flex-direction: column;
        padding-top: 40px;
        gap: 38px;
        padding-bottom: 45px;
    }

    .map-block-content {
        justify-content: space-between;
    }

    .store-list {
        max-width: unset;
    }

    .map-block-content {
        flex-direction: column;
    }

    .sm__block {
        width: 100%;
    }

    .sm__block--map {
        width: auto;
        height: 375px;
    }

    .form-serv-auto-personal .g-custom-select {
        width: 100%;
    }

    .form-serv-auto-content {
        gap: 16px;
    }

    .calculator-main-blocks {
        gap: 16px;
    }

    .diametr-block {
        gap: 12px;
    }

    .flat-block {
        gap: 12px;
    }

    .price-block-text {
        line-height: 120%;
    }

    .map-block {
        gap: 16px;
    }

    .store-list {
        gap: 16px;
    }

    .store-change {
        display: flex;
    }

    .price-summ {
        font-size: 20px;
    }

    .select__title {
        padding: 16px 16px;
    }


}

@media(max-width:450px) {
    .sm__block--map {
        margin-right: -15px;
        margin-left: -15px;
    }
}

@media(max-width:767px) {
    .header3 {
        font-size: 16px;
    }
}

@media(max-width:500px) {

    .route-block {
        position: fixed;
        bottom: 0;
        left: 0;
        background: white;
        z-index: 100;
        padding: 20px;
        pointer-events: none;
        transition: none;
        gap: 0;
    }

    .sm__block-item.active {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M2.12742 10.6888L16.7437 5.94947C17.9156 5.56945 18.9191 6.68397 18.4187 7.80975L12.1775 21.8505C11.6119 23.1227 9.78942 23.0695 9.46813 21.7715L8.10136 16.2495C7.99507 15.82 7.68771 15.4787 7.27165 15.3281L1.92282 13.3916C0.665487 12.9363 0.803079 11.1183 2.12742 10.6888Z' stroke='%23105099' stroke-width='1.5'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: 97% 46%;
        background-color: #F6F6F6;
    }

    .route-block .active {
        display: flex;
        opacity: 1;
        margin-top: 12px;
        flex-direction: column;
        max-height: none;
        pointer-events: all;
        width: 100%;
    }

    .route-block-name {
        display: block;
        display: flex;
        justify-content: space-between;
    }

    .route-block-time {
        color: rgba(125, 125, 125, 1);
        font-weight: 400;
        font-size: 13px;
        line-height: 140%;
    }

    .map-link {
        background-color: rgba(16, 80, 153, 1);
        color: white !important;
        font-size: 17px;
        line-height: 140%;
        font-weight: 500;
        margin: 0 auto;
        border-radius: 12px;
        padding: 14px 0;
        max-width: unset;
    }

    .route-image-list img {
        max-width: 255px;
        height: 170px;
    }
}

.information-section {
    display: flex;
    column-gap: 32px;
    row-gap: 40px;
    padding-bottom: 63px;
}

.information-block {
    display: flex;
    flex-direction: column;
    gap: 19px;
    flex-grow: 1;
    max-width: calc(50% - 16px);
}

.information-text {
    position: relative;
    overflow: hidden;
    max-height: 161px;
}

.information-text.open {
    max-height: unset;
}

.information-text h2 {
    margin-bottom: 20px;
}

.information-text.closed {
    max-height: 160px;
}

.information-text.closed::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    z-index: 1;
    pointer-events: none;
    height: 40px;
}

.information-btn {
    padding: 8px 11px;
    background-color: var(--site-bg-secondary-color);
    border-radius: 8px;
    width: fit-content;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--site-bg-secondary-color);
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    display: none;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.information-btn-text {
    font-size: 16px;
    line-height: 145%;
    font-weight: 500;
}

.information-btn:hover {
    cursor: pointer;
    border: 1px solid var(--site-default-color);
    background-color: var(--site-light-color);
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.information-btn.open svg {
    transform: rotate(180deg);
}

.swiper-photo-wrapper .swiper-photo-slide {
    width: auto;
}

.services-photo {
    overflow: hidden;
    position: relative;
}

.services-photo::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: auto;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0%) 58%, #FFFFFF 100%);
    z-index: 1;
    pointer-events: none;
    height: 100%;
    width: 100%;
}
.swiper-photo-scrolled::after{
    display: none;
}

@media(max-width:900px) {
    .information-section {
        flex-direction: column;
        padding-bottom: 40px;
    }

    .information-block {
        max-width: unset;
        gap: 16px;
    }

    .information-text.closed {
        max-height: 298px;
    }

    .services-photo::after {
        width: 30%;
    }
}

@media(max-width:450px) {
    .photo-infornation-block {
        margin-left: -15px;
    }

    .services-photo {
        padding-left: 15px;
    }

    .photo-infornation-block h2 {
        padding: 0 15px;
    }
}

.questions-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 63px;
}

.questions-list {
    display: flex;
    flex-wrap: wrap;
    column-gap: 16px;
    row-gap: 12px;
}

.questions-item {
    border-radius: 8px;
    border: 1px solid var(--site-bg-secondary-color);
    max-width: calc(50% - 8px);
    width: 100%;
}

.questions-item-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 25px 16px;
}

.questions-item-main svg {
    width: 30px;
}

.questions-item-main span {
    font-size: 16px;
    line-height: 125%;
    font-weight: 500;
}

.questions-item-main:hover {
    cursor: pointer;
}

.questions-item-answer {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 100vh);
    transition: all 0.3s;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    width: 100%;
    padding: 0 20px;
    justify-content: center;
}


.questions-item-answer.active {
    transform: translate(-50%, -50%);
    opacity: 1;
    pointer-events: auto;
    width: 100%;
    justify-content: center;
    display: flex;
}

.questions-item-answer.leaving {
   transform: translate(-50%, 100vh);
    opacity: 0;
    padding: 0;
    width: 100%;
    justify-content: center;
    display: flex;
}


.answer-wrapper {
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 10%);
    background-color: var(--site-light-color);
    max-width: 630px;
}

.answer-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--site-light-separator-color);
    gap: 20px;
}

.close-question-answer {
    width: 28px;
}

.close-question-answer:hover {
    cursor: pointer;
}

.answer-content {
    padding-top: 24px;
    font-size: 18px;
    line-height: 125%;
}

.questions-btn {
    display: flex;
    padding: 8px 11px;
    background-color: var(--site-bg-secondary-color);
    border-radius: 8px;
    width: fit-content;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--site-bg-secondary-color);
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.questions-btn-text {
    font-size: 16px;
    line-height: 145%;
    font-weight: 500;
}

.questions-btn:hover {
    cursor: pointer;
    border: 1px solid var(--site-default-color);
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    background-color: var(--site-light-color);
}

.questions-btn.expanded svg {
    transform: rotate(180deg);
}

@media(max-width:900px) {
    .questions-block {
        gap: 16px;
        padding-bottom: 40px;
    }

    .questions-item {
        max-width: unset;
    }

    .questions-item-main {
        padding: 17px 16px;
    }

    .answer-wrapper {
        padding: 20px;
    }

    .answer-content {
        font-size: 14px;
    }

    .close-question-answer {
        width: 14px;
        height: 14px;
    }

    .close-question-answer svg {
        width: 14px;
        height: 14px;
    }
}

@media(max-width:500px) {
    .answer-wrapper{
        border-radius: 12px;
        padding-bottom: 33px;
    }
    .questions-item-answer.active {
        padding: 0;
        position: fixed;
        bottom: 0;
        left: 0;
        z-index: 20;
        transform: none;
        top: auto;
    }

    .answer-header .header3 {
        font-size: 20px;
    }

    .answer-header {
        padding-bottom: 12px;
        border-bottom: none;
    }

    .answer-content {
        padding-top: 0;
        line-height: 145%;

    }

    .questions-item-answer {
        transform: none;
        padding: 0;
        left: 0;
        bottom: -100%;
        top: auto;
    }
}

.review-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 64px;
}

.reviews-list {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}

.review-item {
    padding: 24px;
    border-radius: 8px;
    background-color: var(--site-bg-secondary-color);
    max-width: 434px;
}

.review-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.score {
    display: flex;
}

.review-item-text {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 125%;
}

.review-item-text.closed {
    max-height: 80px;
    overflow: hidden;
}

.review-item-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.review-item-btn {
    display: flex;
    gap: 5px;
    align-items: center;
}

.review-item-btn.active svg {
    transform: rotate(180deg);
}

.review-item-btn-text {
    font-size: 16px;
    font-weight: 500;
    line-height: 145%;
    color: var(--site-default-color);
}

.review-item-btn:hover {
    cursor: pointer;
}

.review-item-date {
    font-size: 16px;
    line-height: 125%;
    font-weight: 500;
    color: var(--site-label-tetriary-color);
}

@media(max-width:767px) {
    .review-block {
        gap: 16px;
        padding-bottom: 36px;
    }

    .review-item {
        padding: 16px 20px;
    }

    .review-item-text {
        font-size: 14px;
        line-height: 145%;
    }
}

@media(max-width:450px) {
    .review-block {
        margin-left: -15px;
        margin-right: -15px;
    }

    .reviews-list {
        padding-left: 15px;
        padding-right: 15px;
    }

    .review-block h2 {
        padding: 0px 20px;
    }
}

.guarantee-block {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.guarantee-content {
    display: flex;
    gap: 20px;
}

.guarantee-content span {
    max-width: calc(50% - 10px);
}

@media(max-width:767px) {
    .guarantee-block {
        gap: 16px;
    }

    .guarantee-content {
        flex-direction: column;
        gap: 21px;
    }

    .guarantee-content span {
        max-width: unset;
        font-size: 14px;
        line-height: 142%;
    }

}
/* End */
/* /bitrix/templates/template.rimeks/components/veeeeeRySeXy/serv.mass/zapis-na-uslugi-detail-new/style.css?175920699524972 */
