*{
    box-sizing: border-box;
}

#catalogo {
    width: 1300px;
    max-width: 90%;
    background:#0f0f0f;
    min-height: 100vh;
    padding: 36px 0px 70px;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.filtros-inline {
    width: 100%;
    margin: 0 auto 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #0c0c0c;
    border: 1px solid rgba(245, 196, 0, 0.16);
    border-radius: 22px;
}

.filtros-inline select,
.filtros-inline input[type="text"] {
    min-width: 150px;
    height: 46px;
    border: 1px solid rgba(245, 196, 0, 0.28);
    border-radius: 12px;
    padding: 0 14px;
    background: #0a0a0a;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.25s ease, transform 0.25s ease;
}


.filtros-inline select:hover,
.filtros-inline input[type="text"]:hover {
    border-color: rgba(245, 196, 0, 0.6);
}

.filtros-inline select:focus,
.filtros-inline input[type="text"]:focus {
    border-color: #f5c400;
    transform: translateY(-1px);
}

.filtros-inline button,
.filtros-inline a {
    height: 46px;
    padding: 0 18px;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.94rem;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.btn-filtrar {
    background: #ffc107;
    color: #111;
    cursor: pointer;
}

.btn-filtrar:hover {
    transform: translateY(-2px);
}

.btn-resetear {
    background: #111;
    color: #f5c400;
    border: 1px solid rgba(245, 196, 0, 0.22);
}

.btn-resetear:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 196, 0, 0.6);
}

.btn-nuevo {
    background: linear-gradient(135deg, #65d61d 0%, #8cff41 100%);
    color: #111;
}

.btn-nuevo:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
}

.productos-container {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 300px));
    column-gap: 20px;
    row-gap: 32px;
    justify-content: space-around;
    position: relative;
}

.product-card{
    height: 100%;
}

.paginacion {
    max-width: 1280px;
    margin: 38px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.paginacion a {
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    text-decoration: none;
    background: #111;
    color: #f5c400;
    border: 1px solid rgba(245, 196, 0, 0.2);
    border-radius: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.paginacion a:hover {
    transform: translateY(-2px);
    background: #f5c400;
    color: #111;
}

.paginacion a.activa {
    background: #ffc107;
    color: #111;
    border-color: #f5c400;
}

#catalogo h1 {
    text-align: center;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 22px;
}

@media (max-width: 900px) {
    #catalogo {
        padding:10px;
    }

    .filtros-inline {
        justify-content: stretch;
    }

    .filtros-inline select,
    .filtros-inline input[type="text"],
    .filtros-inline button,
    .filtros-inline a {
        width: 100%;
    }

}

@media (max-width: 640px) {
    #catalogo{
        max-width: 98%;
    }
    .productos-container {
        grid-template-columns: 2fr;
    }

    .product-card {
        min-height: auto;
    }


    .product-card h3 {
        font-size: 1.35rem;
    }

    .precio-normal,
    .precio-oferta {
        font-size: 1.7rem;
    }

    .descripcion {
        min-height: auto;
    }
}