/** Shopify CDN: Minification failed

Line 361:29 Cannot use type selector "--loose" directly after nesting selector "&"

**/
.custom-header {
    padding: 24px 0;

    * {
        font-family: 'EtelkaTextPro-400', sans-serif;
    }

    .header-wraps {
        display: flex;
        gap: 35px;
        align-items: center;

        .logo, a {
            display: flex;
        }

        @media (max-width: 991px){
            .logo{
                flex: auto;
            }
        }

        .header-navigation-side {
            width: 100%;
            display: flex;
            justify-content: end;
            gap: 35px;
            align-items: center;

            @media (max-width: 991px){
                width: auto;
            }
        }
    }

    /* ===== Header Product Search - CSS Start ===== */
    .header-search {
        width: 100%;
        max-width: 300px;

        .custom-search {
            position: relative;

            form {
                display: flex;
                width: 100%;
                background-color: #F2F2F2;

                input[type="search"] {
                    width: 100%;
                    padding: 12px 40px 12px 16px;
                    background: transparent;
                    border: 0;
                    color: #07304A;
                    font-size: 14px;
                    outline: none;
                    box-shadow: none;

                    &::placeholder {
                        color: #07304A;
                        opacity: 1;
                        /* Firefox */
                    }

                    &::-webkit-input-placeholder {
                        color: #07304A;
                    }

                    &::-moz-placeholder {
                        color: #07304A;
                    }

                    &:-ms-input-placeholder {
                        color: #07304A;
                    }
                }

                button {
                    cursor: pointer;
                    border: 0;
                    padding: 12px 16px;
                }
            }

            .search-dropdown {
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: #fff;
                border: 1px solid #ddd;
                z-index: 99;
                padding: 10px;
                font-size: 14px;

                .search-item {
                    display: flex;
                    align-items: center;
                    gap: 10px;
                    padding: 10px;
                    text-decoration: none;
                    color: #000;

                    &:hover {
                        background: #f5f5f5;
                    }

                    img {
                        width: 40px;
                        height: 40px;
                        object-fit: cover;
                    }
                }
            }
        }
    }

    /* ===== Header Mega Menu - SCSS Start ===== */
    .mega-nav {
        position: relative;
        z-index: 100;

        .main-menu {
            display: flex;
            align-items: center;
            gap: 12px;
            list-style: none;
            padding: 0;
            margin: 0;
            
            @media (max-width: 991px) {
                flex-direction: column;
                align-items: stretch;
            }

            .menu-item {
                position: relative;

                >a {
                    display: inline-flex;
                    gap: 8px;
                    align-items: center;
                    color: #07304A;
                    text-decoration: none;
                    font-size: 14px;

                    @media (max-width: 991px) {
                        justify-content: space-between;
                        width: 100%;
                    }
                }

                /* OPEN STATE (controlled by JS) */
                &.open>.mega-menu {
                    display: block;
                }

                &.open>a{
                    color: #0094DA;
                }

                &.has-mega{
                    a>svg {
                        transition: .3s;
                    }

                    &.open>a>svg{
                        transform: rotate(180deg);
                    }
                }

                .mega-menu {
                    position: fixed;
                    top: 110px !important;
                    left: 50% !important;
                    right: initial !important;
                    bottom: initial !important;
                    transform: translateX(-50%);
                    width: 95vw;
                    max-width: 1200px !important;
                    display: none;
                    background: #fff;
                    border: 1px solid #0000001A;
                    box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
                    z-index: 999;

                    max-height: 80vh;
                    overflow-y: auto;
                    overscroll-behavior: contain; /* menu scroll khatam hone pe page scroll na ho */

                    /* patli, theme-matching scrollbar */
                    scrollbar-width: thin;
                    scrollbar-color: #C7D0D9 transparent;

                    &::-webkit-scrollbar { width: 8px; }
                    &::-webkit-scrollbar-thumb {
                        background: #C7D0D9;
                        border-radius: 4px;
                    }

                    @media (max-width: 991px) {
                        position: static;
                        width: 100%;
                        border: 0;
                        box-shadow: none;
                        transform: none;
                        max-height: none; 
                        overflow: visible;
                    }

                    .mega-inner {
                        display: grid;
                        grid-template-columns: repeat(var(--grids), 1fr);

                        @media (max-width: 1199px) {
                            grid-template-columns: repeat(2, 1fr);
                        }

                        @media (max-width: 991px) {
                            grid-template-columns: 1fr;
                            padding: 16px;
                        }

                        .mega-column {
                            padding: 50px;
                        
                            &:not(:last-child){
                                border-right: 1px solid #CCCCCC;
                            }
                            h4 {
                                font-weight: 700;
                                margin: 0;
                                margin-bottom: 14px;
                                font-size: 18px;
                                color: #07304A;

                                a {
                                    color: inherit;
                                    text-decoration: none;

                                    &:hover {
                                        color: inherit;
                                    }
                                }
                            }

                            ul {
                                list-style: none;
                                padding: 0;
                                margin: 0;

                                li{
                                    a {
                                        display: flex;
                                        align-items: center;
                                        justify-content: space-between;
                                        gap: 8px;
                                        padding: 10px 0;
                                        color: #3f4a5a;
                                        text-decoration: none;
                                        font-size: 15px;
                                        line-height: 1.35;

                                        .row-chev {
                                            flex: 0 0 auto;
                                            color: #B9C2CC;
                                            transition: .2s;
                                        }

                                        &:hover {
                                            color: #006aa7;

                                            .row-chev { color: #006aa7; transform: translateX(2px); }
                                        }
                                    }
                                }
                            }

                           .mega-subgroup {
                                .mega-subheading-row {
                                    display: flex;
                                    align-items: center;
                                    justify-content: space-between;
                                    gap: 8px;
                                }

                                .mega-subheading {
                                    display: flex;
                                    align-items: center;
                                    gap: 8px;
                                    padding: 10px 0;
                                    color: #161616d9;
                                    font-weight: 400;
                                    text-decoration: none;
                                    font-size: 14px;
                                    line-height: 1.35;
                                    flex: 1;
                                    justify-content: flex-start;
                                }

                                .mega-toggle {
                                    background: none;
                                    border: 0;
                                    padding: 10px 4px;
                                    cursor: pointer;
                                    display: inline-flex;
                                    align-items: center;
                                    color: #B9C2CC;

                                    .row-chev {
                                        flex: 0 0 auto;
                                        transition: transform .2s, color .2s;
                                    }

                                    &:hover .row-chev { color: #006aa7; }
                                }

                                > .mega-list {
                                    margin: 4px 0 12px;
                                    padding-left: 14px;
                                    border-left: 2px solid #E3E8ED;

                                    li a {
                                        padding: 7px 0;
                                        font-size: 13.5px;
                                        color: #6B7684;

                                        .row-chev {
                                            width: 6px;
                                            height: 10px;
                                            color: #C7D0D9;
                                        }

                                        &:hover {
                                            color: #0094DA;
                                            .row-chev { color: #0094DA; }
                                        }
                                    }
                                }

                                &.has-children > .mega-list {
                                    display: none;
                                }

                                &.open {
                                    > .mega-subheading-row .mega-toggle .row-chev {
                                        transform: rotate(90deg);
                                        color: #006aa7;
                                    }
                                    > .mega-list {
                                        display: block;
                                    }
                                }
                            }
                            
                            &--loose {
                                display: flex;
                                flex-direction: column;
                                justify-content: center;

                                ul li a {
                                    padding: 16px 0;
                                    color: #07304A;
                                    font-weight: 700;

                                    .row-chev { color: #07304A; }
                                    &:hover {
                                        color: #0094DA;
                                        .row-chev { color: #0094DA; }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }

    /* ===== Header User Col - CSS Start ===== */
    .custom-header-user {
        text-decoration: none;
        color: #07304A;

        .svg-header-bar {
            display: flex;
            align-items: center;
            gap: 8px;
        }
    }
}
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.mobile-menu-toggle span {
  width: 26px;
  height: 3px;
  background: #000;
  border-radius: 3px;
}
.mobile-menu{
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 30px;
    width: 100%;
}

@media(max-width: 991px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: #fff;
    padding: 40px 25px;
    transition: 0.35s ease;
    z-index: 9999;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  }

  .mobile-menu.active {
    right: 0;
  }
}
@media(max-width: 991px){
    .mobile-menu {
    display: unset;
}
.custom-header .header-search {
    padding-bottom: 30px;
}
.custom-header .mega-nav .main-menu .menu-item .mega-menu .mega-inner .mega-column {
    padding: 0px;
    border: 0 !important;
}
}
@media (min-width: 992px){
    #nav-downloads, #nav-unternehmen{
        .mega-menu {
            max-width: 500px !important;
            position: absolute;
            top: calc(100% + 40px) !important;
        }
    } 
}