/* ADLV Boutique Solidaire */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:Arial,Helvetica,sans-serif;
background:#f7f8f7;
color:#333;
line-height:1.6;
}

.container{
width:min(1200px,92%);
margin:auto;
}

.header{
background:#fff;
position:sticky;
top:0;
z-index:1000;
box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.navbar{
display:flex;
justify-content:space-between;
align-items:center;
padding:16px 0;
}

nav{
display:flex;
gap:18px;
flex-wrap:wrap;
}

nav a{
text-decoration:none;
font-weight:600;
color:#333;
transition:.3s;
}

nav a:hover,
nav a.active{
color:#2E7D32;
}

.hero{
background:#2E7D32;
color:#fff;
text-align:center;
padding:70px 20px;
}

.hero img{
max-width:100%;
border-radius:14px;
margin-bottom:25px;
}

h1{font-size:2.4rem;margin-bottom:15px;}
h2{margin-bottom:18px;color:#2E7D32;}
h3{margin:12px 0;}

.products{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
gap:25px;
margin:35px 0;
}

.card,
.product-card{
background:#fff;
border-radius:14px;
padding:20px;
box-shadow:0 4px 12px rgba(0,0,0,.08);
}

.product-card img,
.product-image img{
width:100%;
border-radius:10px;
}

.product-details{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
align-items:start;
}

input,
select,
textarea{
width:100%;
padding:12px;
margin:8px 0 18px;
border:1px solid #ccc;
border-radius:8px;
}

.primary-btn,
.secondary-btn,
button{
display:inline-block;
padding:12px 22px;
border-radius:8px;
text-decoration:none;
cursor:pointer;
border:none;
margin:8px 4px;
font-weight:bold;
}

.primary-btn,
button{
background:#2E7D32;
color:#fff;
}

.secondary-btn{
background:#ececec;
color:#333;
}

.primary-btn:hover,
button:hover{
background:#256428;
}

footer{
margin-top:50px;
padding:30px 20px;
background:#222;
color:#fff;
text-align:center;
}

footer a{
color:#fff;
text-decoration:none;
margin:0 6px;
}

ul{
padding-left:22px;
}

section{
padding:40px 0;
}
/* ===== Fix Images ===== */

/* Hero */
.hero img{
    display:block;
    width:100%;
    max-width:1000px;
    height:auto;
    margin:0 auto 25px;
    border-radius:14px;
}

/* Produits (Index + Shop) */
.card img,
.product-card img{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
    border-radius:10px;
}

/* Page Produit */
.product-image{
    display:flex;
    justify-content:center;
    align-items:flex-start;
}

.product-image img{
    width:100%;
    max-width:450px;
    height:auto;
    object-fit:contain;
    display:block;
    border-radius:10px;
}

/* Cartes */
.card{
    overflow:hidden;
}