/* =========================================================
   BMTS Header - FiboSearch weißer Standard-Style verbessert
   ========================================================= */


/* =========================================================
   BMTS HEADER - FIBOSEARCH FIXED POSITION
========================================================= */

/* FiboSearch stabil halten */
#main-header .dgwt-wcas-search-wrapp {
    width: 330px !important;
    min-width: 330px !important;
    max-width: 330px !important;

    margin-left: 0 !important;
    margin-right: 20px !important;

    flex: 0 0 310px !important;
}

/* FiboSearch Formular sauber ausfüllen */
#main-header .dgwt-wcas-search-wrapp form,
#main-header .dgwt-wcas-search-form {
    width: 100% !important;
}

/* Suchfeld selbst */
#main-header .dgwt-wcas-search-input,
#main-header input.dgwt-wcas-search-input {
    width: 100% !important;
}


/* FiboSearch Produktbilder */
.dgwt-wcas-suggestion img,
.dgwt-wcas-si img,
.dgwt-wcas-product-img img,
.bmts-fibosearch-product-image {
    display: block !important;

    width: 42px !important;
    height: 42px !important;

    object-fit: contain !important;
    object-position: center center !important;

    background: #ffffff !important;

    padding: 3px !important;

    opacity: 1 !important;
    visibility: visible !important;
}


/* Mini Cart */
.site-header,
.site-header-row,
.site-header-section,
.header-cart-wrap,
.header-cart-inner,
.site-header-cart,
.menu-item,
.menu-item-has-children {
    position: relative !important;
    z-index: 99990 !important;
}

.header-cart-wrap,
.header-cart-wrap:hover,
.header-cart-wrap:hover .widget_shopping_cart,
.header-cart-wrap:hover .widget_shopping_cart_content,
.header-cart-wrap:hover .woocommerce-mini-cart {
    z-index: 999999 !important;
}

.widget_shopping_cart,
.widget_shopping_cart_content,
.woocommerce-mini-cart,
.woocommerce.widget_shopping_cart {
    z-index: 999999 !important;
}
.header-cart-wrap .widget_shopping_cart,
.site-header-cart .widget_shopping_cart,
.widget_shopping_cart,
.woocommerce.widget_shopping_cart {
    background: #0D1420 !important;
    color: #ffffff !important;

    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55) !important;
}

/* Produktliste */
.widget_shopping_cart .woocommerce-mini-cart,
.widget_shopping_cart ul.cart_list,
.widget_shopping_cart ul.product_list_widget {
    background: #0d1622 !important;
    color: #ffffff !important;
    padding: 14px !important;
}
/* Produkt Name / SKU */
.widget_shopping_cart ul.cart_list li a,
.widget_shopping_cart ul.product_list_widget li a {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

.widget_shopping_cart ul.cart_list li a:hover,
.widget_shopping_cart ul.product_list_widget li a:hover {
    color: #AB8147 !important;
}
/* Menge und Preis */
.widget_shopping_cart .quantity {
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

.widget_shopping_cart .woocommerce-Price-amount,
.widget_shopping_cart .woocommerce-Price-currencySymbol {
    color: #ffffff !important;
    font-weight: 500 !important;
}
/* Remove produkt "X" */
.widget_shopping_cart a.remove,
.widget_shopping_cart a.remove_from_cart_button {
    color: #D94444 !important;
    background: transparent !important;
    font-size: 16px !important;
    font-weight: 900 !important;
}
/* Subtotal */
.widget_shopping_cart .woocommerce-mini-cart__total,
.widget_shopping_cart .total {
    background: #0d1622 !important;
    color: #ffffff !important;

    border-top: 1px solid rgba(255, 255, 255, 0.18) !important;

    padding: 16px 14px !important;
    margin: 0 !important;

    font-size: 15px !important;
    font-weight: 900 !important;
}

.widget_shopping_cart .woocommerce-mini-cart__total strong,
.widget_shopping_cart .total strong {
    color: #ffffff !important;
}

.widget_shopping_cart .woocommerce-mini-cart__total .amount,
.widget_shopping_cart .total .amount {
    color: #ffffff !important;
}
/* Buttons */
.widget_shopping_cart .woocommerce-mini-cart__buttons,
.widget_shopping_cart .buttons {
    background: #0d1622 !important;
    padding: 12px 14px 18px 14px !important;
    margin: 0 !important;
}
/* View Cart Button */
.widget_shopping_cart .woocommerce-mini-cart__buttons a.wc-forward:not(.checkout),
.widget_shopping_cart .buttons a.wc-forward:not(.checkout) {
    background: transparent !important;
    color: #ffffff !important;

    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 6px !important;

    height: 42px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 14px !important;
    font-weight: 800 !important;
    text-decoration: none !important;

    margin-bottom: 10px !important;
}

.widget_shopping_cart .woocommerce-mini-cart__buttons a.wc-forward:not(.checkout):hover,
.widget_shopping_cart .buttons a.wc-forward:not(.checkout):hover {
    background: #0d1622 !important;
    color: #ffffff !important;
    border-color: #AB8147 !important;
}
/* Checkout Button */
.widget_shopping_cart .woocommerce-mini-cart__buttons a.checkout,
.widget_shopping_cart .buttons a.checkout {
    background: #AB8147 !important;
    color: #ffffff !important;

    border: none !important;
    border-radius: 6px !important;

    height: 42px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 14px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

.widget_shopping_cart .woocommerce-mini-cart__buttons a.checkout:hover,
.widget_shopping_cart .buttons a.checkout:hover {
    background: #ffffff !important;
    color: #0d1622 !important;
}
/* Product Pictures */
.widget_shopping_cart ul.cart_list li img,
.widget_shopping_cart ul.product_list_widget li img {
    width: 52px !important;
    height: 52px !important;

    object-fit: contain !important;

    background: #ffffff !important;
    border-radius: 4px !important;

    margin-right: 10px !important;
}
/* Trennlinien zwischen den Artikeln */
.woocommerce-mini-cart li,
.woocommerce-mini-cart__total {
    border-color: #AB8147 !important;
}
/* Minicart hintergrund 2 */
.kadence-header-cart .sub-menu {
    background: #0d1622 !important;
}

/* =========================================================
   BMTS HEADER ACCOUNT ICON - NUR HEADER
========================================================= */

/* Nur den My Account Link im Header ansprechen */
#main-header > div .menu-item.menu-item-has-children > a[href*="my-account"]{
    font-size:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:26px !important;
    height:26px !important;
    margin-right:5px !important;
    margin-left:5px !important;
}

#main-header .dgwt-wcas-search-wrapp form,
#main-header .dgwt-wcas-search-form {
    width: 100% !important;
}

#main-header .dgwt-wcas-search-input,
#main-header input.dgwt-wcas-search-input {
    width: 100% !important;
}

/* Text im Header ausblenden */
#main-header .menu-item.menu-item-has-children > a[href*="my-account"] span{
    display:none !important;
}
/* Goldenes SVG Profil-Icon */
#main-header .menu-item.menu-item-has-children > a[href*="my-account"]::before{
    content:"" !important;
    display:block !important;
    width:22px !important;
    height:22px !important;
    background-color:#AB8147 !important;

    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm0 2c-3.33 0-10 1.67-10 5v3h20v-3c0-3.33-6.67-5-10-5z'/%3E%3C/svg%3E") center/contain no-repeat !important;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm0 2c-3.33 0-10 1.67-10 5v3h20v-3c0-3.33-6.67-5-10-5z'/%3E%3C/svg%3E") center/contain no-repeat !important;
}

/* Hover */
#main-header .menu-item a[href*="my-account"]:hover::before{
    background-color:#C3924D !important;
}


/* My Account Icon soll keine aktive Menü-Linie bekommen */
#main-header .menu-item a[href*="my-account"]::after{
    display:none !important;
    content:none !important;
}

/* My Account Menüpunkt nicht wie normalen aktiven Text behandeln */
#main-header .menu-item.current-menu-item a[href*="my-account"],
#main-header .menu-item.current_page_item a[href*="my-account"]{
    color:inherit !important;
    border-bottom:none !important;
    box-shadow:none !important;
}

/* =========================================================
   BMTS Header - Cart Icon Background transparent
========================================================= */

#main-header [data-section="kadence_customizer_cart"],
#main-header [data-section="kadence_customizer_cart"] .header-cart-wrap,
#main-header [data-section="kadence_customizer_cart"] .header-cart-inner-wrap,
#main-header [data-section="kadence_customizer_cart"] .header-menu-container,
#main-header [data-section="kadence_customizer_cart"] #cart-menu,
#main-header [data-section="kadence_customizer_cart"] .menu-item-kadence-cart,
#main-header [data-section="kadence_customizer_cart"] .header-cart-button {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* Pseudo-Elemente entfernen */
#main-header [data-section="kadence_customizer_cart"]::before,
#main-header [data-section="kadence_customizer_cart"]::after,
#main-header [data-section="kadence_customizer_cart"] .header-cart-wrap::before,
#main-header [data-section="kadence_customizer_cart"] .header-cart-wrap::after,
#main-header [data-section="kadence_customizer_cart"] .header-cart-inner-wrap::before,
#main-header [data-section="kadence_customizer_cart"] .header-cart-inner-wrap::after,
#main-header [data-section="kadence_customizer_cart"] .menu-item-kadence-cart::before,
#main-header [data-section="kadence_customizer_cart"] .menu-item-kadence-cart::after,
#main-header [data-section="kadence_customizer_cart"] .header-cart-button::before,
#main-header [data-section="kadence_customizer_cart"] .header-cart-button::after {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    content: none !important;
    display: none !important;
}

/* Cart Icon selbst transparent halten */
#main-header [data-section="kadence_customizer_cart"] .kadence-shopping-cart-svg,
#main-header [data-section="kadence_customizer_cart"] .kadence-svg-iconset,
#main-header [data-section="kadence_customizer_cart"] svg {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* Counter Badge lesbar behalten */
#main-header [data-section="kadence_customizer_cart"] .header-cart-total {
    background: #000000 !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    border: none !important;
}

/* Cart symbol im Cart etwas nach oben */
body.woocommerce-cart .menu-item-kadence-cart {
    transform: translateY(-5px);
}

/* x im minicart */
#main-header #cart-menu .sub-menu a.remove:hover,
#main-header #cart-menu .sub-menu a.remove:focus,
#main-header #cart-menu .sub-menu a.remove:active,
#main-header #cart-menu .sub-menu a.remove_from_cart_button:hover,
#main-header #cart-menu .sub-menu a.remove_from_cart_button:focus,
#main-header #cart-menu .sub-menu a.remove_from_cart_button:active {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    color: #D94444 !important;
}

/* Drop down von My account */
#main-header .menu-item.menu-item-has-children:not(.menu-item-kadence-cart) .sub-menu {
    background: #121A27 !important;
    border: 1px solid rgba(171,129,71,.35) !important;
    border-radius: 8px !important;
    padding: 8px 0 !important;
    width: 190px !important;
    min-width: 190px !important;
    box-shadow: 0 18px 45px rgba(0,0,0,.55) !important;
}

#main-header .menu-item.menu-item-has-children:not(.menu-item-kadence-cart) .sub-menu li {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

#main-header .menu-item.menu-item-has-children:not(.menu-item-kadence-cart) .sub-menu a {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 18px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    background: transparent !important;
    transition: all .2s ease !important;
}

#main-header .menu-item.menu-item-has-children:not(.menu-item-kadence-cart) .sub-menu a:hover {
    background: rgba(171,129,71,.12) !important;
    color: #AB8147 !important;
}

#main-header .menu-item.menu-item-has-children:not(.menu-item-kadence-cart) .sub-menu a:focus,
#main-header .menu-item.menu-item-has-children:not(.menu-item-kadence-cart) .sub-menu a:active {
    background: rgba(171,129,71,.12) !important;
    color: #AB8147 !important;
}

#main-header .menu-item.menu-item-has-children:not(.menu-item-kadence-cart) .sub-menu li:last-child a {
    border-bottom: none !important;
}


/* header hintergrund nach oben verschieben damit transparent */
.home .content-container {
    margin-top: -90px !important;
}




.page-id-1090 .content-container,
.page-id-1090 .site-main,
.page-id-1090 article {
    margin-top: -90px !important;
}