/* Product consultation popup (partials/consult-modal.blade.php). Tokens from app.css; the form itself is styled by pages.css + forms-two-step.css. */
.ks-cm[hidden]{display:none}
.ks-cm{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:16px}
.ks-cm__bd{position:absolute;inset:0;background:rgba(5,14,28,.72)}
.ks-cm__card{position:relative;background:#fff;border-radius:16px;width:100%;max-width:560px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow:auto;padding:28px 24px 20px;box-shadow:0 24px 60px rgba(0,0,0,.45);border-top:4px solid var(--gold)}
.ks-cm__card h2{margin:0 0 4px;padding-inline-end:48px}
.ks-cm__sub{margin:0 0 8px;color:var(--muted);font-weight:700}
.ks-cm__card .pg-form{margin:8px 0 0;padding:8px 0 0;border:0;box-shadow:none;max-width:none}
.ks-cm__x{position:absolute;top:8px;inset-inline-end:8px;width:44px;height:44px;border-radius:50%;border:0;background:var(--cream,#f4efe3);color:var(--navy);font-size:1.6rem;line-height:1;cursor:pointer}
.ks-cm__x:hover{background:var(--line)}
.ks-cm :focus-visible{outline:3px solid var(--gold);outline-offset:2px}
html.ks-cm-lock,html.ks-cm-lock body{overflow:hidden}
@media(prefers-reduced-motion:no-preference){.ks-cm:not([hidden]) .ks-cm__card{animation:kscmin .22s ease-out}@keyframes kscmin{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}}
@media(max-width:559px){.ks-cm{padding:0;align-items:stretch}.ks-cm__card{max-width:none;max-height:100vh;max-height:100dvh;height:100%;border-radius:0}}
