.filter-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.filter-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 0;
}

.filter-card__title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #111;
}

.filter-card__clear {
    background: none;
    border: none;
    color: #444;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.filter-card__clear:hover {
    color: #000;
}

.filter-card__body {
    padding: 16px 20px 20px;
}

.filter-field {
    margin-bottom: 20px;
}

.filter-field:last-child {
    margin-bottom: 0;
}

.filter-field__label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.filter-search {
    position: relative;
}

.filter-search__icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
    pointer-events: none;
}

.filter-search__input {
    width: 100%;
    padding: 10px 12px 10px 36px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    box-sizing: border-box;
}

.filter-search__input::placeholder {
    color: #aaa;
}

.filter-search__input:focus {
    border-color: #e30613;
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.08);
    background: #fff;
}

.filter-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fafafa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23999' d='M6 8L0 0h12z'/%3E%3C/svg%3E") no-repeat right 12px center;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    box-sizing: border-box;
    padding-right: 32px;
}

.filter-select:focus {
    border-color: #e30613;
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.08);
    background-color: #fff;
}

.results-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    padding: 16px 20px;
    margin-bottom: 20px;
}

.results-bar {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-size: 14px;
    color: #666;
}

.results-bar__count {
    font-weight: 700;
    font-size: 18px;
    color: #111;
}

.btn-filtros-mobile {
    font-size: 14px;
    border-radius: 8px;
    border-color: #ccc;
    color: #333;
    padding: 8px 16px;
}

.btn-filtros-mobile:hover {
    border-color: #e30613;
    color: #e30613;
}

.btn-filtros-mobile i {
    margin-right: 6px;
}

.accesorios-ningun-resultados {
    display: none;
    text-align: center;
    padding: 60px 20px;
}

.loading-accesorios {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.85);
    z-index: 10;
    animation: loadingFadeOut 0.4s ease forwards;
    animation-delay: 1.2s;
    pointer-events: none;
}

@keyframes loadingFadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.loading-accesorios__spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #e0e0e0;
    border-top-color: #e30613;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 12px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-accesorios__text {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

@media (min-width: 992px) {
    .filter-panel-mobile {
        position: static !important;
        visibility: visible !important;
        transform: none !important;
        background: none !important;
        border: none !important;
        width: auto !important;
        height: auto !important;
        box-shadow: none !important;
    }

    .filter-overlay {
        display: none !important;
    }
}

@media(max-width: 991.98px) {
    .filter-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        transition: opacity 0.3s;
    }

    .filter-overlay.is-visible {
        display: block;
    }

    .filter-panel-mobile {
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        height: 100%;
        background: #fff;
        z-index: 1050;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        box-shadow: 2px 0 12px rgba(0, 0, 0, 0.15);
    }

    .filter-panel-mobile.is-open {
        transform: translateX(0);
    }

    .filter-panel-mobile__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        border-bottom: 1px solid #eee;
    }

    .filter-panel-mobile__title {
        font-size: 18px;
        font-weight: 600;
        margin: 0;
    }

    .filter-panel-mobile__close {
        background: none;
        border: none;
        font-size: 28px;
        line-height: 1;
        color: #555;
        cursor: pointer;
        padding: 0;
    }

    body.filter-open {
        overflow: hidden;
    }

    .filter-card {
        box-shadow: none;
        border-radius: 0;
    }

    .filter-card__header {
        display: none;
    }

    .filter-card__body {
        padding: 20px;
    }
}