/* Overlay */
.kmp-overlay{position:fixed;inset:0;background:#000;opacity:var(--kmp-overlay-opacity,.5);display:none;z-index:9998;animation:kmp-fade .25s ease}

/* Popup container adopts Elementor/kit font strongly */
.kmp-popup{position:fixed;inset:0;display:none;place-items:center;z-index:9999;
  font-family:var(--e-global-typography-text-font-family, inherit) !important;}
.kmp-popup, .kmp-popup *{font-family:inherit !important}

/* bottom alignment */
.kmp-popup.kmp-pos-bottom{align-items:end;padding:24px}

/* popup box (two-column 70/30) */
.kmp-box{color:#fff;padding:16px 24px;box-shadow:0 10px 30px rgba(0,0,0,.35);display:flex;gap:16px;align-items:center;animation:kmp-pop .25s ease}
.kmp-message{font-size:18px;line-height:1.6;flex:0 1 70%}
.kmp-message p{margin:0 0 8px}
.kmp-link{color:#9ad6ff;text-decoration:underline}
.kmp-actions{flex:0 0 30%;display:flex;justify-content:flex-start}
.kmp-btn{border:none;padding:10px 18px;font-weight:600;cursor:pointer;border-radius:9999px;box-shadow:none;transition:opacity .15s ease, transform .02s}
.kmp-btn:hover{opacity:.9}
.kmp-btn:active{transform:translateY(1px)}
.kmp-btn-ghost{background:transparent!important;border:1px solid currentColor!important}
.kmp-mode-bar .kmp-btn{padding:.5rem 1rem}

@keyframes kmp-fade{from{opacity:0}to{opacity:var(--kmp-overlay-opacity,.5)}}
@keyframes kmp-pop{from{transform:translateY(6px);opacity:.85}to{transform:none;opacity:1}}

@media (max-width:640px){
  .kmp-box{width:92vw;flex-direction:column;align-items:stretch}
  .kmp-message{font-size:16px;flex-basis:auto}
  .kmp-actions{flex-basis:auto;justify-content:stretch}
  .kmp-btn{width:100%}
}