.designers .design-title {
    padding-top: 94px;
    padding-bottom: 110px;
}

.designers .designers__filter {
    padding-bottom: 8px;
    border-bottom: 1px solid #000;
}

.designers .btn-filter {
    display: flex;
    align-items: center;
    gap: 8px;
}

.designers .btn-filter svg {
    transform: rotate(180deg);
    transition: 0.2s ease-in-out;
}

.designers .btn-filter.btn-filter--active svg {
    transform: rotate(0deg);
}

.design__list-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.design__list-wrapper {
    margin-bottom: 64px;
    margin-top: 32px;
}

.design__card {
    display: flex;
    border: 1px solid #B9B9B9;
    padding: 12px;
    gap: 40px;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}

.design__card.main-card {
    border: 0;
    padding: 32px 0;
}

.design__photo {
    width: 220px;
    height: 220px;
}

.design__card.main-card .design__photo {
    width: 100%;
    height: 100%;
    max-width: 478px;
}

.design__photo img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.design__card.main-card .design__photo img {
    width: 100%;
    max-width: 350px;
}

.design__info {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.design__card.main-card .design__info {
    height: auto;
}

.design__bottom {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.design__price {
    font-size: 18px;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: -0.03em;
}

.design__card.main-card .design__price {
    font-size: 32px;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: -0.03em;
}

.design__about {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 15px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: -0.01em;
    color: #000;
    text-decoration: none;
}

.design__city {
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.01em;
    color: #000;
}

.design__city--other {
    color: #B9B9B9;
}

.design__name {
    margin-bottom: 24px;
    font-size: 32px;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: -0.03em;
}

.design__card.main-card .design__name {
    font-size: 64px;
    font-weight: 700;
    line-height: 64px;
    letter-spacing: -0.03em;
}

.design__profession {
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.01em;
}

.design__card:hover {
    border-color: #000;
}

.design__prise--mobile {
    display: none;
}

.design-maininfo {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.b-cat-horizontal-filter .item-filter__dropdown {
    max-height: 240px;
    overflow-x: auto;
    width: 250px;
    --dropdown-link-active-color: #000;
    padding: 8px 8px 12px;
    background: #D0D0EE;
}

.page-title__backpage-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.news-tabs.designer-news-tabs {
    gap: 18px;
    border-top: 1px solid #000;
    margin-top: 18px;
    padding-top: 18px;
}

.news-tabs.designer-news-tabs .news-tabs__item .news-tabs__link {
    position: relative;
}

.news-tabs.designer-news-tabs .news-tabs__item .news-tabs__link::before {
    display: none;
}

.news-tabs.designer-news-tabs .news-tabs__item.active .news-tabs__link::before {
    border-radius: 50%;
    content: "";
    flex: none;
    height: 8px;
    margin-right: 4px;
    width: 8px;
    position: absolute;
    left: calc(50% + 4px);
    bottom: -16px;
    margin: 0;
}

.projects-list {
    display: flex;
    flex-direction: column;
    margin-top: 12px;
    width: 100%;
    gap: 8px;
}

.projects-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    border-bottom: 1px solid #B9B9B9;
    padding-bottom: 8px;
}

.project-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
}


.project-item__info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-item__title {
    min-width: 132px;
}

.project-item .project-item__photo {
    overflow: hidden;
}

.project-item__more {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    z-index: 0;
    display: none;
}

.project-item .project-item__photo img,

.project-item-description .gallery.swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease-in-out;
}

.project-item:hover .project-item__photo img {
    transform: scale(1.1);
}

.project-item.active .project-item__photo {
    position: relative;
}


.project-item.active .project-item__photo::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(108, 105, 161, 0) 16%, #6C69A1 100%);
}

.projects-row-description {
    display: flex;
    flex-direction: column;
}

.project-item-description {
    display: flex;
    flex-direction: column;
    padding-top: 32px;
}

.project-item-description p {
    margin-top: 0;
}

.project-item-description .gallery.swiper {
    width: 100%;
}

.gallery .swiper-wrapper {
    padding-bottom: 25px;
}

.project-item__gallery-info {
    margin-top: 0 !important;
    border-bottom: 1px solid #B9B9B9;
    padding-bottom: 32px;
}

.project-item__gallery-text {
    width: 66%;
}

.project-item__gallery-action {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 8px 0 24px;
}

.show-more-projects-row {
    background-color: transparent;
    border: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 0;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: -0.01em;
    color: #000;
    margin-top: 48px;
    font-weight: 400;
    font-size: 15px;
    transition: 0.3s ease-in-out;
}

.show-more-projects-row:hover {
    font-weight: 500;
}

.text-block .contacts {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 2fr;
}

.contacts {
    margin-top: 9px;
}

.contacts-links {
    display: flex;
    flex-direction: column;
}

.contacts-links a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    border: 0;
}

.contacts-address {
    margin-top: 32px;
}

.designers .text-block:not(:first-child) {
    margin-top: 0 !important;
}

.mobile-author {
    display: flex;
    flex-wrap: wrap;
    margin-top: 32px;
}

.mobile-author span {
    margin-right: 30px;
}

.design__filter-wrapper form {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.item-filter {
    position: relative;
}

.item-filter a:hover {
    opacity: 0.6;
}

.item-filter button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.item-filter button svg {
    transform: rotate(180deg);
    transition: 0.2s ease-in-out;
}

.item-filter.active button svg {
    transform: rotate(0deg);
}

.item-filter.selected .item-action-reset {
    display: inline-block;
}

.item-filter__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 10;
    max-height: 240px;
    overflow-x: auto;
    width: 250px;
    padding: 8px 0 12px;
    background: #D0D0EE;
}

.item-filter.active .dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.filter-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin: 0;
    padding: 4px 8px;
    transition: 0.2s ease-in-out;
}

.filter-checkbox:hover {
    background-color: #989bff;
}

.default-checkbox__input:checked+.default-checkbox__label {
    font-weight: 500;
}

.range {
    padding: 8px;
}

.range__inputs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.range__inputs input {
    background-color: transparent;
    border-bottom: 1px solid #000;
    color: #000;
    width: 100%;
}

.range__inputs label {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: -0.03em;
    color: rgba(0, 0, 0, 0.3);
}

.item-filter__dropdown .btn {
    width: 100%;
    padding: 8px;
    margin-top: 16px;
}

.text-block__button {
    grid-column: 10 / 13;
}

.text-block__button button {
    text-align: left;
    width: 100%;
    border: 0;
}

.text-block__button button:hover {
    background-color: rgba(0, 0, 0, 0.3);
    color: #000;
}

@media screen and (max-width: 1200px) {
    .text-block__button {
        grid-column: 3 / 10;
        margin-top: 30px;
    }
}

@media screen and (max-width: 992px) {
    .design__list-wrapper {
        grid-template-columns: repeat(1, 1fr);
        gap: 22px;
    }
}

@media screen and (max-width: 767px) {
    .design__card.main-card .design__info {
        height: 100%;
    }

    .design__list-wrapper {
        display: flex;
        flex-direction: column;
    }

    .design__card {
        flex-wrap: wrap;
        row-gap: 22px;
        gap: 12px;
    }

    .design__prise--mobile {
        display: block;
        font-size: 18px;
        font-weight: 700;
        line-height: 18px;
        letter-spacing: -0.03em;
        margin-left: auto;

    }

    .design__price {
        display: none;
    }

    .design__info {
        flex-direction: column;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .design__name {
        flex: 1 1 100%;
        font-size: 48px;
        line-height: 1;
    }

    .design-maininfo {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 8px;
    }

    .project-item__photo img {
        width: 100%;
    }
}

@media screen and (max-width: 720px) {
    .project-item__more {
        width: 100%;
        height: 100%;
        z-index: 3;
        display: block;
    }

    .page-title {
        padding: 32px 0 0;
    }

    .designers .design-title {
        padding-top: 32px;
        padding-bottom: 0;
    }

    .text-block .contacts {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
    }

    .contacts-links {
        margin-top: 32px;
    }

    .text-block__button {
        grid-column: -1 / 1;
    }
}

.modal {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    position: fixed;
    width: 100vw;
    max-width: 100vw;
    height: 100%;
    left: 0;
    top: 0;
    z-index: -1;
    opacity: 0;
    transition: 0.3s ease-in-out;
}

.modal-body {
    max-width: 480px;
    width: 100%;
    background: #fff;
    padding: 40px 20px 60px;
    position: relative;
    transform: translate(0, 100vh);
    opacity: 0;
    transition: 0.5s;
}

.modal.active {
    opacity: 1;
    z-index: 9999;
}

.modal.active .modal-body {
    transform: translate(0, 0);
    opacity: 1;
}

.modal-body {
    position: relative;
}

.modal-body .form__items {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.modal-body .form__items input.backform-input {
    border-bottom: 1px solid #000;
    padding: 4px;
    width: 100%;
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    cursor: pointer;
}