 body {
        font-family: 'Segoe UI', sans-serif;
        margin: 0;
        background: #ffffff;
        padding-top: 100px;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    h1 {
        text-align: center;
        margin: 0;
        font-size: 3rem;
        font-weight: bold;
        color: #fff;
        position: relative;
        padding-bottom: 0.5rem;
        text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.2);
    }

    .titulo-banner-negro {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background-color: #3498db;
        color: #fff;
        text-align: center;
        padding: 1.5rem 1rem;
        font-size: 2.5rem;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 2px;
        z-index: 1000;
    }

    .product-grid1 {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
        padding: 2rem;
        max-height: calc(100vh - 230px);
        overflow-y: auto;
    }
    .catalogo-card1 {
        background: #fff;
        border: 1px solid #eee;
        border-radius: 10px;
        padding: 1rem;
        text-align: center;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
        max-width: 300px;
        min-height: 330px;
        margin-left: 40px;
        
    }

    .catalogo-card1 h3 {
        font-size: 1.1rem;
        margin: 0.5rem 0;
    }

    .catalogo-card1 p {
        font-size: 0.9rem;
        color: #555;
        margin: 0.2rem 0;
    }

    .paginacion {
        text-align: center;
        padding: 1rem;
    }

    .paginacion a {
        margin: 0 5px;
        text-decoration: none;
        color: #3498db;
        font-weight: bold;
        padding: 6px 12px;
        border: 1px solid #3498db;
        border-radius: 5px;
        transition: background-color 0.3s;
    }

    .paginacion a:hover {
        background-color: #3498db;
        color: #fff;
    }

    .paginacion .activo {
        background-color: #3498db;
        color: #fff;
    }
    .boton-volver {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #ffffff;
    color: #3498db;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    border: 2px solid #3498db;
    transition: background-color 0.3s, color 0.3s;
    z-index: 1100;
}

.boton-volver:hover {
    background-color: #3498db;
    color: #fff;
}
