.footer-block {
    margin-top: 50px;
}

.footer_delivery__wrapper {
    border-bottom: 1px solid #989898;
    flex-wrap: wrap;
    padding: 40px;
    background: var(--bg-color);
}

@media (max-width: 1365px) {
    .footer_delivery__wrapper {
        padding: 40px 15px;
    }
}

.footer_delivery__wrapper,
.footer_delivery__main {
    display: flex;
    justify-content: space-between;
}

.footer_delivery__main {
    flex: 1;
    align-items: flex-end;
}

@media (max-width: 575px) {
    .footer_delivery__main {
        flex-direction: column;
    }

    .footer_delivery__text {
        width: 100%;
    }
}

.footer_delivery_image {
    display: flex;
    height: 103px;
    justify-content: flex-end;
    position: relative;
    transform: translateY(43%);
    max-width: 181px;
}

.footer_delivery_image img {
    width: 100%;
}

.footer_delivery__title,
.footer_delivery__desc {
    padding-bottom: 12px;
}

.footer_delivery__footer {
    display: flex;
    gap: 2rem;
    align-items: flex-end;
}

.footer_delivery__domains {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.footer_delivery__domain {
    list-style: none;
    transition: all ease-in-out .2s;
    opacity: .8;
    display: flex;
    flex-direction: column;
    width: fit-content;
}

.footer_delivery__domain:after {
    content: "";
    width: 0;
    height: 1px;
    background: none;
    margin-top: 4px;
    transition: all ease-in-out .2s;
}

.footer_delivery__domain:hover {
    opacity: 1;
}

.footer_delivery__domain:hover a {
    color: #000000;
}

.footer_delivery__domain:hover:after {
    width: 100%;
    background: #000000;
    transition: width 0.2s;
}

.footer_delivery__domain a {
    color: #000000;
}

.footer_delivery__title {
    font-weight: 500;
    font-size: 25px;
}

.footer_delivery__more {
    font-size: 14px;
    display: block;
    width: max-content;
    border-bottom: 1px solid #000;
}

.footer_main__container {
    padding: 40px 40px 60px;
    background: var(--bg-color);
    border-bottom: 1px solid #989898;
}

@media (max-width: 1365px) {
    .footer_main__container {
        padding: 40px 15px 60px 15px;
    }
}


.footer_main_navigation {
    display: grid;
    width: 100%;
    justify-content: space-between;
    row-gap: 20px;
    grid-row-gap: 20px;
    grid-template-columns: 260px 260px 260px 210px 200px;
}

.footer_3columns_navigation {
    display: none;
    width: 100%;
    justify-content: space-between;
    row-gap: 60px;
    column-gap: 40px;
    grid-template-columns: 230px 220px 210px;
}

@media (max-width: 1365px) {
    .footer_3columns_navigation {
        display: grid;
    }

    .footer_main_navigation {
        display: none;
    }

    .footer_delivery__domains {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.footer_mobile_navigation {
    display: none;
    width: 100%;
    justify-content: space-between;
    grid-gap: 45px;
    grid-template-columns: repeat(2, 250px);
}

@media (max-width: 768px) {
    .footer_mobile_navigation {
        display: grid;
    }

    .footer_3columns_navigation {
        display: none;
    }
}

@media (max-width: 575px) {
    .footer_mobile_navigation {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .footer_mobile_navigation > div {
        margin-bottom: 20px;
    }

    .footer_mobile_navigation > div:last-child {
        margin-bottom: 0;
    }

    .footer_delivery__domains {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr 1fr;
    }
}

.footer__title {
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 10px;
}

.footer_menu__container {
    display: flex;
    flex-direction: column;
}

.footer_menu__container > a {
    margin-bottom: 12px;
}

.footer_menu__container > a:last-child {
    margin-bottom: 0;
}

.footer_menu_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer_menu_header svg {
    display: none;
    margin-bottom: 10px;
}

@media (max-width: 575px) {
    .footer_menu__container {
        padding-bottom: 13px;
        margin-bottom: 13px;
        border-bottom: 1px solid #989898;
        transition: 0.3s;
        overflow: hidden;
    }

    .footer_menu_header svg {
        display: block;
        transition: 0.3s;
    }
}

.footer_contact__menu_option {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 12px;
    cursor: pointer;
}

.footer_main_navigation a:hover {
    font-weight: 600;
    color: #000;
}

.footer_time_work,
.footer_time_work_delivery,
.footer_subscribe,
.footer_review,
.footer_paysystem {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 768px) {
    .footer_paysystem {
        margin-bottom: 12px;
    }
}

@media (max-width: 575px) {
    .footer_paysystem {
        margin-bottom: 30px;
    }
}

.footer_time_work {
    margin-bottom: 20px;
}

@media (max-width: 1365px) {
    .footer_time_work {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .footer_time_work {
        margin-top: 0;
    }
}

.footer_time_work_delivery {
    margin-bottom: 30px;
}

@media (max-width: 575px) {
    .footer_time_work_delivery {
        margin-bottom: 20px;
    }
}

.footer_subscribe {
    margin-bottom: 12px;
}

.footer_subscribe_input__container {
    border-radius: 30px;
    width: 100%;
    align-items: center;
    background: #fff;
    border: 1px solid #fff;
    display: flex;
    padding: 0;
    transition: border-color .2s;
    position: relative;
}

.footer_subscribe_input__container:hover,
.footer_subscribe_input__container:focus-within{
    border: 1px solid #767676!important;
}

.footer_subscribe_input {
    align-items: center;
    border: 0;
    padding: 15px 15px 15px 15px;
    position: relative;
    width: 100%;
    border-radius: 30px;
}

.footer_subscribe_input::placeholder {
    color: #989898;
}

.footer_subscribe_btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0;
    height: 100%;
    line-height: 0;
    z-index: 3;
    padding: 0 15px 0 0;
}

.footer_subscribe_input__wrong_email {
    display: none;
    width: 100%;
    background: #FFD9E0;
    position: absolute;
    bottom: -40px;
    padding: 7px 15px;
}

.footer_subscribe_input__wrong_email p {
    color: rgb(215, 4, 4);
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
}

@media (max-width: 1365px) {
    .footer_point_menu {
        margin-bottom: 20px;
        display: block;
    }
}

@media (max-width: 768px) {
    .footer_point_menu {
        margin-bottom: 0;
        display: block;
    }
}

.footer_review {
    margin-bottom: 20px;
}

@media (max-width: 1365px) {
    .footer_review {
        margin-top: 20px;
    }
}

@media (max-width: 575px) {
    .footer_review {
        margin-bottom: 10px;
    }
}

.footer_paysystem__icons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.footer_paysystem__icons div {
    margin-bottom: 12px;
    margin-right: 20px;
}

.footer_paysystem__icons div:last-child {
    margin-right: 0;
}

.footer_paysystem__icons svg path {
    transition: .2s;
}

.paysystem_svg_mastercard:hover path {
    fill: #E71226;
}

.paysystem_svg_mastercard:hover path:first-child {
    fill: #FA601F;
}

.paysystem_svg_mastercard:hover path:last-child {
    fill: #F49D31;
}

.paysystem_svg_visa:hover path {
    fill: #085798;
}

.paysystem_svg_mir:hover path:first-child {
    fill: #48A23E;
}

.paysystem_svg_mir:hover path:last-child {
    fill: #2295BD;
}

.paysystem_svg_youmoney:hover path {
    fill: #843CF0;
}

.footer_logo_image {
    max-width: 220px;
}

.footer_social_icons__container {
    display: flex;
    text-align: center;
    height: 100%;
}

.footer_social_icons__container > div {
    margin-right: 12px;
}

.footer_social_icons__container > div:last-child {
    margin-right: 0;
}

@media (max-width: 1365px) {
    .footer_social_icons__container {
        height: auto;
    }
}

@media (max-width: 768px) {
    .footer_social_icons__container {
        height: auto;
        margin: 12px 0;
    }
}

@media (max-width: 575px) {
    .footer_social_icons__container {
        margin: 20px 0 30px;
    }
}

.footer_social_icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #989898;
    cursor: pointer;
    transition: 0.3s;
    margin: auto 0;
}

.footer_social_icon a {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer_social_icon svg {
    width: 100%;
}

.footer_social_icon:hover svg path {
    fill: #fff;
}

.social_icon_youtube:hover {
    border: #FA141A;
    background: #FA141A;
}

.social_icon_dzen:hover {
    border: #383C41;
    background: #383C41;
}

.social_icon_vk:hover {
    border: #2675CD;
    background: #2675CD;
}

.social_icon_tiktok:hover {
    border: #000000;
    background: #000000;
}

.social_icon_pinterest:hover {
    border: #E60019;
    background: #E60019;
}

.footer_light_text {
    color: #989898;
    font-weight: 400;
    font-size: 14px;
    cursor: pointer;
}

@media (max-width: 1365px) {
    .footer_light_text {
        margin-bottom: 10px;
    }

    .footer_light_text:last-child {
        margin-bottom: 0;
    }
}

.footer_vertical_middle_block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.rating_block {
    height: auto;
    width: auto;
    float: left;
    margin: 0 0 6px 0;
}

.g_logo, .y_logo {
    margin-right: 10px;
}

.y_logo {
    height: 1.9rem;
    width: 1.9rem;
    background: url(/local/templates/sotbit_origami/assets/img/footer/ylogo.png);
    float: left;
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1.9rem;;
    background-color: #fc3f1d;
    border-radius: 4px;
}

.g_logo {
    background: url(/local/templates/sotbit_origami/assets/img/footer/glogo.png);
    height: 1.9rem;
    width: 1.9rem;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1.9rem;
    float: left;
    position: relative;
    top: 0px;
    border-radius: 4px;
    background-color: #fff;
}

.rating_text {
    float: left;
    font-size: 1.25rem;
    font-weight: 700;
    color: #e7711b;;
}

.rating_main_cont {
    margin-right: 10px;
}

.rating_main_cont {
    width: 75px;
    background-color: #f6f6f6;
    height: 15px;
    background-size: 100%;
    background-repeat: no-repeat;
    float: left;
    margin-right: 0;
}

.rating_main_cont img {
    width: 75px;
    height: 15px;
    position: relative;
}


.rating_main_cont img {
    width: 92px;
    height: 20px;
}

.rating-98 {
    background: linear-gradient(to right,#e7711b 0,#e7711b 98%,#fff 98%,#fff 100%);
    background: -moz-linear-gradient(0,#e7711b 0,#e7711b 98%,#fff 98%,#fff 100%);
    background: -webkit-linear-gradient(0,#e7711b 0,#e7711b 98%,#fff 98%,#fff 100%);
    background: -o-linear-gradient(0,#e7711b 0,#e7711b 98%,#fff 98%,#fff 100%);
}

.rating-94 {
    background: linear-gradient(to right,#e7711b 0,#e7711b 94%,#fff 94%,#fff 100%);
    background: -moz-linear-gradient(0,#e7711b 0,#e7711b 94%,#fff 94%,#fff 100%);
    background: -webkit-linear-gradient(0,#e7711b 0,#e7711b 94%,#fff 94%,#fff 100%);
    background: -o-linear-gradient(0,#e7711b 0,#e7711b 94%,#fff 94%,#fff 100%);
}

.ya-market {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.ya-market .ya-market__img {
    width: 100%;
    height: 100%;
}

.ya-market .ya-market__title {
    background-color: transparent;
    border-bottom: 1px dashed #000;
    color: #000;
    font-size: 12px;
    line-height: 160%;
    padding: 0;
    text-decoration: none;
    width: fit-content;
    width: -moz-fit-content;
}

.footer_bottom_info_factory {
    padding: 40px 40px 60px;
    background: var(--bg-color);
}

.footer_bottom_info_factory .footer_bottom_info_factory__menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.7rem;
}

.footer_bottom_info_factory .footer_bottom_info_factory__menu a {
    color: #000;
    text-decoration: none;
    outline: none;
    transition: all 0.1s ease-in-out;
    font-style: normal;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5rem;
    cursor: pointer;
}

.footer_bottom_info_factory .footer_bottom_info_factory__menu a:hover {
    color: var(--main-color);
}

.footer_bottom_info_factory p {
    color: silver;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5rem;
    margin-bottom: 1.4rem;
}

@media (max-width: 1021px) {
    .footer_bottom_info_factory .footer_bottom_info_factory__menu {
        flex-direction: column;
        align-items: baseline;
        gap: .5rem;
    }
}

@media (max-width: 575px) {
    .footer_bottom_info_factory {
        padding: 15px 15px 60px;
    }
}

