.price_slider_amount button.button {
    display: none;
}

/*Ocultar boton de filtro */
.price_slider_amount button.button {
    display: none;
}

.fusion-post-cards-archives-tb.loading {
    opacity: .4;
    pointer-events: none;
    transition: opacity .25s ease;
}

/* Loader Overlay */
.fusion-post-cards-archives-tb.loading {
    position: relative;
    opacity: 0.4;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

/* Skeleton para cada producto */
.fusion-post-cards-archives-tb.loading .product {
    position: relative;
    overflow: hidden;
}

.fusion-post-cards-archives-tb.loading .product::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0) 100%);
    animation: skeleton-glow 1.1s infinite linear;
}

@keyframes skeleton-glow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Ocultar filtros en móvil y mostrar solo botón */
@media (max-width: 768px) {
  .awb-woo-filters {
    display: none;
  }

  .lm-filters-toggle {
    display: block;
    width: 100%;
    background: #000;
    color: #fff;
    padding: 14px;
    border: none;
    font-size: 16px;
    text-align: center;
    border-radius: 6px;
    margin-bottom: 14px;
  }
}

/* Cuando se despliegan */
.awb-woo-filters.lm-open {
  display: block !important;
}

/* Este es el contenedor principal de filtros en Avada */
.lm-filters-wrapper {
    transition: transform 0.35s ease, opacity 0.35s ease;
    background: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 85%;
    max-width: 330px;
    padding: 25px;
    overflow-y: auto;
    z-index: 99999;
    transform: translateX(-100%);
    box-shadow: 0 0 25px rgba(0,0,0,0.25);
}

/* Cuando está abierto */
.lm-filters-wrapper.lm-open {
    transform: translateX(0);
}

/* Botón para activarlo en móvil */
#lm-toggle-filters {
    display: none;
}

/* Móvil: mostrar el botón y ocultar barra normal */
@media (max-width: 768px) {
    #lm-toggle-filters {
        display: block;
        width: 100%;
        background: #000;
        color: #fff;
        padding: 14px;
        border: none;
        font-size: 16px;
        border-radius: 6px;
        margin-bottom: 14px;
    }

    /* Oculta la sidebar original */
    .shop-sidebar,
    .fusion-widget-area,
    aside[id*="sidebar"],
    .widget-area {
        display: none;
    }

    /* El nuevo sidebar aparece flotante */
    .lm-filters-wrapper {
        display: block;
    }
}
