.project-lede {
    max-width: 560px;
    margin-top: 18px;
}

.project-lede__text {
    color: #4d4d4d;
    line-height: 1.45;
}

.project-from {
    margin-top: 14px;
    line-height: 1.2;
}

.project-units {
    margin-top: 43px;
    padding-bottom: 27px;
}

.project-units__title {
    margin-bottom: 30px;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
}

.project-units__tabs {
    gap: 13px;
    margin-bottom: 19px;
    overflow-x: auto;
    scrollbar-width: none;
}

.project-units__tabs::-webkit-scrollbar,
.project-units__track::-webkit-scrollbar {
    display: none;
}

.project-units__tab {
    flex: none;
    min-width: 154px;
    height: 36px;
    padding: 0 16px;
    border: 0;
    border-radius: 6px;
    background: #f2f2f2;
    font-size: 15px;
    line-height: 1;
}

.project-units__tab[aria-selected="true"] {
    background: #e6e6e6;
}

.project-units__panel {
    display: flex;
    gap: 24px;
}

.project-units__track {
    display: grid;
    flex: 0 1 617px;
    min-width: 0;
    grid-auto-flow: column;
    grid-auto-columns: 301px;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.project-unit {
    scroll-snap-align: start;
}

.project-unit__link {
    height: 100%;
    padding: 16px;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    background: #fff;
    text-decoration: none;
}

.project-unit__media {
    height: 168px;
    overflow: hidden;
    background: #d9d9d9;
}

.project-unit__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-unit__specs {
    gap: 22px;
    height: 48px;
    padding-top: 8px;
    font-size: 14px;
    line-height: 1;
}

.project-unit__specs > span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.project-unit__specs img {
    width: 18px;
    height: 18px;
}

.project-unit__price {
    height: 44px;
    padding: 0 12px;
    border-radius: 8px;
    background: #eff8f9;
    color: #4d4d4d;
    font-size: 14px;
    line-height: 1;
}

.project-unit__price strong {
    color: #000;
    font-size: 17px;
}

.project-units__next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .project-lede {
        margin-top: 0;
    }

    .project-from {
        font-size: 16px !important;
        font-weight: 700;
    }

    .project-units {
        margin-top: 29px;
        padding-bottom: 0;
    }

    .project-units__title {
        margin-bottom: 12px;
        font-size: 18px;
        font-weight: 700;
    }

    .project-units__tabs {
        gap: 8px;
        margin: 0 -20px 18px;
        padding: 0 20px;
    }

    .project-units__tab {
        min-width: 0;
        height: 31px;
        padding: 0 14px;
        border-radius: 4px;
        background: #f5f5f5;
        font-size: 13px;
    }

    .project-units__track {
        flex: 1;
        grid-auto-columns: 256px;
        gap: 12px;
        margin: -6px -20px -6px -6px;
        padding: 6px 20px 6px 6px;
        scroll-padding-left: 6px;
    }

    .project-unit__link {
        padding: 8px;
        border: 0;
        border-radius: 6px;
        box-shadow: 0 0 6px rgba(0, 0, 0, 0.08);
    }

    .project-unit__media {
        height: 140px;
        border-radius: 4px;
    }

    .project-unit__specs {
        gap: 14px;
        height: 36px;
        padding: 0 4px;
        font-size: 12px;
    }

    .project-unit__specs > span {
        gap: 6px;
    }

    .project-unit__specs img {
        width: 16px;
        height: 16px;
    }

    .project-unit__price {
        height: 36px;
        padding: 0 11px;
        border-radius: 4px;
        font-size: 12px;
    }

    .project-unit__price strong {
        font-size: 14px;
    }

    .project-units__next {
        display: none;
    }
}
