﻿.cbk_slider-product__wrapper {
    background-color: var(--blanc);
}

.swiper-slide--cyb {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 260px;
    height: 300px !important;
    outline: solid 1px var(--gris_50);
    padding: var(--marg_10_20);
}

.cbk_slider-product-link {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.cbk_famille__products-container .cbk_slider-product-link {
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.cbk_slider-product__title {
    padding-bottom: var(--val_10);
    color: var(--bleu);
    font-size: 16px;
    font-weight: var(--medium);
    text-align: left;
    line-height: 1.3;
    display: flex;
    justify-content: flex-start;
    width: 100%;
    height: 23px;
    overflow: hidden;
}

.cbk_slider-product__img-wrapper {
    width: 100%;
    height: 150px;
    min-height: 150px;
    padding-bottom: var(--val_10);
    border-bottom: 2px solid var(--jaune);
}

    .cbk_slider-product__img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.cbk_slider-product__libelle {
    width: 100%;
    padding-top: var(--val_10);
    text-align: left;
    color: var(--noir);
    font-size: var(--size_p);
    font-weight: var(--medium);
    line-height: 1.2;
    word-break: break-word;
    display: flex;
    justify-content: flex-start !important;
    overflow-y: hidden;
    height: 90px;
}

.cbk_slider-product__price-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    height: 65px;
    padding-top: var(--val_10);
    font-weight: var(--semibold);
}

.cbk_slider-product__original-price-container {
    display: flex;
    align-items: center;
    column-gap: var(--val_20);
    width: 100%;
}

.cbk_slider-product__original-price {
    position: relative;
    color: #aeaeae;
    font-size: var(--size_p15);
    font-weight: var(--semibold);
    overflow: hidden;
}

    .cbk_slider-product__original-price::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: var(--noir);
        transform: rotate(-7deg);
    }

    .cbk_slider-product__original-price sup {
        font-size: var(--size_p);
    }

.cbk_slider-product__price--integer,
.cbk_slider-product__price--euro {
    font-size: var(--size_h3);
}

.cbk_slider-product__price--decimal {
    font-size: var(--size_h3);
}

.cbk_slider-product__cta {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--jaune);
}

    .cbk_slider-product__cta a {
        display: flex;
        width: 100%;
        height: 100%;
        justify-content: center;
        align-items: center;
    }

.cbk_slider-product__cta-icon {
    width: var(--val_20);
    object-fit: contain;
}

.price--red {
    font-size: var(--size_h3);
    color: var(--rouge);
}

.cbk_slider-product__discount-percent {
    background-color: var(--rouge);
    padding: 2px 10px;
    font-weight: var(--semibold);
    font-size: var(--size_p15);
    color: var(--blanc);
}

@media screen and (max-width: 500px) {
    .cbk_slider-product__cta {
        width: var(--val_35);
        height: var(--val_35);
    }
}
