* {
    padding: 0;
    margin: 0;
}

:root {
    --color-primary: #111111;
    --color-secondary: #FFFFFF;
    --mobile: 440px;
}
.materials__version {
    font-family: "Open Sans", sans-serif;
    font-size: 21.42px;
    line-height: 37.32px;
    font-weight: 400;
}
body {
    height: 100%;

    .badge--price {
        width: 180px;
        height: 53px;
        font-size: 24.91px;
        line-height: 100%;
        font-weight: 600;
        color: white;
        background: #111111;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}
.page {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
main {
    flex: 1 1 auto;
}

footer {
    flex-grow: 1;
}
a {
    color: white;
    text-decoration: none;
}
.visibility__desktop {
    display: inline;
}
.visibility__mobile {
    display: none;
}
.hero {
    height: 1030px;


    background-image: url("./assets/desctop_header.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 54px;

    .hero__title {
        display: flex;
        flex-direction: column;
        gap: 24px;
        color: var(--color-primary);
        padding-left: 64px;
    }

    .hero__description {
        width: 73%;
        display: flex;
        flex-direction: column;
        color: var(--color-primary);
        padding-left: 64px;
        margin-bottom: 46px;


        p {
            text-align: start;
            font-size: 21.18px;
        }
        p:last-child {
            font-size: 16.86px;
            line-height: 150%;
        }
    }


    .hero__logo {
        padding-top: 32px;
        padding-left: 64px;
    }

    h1 {
        width: 841px;
        font-size: 54.51px;
        line-height: 60px;
        font-weight: 500;
        text-transform: uppercase;
        color: var(--color-primary);
        font-family: "Bitter", serif;
    }

    .copy__text {
        font-size: 23.28px;
        line-height: 150%;
        font-weight: 400;
        color: var(--color-primary);
        font-family: "Open Sans", sans-serif;
    }
}

.layout__section {

}

.intro {
    width: 81%;
    max-width: 1307px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 0 auto;
    padding-top: 110px;

    .intro__layout {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .intro__image {
        width: 421px;
        height: 544px;
        object-fit: cover;
    }

    .intro__content {
        max-width: 691px;
        display: flex;
        flex-direction: column;
        gap: 55.37px;
        color: var(--color-primary);

        .copy__text {
            font-size: 19.93px;
            line-height: 150%;
            font-weight: 400;
            font-family: "Open Sans", sans-serif;
        }
    }

}

.buy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background: #3A3FBB;
    color: #ffffff;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 27.76px;
    line-height: 31.59px;
    letter-spacing: 0;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.buy-button:hover,
.buy-button:focus-visible {
    background: #2f34a3;
    color: #ffffff;
}

.buy-button:focus-visible {
    outline: 2px solid #111111;
    outline-offset: 3px;
}

.buy-button:active {
    background: #272b8c;
    transform: translateY(1px);
}

.buy-button--full {
    width: 100%;
    min-height: 72px;
    padding: 20px 24px;
}

.book-card .buy-button {
    flex-shrink: 0;
    align-self: stretch;
    height: auto;
    padding: 0 32px;
}

.book-card {
    width: 94%;
    max-width: 1501px;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    padding-top: 110px;
    color: var(--color-primary);

    .book-card__image {
        width: 589px;
        height: 814px;
        object-fit: cover;
    }

    .book-card__image-mobile {
        display: none;
    }

    .book-card__content {
        max-width: 747px;
        width: 90%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        .book-card__heading {
            display: flex;
            flex-direction: column;

            gap: 24px;
        }

        h3 {
            font-size: 44.45px;
            line-height: 44.45px;
            text-transform: uppercase;
            font-weight: 500;
            font-family: "Bitter", serif;
        }

        .copy__text {
            font-size: 22.47px;
            line-height: 22.47px;
            font-weight: 500;
            align-items: end;
            font-family: "Open Sans", sans-serif;
        }

        .copy__text--sm {
            font-family: "Bitter", serif;
            text-transform: uppercase;
        }

        .book-card__price-label {
            font-size: 21.14px;
            line-height: 100%;
            font-weight: 400;

            font-family: "Open Sans", sans-serif;
        }
    }

    .book-card__purchase {
        display: flex;
        align-items: stretch;
        gap: 24px;
        flex-wrap: wrap;
    }

    .book-card__price {
        display: flex;
        align-items: center;
        gap: 24px;

        p {
            font-size: 21.14px;
            line-height: 100%;
            font-weight: 400;
        }
    }

    .book-card__meta {
        padding-top: 20px;
        width: 610.5px;

        li {
            display: flex;
            justify-content: space-between;
            padding: 12px 0;
            border-bottom: 0.77px solid var(--color-primary);
        }

        .copy__text {
            font-size: 16.8px;
            line-height: 100%;
            font-weight: 400;
            font-family: "Open Sans", sans-serif;
        }

        .copy__text--large {
            font-size: 17.85px;
            font-family: "Open Sans", sans-serif;
            line-height: 100%;
        }
    }
}

.book-media {
    padding-top: 110px;
    height: 1080px;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.toc {
    width: 76%;
    max-width: 1221px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 64px;
    margin: 0 auto;
    padding-top: 110px;

    h3 {
        font-size: 44.45px;
        line-height: 44.45px;
        font-weight: 500;
        text-transform: uppercase;
        color: var(--color-primary);
        font-family: "Bitter", serif;
    }

    .toc__columns {
        display: flex;
        justify-content: space-between;
        color: var(--color-primary);

        ul {
            width: 45%;
            list-style: none;

            li {
                margin-top: 3px;
                display: flex;
                justify-content: space-between;
            }


            .copy__text {
                font-family: "Open Sans", sans-serif;
                font-size: 21.42px;
                line-height: 37px;
                color: var(--color-primary);
                font-weight: 400;

            }

            .copy__text--large {
                font-family: "Open Sans", sans-serif;
                max-width: 402px;
                line-height: 37px;
                margin-top: 5px;
                margin-bottom: 2px;
            }
        }

        .toc__list--right {
            .copy__text {
                font-size: 21.42px;
                line-height: 36.8px;
                color: var(--color-primary);
                font-weight: 400;
            }
            .copy__text--large {
                line-height: 36.8px;
            }
        }

    }
}

.delivery {
    width: 94%;
    max-width: 1501px;
    display: flex;
    justify-content: space-between;
    gap: 64px;
    margin: 0 auto;
    padding-top: 110px;

    h3 {
        font-size: 44.45px;
        line-height: 44.45px;
        font-weight: 500;
        text-transform: uppercase;
        color: var(--color-primary);
        font-family: "Bitter", serif;
    }

    .delivery__content {
        display: flex;
        flex-direction: column;
        gap: 48px;
    }

    .delivery__map {
        width: max-content;
    }

    .delivery__info {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 36px;
        max-width: 600px;

        .delivery__question {
            display: flex;
            justify-content: space-between;
            align-items: center;

            .copy__text {
                max-width: 378px;
                font-family: "Open Sans", sans-serif;
            }
        }

        .copy__text {
            font-size: 18px;
            line-height: 150%;
            font-weight: 400;
            font-family: "Open Sans", sans-serif;
        }

    }


}

.payment {
    width: 94%;
    max-width: 1501px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 64px;
    margin: 0 auto;
    padding-top: 110px;
    padding-bottom: 135px;

    h3 {
        font-size: 44.45px;
        line-height: 44.45px;
        font-weight: 500;
        text-transform: uppercase;
        color: var(--color-primary);
        font-family: "Bitter", serif;
    }

    .payment__panel {
        border-radius: 204px;
        padding: 20px 8px;
        color: white;
        background-color: var(--color-primary);
        text-align: center;
        align-items: center;
        height: 217px;

        .payment__text {
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-evenly;
        }

        .payment__text-mobile {
            display: none;
        }

        .copy__text {
            font-size: 20px;
            line-height: 100%;
            font-weight: 400;
            text-transform: uppercase;
            font-family: "Open Sans", sans-serif;
        }
    }

    .payment__docs {
        display: flex;
        gap: 64px;

        .doc-link {
            display: flex;
            color: var(--color-primary);
            align-items: center;
            font-size: 23.07px;
            line-height: 150%;
            gap: 48px;
            text-decoration: none;
            font-family: "Open Sans", sans-serif;


            svg {
                width: 49px;
                height: 49px;
            }

        }

        .doc-link:visited {
            color: #393939;
        }
    }

}

.badge-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.badge {
    width: max-content;
    padding: 8px 20px;
    border-radius: 40px;
    border: 1px solid var(--color-primary);
    text-transform: uppercase;
    font-size: 20px;
    line-height: 100%;
    font-weight: 400;
    font-family: "Open Sans", sans-serif;
}

.badge--phone {
    background-color: var(--color-primary);
    text-align: center;

    a {
        color: white;
        text-decoration: none;
    }
}

.site-footer {
    position: relative;
    width: 100%;
    min-height: 2200px;
    background-color: var(--color-primary);
    color: var(--color-secondary);
    display: flex;
    flex-direction: column;

    .error {
        color: red !important;
        font-size: 13px !important;
    }


    padding-top: 110px;

    .file-link--desktop {
        display: flex;
        gap: 2px;

    }
    .file-link--mobile {
        display: none;
    }

    .site-footer__materials {
        height: 100%;
        width: 80%;
        max-width: 1221px;
        display: flex;
        flex-direction: column;
        gap: 64px;
        margin: 0 auto;
        margin-bottom: 110px;

        .materials {
            display: flex;
            gap: 90px;
        }
        .materials__image {
            width: 629.19px;
            height: 633.42px;
            img {
                width: 100%;
                height: 100%;
                transform: scaleX(-1) translateX(15px);

            }
        }
        .materials__actions {
            display: flex;
            flex-direction: column;
            gap: 45px;
            margin-top: 30px;
        }
        .download-button--filled {
            width: max-content;
            text-transform: uppercase;
            background-color: white;
            padding: 8.48px 21.2px;
            border-radius: 42.41px;
            color: #111111;
            font-size: 24.46px;
            line-height: 130%;
            font-family: "Open Sans", sans-serif;
        }
        .icon-circle {
            background-color: white;
            width: 49.83px;
            height: 49.83px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            svg {
                margin-left: 3px;
            }
        }

        .icon-circle--last {
            svg {
                margin-left: 3px;
            }
        }
    }

    .site-footer__calculator {
        height: 100%;
        width: 80%;
        max-width: 1221px;
        display: flex;
        flex-direction: column;
        gap: 64px;
        margin: 0 auto;
        margin-bottom: 110px;

        .calculator {
            display: flex;
            flex-direction: column;
            gap: 90px;
            font-family: "Open Sans", sans-serif;



            .calculator__layout {
                display: flex;
                gap: 40px;

                .download-button {
                    width: max-content;
                    text-transform: uppercase;
                    background-color: transparent;
                    padding: 8.48px 21.2px;
                    border-radius: 42.41px;
                    color: white;
                    font-size: 24.46px;
                    line-height: 130%;
                    font-family: "Open Sans", sans-serif;
                    border: 1.25px solid white;
                }

                .icon-circle {
                    background-color: transparent;
                    width: 49.83px;
                    height: 49.83px;
                    border-radius: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    border: 1.06px solid white;
                    svg {
                        margin-left: 2.5px;
                    }
                }

                img {
                    width: 630.63px;
                    height: 392.67px;
                    object-fit: cover;
                }
            }


        }
        .calculator__description {
            font-size: 21.42px;
            line-height: 37.32px;

        }
        .calculator__image {
            width: 629.19px;
            height: 633.42px;
            img {
                width: 100%;
                height: 100%;
            }
        }
        .calculator__fields {
            display: flex;
            gap: 40px;

            .calculator__column {
                display: flex;
                flex-direction: column;
                gap: 40px;
                width: 220px;

                &:first-child {
                    width: max-content;
                    align-self: end;
                }
            }

            .calculator__label {
                padding: 9.96px 24.91px;
                background-color: white;
                font-size: 24px;
                line-height: 100%;
                text-transform: uppercase;
                font-weight: 600;
                border-radius: 49.68px;
                width: 169px;
                text-align: center;
                color: black;
            }
            .calculator__axis {
                width: 53.9px;
                height: 52.9px;
                border-radius: 50%;
                background-color: white;
                font-size: 24px;
                line-height: 100%;
                text-transform: uppercase;
                font-weight: 600;
                display: flex;
                align-items: center;
                justify-content: center;
                color: black;
            }

            .calculator__input {
                padding: 9.94px 24.84px;
                font-size: 24px;
                line-height: 100%;
                text-transform: uppercase;
                font-weight: 600;
                border: 1.24px solid white;
                border-radius: 49.68px;
                color: white;
                background-color: transparent;
                width: 169px;
                height: 31px;
                &::placeholder {
                    color: #484848;
                }
            }
        }
        .download-button--filled {
            width: max-content;
            text-transform: uppercase;
            background-color: white;
            padding: 8.48px 21.2px;
            border-radius: 42.41px;
            color: #111111;
            font-size: 24.46px;
            line-height: 130%;
            font-family: "Open Sans", sans-serif;
        }
        .icon-circle--filled {
            background-color: white;
            width: 49.83px;
            height: 49.83px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;

        }

        .icon-circle--last {
            svg {
                margin-left: 3px;
            }
        }
        .site-footer__title--calculator {
            font-size: 44.45px;
            line-height: 44.45px;
        }
    }
    .site-footer__contacts {
        height: 100%;
        width: 95%;
        max-width: 1501px;
        display: flex;
        flex-direction: column;
        gap: 64px;
        margin: 0 auto;
    }

    .site-footer__title {
        font-size: 89.01px;
        line-height: 89.01px;
        font-weight: 500;
        text-transform: uppercase;
        font-family: "Bitter", serif;
    }

    .site-footer__title--materials {
        font-size: 44.45px;
        line-height: 44.45px;
    }

    .contacts {
        list-style: none;
        display: flex;
        flex-direction: row;
        justify-content: space-between;

        li {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .contacts__title {
            font-size: 20px;
            line-height: 100%;
            font-weight: 600;
            text-transform: uppercase;
            font-family: "Open Sans", sans-serif;
        }

        .copy__text {
            font-size: 17px;
            line-height: 150%;
            font-weight: 400;
            font-family: "Open Sans", sans-serif;

            a {
                color: white;
                text-decoration: none;
            }
        }
    }


    .requisites {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 48px;

        p {
            font-size: 18px;
            line-height: 0;
            font-weight: 400;
            font-family: "Open Sans", sans-serif;

            a {
                color: white;
                text-decoration: none;
            }
        }
    }
}

@media screen and (max-width: 1412px) {
    .delivery {
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 1240px) {
    .hero {
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;

        h1 {
            width: 80%;
            font-size: 1.9em;
        }
    }
    .book-card {
        flex-direction: column;
        align-items: center;

        .book-card__content {
            align-items: center;
        }
    }

        .intro {
            align-items: center;

            .intro__layout {
                flex-direction: column;
                align-items: center;
                gap: 30px;
            }

            .intro__content {
                align-items: center;
            }
        }

        .site-footer {
            height: 2600px;
            .contacts {
                flex-wrap: wrap;
                gap: 14px;
            }

            .calculator__layout {
                flex-direction: column;
            }

            .materials {
                flex-direction: column;
            }
            .site-footer__materials {
                height: 850px;
                .materials__image {
                    width: 383.79px;
                    height: 396.8px;
                }

                .materials__actions {
                    gap: 20px;
                    margin-top: 0;
                }
                .download-button--filled {
                    font-size: 13px;
                    line-height: 160%;
                    font-family: "Open Sans", sans-serif;
                    padding: 5px 12.5px;
                }
                .icon-circle {
                    width: 29.38px;
                    height: 29.38px;
                    svg {
                        margin-left: 3px;
                        width: 12.08px;
                    }
                }
                .icon-circle--last {
                    svg {
                        margin-left: 2px;

                    }
                }
            }
        }

    .payment {
        .payment__panel {
            border-radius: 204px;
            height: 220px;


            .copy__text {
                font-size: 1.1em;
            }
        }
    }
}
@media screen and (min-width: 441px) and (max-width: 800px) {
    .hero {



        .hero__logo {
            padding-top: 0;
        }

        h1 {
            width: 80%;
            font-size: 1.9em !important;
        }

        .hero__lead {
            width: 200px;
        }

        .hero__title {
        }

        .hero__description {
            width: 80%;
        }

        .copy__text {
            font-size: 20.28px;
        }
    }

    .site-footer {
        height: 1400px;
        .site-footer__title {
            font-size: 30px;
            line-height: 30.09px;
        }
    }
    .toc {


        h3 {
            font-size: 23.62px;
            line-height: 30px;
        }
    }
    .book-card {

        .book-card__content {
            h3 {
                font-size: 36.45px;
                line-height: 36.45px;
            }

            align-items: start;

            .book-card__meta {
                width: 100%;
                padding-bottom: 10px;
            }
        }
        .book-card__image {
            display: none;
        }
        .book-card__image-mobile {
            width: 100%;
            max-width: 325px;
        }
    }

    .payment {
        padding-left: 0;
        padding-right: 0;
        padding-top: 90px;
        padding-bottom: 100px;

        .payment__panel {
            border-radius: 50px;
            height: 225px;


            .copy__text {
                font-size: 1em;
            }
        }

        .payment__docs {
            gap: 32px;
            flex-direction: column;

            a:nth-child(1) {
                width: 70%;
            }

            .doc-link {
                font-size: 1.1em;
                gap: 20px;
            }


                svg {
                    width: 36px !important;
                    height: 36px !important;
                }

            }

    }


    .delivery {
        width: 386px;
        gap: 32px;
        margin: 0 auto;
        padding-top: 45px;
        flex-direction: column;

        h3 {
            font-size: 23.62px;
        }

        .delivery__content {
            gap: 24px;
        }

        .delivery__map {
            width: 440px;
            height: 440px;

            iframe {
                width: 440px;
                height: 440px;
            }
        }

        .delivery__info {


            .delivery__question {
                display: flex;
                flex-direction: column;
                gap: 8px;
                align-items: start;
            }

            .copy__text {
                font-size: 18px;
            }

            .badge--delivery {
                width: max-content;
                max-width: 299px;
                font-size: 14px;
            }

        }
    }

    .book-media {
        padding-top: 110px;
        height: 600px;
    }


    .intro {
        gap: 30px;

        .intro__layout {
            gap: 30px;
        }

        .intro__image {
            width: 350px;
            height: 450px;
            object-fit: cover;
            margin: 0 auto;
        }

        .intro__content {
            width: 100%;
            align-items: start;

            .copy__text {
                font-size: 18px;
            }
        }
    }

    .badge-list {
        width: 80%;
    }
    .badge {
        width: 100%;
        text-wrap: wrap;
        padding: 6px 18px;
        border-radius: 35px;

        font-size: 18px;

    }
}

@media screen and (max-width: 908px) {
    .hero {




        h1 {
            width: 90%;
            font-size: 48.51px;
            line-height: 50px;
        }
    }
    h3 {
        width: 90%;
    }

    .site-footer {
        padding-top: 50px;
        min-height: 2700px;


        .file-link--desktop {
            display: none !important;
        }
        .file-link--mobile {

            display: flex;
            gap: 2px;
        }



        .contacts {
            flex-direction: column;
        }

        .file-link--desktop {
            display: flex;
            gap: 2px;
        }
        .file-link--mobile {
            display: none;
        }

        .file-link {
            display: flex;
            gap: 2px;
        }
        .site-footer__calculator {
            width: 350px;
            height: max-content;
            .calculator {
                gap: 40px;

                .calculator__layout {
                    img {
                        width: 364.22px;
                        height: 260.82px;
                        object-fit: cover;
                    }
                }
            }
            .calculator__description {
                font-size: 14px;
                line-height: 150%;

            }

            .calculator__fields {
                display: flex;
                gap: 20px;
                width: 350px;


                .calculator__column {
                    display: flex;
                    flex-direction: column;
                    gap: 30px;
                    width: 130px;

                    &:first-child {
                        width: max-content;
                        align-self: end;
                    }
                }

                .calculator__label {
                    padding: 7.41px 18.54px;
                    background-color: white;
                    font-size: 17.86px;
                    line-height: 100%;
                    text-transform: uppercase;
                    font-weight: 600;
                    border-radius: 49.68px;
                    width: 100.77px;
                    height: 25.2px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    color: black;
                }
                .calculator__axis {
                    width: 40px;
                    height: 40px;
                    font-size: 17.86px;
                }

                .calculator__input {
                    font-size: 18.48px;
                    width: 100.77px;
                    height: 23.3px;
                    padding: 7.39px 18.48px;
                }
            }
            .download-button--filled {
                width: max-content;
                text-transform: uppercase;
                background-color: white;
                padding: 8.48px 21.2px;
                border-radius: 42.41px;
                color: #111111;
                font-size: 24.46px;
                line-height: 130%;
                font-family: "Open Sans", sans-serif;
            }
            .icon-circle--filled {
                background-color: white;
                width: 49.83px;
                height: 49.83px;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;

            }

            .icon-circle--last {
                svg {
                    margin-left: 3px;
                }
            }

            .site-footer__title--calculator {
                font-size: 23.62px;
                line-height: 44.45px;
            }
        }
    }

}


@media screen and (max-width: 440px) {
    .materials__version {
        font-family: "Open Sans", sans-serif;
        font-size: 11.3px;
        line-height: 19.68px;
        font-weight: 400;
    }
    body {
        .badge--price {
            width: 160px;
            height: 30px;
            font-size: 17.12px;
            padding: 5px 15px;
        }
    }

    .visibility__desktop {
        display: none;
    }

    .hero {
        height: 430px;
        padding: 24px 0;
        width: 100%;

        background-image: url("./assets/mobile/mob.webp");

        background-repeat: no-repeat;


        gap: 24px;

        .hero__logo {
            padding-top: 0;
            padding-left: 24px;
        }

        svg {
            width: 70px;
            height: 44px;
        }

        .hero__title {
            gap: 12px;
            padding: 0 24px;
        }

        .hero__description {
            width: 90%;
            margin-bottom: 10px;
            padding-left: 0;

            p {
                font-size: 15px;
            }

            p:last-child {
                font-size: 11px;
            }
        }

        h1 {
            width: 410px;
            font-size: 30.08px;
            line-height: 33.1px
        }

        .copy__text {
            font-size: 15.21px;
        }
    }
    .intro {
        width: 100%;
        padding-top: 45px;
        gap: 24px;

        .intro__layout {
            flex-direction: column;
            gap: 45px;
        }

        .intro__image {
            width: 316px;
            height: 408px;
            object-fit: cover;
            margin: 0 auto;
        }

        .intro__content {
            width: 386px;
            margin: 0 auto;
            gap: 30px;
            align-items: start;

            .copy__text {
                font-size: 14px;
            }
        }

        .buy-button {
            width: 386px;
            max-width: calc(100% - 24px);
            height: 55px;
            min-height: 55px;
            padding: 0 16px;
            font-size: 22px;
            line-height: 31.59px;
            border-radius: 10px;
            margin: 0 auto;
        }
    }
    .book-card {
        width: 100% !important;
        max-width: 397px !important;
        display: flex;
        justify-content: space-between;
        margin: 0 auto;
        padding-top: 45px;
        color: var(--color-primary);

        .book-card__image {
            display: none;
        }
        .book-card__image-mobile {
            display: block;
            width: 325px;
            height: 449px;
            object-fit: cover;
            margin: 10px auto;
        }

        .book-card__content {
            width: 400px;
            gap: 14px;

            h3 {
                font-size: 23.62px;
                line-height: 23.62px;
                width: auto;
            }

            .copy__text {
                font-size: 12.41px;
                line-height: 12.41px;
            }

            .book-card__price-label {
                font-size: 14px;
            }
        }

        .book-card__purchase {
            display: contents;
        }

        .book-card__price {
            display: flex;
            align-items: center;
            gap: 24px;
            padding-left: 20px;


            p {
                font-size: 21.14px;
                line-height: 100%;
                font-weight: 400;
            }
        }

        .book-card__meta {
            order: 4;
        }

        .buy-button {
            order: 5;
            width: 90%;
            max-width: 386px;
            height: 55px;
            min-height: 55px;
            min-width: 0;
            margin: 0 auto;
            padding: 0 16px;
            font-size: 22px;
            line-height: 31.59px;
            border-radius: 10px;
        }

        .book-card__meta {
            width: 386px;
            height: 330px;
            padding-top: 0;
            padding-bottom: 0;

            li {
                padding: 7px;
            }

            .copy__text {
                font-size: 14px;
            }

            .copy__text--large {
                font-size: 14px;

            }
        }
    }
    .book-media {
        padding-top: 45px;
        height: 450px;
    }
    .toc {
        width: 100%;
        max-width: 386px;
        gap: 4px;
        margin: 0 auto;
        padding-top: 45px;

        h3 {
            font-size: 23.62px;
            line-height: 30px;
            margin-bottom: 24px;
        }

        .toc__columns {
            flex-direction: column;

            ul {
                width: 100%;

                .copy__text {
                    font-size: 14px;
                    line-height: 25.28px;
                }

                .copy__text--large {
                    max-width: 291px;
                    line-height: 25.28px;
                }
            }

            .toc__list--right {
                .copy__text {
                    font-size: 14px;
                    line-height: 25.28px;
                }
                .copy__text--large {
                    max-width: 291px;
                    line-height: 25.28px;
                }
            }

        }
    }
    .delivery {
        width: 100%;
        max-width: 386px;
        padding-top: 45px;

        h3 {
            font-size: 23.62px;
        }

        .delivery__content {
            gap: 24px;
        }

        .delivery__map {
            width: 390px;
            height: 390px;

            iframe {
                width: 390px;
                height: 390px;
            }
        }

        .delivery__info {
            margin: 0 auto;
            gap: 24px;
            max-width: 600px;

            .delivery__question {
                display: flex;
                flex-direction: column;
                gap: 8px;
                align-items: start;

                .copy__text {
                    max-width: 270px;
                    font-family: "Open Sans", sans-serif;
                }
            }

            .copy__text {
                font-size: 14px;
            }

            .badge--delivery {
                width: max-content;
                max-width: 299px;
                font-size: 14px;
            }
            .badge--delivery-wide {
                line-height: 130%;
            }

        }


    }
    .payment {
        width: 100%;
        max-width: 386px;
        gap: 32px;
        margin: 0 auto;
        padding-top: 35px;
        padding-bottom: 25px;
        flex-direction: column;


        h3 {
            font-size: 23.62px;
        }

        .payment__panel {
            height: 250px;
            border-radius: 45px;


            .payment__text {
                display: none;
            }

            .payment__text-mobile {
                height: 100%;
                display: flex;
                flex-direction: column;
                justify-content: center;
            }

            .copy__text {
                font-size: 13px;
                font-weight: 400;
                line-height: 150%;
            }
        }

        .payment__docs {
            display: flex;
            flex-direction: column;
            gap: 4px;

            .doc-link {
                font-size: 11.66px;
                gap: 24px;

                svg {
                    width: 24.76px;
                    height: 24.76px;
                }
            }

            padding-bottom: 55px;
        }

    }


    .site-footer {
        height: 2200px;
        min-height: 2050px;

        .file-link--desktop {
            display: none !important;
        }
        .file-link--mobile {

            display: flex;
            gap: 2px;
        }

        .site-footer__contacts {
            width: 80%;
            height: 100%;
            max-width: 386px;
            gap: 48px;
            margin: 0 auto;
        }

        .site-footer__title {
            font-size: 23.62px;
            line-height: 24.09px;
        }


        .contacts {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 30px;

            li {
                display: flex;
                flex-direction: column;
                gap: 10px;
            }

            .contacts__title {
                font-size: 12.13px;
            }

            .copy__text {
                font-size: 11px;

                a {
                    color: white;
                    text-decoration: none;
                }
            }
        }


        .requisites {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 20px;

            p {
                font-size: 11px;
                line-height: 53%;
            }
        }
    }

    .badge-list {
        gap: 12px;
    }

    .badge {
        padding: 4.88px 12.21px;
        border-radius: 24.42px;
        font-size: 12.21px;

    }

}

@media screen and (max-width: 400px) {
    .site-footer {
        .site-footer__materials {
            .materials__image {
                width: 300.79px;
                height: 300.8px;
            }
        }
    }
}
@media screen and (max-width: 439px) {
    .materials__version {
        font-family: "Open Sans", sans-serif;
        font-size: 11.3px;
        line-height: 19.68px;
        font-weight: 400;
    }
    .visibility__mobile {
        display: inline;
    }
    .hero {
        height: 430px;
        padding: 24px 0;
        width: 100%;

        background-image: url("./assets/mobile/mob.webp");


        gap: 24px;



        .hero__title {
            padding-top: 0;
            padding-left: 20px;

        }

        .hero__description {
            width: 90%;
            margin-bottom: 10px;
            padding-left: 0;
            p {
                font-size: 15px;
            }
            p:last-child {
                font-size: 11px;
            }
        }

        h1 {
            width: 80%;
            font-size: 1.5em;
            line-height: 1.5em;
        }

        .copy__text {
            font-size: 15.21px;
        }
    }
    .intro {
        width: 100%;
        padding: 30px 0;
        gap: 24px;

        .intro__layout {
            flex-direction: column;
            gap: 30px;
        }

        .intro__image {
            width: 80%;
            height: 90%;
            object-fit: cover;
            margin: 0 auto;
        }

        .intro__content {
            width: 80%;
            margin: 0 auto;
            gap: 20px;

            .copy__text {

            }
        }

        .buy-button {
            width: 80%;
            max-width: 386px;
            height: 55px;
            min-height: 55px;
            font-size: 22px;
            line-height: 31.59px;
        }
    }

    .payment {

        .payment__panel {
            border-radius: 45px;
            height: 220px;
            padding: 30px;


            .copy__text {
                font-size: 0.8em;
            }
        }
    }

    .book-card {

        .book-card__content {
            h3 {
                margin: 0 auto;
            }

            align-items: start;

            .copy__text--sm {

                margin: 0 auto;
            }
            .book-card__meta {
                width: 90%;
                margin: 0 auto;
                padding-bottom: 10px;


            }
        }
    }

    .toc {
        gap: 4px;
        margin: 0 auto;
        padding-top: 45px;

        h3 {
            margin: 0 auto;
            font-size: 23.62px;
        }

        .toc__columns {
            ul {
                width: 90%;
                margin: 0 auto;

                .copy__text {
                    text-wrap: wrap;
                    font-size: 14px;
                    line-height: 25.28px;

                }

                .copy__text--large {
                    max-width: 291px;
                    line-height: 25.28px;
                }
            }

            .toc__list--right {
                .copy__text {
                    font-size: 14px;
                    line-height: 25.28px;
                }
                .copy__text--large {
                    max-width: 291px;
                    line-height: 25.28px;
                }
            }

        }
    }

    .delivery {
        .delivery__map {
            width: 100%;
            height: 100%;

            iframe {
                width: 100%;
                height: 370px;
            }
        }
    }

    .badge-list {
        width: 95%;
    }

    .badge {
        max-width: 100%;
        padding: 4.88px 12.21px;
        border-radius: 24.42px;

    }
    .badge--wide {
        line-height: 150%;
    }

    .site-footer {
        .site-footer__calculator {

            .calculator {
                gap: 30px;
            }


            .calculator__fields {
                /*gap: 2px;*/

                .calculator__column {
                    display: flex;
                    flex-direction: column;

                    width: 180px;

                }
            }
        }
        .site-footer__contacts {
            width: 100% !important;
            max-width: 386px !important;
        }

        .site-footer__title {
            font-size: 23.62px;
            line-height: 24.09px;
        }

        .contacts {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 30px;

            li {
                display: flex;
                flex-direction: column;
                gap: 10px;
            }

            .contacts__title {
                text-wrap: wrap;
                font-size: 12.13px;
            }

            .copy__text {
                font-size: 11px;

                a {
                    color: white;
                    text-decoration: none;
                }
            }
        }
    }

}



.badge--secondary {
    background-color: #194438 !important;
}

.calculator__layout--wide-gap {
    gap: 80px !important;
}

.calculator__panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 80px;
}

.materials__action-link {
    display: flex;
    gap: 2px;
}
