.product-list-section{
	width: 100%;
	float: left;
	padding: 60px 0;
	background: #f2f2f2;
}
.grid-container {
	width: 100%;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 15px;
	transform: translateY(15px);
	transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.container.visible {
	opacity: 1;
	transform: translateY(0);
}

/* Product Card */
.product-card {
	background: #fffdfd;
	border-radius: 10px;
	text-align: center;
	cursor: pointer;
	padding: 15px;
	transition: transform 0.4s ease, box-shadow 0.4s ease;
	/* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
	border: 1px solid #eee;
	position: relative;
	overflow: hidden;
	transition: 0.5s ease-in-out;
	-webkit-transition: 0.5s ease-in-out;
	-moz-transition: 0.5s ease-in-out;
}
.product-card::before{
	content: "";
	display: block;
	background: rgba(0, 0, 0, 0.6);
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 9;
	opacity: 0;
}
.product-card::after{
	content: "+";
	width: 30px;
	height: 30px;
	color: #fff;
	font-size: 50px;
	line-height: 35px;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	display: block;
	z-index: 10;
	transform: scale(3);
	opacity: 0;
	transition: 0.3s ease-in-out;
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition: 0.3s ease-in-out;
}
.product-card:hover::before{
	opacity: 1;
	transform: scale(1);
	transition: 0.3s ease-in-out;
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition: 0.3s ease-in-out;
}
.product-card:hover::after{
	opacity: 1;
	transform: scale(1);
	transition: 0.3s ease-in-out;
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition: 0.3s ease-in-out;
}
/* .product-card:hover {
	transform: scale(1.08);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
} */

.product-card-image{
	width: 100%;
	height: 200px;
	position: relative;
}
.product-card img {
	max-width: 100%;
	width: auto;
	height: auto;
	max-height: 100%;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	transition: 0.5s ease-in-out;
	-webkit-transition: 0.5s ease-in-out;
	-moz-transition: 0.5s ease-in-out;
}
.product-card:hover img{
	transform: scale(1.08);
	transition: 0.5s ease-in-out;
	-webkit-transition: 0.5s ease-in-out;
	-moz-transition: 0.5s ease-in-out;
}
.product-card h3 {
	font-size: 16px;
	margin: 20px 0 5px;
	font-weight: 600;
	color: #000;
}
.product-card:hover h3 {
    color: #fff;
	font-size: 18px;
    position: absolute;
    transform: translateY(-35px);
    left: 0;
    right: 0;
    margin: auto;
	z-index: 10;
	transition: 0.3s ease-in-out;
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition: 0.3s ease-in-out;
}
/* Modal */
.modal-open{
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	justify-content: center;
	align-items: center;
	opacity: 0;
	transform: scale(0.9);
	transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
	box-shadow: 0px 8px 12px rgba(60, 64, 67, 0.15), 0px 4px 4px rgba(60, 64, 67, 0.3);
}

.modal.show {
	display: flex;
	opacity: 1;
	transform: scale(1);
}

.modal-content {
	background: #fff;
	width: 80%;
	max-width: 1100px;
	max-height: 90vh;
	display: flex;
	flex-direction: row;
	border-radius: 5px;
	position: relative;
	animation: slideIn 0.4s ease-in-out;
	border: 1px solid var(--green);
}
.modal-main-content{
	width: 100%;
	float: left;
	max-height: calc(100% - 50px);
	overflow: auto;
	padding: 30px;
	display: flex;
}
.modal-close{
	position: absolute;
	right: 0;
	top: 0px;
	width: 45px;
	height: 45px;
	background: var(--green);
	display: flex;
    align-items: center;
    justify-content: center;
	border-radius: 0;
}
.modal-close a{
	font-size: 34px;
	color: #fff !important;
	display: inline-block;
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	cursor: pointer;
}
.modal-left{
	width: 35%;
	float: left;
	position: relative;
}
.modal-right{
	width: 65%;
	float: left;
}
.modal-left img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 100%;
	object-fit: contain;
	position: relative;
	margin: auto;
	top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.modal-right {
	padding: 15px 20px 15px 50px;
	flex: 1;
}
.modal-right h2 {
	margin: 0 0 10px;
	color: #75be48;
	font-size: 22px;
	font-weight: 600;
}
.modal-full-image h2{
	margin-bottom: 30px;
}

.modal-right p {
	margin: 10px 0;
	color: #333;
	font-size: 14px;
	line-height: 20px;
}
#modalDetails{
	width: 100%;
	float: left;
	background: #f2f2f2;
	padding: 10px 15px;
	border-radius: 5px;
}
.details-label{
	width: 100%;
	float: left;
	font-size: 16px !important;
}
.modal-full-image{
	width: 100%;
	float: left;
}
.modal-full-image img{
	width: 100%;
	margin: 0 auto;
	display: block;
	padding-bottom: 30px;
}

@keyframes slideIn {
	from {
		transform: translateY(-20px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    list-style: none;
    padding: 0;
    gap: 20px;
}
.tabs .tab-link {
    cursor: pointer;
    padding: 10px 20px;
    background-color: #eee;
	font-size: 18px;
	min-width: 100px;
	text-align: center;
    border-radius: 10px;
    transition: 0.3s ease;
}
.tabs .tab-link.active {
    background-color: var(--green);
    color: white;
}
.tab-content {
    display: none;
    animation-duration: 0.6s;
    text-align: center;
}
.tab-content.active {
    display: block;
}
.product-card {
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.product-card:hover {
    transform: translateY(-5px) scale(1.03);
}

@media (max-width: 1200px) {
	.modal-content{
		width: 95%;
	}
}
@media (max-width: 991px) {
	.modal-content{
		width: 95%;
		padding: 20px;
		max-height: 90%;
		overflow: auto;
	}
	.product-list-section{
		padding: 40px 0;
	}
	.tabs .tab-link{
		font-size: 16px;
	}
	.grid-container {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	}
	.modal-main-content{
		padding: 15px 0 0;
	}
	.modal-right{
			padding: 15px 20px 15px 20px;
	}
	.modal-main-content .modal-left img{
		margin-top: 20px;
	}
}

@media (max-width: 767px) {
	.tabs .tab-link{
		font-size: 14px;
		min-width: 50px;
	}
	.grid-container {
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	}
}

@media (max-width: 600px) {
	.product-list-section{
		padding: 30px 0;
	}
	.modal-content {
		flex-direction: column;
	}
	.modal-left, .modal-right{
		width: 100%;
	}
	.modal-left{
		height: 180px;
	}
	.modal-right{
		padding-left: 0;
	}
	.modal-left img {
		width: 100%;
		height: 200px;
	}
	.tabs{
		flex-wrap: wrap;
	}
	.tabs .tab-link{
		flex-basis: calc(50% - 20px);
	}
	.modal-main-content{
		flex-direction: column;
	}
	.modal-main-content .modal-left{
		height: auto;
	}
	.modal-main-content .modal-left img{
		margin: 10px 0;
	}
	.modal-right{
		float: left;
		padding-right: 0;
	}
	.product-card h3{
		font-size: 18px;
	}
}