/* FOCOS protected customization protected-css-559070ec-b4fd-4844-8184-58f6491c8e5d r1 sha256:b05cecdac8167ee0ecffe02ae54c9bc4e765257790d0a5342167b0a5b5dae7c8 */
/* Ruhige Bildsprache und lesbare native Navigation; Commerce bleibt NOVA. */
#jtl-nav-wrapper .dropdown-menu a:not(.btn),
#jtl-nav-wrapper .dropdown-menu button:not(.btn),
#jtl-nav-wrapper .dropdown-menu .nav-link {
    color: var(--focos-text-primary) !important;
}

#jtl-nav-wrapper .dropdown-menu a:not(.btn):hover,
#jtl-nav-wrapper .dropdown-menu a:not(.btn):focus-visible {
    background: var(--focos-bg-soft);
    color: var(--focos-text-primary) !important;
}

/* FOCOSNext 0.4.121 - opt-in directory for category-heavy NOVA megamenus. */
#jtl-nav-wrapper .focos-megamenu-directory {
    display: grid;
    gap: clamp(1rem, 2vw, 1.6rem);
    min-width: 0;
    max-width: 100%;
    width: 100%;
    padding: clamp(1.15rem, 2.4vw, 2rem);
    color: var(--focos-text-primary);
}

#jtl-nav-wrapper .focos-megamenu-directory__header {
    display: grid;
    grid-template-columns: minmax(14rem, 0.75fr) minmax(16rem, 1.25fr);
    align-items: end;
    gap: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--focos-color-border);
}

#jtl-nav-wrapper .focos-megamenu-directory--compact
.focos-megamenu-directory__header {
    grid-template-columns: minmax(0, 1fr);
}

#jtl-nav-wrapper .focos-megamenu-directory__intro {
    display: grid;
    min-width: 0;
    gap: 0.25rem;
}

#jtl-nav-wrapper .focos-megamenu-directory__eyebrow {
    color: var(--focos-color-secondary-action);
    font-size: 0.73rem;
    font-weight: 750;
    letter-spacing: 0.14em;
}

#jtl-nav-wrapper .focos-megamenu-directory__title {
    max-width: 100%;
    color: var(--focos-text-primary);
    font-size: clamp(1.1rem, 1.5vw, 1.4rem);
    line-height: 1.25;
    overflow-wrap: anywhere;
    white-space: normal !important;
    word-break: break-word;
}

/* Lederfarben-Banner */
#jtl-nav-wrapper .focos-megamenu-promotion {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(9rem, 13rem);
    align-items: center;
    gap: clamp(1rem, 3vw, 2.75rem);
    min-width: 0;
    overflow: hidden;
    padding: clamp(1rem, 2vw, 1.5rem) clamp(1.1rem, 2.6vw, 2rem);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--focos-radius-lg);
    background:
        radial-gradient(
            circle at 88% 12%,
            rgba(157, 54, 126, 0.46),
            transparent 38%
        ),
        linear-gradient(135deg, #211a1f 0%, #3c2735 100%);
    color: #fff;
    box-shadow: 0 0.9rem 2rem rgba(25, 17, 23, 0.18);
}

#jtl-nav-wrapper .focos-megamenu-promotion::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.3rem;
    content: "";
    background: var(--focos-color-primary-action, #9d367e);
}

#jtl-nav-wrapper .focos-megamenu-promotion__copy {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 0.35rem;
    white-space: normal;
}

#jtl-nav-wrapper .focos-megamenu-promotion__copy > * {
    min-width: 0;
    max-width: 100%;
}

#jtl-nav-wrapper .focos-megamenu-promotion__eyebrow {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.15em;
    white-space: normal !important;
}

#jtl-nav-wrapper .focos-megamenu-promotion__title {
    width: 100%;
    color: #fff;
    font-size: clamp(1.18rem, 1.8vw, 1.55rem);
    line-height: 1.18;
    overflow-wrap: anywhere;
    white-space: normal !important;
}

#jtl-nav-wrapper .focos-megamenu-promotion__text {
    width: 100%;
    max-width: 50rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.91rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
    white-space: normal !important;
}

#jtl-nav-wrapper
.focos-megamenu-promotion
a.focos-megamenu-promotion__action {
    display: inline-flex;
    min-height: 2.65rem;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.35rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: var(--focos-color-primary-action, #9d367e);
    color: #fff !important;
    font-size: 0.87rem;
    font-weight: 750;
    text-decoration: none;
    white-space: normal !important;
    transition: filter 150ms ease, transform 150ms ease;
}

#jtl-nav-wrapper
.focos-megamenu-promotion
a.focos-megamenu-promotion__action:hover,
#jtl-nav-wrapper
.focos-megamenu-promotion
a.focos-megamenu-promotion__action:focus-visible {
    color: #fff !important;
    filter: brightness(1.12);
    transform: translateY(-1px);
}

#jtl-nav-wrapper .focos-megamenu-promotion__palette {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    min-width: 0;
    padding-inline: 1.5rem 0.25rem;
}

#jtl-nav-wrapper .focos-megamenu-promotion__swatch {
    width: clamp(2.8rem, 4.2vw, 4rem);
    aspect-ratio: 1;
    flex: 0 0 auto;
    margin-left: -1.25rem;
    border: 0.2rem solid rgba(255, 255, 255, 0.78);
    border-radius: 50%;
    background: #171416;
    box-shadow: 0 0.45rem 1rem rgba(0, 0, 0, 0.28);
}

#jtl-nav-wrapper
.focos-megamenu-promotion__swatch:nth-child(2) {
    background: #4b342d;
}

#jtl-nav-wrapper
.focos-megamenu-promotion__swatch:nth-child(3) {
    background: #80604e;
}

#jtl-nav-wrapper
.focos-megamenu-promotion__swatch:nth-child(4) {
    background: #b89b83;
}

#jtl-nav-wrapper
.focos-megamenu-promotion__swatch:nth-child(5) {
    background: #ded0c2;
}

/* Suche */
#jtl-nav-wrapper .focos-megamenu-directory__search {
    position: relative;
}

#jtl-nav-wrapper .focos-megamenu-directory__search::before {
    position: absolute;
    top: 50%;
    left: 1rem;
    content: "⌕";
    color: var(--focos-text-muted);
    font-size: 1.2rem;
    pointer-events: none;
    transform: translateY(-50%) rotate(-20deg);
}

#jtl-nav-wrapper
.focos-megamenu-directory__search
.form-control {
    min-height: 3.25rem;
    padding-inline: 3rem 1rem;
    border: 1px solid var(--focos-color-border);
    border-radius: var(--focos-radius-md);
    background: var(--focos-bg-surface);
    color: var(--focos-text-primary);
    box-shadow: none;
}

#jtl-nav-wrapper
.focos-megamenu-directory__search
.form-control:focus {
    border-color: var(--focos-color-primary-action);
    outline: 3px solid
        color-mix(
            in srgb,
            var(--focos-color-primary-action) 20%,
            transparent
        );
}

/* Hervorgehobene Kategorien */
#jtl-nav-wrapper .focos-megamenu-directory h3 {
    margin: 0;
    color: var(--focos-text-primary);
    font-size: 0.79rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#jtl-nav-wrapper .focos-megamenu-directory__featured,
#jtl-nav-wrapper .focos-megamenu-directory__all {
    display: grid;
    gap: 0.75rem;
}

#jtl-nav-wrapper .focos-megamenu-directory__featured[hidden] {
    display: none;
}

#jtl-nav-wrapper .focos-megamenu-directory__featured ul,
#jtl-nav-wrapper .focos-megamenu-directory__list {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
}

#jtl-nav-wrapper .focos-megamenu-directory__featured ul {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.6rem;
}

#jtl-nav-wrapper
.focos-megamenu-directory
a.focos-megamenu-directory__featured-link {
    display: flex;
    min-height: 2.8rem;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--focos-color-border);
    border-radius: 999px;
    background: var(--focos-bg-soft);
    color: var(--focos-text-primary) !important;
    font-size: 0.9rem;
    font-weight: 650;
    text-align: center;
    text-decoration: none;
}

#jtl-nav-wrapper
.focos-megamenu-directory
a.focos-megamenu-directory__featured-link:hover,
#jtl-nav-wrapper
.focos-megamenu-directory
a.focos-megamenu-directory__featured-link:focus-visible {
    border-color: var(--focos-color-primary-action);
    background:
        color-mix(
            in srgb,
            var(--focos-color-primary-action) 10%,
            var(--focos-bg-surface)
        );
}

/* Alle Kategorien */
#jtl-nav-wrapper .focos-megamenu-directory__section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

#jtl-nav-wrapper
.focos-megamenu-directory__section-heading
span {
    color: var(--focos-text-muted);
    font-size: 0.8rem;
    font-variant-numeric: tabular-nums;
}

#jtl-nav-wrapper .focos-megamenu-directory__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: clamp(1rem, 2.5vw, 2.5rem);
}

#jtl-nav-wrapper
.focos-megamenu-directory--compact
.focos-megamenu-directory__list {
    grid-template-columns:
        repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
}

#jtl-nav-wrapper .focos-megamenu-directory__list > li {
    min-width: 0;
    border-bottom: 1px solid var(--focos-color-border);
}

#jtl-nav-wrapper
.focos-megamenu-directory__list > li[hidden] {
    display: none;
}

#jtl-nav-wrapper
.focos-megamenu-directory
a.focos-megamenu-directory__link {
    display: flex;
    min-height: 2.75rem;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0.2rem;
    color: var(--focos-text-primary) !important;
    font-size: 0.94rem;
    line-height: 1.25;
    text-decoration: none;
}

#jtl-nav-wrapper
.focos-megamenu-directory
a.focos-megamenu-directory__link::after {
    content: "→";
    color: var(--focos-color-secondary-action);
    opacity: 0;
    transform: translateX(-0.35rem);
    transition: opacity 150ms ease, transform 150ms ease;
}

#jtl-nav-wrapper
.focos-megamenu-directory
a.focos-megamenu-directory__link:hover,
#jtl-nav-wrapper
.focos-megamenu-directory
a.focos-megamenu-directory__link:focus-visible {
    background: transparent;
    color: var(--focos-color-secondary-action) !important;
}

#jtl-nav-wrapper
.focos-megamenu-directory
a.focos-megamenu-directory__link:hover::after,
#jtl-nav-wrapper
.focos-megamenu-directory
a.focos-megamenu-directory__link:focus-visible::after {
    opacity: 1;
    transform: translateX(0);
}

#jtl-nav-wrapper .focos-megamenu-directory__empty {
    margin: 0;
    padding: 1rem;
    border-radius: var(--focos-radius-md);
    background: var(--focos-bg-soft);
    color: var(--focos-text-muted);
}

#jtl-nav-wrapper
.focos-megamenu-directory
a.focos-megamenu-directory__overview {
    display: inline-flex;
    width: max-content;
    align-items: center;
    gap: 0.55rem;
    color: var(--focos-color-secondary-action) !important;
    font-weight: 700;
    text-decoration: none;
    white-space: normal;
}

#jtl-nav-wrapper
.focos-megamenu-directory
a.focos-megamenu-directory__overview:hover,
#jtl-nav-wrapper
.focos-megamenu-directory
a.focos-megamenu-directory__overview:focus-visible {
    text-decoration: underline;
    text-underline-offset: 0.25em;
}

/* Tablet */
@media (max-width: 74.99rem) {
    #jtl-nav-wrapper
    .focos-megamenu-directory__featured ul {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #jtl-nav-wrapper
    .focos-megamenu-directory__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 61.99rem) {
    #jtl-nav-wrapper .focos-megamenu-directory {
        padding: 1rem 0.75rem 1.5rem;
    }

    #jtl-nav-wrapper
    .focos-megamenu-directory__header {
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 0.85rem;
    }

    #jtl-nav-wrapper .focos-megamenu-promotion {
        grid-template-columns: minmax(0, 1fr) minmax(7rem, 10rem);
    }

    #jtl-nav-wrapper
    .focos-megamenu-directory__featured ul,
    #jtl-nav-wrapper
    .focos-megamenu-directory__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Smartphone */
@media (max-width: 35.99rem) {
    #jtl-nav-wrapper .focos-megamenu-promotion {
        grid-template-columns: minmax(0, 1fr);
        padding: 1rem 1.05rem 1.1rem 1.25rem;
    }

    #jtl-nav-wrapper
    .focos-megamenu-promotion__palette {
        display: none;
    }

    #jtl-nav-wrapper
    .focos-megamenu-directory__featured ul,
    #jtl-nav-wrapper
    .focos-megamenu-directory__list {
        grid-template-columns: minmax(0, 1fr);
    }

    #jtl-nav-wrapper
    .focos-megamenu-directory
    a.focos-megamenu-directory__featured-link {
        justify-content: flex-start;
        border-radius: var(--focos-radius-md);
        text-align: left;
    }
}

