body.shop-pay-modal-open {
    overflow: hidden;
}

.shop-pay-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.shop-pay-modal[hidden] {
    display: none !important;
}

.shop-pay-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 10, 14, .65);
}

.shop-pay-modal__panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(26.5rem, 100%);
    height: min(92vh, 42rem);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #32363f;
    background: #1a1d23;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .55);
}

.shop-pay-modal__chrome {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 2.75rem;
    padding: .35rem .45rem;
    border-bottom: 1px solid #32363f;
    background: #21252d;
}

.shop-pay-modal__close {
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid #32363f;
    border-radius: 8px;
    background: #1a1d23;
    color: #9aa0a6;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.shop-pay-modal__close:hover {
    color: #e8eaed;
    border-color: #20c997;
}

.shop-pay-modal__frame {
    display: block;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    border: 0;
    background: #1a1d23;
}
