/*
 Theme Name: Martfury Child
 Template: martfury
*/

/* ============================================================
   PAGINA: Politica de Privacidad (page-id-3)
   ============================================================ */
.page-id-3 .elementor-widget-container p,
.page-id-3 .elementor-widget-container li,
.page-id-3 .elementor-widget-container span,
.page-id-3 .elementor-widget-container a,
.page-id-3 .elementor-widget-container ul,
.page-id-3 .elementor-widget-container ol {
    font-size: 18px !important;
    line-height: 1.85 !important;
}

.page-id-3 .elementor-widget-container h1,
.page-id-3 .elementor-widget-container h2,
.page-id-3 .elementor-widget-container h3,
.page-id-3 .elementor-widget-container h4 {
    font-size: revert !important;
    line-height: revert !important;
}

/* ============================================================
   HOME: Sidebar de categorias (desktop)
   ============================================================ */
#gavese-home-categories-sidebar {
    position: fixed;
    left: 0;
    top: 150px;
    width: 250px;
    background: #fff;
    border-right: 1px solid #e5e5e5;
    box-shadow: 2px 0 8px rgba(0,0,0,0.08);
    padding: 20px 15px;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    z-index: 999;
}

#gavese-home-categories-sidebar .widget-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #fcb800;
    color: #333;
}

#gavese-home-categories-sidebar .product-categories {
    list-style: none;
    margin: 0;
    padding: 0;
}

#gavese-home-categories-sidebar .cat-item {
    margin: 0 0 4px 0;
    padding: 0;
}

#gavese-home-categories-sidebar .cat-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    text-decoration: none;
    color: #555;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

#gavese-home-categories-sidebar .cat-item a:hover {
    background: #fcb800;
    color: #fff;
    transform: translateX(3px);
}

#gavese-home-categories-sidebar .count {
    font-size: 11px;
    color: #aaa;
}

#gavese-home-categories-sidebar .cat-item a:hover .count {
    color: rgba(255,255,255,0.8);
}

.page-id-4057 .site-content {
    margin-left: 270px !important;
}

/* ============================================================
   RESPONSIVE: Tablets y celulares
   ============================================================ */
@media (max-width: 991px) {
    /* Sidebar horizontal */
    #gavese-home-categories-sidebar {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        max-height: none;
        border-right: none;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        padding: 12px 15px;
        margin-bottom: 15px;
        border-radius: 0;
    }

    #gavese-home-categories-sidebar .widget-title {
        font-size: 15px;
        margin-bottom: 10px;
    }

    #gavese-home-categories-sidebar .product-categories {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 8px;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    #gavese-home-categories-sidebar .product-categories::-webkit-scrollbar {
        display: none;
    }

    #gavese-home-categories-sidebar .cat-item {
        flex-shrink: 0;
        margin: 0;
    }

    #gavese-home-categories-sidebar .cat-item a {
        white-space: nowrap;
        padding: 7px 14px;
        font-size: 13px;
        background: #f5f5f5;
        border: 1px solid #eee;
        border-radius: 20px;
    }

    #gavese-home-categories-sidebar .cat-item a:hover {
        transform: none;
        background: #fcb800;
        border-color: #fcb800;
    }

    .page-id-4057 .site-content {
        margin-left: 0 !important;
    }
}
