/* ==========================================================================
   CHILD-THEME CSS – STRUKTURÜBERSICHT
   ==========================================================================
   A. Desktop-Footer ab 992 px
   B. Flyout-Kategorietitel
   C. Suchsymbol im Header
   D. Produktbilder / Slider in Produktkarten
   E. Desktop-Header ab 1200 px
   F. Suchergebnisse – oberer Abstand
   G. Anmeldung / Registrierung – oberer Abstand
   H. Kundenbereich – Produkt- und Preissperre für Gäste
   I. Flyout-Kategoriebilder – einheitliches Format 3:2
   K. BESTELLINFOS UND NUMMERN
   L. Kundenkonto - Adressbuttons
   M. Bearbeitung Rechnungsadresse sperren
   N. Tooltips Icons Header
   O. Ladeanimation
   P. Tabletansicht
   Q. Kontoübersicht anpassen
   R. Passwort zurückseten Design
   S. GOTS-Logo
   T. Info-Button
   U. Falsches Passwort Meldung
   V. alte Bestellungen Hinweis
   W. Mobile Version seitlich begrenzen
   X. Mobile Menu Config

   HINWEIS:
   Die Versandlogos sind in Abschnitt A6 als 2×2-Raster angeordnet.
   Die übrigen CSS-Regeln, Selektoren und Werte bleiben unverändert.
   ========================================================================== */


/* ==========================================================================
   A. DESKTOP-FOOTER AB 992 PX
   ========================================================================== */

@media (min-width: 992px) {

  /* =========================================================
     FOOTER – DESKTOP-LAYOUT

     Links:
     Logo + Newsletter

     Mitte:
     Kontakt & Hilfe + Hotline inkl. FAQ-Link

     Rechts:
     Service & Mehr + Versandarten + Social Media

     Gilt ausschließlich ab 992 px.

     ---------------------------------------------------------
     HINWEIS:
     Der folgende Header-Code befindet sich im Original
     innerhalb dieses Kommentars und ist daher NICHT aktiv:

     @media (min-width: 1200px) {

        .nav-header {
            position: relative !important;

            height: 155px !important;
            min-height: 155px !important;
            max-height: none !important;

            overflow: visible !important;

            z-index: 1000 !important;
        }

        .nav-header > .container {
            height: 100% !important;
            min-height: 155px !important;
        }

        .nav-header .header-row {
            height: 100% !important;
            min-height: 155px !important;
            max-height: none !important;

            padding-top: 4px !important;
            padding-bottom: 4px !important;

            align-items: center !important;
            flex-wrap: nowrap !important;
        }

        .main-navigation {
            position: relative !important;

            top: auto !important;
            bottom: auto !important;

            margin-top: 0 !important;

            transform: none !important;
            clear: both !important;

            z-index: 10 !important;
        }
     }

     Tablet und Mobil behalten das Zenit-Standardlayout.
     ========================================================= */


  /* ---------------------------------------------------------
     A1. FOOTER-GRUNDCONTAINER UND TRENNLINIEN
     --------------------------------------------------------- */

  /* Footer-Container als Bezugspunkt für die zwei Trennlinien */
  #footerColumns.footer-columns {
    position: relative !important;
  }

  /* Senkrechte Linie zwischen linker und mittlerer Hauptspalte */
  #footerColumns.footer-columns::before {
    content: "";
    position: absolute;

    left: 33.333333%;
    top: 2.5rem;
    bottom: 2rem;

    width: 1px;
    background-color: rgba(0, 0, 0, 0.45);
  }

  /* Senkrechte Linie zwischen mittlerer und rechter Hauptspalte */
  #footerColumns.footer-columns::after {
    content: "";
    position: absolute;

    left: 66.666667%;
    top: 2.5rem;
    bottom: 2rem;

    width: 1px;
    background-color: rgba(0, 0, 0, 0.45);
  }


  /* ---------------------------------------------------------
     A2. ENGLISCHE FOOTER-TEXTE
     Greift nur bei englischer Storefront
     --------------------------------------------------------- */

  html[lang^="en"] #footerColumns .footer-hotline-column::before {
    content: "CONTACT & HELP";
  }

  html[lang^="en"] #footerColumns .footer-shipping-logos-column::before {
    content: "SERVICE & MORE";
  }

  html[lang^="en"] #footerColumns .footer-shipping-logos-column
    .footer-column-content::before {
    content: "Shipping methods";
  }

  html[lang^="en"] #footerColumns .footer-social-column
    .footer-column-content::before {
    content: "Follow us";
  }


  /* ---------------------------------------------------------
     A3. GRUNDRASTER
     Drei gleich breite Hauptspalten
     --------------------------------------------------------- */

  #footerColumns.footer-columns {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: auto auto !important;
    align-items: stretch !important;
    justify-content: stretch !important;

    /* Abstand oberhalb und unterhalb des Hauptfooters */
    padding-top: 4rem !important;
    padding-bottom: 0rem !important;
  }

  /* Zenit-/Bootstrap-Spaltenbreiten im Desktop-Grid neutralisieren */
  #footerColumns .footer-column {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    margin: 0 !important;
  }


  /* ---------------------------------------------------------
     A4. LINKE HAUPTSPALTE
     Logo oben, Newsletter unten
     --------------------------------------------------------- */

  #footerColumns .footer-logo-column {
    grid-column: 1 !important;
    grid-row: 1 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 1rem 3rem 2rem !important;
    transform: translateY(-2rem);
  }

  #footerColumns .footer-newsletter-column {
    grid-column: 1 !important;
    grid-row: 2 !important;
    
    padding: 0 3rem 0rem !important;
    transform: translateY(-6rem);
  }

  /* Logo horizontal zentrieren */
  #footerColumns .footer-logo-column .footer-logo-picture {
    position: static !important;
    transform: none !important;

    display: block !important;
    width: 100% !important;
    text-align: center !important;
  }

  #footerColumns .footer-logo-column .footer-logo-main-img {
    display: inline-block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
  }


  /* ---------------------------------------------------------
     A5. MITTLERE HAUPTSPALTE
     Kontakt & Hilfe
     --------------------------------------------------------- */

  #footerColumns .footer-hotline-column {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;

    position: relative !important;

    /* Durchgehender senkrechter Trennstrich
    border-left: 1px solid rgba(0, 0, 0, 0.45) !important; */

    /* Platz für Titel und Unterstrich oben */
    padding: 6.25rem 3rem 0rem !important;
  }

  /* Gemeinsame Überschrift */
  #footerColumns .footer-hotline-column::before {
    content: "KONTAKT & HILFE";

    position: absolute;
    top: 1rem;
    left: 0;

    width: 100%;
    text-align: center;

    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
  }

  /* Unterstrich unter „KONTAKT & HILFE“ */
  #footerColumns .footer-hotline-column::after {
    content: "";

    position: absolute;
    top: 3rem;
    left: 50%;

    width: 50px;
    height: 2px;

    background-color: currentColor;
    transform: translateX(-50%);
  }


  /* ---------------------------------------------------------
     A6. RECHTE HAUPTSPALTE
     Service & Mehr / Versandarten
     --------------------------------------------------------- */

  #footerColumns .footer-shipping-logos-column {
    grid-column: 3 !important;
    grid-row: 1 !important;

    position: relative !important;

    /* Durchgehender Trennstrich zwischen Mitte und rechts
    border-left: 1px solid rgba(0, 0, 0, 0.45) !important;  */

    /* Mehr oberer Abstand für Titel + Unterstrich */
    padding: 8rem 3rem 0rem !important;
  }

  /* Gemeinsame Überschrift */
  #footerColumns .footer-shipping-logos-column::before {
    content: "SERVICE & MEHR";

    position: absolute;
    top: 1rem;
    left: 0;

    width: 100%;
    text-align: center;

    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
  }

  /* Unterstrich unter „SERVICE & MEHR“ */
  #footerColumns .footer-shipping-logos-column::after {
    content: "";

    position: absolute;
    top: 3rem;
    left: 50%;

    width: 50px;
    height: 2px;

    background-color: currentColor;
    transform: translateX(-50%);
  }

  /* „Versandarten“ über den UPS-/DHL-Logos */
  #footerColumns .footer-shipping-logos-column .footer-column-content::before {
    content: "Versandarten";
    display: block;

    margin-bottom: 1.75rem;
    text-align: center;
    transform: translateY(0.5rem);

    font-size: 16px;
    font-weight: 400;
  }
  
  #footerColumns .footer-shipping-logos-column .footer-column-content {
    transform: translateY(-2.2rem) !important;
  }


    /* ---------------------------------------------------------
     A6.1 VERSANDLOGOS – KOMPAKTES 2×2-RASTER
     Oben: UPS / DHL
     Unten: UPS Express / DHL Express

     Vorhandene Logo-Reihenfolge:
     UPS, DHL Express, DHL, UPS Express
     --------------------------------------------------------- */

  #footerColumns .footer-shipping-logos-column .footer-logos {
    display: grid !important;
    grid-template-columns: repeat(2, 76px) !important;
    grid-template-rows: repeat(2, 50px) !important;
    gap: 8px 20px !important;
    justify-content: center !important;
    align-items: center !important;
    width: max-content !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  #footerColumns .footer-shipping-logos-column .footer-logos > * {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 76px !important;
    height: 50px !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

   /* UPS – oben links, Position bleibt */
  #footerColumns .footer-shipping-logos-column .footer-logos > :nth-child(1) {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  /* DHL – oben rechts, auf gleicher Höhe wie UPS */
  #footerColumns .footer-shipping-logos-column .footer-logos > :nth-child(2) {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  /* Weitere Versandlogos – unten links */
  #footerColumns .footer-shipping-logos-column .footer-logos > :nth-child(3) {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  /* Weitere Versandlogos – unten rechts */
  #footerColumns .footer-shipping-logos-column .footer-logos > :nth-child(4) {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }
  
  {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  #footerColumns .footer-shipping-logos-column .footer-logos img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 72px !important;
    max-height: 46px !important;
    margin: 0 auto !important;
    object-fit: contain !important;
  }


  /* ---------------------------------------------------------
     A7. RECHTE HAUPTSPALTE UNTEN
     Social Media
     --------------------------------------------------------- */

    #footerColumns .footer-social-column {
    grid-column: 3 !important;
    grid-row: 2 !important;

    padding: 1.5rem 3rem 1rem !important;
    transform: translateY(-6rem) !important;
  }

    /* Die gleiche Linie unten fortführen
    border-left: 1px solid rgba(0, 0, 0, 0.45) !important;  */

    padding: 1.5rem 3rem 1rem !important;
    transform: translateY(-1.5rem)
  }

  /* „Folge uns“ über dem Instagram-Icon */
  #footerColumns .footer-social-column .footer-column-content::before {
    content: "Folgen Sie uns";
    display: block;
    
    margin-bottom: 1.25rem;
    text-align: center;

    font-size: 16px;
    font-weight: 400;
  }


  /* ---------------------------------------------------------
     A8. STANDARDÜBERSCHRIFTEN AUSBLENDEN
     --------------------------------------------------------- */

  #footerColumns .footer-hotline-column .footer-column-headline,
  #footerColumns .footer-shipping-logos-column .footer-column-headline,
  #footerColumns .footer-social-column .footer-column-headline {
    display: none !important;
  }


  /* ---------------------------------------------------------
     A9. OPTIONALE CUSTOM-SPALTE AUSBLENDEN
     --------------------------------------------------------- */

  #footerColumns .footer-custom-column {
    display: none !important;
  }
}



/* ==========================================================================
   B. FLYOUT-KATEGORIETITEL
   Zentrierung und Schriftgröße der Titel im Navigations-Flyout
   ========================================================================== */

/* Flyout-Titel vertikal zentrieren */
.navigation-flyout-category-image-name-container {
    display: flex;
    align-items: center;       /* vertikal zentrieren */
    justify-content: center;   /* optional: auch horizontal zentrieren */
    height: 50%;              /* halbe verfügbare Höhe nutzen */
}

/* Titel-Text selbst */
.navigation-flyout-category-image-name {
    font-size: 18px !important;
}


/* ==========================================================================
   C. SUCHSYMBOL IM HEADER
   Farbe der Suchlupe
   ========================================================================== */

/* Suchlupe im Header: Farbe erzwingen */
.header-search-icon .icon-search svg,
.icon-search svg {
    fill: #9A304E !important;
    color: #9A304E !important;
}


/* ==========================================================================
   D. PRODUKTBILDER / SLIDER IN PRODUKTKARTEN
   Nur erstes Bild anzeigen und Slider-Steuerung ausblenden
   ========================================================================== */

/* Produktbildfläche: nur das erste Element anzeigen */
.product-box .product-image,
.product-box .product-image-wrapper,
.product-box .product-image-link {
    position: relative !important;
    overflow: hidden !important;
}

/* Alle zusätzlichen Galerie-/Slider-Elemente entfernen */
.product-box .product-image > *:not(:first-child),
.product-box .product-image-wrapper > *:not(:first-child),
.product-box .product-image-link > *:not(:first-child),
.product-box [class*="slider-item"]:not(:first-child),
.product-box [class*="gallery-item"]:not(:first-child) {
    display: none !important;
}

/* Mögliche Pfeil-/Navigationsfläche rechts entfernen */
.product-box .slider-controls,
.product-box .image-slider-controls,
.product-box .gallery-slider-controls,
.product-box .tns-controls,
.product-box .tns-nav,
.product-box [class*="slider-arrow"],
.product-box [class*="slider-button"],
.product-box [class*="gallery-control"] {
    display: none !important;
}


/* ==========================================================================
   E. DESKTOP-HEADER AB 1200 PX
   Logo, Suche, Aktionen und Navigation
   ========================================================================== */

@media (min-width: 1200px) {

    /* =====================================================
       E1. TOP-BAR
       Sprachwahl / Service-Hilfe müssen über dem Hauptheader
       liegen und nach unten aufklappen dürfen.
       ===================================================== */

    .top-bar {
        position: relative !important;
        overflow: visible !important;
        z-index: 3000 !important;
    }

    .top-bar > .container {
        overflow: visible !important;
    }

    .top-bar-nav {
        position: relative !important;
        overflow: visible !important;
        z-index: 3001 !important;
    }

    .top-bar-nav-item {
        position: relative !important;
        overflow: visible !important;
    }

    .top-bar .dropdown-menu {
        z-index: 4000 !important;
    }


    /* =====================================================
       E2. WEISSE KOPFZEILE
       ===================================================== */

    .nav-header {
        position: relative !important;

        height: 155px !important;
        min-height: 155px !important;
        max-height: none !important;

        /*
         * Dropdowns aus Suche / Account dürfen über
         * die Headerkante hinausragen.
         */
        overflow: visible !important;

        /*
         * Unterhalb der Top-Bar,
         * aber oberhalb der Hauptnavigation.
         */
        z-index: 1000 !important;
    }

    .nav-header > .container {
        height: 100% !important;
        min-height: 155px !important;

        overflow: visible !important;
    }

    .nav-header .header-row {
        height: 100% !important;
        min-height: 155px !important;
        max-height: none !important;

        padding-top: 4px !important;
        padding-bottom: 4px !important;

        align-items: center !important;
        flex-wrap: nowrap !important;

        overflow: visible !important;
    }


    /* =====================================================
       E3. LOGO
       Logo selbst: 380px
       Logo-Spalte: 400px für etwas Sicherheitsraum
       ===================================================== */

    .header-logo-col {
        flex: 0 0 400px !important;

        width: 400px !important;
        max-width: 400px !important;

        height: auto !important;
        max-height: 147px !important;

        padding-top: 0 !important;
        padding-bottom: 0 !important;

        /*
         * Logo rechts nicht abschneiden.
         */
        overflow: visible !important;
    }

    .header-logo-main,
    .header-logo-main-link,
    .header-logo-picture {
        display: block !important;

        width: 380px !important;
        max-width: 380px !important;
        height: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: visible !important;
    }

    .header-logo-main-img {
        display: block !important;

        width: 380px !important;
        max-width: 380px !important;

        height: auto !important;
        max-height: 147px !important;

        margin: 0 !important;
        padding: 0 !important;

        object-fit: contain !important;
    }


    /* =====================================================
       E4. SUCHE
       Nutzt automatisch die verbleibende Breite
       ===================================================== */

    .header-search-col {
        flex: 1 1 auto !important;

        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;

        margin-left: 40px !important;
        margin-right: 30px !important;

        overflow: visible !important;
    }


    /* =====================================================
       E5. HEADER-AKTIONEN
       Account, Wunschliste, Warenkorb usw.
       ===================================================== */

    .header-actions-col {
        flex: 0 0 auto !important;

        width: auto !important;
        max-width: none !important;

        overflow: visible !important;
    }


    /* =====================================================
       E6. KATEGORIEN-NAVIGATION
       ===================================================== */

    .main-navigation {
        position: relative !important;

        top: auto !important;
        bottom: auto !important;

        margin-top: 0 !important;

        transform: none !important;
        clear: both !important;

        /*
         * Unter Header und Top-Bar.
         */
        z-index: 10 !important;
    }
}


/* ==========================================================================
   F. SUCHERGEBNISSE
   Abstand nach oben
   ========================================================================== */

.search-headline {
    margin-top: 3rem !important;
}


/* ==========================================================================
   G. ANMELDUNG / REGISTRIERUNG / KUNDENKONTO
   Abstand nach oben
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. LOGINSEITE / REGISTRIERUNG
   Bisherige funktionierende Einstellung bleibt unverändert.
   -------------------------------------------------------------------------- */

.is-ctl-auth.is-act-loginpage .account-register {
    margin-top: 3rem !important;
}


/* --------------------------------------------------------------------------
   2. ANGEMELDETER KUNDENBEREICH – LINKE KONTONAVIGATION
   Verschiebt die Begrüßung "Hallo, ..." samt Menü nach unten.

   Abstand hier anpassen:
   2rem = weniger Abstand
   3rem = bisheriger Wert der Loginseite
   4rem = mehr Abstand
   -------------------------------------------------------------------------- */

.account-content .account-aside {
    margin-top: 3rem !important;
}


/* ==========================================================================
   H. KUNDENBEREICH
   Produkte, Preise und Produktdetailseiten nur für angemeldete Kunden

   Geschützt werden:
   - normale Shopware-Produktlistings
   - Preise innerhalb der Produktlistings
   - Listing-Bedienelemente
   - komplette Produktdetailseiten

   Nicht betroffen:
   - Kategorie-Kacheln
   - Material-Kacheln
   - Navigation
   - Header
   - Footer
   - sonstige CMS-Seiten
   ========================================================================== */


/* =========================================================
   H1. WÄHREND DER LOGIN-STATUS GEPRÜFT WIRD
   ========================================================= */

/*
 * Produktlistings während der Statusprüfung unsichtbar machen.
 *
 * Dadurch blitzen Produkte und Preise nicht kurz auf,
 * bevor bekannt ist, ob der Besucher angemeldet ist.
 */

html.customer-status-checking
.cms-element-product-listing
.cms-listing-row,

html.customer-status-checking
.cms-element-product-listing
.product-box,

html.customer-status-checking
.cms-element-product-listing
.product-price-info {
    visibility: hidden !important;
}


/*
 * PRODUKTDETAILSEITE:
 *
 * Während der Loginstatus geprüft wird, wird der eigentliche
 * Produktbereich vorsorglich unsichtbar gemacht.
 *
 * Header, Navigation und Footer bleiben sichtbar.
 */

html.customer-status-checking
body.is-ctl-product
#content-main
.container-main {
    visibility: hidden !important;
}


/* =========================================================
   H2. GAST – PRODUKTE IN LISTINGS VERBERGEN
   ========================================================= */

/*
 * Nur Produktzeilen innerhalb echter
 * Shopware-Produktlistings verbergen.
 */

html.customer-is-guest
.cms-element-product-listing
.cms-listing-row {
    display: none !important;
}


/*
 * Zusätzliche Absicherung für einzelne Produktkarten.
 */

html.customer-is-guest
.cms-element-product-listing
.product-box {
    display: none !important;
}


/* =========================================================
   H3. GAST – PREISE IN LISTINGS VERBERGEN
   ========================================================= */

html.customer-is-guest
.cms-element-product-listing
.product-price-info,

html.customer-is-guest
.cms-element-product-listing
.product-price-wrapper,

html.customer-is-guest
.cms-element-product-listing
.product-price,

html.customer-is-guest
.cms-element-product-listing
.product-price-tax {
    display: none !important;
}


/* =========================================================
   H4. GAST – LISTING-BEDIENELEMENTE VERBERGEN
   ========================================================= */


/* Pagination */

html.customer-is-guest
.cms-element-product-listing
.pagination-nav,

html.customer-is-guest
.cms-element-product-listing
.pagination {
    display: none !important;
}


/* Sortierung */

html.customer-is-guest
.cms-element-product-listing
.sorting {
    display: none !important;
}


/* Produktanzahl / Listing-Aktionen */

html.customer-is-guest
.cms-element-product-listing
.cms-element-product-listing-actions,

html.customer-is-guest
.cms-element-product-listing
.product-count {
    display: none !important;
}


/* =========================================================
   H5. GAST – PRODUKTDETAILSEITE SPERREN
   ========================================================= */

/*
 * Produktdetailseiten werden in deinem Shop über
 *
 * body.is-ctl-product
 *
 * erkannt.
 *
 * Innerhalb von:
 *
 * #content-main .container-main
 *
 * befindet sich der eigentliche Produktinhalt.
 *
 * Für Gäste werden dort alle normalen Inhalte ausgeblendet.
 * Die Login-Box bleibt ausdrücklich sichtbar.
 */

html.customer-is-guest
body.is-ctl-product
#content-main
.container-main
> *:not(.customer-product-lock--detail) {
    display: none !important;
}


/*
 * Der Hauptcontainer wurde während der Loginprüfung mit
 * visibility:hidden geschützt.
 *
 * Sobald feststeht, dass es sich um einen Gast handelt,
 * wird der Container wieder sichtbar.
 */

html.customer-is-guest
body.is-ctl-product
#content-main
.container-main {
    visibility: visible !important;

    padding-top: 3rem;
    padding-bottom: 5rem;
}


/*
 * Die Login-Box auf der Produktdetailseite
 * ausdrücklich sichtbar halten.
 */

html.customer-is-guest
body.is-ctl-product
#content-main
.customer-product-lock--detail {
    display: block !important;
    visibility: visible !important;

    position: relative !important;

    float: none !important;
    clear: both !important;

    width: min(850px, calc(100% - 2rem));

    margin: 3rem auto 5rem !important;
}


/* =========================================================
   H6. LOGIN-HINWEIS – GRUNDDESIGN
   ========================================================= */

/*
 * Dieses Design wird sowohl für Produktlistings
 * als auch für Produktdetailseiten verwendet.
 */

.customer-product-lock {
    width: min(850px, calc(100% - 2rem));

    box-sizing: border-box;

    margin: 3rem auto 5rem;
    padding: 3.5rem 2.5rem;

    text-align: center;

    background: #faf8f6;

    border: 1px solid #e4ded9;
    border-radius: 8px;
}


/* Kleine Überschrift */

.customer-product-lock__eyebrow {
    margin: 0 0 0.7rem;

    color: #a22d50;

    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}


/* Hauptüberschrift */

.customer-product-lock__title {
    margin: 0 0 1rem;

    color: #111111;

    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
}


/* Beschreibung */

.customer-product-lock__text {
    width: 100%;
    max-width: 600px;

    margin: 0 auto 1.75rem;

    color: #555555;

    font-size: 1rem;
    line-height: 1.6;
}


/* Login-Button */

.customer-product-lock__button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 1.75rem;

    color: #ffffff !important;

    font-size: 1rem;
    font-weight: 700;

    text-decoration: none !important;

    background: #a22d50;

    border: 1px solid #a22d50;
    border-radius: 5px;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.customer-product-lock__button:hover,
.customer-product-lock__button:focus {
    color: #ffffff !important;

    background: #7d1f3d;
    border-color: #7d1f3d;

    text-decoration: none !important;
}


/* =========================================================
   H7. LOGIN-BOX INNERHALB VON PRODUKTLISTINGS
   ========================================================= */

html.customer-is-guest
.cms-element-product-listing
.customer-product-lock {
    display: block !important;

    visibility: visible !important;

    position: relative;

    float: none !important;

    clear: both;

    margin-left: auto !important;
    margin-right: auto !important;
}


/* =========================================================
   H8. LOGIN-BOX AUF PRODUKTDETAILSEITEN
   ========================================================= */

/*
 * Die Detailseiten-Box besitzt gleichzeitig:
 *
 * .customer-product-lock
 * .customer-product-lock--detail
 *
 * Dadurch verwendet sie exakt dasselbe Design
 * wie die Login-Box in Produktlistings.
 */

html.customer-is-guest
body.is-ctl-product
#content-main
.customer-product-lock--detail {
    display: block !important;
    visibility: visible !important;

    position: relative !important;

    float: none !important;
    clear: both !important;

    margin-left: auto !important;
    margin-right: auto !important;
}


/* =========================================================
   H9. KEINE GLOBALEN LISTING-REGELN
   =========================================================

   WICHTIG:

   .cms-listing-row wird NICHT außerhalb von
   .cms-element-product-listing versteckt.

   Dadurch bleiben:

   - Material-Kacheln
   - Kategorie-Kacheln
   - Navigationslayouts
   - sonstige CMS-Karten

   auch für Gäste sichtbar.
   ========================================================= */


/* =========================================================
   H10. MOBILE DARSTELLUNG DER LOGIN-BOX
   ========================================================= */

@media (max-width: 767px) {

    .customer-product-lock {
        width: calc(100% - 1.5rem);

        margin: 2rem auto 3rem;
        padding: 2.5rem 1.25rem;
    }


    .customer-product-lock__title {
        font-size: 1.7rem;
    }


    .customer-product-lock__text {
        font-size: 0.95rem;
    }


    .customer-product-lock__button {
        width: 100%;
    }


    /*
     * Auf Produktdetailseiten etwas weniger
     * vertikalen Leerraum auf Mobilgeräten.
     */

    html.customer-is-guest
    body.is-ctl-product
    #content-main
    .container-main {
        padding-top: 1rem;
        padding-bottom: 2rem;
    }


    html.customer-is-guest
    body.is-ctl-product
    #content-main
    .customer-product-lock--detail {
        margin-top: 2rem !important;
        margin-bottom: 3rem !important;
    }
}

/* ==========================================================================
   I. FLYOUT-KATEGORIEBILDER – BILDHÖHE UND DARSTELLUNG EINSTELLEN
   ========================================================================== */

/* NUR DIESE WERTE ZUM ANPASSEN ÄNDERN */
.navigation-flyout-category-image-box {

    /* Höhe der Bildfläche:
       größer = mehr Platz für das Bild und höhere Karten.
       Zum Beispiel: 170px, 190px oder 210px */
    --flyout-bildhoehe: 140px;

    /* Darstellung:
       contain = vollständiges Bild anzeigen, ggf. mit Leerraum.
       cover   = Fläche ausfüllen, ggf. Bildränder abschneiden. */
    --flyout-bildmodus: cover;

    /* Motiv zusätzlich vergrößern, ohne die Karte zu verändern:
       1 = Originaldarstellung
       1.1 = 10 % größer
       1.2 = 20 % größer
       Achtung: Überstehende Bildteile werden abgeschnitten. */
    --flyout-bildzoom: 1;

    /* Vertikale Bildposition:
       0% = oben, 50% = mittig, 100% = unten.
       Vor allem bei "cover" wirksam. */
    --flyout-bildposition: 50%;

    /* Freiraum oberhalb und unterhalb des Titels:
       kleiner = kompakterer Textbereich */
    --flyout-textabstand: 10px;
}


/* Kartenhöhe aus Bild und Titel zusammensetzen */
.navigation-flyout-category-image-box {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
}


/* Bildfläche: Höhe direkt steuern, Breite beibehalten */
.navigation-flyout-category-image-media-container {
    width: 100% !important;
    height: var(--flyout-bildhoehe) !important;
    min-height: var(--flyout-bildhoehe) !important;
    max-height: none !important;
    flex: 0 0 auto !important;
    aspect-ratio: auto !important;
    padding: 0 !important;
    position: relative !important;
    overflow: hidden !important;
}


/* Bild innerhalb der Bildfläche */
.navigation-flyout-category-image-media-container
.navigation-flyout-category-image-media {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    object-fit: var(--flyout-bildmodus) !important;
    object-position: 50% var(--flyout-bildposition) !important;
    transform-origin: center center !important;
}


/* Die bisherige Titelhöhe von 50 % gezielt überschreiben */
.navigation-flyout-category-image-box
.navigation-flyout-category-image-name-container {
    height: auto !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
    padding-top: var(--flyout-textabstand) !important;
    padding-bottom: var(--flyout-textabstand) !important;
}

/* ==========================================================================
   K. BESTELLINFOS UND NUMMERN
   Schwarze Anzeigen im Header höher setzen und Haken ausrichten
   ========================================================================== */

/* ---------------------------------------------------------
   K1. GEMEINSAME HÖHE DER DREI SCHWARZEN ANZEIGEN
   Wunschliste, Kundenkonto und Warenkorb

   -8px = 8 Pixel nach oben.
   Die vorhandene horizontale Position bleibt erhalten.
   --------------------------------------------------------- */

.header-actions-col .header-wishlist .badge,
.header-actions-col .header-wishlist-badge,
.header-actions-col .account-menu .badge,
.header-actions-col .header-account .badge,
.header-actions-col .header-cart .badge,
.header-actions-col .header-cart-badge {
    translate: 0 -6px !important;
}


/* ---------------------------------------------------------
   K2. HAKEN IM KUNDENKONTO SEPARAT AUSRICHTEN
   Nur das Symbol innerhalb der schwarzen Anzeige verschieben.
   Der Kreis selbst behält die Höhe aus K1.
   --------------------------------------------------------- */

.header-actions-col .account-menu .badge .icon svg,
.header-actions-col .account-menu .badge > svg,
.header-actions-col .header-account .badge .icon svg,
.header-actions-col .header-account .badge > svg {
    translate: 0 -2px !important;
    
}
/* ---------------------------------------------------------
   K3. WARENKORBPREIS 5 PIXEL NACH UNTEN VERSCHIEBEN
   --------------------------------------------------------- */

.header-actions-col .header-cart-total {
    position: relative;
    top: 2px !important;

}

/* ==========================================================================
   L. KUNDENKONTO – STANDARD-ADRESSMARKIERUNGEN
   Shopfarbe und leicht abgerundete Ecken
   ========================================================================== */

.address-item-default-badge {
    background-color: #9A304E !important;
    color: #ffffff !important;
    border-radius: 10px !important;
}

/* ==========================================================================
   M. RECHNUNGSADRESSE – HINWEIS MIT KONTAKTFORMULAR-LINK
   ========================================================================== */

/* Bisherigen Bearbeiten-Link ausblenden */
.address-manager-select-address:has(.address-item-default-badge):not(:has(form[action*="/account/address/default-billing/"]))
.dropdown-menu > li > .address-manager-modal-address-form {
    display: none !important;
}

/* Alten Hinweis entfernen */
.address-manager-select-address:has(.address-item-default-badge):not(:has(form[action*="/account/address/default-billing/"]))
.dropdown-menu > li:has(> .address-manager-modal-address-form)::before {
    content: none !important;
}

/* Darstellung des neuen Hinweises */
.billing-address-contact-hint {
    display: block;
    padding: 8px 16px;
    max-width: 290px;
    white-space: normal;
    line-height: 1.4;
    color: #9A304E;
}

/* Kontaktformular leicht unterstreichen */
.billing-address-contact-hint a {
    color: inherit !important;
    text-decoration-line: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px;
}

/* ==========================================================================
   N. Tooltips Icons Header
   ========================================================================== */
   
/* Hinweise unter Konto, Merkzettel und Warenkorb */
.header-main .budke-header-tooltip {
    position: relative;
    overflow: visible;
}

.header-main .budke-header-tooltip::before,
.header-main .budke-header-tooltip::after {
    position: absolute;
    left: 50%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1080;
    transition: opacity 0.15s ease;
}

.header-main .budke-header-tooltip::after {
    content: attr(data-budke-tooltip);
    top: calc(100% + 10px);
    transform: translateX(-50%);
    padding: 6px 9px;
    border-radius: 4px;
    background: #000;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
}

.header-main .budke-header-tooltip::before {
    content: "";
    top: calc(100% + 4px);
    transform: translateX(-50%);
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    border-bottom: 6px solid #000;
}

@media (hover: hover) {
    .header-main .budke-header-tooltip:hover::before,
    .header-main .budke-header-tooltip:hover::after {
        opacity: 1;
        visibility: visible;
    }
}

.header-main .budke-header-tooltip:focus-visible::before,
.header-main .budke-header-tooltip:focus-visible::after {
    opacity: 1;
    visibility: visible;
}

/* Alten Theme-Hinweis währenddessen ausblenden */
body.budke-header-tooltip-active .tooltip {
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Tooltips über den Icons, oberhalb der Zählerkreise */
.header-main .budke-header-tooltip::after {
    top: auto;
    bottom: calc(100% + 22px);
    transform: translateX(-50%);
}

.header-main .budke-header-tooltip::before {
    top: auto;
    bottom: calc(100% + 16px);
    transform: translateX(-50%);
    border-top: 6px solid #000;
    border-right: 6px solid transparent;
    border-bottom: 0;
    border-left: 6px solid transparent;
}

.header-main .header-cart-btn.budke-header-tooltip::before,
.header-main .header-cart-btn.budke-header-tooltip::after {
    left: var(--budke-cart-icon-center, 50%);
}

/* Kontomenü 20 px weiter nach unten verschieben */
.header-main .account-menu .dropdown-menu {
    translate: 0 20px;
}

/* Abstand überbrücken, damit das Menü beim Hineinfahren offen bleibt */
.header-main .account-menu .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

/* Horizon: Logo im Ladebildschirm zentrieren */
.preloader .preloader-center {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Bild und mögliche Bildhülle */
.preloader .preloader-center picture {
    display: block !important;
    width: fit-content !important;
    margin: 0 !important;
    transform-origin: center center !important;
}

.preloader .preloader-center img.header-logo-main-img {
    display: block !important;
    position: static !important;
    margin: 0 !important;
    height: auto !important;
    transform-origin: center center !important;
    animation: budke-preloader-pulse 1.5s ease-in-out infinite !important;
}


/* ==========================================================================
   O. Ladeanimation
   ==========================================================================  */


/* Checkout: Logo mittig mit gleichen Abständen */
.header-minimal .header-logo-main {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    align-self: stretch !important;
    padding-block: 12px !important;
    box-sizing: border-box;
}

.header-minimal .header-logo-main-link {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
}

.header-minimal .header-logo-picture {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    max-width: 100%;
}

.header-minimal .header-logo-main-img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: clamp(45px, 6vw, 70px) !important;
    margin: 0 !important;
    object-fit: contain;
}

/* Relativer linker Innenabstand */
.header-minimal .header-logo-main {
    padding-left: clamp(15px, 2vw, 50px) !important;
    justify-content: flex-start !important;
}

/* Bildhüllen auf die tatsächliche Logo-Breite begrenzen */
.header-minimal .header-logo-main-link {
    width: fit-content !important;
    max-width: 100% !important;
    flex: 0 1 auto !important;
    margin: 0 !important;
    justify-content: flex-start !important;
}

.header-minimal .header-logo-picture {
    display: block !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 !important;
}

/* Horizon-Loader: Logo direkt zur Bildschirmmitte ausrichten */
body .preloader.preloader-5 .preloader-center {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
}

body .preloader.preloader-5 .preloader-center-absolute {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: min(280px, 70vw) !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translate(-50%, -50%) !important;
    animation: none !important;
}

body .preloader.preloader-5 .object-logo {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    animation: none !important;
}

body .preloader.preloader-5 .header-logo-picture {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

body .preloader.preloader-5 img.header-logo-main-img {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    transform-origin: center center !important;
    animation: budke-loader-pulse 1.5s ease-in-out infinite !important;
}

@keyframes budke-loader-pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.04);
    }
}

/* ==========================================================================
   P. Tabletansicht
   ==========================================================================  */
   
   
/* Tabletansicht: links und rechts 5vw Abstand */
@media (min-width: 768px) and (max-width: 1399.98px) {
    .header-main,
    .nav-main,
    .content-main,
    .footer-main {
        padding-left: 5vw !important;
        padding-right: 5vw !important;
        box-sizing: border-box;
    }
}

/* Tabletansicht */
@media (min-width: 768px) and (max-width: 1199.98px) {

    /* Abstand für Header, Navigation und Seiteninhalt */
    .header-main,
    .nav-main,
    .content-main {
        padding-left: 5vw !important;
        padding-right: 5vw !important;
        box-sizing: border-box;
    }

    /* Footer-Hintergrund über die volle Breite */
    .footer-main,
    .footer-main .footer-bottom {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Nur den Footer-Inhalt nach innen rücken */
    .footer-main .container {
        width: 100% !important;
        max-width: none !important;
        padding-left: 5vw !important;
        padding-right: 5vw !important;
        box-sizing: border-box;
    }
}

/* Footer-Menü auf Tablets in zwei Zeilen */
@media (min-width: 768px) and (max-width: 1199.98px) {

    .footer-service-menu-list {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        column-gap: 20px;
        row-gap: 10px;
    }

    .footer-service-menu-list > li {
        order: 0;
        margin: 0 !important;
    }

/* Footer-Links auf Tablets in zwei Zeilen */
@media (min-width: 768px) and (max-width: 1199.98px) {

    .footer-main .footer-service-menu-list {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 2px 16px !important;
    }

    .footer-main .footer-service-menu-list > * {
        flex: 0 0 auto !important;
        order: 0 !important;
        margin: 0 !important;
    }

    /* Eigene zweite Zeile für die letzten beiden Links */
    .footer-main .footer-service-menu-list::before {
        content: "" !important;
        display: block !important;
        flex: 0 0 100% !important;
        height: 0 !important;
        order: 1 !important;
    }

    .footer-main .footer-service-menu-list::after {
        content: none !important;
    }

    .footer-main .footer-service-menu-list > :nth-last-child(-n + 2) {
        order: 2 !important;
    }
}

/* Tablet: Abstand im eingeblendeten Sticky Header */
@media (min-width: 768px) and (max-width: 1199.98px) {

    .header-main {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Normaler Header */
    .header-main .nav-header > .container {
        padding-left: 5vw !important;
        padding-right: 5vw !important;
        box-sizing: border-box;
    }

    /* Sticky Header: Abstand direkt an der Header-Zeile */
    .header-main.js-header-sticky-up .nav-header > .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .header-main.js-header-sticky-up .nav-header .header-row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 5vw !important;
        padding-right: 5vw !important;
        width: 100% !important;
        box-sizing: border-box;
    }
}
/* Seitliche Abstände für Tablet und iPad Pro */
@media (min-width: 768px) and (max-width: 1399.98px) {

    .header-main {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .header-main .top-bar > .container,
    .header-main .nav-header > .container {
        padding-left: 5vw !important;
        padding-right: 5vw !important;
        box-sizing: border-box;
    }

    /* Sticky Header: Abstand wird bereits am Container gesetzt */
    .header-main.js-header-sticky-up .nav-header > .container {
        padding-left: 5vw !important;
        padding-right: 5vw !important;
    }

    .header-main.js-header-sticky-up .nav-header .header-row {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
}

/* ==========================================================================
   Q. Kontübersicht anpassen
   ========================================================================== */
   

/* Kontoübersicht: rechte Spalte nach unten verschieben */
@media (min-width: 992px) {
    body.is-active-route-frontend-account-home-page
    .account > .account-content-main {
        margin-top: 35px !important;
    }
}








/* Flyout mit genau drei Bildkategorien zentrieren */
@media (min-width: 992px) {

  .dropdown-menu.js-flyout:has(
    .navigation-flyout-categories.is-level-0
    > :nth-child(3):last-child
  ):has(.navigation-flyout-category-image) {
    width: 75% !important;
    max-width: 1050px !important;

    left: 0 !important;
    right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .dropdown-menu.js-flyout
  .navigation-flyout-categories.is-level-0:has(
    > :nth-child(3):last-child
  ):has(.navigation-flyout-category-image) {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .dropdown-menu.js-flyout
  .navigation-flyout-categories.is-level-0:has(
    > :nth-child(3):last-child
  ):has(.navigation-flyout-category-image) > * {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
  }
}


/* ==========================================================================
   R. Passwort zurückseten Design
   ========================================================================== */
   
   /* Abstand über der Passwortwiederherstellung */
.account-recover-password {
    padding-top: 32px;
}


/* ==========================================================================
   S. GOTS-Logo
   ========================================================================== */
   
/* Gemeinsame Größen für die zusätzlichen Logos */
.header-main .header-logo-main.kb-header-branding {
    --kb-cert-height: 76px;
    --kb-stack-width: 60px;
    --kb-cert-gap: 8px;
    --kb-stack-gap: 4px;

    position: relative;
    overflow: visible !important;
}

/* Große Desktopansicht: Logogruppe links neben Budke */
.header-main .kb-header-branding > .kb-header-certifications {
    position: absolute;
    right: calc(100% + 36px);
    top: 56%;
    transform: translateY(-60%);

    display: flex;
    align-items: center;
    gap: var(--kb-cert-gap);

    width: max-content;
    height: var(--kb-cert-height);
    line-height: 0;
}

/* IVN oben, Creditreform unten */
.header-main .kb-header-logo-stack {
    display: grid;
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--kb-stack-gap);

    flex: 0 0 var(--kb-stack-width);
    width: var(--kb-stack-width);
    height: 100%;
    min-height: 0;
}

.header-main .kb-header-logo-stack > img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

/* GOTS hat dieselbe Höhe wie der gesamte Zweierstapel */
.header-main .kb-header-certifications > .kb-header-gots {
    position: static;
    display: block;
    flex: 0 0 auto;

    width: auto;
    height: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
    transform: none;
}

.header-main .kb-header-gots > img {
    display: block;
    width: auto;
    height: 100%;
    max-width: none;
    object-fit: contain;
}

/* Smartphones, Tablets und kleinere Desktopansichten */
@media (max-width: 1599px) {
    .header-main .header-logo-main.kb-header-branding {
        --kb-budke-logo-width: 220px;
        --kb-cert-height: 48px;
        --kb-stack-width: 36px;
        --kb-cert-gap: 6px;

        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 12px;

        width: 100%;
        min-width: 0;
    }

    /* Gesamte Logogruppe innerhalb der Logo-Fläche halten */
    .header-main .kb-header-branding > .kb-header-certifications {
        position: static !important;
        top: auto;
        right: auto;
        transform: none !important;

        display: flex !important;
        flex: 0 0 auto;
        align-self: center;

        height: var(--kb-cert-height);
        margin: 0;
        padding: 0;
    }

    /* Budke-Logo kann sich an den verfügbaren Platz anpassen */
    .header-main .kb-header-branding > .header-logo-main-link {
        display: flex !important;
        align-items: center !important;
        justify-content: center;
        align-self: center !important;

        flex: 1 1 var(--kb-budke-logo-width);
        width: auto !important;
        min-width: 0;
        max-width: var(--kb-budke-logo-width) !important;

        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        margin: 0 !important;
        padding: 0 !important;
        line-height: 0;
    }

    .header-main .kb-header-branding
        > .header-logo-main-link picture {
        display: flex !important;
        align-items: center !important;
        justify-content: center;

        width: 100%;
        max-width: 100%;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        margin: 0 !important;
        padding: 0 !important;
        line-height: 0;
    }

    .header-main .kb-header-branding
        > .header-logo-main-link img {
        position: static !important;
        transform: none !important;

        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;

        margin: 0 !important;
        object-fit: contain;
    }
}

/* Breitere Tablets und kleinere Desktopfenster */
@media (min-width: 1200px) and (max-width: 1599px) {
    .header-main .header-logo-main.kb-header-branding {
        --kb-budke-logo-width: 300px;
        --kb-cert-height: 56px;
        --kb-stack-width: 42px;

        gap: 14px;
    }
}

/* Kleine Smartphones */
@media (max-width: 479px) {
    .header-main .header-logo-main.kb-header-branding {
        --kb-cert-height: 38px;
        --kb-stack-width: 30px;
        --kb-cert-gap: 5px;
        --kb-stack-gap: 3px;

        gap: 8px;
    }
}


/* ==========================================================================
   T. Info Button
   ========================================================================== */
   
/* Kontaktbutton */
#kb-contact-widget {
    --kb-contact-color: #9a304e;
    --kb-contact-size: 56px;
    --kb-contact-panel-width: min(330px, calc(100vw - 32px));

    position: fixed;
    right: 90px;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    z-index: 1035;
    width: var(--kb-contact-size);
    max-width: calc(100vw - 32px);
    overflow: hidden;
    border: 0;
    border-radius: 28px;
    background: var(--kb-contact-color);
    color: #fff;
    font-family: inherit;
    box-shadow: 0 5px 22px rgb(0 0 0 / 20%);
    transform-origin: bottom right;
    transition:
        width .24s ease,
        border-radius .24s ease,
        transform .2s ease;
    text-align: center;
    isolation: isolate;
}

#kb-contact-widget,
#kb-contact-widget * {
    box-sizing: border-box;
}

#kb-contact-widget .kb-contact-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    height: var(--kb-contact-size);
    min-height: var(--kb-contact-size);
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
    text-transform: none;
}

#kb-contact-widget .kb-contact-toggle:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -5px;
    border-radius: 26px;
}

#kb-contact-widget .kb-contact-toggle-label {
    max-width: 0;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    white-space: nowrap;
    transition:
        max-width .24s ease,
        opacity .18s ease,
        margin .24s ease;
}

#kb-contact-widget .kb-contact-icon {
    display: grid;
    place-items: center;
    flex: 0 0 var(--kb-contact-size);
    width: var(--kb-contact-size);
    height: var(--kb-contact-size);
}

#kb-contact-widget .kb-contact-icon svg {
    display: block;
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Geschlossen: Telefonhörer */
#kb-contact-widget .kb-contact-icon svg.kb-contact-icon-phone {
    display: block;
}

#kb-contact-widget .kb-contact-icon svg.kb-contact-icon-close {
    display: none;
}

/* Geöffnet: Schließen-Kreuz */
#kb-contact-widget.is-open .kb-contact-icon svg.kb-contact-icon-phone {
    display: none;
}

#kb-contact-widget.is-open .kb-contact-icon svg.kb-contact-icon-close {
    display: block;
}

#kb-contact-widget .kb-contact-panel {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        grid-template-rows .28s ease,
        opacity .2s ease,
        visibility .28s;
}

#kb-contact-widget .kb-contact-panel-inner {
    min-height: 0;
    overflow: hidden;
}

#kb-contact-widget .kb-contact-content {
    width: var(--kb-contact-panel-width);
    padding: 28px 22px 12px;
}

#kb-contact-widget .kb-contact-heading {
    margin: 0;
    padding: 0;
    color: #fff;
    font: inherit;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.4;
    text-transform: uppercase;
}

#kb-contact-widget .kb-contact-divider {
    width: 48px;
    height: 2px;
    margin: 10px auto 25px;
    background: #fff;
}

#kb-contact-widget p {
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: 15px;
    line-height: 1.6;
}

#kb-contact-widget a {
    color: #fff !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#kb-contact-widget a:hover {
    color: #fff !important;
}

#kb-contact-widget a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
    border-radius: 2px;
}

#kb-contact-widget .kb-contact-phone {
    display: inline-block;
    margin: 13px 0 8px;
    color: #fff;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}

#kb-contact-widget .kb-contact-hours {
    font-size: 14px;
}

#kb-contact-widget .kb-contact-form-line {
    margin-top: 25px;
}

#kb-contact-widget .kb-contact-faq-line {
    margin-top: 21px;
}

#kb-contact-widget.is-open {
    width: var(--kb-contact-panel-width);
    border-radius: 20px;
    transform: none;
}

#kb-contact-widget.is-open .kb-contact-panel {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#kb-contact-widget.is-open .kb-contact-toggle-label,
#kb-contact-widget:has(> .kb-contact-toggle:focus-visible)
.kb-contact-toggle-label {
    max-width: 130px;
    margin-left: 18px;
    margin-right: 8px;
    opacity: 1;
}

#kb-contact-widget:has(> .kb-contact-toggle:focus-visible):not(.is-open) {
    width: 158px;
}

/* Hover auf Geräten mit Maus */
@media (hover: hover) and (pointer: fine) {
    #kb-contact-widget:hover:not(.is-open) {
        width: 158px;
        transform: scale(1.035);
    }

    #kb-contact-widget:hover .kb-contact-toggle-label {
        max-width: 130px;
        margin-left: 18px;
        margin-right: 8px;
        opacity: 1;
    }
}

/* Desktop: Nach-oben-Button neben dem Kontaktbutton */
body.kb-contact-widget-enabled .scroll-up-button {
    right: 24px !important;
    bottom: calc(28px + env(safe-area-inset-bottom, 0px)) !important;
}

/* Smartphone: Kontaktbutton übernimmt die Position des Pfeils */
@media (max-width: 767px) {
    #kb-contact-widget {
        right: 16px;
        left: auto;
        bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    }

    body.kb-contact-widget-enabled .scroll-up-button {
        display: none !important;
    }
}

/* Kleine Bildschirmhöhe */
@media (max-height: 480px) {
    #kb-contact-widget.is-open {
        max-height: calc(100dvh - 48px);
        overflow-y: auto;
    }

    #kb-contact-widget .kb-contact-content {
        padding-top: 16px;
    }

    #kb-contact-widget .kb-contact-divider {
        margin-bottom: 12px;
    }

    #kb-contact-widget .kb-contact-form-line,
    #kb-contact-widget .kb-contact-faq-line {
        margin-top: 12px;
    }
}

/* Animation wird ausschließlich per JavaScript ausgelöst */
#kb-contact-widget,
#kb-contact-widget .kb-contact-toggle {
    animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
    #kb-contact-widget,
    #kb-contact-widget * {
        transition: none !important;
        animation: none !important;
    }
}

@media print {
    #kb-contact-widget {
        display: none !important;
    }
}

@media (max-width: 767px) {
    #kb-contact-widget {
        right: 35px;
        bottom: calc(43px + env(safe-area-inset-bottom, 0px));
    }
}

/* ==========================================================================
   U. Faslches Passwort Meldung
   ========================================================================== */
   
 /* Zusatzhinweis unter dem ursprünglichen Fehlertext */
body .alert.alert-danger .kb-login-reset-hint {
    display: block !important;
    clear: both;
    width: 100%;
    min-width: 0;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid currentColor;
    line-height: 1.6;
}

body .alert.alert-danger .kb-login-reset-hint p {
    display: block !important;
    margin: 0;
}

/* „hier“ / „here“ direkt im Fließtext */
body .alert.alert-danger .kb-login-reset-hint a,
body .alert.alert-danger .kb-login-reset-hint a:visited {
    display: inline;
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body .alert.alert-danger .kb-login-reset-hint a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

/* Originaltext und Zusatz untereinander */
body .alert.alert-danger :has(> .kb-login-reset-hint) {
    display: block !important;
}

/* Warnsymbol links, Text rechts */
body .alert.alert-danger:has(.kb-login-reset-hint) {
    display: grid !important;
    grid-template-columns: 22px minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
}

body .alert.alert-danger:has(.kb-login-reset-hint) > .icon {
    grid-column: 1;
    grid-row: 1;
    margin: 3px 0 0 !important;
}

body .alert.alert-danger:has(.kb-login-reset-hint) > :not(.icon) {
    grid-column: 2;
    min-width: 0;
}

/* ==========================================================================
   O. Alte Bestellungen Hinweis
   ========================================================================== */
   
   #kb-order-history-note {
    box-sizing: border-box;
    width: 100%;
    margin: 32px 0 12px;
    padding: 20px 0 0;
    border-top: 1px solid #e3e3e3;
    color: inherit;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.6;
}

#kb-order-history-note h2 {
    margin: 0 0 8px;
    color: inherit;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

#kb-order-history-note p {
    max-width: 85ch;
    margin: 0;
    font: inherit;
}

#kb-order-history-note a,
#kb-order-history-note a:visited {
    color: #9a304e;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#kb-order-history-note a:hover {
    color: #7d2640;
}

#kb-order-history-note a:focus-visible {
    outline: 2px solid #9a304e;
    outline-offset: 3px;
    border-radius: 2px;
}

@media (max-width: 767px) {
    #kb-order-history-note {
        margin-top: 24px;
        padding-top: 16px;
    }
}

/* Abstand nur in der Kontoübersicht verkleinern */
.account-content-main:has(.account-overview) #kb-order-history-note {
    margin-top: -40px;
}


/* ==========================================================================
   W. Mobile Version seitlich begrenzen
   ========================================================================== */

/* Mobil: seitliches Verschieben der gesamten Seite verhindern */
@media (max-width: 767px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Moderne Browser: ohne zusätzlichen Scrollcontainer */
    @supports (overflow-x: clip) {
        html,
        body {
            overflow-x: clip;
        }
    }
}


/* ==========================================================================
   X. Mobile Menu Config
   ========================================================================== */

/* Mobiles Menü: Kategoriename und Pfeil als getrennte Klickbereiche */
@media (max-width: 767px) {
    .navigation-offcanvas
    .navigation-offcanvas-list-item
    > a.navigation-offcanvas-link.js-navigation-offcanvas-link[data-href]:not(.is-back-link):not(.is-home-link) {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .navigation-offcanvas
    .navigation-offcanvas-list-item
    > a.navigation-offcanvas-link.js-navigation-offcanvas-link[data-href]
    > .nav-link-name {
        flex: 1 1 auto;
        min-width: 0;
    }

    /* Größere Trefferfläche für den vorhandenen Pfeil */
    .navigation-offcanvas
    .navigation-offcanvas-list-item
    > a.navigation-offcanvas-link.js-navigation-offcanvas-link[data-href]:not(.is-back-link):not(.is-home-link)
    > .navigation-offcanvas-link-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 44px;
        width: 44px;
        min-height: 44px;
        margin-left: auto;
        cursor: pointer;
    }
}
@media (max-width: 767px) {
    .navigation-offcanvas .navigation-offcanvas-link {
        font-size: calc(1rem + 1px);
    }
}
/* Mobil: Kategorien mit Pfeil auf die normale Zeilenhöhe reduzieren */
@media (max-width: 767px) {
    .navigation-offcanvas
    .navigation-offcanvas-list-item
    > a.navigation-offcanvas-link.js-navigation-offcanvas-link[data-href]:not(.is-back-link):not(.is-home-link)
    > .navigation-offcanvas-link-icon {
        min-height: 0;
        height: auto;
        align-self: stretch;
    }
}











@media (min-width: 992px) {
    header.header-main {
        position: sticky !important;
        top: -200px !important;   /* dein gemessener Wert */
        transform: none !important;
        transition: top 0.3s ease !important;
        z-index: 1000;
    }

    /* Beim Hochscrollen: kompletter Header sichtbar */
    header.header-main.show-full {
        top: 0 !important;
    }
}
@media (min-width: 992px) {
    header.header-main {
        background-color: #ffffff !important;
    }
}