﻿/* nouveau css page famille */

.cbk_famille__wrapper {
    width: 100%;
    margin: 0 auto;
}

.cbk_famille__title {
    font-size: var(--size_h1);
    font-weight: var(--semibold);
    text-align: left;
    padding: 40px 0 10px;
    text-transform: uppercase;
}

.cbk_famille__seo-text--top {
    padding-bottom: var(--val_30);
}

    .cbk_famille__seo-text--top p {
        font-size: var(--size_p);
        font-weight: var(--medium);
        text-align: left;
        line-height: 1.25;
    }

    .cbk_famille__seo-text--top a {
        text-decoration: underline;
    }

    .cbk_famille__seo-text--top span {
        color: var(--noir) !important;
    }

.cbk_famille__container {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: var(--val_30);
}

.cbk_famille__right-block {
    width: 100%;
    max-width: 1220px;
}

.cbk_famille__left-bar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: var(--val_20);
    width: 100%;
    max-width: 350px;
    height: fit-content;
    background: var(--blanc);
    z-index: 1;
}

.left-bar--down {
    top: 127px;
}

.cbk_famille__left-bar--fake {
    width: 100%;
    max-width: 350px;
}

.cbk_famille__promos,
.cbk_famille__top-research {
    border: 1px solid var(--noir);
}

.cbk_famille__top-research-title,
.cbk_famille__promo-title {
    width: 100%;
    padding: var(--val_10);
    font-size: 16px;
    font-weight: var(--semibold);
    color: var(--blanc);
    background-color: var(--noir);
}

.cbk_famille__research-block-container {
    display: flex;
    padding: 10px 20px var(--marg_20_20);
    flex-wrap: wrap;
    align-items: center;
    gap: var(--val_20);
    padding: 10px 20px var(--marg_20_20);
}

.cbk_famille__top-research-item {
    padding: var(--val_10);
    font-size: var(--size_p);
    outline: 1px solid var(--noir);
    transition: all ease-in-out .2s;
}

    .cbk_famille__top-research-item:hover {
        background-color: var(--noir);
        color: var(--blanc);
    }

.cbk_famille__top-research-link {
    display: inline-block;
    width: fit-content;
}

.cbk_famille__category-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: calc(100px / 6);
    width: 100%;
}

.cbk_famille__category-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    row-gap: var(--val_10);
    width: 160px;
    height: 50px;
    padding: var(--marg_10_20);
    font-size: var(--size_p);
    font-weight: var(--semibold);
    outline: 1px solid var(--noir);
    transition: background .3s ease-in-out;
}

    .cbk_famille__category-item:hover {
        background-color: var(--noir);
        color: var(--blanc);
    }

.cbk_famille__category-link {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.cbk_famille__product-wrapper-title {
    position: relative;
    padding: 40px 0;
    font-size: var(--size_h2);
    font-weight: var(--semibold);
    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);
    }

.cbk_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: var(--size_h2);
    font-weight: var(--semibold);
}

.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: var(--noir) !important;
        }


    .cbk_famille__seo-text-top p,
    .cbk_famille__seo-text-bottom p {
        font-size: var(--size_p);
        line-height: 1.25;
        font-weight: var(--medium);
    }

.cbk_famille__seo-image-wrapper {
    width: 35%;
}

.cbk_famille__seo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* réapdation css slider
que pour la page famille */
.cbk_famille__product-list {
    gap: var(--val_15);
}

.swiper-slide--cyb {
    position: relative;
    min-width: 213px;
    max-width: 290px;
    width: calc((100% - 45px) / 4);
    height: 385px !important;
    outline: solid 1px var(--gris_50);
}

.cbk_slider-product__price-wrapper {
    justify-content: space-between !important;
    height: 50px;
}

.fiche-produit__avis-client-presentation__container__note-avis {
    font-size: var(--size_p);
}

.etoile {
    padding-top: 5px;
    display: flex;
    gap: 5px;
}

.cinq_etoiles {
    display: flex;
    width: 75px;
}

.quatre_etoiles {
    display: flex;
    width: 75px;
}

.trois_etoiles {
    display: flex;
    width: 75px;
}

.deux_etoiles {
    display: flex;
    width: 75px;
}

.une_etoile {
    display: flex;
    width: 75px;
}

.cbk_slider-product__title {
    height: var(--val_20);
    font-weight: var(--semibold);
}

.cbk_slider-product__img-wrapper {
    width: calc(100% - 20px);
    height: 180px;
}

.cbk_slider-product__libelle {
    overflow: hidden;
}

.cbk_famille__price-wrapper span {
    font-size: var(--size_h4);
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.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: var(--size_h4);
}

.cbk_slider-product__original-price {
    font-size: var(--size_p);
}

.cbk_famille__price-wrapper span {
    font-size: var(--size_h4);
}

.cbk_slider-product__price--decimal {
    font-size: var(--size_p);
}

.cbk_slider-product__original-price sup {
    font-size: var(--size_p);
}

.cbk_slider-product__original-price::after {
    background-color: var(--cyber-rouge);
}

.price--red {
    color: var(--noir);
}

.cbk_slider-product__cta {
    position: relative;
    z-index: 2;
    width: var(--val_40);
    height: var(--val_40);
}

.cbk_slider-product__cta-icon {
    width: var(--val_25);
    height: auto;
}

.data-toto-block {
    width: 100%;
    margin-top: var(--val_40);
}

    .data-toto-block ins {
        padding-top: var(--val_20);
    }

/* réapdation css promo à gauche
que pour la page famille */
.cbk_famille__promos {
    overflow: hidden;
}

    .cbk_famille__promos .cbk_slider-product-link {
        z-index: 1;
    }

    .cbk_famille__promos .cbk_famille__product-list {
        gap: var(--val_10);
    }

    .cbk_famille__promos .swiper-slide--cyb {
        width: 100%;
        max-width: initial;
        max-height: 150px;
        min-height: initial;
        outline: none;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        padding: var(--marg_10_20);
    }


        .cbk_famille__promos .swiper-slide--cyb::after {
            content: '';
            position: absolute;
            bottom: -3px;
            left: var(--val_15);
            width: 90%;
            height: 2px;
            background-color: var(--cyber-jaune);
        }

    .cbk_famille__promos .cbk_slider-product__title {
        font-size: var(--size_h4);
        color: var(--noir);
        height: 22px;
        padding: 0;
        order: -1;
    }

    .cbk_famille__promos .cbk_slider-product__img-wrapper {
        position: absolute;
        top: 15%;
        right: var(--val_20);
        width: 110px;
        height: 110px;
        border-bottom: none;
        order: 3;
    }

    .cbk_famille__promos .cbk_slider-product__libelle {
        padding-top: 0;
        width: 60%;
        order: 2;
        height: 45px;
    }

    .cbk_famille__promos .cbk_slider-product__price-wrapper {
        width: 55%;
        order: 4;
        height: 60px;
    }

    .cbk_famille__promos .cbk_slider-product__cta {
        display: none;
    }


    .cbk_famille__promos .cbk_slider-product__cta-icon {
        width: var(--val_25);
    }

    .cbk_famille__promos .cbk_slider-product__discount-percent {
        padding: 2px 5px;
        font-size: 16px;
    }

/* réassurance */
.cbk_fiche-produit__reassurance {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 50px;
    width: 100%;
    padding: 40px 0;
    background-color: var(--blanc);
}

.cbk_fiche-produit__reassurance-bloc {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: calc(25% - 40px);
    row-gap: var(--val_25);
}

.cbk_fiche-produit__reassurance-upper-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: var(--val_10);
}

.cbk_fiche-produit__reassurance-icone-wrapper {
    width: 60px;
    height: 50px;
}

.cbk_fiche-produit__reassurance-icone {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cbk_fiche-produit__reassurance-titre {
    font-size: var(--size_p);
    font-weight: var(--semibold);
    line-height: 1.25;
}

.cbk_fiche-produit__reassurance-text {
    display: flex;
    font-size: calc(12px + (14 - 12) * (100vw - 320px) / (2560 - 320));
    font-weight: var(--medium);
    line-height: 1.5;
}

/* texte seo en haut */
.button-toggle-home {
    margin: 10px auto;
}

.only-mobile {
    padding-bottom: var(--val_20);
}


.footer {
    position: relative;
    z-index: 2;
}

@media screen and (max-width: 1920px) {
    .cbk_famille__left-bar--fake,
    .cbk_famille__left-bar {
        max-width: 260px;
    }

    .cbk_famille__promos .cbk_slider-product__title {
        font-size: var(--size_h4);
    }

    .cbk_famille__promos .cbk_slider-product__libelle {
        font-size: var(--size_p);
    }

    .absolute-right {
        margin-left: 290px;
    }

    .cbk_slider-product__original-price {
        font-size: var(--size_p);
    }

    .cbk_famille__promos .cbk_slider-product__img-wrapper {
        width: 67px;
        /*        height: 87px;
*/
    }
}

@media screen and (max-width: 960px) {
    .cbk_famille__wrapper {
        padding: var(--marg_0_20);
    }
}

@media screen and (max-width: 1024px) {
    .cbk_fiche-produit__reassurance-bloc {
        width: 35%;
    }

    .cbk_famille__container {
        flex-direction: column-reverse;
    }

    .cbk_famille__seo {
        flex-direction: column;
    }

    .cbk_famille__seo-text {
        width: 100%;
    }

    .cbk_famille__left-bar,
    .cbk_famille__right-block {
        max-width: 100%;
    }

    .cbk_famille__category-list,
    .cbk_famille__product-list {
        justify-content: center;
    }

    .fake {
        display: none;
    }

    .fixed-element--long,
    .fixed-element {
        position: initial;
    }

    .absolute-right {
        margin-left: 0;
    }
}

.cbk_slider-product__img-wrapper img {
    font-size: var(--size_p);
}

@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 : var(--noir);
        box-shadow: 0px 6px 10px -8px : var(--noir);
    }

        .cbk_famille__seo-text--top.showToggle {
            max-height: 100%;
            box-shadow: none;
        }

    .cbk_fiche-produit__reassurance-text {
        justify-content: center;
    }
}

@media screen and (max-width: 400px) {
    .cbk_famille__promos .cbk_slider-product__img-wrapper {
        width: 100px;
    }

    .cbk_famille__promos .cbk_slider-product__libelle {
        height: 42px;
    }

    .cbk_famille__promos .cbk_slider-product__original-price {
        font-size: var(--size_p);
    }

    .cbk_famille__promos .cbk_slider-product__discount-percent {
        font-size: var(--size_p);
    }
}

body {
    overflow-x: unset;
}

#cbk_page_container {
    overflow: unset;
}
