/* ===== FILTRO BAR ===== */
.filtro-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.filtro-btn {
    background: #fff;
    border: 2px solid #e0e0e0;
    color: #555;
    font-weight: 700;
    font-size: 13px;
    padding: 9px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: all .2s;
    letter-spacing: .4px;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
}

.filtro-btn:hover {
    border-color: #005fff;
    color: #005fff;
}

.filtro-btn.active {
    background: #005fff;
    border-color: #005fff;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 95, 255, .28);
}

/* ===== PAGINATION ===== */
#cursos_pagination .pagination {
    gap: 4px;
}

#cursos_pagination .page-link {
    border-radius: 8px !important;
    border: 2px solid #e0e0e0;
    color: #333;
    font-weight: 700;
    font-size: 14px;
    padding: 7px 14px;
    transition: all .2s;
    background: #fff;
    min-width: 40px;
    text-align: center;
}

#cursos_pagination .page-item.active .page-link {
    background: #005fff;
    border-color: #005fff;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 95, 255, .3);
}

#cursos_pagination .page-link:hover:not(.active) {
    border-color: #005fff;
    color: #005fff;
    background: #fff;
}

/* ===== NUESTROS CURSOS ===== */
.product-item {
    border: 1px solid #eee;
    height: 100%;
}

.product-item .down-content {
    padding: 20px;
    position: relative;
}

.product-item img {
    width: 100%;
    height: 270px;
    overflow: hidden;
}

.product-item .down-content h4 {
    font-size: 17px;
    color: #1a6692;
    margin-bottom: 20px;
}

.product-item .down-content h6 {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 18px;
    color: #121212;
}

.product-item .down-content p {
    margin-bottom: 20px;
}

.product-item .down-content ul li {
    display: inline-block;
}

.product-item .down-content ul li i {
    color: #f33f3f;
    font-size: 14px;
}

.product-item .down-content span {
    position: absolute;
    right: 30px;
    bottom: 30px;
    font-size: 13px;
    color: #f33f3f;
    font-weight: 500;
}

.products {
    margin-top: 100px;
}

.products .filters {
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 60px;
}

.products .filters li {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    color: #121212;
    display: inline-block;
    margin: 0px 10px;
    transition: all .3s;
    cursor: pointer;
}

.products .filters ul li.active,
.products .filters ul li:hover {
    color: #f33f3f;
}

.products ul.pages {
    margin-top: 30px;
    text-align: center;
}

.products ul.pages li {
    display: inline-block;
    margin: 0px 2px;
}

.products ul.pages li a {
    width: 44px;
    height: 44px;
    display: inline-block;
    line-height: 42px;
    border: 1px solid #eee;
    font-size: 15px;
    font-weight: 700;
    color: #121212;
    transition: all .3s;
}

.products ul.pages li a:hover,
.products ul.pages li.active a {
    background-color: #f33f3f;
    border-color: #f33f3f;
    color: #fff;
}

.contaner_edit > .content_cursos_row {
    justify-content: space-between !important;
}

.container_product {
    width: 25%;
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 20px;
}

@media (max-width: 1200px) {
    .container_product {
        width: 33.3%;
    }
}

@media (max-width: 950px) {
    .container_product {
        width: 45%;
    }
}

@media (max-width: 800px) {
    .container_product {
        width: 50%;
    }
}

@media (max-width: 600px) {
    .contaner_edit > .content_cursos_row {
        justify-content: center !important;
    }

    .container_product {
        width: 75%;
    }
}

@media (max-width: 500px) {
    .container_product {
        width: 85%;
    }
}

@media (max-width: 430px) {
    .container_product {
        width: 95%;
    }
}

@media (max-width: 370px) {
    .container_product {
        width: 98%;
    }
}