﻿.cbk_pcgamer-list__top-gamer {
    position: relative;
    background-color: #EDEDED;
    background-size: cover;
    cursor: pointer;
    border-radius: 18px;
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.cbk_pcgamer-list__top-gamer-special {
    background-color: #2A2548 !important;
  
}
    .cbk_pcgamer-list__top-gamer-special a {
        background: linear-gradient(234deg, rgba(60, 37, 98, 0.60) -15.81%, rgba(36, 33, 143, 0.29) 10.74%, rgba(18, 81, 104, 0.33) 25.95%, rgba(5, 25, 222, 0.60) 68.57%);
        border-radius: 20px !important;
    }
    .cbk_pcgamer-list__top-gamer-special .cbk_pcgamer-list__top-gamer-title,
    .cbk_pcgamer-list__top-gamer-special .cbk_pcgamer-list__top-gamer-description,
    .cbk_pcgamer-list__top-gamer-special .cbk_pcgamer-list__promo,
    .cbk_pcgamer-list__top-gamer-special .cbk_pcgamer-list__price {
        color: white !important
    }
    .cbk_pcgamer-list__top-gamer-special .cbk_pcgamer-list__top-gamer-description li::after {
        background-color: white;
    }
    .cbk_pcgamer__inner-link {
        cursor: pointer;
        height: 100%;
    }

.cbk_pcgamer-list__configuration-img-wrapper {
    width: 50%;
    display: none;
}

.cbk_pcgamer-list__configuration-img-responsive {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cbk_pcgamer-list__top-gamer-content {
    display: flex;
    padding: 30px 20px;
    row-gap: 20px;
    justify-content: space-between;
    height: 100%;
    max-width: 420px;
    min-height: 208px;
}

.cbk_pcgamer-list__top-gamer-content__left {
    display: flex;
    height: 250px;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
}

.cbk_pcgamer-list__top-gamer-title {
    font-size: 28px;
    text-transform: uppercase;
    width: 220px;
    height: 56px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: none;
}

.cbk_pcgamer-list__top-gamer-title,
.cbk_pcgamer-list__top-gamer-description,
.cbk_pcgamer-list__promo,
.cbk_pcgamer-list__price {
    padding-left: var(--val_15);
    color: var(--noir);
}

    .cbk_pcgamer-list__top-gamer-description li {
        position: relative;
        padding-left: var(--val_15);
        font-size: calc(16px + (16 - 12) * (100vw - 320px) / (5120 - 320));
    }

        .cbk_pcgamer-list__top-gamer-description li::after {
            content: "";
            position: absolute;
            top: 35%;
            left: 0;
            width: 6px;
            height: 6px;
            background-color: #1F1F1F;
            -webkit-clip-path: polygon(0 0,0% 100%,100% 50%);
            clip-path: polygon(0 0,0% 100%,100% 50%);
        }

        .cbk_pcgamer-list__top-gamer-description li,
        .cbk_pcgamer-list__top-gamer-description li strong {
            font-weight: 400;
        }

    .cbk_pcgamer-list__top-gamer-description ul {
        display: flex;
        flex-direction: column;
        row-gap: var(--val_10);
    }

.pc_infos {
    position: relative;
    display: flex;
    padding: 20px;
    z-index: 1;
    height: auto;
}

.cbk_pcgamer-list__price-group {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    row-gap: var(--val_10);
}

.cbk_pcgamer-list__promo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    column-gap: var(--val_5);
}

.cbk_pcgamer-list__top-gamer-percentage {
    background: #E53029;
    width: fit-content;
    padding: 2px 10px;
    font-size: 20px;
    background: #E53029;
    color: white;
}

.cbk_pcgamer-list__top-gamer-prix-barre {
    position: relative;
    font-size: 16px;
}

    .cbk_pcgamer-list__top-gamer-prix-barre::after {
        content: ' ';
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #C91D1D;
        transform: rotate(-7deg);
    }

.cbk_pcgamer-list__price {
    font-size: 36px;
}

.cbk_pcgamer-list__img {
    width: 289px;
    height: auto;
    flex: none;
    pointer-events: none;
}

.cbk_pcgamer__top-gamer-cta {
    display: flex;
    position: fixed;
    width: 100%;
    z-index: 0;
    background: #1F1F1F;
    font-size: var(--val_20);
    padding: 10px 0 10px 30px;
    border-radius: 0px 0px 18px 18px;
    bottom: 0;
}

    .cbk_pcgamer__top-gamer-cta span {
        text-transform: uppercase !important;
        font-weight: 700 !important;
        color: var(--blanc);
    }

@media screen and (max-width: 1080px) {

    .pc_infos {
        height: 90%;
        width: 100%;
        flex-direction: row;
        justify-content: space-around;
    }

    .cbk_pcgamer-list__top-gamer-content__left {
        display: flex;
        height: 100%;
        flex-direction: column;
        gap: 20px;
        justify-content: space-around;
    }

    .cbk_pcgamer__inner-link {
        display: flex;
        height: 100%;
    }

    .cbk_pcgamer-list__configuration-img-wrapper {
        display: block;
        height: 100%;
    }

    .cbk_pcgamer-list__img {
        display: none;
    }

    .cbk_pcgamer-list__top-gamer-content {
        width: 50%;
    }

    .cbk_pcgamer-list__top-gamer {
        display: flex;
        height: 329px;
        max-width: 584px;
        flex-wrap: wrap;
        position: relative;
    }

    .cbk_pcgamer-list__top-gamer-title,
    .cbk_pcgamer-list__top-gamer-description,
    .cbk_pcgamer-list__promo,
    .cbk_pcgamer-list__price {
        padding-left: 0;
    }

    .cbk_pcgamer-list__top-gamer-title {
        height: auto;
        font-size: var(--size_p);
    }

    .cbk_pcgamer__top-gamer-cta {
        padding: var(--val_10);
        text-align: center;
        bottom: 0;
    }
}

@media screen and (max-width: 768px) {
    .cbk_pcgamer-list__top-gamer-title {
        width: 100%;
    }

    .pc_infos {
        height: 85%;
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }

    .cbk_pcgamer-list__top-gamer {
        height: 265px;
        min-width: unset;
    }
}
