.page-category-item #page-body, .page-search #page-body {
    background-color: #fff;
}

/* ===========================
   KS - HERO
   =========================== */
.ks-hero {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 15px;
    min-height: 420px;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.ks-hero-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 4rem;
    max-width: 540px;
}

.ks-hero-label {
    display: inline-block;
    background-color: #fff;
    color: #7c6845;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    margin-bottom: 2rem;
}

.fs-homepage .ks-hero-headline {
    font-size: 3rem !important;
    line-height: 1.15;
    color: #010101;
    font-family: "Nunito", helvetica, arial, sans-serif !important;
}

.ks-hero-text {
    color: #7c6845;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 700;
}

.ks-btn-primary {
    background-color: #ed7508;
    color: #fff;
    border: 1px solid #ed7508;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}

.ks-btn-primary:hover {
    background-color: #ed7508;
    color: #fff;
    text-decoration: none;
}

.ks-btn-primary:hover .fa-long-arrow-right {animation: slide 1s ease-in-out infinite;}

.ks-btn-secondary {
    background-color: #fff;
    color: #010101;
    border: 1px solid #fff;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}

.ks-btn-secondary:hover {
    background-color: #fff;
    color: #010101;
    text-decoration: none;
    border: 1px solid #ed7508;
}

/* ===========================
   KS - STIL ENTDECKEN SEKTION
   =========================== */
.ks-styles-section {background-color: #faf6f2;}

.ks-section-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ed7508;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.ks-section-headline {
    font-size: 2rem;
    color: #010101;
}

.ks-section-subtext {
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
}

/* ===========================
   KS - STYLE CAT CARDS HOME
   =========================== */
.ks-style-card {
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.ks-style-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    text-decoration: none;
}

.ks-style-card:hover .fa-long-arrow-right {animation: slide 1s ease-in-out infinite;}

.ks-style-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.ks-style-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ks-style-card-title {
    font-weight: 700;
    font-size: 1.2rem;
    color: #010101;
    margin-bottom: 0.4rem;
}

.ks-style-card-desc {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
    flex: 1;
    margin-bottom: 0.75rem;
}

.ks-style-card-link {
    font-size: 1rem;
    color: #ed7508;
    font-weight: 700;
}

/* ===========================
   KS - STOFFMUSTER & BERATUNG
   =========================== */
.ks-stoffmuster-section {background-color: #1a1a1a;}

.ks-stoffmuster-image {padding: 2rem;}

.ks-stoffmuster-image img {border-radius: 15px;}

.ks-stoffmuster-headline {
    font-size: 2.5rem !important;
    color: #fff;
    line-height: 1.2;
    font-family: "Nunito", helvetica, arial, sans-serif !important;
}

.ks-stoffmuster-text {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
}

.ks-stoffmuster-feature {
    color: #fff;
    font-size: 0.95rem;
}

.ks-stoffmuster-feature .fa-check {color: #ed7508;}

.ks-stoffmuster-section .ks-section-label {color: #ed7508;}

/* ===========================
   KS - BUTTON AUF DUNKLEM HINTERGRUND
   =========================== */
.ks-btn-dark {
    background-color: #fff;
    color: #010101;
    border: 2px solid #fff;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}

.ks-btn-dark:hover {
    background-color: #ed7508;
    color: #fff;
    border-color: #ed7508;
    text-decoration: none;
}

/* ===========================
   KS - BEWERTUNGEN
   =========================== */
.ks-bewertungen-section {background-color: #faf6f2;}

.ks-bewertungen-headline {
    font-size: 2.5rem !important;
    color: #010101;
    font-family: "Nunito", helvetica, arial, sans-serif !important;
}

.ks-review-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 1.5rem;
    height: 100%;
    border: 2px solid #f3e6d9;
}

.ks-review-stars .fa-star {
    color: #ed7508;
    font-size: 1.1rem;
    margin-right: 2px;
}

.ks-review-text {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 1rem;
    min-height: 65px;
}

.ks-review-author {
    color: #010101;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===========================
   KS - PRODUKT KACHEL
   =========================== */
.ks-product-card {
    border-radius: 15px;
    border: 2px solid #f3e6d9;
    overflow: hidden;
    background-color: #fff;
    height: 100%;
}

.ks-product-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: #010101;
}

.ks-product-card-link:hover {
    text-decoration: none;
    color: #010101;
}

.ks-product-card-img-wrap {
    background-color: #f3e6d9;
    overflow: hidden;
}

.ks-product-card-img-wrap img {
    width: 100%;
    min-height: 280px;
    object-fit: cover;
    padding: 10px;
}

.ks-product-card-body {
    padding: 0.8rem;
    background-color: #f3e6d9;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ks-product-card-name {
    font-weight: 700;
    font-size: 1rem;
    color: #010101;
    margin-bottom: 0.3rem;
}

.ks-product-card-desc {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    flex: 1;
}

.ks-product-card-availability {
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
}

.ks-availability--instock {color: #2e7d32;}

.ks-availability--order {color: #e65100;}

.ks-product-card-price {
    font-weight: 700;
    font-size: 1rem;
    color: #010101;
}

.ks-price-rrp del {
    color: #999;
    font-size: 0.85rem;
    font-weight: 400;
}

.ks-price-vat {
    font-size: 0.75rem;
    color: #666;
    font-weight: 400;
    display: block;
}

.ks-price-base {
    font-size: 0.75rem;
    color: #666;
    font-weight: 400;
}

/* ===========================
   KS - SEO CONTENT HOMEPAGE
   =========================== */
.ks-seo-section {background-color: #faf6f2;}

.ks-seo-intro {
    color: #333;
    font-size: 1rem;
    line-height: 1.7;
}

.ks-seo-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
}

.ks-seo-card-main {border: 2px solid #f3e6d9;}

.ks-seo-benefits-card {
    background-color: #1a1a1a;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.ks-seo-subheadline {
    font-size: 1.35rem;
    line-height: 1.35;
    font-weight: 700;
    color: #010101;
    margin-bottom: 1rem;
    font-family: "Nunito", helvetica, arial, sans-serif !important;
}

.ks-seo-benefits-card .ks-seo-subheadline {color: #fff;}

.ks-seo-card p {
    color: #333;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.ks-seo-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ks-seo-benefits-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.5;
}

.ks-seo-benefits-list .fa-check {
    color: #ed7508;
    margin-right: 0.75rem;
    margin-top: 0.2rem;
    flex: 0 0 auto;
}

.ks-seo-benefits-list strong {color: #fff;}

/* ===========================
   KS - SEO USP ICONS
   =========================== */
.ks-seo-usp-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.ks-seo-usp-item {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
}

.ks-seo-usp-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 0.6rem;
}

.ks-seo-usp-text {
    display: block;
    color: #fff;
    font-size: 0.82rem;
    line-height: 1.25;
}

@media (max-width: 767.98px) {
    .ks-seo-usp-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.25rem 0.75rem;
    }

    .ks-seo-usp-item {flex: 0 0 calc(50% - 0.75rem);}
}

/* ===========================
   KS - PRODUKT KACHEL (CERES OVERRIDE)
   =========================== */
.cmp-product-thumb {
    border-radius: 15px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); */
    margin-bottom: 30px;
    border: 1.5px solid #e0e0e0;
    padding: 0;
}

.cmp-product-thumb .thumb-image {
    width: 100%;
    position: relative;
    overflow: unset !important;
    padding: .8rem;
    /* background-color: #fef9f3; */
    background-color: #f2f2f2;
}

.cmp-product-thumb .thumb-image .prop-1-1 {
    overflow: hidden;
    border-radius: 15px;
}

.fs-homepage .cmp-product-thumb .thumb-image a img {
    position: absolute !important;
    top: -9999px !important;
    right: -9999px !important;
    bottom: -9999px !important;
    left: -9999px !important;
    /* width: auto; */
    height: auto !important;
    min-height: unset !important;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
    aspect-ratio: 1 / 1;
    object-fit: fill;
    mix-blend-mode: multiply;
}

.page-category-item .cmp-product-thumb .thumb-image a img,
.page-search .cmp-product-thumb .thumb-image a img {
    position: absolute !important;
    top: -9999px !important;
    right: -9999px !important;
    bottom: -9999px !important;
    left: -9999px !important;
    /* width: auto; */
    height: auto !important;
    min-height: unset !important;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
    aspect-ratio: 1 / 1;
    object-fit: fill;
    transition: transform 0.4s ease;
    mix-blend-mode: multiply;
}

@media (min-width: 576px) {
    .cmp-product-thumb:hover .thumb-image a img {
        transform: scale(1.05);
    }
}

.cmp-product-thumb .thumb-content {
    display: block;
    width: 100%;
    padding: 0 .8rem .8rem .8rem;
    /* background-color: #fef9f3; */
    background-color: #f2f2f2;
    min-height: 130px;
}

.ks-product-category-label {
    color: #ed7508;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.cmp-product-thumb .thumb-title {
    display: block;
    min-height: 32px;
    font-weight: 400;
    line-height: 1.1em;
    color: #6c757d;
    text-align: left;
    font-size: 1.2rem;
}

.subline2ShortDescription {
    color: #333;
    font-size: 1rem;
    line-height: 1.1;
    margin-top: 1rem;
    min-height: 31px;
}

@media (min-width: 1200px) {
    .cmp-product-thumb .thumb-title {font-weight: lighter;}
    .ks-product-category-label {font-size: 1rem;}
}

@media (min-width: 768px) {
    .cmp-product-thumb .thumb-content .thumb-title {min-height: 37px;}
}

.cmp-product-thumb .categoryItemShortDescription {
    min-height: 37px;
    color: #313131 !important;
    font-size: 1rem !important;
    line-height: 1 !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: unset;
}

.ks-review-verified {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: #e8f5e9;
    color: #1b5e20;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    white-space: nowrap;
}

.ks-review-verified .fa-check-circle {
    color: #1b5e20;
    font-size: 1rem;
}

/* ===========================
   KS - USP ICONS (TEMPORÄR)
   PNG-Platzhalter mit round-icon Klasse.
   TODO: Entfernen sobald Grafiker finale SVGs liefert.
   SVGs brauchen diese Klasse nicht.
   =========================== */
.round-icon {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #a4927e;
    margin-bottom: 5px;
}

/* ===========================
   KS - RESPONSIVE
   =========================== */

/* Mobile Elemente - standardmäßig versteckt */
.ks-hero-mobile-img { display: none; width: 100%; height: auto; }
.ks-hero-mobile-content { display: none; }

@media (max-width: 930px) {
    .ks-hero-content { max-width: 440px; }
}

@media (max-width: 767px) {
    .fs-homepage .ks-hero-headline { font-size: 2rem !important; }
    .ks-btn-primary { font-size: 1rem; }
    .ks-btn-secondary { font-size: 1rem; }
}

@media (max-width: 650px) {
    .ks-hero {
        background-image: none !important;
        min-height: unset;
        border-radius: 15px 15px 0 0;
        margin-bottom: 0 !important;
    }
    .ks-hero-mobile-img {
        display: block;
        border-radius: 15px 15px 0 0;
        width: 100%;
    }
    .ks-hero-content {
        position: absolute;
        top: 50%;
        left: 1rem;
        transform: translateY(-50%);
        bottom: unset;
        max-width: 90%;
    }
    .ks-hero-label { 
        font-size: .85rem; 
        margin-bottom: .5rem;
    }
    .fs-homepage .ks-hero-headline { 
        font-size: 1.5rem !important;
        margin-bottom: .5rem !important;
    }
    .ks-hero-text-wrap { display: none; }
    .ks-hero-mobile-content {
        display: block;
        background-color: #faf6f2;
        padding: 1rem;
        border-radius: 0 0 15px 15px;
        width: 100%;
        text-align: justify;
    }
    .ks-hero-mobile-content .ks-hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    .ks-hero-mobile-content .ks-hero-buttons .btn {
        width: 100%;
        margin-right: 0 !important;
        margin-bottom: 1rem !important;
        justify-content: center;
    }
    .ks-btn-secondary {border: 1px solid #ed7508;}

    .fs-homepage h1, .fs-homepage h2, .fs-homepage h3, .fs-homepage h4,
    .fs-homepage .h1, .fs-homepage .h2, .fs-homepage .h3, .fs-homepage .h4 {
        font-size: 1.5rem !important;
    }

    .page-category-item .ks-stoffmuster-headline,
    .page-search .ks-stoffmuster-headline {
    font-size: 1.5rem !important;
    }

    .ks-section-label { font-size: .9rem; }

    .ks-stoffmuster-section .ks-hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .ks-stoffmuster-section .ks-hero-buttons .btn {
        width: 100%;
        margin-right: 0 !important;
        margin-bottom: 1rem !important;
        text-align: center;
    }

    .ks-seo-benefits-card .btn {
        width: 100%;
        text-align: center;
    }
    .page-category-item .category-description h1, 
    .page-search .category-description h1,
    .page-category-item .category-description h2, 
    .page-search .category-description h2,
    .page-category-item .category-description h2, 
    .page-search .category-description h2 {
        font-size: 1.2rem;
    }
}

@media (min-width: 380px) {
    .fs-homepage .usp-logos .usp-item {flex: 1 0 21%;}
}

@media (max-width: 450px) {
    .round-icon {
        width: 55px;
        height: 55px;
    }

    .usp-logos .usp-item span {font-size: .85rem;}
}

/* Pfeil-Icon zwischen 920px und 768px ausblenden */
@media (max-width: 920px) and (min-width: 768px) {
    .ks-style-card-body .fa-long-arrow-right { display: none; }
}

@media (max-width: 550px) {
    .ks-style-card-img {height: auto;}

    .ks-stoffmuster-feature {
        display: flex;
        align-items: flex-start;
    }

    .ks-stoffmuster-feature .fa-check {
        margin-top: 0.2rem;
        flex-shrink: 0;
    }
}

/* Ab 480px Beschreibung kleiner */
@media (max-width: 480px) {
    .ks-style-card-desc { font-size: .85rem; }
}

/* Ab 430px Pfeil, Beschreibung ausblenden + Titel und Link kleiner */
@media (max-width: 430px) {
    .ks-style-card-body .fa-long-arrow-right { display: none; }
    .ks-style-card-desc { display: none; }
    .ks-style-card-title { font-size: 1rem; }
    .ks-style-card-link { font-size: .85rem; }
}

@media (max-width: 1199px) {
    .cmp-product-thumb .thumb-title {
        font-size: .95rem;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3 !important;
        overflow: hidden;
        min-height: unset !important;
        margin-bottom: 5px;
    }
}

@media (max-width: 991px) {
    .cmp-product-thumb .thumb-content {min-height: 124px;}
    .cmp-product-thumb .categoryItemShortDescription {
        font-size: .85rem !important;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        min-height: unset;
    }
    .cmp-product-thumb {margin-bottom: 25px;}
    .ks-seo-card {padding: 1rem;}
}

@media (max-width: 767.98px) {
    .page-category-item #page-body .categoriegrid .product-list li,
    .page-search #page-body .categoriegrid .product-list li {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

@media (max-width: 767px) {
    .cmp-product-thumb .thumb-title { min-height: 30px !important; }
    .cmp-product-thumb .thumb-meta .availability-preview { text-align: center; }
    .cmp-product-thumb .thumb-meta .prices { justify-content: center; }
    .subline2ShortDescription {
    font-size: .9rem;
    min-height: 28px;
    margin-top: .5rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    }
}

@media (max-width: 390px) {
    .subline2ShortDescription {min-height: 42px;}
}


/* ===========================
   KS - FILTER SIDEBAR
   =========================== */
.ks-filter-wrapper {
    background-color: #f2f2f2;
    border-radius: 15px;
    padding: 1rem 1.5rem;
    border: 1.5px solid #e0e0e0;
    position: sticky;
    top: 15px;
    max-height: calc(100vh - 25px);
    overflow-y: auto;
    margin-bottom: 30px;
    scrollbar-width: none;
}

.ks-filter-wrapper::-webkit-scrollbar {display: none;}

.ks-filter-wrapper .ks-btn-dark {padding: 0.75rem 0.5rem;}

.ks-filter-toggle { display: none; }

@media (max-width: 991px) {
    .ks-stoffmuster-image {padding: 2rem;}
    .ks-filter-wrapper {
        padding: 0;
        border: none;
        background: transparent;
        position: static;
        max-height: none;
        overflow-y: visible;
        margin-bottom: 0;
    }

    .ks-filter-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
        border: 1.5px solid #ed7508;
        border-radius: 0;
        color: #ed7508 !important;
        font-weight: 700;
        font-size: 1rem;
        padding: 0.65rem 1.5rem;
        text-decoration: none !important;
    }

    .ks-toggleOnMobile {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        background-color: #fef9f3;
        border: 1.5px solid #e0e0e0;
        border-top: none;
        border-radius: 0 0 15px 15px;
        padding: 0 1rem;
    }

    .ks-toggleOnMobile.open {
        max-height: 1500px;
        padding: 0 1rem;
    }
}

.ks-filter-header {
    border-bottom: 2px solid #f3e6d9;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.ks-filter-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #010101;
}

.ks-filter-reset {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ed7508;
    text-decoration: none;
    cursor: pointer;
}

.ks-filter-reset:hover {
    text-decoration: underline;
    color: #ed7508;
}

.ks-filter-group-title {
    font-weight: 700;
    font-size: 1rem;
    color: #010101;
    margin-bottom: 0.5rem;
}

/* Filter Checkboxen */
.ks-filter-group .form-check {
    padding-left: 0;
}

.ks-filter-group .form-check-label {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    margin-bottom: 0.5rem;
    transition: border-color 0.2s ease;
}

.ks-filter-group .form-check-label:hover {
    border-color: #ed7508;
}

.ks-filter-group .form-check-input {
    display: none;
}

.ks-filter-group .ks-filter-active {
    border-color: #ed7508;
    background-color: #fff8f3;
}

.ks-filter-group .ks-filter-active .flex-grow-1 {
    color: #ed7508;
    font-weight: 700;
}

/* Beratungsbox */
.ks-filter-contact-box {
    display: none;
    background-color: #1a1a1a;
    border-radius: 15px;
    padding: .5rem 1rem;
}

@media (min-height: 900px) and (min-width: 992px) {
    .ks-filter-contact-box { display: block; }
}

.ks-filter-contact-headline {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.ks-filter-contact-text {
    color: #ed7508;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: .5rem;
}

.ks-filter-contact-link {
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
}

.ks-filter-contact-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* ===========================
   KS - FILTER GRUPPEN
   =========================== */
.ks-filter-wrapper .card-columns {
    column-count: 1 !important;
    display: flex;
    flex-direction: column;
}

.ks-filter-wrapper .card {
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    width: 100% !important;
    margin-bottom: 1.5rem !important;
}

.ks-filter-wrapper .filterHeadline {
    font-weight: 700;
    font-size: 1rem;
    color: #010101;
    margin-bottom: 0.75rem;
    padding: 0 !important;
}

.ks-filter-wrapper .form-check {
    padding-left: 0;
}

.ks-filter-wrapper .form-check-input { display: none; }

.ks-filter-wrapper .form-check-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.75rem;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    margin-bottom: 0.5rem;
    background-color: #fff;
    transition: border-color 0.2s ease;
    color: #010101;
}

.ks-filter-wrapper .form-check-label:hover { border-color: #ed7508; }

.ks-filter-wrapper .form-check-label.bg-appearance {
    border-color: #ed7508 !important;
    background-color: #fff8f3 !important;
    color: #ed7508 !important;
    font-weight: 700;
}

.ks-filter-wrapper .filter-badge { display: none; }
.ks-filter-wrapper .pic { display: none; }

.page-category-item #page-body .selected-filters .selected-filter, 
.page-search #page-body .selected-filters .selected-filter {
    margin-bottom: 1rem;
    border: 1px solid #ed7508;
    padding: 2px 10px;
    border-radius: 15px;
    color: #ed7508;
    font-weight: 700;
}

.ks-filter-wrapper .selected-filters .selected-filter .fa-times {color: #ed7508;}

/* ===========================
   KS - FILTER BOXES (ItemFilter.twig)
   =========================== */
.ks-filter-boxes {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ks-filter-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    background-color: #fff;
    transition: border-color 0.2s ease;
    color: #010101;
    font-size: 1rem;
    text-align: left;
    line-height: 1;
}

.ks-filter-box:hover { border-color: #ed7508; }

.ks-filter-box--active {
    border-color: #ed7508 !important;
    background-color: #fff8f3 !important;
    color: #ed7508 !important;
    font-weight: 700;
}

.ks-filter-box .fa-check { color: #ed7508; }

.ks-filter-box:disabled,
.ks-filter-box.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ===========================
   KS - FILTER PILLS (ItemFilter.twig)
   =========================== */
.ks-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ks-filter-pill {
    padding: 0.5rem .75rem;
    border: 1.5px solid #e0e0e0;
    border-radius: 15px;
    cursor: pointer;
    background-color: #fff;
    color: #010101;
    font-size: 0.9rem;
    transition: border-color 0.2s ease;
    line-height: 1;
}

.ks-filter-pill:hover { border-color: #ed7508; }

.ks-filter-pill--active {
    border-color: #ed7508 !important;
    background-color: #ed7508 !important;
    color: #fff !important;
    font-weight: 700;
}

.ks-filter-pill:disabled,
.ks-filter-pill.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Filter zurücksetzen Button */
.ks-filter-tag-list .ks-filter-reset-all {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1.5px solid #ed7508;
    border-radius: 20px;
    color: #ed7508;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.3rem 0.85rem;
    cursor: pointer;
    margin-bottom: 1rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.ks-filter-tag-list .ks-filter-reset-all:hover {
    background-color: #ed7508;
    color: #fff;
}

.ks-filter-tag-list .ks-filter-reset-all .fa-times {
    font-size: 0.85rem;
}

.ks-stoffmuster-contact-link {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
}

.ks-stoffmuster-contact-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* ===========================
   KS - PRODUKTKACHEL HOMEPAGE RESPONSIVE
   =========================== */
@media (max-width: 1199px) {
    .fs-homepage .cmp-product-thumb .thumb-title {
        font-size: .95rem;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3 !important;
        overflow: hidden;
        min-height: unset !important;
        margin-bottom: 5px;
    }
}

@media (max-width: 991px) {
    .fs-homepage .cmp-product-thumb .thumb-content { min-height: 124px; }
    .fs-homepage .cmp-product-thumb .categoryItemShortDescription {
        font-size: .85rem !important;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        min-height: unset;
    }
    .fs-homepage .cmp-product-thumb { margin-bottom: 25px; }
}

@media (max-width: 767px) {
    .fs-homepage .cmp-product-thumb .thumb-title { min-height: 44px !important; }
    .fs-homepage .cmp-product-thumb .thumb-meta .availability-preview { text-align: center; }
    .fs-homepage .cmp-product-thumb .thumb-meta .prices { justify-content: center; }
    .fs-homepage .subline2ShortDescription {
        font-size: .9rem;
        min-height: 28px;
        margin-top: .5rem;
        margin-bottom: .5rem;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }
}

/* ===========================
   KS - MOBILE NAVIGATION
   =========================== */
.mobile-navigation {
    box-shadow: 0 0 6px 5px rgb(0 0 0 / 25%);
    background: #fff;
}

.mobile-navigation.open {
    opacity: 1;
    transform: translateX(0);
    max-width: 430px;
    overflow-y: auto;
}

body.menu-is-visible {
    position: relative;
    overflow-y: hidden;
}

.mobile-navigation .breadcrumb {
    display: inline-block !important;
    width: 100%;
    line-height: .7;
    letter-spacing: 0.02em;
    font-size: .8em;
    background: #ed7508;
    padding: .2rem 1rem .2rem .2rem !important;
    margin-bottom: 0;
}

.mobile-navigation .breadcrumb li.btn-close {
    padding-top: 1.3em;
}

.mobile-navigation.open .fa.fa-home {
    color: #fff;
    font-size: 20px;
    padding-left: 10px;
}

.mobile-navigation .card {
    min-height: 40px;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #e0e0e0 !important;
    border-radius: 0 !important;
}

.mobileMenuLevelOne,
.mobileMenuLevelTwo {
    display: flex;
    align-items: center;
    padding: 0 1.2rem;
    min-height: 40px;
}

.mobileMenuLevelOne a,
.mobileMenuLevelTwo a {
    flex: 1 0 80%;
    color: #010101;
    text-decoration: none;
}

.mobileMenuLevelOne a:hover,
.mobileMenuLevelTwo a:hover {
    color: #ed7508;
    text-decoration: none;
}

.mobileMenuHomeButton {
    height: 100%;
    display: inline-block;
}

/* Suche im Mobile-Menu */
.mobile-navigation.open .d-flex.flex-grow-1.position-relative {
    margin-top: .5rem;
    margin-bottom: .5rem;
}

.mobile-navigation.open .search-input {
    font-size: 1rem;
    line-height: 1.6;
    border: 1px solid #e5e5e5;
    padding-top: .5rem;
    padding-bottom: .5rem;
    box-shadow: inset 0 2px 3px rgba(0, 0, 0, .1);
}

/* Autosuggest */
.autocomplete-suggestions {
    position: absolute;
    z-index: 1070;
    max-height: 300px;
}

.autocomplete-suggestions .text-truncate {
    font-size: .9rem;
}

@media (max-width: 991px) {
    .autocomplete-suggestions {
        position: absolute !important;
    }
}

/* ===========================
   KS - MOBILE MENU BANNER
   =========================== */
.ks-mobile-menu-banner {
    display: block;
    margin: 1.5rem 1rem;
    border-radius: 15px;
    overflow: hidden;
    background-color: #1a1a1a;
}

.ks-mobile-menu-banner-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.ks-mobile-menu-banner-body {
    padding: 1rem;
}

.ks-mobile-menu-banner-label {
    color: #ed7508;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.ks-mobile-menu-banner-headline {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.ks-mobile-menu-banner-text {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.ks-mobile-menu-contact-link {
    display: block;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 0.3rem 0;
}

.ks-mobile-menu-contact-link:hover {
    color: #ed7508;
    text-decoration: none;
}