.home-page {
    flex: 1;
    padding-block: 32px 64px;
}

.home-container {
    width: min(1576px, calc(100% - 48px));
    margin-inline: auto;
}

.home-symbols {
    position: absolute;

    width: 0;
    height: 0;

    overflow: hidden;
    pointer-events: none;
}

.home-hero {
    position: relative;

    display: grid;
    grid-template-columns: 296px minmax(0, 1fr);
    align-items: start;
    gap: 24px;
}

.home-catalog {
    min-width: 0;
    min-height: 576px;
}

.home-catalog__title {
    margin: 0 0 12px;

    color: #000000;

    font-family: "Inter", Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 36px;
}

.home-catalog__list {
    display: flex;
    flex-direction: column;
    gap: 4px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.home-catalog__link {
    display: flex;
    align-items: center;
    gap: 8px;

    min-height: 37px;
    padding: 8.5px 16px;

    border-radius: 16px;

    color: #424242;
    background-color: #ffffff;

    font-family: "Inter", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;

    text-decoration: none;
}

.home-catalog__link span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.home-catalog__icon {
    display: block;
    flex: 0 0 16px;

    width: 16px;
    height: 16px;
}

.home-promo {
    position: relative;
    isolation: isolate;

    min-width: 0;
    height: 576px;
    overflow: hidden;

    border-radius: 16px;

    background-color: #e8f6ff;
}

.home-promo__image {
    position: absolute;
    z-index: 0;

    top: 28px;
    right: 24px;

    width: calc(100% - 196px);
    height: 520px;
    max-width: none;

    object-fit: contain;

    pointer-events: none;
}

.home-promo__content {
    position: absolute;
    z-index: 1;

    top: 324px;
    left: 48px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;

    width: min(354px, calc(100% - 96px));
}

.home-promo__title {
    margin: 0;

    color: #000000;

    font-family: "Inter", Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 38px;
}

.home-promo__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;

    margin: 0;

    color: #000000;

    font-family: "Inter", Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
}

.home-promo__form {
    margin: 0;
}

.home-promo__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 40px;
    padding: 8px 16px;

    border: 0;
    border-radius: 20px;

    color: #ffffff;
    background-color: #0093ee;

    font-family: "Inter", Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;

    text-decoration: none;
    cursor: pointer;
}

.home-promo__arrow {
    display: block;
    flex: 0 0 16px;

    width: 16px;
    height: 16px;

    background-color: currentColor;

    -webkit-mask-image:
            url("/images/icons/category-arrow-circle-right-108e708090425cc357a8bbe11386d3d1.svg");
    mask-image:
            url("/images/icons/category-arrow-circle-right-108e708090425cc357a8bbe11386d3d1.svg");

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    -webkit-mask-position: center;
    mask-position: center;

    -webkit-mask-size: 16px 16px;
    mask-size: 16px 16px;
}

.home-catalog__link:focus-visible,
.home-promo__button:focus-visible {
    outline: 2px solid #0093ee;
    outline-offset: 4px;
}

@media (max-width: 1279px) {
    .home-hero {
        grid-template-columns: 240px minmax(0, 1fr);
    }

    .home-promo__image {
        right: 16px;
        width: calc(100% - 48px);
    }

    .home-promo__content {
        left: 24px;
        width: min(354px, calc(100% - 48px));
    }
}

@media (max-width: 767px) {
    .home-page {
        padding-block: 24px 40px;
    }

    .home-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-catalog {
        display: none;
    }

    .home-promo {
        display: flex;
        flex-direction: column;

        height: auto;
        min-height: 0;
    }

    .home-promo__image {
        position: relative;

        top: auto;
        right: auto;

        width: 100%;
        height: 240px;
        margin: 0;

        object-fit: contain;
    }

    .home-promo__content {
        position: relative;

        top: auto;
        left: auto;

        width: 100%;
        padding: 0 24px 24px;
    }

    .home-promo__title {
        font-size: 28px;
        line-height: 36px;
    }
}