/* Exotenherz: Original-Logo und Trustami. Stand 30.09.2026. */

/* Die mobile Kopfzeile und der Checkout behalten ihre Logo-Größe. */
@media (min-width: 992px) {
    body:not(.is-checkout) #jtl-nav-wrapper #shop-logo {
        width: 310px !important;
        height: auto !important;
        max-width: 310px !important;
    }

    body:not(.is-checkout) #jtl-nav-wrapper .eh-header-original-logo {
        transform: translateY(-18px);
    }

    /* Die obere Leiste hat z-index 1021 und verdeckt sonst das Logo. */
    body:not(.is-checkout) #jtl-nav-wrapper .hide-navbar .nav-logo-wrapper {
        z-index: 1022;
    }
}

#jtl-nav-wrapper .eh-header-original-logo {
    display: block;
}

/* Plugin-Widget und Footer-Spalten teilen sich dasselbe Raster.
   Das Plugin bleibt an seiner ursprünglichen Stelle im HTML. */
#footer > .container.d-print-none:has(> .eh-footer-brand-refresh) {
    --eh-footer-logo-width: 280px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 2.5rem;
    row-gap: 1.5rem;
    align-items: start;
    box-sizing: border-box;
}

#footer .eh-footer-brand-refresh,
#footer .eh-footer-brand-refresh > .eh-footer-modern-grid {
    display: contents;
}

#footer .eh-footer-brand-refresh .eh-footer-modern-brand {
    grid-column: 1;
    grid-row: 1;
    justify-content: flex-start;
    align-self: start;
    min-width: 0;
    width: min(var(--eh-footer-logo-width), 100%);
    justify-self: start;
    margin-top: -9px;
}

/* Platz nur dann reservieren, wenn die Trustami-Box vorhanden ist. */
#footer > .container.d-print-none:has(> .widget_container_box)
    .eh-footer-brand-refresh .eh-footer-modern-brand {
    padding-bottom: 232px;
}

#footer .eh-footer-brand-refresh .eh-footer-modern-brand > a {
    display: block;
    width: 100%;
    max-width: 100%;
}

#footer .eh-footer-brand-refresh .eh-footer-modern-brand img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

#footer .eh-footer-brand-refresh .eh-footer-modern-brand p {
    /* Der Schriftzug endet höher als die Blume: diesen Platz nutzen. */
    margin: -9% 0 0 24.666667%;
    width: 75.133333%;
    font-size: .75rem;
    line-height: 1.45;
    letter-spacing: normal;
    text-transform: none;
}

#footer .eh-footer-brand-refresh .eh-footer-tagline {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

#footer .eh-footer-brand-refresh .eh-footer-tagline text {
    fill: currentColor;
    font-family: inherit;
    font-size: 76px;
    font-weight: 400;
}

#footer .eh-footer-brand-refresh .eh-footer-modern-column {
    grid-row: 1;
    min-width: 0;
}

#footer .eh-footer-brand-refresh .eh-footer-modern-column:nth-child(2) {
    grid-column: 2;
}

#footer .eh-footer-brand-refresh .eh-footer-modern-column:nth-child(3) {
    grid-column: 3;
}

#footer .eh-footer-brand-refresh .eh-footer-modern-column:nth-child(4) {
    grid-column: 4;
}

#footer > .container.d-print-none:has(> .eh-footer-brand-refresh)
    > #trustami_jtl_footer.widget_container_box {
    display: flex !important;
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    align-items: flex-start;
    justify-content: center;
    justify-self: start;
    width: min(var(--eh-footer-logo-width), 100%);
    max-width: 100%;
    min-height: 216px;
    height: 216px;
    margin: 0;
    padding: 0;
    overflow: visible;
    order: 0;
}

#footer > .container.d-print-none:has(> .eh-footer-brand-refresh)
    > #trustami_jtl_footer.widget_container_box iframe {
    width: 150px !important;
    height: 216px !important;
    max-width: 100%;
    transform: none;
    transform-origin: top left;
}

#footer .eh-footer-brand-refresh .eh-footer-modern-trust-row {
    grid-column: 1 / -1;
    grid-row: 2;
}

#footer .eh-footer-brand-refresh .eh-footer-modern-bottom {
    grid-column: 1 / -1;
    grid-row: 3;
}

@media (max-width: 991.98px) {
    #footer > .container.d-print-none:has(> .eh-footer-brand-refresh) {
        --eh-footer-logo-width: 235px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 1rem;
        row-gap: 1.75rem;
    }

    #footer .eh-footer-brand-refresh .eh-footer-modern-column:nth-child(3) {
        grid-column: 1;
        grid-row: 2;
    }

    #footer .eh-footer-brand-refresh .eh-footer-modern-column:nth-child(4) {
        grid-column: 2;
        grid-row: 2;
    }

    #footer .eh-footer-brand-refresh .eh-footer-modern-trust-row {
        grid-row: 3;
    }

    #footer .eh-footer-brand-refresh .eh-footer-modern-bottom {
        grid-row: 4;
        grid-template-columns: 1fr;
        justify-items: start;
    }

    #footer .eh-footer-brand-refresh .eh-footer-modern-price-note {
        justify-self: start;
        text-align: left;
    }
}

@media (max-width: 479.98px) {
    #footer > .container.d-print-none:has(> .eh-footer-brand-refresh) {
        grid-template-columns: minmax(0, 1fr);
    }

    #footer .eh-footer-brand-refresh .eh-footer-modern-column:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }

    #footer .eh-footer-brand-refresh .eh-footer-modern-column:nth-child(3) {
        grid-row: 3;
    }

    #footer .eh-footer-brand-refresh .eh-footer-modern-column:nth-child(4) {
        grid-column: 1;
        grid-row: 4;
    }

    #footer .eh-footer-brand-refresh .eh-footer-modern-trust-row {
        grid-row: 5;
    }

    #footer .eh-footer-brand-refresh .eh-footer-modern-bottom {
        grid-row: 6;
    }
}
