#merchant-igape-footer {
    box-sizing: border-box;
    width: 100%;
    padding: 24px 15px;
    background: #F2F6FB;
    color: #000;
    text-align: center;
}

#merchant-igape-footer p {
    max-width: 900px;
    margin: 0 auto 16px;
    color: #000;
    font-size: 15px;
    line-height: 1.6;
}

#merchant-igape-footer .igape-thumbnail {
    display: block;
    width: 400px;
    max-width: 100%;
    margin: 0 auto;
    cursor: zoom-in;
}

#merchant-igape-footer img {
    display: block;
    width: 100%;
    height: auto;
}

#merchant-igape-footer dialog {
    position: fixed;
    inset: 0;
    width: fit-content;
    max-width: 94vw;
    max-height: 90vh;
    margin: auto;
    padding: 0;
    border: 0;
    overflow: visible;
    background: #fff;
}

#merchant-igape-footer dialog::backdrop {
    background: rgb(0 0 0 / 85%);
}

#merchant-igape-footer dialog img {
    width: auto;
    max-width: 94vw;
    max-height: 90vh;
    object-fit: contain;
}

#merchant-igape-footer .igape-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #002E5B;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 600px) {
    #merchant-igape-footer .igape-thumbnail {
        width: 100%;
    }
}
