/* =========================================================
   Custom WooCommerce Shop
   Product Category Slider
   ========================================================= */

.custom-wc-shop-category-slider-section {
	position: relative;
	width: 100%;
	padding-top: 0;
	border-bottom: 5px solid var(--dark-green-color, #017a3e);
}


/* ---------------------------------------------------------
   Slider Container
   --------------------------------------------------------- */

.custom-wc-shop-category-slider-container {
	position: relative;
	width: 100%;
}


/* ---------------------------------------------------------
   Swiper Viewport
   --------------------------------------------------------- */

.custom-wc-shop-category-slider {
	width: 100%;
	overflow: hidden;
}


/* ---------------------------------------------------------
   Slides
   --------------------------------------------------------- */


/* ---------------------------------------------------------
   Slide Inner
   --------------------------------------------------------- */

.custom-wc-shop-category-slide-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	width: 80%;
	max-width: 80%;
	height: 100%;
	margin: 0 auto;
	border-radius: var(--image-border-radius, 10px);
	overflow: hidden;
	column-gap: var(--ncg-column-gap, 2.25rem);
    row-gap: var(--ncg-grid-row-gap, 18px);
	padding-bottom: 24px;
}


/* ---------------------------------------------------------
   Image
   --------------------------------------------------------- */

.custom-wc-shop-category-slide-image {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	background: #fff;
	overflow: hidden;
}

.custom-wc-shop-category-slide-image img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	object-fit: contain;
}


/* ---------------------------------------------------------
   Content
   --------------------------------------------------------- */

.custom-wc-shop-category-slide-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.custom-wc-shop-category-slide-title {
	margin: 0 0 20px;
}

.custom-wc-shop-category-slide-description {
	margin-bottom: 24px;
}

.custom-wc-shop-category-slide-description p:last-child {
	margin-bottom: 0;
}

.custom-wc-shop-category-slide-button {
	margin-top: 8px;
}


/* ---------------------------------------------------------
   Navigation
   --------------------------------------------------------- */

.custom-wc-shop-category-slider-container
.swiper-button-prev,
.custom-wc-shop-category-slider-container
.swiper-button-next {
	position: absolute;
	top: 50%;
	width: 32px;
	height: 32px;
	margin-top: -16px;
	/* border-radius: 50%; */
	background: transparent;
	color: var(--dark-grey-color, #333333);
	opacity: 0.5;
	/* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); */
	font-weight: bold;
	text-decoration: none;
	z-index: 20;
}

.custom-wc-shop-category-slider-container
.swiper-button-prev:hover,
.custom-wc-shop-category-slider-container
.swiper-button-next:hover { opacity: 1; }

/*
 * The 80% slide leaves 10% on each side.
 * Put the arrows in that outside area.
 */

.custom-wc-shop-category-slider-container
.swiper-button-prev {
	left: 4%;
}

.custom-wc-shop-category-slider-container
.swiper-button-next {
	right: 4%;
}


/* ---------------------------------------------------------
   Pagination
   --------------------------------------------------------- */

.custom-wc-shop-category-slider-pagination {
	position: relative !important;
	left: auto !important;
	right: auto !important;
	bottom: auto !important;

	margin-top: 20px;
}

.custom-wc-shop-category-slider-pagination
.swiper-pagination-bullet {
	opacity: 0.5;
	height: 12px;
	width: 12px;
}

.custom-wc-shop-category-slider-pagination
.swiper-pagination-bullet-active {
	opacity: 1;
	background-color: var(--dark-green-color, #017a3e);
}


/* ---------------------------------------------------------
   Tablet
   --------------------------------------------------------- */

@media (max-width: 921px) {

	.custom-wc-shop-category-slide {
		width: 90%;
		max-width: 90%;
	}

	.custom-wc-shop-category-slide-inner {
		grid-template-columns: 1fr;
	}

	.custom-wc-shop-category-slide-image img {
		width: 100%;
		height: auto;
		max-height: 320px;
		object-fit: contain;
	}

	.custom-wc-shop-category-slide-content {
		padding: 32px;
	}

	.custom-wc-shop-category-slider-container
	.swiper-button-prev {
		left: 2%;
	}

	.custom-wc-shop-category-slider-container
	.swiper-button-next {
		right: 2%;
	}

}


/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 544px) {

	.custom-wc-shop-category-slide {
		width: 100%;
		max-width: 100%;
	}

	.custom-wc-shop-category-slide-inner {
		grid-template-columns: 1fr;
	}

	.custom-wc-shop-category-slide-image img {
		width: 100%;
		height: auto;
		max-height: 240px;
		object-fit: contain;
	}

	.custom-wc-shop-category-slide-content {
		padding: 24px;
	}

	.custom-wc-shop-category-slide-title {
		margin-bottom: 16px;
	}

	.custom-wc-shop-category-slider-container
	.swiper-button-prev,
	.custom-wc-shop-category-slider-container
	.swiper-button-next {
		width: 36px;
		height: 36px;
		margin-top: -18px;
	}

	.custom-wc-shop-category-slider-container
	.swiper-button-prev {
		left: 8px;
	}

	.custom-wc-shop-category-slider-container
	.swiper-button-next {
		right: 8px;
	}

}