﻿.vignetteTopVenteContainer {
    display: flex;
    max-width: 425px;
    width: 100%;
    height: 100%;
    max-height: 255px;
    border-radius: 28px 19px 19px 19px;
    border: 1px solid #DBDBDB;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.vignetteTopVenteLink {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.vignetteTopVenteLinkContent {
    display: flex;
    align-items: flex-end;
}

.vignetteTopVenteInfos {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
    min-height: 200px;
    padding: 15px 20px 10px;
}

.vignetteTopVenteTitle {
    color: var(--noir);
    font-size: 22px;
    font-weight: 500;
    min-height: 24px;
    height: 100%;
    text-transform: uppercase;
    white-space: nowrap;
}

.darkTheme .vignetteTopVenteTitle {
    color: var(--blanc);
}

.vignetteTopVenteCaracsContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 85px;
    height: 100%;
    gap: 15px;
}

    .vignetteTopVenteCaracsContainer p {
        position: relative;
        padding-left: 15px;
        color: var(--noir);
        font-size: 14px;
        font-weight: 500;
    }

        .vignetteTopVenteCaracsContainer p::before {
            content: "";
            position: absolute;
            top: 30%;
            left: 0;
            width: 6px;
            height: 6px;
            background-color: #D9D9D9 !important;
            clip-path: shape(from 93.17% 39.65%, curve to 93.17% 60.35% with 102.28% 44.6% / 102.28% 55.4%, line to 24.1% 97.85%, curve to 0% 87.5% with 13.82% 103.43% / 0% 97.49%, line to 0% 12.5%, curve to 24.1% 2.15% with 0% 2.51% / 13.82% -3.43%, line to 93.17% 39.65%, close);
        }

.darkTheme .vignetteTopVenteCaracsContainer p {
    color: var(--blanc);
}

.vignetteTopVentePricesContainer {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.vignetteTopVentePriceReductionContent {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 28px;
    height: 100%;
}

.vignetteTopVenteCrossedPrice {
    display: flex;
    position: relative;
    color: #8B8B8B;
    font-size: 20px;
    font-weight: 600;
    gap: 3px;
}

    .vignetteTopVenteCrossedPrice sup {
        font-size: 12px;
    }

    .vignetteTopVenteCrossedPrice::after {
        content: "";
        width: 100%;
        height: 1px;
        position: absolute;
        top: 33%;
        left: 0;
        background-color: var(--noir);
        transform: rotate(351deg);
    }

.darkTheme .vignetteTopVenteCrossedPrice {
    color: var(--blanc);
}

.vignetteTopVentePriceReduction {
    display: flex;
    height: 26px;
    align-items: center;
    justify-content: center;
    border-radius: 14px 12px 12px 9px;
    color: var(--blanc);
    font-size: 14px;
    font-weight: 500;
    background: #EE3C34;
    padding: 5px 10px;
}

.vignetteTopVenteCurrentPrice {
    display: flex;
    gap: 3px;
    color: var(--noir);
    font-size: 22px;
    font-weight: 500;
}

    .vignetteTopVenteCurrentPrice sup {
        font-size: 12px;
    }

.darkTheme .vignetteTopVenteCurrentPrice {
    color: var(--blanc);
}

    .darkTheme .vignetteTopVenteCurrentPrice sup {
        color: var(--blanc);
    }

.vignetteTopVenteImage {
    max-width: 194px;
    width: 100%;
    max-height: 177px;
    height: 100%;
    object-fit: contain;
}

.vignetteTopVenteLinkPromotionContainer {
    display: flex;
    width: calc(100% - 6px);
    height: 32px;
    background: #EE3C34;
    color: var(--blanc);
    justify-content: center;
    align-items: center;
    border-radius: 0 0 15px 15px;
    margin: 3px;
}

.swiper-slide:last-child {
    margin-right: 0 !important;
}

@media screen and (max-width: 500px) {
    .vignetteTopVenteContainer {
        max-width: 350px;
        max-height: 230px;
    }

    .vignetteTopVenteImage {
        max-width: 150px;
        width: 100%;
        max-height: 160px;
        height: 100%;
        object-fit: contain;
    }

    .vignetteTopVenteInfos {
        display: flex;
        flex-direction: column;
        gap: 5px;
        width: 100%;
        min-height: 169px;
        padding: 15px 20px 5px;
    }
}
