/* region common */
.template.item > .header {
    background: url('/assets/images/bg-header.svg') 50% -265px / 1900px auto no-repeat, linear-gradient(90deg, #068CFE 0%, #3254BC 100%);
}

.template.item > .header .navbar {
    height: 90px;
}

html, body {
    background-color: transparent;
}

.page-content-profile {
    padding-top: 15px;
    padding-bottom: 75px;
}

.page-content-profile,
.page-content-profile .profile-wrapper-master,
.page-content-profile .profile-wrapper-masters,
.page-content-profile .profile-wrapper-service,
.page-content-profile .profile-wrapper-services,
.page-content-profile .profile-wrapper-examples,
.page-content-profile .profile-wrapper-reviews,
.page-content-profile .profile-wrapper-group-services,
.page-content-profile .profile-wrapper-index {
    background-color: #F2F2F6;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 100%;
    min-height: calc(100vh - 668px);
}

@media screen and (max-width: 980px) {
    .page-content-profile,
    .page-content-profile .profile-wrapper-master,
    .page-content-profile .profile-wrapper-masters,
    .page-content-profile .profile-wrapper-service,
    .page-content-profile .profile-wrapper-services,
    .page-content-profile .profile-wrapper-examples,
    .page-content-profile .profile-wrapper-reviews,
    .page-content-profile .profile-wrapper-group-services,
    .page-content-profile .profile-wrapper-index {
        min-height: calc(100vh - 643px);
    }
}

@media screen and (max-width: 850px) {
    .page-content-profile,
    .page-content-profile .profile-wrapper-master,
    .page-content-profile .profile-wrapper-masters,
    .page-content-profile .profile-wrapper-service,
    .page-content-profile .profile-wrapper-services,
    .page-content-profile .profile-wrapper-examples,
    .page-content-profile .profile-wrapper-reviews,
    .page-content-profile .profile-wrapper-group-services,
    .page-content-profile .profile-wrapper-index {
        min-height: calc(100vh - 592px);
    }
}

.page-content-profile h2 {
    font-weight: 800;
    font-size: 24px;
    line-height: 130%;
    color: #333333;
    text-align: left;
    width: calc(100% - 40px);
    max-width: 940px;
    margin: 0;
}

.page-content-profile .filters {
    width: calc(100% - 40px);
    max-width: 940px;
}

.page-content-profile .filters .bootstrap-select .dropdown-menu {
    background: #FFFFFF;
    box-shadow: 0px 2px 8px rgb(6 41 82 / 8%), 0px 20px 32px rgb(6 41 82 / 24%);
    border-radius: 10px;
    padding: 0;
    left: 0;
    top: 40px;
    overflow: hidden;
}

.page-content-profile .filters .bootstrap-select .dropdown-menu a {
    font-weight: 600;
    font-size: 14px;
    color: #2F4048;
    padding-top: 0;
    padding-bottom: 0;
    height: 32px;
    display: flex;
    align-items: center;
}

.page-content-profile .filters .bootstrap-select .dropdown-menu a:focus {
    background-color: transparent;
}

.page-content-profile .filters .bootstrap-select .dropdown-menu a:hover {
    background-color: #E7F1FF;
}

.page-content-profile .btn-gradient {
    background: linear-gradient(90deg, #0C70FF 0%, #4AC9FF 100%);
    box-shadow: 0px 5px 12px rgba(103, 158, 232, 0.4);
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    line-height: 19px;
    color: #FFFFFF;
    text-align: center;
    border: none;
    padding: 8px 22px;
}

.page-content-profile .btn-gradient:hover {
    background: linear-gradient(270deg, #0C70FF 0%, #4AC9FF 100%);
}

.page-content-profile .card {
    border-radius: 25px;
    background-color: #FFFFFF;
    padding: 20px;
    color: #333333;
    position: relative;
    max-width: 940px;
    width: calc(100% - 40px);
    overflow: hidden;
}

.page-content-profile .card h3 {
    margin-top: 0;
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 29px;
    color: #333333;
    margin-bottom: 20px;
}

.page-content-profile .card h3 .count {
    color: #8a99a0;
}

.cards-container.gallery-about {
    max-width: 940px;
    width: calc(100% - 40px);
    display: flex;
    gap: 20px;
}

.card .show-more {
    display: flex;
    width: 100%;
    justify-content: center;
}

.card .show-more .btn {
    width: 237px;
    height: 50px;
    border-radius: 10px;
    margin: 24px auto auto;

    background-color: #E8F2FF;
    font-weight: bold;
    font-size: 14px;
    line-height: 36px;
    text-align: center;
    color: #2F4048;
}

.card .show-more .btn:hover {
    background-color: #C9E0FF;
}

.favorite {
    height: 20px;
    width: 22px;
    display: block;
    background-image: url('/assets/images/profile/favorite.png');
    background-size: cover;
    background-position: 0 0;
    background-repeat: no-repeat;
    cursor: pointer;
}

.favorite.enabled {
    background-position: -22px 0;
}

.page-content-profile .swiper-container-initialized .swiper-button-prev,
.page-content-profile .swiper-container-initialized .swiper-button-next {
    height: 50px;
    width: 50px;
    opacity: 0;
}

.page-content-profile .swiper-container-initialized:hover .swiper-button-prev,
.page-content-profile .swiper-container-initialized:hover .swiper-button-next {
    opacity: 1;
}

.page-content-profile .swiper-button-prev {
    left: 5px;
}

.page-content-profile .swiper-button-next {
    right: 5px;
}

.page-content-profile .swiper-button-prev::after,
.page-content-profile .swiper-button-next::after {
    content: none;
}

.page-content-profile .swiper-button-hidden {
    display: none;
}


.modal.company-complaint .modal-body {
    padding: 0;
}

.modal.company-complaint .h3 {
    padding-right: 20px;
}

.modal.sw-dialog.profile-confirm {
}

.modal.sw-dialog.profile-confirm .btn-primary {
    background-color: #017EF4;
}

.modal.sw-dialog.profile-confirm .btn-secondary {
    background: #E8F2FF;
    border: 1px solid #E8F2FF;
    color: #017EF4;
}

.modal.sw-dialog.profile-confirm .modal-footer {
    border-top: none;
}

.modal.sw-dialog.profile-confirm .modal-body {
    font-size: 25px;
}

.modal.modal-alert .form-group.btns {
    text-align: right;
}

.modal.modal-alert .btn.btn-primary:hover,
.modal .btn-primary:hover {
    background-color: #0170da;
    border-color: transparent;
}

.modal.modal-alert .btn.btn-primary,
.modal .btn-primary {
    background-color: #017EF4;
    border-color: transparent;
    border-radius: 4px;
}

@media screen and (max-width: 980px) {
    .template.item > .header .navbar {
        height: 65px;
        margin: 0 20px;
    }
}

@media screen and (max-width: 850px) {
    .cards-container.gallery-about {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: 0;
    }

    .page-content-profile .card {
        padding: 15px;
    }

    .page-content-profile .card h3 {
        font-weight: 700;
        font-size: 18px;
        line-height: 24px;
    }

    .page-content-profile {
        padding-top: 10px;
        padding-bottom: 40px;
        gap: 10px;
    }
}
/* endregion */

/* region breadcrumbs */
.breadcrumbs {
    font-size: 13px;
    color: #979797;
    max-width: calc(100% - 40px);
    width: 940px;
    margin: 0 auto;
}

.breadcrumbs a, .breadcrumbs span {
    margin-right: 10px;
}

.breadcrumbs a {
    text-decoration: none;
    color: black;
}

.breadcrumbs a:not([href]),
.breadcrumbs a:not([href]):hover {
    color: #979797;
    cursor: default;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    background: rgba(0, 0, 0, 0) url("/assets/images/sprite-beauty.png") no-repeat scroll -68px -173px;
    display: inline-block;
    height: 8px;
    padding: 0 7px;
    width: 16px;
}

@media screen and (max-width: 850px) {
    .breadcrumbs {
        margin-bottom: 2px;
        font-size: 11px;
    }

    .breadcrumbs a, .breadcrumbs span {
        margin-right: 5px;
    }
}
/* endregion */

/* Страница профиля компании */

/* region gallery */
.cards-container.gallery-about .card.gallery {
    height: 340px;
    width: 340px;
    max-height: calc(100vw - 40px); /* vw - не опечатка */
    max-width: calc(100vw - 40px);
    border-radius: 15px;
    overflow: hidden;
    padding: 0;
    position: relative;
    z-index: 1;
}
.cards-container.gallery-about .card.gallery > .swiper-container{
    height: 100%;
}

.cards-container.gallery-about .card.gallery .swiper-slide {
    width: 340px;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.cards-container.gallery-about .card.gallery .swiper-pagination {
    width: 100%;
    display: flex;
    gap: 4px;
    padding: 4px;
    justify-content: space-evenly;
}

.cards-container.gallery-about .card.gallery .swiper-pagination .swiper-pagination-bullet {
    height: 4px;
    width: auto;
    flex: 1;
    border-radius: 2px;
    background-color: #ffffff66;
    opacity: 1;
    margin: 0;
    overflow: hidden;
}

.cards-container.gallery-about .card.gallery .swiper-pagination .swiper-pagination-bullet:before {
    width: 0;
    background-color: #ffffff;
    display: block;
    content: '';
    height: 100%;
}

.cards-container.gallery-about .card.gallery .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #ffffff66;
}

.cards-container.gallery-about .card.gallery .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active:before {
    width: 100%;
    transition-duration: 5s;
    transition-timing-function: linear;
}

@media screen and (max-width: 850px) {
    .cards-container.gallery-about .card.gallery {
        height: 440px;
        width: 440px;
    }

    .cards-container.gallery-about .card.gallery .swiper-slide {
        width: 440px;
        height: 100%;
    }
}

/* endregion */

/* region about-top */
.cards-container.gallery-about .card.about {
    flex: 1;
    padding-bottom: 70px;
    overflow: inherit;
}

.cards-container.gallery-about .card.about .info {
    display: flex;
    gap: 12px;
}

.cards-container.gallery-about .card.about .info img {
    width: 90px;
    height: 90px;
    border-radius: 15px;
}

.cards-container.gallery-about .card.about .info .details {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
    justify-content: center;
}

.cards-container.gallery-about .card.about .info .details .title {
    font-weight: 600;
    font-size: 24px;
    line-height: 29px;
    padding-right: 35px;
}

.cards-container.gallery-about .card.about .info .details .address {
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
}

.cards-container.gallery-about .card.about .info .favorite {
    position: absolute;
    top: 20px;
    right: 20px;
}

@media screen and (max-width: 850px) {
    .cards-container.gallery-about .card.about {
        flex: none;
        height: auto;
        width: 100%;
    }

    .cards-container.gallery-about .card.about .info img {
        width: 50px;
        height: 50px;
        border-radius: 12px;
    }

    .cards-container.gallery-about .card.about .info .details {
        max-height: 50px;
        display: block;
        overflow: hidden;
    }

    .cards-container.gallery-about .card.about .info .details .title {
        font-weight: 700;
        font-size: 16px;
        line-height: 17px;
        margin-right: 28px;
        max-height: 34px;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-right: 10px;
    }

    .cards-container.gallery-about .card.about .info .details .address {
        font-weight: 400;
        font-size: 12px;
        line-height: 15px;
        margin-right: 28px;
        max-height: 30px;
        overflow: hidden;
        margin-top: 2px;
    }
}
/* endregion */

/* region about-contacts */
.cards-container.gallery-about .card.about .contacts {
    padding-top: 12px;
}

.cards-container.gallery-about .card.about .contacts .phones {
    margin-bottom: 12px;
    padding-left: 22px;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #2F4048;
    display: inline-block;
    position: relative;
}

.cards-container.gallery-about .card.about .contacts .phones ul {
    display: inline-block;
    overflow-y: hidden;
    overflow-x: visible;
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

.cards-container.gallery-about .card.about .contacts .phones ul a {
    color: #2F4048;
}

.cards-container.gallery-about .card.about .contacts .phones:before {
    display: inline-block;
    content: '';
    height: 16px;
    width: 16px;
    position: absolute;
    top: 1px;
    left: 0;
    background-image: url('/assets/images/profile/phones.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: initial;
}

.cards-container.gallery-about .card.about .contacts .phones .show-phones {
    display: none;
}

.cards-container.gallery-about .card.about .contacts .phones.collapsed,
.cards-container.gallery-about .card.about .contacts .phones.collapsed ul {
    max-height: 17px;
}

.cards-container.gallery-about .card.about .contacts .phones.collapsed .show-phones {
    display: inline-block;
    position: absolute;
    left: 120px;
}

.cards-container.gallery-about .card.about .contacts .phones.collapsed .show-phones:hover {
    text-decoration: underline;
}

.cards-container.gallery-about .card.about .contacts .phones.collapsed ul:after {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 17px;
    width: 100%;
    background-image: linear-gradient(90deg, transparent 50%, white 70%);
}

.cards-container.gallery-about .card.about .schedule {
    position: relative;
}

.cards-container.gallery-about .card.about .schedule .schedule-first {
    margin: 0 0 20px 0;
    padding-left: 22px;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #2F4048;
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.cards-container.gallery-about .card.about .schedule .schedule-first:before {
    display: inline-block;
    content: '';
    height: 16px;
    width: 16px;
    position: absolute;
    top: 1px;
    left: 0;
    background-image: url('/assets/images/profile/schedule.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: initial;
}

.cards-container.gallery-about .card.about .schedule .schedule-first .show-schedule {
    display: inline-block;
    height: 7px;
    width: 10px;
    position: relative;
    top: -1px;
    background-image: url('/assets/images/profile/caret-down.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: initial;
}

.cards-container.gallery-about .card.about .schedule .full-schedule {
    position: absolute;
    top: 0;
    left: 0;
    padding: 15px 20px 0;
    background: #FFFFFF;
    box-shadow: 0px 2px 8px rgba(6, 41, 82, 0.08), 0px 20px 32px rgba(6, 41, 82, 0.2);
    border-radius: 10px;
    list-style: none;
    margin: 0;
    z-index: 1;
}

.cards-container.gallery-about .card.about .schedule .full-schedule li {
    margin-bottom: 15px;
}

.cards-container.gallery-about .card.about .schedule.collapsed .full-schedule {
    display: none;
}

.cards-container.gallery-about .card.about .links {
    display: flex;
    gap: 10px;
}

.cards-container.gallery-about .card.about .links > a {
    width: 28px;
    height: 28px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: initial;
}

.cards-container.gallery-about .card.about .links .link-vk {
    background-image: url('/assets/images/social/method_vk.png');
}
.cards-container.gallery-about .card.about .links .link-fb {
    background-image: url('/assets/images/social/method_facebook.png');
}
.cards-container.gallery-about .card.about .links .link-ig {
    background-image: url('/assets/images/social/method_insta.png');
}
.cards-container.gallery-about .card.about .links .link-web {
    background-image: url('/assets/images/social/method_web.png');
}
.cards-container.gallery-about .card.about .links .link-lnk {
    background-image: url('/assets/images/social/method_link.png');
}
.cards-container.gallery-about .card.about .links .link-tw {
    background-image: url('/assets/images/social/method_twitter.png');
}
.cards-container.gallery-about .card.about .links .link-yt {
    background-image: url('/assets/images/social/method_yt.png');
}
.cards-container.gallery-about .card.about .links .link-tg {
    background-image: url('/assets/images/social/method_tg.png');
}
.cards-container.gallery-about .card.about .links .link-tt {
    background-image: url('/assets/images/social/method_tiktok.png');
}

@media screen and (max-width: 850px) {
    .cards-container.gallery-about .card.about .contacts {
        margin-bottom: 40px;
    }

    .cards-container.gallery-about .card.about .schedule .schedule-first {
        margin-bottom: 15px;
    }
}
/* endregion */

/* region about-actions */
.cards-container.gallery-about .card.about .actions {
    position: absolute;
    bottom: 20px;
    width: calc(100% - 40px);
    display: flex;
    flex-direction: row;
    gap: 0px;
    justify-content: space-between;
}

.cards-container.gallery-about .card.about .actions .reviews {
    display: flex;
    gap: 8px;
}

.cards-container.gallery-about .card.about .actions .reviews > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cards-container.gallery-about .card.about .actions .reviews .average {
    font-weight: 600;
    font-size: 30px;
    line-height: 36px;
    color: #2F4048;
}

.cards-container.gallery-about .card.about .actions .reviews .stars {
    background-image: url('/assets/images/profile/stars.png');
    background-size: 72px;
    background-repeat: no-repeat;
    background-position: 0 -12px;
    width: 72px;
    height: 12px;
}

.cards-container.gallery-about .card.about .actions .reviews .stars:after {
    display: block;
    content: '';
    background-image: url('/assets/images/profile/stars.png');
    background-size: 72px;
    background-repeat: no-repeat;
    background-position: 0 0;
    width: var(--stars);
    height: 12px;
}

.cards-container.gallery-about .card.about .actions .reviews .count {
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    color: #2F80ED;
    margin-top: 4px;
}

.cards-container.gallery-about .card.about .actions .reviews .count.empty {
    color: #C4C4C4;
}

.cards-container.gallery-about .card.about .actions .reviews .count:hover {
    text-decoration: underline;
}

.cards-container.gallery-about .card.about .actions .contacts-buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
}

.cards-container.gallery-about .card.about .actions .contacts-buttons .chat > a {
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    background-color: #E8F2FF;
    background-image: url('/assets/images/profile/chat.png');
    background-size: 22px;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.cards-container.gallery-about .card.about .actions .contacts-buttons .chat > a:hover {
    background-color: #D7E9FF;
}
.cards-container.gallery-about .card.about .actions .contacts-buttons .chat {
   position: relative;
}
.cards-container.gallery-about .card.about .actions .contacts-buttons .chat .mobile-ways {
    position: absolute;
    top: 0;
    left: 0;
    padding: 16px 20px;
    background: #FFFFFF;
    box-shadow: 0px 2px 8px rgb(6 41 82 / 8%), 0px 20px 32px rgb(6 41 82 / 20%);
    border-radius: 10px;
    list-style: none;
    margin: 0;
    z-index: 1;
    display: grid;
    grid-template-columns: 70px 70px 70px;
    align-items: center;
    gap: 5px;
}
.cards-container.gallery-about .card.about .actions .contacts-buttons.contacts-fixed .chat .mobile-ways {
    top: -55px;
}

.cards-container.gallery-about .card.about .actions .contacts-buttons .chat.collapsed .mobile-ways {
    display: none;
}

.cards-container.gallery-about .card.about .actions .contacts-buttons .chat .mobile-ways a .desc{
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    text-align: center;
    color: #2F4048;
    margin-top: 4px;
}
.cards-container.gallery-about .card.about .actions .contacts-buttons .chat .mobile-ways a {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cards-container.gallery-about .card.about .actions .contacts-buttons .chat .mobile-ways a .icon {
    float: left;
    position: relative;
    height: 42px;
    width: 42px;
    background-size: 42px 42px;
    border-radius: 21px;
    background-position: center;
    background-repeat: no-repeat;
}
.cards-container.gallery-about .card.about .actions .contacts-buttons .chat .mobile-ways a.whatsapp .icon {
    background-image: url(/assets/images/mobile/soc-icons_6.png);
}
.cards-container.gallery-about .card.about .actions .contacts-buttons .chat .mobile-ways a.viber .icon {
    background-image: url(/assets/images/mobile/soc-icons_7.png);
}
.cards-container.gallery-about .card.about .actions .contacts-buttons .chat .mobile-ways a.chat .icon {
    background-image: url(/assets/images/profile/chat.png);
    background-color: #E8F2FF;
    background-size: 22px;
}

.cards-container.gallery-about .card.about .actions .contacts-buttons .booking > a {
    width: 230px;
    height: 50px;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(90deg, #068CFE 0%, #3254BC 100%);
}

.cards-container.gallery-about .card.about .actions .contacts-buttons .booking > a:hover {
    background: linear-gradient(90deg, #3254BC 0%, #068CFE 100%);
}

@media screen and (min-width: 851px) {
    .cards-container.gallery-about .card.about .actions .contacts-buttons.contacts-fixed {
        display: none;
    }
}

@media screen and (max-width: 850px) {
    .cards-container.gallery-about .card.about .actions {
        position: absolute;
        bottom: 15px;
        flex-direction: column;
        gap: 15px;
    }

    .cards-container.gallery-about .card.about .actions .reviews .average {
        font-weight: 600;
        font-size: 24px;
        line-height: 29px;
    }

    .cards-container.gallery-about .card.about .actions .contacts-buttons {
        gap: 15px;
    }

    .cards-container.gallery-about .card.about .actions .contacts-buttons.contacts-fixed {
        position: fixed;
        bottom: 0;
        width: 100%;
        z-index: 2;
        left: 0;
        padding: 15px 20px;
        transition-duration: 0.5s;
        background-color: #FFFFFF;
        box-shadow: 0px -6px 15px rgba(0, 0, 0, 0.12);
        border-radius: 20px 20px 0px 0px;
    }

    .cards-container.gallery-about .card.about .actions .contacts-buttons.contacts-fixed.bottom-hidden {
        bottom: -70px;
    }

    .cards-container.gallery-about .card.about .actions .contacts-buttons .booking > a {
        width: 180px;
        height: 40px;
        font-weight: 700;
        font-size: 14px;
    }

    .cards-container.gallery-about .card.about .actions .contacts-buttons .chat > a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-size: 16px;
    }
}
/* endregion */

/* region description */
.card.description {
    display: flex;
    gap: 20px;
}

.card.description .text {
    flex: 3;
}

.card.description .text div {
    display: block;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 17px;
    position: relative;
    -webkit-user-select: text;
    user-select: text;
}

.card.description .text div + .show-description {
    display: none;
}

.card.description .text div.collapsed {
    max-height: 170px;
}

.card.description .text div.collapsed:after {
    display: block;
    content: '';
    height: 34px;
    width: 100%;
    background-image: linear-gradient(0deg, #ffffff 40%, rgba(255,255,255,0));
    background-size: contain;
    background-repeat: no-repeat;
    background-position: initial;
    position: absolute;
    bottom: 0;
    right: 0;
}

.card.description .text div.collapsed + .show-description {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: block;
    z-index: 1;
    color: #2f80ed;
    font-size: 14px;
}

.card.description .map {
    flex: 2;
}

.card.description .map > div {
    height: 155px;
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    z-index: 0;
}

.modal.modal-map .modal-dialog {
    width: 940px;
    max-width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    margin-top: 50px;
}

.modal.modal-map .modal-body {
    padding: 0;
    width: 940px;
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 90px);
    height: 640px;
    overflow: hidden;
}

.modal.modal-map .modal-body > div {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.modal.modal-map .modal-body > div > ymaps > ymaps > ymaps,
.modal.modal-map .modal-body > div > ymaps > ymaps,
.modal.modal-map .modal-body > div > ymaps {
    z-index: 100;
}

.modal.modal-map .modal-content .close {
    display: block;
    position: absolute;
    right: -32px;
    top: -32px;
    width: 32px;
    height: 32px;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 32px;
    line-height: 32px;
    text-align: center;
    font-weight: 100;
    color: #FFF;
    text-shadow: 0 1px 0 #000;
    cursor: pointer;
    opacity: 1;
}

.modal.modal-map .modal-content {
    border-radius: 12px;
}

.card.description .map .ymaps-2-1-79-copyright__agreement,
.card.description + .modal-map .ymaps-2-1-79-copyright__agreement {
    display: none;
}

.card.description .map .ymaps-2-1-79-gototech,
.card.description + .modal-map .ymaps-2-1-79-gototech {
    display: none;
}

@media screen and (max-width: 850px) {
    .card.description {
        flex-direction: column;
    }

    .card.description .text div.collapsed + .show-description {
        bottom: 235px;
        left: 15px;
    }
}
/* endregion */

/* region promo */
.card.promos {
}

.card.promos .promos {
    display: flex;
    gap: 0px;
}

@media (hover: hover) {
    .card.promos .promos .item:hover {
        box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.2);
    }
}

.card.promos .item {
    height: 200px;
    min-width: 290px;
    width: 290px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    background-position: 0 -50px;
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
    border: 1px solid #E1EAF5;
}

.card.promos .item .discount {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 50px;
    height: 30px;
    background: #FF353A;
    border-radius: 10px;
    color: white;
    line-height: 30px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.card.promos .item .date-to,
.card.promos .item .stats {
    position: absolute;
    bottom: 55px;
    height: 23px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    line-height: 23px;
    text-align: center;
    padding: 0 15px;
    font-size: 12px;
    color: #333333;
    font-weight: 500;
}

.card.promos .item .date-to {
    left: 5px;
}

.card.promos .item .stats {
    right: 5px;
}

.card.promos .item .stats .views,
.card.promos .item .stats .records {
    display: inline-block;
    padding-left: 19px;
    background-position: 3px center;
    background-repeat: no-repeat;
}

.card.promos .item .stats .views {
    background-image: url("/assets/images/icon-promo-views.png");
    background-size: 14px;
}

.card.promos .item .stats .records {
    background-image: url("/assets/images/icon-promo-records.png");
    background-size: 12px;
}

.card.promos .item .details {
    height: 51px;
    background: #FFFFFF;
    position: absolute;
    bottom: -1px;
    width: 101%;
    display: flex;
    flex-direction: column;
    padding: 10px;
    gap: 10px;
}

.card.promos .item .details > div {
    height: 35px;
}

.card.promos .item .promo-name {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-weight: bold;
    font-size: 14px;
    color: #2F4048;
}

@media screen and (max-width: 400px) {
    .card.promos .item {
        min-width: 260px;
        width: 260px;
    }
}
/* endregion */

/* region certificate */
.card.certificates {
    background: url(/assets/images/bg-certificate.svg) 30% 0% / 1400px auto no-repeat, linear-gradient(90deg, #ECF0FF 0%, #FFE6E6 100%)
}

.card.certificates .certificates {
    display: flex;
    gap: 0px;
}

@media (hover: hover) {
    .card.certificates .certificates .item:hover {
        box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.2);
    }
}

.card.certificates .item {
    height: 250px;
    min-width: 290px;
    width: 290px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    margin-bottom: 5px;
}

.card.certificates .item .discount {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 50px;
    height: 30px;
    background: #FF353A;
    border-radius: 10px;
    color: white;
    line-height: 30px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.card.certificates .item .used-for {
    position: absolute;
    bottom: 80px;
    left: 5px;
    height: 23px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    line-height: 23px;
    text-align: center;
    padding: 0 15px;
    font-size: 12px;
    color: #333333;
    font-weight: 500;
}

.card.certificates .item .details {
    height: 75px;
    background: #FFFFFF;
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px;
    gap: 10px;
}

.card.certificates .item .details > div {
    height: 35px;
}

.card.certificates .item .certificate-name {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-weight: bold;
    font-size: 14px;
    color: #2F4048;
    text-transform: capitalize;
}
.card.certificates .item .certificate-price {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #2F4048;
    max-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card.certificates .item .certificate-duration {
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    color: #8A99A0;
}

@media screen and (max-width: 400px) {
    .card.certificates .item {
        min-width: 260px;
        width: 260px;
    }
}
/* endregion */

/* region masters */
.card.masters {
}

.card.masters .nr-rename {
    display: none;
}

.card.masters .list .master {
    flex-basis: calc(25% - 12px);;
    background: #FFFFFF;
    border: 1px solid #E1EAF5;
    border-radius: 12px;
    padding: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    height: 150px;
}

.card.masters .list .master.can-book {
    height: 188px;
}

.card.masters .list .master .details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: flex-start;
    max-height: 125px;
    text-align: center;
}

@media (hover: hover) {
    .card.masters .list .master:hover {
        box-shadow: 0px 0px 20px rgba(62, 61, 69, 0.1);
    }
}

.card.masters .list .master .name {
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
    color: #2F4048;
    max-height: 34px;
    overflow: hidden;
}

.card.masters .list .master .title {
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    color: #8A99A0;
    overflow: hidden;
    max-height: 17px;
}

.card.masters .list .master img {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    border-radius: 50%;
    margin-bottom: 4px;
}

.card.masters .list .master .book {
    padding: 5px 12px 7px;
    height: 27px;
    background: #EEEEEF;
    border-radius: 50px;
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    line-height: 15px;
    color: #017EF4;
}

.card.masters .list .master .book:hover {
    background: #E8F2FF;
}

.page-content-profile .card.masters .swiper-button-prev,
.page-content-profile .card.masters .swiper-button-next {
    top: 150px;
}

@media screen and (max-width: 850px) {
    .card.masters .list .master {
        flex-basis: calc(33% - 9px);
    }
}

@media screen and (max-width: 640px) {
    .card.masters .list .master {
        flex-basis: calc(50% - 8px);
    }
}

@media screen and (max-width: 360px) {
    .card.masters .list .master {
        flex-basis: 100%;
    }
}
/* endregion */

/* region services */
.card.services .personal .list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
}

.card.services .personal .nr-rename {
    display: none;
}

.card.services .personal .list .service {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
}

.card.services .personal .list .service img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    margin-right: 10px;
}

.card.services .personal .list .service img.mobile {
    display: none;
}

.card.services .personal .list .service .about {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0px;
    align-items: flex-start;
    justify-content: center;
    padding-right: 20px;
}

.card.services .personal .list .service .about .title {
    font-weight: 700;
    font-size: 14px;
    color: #2F4048;
    margin-bottom: 4px;
}

.card.services .personal .list .service:hover .about a.title {
    color: #2F80ED;
}

.card.services .personal .list .service .about a.title:hover {
    text-decoration: underline;
}

.card.services .personal .list .service .about .type {
    font-weight: 500;
    font-size: 14px;
    color: #8A99A0;
}

.card.services .personal .list .service .details,
.card.services .personal .list .service .text-details {
    display: flex;
}

.card.services .personal .list .service .text-details {
    flex-wrap: wrap;
    overflow: hidden;
}

.card.services .personal .list .service .details .price {
    width: 110px;
    text-align: left;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    color: #2F4048;
    margin-right: 10px;
}

.card.services .personal .list .service .details .time {
    width: 90px;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    color: #2F4048;
    margin-right: 20px;
    text-align: left;
}

.card.services .personal .list .service .details .book a {
    padding: 5px 12px 7px;
    width: 91px;
    height: 27px;
    background: #EEEEEF;
    border-radius: 50px;
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    line-height: 15px;
    color: #017EF4;
}

.card.services .personal .list .service .details .book a:hover {
    background: #E8F2FF;
}

.card.services .show-more + .group,
.card.services .personal + .group {
    margin-top: 20px;
    position: relative;
}

.card.services .group .list {
    display: flex;
    flex-direction: row;
    gap: 0;
}

.card.services .group .list .service {
    width: 290px;
    height: 265px;
    background: #FFFFFF;
    border: 1px solid #E1EAF5;
    border-radius: 12px;
    padding: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    cursor: pointer;
}

@media (hover: hover) {
    .card.services .group .list .service:hover {
        box-shadow: 0px 0px 20px rgb(62 61 69 / 10%);
    }
}

.card.services .group .list .service .icon {
    width: 290px;
    height: 152px;
    border-radius: 12px 12px 0px 0px;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;
    left: -11px;
    top: -11px;
}

.card.services .group .list .service .texts {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.card.services .group .list .service .texts .title {
    font-weight: 700;
    font-size: 14px;
    color: #2F4048;
}

.card.services .group .list .service .texts .details {
    font-weight: 500;
    font-size: 14px;
    color: #2F4048;
    display: flex;
    gap: 10px;
}

.card.services .group .list .service .slots {
    height: 27px;
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: flex-start;
    justify-content: flex-end;
}

.card.services .group .list .service .slots div {
    padding: 5px 12px 7px;
    height: 27px;
    background: #EEEEEF;
    border-radius: 50px;
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    line-height: 15px;
    color: #017EF4;
}

.card.services .group .list .service .slots div:hover {
    background: #E8F2FF;
}

@media screen and (max-width: 850px) {
    .card.services {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .card.services h3 {
        margin-bottom: 18px;
    }

    .card.services h3 .count {
        display: none;
    }

    .card.services .personal .list {
        gap: 19px;
    }

    .card.services .personal .list .service {
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
    }

    .card.services .personal .list .service img.mobile {
        display: block;
    }

    .card.services .personal .list .service img.desktop {
        display: none;
    }

    .card.services .personal .list .service .about {
        flex-direction: row;
        align-items: center;
    }

    .card.services .personal .list .service .about .title {
        font-weight: 700;
        font-size: 14px;
        line-height: 16px;
        display: block;
        max-height: 32px;
        overflow: hidden;
    }

    .card.services .personal .list .service .details {
        width: 100%;
        justify-content: space-between;
    }

    .card.services .personal .list .service .details .price {
        width: auto;
        margin-right: 15px;
        white-space: nowrap;
        text-align: left;
        display: flex;
        align-items: center;

        font-weight: 500;
        font-size: 14px;
        line-height: 15px;
    }

    .card.services .personal .list .service .details .time {
        width: auto;
        margin-right: 0;
        min-width: 55px;
        text-align: left;
        display: flex;
        align-items: center;

        font-weight: 500;
        font-size: 14px;
        line-height: 15px;
    }

    .card.services .personal .list .service .details .book a {
        width: auto;
        float: right;
    }

    .card.services .show-more .btn {
        margin-top: 0;
        height: 40px;
        line-height: 25px;
    }

    .card.services .personal .list .service .text-details {
        margin-top: 6px;
        max-height: 14px;
    }

    .card.services .group .list .service .slots .slot {
        font-size: 10px;
    }
}

@media screen and (max-width: 400px) {
    .card.services .group .list .service,
    .card.services .group .list .service .icon {
        min-width: 260px;
        width: 260px;
    }
}
/* endregion */

/* region examples */
.card.examples .list {
    display: flex;
    flex-direction: row;
    gap: 0;
    align-items: flex-start;
    justify-content: flex-start;
}

.card.examples .list .example {
    display: block;
    min-width: 168px;
    width: 168px;
    height: 168px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: initial;
    border-radius: 12px;
}
/* endregion */

/* region reviews */
.card.reviews .card-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.card.reviews .card-header .actions {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: flex-start;
    justify-content: flex-start;
}

.card.reviews .card-header .actions > a {
    display: inline-flex;
    align-items: center;
    font-weight: 400;
    font-size: 14px;
    line-height: 15px;
    color: #2F4048;
}

.card.reviews .card-header .actions > a:hover {
    color: #017EF4;
}

.card.reviews .card-header .actions > a:before {
    content: '';
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: initial;
    width: 17px;
    height: 16px;
    margin-right: 8px;
}

.card.reviews .card-header .actions > a.action-review:before {
    background-image: url('/assets/images/profile/action-review.svg');
}

.card.reviews .card-header .actions > a.action-report:before {
    background-image: url('/assets/images/profile/action-report.svg')
}

.card.reviews .card-header .actions .review-tooltip {
    display: flex;
    position: absolute;
    background: #FFFFFF;
    box-shadow: 0px 2px 8px rgba(6, 41, 82, 0.08), 0px 20px 32px rgba(6, 41, 82, 0.2);
    border-radius: 10px;
    top: 10px;
    right: 160px;
    align-items: center;
    padding: 16px 20px;
    gap: 8px;

    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #2F4048;
}

.card.reviews .card-header .actions .review-tooltip:before {
    display: block;
    content: '';
    background-image: url('/assets/images/profile/warning.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    min-width: 16px;
    min-height: 16px;
}

.card.reviews .no-reviews {
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    color: #8A99A0;

    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.card.reviews .reviews-body {
    display: flex;
    flex-direction: row;
    gap: 25px;
    align-items:flex-start;
    align-content:flex-start;
}

.card.reviews .reviews-body .stars-container {
    min-width: 250px;
    background: #FFFFFF;
    border: 1px solid #E1EAF5;
    border-radius: 12px;
    padding: 15px;
    align-self:stretch;
    height: 232px;
}

.card.reviews .reviews-body .stars-container .total {
    background-image: url('/assets/images/profile/stars.png');
    background-size: 107px;
    background-repeat: no-repeat;
    background-position: 0 -18px;
    width: 107px;
    height: 18px;
}

.card.reviews .reviews-body .stars-container .total:after {
    display: block;
    content: '';
    background-image: url('/assets/images/profile/stars.png');
    background-size: 107px;
    background-repeat: no-repeat;
    background-position: 0 0;
    width: var(--stars);
    height: 18px;
}

.card.reviews .reviews-body .stars-container .numbers {
    margin: 10px 0;
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
}

.card.reviews .reviews-body .stars-container .numbers > span > span {
    font-weight: 700;
}

.card.reviews .reviews-body .stars-container .numbers .numbers-rating {
    color: #333333;
}

.card.reviews .reviews-body .stars-container .numbers .numbers-votes {
    color: #8A99A0;
}

.card.reviews .reviews-body .stars-container .details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    justify-content: flex-start;
}

.card.reviews .reviews-body .stars-container .details .rating-details {
    display: flex;
    align-items: center;
    gap: 7px;
}

.card.reviews .reviews-body .stars-container .details .rating-details .stars {
    background-image: url('/assets/images/profile/stars-small.png');
    background-size: 72px;
    background-repeat: no-repeat;
    background-position: 0 -12px;
    width: 72px;
    height: 12px;
}

.card.reviews .reviews-body .stars-container .details .rating-details .stars:after {
    display: block;
    content: '';
    background-image: url('/assets/images/profile/stars-small.png');
    background-size: 72px;
    background-repeat: no-repeat;
    background-position: 0 0;
    width: var(--stars);
    height: 12px;
}

.card.reviews .reviews-body .stars-container .details .rating-details .bar {
    display: block;
    height: 4px;
    width: 115px;
    border-radius: 2px;
    background-image: linear-gradient(90deg, #FFAE34 var(--fill), #DBDBF0 var(--fill));
}

.card.reviews .reviews-body .stars-container .details .rating-details .number {
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #8A99A0;
}

.card.reviews .reviews-body .texts {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
    justify-content: flex-start;
    width: calc(100% - 295px);
}

.card.reviews .reviews-body .texts .review {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.card.reviews .reviews-body .texts .review .header {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}

.card.reviews .reviews-body .texts .review .header .client {
    display: flex;
    flex-direction: row;
    gap: 6px;
    align-items: flex-start;
    justify-content: flex-start;
}

.card.reviews .reviews-body .texts .review .header .client img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.card.reviews .reviews-body .texts .review .header .client .details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    height: 36px;
}

.card.reviews .reviews-body .texts .review .header .client .name {
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
    color: #2F4048;
}

.card.reviews .reviews-body .texts .review .header .client .date {
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    color: #8A99A0;
    text-transform: lowercase;
}

.card.reviews .reviews-body .texts .review .header .rating {
    background-image: url('/assets/images/profile/stars-small.png');
    background-size: 72px;
    background-repeat: no-repeat;
    background-position: 0 -12px;
    width: 72px;
    height: 12px;
}

.card.reviews .reviews-body .texts .review .header .rating:after {
    display: block;
    content: '';
    background-image: url('/assets/images/profile/stars-small.png');
    background-size: 72px;
    background-repeat: no-repeat;
    background-position: 0 0;
    width: var(--stars);
    height: 12px;
}

.card.reviews .reviews-body .texts .review .text {
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: #2F4048;
}

.card.reviews .reviews-body .texts .review .text {
    position: relative;
    overflow-wrap: break-word;
}

.card.reviews .reviews-body .texts .review .text .show-description {
    display: none;
}

.card.reviews .reviews-body .texts .review .text .collapsed {
    max-height: 60px;
    overflow: hidden;
}

.card.reviews .reviews-body .texts .review .text .collapsed:after {
    display: block;
    content: '';
    height: 17px;
    width: 100%;
    background-image: linear-gradient(0deg, #ffffff 40%, rgba(255,255,255,0));
    background-size: contain;
    background-repeat: no-repeat;
    background-position: initial;
    position: absolute;
    bottom: 0;
    right: 0;
}

.card.reviews .reviews-body .texts .review .text div.collapsed + .show-description {
    position: absolute;
    bottom: -10px;
    left: 0;
    display: block;
    z-index: 1;
    color: #2f80ed;
    font-size: 14px;
}

.card.reviews .reviews-body .texts .review .images {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.card.reviews .reviews-body .texts .review .images > a {
    min-width: 36px;
    min-height: 36px;
    display: block;
    border-radius: 5px;
    overflow: hidden;
}

.card.reviews .reviews-body .texts .review .images > a img {
    max-width: 100%;
    max-height: 100%;
    margin: auto;
}

.card.reviews .reviews-body .texts .review .response {
    margin-left: 42px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.card.reviews .reviews-body .texts .review .response:before {
    content: '';
    display: block;
    width: 18px;
    height: 20px;
    position: absolute;
    left: -23px;
    background-image: url('/assets/images/profile/reply.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.card.page-reviews .reviews-body .texts .reviews-container .show-more .btn {
    position: relative;
    right: 150px;
}

@media screen and (max-width: 650px) {
    .card.reviews .card-header {
        flex-direction: column;
        margin-bottom: 14px;
    }

    .card.reviews .reviews-body {
        flex-direction: column;
    }

    .card.reviews .reviews-body .texts {
        width: 100%;
    }

    .card.reviews .card-header .actions > a {
        font-weight: 600;
        font-size: 14px;
    }

    .card.reviews .reviews-body .texts .review .text {
        font-weight: 400;
        font-size: 14px;
        line-height: 24px;
    }

    .card.reviews .show-more .btn {
        height: 40px;
        line-height: 40px;
        padding: 0;
    }

    .card.page-reviews .reviews-body .texts .reviews-container .show-more .btn {
        right: 0px;
    }
}
/* endregion */

/* Отдельные страницы с деталями о компании */

/* region page-masters */

.filters.masters form {
    display: flex;
    gap: 20px;
}

.filters.masters .search-input {
    width: 35%;
    position: relative;
}

.filters.masters .search-input .search {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 40px;
    background-color: #E6F1FF;
    background-image: url(/assets/images/icon-search.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 14px;
    border-radius: 0px 12px 12px 0px;
}

.filters.masters select,
.filters.masters .bootstrap-select {
    max-width: 20%;
}

.filters.masters input,
.filters.masters .dropdown-toggle {
    background-color: white;
    border: none;
    border-radius: 12px;
    height: 40px;
    font-size: 14px;
}

.filters.masters input::placeholder {
    font-size: 14px;
}

.card.item-masters {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    height: auto;
}

.card.item-masters .master {
    flex-basis: calc(25% - 12px);
    background: #FFFFFF;
    border: 1px solid #E1EAF5;
    border-radius: 12px;
    padding: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    height: 150px;
}

.card.item-masters .master .details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: flex-start;
    max-height: 125px;
    text-align: center;
}

.card.item-masters .master.can-book {
    height: 188px;
}

.card.item-masters .master img {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    border-radius: 50%;
    margin-bottom: 4px;
}

.card.item-masters .master .name {
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
    color: #2F4048;
    max-height: 34px;
    overflow: hidden;
}

.card.item-masters .master .title {
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    color: #8A99A0;
    overflow: hidden;
    max-height: 17px;
}

.card.item-masters .master .book:hover {
    background: #E8F2FF;
}
.card.item-masters .master .book {
    padding: 5px 12px 7px;
    height: 27px;
    background: #EEEEEF;
    border-radius: 50px;
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    line-height: 15px;
    color: #017EF4;
}

@media screen and (max-width: 850px) {
    .filters.masters .search-input {
        width: 70%;
        position: relative;
    }

    .filters.masters select,
    .filters.masters .bootstrap-select {
        max-width: 30%;
        position: relative;
    }
}

@media screen and (max-width: 650px) {
    .filters.masters form {
        gap: 20px;
        flex-wrap: wrap;
    }

    .filters.masters .search-input {
        width: 100%;
    }

    .filters.masters select,
    .filters.masters .bootstrap-select {
        max-width: 100%;
    }

    .card.item-masters .master {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .card.item-masters .master .info .photo {
        min-width: 72px;
        min-height: 72px;
    }

    .card.item-masters .master .actions {
        width: 100%;
    }

    .card.item-masters .master .actions .sw-btn {
        margin-right: 0;
        margin-left: 36px;
        width: calc(100% - 36px);
    }

    .card.item-masters .master .actions .favorite {
        left: 0;
        right: auto;
    }
}

@media screen and (max-width: 850px) {
    .card.item-masters .master {
        flex-basis: calc(33% - 9px);
    }
}

@media screen and (max-width: 640px) {
    .card.item-masters .master {
        flex-basis: calc(50% - 8px);
    }
}

@media screen and (max-width: 360px) {
    .card.item-masters .master {
        flex-basis: 100%;
    }
}
/* endregion */

/* region page-master */
.cards-container.master-gallery-about {
    max-width: 940px;
    width: calc(100% - 40px);
    display: flex;
    gap: 20px;
    margin-bottom: 5px;
}

.cards-container.master-gallery-about .card.gallery {
    padding: 0;
    height: 340px;
    width: 340px;
    max-height: calc(100vw - 40px); /* vw - не опечатка */
    max-width: calc(100vw - 40px);
}

.cards-container.master-gallery-about .card.gallery a {
    width: 100%;
    height: 100%;
    display: block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cards-container.master-gallery-about .card.about {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.cards-container.master-gallery-about .card.about .info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cards-container.master-gallery-about .card.about .info .details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    justify-content: center;
}

.cards-container.master-gallery-about .card.about .info .details .title {
    font-weight: 600;
    font-size: 24px;
    line-height: 29px;
    color: #333333;
}

.cards-container.master-gallery-about .card.about .info .details .post {
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #8A99A0;
}

.cards-container.master-gallery-about .card.about .info .description {
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    overflow: hidden;
}

.cards-container.master-gallery-about .card.about .info .description-container {
    position: relative;
}

.cards-container.master-gallery-about .card.about .info .show-description {
    display: none;
}

.cards-container.master-gallery-about .card.about .info .description.collapsed {
    max-height: 76px;
}

.cards-container.master-gallery-about .card.about .info .description.collapsed:after {
    display: block;
    content: '';
    height: 34px;
    width: 100%;
    background-image: linear-gradient(0deg, #ffffff 40%, rgba(255,255,255,0));
    background-size: contain;
    background-repeat: no-repeat;
    background-position: initial;
    position: absolute;
    bottom: 0;
    right: 0;
}

.cards-container.master-gallery-about .card.about .info .description.collapsed + .show-description {
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    z-index: 1;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    color: #017EF4;
}

.cards-container.master-gallery-about .card.about .info .favorite {
    position: absolute;
    top: 20px;
    right: 20px;
}

.cards-container.master-gallery-about .card.about .examples {
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    color: #2F4048;
    width: 100%;
}

.cards-container.master-gallery-about .card.about .examples h4 {
    font-size: 16px;
    font-weight: 700;
}

.cards-container.master-gallery-about .card.about .examples h4 .count {
    color: #8A99A0;
}

.cards-container.master-gallery-about .card.about .examples a.image {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@media screen and (max-width: 850px) {
    .cards-container.master-gallery-about .card.gallery {
        height: 440px;
        width: 440px;
    }

    .cards-container.master-gallery-about {
        flex-direction: column;
        align-items: center;
    }

    .cards-container.master-gallery-about .card.about {
        flex: none;
        height: auto;
        width: 100%;
    }

    .cards-container.master-gallery-about .card.about .info .details {
        max-height: 50px;
        display: block;
        overflow: hidden;
    }

    .cards-container.master-gallery-about .card.about .info .details .title {
        font-weight: 700;
        font-size: 16px;
        line-height: 17px;
        margin-right: 28px;
        max-height: 34px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .cards-container.master-gallery-about .card.about .info .details .post {
        font-weight: 400;
        font-size: 14px;
        line-height: 15px;
        margin-right: 28px;
        max-height: 30px;
        overflow: hidden;
        margin-top: 4px;
    }
}
/* endregion */

/* region page-reviews */
.card.page-reviews {
}

.card.page-reviews .reviews-body {
    display: flex;
    flex-direction: row;
    gap: 25px;
    align-items:flex-start;
    align-content:flex-start;
}

.card.page-reviews .reviews-body .stars-container {
    min-width: 270px;
    background: #FFFFFF;
    border: 1px solid #E1EAF5;
    border-radius: 12px;
    padding: 15px;
    align-self:stretch;
    height: 232px;
}

.card.page-reviews .reviews-body .stars-container .total {
    background-image: url('/assets/images/profile/stars.png');
    background-size: 107px;
    background-repeat: no-repeat;
    background-position: 0 -18px;
    width: 107px;
    height: 18px;
}

.card.page-reviews .reviews-body .stars-container .total:after {
    display: block;
    content: '';
    background-image: url('/assets/images/profile/stars.png');
    background-size: 107px;
    background-repeat: no-repeat;
    background-position: 0 0;
    width: var(--stars);
    height: 18px;
}

.card.page-reviews .reviews-body .stars-container .numbers {
    margin: 10px 0;
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
}

.card.page-reviews .reviews-body .stars-container .numbers > span > span {
    font-weight: 700;
}

.card.page-reviews .reviews-body .stars-container .numbers .numbers-rating {
    color: #333333;
}

.card.page-reviews .reviews-body .stars-container .numbers .numbers-votes {
    color: #8A99A0;
}

.card.page-reviews .reviews-body .stars-container .details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    justify-content: flex-start;
}

.card.page-reviews .reviews-body .stars-container .details .rating-details {
    display: flex;
    align-items: center;
    gap: 7px;
}

.card.page-reviews .reviews-body .stars-container .details .rating-details .stars {
    background-image: url('/assets/images/profile/stars-small.png');
    background-size: 72px;
    background-repeat: no-repeat;
    background-position: 0 -12px;
    width: 72px;
    height: 12px;
}

.card.page-reviews .reviews-body .stars-container .details .rating-details .stars:after {
    display: block;
    content: '';
    background-image: url('/assets/images/profile/stars-small.png');
    background-size: 72px;
    background-repeat: no-repeat;
    background-position: 0 0;
    width: var(--stars);
    height: 12px;
}

.card.page-reviews .reviews-body .stars-container .details .rating-details .bar {
    display: block;
    height: 4px;
    width: 115px;
    border-radius: 2px;
    background-image: linear-gradient(90deg, #FFAE34 var(--fill), #DBDBF0 var(--fill));
}

.card.page-reviews .reviews-body .stars-container .details .rating-details .number {
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #8A99A0;
}

.card.page-reviews .reviews-body .leave-review {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0px;
    align-items: center;
    justify-content: center;
    border: 1px solid #E1EAF5;
    border-radius: 12px;
    padding: 20px;
}

.card.page-reviews .reviews-body .leave-review h3 {
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    color: #2F4048;
    margin-bottom: 15px;
}

.card.page-reviews .reviews-body .leave-review .logo {
    width: 68px;
    height: 68px;
    border-radius: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 5px;
}

.card.page-reviews .reviews-body .leave-review .title {
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    color: #2F4048;
    margin-bottom: 10px;
}

.card.page-reviews .reviews-body .leave-review .stars {
    margin-bottom: 20px;
    display: flex;
    gap: 7px;
}

.card.page-reviews .reviews-body .leave-review .stars input + label {
    background-image: url('/assets/images/profile/star.png');
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: 0 0px;
    width: 30px;
    height: 30px;
}

.card.page-reviews .reviews-body .leave-review .stars input:checked + label ~ label {
    background-position: 0 -30px;
}

.card.page-reviews .reviews-body .leave-review .stars input + label:before {
    content: none;
}

.card.page-reviews .reviews-body .leave-review .stars:after {
    display: block;
    content: '';
    background-image: url('/assets/images/profile/stars.png');
    background-size: 180px;
    background-repeat: no-repeat;
    background-position: 0 0;
    width: var(--stars);
    height: 30px;
}

.card.page-reviews .reviews-body .leave-review textarea {
    width: 100%;
    height: 90px;
    padding: 10px;
    margin-bottom: 15px;
}

.card.page-reviews .reviews-body .leave-review .upload {
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
}

.card.page-reviews .reviews-body .leave-review .upload .add-new {
    min-width: 50px;
    height: 50px;
    background-color: #EEEEEF;
    background-image: url('/assets/images/profile/upload.png');
    background-size: 24px 20px;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 8px;
    cursor: pointer;
}

.card.page-reviews .reviews-body .leave-review .upload .images {
    margin-bottom: 0;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
    padding-left: 0;
}

.card.page-reviews .reviews-body .leave-review .upload .images > li {
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
}

.card.page-reviews .reviews-body .leave-review .upload .images > li:after {
    display: none;
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/profile/remove.png');
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    content: '';
    background-color: rgba(0, 0, 0, 0.4);
}

.card.page-reviews .reviews-body .leave-review .upload .images > li:hover:after {
    display: block;
}

.card.page-reviews .reviews-body .leave-review .btn {
    width: 215px;
    background: linear-gradient(90deg, #068CFE 0%, #3254BC 100%);
    border-radius: 10px;
    height: 40px;
    padding: 0;
    line-height: 40px;
}

.card.page-reviews .reviews-body .leave-review .btn:hover {
    background: linear-gradient(270deg, #068CFE 0%, #3254BC 100%);
}

.card.page-reviews .reviews-body .leave-review .warning {
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    color: #FF353A;
    margin-bottom: 15px;
}

.card.page-reviews .reviews-body .texts {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
    justify-content: flex-start;
    width: calc(100% - 295px);
}

.card.page-reviews .reviews-body .texts .reviews-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.card.page-reviews .reviews-body .texts .reviews-container .no-reviews {
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    color: #8A99A0;

    display: flex;
    width: 100%;
    height: 230px;
    align-items: center;
    justify-content: center;
}

.card.page-reviews .reviews-body .texts .review {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.card.page-reviews .reviews-body .texts .review .header {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}

.card.page-reviews .reviews-body .texts .review .header .client {
    display: flex;
    flex-direction: row;
    gap: 6px;
    align-items: flex-start;
    justify-content: flex-start;
}

.card.page-reviews .reviews-body .texts .review .header .client img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.card.page-reviews .reviews-body .texts .review .header .client .details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    height: 36px;
}

.card.page-reviews .reviews-body .texts .review .header .client .name {
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
    color: #2F4048;
}

.card.page-reviews .reviews-body .texts .review .header .client .date {
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    color: #8A99A0;
    text-transform: lowercase;
}

.card.page-reviews .reviews-body .texts .review .header .rating {
    background-image: url('/assets/images/profile/stars-small.png');
    background-size: 72px;
    background-repeat: no-repeat;
    background-position: 0 -12px;
    width: 72px;
    height: 12px;
}

.card.page-reviews .reviews-body .texts .review .header .rating:after {
    display: block;
    content: '';
    background-image: url('/assets/images/profile/stars-small.png');
    background-size: 72px;
    background-repeat: no-repeat;
    background-position: 0 0;
    width: var(--stars);
    height: 12px;
}

.card.page-reviews .reviews-body .texts .review .text {
    font-weight: 400;
    font-size: 14px;
    line-height: 15px;
    color: #2F4048;
}

.card.page-reviews .reviews-body .texts .review .text {
    position: relative;
    overflow-wrap: break-word;
}

.card.page-reviews .reviews-body .texts .review .images {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.card.page-reviews .reviews-body .texts .review .images > a {
    min-width: 36px;
    min-height: 36px;
    display: block;
    border-radius: 5px;
    overflow: hidden;
}

.card.page-reviews .reviews-body .texts .review .images > a img {
    max-width: 100%;
    max-height: 100%;
    margin: auto;
}

.card.page-reviews .reviews-body .user-review {
    width: 100%;
}

.card.page-reviews .reviews-body .user-review h3 {
    font-weight: 700;
    font-size: 18px;
    line-height: 130%;
    color: #333333;
    width: 100%;
    margin-bottom: 10px;
}

.card.page-reviews .reviews-body .user-review h3 a.remove-review {
    font-weight: 400;
    font-size: 14px;
    color: #FF353A;
    float: right;
}

.card.page-reviews .reviews-body .user-review h3 a.remove-review:hover {
    text-decoration: underline;
}

.card.page-reviews .reviews-body .user-review .btn-new-review {
    padding: 10px 35px;
    background: #E8F2FF;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    line-height: 140%;
    text-align: center;
    color: #2F4048;
    max-width: 240px;
    margin: auto;
}

.card.page-reviews .reviews-body h3.other-reviews {
    font-weight: 700;
    font-size: 18px;
    line-height: 130%;
    color: #333333;
    width: 100%;
    margin-bottom: -5px;
}

.card.page-reviews .reviews-body .texts .review .response {
    margin-left: 42px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.card.page-reviews .reviews-body .texts .review .response:before {
    content: '';
    display: block;
    width: 18px;
    height: 20px;
    position: absolute;
    left: -23px;
    background-image: url('/assets/images/profile/reply.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@media screen and (max-width: 650px) {
    .card.page-reviews .card-header {
        flex-direction: column;
        margin-bottom: 14px;
    }

    .card.page-reviews .reviews-body {
        flex-direction: column;
    }

    .card.page-reviews .reviews-body .texts {
        display: flex;
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
        justify-content: flex-start;
        width: 100%;
    }
}
/* endregion */

/* region page-services */
.card.item-services {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
}

.filters.services {
    display: flex;
    gap: 20px;
}

.filters.services .search-input {
    width: 35%;
    position: relative;
}

.filters.services .search-input .search {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 40px;
    background-color: #E6F1FF;
    background-image: url(/assets/images/icon-search.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 14px;
    border-radius: 0px 12px 12px 0px;
}

.filters.services select,
.filters.services .bootstrap-select {
    max-width: 20%;
}

.filters.services input,
.filters.services .dropdown-toggle {
    background-color: white;
    border: none;
    border-radius: 12px;
    height: 40px;
    font-size: 14px;
}

.filters.services input::placeholder {
    font-size: 14px;
}

.card.item-services .service {
    width: 100%;
}

.card.item-services .service {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
}

.card.item-services .service img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    margin-right: 10px;
}

.card.item-services .service img.mobile {
    display: none;
}

.card.item-services .service .about {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0px;
    align-items: flex-start;
    justify-content: center;
    padding-right: 20px;
}

.card.item-services .service .about .title {
    font-weight: 700;
    font-size: 14px;
    color: #2F4048;
}

.card.item-services .service:hover .about a.title {
    color: #2F80ED;
}

.card.item-services .service .about a.title:hover {
    text-decoration: underline;
}

.card.item-services .service .about .type {
    font-weight: 500;
    font-size: 14px;
    color: #8A99A0;
}

.card.item-services .service .text-about .details {
    display: none;
}

.card.item-services .service .details,
.card.item-services .service .text-details {
    display: flex;
}

.card.item-services .service .text-details {
    flex-wrap: wrap;
    overflow: hidden;
}

.card.item-services .service .details {
    display: flex;
}

.card.item-services .service .details .price {
    width: 110px;
    text-align: left;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    color: #2F4048;
    margin-right: 10px;
}

.card.item-services .service .details .time {
    width: 90px;
    text-align: left;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    color: #2F4048;
    margin-right: 20px;
}

.card.item-services .service .details .book a {
    padding: 5px 12px 7px;
    width: 91px;
    height: 27px;
    background: #EEEEEF;
    border-radius: 50px;
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    line-height: 15px;
    color: #017EF4;
}

.card.item-services .service .details .book a:hover {
    background: #E8F2FF;
}

@media screen and (max-width: 850px) {
    .card.services {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .card.services h3 {
        margin-bottom: 18px;
    }

    .card.services h3 .count {
        display: none;
    }

    .filters.services .search-input {
        width: 70%;
        position: relative;
    }

    .filters.services select,
    .filters.services .bootstrap-select {
        max-width: 30%;
        position: relative;
    }

    .card.item-services {
        gap: 19px;
    }

    .card.item-services .service {
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
    }

    .card.item-services .service img.mobile {
        display: block;
    }

    .card.item-services .service img.desktop {
        display: none;
    }

    .card.item-services .service .about {
        flex-direction: row;
        align-items: center;
    }

    .card.item-services .service .about .title {
        font-weight: 700;
        font-size: 14px;
        line-height: 16px;
    }

    .card.item-services .service .text-about .details {
        display: flex;
        max-height: 60px;
        overflow: hidden;
    }

    .card.item-services .service .text-about .details .price {
        min-width: 0;
        white-space: nowrap;
    }

    .card.item-services .service .details {
        justify-content: space-between;
        width: 100%;
    }

    .card.item-services .service .details .price {
        width: auto;
        margin-right: 0;
        min-width: 90px;
        text-align: left;
        display: flex;
        align-items: center;

        font-weight: 500;
        font-size: 14px;
        line-height: 15px;
    }

    .card.item-services .service .details .time {
        width: auto;
        margin-right: 0;
        min-width: 55px;
        text-align: left;
        display: flex;
        align-items: center;

        font-weight: 500;
        font-size: 14px;
        line-height: 15px;
    }

    .card.item-services .service .details .book a {
        width: auto;
        float: right;
    }

    .card.item-services .service .text-details {
        max-height: 14px;
        margin-top: 6px;
    }

    .card.services .show-more .btn {
        margin-top: 0;
        height: 40px;
        line-height: 25px;
    }
}

@media screen and (max-width: 650px) {
    .filters.services {
        flex-direction: column;
        gap: 20px;
    }

    .filters.services .search-input {
        width: 100%;
        position: relative;
        height: 40px;
    }

    .profile-wrapper-services .filters.services select,
    .profile-wrapper-services .filters.services .bootstrap-select {
        width: 100%;
        max-width: 100%;
        position: relative;
    }
}
/* endregion */

/* region page-services */
.card.item-examples {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: 12px;
}
.card.item-examples .item {
    position: relative;
    padding-top: 100%;
    width: 100%;
}
.card.item-examples .item a{
    position: absolute;
    top: 0;
    border-radius: 12px;
    width: 100%;
    height: 100%;
    background-size: cover;
}


/* endregion */

/* region page-group-services */
.filters.group-services {
    display: flex;
    gap: 20px;
}

.filters.group-services .search-input {
    width: 35%;
    position: relative;
}

.filters.group-services .search-input .search {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 40px;
    background-color: #E6F1FF;
    background-image: url(/assets/images/icon-search.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 14px;
    border-radius: 0px 12px 12px 0px;
}

.filters.group-services select,
.filters.group-services .bootstrap-select {
    max-width: 20%;
}

.filters.group-services input,
.filters.group-services .dropdown-toggle {
    background-color: white;
    border: none;
    border-radius: 12px;
    height: 40px;
    font-size: 14px;
}

.filters.group-services input::placeholder {
    font-size: 14px;
}

.item-group-services {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: calc(100% - 40px);
    max-width: 940px;
    min-height: calc(100vh - 770px);
}

.item-group-services .service {
    width: 300px;
    height: 265px;
    background: #FFFFFF;
    border: 1px solid #E1EAF5;
    border-radius: 12px;
    padding: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

@media (hover: hover) {
    .item-group-services .service:hover {
        box-shadow: 0px 0px 20px rgb(62 61 69 / 10%);
    }
}

.item-group-services .service .icon {
    width: 300px;
    height: 152px;
    border-radius: 12px 12px 0px 0px;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;
    left: -11px;
    top: -11px;
}

.item-group-services .service .texts {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.item-group-services .service .texts .title {
    font-weight: 700;
    font-size: 14px;
    color: #2F4048;
}

.item-group-services .service .texts .details {
    font-weight: 500;
    font-size: 14px;
    color: #2F4048;
    display: flex;
    gap: 10px;
}

.item-group-services .service .slots {
    height: 27px;
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: flex-start;
    justify-content: flex-end;
    cursor: pointer;
}

.item-group-services .service .slots div {
    padding: 5px 12px 7px;
    height: 27px;
    background: #EEEEEF;
    border-radius: 50px;
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    line-height: 15px;
    color: #017EF4;
}

.item-group-services .service .slots div:hover {
    background: #E8F2FF;
}

@media screen and (max-width: 850px) {
    .filters.group-services .search-input {
        width: 70%;
        position: relative;
    }

    .filters.group-services select,
    .filters.group-services .bootstrap-select {
        max-width: 30%;
        position: relative;
    }
}

@media screen and (max-width: 650px) {
    .filters.group-services {
        flex-direction: column;
        gap: 20px;
    }

    .filters.group-services .search-input {
        width: 100%;
        position: relative;
        height: 40px;
    }

    .profile-wrapper-group-services .filters.group-services select,
    .profile-wrapper-group-services .filters.group-services .bootstrap-select {
        width: 100%;
        max-width: 100%;
        position: relative;
    }
}
/* endregion */

/* region page-service */
.cards-container.service-gallery-about {
    max-width: 940px;
    width: calc(100% - 40px);
    display: flex;
    gap: 20px;
    margin-bottom: 5px;
}

.cards-container.service-gallery-about .card.gallery {
    padding: 0;
    height: 340px;
    width: 340px;
    max-height: calc(100vw - 40px); /* vw - не опечатка */
    max-width: calc(100vw - 40px);
}

.cards-container.service-gallery-about .card.gallery a {
    width: 100%;
    height: 100%;
    display: block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cards-container.service-gallery-about .card.about {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    overflow: initial;
}

@media screen and (min-width: 850px) {
    .cards-container.service-gallery-about .card.about {
        min-width: 0;
    }
}


.cards-container.service-gallery-about .card.about .info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.cards-container.service-gallery-about .card.about .info .details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    justify-content: center;
}

.cards-container.service-gallery-about .card.about .info .details .title {
    font-weight: 600;
    font-size: 20px;
    line-height: 19px;
    color: #333333;
}
@media screen and (max-width: 850px) {
    .cards-container.service-gallery-about .card.about .info .details .title {
        font-size: 18px;
    }
}

.cards-container.service-gallery-about .card.about .info .details .details-2 {
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #8A99A0;
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.cards-container.service-gallery-about .card.about .info .details .category {
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #8A99A0;
}
@media screen and (max-width: 850px) {
    .cards-container.service-gallery-about .card.about .info .details .details-2 {
        font-size: 14px;
    }
    .cards-container.service-gallery-about .card.about .info .details .category {
        font-size: 14px;
    }
}
@media screen and (min-width: 850px) {
    .cards-container.service-gallery-about .card.about .info .description .description-full {
      display: block;
    }
}

.cards-container.service-gallery-about .card.about .info .description {
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    /*overflow: hidden;*/
    position: relative;
}
.cards-container.service-gallery-about .card.about .info .description.collapsed {
    overflow: hidden;
}
.cards-container.service-gallery-about .card.about .info .description .description-full {
    padding: 10px 10px 0 10px ;
    position: absolute;
    top: 0;
    left: 0;
    background: #FFFFFF;
    box-shadow: 0px 2px 8px rgb(6 41 82 / 8%), 0px 20px 32px rgb(6 41 82 / 20%);
    margin: 0;
    border-radius: 10px;
    z-index: 2;
    list-style: none;
    overflow: hidden;
}
.cards-container.service-gallery-about .card.about .info .description .description-full:after {
    display: block;
    content: '';
    height: 42px;
    width: 100%;
    background-image: linear-gradient(0deg, #ffffff 30%, rgba(255,255,255,0));
    background-size: contain;
    background-repeat: no-repeat;
    background-position: initial;
    position: absolute;
    bottom: 0;
    right: 0;
}
.cards-container.service-gallery-about .card.about .info .description .description-full .description-full-content {
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    max-height: 400px;
    overflow: scroll;
    padding-bottom: 20px;
}
.cards-container.service-gallery-about .card.about .info .description .description-full .description-full-content::-webkit-scrollbar{
    width: 5px;
    background-color: rgba(135, 140, 147, 0.08);
}
.cards-container.service-gallery-about .card.about .info .description .description-full .description-full-content::-webkit-scrollbar-thumb{
    border-radius: 10px;
    background-color: #878c9361;
}
.cards-container.service-gallery-about .card.about .info .description.collapsed .description-full {
   display: none;
}

.cards-container.service-gallery-about .card.about .info .description-container {
    position: relative;
}

.cards-container.service-gallery-about .card.about .info .show-description {
    display: none;
}

.cards-container.service-gallery-about .card.about .info .description {
    max-height: 57px;
}
.cards-container.service-gallery-about .card.about .info .description .description-short {
    max-height: 57px;
    overflow-x: auto;
    white-space: nowrap;
}
.cards-container.service-gallery-about .card.about .info .description.more .description-short {
    overflow: hidden;
}

.cards-container.service-gallery-about .card.about .info .description.collapsed.more:after {
    display: block;
    content: '';
    height: 34px;
    width: 100%;
    background-image: linear-gradient(0deg, #ffffff 40%, rgba(255,255,255,0));
    background-size: contain;
    background-repeat: no-repeat;
    background-position: initial;
    position: absolute;
    bottom: -15px;
    right: 0;
}

.cards-container.service-gallery-about .card.about .info .description.collapsed + .show-description {
    position: absolute;
    bottom: -15px;
    left: 0;
    display: block;
    z-index: 1;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    color: #017EF4;
}

.cards-container.service-gallery-about .card.about .info .favorite {
    position: absolute;
    top: 20px;
    right: 20px;
}

.cards-container.service-gallery-about .card.about .examples {
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    color: #2F4048;
    width: 100%;
    overflow: hidden;
    margin-top: 20px;
}

.cards-container.service-gallery-about .card.about .examples h4 {
    font-size: 16px;
    font-weight: 700;
}

.cards-container.service-gallery-about .card.about .examples h4 .count {
    color: #8A99A0;
}

.cards-container.service-gallery-about .card.about .examples a.image {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.profile-wrapper-service .card.masters .list {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    height: auto;
}

@media screen and (max-width: 850px) {
    .cards-container.service-gallery-about {
        flex-direction: column;
        align-items: center;
    }

    .cards-container.service-gallery-about .about {
        width: 100%;
    }

    .cards-container.service-gallery-about .card.gallery {
        height: 440px;
        width: 440px;
    }
}
/* endregion */

/* region page-group-service */
.service-gallery-about .card.about .schedule {
    position: absolute;
    bottom: 20px;
}

.service-gallery-about .card.about.about-schedule {
    padding-bottom: 70px;
}

.service-gallery-about .card.about .schedule a {
    width: 176px;
    height: 50px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    line-height: 50px;
    text-align: center;
    color: #FFFFFF;
    padding: 0;
}

@media screen and (max-width: 850px) {
    .service-gallery-about .card.about .schedule {
        width: 100%;
        padding: 20px;
        left: 0;
        bottom: 0;
    }

    .service-gallery-about .card.about .schedule a {
        width: 100%;
        height: 40px;
        font-size: 14px;
        line-height: 40px;
    }
}
/* endregion */
.modal.company-complaint .border {
    padding: 20px;
}