.row-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* mobile: 1 column */
    gap: 40px;
    /* spacing between items */
    justify-content: center;
}

.custom-tarif {
    padding-top: 70px;
}

.custom-tarif-label {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    border-radius: 24px 24px 0 0;
    padding: 28px 24px 60px;
    z-index: 4;
}

.custom-tarif .tarif-body {
    border: 1px solid #B6B6B6;
}

.tarif-deco {
    width: 366px;
    height: 508px;
    position: absolute;
    top: 0;
}

.left-side {
    left: -366px;
}

.right-side {
    right: -366px;
}

.video-banner {
    position: relative;
    height: 600px;
    border-radius: 24px;
    overflow: hidden;

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.vb-body {
    position: absolute;
    left: 0;
    width: 100%;
    bottom: 0;
    padding: 8px;
    z-index: 10;
}

.vb-content {
    background-color: #fff;
    border-radius: 16px;
    height: 100%;
}

.ods-bs-item {
    padding: 44px 16px 16px;
    margin-bottom: 0 !important;
}

.ods-action {
    margin-top: 32px;
}

.swipe-toggle-play {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    z-index: 5;
    bottom: 20px;
    right: 20px;
}

.swipe-toggle-play .icon-play-me {
    display: none;
}

.is-paused .icon-pause-me {
    display: none;
}

.is-paused .icon-play-me {
    display: block;
}

.slick-dots {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    border-radius: 9px;
    overflow: hidden;
}

.slick-dots li {
    margin: 0;
    flex: 0 0 50%;
}

.slick-dots li button {
    height: 4px;
    width: 100%;
    background-color: #B6B6B6;
    border-radius: 0;
    border: 0;
}

.slick-dots li button:before {
    display: none;
}

.slick-dots .slick-active button {
    background-color: #000;
}

.vb-media {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    z-index: 3;
    overflow: hidden;
}

.vb-media video {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
}

.vb-bottom-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 226px;
    z-index: 4;
    background: linear-gradient(0, #000 73.32%, rgba(0, 0, 0, 0.00) 97.35%);
}

.video-progress-bar {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 16px;
    height: 4px;
    background-color: #B6B6B6;
    border-radius: 9px;
}

.vb-progress, .vb-progress__bar {
    height: 100%;
}

.vb-progress__bar {
    background-color: #000000;
}

.vb-progress__thumb {
    background-color: #000000;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    position: absolute;
    top: 0;
}

@media (min-width: 768px) {
    .row-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: space-between;
    }

    .video-banner {
        height: 380px;
    }

    .vb-body {
        height: 100%;
    }

    .vb-content {
        width: 285px;
    }

    .ods-bs-item {
        height: 364px;
        display: flex !important;
        flex-direction: column;
    }

    .vb-media video {
        left: auto;
        right: -18%;
        top: 0;
        height: 100%;
    }

    .ods-action {
        margin-top: auto;
    }
}

/* Desktop: 3 columns */
@media (min-width: 992px) {
    .row-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-content: space-between;
        gap: 80px;
    }

    .tarif-wrap {
        flex: 0 0 392px;
    }

    .video-banner {
        height: 500px;
        border-radius: 48px;
    }

    .vb-body {
        height: 100%;
        padding: 32px;
    }

    .vb-content {
        width: 360px;
        border-radius: 32px;
    }

    .ods-bs-item {
        padding: 76px 32px 24px;
        height: 436px;
    }

    .swipe-toggle-play {
        bottom: 28px;
        right: 36px;
    }

    .slick-dots {
        top: 24px;
        left: 32px;
        right: 32px;
    }

    .video-progress-bar {
        left: 32px;
        right: 32px;
        top: 24px;
    }
}

/* XL: fixed column width, centered */
@media (min-width: 1200px) {
    .row-grid {
        grid-template-columns: repeat(3, 306px);
        justify-content: space-between;
    }

    .video-banner {
        height: 614px;
        border-radius: 48px;
    }

    .ods-bs-item {
        padding: 76px 32px 24px;
        height: 550px;
    }
}