#cfg-container {
    position: relative;
    left: 50%;
    width: min(100vw, 2560px);
    max-width: 2560px;
    transform: translateX(-50%);
}
@media (min-width: 1400px) {
    #modal-article-dialog .modal-lg, #modal-article-dialog .modal-xl {
        max-width: 1400px;
    }
}

.cfg-toggle-button {
    display: block;
    margin: 5px auto;
    padding: 10px 32px;
    cursor: pointer;
    color: #d11515;
    background: #fff6f6;
    border: #d85858 2px solid;
    border-radius: 20px;
    width: 100%;
    max-width: 390px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: 0.1s all ease-in-out;
}
.cfg-toggle-button:hover {
    background: #d11515;
    color: #fff6f6;
}
.cfg-toggle-button.active {
    border: #5ac54e 2px solid;
    background: #f3fff6;
    color: #1a7810;
}
.cfg-toggle-button.active:hover {
    color: #f3fff6;
    background: #1a7810;
}
.cfg-toggle-notice {
    display: block;
    width: 100%;
    text-align: center;
    font-weight: 400;
    font-size: 0.9rem !important;
    background: #e48958;
    max-width: 420px;
    margin: auto;
    text-align: center;
    color: #fff;
    border-radius: 5px;
}
.cfg-group .cfg-swatch:disabled ~ .custom-control-label .config-item {
    background: #d6d0d0;
    cursor: not-allowed;
}
#product-offer .bg-recommendation {
    position: relative;
}



#product-offer .bg-recommendation:not(.disabled)::after {
    content: "Empfehlung";
    position: absolute;
    top: -12px;
    right: 30px;
    background: #28a745;
    color: #fff;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    z-index: 5;
}
.cfg-toggle-button--locked {
    opacity: 0.4;
    cursor: not-allowed;
}
#product-offer .hr-sect.h3 {
    font-size: 1.5rem;
    color: rgb(133, 16, 16);
}
#product-offer .cfg-item-description .badge.border-primary {
    font-size: 0.9rem;
    border-radius: 15px;
    border-color:#0b5c26 !important;
    color: #128338 !important;
}
#product-offer .cfg-group .config-item,
#product-offer .cfg-group .config-item:hover,
#product-offer .custom-control.custom-control-inline,
#cfg-container .custom-control:focus-within > label {
    border-radius:10px;
}
#product-offer .hr-sect::before, #product-offer  .hr-sect::after {
    background: rgb(133, 16, 16);
}
.cfg-toggle-top-wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 0px;
    width: 100%;
}

.cfg-clear-button {
    display: block;
    margin: 5px auto;
    padding: 3px 5px;
    cursor: pointer;
    color: #1557d1;
    background: #f6f8ff;
    border: #589ed8 1px solid;
    border-radius: 5px;
    width: 100%;
    max-width: 280px;
    cursor: pointer;
    font-weight: 400;
    transition: 0.05s all;
}

.cfg-clear-button:hover {
    color: #f6f8ff;
    background: #3d5de1;
}
.cfg-group .row.form-group {
    flex-direction: column;
}
.cfg-item-description .configpreview {
    cursor: pointer !important;
    font-size: 0.8rem;
    border: #778188 1px solid;
    border-radius: 10px;
    transition: 0.1s all ease-in-out;
}
.cfg-item-description .configpreview:hover {
    background: #fff !important;
}
.cfg-group.cfg-group--open .config-item:not(.disabled) {
    border:2px solid #fff !important;
}
.cfg-group.cfg-group--open .config-item:not(.disabled):hover {
    border:2px solid #c3cee8 !important;
}
.cfg-options-wrapper {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.cfg-group.cfg-group--open .cfg-options-wrapper {
    padding-top: 20px !important;
    max-height: 560px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 2px solid #b5b5b5;
    border-radius: 10px;
    margin-left: 5px;
    margin-right: 5px;
    width: calc(100% - 100px);
    scrollbar-gutter: stable;
}
.cfg-group .row.form-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.cfg-options-wrapper {
    flex: 1 1 auto;
    max-width: calc(100% - 58px);
    transition: 0.2s all ease-in-out;
}

.cfg-toggle-top-wrapper {
    flex: 0 0 48px;
    width: 48px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    transition: 0.2s all ease-in-out;
}

.cfg-toggle-button,
.cfg-clear-button {
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 8px;
    background: #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin:0;
    cursor: pointer;
    margin-right:20px;
    transition: 0.2s all ease-in-out;
}

.cfg-toggle-button:hover,
.cfg-clear-button:hover {
    background: #e6e6e6;
}

.cfg-toggle-button:disabled,
.cfg-clear-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cfg-icon {
    display: block;
    width: 22px;
    height: 22px;
    background-color: currentColor;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
}

.cfg-icon-toggle {
    mask-image: url("/media/image/icon/open.svg");
    -webkit-mask-image: url("/media/image/icon/open.svg");
}

.cfg-icon-trash {
    mask-image: url("/media/image/icon/trash.svg");
    -webkit-mask-image: url("/media/image/icon/trash.svg");
}

.cfg-toggle-button--closed, .cfg-toggle-button--closed:hover {
    color: #d92323 !important;
}

.cfg-toggle-button--open, .cfg-toggle-button--open:hover {
    color: #1f9d45 !important;
}

.cfg-clear-button, .cfg-clear-button:hover {
    color: #0066cc !important;
}
.cfg-group .row.form-group {
    flex-direction: row !important;
    align-items: center;
}
@media (max-width: 579px) {
    .cfg-group .row.form-group {
        gap: 2px;
    }

    .cfg-options-wrapper {
        max-width: calc(100% - 50px);
    }

    .cfg-toggle-top-wrapper {
        flex: 0 0 42px;
        width: 42px;
    }

    .cfg-toggle-button,
    .cfg-clear-button {
        width: 38px;
        height: 38px;
    }

    .cfg-icon {
        width: 20px;
        height: 20px;
    }
    .cfg-toggle-button,
    .cfg-clear-button {
        margin-right: 0px;
    }
    .cfg-toggle-notice {
        max-width: 290px !important;
        font-size: 0.75rem !important;
        padding:3px;
    }
}
.cfg-options-wrapper {
    will-change: height;
}
.row.cfg-item-description div.col.d-flex picture img {
    width:140px;
}
.row.cfg-item-description div.col.d-flex {
    gap:15px;
}
@media (max-width: 579px) {
    .cfg-group .hr-sect.h3 {
        scroll-margin-top: 0px;
    }
    #product-offer .hr-sect.h3 {
        font-size: 1.2rem;
    }
    .row.cfg-item-description div.col.d-flex {
        flex-direction: column;
        gap:5px;
    }
    .row.cfg-item-description div.col.d-flex picture img {
        width:180px;
    }
}

#product-offer .badge {
    font-size: 0.75rem;
}
#product-offer .cfg-group .cfg-swatch:checked ~ .custom-control-label .config-item .badge-circle {
    background-color: rgb(15 148 0);
    border-color: rgb(154 186 161);
}
.nav-scrollbar-inner {
    flex-wrap: nowrap !important;
}


@media (min-width: 992px) and (max-width: 1650px) {
    .container.subcategory-wrapper .nav-item-lg-m.nav-item {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    .container.subcategory-wrapper .text-truncate {
        width: 400px;
    }
}
@media (min-width: 992px) {
    .navbar-nav.nav-scrollbar-inner:not(.is-open){
        width: 240px !important;
    }
}

.warehouse-row span, .warehouse-row strong {
    font-size: 10px !important;
}
.nav.topbar-main.nav-dividers {
    align-items: center;
}
.nav.topbar-main.nav-dividers .nav-item .nav-link[href*="Ruecktrittsformular"] {
    background-color:rgb(138, 14, 14) !important;
    border-radius:15px !important;
    box-shadow:0 0 5px rgba(255,255,255,0.05);
    transition:0.2s all
}
.nav.topbar-main.nav-dividers .nav-item .nav-link[href*="Ruecktrittsformular"]:hover {
    background-color: rgb(71, 7, 7) !important;
    border-radius:15px !important;
    box-shadow:0 0 5px rgba(255,255,255,0.3);
}
.nav.topbar-main.nav-dividers .nav-item:has(.nav-link[href*="Ruecktrittsformular"])::after,
.nav.topbar-main.nav-dividers .nav-item:has(.nav-link[href*="Reklamation"])::after
{
    border: unset !important;
}

#content-wrapper p.quicklinkskonfigurator a {
    background-color: #fff !important;
    color: rgb(138, 14, 14) !important;
    border-radius: 10px 20px;
    display: inline-block;
    padding:8px 16px;
    transition: background-color 0.2s;
    text-decoration: none;
    margin:2px;
}
#content-wrapper p.quicklinkskonfigurator a:hover {
    background-color: #ffd6d6 !important;
}
.height-anchor {
    height: 80px !important;
}


#copyright {
    height: 0;
}

body[data-page="18"] a.konflink {
    color: #fff !important;
    background-color: rgb(138, 14, 14) !important;
    border-radius: 10px 20px;
    display: inline-block;
    padding:8px 16px;
    transition: background-color 0.2s;
    text-decoration: none;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    margin:2px;
}
body[data-page="18"] a.konflink:hover {
    background-color: rgb(89, 8, 8) !important;
}


body[data-page="18"] .start-bg-btns p {
    padding: 10px;
    background: #fff9f9;
}
@media(min-width: 580px) {
    body[data-page="18"] .productbox-ribbon.ribbon {
        font-size: 1rem !important;
    }
}

@media(max-width: 579px) {
    #content-wrapper p.quicklinkskonfigurator a {
        width: 100%;
    }
    .height-anchor {
        height: 100px !important;
    }
    body[data-page="18"] #main-wrapper .hr-sect {
        color: rgb(138, 14, 14) !important;
        background-color: #fff4f4 !important;
        border:unset !important;
    }
    body[data-page="18"] .theme-default .nivoSlider {
        margin-bottom:0;
    }
    body[data-page="18"] a.konflink {
        font-size: 0.7rem !important;
    }
}