.page-footer {
    background-color: var(--primary);
}
.custom-footer-wrapper {
    padding: 30px 20px;
    max-width: 1400px;
    margin: auto;
}

.custom-footer-wrapper p,
.custom-footer-wrapper a,
.desktop-post-footer p,
.desktop-post-footer a {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
}

/* FOOTER LISTS*/
.custom-footer-wrapper ul.list-links-footer,
.custom-footer-wrapper ul.col-list  {
    list-style: none;
    padding: 0;
}

.custom-footer-wrapper ul.list-links-footer li.list-link-item,
.custom-footer-wrapper ul.col-list li.col-list-item {
    margin-bottom: 20px;
}

.custom-footer-wrapper ul.list-links-footer li.list-link-item a {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.custom-footer-wrapper ul.list-links-footer li.list-link-item a > p {
    font-size: 14px;
}

.custom-footer-wrapper ul.col-list li.col-list-item {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: flex-start;
}

/* LOGO COLUMN */
.custom-footer-wrapper .logo-col .logo-container {
    text-align: center;
}

.custom-footer-wrapper .logo-col .links-container {
    margin-top: 20px;
}

/* LIST COLUMNS */
.custom-footer-wrapper p.col-title {
    border-bottom: 1px solid;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
}

.custom-footer-wrapper .col-title::after {
    content: url("/pub/media/footer/arrow-down-white.png");
}

.custom-footer-wrapper .drop-down {
    margin-bottom: 10px;
}
.custom-footer-wrapper .contact-col.drop-down.open .col-content {
    max-height: 180px;
    margin-bottom: 40px;
}
.custom-footer-wrapper .legal-col.drop-down.open .col-content {
    max-height: 160px;
    margin-bottom: 40px;
}
.custom-footer-wrapper .drop-down.open p.col-title::after {
    transform: rotate(180deg);
}

.custom-footer-wrapper .drop-down .col-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    font-size: 16px;
    font-weight: 600;
}

/* CANOTIER COLUMN */
.custom-footer-wrapper .canotier-col {
    text-align: center;
}
.custom-footer-wrapper .canotier-col .canotier-section {
    margin: 20px 0;
}
.custom-footer-wrapper .canotier-col .canotier-section.see-products {
    margin-top: 4px;
}
.custom-footer-wrapper .canotier-col .see-products p {
    font-size: 16px;
    font-weight: 300;
}
.custom-footer-wrapper .canotier-col .see-products a {
    text-decoration: underline;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
}
.custom-footer-wrapper .canotier-col .see-products a::after {
    content: url("/pub/media/footer/arrow-down-white.png");
    transform: rotate(270deg);
}
.custom-footer-wrapper .canotier-col .socials p {
    margin-bottom: 10px;
}
.custom-footer-wrapper .canotier-col .socials .socials-logos {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 25px;
}
.custom-footer-wrapper .canotier-col .payment .canotier-links {
    margin-bottom: 15px;
}
.custom-footer-wrapper .canotier-col .payment .canotier-links p {
    margin-bottom: 8px;
}
.custom-footer-wrapper .canotier-col .payment .payment-methods-mobile p,
.desktop-post-footer .payment-methods-desktop p {
    font-size: 14px;
    font-weight: 300;
}

/* COPYRIGHT */
.custom-footer-wrapper .copyright-mobile {
    text-align: center;
}
.custom-footer-wrapper .copyright-mobile p,
.desktop-post-footer .copyright-desktop p {
    font-size: 14px;
    font-weight: 300;
}

/* POSTFOOTER*/
.desktop-post-footer {
    display: none;
}
.desktop-post-footer-wrapper {
    max-width: 1400px;
    border-top: 1px solid rgb(255, 255, 255,0.2);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: auto;
    padding: 10px;
}

.desktop-post-footer-wrapper .payment-methods-container,
.desktop-post-footer-wrapper .payment-methods-container .canotier-links,
.desktop-post-footer-wrapper .payment-methods-container .payment-methods-desktop {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.desktop-post-footer-wrapper .payment-methods-container .canotier-links p {
    font-size: 14px;
}
.desktop-post-footer-wrapper .payment-methods-container .canotier-links p:after {
    content: "|";
    margin-left: 10px;
    color: #ffffff;
}

@media(min-width: 768px) {

    .custom-footer-wrapper {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        gap: 30px;
        padding: 30px 20px 70px;
    }
    .custom-footer-wrapper .col-wrapper {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-end;
        gap: 25px;
        height: 200px;
    }

    .custom-footer-wrapper .logo-col .logo-container {
        text-align: left;
    }

    .custom-footer-wrapper ul.list-links-footer,
    .custom-footer-wrapper ul.col-list  {
        margin-bottom: 0;
    }

    .custom-footer-wrapper ul.col-list {
        margin-bottom: 0;
        height: 180px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: fit-content;
    }

    .custom-footer-wrapper ul.list-links-footer li.list-link-item:last-child,
    .custom-footer-wrapper ul.col-list li.col-list-item:last-child {
        margin-bottom: 0;
    }

    .custom-footer-wrapper .contact-col.drop-down .col-content,
    .custom-footer-wrapper .legal-col.drop-down .col-content {
        max-height: unset;
    }

    .custom-footer-wrapper .contact-col.drop-down .col-content a {
        font-weight: 300;
    }
    .custom-footer-wrapper .legal-col ul.col-list li.col-list-item {
        width: 80%;
    }

    .custom-footer-wrapper p.col-title {
        border-bottom: none;
        font-size: 30px;
    }
    .custom-footer-wrapper .col-title::after,
    .custom-footer-wrapper .copyright-mobile,
    .custom-footer-wrapper .canotier-col .canotier-section.payment {
        display: none;
    }

    .custom-footer-wrapper .canotier-col .see-products a::after {
        display: inline-flex;
    }

    .custom-footer-wrapper .canotier-col {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        text-align: left;
        margin-top: -25px;
    }
    .custom-footer-wrapper .canotier-col .canotier-section.socials {
        margin: 20px 0 0;
    }
    .custom-footer-wrapper .canotier-col .see-products a,
    .custom-footer-wrapper .canotier-col .socials .socials-logos {
        display: block;
    }

    .desktop-post-footer {
        display: block;
    }
}

@media(min-width: 1420px) {
    .desktop-post-footer-wrapper {
        padding: 10px 0;
    }
}