.header-top{
    align-items:center;
    display:flex;
    height: var(--header-h);
    justify-content:space-between;
    padding: 0 20px;
    }

/* Branch */
.branch {
    display: block;
    flex: 0 0 auto;
    height: 100%;
    width: 60%;
}
.branch a {
    display: block;
    height: 100%;
    position: relative;
    width: 110.38px;
}
.branch img {
    display: block;
    height: 80%;
    inset: 0;
    padding: 10% 0 0 5%;
    position: absolute;
    transition: opacity .5s ease;
    width: auto;
}

/* Menu */
.menu-desktop {
    width: 100%
}
nav.menu-desktop {
    background-color: var(--color-lilac);
    display: flex;
    height: var(--menu-h);
    position: relative;
    width: 100%;
    padding: 0 30px;
    box-sizing: border-box;
}
nav.menu-desktop a {
    align-items: center;
    color: black;
    display: flex;
    font-size: larger;
    font-weight: bold;
    height: 100%;
    justify-content: center;
    line-height: 1.2;
    position: relative;
    text-decoration: none;
    white-space: nowrap;
}
nav.menu-desktop a, nav.menu-desktop a:link, nav.menu-desktop a:visited{
    background: transparent !important;
    background-image: none !important;
    background-repeat: no-repeat !important;
    background-size: 0 0 !important;
    border: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    filter: none !important;
    outline: none !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
}
.menu-desktop li{
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    }
.menu-desktop ul {
    align-items: center;
    display: flex;
    gap: 10%;
    height: 100%;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}
.navigation-menu a.active{
    -webkit-text-stroke: 0.8px currentColor;
}
.navigation-menu a.active::after{
    background: var(--color-lilac);
    bottom:-4px;
    content:"";
    height:2px;
    left:0;
    position:absolute;
    width:100%;
    }



/* Finder */
.finder-div {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    padding: 10px;
    position: relative;
    width: 35%;
}
.finder-tool {
    align-items: center;
    display: flex;
    height: 70%;
    gap: 4px;
    justify-content: center;
    margin-top: 5px;
    max-width: 360px;
    width: 100%;
}
.label-finder {
    border: 0;
    border-radius: 10px;
    font-size: 16px;
    height: 38px;
    outline: none;
    opacity: 0;
    padding: 0;
    transition: width .3s ease, opacity .2s ease, padding .3s ease, border .3s ease;
    width: 0;
}
.button-finder {
    align-items: center;
    background: var(--color-white);
    border: 0;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,.2);
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    flex: 0 0 40px;
    justify-content: center;
    height: 40px;
    padding: 0;
    width: 40px;
}
.spyglass {
    object-fit: contain;
    filter: invert(1);
    height: 80%;
    width: 80%;
}



/* Profile info */
.icon-box{
    align-items: center;
    display: flex;
    flex: 1;
    justify-content: center;
    position: relative;
    }
.icons {
    flex: 1;
    height: 45%;
    object-fit: fill;
    transition: filter .3s ease;
    width: 100%;
}
.profile-icon {
    background: none;
    border: none;
    cursor: pointer;
    display: block;
    filter: invert(1);
    object-fit: fill;
    height: 100%;
}
.shoppingbag-icon {
    background: none;
    border: none;
    cursor: pointer;
    display: block;
    height: 80%;
    object-fit: fill;
}
.profile-info {
    display: flex;
    height: 100%;
    width: 7%;
}
.profile-menu {
    background: var(--color-white);
    border: 1px solid var(--color-black);
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,.15);
    list-style: none;
    min-width: 180px;
    opacity: 0;
    padding: 10px 0;
    pointer-events: none;
    position: absolute;
    top: 75px;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease;
    z-index: 999;
}
.profile-menu a{
    color: var(--color-black);
    padding: 3px 10%;
    text-decoration: none;
}



/* Branch */
.img-hover { opacity: 0;}
.branch a:hover .img-hover { opacity: 1; transform: scale(1.08); }
.branch a:hover .img-normal{ opacity: 0; }

/* Profile */
.profile-icon:hover { transform: scale(1.05); }
.shoppingbag-icon:hover { transform: scale(1.05); }
.icon-box.active .profile-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.profile-menu a:hover{ background: rgba(0,0,0,.06); }

/* Finder */
.button-finder:hover { background: linear-gradient(135deg, var(--color-pink), var(--color-cream), var(--color-aqua)); box-shadow: 0 6px 14px rgba(0,0,0,.3); transform: scale(1.2); }
.finder-div.active .label-finder { width: clamp(160px, 20vw, 280px); opacity: 1; padding: 0 10px; border: 1px solid var(--color-lightgray); }

@media (max-width: 600px) {
    .header-top{
        align-items: center;
        display: flex;
        height: var(--header-h);
        justify-content: space-between;
        padding: 0 24px;
        position: relative;
        width: 100%;
    }
    .container{
        width: min(92%, 1200px);
        margin: 0 auto;
    }
    .burger-menu{
        background: none;
        border: none;
        color: black;
        display: grid;
        font-size: 28px;
        height: 44px;
        line-height: 44px;
        place-items: center;
        width: 44px;
    }
    #menu-slot{
        align-items: center;
        display: flex;
        flex: 0 0 44px;
        height: 100%;
        position: relative;
    }
    #menu-slot:empty{
        visibility: hidden;
    }
    .branch{
        align-items: center;
        display: flex;
        height: 100%;
        justify-content: center;
        left: 50%;
        position: absolute;
        transform: translateX(-50%);
        z-index: 5;
    }
    .branch a{
        display: block;
        height: 100%;
        position: relative;
        width: 85px;
    }
    .branch img{
        display: block;
        height: 80%;
        inset: 0;
        padding: 10% 0 0 5%;
        position: absolute;
        transition: opacity .5s ease;
        width: auto;
    }
    .mobile-drawer{
        background: var(--color-white);
        border: 1px solid rgba(0,0,0,.12);
        border-radius: 12px;
        box-shadow: 0 12px 30px rgba(0,0,0,.18);
        left: 0;
        position: absolute;
        top: calc(100% - 10px);
        width: 240px;
        z-index: 2000;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-6px);
        transition: opacity .18s ease, transform .18s ease;
        padding: 10px 0;
    }
    .mobile-drawer a{
        border-top: 1px solid rgba(0,0,0,.06);
        display: block;
        padding: 12px;
        text-decoration: none;
        width: 100%;
    }
    .mobile-nav,
    .submenu-panel {
        margin: 0;
        padding: 0;
    }
    .mobile-nav[hidden],
    .submenu-panel[hidden] {
        display: none !important;
    }
    .mobile-nav[hidden] {
        display: none !important;
    }
    .submenu-back {
        font-weight: bold;
        background: #fafafa;
    }
    .mobile-drawer a:first-child{
        border-top: 0;
    }
    .mobile-drawer a:active{
        background: rgba(0,0,0,.06);
    }
    .mobile-drawer[hidden]{
        display: none !important;
    }
    .mobile-drawer:not([hidden]){
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
    #nav-slot{
        position: relative;
        width: 100%;
        z-index: 999;
    }
    #nav-slot:empty{
        display: none;
    }
    .finder-div{
        display: none;
    }
    .profile-info{
        align-items: center;
        display: flex;
        flex: 0 0 44px;
        justify-content: flex-end;
        z-index: 6;
    }
    .icon-box{
        align-items: center;
        display: flex;
        flex: 1;
        justify-content: center;
        position: relative;
    }
    .icons{
        flex: 1;
        height: 50%;
        object-fit: fill;
        transition: filter .3s ease;
        width: 100%;
    }
    .profile-icon{
        display: none;
    }
    .shoppingbag-icon{
        background: none;
        border: none;
        cursor: pointer;
        display: block;
        height: 80%;
        object-fit: fill;
    }

    .profile-menu{
        background: var(--color-white);
        border: 1px solid var(--color-black);
        border-radius: 10px;
        box-shadow: 0 10px 20px rgba(0,0,0,.15);
        list-style: none;
        min-width: 180px;
        opacity: 0;
        padding: 10px 0;
        pointer-events: none;
        position: absolute;
        top: 75px;
        transform: translateY(10px);
        transition: opacity .2s ease, transform .2s ease;
        z-index: 999;
    }

    .profile-menu a{
        color: var(--color-black);
        padding: 3px 10%;
        text-decoration: none;
    }



    /* Animations */
    .profile-icon:hover{
        transform: scale(1.05);
    }

    .shoppingbag-icon:hover{
        transform: scale(1.05);
    }

    .icon-box.active .profile-menu{
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .profile-menu a:hover{
        background: rgba(0,0,0,.06);
    }

    .img-hover{
        opacity: 0;
    }

    .branch a:hover .img-hover{
        opacity: 1;
        transform: scale(1.08);
    }

    .branch a:hover .img-normal{
        opacity: 0;
    }
}



@media (min-width: 601px) and (max-width: 991px) {
    header {
        height: 8em;
        width: 100%;
    }
}