/* =========================================
   Style-Boutique.css — version compacte/ordonnée
   ========================================= */

:root {
    --noir: #111;
    --bord: #1b1b1b;
    --fond: #ffffff;
    --fond-page: #fafafa;
    --gris: #f4f4f4;
    --gris2: #e8e8e8;
    --accent: #7baad1;
    /* bleu du site */
    --rayon: 16px;
    --ombre: 0 8px 24px rgba(0, 0, 0, .06);
}

/* ================= Base ================== */

.Corps-Boutique {
    width: 100%;
}

/* ============== Produits ================= */

.produits {
    background-image: url(../Image/Fond/Fond-Accueil-2.png);
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: stretch;
    /* mêmes hauteurs sur une ligne */
    justify-content: space-around;
}

/* Carte produit (2 colonnes équilibrées sur desktop) */
.produit {
    width: 25vw;
    display: flex;
    flex-direction: column;
    align-items: center;

    background: var(--fond);
    border: 1px solid var(--gris2);
    padding: 14px;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.produit:hover {
    transform: translateY(-2px);
    border-color: #ddd;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
}

/* Visuel principal (3:4) */
.visuel {
    aspect-ratio: 3/4;
    max-height: 360px;
    /* limite la hauteur globale */
    background: #fff;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.visuel img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

/* Miniatures (pour plusieurs vues) */
.miniatures {
    display: flex;
    gap: 6px;
    margin: 8px 0 0;
}

.miniatures button {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    outline: 2px solid transparent;
    transition: outline-color .15s ease, transform .12s ease;
}

.miniatures button:hover {
    transform: translateY(-1px)
}

.miniatures button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.miniatures button.active,
.miniatures button:focus-visible {
    outline-color: var(--accent)
}

/* ============== Infos produit ============ */

/* Empile : titre -> prix -> (tailles) */
.infos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
}

/* compat pour .infos--stack si présent dans le HTML */
.infos--stack .titre {
    margin: 0
}

.infos--stack .prix {
    margin: 0
}

.titre {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    margin: 0;
}

.prix {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
    color: var(--accent);
}

/* Sous-titre "liste des tailles" */
.sous-titre {
    font-family: 'Montserrat', sans-serif;
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .02em;
    margin: 6px 0 2px;
}

/* Puces de tailles */
.tailles {
    font-family: 'Open Sans', sans-serif;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0 0 6px;
    padding: 0;
}

.tailles li {
    padding: 4px 8px;
    border: 1px solid var(--gris2);
    border-radius: 999px;
    background: #fff;
    font-size: .9rem;
}

/* Fiche technique (raquette) */
.fiche-technique {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
    font-size: .95rem;
}

.fiche-technique th,
.fiche-technique td {
    padding: 6px 0;
    vertical-align: top;
    border-bottom: 1px solid #eee;
}

.fiche-technique th {
    font-family: 'Montserrat', sans-serif;
    width: 36%;
    font-weight: 600;
    color: #555;
    padding-right: 12px;
    text-align: left;
}

.fiche-technique td {
    font-family: 'Open Sans', sans-serif;
}

.fiche-technique tr:last-child th,
.fiche-technique tr:last-child td {
    border-bottom: none;
}

/* Descriptif */
.meta {
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    margin: .35rem 0 0;
    color: #666;
    font-size: .9rem;
}

/* ============= Paiement ================== */

/* Bloc paiement centré, 80% largeur, 10% marges */
.paiement {
    width: 80%;
    margin: 24px 10%;
    box-sizing: border-box;
    padding: 12px 16px;
    background: linear-gradient(0deg, var(--gris), var(--gris));
    border: 1px solid var(--gris2);
    font-size: .95rem;
}

.paiement h4 {
    margin: 10px 0;
    font-family: 'Montserrat', system-ui, sans-serif;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: 1rem;
}

.paiement ul {
    font-family: 'Open Sans', sans-serif;
    margin: 0 6px 6px 18px;
    padding: 0
}

.paiement .contact {
    font-family: 'Open Sans', sans-serif;
    margin: .25rem 0 0
}

.paiement a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.paiement a:hover {
    border-bottom-color: var(--accent)
}

/* ============== Responsive =============== */

@media (max-width:880px) {
    .produit {
        flex: 1 1 100%;
        max-width: 100%;
        /* 1 colonne */
    }
}

@media (max-width:480px) {
    .visuel {
        max-height: 300px
    }

    .miniatures button {
        width: 44px;
        height: 44px
    }

    .tailles li {
        padding: 3px 7px;
        font-size: .88rem
    }

    .fiche-technique {
        font-size: .92rem
    }

    .titre,
    .prix {
        font-size: .98rem
    }

    .meta {
        font-size: .88rem
    }
}