﻿.benchmark {
    display: flex;
    flex-direction: column;
    overflow: visible !important
}

.pcgamer__benchmark__all-container {
    display: grid;
    width: 100%;
    grid-template-columns: 40% 50%;
    align-items: center;
}

.pcgamer__benchmark__product-reco-container {
    display: flex;
    flex-direction: column;
}

.pcgamer__benchmark__img-product {
    width: 538px;
    height: 377px;
}

.pcgamer__benchmark__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pcgamer__benchmark__api {
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    align-items: flex-end;
    margin-left: auto
}

.pcgamer__benchmark__api-text {
    font-size: 13px;
    color: var(--noir) !important;
    font-weight: 700
}

.pcgamer__benchmark__note-container {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    position: relative;
    z-index: 5
}

.pcgamer_benchmark__wrapper {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.cbk_swiper__container {
    height: auto !important;
    position: relative;
}

.pcgamer__benchmark__item-container {
    display: flex;
    width: 100%;
    justify-content: center;
    column-gap: 5px;
    padding: 10px 5px 15px !important
}

.pcgamer_benchmark__image-jeux {
    display: flex;
    cursor: pointer
}

.pcgamer_benchmark__item {
    display: flex;
    border-radius: 27px;
    position: relative;
    max-height: 172px;
    height: 100%;
    max-width: 141px;
    width: 100% !important;
    margin: 0 !important;
    cursor: pointer
}

.pcgamer_benchmark__image--jeux-container {
    height: 100%;
    width: 100%;
}

.pcgamer_benchmark__item--image-container {
    width: 100%;
    height: 100%;
}

.pcgamer_benchmark__image-container {
    height: 171px;
    width: 140px
}

.pcgamer_benchmark__image {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 22px;
    cursor: pointer
}
/*
.pcgamer_benchmark__image-jeux input {
    display: none
}*/


.pcgame__benchmark__titre-jeux {
    color: var(--blanc);
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    height: 50px
}

.pcgame__benchmark__titre-jeux--content {
    font-size: 17px;
    text-align: center;
    font-weight: 700 !important;
    text-transform: none !important;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 10px
}

.pcgamer_benchmark__item--active {
    margin: 0 10px !important;
    transform: scale(1.1) !important;
    z-index: 10;
    border: 3px solid var(--jaune);
    position: relative;
    box-shadow: 0 0 8px 0px #FFBB00;
}

    .pcgamer_benchmark__item--active .pcgamer_benchmark__item--image-container {
        border: 3px solid var(--blanc);
        border-radius: 24px;
        position: relative;
        width: 100%;
        overflow: hidden;
        cursor: pointer;
    }


.benchmark ul li div p {
    position: initial;
    top: unset;
    width: 100%;
    transform: unset;
}


.pcgamer_benchmark__item--overlay {
    width: 100%;
    height: 100px;
    position: absolute;
    background: linear-gradient(to top, #31306C 30%, transparent 100%);
    bottom: 0;
    left: 0;
    border-radius: 0 0 27px 27px
}

.pcgamer_benchmark__item--overlay--active {
    width: 100%;
    height: 100px;
    position: absolute;
    background: linear-gradient(to top, #FFC600, transparent 100%);
    left: 0;
    bottom: 0;
    border-radius: 0 0 19px 19px;
}



.pcgamer_benchmark__resolution--affichage {
    width: 100%;
    text-transform: uppercase;
    padding: 12px 0;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    color: var(--noir) !important;
    position: relative;
    z-index: 10
}

.pcgamer_benchmark__score {
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}


.pcgamer_benchmark__resolution {
    display: grid;
    grid-template-columns: repeat(3, 130px);
    grid-template-areas:
        "resolution1 resolution2 resolution3"
        "options options options";
    justify-content: center;
    align-items: start;
    column-gap: 50px;
}

    .pcgamer_benchmark__resolution:nth-child(1) {
        grid-area: resolution1;
    }

    .pcgamer_benchmark__resolution:nth-child(2) {
        grid-area: resolution2;
    }

    .pcgamer_benchmark__resolution:nth-child(3) {
        grid-area: resolution3;
    }

.pcgamer__benchmark__options {
    grid-area: options;
}

.pcgamer_benchmark__level {
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    row-gap: 30px;
    transition: opacity 0.3s ease, height 0.3s ease;
}


.pcgamer_benchmark__level {
    display: none
}

.pcgamer_benchmark__level--active {
    transform: translateY(0);
    display: flex;
}

.pcgamer_benchmark__resolution-container {
    position: relative;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5
}

.rts-hidden {
    display: none;
}

.rts-active {
    display: flex
}

.pcgamer_benchmark__resolution-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 15;
}

.pcgamer_benchmark__resolution--note-terme {
    text-transform: uppercase;
}

.pcgamer_benchmark__resolution--note, .pcgamer_benchmark__resolution--note-terme {
    font-size: 20px;
    color: #3D3D3D !important;
    font-weight: 600
}

.pcgamer__benchmark__options {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 30;
}

.pcgamer__benchmark__recommandations {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
    padding: 0 10px;
}

.pcgamer__benchmark__recommandations-titre {
    font-size: var(--size_h3);
    font-weight: 600
}

.pcgamer__benchmark__recommandations-titre, .pcgamer__benchmark__texte-reco {
    color: #2F2F2F !important
}

.pcgamer__benchmark__container-texte-reco {
    display: flex;
    column-gap: 7px;
}

.pcgamer__benchmark__texte-reco {
    background: #FFCF00;
    padding: 8px 22px;
    font-size: 15px;
    border-radius: 12px
}

.pcgamer__benchmark__texte-reco--content {
    color: var(--noir) !important;
    font-weight: 600
}

svg:not(:root) {
    overflow: visible !important
}

.pcgamer_benchmark__svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

svg {
    transform: rotate(-90deg);
}

pcgamer_benchmark__resolution--note {
    display: none;
}

.pcgamer_benchmark__resolution--icone {
    stroke-dasharray: 180;
    stroke-dashoffset: 180;
}

.pcgamer__benchmark__ray-tracing {
    display: flex;
    column-gap: 20px;
    height: fit-content;
    align-items: center
}

    .pcgamer__benchmark__ray-tracing input[type="checkbox"] {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        position: relative;
        height: 35px;
        width: 58px;
        background: #737373;
        border-radius: 58px !important;
        border: 2px solid #DBDBDB;
        transition: background-color .3s ease-in-out .15s;
        cursor: pointer;
    }

        .pcgamer__benchmark__ray-tracing input[type="checkbox"]:after {
            content: "";
            position: absolute;
            top: 50%;
            left: 30%;
            transform: translate(-50%, -50%);
            height: 25px;
            width: 25px;
            border-radius: 50%;
            background-color: var(--blanc);
            transition: left .3s ease-in-out;
            box-shadow: 6px 1px 6px 0px rgba(0, 0, 0, .4);
        }

        .pcgamer__benchmark__ray-tracing input[type="checkbox"]:checked {
            background: #FFCF00;
        }

            .pcgamer__benchmark__ray-tracing input[type="checkbox"]:checked:after {
                left: 70%;
                background-color: #2F2F2F;
                box-shadow: -2px 1px 6px 0px rgba(0, 0, 0, .4);
            }


.cbk_swiper__wrapper {
    overflow: visible !important;
}

.cbk_swiper-content {
    padding: 20px 0 20px;
    width: 100%;
    overflow: hidden;
}

.cbk_swiper__overlay-right {
    position: absolute;
    top: 0;
    right: -12px;
    height: 220px;
    width: 75px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) -28.6%, var(--blanc) 41.67%);
    filter: blur(5px);
    z-index: 2
}

.cbk_swiper__overlay-left {
    position: absolute;
    top: 0;
    left: -12px;
    height: 220px;
    width: 75px;
    background: linear-gradient(-95deg, rgba(255, 255, 255, 0) -28.6%, var(--blanc) 41.67%);
    filter: blur(5px);
    z-index: 2;
    opacity: 1
}

.swiper-button-next, .swiper-button-prev {
    font-weight: 900;
    color: var(--noir);
}

.swiper-button-next {
    right: 0
}

.swiper-button-prev {
    left: 0
}

.swiper-button-next-benchmark:before, .swiper-button-prev-benchmark:before {
    content: "";
    position: absolute;
    width: 29px;
    height: 82px;
    background: #FFCF00;
    z-index: 1;
}

.swiper-button-next::before {
    border-radius: 0 10px 10px 0
}

.swiper-button-prev::before {
    border-radius: 10px 0 0 10px
}

.swiper-button-disabled ~ .cbk_swiper__overlay-left {
    opacity: 0;
    z-index: 0
}

.swiper-button-disabled {
    opacity: 0 !important;
}

.pcgamer__benchmark__next, .pcgamer__benchmark__prev {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    z-index: 20;
    transform: translate(-50%, -50%);
}

.stop1 {
    stop-color: #ffe248
}

.stop2 {
    stop-color: #ffbb00
}

.circle {
    stroke: #ADA99F
}


/*===== Responsive Benchmark =====*/

@media screen and (max-width: 1300px) {
    .benchmark {
        width: 100%;
        margin: 0;
        max-width: unset;
    }

    .pcgamer__benchmark__all-container {
        grid-template-columns: 50% 50%;
    }
}

@media screen and (max-width: 1168px) {
    .pcgamer__benchmark__all-container {
        grid-template-columns: 50% 50%;
    }

    .pcgamer__benchmark__img-product {
        width: 360px;
        height: 348px;
    }

    .pcgamer_benchmark__resolution {
        column-gap: 30px;
    }
}

@media screen and (max-width: 1024px) {
    .pcgamer_benchmark__item {
        max-height: 124px;
        height: 100%;
        max-width: 102px;
        width: 100% !important;
        border-radius: 20px;
    }

    .pcgamer_benchmark__item--overlay {
        border-radius: 0 0 20px 20px;
    }

    .pcgamer_benchmark__item--active .pcgamer_benchmark__item--image-container {
        border: 2px solid var(--blanc);
        border-radius: 20px;
    }

    .pcgamer_benchmark__item--overlay--active {
        border-radius: 0 0 15px 15px;
        height: 80px
    }

    .pcgamer_benchmark__image-container {
        height: 124px;
        width: 102px;
    }

    .pcgamer_benchmark__image {
        border-radius: 18px;
    }

    .pcgame__benchmark__titre-jeux--content {
        font-size: 13px
    }

    .pcgame__benchmark__titre-jeux {
        height: 30px;
    }
}

@media screen and (max-width: 968px) {
    .benchmark {
        width: 100%;
    }

    .pcgamer__benchmark__img-product {
        width: 360px;
        height: 348px;
    }

    .pcgamer__benchmark__api-logo {
        width: 97px;
    }

    .pcgamer_benchmark__item {
        min-height: 124px;
        max-width: 102px;
    }

    .pcgamer_benchmark__image-container {
        height: 124px;
        width: 102px;
    }

    .pcgame__benchmark__titre-jeux--content {
        font-size: 12px;
    }

    .pcgamer__benchmark__all-container {
        grid-template-columns: 50% 50%;
    }

    .pcgamer_benchmark__resolution--note, .pcgamer_benchmark__resolution--note-terme {
        font-size: 20px;
    }


    .pcgamer__benchmark__ray-tracing input[type="checkbox"] {
        height: 33px;
        width: 53px;
    }

        .pcgamer__benchmark__ray-tracing input[type="checkbox"]:after {
            height: 25px;
            width: 24px;
        }

    .pcgamer_benchmark__resolution {
        grid-template-columns: repeat(3, 30%);
        column-gap: 15px;
    }

    .pcgamer__benchmark__texte-reco {
        padding: 8px 15px;
        font-size: 12px;
    }

    .pcgamer__benchmark__recommandations-titre {
        font-size: 20px;
    }

    .pcgamer__benchmark__options {
        justify-content: space-around;
    }

    .pcgamer__benchmark__api {
        margin-left: unset;
    }

    .cbk_swiper__overlay-left, .cbk_swiper__overlay-right {
        height: 180px;
    }
}


@media screen and (max-width: 768px) {

    .benchmark {
        row-gap: 20px;
        width: 100%
    }

    .gamer_titrepc {
        margin: 0; 
    }

    .pcgamer__benchmark__api {
        padding: 0 10px;
    }

    .pcgamer__benchmark__api-logo {
        width: 95px;
    }

    .pcgamer__benchmark__item-container {
        padding: 10px 5px !important;
        margin: 0
    }

    .pcgamer__benchmark__image-container {
        padding: 10px 5px 50px
    }

    .pcgamer__benchmark__note-container {
        row-gap: 15px;
        width: 100%
    }

    .cbk_swiper__wrapper {
        flex-wrap: nowrap !important;
        gap: unset !important
    }

    .cbk_swiper-content {
        padding: 10px 0;
        width: 100%;
    }

        .cbk_swiper-content:before, .cbk_swiper-content:after {
            display: none
        }



    .swiper-button-next-benchmark:before, .swiper-button-prev-benchmark:before {
        height: 44px;
        width: 15px;
    }

    .swiper-button-next-benchmark:before {
        border-radius: 0 6px 6px 0
    }

    .swiper-button-prev-benchmark:before {
        border-radius: 6px 0 0 6px
    }

    .pcgamer__benchmark__next, .pcgamer__benchmark__prev {
        width: 9px
    }


    .swiper-button-next-benchmark, .swiper-button-prev-benchmark {
        transform: unset !important;
    }

    .cbk_swiper__overlay-left {
        top: 0;
        left: -23px;
        height: 160px;
        width: 75px;
    }

    .cbk_swiper__overlay-right {
        height: 160px;
    }


    .swiper-button-next:after, .swiper-button-prev:after {
        display: none
    }

    .pcgamer_benchmark__item {
        max-height: 125px;
        max-width: 102px;
        border-radius: 18px;
        overflow: visible !important;
    }

    .pcgamer_benchmark__item--overlay {
        border-radius: 0 0 16px 16px;
        height: 50px
    }

    .pcgamer_benchmark__item--overlay--active {
        border-radius: 10px;
        height: 50px
    }

    .pcgamer_benchmark__item--active {
        border: 2px solid var(--jaune);
    }

        .pcgamer_benchmark__item--active .pcgamer_benchmark__item--image-container {
            border: 2px solid var(--blanc);
            border-radius: 18px;
        }

    .pcgamer_benchmark__item::after {
        border-radius: 14px;
    }

    .pcgamer_benchmark__item--active::after {
        border-radius: 14px;
    }

    .pcgamer_benchmark__item--active::after, .pcgamer_benchmark__item::after {
        height: 40px
    }

    .pcgamer_benchmark__image-container {
        width: 100%;
        height: 100%;
    }

    .pcgamer_benchmark__image {
        border-radius: 17px;
    }

    .pcgamer_benchmark__item--overlay ~ .pcgame__benchmark__titre-jeux {
        display: none
    }

    .pcgame__benchmark__titre-jeux--active {
        display: flex;
        padding: 10px 0
    }

    .pcgame__benchmark__titre-jeux--content {
        position: absolute;
    }


    .pcgame__benchmark__titre-jeux--content {
        font-size: 12px
    }

    .pcgamer__benchmark__all-container {
        row-gap: 30px;
        display: flex;
        flex-direction: column;
    }

    .pcgamer__benchmark__product-reco-container {
        width: 100%;
        align-items: center
    }

    .pcgamer_benchmark__level {
        overflow: visible;
    }

    .pcgamer_benchmark__score {
        display: flex;
        flex-direction: column;
        row-gap: 10px;
        overflow: visible;
    }

    .pcgamer_benchmark__resolution {
        width: 100%;
        row-gap: unset;
        column-gap: 20px;
        grid-template-columns: repeat(3, 30%);
        grid-template-areas:
            "resolution1 resolution2 resolution3"
            "options options options";
    }

    .pcgamer_benchmark__resolution--affichage {
        font-size: 18px;
        padding: 8px 0
    }

    .pcgamer_benchmark__resolution--note, .pcgamer_benchmark__resolution--note-terme {
        font-size: 18px;
    }

    .pcgamer_benchmark__svg svg {
        width: 126px;
        height: 126px
    }


    .pcgamer__benchmark__recommandations {
        flex-direction: column;
        padding: 0;
        width: 100%
    }

    .pcgamer__benchmark__container-texte-reco {
        row-gap: 20px;
    }

    .pcgamer__benchmark__options {
        width: 100%;
        justify-content: center;
        align-items: flex-end;
        justify-content: space-between
    }

    .pcgamer__benchmark__ray-tracing {
        margin: 0;
    }



    .pcgamer__benchmark__recommandations-titre {
        font-size: 20px
    }

    .pcgamer__benchmark__ray-tracing input[type="checkbox"] {
        height: 22px;
        width: 45px;
        background: #2F2F2F
    }

        .pcgamer__benchmark__ray-tracing input[type="checkbox"]:after {
            height: 17px;
            width: 16px;
            left: 25%
        }

        .pcgamer__benchmark__ray-tracing input[type="checkbox"]:checked:after {
            left: 75%;
        }

    .pcgamer__benchmark__texte-reco {
        transform: none;
        text-align: center;
        padding: 5px 0;
        width: 100%;
        background: #FFCF00;
        display: flex;
        justify-content: center;
        border-radius: unset
    }

    .pcgamer__benchmark__texte-reco--content {
        font-size: 12px;
        color: var(--noir) !important;
        font-weight: 600
    }
}

@media screen and (max-width: 540px) {
    .pcgamer_benchmark__svg svg {
        width: 104px;
        height: 104px
    }

    .pcgamer_benchmark__resolution--affichage {
        font-size: 15px;
    }

    .pcgamer_benchmark__resolution--note, .pcgamer_benchmark__resolution--note-terme {
        font-size: 15px;
    }
}
