:root {
    --rose: #e8a0bf;
    --rose-fonce: #c76b91;
    --creme: #fdf6f0;
    --texte: #3a2e33;
    --gris: #8a7d82;
    --ombre: 0 4px 14px rgba(0,0,0,.08);
}

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

body {
    font-family: "Segoe UI", system-ui, sans-serif;
    background: var(--creme);
    color: var(--texte);
    line-height: 1.6;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* En-tête */
.site-header {
    background: #fff;
    box-shadow: var(--ombre);
    position: sticky; top: 0; z-index: 10;
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px;
}
.logo { font-size: 1.5rem; font-weight: 700; text-decoration: none; color: var(--texte); }
.logo span { color: var(--rose-fonce); }
.nav a { margin-left: 24px; text-decoration: none; color: var(--texte); font-weight: 500; }
.nav a:hover { color: var(--rose-fonce); }
.panier-lien { position: relative; }
.badge {
    background: var(--rose-fonce); color: #fff; border-radius: 50%;
    font-size: .75rem; padding: 2px 7px; margin-left: 4px;
}

/* Hero */
.hero { text-align: center; padding: 50px 20px 30px; }
.hero h1 { font-size: 2.2rem; margin-bottom: 10px; color: var(--rose-fonce); }
.hero p { color: var(--gris); font-size: 1.1rem; }

/* Grille produits */
.grille-produits {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 24px;
    padding: 20px 0 50px;
}
.carte {
    background: #fff; border-radius: 14px; overflow: hidden;
    box-shadow: var(--ombre); transition: transform .2s;
}
.carte:hover { transform: translateY(-4px); }
.carte img { width: 100%; height: 220px; object-fit: cover; display: block; }
.carte-corps { padding: 16px; }
.carte-corps h2 { font-size: 1.1rem; margin-bottom: 8px; }
.carte-corps h2 a { text-decoration: none; color: var(--texte); }
.prix { color: var(--rose-fonce); font-weight: 700; font-size: 1.15rem; margin-bottom: 12px; }

/* Boutons */
.btn {
    display: inline-block; background: var(--rose-fonce); color: #fff;
    border: none; border-radius: 8px; padding: 10px 18px;
    font-size: .95rem; cursor: pointer; text-decoration: none;
    transition: background .2s;
}
.btn:hover { background: var(--rose); }
.btn-grand { padding: 14px 28px; font-size: 1.05rem; }
.epuise { color: var(--gris); font-style: italic; }

/* Détail produit */
.retour { display: inline-block; margin: 20px 0; color: var(--rose-fonce); text-decoration: none; }
.produit-detail {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
    align-items: start; padding-bottom: 50px;
}
.produit-image img { width: 100%; border-radius: 14px; box-shadow: var(--ombre); }
.produit-infos h1 { font-size: 1.8rem; margin-bottom: 12px; }
.produit-infos .description { margin: 16px 0; color: var(--gris); }
.stock { color: green; margin-bottom: 16px; }

/* Panier */
.tableau-panier { width: 100%; border-collapse: collapse; margin: 20px 0; background: #fff; box-shadow: var(--ombre); border-radius: 10px; overflow: hidden; }
.tableau-panier th, .tableau-panier td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #f0e6ea; }
.tableau-panier th { background: var(--rose); color: #fff; }
.btn-retirer { background: none; border: 1px solid var(--rose-fonce); color: var(--rose-fonce); border-radius: 6px; padding: 6px 12px; cursor: pointer; }
.btn-retirer:hover { background: var(--rose-fonce); color: #fff; }

/* Formulaire commande */
.form-commande { display: flex; flex-direction: column; gap: 16px; max-width: 480px; margin-top: 20px; }
.form-commande label { display: flex; flex-direction: column; font-weight: 500; gap: 6px; }
.form-commande input, .form-commande textarea {
    padding: 10px; border: 1px solid #e0d3d9; border-radius: 8px; font-family: inherit; font-size: 1rem;
}
.message-succes { background: #e6f7ec; color: #1c7a3f; padding: 16px; border-radius: 10px; margin-bottom: 16px; }

/* Pied de page */
.site-footer { background: #fff; border-top: 1px solid #f0e6ea; padding: 30px 0; margin-top: 40px; text-align: center; color: var(--gris); }
.site-footer .small { font-size: .85rem; margin-top: 6px; }

/* Responsive */
@media (max-width: 700px) {
    .produit-detail { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.7rem; }
.message-erreur { background: #fdecec; color: #b32d2d; padding: 16px; border-radius: 10px; margin-bottom: 16px; }
}
