body {
    background: linear-gradient(135deg, #eef4ff, #f9fbff);
    font-family: 'Segoe UI', sans-serif;
}

.container {
    max-width: 1400px;
    margin: auto;
    padding: 30px;
}

.page-header {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    color: #0d3b66;
    margin: 70px 0 50px;
    position: relative;
    letter-spacing: 1px;
    animation: fadeDown 1s ease;
}

    .page-header::after {
        content: "";
        width: 110px;
        height: 5px;
        background: linear-gradient(90deg,#0077ff,#00d4ff);
        display: block;
        margin: 18px auto 0;
        border-radius: 50px;
    }

.productoTable {
    width: 100%;
}

.productoRow {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    margin-bottom: 45px;
}

.productoCell {
    flex: 1;
    min-width: 340px;
}

.productoCard {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
    transition: all .45s ease;
    position: relative;
    animation: fadeUp 1s ease;
}

    .productoCard:hover {
        transform: translateY(-12px) scale(1.02);
        box-shadow: 0 25px 60px rgba(0,119,255,0.18);
    }

    .productoCard::before {
        content: "";
        position: absolute;
        top: 0;
        left: -120%;
        width: 100%;
        height: 100%;
        background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
        transition: 1s;
    }

    .productoCard:hover::before {
        left: 120%;
    }

.CategoriaTitulo {
    background: linear-gradient(135deg,#0d47a1,#1976d2,#2196f3);
    padding: 22px;
    text-align: center;
}

    .CategoriaTitulo a {
        color: white;
        text-decoration: none;
        font-size: 23px;
        font-weight: bold;
        transition: .3s ease;
    }

        .CategoriaTitulo a:hover {
            color: #d9f1ff;
        }

.CategoriaDescripcion {
    padding: 28px;
}

.ImagenModelo {
    text-align: center;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 25px;
    position: relative;
}

    .ImagenModelo img {
        width: 100%;
        border-radius: 20px;
        transition: transform .7s ease;
    }

.productoCard:hover .ImagenModelo img {
    transform: scale(1.08) rotate(1deg);
}

.ImagenDescripcion {
    color: #4a5568;
    line-height: 1.9;
    font-size: 15px;
    margin-bottom: 25px;
    text-align: justify;
}

.producto-btn {
    display: inline-block;
    background: linear-gradient(135deg,#0077ff,#00c6ff);
    color: white !important;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: bold;
    letter-spacing: .5px;
    transition: all .35s ease;
    box-shadow: 0 10px 20px rgba(0,119,255,0.25);
}

    .producto-btn:hover {
        transform: translateY(-4px) scale(1.05);
        background: linear-gradient(135deg,#005ce6,#0099ff);
        box-shadow: 0 18px 35px rgba(0,119,255,0.4);
    }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media(max-width:768px) {

    .productoRow {
        flex-direction: column;
    }

    .page-header {
        font-size: 30px;
    }

    .CategoriaTitulo a {
        font-size: 20px;
    }

    .productoCell {
        min-width: 100%;
    }
}
