html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-card {
    width: 100%;
    max-width: 1400px;
    margin: 10px auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0); /* Fundo transparente */
    box-shadow: none; /* Remove sombras */
    flex: 1 0 auto; /* Faz o conteúdo principal crescer e empurrar o footer para baixo */
}

.search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.search-bar input {
    flex: 1;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 4px;
    margin-bottom: 20px;
}

.search-bar select {
    width: 200px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    color: #495057;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23495057' d='M5.293 7.707a1 1 0 011.414 0L10 11l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0); /* Fundo transparente */
    box-shadow: none; /* Remove sombras */
}

.search-bar select:focus {
    outline: none; /* Remove a borda de foco padrão */
    box-shadow: none; /* Remove qualquer sombra que possa aparecer */
    border: none; /* Garante que não haja borda visível */
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.card-item {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 10px;
    overflow: hidden;
}

.card-item:hover {
    transform: scale(1.05);
}

.card-item .row {
    margin: 0; /* Remove margens adicionais */
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-item .col-md-8 {
    padding: 0; /* Remove qualquer espaçamento interno */
}

.card-item .col-md-4 img {
    display: block;
    margin: auto; /* Centraliza a imagem dentro da coluna */
}

.card-item img {
    width: auto; /* Permite que a largura da imagem se ajuste */
    max-height: 110px; /* Define uma altura máxima para evitar imagens grandes */
    margin: 0; /* Remove qualquer margem extra */
}

/* Estilização da Navbar */
.navbar {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.navbar .nav-link {
    color: #333 !important;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease-in-out;
    margin-left: 5px;
    margin-right: 5px;
}

.navbar .nav-link:hover, .navbar .nav-link-2:hover, .navbar .nav-link:focus, .navbar .nav-link-2:focus {
    color: black !important;
    transform: scale(1.1);
}

.navbar .nav-item img:hover, .navbar .nav-item img:focus {
    transform: scale(1.1);
}

/* Responsividade */
@media (max-width: 768px) {
    .navbar-nav {
        flex-direction: column;
        text-align: center;
    }

    .navbar-toggler {
        border: none;
    }
}

.whatsapp-icon {
    position: fixed;
    bottom: 60px;
    right: 15px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: pulse 1.5s infinite;
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-icon:hover {
    background-color: #20b456;
    transform: scale(1.1);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(37, 211, 102, 0.6);
    }
    50% {
        box-shadow: 0 0 20px rgba(37, 211, 102, 1);
    }
}

.footer {
    flex-shrink: 0; /* Footer não encolhe */
    background: #f8f9fa; /* só um exemplo de cor de fundo */
    padding: 10px 0;
    text-align: center;
    font-size: 14px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px -3px 8px;
    /* REMOVA position: fixed, bottom, left, width */
}

.badge {
    font-size: 12px; /* Reduz o tamanho da fonte */
    padding: 4px 8px; /* Ajusta o espaço interno */
    border-radius: 8px; /* Mantém o formato arredondado */
}

.main-card-image {
    width: 100%;
    max-width: 80%;

    object-fit: fill;
    object-position: center;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-link:hover {
    transform: scale(1.05);
}

.brand-text {
    font-size: 1.4rem; /* equivalente ao fs-4 */
    font-weight: bold;
}