﻿/* nouveau css page famille */


.cbk_famille__wrapper {
    width: 100%;
    margin: 0 auto;
}

.cbk_famille__title {
    font-size: 40px;
    font-weight: 600;
    text-align: left;
    padding: 40px 0 10px;
    text-transform: uppercase;
}

.cbk_famille__seo-text--top {
    padding-bottom: 30px;
}

    .cbk_famille__seo-text--top p {
        font-size: 12px;
        font-weight: 500;
        text-align: left;
        line-height: 1.25;
    }

    .cbk_famille__seo-text--top a {
        text-decoration: underline;
    }

    .cbk_famille__seo-text--top span {
        color: #000 !important;
    }

.grb_famille__container {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.grb_famille__right-block {
    width: 100%;
    max-width: 1220px;
}

.grb_famille__left-bar {
    position: sticky;
    top: 133px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 300px;
    height: fit-content;
    background: #fff;
    z-index: 1;
}

.left-bar--down {
    top: 127px;
}

.cbk_famille__left-bar--fake {
    width: 100%;
    max-width: 350px;
}

.grb_famille__promos,
.grb_famille__top-research {
    border: 1px solid #000;
    border-radius: 14px 12px 12px 9px;
}

.grb_famille__top-research-title,
.grb_famille__promo-title {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #333;
    border-radius: 12px 10px 12px 9px;
}

.grb_famille__research-block-container {
    display: flex;
    padding: 10px 20px 20px 20px;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding: 10px 20px 20px 20px;
}

.grb_famille__top-research-item {
    padding: 10px;
    font-size: 12px;
    outline: 1px solid #000;
    border-radius: 12px 10px 12px 9px;
    transition: all ease-in-out .2s;
}

    .grb_famille__top-research-item:hover {
        background-color: #000;
        color: #fff;
    }

.grb_famille__top-research-link {
    display: inline-block;
    width: fit-content;
}

.grb_famille__category-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: calc(100px / 6);
    width: 100%;
}

.gb_famille__titre {
    line-height: 25px;
}

.grb_famille__category-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    row-gap: 10px;
    width: 130px;
    height: 100px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    outline: 1px solid #000;
    transition: background .3s ease-in-out;
    border-radius: 10px 5px 10px 5px;
}

    .grb_famille__category-item:hover {
        background-color: #000;
        color: #fff;
    }

.grb_famille__category-link {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.grb_famille__product-wrapper-title {
    position: relative;
    padding: 20px 0;
    font-size: 32px;
    font-weight: 600;
    text-align: left;
}

/*    .cbk_famille__product-wrapper-title::after {
        content: '';
        position: absolute;
        bottom: 33px;
        left: 0;
        width: 83px;
        height: 2px;
        background-color: var(--cyber-jaune);
    }
*/
.grb_famille__product-list {
    display: flex;
    flex-wrap: wrap;
}

.cbk_famille__product-item {
    max-width: 290px;
}

.cbk_famille__seo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cbk_famille__seo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 65%;
}

.cbk_famille__seo-title {
    padding: 40px 0;
    font-size: 32px;
    font-weight: 600;
}

.cbk_famille__seo-text-top,
.cbk_famille__seo-text-bottom {
    text-align: left;
}

    .cbk_famille__seo-text-top a,
    .cbk_famille__seo-text-bottom a {
        text-decoration: underline;
    }

        .cbk_famille__seo-text-top a span,
        .cbk_famille__seo-text-bottom a span {
            color: #000 !important;
        }


    .cbk_famille__seo-text-top p,
    .cbk_famille__seo-text-bottom p {
        font-size: 12px;
        line-height: 1.25;
        font-weight: 500;
    }

.cbk_famille__seo-image-wrapper {
    width: 35%;
}

.cbk_famille__seo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* début de vignette produit */
.grb_family__product-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.grb_family__product-container {
    position: relative;
    width: 100%;
    max-width: 220px;
    padding: 10px;
    border: 1px solid #000;
    border-radius: 14px 12px 12px 9px;
    overflow: hidden;
    cursor: pointer;
}

.grb_family__product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    row-gap: 10px;
    width: 100%;
}

.grb_family__product-card {
    display: flex;
    flex-direction: column;
}

.grb_family__product-image {
    width: 100%;
    height: 180px;
}

    .grb_family__product-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.grb_family__product-title,
.grb_family__product-price {
    font-size: 18px;
}

.grb_family__product-title {
    position: relative;
    padding-bottom: 10px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

    .grb_family__product-title:after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 150px;
        height: 2px;
        background-color: var(--rouge);
        margin: 10px 0;
    }

.grb_family__product-label {
    height: 80px;
    display: flex;
    flex-direction: column;
}

.grb_family__product-rating {
    display: flex;
    row-gap: 10px;
}

    .grb_family__product-rating img {
        width: 15px;
        height: 15px;
        object-fit: contain;
    }

    .grb_family__product-rating .liste_produits__moyenne_avis {
        display: none;
    }

.grb_family__product-description {
    font-size: 14px;
    word-break: break-all;
    height: 35px;
    overflow: hidden;
}

.grb_family__product-title,
.grb_family__product-description,
.grb_family__product-price {
    font-weight: 500;
}

.grb_family__product-cta {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 35px;
    background-color: var(--vert);
    border-radius: 13px 6px 15px 13px;
}

    .grb_family__product-cta img {
        width: 30px;
        height: 25px;
        filter: invert(99%) sepia(4%) saturate(0%) hue-rotate(222deg) brightness(114%) contrast(100%);
    }

.grb_family__cta-link {
    position: relative;
    display: block;
    width: fit-content;
    z-index: 1;
}
/* fin de vignette produit */
/* réapdation css slider
que pour la page famille */
.grb_famille__product-list {
    gap: 10px;
}

.swiper-slide--cyb {
    display: flex;
    flex-direction: column;
    padding: 15px;
    position: relative;
    min-width: 213px;
    max-width: 290px;
    width: calc((100% - 45px) / 4);
    outline: solid 1px black;
    border-radius: 10px;
    overflow: hidden;
}

.grb_slider-product__price-wrapper {
    display: flex;
    justify-content: space-between !important;
    height: 50px;
}

    .grb_slider-product__price-wrapper sup {
        margin-bottom: 10px;
        /*
        vertical-align: super;
            ne fonctionne pas?
        */
    }

.grb_family__product-title {
    font-weight: 700;
    height: 28px;
}

.grb_slider_product_barre {
    display: block;
    height: 2px;
    width: 100px;
    content: '';
    background: #EE2D24;
    margin: 20px 0;
}

.grb_slider-product__img-wrapper {
    width: calc(100% - 20px);
    height: 180px;
}

.grb_family__product-label {
    height: 80px;
    overflow: hidden;
    font-size: 14px;
    line-height: 20px;
}

.grb_famille__price-wrapper span {
    font-size: 22px;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
}

.cbk_slider-product__original-price-container {
    align-items: flex-end;
    justify-content: flex-end !important;
    flex-direction: row-reverse;
}

.cbk_slider-product__price--integer, .cbk_slider-product__price--euro, .price--red {
    font-size: 22px;
}

.cbk_slider-product__original-price {
    font-size: 15px;
}

.grb_famille__price-wrapper span {
    font-size: 22px;
}

.cbk_slider-product__price--decimal {
    font-size: 13px;
}

.cbk_slider-product__original-price sup {
    font-size: 12px;
}

.cbk_slider-product__original-price::after {
    background-color: var(--cyber-rouge);
}

.price--red {
    color: #000;
}

.grb_slider-product__cta {
    position: relative;
    z-index: 2;
    width: 40px;
    height: 40px;
    background-color: #20a75f;
    border-radius: 13px 6px 16px 13px;
}

.grb_slider-product__cta-icon {
    height: 100%;
    scale: .8;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(360deg) brightness(102%) contrast(102%);
}

.grb_famille__product-wrapper-title:after {
    display: block;
    height: 2px;
    width: 200px;
    content: '';
    background: #EE2D24;
    margin: 10px 0;
}

.grb_famille_product_title_h2 {
    padding-left: 30px;
}

    .grb_famille_product_title_h2::after {
        display: block;
        position: absolute;
        top: 20px;
        left: 0;
        height: 15px;
        width: 15px;
        content: '';
        background: #EE2D24;
        margin: 10px 0;
        border-radius: 50px 50px 50px 25px;
    }

.data-toto-block {
    width: 100%;
    margin-top: 40px;
}

    .data-toto-block ins {
        padding-top: 20px;
    }

/* réapdation css promo à gauche
que pour la page famille */
.grb_famille__promos {
    overflow: hidden;
    border-radius: 14px 12px 12px 9px;
}

    .grb_famille__promos .cbk_slider-product-link {
        z-index: 1;
    }

    .grb_famille__promos .grb_famille__product-list {
        gap: 10px;
    }

    .grb_famille__promos .swiper-slide--cyb {
        width: 100%;
        max-width: initial;
        outline: none;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        padding: 10px 20px;
    }
/*    .swiper-slide--cyb::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 15px;
            width: 90%;
            height: 2px;
            background-color: var(--cyber-jaune);
        }*/
.basket_position {
    order: 1;
    width: 100%;
    height: 20px;
    background-color: #20a75f;
    border-radius: 5px 5px 10px 5px
}

.grb_famille__promos .grb_slider-product__title {
    font-size: 22px;
    color: #000;
    max-height: unset;
    padding: 0;
    order: -1;
}

.grb_famille__promos .grb_slider-product__img-wrapper {
    position: absolute;
    bottom: 0;
    right: 20px;
    width: 110px;
    height: 110px;
    border-bottom: none;
    order: 3;
}

.grb_famille__promos .grb_slider-product__libelle {
    padding-top: 0;
    width: 60%;
    order: 2;
    height: 45px;
}

.grb_famille__promos .grb_slider-product__price-wrapper {
    width: 55%;
    order: 4;
    height: 60px;
}

.grb_famille__promos .grb_slider-product__cta {
    display: none;
}


.grb_famille__promos .grb_slider-product__cta-icon {
    width: 25px;
}

.grb_famille__promos .cbk_slider-product__discount-percent {
    padding: 2px 5px;
    font-size: 16px;
}
/* ================= style de réassurance ====================*/



.grb_fiche-produit__reassurance {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 50px;
    width: 100%;
    max-width: 1600px;
    margin-top: 30px;
    padding: 25px;
    background-color: #fff;
}



.grb_fiche-produit__reassurance-bloc {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: calc(25% - 40px);
    row-gap: 15px;
}



.grb_fiche-produit__reassurance-upper-block {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}



.grb_fiche-produit__reassurance-icone-wrapper {
    width: 60px;
    height: 50px;
}



.grb_fiche-produit__reassurance-icone {
    width: 100%;
    height: 100%;
    object-fit: contain;
}



.grb_fiche-produit__reassurance-titre {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}



.grb_fiche-produit__reassurance-text {
    display: flex;
    justify-content: center;
    font-size: calc(12px + (16 - 12) * (100vw - 320px) / (2560 - 320));
    font-weight: 500;
    line-height: 1.5;
}



/* ===== responsive réassurance ===== */
@media screen and (max-width: 1024px) {
    .grb_fiche-produit__reassurance-bloc {
        width: 35%;
    }
}

@media screen and (min-width: 1024px) {
    .cbk_famille__seo-title {
        margin-left: 45%;
    }
}

@media screen and (min-width: 1301px) {
    .cbk_famille__seo-title {
        margin-left: 35%;
    }
}

@media screen and (max-width: 768px) {
    .grb_fiche-produit__reassurance-bloc {
        width: 100%;
    }
}

/* texte seo en haut */
.button-toggle-home {
    margin: 10px auto;
}

/*.only-mobile {
    display: none;o
}*/
.button-toggle-home {
    text-align: center;
    padding-top: 10px;
    text-indent: -5000px;
    background: url(https://www.grosbill.com/images/arrow-toogle.png) no-repeat center;
    height: 35px;
    width: 35px;
    cursor: pointer;
    position: relative;
}

}

.footer {
    position: relative;
    z-index: 2;
    padding-top: 10px;
}

.pourcent {
    border-radius: 14px 12px 12px 9px;
    right: 40px;
    top: 40px;
}

.grb_divImgProduit_promos {
    overflow: hidden;
}

.grb_famille__product-list--column a, .grb_slider-product-link {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.cbk_slider-product-link {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.grb_slider-product__img-wrapper {
    width: 100%;
    object-fit: cover;
    order: 0;
    display: block;
}

@media screen and (max-width: 1920px) {
    .grb_famille__promos .grb_slider-product__title {
        font-size: 18px;
    }

    .grb_famille__promos .grb_slider-product__libelle {
        font-size: 12px;
    }

    .absolute-right {
        margin-left: 290px;
    }

    .cbk_slider-product__original-price {
        font-size: 12px;
    }

    .grb_famille__promos .grb_slider-product__img-wrapper {
        width: 87px;
        height: 87px;
    }
}

@media screen and (max-width: 960px) {
    .cbk_famille__wrapper {
        padding: 0 20px;
    }
}

@media screen and (max-width: 1024px) {
    .cbk_fiche-produit__reassurance-bloc {
        width: 35%;
    }

    .grb_famille__category-item {
        width: 130px;
    }

    .grb_famille__container {
        flex-direction: column-reverse;
    }

    .cbk_famille__seo {
        flex-direction: column;
    }

    .cbk_famille__seo-text {
        width: 100%;
    }

    .grb_famille__left-bar,
    .grb_famille__right-block {
        max-width: 100%;
    }

    .grb_famille__category-list,
    .grb_famille__product-list {
        justify-content: center;
    }

    .fake {
        display: none;
    }

    .fixed-element--long,
    .fixed-element {
        position: initial;
    }

    .absolute-right {
        margin-left: 0;
    }
}

.grb_slider-product__img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    font-size: 12px;
}

@media screen and (max-width: 768px) {
    .cbk_fiche-produit__reassurance-bloc {
        width: 100%;
    }

    .cbk_famille__seo-text--top {
        max-height: 50px;
        overflow-y: hidden;
        -webkit-box-shadow: 0px 6px 10px -8px #000000;
        box-shadow: 0px 6px 10px -8px #000000;
    }

        .cbk_famille__seo-text--top.showToggle {
            max-height: 100%;
            box-shadow: none;
        }

    .cbk_fiche-produit__reassurance-text {
        justify-content: center;
    }

    .txt-toggle-cat-2 p {
        display: none
    }

    .showToggle > p {
        display: block;
    }
}

@media screen and (max-width: 400px) {
    .grb_famille__promos .grb_slider-product__img-wrapper {
        width: 100px;
    }

    .grb_famille__promos .grb_slider-product__libelle {
        height: 70px;
    }

    .grb_famille__promos .cbk_slider-product__original-price {
        font-size: 12px;
    }

    .grb_famille__promos .cbk_slider-product__discount-percent {
        font-size: 14px;
    }
}

body {
    overflow-x: unset;
}

#cbk_page_container {
    overflow: unset;
}

.swiper-slide--column {
    position: relative;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    width: 100%;
    padding: 0 10px 20px 10px;
    outline: none;
}

    .swiper-slide--column::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 10px;
        width: calc(100% - 20px);
        height: 2px;
        background-color: #3dba7d;
    }

    .swiper-slide--column:last-child::after {
        display: none;
    }

    .swiper-slide--column .grb_slider_cta {
        display: none;
    }

    .swiper-slide--column .all_libelle,
    .swiper-slide--column .grb_barre_pourcent,
    .swiper-slide--column .grb_slider_prix {
        width: 60%;
        height: initial;
        word-break: break-word;
        align-self: self-end;
    }

    .swiper-slide--column .libelle_promos {
        height: 30px;
        font-size: 12px;
        font-weight: 500;
        overflow-y: hidden;
        line-height: 1.2;
    }

    .swiper-slide--column .libelle_title_promos {
        font-weight: 700;
        font-size: 18px;
    }

    .swiper-slide--column .grb_barre_pourcent {
        flex-direction: row-reverse;
        column-gap: 20px;
        justify-content: flex-end;
    }

    .swiper-slide--column .grb_slider_prix span {
        font-size: 24px;
        font-weight: 600;
    }

.grb_divImgProduit {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    width: calc(40% - 20px);
}

    .grb_divImgProduit img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.grb_slider_container a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.grb_slider_prix, all_libelle {
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.all_libelle {
    width: 100%;
    text-align: left;
    grid-area: 1 / 2 / 2 / 4;
}

.pourcent {
    border-radius: 14px 12px 12px 5px;
    background: #EE3C34;
    padding: 5px;
    font-weight: 500;
    font-size: 16px;
    color: white;
}

.grb_slider_title::after {
    width: 150px;
    height: 2px;
    background-color: red;
    content: "";
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
}

.grb_slider_cta a {
    width: 30px;
    height: 30px;
}

.barre {
    font-weight: normal;
    font-size: 14px;
}

.libelle {
    color: black !important;
}

.grb_slider-cta-icon {
    height: 100%;
    translate: 25%;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(2%) hue-rotate(323deg) brightness(103%) contrast(101%);
}

.grb_slider_cta {
    background: #3DBA7D;
    width: 45px;
    height: 43px;
    border-radius: 13px 6px 15px 13px;
}

.grb_slider_a {
    position: relative !important;
}

.barre::after {
    width: 50px;
    display: block;
    transform: rotate(-15deg) translate(-50%);
    content: "";
    height: 2px;
    background: #EE2D24;
    text-align: center;
    position: absolute;
    bottom: 19%;
    left: 15%;
}

.grb_fch-prod__title-part {
    font-size: 40px;
}

.grb_fch-prod__item_top_vente {
    border: 1px solid black !important;
    max-height: 450px;
    max-width: 290px;
}

.fiche_produit_images_produits_associes {
    width: 100% !important;
}

.grb_fch-prod__title-rubrique::after {
    background: #EE2D24;
}

.grb_fch-prod__item_top_vente a {
    width: 100%;
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.grb_slider_prix span {
    font-size: 18px;
}

.grb_fch-prod__item_top_vente {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.grb_slider_cta_promos {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 30px;
    border-radius: 10px 5px 10px 10px;
    display: none;
}

.grb_slider_prix_promos {
    display: flex;
    flex-direction: column;
    font-weight: 700;
    grid-area: 3 / 1 / 4 / 3;
}

    .grb_slider_prix_promos span {
        padding-bottom: 5px;
        width: 50%;
        align-self: flex-end;
    }

.grb_grid_promos a {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.pourcent_promos {
    top: 90px;
}

.barre_promos::after {
    top: 0;
    left: 50%;
}

.swiper-slide--column .barre_promos {
    font-weight: 600;
    position: relative;
    color: #6c6b6b;
}

.barre_promos sup {
    vertical-align: super;
}

.grb_divImgProduit_promos {
    grid-area: 1 / 1 / 3 / 2;
}

.all_libelle {
    height: 70px;
}

.grb_barre_pourcent {
    display: flex;
    width: 100%;
    gap: 30px;
    height: 30px;
    align-items: center;
    grid-area: 2 / 2 / 3 / 3;
}

.grb_slider-cta-icon {
    width: 25px;
    translate: 415%;
}

.grb_slider_cta a {
    width: 100%;
}

.libelle_promos {
    font-size: 14px;
}

.libelle_title_promos {
    padding-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: bold;
}

    .libelle_title_promos b {
        font-weight: normal;
    }
/*        .data-toto-block{
            width: 990px;
            height: 210px;
        }*/
.grb_promos_barre {
    width: 90%;
    height: 2px;
    left: 5%;
    background: #3DBA7D;
    position: relative;
}

    .grb_promos_barre:last-of-type {
        display: none;
    }

@media screen and (max-width: 1024px) {
    .grb_promos_barre {
        left: 0%;
    }
}

@media screen and (min-width: 481px) and (max-width: 1024px) {
    .all_libelle {
        height: auto;
    }

    .pourcent_promos {
        position: relative;
        top: 0;
        right: 0;
    }

    .grb_divImgProduit_promos img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

@media screen and (max-width: 480px) {
    .grb_family__product-list {
        justify-content: center;
    }
}
