/* List */
.easystore-product-list .easystore-product-image {
	margin-bottom: 24px;
}

.easystore-product-list .easystore-product-title {
	font-size: 18px;
	line-height: 1.2;
	color: var(--easystore-body-color);
	margin-bottom: 16px;
}

.easystore-product-list .easystore-product-title a {
	color: inherit;
}

.easystore-product-list .easystore-product-price {
	margin-bottom: 16px;
}

.easystore-product-image {
	position: relative;
	overflow: hidden;
}

.easystore-product-image:hover .easystore-product-image-o,
.easystore-product-image:hover .easystore-product-video-o {
	opacity: 1;
}

.easystore-product-image-o,
.easystore-product-video-o {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	z-index: 1;
	transition: 200ms ease-in;
}

/* Filters */
.easystore-filter-container {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.easystore-filter-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
}

.easystore-filter-title {
	margin: 0;
}

.easystore-filter-title-wrapper {
	display: flex;
	align-items: center;
	gap: 4px;
	cursor: pointer;
}

.easystore-filter-title-wrapper .easystore-svg {
	transition: transform 0.4s;
}

.easystore-filter-title-wrapper.is-collapsed .easystore-svg {
	transform: rotate(-90deg);
}

.easystore-product-filter.is-collapsed .easystore-filter-list {
	display: none;
}

.easystore-product-filter {
	position: relative;
}

[easystore-filter-reset] {
	font-size: 80%;
	color: var(--easystore-secondary-color);
	transition: color 200ms ease-in;
	text-decoration: underline;
	cursor: pointer;
	display: none;
}

[easystore-filter-reset]:hover {
	color: var(--easystore-primary-color);
}

.easystore-filter-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-height: 200px;
	overflow-y: auto;
}

.easystore-filter-item-label {
	width: 100%;
	display: flex;
	flex-direction: row;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
}

.easystore-filter-item-name {
	display: flex;
	align-items: center;
	gap: 12px;
}

.easystore-filter-item-hex-code {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background-color: var(--variant-color-code);
}

.easystore-filter-item-count {
	font-size: 80%;
	color: var(--easystore-secondary-light-color);
}

/* Checkbox */
.easystore-checkbox-label {
	color: var(--easystore-secondary-color);
	display: flex;
	align-items: center;
	gap: 12px;
	user-select: none;
	cursor: pointer;
}

.easystore-checkbox-label input[type='checkbox'],
.easystore-checkbox-label input[type='radio'] {
	position: absolute;
	width: 0;
	height: 0;
	opacity: 0;
}

.easystore-checkbox-label .easystore-checkbox-checkmark {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 20px;
	height: 20px;
	font-size: 14px;
	background-color: #ffffff;
	border: 1px solid var(--easystore-secondary-light-color);
	border-radius: 3px;
	cursor: pointer;
}

.easystore-checkbox-label > input[type='radio'] ~ .easystore-checkbox-checkmark {
	border-radius: 50%;
}

.easystore-checkbox-label .easystore-checkbox-checkmark .easystore-svg {
	opacity: 0;
}

.easystore-checkbox-label > input[type='checkbox']:checked ~ .easystore-checkbox-checkmark,
.easystore-checkbox-label > input[type='radio']:checked ~ .easystore-checkbox-checkmark {
	color: #ffffff;
	background-color: var(--easystore-primary-color);
	border-color: var(--easystore-primary-color);
}

.easystore-checkbox-label > input[type='checkbox']:checked ~ .easystore-checkbox-checkmark .easystore-svg,
.easystore-checkbox-label > input[type='radio']:checked ~ .easystore-checkbox-checkmark .easystore-svg {
	opacity: 1;
}

/* Range Slider */
.easystore-range-slider {
	position: relative;
	width: 100%;
	display: flex;
	align-items: center;
	min-height: 44px;
	--easystore-track-height: 5px;
	--easystore-track-border-radius: 6px;
	--easystore-range-lower-bound: -0%;
	--easystore-range-upper-bound: 0%;
	--easystore-range-foreground: #212326;
	--easystore-range-border: #dedede;
}

.easystore-slider-track {
	background-image: linear-gradient(
		90deg,
		transparent 0%,
		transparent var(--easystore-range-lower-bound),
		var(--easystore-range-foreground) var(--easystore-range-lower-bound),
		var(--easystore-range-foreground) var(--easystore-range-upper-bound),
		transparent var(--easystore-range-upper-bound),
		transparent 100%
	);
	position: absolute;
	z-index: 1;
	width: 100%;
	height: var(--easystore-track-height);
	border-radius: var(--easystore-track-border-radius);
}

.easystore-slider-track-inactive {
	background-color: var(--easystore-range-border);
	background-size: 6px 6px;
	position: absolute;
	height: var(--easystore-track-height);
	width: 100%;
	border-radius: var(--easystore-track-border-radius);
}

.easystore-slider-thumb {
	position: absolute;
	z-index: 10;
	padding: 0;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	cursor: grab;
}

.easystore-slider-thumb:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	border-radius: 50%;
	background-color: var(--easystore-range-foreground);
	transition: transform 300ms ease-in;
}

.easystore-slider-thumb:after {
	content: '';
	position: absolute;
	z-index: 1;
	top: -2px;
	right: -2px;
	bottom: -2px;
	left: -2px;
	display: block;
	pointer-events: none;
	border-radius: 50%;
	box-shadow: 0 0 0 -0.2rem rgb(var(--easystore-range-foreground-rgb));
	transition-property: box-shadow, transform;
	transition-timing-function: ease-in;
	transition-duration: 300ms ease-in;
}

.easystore-slider-thumb.is-dragging:after {
	box-shadow: 0 0 0 0.2rem var(--easystore-range-foreground);
	outline: 2px solid transparent;
}

.easystore-slider-thumb.is-lower {
	left: var(--easystore-range-lower-bound);
	z-index: 11;
}

.easystore-slider-thumb.is-upper {
	left: var(--easystore-range-upper-bound);
}

.easystore-range-value {
	display: block;
	position: absolute;
	top: calc(-100% - 8px);
	left: 50%;
	transform: translate(-50%, 0%);
	padding: 4px 8px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	background-color: #ffffff;
	color: #666;
	box-shadow: 0px 1px 3px rgba(17, 18, 19, 0.15);
	border-radius: 3px;
	z-index: 2;
}

.easystore-range-control {
	align-items: center;
	margin-bottom: 8px;
}

.easystore-range-control-wrapper {
	display: flex;
	align-items: center;
	gap: 8px;
}

.easystore-range-control-wrapper .easystore-range-symbol {
	font-size: 14px;
	font-weight: 500;
	color: var(--easystore-secondary-light-color);
}

.easystore-range-control-wrapper .easystore-form-control {
	min-height: 32px;
	padding: 4px 8px;
	font-size: 14px;
	-moz-appearance: textfield;
}

.easystore-range-control-wrapper .easystore-form-control::-webkit-outer-spin-button,
.easystore-range-control-wrapper .easystore-form-control::-webkit-inner-spin-button {
	-webkit-appearance: none;
}

/* Basic filter fallback */
.easystore-basic-filter-shell {
	--easystore-basic-panel: #ffffff;
	--easystore-basic-border: transparent;
	--easystore-basic-border-strong: transparent;
	--easystore-basic-text: #1f1f1f;
	--easystore-basic-muted: #767676;
	--easystore-basic-accent: #111111;
	--easystore-basic-accent-soft: #f5f5f5;
	--easystore-basic-shadow: none;
}

.easystore-basic-filter-sidebar {
	position: sticky;
	top: 24px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.easystore-basic-filter-search,
.easystore-basic-filter-panel,
.easystore-basic-filter-toolbar {
	background: var(--easystore-basic-panel);
	border: 0;
	border-radius: 16px;
	box-shadow: var(--easystore-basic-shadow);
}

.easystore-basic-filter-search {
	padding: 0;
}

.easystore-basic-filter-panel {
	padding: 8px 0 0;
	background: var(--easystore-basic-panel);
}

.easystore-basic-filter-panel-head {
	margin-bottom: 8px;
	padding: 0 0 8px;
}

.easystore-basic-filter-kicker {
	display: inline-flex;
	align-items: center;
	padding: 4px 8px;
	border-radius: 999px;
	background: #f7f7f7;
	color: var(--easystore-basic-muted);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.easystore-basic-filter-heading {
	margin: 0;
	font-size: 20px;
	line-height: 1.2;
	font-weight: 600;
	color: var(--easystore-basic-text);
}

.easystore-basic-filter-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 0;
	margin-bottom: 0;
	background: var(--easystore-basic-panel);
	border-radius: 0;
}

.easystore-basic-filter-results {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--easystore-basic-text);
}

.easystore-basic-filter-results-count {
	font-size: 24px;
	font-weight: 400;
	line-height: 1;
	color: var(--easystore-filter-text, #111213);
}

.easystore-basic-filter-results-label {
	font-size: 24px;
	font-weight: 400;
	color: var(--easystore-filter-text, #111213);
}

.easystore-basic-filter-sort {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.easystore-basic-filter-sort-label {
	font-size: 14px;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
	color: var(--easystore-basic-text);
	line-height: 1;
	margin-bottom: 0;
	white-space: nowrap;
}

.easystore-basic-filter-sort .easystore-product-filter {
	margin: 0;
	padding: 0;
	border-bottom: none;
	display: flex;
	align-items: center;
}

.easystore-basic-filter-sort .easystore-form-select,
#easystore-sort-select {
	appearance: none;
	-webkit-appearance: none;
	min-width: 160px;
	border: none;
	background-color: #ebebeb;
	color: var(--easystore-basic-text);
	font-size: 15px;
	font-weight: 500;
	box-shadow: none;
	outline: none;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23111213' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 14px;
}

#easystore-sort-select:hover {
	background-color: #e0e0e0;
}

#easystore-sort-select:focus,
#easystore-sort-select:focus-visible {
	background-color: #ebebeb;
	border: none;
	outline: none;
	box-shadow: none;
}

.easystore-basic-filter-sort .easystore-form-select,
.easystore-basic-filter-sort .custom-select {
	margin: 0;
}

.easystore-basic-filter-search .easystore-search-container {
	position: relative;
	display: block;
	padding: 0;
	min-height: 56px;
	border: 0;
	border-radius: 14px;
	background: #f7f7f7;
}

.easystore-basic-filter-search .easystore-search-container .easystore-svg {
	position: absolute;
	top: 50%;
	left: 18px;
	transform: translateY(-50%);
	color: var(--easystore-basic-text);
	opacity: 0.65;
	width: 20px;
	height: 20px;
	display: block;
	pointer-events: none;
}

.easystore-basic-filter-search .easystore-search-container .form-control {
	width: 100%;
	border: 0;
	padding: 0 18px 0 52px;
	height: 56px;
	margin: 0;
	background: transparent;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.2;
	color: var(--easystore-basic-text);
	box-shadow: none;
	border-radius: 14px;
}

.easystore-basic-filter-search .easystore-search-container .form-control::placeholder {
	color: #8f8f8f;
}

.easystore-basic-filter-panel .easystore-filter-container {
	gap: 0;
}

.easystore-basic-filter-panel .easystore-product-filter {
	padding: 18px 0;
	margin-bottom: 0;
	border: 0;
	border-bottom: 1px solid #f0f0f0;
	border-radius: 0;
	background: #ffffff;
}

.easystore-basic-filter-panel .easystore-product-filter:last-of-type {
	border-bottom: 0;
}

.easystore-basic-filter-panel .easystore-filter-header {
	margin-bottom: 12px;
}

.easystore-basic-filter-panel .easystore-filter-title-wrapper {
	gap: 8px;
}

.easystore-basic-filter-panel .easystore-filter-title {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.1;
	color: var(--easystore-basic-text);
}

.easystore-basic-filter-panel .easystore-filter-title-wrapper .easystore-svg,
.easystore-basic-filter-panel .easystore-category-toggle {
	color: var(--easystore-basic-text);
}

.easystore-basic-filter-panel .easystore-filter-list {
	gap: 8px;
	max-height: 280px;
}

.easystore-basic-filter-panel .easystore-filter-list li {
	margin-bottom: 0;
}

.easystore-basic-filter-panel .easystore-filter-item-wrapper {
	gap: 8px;
	padding: 0;
	min-height: 36px;
}

.easystore-basic-filter-panel .easystore-checkbox-label {
	padding: 6px 0 6px 2px;
	border-radius: 10px;
	background: transparent;
	color: #4a4a4a;
	font-size: 14px;
	line-height: 1.35;
}

.easystore-basic-filter-panel .easystore-checkbox-label:hover {
	background: transparent;
	color: var(--easystore-basic-text);
}

.easystore-basic-filter-panel .easystore-checkbox-label.is-active {
	background: transparent;
	color: var(--easystore-basic-accent);
}

.easystore-basic-filter-panel .easystore-checkbox-label .easystore-checkbox-checkmark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	min-width: 18px;
	min-height: 18px;
	border-radius: 5px;
	border: 1px solid #bdbdbd;
	background: #ffffff;
	box-sizing: border-box;
}

.easystore-basic-filter-panel .easystore-checkbox-label > input[type='radio'] ~ .easystore-checkbox-checkmark {
	border-radius: 50%;
}

.easystore-basic-filter-panel
	.easystore-checkbox-label
	> input[type='checkbox']:checked
	~ .easystore-checkbox-checkmark,
.easystore-basic-filter-panel .easystore-checkbox-label > input[type='radio']:checked ~ .easystore-checkbox-checkmark {
	background: var(--easystore-basic-accent);
	border-color: var(--easystore-basic-accent);
}

.easystore-basic-filter-panel .easystore-filter-item-label {
	margin-left: 8px;
}

.easystore-basic-filter-panel .easystore-filter-item-name {
	font-weight: 400;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.easystore-basic-filter-panel .easystore-filter-item-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 26px;
	padding: 2px 0 2px 8px;
	border-radius: 999px;
	background: transparent;
	color: var(--easystore-basic-muted);
	font-size: 11px;
	font-weight: 500;
}

.easystore-basic-filter-panel .easystore-filter-sub-list {
	margin-left: 16px;
	padding-left: 8px;
	border-left: 0;
}

.easystore-basic-filter-panel [easystore-filter-reset] {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--easystore-basic-muted);
	text-decoration: none;
}

.easystore-basic-filter-panel [easystore-filter-reset]:hover {
	color: var(--easystore-basic-accent);
}

.easystore-basic-filter-panel .easystore-range-control {
	margin-bottom: 14px;
}

.easystore-basic-filter-panel .easystore-range-control-wrapper {
	gap: 8px;
	min-height: 44px;
}

.easystore-basic-filter-panel .easystore-range-control-wrapper .easystore-form-control {
	min-height: 40px;
	box-shadow: none;
	font-size: 15px;
	font-weight: 500;
	color: var(--easystore-basic-muted);
	border: 1px solid #c9cbcf;
	border-radius: 6px;
	background: #f7f7f7;
}

.easystore-basic-filter-panel .easystore-range-symbol,
.easystore-basic-filter-panel .easystore-range-separator {
	color: var(--easystore-basic-muted);
	font-weight: 600;
}

.easystore-basic-filter-panel .easystore-range-slider {
	min-height: 42px;
	--easystore-range-foreground: var(--easystore-basic-accent);
	--easystore-range-border: #dfdfdf;
}

.easystore-basic-filter-grid {
	row-gap: 28px;
}

.easystore-basic-filter-panel .easystore-slider-thumb {
	width: 24px;
	height: 24px;
}

.easystore-basic-filter-panel .easystore-slider-thumb::before {
	background-color: #ffffff;
	border: 8px solid #111111;
	box-shadow: none;
}

.easystore-basic-filter-empty {
	padding: 20px 0;
}

@media (max-width: 991.98px) {
	.easystore-basic-filter-sidebar {
		position: static;
	}

	.easystore-basic-filter-toolbar {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.easystore-basic-filter-sort {
		flex-direction: column;
		align-items: stretch;
		margin-left: 0;
	}

	.easystore-basic-filter-sort .easystore-form-select {
		min-width: 100%;
	}
}
