/**
 * Nexon Product Filter Styles
 *
 * Public styles for Nexon WooCommerce sidebar filter widgets.
 */

.nexon-filter-widget {
	color: #2b3038;
	font-family: inherit;
}

.nexon-filter-widget .nexon-filter-accordion {
	border: 0;
	margin-bottom: 0px;
}

.nexon-filter-widget .nexon-filter-header {
	width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent !important;
    border: 0;
    padding: 0 0 24px;
    cursor: pointer;
    color: #2b3038 !important;
}

.nexon-filter-widget .nexon-filter-title {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
}

.nexon-filter-widget .nexon-filter-toggle-icon {
	font-size: 30px;
	font-weight: 400;
	color: #777;
	line-height: 1;
}

.nexon-filter-widget .nexon-filter-body {
	display: block;
}

.nexon-filter-widget .nexon-filter-option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
	cursor: pointer;
}

.nexon-filter-widget .nexon-filter-option-left {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.nexon-filter-widget input[type="checkbox"].nexon-filter-checkbox {
	position: relative !important;
	display: inline-block !important;
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
	width: 20px !important;
	height: 20px !important;
	min-width: 20px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid #ddd !important;
	border-radius: 8px !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	background: #fff !important;
	cursor: pointer;
}

.nexon-filter-widget input[type="checkbox"].nexon-filter-checkbox:checked {
	background: #2b3038 !important;
	border-color: #2b3038 !important;
}

.nexon-filter-widget input[type="checkbox"].nexon-filter-checkbox:checked::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 4px;
    width: 4px;
    height: 7px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.nexon-filter-widget .nexon-filter-label {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.2;
	color: #2b3038;
}

.nexon-filter-widget .nexon-filter-count {
	font-size: 18px;
	font-weight: 400;
	color: #9aa3ad;
}

.nexon-filter-widget .nexon-filter-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid #ddd;
	margin-top: 26px;
	padding-top: 26px;
	font-size: 16px;
	color: #7b8086;
}

.nexon-filter-widget .nexon-filter-select-all {
	background: transparent !important;
	border: 0;
	padding: 0;
	font-size: 16px;
	color: #7b8086 !important;
	cursor: pointer;
}

.nexon-filter-widget .nexon-filter-select-all:hover {
	color: #2b3038;
}

.nexon-filter-widget .nexon-filter-accordion.is-closed .nexon-filter-body {
	display: none;
}