.product-images-gallery {
    position: relative;
    overflow: hidden;
}

.product-images-gallery .large-slider {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-images-gallery .swiper-slide {
    transition: ease .3s;
    cursor: pointer;
}

.product-images-gallery .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-images-gallery .thumbs-slider .swiper-slide img {
    display: block;
    height: auto;
    aspect-ratio: 1;
}

.product-images-gallery .carousel-thumbs {
    position: relative;
}

.product-images-gallery .carousel-thumbs .swiper-wrapper {
    display: flex;
}

.product-images-gallery .thumbs-slider:not(.swiper-initialized) .swiper-wrapper {
    gap: 5px;
}

.product-images-gallery .thumbs-slider:not(.swiper-initialized) .swiper-slide {
    flex: 0 0 calc(20% - 4px);
    width: calc(20% - 4px);
}

.product-images-gallery .ahura-discount-label {
    position: absolute;
    padding: 5px 10px;
    border-radius: 5px;
}

.product-images-gallery .ah-gallery-counter {
    position: absolute;
    bottom: var(--ah-offset-y, 16px);
    inset-inline-end: var(--ah-offset-x, 16px);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 50px;
    background-color: #fff;
    font-size: 12px;
    line-height: 1.6;
}

.product-images-gallery .ah-gallery-counter-icon {
    display: inline-flex;
}

.product-images-gallery .ah-gallery-counter-icon svg {
    width: 1em;
    height: 1em;
}

.product-images-gallery .ah-gallery-more-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    font-size: 16px;
}

.product-images-gallery .ah-gallery-more-thumb svg {
    width: 1em;
    height: 1em;
}

.product-images-gallery .ah-gallery-share {
    position: absolute;
    top: var(--ah-offset-y, 16px);
    inset-inline-start: var(--ah-offset-x, 16px);
    z-index: 3;
}

.product-images-gallery .ah-gallery-share-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background-color: #fff;
    color: inherit;
    font-size: 16px;
    cursor: pointer;
}

.product-images-gallery .ah-gallery-share-toggle svg {
    width: 1em;
    height: 1em;
}

.product-images-gallery .ah-gallery-share-menu {
    position: absolute;
    top: calc(100% + 6px);
    inset-inline-start: 0;
    display: none;
    min-width: 140px;
    margin: 0;
    padding: 6px 0;
    list-style: none;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
}

.product-images-gallery .ah-gallery-share.is-open .ah-gallery-share-menu {
    display: block;
}

.product-images-gallery .ah-gallery-share-menu a,
.product-images-gallery .ah-gallery-share-menu button {
    display: block;
    width: 100%;
    padding: 6px 14px;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    font-size: 13px;
    text-align: start;
    cursor: pointer;
}
