/* ===============================
WRAPPER
================================= */
.smf-wrapper {
    width: 100%;
    margin-bottom: 20px;
}

/* ===============================
BOTÓN MOBILE
================================= */
.smf-mobile-toggle {
    display: none;
    width: 100%;
    padding: 14px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* ===============================
SIDEBAR
================================= */
.smf-sidebar {
    background: #f9f9f9;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* HEADER */
.smf-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.smf-sidebar-title {
    font-size: 22px;
    font-weight: 700;
}

/* HIDE CLOSE DESKTOP */
.smf-close {
    display: none;
}

/* ===============================
LISTA
================================= */
.smf-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* MAIN CATEGORY */
.smf-category-list > li {
    margin-bottom: 20px;
}

.smf-category-list > li > a {
    font-size: 22px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    transition: 0.2s;
}

.smf-category-list > li > a:hover {
    color: #0073ff;
    transform: scale(1.05);
}

/* SUBCATEGORIES */
.smf-category-list .children {
    margin-top: 10px;
    margin-left: 14px;
    padding-left: 14px;
    border-left: 1px solid rgba(0,0,0,0.08);
}

.smf-category-list .children a {
    font-size: 18px;
    color: #000;
}

.smf-category-list .children a:hover {
    color: #0073ff;
    transform: translateX(4px);
}

/* ACTIVE */
.smf-category-list a.active {
    color: #0073ff;
    font-weight: 700;
}

.smf-category-list > li > a.active {
    font-size: 24px;
}

/* RESET */
.smf-reset a {
    font-size: 14px;
    color: #888;
}

/* ===============================
LOADING
================================= */
.products.loading {
    opacity: 0.4;
    pointer-events: none;
}

/* ===============================
MOBILE
================================= */
@media (max-width: 768px) {

    .smf-mobile-toggle {
        display: block;
    }

    .smf-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #fff;
        z-index: 999999;
        transform: translateX(-100%);
        transition: 0.3s;
        overflow-y: auto;
        border-radius: 0;
    }

    .smf-sidebar.active {
        transform: translateX(0);
    }

    .smf-close {
        display: block;
        font-size: 22px;
    }
}