/* Native scrolling avoids duplicate cards and initializing hidden carousels. */
.featured-categories { display: flex; flex-direction: column; gap: 6px; margin-top: 20px; }
.featured-category { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; min-height: 44px; border: 1px solid #b3b3b3; border-radius: 6px; background: #f5f5f5; color: #333; text-decoration: none; font-size: .9rem; }
.featured-category:hover { color: #9e101b; background: #fff; }
.featured-category.active { background: #c70d1a; border-color: #c70d1a; color: #fff; font-weight: 700; }
.featured-count { border-radius: 20px; background: rgba(0,0,0,.08); min-width: 28px; padding: 2px 7px; text-align: center; font-size: .8rem; }
.featured-category.active .featured-count { background: rgba(255,255,255,.2); }
.featured-navigation { display: flex; gap: 8px; margin-top: 20px; }
.featured-navigation button { min-width: 46px; min-height: 46px; }
.featured-panel[hidden] { display: none; }
.featured-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 0 16px; }
.featured-item { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
.featured-item .card-imovel { box-shadow: 0 3px 8px rgba(0,0,0,.12) !important; }
.featured-all { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 8px; color: #9e101b; font-weight: 700; }
.featured-category:focus-visible, .featured-track:focus-visible, .featured-all:focus-visible { outline: 3px solid #87111a; outline-offset: 2px; }
@media (min-width: 768px) { .featured-item { flex-basis: calc((100% - 14px) / 2); } }
@media (min-width: 1200px) { .featured-item { flex-basis: calc((100% - 28px) / 3); } }
@media (max-width: 991px) {
    .featured-categories { flex-direction: row; overflow-x: auto; padding-bottom: 8px; }
    .featured-category { flex: 0 0 auto; white-space: nowrap; }
    .featured-navigation { justify-content: flex-end; margin-top: 8px; }
}

.featured-track::-webkit-scrollbar, .featured-categories::-webkit-scrollbar { display: none; width: 0; height: 0; }
.featured-categories { scrollbar-width: none; }

@media (max-width:767px) {
 .featured-categories { flex-direction:column; overflow:visible; padding-bottom:0; }
 .featured-category { width:100%; min-width:0; white-space:normal; }
 .featured-category > span:first-child { min-width:0; overflow-wrap:anywhere; }
 .featured-count { flex-shrink:0; }
}

.featured-category-icon { display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex:0 0 40px;border-radius:7px;background:#c70d1a; }
.featured-category-icon img {display:block;width:32px;height:32px;object-fit:contain;}
.featured-category.active .featured-category-icon {background:rgba(0,0,0,.12);}
.featured-category-label {flex:1;min-width:0;overflow-wrap:anywhere;}
