.product-wrapper{
    max-width:1200px;
    margin:60px auto;
}

.product-card{
    background:white;
    border-radius:25px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.product-image{
    width:100%;
    height:auto;
    display:block;
}

.image-box{
    background:#F8F6F2;
    padding:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:600px;
}

/* Conteneur interne pour image + vignettes */
.image-inner{
    display:flex;
    flex-direction:column;
    align-items:center;
}

/* Vignettes */
.product-thumbs{
    margin-top:20px;
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    justify-content:center;
}

.product-thumb-btn{
    border:none;
    background:transparent;
    padding:0;
    border-radius:12px;
    overflow:hidden;
    border:2px solid transparent;
    cursor:pointer;
    transition:border-color .2s ease-out, transform .2s ease-out;
}

.product-thumb-btn img{
    width:80px;
    height:80px;
    object-fit:cover;
    display:block;
}

.product-thumb-btn:hover{
    transform:translateY(-2px);
}

.product-thumb-btn.active{
    border-color:#C7A97B;
}

.product-content{
    padding:40px;
}

.product-title{
    font-family:'Cormorant Garamond',serif;
    font-size:3rem;
    color:#2D3135;
    margin-bottom:20px;
}

.product-description{
    line-height:1.9;
    color:#555;
    margin-bottom:30px;
}

.product-price{
    font-size:2.5rem;
    font-weight:bold;
    color:#A88B60;
    margin-bottom:20px;
}

.product-stock{
    display:inline-block;
    background:#E5E7EA;
    color:#2D3135;
    padding:10px 18px;
    border-radius:30px;
    margin-bottom:25px;
}

.product-stock.low{
    background:#ffe5e5;
    color:#c92a2a;
}

.btn-buy{
    display:inline-block;
    background:
    linear-gradient(
        135deg,
        #C7A97B,
        #A88B60
    );
    color:white;
    text-decoration:none;
    padding:15px 30px;
    border-radius:12px;
    font-size:18px;
    font-weight:600;
    transition:.3s;
}

.btn-buy:hover{
    background:#2D3135;
    color:white;
}

.product-badge{
    display:inline-block;
    background:#C7A97B;
    color:white;
    padding:8px 15px;
    border-radius:20px;
    font-size:13px;
    letter-spacing:1px;
    text-transform:uppercase;
    margin-bottom:20px;
}

@media(max-width:768px){

    .product-title{
        font-size:2rem;
    }

    .product-image{
        height:350px;
    }

    .product-content{
        padding:25px;
    }
}
/* Image principale + zoom plein cadre */
.product-main-wrapper{
    position: relative;
    border-radius:25px;
    overflow:hidden;         /* cache les bords de l'image agrandie */
    cursor: zoom-in;         /* curseur de zoom */
}

.product-main-wrapper img{
    width:100%;
    height:auto;
    display:block;
    transition: transform .8s ease-out,
    transform-origin: center center;
}
