
.payment-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    place-items: center;
    padding: 20px;
}

.payment-modal.is-open {
    display: grid;
}

.payment-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 4, 4, 0.82);
    backdrop-filter: blur(8px);
}

.payment-panel {
    position: relative;
    z-index: 1;
    width: min(470px, 100%);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    box-sizing: border-box;
    padding: 38px 30px 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #111;
    color: #fff;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.52);
}

.payment-close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.payment-panel h2 {
    margin: 5px 0 8px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(34px, 8vw, 48px);
    font-weight: 400;
}

.payment-description,
.payment-note {
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.55;
}

.payment-summary {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 24px 0;
    padding: 17px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.payment-status {
    min-height: 24px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.payment-note {
    margin: 18px 0 0;
    font-size: 12px;
    text-align: center;
}

body.payment-open {
    overflow: hidden;
}

.private-placeholder {
    min-height: 420px;
    background:
        radial-gradient(circle at 50% 20%, rgba(255,255,255,.09), transparent 35%),
        linear-gradient(145deg, #191919, #080808);
}

.private-placeholder-art {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(255,255,255,.07);
    font-family: "Cormorant Garamond", serif;
    font-size: 180px;
    user-select: none;
}

@media (max-width: 600px) {
    .payment-modal {
        padding: 10px;
    }

    .payment-panel {
        max-height: calc(100dvh - 20px);
        padding: 34px 20px 24px;
    }

    .private-placeholder {
        min-height: 330px;
    }
}
