/* MatthiesDigitalSuite 1.0.22: Akzente, Filterkarten und Versandlogos */

/* NOVA-Gelb in der Hauptnavigation und der Kategorienbox vollständig ersetzen. */
#jtl-nav-wrapper .navbar-nav > .nav-item.active > .nav-link,
#jtl-nav-wrapper .navbar-nav > .nav-item > .nav-link.active,
#jtl-nav-wrapper .navbar-nav > .nav-item.show > .nav-link {
    border-bottom-color: #1264ff !important;
    box-shadow: inset 0 -3px 0 #1264ff !important;
}

#jtl-nav-wrapper .navbar-nav > .nav-item.active > .nav-link::before,
#jtl-nav-wrapper .navbar-nav > .nav-item.active > .nav-link::after,
#jtl-nav-wrapper .navbar-nav > .nav-item > .nav-link.active::before,
#jtl-nav-wrapper .navbar-nav > .nav-item > .nav-link.active::after {
    border-color: #1264ff !important;
}

aside .nav-panel > .nav > .active > .nav-link {
    border-bottom-color: #1264ff !important;
}

.productlist-filter-categories > .nav-item > .nav-link::before {
    border-color: #1264ff !important;
}

/* Die NOVA-Struktur bleibt bestehen, aber nur der sichtbare Filterknopf wird
   als Karte dargestellt. Dadurch entstehen keine doppelten weißen Blasen. */
@media (min-width: 992px) {
    #sidepanel_left,
    .sidepanel-left {
        background: transparent !important;
    }

    #sidepanel_left .filter-options,
    #sidepanel_left .box-filter-special,
    #sidepanel_left .box:not(.box-categories),
    #sidepanel_left .filter-options > .card {
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    #sidepanel_left .box-normal {
        margin: 0 0 1rem !important;
    }

    #sidepanel_left .box-categories {
        margin-bottom: 1rem !important;
        padding: 1rem !important;
    }

    #sidepanel_left .btn-filter-box {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 56px;
        margin: 0 !important;
        padding: .8rem 1rem !important;
        border: 1px solid #dce6f2 !important;
        border-radius: 16px !important;
        background: #fff !important;
        box-shadow: 0 8px 24px rgba(7, 26, 54, .045) !important;
    }

    #sidepanel_left .box-filter-hr,
    #sidepanel_left .box-normal-hr,
    #sidepanel_left .box hr {
        display: none !important;
        margin: 0 !important;
        border: 0 !important;
    }

    #sidepanel_left .box-filter-price .box-filter-price-collapse {
        padding: .75rem 0 .25rem !important;
    }

    #sidepanel_left .collapse.show,
    #sidepanel_left .collapsing {
        background: transparent !important;
    }

    #sidepanel_left .btn-filter-box[aria-expanded="false"] {
        margin-bottom: .8rem !important;
    }

    #sidepanel_left .btn-filter-box[aria-expanded="true"] {
        margin-bottom: 0 !important;
    }

    #sidepanel_left .filter-options .collapse.show,
    #sidepanel_left .filter-options .collapsing,
    #sidepanel_left .box-filter-price .collapse.show,
    #sidepanel_left .box-filter-price .collapsing {
        margin-bottom: .8rem !important;
    }
}

/* Offizielle Versandpartner als ruhige, gleich große Logokarten. */
.md-simple-footer__carriers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .7rem;
    margin-top: 1rem;
}

.md-simple-footer__carrier {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 124px;
    height: 52px;
    padding: 5px 9px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 11px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .16);
}

.md-simple-footer__carrier img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.md-simple-footer__carrier--dhl {
    padding: 0;
    background: #ffcc00;
}

.md-simple-footer__carrier--dhl img {
    object-fit: contain;
}

.md-simple-footer__carrier--ups {
    padding: 7px 11px;
}

.md-simple-footer__carrier--ups img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 36px !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
}

@media (max-width: 575.98px) {
    .md-simple-footer__carriers {
        gap: .55rem;
    }

    .md-simple-footer__carrier {
        width: 112px;
        height: 48px;
    }

    .md-simple-footer__carrier--ups img {
        max-height: 32px !important;
    }
}
