body {
    .wtb-offres-claires {
        .offres-list {
            display: flex;
            justify-content: center;
            flex-wrap: nowrap;
            gap: 15px;

            ul {
                list-style: none;
                padding: 0;
            }

            .offres-list-item {


                &.is2 {
                    flex: 1 1 50%;
                }
                &.is3 {
                    flex: 1 1 33%;
                }

                &:last-child {
                    margin-right: 0px;
                }

                border: 2px solid var(--wb-color-blue-dark);
                border-radius: 10px;

                .offres-segmented-label {
                    border-bottom: 2px solid var(--wb-color-blue-dark);
                    span {
                        background-color: var(--wb-color-blue-dark);
                        padding: 5px 10px;
                        border-radius: 5px 5px 0px 0px;
                    }
                }

                .offre-title {
                    font-weight: 700 !important;
                    font-size: 1.75rem !important;
                    position: relative;
                    z-index: 1;

                    &:after {
                        content: url(https://www.webecom.fr/wp-content/uploads/2025/10/scratch_light.jpg);
                        position: absolute;
                        left: -5px;
                        top: 6px;
                        z-index: -1;
                        transform: rotateZ(-3deg);
                    }
                }

                &.is-best-formule {
                    border-color: var(--wb-color-blue);
                    background-color: var(--wb-color-blue-dark);

                    * {
                        color: #fff;
                    }

                    .offre-title {
                        color: #fff !important;

                        &:after {
                            content: url(https://www.webecom.fr/wp-content/uploads/2025/10/dark_scratch.jpg);
                        }
                    }

                    .offres-segmented-label {
                        border-bottom: 2px solid #fff;
                        span {
                            background-color: #fff;
                        }
                    }
                }

                .formule-price {
                    font-weight: 700 !important;
                    font-size: 1.25rem;
                    :has(+ .formule-desc) {
                        margin-bottom: 0;
                    }
                }

            }

        }

        .formule-flag {
            margin-bottom: 0;
        }
        .formule-pack {
            visibility: hidden;
        }
        .formule-populaire {
            font-weight: 500;
            color: #fff;
            background-color: var(--wb-color-blue);
            padding: 0.5rem 1rem;
            border-radius: 5px 0 10px 0;
            width: fit-content;
        }

    }
}

/* ====== MODAL ====== */
.wtb-modal-en-savoir-plus-icon {
    cursor: pointer;
    fill: #2d2d2d;
    position: absolute;
    width: 1.250rem !important;
    &.ondark {
        fill: #fff;
    }
}
/* ====== END MODAL ====== */

@media screen and (max-width: 768px) {
    body {
        .wtb-offres-claires {
            .offres-list {
                flex-wrap: wrap;

                .offres-list-item {
                    &.is2 {
                        flex-basis: calc(50% - 15px);
                        max-width: 50%;
                    }
                    &.is3 {
                        flex-basis: calc(50% - 15px);
                        max-width: 50%;
                    }
                }
            }
        }
    }
}
@media screen and (max-width: 575px) {
    body {
        .wtb-offres-claires {
            .offres-list {

                .offres-list-item {
                    &.is2 {
                        flex-basis: calc(100% - 15px);
                        max-width: 100%;
                    }
                    &.is3 {
                        flex-basis: calc(100% - 15px);
                        max-width: 100%;
                    }
                }
            }
        }
    }
}