/* ── Weinbox Filter Widget ────────────────────────────────────────── */
.wb-filter-box {
    font-family: inherit;
    font-size: 14px;
}

/* Suchfeld */
.wb-filter-section {
    margin-bottom: 6px;
    border-bottom: 1px solid #e8e0da;
}
.wb-filter-section:last-of-type {
    border-bottom: none;
}

.wb-filter-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 6px;
}

.wb-search-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    color: #333;
    background: #faf8f6;
    box-sizing: border-box;
    transition: border-color .2s;
    margin-bottom: 10px;
}
.wb-search-input:focus {
    outline: none;
    border-color: #A21A20;
    background: #fff;
}

/* Toggle-Button */
.wb-filter-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    padding: 10px 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #333;
    cursor: pointer;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.wb-filter-toggle:hover {
    color: #A21A20;
}
.wb-filter-toggle.active {
    color: #A21A20;
}

.wb-chevron {
    font-size: 11px;
    transition: transform .2s;
    margin-left: auto;
}
.wb-filter-toggle.open .wb-chevron {
    transform: rotate(180deg);
}

.wb-active-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #A21A20;
    margin-left: 6px;
    vertical-align: middle;
}

/* Optionen */
.wb-filter-options {
    display: none;
    padding-bottom: 8px;
}
.wb-filter-options.open {
    display: block;
}

.wb-filter-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    cursor: pointer;
    font-size: 13px;
    color: #444;
    line-height: 1.4;
}
.wb-filter-check:hover {
    color: #A21A20;
}
.wb-filter-check.checked {
    color: #A21A20;
    font-weight: 500;
}
.wb-filter-check input[type="radio"] {
    accent-color: #A21A20;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    cursor: pointer;
}

.wb-count {
    color: #aaa;
    font-size: 11px;
    margin-left: auto;
}

.wb-clear-filter {
    background: none;
    border: none;
    color: #999;
    font-size: 11px;
    cursor: pointer;
    padding: 4px 0;
    display: block;
    margin-top: 4px;
}
.wb-clear-filter:hover {
    color: #A21A20;
}

/* Buttons */
.wb-filter-actions {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wb-btn-apply {
    background: #A21A20;
    color: #fff;
    border: none;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 3px;
    cursor: pointer;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background .2s;
}
.wb-btn-apply:hover {
    background: #8a1519;
}

.wb-btn-reset {
    display: block;
    text-align: center;
    color: #999;
    font-size: 12px;
    text-decoration: none;
    padding: 4px 0;
}
.wb-btn-reset:hover {
    color: #A21A20;
    text-decoration: underline;
}

/* Aktive Filter-Badges oben im Shop */
.wb-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}
.wb-filter-badge {
    background: #f5ebe9;
    border: 1px solid #A21A20;
    color: #A21A20;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.wb-filter-badge a {
    color: #A21A20;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
}
