CSS
 
body{
    margin:0;
    font-family: Arial, Helvetica, sans-seriff;
    background:#ffffff;
    color:#222;
}

header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 50px;
    background:white;
    border-bottom:1px solid #eee;
}

.logo-img{
    height:80px;
    width: auto;
}

.logo {
    flex:0 0 auto;
}

nav a{
    text-decoration:none;
    color:#222;
    margin-left:25px;
    font-weight:bold;
}

nav a:hover{
    color:#8B1E2D;
}

.hero{
    text-align:center;
    padding:80px 20px;
    background:#F8F3F6;
}

.hero h1{
    font-size:48px;
    margin-bottom:20px;
}

.hero p{
    font-size:20px;
    color:#555;
}

.button{
    display:inline-block;
    margin-top:30px;
    padding:15px 35px;
    background:#8B1E2D;
    color:white;
    text-decoration:none;
    border-radius:30px;
}

.button:hover{
    background:#6f1623;
}

.featured{
    padding:70px 40px
}

.featured h2{
    text-align:center;
    margin-bottom:40px;
}

.cards{
    dysplay:flax;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
}

.card{
    width:260px;
    background:white;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    padding:20px;
    text-align:center;
}

.photo{
    height:220px;
    background:#ececec;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:10px;
    margin-bottom:15px;
}

footer{
    text-align:center;
    padding:25px;
    background:#F8F3F6;
}

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

header{
    background:white;
    display:flax;
    jastify-content:space-between;
    align-items:center;
    padding:20px 50px;
    box-shadow:0 2px 10px rgba(0,0,0,.10);
}

.logo img{

    display:block;
    height:50px !important;
    width:auto !important;
    max-width:180px !important;
    object-fit:contain;

}

nav ul{
    display:flax;
    list-style:none;
    gap:35px;
    margin:0;
    padding:0;
}

nav a{
    text-decoration:none;
    color:#4b2b63;
    font-weight:bold;
    font-size:18px;
}

nav a:hover{
    color:#9c4dcc;
}

.hero{
    text-align:center;
    padding:90px 20px;
}

.hero h1{
    font-size:52px;
    color:#4b2b63;
    margin-bottom:20px;
}

.hero p{
    font-size:22px;
    color:#555;
    max-width:700px;
    margin:0 auto 40px auto;
    line-height:1.6;
}

.button{
    display:inline-block;
    background:#8f5cc8;
    color:white;
    text-decoration:none;
    padding:18px 40px;
    border-radius:50px;
    font-size:18px;
    font-weight:bold;
    transition:.3s;
}

.button:hover{
    background:#6e3fa6;
    transform:translateY(-3px);
}

.featured{
    padding:60px;
}

.featured h2{
    text-align:center;
    color:#4b2b63;
    font-size:38px;
    margin-bottom:40px;
}

.cards{
    display:flex;
    justify-content:center;
    gap:40px;
    flex-wrap:wrap;
}

.card{
    width:300px;
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,.12);
    transition:.3s;
    text-align:center;
}

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

.photo{
    height:240px;
    background:#ddd;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:24px;
    color:#666;
}

.card h3{
    color:#4b2b63;
}

.card p{
    font-size:22px;
    font-weight:bold;
    color:#8f5cc8;
    margin-bottom:30px;
}

.contact-btn{
    display:inline-block;
    margin-bottom:25px;
    padding:12px 25px;
    background:#4b2b63;
    color:white;
    text-decoration:none;
    border-radius:30px;
    transition:.3s;
}

.contafct-btn:hover{
    background:#8f5cc8;
}

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

/* ===== Pagina prodotto ===== */

.product-page{
    display:flex;
    gap:40px;
    max-width:1200px;
    margin:40px auto;
    align-items:flex-start;
    padding:20px;
    flex-wrap:wrap;
}

.product-gallery{
    flex:1;
    min-width:320px;
    max-width:650px;
}

#main-image{
    width:100%;
    max-width:650px;
    max-height:600px;
    height:auto;
    object-fit:contain;
    border-radius:12px;
    display:block;
    background:#f5f5f5;
}

.thumbnails{

    display:flex;
    gap:12px;
    overflow-x:auto;
    overflow-y:hidden;
    padding:10px 4px;
    scroll-behavior:smooth;

}

.thumbnails-wrapper{

    width:100%;
    margin-top:20px;

}

.thumb{

    width:90px;
    height:90px;
    flex:0 0 auto;
    object-fit:cover;
    border-radius:12px;
    cursor:pointer;
    border:3px solid transparent;
    transition:.25s;

}

.thumb.active{

    border-color:#8f5cc8;

}

.thumbnails::-webkit-scrollbar{

    height:8px;

}

.thumbnails::-webkit-scrollbar-thumb{

    background:#8f5cc8;
    border-radius:20px;

}

.thumbnails::-webkit-scrollbar-track{

    background:#ececec;

}

.thumbnails img{
    width:100px;
    height:100px;
    object-fit:cover;
    border-radius:8px;
    cursor:pointer;
}

.thumbnails img:hover{
    transform:scale(1.05);
    border-color:#555;
}

.product-info{
    width:45%;
}

.product-info h1{
    margin-top:0;
}

.product-info h2{
    color:#0a7a35;
    font-size:32px;
}

.hero{

    position:relative;
    overflow:hidden;

}

.hero::before{

    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);

}

.hero h1,
.hero p,
.hero .button{

    position:relative;
    z-index:2;

}

/* ======= ADMIN ======= */

.admin-layout{
    display:flex;
    min-height:calc(100vh - 100px);
}

.admin-sidebar{
    width:260px;
    background:#222;
    color:white;
    padding:30px 20px;
}

.admin-sidebar h2{
    margin-top:0;
    margin-bottom:30px;
}

.admin-sidebar a{
    display:block;
    color:white;
    text-decoration:none;
    padding:12px 0;
    transition:.2s;
}

.admin-sidebar a:hover{
    color:#b88cff;
}

.admin-sidebar hr{
    margin:25px 0;
    border:none;
    border-top:1px solid #444;
}

.admin-content{
    flex:1;
    padding:40px;
}

/* ===== Dashboard ===== */

.stats-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:25px;
    margin:30px 0 40px;

}

.stat-card{

    background:white;
    border-radius:18px;
    padding:30px;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,.08);

}

.stat-card h3{

    font-size:42px;
    margin:0;
    color:#6d3fb3;

}

.stat-card p{

    margin-top:10px;
    color:#666;

}


/* ===== Login ===== */

.login-page{

    max-width:500px;
    margin:80px auto;
    padding:40px;
    text-align:center;

}

.login-page input{

    width:100%;
    padding:14px;
    font-size:16px;
    box-sizing:border-box;
    margin-bottom:15px;

}

.login-page .button{

    width:100%;

}

/* ===== LIGHTBOX ===== */

.lightbox{

    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.92);
    justify-content:center;
    align-items:center;
    z-index:9999;

}

.lightbox img{

    max-width:95%;
    max-height:90%;
    border-radius:12px;

}

.close-lightbox{

    position:absolute;
    top:30px;
    right:40px;
    color:white;
    font-size:50px;
    cursor:pointer;

}

#main-image{
    display:block;
    width:100%;
    height:auto;
    max-height:70vh;
    object-fit:contain;
    border-radius:12px;
    cursor:zoom-in;

}

.thumb.active{

    border:3px solid #8f5cc8;
}
    
.image-wrapper{

    width:100%;
    position:relative;

}

.gallery-arrow{

    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:48px;
    height:48px;
    border:none;
    border-radius:50%;
    background:rgba(0,0,0,.55);
    color:white;
    font-size:28px;
    cursor:pointer;
    z-index:5;
    transition:.2s;

}

.gallery-arrow:hover{

    background:#8f5cc8;

}

#prev-image{

    left:15px;

}

#next-image{

    right:15px;

}

/* ===== Pagina prodotto Premium ===== */

.product-price{

    font-size:42px;
    font-weight:bold;
    color:#8f5cc8;
    margin:20px 0;

}

.status{

    display:inline-block;
    padding:10px 18px;
    border-radius:30px;
    font-weight:bold;
    margin-bottom:25px;

}

.available{

    background:#dff7e4;
    color:#157a2f;

}

.reserved{

    background:#efe4ff;
    color:#6b2eb8;

}

.sold{

    background:#ffe3e3;
    color:#b00020;

}

.share-btn{

    display:block;
    width:100%;
    margin-top:15px;
    padding:14px;
    border:none;
    border-radius:30px;
    background:#ece7f8;
    color:#4b2b63;
    font-size:16px;
    font-weight:bold;
    cursor:pointer;
    transition:.25s;

}

.share-btn:hover{

    background:#8f5cc8;
    color:white;

}

/* ===========================
   HEADER MOBILE
=========================== */

.menu-toggle{

    display:none;
    background:none;
    border:none;
    font-size:32px;
    cursor:pointer;

}

@media (max-width:768px){

    header{

        flex-wrap:wrap;
        padding:15px;

    }

    .logo img{

        height:50px;
        width:auto;

    }

    .menu-toggle{

        display:block;

    }

    nav{

        display:none;
        width:100%;
        margin-top:15px;

    }

    nav.open{

        display:block;

    }

    nav ul{

        display:flex;
        flex-direction:column;
        gap:15px;
        margin:0 0 20px 0;
        padding:0;

    }

    nav form{

        display:block;
        margin:15px 0 !important;

    }

    nav input,
    nav select,
    nav button{

        width:100%;

    }

}
