/* SPP Category Manager - Front CSS */

/* ------------------------------------------------
   Produits hors stock
------------------------------------------------ */
.spp-is-out-of-stock {
    opacity: 0.65;
    position: relative;
}

.spp-is-out-of-stock::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
    z-index: 1;
    border-radius: inherit;
}

/* Séparateur entre en-stock et hors-stock */
.spp-oos-separator {
    width: 100%;
    text-align: center;
    margin: 20px 0 10px;
    position: relative;
    grid-column: 1 / -1; /* S'étend sur toute la grille */
}

.spp-oos-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #dee2e6;
}

.spp-oos-separator span {
    position: relative;
    background: #fff;
    padding: 0 15px;
    color: #6c757d;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ------------------------------------------------
   Catégories vides (masquées par défaut via PS)
   Ces classes peuvent servir à un masquage CSS
   en complément du filtrage PHP
------------------------------------------------ */
.spp-category-hidden {
    display: none !important;
}
