.products .pp_details {
	display: none;
}

.products .pp_content {
	height: auto !important;
}

.products .timeline-date-tooltip {
	background: #23323a;
	color: #fff;
	display: flex;
	font-size: small;
	font-weight: 500;
	line-height: normal;
	margin-block: 0 40px;
	margin-inline: auto;
	padding: 10px 35px;
	position: relative;
	width: fit-content;
}

.products .timeline-date-tooltip:after {
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 10px solid #23323a;
	bottom: -10px;
	content: '';
	display: block;
	left: 50%;
	margin-left: -5px;
	position: absolute;
}

.products .products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
	padding-inline: 8rem;
	place-items: center;

	@media (width <=1250px) {
		padding-inline: 2rem;
	}
}

.products .product-card {
	height: 40rem;
	width: 100%;
	aspect-ratio: 3/4;
	display: flex;
	flex-direction: column;
	box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.products .product-card .card-header {
	font-size: medium;
	padding: 10px 20px;
	vertical-align: middle;
	background: #f7f7f7;
}

.products .product-card .card-content {
	overflow: hidden;
	height: 100%;
	position: relative;
	display: flex;
	align-items: center;
}

.products .card-thumbnail {
	position: relative;
	background: white;
	flex: 1 1 100%;
	height: 100%;
	padding: 10px;

	img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}

.products .card-thumbnail.fit-background {
	padding: 0;

	img {
		position: relative;
		object-fit: contain;
	}

	&::before {
		content: '';
		position: absolute;
		inset: 70% 0% 0% 0%;
		height: 50%;
		background-color: #4D9B44;
		clip-path: ellipse(60% 40% at 50% 50%);
	}
}

.products .card-options {
	position: absolute;
	text-align: center;
	width: 100%;
	z-index: 100;
	margin-top: -25px;
}

.products .card-options a {
	width: 58px;
	height: 58px;
	margin: 0 5px;
	display: inline-block;
	background-color: #2a3b45;
	background-color: rgba(0, 0, 0, 0.4);
	background-image: url(../img/sprites/hover-icons.png);
	border: 4px solid #eee;
	border: 4px solid rgba(238, 238, 238, 0.12);
	color: #fff;
	text-align: center;
	font-size: 24px;
	padding-top: 15px;
	transform: scale(0);
	-webkit-transform: scale(0);
	-moz-transform: scale(0);
	-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
	filter: alpha(opacity=0);
	-moz-opacity: 0;
	-khtml-opacity: 0;
	opacity: 0;
	transition: transform .3s, opacity .6s, background .3s;
	-webkit-transition: -webkit-transform .3s, opacity .6s, background .3s;
	-moz-transition: -moz-transform .3s, opacity .6s, background .3s;
}

.products .product-card .card-content:hover .card-options a {
	transform: scale(1);
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
	filter: alpha(opacity=100);
	-moz-opacity: 1;
	-khtml-opacity: 1;
	opacity: 1;
}

.products .card-options a.link-icon {
	background-position: -50px 0;
}

.products .card-options a.search-icon {
	background-position: 0 0;
}

.products .card-options a.video-icon {
	background-position: -100px 0;
}

.products .card-options a:hover {
	background-color: rgba(0, 0, 0, .8);
}

.products .left-timeline-item .product-card {
	margin-left: auto
}

.products .category-list {
	display: flex;
	border-bottom: 1px solid lightgray;
	margin-inline: 8rem;
	gap: 1rem;
	padding: 1rem 0rem;
	flex-wrap: wrap;

	li {
		background-color: white;
		border-radius: 5px;
		color: gray;
		display: flex;
		gap: 0.5rem;
		align-items: center;
		list-style: none;
		transition: background-color 0.2s ease;

		a {
			text-decoration: none;
			color: inherit;
		}

		&:hover {
			background-color: lightgray;
		}

		.category-link {
			padding: 0.5rem 1rem;
		}
		
		.category-active {
			pointer-events: none;
			padding: 0.5rem 0.5rem 0.5rem 1rem;
		}
		
		.clear-category {
			display: flex;
			align-items: center;
			width:100%;
			height: 100%;
			padding-right: 1rem;
			
			svg {
				width: 1.5rem;
				height:  1.5rem;
				stroke: currentColor;
			}
		}
	}

	@media (width <= 1250px) {
		margin-inline: 2rem;
	}
}






/* Product Details */
.product {
	min-height: 100vh;
	display: flex;
	flex-direction: column;

	&>div {
		flex: 1;
		background: rgb(238, 238, 238);
	}

	.product-content {
		display: flex;
		gap: 4rem;
		padding: 6rem;

		figure {
			overflow: hidden;
			position: relative;
			flex-basis: 35rem;
			width: 100%;
			height: fit-content;
			border: 0.6rem solid #fff;
			background: #f7f7f7;

			img {
				position: relative;
				width: 100%;
				height: fit-content;
				max-height: 40rem;
				object-fit: cover;
			}

			&::before {
				content: '';
				position: absolute;
				inset: 70% 0% 0% 0%;
				height: 50%;
				background-color: #4D9B44;
				clip-path: ellipse(60% 40% at 50% 50%);
			}
		}

		&>div {
			flex: 1;

			h1 {
				margin-top: 0;
			}

			p {
				font-size: medium;
				line-height: 2.5rem;
				text-align: justify;
			}
		}
	}
}

@media (width <=1250px) {
	.product {
		.product-content {
			flex-direction: column;
			gap: 2rem;
			padding: 2rem;

			figure {
				flex-basis: fit-content;
			}

			&>div p {
				text-align: start;
				text-wrap: pretty;
			}
		}
	}
}