:root {
    --ngfps-color: #445e01;
    --ngfps-hover-color: #DCA54A;
}

.ngfps-slider {
	--ngfps-gap: 20px;
	--ngfps-columns: 5;
	width: 100%;
	position: relative;
	margin: 0;
	padding: 0;
	clear: both;
}

.ngfps-slider .ngfps-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 20px;
}

.ngfps-slider .ngfps-title {
	margin: 0 !important;
	padding: 0 !important;
}

.ngfps-slider .ngfps-navigation {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
}

.ngfps-slider .ngfps-navigation > button.ngfps-prev,
.ngfps-slider .ngfps-navigation > button.ngfps-next {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 40px !important;
	height: 40px !important;
	min-width: 40px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid #ddd !important;
	border-radius: 50% !important;
	background: #fff !important;
	color: #222 !important;
	box-shadow: none !important;
	cursor: pointer;
	font-size: 17px !important;
	line-height: 1 !important;
	text-decoration: none !important;
}

.ngfps-slider .ngfps-navigation > button.ngfps-prev:hover,
.ngfps-slider .ngfps-navigation > button.ngfps-next:hover {
	background: #f5f5f5 !important;
	color: #222 !important;
}

.ngfps-slider .ngfps-navigation > button:disabled {
	opacity: .4;
	cursor: not-allowed;
}

.ngfps-slider .ngfps-viewport {
	width: 100%;
	overflow: hidden !important;
	padding: 2px 1px 8px;
	touch-action: pan-y;
}

/*
 * IMPORTANT:
 * Do not style the card itself here.
 * The active Astra/WooCommerce catalog CSS is intentionally allowed
 * to style .woocommerce ul.products li.product.
 */
.ngfps-slider ul.ngfps-track {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: stretch !important;
	gap: var(--ngfps-gap) !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	transform: translate3d(0,0,0);
	transition: transform .45s ease;
	will-change: transform;
}

.ngfps-slider ul.ngfps-track > li.product {
	display: block !important;
	float: none !important;
	clear: none !important;
	flex: 0 0 calc((100% - (var(--ngfps-gap) * (var(--ngfps-columns) - 1))) / var(--ngfps-columns)) !important;
	width: calc((100% - (var(--ngfps-gap) * (var(--ngfps-columns) - 1))) / var(--ngfps-columns)) !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
}

.ngfps-slider ul.ngfps-track > li.product::before,
.ngfps-slider ul.ngfps-track > li.product::after {
	content: none;
}

.ngfps-slider .ngfps-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin: 16px 0 0;
	padding: 0;
}

.ngfps-slider .ngfps-dots > button.ngfps-dot {
	display: block !important;
	width: 8px !important;
	height: 8px !important;
	min-width: 8px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: #c9c9c9 !important;
	box-shadow: none !important;
	cursor: pointer;
}

.ngfps-slider .ngfps-dots > button.ngfps-dot.is-active {
	width: 10px !important;
	height: 10px !important;
	min-width: 10px !important;
	background: #333 !important;
}

.ngfps-exploremore-link {
    display: none;
    color: #fff;
    background: var(--ngfps-color);
    padding: 1px 5px;
    border-radius: 5px;
}

@media (max-width: 1024px) {
	.ngfps-slider {
		--ngfps-columns: 3;
	}
	
	.ngfps-exploremore-link {
	    display: block;
	}
	
	.ngfps-exploremore-link:hover {
        color: var(--ngfps-color);
        background: var(--ngfps-hover-color);
	}
	
}

@media (max-width: 767px) {
	.ngfps-slider {
		--ngfps-columns: 1;
		--ngfps-gap: 14px;
	}

	.ngfps-slider .ngfps-navigation > button.ngfps-prev,
	.ngfps-slider .ngfps-navigation > button.ngfps-next {
		width: 36px !important;
		height: 36px !important;
		min-width: 36px !important;
	}
	
	.ngfps-exploremore-link {
	    display: block;
	}
	
	.ngfps-exploremore-link:hover {
        color: var(--ngfps-color);
        background: var(--ngfps-hover-color);
	}
}
