.estimated-delivery {
    display: none;
}

.blog-details-content a {
    color: #50bbb3;
}

.blog-details-content a:hover {
    text-decoration: underline;
}

body{
    font-size: 16px;
    overflow-x: clip;
}

.container-fluid-xl {
    max-width: 1250px;
}

.btn-primary{
    background-color: #469f98;
    color: #50bbb3;
    &:hover{
        background-color: #50bbb3;
        color: #469F98;
    }
}

#mehrLesen{
    padding-top: 206px;
    margin-top: -206px;
}

#crmWebToEntityForm{
    *{
        font-family: "Roboto Condensed", "Roboto", sans-serif;
        color: rgb(51, 51, 51);
        &:not(.h2){
            font-size: 16px;
        }
    }
}

.zcwf_lblLeft .zcwf_col_fld input[type="text"],
.zcwf_lblLeft .zcwf_col_fld textarea{
    width: 100% !important;
}

#mainNavigation .navbar-nav > .nav-item:hover > .nav-link,
#mainNavigation .navbar-nav > .nav-item.active > .nav-link {
    background-color: #469f98;
    transition: background-color 200ms ease-in-out;
}

@media{
#shop-nav{
        flex-shrink: unset;
    }

    #shop-logo{
        height: 6.1875rem;
    }
}

.desc-append{
    a{
        color: var(--primary);
        &:hover{
            text-decoration: underline;
        }
    }
}

.productlist-page-nav{
    display: none;
}

/* Mobil/Tablet bis 991.98 px: Logo kompakter, Header bleibt sauber */
@media (max-width: 991.98px) {
    #shop-logo {
        height: 5rem !important;
        width: auto !important;
    }

    .toggler-logo-wrapper {
        margin-bottom: 10px;
    }

    #shop-nav {
        padding-bottom: 10px !important;
    }
}

/* Unterkategorien: Bild, Titel und Beschreibung wieder kompakt zusammenhalten */
.content-cats-small .sub-categories > a {
    min-height: 0 !important;
}

.content-cats-small .sub-categories .caption a {
    min-height: 0 !important;
}

/* Produktübersicht: Karten mit sichtbarem Abstand */
#product-list.layout-gallery > .product-wrapper {
    padding-left: 8px;
    padding-right: 8px;
    padding-bottom: 4px;
    margin-bottom: 10px;
}

#product-list.layout-gallery .productbox {
    width: 100%;
    height: auto;
    min-height: 100%;
    padding: 14px;
    border: 0;
    border-radius: 4px;
    background: #fff;
    box-shadow: inset 0 0 0 1px #e6e6e6;
    transition: box-shadow .2s ease, border-color .2s ease;
}

#product-list.layout-gallery .productbox:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    border-color: #d5d5d5;
}

/* Nur Titel optisch ordnen */
#product-list.layout-gallery .productbox-title {
    min-height: 3.2rem;
    margin-top: 4px;
    margin-bottom: 6px;
    text-align: center;
    line-height: 1.35;
}

#product-list.layout-gallery .productbox-title a {
    display: block;
}

@media (max-width: 991.98px) {
    #product-list.layout-gallery > .product-wrapper {
        padding-left: 6px;
        padding-right: 6px;
        margin-bottom: 8px;
    }

    #product-list.layout-gallery .productbox {
        padding: 10px;
    }
}

/* Kartenhöhe vom tatsächlichen Inhalt bestimmen lassen */
#product-list.layout-gallery .productbox-inner,
#product-list.layout-gallery .productbox-inner > .row {
    height: auto !important;
    min-height: 0 !important;
}

/* Vertikaler Abstand zwischen den Kartenreihen */
#product-list.layout-gallery {
    row-gap: 10px;
}

/* Produkttitel und Beschreibung sauber trennen */
#product-list.layout-gallery .productbox-title > a {
    color: #333 !important;
    font-size: 1rem;
    font-weight: 400 !important;
}

#product-list.layout-gallery .productbox-title .productbox-manufacturer {
    color: #469F98 !important;
    font-size: 1.05rem;
    font-weight: 600 !important;
}

/* Feinschliff: etwas mehr Luft innerhalb der Produktbeschriftung */
#product-list.layout-gallery .productbox-title {
    margin-top: 8px;
}

#product-list.layout-gallery .productbox-title .productbox-manufacturer {
    display: block;
    margin-bottom: 4px;
}

/* Produktbeschreibung etwas dunkler, Gewicht bleibt normal */
#product-list.layout-gallery .productbox-title > a {
    color: #444 !important;
    font-weight: 400 !important;
}

/* =========================================================
   OBERE KATEGORIEEBENE – SAUBERER NEUAUFBAU
   Ein Kartenmodell, keine Doppelrahmen, keine Pseudo-Rahmen
   ========================================================= */

.content-cats-small {
    margin-top: 1.25rem;
    margin-bottom: 2rem;
    margin-left: -8px;
    margin-right: -8px;
    row-gap: 18px;
}

.content-cats-small > div {
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 0 !important;
    display: flex;
}

.content-cats-small .sub-categories {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 12px 12px 14px;
    border: 0 !important;
    outline: 1px solid #e6e6e6;
    outline-offset: -1px;
    border-radius: 4px;
    background: #fff;
    box-shadow: none !important;
    overflow: visible !important;
    transition: box-shadow .2s ease, outline-color .2s ease;
    z-index: 0;
}

.content-cats-small .sub-categories:hover {
    outline-color: #d5d5d5;
    box-shadow: 0 4px 12px rgba(0,0,0,.07) !important;
    z-index: 2;
}

/* Eventuelle Alt-/Pseudo-Rahmen sicher deaktivieren */
.content-cats-small .sub-categories::before,
.content-cats-small .sub-categories::after {
    content: none !important;
    display: none !important;
}

/* Bildbereich */
.content-cats-small .sub-categories > a:first-child {
    display: block;
    min-height: 0 !important;
}

.content-cats-small .subcategories-image {
    height: 210px;
    margin: 0 0 8px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.content-cats-small .subcategories-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Titel-Link */
.content-cats-small .sub-categories > a:has(.caption) {
    display: block;
    min-height: 0 !important;
    margin: 0 0 8px 0 !important;
    text-decoration: none !important;
}

/* Titel selbst */
.content-cats-small .sub-categories .caption.btn.btn-outline-primary {
    display: block;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: #469F98 !important;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
}

/* Beschreibung */
.content-cats-small .sub-categories .item_desc {
    margin: 0 !important;
    color: #3f3f3f !important;
    font-size: 1rem;
    font-weight: 500 !important;
    line-height: 1.45;
    text-align: center;
}

/* Falls alte globale Link-Mindesthöhen noch greifen */
.content-cats-small .sub-categories a {
    min-height: 0 !important;
}

@media (max-width: 991.98px) {
    .content-cats-small {
        margin-top: 1rem;
        row-gap: 12px;
    }

    .content-cats-small > div {
        padding-left: 6px;
        padding-right: 6px;
    }

    .content-cats-small .subcategories-image {
        height: 185px;
    }
}

/* =========================================================
   RESPONSIVE FIX FÜR KATEGORIEKARTEN
   Problemzone: Tablet / schmale Breiten
   Bootstrap-Spalten werden hier durch ein sauberes Grid ersetzt.
   Desktop ab 992 px bleibt unverändert.
   ========================================================= */
@media (max-width: 991.98px) {
    .content-cats-small {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .content-cats-small > div {
        display: block !important;
        width: auto !important;
        max-width: none !important;
        flex: none !important;
        padding: 0 !important;
        margin: 0 !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .content-cats-small .sub-categories {
        width: 100%;
        height: auto !important;
        min-height: 100%;
        padding: 12px 12px 14px;
        overflow: visible !important;
    }

    .content-cats-small .subcategories-image {
        height: 180px !important;
    }

    .content-cats-small .sub-categories .item_desc {
        overflow: visible !important;
        max-height: none !important;
    }
}

/* Zwei Spalten auf schmaleren Tablets / großen Smartphones */
@media (max-width: 767.98px) {
    .content-cats-small {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px !important;
    }

    .content-cats-small .subcategories-image {
        height: 165px !important;
    }
}

/* Eine Spalte auf sehr schmalen Smartphones */
@media (max-width: 479.98px) {
    .content-cats-small {
        grid-template-columns: 1fr;
        gap: 12px !important;
    }

    .content-cats-small .subcategories-image {
        height: 180px !important;
    }
}

/* Tablet/Mobil: NOVA-Flex-Streckung vollständig neutralisieren */
@media (max-width: 991.98px) {
    .content-cats-small .sub-categories {
        height: auto !important;
        min-height: 0 !important;
        flex-grow: 0 !important;
        flex-basis: auto !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
    }
}

/* =========================================================
   FOOTER – HELLE AGG-VARIANTE
   ========================================================= */
#footer {
    background-color: #F2F3F3 !important;
    color: #333333 !important;
    border-top: 1px solid #D9DDDD;
}

/* Überschriften */
#footer .card .card-title,
#footer .productlist-filter-headline,
#footer .newsletter-footer-heading {
    color: #333333 !important;
}

/* Normale Texte */
#footer,
#footer p,
#footer li,
#footer .list-group-item {
    color: #333333 !important;
}

/* Links */
#footer a:not(.btn) {
    color: #469F98 !important;
    text-decoration: none;
}

#footer a:not(.btn):hover {
    color: #3D8A84 !important;
    text-decoration: underline;
}

/* Social Icons */
#footer .footer-social-media a {
    color: #469F98 !important;
}

#footer .footer-social-media a:hover {
    color: #3D8A84 !important;
}

/* Copyright-Bereich ebenfalls hell */
#footer #copyright {
    background-color: #E7EAEA !important;
    color: #333333 !important;
    border-top: 1px solid #D9DDDD;
}

#footer #copyright a {
    color: #469F98 !important;
}

/* Karten/Listen transparent lassen */
#footer-boxes .card,
#footer .list-group-item {
    background: transparent !important;
}

/* =========================================================
   FOOTER – KOMPAKTER UND BESSER AUSGEWOGEN
   ========================================================= */

/* Weniger Luft nach oben */
#footer {
    padding-top: 2.5rem !important;
}

/* Footer-Inhalt nicht unnötig über die ganze Breite ziehen */
#footer #footer-boxes {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

/* Boxen etwas enger zusammenhalten */
#footer #footer-boxes .box-normal,
#footer #footer-boxes .card {
    margin-bottom: 1rem;
}

/* Social Icons näher an den restlichen Inhalt */
#footer .footer-social-media {
    margin-top: 1rem !important;
    margin-bottom: 0.75rem;
}

/* Copyright etwas kompakter */
#footer #copyright {
    margin-top: 0.75rem;
}

#footer #copyright > div {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* =========================================================
   FOOTER – AGG BRAND-BLOCK
   ========================================================= */

.footer-agg-brand { margin-bottom: 2rem; }

.footer-agg-logo-link {
    display: inline-block;
    text-decoration: none !important;
}

.footer-agg-logo {
    display: block;
    width: 110px;
    height: auto;
    margin: 0 0 0.45rem 0;
}

.footer-agg-claim {
    margin: 0;
    color: #333333;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
}

.footer-agg-contact { margin-top: 1.75rem; }

.footer-agg-contact-title {
    margin-bottom: 0.35rem;
    color: #333333;
    font-size: 1rem;
    font-weight: 600;
}

.footer-agg-contact p { margin: 0 0 0.25rem 0; }

.footer-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #469F98 !important;
    text-decoration: none !important;
}

.footer-phone-link:hover {
    color: #3D8A84 !important;
    text-decoration: none !important;
}

.footer-phone-icon {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    display: block;
}

@media (max-width: 767.98px) {
    #footer-boxes > div:first-child .collapse {
        display: block !important;
        height: auto !important;
        visibility: visible !important;
    }

    #footer-boxes > div:first-child [data-toggle="collapse"]::after {
        display: none !important;
    }

    #footer-boxes > div:first-child [data-toggle="collapse"] {
        pointer-events: none;
    }

    .footer-agg-brand { margin-bottom: 1.5rem; }
    .footer-agg-logo { width: 105px; }
    .footer-agg-contact { margin-top: 1.25rem; }
}

