/* === fruitboom brand overrides === */

/* ── Brand: CSS custom properties (override Bootstrap defaults) ── */
:root {
    --primary:         #4A2745;
    --fb-purple:       #4A2745;
    --fb-purple-dark:  #2A1228;
    --fb-purple-light: #7A4572;
    --bs-primary:      #4A2745;
    --bs-primary-rgb:  74,39,69;
    --bs-link-color:   #4A2745;
    --bs-link-hover-color: #2A1228;
}

/* Bootstrap primary utilities */
.text-primary            { color: #4A2745 !important; }
.bg-primary              { background-color: #4A2745 !important; }
.border-primary          { border-color: #4A2745 !important; }
.btn-primary             { background-color: #4A2745 !important; border-color: #4A2745 !important; color: #fff !important; }
.btn-primary:hover,
.btn-primary:focus       { background-color: #2A1228 !important; border-color: #2A1228 !important; }
.btn-outline-primary     { color: #4A2745 !important; border-color: #4A2745 !important; }
.btn-outline-primary:hover { background-color: #4A2745 !important; color: #fff !important; }

/* Links */
a { color: #4A2745; }
a:hover { color: #2A1228; }

/* Form focus */
.form-control:focus,
.custom-select:focus,
input:focus, textarea:focus, select:focus {
    border-color: #4A2745 !important;
    box-shadow: 0 0 0 0.2rem rgba(74,39,69,0.25) !important;
}

/* Pagination */
.page-item.active .page-link { background-color: #4A2745 !important; border-color: #4A2745 !important; }
.page-link { color: #4A2745 !important; }
.page-link:hover { color: #2A1228 !important; }

/* Progress bars / alerts */
.progress-bar           { background-color: #4A2745 !important; }
.alert-primary          { background-color: rgba(74,39,69,0.1) !important; border-color: rgba(74,39,69,0.3) !important; color: #4A2745 !important; }
.badge-primary          { background-color: #4A2745 !important; }

/* JTL / NOVA specific */
.btn-basket, .btn-buy   { background-color: #4A2745 !important; border-color: #4A2745 !important; color: #fff !important; }
.btn-basket:hover, .btn-buy:hover { background-color: #2A1228 !important; border-color: #2A1228 !important; }
.product-rating .star-rating,
.star-rating-result      { color: #4A2745 !important; }
.category-title,
.product-title a:hover   { color: #4A2745 !important; }
.price-tag, .product-price { color: #4A2745 !important; }

/* NOVA cart/wishlist badge — uses .fa-sup class, not .badge */
.fa-sup {
    background-color: #4A2745 !important;
    color: #fff !important;
}
.fa-sup:hover { background-color: #2A1228 !important; }

/* ── Floating background decorations ── */
body { position: relative; }
/* #deco-layer: full body height, clips decos so they never go below footer */
#deco-layer {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
.body-deco-1, .body-deco-2, .body-deco-3, .body-deco-4 {
    position: absolute;
    pointer-events: none;
}
.body-deco-1 img, .body-deco-2 img, .body-deco-3 img, .body-deco-4 img {
    display: block; max-width: 180px; height: auto;
}
.body-deco-1 img { transform: rotate(-15deg); }
.body-deco-2 img { transform: rotate(20deg); }
.body-deco-3 img { transform: rotate(10deg); }
.body-deco-4 img { transform: rotate(-25deg); }

/* Non-homepage: subtle white-washed filter */
body:not(.is-startseite) .body-deco-1 img,
body:not(.is-startseite) .body-deco-2 img,
body:not(.is-startseite) .body-deco-3 img,
body:not(.is-startseite) .body-deco-4 img {
    opacity: 0.35;
    filter: saturate(0.4) brightness(1.4);
}

/* ── Default deco positions (homepage / long pages) ── */
.body-deco-1 { top: 1200px; left: -50px; }
.body-deco-2 { top: 2100px; right: -50px; }
.body-deco-3 { top: 3100px; left: -40px; }
.body-deco-4 { top: 3800px; right: -40px; }

/* ── Detail page: start from near top ── */
body.is-detail .body-deco-1 { top: 120px; }
body.is-detail .body-deco-2 { top: 600px; }
body.is-detail .body-deco-3 { top: 1100px; }
body.is-detail .body-deco-4 { top: 1600px; }

/* ── Listing page: start a bit earlier ── */
body.is-listing .body-deco-1 { top: 500px; }
body.is-listing .body-deco-2 { top: 1200px; }
body.is-listing .body-deco-3 { top: 2000px; }
body.is-listing .body-deco-4 { top: 2800px; }

/* Raise content above decorations */
.container, .container-fluid,
.fbcg-inner, .fbps-inner, .feat-inner,
.omega-inner, .mix-inner, .fb-pslider__inner { position: relative; z-index: 10; }

@media (max-width: 768px) {
    .body-deco-1, .body-deco-2, .body-deco-3, .body-deco-4 { display: none; }
}

/* ── Global: prevent horizontal scroll on mobile (incl. iOS) ── */
/* overflow-x:clip on html = no scroll container created → position:fixed/sticky still works */
html { overflow-x: clip; }
/* body max-width ensures no element can push the document wider than the viewport */
body { overflow-x: clip; max-width: 100vw; }
/* clip does not create a scroll container, so position:sticky still works */
#main-wrapper, #content-wrapper { overflow-x: clip; }

/* ── Topbar ── */
#header-top-bar {
    background: #4A2745 !important;
    display: block !important;
}
#header-top-bar > div {
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding-left: 4% !important;
    padding-right: 4% !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-end !important;
    align-items: center !important;
}
#header-top-bar .nav-link,
#header-top-bar a { color: rgba(255,255,255,0.85) !important; }
#header-top-bar .nav-link:hover,
#header-top-bar a:hover { color: #fff !important; }

/* ── Header wrapper ── */
#jtl-nav-wrapper {
    background: #fff !important;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1020 !important;
}
.fb-header-inner {
    display: flex;
    align-items: center;
    height: 64px;
    padding: 0 4%;
    max-width: 1440px;
    margin: 0 auto;
    gap: 16px;
}

/* ── Logo + NOVA's burger wrapper ── */
.fb-logo-col { flex-shrink: 0; display: flex; align-items: center; }
.fb-logo-col img { height: 40px !important; width: auto !important; display: block; }
/* toggler-logo-wrapper: flex so burger + logo sit side by side */
.toggler-logo-wrapper { display: flex !important; align-items: center; gap: 4px; }
/* NOVA's #burger-menu: hidden on desktop (Bootstrap handles this), styled below for mobile */
#jtl-nav-wrapper #burger-menu { margin-right: 0 !important; }

/* ── Nav col: centered horizontally and vertically ── */
.fb-nav-col {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.fb-nav-col .navbar-collapse {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
/* Hide JTL's auto-generated toggler inside navbar (we use our own fb-toggler) */
.fb-nav-col .navbar-toggler { display: none !important; }
/* Hide nav scroll arrows (prev/next) — we use overflow hidden instead */
.fb-nav-col .nav-prev,
.fb-nav-col .nav-next { display: none !important; }
/* Fix vertical centering — nav-scrollbar-inner is the direct wrapper of ul.navbar-nav */
.fb-nav-col .nav-scrollbar-inner {
    display: flex !important;
    align-items: center !important;
    height: 100%;
    overflow: hidden;
}
/* Remove NOVA's scrollbar behaviour */
.fb-nav-col .nav-scrollbar { overflow: hidden !important; }
.fb-nav-col .nav-mobile-header { display: none !important; }
.fb-nav-col .nav-mobile-body { display: flex !important; align-items: center; justify-content: center; width: 100%; height: 100%; }
/* Override JTL's mr-auto that pushes nav left */
.fb-nav-col .navbar-nav,
.fb-nav-col .navbar-nav.mr-auto,
.fb-nav-col ul.navbar-nav {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px;
    padding: 0 !important;
    margin: 0 auto !important;
}
.fb-nav-col .navbar-nav .nav-link {
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #444 !important;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 6px 13px !important;
    border-radius: 6px;
    white-space: nowrap;
    transition: color 0.15s, background 0.15s;
    line-height: 1.4;
}
.fb-nav-col .navbar-nav .nav-link:hover,
.fb-nav-col .navbar-nav .nav-item.active > .nav-link {
    color: #4A2745 !important;
    background: rgba(74,39,69,0.07);
}
.fb-nav-col .dropdown-menu {
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    padding: 8px;
}
.fb-nav-col .dropdown-item {
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #444;
}
.fb-nav-col .dropdown-item:hover { color: #4A2745; background: rgba(74,39,69,0.07); }

/* ── Icons col ── */
.fb-icons-col { flex-shrink: 0; display: flex; align-items: center; }
.fb-icons-col ul.nav,
.fb-icons-col .nav-icons {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0; padding: 0;
    flex-wrap: nowrap;
}
.fb-icons-col .nav-item { display: flex; align-items: center; }

/* All icon links: 40×40 rounded buttons like design — high specificity */
#jtl-nav-wrapper .fb-icons-col .nav-link,
#jtl-nav-wrapper .fb-icons-col a.nav-link,
#jtl-nav-wrapper .fb-icons-col .nav-item > a {
    min-width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    color: #4A2745 !important;
    padding: 0 8px !important;
    background: none !important;
    text-decoration: none !important;
    position: relative;
    transition: color 0.15s, background 0.15s;
    box-shadow: none !important;
    border: none !important;
}
#jtl-nav-wrapper .fb-icons-col .nav-link:hover,
#jtl-nav-wrapper .fb-icons-col a.nav-link:hover,
#jtl-nav-wrapper .fb-icons-col .nav-item > a:hover {
    color: #2A1228 !important;
    background: rgba(74,39,69,0.10) !important;
}
#jtl-nav-wrapper .fb-icons-col .nav-link i,
#jtl-nav-wrapper .fb-icons-col .nav-item > a i { font-size: 20px !important; line-height: 1; }

/* Badge */
#jtl-nav-wrapper .fb-icons-col .badge,
#jtl-nav-wrapper .badge,
#jtl-nav-wrapper span[class*="badge"],
#jtl-nav-wrapper a span[class*="badge"] {
    position: absolute !important;
    top: 4px !important; right: 2px !important;
    background: #4A2745 !important;
    color: #fff !important;
    font-size: 9px !important; font-weight: 800 !important;
    min-width: 16px; height: 16px;
    border-radius: 50% !important;
    display: flex !important; align-items: center; justify-content: center;
    border: 1.5px solid #fff !important;
    padding: 0 3px !important;
}

/* Cart: wider to fit price */
#jtl-nav-wrapper .fb-icons-col #cart-dropdown .nav-link {
    width: auto !important;
    padding: 0 10px !important;
    gap: 6px;
    font-size: 12px; font-weight: 700;
}

/* ── Search dropdown (opens down) ── */
.fb-search-wrap { position: relative; }
.fb-search-btn {
    width: 40px; height: 40px;
    background: none; border: none;
    color: #555;
    border-radius: 8px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: color 0.15s, background 0.15s;
    padding: 0;
}
.fb-search-btn:hover { color: #4A2745; background: rgba(74,39,69,0.08); }
.fb-search-btn i { font-size: 18px; }

.fb-search-drop {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 280px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.13);
    border: 1px solid #eee;
    padding: 10px;
    z-index: 9999;
}
.fb-search-drop.fb-open { display: block; }
.fb-search-drop form { display: flex; gap: 6px; align-items: center; }
.fb-search-input {
    flex: 1;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.15s;
}
.fb-search-input:focus { border-color: rgba(74,39,69,0.4); }
.fb-search-submit {
    width: 36px; height: 36px; flex-shrink: 0;
    background: #4A2745; color: #fff;
    border: none; border-radius: 8px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s;
}
.fb-search-submit:hover { background: #2A1228; }

/* Fix 1: Hide NOVA nav scroll arrows on all screen sizes */
.nav-next, .nav-prev { display: none !important; }

/* Fix 3: Topbar container — right-align content */
#header-top-bar .container-fluid {
    flex-direction: row !important;
    justify-content: flex-end !important;
    padding: 0 4% !important;
}

/* ── NOVA's #burger-menu: styled for mobile (Bootstrap hides it on desktop via .navbar-expand-lg) ── */
#burger-menu {
    background: none !important; border: none !important;
    color: #4A2745 !important; border-radius: 8px !important;
    padding: 0 !important; margin: 0 !important;
    cursor: pointer;
}
/* ── Drawer overlay ── */
.fb-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9998;
}
.fb-nav-overlay.fb-open { display: block; }

@media (max-width: 991px) {
    .fb-header-inner { padding: 0 12px; height: 56px; gap: 0; }
    .fb-logo-col img { height: 32px !important; }

    /* Style NOVA's #burger-menu on mobile */
    #burger-menu {
        width: 40px !important; height: 40px !important;
        display: flex !important;
        align-items: center !important; justify-content: center !important;
        flex-shrink: 0 !important;
    }
    #burger-menu .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 30 30'%3e%3cpath stroke='%234A2745' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
        width: 22px !important; height: 22px !important;
    }

    /* Nav col: static so drawer positions itself */
    .fb-nav-col {
        position: static !important;
        height: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    /* ── Left drawer ── */
    div#mainNavigation {
        position: fixed !important;
        top: 0 !important; left: 0 !important;
        width: 320px !important; max-width: 88vw !important;
        height: 100vh !important;
        z-index: 9999 !important;
        background: #fff !important;
        overflow-y: auto !important; overflow-x: hidden !important;
        display: block !important;
        padding: 0 !important;
        transform: translateX(-110%) !important;
        transition: transform 0.28s cubic-bezier(0.4,0,0.2,1) !important;
        visibility: hidden;
        box-shadow: none;
    }
    div#mainNavigation.fb-open {
        transform: translateX(0) !important;
        visibility: visible;
        box-shadow: 6px 0 40px rgba(0,0,0,0.18) !important;
    }

    /* Purple header bar via JS-injected #fb-drawer-header */
    #fb-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #4A2745;
        padding: 0 20px;
        min-height: 56px;
        position: sticky;
        top: 0; z-index: 1;
        flex-shrink: 0;
    }
    #fb-drawer-header span {
        color: #fff; font-size: 15px; font-weight: 700;
        text-transform: uppercase; letter-spacing: 0.08em;
    }
    .fb-drawer-close {
        background: none; border: none; color: rgba(255,255,255,0.8);
        font-size: 26px; line-height: 1; cursor: pointer; padding: 0;
    }
    .fb-drawer-close:hover { color: #fff; }

    /* Hide NOVA's native mobile header (we use our own above) */
    div#mainNavigation .nav-mobile-header { display: none !important; }

    /* Drawer body layout */
    div#mainNavigation .nav-mobile-body {
        display: flex !important; flex-direction: column !important;
        align-items: flex-start !important; width: 100% !important;
        height: auto !important; padding: 6px 0 !important;
    }
    div#mainNavigation .nav-scrollbar-inner {
        display: flex !important; flex-direction: column !important;
        width: 100% !important; height: auto !important; overflow: visible !important;
    }
    div#mainNavigation ul.navbar-nav {
        flex-direction: column !important; align-items: flex-start !important;
        width: 100% !important; gap: 0 !important;
        padding: 0 !important; margin: 0 !important;
    }
    /* Nav items — fix Bootstrap .text-truncate and .nav-mobile-heading truncation */
    div#mainNavigation .nav-mobile-heading,
    div#mainNavigation .text-truncate {
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: unset !important;
        display: inline !important;
        max-width: none !important;
    }
    div#mainNavigation .navbar-nav .nav-link,
    div#mainNavigation .navbar-nav .nav-link.dropdown-toggle {
        display: flex !important; align-items: center !important;
        padding: 13px 20px !important; width: 100% !important;
        font-size: 14px !important; font-weight: 600 !important;
        color: #333 !important; text-transform: none !important;
        letter-spacing: 0 !important; white-space: normal !important;
        border-bottom: 1px solid #f0f0f0 !important;
        border-radius: 0 !important; line-height: 1.4 !important;
        background: transparent !important;
    }
    div#mainNavigation .navbar-nav .nav-link:hover,
    div#mainNavigation .navbar-nav .nav-item.active > .nav-link {
        color: #4A2745 !important; background: rgba(74,39,69,0.04) !important;
    }
    /* Separator between categories and extra mobile items */
    div#mainNavigation li.d-lg-none > hr { margin: 4px 0; border-color: #f0f0f0; }
    /* Extra mobile items (wishlist, comparison, topbar links, currency) */
    div#mainNavigation li.d-lg-none .nav-link {
        font-size: 13px !important; font-weight: 500 !important; color: #666 !important;
    }
    /* Subcategory dropdowns: flatten NOVA mega-menu into simple accordion list */
    div#mainNavigation .dropdown-menu {
        position: static !important; float: none !important;
        box-shadow: none !important; border: none !important;
        border-radius: 0 !important; padding: 2px 0 !important;
        margin: 0 !important; background: #f8f6f8 !important; width: 100% !important;
    }
    /* Flatten Bootstrap grid inside dropdown — mega-menu uses row/col which breaks in drawer */
    div#mainNavigation .dropdown-menu .dropdown-body { padding: 0 !important; }
    div#mainNavigation .dropdown-menu .container,
    div#mainNavigation .dropdown-menu .container-fluid { padding: 0 !important; max-width: 100% !important; }
    div#mainNavigation .dropdown-menu .row { display: block !important; margin: 0 !important; }
    div#mainNavigation .dropdown-menu [class*="col"] {
        display: block !important; width: 100% !important; max-width: 100% !important;
        flex: none !important; padding: 0 !important; float: none !important;
    }
    /* Hide mega-menu extras: images, banners */
    div#mainNavigation .dropdown-menu img,
    div#mainNavigation .dropdown-menu .category-image,
    div#mainNavigation .dropdown-menu .nav-mega-preview { display: none !important; }
    /* Simple link style */
    div#mainNavigation .dropdown-menu .categories-recursive-link,
    div#mainNavigation .dropdown-menu a {
        display: block !important; padding: 10px 20px 10px 32px !important;
        font-size: 13px !important; font-weight: 500 !important; color: #555 !important;
        white-space: normal !important; border-bottom: 1px solid #eeecee !important;
        text-decoration: none !important; background: none !important;
    }
    div#mainNavigation .dropdown-menu a:hover { color: #4A2745 !important; }

    /* Icons: smaller on mobile */
    #jtl-nav-wrapper .fb-icons-col .nav-link,
    #jtl-nav-wrapper .fb-icons-col a.nav-link,
    #jtl-nav-wrapper .fb-icons-col .nav-item > a {
        min-width: 36px !important; height: 36px !important; padding: 0 4px !important;
    }
    #jtl-nav-wrapper .fb-icons-col .nav-link i,
    #jtl-nav-wrapper .fb-icons-col .nav-item > a i { font-size: 18px !important; }
    .fb-search-wrap, #search { display: flex !important; }
    .fb-search-btn { width: 36px; height: 36px; }
    .fb-search-drop {
        position: fixed !important;
        top: 56px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
        border-top: none !important;
        box-shadow: 0 8px 24px rgba(0,0,0,0.18) !important;
        padding: 12px 16px !important;
    }
    #header-top-bar > div { padding-left: 16px !important; padding-right: 16px !important; }
    #jtl-nav-wrapper .fb-icons-col #cart-dropdown .nav-link {
        font-size: 0 !important; padding: 0 4px !important; gap: 0; width: 36px !important;
    }

    /* Mobile sub-nav: keep Bootstrap dropdown hidden; panel handles sub-nav */
    div#mainNavigation .dropdown-menu { display: none !important; }
    div#mainNavigation .nav-link.dropdown-toggle::after { display: inline-block !important; margin-left: auto !important; }

    /* Slide-panel: fills drawer, slides in from right */
    div#mainNavigation .fb-subnav {
        position: absolute; top: 0; left: 0; right: 0; bottom: 0;
        background: #fff; z-index: 10; overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
        visibility: hidden; /* hide from iOS rendering when off-screen to prevent overflow */
    }
    div#mainNavigation .fb-subnav.fb-subnav--open { transform: translateX(0); visibility: visible; }
    div#mainNavigation .fb-subnav__head {
        background: #4A2745; color: #fff; padding: 0 16px; height: 56px;
        display: flex; align-items: center; gap: 12px;
        position: sticky; top: 0; z-index: 1;
    }
    div#mainNavigation .fb-subnav__back {
        background: none; border: none; color: #fff; font-size: 22px;
        cursor: pointer; padding: 0; flex-shrink: 0; line-height: 1;
    }
    div#mainNavigation .fb-subnav__title { font-size: 15px; font-weight: 700; color: #fff; }
    div#mainNavigation .fb-subnav__body a {
        display: block !important; padding: 13px 20px !important;
        font-size: 14px !important; font-weight: 500 !important;
        color: #333 !important; border-bottom: 1px solid #f0f0f0 !important;
        text-decoration: none !important; background: none !important;
    }
    div#mainNavigation .fb-subnav__body a:hover { color: #4A2745 !important; }
}

/* ── Scroll-to-top button: restore dark icon (our footer * override makes it white-on-white) ── */
.smoothscroll-top { background: #fff !important; box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important; }
.smoothscroll-top i, .smoothscroll-top .fa { color: #4A2745 !important; }

/* ── Desktop safety: hide mobile-only elements ── */
@media (min-width: 992px) {
    #burger-menu { display: none !important; }
    #fb-drawer-header { display: none !important; }
}

/* ── Homepage: hide default content-wrapper (content is OPC portlets only) ── */
body.is-startseite #content-wrapper { display: none !important; }

/* ── Footer — NOVA default layout, black background ── */
#footer {
    background: #120B12 !important;
    color: rgba(255,255,255,0.75) !important;
    border-top: none !important;
}
/* Nuclear white override — covers all NOVA box output variations */
#footer,
#footer .box,
#footer .box-content-wrapper,
#footer .card-body,
#footer li,
#footer p,
#footer span:not(.badge):not(.fa-sup) { color: rgba(255,255,255,0.75) !important; }
#footer a,
#footer a:not(.btn),
#footer .nav-link,
#footer .list-group-item a,
#footer .productlist-filter-headline,
#footer .newsletter-footer-heading { color: rgba(255,255,255,0.7) !important; }
#footer a:hover,
#footer a:not(.btn):hover,
#footer .nav-link:hover { color: #fff !important; }
#footer .card .card-title,
#footer h1, #footer h2, #footer h3, #footer h4, #footer h5, #footer h6,
#footer .h2 { color: rgba(255,255,255,0.92) !important; }
#footer .card { background: transparent !important; border: none !important; }
#footer .list-group-item { background: transparent !important; border-color: rgba(255,255,255,0.08) !important; }
#footer hr { border-color: rgba(255,255,255,0.1) !important; }
#footer .form-control, #footer input[type="email"] {
    background: rgba(255,255,255,0.08) !important;
    border-color: rgba(255,255,255,0.2) !important;
    color: #fff !important;
}
#footer .form-control::placeholder, #footer input::placeholder {
    color: rgba(255,255,255,0.4) !important;
}
#footer .btn-secondary {
    background: #4A2745 !important;
    border-color: #4A2745 !important;
    color: #fff !important;
}
#footer .btn-secondary:hover {
    background: #2A1228 !important;
    border-color: #2A1228 !important;
}
#footer .small { color: rgba(255,255,255,0.45) !important; }
#footer .footnote-vat { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 12px; }
#copyright {
    background: rgba(0,0,0,0.30) !important;
    border-top: 1px solid rgba(255,255,255,0.06) !important;
    color: rgba(255,255,255,0.35) !important;
}
#copyright a, #copyright span { color: rgba(255,255,255,0.35) !important; }
#copyright a:hover { color: rgba(255,255,255,0.6) !important; }

/* ── Footer brand column ── */
.footer-brand-col { padding-right: 1.5rem; }
.footer-brand-logo {
    height: 36px; width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
    display: block;
}
.footer-brand-desc {
    font-size: 13px;
    line-height: 1.65;
    color: rgba(255,255,255,0.55) !important;
}

/* ── Dropdowns — prevent overflow on mobile (cart, account, search) ── */
@media (max-width: 991px) {
    /* Cart */
    #cart-dropdown .dropdown-menu,
    #cart-dropdown-container {
        right: 0 !important;
        left: auto !important;
        max-width: calc(100vw - 16px) !important;
        min-width: 0 !important;
    }
    /* Account login/menu dropdown */
    .account-icon-dropdown .dropdown-menu {
        right: 0 !important;
        left: auto !important;
        max-width: calc(100vw - 16px) !important;
        min-width: 0 !important;
    }
    .account-icon-dropdown #account-dropdown-menu {
        width: min(320px, calc(100vw - 16px));
    }
}

/* ── Listing page cards — same design as slider ── */
/* Make Bootstrap col a flex container so height:100% resolves on .fb-lc */
.product-wrapper { display: flex; flex-direction: column; }

.fb-lc {
    background: #fff;
    border-radius: 14px;
    border: 1.5px solid transparent;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
@media (hover: hover) {
    .fb-lc:hover { box-shadow: 0 8px 32px rgba(74,39,69,0.14); border-color: #c9a8e0; }
}

/* Image */
.fb-lc__img-area { position: relative; }
.fb-lc__img-wrap { display: block; overflow: hidden; aspect-ratio: 1/1; background: #f5f0f7; }
.fb-lc__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; display: block; }
@media (hover: hover) { .fb-lc:hover .fb-lc__img { transform: scale(1.07); } }
.fb-lc__img-placeholder { width: 100%; aspect-ratio: 1/1; background: #ede8f0; }

/* Wishlist / compare overlay */
.fb-lc__img-btns {
    position: absolute; top: 8px; right: 8px;
    flex-direction: column; gap: 5px;
    opacity: 0; transition: opacity 0.2s;
}
@media (hover: hover) { .fb-lc:hover .fb-lc__img-btns { opacity: 1; } }
.fb-lc__img-btns .btn,
.fb-lc__img-btns button[type="submit"] {
    width: 34px !important; height: 34px !important; border-radius: 50% !important;
    background: rgba(255,255,255,0.92) !important; border: none !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    color: #4A2745 !important; font-size: 15px !important; cursor: pointer !important;
    box-shadow: 0 1px 5px rgba(0,0,0,0.18) !important;
    transition: background 0.18s, color 0.18s !important; padding: 0 !important; min-width: 0 !important;
}
.fb-lc__img-btns .btn:hover,
.fb-lc__img-btns button[type="submit"]:hover { background: #4A2745 !important; color: #fff !important; }
.fb-lc__img-btns button[type="submit"] span,
.fb-lc__img-btns button[type="submit"] i { color: #4A2745 !important; font-size: 14px !important; }
.fb-lc__img-btns button[type="submit"]:hover span,
.fb-lc__img-btns button[type="submit"]:hover i { color: #fff !important; }
.fb-lc__img-btns .wishlist-button-text,
.fb-lc__img-btns .btn-label { display: none !important; }
.fb-lc__img-btns form { margin: 0; padding: 0; }

/* Body — flex column so name grows and actions pin to bottom */
.fb-lc__body { padding: 10px 12px 12px; display: flex; flex-direction: column; flex: 1; }

/* Stars */
.fb-lc__stars { margin-bottom: 4px; line-height: 1; }
.fb-lc__stars .rating-stars,
.fb-lc__stars .stars { font-size: 12px !important; }

/* Name — flex:1 fills space, pushing price/delivery/actions down */
.fb-lc__name {
    font-size: 13px; font-weight: 600; color: #1C1917; line-height: 1.3;
    text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 4px; flex: 1;
}
.fb-lc__name:hover { color: #4A2745; }

/* Price */
.fb-lc__price { margin-bottom: 4px; }
.fb-lc__price .price,
.fb-lc__price strong,
.fb-lc__price b { font-size: 17px !important; font-weight: 800 !important; color: #4A2745 !important; }
.fb-lc__price s,
.fb-lc__price .old-price { font-size: 13px !important; color: #aaa !important; }
.fb-lc__price .base-price,
.fb-lc__price .per-unit,
.fb-lc__price small { font-size: 11px !important; color: #999 !important; font-weight: 400 !important; display: block; }

/* Delivery */
.fb-lc__delivery { font-size: 11px; color: #555; margin: 2px 0 8px; display: flex; align-items: center; gap: 5px; line-height: 1.3; }
.fb-lc__delivery i { color: #22c55e; font-size: 11px; }

/* Actions — pinned to bottom */
.fb-lc__actions { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
.fb-lc__actions form { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; }

/* Qty row */
.fb-lc__qty-wrap {
    display: flex; align-items: center; justify-content: center;
    border: 1.5px solid #e0d8e8; border-radius: 7px; overflow: hidden; width: 100%;
}
.fb-lc__qty-btn {
    background: none; border: none; width: 30px; height: 32px;
    font-size: 17px; font-weight: 700; cursor: pointer;
    color: #4A2745; display: flex; align-items: center; justify-content: center;
    transition: background 0.15s;
}
.fb-lc__qty-btn:hover { background: #f0e8f7; }
.fb-lc__qty-in {
    width: 34px; height: 32px; border: none; text-align: center;
    font-size: 13px; font-weight: 700; color: #1C1917; background: #fff;
    -moz-appearance: textfield;
}
.fb-lc__qty-in::-webkit-outer-spin-button,
.fb-lc__qty-in::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Add to cart button */
.fb-lc__add-btn {
    width: 100%; background: #4A2745; color: #fff; border: none;
    border-radius: 7px; padding: 8px 10px;
    font-size: 11px; font-weight: 700; cursor: pointer; letter-spacing: 0.04em;
    text-transform: uppercase; transition: background 0.2s;
}
.fb-lc__add-btn:hover { background: #2A1228; }

/* Variante wählen */
.fb-lc__link-btn {
    width: 100%; background: #4A2745; color: #fff !important; border: none;
    border-radius: 7px; padding: 8px 10px;
    font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
    text-transform: uppercase; transition: background 0.2s;
    display: flex; align-items: center; justify-content: center; text-decoration: none !important;
}
.fb-lc__link-btn:hover { background: #2A1228; color: #fff !important; text-decoration: none !important; }

/* ── iOS zoom fix — inputs must be ≥16px to prevent auto-zoom ── */
@media (max-width: 991px) {
    input[type="text"],
    input[type="email"],
    input[type="number"],
    input[type="search"],
    input[type="tel"],
    input[type="url"],
    input[type="password"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* ── Mobile nav: badge spacing fix ── */
@media (max-width: 991px) {
  #mainNavigation .nav-link .fa-sup,
  .navbar-collapse .fa-sup {
    position: relative; top: auto; left: auto;
    margin-left: 6px; vertical-align: middle;
    display: inline-block; line-height: 1;
  }
}


/* ════════════════════════════════════════════════
   PRODUCT DETAIL PAGE — Brand Light Theme
   ════════════════════════════════════════════════ */

/* Breadcrumb */
body.is-detail .breadcrumb-container { background: #f5f7fa; border-bottom: 1px solid rgba(74,39,69,0.1); }
body.is-detail .breadcrumb { background: transparent; }
body.is-detail .breadcrumb-link { color: rgba(42,18,40,0.45) !important; font-size: 13px; }
body.is-detail .breadcrumb-item.last .breadcrumb-link,
body.is-detail .breadcrumb-item.active .breadcrumb-link { color: #4A2745 !important; font-weight: 600; }
body.is-detail .breadcrumb-item + .breadcrumb-item::before { color: rgba(42,18,40,0.25); }

/* Product image box */
body.is-detail .product-detail-image-topbar { background: #f9f5fc; border-radius: 12px; border: 1px solid rgba(74,39,69,0.1); }
body.is-detail .product-detail-image-preview-bar .thumb { border: 2px solid rgba(74,39,69,0.15); border-radius: 8px; overflow: hidden; transition: border-color 0.2s; }
body.is-detail .product-detail-image-preview-bar .thumb:hover,
body.is-detail .product-detail-image-preview-bar .active.thumb { border-color: #4A2745; }

/* Product title */
body.is-detail h1.product-title { color: #2A1228; font-weight: 800; font-size: clamp(22px,3vw,36px); line-height: 1.15; }

/* Meta: sku, category, brand */
body.is-detail .info-essential { color: rgba(42,18,40,0.55); font-size: 13px; border-bottom: 1px solid rgba(74,39,69,0.1); padding-bottom: 14px; margin-bottom: 16px; }
body.is-detail .info-essential strong { color: rgba(42,18,40,0.75); }
body.is-detail .info-essential a { color: #4A2745 !important; text-decoration: underline; }
body.is-detail ul.info-essential { display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; align-items: center !important; gap: 4px 18px !important; margin: 0 !important; list-style: none !important; padding: 0 !important; }
body.is-detail ul.info-essential li { display: flex !important; align-items: center !important; gap: 4px !important; white-space: nowrap !important; }
body.is-detail ul.info-essential li + li { padding-left: 18px !important; border-left: 1px solid rgba(74,39,69,0.2) !important; }

/* Short description box */
body.is-detail .shortdesc { color: #333; line-height: 1.7; font-size: 14px; background: rgba(74,39,69,0.06); border-left: 3px solid #4A2745; padding: 14px 18px; border-radius: 0 8px 8px 0; margin-bottom: 20px; }

/* Variation weight buttons */
body.is-detail .variations dt,
body.is-detail .js-btn-slider-wrapper { color: rgba(42,18,40,0.55); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px; }
body.is-detail .swatches-selected { color: #4A2745 !important; }
body.is-detail label.variation.swatches-text { background: #fff; border: 1.5px solid rgba(74,39,69,0.2); color: #2A1228; border-radius: 12px; padding: 12px 16px; cursor: pointer; transition: all 0.18s ease; display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 90px; text-align: center; font-weight: 700; font-size: 15px; box-shadow: 0 2px 8px rgba(0,0,0,0.07); }
body.is-detail label.variation.swatches-text:hover { border-color: #4A2745; background: rgba(74,39,69,0.04); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(74,39,69,0.15); }
body.is-detail label.variation.swatches-text.active,
body.is-detail label.variation.swatches-text.selected { background: linear-gradient(135deg,#4A2745,#6B3A5E); border-color: #4A2745; color: #fff; box-shadow: 0 6px 18px rgba(74,39,69,0.4); transform: translateY(-1px); }
body.is-detail label.variation.swatches-text.active .variation-badge,
body.is-detail label.variation.swatches-text.selected .variation-badge { color: rgba(255,255,255,0.75); }
body.is-detail .variation-badge { font-size: 10.5px; color: rgba(42,18,40,0.45); white-space: nowrap; font-weight: 400; line-height: 1.4; }

/* Availability */
body.is-detail .text-success { color: #2d8a4e !important; }
body.is-detail .product-question a { color: #4A2745 !important; }

/* Buy notice */
body.is-detail .alert.choose-variations { background: rgba(74,39,69,0.07); border: 1px solid rgba(74,39,69,0.2); color: #2A1228; border-radius: 8px; }

/* Description tabs */
body.is-detail .tab-navigation { border-bottom: 1px solid rgba(74,39,69,0.15); }
body.is-detail .nav-tabs .nav-link { color: rgba(42,18,40,0.45); border: none; padding: 12px 20px; font-weight: 600; font-size: 14px; }
body.is-detail .nav-tabs .nav-link:hover { color: #2A1228; }
body.is-detail .nav-tabs .nav-link.active { color: #4A2745; border-bottom: 2px solid #4A2745; background: transparent; font-weight: 700; }
body.is-detail .tab-content { color: #444; line-height: 1.8; padding-top: 24px; }
body.is-detail .tab-content h1,body.is-detail .tab-content h2,
body.is-detail .tab-content h3,body.is-detail .tab-content strong { color: #2A1228; }
body.is-detail .tab-content a { color: #4A2745; }

/* Properties table */
body.is-detail table.table td,body.is-detail table.table th { border-color: rgba(74,39,69,0.1) !important; color: #444; }
body.is-detail table.table tbody tr:nth-child(even) { background: rgba(74,39,69,0.04) !important; }


/* ── Fix 1: Mobile nav — badge cramping (Wunschzettel/Vergleichsliste) ── */
@media (max-width: 991px) {
  .navbar-collapse .fa-sup,
  #mainNavigation .fa-sup,
  .nav-scrollbar-inner .fa-sup,
  .nav-mobile-body .fa-sup {
    position: relative !important;
    top: auto !important; left: auto !important; right: auto !important;
    margin: 0 0 0 8px !important;
    vertical-align: middle !important;
    display: inline-flex !important;
    min-width: 18px; height: 18px;
    border-radius: 50% !important;
    align-items: center; justify-content: center;
    font-size: 10px !important;
    line-height: 1;
  }
}

/* ── Fix 2: Product page — cart button overflow on mobile ── */
@media (max-width: 640px) {
  body.is-detail .product-buy .row { flex-wrap: wrap !important; }
  body.is-detail .product-buy [class*=col-sm] {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  body.is-detail .choose_quantity,
  body.is-detail .form-counter { width: 100% !important; }
  body.is-detail .btn-basket,
  body.is-detail button[name=inWarenkorb] {
    width: 100% !important;
    border-radius: 50px !important;
  }
}

/* ── Fix: qty input box — restore full border ── */
body.is-detail .form-counter {
    border: 1.5px solid rgba(74,39,69,0.35) !important;
    border-radius: 8px !important;
    overflow: visible !important;
    -webkit-appearance: none !important;
}
body.is-detail .form-counter:focus-within {
    border-color: #4A2745 !important;
    box-shadow: 0 0 0 2px rgba(74,39,69,0.12);
}
/* Safari/Firefox: ensure border shows on all sides */
body.is-detail #quantity-grp {
    border: 1.5px solid rgba(74,39,69,0.35) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

/* ── Product attributes table: 70/30 label/value split ── */
body.is-detail .product-attributes td:first-child {
    width: 70% !important;
    white-space: nowrap !important;
}
body.is-detail .product-attributes td:last-child {
    width: 30% !important;
}
