/*
MARR Large Appliance Recycling (2026) - Products CSS
LM 2026-06-19 ET
*/

div.product {
	float: right;
	width: fit-content;
	aspect-ratio: 1 / 0.74;
	background-color: rgb(233,249,255);
	color: rgb(27,48,93);
	font-family: "Ubuntu", "Lato", sans-serif;
	padding: 3.5vw;
	border: 1px solid rgba(27,48,93,0.5);
	margin: 0 0 3rem 3rem;
}

div.product img,
div.product svg {
	display: block;
	height: 20vw;
	width: auto;
	max-height: 152px;
	max-width: 200px;
	object-fit: contain;
	margin: 0 auto;
}

ul.product-groups {
	display: grid;
	gap: 0.5rem;
	grid-template-columns: repeat(3, 1fr);
	padding: 0;
	margin: 1rem 0;
}

ul.product-groups > li::before,
ul.products > li::before {
	display: none;
}

ul.product-groups > li {
	background-color: rgb(233,249,255);
	padding: 2rem 3rem;
	border: 1px solid rgba(27,48,93,0.5);
	margin: 0;
}

ul.product-groups > li > img,
ul.product-groups > li > svg {
	display: block;
	max-height: 100px;
	width: auto;
	margin: 0 auto 1.5rem 0;
}

ul.product-groups > li > svg {
	fill: rgb(27,48,93);
}

ul.product-groups a,
ul.product-groups a:visited {
	display: block;
	text-decoration: none;
	transition: all 0.2s;
}

ul.product-groups > li > a {
	font-family: "Ubuntu", "Lato", sans-serif;
	font-weight: 500;
	font-size: 1.25rem;
	border-left: 0 solid transparent;
}

ul.product-groups > li > a:hover {
	padding-left: 0.5rem;
	border-left: 0.625rem solid rgb(181,229,3);
}

ul.product-groups p.teaser {
	margin-top: 0.5rem;
}

ul.product-groups ul {
	font-size: 1.1rem;
}

ul.product-groups ul > li {
	padding-left: 2rem;
	margin: 0.25em 0;
}

ul.product-groups ul > li::before {
	content: '';
	top: 0.2em;
	height: 0.9em;
	width: 0.9em;
	background: url('../images/marr_icon_circle-arrow-right.svg') no-repeat center center / 0.9em 0.9em;
}

ul.product-groups ul > li:hover::before {
	background-image: url('../images/marr_icon_circle-arrow-right-lime.svg');
}

ul.product-groups ul a:hover {
	padding-left: 0.5em;
}

ul.products {
	list-style: none;
	display: flex;
	flex-direction: row;
	gap: 0.5rem;
	padding: 0;
	margin: 1rem 0;
}

ul.products > li {
	flex: 1;
}

ul.products li a {
	height: 100%;
	display: flex;
	flex-direction: column;
	background-color: rgb(233,249,255);
	color: rgb(27,48,93);
	font-family: "Ubuntu", "Lato", sans-serif;
	font-weight: 500;
	font-size: 1.125rem;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	padding: 3.5vw 0.5rem 1.5vw;
	border: 1px solid rgba(27,48,93,0.5);
	margin: 0;
}

ul.products li a:hover {
	background-color: rgb(253,255,239);
	border-color: rgb(181,229,3);
}

ul.products img,
ul.products svg {
	display: block;
	height: 11vw;
	width: auto;
	max-height: 152px;
	max-width: 200px;
	object-fit: contain;
	margin: 0 auto;
	/* border: 1px dashed red; */
}

ul.products div.caption {
	/* text-align: center; */
	margin-top: 3vw;
}

@media (min-width: 1340px) {

	div.product {
		padding: 3rem 3.25rem;
	}

	ul.products li a {
		font-size: 1.375rem;
		padding: 3.25rem 1.5rem 1.5rem;
	}

	ul.products div.caption {
		margin-top: 3.5rem;
	}

}

@media (min-width: 641px) and (max-width: 1000px) {

	ul.products li a {
		font-size: 1.25rem;
	}

}

@media (max-width: 640px) {

	ul.products li a {
		font-size: 2.2vw;
	}

}
	