#footer{
    border-top: solid 1px var(--color-light-grey);
    padding-top: 40px !important;
    margin-top: 80px;
    z-index: 0;
    position: relative;
    background-color: #000000!important;
}

#cart #footer,
#checkout #footer,
#category #footer{
    margin-top: unset!important;
}

#index #footer {
    margin-top: 64px;
}

@media (max-width: 992px) {
    #footer{
        padding-top: 20px !important;
        margin-top: 40px;
    }
}

/* ---------------------------- DÉBUT DISPLAY-FOOTER-BEFORE ---------------------------- */

.displayFooterBefore{
    padding-bottom: unset!important
    ;
    border-bottom: none;
}

@media (max-width: 992px) {
    .displayFooterBefore{
        padding-bottom: 20px;
    }
}

/* ---------------------------- FIN DISPLAY-FOOTER-BEFORE ---------------------------- */

/* ---------------------------- DÉBUT DISPLAY-FOOTER ---------------------------- */

#footer .displayFooter{
    padding-top: 40px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 40px 50px;
}

#footer .displayFooter .shop {
    margin-right: 20px;
}

#footer .displayFooter .shop .logo{
    width: 254px;
    max-width: 254px;
    height: auto;
}

#footer .displayFooter .shop p{
    font-size: .875rem;
    line-height: 1.3125rem;
    margin: 20px 0px 0px 0px;
    /* max-width: 200px; */
    color: var(--color-white);
}

#footer .displayFooter .shop .footer__coordinates p {
    margin-top: unset;
}

#footer .displayFooter .shop .footer__coordinates {
    margin-top: 17px;
}

#footer .displayFooter .shop .footer__coordinates p + strong {
    margin-top: 21px;
    display: block;
}

#footer .displayFooter .shop strong,
#footer .displayFooter .shop a,
#footer .links ul li a,
#footer .links ul li a:hover,
#footer .links .titleWrapper,
#footer .block-social .title,
#footer .block_newsletter header .title,
#footer .block-social ul li a {
    color: var(--color-white);
    fill: var(--color-white);
}

#footer .block-social .title {
    font-family: var(--ffMBl);
    font-size: 1.125rem;
    line-height: 1.3125rem;
}

#footer .block-social ul li {
   filter: brightness(0) invert(1);
   height: fit-content;
}

#footer .links .wrapper:nth-of-type(2) {
    margin-left: 80px;
}

#footer .displayFooter .shop strong {
    font-family: var(--ffMSeBo);
}

@media (width < 1501px) {
    #footer .links .wrapper:nth-of-type(2) {
        margin-left: 40px;
    }
}

@media (max-width: 1400px) {
    #footer .displayFooter{
        grid-template-columns: auto auto;
    }

    #footer .displayFooter .shop{
        grid-column: span 1;
    }

    #footer .links .wrapper:nth-of-type(2) {
        margin-left: 120px;
    }
}

@media (max-width: 1200px) {
    #footer .displayFooter{
        grid-template-columns: auto auto;
    }

    #footer .links .wrapper:nth-of-type(2) {
        margin-left: 40px;
    }

    #footer .displayFooter .shop{
        grid-column: span 2;
    }
}

@media (max-width: 992px) {
    #footer .displayFooter{
        padding-top: 24px;
    }
    
    #footer .displayFooter{        
        display: flex;
        gap: unset;
        flex-wrap: wrap;
        gap: 24px;
    }

    #footer .displayFooter .shop p{
        max-width: none;
    }

    #footer .displayFooter .shop .logo {
        max-width: 254px;
        width: 100%;
    }

    #footer .displayFooter .shop .footer__coordinates {
        margin-top: 56px;
        width: fit-content;
    }

    #footer .links .wrapper:nth-of-type(2) {
        margin-left: unset;
    }

    #footer .links .wrapper {
        width: fit-content;
    }

    #footer .displayFooter .shop {
        width: 48%;
        margin-right: unset;
    }
}

@media (width < 769px) {
    #footer .displayFooter .shop,
    #footer .links,
    #footer .block-social,
    #footer .block_newsletter {
        width: 100%;
        max-width: none;
    }

    #footer .displayFooter {
        gap: unset;
    }

    #footer .displayFooter .shop {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #footer .displayFooter .shop .footer__coordinates {
        width: 100%;
    }
}

/* ---------------------------- FIN DISPLAY-FOOTER ---------------------------- */

/* ---------------------------- DÉBUT DISPLAY-FOOTER-AFTER ---------------------------- */

/* ---------------------------- FIN DISPLAY-FOOTER-AFTER ---------------------------- */

/* ---------------------------- DÉBUT COPYRIGHT ---------------------------- */

#footer .copyrightlink{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 50px;
    padding-block: 10px 15px;
    margin-top: 40px;
}

#footer .copyrightlink p,
#footer .copyrightlink a{
    font-size: .75rem;
    line-height: 1rem;
    color: var(--color-white);
    margin: 0px;
}

@media (min-width: 993px) {
    #footer .copyrightlink a:hover{
        color: var(--color-primary);
    }
}

@media (width < 769px) {
    #footer .copyrightlink {
        justify-content: center;
    }

    #footer .copyrightlink p, #footer .copyrightlink a {
        text-align: center;
    }

    #footer .copyrightlink p,
    #footer .copyrightlink a{
        font-size: .6875rem;
        line-height: .8125rem;
    }
}

/* ---------------------------- FIN COPYRIGHT ---------------------------- */
