#masthead.site-header{
	min-height	: 80px;
	display	: grid;
}

#masthead .adm--header-container{
    display			: flex;
    align-content	: center;
    align-items		: center;
    justify-content	: space-around;
	width			: 90%;
	margin			: auto;
}

#masthead.site-header .site-branding{
    display: flex;
    gap: 2em;
    width: auto;
    align-content: center;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

#masthead .adm--header-container.with-image-background::before {
	content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: -owg-linear-gradient(to bottom, rgba(0, 0, 0, .6) 0, rgba(0, 0, 0, 0) 100%);
    background-image: -webkit-linear-gradient(to bottom, rgba(0, 0, 0, .6) 0, rgba(0, 0, 0, 0) 100%);
    background-image: -moz-linear-gradient(to bottom, rgba(0, 0, 0, .6) 0, rgba(0, 0, 0, 0) 100%);
    background-image: -o-linear-gradient(to bottom, rgba(0, 0, 0, .6) 0, rgba(0, 0, 0, 0) 100%);
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, .6) 0, rgba(0, 0, 0, 0) 100%);
}

#masthead.site-header .site-branding,
#masthead.site-header .storefront-primary-navigation
{
    margin: 0;
}


#masthead.site-header .site-branding.grid{
	display: grid;
    justify-items: center;
    justify-content: center;
    align-items: center;
    align-content: center;
}

#masthead.site-header .site-branding.flex{
    display: flex;
    justify-items: center;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    gap: 0 2em;
}

    .site-title {
		white-space: nowrap;
    }

@media (max-width: 767px) {
	#masthead .adm--header-container{
		align-items: flex-start;
	}	
	
	#masthead.site-header{
        flex-direction: column;
        align-items: flex-start;
    	align-content: flex-start;
    }

    #masthead.site-header .site-branding{
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .main-navigation {
        width: 100%;
        margin: auto;
    }

    .site-title {
        font-size: 20px;
    }

    .site-description {
        font-size: 13px;
    }
	.storefront-primary-navigation{
		width:100%;
	}
	button.menu-toggle {
		margin: auto;
		display: block;
		float: none;
	}	

}

@media (min-width: 768px) {
    .site-header {
        padding-top: 0;
        padding-bottom: 0;
    }

	#masthead.site-header .site-branding{
		flex-shrink: 0;
	}
	
}


