:root {
	--card-bg-color: #ededed;
}

.root_category_page {
	display: grid;
	grid-auto-flow: row;
	gap: 60px;
	min-width: 100%;
	margin-bottom: 60px;
}

.root_header {
	margin-top: 40px;
	display: grid;
	grid-auto-flow: row;
	place-content: center;
	justify-items: center;
	gap: 2em;
	text-align: center;
}

.root_header__img > * { max-width: 500px !important; }

.root_intro {
	display: grid;
	grid-auto-flow: column;
	gap: 4em;
	align-items: center;
	margin-top: 20px;
}

.root_intro__img { margin: 0 20px; }

.root_intro__copy {
	display: grid;
	grid-auto-flow: row;
	grid-auto-rows: auto;
	gap: 1em;
}

.root_card {
	display: grid;
	grid-auto-flow: row;
	width: 100%;
	background-color: var(--card-bg-color);
	box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.25);
	max-width: 980px;
}

.root_card__titlebar {
	padding: 10px;
	height: 2em;
	display: grid;
	grid-auto-flow: row;
	align-items: center;
}

.root_card__content {
	padding: 20px;
	display: grid;
	grid-auto-flow: row;
	grid-row-gap: 1rem;
}

.root_card__content--row { 
	display: grid;
	grid-auto-flow: column;
	grid-column-gap: 20px;
	grid-row-gap: 20px;
	grid-auto-columns: 1fr;
}
.root_card__content--row:not(:first-of-type) > .root_card__content--item {
	max-height: 280px;
}

.root_card__content--row.root_card__content__product_cards {
	grid-auto-flow: row;
	grid-template-columns: repeat(3, 1fr);
}

.root_card__content__product_card {
    display: grid;
    grid-auto-flow: row;
    justify-items: center;
    align-items: flex-start;
    padding: 15px;
    height: 300px;
    grid-template-rows: repeat(2, 1fr);
}

.root_card__content__product_card__wrapper {
	height: 100%;
	background: #FFF;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.11);
}

.root_card__content__product_card__img {
	height: 80px;
	margin-bottom: -30px;
}

.root_card__content__product_card__cta {
	display: grid;
	width: 100%;
	height: 100%;
	align-items: flex-start;
	justify-items: center;
}

.root_card__content__product_card__description {
	display: grid;
	grid-auto-flow: row;
	gap: 20px;
	height: calc(100% + 25px);
	margin-top: -30px;
	background: #fff;
	padding: 10px 10px 0 10px;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.11);
	width: calc(100% - 20px);
}

.root_card__content__product_card__description > * { margin: 0; }
.root_card__content__product_card__description--quick-browse > h4 {
	margin: 0 0 0 15px;
	justify-self: flex-start;
	background-color: #f5f5f5;
	z-index: 1;
}
.root_card__content__product_card__description--quick-browse {
	background: #f5f5f5;
	display: grid;
	grid-auto-flow: row;
	align-items: center;
	justify-items: center;
	align-self: flex-end;
	font-size: 0.9rem;
	width: calc(100% + 10px);
	margin: 0 -10px;
	padding: 5px;
	min-height: 66px;
}
.root_card__content__product_card__description--quick-browse__heading {
	width: inherit;
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
	max-height: 20px;
}
.root_card__content__product_card__description--quick-browse__heading > h4 {
	z-index: 1;
	color: #808080;
	margin: 0 0 0 15px;
	background-color: #f5f5f5;
	padding: 0 5px;
}
.root_card__content__product_card__description--quick-browse__line {
	height: 0;
	flex-basis: 100%;
	margin-bottom: 0;
	border-bottom: 1px solid #808080;
	position: relative;
	top: -10px;
	z-index: 0;
}
.root_card__content__product_card__description--quick-browse__links {
	max-width: 160px;
	text-align: center;
}
.root_card__content__product_card__description--quick-browse__link { color: #ff5601; }
.root_card__content__product_card__button {
	height: 44px;
	width: 100%;
	display: inline-block;
	transition: .1s all linear;
	z-index: 1;
}

.root_card__content__product_card__button:hover,.root_card__content__product_card__button:focus {
	text-shadow: 0 4px 4px #071522;
	box-shadow: 0 4px 8px #cbcbcb;
	line-height: 38px;
	text-decoration: none;
	transform: translate3d(0, -4px, 0);
	cursor: pointer;
}

.root_card__content__product_card__button > h3 {
	color: #FFF;
	margin: 0 0 0 15px;
	line-height: 40px;
	font-size: 17px;
}

.root_card__content--item:hover { opacity: 1; border: 1px solid #000; cursor: pointer;}
.root_card__content--item {
	display: grid;
	max-height: 200px;
	grid-auto-flow: column;
	grid-auto-columns: 2fr 1fr;
	border: 1px solid rgba(24, 69, 114, 0.24);
	transition: 0.1s all linear;
	opacity: .95;
	padding: 10px 0 10px 10px;
	background: white;
	justify-content: space-between;
	align-items: center;
}

.root_card__content--item--image { max-height: 200px; }

.root_card__content--item.root_card__content--item--compact {
	max-height: 100px !important;
	padding: 0;
	overflow: hidden;
}

.root_card__content--item--compact > .root_card__content--item--description {
	justify-self: flex-start;
	align-self: center;
	margin: 8px 0 0 40px;
}

.root_card__content--item--compact > .root_card__content--item--description > h5 {
	font-weight: 900;
	color: #000;
	font-size: 14px;
}
.root_card__content--item--compact > .root_card__content--item--description > h6 {
	color: #808080;
	font-size: 12px;
}
.root_card__content--item--compact > .root_card__content--item--description > h5,h6 {margin-bottom: 5px;}
.root_card__content--item.root_card__content--item--compact img { max-height: 100px; max-width: 150px; }

.root_card__content--item--description > h4 { color: #000; font-weight: 900; font-size: 16px; }
.root_card__content--item--description > ul > li::marker { color: #000; }
.root_card__titlebar > h2, .root_card__titlebar > h3 { margin: 0; margin-left: 20px; }
.root_card__top--heading { font-size: 21px; margin-bottom: 0; font-weight: 900; color: #000; }
.root_intro__p { margin: 0; }
.root_card__content--item a { justify-self: flex-end; }

@media (max-width: 830px) {
	.root_category_page,#page-container,.root_header,.root_intro,.root_card,.root_card__content,.root_card__titlebar,.root_header__img 
		{ max-width: 100vw; }
	.root_header__img > * { max-width: 300px !important; }
	.root_card__content--item--image { max-width: 150px; }
	.root_intro {
		grid-auto-flow: row;
		justify-items: center;
		padding: 10px;
	}
	.root_header { padding: 10px; }
	.root_card { margin: 0 auto; }
	.root_card__content--row { grid-auto-flow: row; }
	.root_card__content--row.root_card__content__product_cards {
		grid-auto-flow: row;
		grid-template-columns: repeat(1, 1fr);
	}
	/** Handling contact us included element at bottom of pages **/
	.tmg--contact-block {
		max-width: 100vw;
		display: grid;
		grid-auto-flow: row;
		grid-row-gap: 20px;
		justify-items: center;	
	}
	.tmg--contact-block--row-1 {
		display: grid;
		grid-auto-flow: row;
		grid-template-columns: repeat(1, 1fr);
		grid-row-gap: 40px;
		justify-items: center;
	}
	.tmg--contact-block--row-2 {
		margin-top: 0;
		display: grid;
		grid-auto-flow: row;
		grid-template-columns: repeat(1, 1fr);
		grid-row-gap: 20px;
	}

}
@media (min-width: 650px) and (max-width: 830px) {
	.root_card__content--item--image { max-width: 150px; }
	.root_card__content--row.has--compact--children {
		grid-template-columns: repeat(2, 1fr);
	}
	.root_card__content--row.root_card__content__product_cards {
		grid-template-columns: repeat(2, 1fr);
	}
	.root_card__content--item a { justify-self: flex-end; }
	.root_intro { grid-template-columns: 0.3fr 1fr; }
	.root_header__intro { max-width: 500px; }
}
@media (max-width: 830px) and (orientation: landscape) {
	.root_card__content--item--image { max-width: 150px; }
	/** Increase number of columns available to compact items in landscape **/
	.root_card__content--row.has--compact--children {
		grid-template-columns: repeat(2, 1fr);
	}
	/** Likewise, increase columns for shop by product section in landscape **/
	.root_card__content--row.root_card__content__product_cards {
		grid-template-columns: repeat(2, 1fr);
	}
	.root_intro { grid-template-columns: 0.3fr 1fr; }
	.root_header__intro { max-width: 500px; }
	.root_card__content--item a { justify-self: flex-end; }
}