/* ICANCROCHET - header layout matched to the original Shopify store
   Desktop: logo centred, navigation centred beneath it.
   Mobile:  hamburger left, logo centred.
   -------------------------------------------------------------------------- */

/* ----------------------------------------------------------- desktop */
#ast-desktop-header .ast-builder-grid-row {
	grid-template-columns: 1fr !important;
	row-gap: 12px;
	justify-items: center;
}

#ast-desktop-header .site-header-primary-section-left,
#ast-desktop-header .site-header-primary-section-right {
	width: 100%;
	justify-content: center !important;
}

#ast-desktop-header .site-branding {
	justify-content: center;
}

#ast-desktop-header .ast-primary-header-bar .site-primary-header-wrap {
	padding-top: 22px;
	padding-bottom: 16px;
}

.site-header #ast-desktop-header .custom-logo-link img,
.site-header #ast-desktop-header .site-logo-img img {
	height: 92px !important;
	max-height: 92px !important;
	width: auto !important;
	max-width: none !important;
}

#ast-desktop-header .main-header-menu {
	justify-content: center;
}

#ast-desktop-header .main-header-menu > li > a {
	font-size: 17px;
	font-weight: 600;
	padding: 6px 22px;
	line-height: 1.4;
}

#ast-desktop-header .main-header-menu > .current-menu-item > a,
#ast-desktop-header .main-header-menu > .current_page_item > a {
	text-decoration: underline;
	text-underline-offset: 5px;
	text-decoration-thickness: 1.5px;
}

@media (max-width: 1200px) {
	.site-header #ast-desktop-header .custom-logo-link img,
	.site-header #ast-desktop-header .site-logo-img img {
		height: 80px !important;
		max-height: 80px !important;
	}

	#ast-desktop-header .main-header-menu > li > a {
		font-size: 16px;
		padding: 6px 16px;
	}
}

/* ------------------------------------------------------------ mobile */
#ast-mobile-header .ast-builder-grid-row {
	position: relative;
	display: flex !important;
	align-items: center;
	justify-content: flex-start;
	min-height: 66px;
	grid-template-columns: none !important;
}

#ast-mobile-header .site-header-primary-section-right {
	order: -1;
	flex: 0 0 auto;
}

#ast-mobile-header .site-header-primary-section-left {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	margin: 0;
	pointer-events: auto;
}

.site-header #ast-mobile-header .custom-logo-link img,
.site-header #ast-mobile-header .site-logo-img img {
	height: 62px !important;
	max-height: 62px !important;
	width: auto !important;
	max-width: none !important;
}

#ast-mobile-header .menu-toggle,
#ast-mobile-header .ast-mobile-menu-trigger-fill,
#ast-mobile-header .ast-mobile-menu-trigger-minimal {
	background: transparent !important;
	border: 0 !important;
	color: #33202b !important;
	padding: 10px 6px !important;
	box-shadow: none !important;
}

#ast-mobile-header .menu-toggle svg,
#ast-mobile-header .menu-toggle .ast-mobile-svg {
	width: 30px;
	height: 30px;
	fill: #33202b;
}

@media (max-width: 420px) {
	.site-header #ast-mobile-header .custom-logo-link img,
	.site-header #ast-mobile-header .site-logo-img img {
		height: 54px !important;
		max-height: 54px !important;
	}

	#ast-mobile-header .ast-builder-grid-row {
		min-height: 58px;
	}
}

/* ------------------------------------------------- the mobile drawer */
#ast-mobile-header .main-header-bar-navigation {
	background: #fff;
}

#ast-mobile-header .main-header-bar-navigation .main-header-menu {
	border-top: 1px solid #f0e3ea;
}

#ast-mobile-header .main-header-bar-navigation .menu-item {
	border-bottom: 1px solid #f4eaf0;
}

#ast-mobile-header .main-header-bar-navigation .menu-item > a {
	display: block;
	padding: 19px 24px;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.35;
	color: #33202b;
	background: #fff;
}

#ast-mobile-header .main-header-bar-navigation .menu-item > a:hover,
#ast-mobile-header .main-header-bar-navigation .current-menu-item > a,
#ast-mobile-header .main-header-bar-navigation .current_page_item > a {
	background: #f4f1f2;
	color: #33202b;
}
