.home{
    padding:40px;
}
.home h1{
    text-align:center;
    margin-bottom:50px;
    font-size:40px;
}
.home section{
    margin-bottom:60px;
}
.home h2{
    font-size:28px;
    margin-bottom:25px;
}

.products{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.product-card{
    background:white;
    border-radius:18px;
    padding:20px;
    box-shadow:0 8px 20px rgba(0,0,0,0.12);
    transition:0.3s;
    text-align:center;
}

.product-card:hover{
    transform:translateY(-8px);
}

.product-card img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:15px;
}

.product-card h3{
    margin-top:15px;
    font-size:20px;
}

.product-card p{
    font-size:18px;
    font-weight:bold;
    margin:15px;
}

.product-card a{
    display:inline-block;
    padding:10px 20px;
    background:#222;
    color:white;
    border-radius:10px;
    text-decoration:none;
}

.product-card a:hover{
    background:#444;
}

.categories{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.categorie-card{
    text-decoration:none;
    color:black;
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 8px 20px rgba(0,0,0,0.12);
    transition:0.3s;
    text-align:center;
}

.categorie-card:hover{
    transform:scale(1.03);
}

.categorie-card img{
    width:100%;
    height:250px;
    object-fit:cover;
}

.categorie-card h3{
    padding:20px;
    font-size:22px;
}

@media(max-width:900px){
    .products{
        grid-template-columns:repeat(2,1fr);
    }
    .categories{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:600px){
    .products,.categories{
        grid-template-columns:1fr;
    }
    .home{
        padding:20px;
    }
}