/* ═══════════════════════════════════════════════════════
   LOVEIFY v3 – Single-Row Header, Dreamlove Mega Menu
   Logo left | Nav center | Icons right – all in 115px
   ═══════════════════════════════════════════════════════ */

:root {
    --loveify-primary: #b71361;
    --loveify-primary-rgb: 183,19,97;
    --loveify-black: #000;
    --loveify-white: #fff;
    --loveify-g100: #f5f5f5;
    --loveify-g400: #a0a0a0;
    --loveify-g600: #505050;
    --loveify-g700: #333;
    --loveify-g800: #1a1a1a;
    --loveify-g900: #111;
    --loveify-header-h: 115px;
    --loveify-t: .25s cubic-bezier(.4,0,.2,1);
    --loveify-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

/* ═══════════════════════════════════════════════════════
   GLOBAL: Wort-Umbruch-Verhalten (v5.43.68)
   - Keine automatische Silbentrennung mitten im Wort
     (kein "VERPA-CKUNG", "VER-SAND" etc.)
   - Wörter rutschen als Ganzes in die nächste Zeile
   - Extrem lange Strings (URLs, Codes ohne Whitespace)
     werden weiter gebrochen, damit sie nicht aus dem
     Container ragen — das ist overflow-wrap: break-word
   - !important schlägt Theme- (Astra/Elementor) und
     WooCommerce-Defaults
   ═══════════════════════════════════════════════════════ */
html, body, body *,
.elementor *, .woocommerce *, .e-con * {
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
    -ms-hyphens: none !important;
    hyphens: none !important;
    word-break: normal !important;
    overflow-wrap: break-word;
}
/* Spezielle Ausnahmen für Adress-/URL-Boxen, wo lange Links
   bewusst hart umgebrochen werden müssen, behalten ihre
   eigenen Regeln über höhere Spezifität in loveify-pages.css */

/* ─── GLOBAL BRAND FONT (Inter) ───
   Überschreibt Theme-Defaults (Astra, Roboto etc.). !important +
   höhere Spezifität via body[class][class] um Theme-Class-Regeln
   (z.B. .entry-title, .elementor-widget-heading-title) zu schlagen. */
html body[class][class],
html body[class][class] h1,
html body[class][class] h2,
html body[class][class] h3,
html body[class][class] h4,
html body[class][class] h5,
html body[class][class] h6,
html body[class][class] p,
html body[class][class] a,
html body[class][class] span,
html body[class][class] li,
html body[class][class] td,
html body[class][class] th,
html body[class][class] label,
html body[class][class] input,
html body[class][class] select,
html body[class][class] textarea,
html body[class][class] button,
html body[class][class] blockquote,
html body[class][class] cite {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif !important;
}
/* Icon-Webfonts NICHT überschreiben (FontAwesome, Dashicons, Material, Elementor-Icons) */
html body .fa, html body .fas, html body .far, html body .fab,
html body .fal, html body .fad,
html body [class^="fa-"], html body [class*=" fa-"],
html body .dashicons, html body .dashicons-before::before,
html body .material-icons, html body [class*="material-icons"],
html body [class^="eicon-"], html body [class*=" eicon-"] {
    font-family: revert !important;
}

/* Hide theme skip links */
.skip-link, a.skip-link, a[href="#content"], a[href="#footer"], a[href*="skip"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

*,*::before,*::after{box-sizing:border-box}

body.loveify-custom-header {
    padding-top: var(--loveify-header-h) !important;
}

/* ─── HEADER ─────────────────────────────────────────── */
#loveify-header-wrapper {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 999999;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    transition: transform 0.3s ease;
}

#loveify-header-wrapper.loveify-header-hidden {
    transform: translateY(-100%);
}

.admin-bar #loveify-header-wrapper { top: 32px; }
.admin-bar #loveify-header-wrapper.loveify-header-hidden { transform: translateY(calc(-100% - 32px)); }
@media(max-width:782px){ 
    .admin-bar #loveify-header-wrapper { top: 46px; } 
    .admin-bar #loveify-header-wrapper.loveify-header-hidden { transform: translateY(calc(-100% - 46px)); }
}

#loveify-header {
    background: var(--loveify-black);
    height: var(--loveify-header-h);
    border-bottom: 3px solid var(--loveify-primary);
}

/* ──────────────────────────────────────────────────────────
   SONNTAG-STYLE HEADER (v5.37.33+) — zwei farbige Hälften
   ──────────────────────────────────────────────────────────
   Linke Hälfte: schwarzer Brand-Bereich mit Logo + Tagline.
   Rechte Hälfte: pinker Action-Bereich mit Hamburger + Icons.
   Beide Hälften sind exakt 50/50 außer auf Mobile (Logo schmäler).
*/
.loveify-h-split {
    display: flex !important;
    align-items: stretch !important;
    height: var(--loveify-header-h) !important;
    border-bottom: none !important;
    padding: 0 !important;
}
.loveify-h-brand {
    flex: 1 1 auto; /* Brand-Bereich nimmt den restlichen Platz neben der
                       fix-breiten Action-Spalte (25vw) ein. */
    background: var(--loveify-black);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 28px 0 40px;
    text-decoration: none !important;
    color: #fff;
    transition: opacity .2s;
}
.loveify-h-brand:hover { opacity: .92; }
.loveify-h-brand .loveify-logo-img {
    height: 54px !important;
    max-height: 54px !important;
    width: auto !important;
    max-width: 200px !important;
    display: block;
}
.loveify-h-brand .loveify-logo-text {
    font-size: 28px; font-weight: 800; letter-spacing: 4px;
    color: #fff; text-transform: uppercase;
}
.loveify-h-tagline {
    color: rgba(255,255,255,.55);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .3px;
    border-left: 1px solid rgba(255,255,255,.18);
    padding-left: 16px;
    margin-left: 4px;
}
.loveify-h-brand .loveify-h-tagline-img,
.loveify-h-tagline-img {
    height: 45px !important;
    max-height: 45px !important;
    width: auto !important;
    max-width: 240px !important;
    min-width: 0 !important;
    display: block !important;
    object-fit: contain !important;
    border-left: 1px solid rgba(255,255,255,.18);
    padding-left: 16px;
    margin-left: 4px;
    box-sizing: content-box !important;
    flex: 0 0 auto !important;
}

.loveify-h-actions {
    /* Breite IDENTISCH mit dem Mega-Panel (.loveify-mp) — damit der pinke
       Header-Streifen exakt da endet, wo das Menü beim Auffahren beginnt. */
    flex: 0 0 25vw;
    width: 25vw;
    max-width: 480px;
    min-width: 380px;
    background: var(--loveify-primary);
    display: flex;
    align-items: center;
    /* Icons gleichmäßig im pinken Bereich verteilen — gleicher Abstand
       zwischen jedem Element UND zu den Rändern. */
    justify-content: space-evenly;
    gap: 0;
    padding: 0 8px;
}

/* Hamburger-Button "≡ Menü" */
.loveify-h-menu-btn {
    background: transparent !important;
    border: 0 !important;
    color: #fff !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    font: inherit;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: .2px;
    transition: opacity .15s;
    visibility: visible !important;
    opacity: 1 !important;
}
.loveify-h-menu-btn:hover,
.loveify-h-menu-btn:focus,
.loveify-h-menu-btn:active,
.loveify-h-menu-btn:visited {
    color: #000 !important;
    opacity: 1 !important;
}
.loveify-h-menu-btn:hover .loveify-h-menu-icon span,
.loveify-h-menu-btn:focus .loveify-h-menu-icon span {
    background: #000 !important;
}
.loveify-h-menu-icon {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
}
.loveify-h-menu-icon span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 0;
    transition: transform .2s, opacity .2s;
}
.loveify-h-menu-label { line-height: 1; }

/* Icons (Suche / Konto / Warenkorb) */
.loveify-h-icon-btn {
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none !important;
    transition: opacity .15s;
}
.loveify-h-icon-btn:hover,
.loveify-h-icon-btn:focus,
.loveify-h-icon-btn:active,
.loveify-h-icon-btn:visited {
    color: #000 !important;
    opacity: 1 !important;
}
.loveify-h-icon-btn:hover svg,
.loveify-h-icon-btn:focus svg {
    stroke: #000 !important;
    color: #000 !important;
}
/* Cart-Counter beim Hover invertieren — Bubble wird schwarz, Zahl weiß */
.loveify-h-cart:hover .loveify-cart-count,
.loveify-h-cart:focus .loveify-cart-count {
    background: #000 !important;
    color: #fff !important;
}
.loveify-h-cart .loveify-cart-count {
    position: absolute;
    top: 6px; right: 4px;
    background: #fff;
    color: var(--loveify-primary);
    border-radius: 50%;
    min-width: 18px; height: 18px;
    font-size: 11px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 5px;
    line-height: 1;
}

/* Mobile-Anpassungen: Brand schmäler, Actions kompakter */
@media (max-width: 900px) {
    .loveify-h-brand { padding: 0 16px 0 20px; flex: 1 1 auto; }
    .loveify-h-brand .loveify-logo-img { height: 40px !important; max-height: 40px !important; }
    .loveify-h-tagline,
    .loveify-h-tagline-img,
    .loveify-h-brand .loveify-h-tagline-img { display: none !important; }
    .loveify-h-actions {
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        padding: 0 14px;
        gap: 0;
    }
    .loveify-h-menu-btn { padding: 12px 12px; gap: 10px; font-size: 15px; margin-right: 0; }
    .loveify-h-icon-btn { width: 40px; height: 40px; }
}
@media (max-width: 480px) {
    .loveify-h-menu-label { display: none; }
    .loveify-h-brand .loveify-logo-img { height: 32px !important; max-height: 32px !important; }
}

.loveify-header-inner {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 20px;
}

/* Logo */
.loveify-logo {
    text-decoration: none !important;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.loveify-logo-img {
    height: 55px !important;
    max-height: 55px !important;
    width: auto !important;
    max-width: 200px !important;
    object-fit: contain !important;
    display: block;
    padding: 0 !important; margin: 0 !important;
    border: none !important; box-shadow: none !important;
}

.loveify-logo-img-sm {
    height: 36px !important;
    max-height: 36px !important;
    max-width: 150px !important;
}

.loveify-logo-text {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--loveify-white);
    text-transform: uppercase;
}

.loveify-logo:hover .loveify-logo-img { opacity: .85; }
.loveify-logo:hover .loveify-logo-text { color: var(--loveify-primary); }

/* ─── NAVIGATION (center of header) ──────────────────── */
.loveify-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.loveify-nav-list {
    display: flex;
    list-style: none;
    margin: 0; padding: 0;
    gap: 0;
    align-items: center;
    flex-wrap: nowrap;
}

.loveify-nav-item { position: relative; flex-shrink: 0; }

.loveify-nav-item > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 14px;
    height: var(--loveify-header-h);
    color: rgba(255,255,255,.8);
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .3px;
    white-space: nowrap;
    transition: color var(--loveify-t);
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
}

.loveify-nav-item > a:hover,
.loveify-nav-item:hover > a {
    color: var(--loveify-primary);
    border-bottom-color: var(--loveify-white);
}

.loveify-nav-home > a {
    padding: 0 12px 0 8px;
    color: rgba(255,255,255,.7);
}
.loveify-nav-home > a:hover {
    color: var(--loveify-primary);
}

.loveify-chev {
    transition: transform var(--loveify-t);
    opacity: .5;
    margin-left: 2px;
}

.loveify-nav-item:hover .loveify-chev {
    transform: rotate(180deg);
    opacity: 1;
}

/* ─── ICONS ──────────────────────────────────────────── */
.loveify-header-icons {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.loveify-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    color: var(--loveify-white);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all var(--loveify-t);
    text-decoration: none !important;
    position: relative;
}

.loveify-icon-btn:hover { background: rgba(255,255,255,.1); color: var(--loveify-primary); }

.loveify-cart-count {
    position: absolute; top: 2px; right: 2px;
    background: var(--loveify-primary);
    color: #fff; font-size: 10px; font-weight: 700;
    width: 18px; height: 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

/* Hamburger: HIDDEN on desktop */
#loveify-header .loveify-hamburger { display: none !important; }

.loveify-hamburger {
    flex-direction: column; gap: 5px;
    padding: 10px; cursor: pointer;
}

.loveify-hamburger span {
    display: block; width: 22px; height: 2px;
    background: #fff; transition: all var(--loveify-t); border-radius: 0;
}

.loveify-hamburger.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.loveify-hamburger.active span:nth-child(2){opacity:0}
.loveify-hamburger.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}


/* ─── MEGA MENU ──────────────────────────────────────── */
.loveify-mega {
    position: fixed;
    top: var(--loveify-header-h);
    left: 0; right: 0;
    background: var(--loveify-white);
    border-top: 1px solid #eee;
    box-shadow: 0 12px 40px rgba(0,0,0,.1);
    opacity: 0; visibility: hidden;
    transform: translateY(-4px);
    transition: all .2s ease;
    z-index: 999998;
    max-height: 70vh;
    overflow-y: auto;
}

.admin-bar .loveify-mega { top: calc(var(--loveify-header-h) + 32px); }
@media(max-width:782px){ .admin-bar .loveify-mega { top: calc(var(--loveify-header-h) + 46px); } }

.loveify-nav-item:hover > .loveify-mega {
    opacity: 1; visibility: visible; transform: translateY(0);
}

/* Horizontal flow: CSS columns so content goes WIDTH first */
.loveify-mega-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px 30px 28px;
    column-count: 5;
    column-gap: 28px;
    column-fill: balance;
}

.loveify-mega-group {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 16px;
    display: inline-block;
    width: 100%;
}

.loveify-mega-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--loveify-primary);
    text-decoration: none !important;
    margin-bottom: 5px;
    padding-bottom: 3px;
    transition: color var(--loveify-t);
}

.loveify-mega-title:hover { color: var(--loveify-black); }

.loveify-mega-link {
    display: block;
    padding: 2px 0;
    color: var(--loveify-g600);
    text-decoration: none !important;
    font-size: 13px;
    line-height: 1.6;
    transition: color var(--loveify-t);
}

.loveify-mega-link:hover { color: var(--loveify-primary); }

/* Brands Mega Menu - Grid Layout */
.loveify-mega-brands .loveify-mega-inner {
    padding: 20px 30px;
    column-count: unset;
    column-gap: unset;
}
.loveify-brands-mega-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}
.loveify-brand-mega-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    background: var(--loveify-g100);
    border: 1px solid var(--loveify-g200);
    text-decoration: none !important;
    transition: all .2s;
    min-height: 80px;
    text-align: center;
}
.loveify-brand-mega-item:hover {
    border-color: var(--loveify-primary);
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.loveify-brand-mega-item.featured {
    border-color: var(--loveify-primary);
    background: linear-gradient(135deg, #fff 0%, #fdf2f8 100%);
}
.loveify-brand-mega-item img {
    max-width: 80px;
    max-height: 32px;
    object-fit: contain;
    margin-bottom: 6px;
}
.loveify-brand-mega-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--loveify-black);
    text-transform: uppercase;
    letter-spacing: .3px;
    line-height: 1.3;
}
.loveify-brand-mega-count {
    font-size: 10px;
    color: var(--loveify-g500);
    margin-top: 4px;
}
.loveify-mega-footer {
    background: var(--loveify-g100);
    padding: 12px 30px;
    text-align: center;
    border-top: 1px solid var(--loveify-g200);
}
.loveify-mega-all {
    font-size: 13px;
    font-weight: 700;
    color: var(--loveify-primary) !important;
    text-decoration: none;
}
.loveify-mega-all:hover {
    text-decoration: underline !important;
}


/* ─── SEARCH OVERLAY ─────────────────────────────────── */
.loveify-search-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.92);
    backdrop-filter: blur(20px);
    z-index: 9999999;
    display: none;
    align-items: flex-start; justify-content: center;
    padding-top: 20vh;
}

.loveify-search-overlay.active { display: flex; }

.loveify-search-inner { width: 100%; max-width: 700px; padding: 0 30px; position: relative; }

.loveify-search-inner form {
    display: flex; align-items: center;
    border-bottom: 2px solid rgba(255,255,255,.3);
}

.loveify-search-inner form:focus-within { border-color: var(--loveify-primary); }

.loveify-search-input {
    flex: 1;
    background: transparent !important; border: none !important;
    outline: none !important; color: #fff !important;
    font-size: 28px !important; font-weight: 300 !important;
    padding: 16px 0 !important; box-shadow: none !important;
}

.loveify-search-input::placeholder { color: rgba(255,255,255,.4); }

.loveify-search-submit { background: var(--loveify-primary, #B61261) !important; border: none !important; color: #fff !important; cursor: pointer; padding: 12px 24px !important; border-radius: 0 !important; }
.loveify-search-submit:hover { background: var(--loveify-primary-hover, #d6357d) !important; color: #fff !important; }

.loveify-search-close {
    position: absolute; top: -80px; right: 30px;
    background: none; border: none; color: rgba(255,255,255,.5);
    cursor: pointer; padding: 10px;
}

.loveify-search-close:hover { color: var(--loveify-primary); transform: rotate(90deg); }


/* ─── MOBILE MENU ────────────────────────────────────── */
.loveify-mobile-menu {
    position: fixed; inset: 0;
    width: 100%;
    height: 100vh; height: 100dvh;
    background: #111;
    z-index: 99999999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: none;
}

.loveify-mobile-menu.active { display: block; }
.loveify-mobile-inner { padding: 24px 30px 40px; max-width: 500px; }
/* Ensure all interactive elements in mobile menu are clickable */
.loveify-mobile-menu.active a,
.loveify-mobile-menu.active button,
.loveify-mobile-menu.active input,
.loveify-mobile-menu.active select {
    pointer-events: auto !important;
    cursor: pointer !important;
}

.loveify-mobile-head {
    display: flex; justify-content: space-between; align-items: center;
    padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.1);
    margin-bottom: 15px;
}

.loveify-mobile-close { background: none; border: none; color: rgba(255,255,255,.6); cursor: pointer; pointer-events: auto; }
.loveify-mobile-close:hover { color: var(--loveify-primary); }

.loveify-mobile-nav { list-style: none; margin: 0; padding: 0; }

.loveify-mob-item {
    border-bottom: 1px solid rgba(255,255,255,.06);
    position: relative;
}

.loveify-mob-item > a {
    display: block; padding: 14px 50px 14px 0;
    color: #fff; text-decoration: none !important;
    font-size: 14px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .5px;
    transition: color var(--loveify-t);
    position: relative;
    z-index: 1;
    pointer-events: auto;
    cursor: pointer;
}

.loveify-mob-item > a:hover { color: var(--loveify-primary); }

.loveify-mob-toggle {
    position: absolute; top: 8px; right: 0;
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 0; color: #fff; cursor: pointer;
    transition: all var(--loveify-t);
    z-index: 2;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
}

.loveify-mob-toggle:hover { background: var(--loveify-primary); border-color: var(--loveify-primary); }
.loveify-mob-toggle.active svg { transform: rotate(45deg); }

.loveify-mob-sub { display: none; list-style: none; margin: 0; padding: 0 0 12px 12px; }
.loveify-mob-sub.active { display: block; }

.loveify-mob-heading {
    display: block; padding: 8px 0 3px;
    color: var(--loveify-primary) !important;
    text-decoration: none !important;
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .3px;
}

.loveify-mob-sub ul { list-style: none; margin: 0; padding: 0 0 0 10px; }
.loveify-mob-sub ul li a {
    display: block; padding: 5px 0;
    color: rgba(255,255,255,.6); text-decoration: none !important;
    font-size: 13px;
}
.loveify-mob-sub ul li a:hover { color: var(--loveify-primary); }

.loveify-mobile-backdrop {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.8);
    z-index: 99999998;
    display: none;
}
.loveify-mobile-backdrop.active { display: block; }

/* ─── Mobile Account Navigation ─── */
.loveify-mob-account-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0 16px;
    color: var(--loveify-primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,.1);
    margin-bottom: 10px;
}

.loveify-mob-account-header svg { stroke: var(--loveify-primary); }

.loveify-mobile-nav-account .loveify-mob-item > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
}

.loveify-mob-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: .6;
}

.loveify-mob-icon svg {
    width: 18px;
    height: 18px;
}

.loveify-mobile-nav-account .loveify-mob-item.active > a {
    color: var(--loveify-primary);
}

.loveify-mobile-nav-account .loveify-mob-item.active .loveify-mob-icon {
    opacity: 1;
}

.loveify-mobile-nav-account .loveify-mob-item.active .loveify-mob-icon svg {
    stroke: var(--loveify-primary);
}

.loveify-mob-divider {
    height: 1px;
    background: rgba(255,255,255,.1);
    margin: 16px 0;
}

.loveify-mob-item-account {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,.1);
}


/* ─── FOOTER ─────────────────────────────────────────── */
/* ═══════════════════════════════════════════════════════
   FOOTER — Sphere Style
   ═══════════════════════════════════════════════════════ */
.loveify-footer {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background: #000;
    color: rgba(255,255,255,.7);
    line-height: 1.6;
}

.loveify-footer a { color: rgba(255,255,255,.7); text-decoration: none !important; transition: color var(--loveify-t); }
.loveify-footer a:hover { color: #fff; }

.loveify-fc { max-width: 1440px; margin: 0 auto; padding: 0 30px; }

.loveify-f-h {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 22px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

/* ─── TOP GRID: Trust | Shop | Service | Rechtliches ─── */
.loveify-footer-top { padding: 56px 0 48px; }
.loveify-footer-toprow {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    align-items: start;
}
/* Wenn Trust-Spalte fehlt: 3 gleiche Spalten */
.loveify-footer-toprow:not(.has-trust) {
    grid-template-columns: repeat(3, 1fr);
}
/* Hotline kommt als Extra-Spalte (selten genutzt) */
.loveify-footer-toprow.has-hotline {
    grid-template-columns: repeat(5, 1fr);
    gap: 36px;
}
.loveify-footer-toprow.has-trust.has-hotline {
    grid-template-columns: 1.1fr repeat(4, 1fr);
    gap: 32px;
}

/* ─── NEWSLETTER BAND ─── */
.loveify-footer-nl-band {
    background: linear-gradient(180deg, #0a0a0a 0%, #000 100%);
    padding: 36px 0;
}
.loveify-footer-nl-band__inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: center;
}
.loveify-footer-nl-band__intro {}
.loveify-footer-nl-band__title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.loveify-footer-nl-band__desc {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    margin: 0;
    line-height: 1.55;
    max-width: 460px;
}
.loveify-footer-nl-band__form-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
@media (max-width: 960px) {
    .loveify-footer-nl-band { padding: 28px 0; }
    .loveify-footer-nl-band__inner { grid-template-columns: 1fr; gap: 18px; }
}

/* ─── PAYMENTS BAND ─── */
.loveify-footer-payments-band {
    background: #050505;
    padding: 28px 0;
}
.loveify-footer-payments-band .loveify-fc {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 30px;
}
.loveify-footer-payments-band__title {
    font-size: 11px;
    font-weight: 800;
    color: rgba(255,255,255,0.55);
    margin: 0;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
}
.loveify-footer-payments-band .loveify-f-pay-grid {
    display: flex !important;
    grid-template-columns: none !important;
    max-width: none !important;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
}
.loveify-footer-payments-band .loveify-f-pay-badge {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    aspect-ratio: auto !important;
    flex: 0 0 auto;
}
.loveify-footer-payments-band .loveify-f-pay-badge svg {
    width: 50px !important;
    height: 30px !important;
    display: block;
}
@media (max-width: 640px) {
    .loveify-footer-payments-band { padding: 22px 0; }
    .loveify-footer-payments-band .loveify-fc { gap: 12px; padding: 0 16px; }
    .loveify-footer-payments-band .loveify-f-pay-badge svg {
        width: 44px !important;
        height: 26px !important;
    }
}

/* Trust-Spalte */
.loveify-f-trust { font-size: 14px; }
.loveify-f-trust-list { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.loveify-f-trust-list li { margin: 0; }
.loveify-f-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,.85);
    text-decoration: none !important;
    line-height: 1.4;
    transition: color .15s;
}
a.loveify-f-trust-item:hover { color: #fff; }
a.loveify-f-trust-item:hover .loveify-f-trust-icon { color: var(--loveify-primary, #c81e6d); }
.loveify-f-trust-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--loveify-primary, #c81e6d);
    transition: color .15s;
}
.loveify-f-trust-icon svg { display: block; }
.loveify-f-trust-label { font-weight: 500; }
.loveify-f-trust-address {
    margin: 24px 0 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.1);
    font-style: normal;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255,255,255,.55);
}
.loveify-f-trust-address strong { color: rgba(255,255,255,.8); }

.loveify-f-col ul { list-style: none; margin: 0; padding: 0; }
.loveify-f-col ul li { margin: 0 0 12px; }
.loveify-f-col ul li a { font-size: 14px; }

/* Zahlungsarten-Badges */
.loveify-f-pay-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-width: 200px;
}
.loveify-f-pay-badge {
    display: block;
    width: 100%;
    aspect-ratio: 50 / 30;
    box-shadow: 0 1px 3px rgba(0,0,0,.18);
    border-radius: 0;
    overflow: hidden;
    transition: transform .15s;
}
.loveify-f-pay-badge:hover { transform: translateY(-1px); }
.loveify-f-pay-badge svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Newsletter */
.loveify-f-newsletter { max-width: 460px; }
.loveify-f-nl-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,.55);
    margin: 0 0 24px;
}
.loveify-f-nl-form {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 0;
    overflow: hidden;
    transition: border-color var(--loveify-t);
}
.loveify-f-nl-form:focus-within { border-color: rgba(255,255,255,.3); }
.loveify-f-nl-icon {
    display: flex; align-items: center; justify-content: center;
    width: 44px; flex-shrink: 0;
    color: rgba(255,255,255,.5);
}
.loveify-f-nl-input {
    flex: 1;
    padding: 14px 4px !important;
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    font-size: 14px !important;
    outline: none !important;
    box-shadow: none !important;
}
.loveify-f-nl-input::placeholder { color: rgba(255,255,255,.4); }
.loveify-f-nl-btn {
    width: 44px !important;
    height: 44px !important;
    margin: 4px;
    flex-shrink: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.1) !important;
    border: none !important;
    border-radius: 0 !important;
    color: #fff !important;
    cursor: pointer;
    transition: background var(--loveify-t);
    /* SVG inside should always render */
    line-height: 1;
    padding: 0 !important;
}
.loveify-f-nl-btn svg { display: block; }
.loveify-f-nl-btn:hover { background: var(--loveify-primary) !important; }

/* Newsletter Status-Message (Erfolg/Fehler) */
.loveify-f-nl-msg {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255,255,255,.7);
    min-height: 1em;
}
.loveify-f-nl-msg.is-success { color: #6ee7b7; }
.loveify-f-nl-msg.is-error { color: #fca5a5; }
.loveify-f-nl-form.is-loading { opacity: .6; pointer-events: none; }

/* Datenschutz-Checkbox unter dem Newsletter-Form (DSGVO-Pflicht).
   Custom-Styling weil Default-Checkboxen im dunklen Footer kaum
   sichtbar sind. Verwendet accent-color für die moderne Variante
   (alle aktuellen Browser), fällt sonst auf System-Default zurück. */
.loveify-f-nl-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.55;
    color: rgba(255,255,255,.6);
    cursor: pointer;
}
.loveify-f-nl-consent input[type="checkbox"] {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin: 2px 0 0 0;
    accent-color: var(--loveify-primary);
    cursor: pointer;
}
.loveify-f-nl-consent a {
    color: rgba(255,255,255,.85) !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
}
.loveify-f-nl-consent a:hover {
    color: #fff !important;
}
.loveify-f-nl-consent.is-required-error {
    color: #fca5a5;
}
.loveify-f-nl-consent.is-required-error input[type="checkbox"] {
    outline: 2px solid #fca5a5;
    outline-offset: 2px;
    border-radius: 0;
}

/* WordPress Emoji-Bilder (img.wpemoji / img.emoji) sind im Footer auf
   1em-Größe begrenzt — das Theme rendert sonst Emojis aus z.B. einer
   Erfolgsmeldung wie ein gigantisches Hero-Image (siehe Bug v5.37.23). */
#loveify-footer img.wpemoji,
#loveify-footer img.emoji {
    width: 1em !important;
    height: 1em !important;
    max-width: 1em !important;
    max-height: 1em !important;
    display: inline-block !important;
    vertical-align: -0.15em !important;
    margin: 0 .05em !important;
    border: 0 !important;
    box-shadow: none !important;
    background: none !important;
    padding: 0 !important;
}

/* Hotline */
.loveify-f-hotline-intro {
    font-size: 14px;
    color: rgba(255,255,255,.6);
    margin: 0 0 14px;
}
.loveify-f-hotline-phone {
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    color: #fff !important;
    text-decoration: underline !important;
    text-underline-offset: 4px;
    margin-bottom: 6px;
}
.loveify-f-hotline-phone:hover { color: var(--loveify-primary) !important; }
.loveify-f-hotline-hours {
    font-size: 13px;
    color: rgba(255,255,255,.5);
    margin: 0 0 18px;
}
.loveify-f-hotline-contact {
    font-size: 13px;
    color: rgba(255,255,255,.6);
    margin: 0;
}
.loveify-f-hotline-contact a {
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

/* Optionale Custom Footer Spalte */
.loveify-footer-custom {
    padding: 0 0 60px;
}
.loveify-f-custom-inner { max-width: 320px; }
.loveify-f-custom-text {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255,255,255,.5);
    margin: 0;
}

/* Brand zentriert */
.loveify-footer-brand {
    padding: 40px 0;
    text-align: center;
}
.loveify-f-brand-link {
    display: inline-block;
    color: #fff !important;
    opacity: .9;
    transition: opacity var(--loveify-t);
}
.loveify-f-brand-link:hover { opacity: 1; }
.loveify-f-brand-img {
    height: 36px !important;
    width: auto !important;
    max-width: none !important;
    max-height: 36px !important;
    display: block;
    margin: 0 auto;
}
.loveify-f-brand-text {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 4px;
    color: #fff;
}
/* Slogan-Bild als Mobile-Alternative — default verstecken (Desktop sieht Logo) */
.loveify-f-brand-slogan-mobile {
    display: none !important;
}

/* Social zentriert */
.loveify-footer-social { padding: 8px 0 24px; }
.loveify-socials {
    display: flex;
    justify-content: center;
    gap: 22px;
}
.loveify-socials a {
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.55);
    transition: color var(--loveify-t), transform var(--loveify-t);
}
.loveify-socials a:hover { color: #fff; transform: translateY(-2px); }

/* Payment Icons zentriert */
.loveify-footer-pay { padding: 16px 0 32px; }
.loveify-pay-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.loveify-pay-icon {
    display: inline-flex;
    border-radius: 0;
    overflow: hidden;
    background: #fff;
    height: 28px;
}
.loveify-pay-icon img {
    height: 28px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Entsorgung-Zeile */
.loveify-footer-entsorgung {
    padding: 18px 0;
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,.4);
}
.loveify-footer-entsorgung a {
    color: rgba(255,255,255,.5);
    font-size: 12px;
}
.loveify-footer-entsorgung a:hover { color: rgba(255,255,255,.85); }
.loveify-f-entsorgung-label {
    font-weight: 600;
    margin-right: 8px;
    color: rgba(255,255,255,.55);
}
.loveify-f-sep {
    margin: 0 8px;
    color: rgba(255,255,255,.2);
}

/* Bottom Bar */
.loveify-footer-bottom {
    padding: 22px 0;
}
.loveify-fb-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    text-align: center;
}
.loveify-fb-copy {
    font-size: 13px;
    color: rgba(255,255,255,.45);
    text-align: center;
    width: 100%;
}
.loveify-fb-legal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}
.loveify-fb-legal a {
    font-size: 13px;
    color: rgba(255,255,255,.55);
    padding: 0 4px;
}
.loveify-fb-legal a:hover { color: #fff; }

/* 18+ Disclaimer */
.loveify-footer-disc {
    padding: 14px 0;
    border-top: 1px solid rgba(255,255,255,.06);
    background: rgba(255,255,255,.02);
}
.loveify-footer-disc p {
    font-size: 11px;
    color: rgba(255,255,255,.3);
    margin: 0;
    text-align: center;
}


/* ─── RESPONSIVE ─────────────────────────────────────── */
@media(max-width:1200px){
    .loveify-mega-inner { column-count: 4; }
    .loveify-nav-item > a { padding: 0 10px; font-size: 12px; }
    /* Footer: Newsletter über volle Breite, dann 3 Spalten darunter */
    .loveify-footer-toprow,
    .loveify-footer-toprow.has-hotline {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 40px;
    }
    .loveify-f-newsletter {
        grid-column: 1 / -1;
        max-width: 600px;
        margin-bottom: 20px;
    }
    /* Payments-Spalte bei kleineren Bildschirmen rechts neben Service-Spalte */
    .loveify-f-col--payments { grid-column: span 1; }
}

@media(max-width:992px){
    :root { --loveify-header-h: 70px; }

    .loveify-nav { display: none !important; }
    #loveify-header .loveify-hamburger { display: flex !important; }

    .loveify-header-inner { padding: 0 15px; }
    .loveify-logo-img { height: 42px !important; max-height: 42px !important; }

    /* Footer: 2 Spalten unter Newsletter */
    .loveify-footer-toprow,
    .loveify-footer-toprow.has-hotline,
    .loveify-footer-toprow.has-trust,
    .loveify-footer-toprow.has-trust.has-hotline {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    /* Trust-Spalte über volle Breite oben — wirkt als Trust-Bar auf Tablet */
    .loveify-footer-toprow.has-trust .loveify-f-trust { grid-column: 1 / -1; }
    .loveify-footer-toprow.has-trust .loveify-f-trust-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px 32px;
    }
    .loveify-footer-toprow.has-trust .loveify-f-trust-item { flex: 0 1 auto; }
    .loveify-footer-top { padding: 60px 0 40px; }
}

@media(max-width:1200px){
    .loveify-brands-mega-grid { grid-template-columns: repeat(4, 1fr); }
}

@media(max-width:768px){
    /* Footer: alles untereinander */
    .loveify-footer-toprow,
    .loveify-footer-toprow.has-hotline,
    .loveify-footer-toprow.has-trust,
    .loveify-footer-toprow.has-trust.has-hotline { grid-template-columns: 1fr; gap: 32px; }
    /* Trust-Items wieder vertikal stacken auf Mobile */
    .loveify-footer-toprow.has-trust .loveify-f-trust-list {
        flex-direction: column;
        gap: 14px;
    }
    .loveify-footer-top { padding: 50px 0 30px; }
    .loveify-fb-inner { flex-direction: column; text-align: center; gap: 12px; }
    .loveify-fb-legal { justify-content: center; }
    .loveify-footer-entsorgung { padding: 16px 0; line-height: 1.9; }
    .loveify-footer-entsorgung .loveify-f-sep { display: none; }
    .loveify-footer-entsorgung a { display: inline-block; margin: 0 8px; }
    .loveify-f-entsorgung-label { display: block; margin-bottom: 6px; }

    /* Footer-Brand: Logo aus, Slogan-Bild an */
    .loveify-f-brand-img--desktop,
    .loveify-f-brand-text--desktop { display: none !important; }
    .loveify-f-brand-slogan-mobile {
        display: block !important;
        height: 56px !important;
        max-height: 56px !important;
        width: auto !important;
        max-width: 280px !important;
        margin: 0 auto !important;
        object-fit: contain !important;
    }
}

@media(max-width:480px){
    .loveify-header-icons { gap: 2px; }
    .loveify-icon-btn { width: 36px; height: 36px; }
    .loveify-fc { padding: 0 18px; }
    .loveify-logo-img { height: 34px !important; max-height: 34px !important; }
    .loveify-f-brand-text { font-size: 22px; letter-spacing: 3px; }
    .loveify-f-brand-img { height: 28px !important; max-height: 28px !important; }
}


/* ─── AGGRESSIVE OVERRIDES ───────────────────────────── */
body.loveify-custom-header .elementor-location-header,
body.loveify-custom-header [data-elementor-type="header"],
body.loveify-custom-footer .elementor-location-footer,
body.loveify-custom-footer [data-elementor-type="footer"] {
    display: none !important;
}

#loveify-header .loveify-logo img {
    height: 55px !important; max-height: 55px !important;
    width: auto !important; max-width: 200px !important;
    object-fit: contain !important;
    padding: 0 !important; margin: 0 !important;
    border: none !important; box-shadow: none !important;
}

@media(max-width:992px){
    #loveify-header .loveify-logo img { height: 42px !important; max-height: 42px !important; }
}
@media(max-width:480px){
    #loveify-header .loveify-logo img { height: 34px !important; max-height: 34px !important; }
}

/* Cart Page - Hide Title Flash */
.woocommerce-cart .site-title,
.woocommerce-cart .site-description,
.woocommerce-cart .page-title,
.woocommerce-cart .entry-title,
.woocommerce-cart h1.page-title,
.woocommerce-cart .site-branding,
.woocommerce-cart .site-branding p { 
    display: none !important; 
    visibility: hidden !important;
}

/* ══════════════════════════════════════════════════════════════
   MEGA-PANEL (Sonntag-Stil Slide-In von rechts, v5.37.33+)
   ══════════════════════════════════════════════════════════════
   Vollhöhe-Panel das von rechts einschiebt — ersetzt das alte
   loveify-mobile-menu. Funktioniert auf Desktop UND Mobile als
   einziger Navigations-Mechanismus.
   - Pinker Hintergrund (Brand-Farbe)
   - 50% Viewport-Breite auf Desktop, 100% auf Mobile
   - Multi-Level Slide-Navigation: Top-Level → Kategorie-Sub via JS
*/
.loveify-mp {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    /* Breite IDENTISCH mit dem pinken Header-Streifen (.loveify-h-actions),
       damit Header und Slide-Panel optisch nahtlos zusammenpassen. */
    width: 25vw;
    max-width: 480px;
    min-width: 380px;
    height: 100vh;
    background: var(--loveify-primary) !important;
    color: #fff;
    /* Über ALLEM — auch über Kleo-Bubble (2147483640) und Cart-Toast (2147483645). */
    z-index: 2147483647 !important;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    display: flex !important;
    flex-direction: column;
    box-shadow: -20px 0 60px rgba(0,0,0,.25);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    visibility: visible !important;
    opacity: 1 !important;
}
.loveify-mp.is-open {
    transform: translateX(0) !important;
}
.admin-bar .loveify-mp { top: 32px; height: calc(100vh - 32px); }
@media (max-width: 782px) {
    .admin-bar .loveify-mp { top: 46px; height: calc(100vh - 46px); }
}
@media (max-width: 900px) {
    .loveify-mp { width: 100vw; max-width: 100vw; min-width: 0; }
}

/* Top-Bar (matched die Höhe des Site-Headers) */
.loveify-mp-topbar {
    flex-shrink: 0;
    height: var(--loveify-header-h);
    background: var(--loveify-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px 0 40px;
    border-bottom: 1px solid rgba(255,255,255,.15);
}
.loveify-mp-topbar-brand {
    display: flex;
    align-items: center;
    opacity: 0; /* verstecken — wir zeigen nur Schließen-Button rechts */
    pointer-events: none;
}
.loveify-mp-topbar-brand .loveify-logo-img {
    height: 40px !important;
    max-height: 40px !important;
    width: auto !important;
    display: block;
}
.loveify-mp-close {
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    font: inherit;
    font-size: 18px;
    font-weight: 500;
    transition: opacity .15s;
    margin-left: auto;
}
.loveify-mp-close:hover { opacity: .8; }
.loveify-mp-close-label { line-height: 1; }

@media (max-width: 900px) {
    .loveify-mp-topbar { padding: 0 14px; }
    .loveify-mp-close { padding: 10px 12px; font-size: 15px; }
}

/* Body — enthält alle Levels (gestapelt, animiert) */
.loveify-mp-body {
    flex: 1;
    position: relative;
    overflow: hidden;
}
.loveify-mp-level {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    padding: 32px 40px 40px;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .25s;
    -webkit-overflow-scrolling: touch;
}
.loveify-mp-level.is-active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}
.loveify-mp-level.is-prev {
    /* Wenn ein Sublevel aktiv ist, schiebt das Parent leicht nach links */
    transform: translateX(-15%);
    opacity: .25;
    pointer-events: none;
}
@media (max-width: 900px) {
    .loveify-mp-level { padding: 24px 22px 32px; }
}

/* Welcome-Heading */
.loveify-mp-welcome {
    font-size: 28px;
    font-weight: 300;
    color: rgba(255,255,255,.85);
    margin-bottom: 24px;
    letter-spacing: -.2px;
    text-align: left !important;
}
.loveify-mp-divider {
    height: 1px;
    background: rgba(255,255,255,.2);
    margin: 0 0 22px;
    border: 0;
}
.loveify-mp-divider-bottom { margin: 28px 0 22px; }

/* Title in Sub-Levels */
.loveify-mp-title {
    font-size: 24px;
    font-weight: 700;
    margin: 16px 0 22px;
    color: #fff;
    letter-spacing: .4px;
    text-align: left !important;
}

/* Globale Linksbündigkeit im Panel — Themes setzen oft text-align: right
   für anchors oder spezielle Container; wir zwingen alle Texte nach links.
   direction: ltr für den Fall dass ein RTL-Plugin aktiv ist. */
.loveify-mp,
.loveify-mp * {
    text-align: left;
    direction: ltr;
}

/* Haupt-Navigation Links */
.loveify-mp-nav { display: flex; flex-direction: column; }
.loveify-mp-link {
    background: transparent;
    border: 0;
    color: #fff;
    text-decoration: none !important;
    font: inherit;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: .3px;
    padding: 14px 0;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Text links, Pfeil per margin-left:auto rechts */
    width: 100%;
    cursor: pointer;
    transition: opacity .15s;
    text-align: left !important;
}
.loveify-mp-link > span:first-child { flex: 0 1 auto; }
.loveify-mp-link:hover { opacity: .75; }
.loveify-mp-link .loveify-mp-arrow {
    flex-shrink: 0;
    margin-left: auto; /* Pfeil ganz rechts */
    transition: transform .15s;
}
.loveify-mp-link:hover .loveify-mp-arrow { transform: translateX(4px); }

/* ─── Account-Mode-Menü ───────────────────────────────────────── */
/* "Zurück zum Shop" — als erster Eintrag, mit ←-Pfeil und subtilem Akzent */
.loveify-mp-link-back {
    font-size: 14px !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    padding: 12px 16px !important;
    margin: 0 0 18px !important;
    background: rgba(255,255,255,.08) !important;
    text-transform: uppercase;
    transition: background .15s, opacity .15s !important;
}
.loveify-mp-link-back:hover {
    background: rgba(255,255,255,.15) !important;
    opacity: 1 !important;
}
.loveify-mp-link-back svg { transition: transform .15s; }
.loveify-mp-link-back:hover svg { transform: translateX(-4px); }

/* Aktiver Account-Tab — leichte Akzentlinie links */
.loveify-mp-link-account.is-current {
    opacity: 1;
    padding-left: 14px !important;
    border-left: 3px solid #fff;
}
.loveify-mp-link-account.is-current:hover { opacity: 1; }

/* Diskret abmelden — rote Akzentfarbe */
.loveify-mp-link-logout {
    margin-top: 14px !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(255,255,255,.18);
    color: rgba(255,255,255,.7) !important;
    font-weight: 600 !important;
}
.loveify-mp-link-logout:hover {
    color: #fff !important;
    opacity: 1 !important;
}

/* Widerruf-Badge im Account-Menü */
.loveify-mp-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    margin-left: 10px;
    padding: 0 7px;
    background: #fff;
    color: var(--lvy-mp-bg, #B61261);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    vertical-align: middle;
}

/* Back-Button */
.loveify-mp-back {
    background: transparent;
    border: 0;
    color: rgba(255,255,255,.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 8px 0;
    font: inherit;
    font-size: 15px;
    font-weight: 400;
    transition: color .15s;
    margin-bottom: 8px;
    text-align: left !important;
}
.loveify-mp-back > span { flex: 0 1 auto; }
.loveify-mp-back svg {
    opacity: .85;
    margin-left: auto; /* Home-Icon ganz rechts */
}
.loveify-mp-back:hover { color: #fff; }

/* Sub-Liste (innerhalb einer Kategorie) */
.loveify-mp-sublist { display: flex; flex-direction: column; }
.loveify-mp-sublink {
    color: #fff;
    text-decoration: none !important;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: .2px;
    padding: 11px 0;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Text links */
    transition: opacity .15s, padding-left .15s;
    border-bottom: 1px solid rgba(255,255,255,.08);
    text-align: left !important;
}
.loveify-mp-sublink:hover { opacity: .8; padding-left: 4px; }
/* Sicherheitsnetz gegen Theme-Pseudo-Bullets (manche Themes fügen
   .loveify-mp-sublink::before mit '•' oder ähnlich hinzu). */
.loveify-mp-sublink::before,
.loveify-mp-sublink::after,
.loveify-mp-sublink-deep::before,
.loveify-mp-sublink-deep::after,
.loveify-mp-sublist a::before,
.loveify-mp-sublist a::after {
    content: none !important;
    display: none !important;
}
.loveify-mp-sublist { list-style: none !important; }
.loveify-mp-sublist a, .loveify-mp-sublist li { list-style: none !important; }

/* Tiefer eingerückte Sub-Sub-Items. Kein Bullet-Marker mehr — nur leichte
   Einrückung damit die Hierarchie noch erkennbar bleibt. */
.loveify-mp-sublink-deep {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,.78);
    padding: 7px 0 7px 12px;
    border-bottom: none;
}
.loveify-mp-sublink-all {
    margin-top: 16px;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    border-bottom: none;
    padding-top: 14px;
    border-top: 2px solid rgba(255,255,255,.4);
}
.loveify-mp-sublink-count {
    background: rgba(255,255,255,.15);
    border-radius: 0;
    padding: 1px 8px;
    font-size: 11px;
    font-weight: 600;
    margin-left: auto; /* drückt den Counter ganz nach rechts */
}

/* Fußnav (Mein Konto, Kontakt etc.) */
.loveify-mp-footnav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-top: auto;
    padding-top: 8px;
}
.loveify-mp-footnav a {
    color: rgba(255,255,255,.75);
    text-decoration: none !important;
    font-size: 14px;
    transition: color .15s;
}
.loveify-mp-footnav a:hover { color: #fff; }

/* Backdrop — echtes DOM-Element (statt body::before, das in Stacking-
   Contexts manchmal nicht sauber stackt). Milchiger Blur-Effekt für
   den Premium-Look. */
.loveify-mp-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    /* Direkt unter dem Panel, aber über Kleo (2147483640) und Cart-Toast (2147483645). */
    z-index: 2147483646;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
}
.loveify-mp-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* Scroll-Lock — html UND body, sonst klappt's bei manchen Themes nicht
   (z.B. wenn das Theme html overflow-y:auto setzt und body normal). */
html.loveify-mp-open,
body.loveify-mp-open {
    overflow: hidden !important;
}

/* Hover im Mega-Panel: Text wird schwarz (User-Wunsch). Wichtig:
   :visited-Default ist in vielen Browsern lila — überschreiben wir
   global. !important weil Themes oft a:hover-Farben festlegen. */
.loveify-mp a,
.loveify-mp a:link,
.loveify-mp a:visited,
.loveify-mp button {
    color: #fff !important;
}
.loveify-mp a:hover,
.loveify-mp a:focus,
.loveify-mp button:hover,
.loveify-mp button:focus {
    color: #000 !important;
    opacity: 1 !important;
}
.loveify-mp .loveify-mp-link:hover,
.loveify-mp .loveify-mp-sublink:hover,
.loveify-mp .loveify-mp-back:hover,
.loveify-mp .loveify-mp-close:hover,
.loveify-mp .loveify-mp-footnav a:hover {
    color: #000 !important;
    opacity: 1 !important;
}
.loveify-mp .loveify-mp-link:hover .loveify-mp-arrow,
.loveify-mp .loveify-mp-link:hover svg,
.loveify-mp .loveify-mp-close:hover svg,
.loveify-mp .loveify-mp-back:hover svg {
    stroke: #000 !important;
}

/* ─────────────────────────────────────────────────────────
   MEGA-MENU (Sub-Kategorien-Panel)
   Desktop: links neben dem Pink-Panel in der schwarzen Header-
   Fläche. Schwarzer BG, weiße Schrift, Pink-Hover.
   Mobile: füllt den Bildschirm und ersetzt visuell das Panel.
   ───────────────────────────────────────────────────────── */

.loveify-mp-mega {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    /* matched die Panel-Breite (.loveify-mp = clamp(380px, 25vw, 480px)) */
    right: clamp(380px, 25vw, 480px);
    background: #000 !important;
    color: #fff;
    /* Unter dem Panel (2147483647) aber über dem Backdrop (2147483646) */
    z-index: 2147483646 !important;
    overflow: hidden;
}
.loveify-mp-mega.is-open {
    display: block;
    animation: loveifyMegaSlideIn .35s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes loveifyMegaSlideIn {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}
.loveify-mp-mega-inner {
    position: relative;
    height: 100%;
    overflow: hidden;
}

/* Sub-Levels im Mega: gleiches absolute+transform-Pattern wie
   im Panel, aber im neuen Container. Nur das aktive ist sichtbar. */
.loveify-mp-mega .loveify-mp-level {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    padding: 80px 80px 60px;
    -webkit-overflow-scrolling: touch;
}

/* Titel — Magazin-Hero-Style mit Eyebrow */
.loveify-mp-mega .loveify-mp-title {
    color: #fff !important;
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 3px;
    margin: 0 0 8px;
    text-transform: uppercase;
    line-height: 1;
    position: relative;
}
.loveify-mp-mega .loveify-mp-title::before {
    content: 'Index';
    display: block;
    color: rgba(255, 95, 162, 0.8);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

/* Back-Button (zurück) — dezent oben links */
.loveify-mp-mega .loveify-mp-back {
    background: transparent;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.5) !important;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 0;
    margin-bottom: 36px;
    transition: color .15s, gap .2s;
}
.loveify-mp-mega .loveify-mp-back:hover {
    color: #ff5fa2 !important;
    gap: 14px;
}
.loveify-mp-mega .loveify-mp-back svg {
    stroke: currentColor;
    width: 14px;
    height: 14px;
}

/* ─── EDITORIAL MEGA-MENU LAYOUT ───
   Reine Typographie statt Cards. Subtile Akzente, viel Whitespace,
   Magazin-Inhaltsverzeichnis-Look. */

/* Grid mit fixen Spalten, je nach Viewport — kein auto-fill weil
   das mit unterschiedlichen Block-Höhen unruhig wirkt. */
.loveify-mp-mega .loveify-mp-sublist {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 64px;
    row-gap: 44px;
    align-items: start;
    margin-top: 36px;
    padding-bottom: 32px;
}
@media (max-width: 1500px) {
    .loveify-mp-mega .loveify-mp-sublist { grid-template-columns: repeat(3, 1fr); column-gap: 48px; }
}
@media (max-width: 1100px) {
    .loveify-mp-mega .loveify-mp-sublist { grid-template-columns: repeat(2, 1fr); column-gap: 36px; }
}

/* KEINE Box mehr — pure Typographie als Block */
.loveify-mp-mega .loveify-mp-subgroup {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    display: block;
}

/* Parent: dünne, edle Caps mit Pink-Punkt-Akzent davor */
.loveify-mp-mega .loveify-mp-sublink-head {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    padding: 0 0 14px;
    margin: 0 0 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: color .15s, border-color .25s;
    opacity: 1 !important;
}
/* Pink-Punkt vor Header */
.loveify-mp-mega .loveify-mp-sublink-head::before {
    content: '';
    width: 5px;
    height: 5px;
    background: #ff5fa2;
    flex: 0 0 auto;
    transition: background .15s, transform .25s;
}
.loveify-mp-mega .loveify-mp-sublink-head:hover {
    color: #ff5fa2 !important;
    border-color: rgba(255, 95, 162, 0.4);
}
.loveify-mp-mega .loveify-mp-sublink-head:hover::before {
    transform: scale(1.6);
}

/* Children-Container — flex column */
.loveify-mp-mega .loveify-mp-subgroup-items {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Children: serifenfreie Mid-Gray Magazin-Items */
.loveify-mp-mega .loveify-mp-sublink-deep {
    display: block;
    color: rgba(255,255,255,0.62) !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 400;
    padding: 5px 0;
    line-height: 1.45;
    transition: color .15s, transform .2s, letter-spacing .25s;
    opacity: 1 !important;
}
.loveify-mp-mega .loveify-mp-sublink-deep:hover {
    color: #ff5fa2 !important;
    transform: translateX(4px);
    opacity: 1 !important;
}

/* Footer-Link „→ Alle X ansehen" — eleganter Banner, spannt alle Spalten */
.loveify-mp-mega .loveify-mp-sublink-all {
    grid-column: 1 / -1;
    display: inline-flex;
    align-self: start;
    margin-top: 16px;
    padding: 14px 0 14px;
    color: #ff5fa2 !important;
    text-decoration: none !important;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color .15s, letter-spacing .25s;
    opacity: 1 !important;
    border-top: 1px solid rgba(255, 95, 162, 0.25);
    width: 100%;
}
.loveify-mp-mega .loveify-mp-sublink-all:hover {
    color: #fff !important;
    letter-spacing: 3px;
    opacity: 1 !important;
}

/* Marken-Sub-Level: flacher Brand-Liste */
.loveify-mp-mega [data-level="cat-marken"] .loveify-mp-sublist {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0 48px;
    row-gap: 0;
}
.loveify-mp-mega .loveify-mp-sublink {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 500;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    transition: color .15s, padding-left .15s;
    opacity: 1 !important;
}
.loveify-mp-mega .loveify-mp-sublink:hover {
    color: #ff5fa2 !important;
    padding-left: 6px;
}
.loveify-mp-mega .loveify-mp-sublink-count {
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.7);
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}

.loveify-mp-mega .loveify-mp-divider {
    height: 1px;
    background: rgba(255,255,255,.12);
    margin: 0 0 20px;
}

/* MOBILE: Mega wird zum Vollbild-Overlay (über Panel),
   Pink-Look bleibt erhalten */
@media (max-width: 900px) {
    .loveify-mp-mega {
        right: 0;
        background: linear-gradient(180deg, #B61261 0%, #8a0e4a 100%) !important;
        /* Auf Mobile ÜBER dem Panel — Panel wird visuell ersetzt */
        z-index: 2147483648 !important;
    }
    .loveify-mp-mega .loveify-mp-level {
        padding: 32px 22px 40px;
    }
    .loveify-mp-mega .loveify-mp-sublist {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .loveify-mp-mega .loveify-mp-title {
        font-size: 26px;
        letter-spacing: 1px;
    }
    .loveify-mp-mega .loveify-mp-sublink {
        font-size: 16px;
        padding: 14px 0;
    }
    .loveify-mp-mega .loveify-mp-sublink:hover,
    .loveify-mp-mega .loveify-mp-sublink-deep:hover {
        color: #000 !important;
    }
}

/* ═══════════════════════════════════════════════════════
   v5.43.70: Shop-Buttons Mobile Overrides
   Die Buttons stammen aus dem product-page Plugin. Wir
   überschreiben hier mit höherer Spezifität, damit auf
   Mobile WILL ICH HABEN nicht gequetscht ist und das
   SO FUNKTIONIERT ES nicht aus dem Border ragt.
   ═══════════════════════════════════════════════════════ */

/* ─── WILL ICH HABEN (Shop-Karte) — Mobile ───────────────── */
@media (max-width: 600px) {
    body .lvy-card__cart-btn,
    .lvy-shop .lvy-card__cart-btn {
        font-size: 0.7rem !important;        /* war 0.78rem — kompakter */
        letter-spacing: 0.02em !important;   /* war 0.04em — weniger Stretch */
        padding: 11px 8px !important;        /* mehr vertikales Polster */
        line-height: 1.3 !important;         /* Atemraum bei 2 Zeilen */
        min-height: 44px;                    /* Touch-Standard */
        gap: 0.3rem !important;              /* Icon näher am Text */
        word-spacing: 1px;
    }
    body .lvy-card__cart-btn svg {
        width: 12px !important;
        height: 12px !important;
    }
}

/* ─── SO FUNKTIONIERT ES (Promo-CTA im Diskret-Banner) ───── */
/* white-space:nowrap im product-page Plugin schiebt das "ES" aus
   dem Border. Mobile: Wort darf umbrechen, sonst min-width:0 +
   box-sizing damit der Border nie übersprungen wird. */
.lfy-shop-promo .lfy-shop-promo-cta,
.lvy-card .lfy-shop-promo-cta {
    white-space: normal !important;
    max-width: calc(100% - 4px) !important;
    box-sizing: border-box !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
}
@media (max-width: 600px) {
    .lfy-shop-promo .lfy-shop-promo-cta,
    .lvy-card .lfy-shop-promo-cta {
        font-size: 10px !important;
        letter-spacing: 0.4px !important;
        padding: 9px 12px !important;
        line-height: 1.25 !important;
        gap: 4px !important;
        text-align: center;
        justify-content: center;
        min-width: 0;
    }
    .lfy-shop-promo .lfy-shop-promo-cta svg,
    .lvy-card .lfy-shop-promo-cta svg {
        width: 11px !important;
        height: 11px !important;
        flex-shrink: 0;
    }
}
