/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* Footer immer am unteren Rand */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
#wrapper {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}
#main {
    flex: 1 0 auto;
}

/* Critical CSS: Concept Store Katalog (alle Bildschirmgrößen). */
    body.tax-product_cat {
        --ps-concept-mobile-gutter: 14px;
    }

    /* Breadcrumb-Bereich kompakt */
    body.tax-product_cat .category-page-title {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    body.tax-product_cat .category-page-title .page-title-inner {
        height: auto !important;
        min-height: 0 !important;
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }

    body.tax-product_cat .category-page-title .page-title-inner > .flex-col {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    body.tax-product_cat .woocommerce-breadcrumb {
        font-size: 10px;
        line-height: 1.4;
        letter-spacing: .02em;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.tax-product_cat .category-page-title .category-filtering.category-filter-row {
        display: none !important;
    }

    /* Alle möglichen Abstände zwischen Breadcrumb und Topbar entfernen */
    body.tax-product_cat .category-page-title,
    body.tax-product_cat .woocommerce-products-header,
    body.tax-product_cat .page-wrapper > .row:first-child,
    body.tax-product_cat #main > .row:first-child,
    body.tax-product_cat .shop-container,
    body.tax-product_cat .container > .row:first-child,
    body.tax-product_cat .woocommerce-archive-description,
    body.tax-product_cat .term-description {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* WooCommerce Zwischenelemente auf Produktlistenseiten entfernen */
    body.tax-product_cat .woocommerce-notices-wrapper,
    body.tax-product_cat .woocommerce-result-count,
    body.tax-product_cat .woocommerce-ordering {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        display: none !important;
    }

    /* Flatsome col.large-12 Padding entfernen — sonst 15px extra links/rechts */
    body.tax-product_cat .col.large-12 {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Topbar: Kategorieseiten kein Abstand oben (kommt nach Breadcrumb) */
    body.tax-product_cat .ps-concept-mobile-topbar {
        margin-top: 0 !important;
    }

    /* Topbar: Einzelproduktseite — etwas Luft zum Header */
    body.single-product {
        --ps-concept-mobile-gutter: 14px;
    }
    body.single-product .ps-concept-mobile-topbar {
        margin: 10px var(--ps-concept-mobile-gutter) 0 !important;
    }

    /* Abstand zwischen Topbar und Produktinhalt minimieren */
    body.single-product #main,
    body.single-product #main > .page-wrapper,
    body.single-product #main > .page-wrapper > *,
    body.single-product #main .section,
    body.single-product #main section,
    body.single-product #main .row,
    body.single-product .shop-container,
    body.single-product .woocommerce-notices-wrapper,
    body.single-product .woocommerce > .product,
    body.single-product #main .product,
    body.single-product .section-wrapper,
    body.single-product .container,
    body.single-product .flex-row,
    body.single-product .woocommerce-product-gallery {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    /* Flatsome section padding entfernen */
    body.single-product section.section {
        padding-top: 0 !important;
    }
    body.single-product section.section > .section-inner {
        padding-top: 0 !important;
    }
    /* div.product-main hat 40px padding-top — entfernen */
    body.single-product div.product-main {
        padding-top: 8px !important;
    }

    /* Flatsome Zeilen-Abstände reduzieren */
    body.tax-product_cat .page-wrapper .section,
    body.tax-product_cat .page-wrapper .row {
        margin-top: 0 !important;
    }

    body.tax-product_cat .ps-concept-mobile-topbar {
        display: flex;
        align-items: center;
        gap: 8px;
        height: 42px;
        margin: 6px var(--ps-concept-mobile-gutter) 0;
        padding: 0 28px 0 12px;
        border: 1px solid rgba(47,64,88,.12);
        border-radius: 0;
        background: #fff;
    }

    body.tax-product_cat .ps-concept-mobile-topbar__spacer {
        flex: 1 1 auto;
    }

    body.tax-product_cat .ps-concept-mobile-topbar__menu,
    body.tax-product_cat .ps-concept-mobile-topbar__search,
    body.tax-product_cat .ps-concept-mobile-topbar__cart {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 26px;
        height: 26px;
        margin: 8px 0;
        padding: 0;
        border: 0;
        background: transparent;
        color: #2f4058;
        text-decoration: none;
        box-shadow: none;
        cursor: pointer;
        -webkit-appearance: none;
        appearance: none;
        flex-shrink: 0;
    }

    body.tax-product_cat .ps-concept-mobile-topbar__menu {
        flex-direction: column;
        gap: 3px !important;
        transform: translateX(-4px);
    }

    body.tax-product_cat .ps-concept-mobile-topbar__menu span {
        display: block;
        width: 18px;
        height: 1.5px;
        margin: 0 !important;
        background: rgba(47,64,88,.58);
    }

    body.tax-product_cat .ps-concept-mobile-topbar__search svg {
        display: block;
        width: 15px;
        height: 15px;
        pointer-events: none;
    }

    /* Suchformular */
    body.tax-product_cat .ps-concept-mobile-topbar__searchform {
        display: none;
        flex: 1 1 auto;
        margin: 0 4px 0 8px;
    }
    body.tax-product_cat .ps-concept-mobile-topbar__searchform.is-open {
        display: flex;
        align-items: center;
    }
    body.tax-product_cat .ps-concept-mobile-topbar__searchinput {
        width: 100%;
        height: 30px;
        margin-top: 6px;
        margin-bottom: 6px;
        padding: 0 8px;
        font-size: 13px;
        border: 1px solid #d0d0d0;
        border-radius: 3px;
        background: #fafafa;
        color: #1a1a1a;
        outline: none;
        box-shadow: none;
        box-sizing: border-box;
        -webkit-appearance: none;
    }
    body.tax-product_cat .ps-concept-mobile-topbar.search-open .ps-concept-mobile-topbar__spacer {
        display: none !important;
    }

    body.tax-product_cat .ps-concept-mobile-topbar__bag {
        position: relative;
        width: 13px;
        height: 14px;
        border: 1.6px solid #2f4058;
        border-radius: 2px 2px 3px 3px;
        background: transparent;
    }

    body.tax-product_cat .ps-concept-mobile-topbar__bag::before {
        content: "";
        position: absolute;
        top: -6px;
        left: 50%;
        width: 7px;
        height: 7px;
        border: 1.6px solid #2f4058;
        border-bottom: 0;
        border-radius: 8px 8px 0 0;
        transform: translateX(-50%);
    }

    body.tax-product_cat .ps-concept-mobile-topbar__count {
        position: absolute;
        top: 2px;
        right: -14px;
        min-width: 17px;
        height: 17px;
        padding: 0 4px;
        border-radius: 999px;
        background: #5f6168;
        color: #fff;
        font-size: 9px;
        font-weight: 700;
        line-height: 17px;
        text-align: center;
    }

    body.tax-product_cat .ps-concept-brand-catalog {
        margin: var(--ps-concept-mobile-gutter) 0 18px;
        padding-right: var(--ps-concept-mobile-gutter);
        padding-left: var(--ps-concept-mobile-gutter);
    }

    body.tax-product_cat .ps-concept-brand-catalog__grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 10px;
    }
    @media (min-width: 550px) {
        body.tax-product_cat .ps-concept-brand-catalog__grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }
    }
    @media (min-width: 960px) {
        body.tax-product_cat .ps-concept-brand-catalog__grid {
            grid-template-columns: repeat(4, minmax(0, 1fr));
        }
    }

    body.tax-product_cat .ps-concept-brand-catalog__item {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        min-height: 40px;
        padding: 8px 10px;
        border: 1px solid rgba(31,27,23,.10);
        border-radius: 3px;
        background: #fff;
        color: #2f4058;
        text-align: left;
        text-decoration: none;
    }

    body.tax-product_cat .ps-concept-brand-catalog__name {
        flex: 1 1 auto;
        font-size: .78rem;
        font-weight: 400;
        line-height: 1.25;
        text-align: left;
    }

    body.tax-product_cat .ps-concept-brand-catalog__count {
        flex: 0 0 auto;
        margin-left: 8px;
        color: rgba(47,64,88,.45);
        font-size: .72rem;
        text-align: right;
    }

/* ── Concept Store: 2-Spalten Produkt-Grid (Leaf-Kategorieseiten) ── */
body.tax-product_cat ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin: var(--ps-concept-mobile-gutter) var(--ps-concept-mobile-gutter) 24px !important;
    padding: 0 !important;
    list-style: none !important;
}

@media (min-width: 550px) {
    body.tax-product_cat ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

/* Produkt-Karte */
body.tax-product_cat ul.products li.product {
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(31,27,23,.10) !important;
    border-radius: 3px !important;
    overflow: hidden !important;
    background: #fff !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Produkt-Link: volle Höhe */
body.tax-product_cat ul.products li.product .woocommerce-loop-product__link {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    text-decoration: none !important;
}

/* Produktbild: quadratisch, volle Breite */
body.tax-product_cat ul.products li.product img {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
}

/* Produktname */
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    padding: 6px 8px 2px !important;
    margin: 0 !important;
    color: #2f4058 !important;
}

/* Preis */
body.tax-product_cat ul.products li.product .price {
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 2px 8px 8px !important;
    margin: 0 !important;
    color: #2f4058 !important;
    display: block !important;
}

/* Warenkorb-Button & Quantity-Controls ausblenden */
body.tax-product_cat ul.products li.product .add_to_cart_button,
body.tax-product_cat ul.products li.product .button,
body.tax-product_cat ul.products li.product form.cart,
body.tax-product_cat ul.products li.product .quantity {
    display: none !important;
}

/* Wishlist-Herz-Button: klein & oben rechts */
body.tax-product_cat ul.products li.product .yith-wcwl-add-to-wishlist {
    position: absolute !important;
    top: 4px !important;
    right: 4px !important;
    z-index: 2 !important;
}

/* ═══════════════════════════════════════════════════════════════
   🎨 PS STORE – ALLE FARBEN HIER EINSTELLEN
   Ändere die Werte rechts nach deinem Wunsch.
   Hex-Farben z.B. #ff0000 = Rot, #000000 = Schwarz, #ffffff = Weiß
   rgba(0,0,0,0.5) = Schwarz mit 50% Transparenz
   ═══════════════════════════════════════════════════════════════ */
:root {
    /* ── Speisekarte Gerichte-Karten ── */
    --ps-sk-bg:          #000000;   /* Hintergrund jeder Gerichtkarte */
    --ps-sk-bg-hover:    #111111;   /* Hintergrund wenn Maus drüber */
    --ps-sk-linie:       #111111;   /* Linie zwischen den Karten */
    --ps-sk-titel:       #eeeeee;   /* Farbe des Gerichtnamens */
    --ps-sk-beschr:      #777777;   /* Farbe der Beschreibung */
    --ps-sk-preis:       #eeeeee;   /* Farbe des Preises */
    --ps-sk-gold:        #c9a96e;   /* Gold – für Badges & Akzente */
    --ps-sk-kat-farbe:   #c9a96e;   /* Farbe der Kategorie-Überschrift */

    /* ── Hero Hintergrundbild ── */
    --ps-hero-overlay:   rgba(0,0,0,0.42); /* Dunkelheit über dem Bild – 0=hell, 1=schwarz */
}


/* ═══════════════════════════════════════════════════════════════
   🏠 HAUPTSEITE & RESTAURANT – HEADER TRANSPARENT
   Der Header schwebt über dem Slider/Hintergrundbild.
   Seite 527 = Hauptseite, Seite 17215 = Restaurant
   ═══════════════════════════════════════════════════════════════ */

body.home .header-wrapper,
body.page-id-527 .header-wrapper,
body.page-id-17215 .header-wrapper {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: transparent !important;
}

body.home .header,
body.page-id-527 .header,
body.page-id-17215 .header {
    background: transparent !important;
    box-shadow: none !important;
}

/* Beim Scrollen wird Header dunkel */
body.home .header-wrapper.stuck,
body.page-id-527 .header-wrapper.stuck,
body.page-id-17215 .header-wrapper.stuck {
    background: rgba(17,17,17,0.95) !important;
    backdrop-filter: blur(6px);
}

/* Logo wird weiß wenn Header transparent ist */
body.home .header-wrapper:not(.stuck) .logo img,
body.page-id-527 .header-wrapper:not(.stuck) .logo img,
body.page-id-17215 .header-wrapper:not(.stuck) .logo img {
    filter: brightness(0) invert(1);
}

/* Navigations-Links weiß wenn Header transparent */
body.home .header-wrapper:not(.stuck) .nav > li > a,
body.page-id-527 .header-wrapper:not(.stuck) .nav > li > a,
body.page-id-17215 .header-wrapper:not(.stuck) .nav > li > a {
    color: rgba(255,255,255,0.85) !important;
}

body.home .header-wrapper:not(.stuck) .nav > li > a:hover,
body.page-id-527 .header-wrapper:not(.stuck) .nav > li > a:hover,
body.page-id-17215 .header-wrapper:not(.stuck) .nav > li > a:hover {
    color: #fff !important;
}


/* ═══════════════════════════════════════════════════════════════
   🏠 HAUPTSEITE – SPEZIELLE EINSTELLUNGEN
   ═══════════════════════════════════════════════════════════════ */

/* Top-Bar (Über uns / Kontakt) auf Hauptseite ausblenden */
body.home .top-bar,
body.page-id-527 .top-bar {
    display: none;
}

/* Navigation auf Hauptseite ausblenden – nur Logo sichtbar */
body.home .header-nav,
body.page-id-527 .header-nav,
body.home .nav-wrap,
body.page-id-527 .nav-wrap {
    display: none !important;
}

/* Slider startet ganz oben ohne Abstand */
body.home #main,
body.page-id-527 #main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}


/* ═══════════════════════════════════════════════════════════════
   🍽️ RESTAURANT-SEITE – SPEZIELLE EINSTELLUNGEN
   ═══════════════════════════════════════════════════════════════ */

/* Hintergrundfarbe der Restaurant-Seite */
body.page-id-17215 #main {
    background: #000;
}


/* ═══════════════════════════════════════════════════════════════
   📋 SPEISEKARTE DROPDOWN-NAVIGATION
   Die dunkle Leiste unter dem Hero mit Hover-Dropdown
   ═══════════════════════════════════════════════════════════════ */

.ps-drop-nav-wrap {
    display: flex;
    justify-content: center;
    background: transparent;
}

.ps-drop-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    background: transparent;
}

/* Hauptmenü-Punkte */
.ps-drop-nav > li { position: relative; }

.ps-drop-nav > li > a {
    display: inline-block;
    padding: 18px 26px;
    color: #aaa;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color .25s, border-color .25s;
    white-space: nowrap;
    cursor: pointer;
}

/* Hover & Aktiv: weiß mit Gold-Unterstrich */
.ps-drop-nav > li:hover > a,
.ps-drop-nav > li > a:hover {
    color: #fff;
    border-bottom-color: #c9a96e;
    text-decoration: none;
}

/* Dropdown-Bereich (öffnet nach unten) */
.nav .ps-drop-nav .sub-menu,
.ps-drop-nav .sub-menu,
.ps-drop-nav li ul,
.ps-drop-nav li ul.sub-menu {
    display: none;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: rgba(0,0,0,0.85) !important;
    background-color: rgba(0,0,0,0.85) !important;
    border-top: 2px solid #c9a96e !important;
    min-width: 200px;
    list-style: none;
    margin: 0;
    padding: 8px 0;
    z-index: 500;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* Dropdown öffnet beim Hover */
.ps-drop-nav li:hover > .sub-menu { display: block; }

/* Links im Dropdown */
.ps-drop-nav .sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: #bbb;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color .2s, padding-left .2s;
}

/* Hover im Dropdown: Gold + einrücken */
.ps-drop-nav .sub-menu li a:hover {
    color: #c9a96e;
    padding-left: 26px;
    text-decoration: none;
}

/* Hand-Zeiger für alle Navigations-Links */
.nav a,
.ps-drop-nav a,
.ps-drop-nav .sub-menu a,
.ps-rnav__item,
.ps-rsk__cat-btn {
    cursor: pointer;
}


/* ═══════════════════════════════════════════════════════════════
   🖼️ RESTAURANT HERO – VOLLBILD HINTERGRUNDBILD
   3 Bilder die sanft ineinander überblenden (wie Sono)
   ═══════════════════════════════════════════════════════════════ */

/* Äußerer Rahmen – volle Bildschirmhöhe */
.ps-hero-wrap {
    position: relative;
    width: 100%;
    height: 100vh;       /* 100vh = volle Bildschirmhöhe */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ps-hero-bg {
    position: absolute;
    inset: 0;
}

/* Jedes Bild – blendet nacheinander ein */
.ps-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    animation: ps-fade 18s infinite; /* 18s = jedes Bild 6 Sekunden */
}

.ps-hero-slide:nth-child(1) { animation-delay: 0s; }
.ps-hero-slide:nth-child(2) { animation-delay: 6s; }
.ps-hero-slide:nth-child(3) { animation-delay: 12s; }

@keyframes ps-fade {
    0%   { opacity: 0; }
    8%   { opacity: 1; }
    33%  { opacity: 1; }
    41%  { opacity: 0; }
    100% { opacity: 0; }
}

/* Dunkles Overlay über dem Bild */
.ps-hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--ps-hero-overlay, rgba(0,0,0,0.42));
}

/* Text über dem Bild */
.ps-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.ps-hero-sub {
    font-size: 11px;
    letter-spacing: 5px;
    text-transform: uppercase;
    opacity: 0.75;
    margin-bottom: 20px;
}

.ps-hero-title {
    font-size: 68px;        /* Schriftgröße Haupttitel */
    font-weight: 200;       /* Dünn = elegant */
    letter-spacing: 8px;
    text-transform: uppercase;
    margin: 0 0 20px;
    line-height: 1.1;
    color: #fff;
}

.ps-hero-line {
    width: 60px;
    height: 1px;
    background: rgba(255,255,255,0.5);
    margin: 0 auto 24px;
}

.ps-hero-tagline {
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Mobil: kleinere Schrift */
@media (max-width: 768px) {
    .ps-hero-wrap  { height: 70vh; }
    .ps-hero-title { font-size: 36px; letter-spacing: 4px; }
}


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

/* ── Single Product: Quantity + Add-to-Cart zentrieren ── */
body.single-product .product form.cart {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
}

body.single-product .product form.cart .quantity {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    float: none !important;
}

body.single-product .product form.cart .button {
    width: auto !important;
    float: none !important;
    margin: 0 auto !important;
}

/* ================================================================
   Feinkost Landing Page — 1:1 wie Concept Store (body.tax-product_cat)
   ================================================================ */
body.ps-feinkost-front {
    --ps-concept-mobile-gutter: 14px;
}

body.ps-feinkost-category-landing .category-page-title,
body.ps-concept-category-landing .category-page-title {
    display: none !important;
}

body.ps-feinkost-front .ps-shop-catalog-breadcrumb,
body.ps-concept-front .ps-shop-catalog-breadcrumb {
    margin: 10px var(--ps-concept-mobile-gutter) 6px !important;
    padding: 0 !important;
    color: rgba(47,64,88,.56);
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: .02em;
    text-transform: uppercase;
}

body.ps-feinkost-front .ps-shop-catalog-breadcrumb a,
body.ps-concept-front .ps-shop-catalog-breadcrumb a {
    color: rgba(47,64,88,.56);
    text-decoration: none;
}

body.ps-feinkost-front .ps-shop-catalog-breadcrumb .divider,
body.ps-concept-front .ps-shop-catalog-breadcrumb .divider {
    margin: 0 5px;
    color: rgba(47,64,88,.34);
}

body.ps-feinkost-front .ps-shop-catalog-breadcrumb strong,
body.ps-concept-front .ps-shop-catalog-breadcrumb strong {
    color: #111;
    font-weight: 700;
}

body.ps-feinkost-front .ps-shop-catalog-breadcrumb + .ps-concept-mobile-topbar,
body.ps-concept-front .ps-shop-catalog-breadcrumb + .ps-concept-mobile-topbar {
    margin-top: 0 !important;
}

body.ps-feinkost-front .ps-concept-mobile-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    margin: 6px var(--ps-concept-mobile-gutter) 0;
    padding: 0 28px 0 12px;
    border: 1px solid rgba(47,64,88,.12);
    border-radius: 0;
    background: #fff;
}

body.ps-feinkost-front .ps-concept-mobile-topbar__spacer {
    flex: 1 1 auto;
}

body.ps-feinkost-front .ps-concept-mobile-topbar__menu,
body.ps-feinkost-front .ps-concept-mobile-topbar__search,
body.ps-feinkost-front .ps-concept-mobile-topbar__cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin: 8px 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #2f4058;
    text-decoration: none;
    box-shadow: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    flex-shrink: 0;
}

body.ps-feinkost-front .ps-concept-mobile-topbar__menu {
    flex-direction: column !important;
    gap: 3px !important;
    transform: translateX(-4px) !important;
    line-height: 1 !important;
}

body.ps-feinkost-front .ps-concept-mobile-topbar__menu span {
    display: block !important;
    width: 18px !important;
    height: 1.5px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: rgba(47,64,88,.58) !important;
    border-radius: 0 !important;
}

body.ps-feinkost-front .ps-concept-mobile-topbar__search svg {
    display: block;
    width: 15px;
    height: 15px;
    pointer-events: none;
}

body.ps-feinkost-front .ps-concept-mobile-topbar__searchform {
    display: none;
    flex: 1 1 auto;
    margin: 0 4px 0 8px;
}
body.ps-feinkost-front .ps-concept-mobile-topbar__searchform.is-open {
    display: flex;
    align-items: center;
}
body.ps-feinkost-front .ps-concept-mobile-topbar__searchinput {
    width: 100%;
    height: 30px;
    margin-top: 6px;
    margin-bottom: 6px;
    padding: 0 8px;
    font-size: 13px;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    background: #fafafa;
    color: #1a1a1a;
    outline: none;
    box-shadow: none;
    box-sizing: border-box;
    -webkit-appearance: none;
}
body.ps-feinkost-front .ps-concept-mobile-topbar.search-open .ps-concept-mobile-topbar__spacer {
    display: none !important;
}

body.ps-feinkost-front .ps-concept-mobile-topbar__bag {
    position: relative;
    width: 13px;
    height: 14px;
    border: 1.6px solid #2f4058;
    border-radius: 2px 2px 3px 3px;
    background: transparent;
}

body.ps-feinkost-front .ps-concept-mobile-topbar__bag::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    width: 7px;
    height: 7px;
    border: 1.6px solid #2f4058;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    transform: translateX(-50%);
}

body.ps-feinkost-front .ps-concept-mobile-topbar__count {
    position: absolute;
    top: 2px;
    right: -14px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    background: #5f6168;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 17px;
    text-align: center;
}

body.ps-feinkost-front .ps-concept-brand-catalog {
    width: auto !important;
    max-width: none !important;
    margin: var(--ps-concept-mobile-gutter) var(--ps-concept-mobile-gutter) 18px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

body.ps-feinkost-front .ps-concept-brand-catalog__grid {
    display: grid;
    width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
}
@media (min-width: 550px) {
    body.ps-feinkost-front .ps-concept-brand-catalog__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (min-width: 960px) {
    body.ps-feinkost-front .ps-concept-brand-catalog__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

body.ps-feinkost-front .ps-concept-brand-catalog__item {
    position: relative;
    display: flex;
    width: 100% !important;
    flex-direction: column;
    justify-content: flex-end;
    height: 165px;
    border: 1px solid rgba(31,27,23,.10);
    border-radius: 3px;
    overflow: hidden;
    background: #f0f0f0;
    color: #2f4058;
    text-decoration: none;
}
@media (min-width: 550px) {
    body.ps-feinkost-front .ps-concept-brand-catalog__item {
        height: 330px;
    }
}

body.ps-feinkost-front .ps-concept-brand-catalog__slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}
body.ps-feinkost-front .ps-concept-brand-catalog__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity .4s ease;
}
body.ps-feinkost-front .ps-concept-brand-catalog__slide.is-active {
    opacity: 1;
}

body.ps-feinkost-front .ps-concept-brand-catalog__footer {
    position: absolute;
    bottom: 5px;
    left: 5px;
    right: 5px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 8px;
    background: rgba(245,245,245,0.92);
    border-radius: 2px;
}

body.ps-feinkost-front .ps-concept-brand-catalog__name {
    flex: 1 1 auto;
    font-size: .78rem;
    font-weight: 500;
    line-height: 1.2;
    color: #2f4058;
    text-align: left;
}

body.ps-feinkost-front .ps-concept-brand-catalog__count {
    flex: 0 0 auto;
    font-size: .70rem;
    color: rgba(47,64,88,.5);
    margin-left: 8px;
    text-align: right;
}
