/* Wallance — kompakt modern header */
.wl-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: rgba(251, 250, 248, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(22, 22, 22, 0.07);
}

.wl-header__inner {
    width: min(1200px, calc(100% - 28px));
    margin: 0 auto;
    height: 56px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wl-logo {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    color: #15120f !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    text-decoration: none !important;
}

.wl-logo:hover,
.wl-logo:focus,
.wl-logo:visited {
    color: #15120f !important;
    text-decoration: none !important;
}

.wl-nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.wl-nav .main-menu,
.wl-nav ul.navbar-nav,
.wl-nav ul {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    float: none;
    width: auto;
}

.wl-nav .main-menu > li {
    margin: 0;
    padding: 0;
    list-style: none;
    flex: 0 0 auto;
}

.wl-nav .main-menu > li > a {
    display: inline-flex;
    align-items: center;
    height: 30px;
    min-height: 0;
    padding: 0 10px;
    border-radius: 999px;
    color: #2b2926 !important;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0;
    text-decoration: none !important;
    white-space: nowrap;
    line-height: 1;
    transition: background 0.15s ease, color 0.15s ease;
}

.wl-nav .main-menu > li > a:hover,
.wl-nav .main-menu > li > a:focus,
.wl-nav .main-menu > li.active > a {
    background: #171717;
    color: #fff !important;
}

.wl-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 4px;
}

.wl-icon {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #171717 !important;
    background: transparent;
    border: 0;
    padding: 0;
    text-decoration: none !important;
    transition: background 0.15s ease, color 0.15s ease;
}

.wl-icon:hover,
.wl-icon:focus {
    background: rgba(0, 0, 0, 0.05);
    color: #171717 !important;
}

.wl-icon i,
.wl-icon .fa {
    font-size: 14px;
    line-height: 1;
    color: inherit !important;
}

.wl-icon svg {
    width: 15px;
    height: 15px;
    display: block;
    stroke-width: 2.2;
}

.wl-icon.is-active {
    background: #171717;
    color: #fff !important;
}

.wl-avatar-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    text-decoration: none !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.wl-avatar-link__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.wl-avatar-link:hover,
.wl-avatar-link:focus {
    border-color: rgba(0, 0, 0, 0.24);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.14);
    transform: translateY(-1px);
}

.wl-avatar-link.is-active {
    border-color: #171717;
    box-shadow: 0 0 0 2px rgba(23, 23, 23, 0.16);
}

.wl-icon--logout:hover,
.wl-icon--logout:focus {
    background: #fff1f0;
    color: #b42318 !important;
}

.wl-badge {
    position: absolute;
    top: -1px;
    right: -2px;
    min-width: 14px;
    height: 14px;
    padding: 0 3px;
    border-radius: 999px;
    background: #171717;
    color: #fff !important;
    font-size: 9px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.wl-cta,
a.wl-cta,
.wl-header .wl-cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    padding: 0 11px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    border: 0 !important;
    background: #171717 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: none !important;
}

.wl-cta:hover,
.wl-cta:focus,
.wl-cta:visited,
a.wl-cta:hover,
a.wl-cta:focus,
a.wl-cta:visited {
    background: #2c2620 !important;
    color: #fff !important;
    text-decoration: none !important;
}

.wl-cta--ghost,
a.wl-cta--ghost {
    background: #fff !important;
    color: #171717 !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.wl-cta--ghost:hover,
.wl-cta--ghost:focus,
.wl-cta--ghost:visited {
    background: #f3eee8 !important;
    color: #171717 !important;
}

.wl-search {
    display: none;
    align-items: center;
    gap: 0;
    width: 150px;
    height: 30px;
    padding: 0 3px 0 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.wl-search input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 12px;
    color: #171717;
    padding: 0;
}

.wl-search button {
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 50%;
    background: #171717;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    font-size: 11px;
}

.wl-header .mobile-nav {
    display: none;
}

.wl-header .slicknav_menu {
    background: transparent;
    padding: 0;
}

.wl-header .slicknav_btn {
    margin: 0;
    background: #171717;
    border-radius: 8px;
    padding: 6px 8px;
}

.wl-header .slicknav_nav {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(30, 24, 18, 0.1);
    margin-top: 8px;
    padding: 8px;
    position: absolute;
    right: 0;
    min-width: 200px;
}

.wl-header .slicknav_nav a {
    color: #171717 !important;
    font-weight: 650;
    font-size: 13px;
    border-radius: 8px;
}

.wl-header .slicknav_nav a:hover {
    background: #f3eee8;
}

@media (min-width: 1100px) {
    .wl-search {
        display: inline-flex;
    }
}

@media (max-width: 991px) {
    .wl-header__inner {
        height: 52px;
        width: min(100% - 20px, 1200px);
        position: relative;
    }

    .wl-logo {
        font-size: 20px;
    }

    .wl-nav {
        display: none;
    }

    .wl-header .mobile-nav {
        display: block;
        order: 3;
    }

    .wl-cta {
        display: none !important;
    }

    .wl-actions {
        margin-left: auto;
    }
}
