/* ========== TOP BANNER STRIP ========== */
/* Top banner strip with centered message */
.top-banner {
	height: 44px;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--color-canelle) !important;
	padding: 8px 20px !important;
}
.banner-message p {
	font-size: var(--font-size-menu) !important;
	font-family: var(--font-arial) !important;
	color: var(--color-white);
	margin-bottom: 0 !important;
}

/* ========== MAIN HEADER ========== */
/* Main header container padding */

.navigation > a > img {
	display: none;
}

.main-header {
	padding: 20px 40px !important;
	box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px !important;
}

/* ========== BASE STYLES ========== */
/* GRID */
.header-inner {
	width: 100%;
	display: inline-grid;
	grid-template-columns: repeat(7, 1fr);
	justify-items: center;
	align-items: end;
	gap: 20px;
	padding: 0 !important;
}
.header-logo {
	grid-column: 4;
	grid-row: 1;
}
.header-search {
	grid-column-start: 1;
	grid-column-end: 4;
}
.header-search button {
	background: transparent;
	border: none;
	outline: none;
	position: relative;
	left: 20px;
}
.header-search img {
	width: 29px;
	height: 29px;
}
.header-left {
	display: none;
	width: 27px;
}
.header-right {
	grid-column: 6;
	grid-row: 1;
}

.header-search input {
	border: none;
	border-bottom: 1px solid #999 !important;
	background: none;
	padding: 6px !important;
	width: 180px !important;
	font-size: 12px !important;
	display: inline-block;
}
.header-logo a {
	display: block;
}
.header-logo img {
	display: block !important;
	width: auto !important;
	height: 97px !important;
}
.header-cart .cart-contents {
	position: relative;
	display: block;
	text-align: center;
	text-decoration: none;
	left: 30px;
}
.header-cart img {
	width: 28px;
	height: 25px;
}
/* Cart item count badge */
.cart-count {
	position: absolute;
	top: 9px;
	right: 3px;
	transform: translate(50%, -50%);
	background-color: var(--color-black) !important;
	color: white;
	font-size: 11px !important;
	width: 18px;
	height: 18px;
	border-radius: 50% !important;
	display: flex;
	align-items: center;
	justify-content: center;
}
/* Cart label text */
.cart-label {
	font-family: var(--font-arial) !important;
	font-size: 12px !important;
}
/* ========== NAVIGATION BAR ========== */
/* Navigation menu container */
.header-nav {
	margin-top: 20px;
	color: var(--color-black);
	font-size: var(--font-size-14);
	font-family: var(--font-futura);
	user-select: none;
	padding: 0 8px;
}
.header-nav ul {
	display: flex;
	justify-content: center;
	gap: 0;
	list-style: none;
	padding: 0;
	margin-top: 40px !important;
	font-size: 13px !important;
}
.header-nav .menu-item {
	position: relative;
}
.header-nav ul li:hover .sub-menu {
	visibility: visible;
	opacity: 1;
}
.menu-item ul.sub-menu {
	list-style-type: none;
	display: block !important;
	background: #fff;
	position: absolute;
	top: 30px;
	left: 0;
	width: auto;
	max-height: 70vh;
	margin: 0 !important;
	margin-top: 0 !important;
	visibility: hidden;
	opacity: 0;
	z-index: 2;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	border-radius: 5px;
	min-width: 10em;
	max-width: 1000px;
	overflow-y: scroll;
	-ms-overflow-style: none; /* IE and Edge */
	scrollbar-width: none; /* Firefox */
}
.sub-menu::-webkit-scrollbar {
	display: none;
}
.sub-menu li {
	padding: 10px 20px;
	margin: 0;
	transition: all 0.4s ease-in;
}
.sub-menu li:hover {
	background-color: #f581474d;
}
.sub-menu li a {
	font-size: 16px;
	white-space: nowrap;
}
.menu-item-has-children::after {
	display: block;
	position: absolute;
	top: 50%;
	left: 99%;
	transform: translate(-15px, -50%);
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid #f58147;
	content: '';
}
.header-nav li a {
	font-size: var(--font-size-14) !important;
	font-family: var(--font-futura);
	color: var(--color-grey);
	text-transform: uppercase;
	text-decoration: none;
	margin: 0 20px;
	text-align: center !important;
	white-space: nowrap;
	letter-spacing: 2px !important;
}
.header-nav li a:hover {
	color: var(--color-canelle) !important;
}
.header-nav > ul > li {
	position: relative;
}
.header-nav > ul > li::before {
	position: absolute;
	top: 50%;
	right: -10px;
	transform: translateY(-50%);
	content: '|';
	color: var(--color-grey);
	font-size: 11px !important;
	font-family: var(--font-futura);
	padding: 0 8px;
}
.header-nav > ul > li:last-child:before {
	display: none;
}
.header-nav li.current-menu-item > a {
	color: var(--color-accent) !important;
}

.sub-menu li a {
	font-family: var(--font-arial-bold);
	font-size: var(--font-size-14) !important;
	color: var(--color-grey);
	text-transform: initial;
	text-decoration: none;
	margin: 0 20px;
	text-align: center !important;
	white-space: nowrap;
	letter-spacing: 2px !important;
}

/* ========== RESPONSIVE: MAX-WIDTH 768PX ========== */
/* Responsive styles for screens up to 768px */
@media (max-width: 768px) {
	.banner-message p {
		font-size: var(--font-size-12) !important;
	}

	.header-inner {
		grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
		align-items: center !important;
		gap: 0;
	}
	.header-search {
		display: none;
	}
	.header-logo {
		grid-column: 2 / 5;
		grid-row: 1;
	}
	.header-right {
		grid-column: 5;
		grid-row: 1;
	}
	.header-cart .cart-contents {
		left: 0;
	}
	.header-left {
		grid-column: 1;
		grid-row: 1;
		display: inherit;
	}

	.main-header {
		height: auto !important;
		padding: 10px 20px !important;
	}

	.header-search input {
		display: none;
	}

	.header-nav {
		display: none;
	}

	.header-nav {
		display: none;
	}

	.top-banner {
		position: relative;
		top: 0;
		padding: 10px;
		width: 100%;
		text-align: center;
	}

	.cart-label {
		display: none;
	}

	/* Sizes */
	.header-logo img {
		width: auto !important;
		height: 56px !important;
	}

	.header-left img {
		max-width: 25px !important;
		min-width: 20px;
	}

	.header-cart img {
		width: 25px !important;
	}
	.header-search img {
		width: 25px !important;
	}
}

/* ========== RESPONSIVE: MIN-WIDTH 1279PX ========== */
/* Tablet */
@media (min-width: 769px) and (max-width: 1280px) {
	.header-inner {
		align-items: center;
		grid-template-columns: 1fr 1fr 1fr 1fr;
		gap: 0;
	}
	.header-search {
		display: none;
	}
	.header-logo {
		grid-column: 1 / 5;
		grid-row: 1;
	}
	.header-right {
		grid-column: 4;
		grid-row: 1;
	}
	.header-left {
		grid-column: 1;
		grid-row: 1;
		display: inherit;
		width: 27px;
	}

	.header-search input {
		display: none;
	}

	.header-cart .cart-contents {
		left: 0;
	}

	.header-nav {
		display: none;
	}

	.header-logo img {
		width: auto !important;
		height: 64px !important;
	}
}

@media (max-width: 1280px) {
	.header-nav li a {
		font-size: 16px !important;
	}

	.header-left {
		display: block;
	}

	.navigation {
		padding-top: 30px;
		width: 100vw;
		display: block;
		position: fixed;
		top: 0;
		bottom: 0;
		right: 100%;
		background-color: white;
		overflow-y: auto;
		margin-top: 0;
		z-index: 100000000;
	}

	.navigation > a {
		position: absolute;
		right: 0;
		top: 0;
	}

	.navigation > a > img {
		display: block;
	}

	.header-nav ul {
		flex-direction: column;
	}

	.header-nav {
		display: block;
	}

	.menu-item ul.sub-menu {
		position: static;
		visibility: visible;
		opacity: 1;
		max-height: none;
		box-shadow: none;
		border-radius: 0;
		height: 0;
		transition: all 1s;
	}

	.header-nav > ul > li::before {
		display: none;
	}

	.menu-item-has-children::after {
		top: 6px;
	}

	.header-nav > ul > li {
		padding-bottom: 40px;
	}
}
