.flx_ph{
    display: flex;
}
.main-header {
    position: relative;
    width: 100%;
    background: #fff;
    box-shadow: none;
    transition: top 1s ease, box-shadow 1s ease;
    z-index: 999;
    will-change: top, box-shadow;
}

.main-header.fixed {
    position: fixed;
    top: -150px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    width: 100%;
    z-index: 9999;
}

.main-header.slide-down {
    top: 0;
}

.main-header.slide-down .container_wrapper {
    border-bottom: none;
}

header .container_wrapper {
    max-width: 1360px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #CCCCCC;
    padding-top: 28px;
    padding-bottom: 16px;
}

header .contact_wrapper {
    max-width: 291px;
}

.contact_wrapper .contact {
    font-family: "Verdana", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #501F13;
    gap: 8px;
    display: flex;
   align-items: flex-start;
    margin-bottom: 2px;
}

.contact_wrapper .contact a {
    color: #501F13;
    text-decoration: none;
}

.contact_wrapper .mail a {
    color: #501F13;
    text-decoration: none;
}

.contact_wrapper .mail {
    font-family: "Verdana", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    color: #501F13;
    gap: 8px;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.checkout_footer {
    background: #501F13 !important;
}

footer {
/*    background: #501F13;*/
/*    padding: 52px 0 60px;*/
	padding: 28px 0 60px;
}

.footer_wrapper {
    max-width: 1280px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer_wrapper .logo_side {
    max-width: 321px;
}

.footer_wrapper .terms_link {
    max-width: 585px;
}

.footer_wrapper .social_media {
    max-width: 144px;
}

.copyright_text {
    font-family: "Spline Sans Mono", monospace;
    font-weight: 300;
    font-size: 11px;
    line-height: 100%;
    color: #FFFFFF;
    margin-top: 16px;
    margin-bottom: 0;
    letter-spacing: -0.6px;
}

.terms_link .footer_links {
    padding: 0;
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: center;
    margin-bottom: 0;
}

.terms_link .footer_links li {
    list-style: none;
}

.terms_link .footer_links li a {
    font-family: "Verdana", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    color: #501F13;
    text-decoration: none;
    letter-spacing: -2%;
    text-decoration: underline;
}

.social_media {
    display: flex;
    gap: 12px;
    align-items: center;
}

.mobile_footer {
    display: none;
}

.logo_desktop_hide {
    display: none;
}

@media only screen and (max-width:1360px) {
    footer {
        padding: 24px 16px;
    }

    .container_wrapper {
        padding: 0 16px;
    }
}

@media only screen and (max-width:1080px) {
    .terms_link .footer_links {
        gap: 20px;
    }
}

@media only screen and (max-width:1024px) {
    .terms_link .footer_links {
        gap: 10px;
    }
}

@media only screen and (max-width:991px) {
    .desktop_footer {
        display: none;
    }

    .mobile_footer {
        display: flex;
        background: none;
    }

    .terms_link .footer_links li a{
        font-size: 14px;
        color: #501F13;
    }

    .mobile_footer .footer_wrapper {
        flex-direction: column;
    }

    .terms_link .footer_links {
        gap: 40px;
        margin-bottom: 0;
    }

    .terms_link .footer_links li a {
        text-decoration: underline;
    }

    .footer_wrapper .logo_side {
        margin-bottom: 36.5px;
    }

    .footer_wrapper .social_media {
        margin-bottom: 40px;
    }

    .copyright_text {
        margin-top: 0;
    }
}

@media only screen and (max-width:767px) {
    .logo_desktop_hide {
        display: block;
        max-width: 187px;
/*        max-width: 100%;*/
    }

    .logo_mobile_hide {
        display: none;
    }

    header .container_wrapper {
        padding-top: 20px;
        padding-bottom: 11px;
    }

    .contact_wrapper .contact {
        font-size: 12px;
        line-height: 18px;
        gap: 4px;
    }

    .contact_wrapper .contact img {
        width: 16px;
        height: 16px;
    }

    .contact_wrapper .mail img {
        width: 16px;
        height: 16px;
    }

    .contact_wrapper .mail {
        font-size: 10px;
        gap: 4px;
        letter-spacing: -0.5px;
    }

    .footer_wrapper .social_media {
        max-width: 100%;
    }

    .footer_wrapper .logo_side {
        max-width: 100%;
    }

}

@media only screen and (max-width:620px) {
    .terms_link .footer_links {
        gap: 20px;
    }
}

@media only screen and (max-width:575px) {
    .footer_wrapper {
        max-width: 348px;
    }

    .terms_link .footer_links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px 16px;
    }

     .terms_link .footer_links li {
        list-style: none;
        text-align: center;
    } 

/*
    .terms_link .footer_links li {
        list-style: none;
        max-width: 50%;
        flex: 45%;
        text-align: center;
    }
*/

    footer {
        padding: 16px 0px 22px;
    }

    header .container_wrapper {
        padding-left: 16px;
        padding-right: 16px;
    }

    .contact_wrapper .contact {
        margin-bottom: 0px;
    }

}

@media only screen and (max-width:360px){
        .contact_wrapper .contact {
        font-size: 10px;
    }
        .contact_wrapper .mail {
        font-size: 8px;
        }
        .logo_desktop_hide {
        max-width: 160px;
        }
        .terms_link .footer_links li a {
        font-size: 12px;
    }

}