@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@600&family=Source+Sans+3:wght@400;600&display=swap");

/* Classic menus (Appearance > Menus) */
.bakery-menu,
.bakery-menu .bakery-menu-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bakery-menu-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 28px;
}

.bakery-menu-list a {
	color: inherit;
	text-decoration: none;
	font-size: inherit;
}

.bakery-menu-list a:hover {
	opacity: 0.72;
}

.bakery-menu-primary {
	font-size: var(--wp--preset--font-size--superbfont-medium, 16px);
}

.bakery-menu-footer_customer,
.bakery-menu-footer_shipping,
.bakery-menu-footer_information {
	font-size: var(--wp--preset--font-size--superbfont-xsmall, 14px);
}

.bakery-menu-footer_customer .bakery-menu-list,
.bakery-menu-footer_shipping .bakery-menu-list,
.bakery-menu-footer_information .bakery-menu-list {
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}

.bakery-menu-hamburger {
	position: relative;
	display: flex;
	align-items: center;
	align-self: center;
	margin: 0;
}

.bakery-menu-hamburger__toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	margin: 0;
	padding: 0;
	cursor: pointer;
	list-style: none;
	background: none;
}

.bakery-menu-hamburger__toggle::before {
	content: "";
	display: block;
	width: 18px;
	height: 12px;
	background: linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
		linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat,
		linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
}

.bakery-menu-hamburger__toggle::marker,
.bakery-menu-hamburger__toggle::-webkit-details-marker {
	content: "";
	display: none;
}

.bakery-menu-hamburger .bakery-menu-header_overlay {
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	z-index: 30;
	min-width: 220px;
	padding: 16px 18px;
	background: #fff;
	border: 1px solid var(--wp--preset--color--mono-3, #D4D4D8);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.bakery-menu-hamburger .bakery-menu-list {
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

@media (max-width: 781px) {
	.bakery-menu-primary .bakery-menu-list {
		display: none;
	}
}

body.storefront-chrome .storefront-bakery-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 24px 40px;
	background: #fff;
	position: sticky;
	top: 0;
	z-index: 1000;
	color: #000;
	font-family: "Source Sans 3", sans-serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.48;
	letter-spacing: normal;
}
body.storefront-chrome .storefront-bakery-header .bakery-menu-list a {
	font-family: "Source Sans 3", sans-serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.48;
	letter-spacing: normal;
	text-transform: none;
	color: inherit;
}
.storefront-bakery-brand .custom-logo,
.storefront-bakery-brand img {
	display: block;
	width: auto;
	max-width: 160px;
	max-height: 48px;
}
.storefront-bakery-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}
.storefront-bakery-header .hbs-header-actions,
.storefront-bakery-header .hbs-header-search {
	display: flex;
	align-items: center;
	gap: 4px;
}
.storefront-bakery-header .hbs-currency {
	width: auto;
	padding: 0 6px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
}
.storefront-bakery-header .hbs-action-item {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: inherit;
	text-decoration: none;
	background: transparent;
	border: 0;
	cursor: pointer;
}
.storefront-bakery-header .hbs-action-item svg { width: 18px; height: 18px; }
.storefront-bakery-header .hbs-badge.count {
	position: absolute;
	top: 2px;
	right: 0;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 999px;
	background: #111;
	color: #fff;
	font-size: 9px;
	line-height: 16px;
	text-align: center;
}
.storefront-bakery-header .hbs-header-search { position: relative; }
.storefront-bakery-header .hbs-search-dropdown {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 30;
	width: min(280px, 70vw);
	padding: 12px;
	background: #fff;
	border: 1px solid #e4e4e7;
	box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.storefront-bakery-header .hbs-search-dropdown[hidden] { display: none !important; }
.storefront-bakery-header .search-form { display: flex; gap: 8px; margin: 0; }
.storefront-bakery-header .search-field { flex: 1; min-width: 0; margin: 0; padding: 8px 10px; }
@media (max-width: 781px) {
	body.storefront-chrome .storefront-bakery-header { padding: 16px; }
	.bakery-menu-primary .bakery-menu-list { display: none; }
}
