/*!*************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/jquery-ui/themes/base/slider.css ***!
  \*************************************************************************************************/
/*!
 * jQuery UI Slider 1.13.2
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 *
 * http://api.jqueryui.com/slider/#theming
 */
.ui-slider {
	position: relative;
	text-align: left;
}
.ui-slider .ui-slider-handle {
	position: absolute;
	z-index: 2;
	width: 1.2em;
	height: 1.2em;
	cursor: pointer;
	-ms-touch-action: none;
	touch-action: none;
}
.ui-slider .ui-slider-range {
	position: absolute;
	z-index: 1;
	font-size: .7em;
	display: block;
	border: 0;
	background-position: 0 0;
}

/* support: IE8 - See #6727 */
.ui-slider.ui-state-disabled .ui-slider-handle,
.ui-slider.ui-state-disabled .ui-slider-range {
	filter: inherit;
}

.ui-slider-horizontal {
	height: .8em;
}
.ui-slider-horizontal .ui-slider-handle {
	top: -.3em;
	margin-left: -.6em;
}
.ui-slider-horizontal .ui-slider-range {
	top: 0;
	height: 100%;
}
.ui-slider-horizontal .ui-slider-range-min {
	left: 0;
}
.ui-slider-horizontal .ui-slider-range-max {
	right: 0;
}

.ui-slider-vertical {
	width: .8em;
	height: 100px;
}
.ui-slider-vertical .ui-slider-handle {
	left: -.3em;
	margin-left: 0;
	margin-bottom: -.6em;
}
.ui-slider-vertical .ui-slider-range {
	left: 0;
	width: 100%;
}
.ui-slider-vertical .ui-slider-range-min {
	bottom: 0;
}
.ui-slider-vertical .ui-slider-range-max {
	top: 0;
}

/*!**************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!../themes/categories.css ***!
  \**************************************************************************/
.banner-principal-category {
	.slick-track {
		margin-bottom: 0 !important;
	}
}

.category-sub-container {

	/* --- Sub-Meta --- */
	.category-sub-meta {
		div {
			font-size: 12px;
			font-weight: 400;
		}

		div.description {
			border-bottom: 1px solid #ddd;
			margin-bottom: 20px;
			padding-bottom: 20px;

			p:last-child {
				margin-bottom: 0;
			}
		}
	}

	/* --- Sub-Menu Principal --- */
	.category-sub-menu {
		a {
			text-decoration: none;
		}

		h4 {
			font-size: 1.125rem;
			font-weight: 700;
			width: 100%;
			margin: 0;
		}

		ul {
			width: 100%;

			ul {
				padding-bottom: 0;
			}
		}

		.menu>a.collapsed {
			padding-left: 0;
		}

		li {
			list-style: none;
			font-weight: 400;
			margin-bottom: 5px;
			margin-top: 5px;
			font-size: 14px;
			color: #999;
			line-height: 18px;

			/* Aninhamento de listas internas */
			&>ul>li {
				padding-left: 10px;

				&:first-child {
					padding-top: 5px;
				}

				.active {
					left: -5px;
				}
			}
		}

		/* Filtros Laterais */
		.category-filters-lateral,
		.category-orderby-lateral {

			.collapse-toggle {
				.plus {
					display: none;
				}

				.minus {
					display: block;
				}
			}

			.collapse-toggle.collapsed {
				.minus {
					display: none;
				}

				.plus {
					display: block;
				}
			}

			.categories,
			.skus,
			.filters,
			.manufacturers,
			.price-filter {
				margin-bottom: 25px;

				h4 {
					font-size: 16px;
					font-weight: 600;
				}

				.collapse-toggle {
					a {
						color: var(--primary-color);
						font-size: 16px;
					}
				}

				ul {
					margin-top: 14px;

					li:not(:last-child) {
						margin-bottom: 12px;
					}

					a {
						color: var(--primary-color);
						font-size: 16px;
						display: flex;
						align-items: center;
						justify-content: start;
						gap: 8px;
					}
				}
			}

			@media (min-width: 768px) {
				&:not(.collapsed) {
					height: 100vh;
					position: fixed;
					z-index: 100000;
					top: 0;
					right: 0;
					background-color: #fff;
					overflow-x: hidden;
					transition: 0.5s;
					width: 320px;
					padding: 20px 20px 100px 20px;
					display: flex;
					flex-direction: column;
					flex-wrap: nowrap !important;
					gap: 1rem;

					.filtros-titulo {
						display: flex;
						justify-content: space-between;
						align-items: center;
						padding-bottom: 10px;
						border-bottom: 1px solid #eee;
					}
				}

				&::-webkit-scrollbar {
					width: 6px;
				}

				&::-webkit-scrollbar-thumb {
					background-color: #ccc;
					border-radius: 10px;
				}
			}
		}

		.category-filters-lateral {
			padding-right: 20px;
		}
	}

	/* --- Títulos de Filtros e Ordenação --- */
	.filtros-titulo,
	.orderby-titulo {
		width: 100%;
		text-align: center;
		height: 60px;
		line-height: 60px;
		text-transform: uppercase;
		font-size: 14px;
		position: relative;
		border-bottom: 1px solid #eee;
		margin-bottom: 10px;

		svg {
			position: absolute;
			left: 0;
			top: 20px;
			width: 20px;
			height: 20px;
		}

		.iconclose svg {
			left: auto;
			right: 0;
			cursor: pointer;
		}

		@media (min-width: 768px) {
			display: none;
		}
	}

	/* --- Paginação --- */
	.pagination-box {
		li {
			margin: 0 8px;

			&.active a {
				color: #000;
				border-color: #000;
			}
		}

		a {
			color: #495057;
			font-weight: 500;
			font-size: 14px;
			text-decoration: none;
			transition: 0.3s;

			&:hover {
				color: var(--primary-hover) !important;
			}
		}

		li.active a {
			color: var(--primary-hover);
		}

		svg {
			path {
				fill: var(--primary-color);
			}

			&:hover path {
				fill: var(--primary-hover);
			}
		}
	}

	/* --- Ordenação e Categorias --- */
	.categoria-ordenar {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 1rem;
		padding-bottom: 0.5rem;

		h1{
			font-size: 28px;
			font-weight: 500;
		}
		.products-qty-info, .order-by-container, .order-grid{
			font-size: 14px;
			color: #495057;
		}
		.dropdown {
			background-color: #fff;
		}

		a.btn {
			font-size: 1rem;
			padding: 0.5rem 1.5rem;
			border-radius: 8px;
			line-height: 1;
			background-color: #fff;
			border: 1px solid var(--primary-color);
			border-radius: var(--border-radius);
			display: flex;
			align-items: center;
			gap: 1rem;

			.cls-1 {
				fill: var(--primary-color) !important;
			}
		}

		.dropdown-menu {
			background-color: #fff;
			color: var(--secondary-color) !important;
		}
	}

	.dropdown-toggle::after {
		display: none;
	}

	.ul-marcas li {
		background-position: center left;
		background-repeat: no-repeat;
	}

	/* --- Responsivo Específico --- */
	@media (min-width: 767px) {
		.categoria-description-ordenar {
			margin-bottom: -10px;
			margin-top: 0;
		}

		.categoria-description-thumbs {
			margin-top: 20px;
		}
	}

	@media (max-width: 767px) {
		.category-sub-menu {
			padding-right: 0;
			gap: 20px;
			padding: 20px;

			.filters-toggle,
			.orders-toggle {
				display: flex;
				justify-content: center;
				align-items: center;
				gap: 20px;
				padding: 8px 12px;
				border: 1px solid var(--primary-color);
				border-radius: var(--border-radius);
				
				span{
					font-size: 13px;
				}

				svg {
					height: 25px;

					path {
						color: var(--primary-color);
					}
				}
			}

			.category-filters-lateral,
			.category-orderby-lateral {
				height: 100%;
				position: fixed;
				top: 0;
				right: -300px;
				background-color: #fff;
				transition: 0.5s;
				width: 300px;
				max-width: 300px;
				border-right: 1px solid #eee;
				padding: 0 15px;
				z-index: 9999;

				&:not(.collapsed) {
					right: 0;
				}
			}
		}

		.categoria-ordenar>.dropdown {
			display: none;
		}
	}


}

.container-order-grid {
	button {
		background: none;
		border: none;

		img {
			filter: grayscale(1);

			&:hover {
				filter: grayscale(0);
			}
		}
	}

	button.selected {
		filter: grayscale(0);
	}
}

/* --- Blocos Externos (Não pertencentes ao container ou com IDs específicos) --- */

.price-filter {

	h4 {
		margin: 0;
		padding: 0;
		color: #000;
	}

	#amount {
		color: #000;
		background: #fff;
		border: none;
		font-size: 12px;
		text-align: center;
		width: 100%;
	}

	#slider-range {
		margin: 10px;
		background: #ccc;

		.ui-widget-header {
			background: #333;
		}

		.ui-slider-handle {
			background: #eee;
			border-radius: 3px;
			border: 1px solid #ccc;
		}
	}
}

#main-content:not(.mobilemenu-aberto) {
	.category-sub-menu-2 {

		.categories,
		.skus,
		.filters,
		.manufacturers,
		.price-filter {
			position: relative;

			ul {
				position: absolute;
				background: #fff;
				border-radius: var(--border-radius);
				z-index: 99;

				a {
					background-color: transparent;
				}
			}
		}

		.all-filters-button {
			cursor: pointer;
		}
	}
}

/* Estilos de Checkbox e Estados Gerais */

.circle-check {
	width: 18px;
	height: 18px;
	border-radius: var(--border-radius);
	background-color: #fff;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	border: 1px solid #000;
}

.active, li:hover{
	.circle-check{
		border: 1px solid var(--primary-hover);
		transition: .3s;
	}
	.checkmark {
		width: 8px;
		height: 8px;
		background-color: var(--primary-hover);
		border-radius: 30px;
		transition: .3s;
	}
} 

.check-black .checkmark {
	border-color: #fff !important;
}

/* Grid de Produtos */
.category-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
	transition: grid-template-columns 0.5s ease;

	.product-thumb {
		overflow-x: hidden;
	}

	@media (min-width: 992px) and (max-width: 1199px) {
		grid-template-columns: repeat(3, 1fr);
	}

	@media (min-width: 1200px) {
		grid-template-columns: repeat(4, 1fr);
	}
}
