/* Complément aux styles du catalogue existant, Bootstrap 4 compatible */
.axo-product_media.has-gallery {
    position: relative;
    overflow: hidden;
}

.axo-product_gallery {
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 1;
}

.axo-product_gallery:not(.slick-initialized) .axo-product_gallery-slide:not(:first-child) {
    display: none;
}

.axo-product_gallery-slide {
    width: 100%;
    position: relative;
}

.axo-product_media .axo-product_gallery-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Les contrôles restent dans l'image et ne perturbent pas les cartes */
.axo-product_gallery .slick-list,
.axo-product_gallery .slick-track {
    height: 100%;
}

.axo-product_gallery .axo-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    z-index: 3;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    background: rgba(0, 0, 0, .55);
    font-size: 18px;
    line-height: 34px;
    padding: 0;
    text-align: center;
}

.axo-product_gallery .axo-gallery-prev {
    left: 10px;
}

.axo-product_gallery .axo-gallery-next {
    right: 10px;
}

.axo-product_gallery .slick-dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex !important;
    justify-content: center;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
    z-index: 3;
}

.axo-product_gallery .slick-dots li {
    width: 7px;
    height: 7px;
    margin: 0;
    padding: 0;
}

.axo-product_gallery .slick-dots button {
    display: block;
    width: 7px;
    height: 7px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: rgba(255, 255, 255, .55);
    font-size: 0;
    cursor: pointer;
}

.axo-product_gallery .slick-dots .slick-active button {
    background: #fff;
}

/* La pastille norme continue à se superposer au diaporama. */
.axo-product_media.has-gallery>.norme {
    position: absolute;
    z-index: 4;
}