.shopify-section .header{padding-right: 0;padding-left: 0; width: 100%;padding-bottom: 0 !important; margin-bottom: 0;

    @media(min-width:991px){
        grid-template-columns: 1fr 6fr 1fr;
    }

}
.shopify-section-group-header-group-gallery{z-index: 999;}


.header-wrapper{position: relative;

    &::after{content: ''; width: 100%;height: 2px; background: #E9E9E9; margin-top: 1rem; display: block;}
}

@media(min-width:991px){
    .header__heading, .header__heading-link{grid-area: initial; display: none !important;}    
}

.header__icons{height: 100%; align-items: flex-end;

    .header__search{display: block;}

    .header__icon--cart{margin-right: 0;}

    @media(max-width:991px){align-items: center;
        .header__search{display: none;}
    }

}

@media(max-width:991px){
    .left-icons{display: flex;}
    .header__heading-logo{width: 8.9rem;}
    .menu-drawer__utility-links{display: none;}
}




.cg-mega-menu{text-align: center; width: 100%; /*grid-area: navigation;*/ grid-area: heading;


    .logo-wrap{max-width: 19rem;}

    
    ul{list-style: none; margin: 0; padding: 0;}
    .item.item-top{padding: 7.5px 15px 0;

        .top-item{position: relative; line-height: 0;
            &::after{content: ''; width: 0; height: 2px; background: rgb(var(--color-foreground)); display: block; transition: width 0.4s; position: absolute; top: 100%; right: 0;}
        }

        &:hover .top-item::after{width: 100%; transition: width 0.4s;}

    }
    

    .menu-items{display: flex; align-items: flex-end; justify-content: space-between;

        a{color:rgb(var(--color-foreground)); font-weight: 400; font-size: 2.1rem;text-decoration: none!important; box-shadow: none!important; line-height: 2;
        
            @media(max-width:1200px) and (min-width: 991px){font-size: 1.7rem;}

            @media(max-width:991px){font-size: 1.9rem;}

        }

        .item{

            &.item-top{display: inline-block; padding-bottom: 15px; margin-bottom: -15px;

                &.simple{position: relative;}

                .cg-menu-dropdown{visibility: hidden; opacity: 0; pointer-events: none; position: absolute; /*top:var(--menu-h);*/ top: 100%; right: 0;width: 100%;z-index: 50; background: #FFF;text-align: center; box-shadow: 0 10px 20px #00000017; padding: 24px 5px;

                    @media(max-width:990px){box-shadow: none; }


                    .inner{text-align: right;display: flex;
                    
                        @media(max-width:990px){max-width: 100%; width: 100%; text-align: right; padding-right: 1rem;padding-left: 1rem; padding-top: 3rem;padding-bottom: 4rem;}
                        
                    }

                    a{display: block; font-size: 1.8rem;

                        @media(max-width:991px){font-size: 1.6rem; font-weight: 400;}
                    }

                    .cg-menu-col{display: inline-flex; width: calc(20% - 4px); padding: 0 15px; vertical-align: top; text-align: right; opacity: 0; transform: translateY(20px);transition: all 0.8s;

                        &.banner-col {width: 59%; justify-self: flex-end; aspect-ratio: 1035 / 400; margin-right: auto;
                            img{border-radius: 0; width: 100%;height: 100%;object-fit: cover;}
                        }
                        
                        .col-title{padding: 4px 0; text-decoration: underline!important; display: block;}

                    }

                    li.child.with-icon{display: flex; align-items: center; gap: 8px;
                        .color-link{display: flex; align-items: center; padding: 5px 0; gap: 8px;}
                        .color-img{width: 25px;}
                    }


                    &.cg-menu-dropdown__size{
                        .col-title.no-childs{text-align: center;
                            .txt{text-decoration: underline!important;}
                        }
                    }

                    &.cg-menu-dropdown__simple{padding: 15px 0;
                        .inner{max-width: 100%; width: 100%; padding: 0; margin: 0;}
                        .cg-menu-col{width: 100%;
                            a.col-title.no-childs{text-align: center;
                                &:last-child{margin-bottom: 0;}
                            }
                        }
                    }


                }

                &:hover, &.is-opened{
                    .cg-menu-dropdown{display: block; visibility: visible; opacity: 1; pointer-events: initial;
                        .cg-menu-col{opacity: 1; transform: translateY(0); transition: all 0.8s;
                            &:nth-child(2){transition-delay: 0.1s;}
                            &:nth-child(3){transition-delay: 0.2s;}
                            &:nth-child(4){transition-delay: 0.3s;}
                            &:nth-child(5){transition-delay: 0.4s;}
                        }
                    }
                }

            }

        }

    }



    @media(max-width:990px){
        &:not(.cg-mega-menu__mobile){display: none;}

        .menu-items{display: block;

            .logo-wrap{display: none !important;}
    
            .item{

                &.item-top{display: block;padding: 0 15px;margin-bottom: 0; border-bottom: 1px solid rgb(var(--color-foreground)); font-size: 1.8rem; font-weight: 600;

                    .top-item{display: block; text-align: right; background: transparent; padding: 8px 15px; margin: 0;


                        &::after{display: none!important;}
                        
                    }

                    &.has-dropdown .top-item .txt{display: flex; width: 100%; align-items: center; justify-content: space-between;

                        &::after{content: '';display: inline-block;width: 10px;height: 10px;border-top:2px solid rgb(var(--color-foreground));border-right:2px solid rgb(var(--color-foreground));transform: rotate(135deg) scaleY(-1);vertical-align: middle;margin-right: 10px; transition: transform 0.2s; transform-origin: center;}
                    }

                    .cg-menu-dropdown, .cg-menu-dropdown.cg-menu-dropdown__simple{position: static; max-height: 0; overflow: hidden; padding: 0; transition: max-height 0.8s; }

                    &.is-opened{
                        &.has-dropdown .top-item .txt::after{transform: rotate(-45deg) scaleY(1); transition: transform 0.2s;}
                        .cg-menu-dropdown{max-height: 80vh; transition: max-height 0.8s; overflow: auto;}
                    }
                    
                    .cg-menu-dropdown{
                        
                        &.cg-menu-dropdown__size .size-img{display: none!important;}
                        .banner-col{display: none;}
                        .cg-menu-col{width: calc(50% - 4px);}
                        
                    }

                }

            }
        }
    }


}


@media (max-width: 990px) {
.menu-drawer-container:not(.menu-opening){

    .cg-mega-menu {
        
        &.menu-items {
            &.item {
                &.item-top {

                    .cg-menu-dropdown, .cg-menu-dropdown.cg-menu-dropdown__simple{position: static; max-height: 0; overflow: hidden; padding: 0; transition: max-height 0.8s;}

                }
            }
        }

    }
                        


}

}