.site-footer {
    width: 100%;
    margin-top: 36px;
    padding: 14px 20px;
    background: #a51f27;
    color: #fff;
    font-family: "Segoe UI", Arial, sans-serif;
    text-align: center;
}

.cart-page,
.certificate-page,
.profile-page,
.learning-page {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.cart-page > main,
.certificate-page > main,
.profile-page > main,
.learning-page > main {
    flex: 1 0 auto;
}

.cart-page > .site-footer,
.certificate-page > .site-footer,
.profile-page > .site-footer,
.learning-page > .site-footer {
    flex: 0 0 auto;
    margin-top: auto;
}

.site-footer__copyright p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 700px) {
    .site-footer {
        margin-top: 24px;
        padding: 12px 16px;
    }

    .site-footer__copyright p {
        font-size: 13px;
    }
}
