/*reduces header image on home page*/
.custom-header-image {
    padding: 0px;
    height: 600px !important;
}
/*Hide footer credits but keep dark footer #14690867-hc*/
.site-info .wrap {
  visibility: hidden;
}

.site-info{
  line-height: 0;
}
/* Make site wider MRFX-HC-14691315 largeur du site */
.wrap {
  max-width:1500px
}
/* Make primary area wider MRFX-HC-14691315 pour augmenter la zone de texte du site web (sauf page acceuil) */
@media screen and (min-width: 60em){
  body:not(.lodestar-front-page) #primary {
    max-width:70%;
    width:100%;
  }
}
/*adjust product heights | HC - 14691315 pour aligner les boutons ajouter au panier en bas */
.wf-active ul.products li.product .woocommerce-loop-product__title {
    min-height: 100px;
}
/* hide woo dropdown ordering | HC - 14691315 pour enlever la requete de tri */
.woocommerce-ordering {
    display: none;
}
/* hide related products | HC - 14691315 pour enlever les produits apparentés en bas de page produit */
.related.products {
  display: none;
}
.wp-block-cover p.has-very-light-gray-background-color {
    background: rgba(238,238,238,.7);
}
/* color and size of Woo Products - KSM Zen-10267521 - police tarifs boutqiue */
p.price {
    color: #2E4567;
  font-size: 42px;
  font-weight: 700; 
}
/* ==========================================================
   GALERIE PRODUIT WOOCOMMERCE

   Grande image : 430 x 430 px maximum
   Miniatures : 100 x 100 px
   Miniatures : 4 colonnes à droite
   Grande image et miniatures alignées en haut
   Informations produit sous la galerie
   ========================================================== */

@media (min-width: 900px) {

    /* ======================================================
       CONTENEUR COMPLET DE LA GALERIE
       ====================================================== */

    .single-product .woocommerce-product-gallery {
        width: 870px !important;
        max-width: 870px !important;
        height: 430px !important;

        position: relative !important;
        box-sizing: border-box !important;

        margin: 0 0 30px 0 !important;
        padding: 0 !important;

        float: none !important;
    }


    /* ======================================================
       GRANDE IMAGE
       Zone fixe de 430 x 430 px
       ====================================================== */

    .single-product .flex-viewport {
        width: 430px !important;
        height: 430px !important;

        margin: 0 !important;
        padding: 0 !important;
    }


    /* Zone identique pour toutes les grandes images */

    .single-product .woocommerce-product-gallery__image {
        width: 430px !important;
        height: 430px !important;

        display: flex !important;

        /* ALIGNEMENT EN HAUT */
        align-items: flex-start !important;

        justify-content: center !important;

        margin: 0 !important;
        padding: 0 !important;
    }


    /* ======================================================
       GRANDE PHOTO
       Conserve son format original
       ====================================================== */

    .single-product .woocommerce-product-gallery__image img {
        width: auto !important;
        height: auto !important;

        max-width: 430px !important;
        max-height: 430px !important;

        object-fit: contain !important;

        margin: 0 auto !important;
        padding: 0 !important;

        display: block !important;
    }


    /* ======================================================
       MINIATURES À DROITE
       Alignées en haut avec la grande image
       ====================================================== */

    .single-product .flex-control-nav.flex-control-thumbs {
        position: absolute !important;

        /* ALIGNEMENT EN HAUT */
        top: 0 !important;

        /* 10px après la grande image */
        left: 440px !important;

        right: auto !important;

        width: 430px !important;
        height: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        display: grid !important;

        /* 4 miniatures par ligne */
        grid-template-columns: repeat(4, 100px) !important;

        /* Chaque ligne fait 100px */
        grid-auto-rows: 100px !important;

        /* 10px entre chaque miniature */
        column-gap: 10px !important;
        row-gap: 10px !important;

        /* Remplissage de gauche à droite */
        justify-content: start !important;
        align-content: start !important;

        list-style: none !important;

        /* Annule les anciens réglages de centrage */
        transform: none !important;
    }


    /* ======================================================
       CHAQUE CASE DE MINIATURE
       ====================================================== */

    .single-product .flex-control-nav.flex-control-thumbs li {
        width: 100px !important;
        height: 100px !important;

        margin: 0 !important;
        padding: 0 !important;

        float: none !important;
        position: static !important;

        display: block !important;
    }


    /* ======================================================
       IMAGE DE CHAQUE MINIATURE
       ====================================================== */

    .single-product .flex-control-nav.flex-control-thumbs li img {
        width: 100px !important;
        height: 100px !important;

        object-fit: cover !important;

        display: block !important;

        margin: 0 !important;
        padding: 0 !important;

        max-width: none !important;
    }


    /* ======================================================
       H1 + PRIX + STOCK + AJOUTER AU PANIER
       restent sous toute la galerie
       ====================================================== */

    .single-product .summary.entry-summary {
        clear: both !important;
        float: none !important;

        width: 100% !important;

        margin-top: 0 !important;
    }

}