body{

    margin:0;

    font-family:Arial, sans-serif;

    background:#f5f5f5;

}





/* HEADER */



header{

    background:#222;

    color:white;

    padding:20px 40px;



    display:flex;

    justify-content:space-between;

    align-items:center;

}



.logo{

    font-size:28px;

    font-weight:bold;

}



nav a{

    color:white;

    text-decoration:none;

    margin-left:20px;

}



nav a:hover{

    color:#00bfff;

}





/* HERO */



.hero{

    text-align:center;

    padding:60px;

    background:white;

}



.hero h1{

    margin:0;

    font-size:40px;

}





/* PRODOTTI */



.container{

    width:1200px;

    margin:auto;

    padding:40px 0;



    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}





.card{

    background:white;

    border-radius:10px;

    overflow:hidden;

    box-shadow:0 0 10px rgba(0,0,0,0.1);



    transition:0.3s;

}



.card:hover{

    transform:translateY(-5px);

}



.card img{

    width:100%;

    height:250px;

    object-fit:cover;

}





.card h3{

    padding:15px;

    margin:0;

    font-size:18px;

}





.price{

    padding:0 15px;

    font-size:22px;

    color:#008000;

    font-weight:bold;

}





.card button{

    margin:15px;

    width:calc(100% - 30px);

    padding:12px;



    border:none;

    background:#0078d7;

    color:white;

    cursor:pointer;

    border-radius:5px;

}



.card button:hover{

    background:#005aa3;

}





/* FOOTER */



footer{

    text-align:center;

    background:#222;

    color:white;

    padding:25px;

    margin-top:50px;

}


/* PAGINA PRODOTTO */

.product-page{
    width:1200px;
    margin:50px auto;
    display:flex;
    gap:50px;
}


.product-image{
    width:50%;
}


.product-image img{
    width:100%;
    border-radius:10px;
}


.thumbs{
    margin-top:15px;
    display:flex;
    gap:10px;
}


.thumbs img{
    width:100px;
    height:100px;
    object-fit:cover;
    cursor:pointer;
}


.product-info{
    width:50%;
}


.product-info h1{
    margin-top:0;
    font-size:38px;
}


.price-big{
    font-size:32px;
    color:green;
    margin:20px 0;
    font-weight:bold;
}


.availability{
    color:#0066cc;
    margin-bottom:20px;
}


.description{
    line-height:1.6;
}


.quantity{
    margin:30px 0;
}



.quantity input{
    width:60px;
    padding:8px;
    margin-left:10px;
}


.cart-button{
    padding:18px 40px;
    background:#0078d7;
    border:none;
    color:white;
    font-size:18px;
    cursor:pointer;
    border-radius:6px;
}


.tabs{
    width:1200px;
    margin:50px auto;
    background:white;
    padding:40px;
    box-sizing:border-box;
}


.tabs h2{
    margin-top:0;
}




/* SELECT PRODOTTO */


select{
    width:100%;
    padding:15px;
    font-size:18px;
    border-radius:10px;
    border:1px solid #ccc;
}

.price-area{
    margin-top:30px;
    text-align:center;
}

.price-label{
    font-size:14px;
    color:#666;
}

.price{
    font-size:42px;
    color:#1e8e3e;
    font-weight:bold;
    margin-top:10px;
}

button{
    margin-top:30px;
    width:100%;
    padding:16px;
    background:#1565c0;
    border:none;
    color:white;
    font-size:18px;
    border-radius:10px;
    cursor:pointer;
}



/* FORM CLIENTE */
/* etichette */
form span {
    display: inline-block;
    width: 120px;
    margin-bottom: 8px;
    
    font-family: Arial, sans-serif;
    font-size: 15px;
}

/* campi visibili */
form input[type="text"] {
    width: 320px;
    padding: 10px;

    font-size: 16px;
    font-family: Arial, sans-serif;

    border: 1px solid #bbb;
    border-radius: 5px;

    margin-bottom: 10px;
}

/* quando clicchi dentro */
form input[type="text"]:focus {
    border-color: #444;
    outline: none;
}