/* ==========================================================
   1. PRODUTPREISE KONTRASTREICH IN DUNKELANTHRAZIT
   ========================================================== */
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price ins,
.woocommerce ul.products li.product .price .amount {
    color: #111827 !important;
    font-weight: 600;
}
.woocommerce ul.products li.product .price del,
.woocommerce ul.products li.product .price del .amount {
    color: #6B7280 !important;
    font-weight: 400;
}

/* ==========================================================
   2. GLEICHMÄSSIGE KARTENHÖHE & HOVER-ANIMATION
   ========================================================== */
.woocommerce ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 16px !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.08);
    border-color: #CBD5E1;
}
.woocommerce ul.products li.product img {
    transition: transform 0.35s ease;
}
.woocommerce ul.products li.product:hover img {
    transform: scale(1.04);
}
.woocommerce ul.products li.product:hover .product-details,
.woocommerce ul.products li.product .product-details {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    transform: none !important;
    padding: 12px 0 0 0 !important;
}

/* ==========================================================
   3. KOMPAKTE BUTTONS OHNE ÜBERSTAND & QUICK VIEW AUSBLENDEN
   ========================================================== */
.woocommerce ul.products li.product .product-action-wrap {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    margin: auto 0 0 0 !important;
    padding: 14px 0 0 0 !important;
    width: 100% !important;
}
.woocommerce ul.products li.product .product-action-wrap .button,
.woocommerce ul.products li.product a.button {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background-color: #F1F5F9 !important;
    color: #111827 !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
    border-radius: 8px !important;
    padding: 10px 6px !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.woocommerce ul.products li.product:hover .button {
    background-color: #2563EB !important;
    color: #FFFFFF !important;
}
.woocommerce ul.products li.product a.yith-wcqv-button,
.woocommerce ul.products li.product .yith-wcqv-button,
.woocommerce ul.products li.product .button.yith-wcqv-button,
.woocommerce ul.products li.product .product-action-wrap a:nth-child(2) {
    display: none !important;
}

/* ==========================================================
   4. PERFEKTE KATEGORIE-KACHELN IM SHOP
   ========================================================== */
.woocommerce ul.products li.product-category {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
    text-align: center !important;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 20px !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.woocommerce ul.products li.product-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.08);
    border-color: #CBD5E1;
}
.woocommerce ul.products li.product-category img {
    border-radius: 8px;
    margin-bottom: 12px;
    transition: transform 0.35s ease;
}
.woocommerce ul.products li.product-category:hover img {
    transform: scale(1.04);
}
.woocommerce ul.products li.product-category .woocommerce-loop-category__title {
    color: #111827 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    margin: 8px 0 4px 0 !important;
}
.woocommerce ul.products li.product-category .count {
    display: inline-block !important;
    background-color: #F1F5F9 !important;
    color: #2563EB !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    margin-top: 6px !important;
}

/* ==========================================================
   5. MODERNES DESKTOP-DROPDOWN-MENÜ
   ========================================================== */
.site-header .kadence-navigation .sub-menu,
.site-header .header-navigation .sub-menu {
    min-width: 220px !important;
    background-color: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 25px rgba(17, 24, 39, 0.1) !important;
    padding: 8px !important;
}
.site-header .kadence-navigation .sub-menu li a,
.site-header .header-navigation .sub-menu li a {
    color: #111827 !important;
    font-size: 14px !important;
    padding: 10px 14px !important;
    border-radius: 6px !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.site-header .kadence-navigation .sub-menu li a:hover,
.site-header .header-navigation .sub-menu li a:hover {
    background-color: #F1F5F9 !important;
    color: #2563EB !important;
}
.site-header .kadence-navigation .sub-menu .current-menu-item > a,
.site-header .header-navigation .sub-menu .current-menu-item > a,
.site-header .kadence-navigation .sub-menu .current_page_item > a {
    background: transparent !important;
    background-color: transparent !important;
    color: #111827 !important;
    font-weight: 600 !important;
}
.site-header .kadence-navigation .sub-menu .current-menu-item > a:hover,
.site-header .header-navigation .sub-menu .current_page_item > a:hover {
    background-color: #F1F5F9 !important;
    color: #2563EB !important;
}

/* ==========================================================
   6. MOBILER VOLLBILD-DRAWER (SMARTPHONES)
   ========================================================== */
.kadence-mobile-popup,
#mobile-drawer,
.mobile-drawer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 85% !important;
    max-width: 340px !important;
    height: 100vh !important;
    background-color: #FFFFFF !important;
    box-shadow: 15px 0 40px rgba(0, 0, 0, 0.3) !important;
    z-index: 999999 !important;
}
.kadence-mobile-popup-inner,
#mobile-drawer .drawer-inner,
.mobile-drawer-content {
    background-color: #FFFFFF !important;
    width: 100% !important;
    height: 100% !important;
    overflow-y: auto !important;
    padding: 24px 20px !important;
}
.kadence-mobile-popup nav ul li a,
#mobile-drawer .drawer-content ul li a,
.mobile-drawer nav ul li a {
    color: #111827 !important;
    font-size: 15px !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #F1F5F9 !important;
}
.kadence-mobile-popup nav ul li a:hover,
#mobile-drawer .drawer-content ul li a:hover,
.mobile-drawer nav ul li a:hover {
    color: #2563EB !important;
}

/* ==========================================================
   7. UNFORMATIERTE COMPARE-SHORTCODES AUSBLENDEN
   ========================================================== */
body.woocommerce-page.archive .yith_woocompare_table,
body.page-template-default .entry-content > p:has(> code),
.yith-woocompare-widget {
    display: none !important;
}

/* ==========================================================
   8. MOBILE OPTIMIERUNG & BESTSELLER-REIHE AUF HANDYS
   ========================================================== */
@media (max-width: 767px) {
    /* Produktpreise und Titel auf Handys lesbar skalieren */
    .woocommerce ul.products li.product .price,
    .woocommerce ul.products li.product .price .amount {
        font-size: 14px !important;
    }
    .woocommerce ul.products li.product h2,
    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 14px !important;
        line-height: 1.3 !important;
    }
    
    /* Buttons auf dem Smartphone handlicher */
    .woocommerce ul.products li.product a.button {
        font-size: 13px !important;
        padding: 12px 8px !important;
    }
    .kadence-mobile-popup nav ul li a,
    #mobile-drawer .drawer-content ul li a {
        font-size: 16px !important;
        padding: 14px 0 !important;
    }

    /* Bestseller-Reihe (Siminox & Startseiten-Grids) auf 1 Spalte strecken */
    .elementor-widget-woocommerce-products .products li.product,
    .elementor-products-grid .products li.product,
    section.bestseller-section ul.products li.product,
    .home .woocommerce ul.products li.product {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        margin-bottom: 24px !important;
    }
    
    /* Bestseller-Bilder auf Smartphones gross und raumfüllend anzeigen */
    .elementor-widget-woocommerce-products .products li.product img,
    .elementor-products-grid .products li.product img,
    .home .woocommerce ul.products li.product img {
        width: 100% !important;
        height: 260px !important;
        object-fit: contain !important;
    }
}.woocommerce-products-header__title,
.woocommerce-products-header .term-description,
.woocommerce-result-count,
.woocommerce-ordering select,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: #1a1a1a !important;
  opacity: 1 !important;
}.entry-content,
.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content li {
  color: #1a1a1a !important;
  opacity: 1 !important;
}
.entry-content ul {
  clear: both;
  margin-left: 0 !important;
  padding-left: 1.25rem !important;
}.woocommerce-products-header__title,
.page-title,
.entry-title {
  color: #1a1a1a !important;
  opacity: 1 !important;
}.hero-video-unten .elementor-background-video-hosted {
    top: 75% !important;
    inset-block-start: 75% !important;
    bottom: auto !important;
    inset-block-end: auto !important;
    transform: translate(-50%, -75%) !important;
}@media (max-width: 767px) {
    .hero-video-unten .elementor-widget-button,
    .hero-video-unten .elementor-button {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        text-align: center !important;
    }
    .hero-video-unten .elementor-widget-button + .elementor-widget-button {
        margin-top: 10px !important;
    }
}
/* Header: Trennlinie, Suchfeld mit rotem Button, Reihenfolge & Konto-Icon */
.site-main-header-wrap {
    border-bottom: 1px solid #efefef;
}
.site-header-main-section-right {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}
.site-header-main-section-right .site-header-item[data-section="kadence_customizer_header_html"],
.site-header-main-section-right .header-html,
.site-header-main-section-right .header-html-inner {
    display: contents !important;
}
.header-suche-form {
    order: 1;
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
}
.header-suche-form input[type="search"] {
    width: 175px !important;
    height: 36px !important;
    padding: 0 10px !important;
    margin: 0 !important;
    font-size: 13px !important;
    color: #1a1a1a !important;
    background: #fafafa !important;
    border: 1px solid #e0e0e0 !important;
    border-right: 0 !important;
    border-radius: 4px 0 0 4px !important;
    box-shadow: none !important;
}
.header-suche-form button[type="submit"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    margin: 0 !important;
    background-color: #c92a2a !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 0 4px 4px 0 !important;
    cursor: pointer;
}
.site-header-main-section-right .site-header-item[data-section="kadence_customizer_cart"],
.header-cart-wrap {
    order: 2;
}
.header-account-link {
    order: 3;
    display: inline-flex !important;
    align-items: center !important;
    color: #1a1a1a !important;
    text-decoration: none !important;
}
/* Mobiles Header-Logo kompakt auf einer Linie halten */
@media (max-width: 1024px) {
    .site-header-main-section-left .custom-logo-link img,
    .site-header-main-section-left .custom-logo {
        max-height: 44px !important;
        width: auto !important;
    }
    .site-header-main-section-right {
        gap: 10px !important;
    }
}
/* Sticky Header: Navigation & Warenkorb im mitlaufenden Zustand sauber weiss halten */
.item-is-stuck .site-main-header-wrap,
.item-is-stuck .primary-menu-container,
.item-is-stuck .primary-menu-container > ul > li > a,
.item-is-stuck .header-cart-wrap,
.item-is-stuck .header-cart-button {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}
.item-is-stuck .primary-menu-container > ul > li > a {
    color: #1a1a1a !important;
}
.item-is-stuck .primary-menu-container > ul > li > a:hover {
    color: #c92a2a !important;
}
.item-is-stuck .header-cart-button,
.item-is-stuck .header-cart-button svg {
    color: #1a1a1a !important;
    fill: #1a1a1a !important;
}
/* Produktkarten-Buttons: Blau durch Marken-Rot (#c92a2a) ersetzen */
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.button:hover,
.products .product .button:hover,
.products .product a.button:hover {
    background-color: #c92a2a !important;
    border-color: #c92a2a !important;
    color: #ffffff !important;
}
/* Einzelproduktseite: Preis & Warenkorb-Button exakt vertikal mittig & mit Abstand */
.single-product .elementor-widget-wl-single-product-price,
.single-product .elementor-widget-woocommerce-product-price {
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
    margin: 0 20px 0 0 !important;
    height: 46px !important;
}
.single-product .elementor-widget-wl-single-product-price .price,
.single-product .elementor-widget-woocommerce-product-price .price {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}
.single-product .elementor-widget-wl-product-add-to-cart,
.single-product .elementor-widget-woocommerce-product-add-to-cart {
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
    margin: 0 !important;
}
.single-product form.cart {
    margin: 0 !important;
}
/* ==========================================================
   CHECKOUT-DESIGN (SHOPLENTOR): ROTER HAUPT-BUTTON & TEXT-LINKS
   ========================================================== */
body.woocommerce-checkout img {
    max-width: 210px !important;
    height: auto !important;
}

/* Haupt-Buttons (Weiter zum Versand, Weiter zur Zahlung, Einlösen, Jetzt kaufen) in Marken-Rot */
body.woocommerce-checkout a[data-step],
body.woocommerce-checkout button[type="submit"],
body.woocommerce-checkout button[name="apply_coupon"],
body.woocommerce-checkout input[type="submit"] {
    background-color: #c92a2a !important;
    border-color: #c92a2a !important;
    color: #ffffff !important;
}
body.woocommerce-checkout a[data-step]:hover,
body.woocommerce-checkout button[type="submit"]:hover,
body.woocommerce-checkout button[name="apply_coupon"]:hover,
body.woocommerce-checkout input[type="submit"]:hover {
    background-color: #a61e1e !important;
    border-color: #a61e1e !important;
}

/* Nur der zweite Link (Zurück-Links) sowie Warenkorb-Links bleiben reine Text-Links */
body.woocommerce-checkout a[data-step] + a[data-step],
body.woocommerce-checkout [class*="woolentor"] a[href*="cart"],
body.woocommerce-checkout [class*="woolentor"] a[href*="warenkorb"] {
    background-color: transparent !important;
    border-color: transparent !important;
    color: #374151 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
body.woocommerce-checkout a[data-step] + a[data-step]:hover,
body.woocommerce-checkout [class*="woolentor"] a[href*="cart"]:hover,
body.woocommerce-checkout [class*="woolentor"] a[href*="warenkorb"]:hover {
    background-color: transparent !important;
    color: #c92a2a !important;
}

/* Produkttitel rechts dunkelgrau */
body.woocommerce-checkout [class*="woolentor"] [class*="product"] a,
body.woocommerce-checkout [class*="woolentor"] [class*="product-title"],
body.woocommerce-checkout [class*="woolentor"] [class*="product-name"] {
    color: #111827 !important;
    text-decoration: none !important;
}