.tax-product_cat .storefront-breadcrumb {
    margin-bottom: 0;
}

.l-category__hero {
    padding: 0;
}

.l-category__header {
}

.l-category__title {
    color: var(--primary);
    font-weight: 500;
    font-size: var(--h2);
    margin-bottom: var(--space-m);
}

.l-category__description p {
    font-size: var(--text-m);
    line-height: 1.38;
    color: var(--primary);
    letter-spacing: .18px;
    margin-bottom: var(--space-m);
}

.l-category__more-btn,
.l-category__more-btn:hover {
    background-color: var(--primary);
    color: #fff;
    border-radius: 2em !important;
    transition: .3s;
    font-size: 1em;
    font-size: 14px;
    line-height: 1.618;
    border: 0;
    cursor: pointer;
    padding: .6180469716em 1.41575em;
    text-decoration: none;
    font-weight: 600;
    text-shadow: none;
    display: inline-block;
    -webkit-appearance: none;
    margin-bottom: var(--space-m);
}

.archive .l-category__more-btn:hover {
    opacity: .8;
    color: #FFF !important;
}

.l-category__image {
    max-width: 1200px;
    margin-top: var(--space-m) !important;
    margin-bottom: calc(var(--space-m) * 4) !important;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    display: flex;
}

.l-category__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex: 1;
}

.l-category__pregrid {
    max-width: 1200px;
    margin: 1.5rem auto;
}

.l-category__pregrid-title {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: .24px;
    font-size: var(--h3);
    margin-bottom: calc(var(--space-m) * 2) !important;
}

.l-category__seo {
    max-width: 1200px;
    margin: 3rem auto;
    clear: both;
}

.l-seo-block {
    margin-top: var(--space-m);
    background-color: #F7F8F9;
    padding: 1.5em;
    border-radius: 3px;
}

.l-seo-block__title {
    margin-bottom: var(--space-m) !important;
    font-size: var(--h2);
    line-height: 1.136;
    font-weight: 600;
}

.l-seo-block__text {
    font-size: 18px;
    line-height: 1.38;
    margin: .75rem 0 1rem;
}

.l-seo-block__text a {
    text-decoration: underline;
}

.l-seo-block__text a:hover {
    text-decoration: none;
}

.l-seo-block__cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    gap: 4rem 2.75rem;
}

.l-seo-block__col-title {
    font-size: var(--h4);
    font-weight: 600 !important;
    line-height: 1.136;
    margin: 0 0 .5rem;
}

.l-seo-block__col-text {
    font-size: var(--text-m);
    line-height: 1.38;
}

.l-seo-block__col-text p {
    margin-bottom: calc(var(--space-m) * .9);
}

.l-category li.product .woocommerce-loop-product_title {
    font-weight: 600;
}

.l-category li.product .price {
    font-size: calc(var(--text-m) * .9);
}


/*
.l-category ul.products.products--subcats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}
*/

.l-category ul.products.products--subcats::before,
.l-category ul.products.products--subcats::after {
    display: none;
}

.l-category ul.products.products--subcats li.product {
    all: unset !important;
}


@media (max-width: 900px) {
    .l-seo-block__cols {
        grid-template-columns: 1fr;
    }
}


/* Grid-Hülle (Woo gibt <ul class="products ..."> aus) */
.l-category .content-area {
    margin-bottom: 0 !important;
}


.l-category ul.products.products--subcats {
    --gap: 0.5rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap);
}

@media (max-width: 1100px) {
    .l-category ul.products.products--subcats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 800px) {
    .l-category ul.products.products--subcats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .l-category ul.products.products--subcats {
        grid-template-columns: 1fr;
    }
}

/* Karte */
.l-category .subcat-card {
    list-style: none;
}

.l-category .subcat-card__link {
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    text-decoration: none;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    position: relative;
}

.l-category .subcat-card__link:hover {
    transform: scale(1.05);
    box-shadow: rgba(255, 255, 255, 0.65) 0 0 20px;
    z-index: 15;
}

/* Media: KEIN Crop — Bild soll vollständig sichtbar sein */
.l-category .subcat-card__media {
    background: #f6f6f6;
    display: grid;
    place-items: center;
    min-height: 220px; /* ruhige Höhe, aber ohne Zwang zum Cropping */
}

.l-category .subcat-card__img {
    max-width: 100%;
    height: auto; /* wichtig: behält Seitenverhältnis */
    object-fit: contain; /* falls Browser doch skaliert */
    display: block;
    border-radius: 0;
    margin: 0 !important;
}

.l-category .subcat-card__img--placeholder {
    opacity: .6;
}

/* Body */
.l-category .subcat-card__body {
    background: rgba(255, 255, 255, 0.65);
    padding: 12px 12px 10px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 1;
    z-index: 10;
}

.l-category .subcat-card__title {
    color: #000;
    display: block;
    font-size: 20px;
    font-weight: 400;
    margin: 0;
    text-align: center;
    text-transform: uppercase;
}


/* YOAST SEO Breadcrumb Style */
.woo-breadcrumbs {
    font-size: .875em;
}

.woo-breadcrumbs a {
    color: #3e1b40;
    text-decoration: underline;
}

.woo-breadcrumbs a:hover {
    text-decoration: none;
}

/*home*/
.woo-breadcrumbs span span:first-of-type::before {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    line-height: inherit;
    vertical-align: baseline;
    content: "";
    margin-right: .5407911001em;
}

/*sep*/
.woo-breadcrumbs .breadcrumb-separator {
    display: inline-block;
    padding: 0 .5407911001em;
    text-indent: -9999px;
    position: relative;
}

.woo-breadcrumbs .breadcrumb-separator::after {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-style: normal;
    font-variant: normal;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: baseline;
    content: "";
    display: block;
    font-size: .875em;
    text-indent: 0;
    line-height: initial;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1em;
    height: 1em;
    transform: translateX(-50%) translateY(-50%);
    text-align: center;
    opacity: .25;
}