/* Grid Section */
.product-grid-section {
	padding: 10rem 0 8rem 0;
	;
	text-align: center;
}

.product-slider {
	position: relative;
	overflow: hidden;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

.product-grid {
	display: flex;
	transition: transform 0.5s ease-in-out;
	gap: 1rem;
	margin-top: 2rem;
	position: relative;
}

.product-grid-title {
	font-size: 2rem;
}

.product-card {
	flex: 0 0 295px;
	margin-bottom: 2rem;
	background-color: #fff;
	text-align: center;
	border-radius: 8px;
	box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
}

.product-card:hover {
	transform: translateY(-5px);
}

.product-link {
	text-decoration: none;
}

.product-image {
	width: 100%;
	height: 220px;
	object-fit: cover;
	border-radius: 8px 8px 0 0;
}

.product-title {
	font-size: 1.15rem;
	font-weight: bold;
	color: #333;
	margin: 1rem 0;
}


.product-price {
	font-size: 1.08rem;
	font-weight: bold;
	color: #333;
}

.date {
	font-size: 1rem;
	color: #636363;
	margin-bottom: 1rem;
}

/* Add to Cart Button */
.add-to-cart {
	margin: 1rem 0 2rem 0;
	padding: 0.5rem 1rem;
	background-color: #555;
	color: white;
	font-size: 0.875rem;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.add-to-cart:hover {
	background-color: #000;
	/* Turn fully black on hover */
	color: #fff;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
	/* Add slight shadow for depth */
	transform: scale(1.03);
	/* Subtle scale effect */
}

/* Arrows */

.slider-button {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.5);
	color: white;
	border: none;
	width: 70px;
	height: 70px;
	font-size: 2.3rem;
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.3s ease;
	z-index: 10;
}

.slider-button:hover {
	background: rgba(0, 0, 0, 0.7);
	transform: translateY(-50%) scale(1.1);
}

/* arrows */
.slider-button--left {
	left: 10px;
}

.slider-button--right {
	right: 10px;
}

@media (max-width: 768px) {
	.slider-button {
		width: 60px;
		height: 60px;
		font-size: 2rem;
	}

	.slider-button--left {
		left: 5px;
	}

	.slider-button--right {
		right: 5px;
	}
}



/* Bullets */
.slider-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 1rem;
}

.slider-dot {
	width: 10px;
	height: 10px;
	background-color: #ccc;
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.3s;
}

.slider-dot.active {
	background-color: #333;
}




