/* ============================================
   MODERN WOOCOMMERCE SHOP CUSTOM CSS
   Responsiv für Mobile, Tablet & Desktop
   ============================================ */

/* ===== GRUNDLEGENDES LAYOUT ===== */
.site-content {
    padding: 5px 40px;
    background: #fafafa;
}

.ast-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

/* ===== SIDEBAR STYLING ===== */
#secondary.widget-area {
    position: sticky;
    top: 3em;
    height: fit-content;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    transition: none;
}

#secondary.widget-area:hover {
    box-shadow: none;
}

/* Einzelne Widget Boxen */
.ast-woo-sidebar-widget {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.ast-woo-sidebar-widget:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Suchfeld Styling */
.ast-woo-sidebar-widget.widget_search {
    margin-bottom: 20px;
}

.wp-block-search__label {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 16px;
    display: block;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.wp-block-search__inside-wrapper {
    display: flex !important;
    width: 100% !important;
    gap: 8px;
}

.wp-block-search__input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    outline: none;
}

.wp-block-search__input:focus {
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.wp-block-search__button {
    padding: 12px 20px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wp-block-search__button:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Kategorien Styling */
.ast-woo-sidebar-widget.widget_block:not(.widget_search) {
    position: relative;
}

/* Kategorien Überschrift */
.ast-woo-sidebar-widget.widget_block:not(.widget_search)::before {
/*    content: "Produktkategorien";
    display: block;*/
	  content: none;
    display: none;
}
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}



.wp-block-woocommerce-product-categories {
    padding: 0 !important;
}

.wc-block-product-categories-list {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.wc-block-product-categories-list-item {
    margin: 8px 0 !important;
    list-style: none !important;
}

.wc-block-product-categories-list-item > a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px !important;
    background: #f8f8f8 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    color: #333 !important;
    font-weight: 500 !important;
    font-size: 14px;
    transition: all 0.3s ease !important;
    border: 2px solid transparent;
}

.wc-block-product-categories-list-item > a:hover {
    background: #046BD2 !important;
    color: #fff !important;
    transform: translateX(4px);
    border-color: #046BD2;
}

.wc-block-product-categories-list-item-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}

/* Unterkategorien einrücken */
.wc-block-product-categories-list--depth-1 {
    margin-left: 16px !important;
    margin-top: 8px !important;
}

.wc-block-product-categories-list--depth-2 {
    margin-left: 16px !important;
    margin-top: 8px !important;
}

.wc-block-product-categories-list--depth-3 {
    margin-left: 16px !important;
    margin-top: 8px !important;
}

/* ===== HAUPTINHALT BEREICH ===== */
#primary.content-area {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* Archive Header */
.ast-archive-description {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid #f0f0f0;
}

.page-title.ast-archive-title {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin: 0;
}

/* Toolbar */
.ast-shop-toolbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 10px;
}

.woocommerce-result-count {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.woocommerce-ordering select {
    padding: 10px 36px 10px 14px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 14px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.woocommerce-ordering select:hover,
.woocommerce-ordering select:focus {
    border-color: #333;
    outline: none;
}

/* ===== PRODUKTE GRID ===== */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.products li.product {
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.products li.product:hover {
    border-color: #333;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

/* Produktbild */
.astra-shop-thumbnail-wrap {
    position: relative;
    margin-bottom: 16px;
    border-radius: 10px;
    overflow: hidden;
    max-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
}

.astra-shop-thumbnail-wrap img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
    border-radius: 10px;
    padding: 12px;
}

.products li.product:hover .astra-shop-thumbnail-wrap img {
    transform: scale(1.05);
}

/* Produktkategorie Bilder */
.product-category img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    padding: 16px;
    background: #f8f8f8;
    border-radius: 10px;
}

.product-category a {
    text-decoration: none;
    display: block;
}

.woocommerce-loop-category__title {
    margin-top: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.woocommerce-loop-category__title mark.count {
    display: block;
    background: none;
    color: #666;
    font-size: 13px;
    font-weight: 400;
    margin-top: 4px;
}

/* In den Warenkorb Button */
.ast-on-card-button {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.products li.product:hover .ast-on-card-button {
    opacity: 1;
    transform: translateY(0);
}

.ast-on-card-button:hover {
    background: #000;
    transform: scale(1.1);
}

.ast-on-card-button svg {
    fill: #fff;
    width: 20px;
    height: 20px;
}

.ast-card-action-tooltip {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: #333;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    margin-bottom: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.ast-on-card-button:hover .ast-card-action-tooltip {
    opacity: 1;
		transform: translateY(15px);
}

/* Produkt Details */
.astra-shop-summary-wrap {
    padding: 12px 0;
}

.ast-woo-product-category {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f0f0;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.woocommerce-loop-product__title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 12px 0;
    line-height: 1.4;
    min-height: 44px;
}

.ast-loop-product__link {
    text-decoration: none;
    color: inherit;
}

.ast-loop-product__link:hover .woocommerce-loop-product__title {
    color: #000;
}

.price {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    display: block;
    margin-top: 12px;
}

.price .woocommerce-Price-currencySymbol {
    font-size: 16px;
}

/* ===== TABLET RESPONSIVE (max-width: 1024px) ===== */
@media (max-width: 1024px) {
    .site-content {
        padding: 30px 16px;
    }

    .ast-container {
        grid-template-columns: 240px 1fr;
        gap: 30px;
        padding: 16px;
    }

    #secondary.widget-area {
        padding: 20px;
    }

    #primary.content-area {
        padding: 24px;
    }

    .page-title.ast-archive-title {
        font-size: 28px;
    }

    .products {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
}

/* ===== MOBILE RESPONSIVE (max-width: 768px) ===== */
@media (max-width: 768px) {
    .site-content {
        padding: 20px 12px;
    }

    .ast-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 12px;
    }

    /* Sidebar als Dropdown auf Mobile */
    #secondary.widget-area {
        position: static;
        padding: 0;
        margin-bottom: 20px;
    }

    .ast-woo-sidebar-widget {
        padding: 16px;
        margin-bottom: 16px;
    }

    .wp-block-search__label,
    .wp-block-woocommerce-product-categories::before {
        font-size: 16px;
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    #primary.content-area {
        padding: 20px;
    }

    .page-title.ast-archive-title {
        font-size: 24px;
    }

    /* Toolbar stapeln */
    .ast-shop-toolbar-container {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }

    .ast-shop-toolbar-aside-wrap {
        width: 100%;
    }

    .woocommerce-ordering select {
        width: 100%;
    }

    /* Produkte Grid - 2 Spalten auf Mobile */
    .products {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .products li.product {
        padding: 12px;
    }

    .astra-shop-thumbnail-wrap {
        max-height: 150px;
    }

    .astra-shop-thumbnail-wrap img {
        height: 150px;
        padding: 8px;
    }

    .product-category img {
        height: 140px;
        padding: 12px;
    }

    .woocommerce-loop-product__title {
        font-size: 14px;
        min-height: auto;
    }

    .price {
        font-size: 18px;
    }

    /* Kategorien kompakter */
    .wc-block-product-categories-list-item > a {
        padding: 10px 12px !important;
        font-size: 13px;
    }

    .wc-block-product-categories-list--depth-1,
    .wc-block-product-categories-list--depth-2,
    .wc-block-product-categories-list--depth-3 {
        margin-left: 12px !important;
    }
}

/* ===== SMALL MOBILE (max-width: 480px) ===== */
@media (max-width: 480px) {
    .site-content {
        padding: 16px 8px;
    }

    .ast-container {
        padding: 8px;
    }

    #secondary.widget-area {
        padding: 0;
    }

    .ast-woo-sidebar-widget {
        padding: 12px;
        margin-bottom: 12px;
    }

    .wp-block-search__label,
    .wp-block-woocommerce-product-categories::before {
        font-size: 15px;
    }

    #primary.content-area {
        padding: 16px;
    }

    .page-title.ast-archive-title {
        font-size: 20px;
    }

    /* 1 Spalte für sehr kleine Screens */
    .products {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .astra-shop-thumbnail-wrap {
        max-height: 180px;
    }

    .astra-shop-thumbnail-wrap img {
        height: 180px;
    }

    .product-category img {
        height: 160px;
    }

    .wp-block-search__inside-wrapper {
        flex-direction: column !important;
    }

    .wp-block-search__button {
        width: 100%;
    }

    .ast-on-card-button {
        opacity: 1;
        width: 40px;
        height: 40px;
    }
}

/* ===== SMOOTH ANIMATIONS ===== */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.products li.product,
.ast-on-card-button,
.wc-block-product-categories-list-item > a,
.wp-block-search__button,
.wp-block-search__input {
    will-change: transform;
}

/* ===== ACCESSIBILITY ===== */
.screen-reader-text {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

*:focus-visible {
    outline: 2px solid #333;
    outline-offset: 2px;
}

/* PRODUKTDETAILSEITE - Produktbilder Mobile */
@media (max-width: 768px) {
    .woocommerce-product-gallery {
        max-width: 100%;
        margin: 0 auto 24px;
    }

    .woocommerce-product-gallery__wrapper {
        max-width: 350px;
        margin: 0 auto;
    }

    .woocommerce-product-gallery__image img {
        max-width: 100%;
        height: auto;
        max-height: 350px;
        object-fit: contain;
    }

    .ast-single-product-thumbnails {
        max-width: 350px;
        margin: 16px auto 0;
    }

    .ast-woocommerce-product-gallery__image img {
        max-height: 80px;
        object-fit: contain;
    }
}

/* PRODUKTDETAILSEITE - Small Mobile */
@media (max-width: 480px) {
    .woocommerce-product-gallery__wrapper {
        max-width: 280px;
    }

    .woocommerce-product-gallery__image img {
        max-height: 280px;
    }

    .ast-single-product-thumbnails {
        max-width: 280px;
    }

    .ast-woocommerce-product-gallery__image img {
        max-height: 60px;
    }
}

/* Vertikale Linie rechts neben Sidebar entfernen */
#secondary.widget-area {
    border-right: none !important;
}

.sidebar-main {
    border-right: none !important;
}

.widget-area.secondary {
    border-right: none !important;
}

/* Falls der Strich vom Container kommt */
.ast-container {
    border: none !important;
}

/* Grid-Gap Linie entfernen (falls vorhanden) */
.ast-separate-container #secondary {
    border-right: none !important;
}

/* Akkordeon Kategorien Styling */
.wc-block-product-categories-list-item.has-children > a {
    position: relative;
    padding-left: 40px !important;
}

.category-toggle {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: #046BD2;
    color: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wc-block-product-categories-list-item.active > a .category-toggle {
    background: #034a94;
}

.category-toggle:hover {
    background: #034a94;
    transform: translateY(-50%) scale(1.1);
}

/* Unterkategorien initial versteckt */
.wc-block-product-categories-list--depth-1,
.wc-block-product-categories-list--depth-2,
.wc-block-product-categories-list--depth-3 {
    display: none;
}

/* ==== Fix: Kategorie-Titel unter Bild (Produkt-Grid) ==== */

/* Ziel: nur die Kategorie-Kacheln im Grid ansprechen */
.products li.product-category,
.products li.product-category > a {
  box-sizing: border-box;
}

/* Bild: oben, vollbreite, kein Overlay */
.products li.product-category img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  object-fit: cover;
  order: 0 !important;
  position: relative !important;
  z-index: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

/* Link/Wrapper: Bild oben, Text darunter (Spalten-Layout) */
.products li.product-category > a {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  text-decoration: none !important;
  color: inherit !important;
  gap: 8px;
}

/* Titel: unterhalb des Bildes, sichtbar, kein Overlay */
.products li.product-category .woocommerce-loop-category__title {
  order: 1 !important;
  position: static !important;           /* verhindert absolute Position */
  opacity: 1 !important;                 /* sichtbar machen */
  visibility: visible !important;
  display: block !important;
  margin: 12px 0 0 !important;
  padding: 0 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  color: #222 !important;
  background: transparent !important;
  z-index: 2 !important;
}

/* Count unter dem Titel (als separate Zeile) */
.products li.product-category .woocommerce-loop-category__title mark.count,
.products li.product-category .woocommerce-loop-category__title .count {
  display: block !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #666 !important;
  background: none !important;
  margin-top: 6px !important;
  padding: 0 !important;
}

/* Sicherheit: falls Theme das a-Tag als Flex/Row zwingt, stellen wir sicher, dass img nicht 100%+ Raum einnimmt */
.products li.product-category > a img {
  max-width: 100% !important;
  flex: 0 0 auto !important;
}

/* Optional: kleine Abstände in der Card, falls benötigt */
.products li.product-category {
  padding: 8px !important;
}

/* "Sale!" Badge */
.ast-on-card-button.ast-onsale-card {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #e63946;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  z-index: 10;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* ===== PRODUKTFILTER STYLING - NUR FÜR DESKTOP ===== */
@media (min-width: 769px) {
    /* Filter Button */
    .wc-block-product-filters__open-overlay {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 20px;
        background: #333;
        color: #fff;
        border: none;
        border-radius: 8px;
        font-weight: 600;
        font-size: 14px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .wc-block-product-filters__open-overlay:hover {
        background: #000;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    
    /* Overlay Hintergrund */
    .wc-block-product-filters__overlay-wrapper {
        background: #fff;
    }
    
    /* Overlay Header */
    .wc-block-product-filters__overlay-header {
        padding: 20px 24px;
        border-bottom: 2px solid #f0f0f0;
    }
    
    .wc-block-product-filters__close-overlay {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
        background: #f8f8f8;
        border: 2px solid #e5e5e5;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 600;
        color: #333;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .wc-block-product-filters__close-overlay:hover {
        background: #333;
        color: #fff;
        border-color: #333;
    }
    
    /* Overlay Content */
    .wc-block-product-filters__overlay-content {
        padding: 24px;
    }
    
    .wc-block-product-filters__overlay-content h2,
    .wc-block-product-filters__overlay-content h3 {
        font-weight: 700;
        color: #222;
        margin-bottom: 12px;
    }
    
    /* Checkboxen Styling */
    .wc-block-product-filter-checkbox-list__label {
        display: flex;
        align-items: center;
        padding: 10px 12px;
        background: #f8f8f8;
        border: 2px solid transparent;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-bottom: 8px;
    }
    
    .wc-block-product-filter-checkbox-list__label:hover {
        background: #e5e5e5;
        border-color: #046BD2;
    }
    
    .wc-block-product-filter-checkbox-list__input {
        margin-right: 10px;
        cursor: pointer;
        accent-color: #046BD2;
    }
    
    /* Clear Button */
    .wc-block-product-filter-clear-button .wp-block-button__link {
        background: transparent !important;
        color: #046BD2 !important;
        border: 2px solid #046BD2 !important;
        border-radius: 8px !important;
        padding: 10px 16px !important;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    .wc-block-product-filter-clear-button .wp-block-button__link:hover {
        background: #046BD2 !important;
        color: #fff !important;
    }
    
    /* Apply Button */
    .wc-block-product-filters__apply {
        width: 100%;
        padding: 14px 20px;
        background: #046BD2;
        color: #fff;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .wc-block-product-filters__apply:hover {
        background: #034a94;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(4, 107, 210, 0.3);
    }
    
    /* Overlay Footer */
    .wc-block-product-filters__overlay-footer {
        padding: 20px 24px;
        border-top: 2px solid #f0f0f0;
    }
}
/* Kategorie Widget Überschrift */
.widget_block div[data-block-name="woocommerce/product-categories"] {
    position: relative;
}

.widget_block div[data-block-name="woocommerce/product-categories"]::before {
    content: "Produktkategorien";
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

/* Filter Widget Überschrift */
.widget_block div[data-block-name="woocommerce/product-filters"]::before {
    content: "Filter";
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

/* Alle Filter-Überschriften kleiner */
.wc-block-product-filters__overlay-content h3.wp-block-heading {
    font-size: 16px;
}

/* Maßstab Filter - Horizontal mit "Mehr anzeigen" */
.wp-block-woocommerce-product-filter-attribute .wc-block-product-filter-checkbox-list__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

/* Zeige nur die ersten 6 Items */
.wp-block-woocommerce-product-filter-attribute .wc-block-product-filter-checkbox-list__item {
    display: none;
}

.wp-block-woocommerce-product-filter-attribute .wc-block-product-filter-checkbox-list__item:nth-child(-n+6) {
    display: block;
}

/* Wenn expandiert, zeige alle */
.wp-block-woocommerce-product-filter-attribute.expanded .wc-block-product-filter-checkbox-list__item {
    display: block;
}

/* "Mehr anzeigen" Button Container */
.filter-toggle-wrapper {
    margin-top: 12px;
    text-align: center;
}

/* "Mehr anzeigen" Button */
.filter-toggle-btn {
    background: transparent;
    color: #046BD2;
    border: 2px solid #046BD2;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.filter-toggle-btn:hover {
    background: #046BD2;
    color: #fff;
}

/* Labels kompakter für horizontales Layout */
.wp-block-woocommerce-product-filter-attribute .wc-block-product-filter-checkbox-list__label {
    padding: 8px 10px;
    font-size: 13px;
}

/* Tablet */
@media (max-width: 1024px) {
    .wp-block-woocommerce-product-filter-attribute .wc-block-product-filter-checkbox-list__items {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .wp-block-woocommerce-product-filter-attribute .wc-block-product-filter-checkbox-list__items {
        grid-template-columns: 1fr;
    }
    
    .wp-block-woocommerce-product-filter-attribute .wc-block-product-filter-checkbox-list__item:nth-child(-n+3) {
        display: block;
    }
    
    .wp-block-woocommerce-product-filter-attribute .wc-block-product-filter-checkbox-list__item:nth-child(n+4) {
        display: none;
    }
}

/* ===== MARKEN FILTER - 2 Spalten Layout mit "Mehr anzeigen" ===== */

/* Container für Marken-Checkboxen */
.wp-block-woocommerce-product-filter-taxonomy[data-taxonomy="product_brand"] .wc-block-product-filter-checkbox-list__items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

/* Initial nur erste 4 Items zeigen (2 Reihen à 2 Spalten) */
.wp-block-woocommerce-product-filter-taxonomy[data-taxonomy="product_brand"] .wc-block-product-filter-checkbox-list__item {
    display: none;
}

.wp-block-woocommerce-product-filter-taxonomy[data-taxonomy="product_brand"] .wc-block-product-filter-checkbox-list__item:nth-child(-n+4) {
    display: block;
}

/* Wenn expandiert, zeige ALLE Items */
.wp-block-woocommerce-product-filter-taxonomy[data-taxonomy="product_brand"].expanded .wc-block-product-filter-checkbox-list__item {
    display: block !important;
}

/* Marken Label kompakter für 2-Spalten Layout */
.wp-block-woocommerce-product-filter-taxonomy[data-taxonomy="product_brand"] .wc-block-product-filter-checkbox-list__label {
    padding: 10px 12px !important;
    font-size: 13px !important;
    background: #f8f8f8 !important;
    border: 2px solid transparent !important;
    border-radius: 8px !important;
}

.wp-block-woocommerce-product-filter-taxonomy[data-taxonomy="product_brand"] .wc-block-product-filter-checkbox-list__label:hover {
    background: #e5e5e5 !important;
    border-color: #046BD2 !important;
}

.wp-block-woocommerce-product-filter-taxonomy[data-taxonomy="product_brand"] .wc-block-product-filter-checkbox-list__show-more:hover {
    background: #046BD2;
    color: #fff;
}

/* Marken-Überschrift */
.wp-block-woocommerce-product-filter-taxonomy[data-taxonomy="product_brand"] .wp-block-heading {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

/* Count Badge im 2-Spalten Layout kleiner */
.wp-block-woocommerce-product-filter-taxonomy[data-taxonomy="product_brand"] .wc-block-product-filter-checkbox-list__count {
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    font-size: 11px;
}

/* ===== TABLET RESPONSIVE ===== */
@media (max-width: 1024px) {
    .wp-block-woocommerce-product-filter-taxonomy[data-taxonomy="product_brand"] .wc-block-product-filter-checkbox-list__items {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .wp-block-woocommerce-product-filter-taxonomy[data-taxonomy="product_brand"] .wc-block-product-filter-checkbox-list__label {
        padding: 8px 10px !important;
        font-size: 12px !important;
    }
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    /* Auf Mobile: 1 Spalte */
    .wp-block-woocommerce-product-filter-taxonomy[data-taxonomy="product_brand"] .wc-block-product-filter-checkbox-list__items {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    /* Initial nur 3 Items auf Mobile zeigen */
    .wp-block-woocommerce-product-filter-taxonomy[data-taxonomy="product_brand"] .wc-block-product-filter-checkbox-list__item:nth-child(-n+3) {
        display: block;
    }
    
    .wp-block-woocommerce-product-filter-taxonomy[data-taxonomy="product_brand"] .wc-block-product-filter-checkbox-list__item:nth-child(n+4) {
        display: none;
    }
    
    /* Wenn expandiert auf Mobile */
    .wp-block-woocommerce-product-filter-taxonomy[data-taxonomy="product_brand"].expanded .wc-block-product-filter-checkbox-list__item {
        display: block !important;
    }
    
    .wp-block-woocommerce-product-filter-taxonomy[data-taxonomy="product_brand"] .wc-block-product-filter-checkbox-list__label {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }
}

/* "Mehr anzeigen" Button - IDENTISCH MIT MASSSTAB */
.wp-block-woocommerce-product-filter-taxonomy[data-taxonomy="product_brand"] .wc-block-product-filter-checkbox-list__show-more {
    background: #046BD2 !important;
    color: #fff !important;
    border: 2px solid #046BD2 !important;
    border-radius: 8px !important;
    padding: 8px 16px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    margin-top: 12px !important;
    text-decoration: none !important;
    line-height: 1.5 !important;
}

.wp-block-woocommerce-product-filter-taxonomy[data-taxonomy="product_brand"] .wc-block-product-filter-checkbox-list__show-more:hover {
    background: #034a94 !important;
    color: #fff !important;
    border-color: #034a94 !important;
}

/* "Weniger anzeigen" Text anzeigen */
.wp-block-woocommerce-product-filter-taxonomy[data-taxonomy="product_brand"] .wc-block-product-filter-checkbox-list__show-more .show-more,
.wp-block-woocommerce-product-filter-taxonomy[data-taxonomy="product_brand"] .wc-block-product-filter-checkbox-list__show-more .show-less {
    display: inline !important;
}

.wp-block-woocommerce-product-filter-taxonomy[data-taxonomy="product_brand"] .wc-block-product-filter-checkbox-list__show-more .show-less {
    display: none !important;
}

/* Wenn expandiert, zeige "Weniger anzeigen" */
.wp-block-woocommerce-product-filter-taxonomy[data-taxonomy="product_brand"].expanded .wc-block-product-filter-checkbox-list__show-more .show-more {
    display: none !important;
}

.wp-block-woocommerce-product-filter-taxonomy[data-taxonomy="product_brand"].expanded .wc-block-product-filter-checkbox-list__show-more .show-less {
    display: inline !important;
}

/* ===== ART FILTER - 2 Spalten Layout mit "Mehr anzeigen" ===== */

/* Container für Art-Checkboxen */
.wp-block-woocommerce-product-filter-attribute[data-attribute-id="3"] .wc-block-product-filter-checkbox-list__items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

/* Initial nur erste 4 Items zeigen (2 Reihen à 2 Spalten) */
.wp-block-woocommerce-product-filter-attribute[data-attribute-id="3"] .wc-block-product-filter-checkbox-list__item {
    display: none;
}

.wp-block-woocommerce-product-filter-attribute[data-attribute-id="3"] .wc-block-product-filter-checkbox-list__item:nth-child(-n+4) {
    display: block;
}

/* Wenn expandiert, zeige ALLE Items */
.wp-block-woocommerce-product-filter-attribute[data-attribute-id="3"].expanded .wc-block-product-filter-checkbox-list__item {
    display: block !important;
}

/* Art Label kompakter für 2-Spalten Layout */
.wp-block-woocommerce-product-filter-attribute[data-attribute-id="3"] .wc-block-product-filter-checkbox-list__label {
    padding: 10px 12px !important;
    font-size: 13px !important;
    background: #f8f8f8 !important;
    border: 2px solid transparent !important;
    border-radius: 8px !important;
}

.wp-block-woocommerce-product-filter-attribute[data-attribute-id="3"] .wc-block-product-filter-checkbox-list__label:hover {
    background: #e5e5e5 !important;
    border-color: #046BD2 !important;
}

/* "Mehr anzeigen" Button - BLAUER HINTERGRUND WIE ANDERE */
.wp-block-woocommerce-product-filter-attribute[data-attribute-id="3"] .filter-toggle-btn {
    background: #046BD2 !important;
    color: #fff !important;
    border: 2px solid #046BD2 !important;
    border-radius: 8px !important;
    padding: 8px 16px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    margin-top: 12px !important;
    text-decoration: none !important;
    line-height: 1.5 !important;
}

.wp-block-woocommerce-product-filter-attribute[data-attribute-id="3"] .filter-toggle-btn:hover {
    background: #034a94 !important;
    color: #fff !important;
    border-color: #034a94 !important;
}

/* Art-Überschrift */
.wp-block-woocommerce-product-filter-attribute[data-attribute-id="3"] .wp-block-heading {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

/* ===== TABLET RESPONSIVE ===== */
@media (max-width: 1024px) {
    .wp-block-woocommerce-product-filter-attribute[data-attribute-id="3"] .wc-block-product-filter-checkbox-list__items {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .wp-block-woocommerce-product-filter-attribute[data-attribute-id="3"] .wc-block-product-filter-checkbox-list__label {
        padding: 8px 10px !important;
        font-size: 12px !important;
    }
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    /* Auf Mobile: 1 Spalte */
    .wp-block-woocommerce-product-filter-attribute[data-attribute-id="3"] .wc-block-product-filter-checkbox-list__items {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    /* Initial nur 3 Items auf Mobile zeigen */
    .wp-block-woocommerce-product-filter-attribute[data-attribute-id="3"] .wc-block-product-filter-checkbox-list__item:nth-child(-n+3) {
        display: block;
    }
    
    .wp-block-woocommerce-product-filter-attribute[data-attribute-id="3"] .wc-block-product-filter-checkbox-list__item:nth-child(n+4) {
        display: none;
    }
    
    /* Wenn expandiert auf Mobile */
    .wp-block-woocommerce-product-filter-attribute[data-attribute-id="3"].expanded .wc-block-product-filter-checkbox-list__item {
        display: block !important;
    }
    
    .wp-block-woocommerce-product-filter-attribute[data-attribute-id="3"] .wc-block-product-filter-checkbox-list__label {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }
}

/* ===== ORIGINALHERSTELLER FILTER - 2 Spalten Layout mit "Mehr anzeigen" ===== */

/* Container für Originalhersteller-Checkboxen */
.wp-block-woocommerce-product-filter-attribute[data-attribute-id="2"] .wc-block-product-filter-checkbox-list__items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

/* Initial nur erste 4 Items zeigen (2 Reihen à 2 Spalten) */
.wp-block-woocommerce-product-filter-attribute[data-attribute-id="2"] .wc-block-product-filter-checkbox-list__item {
    display: none;
}

.wp-block-woocommerce-product-filter-attribute[data-attribute-id="2"] .wc-block-product-filter-checkbox-list__item:nth-child(-n+4) {
    display: block;
}

/* Wenn expandiert, zeige ALLE Items */
.wp-block-woocommerce-product-filter-attribute[data-attribute-id="2"].expanded .wc-block-product-filter-checkbox-list__item {
    display: block !important;
}

/* Originalhersteller Label kompakter für 2-Spalten Layout */
.wp-block-woocommerce-product-filter-attribute[data-attribute-id="2"] .wc-block-product-filter-checkbox-list__label {
    padding: 10px 12px !important;
    font-size: 13px !important;
    background: #f8f8f8 !important;
    border: 2px solid transparent !important;
    border-radius: 8px !important;
}

.wp-block-woocommerce-product-filter-attribute[data-attribute-id="2"] .wc-block-product-filter-checkbox-list__label:hover {
    background: #e5e5e5 !important;
    border-color: #046BD2 !important;
}

/* "Mehr anzeigen" Button - BLAUER HINTERGRUND WIE ANDERE */
.wp-block-woocommerce-product-filter-attribute[data-attribute-id="2"] .filter-toggle-btn {
    background: #046BD2 !important;
    color: #fff !important;
    border: 2px solid #046BD2 !important;
    border-radius: 8px !important;
    padding: 8px 16px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    margin-top: 12px !important;
    text-decoration: none !important;
    line-height: 1.5 !important;
}

.wp-block-woocommerce-product-filter-attribute[data-attribute-id="2"] .filter-toggle-btn:hover {
    background: #034a94 !important;
    color: #fff !important;
    border-color: #034a94 !important;
}

/* Originalhersteller-Überschrift */
.wp-block-woocommerce-product-filter-attribute[data-attribute-id="2"] .wp-block-heading {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

/* ===== TABLET RESPONSIVE ===== */
@media (max-width: 1024px) {
    .wp-block-woocommerce-product-filter-attribute[data-attribute-id="2"] .wc-block-product-filter-checkbox-list__items {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .wp-block-woocommerce-product-filter-attribute[data-attribute-id="2"] .wc-block-product-filter-checkbox-list__label {
        padding: 8px 10px !important;
        font-size: 12px !important;
    }
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    /* Auf Mobile: 1 Spalte */
    .wp-block-woocommerce-product-filter-attribute[data-attribute-id="2"] .wc-block-product-filter-checkbox-list__items {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    /* Initial nur 3 Items auf Mobile zeigen */
    .wp-block-woocommerce-product-filter-attribute[data-attribute-id="2"] .wc-block-product-filter-checkbox-list__item:nth-child(-n+3) {
        display: block;
    }
    
    .wp-block-woocommerce-product-filter-attribute[data-attribute-id="2"] .wc-block-product-filter-checkbox-list__item:nth-child(n+4) {
        display: none;
    }
    
    /* Wenn expandiert auf Mobile */
    .wp-block-woocommerce-product-filter-attribute[data-attribute-id="2"].expanded .wc-block-product-filter-checkbox-list__item {
        display: block !important;
    }
    
    .wp-block-woocommerce-product-filter-attribute[data-attribute-id="2"] .wc-block-product-filter-checkbox-list__label {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }
}