/* ============================================================
   BARFmenu B2B Footer
   Eigen component.
   Geen afhankelijkheid van oude Lightspeed footer-layout.
   ============================================================ */


/* ------------------------------------------------------------
   ROOT
   ------------------------------------------------------------ */

.bm-footer {
    position: relative;
    display: block;
    width: 100%;
    margin: 55px 0 0;
    padding: 0;
    background: #358e15;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
    box-sizing: border-box;
}

.bm-footer *,
.bm-footer *::before,
.bm-footer *::after {
    box-sizing: border-box;
}


/* ------------------------------------------------------------
   WAVE
   Eigen schaalbare BARFmenu golf via inline SVG.
   ------------------------------------------------------------ */

.bm-footer__wave {
    position: absolute;
    z-index: 0;
    left: 0;
    bottom: calc(100% - 1px);
    width: 100%;
    height: 55px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    pointer-events: none;
}

.bm-footer__wave-svg {
    position: absolute;
    left: 0;
    bottom: 0;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.bm-footer__wave-path {
    fill: #358e15;
}


/* ------------------------------------------------------------
   GENERIC INNER WIDTH
   ------------------------------------------------------------ */

.bm-footer__inner {
    position: relative;
    z-index: 1;
    width: calc(100% - 40px);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}


/* ------------------------------------------------------------
   MAIN
   ------------------------------------------------------------ */

.bm-footer__main {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0;
    padding: 40px 0 34px;
    background: #358e15;
}

.bm-footer__columns {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 60px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.bm-footer__column {
    min-width: 0;
    margin: 0;
    padding: 0;
}


/* ------------------------------------------------------------
   TITLES
   ------------------------------------------------------------ */

.bm-footer__title {
    display: block;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: none;
}


/* ------------------------------------------------------------
   CONTACT
   ------------------------------------------------------------ */

.bm-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.bm-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 0;
    color: #ffffff;
}

.bm-footer__contact-icon {
    display: flex;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    background: transparent;
    color: #ffffff;
    font-size: 13px;
    line-height: 1;
}

.bm-footer__contact-text,
.bm-footer__contact-link {
    display: block;
    min-width: 0;
    padding-top: 2px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.7;
    text-decoration: none;
}

.bm-footer__contact-link:hover,
.bm-footer__contact-link:focus {
    background: transparent;
    color: #ffffff;
    text-decoration: underline;
}


/* ------------------------------------------------------------
   LINKS
   ------------------------------------------------------------ */

.bm-footer__links {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bm-footer__link-item {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bm-footer__link {
    display: inline-block;
    margin: 0;
    padding: 4px 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
}

.bm-footer__link:hover,
.bm-footer__link:focus {
    background: transparent;
    color: #ffffff;
    text-decoration: underline;
}


/* ------------------------------------------------------------
   SOCIALS
   ------------------------------------------------------------ */

.bm-footer__socials {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin: 22px 0 0;
    padding: 0;
}

.bm-footer__social {
    display: flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    color: #358e15;
    font-size: 16px;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    transition:
        transform 0.15s ease,
        opacity 0.15s ease;
}

.bm-footer__social .fa {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
    line-height: 1;
}

.bm-footer__social:hover,
.bm-footer__social:focus {
    border: 0;
    background: #ffffff;
    color: #358e15;
    text-decoration: none;
    transform: translateY(-2px);
    opacity: 0.9;
}


/* ------------------------------------------------------------
   OPTIONAL REVIEWS / HALLMARKS
   ------------------------------------------------------------ */

.bm-footer__review-widget {
    display: block;
    margin: 22px 0 0;
    padding: 0;
}

.bm-footer__review-widget iframe {
    display: block;
    max-width: 100%;
}

.bm-footer__hallmarks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 22px 0 0;
    padding: 0;
}

.bm-footer__hallmark {
    display: inline-block;
    margin: 0;
    padding: 0;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
}

.bm-footer__hallmark img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 70px;
    margin: 0;
}


/* ------------------------------------------------------------
   FOOTER BOTTOM
   ------------------------------------------------------------ */

.bm-footer__bottom {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0;
    padding: 20px 0 32px;
    border: 0;
    background: #358e15;
    color: #ffffff;
}

.bm-footer__bottom-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: 60px;
    width: 100%;
    margin: 0;
    padding: 0;
}


/* ------------------------------------------------------------
   VEILIG ONLINE SHOPPEN + PAYMENTS
   ------------------------------------------------------------ */

.bm-footer__secure {
    display: grid;
    grid-template-columns: max-content;
    grid-template-rows: auto auto;
    justify-content: start;
    align-items: center;
    width: max-content;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.bm-footer__secure-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin: 0 0 8px;
    padding: 0;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

.bm-footer__secure-icon {
    display: inline-block;
    margin: 0;
    padding: 0;
    background: transparent;
    color: #ffffff;
    font-size: 13px;
    line-height: 1;
}

.bm-footer__secure-text {
    color: #ffffff;
}


/* ------------------------------------------------------------
   PAYMENTS
   ------------------------------------------------------------ */

.bm-footer__payments {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.bm-footer__payment {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    text-decoration: none;
}

.bm-footer__payment:hover,
.bm-footer__payment:focus {
    border: 0;
    background: transparent;
    text-decoration: none;
}

.bm-footer__payment img {
    display: block;
    width: auto;
    height: auto;
    max-height: 25px;
    margin: 0;
    padding: 0;
}


/* ------------------------------------------------------------
   COPYRIGHT
   Uitgelijnd met de payment-regel.
   De 26px compensatie = titel + ruimte boven payments.
   ------------------------------------------------------------ */

.bm-footer__copyright {
    align-self: end;
    min-width: 0;
    margin: 0 0 2px;
    padding: 0;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
}

.bm-footer__powered {
    color: inherit;
}

.bm-footer__powered-link {
    background: transparent;
    color: #ffffff;
    text-decoration: none;
}

.bm-footer__powered-link:hover,
.bm-footer__powered-link:focus {
    background: transparent;
    color: #ffffff;
    text-decoration: underline;
}


/* ------------------------------------------------------------
   BARFMENU HUISSTIJL KLEURENBALK
   5 kleuren
   ------------------------------------------------------------ */

.bm-footer__brandbar {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    height: 20px;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.bm-footer__brandbar-part {
    display: block;
    flex: 0 0 20%;
    width: 20%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.bm-footer__brandbar-part--yellow {
    background: #ffed00;
}

.bm-footer__brandbar-part--green {
    background: #00a651;
}

.bm-footer__brandbar-part--pink {
    background: #ec008c;
}

.bm-footer__brandbar-part--red {
    background: #ed1c24;
}

.bm-footer__brandbar-part--blue {
    background: #00aeef;
}


/* ------------------------------------------------------------
   TABLET
   ------------------------------------------------------------ */

@media (max-width: 900px) {

    .bm-footer {
        margin-top: 45px;
    }

    .bm-footer__wave {
        height: 45px;
    }

    .bm-footer__main {
        padding: 32px 0 28px;
    }

    .bm-footer__columns {
        grid-template-columns: 1fr 1fr;
        gap: 35px 45px;
    }

    .bm-footer__column--contact {
        grid-column: 1 / -1;
    }

    .bm-footer__bottom-layout {
        gap: 40px;
    }

}


/* ------------------------------------------------------------
   MOBILE
   ------------------------------------------------------------ */

@media (max-width: 600px) {

    .bm-footer {
        margin-top: 38px;
    }

    .bm-footer__wave {
        height: 38px;
    }

    .bm-footer__inner {
        width: calc(100% - 30px);
    }

    .bm-footer__main {
        padding: 28px 0 24px;
    }

    .bm-footer__columns {
        display: grid;
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .bm-footer__column--contact {
        grid-column: auto;
    }

    .bm-footer__title {
        margin-bottom: 12px;
        font-size: 17px;
    }

    .bm-footer__social {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        font-size: 15px;
    }


    /* Bottom onder elkaar */

    .bm-footer__bottom {
        padding: 18px 0 26px;
    }

    .bm-footer__bottom-layout {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .bm-footer__secure {
        width: max-content;
        max-width: 100%;
    }

    .bm-footer__copyright {
        align-self: flex-start;
        width: 100%;
        margin: 0;
        font-size: 13px;
        text-align: left;
    }

    .bm-footer__payments {
        justify-content: center;
    }

    .bm-footer__payment img {
        max-height: 23px;
    }

    .bm-footer__brandbar {
        height: 16px;
    }

}