/**
 * Shop footer — payment/cert badges + mobile grid
 * EN uses one wide composite strip (PAYMENT-LOGOS ~1024x46).
 * Some locales use many separate icons. Support both.
 */

:root {
    --nh-footer-badge-h: 56px;
    --nh-footer-strip-max-h: 64px;
    --nh-footer-logo-max: 180px;
    --nh-footer-social-fs: 34px;
    --nh-footer-fs: 15px;
    --nh-footer-fs-small: 13px;
}

@media (min-width: 1400px) {
    :root {
        --nh-footer-badge-h: 64px;
        --nh-footer-strip-max-h: 72px;
        --nh-footer-logo-max: 200px;
        --nh-footer-social-fs: 36px;
        --nh-footer-fs: 16px;
        --nh-footer-fs-small: 14px;
    }
}

@media (min-width: 1800px) {
    :root {
        --nh-footer-badge-h: 72px;
        --nh-footer-strip-max-h: 80px;
        --nh-footer-logo-max: 220px;
    }
}

/* Full-width badge row */
footer .footer_inner_imgsec,
.footer_inner_imgsec {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 20px;
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

footer .footer__logo,
.footer__logo {
    width: auto !important;
    flex: 0 0 auto;
    margin: 0 !important;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Separate payment/cert icons (multi-image locales) */
footer .footer__logo img,
.footer__logo img {
    width: auto !important;
    height: var(--nh-footer-badge-h) !important;
    max-height: var(--nh-footer-badge-h) !important;
    max-width: 160px;
    object-fit: contain !important;
    display: block;
}

/*
 * Single wide composite strip (EN etc. — upload name like PAYMENT-LOGOS--1024x46).
 * Do NOT cap at 140px — that made the whole strip unreadably tiny.
 */
footer .footer_inner_imgsec .footer__logo:only-child,
.footer_inner_imgsec .footer__logo:only-child {
    width: 100% !important;
    max-width: min(960px, 92vw);
    flex: 0 1 auto;
}

footer .footer_inner_imgsec .footer__logo:only-child img,
.footer_inner_imgsec .footer__logo:only-child img {
    width: 100% !important;
    height: auto !important;
    max-height: var(--nh-footer-strip-max-h) !important;
    max-width: 100% !important;
    object-fit: contain !important;
}

footer a.navbar-brand_footer img,
a.navbar-brand_footer img {
    width: auto !important;
    max-width: var(--nh-footer-logo-max);
    height: auto;
    max-height: 88px;
    object-fit: contain;
}

footer .d-flex.social-icon.mt-5 a i,
.d-flex.social-icon.mt-5 a i {
    font-size: var(--nh-footer-social-fs) !important;
}

footer .footer-col ul a,
footer h3,
.footer-col ul a {
    font-size: var(--nh-footer-fs) !important;
}

footer .footer-content p,
.footer-content p {
    font-size: var(--nh-footer-fs-small) !important;
    line-height: 1.5;
}

/* Mobile */
@media (max-width: 680px) {
    :root {
        --nh-footer-badge-h: 52px;
        --nh-footer-strip-max-h: 56px;
    }

    footer .footer_inner_imgsec,
    .footer_inner_imgsec {
        gap: 14px 10px;
        padding-left: 8px;
        padding-right: 8px;
    }

    /* Multi-icon locales: 2 per row */
    footer .footer__logo,
    .footer__logo {
        width: calc(50% - 10px) !important;
        max-width: calc(50% - 10px);
        flex: 0 0 calc(50% - 10px);
    }

    footer .footer__logo img,
    .footer__logo img {
        height: var(--nh-footer-badge-h) !important;
        max-height: var(--nh-footer-badge-h) !important;
        max-width: 100%;
        margin: 0 auto;
    }

    /* Single strip still full width on mobile */
    footer .footer_inner_imgsec .footer__logo:only-child,
    .footer_inner_imgsec .footer__logo:only-child {
        width: 100% !important;
        max-width: 100%;
        flex: 0 0 100%;
        padding: 0 4px;
    }

    footer .footer_inner_imgsec .footer__logo:only-child img,
    .footer_inner_imgsec .footer__logo:only-child img {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        max-width: 100% !important;
    }

    footer a.navbar-brand_footer img,
    a.navbar-brand_footer img {
        max-width: 140px;
        max-height: 70px;
    }
}
