/*
 * Keystore24 - Topbar
 * Eigenständige Gestaltung der oberen Service-/Utility-Leiste.
 */
#header-top-bar {
    background: linear-gradient(90deg, #02C9F3 0%, #0298D5 22%, #055995 45%, #021C3F 72%, #01112C 100%);
    color: #E8F1F7;
    border-bottom: 2px solid #02C9F3;
    box-shadow: 0 2px 10px rgba(1, 17, 44, 0.18);
}

#header-top-bar > .container,
#header-top-bar > .container-fluid,
#header-top-bar > .container-fluid-xl {
    min-height: 38px;
}

#header-top-bar .topbar-main,
#header-top-bar .topbar-note {
    color: #E8F1F7;
}

#header-top-bar a:not(.dropdown-item):not(.btn),
#header-top-bar .nav-link,
#header-top-bar .dropdown-toggle {
    color: #E8F1F7 !important;
    text-decoration: none;
}

#header-top-bar a:not(.dropdown-item):not(.btn):hover,
#header-top-bar .nav-link:hover,
#header-top-bar .dropdown-toggle:hover,
#header-top-bar .nav-item.show > .nav-link {
    color: #02C9F3 !important;
}

#header-top-bar .nav-dividers .nav-item:not(:last-child)::after {
    border-right-color: rgba(161, 192, 214, 0.35);
}

#header-top-bar .dropdown-menu {
    background-color: #FFFFFF;
    border-color: rgba(5, 89, 149, 0.18);
    box-shadow: 0 8px 24px rgba(1, 17, 44, 0.18);
}

#header-top-bar .dropdown-menu .dropdown-item {
    color: #01112C;
}

#header-top-bar .dropdown-menu .dropdown-item:hover,
#header-top-bar .dropdown-menu .dropdown-item:focus,
#header-top-bar .dropdown-menu .dropdown-item.active {
    background-color: #E8F1F7;
    color: #055995;
}

@media (max-width: 991.98px) {
    #header-top-bar {
        border-bottom-width: 1px;
    }
}

/*
 * Keystore24 - Haupt-Suchfeld
 * Desktop-Suche aus layout/header_nav_search.tpl
 */
#search .search-wrapper {
    width: 100%;
}

#search .search-wrapper form {
    width: 100%;
}

#search .search-wrapper .input-group {
    overflow: hidden;
    border: 1px solid #A1C0D6;
    border-radius: 10px;
    background: #FFFFFF;
    box-shadow: 0 3px 12px rgba(1, 17, 44, 0.08);
    transition: border-color .2s ease, box-shadow .2s ease;
}

#search .search-wrapper .input-group:focus-within {
    border-color: #02C9F3;
    box-shadow: 0 0 0 2px rgba(2, 201, 243, 0.14), 0 5px 16px rgba(1, 17, 44, 0.10);
}

#search .search-wrapper .form-control {
    height: 48px;
    padding: 0 16px;
    border: 0;
    border-radius: 0;
    background: #FFFFFF;
    color: #01112C;
    box-shadow: none;
}

#search .search-wrapper .form-control:focus {
    border: 0;
    background: #FFFFFF;
    color: #01112C;
    box-shadow: none;
}

#search .search-wrapper .form-control::placeholder {
    color: #6D8498;
    opacity: 1;
}

#search .search-wrapper .input-group-append .btn {
    min-width: 54px;
    height: 48px;
    padding-left: 1rem;
    padding-right: 1rem;
    border: 0;
    border-radius: 0;
    background: linear-gradient(90deg, #01112C 0%, #055995 55%, #0298D5 100%);
    color: #FFFFFF;
    box-shadow: none;
    transition: background .2s ease, box-shadow .2s ease;
}

#search .search-wrapper .input-group-append .btn:hover,
#search .search-wrapper .input-group-append .btn:focus {
    background: linear-gradient(90deg, #021C3F 0%, #055995 45%, #02C9F3 100%);
    color: #FFFFFF;
    box-shadow: inset 0 -2px 0 rgba(255, 255, 255, .18);
}

#search .search-wrapper .input-group-append .fa-search {
    font-size: 1rem;
}

#search .search-wrapper .form-clear {
    color: #055995;
}

/* Mobile search form */
.main-search .input-group {
    overflow: hidden;
    border: 1px solid #A1C0D6;
    border-radius: 10px;
    background: #FFFFFF;
    box-shadow: 0 3px 12px rgba(1, 17, 44, 0.08);
}

.main-search .input-group:focus-within {
    border-color: #02C9F3;
    box-shadow: 0 0 0 2px rgba(2, 201, 243, .14), 0 5px 16px rgba(1, 17, 44, .10);
}

.main-search .form-control {
    border: 0;
    background: #FFFFFF;
    color: #01112C;
    box-shadow: none;
}

.main-search .input-group-append .btn {
    border: 0;
    background: linear-gradient(90deg, #01112C 0%, #055995 55%, #0298D5 100%);
    color: #FFFFFF;
}

/*
 * Keystore24 - Header Icons / Variante 3 Tech-Style
 * Konto, Wunschliste und Warenkorb erhalten eine gemeinsame
 * technische Optik mit Cyan-Akzent und dezenter Aktiv-Unterstreichung.
 */
#shop-nav.nav-icons > .account-icon-dropdown,
#shop-nav.nav-icons > #shop-nav-wish,
#shop-nav.nav-icons > .cart-icon-dropdown {
    position: relative;
}

#shop-nav.nav-icons > .account-icon-dropdown > .nav-link,
#shop-nav.nav-icons > #shop-nav-wish > .nav-link,
#shop-nav.nav-icons > .cart-icon-dropdown > .nav-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    min-height: 64px;
    padding: 7px 10px 9px;
    color: #01112C !important;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

#shop-nav.nav-icons .keystore24-nav-icon,
#shop-nav.nav-icons .cart-icon-dropdown-icon {
    display: block;
    margin: 0 0 5px;
    font-size: 1.45rem;
    line-height: 1;
    color: #055995;
    transition: color .2s ease, text-shadow .2s ease, transform .2s ease;
}

#shop-nav.nav-icons .keystore24-nav-label,
#shop-nav.nav-icons .cart-icon-dropdown-price {
    display: block;
    color: #01112C;
    font-size: .86rem;
    line-height: 1.2;
    white-space: nowrap;
    transition: color .2s ease;
}

#shop-nav.nav-icons .account-icon-dropdown > .nav-link::after,
#shop-nav.nav-icons #shop-nav-wish > .nav-link::after,
#shop-nav.nav-icons .cart-icon-dropdown > .nav-link::after {
    content: '';
    display: block;
    width: 34px;
    height: 2px;
    margin-top: 6px;
    background: #02C9F3;
    opacity: .9;
    transform: scaleX(.65);
    transform-origin: center;
    transition: width .2s ease, box-shadow .2s ease, transform .2s ease;
}

#shop-nav.nav-icons > .account-icon-dropdown > .nav-link:hover,
#shop-nav.nav-icons > #shop-nav-wish > .nav-link:hover,
#shop-nav.nav-icons > .cart-icon-dropdown > .nav-link:hover,
#shop-nav.nav-icons > .account-icon-dropdown.show > .nav-link,
#shop-nav.nav-icons > #shop-nav-wish.active > .nav-link,
#shop-nav.nav-icons > #shop-nav-wish.show > .nav-link,
#shop-nav.nav-icons > .cart-icon-dropdown.show > .nav-link {
    color: #02C9F3 !important;
    transform: translateY(-1px);
}

#shop-nav.nav-icons > .account-icon-dropdown > .nav-link:hover .keystore24-nav-icon,
#shop-nav.nav-icons > #shop-nav-wish > .nav-link:hover .keystore24-nav-icon,
#shop-nav.nav-icons > .cart-icon-dropdown > .nav-link:hover .cart-icon-dropdown-icon,
#shop-nav.nav-icons > .account-icon-dropdown.show > .nav-link .keystore24-nav-icon,
#shop-nav.nav-icons > #shop-nav-wish.active > .nav-link .keystore24-nav-icon,
#shop-nav.nav-icons > #shop-nav-wish.show > .nav-link .keystore24-nav-icon,
#shop-nav.nav-icons > .cart-icon-dropdown.show > .nav-link .cart-icon-dropdown-icon {
    color: #02C9F3;
    text-shadow: 0 0 10px rgba(2, 201, 243, .28);
    transform: scale(1.04);
}

#shop-nav.nav-icons > .account-icon-dropdown > .nav-link:hover::after,
#shop-nav.nav-icons > #shop-nav-wish > .nav-link:hover::after,
#shop-nav.nav-icons > .cart-icon-dropdown > .nav-link:hover::after,
#shop-nav.nav-icons > .account-icon-dropdown.show > .nav-link::after,
#shop-nav.nav-icons > #shop-nav-wish.active > .nav-link::after,
#shop-nav.nav-icons > #shop-nav-wish.show > .nav-link::after,
#shop-nav.nav-icons > .cart-icon-dropdown.show > .nav-link::after {
    width: 48px;
    box-shadow: 0 0 8px rgba(2, 201, 243, .55);
    transform: scaleX(1);
}

#shop-nav.nav-icons .cart-icon-dropdown .fa-sup,
#shop-nav.nav-icons #badge-wl-count {
    background: #02C9F3;
    color: #01112C;
    border: 2px solid #FFFFFF;
    box-shadow: 0 0 8px rgba(2, 201, 243, .35);
}

@media (max-width: 991.98px) {
    #shop-nav.nav-icons > .account-icon-dropdown > .nav-link,
    #shop-nav.nav-icons > #shop-nav-wish > .nav-link,
    #shop-nav.nav-icons > .cart-icon-dropdown > .nav-link {
        min-width: 0;
        padding-left: 7px;
        padding-right: 7px;
    }
}

/*
 * Keystore24 - Kategorieleiste Variante 3
 * Nur die äußere Darstellung wird verändert. Die originale JTL-Mega-Menü-
 * und Unterkategorien-Struktur bleibt vollständig erhalten.
 */
@media (min-width: 992px) {
    #jtl-nav-wrapper #mainNavigation {
        position: relative;
        z-index: 20;
        overflow: visible;
        border: 0;
        background: transparent;
    }

    /* Vollbreiter Hintergrund, ohne Breite/Position des JTL-Dropdowns zu verändern. */
    #jtl-nav-wrapper #mainNavigation::before {
        content: '';
        position: absolute;
        z-index: 0;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 100vw;
        transform: translateX(-50%);
        background: linear-gradient(90deg, #0298D5 0%, #055995 22%, #021C3F 58%, #01112C 100%);
        border-bottom: 2px solid #02C9F3;
        box-shadow: 0 6px 16px rgba(1, 17, 44, .16), 0 4px 14px rgba(2, 201, 243, .18);
        pointer-events: none;
    }

    #jtl-nav-wrapper #mainNavigation .nav-mobile-body {
        position: relative;
        z-index: 1;
        overflow: visible;
    }

    #jtl-nav-wrapper #mainNavigation .nav-scrollbar-inner {
        overflow-x: auto;
        overflow-y: visible;
    }

    /* Nur die oberste Ebene einfärben; Unterkategorien bleiben original. */
    #jtl-nav-wrapper #mainNavigation .navbar-nav > .nav-item > .nav-link {
        color: #E8F1F7 !important;
        font-weight: 600;
        text-decoration: none;
    }

    #jtl-nav-wrapper #mainNavigation .navbar-nav > .nav-item > .nav-link::before {
        display: none !important;
        content: none !important;
    }

    #jtl-nav-wrapper #mainNavigation .navbar-nav > .nav-item > .nav-link > .nav-mobile-heading,
    #jtl-nav-wrapper #mainNavigation .navbar-nav > .nav-item > .nav-link > .text-truncate {
        position: relative;
        display: inline-block;
        width: auto;
    }

    /* Hover-Linie sitzt exakt unter dem Kategorienamen. */
    #jtl-nav-wrapper #mainNavigation .navbar-nav > .nav-item > .nav-link > .nav-mobile-heading::after,
    #jtl-nav-wrapper #mainNavigation .navbar-nav > .nav-item > .nav-link > .text-truncate::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: -7px;
        height: 2px;
        border-radius: 999px;
        background: #02C9F3;
        box-shadow: 0 0 9px rgba(2, 201, 243, .7);
        opacity: 0;
        transform: scaleX(.35);
        transform-origin: center;
        transition: opacity .2s ease, transform .2s ease;
    }

    #jtl-nav-wrapper #mainNavigation .navbar-nav > .nav-item:hover > .nav-link,
    #jtl-nav-wrapper #mainNavigation .navbar-nav > .nav-item.active > .nav-link,
    #jtl-nav-wrapper #mainNavigation .navbar-nav > .nav-item.hover > .nav-link,
    #jtl-nav-wrapper #mainNavigation .navbar-nav > .nav-item.show > .nav-link {
        color: #02C9F3 !important;
        text-shadow: 0 0 8px rgba(2, 201, 243, .22);
    }

    #jtl-nav-wrapper #mainNavigation .navbar-nav > .nav-item:hover > .nav-link > .nav-mobile-heading::after,
    #jtl-nav-wrapper #mainNavigation .navbar-nav > .nav-item.active > .nav-link > .nav-mobile-heading::after,
    #jtl-nav-wrapper #mainNavigation .navbar-nav > .nav-item.show > .nav-link > .nav-mobile-heading::after,
    #jtl-nav-wrapper #mainNavigation .navbar-nav > .nav-item:hover > .nav-link > .text-truncate::after,
    #jtl-nav-wrapper #mainNavigation .navbar-nav > .nav-item.active > .nav-link > .text-truncate::after,
    #jtl-nav-wrapper #mainNavigation .navbar-nav > .nav-item.show > .nav-link > .text-truncate::after {
        opacity: 1;
        transform: scaleX(1);
    }

    #jtl-nav-wrapper #mainNavigation .navbar-nav > .nav-item > .dropdown-toggle::after {
        color: #E8F1F7;
    }

    #jtl-nav-wrapper #mainNavigation .navbar-nav > .nav-item:hover > .dropdown-toggle::after,
    #jtl-nav-wrapper #mainNavigation .navbar-nav > .nav-item.active > .dropdown-toggle::after,
    #jtl-nav-wrapper #mainNavigation .navbar-nav > .nav-item.show > .dropdown-toggle::after {
        color: #02C9F3;
    }
}

@media (max-width: 991.98px) {
    #jtl-nav-wrapper #mainNavigation {
        background: #01112C;
    }
}

/* Keystore24: Unterkategorien im Mega-Menü */
@media (min-width: 992px) {
    #jtl-nav-wrapper #mainNavigation .dropdown-menu .categories-recursive-link,
    #jtl-nav-wrapper #mainNavigation .dropdown-menu .nav-link,
    #jtl-nav-wrapper #mainNavigation .dropdown-menu .dropdown-item {
        color: #021C3F !important;
        text-decoration: none !important;
    }

    #jtl-nav-wrapper #mainNavigation .dropdown-menu .categories-recursive-link:hover,
    #jtl-nav-wrapper #mainNavigation .dropdown-menu .categories-recursive-link:focus,
    #jtl-nav-wrapper #mainNavigation .dropdown-menu .nav-link:hover,
    #jtl-nav-wrapper #mainNavigation .dropdown-menu .nav-link:focus,
    #jtl-nav-wrapper #mainNavigation .dropdown-menu .dropdown-item:hover,
    #jtl-nav-wrapper #mainNavigation .dropdown-menu .dropdown-item:focus {
        color: #02C9F3 !important;
        text-decoration: none !important;
    }

    #jtl-nav-wrapper #mainNavigation .categories-recursive-dropdown .nav-link {
        color: #021C3F !important;
    }

    #jtl-nav-wrapper #mainNavigation .categories-recursive-dropdown .nav-link:hover,
    #jtl-nav-wrapper #mainNavigation .categories-recursive-dropdown .nav-link:focus {
        color: #02C9F3 !important;
    }
}

/* ==========================================================
   Keystore24 – Consent Manager
   Optische Anpassung an die Keystore24 Markenfarben.
   Funktionalität und JTL-Consent-Struktur bleiben unverändert.
   ========================================================== */

#consent-banner {
    border: 1px solid #A1C0D6;
    border-radius: 14px;
    color: #021C3F;
    background: #FFFFFF;
    box-shadow: 0 12px 35px rgba(1, 17, 44, .18), 0 3px 12px rgba(2, 201, 243, .10);
}

#consent-banner .consent-banner-icon,
#consent-settings .consent-modal-icon {
    color: #0298D5;
    border-color: #A1C0D6;
}

#consent-banner .consent-display-2,
#consent-settings .consent-display-2 {
    color: #01112C;
    font-weight: 700;
}

#consent-banner .consent-banner-description,
#consent-settings .consent-modal-content {
    color: #021C3F;
}

#consent-banner a,
#consent-settings a {
    color: #055995;
    transition: color .2s ease;
}

#consent-banner a:hover,
#consent-banner a:focus,
#consent-settings a:hover,
#consent-settings a:focus {
    color: #02C9F3;
}

#consent-banner .consent-btn,
#consent-settings .consent-btn {
    border-radius: 8px;
    border: 1px solid #055995;
    font-weight: 600;
    transition: all .2s ease;
}

#consent-banner .consent-btn-outline-primary,
#consent-settings .consent-btn-outline-primary {
    color: #055995;
    background: #FFFFFF;
    border-color: #055995;
}

#consent-banner .consent-btn-outline-primary:hover,
#consent-banner .consent-btn-outline-primary:focus,
#consent-settings .consent-btn-outline-primary:hover,
#consent-settings .consent-btn-outline-primary:focus {
    color: #FFFFFF;
    background: linear-gradient(90deg, #055995, #0298D5, #02C9F3);
    border-color: #0298D5;
    box-shadow: 0 0 0 .15rem rgba(2, 201, 243, .16), 0 4px 14px rgba(1, 17, 44, .14);
}

#consent-banner .consent-accept .consent-btn,
#consent-settings .consent-accept .consent-btn {
    color: #FFFFFF;
    background: linear-gradient(90deg, #01112C, #055995, #0298D5);
    border-color: #055995;
}

#consent-banner .consent-accept .consent-btn:hover,
#consent-banner .consent-accept .consent-btn:focus,
#consent-settings .consent-accept .consent-btn:hover,
#consent-settings .consent-accept .consent-btn:focus {
    background: linear-gradient(90deg, #055995, #0298D5, #02C9F3);
    border-color: #02C9F3;
    box-shadow: 0 0 14px rgba(2, 201, 243, .28);
}

#consent-settings .consent-modal {
    background-color: rgba(1, 17, 44, .78);
    backdrop-filter: blur(3px);
}

#consent-settings .consent-modal-content {
    border: 1px solid #A1C0D6;
    border-radius: 14px;
    box-shadow: 0 18px 55px rgba(1, 17, 44, .30), 0 0 25px rgba(2, 201, 243, .10);
}

#consent-settings .consent-modal-close {
    color: #021C3F;
}

#consent-settings .consent-modal-close:hover,
#consent-settings .consent-modal-close:focus {
    color: #02C9F3;
}

#consent-settings hr {
    border-color: #D5E4ED;
}

#consent-settings .consent-info,
#consent-settings .consent-more-description {
    border-color: #A1C0D6;
    background: #F4F8FB;
}

#consent-settings .consent-label,
#consent-settings .consent-switch label {
    color: #021C3F;
}

#consent-settings .consent-input:checked + .consent-label::before,
#consent-settings .consent-input:checked + label::before {
    background-color: #0298D5;
    border-color: #0298D5;
}

#consent-settings-btn {
    color: #055995;
    border-color: #A1C0D6;
    box-shadow: 0 4px 14px rgba(1, 17, 44, .15);
}

#consent-settings-btn:hover,
#consent-settings-btn:focus {
    color: #FFFFFF;
    background: #055995;
    border-color: #02C9F3;
    box-shadow: 0 0 12px rgba(2, 201, 243, .28);
}


/* ================================================================
 * Keystore24 Footer – Footerbox-Überschriften / Variante 3
 * Überschriftstext bleibt exakt auf der gleichen linken Flucht wie
 * die darunterliegenden Links. Der Cyan-Akzent sitzt knapp davor.
 * ================================================================ */
#footer #footer-boxes .productlist-filter-headline {
    position: relative;
    margin: 0 0 .9rem;
    padding: 0;
    border: 0;
    color: #021C3F !important;
    font-family: "Raleway", sans-serif;
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 700;
}

#footer #footer-boxes .productlist-filter-headline::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    width: 4px;
    height: 1.35rem;
    transform: translateY(-50%);
    border-radius: 2px;
    background: #0298D5;
    box-shadow: 0 0 8px rgba(2, 201, 243, .28);
}

/* ================================================================
 * Keystore24 Footer – blaues Design
 * Das Logo wird separat über eine eigene JTL-Footer-Box eingebunden.
 * ================================================================ */
#footer {
    background: linear-gradient(90deg, #02C9F3 0%, #0298D5 22%, #055995 45%, #021C3F 72%, #01112C 100%);
    color: #E8F1F7;
}

#footer #footer-boxes {
    padding: 1.5rem 0 2.5rem;
    margin-top: .25rem;
    border-top: 1px solid rgba(161, 192, 214, .22);
}

#footer #footer-boxes > [class*='col-'] {
    margin-bottom: 1.5rem;
    padding: 1.15rem 1.25rem 1.35rem;
    background: rgba(232, 241, 247, .92);
    border: 1px solid rgba(255, 255, 255, .70);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(1, 17, 44, .20);
}

#footer #footer-boxes a,
#footer .withdrawal-link-wrapper a {
    color: #021C3F;
    transition: color .2s ease, text-shadow .2s ease;
}

#footer #footer-boxes a:hover,
#footer #footer-boxes a:focus,
#footer .withdrawal-link-wrapper a:hover,
#footer .withdrawal-link-wrapper a:focus,
#footer .footer-social-media a:hover,
#footer .footer-social-media a:focus {
    color: #02C9F3;
    text-shadow: 0 0 7px rgba(2, 201, 243, .22);
}

#footer #footer-boxes .h2,
#footer #footer-boxes .h3,
#footer #footer-boxes .h4,
#footer #footer-boxes .h5,
#footer #footer-boxes h2,
#footer #footer-boxes h3,
#footer #footer-boxes h4,
#footer #footer-boxes h5,
#footer #footer-boxes .card-title,
#footer #footer-boxes .box-headline,
#footer #footer-boxes .box-headline a {
    color: #02C9F3 !important;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(1, 17, 44, .45);
}

#footer #footer-boxes a,
#footer #footer-boxes .nav-link,
#footer #footer-boxes .box-linkgroup a {
    color: #021C3F !important;
}

#footer #footer-boxes a:hover,
#footer #footer-boxes a:focus,
#footer #footer-boxes .nav-link:hover,
#footer #footer-boxes .nav-link:focus,
#footer #footer-boxes .box-linkgroup a:hover,
#footer #footer-boxes .box-linkgroup a:focus {
    color: #02C9F3 !important;
}

#footer .footer-social-media {
    padding: 1.25rem 0 1.5rem;
    border-top: 1px solid rgba(161, 192, 214, .18);
}

#footer .footer-social-media .btn-icon-secondary {
    color: #02C9F3;
    border-color: rgba(2, 201, 243, .45);
    background: transparent;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

#footer .footer-social-media .btn-icon-secondary:hover,
#footer .footer-social-media .btn-icon-secondary:focus {
    color: #01112C;
    background: #02C9F3;
    border-color: #02C9F3;
    box-shadow: 0 0 12px rgba(2, 201, 243, .28);
}

#footer .footnote-vat {
    color: #A1C0D6;
    opacity: .9;
}

#footer #copyright {
    background: #011A35;
    border-top: 1px solid rgba(2, 201, 243, .25);
    color: #A1C0D6;
}

#footer #copyright a,
#footer #copyright .text-white {
    color: #E8F1F7 !important;
}

#footer #copyright a:hover,
#footer #copyright a:focus {
    color: #02C9F3 !important;
}

@media (max-width: 991.98px) {
    #footer #footer-boxes {
        padding-top: 1.25rem;
    }
}

/* Kleine Abstände zwischen den einzelnen Footer-Boxen */
#footer #footer-boxes > [class*='col-'] {
    margin-left: .4rem;
    margin-right: .4rem;
    width: calc(100% - .8rem);
}

@media (min-width: 576px) {
    #footer #footer-boxes > [class*='col-'] {
        width: calc(50% - .8rem);
    }
}

@media (min-width: 768px) {
    #footer #footer-boxes > [class*='col-'] {
        width: calc(33.333333% - .8rem);
    }
}

@media (min-width: 992px) {
    #footer #footer-boxes > [class*='col-'] {
        width: calc(25% - .8rem);
    }
}

/* ================================================================
 * Keystore24 – Button „Vertrag widerrufen“ – Variante 3
 * Icon aus der vom Nutzer freigegebenen Referenz.
 * ================================================================ */
#footer .withdrawal-link-wrapper .withdrawal-link {
    display: flex;
    align-items: center;
    width: 50%;
    min-height: 28px;
    padding: 4px 8px;
    border: 2px solid #02C9F3;
    border-radius: 12px;
    background: linear-gradient(135deg, #E8F1F7 0%, #D8ECF7 100%);
    color: #021C3F !important;
    box-shadow: 0 0 14px rgba(2, 201, 243, .22), 0 6px 18px rgba(1, 17, 44, .18);
    text-decoration: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

#footer .withdrawal-link-wrapper .withdrawal-link__icon {
    flex: 0 0 28px;
    width: 28px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-right: 6px;
    padding-right: 6px;
    border-right: 2px solid rgba(2, 201, 243, .75);
    box-sizing: border-box;
}

#footer .withdrawal-link-wrapper .withdrawal-link__icon img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 18px !important;
    height: auto !important;
    max-width: 18px !important;
}

#footer .withdrawal-link-wrapper .withdrawal-link__text {
    flex: 1 1 auto;
    font-weight: 700;
    font-size: .70rem;
    line-height: 1.2;
    color: #021C3F !important;
}

#footer .withdrawal-link-wrapper .withdrawal-link__arrow {
    flex: 0 0 auto;
    margin-left: 6px;
    font-size: 1.25rem;
    line-height: 1;
    font-weight: 300;
    color: #02C9F3;
}

#footer .withdrawal-link-wrapper .withdrawal-link:hover,
#footer .withdrawal-link-wrapper .withdrawal-link:focus {
    background: linear-gradient(135deg, #0A75D1 0%, #02C9F3 100%);
    border-color: #02C9F3;
    color: #FFFFFF !important;
    box-shadow: 0 0 20px rgba(2, 201, 243, .40), 0 8px 22px rgba(1, 17, 44, .22);
    text-shadow: none;
}

#footer .withdrawal-link-wrapper .withdrawal-link:hover .withdrawal-link__text,
#footer .withdrawal-link-wrapper .withdrawal-link:focus .withdrawal-link__text,
#footer .withdrawal-link-wrapper .withdrawal-link:hover .withdrawal-link__arrow,
#footer .withdrawal-link-wrapper .withdrawal-link:focus .withdrawal-link__arrow {
    color: #FFFFFF !important;
}

@media (max-width: 575.98px) {
    #footer .withdrawal-link-wrapper .withdrawal-link {
        width: 50%;
        min-height: 26px;
        padding: 3px 7px;
    }

    #footer .withdrawal-link-wrapper .withdrawal-link__icon {
        flex-basis: 26px;
        width: 26px;
        height: 22px;
        margin-right: 5px;
        padding-right: 5px;
    }

    #footer .withdrawal-link-wrapper .withdrawal-link__icon img {
        width: 17px !important;
        max-width: 17px !important;
    }

    #footer .withdrawal-link-wrapper .withdrawal-link__arrow {
        margin-left: 5px;
        font-size: 1.15rem;
    }
}

/* ================================================================
 * Keystore24 Footer – Transparente Footer-Boxen / Unterstreichung
 * ================================================================ */
#footer #footer-boxes > [class*='col-'] {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

#footer #footer-boxes .productlist-filter-headline {
    position: relative;
    margin: 0 0 .9rem !important;
    padding: 0 0 .55rem !important;
    border: 0 !important;
    border-bottom: 2px solid #0298D5 !important;
    color: #E8F1F7 !important;
    text-shadow: 0 1px 2px rgba(1, 17, 44, .35);
}

#footer #footer-boxes .productlist-filter-headline::before {
    display: none !important;
    content: none !important;
}

#footer #footer-boxes .h2,
#footer #footer-boxes .h3,
#footer #footer-boxes .h4,
#footer #footer-boxes .h5,
#footer #footer-boxes h2,
#footer #footer-boxes h3,
#footer #footer-boxes h4,
#footer #footer-boxes h5,
#footer #footer-boxes .card-title,
#footer #footer-boxes .box-headline,
#footer #footer-boxes .box-headline a {
    color: #E8F1F7 !important;
}

#footer #footer-boxes a,
#footer #footer-boxes .nav-link,
#footer #footer-boxes .box-linkgroup a {
    color: #E8F1F7 !important;
}

#footer #footer-boxes a:hover,
#footer #footer-boxes a:focus,
#footer #footer-boxes .nav-link:hover,
#footer #footer-boxes .nav-link:focus,
#footer #footer-boxes .box-linkgroup a:hover,
#footer #footer-boxes .box-linkgroup a:focus {
    color: #02C9F3 !important;
}

/* ================================================================
 * Keystore24 Footer – linke Kontakt-/Logobox auf Überschriftenhöhe
 * Die erste Footer-Spalte startet bündig mit den Überschriften der
 * nachfolgenden Footer-Spalten.
 * ================================================================ */
#footer #footer-boxes > [class*='col-']:first-child {
    padding-top: 0 !important;
}


/* Keystore24 Footer – Markenlogo und Slogan im Copyright-Bereich */
#footer #system-credits .keystore24-footer-branding {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .9rem;
    min-width: 0;
}

#footer #system-credits .keystore24-footer-logo {
    display: block;
    width: clamp(70px, 9vw, 110px);
    height: auto;
    max-width: 100%;
    flex: 0 1 auto;
}

#footer #system-credits .keystore24-footer-divider {
    display: block;
    width: 2px;
    height: 2rem;
    flex: 0 0 2px;
    background: linear-gradient(180deg, #02C9F3 0%, #0298D5 50%, #055995 100%);
    box-shadow: 0 0 8px rgba(2, 201, 243, .28);
}

#footer #system-credits .keystore24-footer-slogan {
    color: #E8F1F7;
    white-space: nowrap;
    font-size: .9rem;
    letter-spacing: .04em;
}

@media (max-width: 767.98px) {
    #footer #system-credits .keystore24-footer-branding {
        justify-content: center;
        flex-wrap: wrap;
        gap: .65rem;
    }

    #footer #system-credits .keystore24-footer-logo {
        width: min(95px, 24vw);
    }

    #footer #system-credits .keystore24-footer-divider {
        height: 1.65rem;
    }

    #footer #system-credits .keystore24-footer-slogan {
        font-size: .8rem;
        white-space: normal;
        text-align: center;
    }
}
/* Keystore24 – Artikeldetailseite: eigenständige Design-Anpassung */
/* Funktionale JTL-Template-Struktur bleibt unverändert. */

:root {
    --ks-blue: #1769d1;
    --ks-blue-dark: #0b3d91;
    --ks-cyan: #1aa7ff;
    --ks-ink: #142033;
    --ks-muted: #66758a;
    --ks-line: #dce5f0;
    --ks-soft: #f5f9fe;
}

/* Gesamtbereich */
.product-detail {
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--ks-line);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(20, 55, 100, .08);
}

.product-gallery {
    padding: 1.25rem;
    border-right: 1px solid var(--ks-line);
    background: linear-gradient(145deg, #fff 0%, var(--ks-soft) 100%);
}

.product-info {
    padding: 1.25rem 1.75rem;
}

.product-info-inner {
    max-width: 100%;
}

/* Titel und Kopf */
.product-headline {
    margin-bottom: .85rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9f1fb;
}

.product-title,
.product-detail h1.product-title {
    margin: 0;
    color: var(--ks-ink);
    font-family: 'Poppins', 'Raleway', sans-serif;
    font-size: clamp(1.55rem, 2.2vw, 2.2rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.rating-wrapper {
    display: inline-flex;
    align-items: center;
    margin: .15rem 0 .8rem;
    padding: .45rem .7rem;
    background: #f7faff;
    border: 1px solid #e2ecf8;
    border-radius: 8px;
    color: var(--ks-muted);
    font-size: .9rem;
}

.rating-wrapper a { color: var(--ks-muted); }
.rating-wrapper .fa-star,
.rating-wrapper .fas.fa-star { color: #f5b400; }

/* Artikelinformationen */
.info-essential {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .45rem 1rem;
    margin: .75rem 0 1.1rem;
    padding: 1rem;
    background: var(--ks-soft);
    border: 1px solid #e3edf8;
    border-radius: 10px;
}

.info-essential li {
    margin: 0;
    color: var(--ks-muted);
    font-size: .9rem;
}

.info-essential strong {
    color: var(--ks-ink);
    font-weight: 600;
}

.info-essential a,
.product-manufacturer a,
.product-category a {
    color: var(--ks-blue);
    text-decoration: none;
}

.info-essential a:hover { color: var(--ks-blue-dark); text-decoration: underline; }

/* Kurzbeschreibung */
.shortdesc {
    margin: 1rem 0 1.25rem;
    padding: 1rem 1.15rem;
    color: #39495e;
    background: #fff;
    border-left: 4px solid var(--ks-cyan);
    border-radius: 0 8px 8px 0;
    line-height: 1.65;
}

/* Preisbereich */
.product-info .price_wrapper,
.product-info .product-price,
.product-info .price-box {
    margin: 1rem 0;
    padding: 1rem 1.15rem;
    background: linear-gradient(135deg, #f6faff 0%, #edf6ff 100%);
    border: 1px solid #d8e9fb;
    border-radius: 10px;
}

.product-info .price_wrapper .price,
.product-info .product-price .price,
.product-info .price-box .price,
.product-info .price_wrapper .value {
    color: var(--ks-blue-dark);
    font-family: 'Poppins', 'Raleway', sans-serif;
    font-weight: 700;
}

/* Varianten */
.product-info .variations,
.product-info .variation-wrapper,
.product-info [class*="variation"] {
    border-color: #dfe9f5;
}

.product-info select,
.product-info .custom-select,
.product-info input:not([type="checkbox"]):not([type="radio"]) {
    border-color: #ccd9e8;
    border-radius: 7px;
}

.product-info select:focus,
.product-info .custom-select:focus,
.product-info input:focus {
    border-color: var(--ks-cyan);
    box-shadow: 0 0 0 .18rem rgba(26, 167, 255, .16);
}

/* Warenkorb-Box */
.product-info .basket-form,
.product-info .basket-form-inline {
    margin-top: 1.25rem;
    padding: 1.1rem;
    background: #f8fbff;
    border: 1px solid #dce9f7;
    border-radius: 12px;
}

#quantity-grp .btn,
.choose_quantity .btn {
    color: var(--ks-blue-dark);
    background: #fff;
    border-color: #cbd9e8;
}

#quantity-grp .btn:hover,
.choose_quantity .btn:hover {
    color: #fff;
    background: var(--ks-blue);
    border-color: var(--ks-blue);
}

#quantity-grp .quantity {
    font-weight: 700;
    text-align: center;
    color: var(--ks-ink);
    background: #fff;
}

.product-info button.btn-primary,
.product-info .btn-primary {
    min-height: 48px;
    font-family: 'Poppins', 'Raleway', sans-serif;
    font-weight: 700;
    letter-spacing: .01em;
    color: #fff;
    background: linear-gradient(135deg, var(--ks-blue) 0%, var(--ks-blue-dark) 100%);
    border: 0;
    border-radius: 8px;
    box-shadow: 0 7px 16px rgba(23, 105, 209, .22);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.product-info button.btn-primary:hover,
.product-info .btn-primary:hover {
    color: #fff;
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(23, 105, 209, .28);
}

/* Tabs und Inhalt unterhalb */
.product-tabs,
#tab-content,
.product-detail-tabs {
    margin-top: 1.5rem;
}

.product-detail .nav-tabs,
.product-tabs .nav-tabs {
    border-bottom: 2px solid #dce7f3;
}

.product-detail .nav-tabs .nav-link,
.product-tabs .nav-tabs .nav-link {
    color: var(--ks-muted);
    font-weight: 600;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
}

.product-detail .nav-tabs .nav-link.active,
.product-detail .nav-tabs .nav-link:hover,
.product-tabs .nav-tabs .nav-link.active,
.product-tabs .nav-tabs .nav-link:hover {
    color: var(--ks-blue-dark);
    border-bottom-color: var(--ks-cyan);
}

.tab-content {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--ks-line);
    border-top: 0;
    border-radius: 0 0 12px 12px;
}

/* Galerie */
.product-gallery img { border-radius: 8px; }
.product-gallery .slick-slide,
.product-gallery .gallery-thumbnails img { border-radius: 7px; }

@media (max-width: 991.98px) {
    .product-detail { padding: 1rem; }
    .product-gallery { border-right: 0; border-bottom: 1px solid var(--ks-line); }
    .product-info { padding: 1.25rem .5rem .5rem; }
}

@media (max-width: 575.98px) {
    .product-detail { border-radius: 10px; }
    .info-essential { grid-template-columns: 1fr; }
    .product-title,
    .product-detail h1.product-title { font-size: 1.45rem; }
    .product-info .basket-form,
    .product-info .basket-form-inline { padding: .85rem; }
}
    .info-essential { grid-template-columns: 1fr; }
    .product-title,
    .product-detail h1.product-title { font-size: 1.45rem; }
    .product-info .basket-form,
    .product-info .basket-form-inline { padding: .85rem; }
}

/* Keystore24 – Artikeldetails: einheitliche Textfarben */
.product-detail, .product-detail p, .product-detail li, .product-detail td, .product-detail dd,
#product-offer, #product-offer p, #product-offer li, #product-offer label,
#product-tabs, #product-tabs p, #product-tabs li, #product-tabs td {
  color: #17324d !important;
}
.product-detail .text-muted, #product-offer .text-muted, #product-tabs .text-muted,
.product-detail small, #product-offer small {
  color: #52708a !important;
}
.product-detail strong, .product-detail b, .product-detail h2, .product-detail h3,
.product-detail h4, .product-detail h5, #product-tabs h2, #product-tabs h3, #product-tabs h4 {
  color: #0b4f7a !important;
}
.product-detail a:not(.btn), #product-offer a:not(.btn), #product-tabs a:not(.btn) {
  color: #0879b8 !important;
}
.product-detail a:not(.btn):hover, #product-offer a:not(.btn):hover, #product-tabs a:not(.btn):hover {
  color: #005a8d !important;
}
.product-detail .form-control, .product-detail .custom-select, .product-detail .select2-selection {
  color: #17324d !important;
}

/* Keystore24 – Artikeldetails: Dropdowns im Keystore24-Design */
.product-detail select,
#product-offer select,
.product-detail .custom-select,
#product-offer .custom-select,
.product-detail .form-control,
#product-offer .form-control {
  color: #17324d !important;
  background-color: #ffffff !important;
  border: 1px solid #8fc5e3 !important;
  border-radius: 9px !important;
  min-height: 44px;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(8,121,184,.08);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.product-detail select:hover,
#product-offer select:hover,
.product-detail .custom-select:hover,
#product-offer .custom-select:hover {
  border-color: #0879b8 !important;
}
.product-detail select:focus,
#product-offer select:focus,
.product-detail .custom-select:focus,
#product-offer .custom-select:focus,
.product-detail .form-control:focus,
#product-offer .form-control:focus {
  color: #17324d !important;
  background-color: #f8fcff !important;
  border-color: #0879b8 !important;
  outline: 0;
  box-shadow: 0 0 0 .18rem rgba(8,121,184,.16) !important;
}
.product-detail select option,
#product-offer select option {
  color: #17324d !important;
  background: #ffffff !important;
}
/* Bootstrap Select / Selectpicker */
.product-detail .bootstrap-select > .dropdown-toggle,
#product-offer .bootstrap-select > .dropdown-toggle {
  color: #17324d !important;
  background: #ffffff !important;
  border: 1px solid #8fc5e3 !important;
  border-radius: 9px !important;
  min-height: 44px;
  box-shadow: 0 2px 8px rgba(8,121,184,.08);
}
.product-detail .bootstrap-select.show > .dropdown-toggle,
.product-detail .bootstrap-select > .dropdown-toggle:focus,
#product-offer .bootstrap-select.show > .dropdown-toggle,
#product-offer .bootstrap-select > .dropdown-toggle:focus {
  color: #17324d !important;
  background: #f8fcff !important;
  border-color: #0879b8 !important;
  box-shadow: 0 0 0 .18rem rgba(8,121,184,.16) !important;
}
.product-detail .bootstrap-select .dropdown-menu,
#product-offer .bootstrap-select .dropdown-menu {
  border: 1px solid #b9d8ea !important;
  border-radius: 9px !important;
  padding: .35rem;
  box-shadow: 0 8px 24px rgba(10,60,100,.14) !important;
}
.product-detail .bootstrap-select .dropdown-item,
#product-offer .bootstrap-select .dropdown-item {
  color: #17324d !important;
  border-radius: 6px;
  padding: .55rem .75rem;
}
.product-detail .bootstrap-select .dropdown-item:hover,
.product-detail .bootstrap-select .dropdown-item:focus,
.product-detail .bootstrap-select .dropdown-item.active,
#product-offer .bootstrap-select .dropdown-item:hover,
#product-offer .bootstrap-select .dropdown-item:focus,
#product-offer .bootstrap-select .dropdown-item.active {
  color: #073b5b !important;
  background: #e7f5fc !important;
}

/* Keystore24 Detailseite – letzte Standard-Grautöne entfernen */
#result-wrapper .product-wrapper,
#result-wrapper .product-wrapper p,
#result-wrapper .product-wrapper span,
#result-wrapper .product-wrapper li,
#result-wrapper .product-wrapper label,
#result-wrapper .product-wrapper small,
#result-wrapper .product-wrapper .text-muted,
#result-wrapper .product-wrapper .shortdesc,
#result-wrapper .product-wrapper .product-info,
#result-wrapper .product-wrapper .delivery-status,
#result-wrapper .product-wrapper .delivery-status * {
  color: #18324b !important;
}

/* Preis-Zusatzangaben: Endpreis, MwSt., Grundpreis, Lieferzeit */
#result-wrapper .price-note,
#result-wrapper .price-notice,
#result-wrapper .product-price .small,
#result-wrapper .product-price small,
#result-wrapper .price_wrapper small,
#result-wrapper .price_wrapper .text-muted,
#result-wrapper .delivery-time,
#result-wrapper .delivery-status,
#result-wrapper .shipping-time,
#result-wrapper .shipping-time * {
  color: #24577d !important;
}

/* Variationsauswahl – Texte, Platzhalter und Bootstrap Select */
#result-wrapper .variations,
#result-wrapper .variations label,
#result-wrapper .variations select,
#result-wrapper .variations option,
#result-wrapper .variation,
#result-wrapper .variation label,
#result-wrapper .bootstrap-select .dropdown-toggle,
#result-wrapper .bootstrap-select .filter-option,
#result-wrapper .bootstrap-select .filter-option-inner,
#result-wrapper .bootstrap-select .filter-option-inner-inner,
#result-wrapper .dropdown-menu .dropdown-item,
#result-wrapper .dropdown-menu li a {
  color: #18324b !important;
}

/* Kurzbeschreibung und Detailhinweise */
#result-wrapper .shortdesc *,
#result-wrapper .product-description-short *,
#result-wrapper .question-on-item,
#result-wrapper .question-on-item *,
#result-wrapper [class*="question"]:not(.btn):not(.button) {
  color: #18324b !important;
}

/* Keystore24 Detailseite – gezielter Fix für Preis-Hinweise, Lieferzeit und Frage zum Artikel */
#result-wrapper .text-muted-util,
#result-wrapper .vat_info,
#result-wrapper .vat_info *,
#result-wrapper .estimated-delivery,
#result-wrapper .estimated-delivery *,
#result-wrapper .delivery-status,
#result-wrapper .delivery-status *,
#result-wrapper .product-details .delivery-status,
#result-wrapper #article_question,
#result-wrapper #article_question *,
#result-wrapper #question-popup,
#result-wrapper [id^="question-popup"],
#result-wrapper [id^="question-popup"] *,
#result-wrapper .privacy.text-muted-util,
#result-wrapper .footnote-reference,
#result-wrapper .price-wrapper .text-muted-util,
#result-wrapper .price_wrapper .text-muted-util {
  color: #174d73 !important;
}
#result-wrapper .text-muted-util a,
#result-wrapper .estimated-delivery a,
#result-wrapper .delivery-status a,
#result-wrapper #article_question a {
  color: #0879b8 !important;
}
#result-wrapper #article_question legend,
#result-wrapper #article_question .form-label,
#result-wrapper #article_question label,
#result-wrapper [id^="question-popup"] .modal-title,
#result-wrapper [id^="question-popup"] legend {
  color: #0b5f91 !important;
}

/* FINAL DIRECT FIX – sichtbare Preis-, Liefer- und Frage-Texte */
#result-wrapper .product-offer .vat_info,
#result-wrapper .product-offer .vat_info *,
#result-wrapper .stock-information .delivery-status,
#result-wrapper .stock-information .delivery-status *,
#result-wrapper .stock-information .estimated-delivery,
#result-wrapper .stock-information .estimated-delivery *,
#result-wrapper .stock-information .status,
#result-wrapper .stock-information .status *,
#result-wrapper .question-on-item .btn-link.question,
#result-wrapper .question-on-item .btn-link.question *,
#result-wrapper button.question,
#result-wrapper button.question * { color:#174d73 !important; opacity:1 !important; }
#result-wrapper .question-on-item .btn-link.question { color:#0b5f91 !important; }
#result-wrapper .product-offer .vat_info .shipment { color:#0879b8 !important; }

/* Keystore24 – Mengenwahl Detailseite */
.product-info #quantity-grp,
.product-info .choose_quantity {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 190px;
    height: 48px;
    margin: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #b9d3ee;
    border-radius: 9px;
    box-shadow: 0 3px 10px rgba(23,105,209,.08);
}
.product-info #quantity-grp .input-group-prepend,
.product-info #quantity-grp .input-group-append { display: flex; margin: 0; }
.product-info #quantity-grp .btn,
.product-info .choose_quantity .btn {
    width: 46px;
    min-width: 46px;
    height: 46px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ks-blue-dark);
    background: #f4f9ff;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none;
}
.product-info #quantity-grp .btn:hover,
.product-info .choose_quantity .btn:hover {
    color: #fff;
    background: var(--ks-blue);
}
.product-info #quantity-grp .quantity {
    flex: 1 1 auto;
    width: 100%;
    min-width: 55px;
    height: 46px;
    padding: 0 4px;
    margin: 0;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    line-height: 46px;
    color: var(--ks-blue-dark) !important;
    background: #fff !important;
    border: 0 !important;
    border-left: 1px solid #d9e6f3 !important;
    border-right: 1px solid #d9e6f3 !important;
    box-shadow: none !important;
}
.product-info #quantity-grp .quantity:focus { outline: none; box-shadow: inset 0 0 0 1px var(--ks-cyan) !important; }
.product-info #quantity-grp .unit { height: 46px; display:flex; align-items:center; color:var(--ks-blue-dark); background:#f4f9ff; border:0 !important; }
@media (max-width: 575.98px) { .product-info #quantity-grp, .product-info .choose_quantity { max-width: 100%; } }

/* Keystore24 Detailseite – FINAL: Mengenauswahl mit Minus und Plus */
#result-wrapper #quantity-grp,
#result-wrapper .choose_quantity {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  width: 190px !important;
  max-width: 100% !important;
  height: 48px !important;
  overflow: hidden !important;
  border: 1px solid #b9d3ee !important;
  border-radius: 9px !important;
  background: #fff !important;
}
#result-wrapper #quantity-grp .input-group-prepend,
#result-wrapper #quantity-grp .input-group-append {
  display: flex !important;
  flex: 0 0 46px !important;
  width: 46px !important;
  height: 46px !important;
  margin: 0 !important;
}
#result-wrapper #quantity-grp .input-group-prepend { order: 1 !important; }
#result-wrapper #quantity-grp .quantity { order: 2 !important; }
#result-wrapper #quantity-grp .input-group-append { order: 3 !important; }
#result-wrapper #quantity-grp .btn,
#result-wrapper .choose_quantity .btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 46px !important;
  width: 46px !important;
  min-width: 46px !important;
  height: 46px !important;
  padding: 0 !important;
  color: #174d73 !important;
  background: #f4f9ff !important;
  border: 0 !important;
}
#result-wrapper #quantity-grp .quantity {
  display: block !important;
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  height: 46px !important;
  margin: 0 !important;
  padding: 0 4px !important;
  color: #18324b !important;
  background: #fff !important;
  border: 0 !important;
  border-left: 1px solid #d9e6f3 !important;
  border-right: 1px solid #d9e6f3 !important;
  text-align: center !important;
}
#result-wrapper #quantity-grp .input-group-append .unit { display:none !important; }

/* Keystore24 Detailseite – vollständige Artikel-/Kurzbeschreibung ohne Standardgrau */
#result-wrapper .shortdesc,
#result-wrapper .shortdesc *,
#result-wrapper [itemprop="description"],
#result-wrapper [itemprop="description"] *,
#result-wrapper .product-description,
#result-wrapper .product-description *,
#result-wrapper .product-details-description,
#result-wrapper .product-details-description * {
  color: #18324b !important;
  opacity: 1 !important;
}
