.intent-popup{
position:fixed;
inset:0;
display:none;
align-items:center;
justify-content:center;

/* Lower layer so page visible */
z-index:999;

padding:20px;

/* Light transparent overlay */
background:rgba(0,0,0,0.15);

/* REMOVE BLUR */
backdrop-filter:none;
}

/* Modal */
.intent-modal{
width:100%;
max-width:480px;   /* reduced from 640px */
background:#ffffff;
border-radius:16px;
padding:28px;      /* reduced padding */
text-align:center;
position:relative;

box-shadow:0 20px 40px rgba(0,0,0,.15);
border:1px solid #e5e7eb;

animation:popupFade .25s ease;
}

@keyframes popupFade{
from{opacity:0; transform:translateY(20px)}
to{opacity:1; transform:translateY(0)}
}

/* Close */

.intent-close{
position:absolute;
top:12px;
right:14px;
border:none;
background:none;
font-size:18px;
cursor:pointer;
color:#9ca3af;
}

/* Header */

.intent-header h2{
font-size:22px;
font-weight:700;
margin-bottom:6px;
color:#2563eb;
}

.intent-header p{
font-size:13px;
color:#6b7280;
}

/* Cards container */

.intent-options{
display:flex;
gap:14px;
margin-top:20px;
}

/* Cards */

.intent-card{
flex:1;
background:#ffffff;
border-radius:12px;
padding:20px;
cursor:pointer;
border:1px solid #e5e7eb;
transition:.2s;
text-align:center;
}

.intent-card:hover{
transform:translateY(-4px);
box-shadow:0 12px 25px rgba(0,0,0,.12);
}

/* Icon circle */

.intent-icon-wrap{
width:46px;
height:46px;
border-radius:12px;
display:flex;
align-items:center;
justify-content:center;
font-size:20px;
margin:0 auto 12px;

background:#2563eb;
color:#fff;
}

/* Buyer icon */

.intent-card.buyer .intent-icon-wrap{
background:#10b981;
}

/* Title */

.intent-card h4{
font-size:16px;
font-weight:600;
margin-bottom:4px;
color:#111827;
}

/* Description */

.intent-card p{
font-size:12.5px;
color:#6b7280;
}

/* Footer */

.intent-footer{
margin-top:18px;
padding-top:14px;
border-top:1px solid #eee;
}

.browse-btn{
border:none;
background:#f3f4f6;
padding:8px 14px;
border-radius:6px;
font-size:13px;
color:#374151;
cursor:pointer;
}

.browse-btn:hover{
background:#e5e7eb;
}

/* Mobile */

@media(max-width:640px){

.intent-options{
flex-direction:column;
}

.intent-modal{
padding:22px 18px;
max-width:340px;
}

}