/**
 * Estilos do Carrossel de Categorias e Subcategorias
 * Design: Cards Circulares com Borda Verde, Navegação e Dots
 */

.plugin-cat-carousel-wrapper {
	position: relative;
	width: 100%;
	padding: 10px 48px 40px 48px;
	box-sizing: border-box;
}

/* Header opcional de seção */
.plugin-cat-section-header {
	margin-bottom: 24px;
	text-align: center;
}

.plugin-cat-section-title {
	font-size: 24px;
	font-weight: 700;
	margin: 0;
	color: #1a1a1a;
}

/* Swiper Container */
.plugin-cat-swiper {
	width: 100%;
	overflow: hidden;
	position: relative;
	padding: 10px 0;
}

/* Slide Item */
.cat-slide-item {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	text-align: center !important;
	box-sizing: border-box;
	height: auto;
}

/* Card Link */
.cat-card-link {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	text-decoration: none;
	width: 100%;
	max-width: 240px;
	margin: 0 auto !important;
	transition: transform 0.3s ease;
	outline: none;
}

.cat-card-link:hover {
	text-decoration: none;
}

/* Círculo com Borda Verde Centralizado */
.cat-circle-img {
	width: 180px;
	height: 180px;
	border-radius: 50%;
	border: 2px solid #3c763d;
	background-color: #ffffff;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 auto !important;
	overflow: hidden;
	box-sizing: border-box;
	transition: all 0.35s ease;
	position: relative;
	padding: 14px;
}

.cat-circle-img img {
	width: auto !important;
	max-width: 85% !important;
	height: auto !important;
	max-height: 85% !important;
	object-fit: contain !important;
	display: block !important;
	margin: 0 auto !important;
	transition: transform 0.35s ease;
}

/* Efeito Hover no Círculo e Imagem */
.cat-card-link:hover .cat-circle-img {
	box-shadow: 0 8px 24px rgba(60, 118, 61, 0.18);
	border-color: #2e5b2e;
}

.cat-card-link:hover .cat-circle-img img {
	transform: scale(1.08);
}

/* Título da Categoria */
.cat-item-title {
	margin: 16px 0 4px 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	color: #1f1f1f;
	text-align: center;
	transition: color 0.25s ease;
}

.cat-card-link:hover .cat-item-title {
	color: #3c763d;
}

/* Subtítulo / Chamada "Clique e confira" */
.cat-item-subtitle {
	font-size: 13px;
	font-weight: 500;
	color: #4a7c2b;
	margin: 0;
	line-height: 1.4;
	text-align: center;
	transition: opacity 0.25s ease;
}

.cat-card-link:hover .cat-item-subtitle {
	opacity: 0.85;
}

/* Botões de Navegação (Setas Circulares FontAwesome) */
.cat-nav-btn {
	position: absolute;
	top: 45%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	background: transparent !important;
	border: none !important;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	outline: none;
	padding: 0;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.cat-nav-btn svg {
	width: 100%;
	height: 100%;
	fill: #4a7c2b;
	background-color: #ffffff;
	border-radius: 50%;
	display: block;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
	transition: fill 0.25s ease;
}

.cat-nav-btn:hover {
	transform: translateY(-50%) scale(1.12);
}

.cat-nav-btn:hover svg {
	fill: #3b6621;
}

.cat-nav-btn:active {
	transform: translateY(-50%) scale(0.96);
}

.cat-nav-prev {
	left: 4px;
}

.cat-nav-next {
	right: 4px;
}

.cat-nav-btn.swiper-button-disabled {
	opacity: 0.3;
	cursor: not-allowed;
	pointer-events: none;
}

/* Paginação (Pontos / Bullets) */
.cat-pagination {
	position: relative !important;
	bottom: auto !important;
	margin-top: 24px !important;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
}

.cat-pagination .swiper-pagination-bullet {
	width: 7px;
	height: 7px;
	background-color: #d1d5db;
	opacity: 1;
	margin: 0 !important;
	border-radius: 50%;
	transition: all 0.3s ease;
	cursor: pointer;
}

.cat-pagination .swiper-pagination-bullet-active {
	background-color: #111111 !important;
	transform: scale(1.2);
}

/* Responsividade */
@media (max-width: 991px) {
	.plugin-cat-carousel-wrapper {
		padding: 10px 36px 36px 36px;
	}
	.cat-circle-img {
		width: 150px;
		height: 150px;
	}
	.cat-item-title {
		font-size: 15px;
	}
}

@media (max-width: 767px) {
	.plugin-cat-carousel-wrapper {
		padding: 10px 24px 30px 24px;
	}
	.cat-circle-img {
		width: 130px;
		height: 130px;
	}
	.cat-item-title {
		font-size: 14px;
	}
	.cat-item-subtitle {
		font-size: 12px;
	}
	.cat-nav-btn {
		width: 30px;
		height: 30px;
	}
	.cat-nav-prev {
		left: 0;
	}
	.cat-nav-next {
		right: 0;
	}
}
