/* Mobile Responsive CSS para Cards de Veículos */

/* Reset e base styles */
.content-type-body .row {
    margin: 0;
    padding: 0;
}

/* Cards responsivos - Mobile first approach */
@media (max-width: 767px) {
    /* Container principal */
    .content-type-body {
        padding: 15px 10px !important;
    }
    
    /* Grid layout para 2 cards por linha no mobile */
    .content-type-body .row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        margin: 0 !important;
    }
    
    /* Reset das classes Bootstrap que interferem */
    .content-type-body .row .col-12,
    .content-type-body .row .col-sm-6,
    .content-type-body .row .col-md-4,
    .content-type-body .row .col-lg-3 {
        width: auto !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
        flex: none !important;
    }
    
    /* Card container */
    .product-card {
        height: auto !important;
        margin: 0 !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
        overflow: hidden !important;
        background: white !important;
        transition: transform 0.2s ease !important;
    }
    
    .product-card:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    }

    /* Imagem do card */
    .card-img-wrapper {
        position: relative !important;
        height: 140px !important;
        overflow: hidden !important;
    }

    .results-area .card-img-top{
        max-height:140px!important;
    }
    
    .card-img-top {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 0 !important;
    }
    
    /* Badge do card */
    .card-badge {
        position: absolute !important;
        top: 4px !important;
        right: 4px !important;
        background-color: #192b9b !important;
        color: white !important;
        padding: 2px 6px !important;
        border-radius: 3px !important;
        font-size: 9px !important;
        font-weight: 600 !important;
        z-index: 2 !important;
    }
    
    /* Corpo do card */
    .card-body {
        padding: 8px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
    }
    
    /* Título do card */
    .card-title {
        font-size: 12px !important;
        font-weight: 600 !important;
        color: #192b9b !important;
        margin: 0 0 4px 0 !important;
        line-height: 1.2 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 1 !important;
        line-clamp: 1 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    /* Informações do card */
    .card-info {
        display: flex !important;
        align-items: center !important;
        margin-bottom: 2px !important;
        font-size: 10px !important;
        color: #666 !important;
        line-height: 1.2 !important;
    }
    
    .card-info i {
        width: 12px !important;
        margin-right: 4px !important;
        color: #192b9b !important;
        font-size: 9px !important;
        flex-shrink: 0 !important;
    }
    
    .card-info span {
        display: -webkit-box !important;
        -webkit-line-clamp: 1 !important;
        line-clamp: 1 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        font-size: 12px !important;
    }
    
    /* Preço do veículo */
    .card-price {
        font-size: 13px !important;
        font-weight: 700 !important;
        color: #192b9b !important;
        margin: 6px 0 4px 0 !important;
        line-height: 1.2 !important;
    }
    
    /* Localização */
    .card-location {
        font-size: 9px !important;
        color: #888 !important;
        margin-top: 2px !important;
        display: flex !important;
        align-items: center !important;
        line-height: 1.2 !important;
    }
    
    .card-location i {
        margin-right: 9px !important;
        color: #192b9b !important;
        font-size: 8px !important;
        flex-shrink: 0 !important;
    }
    
    .card-location span {
        display: -webkit-box !important;
        -webkit-line-clamp: 1 !important;
        line-clamp: 1 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        font-size: 12px !important;
    }
    
    /* Estados vazio */
    .empty-state {
        grid-column: 1 / -1 !important;
        text-align: center !important;
        padding: 20px !important;
        background: #f8f9fa !important;
        border-radius: 8px !important;
        margin: 10px 0 !important;
    }
    
    .empty-state i {
        font-size: 32px !important;
        color: #ccc !important;
        margin-bottom: 10px !important;
    }
    
    .empty-state h4 {
        font-size: 16px !important;
        color: #666 !important;
        margin-bottom: 5px !important;
    }
    
    .empty-state p {
        font-size: 12px !important;
        color: #888 !important;
        margin: 0 !important;
    }
}

/* Tablets - 3 cards por linha */
@media (min-width: 768px) and (max-width: 991px) {
    .content-type-body {
        padding: 20px 15px !important;
    }
    
    .content-type-body .row {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px !important;
        margin: 0 !important;
    }
    
    .content-type-body .row .col-12,
    .content-type-body .row .col-sm-6,
    .content-type-body .row .col-md-4,
    .content-type-body .row .col-lg-3 {
        width: auto !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
        flex: none !important;
    }
    
    .card-img-wrapper {
        height: 160px !important;
    }
    
    .card-title {
        font-size: 14px !important;
    }
    
    .card-info {
        font-size: 12px !important;
    }
    
    .card-info span {
        font-size: 12px !important;
    }
    
    .card-price {
        font-size: 16px !important;
    }
    
    .card-location {
        font-size: 11px !important;
    }
    
    .card-location span {
        font-size: 11px !important;
    }
    
    .empty-state {
        grid-column: 1 / -1 !important;
    }
}

/* Desktop - mantém o layout original do Bootstrap */
@media (min-width: 992px) {
    .content-type-body {
        padding: 30px 25px !important;
    }
    
    /* Reativa o comportamento original do Bootstrap para desktop */
    .content-type-body .row {
        display: flex !important;
        flex-wrap: wrap !important;
        margin-left: -0.75rem !important;
        margin-right: -0.75rem !important;
        gap: 0 !important;
    }
    
    .content-type-body .row .col-12,
    .content-type-body .row .col-sm-6,
    .content-type-body .row .col-md-4,
    .content-type-body .row .col-lg-3 {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .card-img-wrapper {
        height: 220px !important;
    }
    
    .card-title {
        font-size: 18px !important;
    }
    
    .card-info {
        font-size: 14px !important;
        margin-bottom: 3px !important;
    }
    
    .card-info span {
        font-size: 14px !important;
    }
    
    .card-price {
        font-size: 20px !important;
        margin: 15px 0 10px !important;
    }
    
    .card-location {
        font-size: 14px !important;
        margin-top: 10px !important;
    }
    
    .card-location span {
        font-size: 14px !important;
    }
}

/* Desktop gold card styles - match standard card dimensions */
.gold-card .card-img-wrapper {
    height: 220px !important;
}

/* Ajustes para cards OURO (featured) */
@media (max-width: 767px) {
    .gold-card .card-badge,
    .gold-badge {
        background: linear-gradient(135deg, #FFD700, #FFA500) !important;
        color: #222 !important;
        font-size: 9px !important;
        padding: 2px 6px !important;
    }
    
    .card-footer-buttons {
        display: none !important; /* Oculta botões no mobile para economizar espaço */
    }
}

/* Ajustes para seções de content-type */
.content-type {
    margin-bottom: 20px !important;
}

@media (max-width: 767px) {
    .content-type {
        margin-bottom: 15px !important;
    }
    
    .content-type-header {
        padding: 12px 15px !important;
    }
    
    .content-type-header h3 {
        font-size: 16px !important;
    }
    
    .btn-view-more {
        font-size: 12px !important;
        padding: 6px 12px !important;
    }
}


/* ========== SEÇÕES OURO, NOTÍCIAS E DESCUBRA MAIS ========== */

/* Anúncios em destaque ouro responsivos */
@media (max-width: 767px) {
    
    /* Featured section container adjustments */
    .featured-section .featured-body {
        padding: 0 0px !important;
    }
    
    /* Força 2 cards por linha para gold featured ads */
    .featured-section .featured-body .row.row-cols-sm-2.row-cols-lg-4 {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        margin: 0 !important;
        align-items: stretch !important;
    }
    
    .featured-section .featured-body .row.row-cols-sm-2.row-cols-lg-4 .col {
        width: auto !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
        flex: none !important;
        display: flex !important;
        align-items: stretch !important;
    }
    
    .gold-card {
        border: 1px solid #e0e0e0 !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
        background: white !important;
        position: relative !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        width:100%!important;
    }
    
    /* Ensure card image wrapper has consistent aspect ratio */
    .gold-card .card-img-wrapper {
        position: relative !important;
        width: 100% !important;
        height: 140px !important;
        overflow: hidden !important;
    }
    
    .gold-card .card-img-top {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    
    /* Card body styling for gold cards */
    .gold-card .card-body {
        padding: 12px !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .gold-card .card-title {
        font-size: 14px !important;
        font-weight: 600 !important;
        margin-bottom: 8px !important;
        line-height: 1.3 !important;
    }
    
    .gold-card .card-info {
        font-size: 12px !important;
    }
    
    .gold-card .card-info span {
        font-size: 12px !important;
    }
    
    .gold-card .card-location {
        font-size: 12px !important;
        margin-bottom: 10px !important;
    }
    
    .gold-card .card-location span {
        font-size: 12px !important;
    }
    
    /* Card footer buttons for gold cards */
    .gold-card .card-footer-buttons {
        padding: 8px 12px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        background-color: #f8f9fa !important;
        border-top: 1px solid #e9ecef !important;
    }
    
    .gold-card .card-footer-buttons .btn {
        font-size: 11px !important;
        padding: 6px 10px !important;
        border-radius: 4px !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    .gold-card .card-footer-buttons .btn i {
        font-size: 10px !important;
        margin-right: 3px !important;
    }
    
    .gold-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #FFD700, #FFA500);
        border-radius: 8px 8px 0 0;
    }
    
    .gold-badge {
        background: linear-gradient(135deg, #FFD700, #FFA500) !important;
        color: #222 !important;
        font-size: 9px !important;
        padding: 3px 8px !important;
        font-weight: 700 !important;
        border-radius: 12px !important;
        top: 6px !important;
        right: 6px !important;
        box-shadow: 0 2px 6px rgba(255, 215, 0, 0.3) !important;
    }
    
    .gold-badge i {
        font-size: 10px !important;
        margin-right: 3px !important;
    }
}

/* Notícias responsivas */
@media (max-width: 767px) {
    .news-card {
        border-radius: 8px !important;
        overflow: hidden !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
        background: white !important;
        height: auto !important;
        min-height: 200px !important;
        display: flex !important;
        flex-direction: column !important;
        margin: 0 !important;
        transition: transform 0.2s ease !important;
    }
    
    .news-card:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    }
    
    .news-img {
        width: 100% !important;
        height: 100px !important;
        object-fit: cover !important;
        border-radius: 0 !important;
    }
    
    .news-content {
        padding: 12px !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .news-date {
        font-size: 10px !important;
        color: #666 !important;
        margin-bottom: 6px !important;
    }
    
    .news-title {
        font-size: 13px !important;
        font-weight: 600 !important;
        margin-bottom: 8px !important;
        line-height: 1.3 !important;
        color: #192b9b !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    .news-desc {
        font-size: 11px !important;
        color: #777 !important;
        margin-bottom: 10px !important;
        line-height: 1.3 !important;
        flex: 1 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    .news-card .btn-outline-primary {
        font-size: 10px !important;
        padding: 5px 10px !important;
        border-width: 1px !important;
        margin-top: auto !important;
        align-self: flex-start !important;
    }
    
    .no-image-placeholder {
        height: 140px !important;
        background-color: #f8f9fa !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .no-image-placeholder i {
        font-size: 32px !important;
        color: #ccc !important;
    }
}

/* Seções "Descubra mais" e Carrosséis de Fabricantes */
@media (max-width: 767px) {
    .select2-container--default .select2-selection--single .select2-selection__rendered{
        font-size:12px!important;
    }
    .select2-container--default .select2-selection--single{
        padding: 0 15px 0 15px !important;
    }
    .manufacturers-section {
        margin: 15px 0 !important;
        padding: 0 10px !important;
    }
    
    .section-header {
        padding: 12px 15px !important;
        background: #192b9b !important;
        color: white !important;
        border-radius: 8px 8px 0 0 !important;
        margin-bottom: 0 !important;
    }
    
    .section-header h3 {
        font-size: 16px !important;
        margin: 0 !important;
        font-weight: 600 !important;
    }
    
    .section-body {
        padding: 15px !important;
        background: white !important;
        border-radius: 0 0 8px 8px !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
    }
    
    .manufacturers-carousel-container {
        padding: 0 20px !important;
        position: relative !important;
    }
    
    .manufacturers-swiper .manufacturer-item {
        width: 100px !important;
        height: 140px !important;
        padding: 10px !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
        margin: 5px !important;
    }
    
    .manufacturers-swiper .manufacturer-item img {
        width: 50px !important;
        height: 50px !important;
        object-fit: contain !important;
        margin-bottom: 8px !important;
    }
    
    .manufacturers-swiper .manufacturer-item span {
        font-size: 10px !important;
        font-weight: 600 !important;
        text-align: center !important;
        line-height: 1.2 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    .manufacturers-swiper .no-logo {
        width: 50px !important;
        height: 50px !important;
        font-size: 20px !important;
        border-radius: 50% !important;
        background-color: #f0f2ff !important;
        margin-bottom: 8px !important;
    }
    
    /* Botões de navegação do carrossel */
    .swiper-nav-btn {
        width: 30px !important;
        height: 30px !important;
        color: #192b9b !important;
        background: white !important;
        border-radius: 50% !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
        font-size: 12px !important;
    }
    
    .swiper-nav-btn::after {
        font-size: 12px !important;
    }
    
    .swiper-nav-btn:hover {
        background: #192b9b !important;
        color: white !important;
    }
    
    /* Paginação do carrossel */
    .manufacturers-pagination .swiper-pagination-bullet {
        width: 6px !important;
        height: 6px !important;
        margin: 0 3px !important;
    }
    
    .manufacturers-pagination .swiper-pagination-bullet-active {
        width: 12px !important;
        border-radius: 3px !important;
    }
}

/* Tablets - Melhorias para seções especiais */
@media (min-width: 768px) and (max-width: 991px) {
    
    /* Gold featured ads - 3 cards por linha */
    .featured-section .featured-body .row.row-cols-sm-2.row-cols-lg-4 {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px !important;
    }
    
    /* Notícias - 2 cards por linha em tablets */
    .featured-section .row.row-cols-md-2 {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    /* Descubra mais - 4 cards por linha */
    .featured-section .row.row-cols-md-2.row-cols-lg-4 {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 12px !important;
    }
    
    .news-card .card-img-wrapper {
        height: 180px !important;
    }
    
    .news-title {
        font-size: 16px !important;
    }
    
    .manufacturers-swiper .manufacturer-item {
        width: 140px !important;
        height: 140px !important;
    }
    
    .manufacturers-swiper .manufacturer-item img {
        width: 60px !important;
        height: 60px !important;
    }
    
    .manufacturers-swiper .manufacturer-item span {
        font-size: 12px !important;
    }
}

/* Desktop - Manter comportamento original */
@media (min-width: 992px) {
    /* Reverter gold featured ads para layout Bootstrap original */
    .featured-section .featured-body .row.row-cols-sm-2.row-cols-lg-4 {
        display: flex !important;
        flex-wrap: wrap !important;
        margin-left: -0.75rem !important;
        margin-right: -0.75rem !important;
    }
    
    .featured-section .featured-body .row.row-cols-sm-2.row-cols-lg-4 .col {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* Reverter notícias para layout Bootstrap original */
    .featured-section .row.row-cols-md-2 {
        display: flex !important;
        flex-wrap: wrap !important;
    }
    
    /* Reverter Descubra mais para layout Bootstrap original */
    .featured-section .row.row-cols-md-2.row-cols-lg-4 {
        display: flex !important;
        flex-wrap: wrap !important;
    }
    
    /* Reverter lojas para layout Bootstrap original */
    .featured-section .row.row-cols-sm-2.row-cols-md-3.row-cols-lg-4 {
        display: flex !important;
        flex-wrap: wrap !important;
    }
    
    .news-card .card-img-wrapper {
        height: 167px !important;
    }
    
    .manufacturers-swiper .manufacturer-item {
        width: 140px !important;
        height: 160px !important;
    }
}

/* Melhorias específicas para a seção de notícias na home */
@media (max-width: 767px) {
    .news-section {
        margin: 15px 0 !important;
        padding: 0 10px !important;
    }
    
    .news-section .section-header {
        background: #192b9b !important;
        color: white !important;
        padding: 12px 15px !important;
        border-radius: 8px 8px 0 0 !important;
    }
    
    .news-section .section-body {
        background: white !important;
        padding: 15px !important;
        border-radius: 0 0 8px 8px !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
    }
    
    /* Força layout de 2 colunas para notícias no mobile */
    .news-section .row.row-cols-md-2,
    .featured-section .row.row-cols-md-2 {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        margin: 0 !important;
        align-items: stretch !important; /* Garante altura igual */
    }
    
    /* Reset das classes Bootstrap para notícias */
    .news-section .row .col,
    .featured-section .row .col {
        width: auto !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
        flex: none !important;
        display: flex !important; /* Adiciona flex para stretch dos cards */
        align-items: stretch !important; /* Cards ocupam altura total */
    }
    
    /* Garante que todos os news cards tenham a mesma altura */
    .featured-section .row.row-cols-md-2 .news-card {
        height: 100% !important; /* Ocupa toda altura do container pai */
        min-height: 260px !important; /* Altura mínima otimizada para melhor consistência */
        max-height: none !important; /* Remove limite máximo */
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Configuração da imagem das notícias para altura consistente */
    .featured-section .row.row-cols-md-2 .news-card .news-img {
        height: 100px !important; /* Altura fixa para imagens */
        object-fit: cover !important;
        flex-shrink: 0 !important; /* Impede que a imagem encolha */
    }
    
    /* Garante que o conteúdo das notícias se distribua uniformemente */
    .featured-section .row.row-cols-md-2 .news-card .news-content {
        flex: 1 !important; /* Expandir para ocupar espaço disponível */
        display: flex !important;
        flex-direction: column !important;
        padding: 12px !important;
    }
    
    /* Data da notícia com altura fixa */
    .featured-section .row.row-cols-md-2 .news-card .news-date {
        flex-shrink: 0 !important; /* Impede que a data encolha */
        font-size: 10px !important;
        color: #666 !important;
        margin-bottom: 6px !important;
    }
    
    /* Título da notícia com altura controlada */
    .featured-section .row.row-cols-md-2 .news-card .news-title {
        flex-shrink: 0 !important; /* Impede que o título encolha */
        font-size: 13px !important;
        font-weight: 600 !important;
        margin-bottom: 8px !important;
        line-height: 1.3 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important; /* Máximo 2 linhas para o título */
        line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    /* Força a descrição a ocupar o espaço disponível */
    .featured-section .row.row-cols-md-2 .news-card .news-desc {
        flex: 1 !important; /* Permite que a descrição ocupe espaço disponível */
        font-size: 11px !important;
        color: #777 !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important; /* Máximo 3 linhas para descrição */
        line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    /* Alinha o botão na parte inferior com altura fixa */
    .featured-section .row.row-cols-md-2 .news-card .btn-outline-primary {
        margin-top: auto !important; /* Empurra o botão para baixo */
        align-self: flex-start !important; /* Mantém alinhamento à esquerda */
        flex-shrink: 0 !important; /* Impede que o botão encolha */
        font-size: 10px !important;
        padding: 5px 10px !important;
        border-width: 1px !important;
    }
}

/* Seção "Descubra mais" responsiva */
@media (max-width: 767px) {
    /* Força 2 cards por linha para a seção Descubra mais */
    .featured-section .row.row-cols-md-2.row-cols-lg-4 {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        margin: 0 !important;
    }
    
    .featured-section .row.row-cols-md-2.row-cols-lg-4 .col {
        width: auto !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
        flex: none !important;
    }
    
    /* Ajustes específicos para service cards */
    .service-card {
        padding: 12px !important;
        border-radius: 8px !important;
        background: white !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
        text-align: center !important;
        height: auto !important;
        min-height: 150px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .service-icon {
        margin-bottom: 8px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        background: #f0f2ff !important;
    }
    
    .service-icon i {
        font-size: 20px !important;
        color: #192b9b !important;
    }
    
    .service-title {
        font-size: 12px !important;
        font-weight: 600 !important;
        margin-bottom: 6px !important;
        color: #192b9b !important;
        text-align: center !important;
        line-height: 1.2 !important;
    }
    
    .service-desc {
        font-size: 10px !important;
        color: #666 !important;
        line-height: 1.3 !important;
        margin: 0 !important;
        text-align: center !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}

/* Estados vazios responsivos */
@media (max-width: 767px) {
    .empty-state {
        padding: 20px 15px !important;
        text-align: center !important;
        background: #f8f9fa !important;
        border-radius: 8px !important;
        margin: 10px 0 !important;
    }
    
    .empty-state i {
        font-size: 28px !important;
        color: #ccc !important;
        margin-bottom: 8px !important;
    }
    
    .empty-state h4 {
        font-size: 14px !important;
        color: #666 !important;
        margin-bottom: 4px !important;
    }
    
    .empty-state p {
        font-size: 11px !important;
        color: #888 !important;
        margin: 0 !important;
    }
}

/* Garante stacking context explícito para o link do card */
.product-card > a {
    position: relative;
    z-index: 1;
}

/* Melhorias de performance */
.product-card * {
    box-sizing: border-box;
}

/* Otimização para telas muito pequenas (menos de 360px) */
@media (max-width: 359px) {
    .content-type-body {
        padding: 10px 5px !important;
    }
    
    .content-type-body .row {
        gap: 6px !important;
    }
    
    .card-img-wrapper {
        height: 100px !important;
    }
    
    .card-body {
        padding: 6px !important;
    }
    
    .card-title {
        font-size: 11px !important;
    }
    
    .card-info {
        font-size: 9px !important;
    }
    
    .card-info span {
        font-size: 9px !important;
    }
    
    .card-price {
        font-size: 12px !important;
    }
    
    .card-location {
        font-size: 8px !important;
    }
    
    .card-location span {
        font-size: 8px !important;
    }
    
    /* Ajustes para seções especiais em telas muito pequenas */
    .manufacturers-swiper .manufacturer-item {
        width: 80px !important;
        height: 100px !important;
        padding: 6px !important;
    }
    
    .manufacturers-swiper .manufacturer-item img {
        width: 40px !important;
        height: 40px !important;
    }
    
    .manufacturers-swiper .manufacturer-item span {
        font-size: 9px !important;
    }
    
    .news-title {
        font-size: 12px !important;
    }
    
    .news-desc {
        font-size: 10px !important;
    }
    
    .gold-badge {
        font-size: 8px !important;
        padding: 2px 6px !important;
    }
}

/* ========== ENTERPRISE/STORE CARDS (LOJAS) ========== */

/* Mobile - 2 cards per linha para lojas da home */
@media (max-width: 767px) {
    .featured-section .row.row-cols-sm-2.row-cols-md-3.row-cols-lg-4 {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        margin: 0 !important;
    }

    .featured-section .row.row-cols-sm-2.row-cols-md-3.row-cols-lg-4 .col {
        width: auto !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
        flex: none !important;
    }

    .enterprise-card {
        background: white !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
        overflow: hidden !important;
        margin: 0 !important;
        height: auto !important;
        min-height: 180px !important;
        transition: transform 0.2s ease !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .enterprise-card:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    }
    
    .enterprise-img {
        width: 100% !important;
        height: 140px !important;
        object-fit: cover !important;
        border-radius: 0 !important;
    }
    
    .enterprise-body {
        padding: 8px !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 3px !important;
    }
    
    .enterprise-title {
        font-size: 12px !important;
        font-weight: 600 !important;
        margin-bottom: 3px !important;
        color: #192b9b !important;
        line-height: 1.2 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 1 !important;
        line-clamp: 1 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    .enterprise-desc {
        font-size: 10px !important;
        color: #666 !important;
        line-height: 1.2 !important;
        margin-bottom: 4px !important;
        flex: 1 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    .enterprise-location {
        font-size: 9px !important;
        color: #888 !important;
        display: flex !important;
        align-items: center !important;
        line-height: 1.2 !important;
        margin-top: auto !important;
    }
    
    .enterprise-location i {
        margin-right: 3px !important;
        color: #192b9b !important;
        font-size: 8px !important;
        flex-shrink: 0 !important;
    }
    
    .enterprise-location span {
        display: -webkit-box !important;
        -webkit-line-clamp: 1 !important;
        line-clamp: 1 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        font-size: 9px !important;
    }
}

/* Tablets - 3 cards por linha para lojas */
@media (min-width: 768px) and (max-width: 991px) {
    .featured-section .row.row-cols-sm-2.row-cols-md-3.row-cols-lg-4 {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px !important;
        margin: 0 !important;
    }

    .featured-section .row.row-cols-sm-2.row-cols-md-3.row-cols-lg-4 .col {
        width: auto !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
        flex: none !important;
    }
    
    .enterprise-img {
        height: 140px !important;
    }
    
    .enterprise-title {
        font-size: 14px !important;
    }
    
    .enterprise-desc {
        font-size: 12px !important;
    }
    
    .enterprise-location {
        font-size: 11px !important;
    }
}

/* ========== LOJAS OFICIAIS (OFFICIAL STORES) ========== */

/* Mobile - 2 cards por linha para lojas oficiais */
@media (max-width: 767px) {
    .official-stores-section .official-body {
        padding: 0 5px !important;
    }
    
    .official-stores-section .row.row-cols-sm-2.row-cols-md-3.row-cols-lg-4 {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        margin: 0 !important;
    }

    .official-stores-section .row.row-cols-sm-2.row-cols-md-3.row-cols-lg-4 .col {
        width: auto !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
        flex: none !important;
    }
    
    .official-store-card {
        border-radius: 8px !important;
        overflow: hidden !important;
        height: 100% !important;
    }
    
    .store-logo-wrapper {
        height: 140px !important;
    }
    
    .store-logo {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    
    .store-info h4 {
        font-size: 12px !important;
        margin-bottom: 4px !important;
    }
    
    .store-info p {
        font-size: 10px !important;
        margin-bottom: 6px !important;
    }
    
    .store-stats {
        font-size: 9px !important;
        margin-bottom: 8px !important;
    }
    
    .store-btn {
        font-size: 10px !important;
        padding: 6px 8px !important;
    }
}

/* Tablets - 3 cards por linha para lojas oficiais */
@media (min-width: 768px) and (max-width: 991px) {
    .official-stores-section .row.row-cols-sm-2.row-cols-md-3.row-cols-lg-4 {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px !important;
        margin: 0 !important;
    }

    .official-stores-section .row.row-cols-sm-2.row-cols-md-3.row-cols-lg-4 .col {
        width: auto !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
        flex: none !important;
    }
    
    .store-logo-wrapper {
        height: 140px !important;
    }
    
    .store-info h4 {
        font-size: 14px !important;
    }
    
    .store-info p {
        font-size: 12px !important;
    }
    
    .store-stats {
        font-size: 11px !important;
    }
}

/* Desktop - Manter comportamento Bootstrap original para lojas oficiais */
@media (min-width: 992px) {
    .official-stores-section .row.row-cols-sm-2.row-cols-md-3.row-cols-lg-4 {
        display: flex !important;
        flex-wrap: wrap !important;
    }
}

/* Para páginas específicas de enterprise list (se houver) */
@media (max-width: 767px) {
    .enterprise-list-container .row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        margin: 0 !important;
    }

    .enterprise-list-container .row .col-12,
    .enterprise-list-container .row .col-sm-6,
    .enterprise-list-container .row .col-md-4,
    .enterprise-list-container .row .col-lg-3 {
        width: auto !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
        flex: none !important;
    }
}

/* ========== PÁGINA DE BUSCA (SEARCH) ========== */

/* Mobile - 2 cards por linha para página de busca */
@media (max-width: 767px) {
    /* Container da área de busca */
    .content-search-body {
        padding: 15px 10px !important;
    }
    
    /* Grid layout para 2 cards por linha na busca */
    .content-search-body .row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        margin: 0 !important;
    }
    
    /* Reset das classes Bootstrap que interferem na busca */
    .content-search-body .row .col {
        width: auto !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
        flex: none !important;
    }
    
    /* Específico para row-cols-sm-2 row-cols-lg-3 na busca */
    .content-search-body .row.row-cols-sm-2.row-cols-lg-3 {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        margin: 0 !important;
    }
    
    .content-search-body .row.row-cols-sm-2.row-cols-lg-3 .col {
        width: auto !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
        flex: none !important;
    }
}

/* Tablets - 3 cards por linha para página de busca */
@media (min-width: 768px) and (max-width: 991px) {
    .content-search-body .row {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px !important;
        margin: 0 !important;
    }
    
    .content-search-body .row .col {
        width: auto !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
        flex: none !important;
    }
}

/* Desktop - Manter comportamento Bootstrap original para busca */
@media (min-width: 992px) {
    .content-search-body .row {
        display: flex !important;
        flex-wrap: wrap !important;
        margin-left: -0.75rem !important;
        margin-right: -0.75rem !important;
        gap: 0 !important;
    }
    
    .content-search-body .row .col {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
        margin-bottom: 1.5rem !important;
    }
}

/* ========== LAYOUT DOS FILTROS RESPONSIVOS ========== */

/* Manter layout em colunas para filtros no mobile, mesmo comportamento do desktop */
@media (max-width: 767px) {
    /* Preserva o comportamento flexbox do desktop */
    .filter-row {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 12px !important; /* Reduz gap para mobile */
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* Ajusta colunas para mobile mantendo flexibilidade */
    .filter-col {
        flex: 1 !important;
        min-width: 150px !important; /* Reduz min-width para mobile */
        max-width: none !important;
        padding: 0 !important;
        margin-bottom: 15px !important;
    }
    
    /* Reduz padding do corpo do filtro no mobile */
    .filter-body {
        padding: 20px 15px 15px !important; /* Reduz padding para mobile */
    }
    
    /* Ajusta grupos de filtros */
    .filter-group {
        margin-bottom: 15px !important; /* Reduz margem no mobile */
    }
    
    /* Ajusta labels */
    .filter-group label {
        font-size: 14px !important;
        margin-bottom: 4px !important;
    }
    
    /* Ajusta selects e inputs */
    .filter-select {
        height: 42px !important; /* Reduz altura para mobile */
        font-size: 14px !important; /* Reduz fonte para mobile */
        padding: 0 12px 0 30px !important; /* Ajusta padding para mobile */
    }
    
    /* Ajusta ícones */
    .filter-icon {
        left: 12px !important;
        top: 32px !important; /* Ajusta posição para nova altura */
        font-size: 14px !important;
    }
    
    /* Ajusta caixa de busca */
    .search-box {
        margin-top: 12px !important;
    }
    
    /* Ajusta input de busca */
    .search-input-wrap {
        padding-left: 12px !important;
    }
    
    /* Responsividade adicional para telas muito pequenas */
    @media (max-width: 480px) {
        .filter-col {
            min-width: 140px !important; /* Ainda menor para telas muito pequenas */
        }
        
        .filter-body {
            padding: 15px 10px 10px !important;
        }
        
        .filter-row {
            gap: 8px !important;
        }
    }
}

/* ========== ENTERPRISE PAGE (PÁGINA DA EMPRESA) ========== */

/* Mobile - 2 cards por linha para página da empresa */
@media (max-width: 767px) {
    /* Container da área de conteúdo da empresa */
    .content-type-body {
        padding: 15px 0px !important;
    }
    
    /* Grid layout para 2 cards por linha na página da empresa */
    .content-type-body .row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        margin: 0 !important;
    }

    /* Reset das classes Bootstrap que interferem na empresa */
    .content-type-body .row .col-12,
    .content-type-body .row .col-sm-6,
    .content-type-body .row .col-md-4,
    .content-type-body .row .col-lg-3,
    .content-type-body .row .col {
        width: auto !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
        flex: none !important;
    }
    
    /* Específico para row-cols-sm-2 row-cols-md-3 row-cols-lg-4 na empresa */
    .content-type-body .row.row-cols-sm-2.row-cols-md-3.row-cols-lg-4 {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        margin: 0 !important;
    }
    
    .content-type-body .row.row-cols-sm-2.row-cols-md-3.row-cols-lg-4 .col {
        width: auto !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
        flex: none !important;
    }

    /* Cards de produtos da empresa */
    .content-type-body .product-card {
        height: auto !important;
        margin: 0 !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
        overflow: hidden !important;
        background: white !important;
        transition: transform 0.2s ease !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .content-type-body .product-card:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    }
    
    /* Imagem do card da empresa */
    .content-type-body .card-img-wrapper {
        position: relative !important;
        overflow: hidden !important;
        height: 140px !important;
    }
    
    .content-type-body .card-img-top {
        width: 100% !important;
        height: 140px !important;
        object-fit: cover !important;
    }
    
    /* Badge do card da empresa */
    .content-type-body .card-badge {
        position: absolute !important;
        top: 6px !important;
        right: 6px !important;
        background-color: #192b9b !important;
        color: white !important;
        padding: 3px 6px !important;
        border-radius: 4px !important;
        font-size: 10px !important;
        font-weight: 600 !important;
    }
    
    /* Corpo do card da empresa */
    .content-type-body .card-body {
        padding: 12px !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Título do card da empresa */
    .content-type-body .card-title {
        font-size: 13px !important;
        font-weight: 700 !important;
        margin-bottom: 6px !important;
        color: #192b9b !important;
        line-height: 1.2 !important;
    }
    
    /* Informações do card da empresa */
    .content-type-body .card-info {
        margin-bottom: 3px !important;
        color: #6c757d !important;
        display: flex !important;
        align-items: center !important;
        font-size: 11px !important;
    }
    
    .content-type-body .card-info i {
        width: 14px !important;
        margin-right: 4px !important;
        color: #192b9b !important;
        font-size: 10px !important;
    }
    
    /* Preço do card da empresa */
    .content-type-body .card-price {
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #192b9b !important;
        margin: 8px 0 6px !important;
    }
    
    /* Localização do card da empresa */
    .content-type-body .card-location {
        font-size: 12px !important;
        color: #6c757d !important;
        margin-top: auto !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .content-type-body .card-location i {
        margin-right: 9px !important;
        color: #192b9b !important;
        font-size: 9px !important;
    }
}

/* Tablets - 3 cards por linha para página da empresa */
@media (min-width: 768px) and (max-width: 991px) {
    .content-type-body .row {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px !important;
        margin: 0 !important;
    }
    
    .content-type-body .row .col {
        width: auto !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
        flex: none !important;
    }
    
    .content-type-body .row.row-cols-sm-2.row-cols-md-3.row-cols-lg-4 {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px !important;
        margin: 0 !important;
    }

    .content-type-body .row.row-cols-sm-2.row-cols-md-3.row-cols-lg-4 .col {
        width: auto !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
        flex: none !important;
    }
    
    .content-type-body .card-img-top {
        height: 150px !important;
    }
    
    .content-type-body .card-img-wrapper {
        height: 150px !important;
    }
    
    .content-type-body .card-title {
        font-size: 15px !important;
    }
    
    .content-type-body .card-info {
        font-size: 12px !important;
    }
    
    .content-type-body .card-price {
        font-size: 16px !important;
    }
    
    .content-type-body .card-location {
        font-size: 11px !important;
    }
}

/* Desktop - Manter comportamento Bootstrap original para página da empresa */
@media (min-width: 992px) {
    .content-type-body .row {
        display: flex !important;
        flex-wrap: wrap !important;
        margin-left: -0.75rem !important;
        margin-right: -0.75rem !important;
        gap: 0 !important;
    }

    .content-type-body .row .col {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
        margin-bottom: 1.5rem !important;
    }
}

/* ========== MOBILE HOME LAYOUT V2 ========== */

/* Hide original header on home mobile */
@media (max-width: 991.98px) {
    .home-page .header-container,
    .home-page .header-wrapper,
    .home-page header:not(.mob-header):not(nav) {
        display: none !important;
    }
}

/* ---------- Mobile Header ---------- */
.mob-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: #192b9b;
    padding: 18px 16px 16px;
}

.mob-header__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mob-header__brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mob-header__brand img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.mob-header__logo-icon {
    background: #FFC107;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mob-header__logo-icon i {
    color: #192b9b;
    font-size: 18px;
}

.mob-header__title {
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.1;
}

.mob-header__subtitle {
    color: #FFC107;
    font-size: 12px;
    font-weight: 400;
}

.mob-header__actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mob-header__btn {
    background: none;
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    position: relative;
    cursor: pointer;
    transition: background 0.2s;
}

.mob-header__btn:hover {
    background: rgba(255,255,255,0.1);
}

.mob-header__notif-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid #192b9b;
}

.mob-header__search {
    margin-top: 14px;
    position: relative;
}

.mob-header__search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.mob-header__search-input {
    width: 100%;
    background: rgba(255,255,255,0.12);
    border: none;
    border-radius: 12px;
    padding: 12px 16px 12px 40px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: box-shadow 0.2s;
}

.mob-header__search-input::placeholder {
    color: rgba(255,255,255,0.6);
}

.mob-header__search-input:focus {
    box-shadow: 0 0 0 2px #FFC107;
}

/* ---------- Hero Banner ---------- */
.mob-hero {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.mob-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mob-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    z-index: 2;
    pointer-events: none;
}

.mob-hero__badge {
    background: #FFC107;
    color: #192b9b;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    width: fit-content;
    margin-bottom: 8px;
}

.mob-hero__title {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 4px;
    line-height: 1.2;
}

.mob-hero__text {
    color: #e5e7eb;
    font-size: 13px;
    margin: 0;
}

/* ---------- Categorias ---------- */
.mob-categories {
    padding: 20px 16px 0;
}

.mob-categories__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.mob-categories__title {
    font-size: 17px;
    font-weight: 700;
    color: #111;
    margin: 0;
}

.mob-categories__link {
    font-size: 13px;
    font-weight: 600;
    color: #192b9b;
    text-decoration: none;
}

.mob-categories__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    text-align: center;
}

.mob-categories__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.mob-categories__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: border-color 0.2s, transform 0.2s;
}

.mob-categories__item:hover .mob-categories__icon {
    border-color: #192b9b;
    transform: scale(1.05);
}

.mob-categories__icon i {
    font-size: 22px;
    color: #192b9b;
}

.mob-categories__item:hover .mob-categories__icon i {
    color: #192b9b;
}

.mob-categories__name {
    font-size: 11px;
    font-weight: 500;
    color: #6b7280;
}

/* ---------- Filter Pills ---------- */
.mob-filter-pills {
    padding: 18px 0 0 16px;
    overflow: hidden;
}

.mob-filter-pills__scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-right: 16px;
    padding-bottom: 4px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.mob-filter-pills__scroll::-webkit-scrollbar {
    display: none;
}

.mob-filter-pills__btn {
    flex-shrink: 0;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #374151;
    transition: background 0.2s, color 0.2s;
}

.mob-filter-pills__btn:hover {
    background: #f3f4f6;
    color: #111;
}

.mob-filter-pills__btn--primary {
    background: #192b9b;
    color: #fff;
    border-color: #192b9b;
}

.mob-filter-pills__btn--primary:hover {
    background: #15238a;
    color: #fff;
}

.mob-filter-pills__btn--primary i {
    margin-right: 4px;
}

/* ---------- Section Headers ---------- */
.mob-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
}

.mob-section-header__title {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin: 0;
    line-height: 1.2;
}

.mob-section-header__subtitle {
    font-size: 12px;
    color: #6b7280;
    margin: 2px 0 0;
}

.mob-section-header__link {
    font-size: 13px;
    font-weight: 600;
    color: #192b9b;
    text-decoration: none;
    white-space: nowrap;
    padding-top: 2px;
}

.mob-section-header__link i {
    font-size: 11px;
    margin-left: 2px;
}

/* ---------- Gold Section ---------- */
.mob-gold-section {
    padding: 24px 16px 0;
}

/* ---------- Type Section ---------- */
.mob-type-section {
    padding: 24px 16px 0;
}

/* ---------- Horizontal Card (mob-hcard) ---------- */
.mob-card-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mob-hcard {
    display: flex;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
    min-height: 164px;
    transition: box-shadow 0.2s;
}

.mob-hcard:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.mob-hcard__img-wrap {
    position: relative;
    width: 36%;
    flex-shrink: 0;
}

.mob-hcard__img {
    width: 100%;
    max-height:164px!important;
    height: 100%;
    object-fit: cover;
}

.mob-hcard__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.mob-hcard__badge--gold {
    background: #FFC107;
    color: #192b9b;
}

.mob-hcard__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 12px;
    min-width: 0;
}

.mob-hcard__make {
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.mob-hcard__model {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin: 2px 0 0;
    line-height: 1.2;
    word-break: break-word;
}

.mob-hcard__category {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

.mob-hcard__details {
    font-size: 11px;
    color: #6b7280;
    margin-top: 6px;
}

.mob-hcard__price {
    margin-top: auto;
    padding-top: 6px;
    font-size: 16px;
    font-weight: 700;
    color: #192b9b;
}

/* ---------- Empty State ---------- */
.mob-empty-state {
    text-align: center;
    padding: 30px 20px;
    color: #9ca3af;
}

.mob-empty-state i {
    font-size: 32px;
    margin-bottom: 8px;
    display: block;
}

.mob-empty-state p {
    font-size: 13px;
    margin: 0;
}

/* ---------- Bottom Navigation Bar ---------- */
.mob-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    padding: 6px 8px 10px;
    z-index: 1060;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.06);
}

.mob-bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    color: #9ca3af;
    font-size: 10px;
    font-weight: 500;
    padding: 4px 0;
    min-width: 50px;
    transition: color 0.2s;
}

.mob-bottom-nav__item i {
    font-size: 20px;
}

.mob-bottom-nav__item--active {
    color: #192b9b;
}

.mob-bottom-nav__item:hover {
    color: #192b9b;
}

.mob-bottom-nav__fab {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    margin-top: -28px;
    min-width: 60px;
}

.mob-bottom-nav__fab i {
    width: 52px;
    height: 52px;
    background: #192b9b;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(25,43,155,0.35);
    border: 3px solid #fff;
    transition: transform 0.2s, background 0.2s;
}

.mob-bottom-nav__fab:hover i {
    transform: scale(1.05);
    background: #15238a;
}

.mob-bottom-nav__fab span {
    font-size: 10px;
    font-weight: 700;
    color: #192b9b;
    margin-top: 2px;
}

/* Page wrapper padding for bottom nav */
@media (max-width: 991.98px) {
    body {
        padding-bottom: 70px;
    }
    .home-page .page-wrapper {
        padding-bottom: 70px;
    }
}

/* Hide bottom nav on desktop */
@media (min-width: 992px) {
    .mob-bottom-nav {
        display: none !important;
    }
}

/* ========== MOBILE SCROLL SECTIONS ========== */
/* ---------- Scroll Section Container ---------- */
.mob-scroll-section {
    padding: 24px 16px 0;
}

/* ---------- Horizontal Scroll Container ---------- */
.mob-hscroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.mob-hscroll::-webkit-scrollbar {
    display: none;
}

/* ---------- Manufacturer Card ---------- */
.mob-manufacturer-card {
    flex-shrink: 0;
    width: 90px;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mob-manufacturer-card__logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mob-manufacturer-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding:10%;
}

.mob-manufacturer-card__initial {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #192b9b;
}

.mob-manufacturer-card__name {
    font-size: 11px;
    font-weight: 500;
    color: #374151;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- Service Card ---------- */
.mob-service-card {
    flex-shrink: 0;
    width: 150px;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: box-shadow 0.2s;
}

.mob-service-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.mob-service-card__img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
}

.mob-service-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mob-service-card__title {
    font-size: 13px;
    font-weight: 700;
    color: #111;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mob-service-card__desc {
    font-size: 11px;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- Store Card ---------- */
.mob-store-card {
    flex-shrink: 0;
    width: 200px;
    height: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}

.mob-store-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.mob-store-card__img {
    height: 130px;
    width: 100%;
    overflow: hidden;
    background: #f3f4f6;
}

.mob-store-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mob-store-card__body {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.mob-store-card__name {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mob-store-card__desc {
    font-size: 11px;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
    min-height: calc(11px * 1.4 * 2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.mob-store-card__location {
    font-size: 11px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 4px;
}

.mob-store-card__location i {
    font-size: 10px;
}

/* ---------- News Card ---------- */
.mob-news-card {
    flex-shrink: 0;
    width: 220px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}

.mob-news-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.mob-news-card__img {
    height: 166px;
    width: 100%;
    overflow: hidden;
    background: #f3f4f6;
}

.mob-news-card__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mob-news-card__body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mob-news-card__date {
    font-size: 11px;
    color: #6b7280;
}

.mob-news-card__title {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mob-news-card__link {
    font-size: 12px;
    font-weight: 600;
    color: #192b9b;
    margin-top: 4px;
}

/* ========== MOBILE SEARCH PAGE ========== */
.mob-search-pills {
    padding: 16px 16px 0;
    overflow: hidden;
}
.mob-search-pills__scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}
.mob-search-pills__scroll::-webkit-scrollbar {
    display: none;
}
.mob-search-pills__btn {
    flex-shrink: 0;
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}
.mob-search-pills__btn--primary {
    background: #fff;
    color: #192b9b;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.mob-search-pills__tag {
    flex-shrink: 0;
    padding: 8px 12px;
    border-radius: 50px;
    font-size: 12px;
    background: #e8eaf6;
    color: #192b9b;
    white-space: nowrap;
}
.mob-search-results {
    padding: 16px;
}
.mob-search-results__header {
    margin-bottom: 14px;
}
.mob-search-results__count {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin: 0;
}
.mob-search-pagination {
    padding: 16px 0 0px;
    display: flex;
    justify-content: center;
}

/* ========== MOBILE FILTER SIDEBAR ========== */
.mob-filter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1070;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.mob-filter-overlay--active {
    opacity: 1;
    visibility: visible;
}

.mob-filter-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 85%;
    max-width: 320px;
    background: #fff;
    z-index: 1080;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.mob-filter-sidebar--open {
    transform: translateX(0);
}

.mob-filter-sidebar__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #192b9b;
    color: #fff;
    flex-shrink: 0;
}
.mob-filter-sidebar__title {
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mob-filter-sidebar__close {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
}

.mob-filter-sidebar__body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.mob-filter-section {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 16px;
    margin-bottom: 16px;
}
.mob-filter-section:last-child {
    border-bottom: none;
}
.mob-filter-section__title {
    font-size: 13px;
    font-weight: 700;
    color: #192b9b;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.mob-filter-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 4px;
    display: block;
}

.mob-filter-select, .mob-filter-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
    background: #f9fafb;
    margin-bottom: 10px;
    -webkit-appearance: none;
    appearance: none;
}
.mob-filter-select:focus, .mob-filter-input:focus {
    border-color: #192b9b;
    outline: none;
    box-shadow: 0 0 0 2px rgba(25,43,155,0.15);
}

.mob-filter-row {
    display: flex;
    gap: 8px;
    align-items: center;
}
.mob-filter-col {
    flex: 1;
}
.mob-filter-separator {
    font-size: 12px;
    color: #9ca3af;
    flex-shrink: 0;
}

.mob-filter-sidebar__footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 16px;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
}
.mob-filter-sidebar__apply {
    background: #192b9b;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.mob-filter-sidebar__clear {
    background: transparent;
    color: #192b9b;
    border: 1px solid #192b9b;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

/* Mobile Characteristics Accordion */
.mob-char-group {
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.mob-char-group-header {
    padding: 10px 12px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.mob-char-group-header i {
    color: #9ca3af;
    font-size: 12px;
    transition: transform 0.2s;
}

.mob-char-group-body {
    padding: 10px 12px;
    max-height: 200px;
    overflow-y: auto;
}

.mob-char-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.mob-char-checkbox {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
    border: 1px solid #d1d5db;
    border-radius: 4px;
}

.mob-char-label {
    font-size: 13px;
    color: #374151;
    cursor: pointer;
    flex: 1;
}

.mob-char-counter {
    background: #192b9b;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    margin-right: 6px;
}

/* Hide desktop elements on mobile / bottom nav on desktop */
@media (max-width: 991.98px) {
    .search-page .mob-bottom-nav {
        display: flex !important;
    }
}
@media (min-width: 992px) {
    .mob-filter-overlay, .mob-filter-sidebar {
        display: none !important;
    }
}

/* =================================================================
   FAVORITOS - Botão de coração nos cards
   ================================================================= */

/* Botão de favorito - mobile */
.btn-favorite-heart {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-favorite-heart i {
    font-size: 16px;
    color: #9ca3af;  /* cinza quando NÃO favoritado */
    transition: transform 0.2s ease, color 0.2s ease;
}

.btn-favorite-heart.favorited i {
    color: #ef4444;  /* vermelho quando favoritado */
}

.btn-favorite-heart:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
}

.btn-favorite-heart:active i {
    transform: scale(0.9);
}

/* Botão de favorito - desktop */
.btn-favorite-heart--desktop {
    width: 36px;
    height: 36px;
    top: 12px;
    right: 12px;
    left: auto;
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-favorite-heart--desktop i {
    font-size: 18px;
}

.btn-favorite-heart--desktop:hover {
    opacity: 1;
}

.btn-favorite-heart--desktop.favorited {
    opacity: 1;
}

/* Badge de contagem no bottom nav */
.mob-bottom-nav__badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
    line-height: 1.2;
}

/* ========== Desk Store Card (shared component) ========== */
.desk-stores__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.desk-store-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.25s, transform 0.25s;
}
.desk-store-card:hover {
    box-shadow: 0 14px 40px rgba(0,0,0,0.14);
    transform: translateY(-4px);
    color: inherit;
}
.desk-store-card__header {
    height: 72px;
    position: relative;
    flex-shrink: 0;
}
.desk-store-card__avatar {
    position: absolute;
    bottom: -28px;
    left: 20px;
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: #fff;
    border: 4px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.desk-store-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.desk-store-card__avatar-initials {
    font-size: 22px;
    font-weight: 700;
    color: #192b9b;
}
.desk-store-card__body {
    padding: 40px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.desk-store-card__name {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px 0;
    transition: color 0.2s;
}
.desk-store-card:hover .desk-store-card__name {
    color: #192b9b;
}
.desk-store-card__location {
    font-size: 12px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
}
.desk-store-card__desc {
    font-size: 13px;
    color: #4b5563;
    margin-bottom: 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.desk-store-card__footer {
    border-top: 1px solid #f0f0f0;
    padding-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.desk-store-card__badge {
    font-size: 7px!important;
    font-weight: 600;
    background: #dcfce7;
    color: #166534;
    padding: 4px 10px;
    border-radius: 6px;
}
.desk-store-card__link {
    font-size: 13px;
    font-weight: 500;
    color: #192b9b;
}

/* Desk Store Card — mobile adjustments */
@media (max-width: 991px) {
    .desk-stores__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .desk-store-card__header {
        height: 56px;
    }
    .desk-store-card__avatar {
        width: 44px;
        height: 44px;
        bottom: -22px;
        left: 14px;
    }
    .desk-store-card__body {
        padding: 30px 14px 14px;
    }
    .desk-store-card__name {
        font-size: 14px;
    }
    .desk-store-card__desc {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }
    .desk-store-card__location {
        font-size: 11px;
    }
    .desk-store-card__footer {
        padding-top: 10px;
    }
    .desk-store-card__badge {
        font-size: 7px!important;
        padding: 3px 8px;
    }
    .desk-store-card__link {
        font-size: 12px;
    }
}
