﻿/* Import Fonts */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@400;600&family=Newsreader:opsz,wght@6..72,600&family=Roboto:wght@400;600&display=swap");

body {
	font-family: 'Archivo', sans-serif;
	font-weight: 400;
	color: #0b2c27;
	background-color: #FFFFFF;
	line-height: 1.6;
	height: 100%;
	margin: 0;
	padding: 0;
	font-size: 16px;
}

html, body, #aspnetForm {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Newsreader', serif;
	color: var(--e-global-color-accent);
	margin-top: 0;
	font-weight: 600;
}

h1 {font-size: 2.25rem;}
h2 {font-size: 1.875rem;}
h3 {font-size: 1.5rem;}
h4 {font-size: 1.25rem;}
h5, h6 {font-size: 1.125rem;}

/* 3. Links */
a {
	color: #007765;
	text-decoration: none;
}

	a:hover,
	a:focus {
		color: #cc3400;
		text-decoration: underline;
	}

	/* 4. Buttons */
	button,
	input[type="submit"],
	input[type="button"],
	a.button {
		background-color: #007765;
		color: #fff;
		border: none;
		padding: 0.75em 1.5em;
		font-family: 'Roboto', sans-serif;
		font-weight: 500;
		text-transform: uppercase;
		border-radius: 0px;
		cursor: pointer;
		transition: background-color 0.3s ease;
	}

		button:hover,
		input[type="submit"]:hover,
		input[type="button"]:hover,
		a.button:hover {
			background-color: #cc3400;
		}

/* 5. Alternate Background Sections */
.section-alt,
.bg-light {
	background-color: #FAFAFA;
}

/* 6. Forms */
input,
textarea,
select {
	font-family: 'Archivo', sans-serif;
	border: 1px solid #ccc;
	padding: 0.5em;
	box-sizing: border-box;
	border-radius: 4px;
}

label {
	font-weight: 600;
	margin-bottom: 0.25em;
	display: block;
}

/* 7. Responsive Layout */
@media (max-width: 1024px) {
	body {
		font-size: 15px;
	}

	h1 {
		font-size: 2rem;
	}

	h2 {
		font-size: 1.625rem;
	}
}

@media (max-width: 768px) {
	body {
		font-size: 14px;
	}

	h1 {
		font-size: 1.75rem;
	}

	h2 {
		font-size: 1.375rem;
	}
}

@media (max-width: 480px) {
	h1, h2, h3 {
		font-size: 1.25rem;
	}

	body {
		padding: 1em;
	}
}

/* Main container styles */
#mainNav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	padding: 0 1rem;
	background-color: #fff;
	border-bottom: 2px solid #fafafa;
	font-family: "Roboto", sans-serif;
}

	/* Menu list */
	#mainNav ul.AspNet-Menu {
		display: flex;
		flex-wrap: wrap;
		list-style: none;
		margin: 0;
		padding: 0;
	}

	#mainNav .AspNet-Menu li {
		position: relative;
	}

		#mainNav .AspNet-Menu li ul {
			position: absolute;
			top: 0;
			left: 100%;
			z-index: 9999;
		}

	/* Menu links */
	#mainNav .AspNet-Menu-Link {
		display: block;
		padding: 1em 1.25em;
		color: #0b2c27;
		font-family: "Roboto", sans-serif;
		font-weight: 600;
		font-size: 14px;
		text-decoration: none;
		transition: background-color 0.3s ease, color 0.3s ease;
		text-transform: uppercase;
	}

		#mainNav .AspNet-Menu-Link:hover,
		#mainNav .AspNet-Menu-Link:focus {
			background-color: #007765;
			color: #fff;
			text-decoration: none;
		}

	/* Submenu */
	#mainNav .AspNet-Menu li ul {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		background: #fff;
		border: 1px solid #eee;
		box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
		z-index: 9999;
		min-width: 200px;
	}

	#mainNav .AspNet-Menu li:hover > ul {
		display: block;
	}
	/* First level submenu */
	#mainNav .AspNet-Menu > li > ul {
		top: 100%;
		left: 0;
	}

	/* Second level submenu */
	#mainNav .AspNet-Menu li ul li ul {
		top: 0;
		left: 100%;
	}

	#mainNav .AspNet-Menu li ul li {
		border-bottom: 1px solid #f0f0f0;
	}

		#mainNav .AspNet-Menu li ul li:last-child {
			border-bottom: none;
		}

	/* Search bar alignment */
	#mainNav .globalSearch {
		display: flex;
		align-items: center;
		gap: 0.5rem;
		margin-left: auto;
		font-family: "Archivo", sans-serif;
	}

		#mainNav .globalSearch input[type="text"] {
			padding: 0.5em 0.75em;
			font-size: 14px;
			border: 1px solid #ccc;
			border-radius: 0px;
			font-family: "Roboto", sans-serif;
			width: 200px;
			max-width: 100%;
			transition: border-color 0.3s ease;
		}

			#mainNav .globalSearch input[type="text"]:focus {
				border-color: #007765;
				outline: none;
			}

		#mainNav .globalSearch input[type="submit"] {
			background-color: #007765;
			color: #fff;
			border: none;
			padding: 0.7em 1.2em;
			text-transform: uppercase;
			font-family: "Archivo", sans-serif;
			font-weight: 500;
			border-radius: 0px;
			cursor: pointer;
			transition: background-color 0.3s ease;
		}

			#mainNav .globalSearch input[type="submit"]:hover {
				background-color: #cc3400;
			}

/* Responsive styles */
@media (max-width: 1024px) {
	#mainNav {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}

		#mainNav ul.AspNet-Menu {
			flex-direction: column;
			width: 100%;
		}

		#mainNav .AspNet-Menu-Link {
			padding: 0.75em 1em;
		}

		#mainNav .globalSearch {
			width: 100%;
			justify-content: flex-start;
		}

			#mainNav .globalSearch input[type="text"] {
				flex: 1;
			}

			#mainNav .globalSearch input[type="submit"] {
				flex-shrink: 0;
			}
}

#mainNav ul,
#mainNav ul ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#layout{
	display: flex;
	flex-flow: column;
	height: 100%;
}

#headerArea {
	background-color: #fafafa;
	padding: 0.5rem 1rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-family: "Archivo", sans-serif;
	font-size: 14px;
	color: #0b2c27;
	border-bottom: 1px solid #eee;
}

	#headerArea a {
		color: #007765;
		text-decoration: none;
		font-weight: 600;
		transition: color 0.3s ease;
	}

		#headerArea a:hover {
			color: #cc3400;
			text-decoration: underline;
		}

	#headerArea #shoppingCartPanel {
		display: flex;
		gap: 0.75rem;
		align-items: center;
	}

#mainContent {
	flex: 1 1 auto;
	height: 100%;
	padding: 1.5rem;
	overflow-y: auto;

}

/* Creates shadows when content is scrolled out of view */
#mainContent {
	background: linear-gradient(white 30%, rgba(255,255,255,0)), linear-gradient(rgba(255,255,255,0), white 70%) 0 100%, radial-gradient(50% 0, farthest-side, rgba(0,0,0,.2), rgba(0,0,0,0)), radial-gradient(50% 100%,farthest-side, rgba(0,0,0,.2), rgba(0,0,0,0)) 0 100%;
	background: linear-gradient(white 30%, rgba(255,255,255,0)), linear-gradient(rgba(255,255,255,0), white 70%) 0 100%, radial-gradient(farthest-side at 50% 0, rgba(0,0,0,.2), rgba(0,0,0,0)), radial-gradient(farthest-side at 50% 100%, rgba(0,0,0,.2), rgba(0,0,0,0)) 0 100%;
	background-repeat: no-repeat;
	background-color: white;
	background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;
	background-attachment: local, local, scroll, scroll;
}


#footerArea {
	background-color: #fafafa;
	padding: 0.5rem 1rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-family: "Archivo", sans-serif;
	font-size: 14px;
	color: #0b2c27;
	border-top: 1px solid #eee;
}
	#footerArea #copyrightNotice {
		text-align: left;
	}
	#footerArea #poweredBy {
		text-align: right;
	}

	#footerArea a {
		color: #007765;
		text-decoration: none;
		font-weight: 600;
		transition: color 0.3s ease;
	}

		#footerArea a:hover {
			color: #cc3400;
			text-decoration: underline;
		}

/* ===== MOBILE MENU */

@media (max-width: 1024px) {
	#mainNav {
		flex-direction: row;
		align-items: center;
		gap: 1rem;
	}

		#mainNav ul.AspNet-Menu {
			flex-direction: column;
			width: 100%;
		}

		#mainNav .AspNet-Menu-Link {
			padding: 0.75em 1em;
		}

		#mainNav .globalSearch {
			width: 100%;
			max-width: 200px;
			justify-content: flex-start;
		}

			#mainNav .globalSearch input[type="text"] {
				width: 100px;
			}

			#mainNav .globalSearch input[type="text"] {
				flex: 1;
			}

			#mainNav .globalSearch input[type="submit"] {
				flex-shrink: 0;
			}
}

/* Container row for burger + search */
/* MAIN NAV layout */
#mainNav {
	position: relative;
	padding: 0.75rem 1rem;
	background-color: #fff;
	border-bottom: 1px solid #eee;
	display: flex;
	flex-wrap: no wrap;
	justify-content: space-between;
}

/* BURGER styles */
#burgerToggle {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 24px;
	height: 18px;
	cursor: pointer;
	z-index: 10;
}

	#burgerToggle span {
		height: 3px;
		width: 100%;
		background-color: #0b2c27;
		border-radius: 2px;
		transition: all 0.3s ease;
	}

	#burgerToggle.active span:nth-child(1) {
		transform: translateY(7.5px) rotate(45deg);
	}

	#burgerToggle.active span:nth-child(2) {
		opacity: 0;
	}

	#burgerToggle.active span:nth-child(3) {
		transform: translateY(-7.5px) rotate(-45deg);
	}

* Top row layout for toggle + search */
.nav-top-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	flex-wrap: wrap;
	gap: 1rem;
}

/* Burger */
#burgerToggle {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 24px;
	height: 18px;
	cursor: pointer;
}

	#burgerToggle span {
		height: 3px;
		width: 100%;
		background-color: #0b2c27;
		border-radius: 2px;
		transition: all 0.3s ease;
	}

	#burgerToggle.active span:nth-child(1) {
		transform: translateY(7.5px) rotate(45deg);
	}

	#burgerToggle.active span:nth-child(2) {
		opacity: 0;
	}

	#burgerToggle.active span:nth-child(3) {
		transform: translateY(-7.5px) rotate(-45deg);
	}


/* ============ */

/* Burger toggle */
#burgerToggle {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 24px;
	height: 18px;
	cursor: pointer;
	z-index: 1001;
}

	#burgerToggle span {
		height: 3px;
		width: 100%;
		background-color: #0b2c27;
		border-radius: 2px;
		transition: 0.3s ease;
	}

	#burgerToggle.active span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	#burgerToggle.active span:nth-child(2) {
		opacity: 0;
	}

	#burgerToggle.active span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

/* Search styling */
.globalSearch {
	display: flex;
	gap: 0.5rem;
	margin-left: auto;
	align-items: center;
}

	.globalSearch input[type="text"] {
		padding: 0.5rem;
		font-size: 14px;
		border-radius: 6px;
		border: 1px solid #ccc;
		font-family: 'Roboto', sans-serif;
		max-width: 180px;
	}

	.globalSearch input[type="submit"] {
		background: #007765;
		color: #fff;
		font-family: 'Archivo', sans-serif;
		text-transform: uppercase;
		border: none;
		padding: 0.5rem 1rem;
		border-radius: 6px;
		font-weight: 600;
	}

/* Flyout panel logic */
.AspNet-Menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 1.5rem;
}

.AspNet-Menu-Link {
	text-decoration: none;
	color: #0b2c27;
	font-weight: 600;
	font-family: 'Roboto', sans-serif;
}

/* MOBILE STYLES */
@media (max-width: 1024px) {
	#burgerToggle {
		display: flex;
	}

	.AspNet-Menu {
		position: fixed;
		top: 0;
		left: -100%;
		height: 100vh;
		width: 260px;
		background-color: #fff;
		flex-direction: column;
		padding: 2rem 1rem;
		gap: 1rem;
		transition: left 0.3s ease;
		z-index: 1000;
		box-shadow: 2px 0 8px rgba(0,0,0,0.15);
	}

		.AspNet-Menu.open {
			left: 0;
		}

	.globalSearch {
		width: 100%;
		justify-content: flex-end;
		margin-top: 1rem;
	}
}


/* ===== ACCORDION ======= */
@media (max-width: 1024px) {
	#mainNav .AspNet-Menu li ul {
		position: static !important;
		background: #f9f9f9;
		border: none;
		box-shadow: none;
		display: none;
		padding-left: 1rem;
		margin-top: 0.5rem;
		width: 100%;
		flex-direction: column;
	}

		#mainNav .AspNet-Menu li ul.submenu-open {
			display: flex;
		}

	#mainNav .submenu-toggle {
		display: none;
	}

	#mainNav .AspNet-Menu > li,
	#mainNav .AspNet-Menu li {
		display: block;
		width: 100%;
	}

	#mainNav .AspNet-Menu-Link {
		display: block;
		width: 100%;
	}

	.menu-close-btn {
		display: none;
		position: absolute;
		top: 1rem;
		right: 1rem;
		background: white;
		border: solid 1px #cc3400;
		font-size: 2rem;
		color: #cc3400;
		cursor: pointer;
		z-index: 1101;
		padding: 0;
		line-height: 1;
		padding: 3px 8px;
	}

	.AspNet-Menu {
		position: fixed;
		top: 0;
		left: -100%;
		width: 260px;
		height: 100vh;
		overflow-y: auto;
		background: #fff;
		z-index: 1100;
		transition: left 0.3s ease;
		padding-top: 3rem;
		display: flex;
		flex-direction: column;
	}

		.AspNet-Menu.open {
			left: 0;
		}

	#burgerToggle {
		position: relative;
		width: 30px;
		height: 21px;
		cursor: pointer;
	}

		#burgerToggle span {
			display: block;
			height: 3px;
			width: 100%;
			background: #0b2c27;
			margin-bottom: 5px;
		}

		#burgerToggle::before {
			content: "";
		}
}

@media (min-width: 1025px) {
	.menu-close-btn {
		display: none !important;
	}
}

/* ==== MAIN CONTENT */

.categoryPanel {
	width: 31% !important;
	margin-bottom: 2%;
	/*   margin-left: 2%;
  margin-right: 2%; */
	min-width: 200px;
}

.category-list {
	display: flex;
	justify-content: space-between;
	flex-direction: row !important;
	max-width: 1200px;
	margin: auto;
	padding: 40px;
	flex-wrap: wrap;
}

.categoryPanel img {
	width: 100%;
	margin-bottom: -8px;
}

.categoryPanel a {
	text-align: center;
	font-family: Roboto;
	text-transform: uppercase;
	font-weight: 500;
	color: white;
}

.categoryPanel div {
	background-color: #007765;
	padding: 12px 5px;
}

.categoryPanel a:hover div {
	background-color: #cc3400;
}

.categoryPanel a:hover {
	text-decoration: none;
}

@media screen and (max-width: 740px) {
	.categoryPanel {
		width: 48% !important;
	}

	@media screen and (max-width: 505px) {
		.categoryPanel {
			width: 95% !important;
			margin: auto;
			margin-bottom: 20px;
		}
