/* ============================================================
   HEILTROPFEN FOOTER BOTTOM v1.0.2
   Full-width footer row for Ecco Bella / PrestaShop 8
   ============================================================ */

/* Ecco Bella treats displayFooter modules as columns. Force this module
   onto its own row below the native footer columns. */
#footer .footer-container .row {
    flex-wrap: wrap !important;
}

#footer .footer-container .row > .ht-footer-bottom,
#footer .footer-container .ht-footer-bottom {
    display: block !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    clear: both !important;
    float: none !important;
    order: 999 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.ht-footer-bottom,
.ht-footer-bottom * {
    box-sizing: border-box;
}

.ht-footer-bottom {
    width: 100%;
    padding: 24px 0 14px;
    margin-top: 10px;
    background: #ffffff;
    font-family: Montserrat, Arial, sans-serif;
    border-top: 1px solid #edf0eb;
}

.ht-footer-bottom-inner {
    width: calc(100% - 40px);
    max-width: 1420px;
    margin: 0 auto;
}

/* Main premium confidence bar */
.ht-footer-confidence-bar {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
    align-items: center;
    gap: 0;
    padding: 18px 30px;
    background: #f7faf6;
    border: 1px solid #dfe8dc;
    border-radius: 10px;
}

.ht-footer-confidence-section {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ht-footer-bottom-title {
    margin: 0 0 10px;
    color: #1c2e5b;
    font-size: 11px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: 0.75px;
    text-transform: uppercase;
}

/* Payment side */
.ht-footer-payment-link {
    display: block;
    width: 100%;
    max-width: 360px;
    text-decoration: none !important;
}

.ht-footer-payment img {
    display: block;
    width: 100%;
    max-width: 360px;
    height: auto;
    margin: 0 auto;
}

/* Center divider */
.ht-footer-confidence-divider {
    width: 1px;
    height: 54px;
    background: #d9e1d7;
    align-self: center;
}

/* Quality side */
.ht-footer-quality-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.ht-footer-quality-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 7px 12px;
    border: 1px solid #cfdccc;
    border-radius: 6px;
    background: #ffffff;
    color: #3e7f3d !important;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 600;
    text-decoration: none !important;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.ht-footer-quality-links a::after {
    content: "→";
    margin-left: 6px;
    font-size: 12px;
    line-height: 1;
}

.ht-footer-quality-links a:hover,
.ht-footer-quality-links a:focus {
    border-color: #3e7f3d;
    background: #ffffff;
    color: #1c2e5b !important;
}

/* Legal strip below the panel */
.ht-footer-legal {
    margin-top: 13px;
    text-align: center;
    color: #899187;
    font-size: 10px;
    line-height: 1.7;
}

.ht-footer-legal a {
    color: #737d71 !important;
    text-decoration: none !important;
    transition: color .18s ease;
}

.ht-footer-legal a:hover,
.ht-footer-legal a:focus {
    color: #3e7f3d !important;
}

.ht-footer-legal-separator {
    display: inline-block;
    margin: 0 8px;
    color: #c8cec6;
}

/* Tablet */
@media (max-width: 991px) {
    .ht-footer-bottom-inner {
        width: calc(100% - 28px);
    }

    .ht-footer-confidence-bar {
        padding: 17px 20px;
    }

    .ht-footer-payment-link,
    .ht-footer-payment img {
        max-width: 320px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .ht-footer-bottom {
        padding: 18px 0 12px;
        margin-top: 4px;
    }

    .ht-footer-bottom-inner {
        width: calc(100% - 24px);
    }

    .ht-footer-confidence-bar {
        grid-template-columns: 1fr;
        padding: 18px 14px;
    }

    .ht-footer-confidence-divider {
        width: 64px;
        height: 1px;
        margin: 17px auto;
    }

    .ht-footer-payment-link,
    .ht-footer-payment img {
        max-width: 300px;
    }

    .ht-footer-quality-links {
        gap: 7px;
    }

    .ht-footer-quality-links a {
        min-height: 30px;
        padding: 7px 10px;
        font-size: 10px;
    }

    .ht-footer-legal {
        margin-top: 12px;
        font-size: 9px;
        line-height: 1.9;
    }

    .ht-footer-legal-separator {
        margin: 0 5px;
    }
}
