.head {
    background: linear-gradient(to right, rgba(44, 44, 44, 0.85) 70%, rgba(27, 27, 27, 0.85) 100%, transparent 100%), url(/images/background.jpeg) center;
    padding: 0px !important;
    padding-top: 10px !important;
    padding-bottom: 20px !important;
    background-size: cover !important;
    margin-top: -10px;
}

.customdiv2 {
    display: block;
    margin: auto;
}

.customdiv {
    display: flex;
    margin: 50px;
    padding: 0 200px;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

.customdiv .right {
    display: flex;
    text-align: left;
    flex-direction: column;
    align-items: flex-start;
}

.customdiv .left {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

@keyframes epicTiltAndSpin {

    /* --- Petit tilt oscillant (espacé, plus lent) --- */
    0% {
        transform: rotateX(25deg) rotateY(335deg) scale(1);
    }

    8% {
        transform: rotateX(25deg) rotateY(345deg) scale(1.02);
    }

    16% {
        transform: rotateX(25deg) rotateY(330deg) scale(0.98);
    }

    24% {
        transform: rotateX(25deg) rotateY(348deg) scale(1.03);
    }

    32% {
        transform: rotateX(25deg) rotateY(333deg) scale(1);
    }

    40% {
        transform: rotateX(25deg) rotateY(350deg) scale(1.04);
    }

    48% {
        transform: rotateX(25deg) rotateY(335deg) scale(1);
    }

    /* --- Début spin explosif (1er tour rapide) --- */
    60% {
        transform: rotateX(25deg) rotateY(695deg) scale(1.3);
    }

    /* +360° */

    /* --- 2e tour avec ralentissement --- */
    72% {
        transform: rotateX(25deg) rotateY(1055deg) scale(1.25);
    }

    /* +720° */
    80% {
        transform: rotateX(25deg) rotateY(1100deg) scale(1.2);
    }

    /* ralentit un peu */
    87% {
        transform: rotateX(25deg) rotateY(1120deg) scale(1.15);
    }

    /* presque stoppé */

    /* --- Overshoot retour --- */
    92% {
        transform: rotateX(25deg) rotateY(340deg) scale(1.05);
    }

    96% {
        transform: rotateX(25deg) rotateY(330deg) scale(0.98);
    }

    98% {
        transform: rotateX(25deg) rotateY(338deg) scale(1.02);
    }

    /* --- Retour final --- */
    100% {
        transform: rotateX(25deg) rotateY(335deg) scale(1);
    }
}

.left img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    animation: epicTiltAndSpin 10s cubic-bezier(0.77, 0, 0.175, 1) infinite;
    transform-origin: center;
    scale: 1.1;
    filter: drop-shadow(0 0 15px var(--bg-shadow-blue));
}

.left img:hover {
    scale: 1.2;
    filter: drop-shadow(0 0 20px var(--bg-shadow-blue));
}

.customdiv ul:not(:last-child),
.customdiv li:not(:last-child) {
    padding-left: 0;
    margin-bottom: 5px;
    list-style: none;
}

.customdiv ul,
.customdiv li {
    padding-left: 0;
    list-style: none;
}

li i {
    font-size: 15px;
}

h1,
h2,
h3,
h4,
p,
ul,
li {
    padding-left: 0;
    margin-left: 0;
    margin-right: 0;
}

.main-title {
    width: 100%;
    margin: 0 auto;
    padding-top: 60px;
    padding-bottom: 60px;
}

.main-title h2 {
    text-transform: uppercase;
    line-height: 1;
    padding: 0;
    margin: 0;
    font-size: 40px;
    margin-bottom: 10px;
    font-weight: bold;
}

.main-title p {
    font-size: 18px;
    margin: 0 0 10px;
    color: var(--text-tertiary)
}

.slideWrapper {
    position: relative;
    max-width: 100%;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.slideContainer {
    display: flex;
    height: 100%;
    padding: 20px 20px 0 20px;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    flex-wrap: nowrap;
    overflow: auto;
}

.slideWrapper::before,
.slideWrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    pointer-events: none;
    z-index: 1;
}

.slideWrapper::before {
    left: -5px;
    background: linear-gradient(to right, var(--background-color), rgba(0, 0, 0, 0));
}

.slideWrapper::after {
    right: -5px;
    background: linear-gradient(to left, var(--background-color), rgba(0, 0, 0, 0));
}


.scrollButton {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    outline: none;
}

.scrollButton.left {
    left: 10px;
}

.scrollButton.right {
    right: 10px;
}

.scrollButton:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.offreContent {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.offreContent.left,
.offreContent.right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
}

.offreContent.right>div {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.offreContent.left.ofrb {
    background: var(--bg-transparent);
    height: 200px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.shop-containers {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: center;
    transition: all 0.2s ease-in-out;
}

.shop-item {
    display: flex;
    background: var(--card-bg);
    width: 230px;
    min-height: 270px;
    margin: auto 10px;
    border-radius: 20px;
    flex-direction: column;
    align-items: center;
    flex-wrap: nowrap;
    position: relative;
    box-shadow: 0 0 10px 0 var(--bg-shadow);
    transition: all 0.2s ease-in-out;
}

.shop-price {
    position: absolute;
    top: -33px;
    padding: 5px 10px 5px 10px;
    background: var(--card-bg);
    width: 134px;
    height: 23px;
    border-radius: 15px 15px 0 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-shadow: 0 -10px 10px -5px var(--bg-shadow),
        /* En haut */
        10px -1px 10px -5px var(--bg-shadow),
        /* À droite */
        -10px -1px 10px -5px var(--bg-shadow);
    /* À gauche */

    transition: all 0.2s ease-in-out;
}

.shop-price .reduction {
    position: absolute;
    color: var(--text-main);
    background: var(--link-active-secondary);
    padding: 0 5px 0 5px;
    border-radius: 5px;
    left: -22px;
    top: -10px;
    transform: rotate(320deg);
    transition: all 0.2s ease-in-out;
}

/* .shop-price .reduction .hidden { */

.shop-price span {
    display: flex;
    color: #ffffff;
    font-size: 20px;
    margin: -3px;
    width: auto;
    align-items: center;
    overflow: hidden;
    justify-content: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all 0.2s ease-in-out;

}

.shop-title {
    position: relative;
    font-size: 25px;
    margin: 10px;
    transition: all 0.2s ease-in-out;
}

.shop-title span {
    color: white;
    text-transform: uppercase;
    font-weight: bold;
}

.shop-contents {
    margin-top: auto;
    text-align: left;
    padding-left: 20px;
}

.shop-contents span {
    font-size: 16px;
    color: var(--text-tertiary);
    display: block;
}

.shop-contents span.check i {
    font-size: 20px;
    color: var(--color-green-secondary);
}

.shop-contents span.nocheck i {
    font-size: 22px;
    color: var(--color-red-secondary);
}

.shop-contents span.nocheck {
    text-decoration: line-through;
}


.shop-buttons {
    width: 100%;
    margin-top: auto;
    display: flex;
    justify-content: center;
}

.shop-buttons button {
    padding: 10px;
    color: white;
    text-align: center;
    border-radius: 20px;
    cursor: pointer;
    margin: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
}

.convaincre {
    margin-top: 150px;
    text-align: left;
    padding: 50px 0;
    background: var(--main-color);
}

.convaincre .row {
    display: flex;
    padding: 0 40px;
    margin: 0 auto;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.convaincre .row .title {
    font-size: 28px;
    font-weight: 500;
    margin: 0;
}

.convaincre button {
    width: 200px;
    margin-left: 200px;
}

button.btn {
    width: 150px;
    height: 50px;
    text-align: center;
    text-transform: uppercase;
}

.col-min-6 {
    width: 50%;
}

@media screen and (max-width: 480px) {

    .convaincre .row {
        flex-direction: column;
    }

}


@media only screen and (max-width: 680px) {
    .customdiv {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .customdiv#offre {
        margin-top: 150px;
    }

    .scrollButton {
        display: none !important;
    }

    .customdiv .left {
        padding-top: 25px;
    }

    .main-title h2 {
        font-size: 35px;
    }

    .slideWrapper {
        overflow: visible;
        margin-bottom: 10px;
        margin-top: -120px;
    }

    .slideContainer {
        padding-top: 60px;
        justify-content: flex-start;
    }

    .shop-containers {
        flex-direction: column;
    }

    .shop-item {
        margin-bottom: 50px;
    }

    .slideWrapper::before {
        display: none;
    }

    .slideWrapper::after {
        display: none;
    }
}

@media only screen and (max-width: 835px) {}