body{
    margin:0;
    font-family:Arial, Helvetica, sans-serif;
    background:#f7f7f7;
    color:#333;
}

.logo{
    width:160px;
    display:block;
    margin:0 auto 10px;
}

header{
    background:#ff4fa3;
    color:white;
    text-align:center;
    padding:25px 15px;
}

header h1{
    margin:0;
    font-size:34px;
}

header p{
    margin-top:8px;
    font-size:18px;
    font-weight:bold;
}

.hero{
    text-align:center;
    padding:30px 15px;
    background:white;
}

.hero h2{
    font-size:28px;
    color:#ff4fa3;
}

.hero p{
    font-size:18px;
    font-weight:bold;
}

.inizia{
    display:inline-block;
    margin-top:20px;
    padding:15px 30px;
    background:#ff4fa3;
    color:white;
    border-radius:30px;
    text-decoration:none;
    font-size:20px;
    font-weight:bold;
    transition:.2s;
}

.inizia:hover{
    transform:scale(1.05);
}

.box-scelta,
#configuratore,
.riepilogo{
    background:white;
    margin:20px;
    padding:20px;
    border-radius:18px;
    box-shadow:0 3px 12px rgba(0,0,0,.08);
}

.box-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
    justify-content:center;
}

.box-buttons button{
    background:#ff4fa3;
    color:white;
    border:none;
    border-radius:16px;
    padding:15px;
    width:170px;
    font-size:18px;
    font-weight:bold;
    cursor:pointer;
    transition:.2s;
}

.box-buttons button:hover{
    transform:scale(1.05);
}

#boxScelta{
    background:#ffe3f0;
    border-radius:14px;
    padding:15px;
    text-align:center;
    font-size:20px;
    font-weight:bold;
    color:#ff4fa3;
    margin:15px 20px;
}

#ricerca{
    width:100%;
    padding:14px;
    border-radius:12px;
    border:2px solid #ff4fa3;
    font-size:17px;
    margin:20px 0;
    box-sizing:border-box;
}

.categorie{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    justify-content:center;
    margin-bottom:20px;
}

.categorie button{
    background:#ffe3f0;
    border:none;
    border-radius:20px;
    padding:10px 18px;
    cursor:pointer;
    font-weight:bold;
    transition:.2s;
}

.categorie button:hover{
    background:#ff4fa3;
    color:white;
}

.barra{
    width:100%;
    height:12px;
    background:#ececec;
    border-radius:20px;
    overflow:hidden;
    margin:15px 0;
}

#progress{
    width:0%;
    height:100%;
    background:#ff4fa3;
    transition:.3s;
}

#caramelle{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(170px,1fr));
    gap:18px;
}

.card{
    background:white;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 3px 10px rgba(0,0,0,.10);
    text-align:center;
    padding-bottom:15px;
    transition:.2s;
}

.card:hover{
    transform:translateY(-5px);
}

.card img{
    width:100%;
    height:170px;
    object-fit:cover;
}

.card h3{
    font-size:18px;
    margin:12px 8px;
}

.card button{
    background:#ff4fa3;
    color:white;
    border:none;
    border-radius:20px;
    padding:12px 25px;
    font-size:16px;
    font-weight:bold;
    cursor:pointer;
    transition:.2s;
}

.card button:hover{
    transform:scale(1.05);
}

.whatsapp{
    width:100%;
    background:#25D366;
    color:white;
    border:none;
    padding:16px;
    font-size:20px;
    font-weight:bold;
    border-radius:14px;
    cursor:pointer;
    transition:.2s;
}

.whatsapp:hover{
    transform:scale(1.03);
}

.riepilogo ul{
    padding-left:20px;
}

.riepilogo li{
    margin:8px 0;
    font-size:17px;
}


@media(max-width:600px){

    header h1{
        font-size:28px;
    }

    header p{
        font-size:16px;
    }

    .hero{
        padding:25px 15px;
    }

    .hero h2{
        font-size:24px;
    }

    .hero p{
        font-size:16px;
    }

    .box-scelta,
    #configuratore,
    .riepilogo{
        margin:15px;
        padding:15px;
    }

    .box-buttons{
        flex-direction:column;
    }

    .box-buttons button{
        width:100%;
    }

    #caramelle{
        grid-template-columns:repeat(2,1fr);
        gap:12px;
    }

    .card img{
        height:140px;
    }

    .card h3{
        font-size:15px;
    }

    .card button{
        padding:10px 15px;
        font-size:14px;
    }

    .categorie{
        gap:8px;
    }

    .categorie button{
        padding:8px 12px;
        font-size:14px;
    }

}

.hero-info{
    display:flex;
    gap:15px;
    justify-content:center;
    flex-wrap:wrap;
    margin:25px 0;
}

.hero-info div{
    background:#ffe3f0;
    border-radius:20px;
    padding:18px;
    width:220px;
    box-shadow:0 3px 10px rgba(0,0,0,.08);
    transition:.2s;
}

.hero-info div:hover{
    transform:translateY(-5px);
}

.hero-info div:first-child{
    background:#fff0a8;
}

.hero-info div:nth-child(2){
    background:#ffd6eb;
}

.hero-info div:nth-child(3){
    background:#d8f7ff;
}

.hero-info h3{
    margin:8px 0;
    color:#ff4fa3;
    font-size:20px;
}

.hero-info p{
    font-size:15px;
    font-weight:normal;
}

.frase{
    font-size:20px;
    font-weight:bold;
    color:#ff4fa3;
}


@media(max-width:600px){

    .hero-info{
        flex-direction:column;
        align-items:center;
    }

    .hero-info div{
        width:90%;
    }

}
