

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:#f5f7fb;
    color:#222;
}

/*==========================
        BANNER
==========================*/

.banner{
    height:180px;
    background:linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)),
    url("images/Banner_OlympeStoremMore.jpg") center/cover;
    display:flex;
    justify-content:center;
    align-items:center;
}

.banner h1{
    color:#fff;
    font-size:42px;
}

/*==========================
      CONTAINER
==========================*/

.container{
    width:90%;
    max-width:1300px;
    margin:40px auto;
}

/*==========================
      BOUTON RETOUR
==========================*/

.back-btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    color:#0d6efd;
    background:#fff;
    padding:14px 22px;
    border-radius:12px;
    margin-bottom:30px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    transition:.3s;
    font-weight:bold;
}

.back-btn:hover{
    background:#0d6efd;
    color:white;
    transform:translateX(-5px);
}

/*==========================
      CARTE PRODUIT
==========================*/

.product{
    background:white;
    border-radius:20px;
    padding:35px;
    display:grid;
    grid-template-columns:100px 1fr 420px;
    gap:30px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

/*==========================
      MINIATURES
==========================*/

.thumbs{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.thumbs img{
    width:90px;
    height:90px;
    object-fit:cover;
    border-radius:12px;
    cursor:pointer;
    border:2px solid transparent;
    transition:.3s;
}

.thumbs img:hover{
    border-color:#0d6efd;
    transform:scale(1.05);
}

/*==========================
      IMAGE PRINCIPALE
==========================*/

.preview{
    display:flex;
    align-items:flex-start;
    justify-content:center;
}

.preview img{
    width:100%;
    max-height:520px;
    object-fit:contain;
    border-radius:18px;
}

/*==========================
      DETAILS
==========================*/

.details h5{
    color:#f4a300;
    margin-bottom:10px;
}

.details h2{
    font-size:38px;
    margin-bottom:15px;
}

.price{
    color:#e63946;
    font-size:40px;
    font-weight:bold;
}

.stock{
    display:inline-block;
    margin:20px 0;
    background:#e9f8ef;
    color:#16a34a;
    padding:8px 18px;
    border-radius:30px;
    font-weight:bold;
}

.details p{
    color:#666;
    line-height:1.8;
    margin-bottom:30px;
}

/*==========================
      INFOS
==========================*/

.info{
    border-top:1px solid #eee;
    border-bottom:1px solid #eee;
    padding:20px 0;
    margin-bottom:30px;
}

.info div{
    margin:12px 0;
    color:#555;
}

/*==========================
      BOUTON
==========================*/

.buy{
    width:100%;
    border:none;
    background:#0d6efd;
    color:white;
    padding:18px;
    border-radius:12px;
    font-size:18px;
    cursor:pointer;
    transition:.3s;
}

.buy:hover{
    background:#084fc7;
}

/*==========================
      RESPONSIVE
==========================*/

@media(max-width:1000px){

.product{
    grid-template-columns:1fr;
}

.thumbs{
    flex-direction:row;
    justify-content:center;
}

.preview img{
    max-height:350px;
}

}


/* FOOTER */


footer{

    background:#111;
    color:white;
    text-align:center;
    padding:30px;

}

