
/* ===== Фильтры каталога ===== */

/* Radio (Категории) */
input.f-radio {
    -webkit-appearance: none;
    appearance: none;
    display: inline-block;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    box-sizing: border-box;
    transition: border-color .15s, background .15s;
    vertical-align: middle;
    position: relative;
}
input.f-radio:checked {
    border: 6px solid #0080FF;
    background: #fff;
}
input.f-radio:hover:not(:checked) {
    border-color: rgba(0,128,255,0.5);
}

/* Checkbox (Тип разъёма) */
input.f-check {
    -webkit-appearance: none;
    appearance: none;
    display: inline-block;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 5px;
    border: 2px solid rgba(255,255,255,0.3);
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    box-sizing: border-box;
    transition: border-color .15s, background .15s;
    vertical-align: middle;
}
input.f-check:checked {
    border-color: #0080FF;
    background: linear-gradient(135deg, #0080FF, #00D4AA);
}
input.f-check:checked::after {
    content: '';
    display: block;
    width: 5px;
    height: 9px;
    border-right: 2.5px solid #fff;
    border-bottom: 2.5px solid #fff;
    transform: rotate(45deg) translate(3px, 0px);
}
input.f-check:hover:not(:checked) {
    border-color: rgba(0,128,255,0.5);
}

/* Select сортировки */
.catalog-sort-select {
    -webkit-appearance: none;
    appearance: none;
    padding: 0.55rem 2.6rem 0.55rem 1rem;
    background-color: rgba(21,21,29,0.95);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%230080FF' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    border: 1px solid rgba(0,128,255,0.3);
    border-radius: 0.75rem;
    color: #E8E8F0;
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.catalog-sort-select:hover {
    border-color: rgba(0,128,255,0.6);
}
.catalog-sort-select:focus {
    border-color: #0080FF;
    box-shadow: 0 0 0 3px rgba(0,128,255,0.2);
}
.catalog-sort-select option {
    background-color: #15151d;
    color: #E8E8F0;
}
