.site-header {
    background-color: #ffffff;
}

.desktop-header {
    display: block;
}

.mobile-header {
    display: none;
}

.custom-logo-link{
    height: 100%;
    max-height: 95px;
    max-width: 281px;
    width: auto;
    display: block;
}

.main-header,
.top-header {
    padding: 35px 0px 5px 0;
    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.top-header {
    background-color: #D62598;
    color: white;
    text-align: center;
    padding: 0 20px;
    height: 70px;
    max-height: 70px;
}


.top-header .header-row a{
    color: white;
    text-decoration: none;
    cursor: pointer;
    font-family: "Segoe UI Bold";
    font-size: 17.5px;

    transition: all ease-in-out 0.3s;

    display: flex!important;
    flex-direction: column!important;
    justify-content: center!important;
    align-items: center!important;
}

.site-header .container-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    max-width: 1200px;
    width: 90%;
}

#menu-header-top{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;

    margin: 0;
    padding: 0;
}

.header-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

.header-row {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;

    width: auto;
}

.header-row a,
.header-row span {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    font-size: 17.5px;
    font-weight: bold;
    transition: all ease-in-out 0.3s;
}

.logo img {
    max-height: 95px;
    max-width: 281px;
    width:auto;
}

.search-bar{
    border: 3px solid #6A6666;
    border-radius: 25px;
    overflow: hidden;
}

.search-bar form {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    background-color: #6A6666;
    position: relative;
}

.search-bar input[type="text"] {
    padding: 10px 15px;
    border-radius: 20px;
    border: none;
    width: 255px;

    font-size: 16px;
    font-family: "Roboto Condensed";
    margin-right: 12px;
    padding-right: 50px;
    color: #C6C6C6;
}

.search-bar input[type="text"]::placeholder {
    color: #C6C6C6;
    outline: none;
}

.search-bar button {
    background-color:#6A6666;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px 0px 0px 20px;

    position: absolute;
    top: 0;
    right: -1px;
    height: 100%;
}

.search-bar button i{
    font-size: 16px;
}

.header-navigation ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 20px 0 0;
    padding: 0;
    gap: 15px;
}

.header-navigation ul li {
    display: inline;
    text-align: left;
}

.header-navigation ul li a {
    text-decoration: none;
    color: #6A6666;
    cursor: pointer;

    font-family: "Segoe UI Bold";
    font-size: 17.5px;
}

.header-navigation ul li a:hover{
    color: #D62598;
}

#menu-header-top  a:hover {
    color: #000;
}

.header-icon{
    width: 42px;
    height: 42px;
}

/* Add this CSS to your theme's stylesheet or customizer */
.header-navigation .menu > li {
    display: flex; /* Make sure items are inline */
}

.header-navigation .menu > li:not(:first-child)::before {
    content: "|"; /* Separator symbol */
    margin-right: 15px;
    color: #D62598; /* Adjust color if needed */
}

#menu-header-top > li::before {
    content: "|"; /* Separator symbol */
    margin-right: 15px;
    color: #ccc; /* Adjust color if needed */
}

.header-navigation .menu .current-menu-item > a {
    color: #D62598; /* Change color of active item */
}

.header-navigation .menu > .current-menu-item:not(:first-child)::before {
    color: #D62598; /* Change color of active item separator */
}

#menu-header-top .current-menu-item > a{
    color: #000;
}

#menu-header-top .current-menu-item::before {
    color: #000;
}


/* MENU HOVER */
.bridge {
    position: absolute;
    top: 100%; /* Position directly below the title */
    left: 50%;
    transform: translateX(-50%);
    width: 200px; /* Adjust the width to cover the space between the title and dropdown */
    height: 83px;
    z-index: 99999;
}

.dropdown-menu{
    display: none;
    position: absolute;
    left: 80px;
    top: 83px;
    transform: translateX(-75%);
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 20px;

    border: 3px solid #D62598;
    border-bottom-right-radius: 50px;

    width: 1155px;
    min-height: 300px;
}

.dropdown-application{
    width: 180px;
    min-height: 200px;
    left: 65px;
}

.page-template-template-homepage .dropdown-menu,
.page-template-template-homepage .bridge{
    top: 63px;
}

/* Show dropdown on hover over either the menu item or the dropdown itself */
.menu-item-has-dropdown:hover .dropdown-menu,
.menu-item-has-dropdown .bridge:hover,
.menu-item-has-dropdown:focus-within .dropdown-menu,
.dropdown-menu:hover,
.dropdown-menu.dropdown-visible {
    display: block;
}

.dropdown-menu .family-column > p > a{
    font-size: 15px;
}

.product-families{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.family-column{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

    gap: 5px;
}


.family-column p{
    margin: 0;

    font-family: "Segoe UI SemiBold";
    font-size: 15px;
    color: #6A6666;
    text-transform: uppercase;
}

.family-column ul{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    gap: 5px;

    margin: 0;
}

.family-column ul li a{
    margin: 0;

    font-family: "Segoe UI";
    font-size: 13.5px;
    color: #6A6666;
    text-transform: capitalize;
}

.dropdown-menu > a:first-child,
.product-families > a:first-child{
    display: none!important;
}

.dropdown-application ul.applications-list{
    display: flex;
    flex-direction: column !important;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    margin: 0;
}

.dropdown-application ul li a {
    text-transform: uppercase;
    font-size: 15px;
    font-family: "Segoe UI Bold";
    color: #6A6666;
}

@media screen and (max-width: 991px){

    .bridge {
        display: none;
    }

    .desktop-header {
        display: none;
    }

    .mobile-header {
        display: block;

        position: relative;
    }

    .top-content{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: stretch;
        gap: 20px;
    }

    .top-content-row{
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 25px;
        padding: 20px 0px 0px 0px;
    }

    .logo img {
        max-height: 20vw;
        height: auto;
    }

    .fixed-menu{
        position: fixed;
        top: 20px;
        right: 0;
        z-index: 100;
    }

    .contact-links{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .fixed-link{
        border-radius: 5px 0px 0px 5px;
        background-color: #D62598;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap:5px;
        padding: 10px;

        z-index: 99999;
    }

    .fixed-link img{
        width: 25px;
        height: 25px;
    }


    .search-bar{
        border-radius: 5px;
        margin: 0 15px;
        width: auto;
    }

    .search-bar input[type="text"]{
        border-radius: 0px;
        margin: 0;
        width: 100%;
    }
    .search-bar button{
        border-radius: 0px;
        padding: 0px;
        width: 45px;
    }

    .fa-magnifying-glass:before, .fa-search:before{
        font-size: 21px;
    }

    /* BUGER MENU */

    .top-content-row .logo{
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .menu-burger{
        border-radius: 0px 5px 5px 0px;
        background-color: #D62598;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap:4px;
        padding: 12px 10px;

        position: relative;
        cursor: pointer;
        z-index: 99999;
    }

    .menu-burger.active{
        position: fixed;
        padding: 15px 10px;
    }

    .empty-space{
        width: 43px;
        height: 43px;
        padding: 12px 10px;
    }

    .menu-burger .burger-line {
        width: 25px;
        height: 3px;
        background-color: white;
        transition: all ease-in-out 0.3s;
    }

    .menu-burger.active .burger-line:nth-child(1) {
        transform: rotate(45deg) translate(3px, 2px);
    }

    .menu-burger.active .burger-line:nth-child(2) {
        display: none;
    }

    .menu-burger.active .burger-line:nth-child(3) {
        transform: rotate(-45deg) translate(3px, -2.5px);
    }


    .bg-burger-menu{
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.8);
        z-index: 9999;
        padding: 40px 0px;
    }

    .bg-burger-menu.active{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .burger-menu{
        position: fixed;
        width: 300px;
        height: 100%;
        z-index: 99999;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .header-navigation{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .header-navigation ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;

        padding: 0;
        margin: 0;
    }

    .dropdown-application ul.applications-list{
        align-items: center;
    }

    .header-navigation ul .application-item a{
        text-decoration: none;
        color: #fff;
        cursor: pointer;
        font-size: 15px;
        font-family: "Segoe UI SemiBold";
        text-align: center;
    }

    .header-navigation ul li {
        display: block;
    }

    .header-navigation ul li a {
        text-decoration: none;
        color: #fff;
        cursor: pointer;
        font-size: 17px;

        font-family: "Segoe UI Bold";
    }

    .header-navigation .menu > li:first-child >a:first-child,
    .menu-item-has-dropdown > a:first-child {
        display: none;
    }

    .header-navigation .menu > li:not(:first-child)::before{
        display: none;
    }

    /* Default dropdown menu styling (hidden by default) */
    .dropdown-menu {
        position: relative;
        background-color: transparent;
        box-shadow: none;
        z-index: 999;
        padding: 0px;
        border: none;
        border-bottom-right-radius: 0px;
        width: auto;
        min-height: auto;
        left: inherit;
        top: inherit;
        transform: none;
        display: none; /* Hidden by default */
        opacity: 0; /* Ensure it's visually hidden */
        visibility: hidden; /* Prevent interaction */
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    /* Remove hover or focus-within effects for hiding conflicts */
    .menu-item-has-dropdown:hover .dropdown-menu,
    .menu-item-has-dropdown:focus-within .dropdown-menu,
    .dropdown-menu:hover {
        display: none; /* Prevent hover conflicts */
        opacity: 0;
        visibility: hidden;
    }

    /* Bridge hover effect, if necessary */
    .menu-item-has-dropdown .bridge:hover {
        display: none; /* Prevent bridge interactions from conflicting */
    }

    /* Dropdown menu visible state */
    .menu-item-has-dropdown .dropdown-menu.dropdown-visible {
        display: flex; /* Show only when explicitly marked visible */
        opacity: 1;
        visibility: visible;
    }



    .menu-item-has-dropdown{
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    .product-families{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    .header-navigation ul li .product-families a{
        font-family: "Segoe UI Light";
    }

    .menu-item-has-dropdown .dropdown-menu.dropdown-visible{
        background-color: transparent;
    }

    .header-navigation .menu > li.hidden{
        display: none;
    }
}

