.sp-imob-portal { font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif; color: #1f2937; }
.sp-imob-grid { display: grid; gap: 16px; }
.sp-imob-grid-2 { grid-template-columns: repeat(2, 1fr); }
.sp-imob-grid-3 { grid-template-columns: repeat(3, 1fr); }
.sp-imob-grid-4 { grid-template-columns: repeat(4, 1fr); }
.sp-imob-span-2 { grid-column: span 2; }
@media (max-width: 900px) {
    .sp-imob-grid-3, .sp-imob-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .sp-imob-span-2 { grid-column: span 2; }
}
@media (max-width: 600px) {
    .sp-imob-grid-2, .sp-imob-grid-3, .sp-imob-grid-4 { grid-template-columns: 1fr; }
    .sp-imob-span-2 { grid-column: span 1; }
}

.sp-imob-search-form { background: #f9fafb; padding: 20px; border-radius: 10px; margin-bottom: 24px; }
.sp-imob-search-form label { display: block; font-size: 13px; margin-bottom: 4px; color: #374151; }
.sp-imob-search-form input, .sp-imob-search-form select { width: 100%; padding: 10px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 14px; }
.sp-imob-actions { display: flex; gap: 8px; align-items: end; }

.sp-imob-btn { display: inline-block; padding: 10px 16px; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 14px; border: 1px solid transparent; cursor: pointer; }
.sp-imob-btn-primary { background: #2563eb; color: #fff; }
.sp-imob-btn-primary:hover { background: #1d4ed8; }
.sp-imob-btn-ghost { background: #fff; color: #374151; border-color: #d1d5db; }
.sp-imob-btn-whatsapp { background: #25d366; color: #fff; }
.sp-imob-btn-whatsapp:hover { background: #1ebe57; }

.sp-imob-count { margin: 16px 0; color: #6b7280; font-size: 14px; }
.sp-imob-empty { padding: 40px; text-align: center; background: #f9fafb; border-radius: 10px; }

.sp-imob-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.sp-imob-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.08); }
.sp-imob-card-media { display: block; }
.sp-imob-card-thumb { background: linear-gradient(135deg,#dbeafe,#bfdbfe); height: 180px; position: relative; }
.sp-imob-badge { position: absolute; top: 10px; left: 10px; background: #1f2937; color: #fff; padding: 4px 10px; border-radius: 4px; font-size: 12px; text-transform: uppercase; }
.sp-imob-card-body { padding: 16px; }
.sp-imob-card-title { margin: 0 0 4px; font-size: 16px; }
.sp-imob-card-title a { color: inherit; text-decoration: none; }
.sp-imob-card-loc { color: #6b7280; font-size: 13px; margin: 0 0 10px; }
.sp-imob-card-specs { list-style: none; padding: 0; margin: 0 0 10px; display: flex; gap: 12px; font-size: 13px; color: #374151; }
.sp-imob-card-price { font-size: 20px; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.sp-imob-card-code { font-size: 12px; color: #9ca3af; margin-bottom: 12px; }
.sp-imob-card-actions { display: flex; gap: 8px; }

.sp-imob-pagination { margin-top: 24px; display: flex; gap: 6px; justify-content: center; }

.sp-imob-detail { max-width: 1000px; margin: 0 auto; }
.sp-imob-back { display: inline-block; margin-bottom: 16px; color: #2563eb; text-decoration: none; }
.sp-imob-detail-header h1 { margin: 0 0 6px; font-size: 28px; }
.sp-imob-detail-loc { color: #6b7280; margin: 0 0 6px; }
.sp-imob-detail-code { color: #9ca3af; font-size: 13px; margin-bottom: 16px; }
.sp-imob-detail-price { font-size: 28px; font-weight: 700; color: #0f172a; margin-bottom: 16px; }
.sp-imob-detail-price small { display: inline-block; font-size: 14px; font-weight: 400; color: #6b7280; margin-left: 12px; }
.sp-imob-detail-specs { list-style: none; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; margin: 0 0 24px; padding: 16px; background: #f9fafb; border-radius: 10px; }
.sp-imob-detail-specs li { font-size: 14px; color: #374151; }
.sp-imob-detail-specs strong { display: block; font-size: 22px; color: #0f172a; }
.sp-imob-detail-desc, .sp-imob-detail-features, .sp-imob-detail-contact { margin-bottom: 24px; }
.sp-imob-detail-desc h2, .sp-imob-detail-features h2, .sp-imob-detail-contact h2 { font-size: 20px; margin-bottom: 10px; }
.sp-imob-detail-features ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2,1fr); gap: 6px; }

.sp-imob-lead-form { background: #f9fafb; padding: 20px; border-radius: 10px; }
.sp-imob-lead-form label { display: block; font-size: 13px; margin-bottom: 4px; }
.sp-imob-lead-form input, .sp-imob-lead-form textarea { width: 100%; padding: 10px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 14px; }
.sp-imob-form-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }

.sp-imob-alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; }
.sp-imob-alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.sp-imob-alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.sp-imob-alert ul { margin: 0; padding-left: 18px; }