/* Fallback immer mitgeben */
:root {
  --wsf-accent-color: #2A80C3;
  --wsf-slider-active: var(--wsf-accent-color);
  --wsf-checkbox-active: var(--wsf-accent-color);
}

/* =========================
   Woo Super Filter Slider
   ========================= */
#woo-super-price-slider,
.wsf-slider-wrapper {
	min-height: 46px;
	height: 46px;
}

/* Slider Track */
.woo-slider-track {
    position: relative;
    height: 6px;
    background: #ddd;
    border-radius: 3px;
    margin: 30px 0;
}

/* Active Range */
.woo-slider-active-range {
    position: absolute;
    height: 100%;
    background: #0073aa;
    border-radius: 3px;
    top: 0;
    z-index: 5;
}

.wsf-slider-merge {
  position: absolute;
/*   top: -250px; */
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  margin-top: -66px;
}


.woo-super-filter-item {
    user-select: none;       /* verhindert Textmarkierung */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    margin: 10px 0;
}
.woo-super-filter-item > label {
/* 
	font-weight: 300;
	text-transform: uppercase;
 */
	font-size: 13px;
}

.woo-super-filter-item .woo-super-filter-input {
	padding-top: 10px;
}

.woo-super-filter-item input[type="checkbox"] {
	width: 15px;
	min-width: 15px;
	height: 15px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: white;
	border: 1px solid lightslategray;
	margin-top: 2px;
}

.woo-super-filter-item input[type="checkbox"]:checked {
	background: var(--wsf-checkbox-active);
}

.woo-super-filter-item select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	border-radius: 0;
	padding: 5px 10px 5px 10px;
	background: rgba(255,255,255,0.5);
	font-weight: 300;
	font-size: 13px;
	border-radius: 10px;
	border: 1px solid lightgray;
}

.woo-super-filter-item select:focus {
	outline: none !important;
}

.woo-super-filter-item input[type="checkbox"]:hover,
.woo-super-filter-item select:hover {
	cursor: pointer;
}

/* Handles */
/* 
.woo-slider-handle {
    position: absolute;
    width: 20px;
    height: 20px;
    margin-top: -43px;
    margin-left: 20px;
    background: #fff;
    border: 2px solid #0073aa;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    z-index: 10;
}
 */
/* Neu mit liquid glass effect */
/* 
.woo-slider-handle {
	position: absolute;
	width: 29px;
	height: 18px;
	margin-top: -22px;
	margin-left: 16px;
	background-color: rgba(255, 255, 255, 0.75);
	border: 1px solid var(--wsf-accent-color);
	border-radius: 20px;
	cursor: pointer;
	z-index: 10;
	box-shadow: inset 1px 1px 0 rgba(69, 168, 243, 0.2),
		inset 1px 3px 0 rgba(28, 63, 90, 0.05),
		inset 0 0 22px rgb(255 255 255 / 60%),
		inset -1px -1px 0 rgba(69, 168, 243, 0.12);
	backdrop-filter: blur(12px) saturate(180%);
	-webkit-backdrop-filter: blur(12px) saturate(180%);
	-moz-backdrop-filter: blur(12px) saturate(180%);
}
 */
 
 .woo-slider-handle {
	position: absolute;
	width: 29px;
	height: 18px;
	/* margin-top: -42px; */
	margin-top: -22px;
	margin-left: 16px;
	background: linear-gradient(180deg,rgba(255,255,255,0.85),rgba(255,255,255,0.25));
	border: 1px solid var(--wsf-accent-color);
	border-radius: 20px;
	cursor: pointer;
	z-index: 10;
	box-shadow: inset 0 2px 0 rgba(255,255,255,1.8),inset 0 -1px 1px rgba(0,0,0,0.22),inset 1px 0 0 rgba(255,255,255,0.35),inset -2px 0 0 rgba(255,255,255,1.35),0 0px 2px rgba(0,0,0,0.08);
	-webkit-backdrop-filter: blur(12px) saturate(180%) invert(22%);
	-moz-backdrop-filter: blur(12px) saturate(180%) invert(22%);
	backdrop-filter: blur(12px) saturate(180%) invert(22%);
}

.woo-slider-handle:hover,
.woo-slider-handle:focus {
    transform: scale(1.1);
}

/* Labels über Handles */
.woo-slider-handle::after {
    content: attr(data-label);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #000;
    white-space: nowrap;
    pointer-events: none;
}

.woo-slider-handle::after {
  opacity: var(--label-opacity, 1);
  transition: opacity .1s linear;
}

/* Grid */
.woo-slider-grid {
    position: relative;
    height: 20px;
    margin-top: -20px;
}
.woo-slider-grid .grid-point {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    font-size: 12px;
    color: #333;
    white-space: nowrap;
    word-spacing: -2px;
	letter-spacing: -0.25px;
}

/* Optional: kleine Punkte auf der Skala */
.woo-slider-grid .grid-point::before {
    content: '';
    display: block;
    width: 2px;
    height: 6px;
    background: #999;
    margin: 0 auto 2px;
}

/* Responsive Fix */
@media (max-width: 768px) {
    .woo-slider-handle {
        width: 16px;
        height: 16px;
        margin-top: -8px;
    }
    .woo-slider-handle::after {
        font-size: 11px;
        top: -22px;
    }
    .woo-slider-grid .grid-point {
        font-size: 10px;
    }
}

#wsf-load-more {
    position: relative;
}

#wsf-load-more .spinner {
    display: none;
    width: 1em;
    height: 1em;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: wsf-spin 0.8s linear infinite;
    margin-left: 0.5em;
}

#wsf-load-more.is-loading .spinner {
    display: inline-block;
}

#wsf-load-more.is-loading .label {
    opacity: 0.6;
}

@keyframes wsf-spin {
    to { transform: rotate(360deg); }
}

/* WSF – Restore Spinner (robust) */

#wsf-products {
  	position: relative;
  	min-height: 120px;
}

/* Während Restore: alte Liste unsichtbar */
html.wsf-filter-restore #wsf-products {
  	visibility: hidden;
}

html.wsf-filter-restore body.archive::after {
  	content: "";
  	position: fixed;
  	inset: 0;
  	background: rgba(255, 255, 255, 0.5);
  	pointer-events: none;
 	z-index: 9998;
}

html.wsf-filter-restore body.archive::before {
  	content: "";
  	position: fixed;
  	top: 50%;
  	left: 50%;
  	width: 66px;
  	height: 66px;
  	margin: -38px 0 0 -38px;
  	border: 6px solid rgba(0,0,0,.15);
  	border-top-color: #0073aa;
  	border-radius: 50%;
  	animation: wsf-spin-page 0.8s linear infinite;
  	pointer-events: none;
  	z-index: 9999;
}

@keyframes wsf-spin-page {
  	to { transform: rotate(360deg); }
}

html.wsf-filter-ready body.archive::before,
html.wsf-filter-ready body.archive::after {
  	display: none;
}

html.wsf-filter-ready #wsf-products {
  	visibility: visible;
}


/* =========================
   WSF – Filter Status Bar
   ========================= */

:root {
  	--wsf-flag-color: #d63638;
  	--wsf-status-bg: rgba(214, 54, 56, 0.08);
  	--wsf-status-border: rgba(214, 54, 56, 0.25);
}

.wsf-filter-status {
  	display: flex;
  	gap: 0.6rem;
  	margin-right: -1rem;
  	padding: 0 0.5rem 0 0;
  	font-size: 0.95rem;
  	line-height: 1.4;
  	color: #333;
  	border-right: 1px solid;
}

.wsf-filter-status__icon {
  	color: var(--wsf-flag-color);
  	font-size: 1rem;
  	line-height: 1.4;
}

.wsf-filter-status__text {
  	flex: 1;
  	font-weight: 400;
}

.wsf-filter-status__reset {
  	appearance: none;
  	border: 0;
  	background: transparent;
  	color: var(--wsf-flag-color);
  	font-size: 1rem;
  	line-height: 1;
  	cursor: pointer;
  	padding: 0.2rem 0.4rem;
  	border-radius: 4px;
}

.wsf-filter-status__reset:hover {
  	background: rgba(214, 54, 56, 0.12);
}

#wsf-filter-status[hidden] {
  	display: none !important;
}

.bde-wooshoppage ul.products.wsf-replacing {
  	opacity: 0.55;
  	transition: opacity 120ms ease;
}

/* =========================
   WSF – Range Slider + Checkbox
   ========================= */
   
/* 
.wsf-slider-disabled {
  opacity: 0.4;
  pointer-events: none;
}
.wsf-slider-disabled {
  pointer-events: none;
}
 */
 
 /* Basis */
.woo-slider-track,
.woo-slider-handle,
.woo-slider-active-range,
.wsf-filter-disabled {
  transition:
    opacity 500ms ease,
    filter 500ms ease,
    transform 500ms ease;
}

/* Disabled-Zustand */
.wsf-slider-disabled,
.wsf-filter-disabled {
  pointer-events: none;
}

.wsf-slider-disabled .woo-slider-track,
.wsf-slider-disabled .woo-slider-handle,
.wsf-slider-disabled .woo-slider-active-range,
.wsf-filter-disabled {
  opacity: 0.35;
  filter: grayscale(1);
}
.wsf-slider-disabled .woo-slider-handle::after {
	opacity: 0;
}


.wsf-slider-disabled .woo-slider-active-range {
  left: 0 !important;
  width: 0 !important;
}

.wsf-slider-disabled .woo-slider-handle {
  left: 0 !important;
  transform: none !important;
}

/* 
.wsf-checkbox{
  display:block;
  overflow:hidden;
  max-height:40px;
  opacity:1;
  transition: opacity 500ms ease, max-height 500ms ease;
}

.wsf-checkbox.is-hidden{
  max-height:0;
  opacity:0;
  pointer-events:none;
}
 */
 
.wsf-checkbox,
.wsf-toggle {
display: inline-flex;
align-items: center;
line-height: 22px;
font-size: 13px;
gap: 6px !important;
min-width: 32%;
letter-spacing: -0.25px;
word-spacing: -1px;
}
.woo-super-filter-item.twocol .wsf-checkbox {
min-width: 49%;
}
.woo-super-filter-item.onecol .wsf-checkbox {
min-width: 100%;
}

.wsf-filter-clear {
  display: none;
  color: #d63638;
  font-weight: bold;
  margin-right: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: color 500ms ease;
  float: left;
  margin-top: 2px;
  font-family: Helvetica !important;
}
.wsf-filter-clear:hover {
	color: black;
}
.wsf-filters-reset .reset-icon {
	color: #d63638;
	font-weight: bold;
	font-size: 14px;
	font-family: Helvetica !important;
}
#wsf-filters-reset button {
	background-color: transparent;
	border-color: transparent;
	display: flex;
	gap: 10px;
	padding: 4px 0;
	text-align: center;
	/* background: linear-gradient(180deg,rgba(255,255,255,0.55),rgba(255,255,255,0.25)); */
	border-radius: 8px;
	box-shadow:inset 0 1px 0 rgba(255,255,255,1.8),inset 0 -1px 1px rgba(0,0,0,0.12),inset 1px 0 0 rgba(255,255,255,0.35),inset -1px 0 0 rgba(255,255,255,1.35),0 0px 4px rgba(0,0,0,0.18);
	font-size: 13px;
	font-weight: 300;
	width: 100%;
	justify-content: center;
	/* margin-bottom: 25px; */
	margin-bottom: 0px;
	cursor: pointer;
	transition: 500ms ease;
	border: none;
}
#wsf-filters-reset button:hover {
	/* background: rgb(42, 128, 195); */
	background-color: var(--bde-palette-brand-dark);
	inset: 0;
	/* box-shadow: inset 0 1px 0 rgba(255,255,255,0.8),inset 0 -1px 1px rgba(0,0,0,0.12),inset 1px 0 0 rgba(255,255,255,0.35),inset -1px 0 0 rgba(255,255,255,0.35),0 0px 4px rgba(0,0,0,0.18); */
	color: white;
}

.woo-super-filter-item.has-active-filter .wsf-filter-clear {
  display: inline;
}

#wsf-share-filter {
	margin-top: -12px;
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	flex-wrap: wrap;
	justify-content: center;
	margin-bottom: 18px;
	
}
/* 
#wsf-share-filter[hidden] {
	display: none;
}
 */
/* 
#wsf-filters-reset {
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  padding: 6px 6px 10px;
  box-sizing: border-box;
}
 
#wsf-share-filter {
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  box-sizing: border-box;
}
 */
#wsf-filters-reset {
	padding-bottom: 25px !important;
}

 
 /* Reset bewegt sich im Layout */
/* 
#wsf-filters-reset{
  margin-top: -106px; /* Startzustand */
}
 */

/* Beide starten unsichtbar */
#wsf-filters-reset,
#wsf-share-filter{
  opacity: 0;
  pointer-events: none;
  will-change: margin-top, opacity;
}

/* OPTIONAL: falls du bisher [hidden] nutzt, bitte für diese beiden deaktivieren */
#wsf-filters-reset[hidden],
#wsf-share-filter[hidden]{
  display: block; /* oder entferne das hidden-Toggling zur Laufzeit */
}

 
#wsf-share-filter .wsf-share-filter__label {
	width: 100%;
	text-align: center;
}
#wsf-share-filter button {
	background-color: transparent;
	border: none;
	font-size: 20px;
	transition: 500ms ease;
}
#wsf-share-filter button:hover {
	transform: scale(1.2);
	cursor: pointer;
}
.wsf-copy-hint {
  font-size: 0.65em;
  color: var(--wsf-color-success, #4caf50);
  opacity: 0;
  transition: opacity .2s ease;
  white-space: nowrap;
  position: absolute;
}

.wsf-copy-hint.is-visible {
  opacity: 1;
}


.wsf-no-results {
  grid-column: 1 / -1;
  list-style: none;
}

.wsf-no-results-inner {
  padding: 60px 20px;
  text-align: center;
  opacity: 0.8;
}

.wsf-no-results-inner strong {
  display: block;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 6px;
}

.wsf-no-results-inner span {
/*   font-size: 16px; */
}



.wsf-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

/* Input verstecken */
.wsf-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Slider Basis */
.wsf-toggle-slider {
  position: relative;
  width: 42px;
  height: 22px;
  background: #ccc;
  border-radius: 22px;
  transition: background 0.25s ease;
}

/* Kreis */
.wsf-toggle-slider::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.25s ease;
}

/* ON Zustand */
.wsf-toggle input:checked + .wsf-toggle-slider {
  background: #2A80C3;
}

.wsf-toggle input:checked + .wsf-toggle-slider::after {
  transform: translateX(20px);
}

/* Disabled */
.wsf-filter-disabled .wsf-toggle {
  opacity: 0.5;
  pointer-events: none;
}

/* =========================
   Woo Sale Countdown
   ========================= */
   
.wsf-sale-countdown {
    text-align: center;
    font-family: var(--bde-woo-typography__size-large-font-family);
}

.wsf-sale-countdown-title {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 200;
    text-transform: uppercase;
}

.wsf-sale-countdown-values {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 6px;
}

.wsf-sale-countdown-separator {
    flex: 0 0 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    overflow: visible;
    margin-top: 5px;
}

.wsf-sale-countdown-item {
    text-align: center;
}

.wsf-sale-countdown-item .value {
    display: block;
    width: 55px;
    padding: 10px 0 4px;
    background: #f8f8f8;
    border-radius: 4px;
    font-size: 34px;
    font-weight: 200;
    line-height: 1;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.wsf-sale-countdown-item .label {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #444;
}