/* =========================================================
   BLOCK REASSURANCE
   ========================================================= */

.blockreassurance {
    width: 100%;
    padding-top: 40px;
    padding-bottom: 40px;
    text-align: center;
}


/* =========================================================
   CONTAINER SWIPER / DESKTOP
   ========================================================= */

.blockreassurance__swiper {
    width: 100%;
    overflow: visible;
}


/* =========================================================
   DESKTOP
   5 COLONNES À PARTIR DE 1200 PX
   ========================================================= */


.blockreassurance__slide {
    width: auto;
    min-width: 0;
    height: auto;
}


/* =========================================================
   ANCIEN STYLE REASS ITEM
   ========================================================= */

.blockreassurance .reass-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
}


/* =========================================================
   CARTE DE REASSURANCE
   ========================================================= */

.blockreassurance-item {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    height: 100%;

    padding: 24px 12px;
    margin-bottom: 20px;

    background-color: #fff;
    border-radius: 10px;

    box-sizing: border-box;
}


/* =========================================================
   TITRE
   ========================================================= */

.blockreassurance-item .block-title {
    font-family: "Oswald", "Arial Narrow", Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.blockreassurance-item p {
    margin-bottom: 5px;
    font-size: 15px;
}

.blockreassurance-item .txt-reassurance {
    margin-top: 8px;
}


/* =========================================================
   ICONE
   ========================================================= */

.blockreassurance .block-icon {
    margin-bottom: 10px;
}

.blockreassurance .block-icon,
.blockreassurance .block-icon img,
.blockreassurance .block-icon svg {
    height: 36px;
}

.blockreassurance .block-icon img,
.blockreassurance .block-icon svg {
    display: block;
    width: auto;
    max-width: 100%;
}


/* =========================================================
   TABLETTE + MOBILE
   SWIPER ACTIF SOUS 1200 PX
   ========================================================= */


   .blockreassurance__wrapper {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    }

@media (min-width: 1200px) {

   .blockreassurance__wrapper {
    display: grid!important;
    }


}
@media (max-width: 1199.98px) {

    .blockreassurance {
        overflow: hidden;
        text-align: left;
    }

    /*
     * Le container Swiper prend toute la largeur.
     */
    .blockreassurance__swiper {
        width: 100%;
        overflow: visible;
    }

    /*
     * Swiper attend un wrapper en flex.
     */
    .blockreassurance__wrapper {
        display: flex;
        grid-template-columns: none;
        gap: 0;
    }

    /*
     * IMPORTANT :
     * ne pas définir width ici.
     * Swiper ajoute automatiquement une largeur inline.
     */
    .blockreassurance__slide {
        flex-shrink: 0;

        min-width: 0;
        height: auto;

        display: flex;
    }

    /*
     * La carte occupe toute la hauteur de la slide.
     */
    .blockreassurance-item {
        display: flex;
        width: 100%;
        height: 100%;
        margin-bottom: 0;
        padding: 10px 10px;
        text-align: center;
    }


    /* =====================================================
       ICONE MOBILE / TABLETTE
       ===================================================== */

    .blockreassurance .block-icon {
        display: inline-block;
        /* float: left; */
        width: 35px;
        height: 35px;
        margin: 0;
    }

    .blockreassurance .block-icon img,
    .blockreassurance .block-icon svg {
        width: 35px;
        height: 35px;
        object-fit: contain;
    }


    /* =====================================================
       TITRE MOBILE / TABLETTE
       ===================================================== */

    .blockreassurance .block-title {
        display: inline-block;
        max-width: calc(100% - 50px);
        min-height: 30px;
        line-height: 1.2;
        padding-top: 2px;
        vertical-align: top;
    }


    /* =====================================================
       DESCRIPTION MOBILE / TABLETTE
       ===================================================== */

    .blockreassurance .txt-reassurance {
        clear: both;
        margin-top: 2px;
        margin-bottom: 2px;
    }
}


/* =========================================================
   PETITS SMARTPHONES
   ========================================================= */

@media (max-width: 575.98px) {

    .blockreassurance {
        padding-top: 50px;
        padding-bottom: 40px;
    }

    .blockreassurance-item .block-title {
        font-size: 1rem!important;
        min-height: 24px;
    }

    .blockreassurance-item {
        padding: 18px 14px;
    }

    .blockreassurance-item .block-title {
        font-size: 1.1rem;
    }

    .blockreassurance-item p {
        font-size: 14px;
    }
}


/* =========================================================
   BLOCK REASSURANCE PRODUIT
   ========================================================= */

.blockreassurance_product {
    margin-top: 25px;
}

.blockreassurance_product .item-product {
    display: inline-block;
    float: left;

    width: 35px;
    height: 35px;

    margin-right: 5px;
    padding-top: 5px;
}

.blockreassurance_product .item-product img,
.blockreassurance_product .item-product svg {
    width: 35px;
    height: 35px;
}

.blockreassurance_product p.block-title {
    line-height: 40px;
}


/* =========================================================
   CHECKOUT
   ========================================================= */

body#checkout .container-blockreassurance {
    min-height: auto;
}