/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.9.1785187571
Updated: 2026-07-27 23:26:11

*/

/* ===== FILTROS COMPACTOS EN MÓVIL ===== */
@media (max-width: 768px) {
    /* Contenedor general */
    .yith-wcan-filters {
        padding: 0 !important;
    }
    .yith-wcan-filters .filters-container {
        padding: 10px 14px !important;
        gap: 0 !important;
    }

    /* Filtrar cada bloque del filtro - tamaño fijo */
    .yith-wcan-filter {
        border: 1px solid #e5e5e5;
        border-radius: 8px;
        margin-bottom: 8px;
        overflow: hidden;
        background: #fff;
        width: 100%;
    }

    /* Titulo del filtro - tamaño fijo, nunca se achica */
    .yith-wcan-filter .filter-title {
        font-size: 16px !important;
        padding: 14px 16px !important;
        cursor: pointer;
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0 !important;
        width: 100%;
        min-height: 48px;
        box-sizing: border-box;
        border-bottom: 1px solid transparent;
        transition: none;
        user-select: none;
    }

    /* Flecha indicadora */
    .yith-wcan-filter .filter-title::after {
        content: "\25BE" !important;
        font-size: 13px;
        color: #999;
        transition: none;
        margin-left: 8px;
        position: static !important;
        background: none !important;
        display: inline !important;
        height: auto !important;
        width: auto !important;
    }
    .yith-wcan-filter .filter-title.collapsable.opened::after {
        content: "\25B4" !important;
    }
    .yith-wcan-filter .filter-title.collapsable:not(.opened)::after {
        content: "\25BE" !important;
    }

    /* Contenido del filtro - colapsado por defecto */
    .yith-wcan-filter .filter-content {
        max-height: 0;
        overflow: hidden;
        padding: 0 16px !important;
        transition: max-height 0.3s ease;
    }

    /* Cuando el titulo tiene opened, mostrar el contenido */
    .yith-wcan-filter .filter-title.collapsable.opened + .filter-content {
        max-height: 600px;
        padding: 12px 16px !important;
    }

    /* Items compactos */
    .yith-wcan-filter .filter-item {
        padding: 4px 0 !important;
    }
    .yith-wcan-filter .filter-item label {
        font-size: 14px !important;
        gap: 6px;
    }

    /* Espacio entre titulo y contenido */
    .yith-wcan-filter .filter-title + .filter-content {
        border-top: 1px solid #f0f0f0;
    }

    /* Filtros horizontales - categorías en pills */
    .yith-wcan-filters .yith-wcan-filter.filter-tax .filter-items.filter-checkbox {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }
    .yith-wcan-filters .yith-wcan-filter.filter-tax .filter-item {
        flex: 0 0 auto;
    }
    .yith-wcan-filters .yith-wcan-filter.filter-tax .filter-item label {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        background: #f5f5f5;
        border: 1px solid #e0e0e0;
        border-radius: 20px;
        padding: 6px 14px;
        font-size: 13px !important;
        white-space: nowrap;
    }
    .yith-wcan-filters .yith-wcan-filter.filter-tax .filter-item label:hover {
        background: var(--yith-wcan-filters_colors_accent, #9E0001);
        color: #fff;
        border-color: var(--yith-wcan-filters_colors_accent, #9E0001);
    }

    /* Botón de reset compacto */
    .yith-wcan-reset-filters {
        font-size: 12px !important;
        padding: 6px 14px !important;
    }

    /* Ocultar mobile modal opener si existe */
    .yith-wcan-filters-opener {
        display: none !important;
    }
}

