#iv-overlay {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 390px;
    left: 50%;
    transform: translateX(-50%);
}

#iv-overlay.is-open {
    display: flex;
    touch-action: none;
}

.iv-bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
}

.iv-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.iv-close {
    position: absolute;
    top: -32px;
    right: 16px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.iv-swiper {
    width: 100%;
}

.iv-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.iv-pagination {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 12px 0 8px;
    justify-content: center;
}

.iv-pagination:empty {
    display: none;
}

.iv-dot {
    height: 5px;
    width: 5px;
    border-radius: 3px;
    cursor: pointer;
    transition: width 0.2s ease, background-color 0.2s ease;
    background-color: #dee3ef;
}

.iv-dot.is-active {
    width: 14px;
    background-color: #fff;
}
