/* added support for roboto font on windows */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');


/******************************************************************************
**
**    MAIN NAVBAR (muss später ins crit CSS wandern)
**
******************************************************************************/

nav.navbar {
    position: relative;
}

#shop-nav {
    flex-grow: 1;
}

/*
@media screen and (min-width: 992px) {
    #shop-nav .nav-item.search {
        position: absolute;
        top: 15px;
        left: 50%;
        transform: translateX(-50%);
    }
}
*/

.navbar-wrapper {
    border-top: none !important;
    background-color: #fff;
}

#mainNavigation {
    margin-right: 0 !important;
}

/******************************************************************************
**
**    Banner Styling
**
******************************************************************************/

.banner>a.area {
    border: 2px solid transparent !important;
    border-radius: 0;
}

.banner>a.area::before {
    display: none !important;
}

.banner>a.area:hover {
    transition: .5s ease;
    box-shadow: 0 0 11px rgba(33, 33, 33, .2);
    /*
    background-color: rgb(255 79 0 / 5%);
    border-color: rgb(255 79 0) !important;
    */
}


/******************************************************************************
**
**    Consent Manager + GA Optout
**
******************************************************************************/

#gaOptout {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 11px;
}

#consent-manager.active:not(.mini)::before {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgb(21 28 33 / 80%);
    backdrop-filter: blur(1px);
    z-index: 1049;
}

/** Override for Datenschutz Page: **/
body[data-page='21'] #consent-manager::before {
    display: none !important;
}

#consent-manager.active #consent-banner {
    z-index: 1050;
}

#consent-banner {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1), 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

#consent-banner:after {
    display: none;
}

.consent-modal {
    backdrop-filter: blur(3px);
}

/******************************************************************************
**
**    misc
**
******************************************************************************/

.container-fluid .snippets-banner {
    margin-bottom: 2rem;
}

.nav-link[aria-expanded="true"] .text-cart::after,
.accordion .menu[aria-expanded="true"]::after,
.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* avoid transition effects */
.price_wrapper span {
    transition: none;
}

a.themeart-video {
    text-decoration: none;
}


#price-total {
    color: #055130;
    display: inline-block;
    font-size: 1.9rem;
    font-weight: bold;
}

#price-total:empty {
    display: none;
}

#price-total:not(:empty)+.price {
    color: #000;
    margin-left: 1.5rem;
    font-size: 1.2rem;
}

#streichpreis {
    color: #666;
    font-size: 1.2rem;
    margin-left: .75rem;
    cursor: help;
    user-select: none;
}

#streichpreis:empty {
    display: none
}

.pagination .btn {
    border-radius: 0;
}

.pagination li:first-child .btn {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.pagination li:last-child .btn {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.desc-content img {
    max-width: 100%;
}


/* OPC moved to bottom */
#opc #opc-startmenu {
    bottom: 0;
    top: initial !important;
}

/******************************************************************************
**
**    Versand-Status (Ampel) auf Produktdetailseite
**
******************************************************************************/

.delivery-status .status-0 {
    color: #1c7b36;
}

.delivery-status .ampel- {
    color: #1c7b36;
}

.delivery-status .ampel-rot {
    color: #b90000;
}

.delivery-status .ampel-gelb {
    color: #f39932;
}

.delivery-status .ampel-blau {
    color: #1e40af;
}

/******************************************************************************
**
**    SALE Ribbon
**
******************************************************************************/

.product-info {
    position: relative;
}

.product-info .sale-ribbon {
    display: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #C00;
    color: #fff;
    padding: 0 0.5rem 0 1rem;
    font-size: 18px;
    font-weight: bold;
    line-height: 28px;
    letter-spacing: 1.5px;
}

.product-info .sale-ribbon:before,
.product-info .sale-ribbon:before {
    display: inline-block;
    content: "";
    position: absolute;
    left: -14px;
    top: 0;
    border: 9px solid transparent;
    border-width: 14px 8px;
    border-right-color: #c00;
}

.product-info .sale-ribbon:before {
    border-color: #c00;
    border-left-color: transparent !important;
    left: -9px;
}

@media screen and (min-width: 990px) {
    .product-info .sale-ribbon {
        display: block;
    }

    .product-info .sale-ribbon+.product-info-inner .product-title {
        margin-right: 90px;
    }
}



/* Vergleichs-Seite */

.comparelist-item picture {
    display: block;
}

.comparelist-item picture img {
    max-height: 200px;
    object-fit: contain;
}

/* Grundpreis ausblenden */
tr.compare-bulk-prices .price-note {
    display: none;
}

tr.compare-bulk-prices>td {
    padding: 0;
}

tr.compare-bulk-prices .bulk-prices table thead th {
    border-top: 0;
    background: #fafafa;
}

tr.compare-bulk-prices .bulk-prices table thead tr th:first-child,
tr.compare-bulk-prices .bulk-prices table tbody tr td:first-child {
    border-left: 0;
}

tr.compare-bulk-prices .bulk-prices table thead tr th:last-child,
tr.compare-bulk-prices .bulk-prices table tbody tr td:last-child {
    border-right: 0;
}

tr.compare-bulk-prices .bulk-prices table thead th {
    white-space: nowrap;
    overflow: hidden;
    max-width: 120px;
    text-overflow: ellipsis;
}

tr.compare-bulk-prices:hover {
    background-color: inherit !important;
}

/* Vergleichliste: Artikelnummer */
table.compare th.sku {
    padding: .25rem .75rem;
}

table.compare td.sku {
    text-align: center;
    padding: .25rem .75rem;
}

table.compare td.sku a {
    text-decoration: none;
    font-weight: 500;
}

/* productlist/item_box.tpl */
.estimated_delivery {
    display: none;
}

.item-delivery-status.delivery-status {
    margin-bottom: .5rem;
}

.productbox.productbox-column {
    margin-bottom: 2rem;
}

/* Remake Theme überschreiben */
@media (max-width: 1299.98px) {
    .product-detail ul.info-essential li {
        display: initial;
        margin-right: initial;
    }
}

#result-wrapper .desc {
    margin-bottom: inherit;
}



/* slider fixes */
.slick-track {
    justify-content: flex-start;
}

#image_wrapper .product-thumbnails:not(.slick-initialized) div.js-gallery-images.first-ml {
    margin-left: 0;
}

.carousel-thumbnails .slick-slide {
    margin: 0 .5rem 0 0;
}




/* Fix Scrollbar der Kategorie-Boxen auf der Kategorieseite*/
.sub-categories-wrapper.nav-scrollbar .nav-scrollbar-inner {
    padding-bottom: 12px;
}

/******************************************************************************
**
**    Item Slider CSS
**
******************************************************************************/

.product-wrapper .productbox {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-wrapper .productbox .productbox-title {
    margin-bottom: auto;
    min-height: 1rem;
    max-height: 3rem;
    line-height: 1.3rem;
    padding: 0.25rem 0;
    overflow: hidden;
}

.product-wrapper .productbox .productbox-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-wrapper .productbox .price_wrapper {
    white-space: nowrap;
    padding-bottom: .25rem;
}

.product-wrapper .productbox .item-slider-rating {
    margin: .25rem auto .25rem;
}


.product-wrapper .productbox .price-note {
    color: #666;
    display: none;
    /* TEST: hide base price */
}

.item-slider-price del {
    /* display: none; */
    /* do not display sale price in sliders -> for space reasons */
}

.carousel .productbox {
    align-items: center;
}

.carousel .productbox .square-image .inner {
    position: relative;
    aspect-ratio: 1;
}

.carousel .productbox .min-amount {
    display: none;
}

.slick-slider-other {
    /* border: 1px solid #f2f2f2; */
    padding: 1rem;
}

.slick-slider-other .slick-slide>div {
    height: 100%;
    display: flex;
}

/* Cross-Selling Fixes */
#pushed-success .slick-slide>div {
    height: 100%;
}

#pushed-success .slick-slide>div>.product-wrapper {
    height: 100%;
}


/******************************************************************************
**
**    Ratings / Produktbewertungen
**
******************************************************************************/

#tab-votes {
    position: relative;
}

@media screen and (min-width: 768px) {
    #tab-votes #rating-star-picker {
        position: absolute;
        top: 1rem;
        right: 2rem;
    }
}

#rating-star-picker a.rating-line {
    text-decoration: none;
    display: grid;
    grid-template-columns: 2fr 6fr 1fr;
    gap: .25rem;
}

#rating-star-picker .progress-bar {
    background-color: #f49d1a;
}

#rating-star-picker .rating-count {
    text-align: right;
}

#reviews-list {
    columns: 1;
    column-gap: 2rem;
}

@media screen and (min-width: 768px) {
    #reviews-list {
        columns: 2;
    }
}

@media screen and (min-width: 1025px) {
    #reviews-list {
        columns: 3;
    }
}

#reviews-list .review-comment {
    position: relative;
    background-color: white;
    padding: 1rem;
    border-radius: 4px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    break-inside: avoid-column;
    margin-bottom: 2rem;
}

#reviews-list .review-comment .verified-purchase {
    float: right;
    font-size: 11px;
    color: #005aa0;
}

#reviews-list .review-comment .review-rating {
    margin-bottom: .5rem;
    font-size: 16px;
}

#reviews-list .review-comment blockquote {
    margin-bottom: 0;
    color: #333;
}

#reviews-list .review-comment .subheadline {
    color: #000;
}

.trusted-rating-summary {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.trusted-rating-summary a.rating-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    margin-bottom: 1rem;
}

.trusted-rating-summary a.rating-header:hover {
    color: #f49d1a;
}

.trusted-rating-summary .rating-avg {
    font-size: 2rem;
    font-weight: bold;
    margin-right: auto;
}

.trusted-rating-summary svg {
    height: 2rem;
}

.trusted-rating-summary .rating-line {
    display: grid;
    grid-template-columns: 75px auto 75px;
}

.trusted-rating-summary .rating-line .rating-count {
    text-align: right;
}

.trusted-rating-summary .progress-bar {
    background-color: #f49d1a;
}

.trusted-rating-summary .rating-disclaimer {
    font-size: 0.875rem;
    color: #333;
    text-align: center;
    margin: 0;
}

.trusted-rating-summary .empty {
    color: #333;
    text-align: center;
    font-size: 1.1rem;
    padding: 2rem;
}

/******************************************************************************
**
**    Startseite OPC-Slider styling 
**
******************************************************************************/
.opc-product-slider .product-wrapper.product-wrapper-product {
    display: flex;
    flex-direction: column;
}

.opc-product-slider .product-wrapper.product-wrapper-product a.product-name {
    text-decoration: none !important;
    /* make sure the price and buttons are aligned properly by pushing them down in the flexbox container */
    margin-bottom: auto;
}

/* hide base price */
.opc-product-slider .product-wrapper.product-wrapper-product .price-note {
    display: none;
}

.opc-product-slider .product-wrapper.product-wrapper-product .price {
    margin: 0.5rem 0;
    font-size: .875rem;
}

.opc-product-slider .productbox-quick-actions {
    display: none;
}

/******************************************************************************
**
**    Kategorieseiten Article-Grid styling 
**
******************************************************************************/

#result-wrapper .productbox .price_wrapper .productbox-price {
    margin: 0.5rem 0;
}

/******************************************************************************
**
** Shipping-Info
**
******************************************************************************/

.shipping-info {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #ddd;
    margin-top: 1rem;
    padding-top: 1rem;
    padding-bottom: .5rem;
    row-gap: .5rem;
}

.shipping-info progress {
    width: 100%;
    height: 12px;
    accent-color: #1f583c;
    -webkit-appearance: none;
}

.shipping-info span.shipping-label {
    /* empty */
}

.shipping-info progress::-webkit-progress-bar {
    background-color: #eee;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) inset;
    overflow: hidden;
}

.shipping-info progress::-webkit-progress-value {
    background-color: #1f583c;
}

/******************************************************************************
**
**    Checkout Prozess
**
******************************************************************************/

.checkout-steps .checkout-shipping-form-change {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .75rem 1rem;
    border-radius: 10px;
}

.checkout-steps .checkout-shipping-form-change .btn {
    padding-right: 0;
}

.checkout-steps .form-group {
    border-radius: 10px;
}



@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#cart-checkout-btn {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    font-size: 1.05rem;
}

#cart-checkout-btn .fas {
    font-size: 1.3rem;
}

#thirdparty-buttons {
    margin-top: 1.5rem;
}

#thirdparty-buttons:empty {
    display: none;
}


.myemptybasket>img {
    width: 30%;
}


/******************************************************************************
**
**    Video Container
**
******************************************************************************/

a.video-show {
    position: absolute;
    text-decoration: none;
    top: 2rem;
    right: 2rem;
    padding: 0.5rem 1rem;
    border: 0;
    font-size: 0;
    background: #fff;
    color: #282828;
    cursor: pointer;
    user-select: none;
    z-index: 999;
    color: #F00;
}

a.video-show::before {
    content: "\f167";
    font-family: "Font Awesome 6 Brands";
    font-weight: 400;
    font-size: 3rem;
    display: block;
}

#video-produkt {
    scroll-margin-top: 80px;
}

button.video-show:hover,
a.video-show:hover {
    color: #F00;
}

/******************************************************************************
**
**    Searchbar Mobile
**
******************************************************************************/
@media screen and (max-width: 991px) {
    #search {
        .dropdown-menu.dropdown-menu-right {
            .input-group {
                flex-direction: row-reverse !important;
            }
        }
    }
}

.ta-endless {
    padding: 1rem 0rem 0rem;
    margin-top: 1rem;
}

.ta-endless .btn {
    color: #f2f2f2;
    background-color: #ff4f00;
    border-color: #ff4f00;
    box-shadow: none;
}


/******************************************************************************
**
**    Anfrage-Formular (question_on_item.tpl)
**
******************************************************************************/

.col-form-label .optional {
    font-size: 0.75rem;
    font-style: italic;
    opacity: .75;
}

/******************************************************************************
**
**    Product-slider
**
******************************************************************************/


.product-wrapper-product .productbox-title,
.product-wrapper-product .product-name {
    word-break: break-all;
}




/* RIS */
/* fix slider item widht on start page */
body[data-page="18"] .product-slider-TopAngebot .productbox .productbox-title {
    max-width: 150px;
}

body[data-page="1"] .slick-type-product .productbox-title {
    max-width: 200px;
}

@media screen and (max-width:992px) {
    #pushed-success .slick-type-half:not(.slider-no-preview) .slick-list {
        padding-right: 0;
    }
}

.square-image .inner img {
    position: unset;
    transform: unset;
}

.dfd-logo {
    min-width: 120px !important;
}

#header-top-bar-bf {
    background-color: black;
}

#header-top-bar-bf .marquee {
    height: 33px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    /* Vertikale Ausrichtung */
    position: relative;
    /* Wichtig für Kind-Elemente */
}

/* Laufschrift */
#header-top-bar-bf .marquee div {
    display: flex;
    width: max-content;
    /* Text soll nur so breit sein, wie der Inhalt */
    white-space: nowrap;
    /* Verhindert Zeilenumbruch */
    position: absolute;
    /* Positionierung für Animation */
    animation: marquee 40s linear infinite;
}

#header-top-bar-bf .marquee span {
    margin-right: 50px;
    /* Abstand zwischen den Texten */
    font-size: 1rem;
    color: white;
}

@keyframes marquee {
    0% {
        transform: translateX(310%);
        /* Startet außerhalb des rechten Bildschirms */
    }

    100% {
        transform: translateX(-90%);
        /* Verschwindet komplett links aus dem Bild */
    }
}

/* Bugfix #137 */
.dropdown-menu picture {
    max-width: 50px;
}

/* Bugfix #138 */
.productbox>a {
    width: 100%;
}