* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Para evitar problemas de box-sizing em diferentes navegadores */
}

/* Estilo de link ao passar o mouse */
.user-link:hover {
    text-decoration: underline;
}
.content {

    margin: 5px !important;
    padding: 5px !important;
}
/* Botão do WhatsApp */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366; /* Cor do WhatsApp */
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}


/* Banners em exibição */
.banners-show {
    width: 100%;
    margin: 0;
    padding: 0;
}

.banners-show .carousel,
.banners-show .carousel-inner,
.banners-show .carousel-item,
.banners-show img {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Banner principal */
.banners-show img {
    display: block;
    width: 100%;
    height: 400px; /* define a altura fixa visível */
    object-fit: cover; /* corta com elegância */
    object-position: center; /* centraliza o corte */
    border-radius: 0;
}

/* Altura responsiva em telas menores */
@media (max-width: 992px) {
    .banners-show img, .store-banner-img {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .banners-show img, .store-banner-img {
        height: 260px;
    }
}

@media (max-width: 480px) {
    .banners-show img, .store-banner-img {
        height: 200px;
    }
}
/* Card com imagem */
.card-img-top {
    /* object-fit: cover; Garante que a imagem cubra o espaço */
    width: 100%;
    height: 230px;
    max-height: 230px;  /* Limita a altura */
    border-radius: 10px; /* Bordas arredondadas para dar um efeito mais suave */
}

/* Media Queries para telas pequenas */

/* Para tablets e dispositivos com telas menores que 768px */
@media (max-width: 768px) {
    .carousel-image, .store-banner-img {
        width: 100%;
        height: 300px; /* Reduz a altura do banner */
        max-height: 300px;  /* Limita a altura máxima do banner */
    }
    
    .card-img-top {
        height: 200px;  /* Reduz a altura da imagem do card */
        max-height: 200px;  /* Limita a altura máxima */
    }

    .whatsapp-button {
        width: 50px;  /* Reduz o tamanho do botão */
        height: 50px;  /* Reduz o tamanho do botão */
        font-size: 20px;  /* Diminui o tamanho do ícone */
    }
}

/* Para dispositivos móveis (menos de 480px) */
@media (max-width: 480px) {
    .carousel-image, .store-banner-img {
        height: 250px;  /* Menor altura para mobile */
        max-height: 250px;  /* Limita ainda mais a altura do banner */
    }

    .card-img-top {
        height: 180px;  /* Ajusta a altura da imagem do card */
        max-height: 180px;  /* Limita a altura máxima da imagem */
    }

    .whatsapp-button {
        width: 45px;  /* Botão menor no mobile */
        height: 45px;  /* Botão menor no mobile */
        font-size: 18px;  /* Tamanho do ícone menor */
    }
}

/* Para telas muito grandes, ajusta o layout dos banners */
@media (min-width: 1200px) {
    .carousel-image {
        height: 600px;  /* Maior altura para telas grandes */
        max-height: 600px;  /* Limita a altura para telas grandes */
    }
}


@media (max-width: 768px) {
    #filters-container {
        display: flex;
        gap: 10px;
        flex-direction: column; /* Ensure elements stack vertically */
    }

}

#axb-search {
    margin-bottom: 10px;
    width: 100%;
    margin-top: 10px;
}

#axb-cities, #axb-states {
    width: 100%;
}

.dropdown-menu {
    position: absolute;
    z-index: 1000;
    background-color: #fff; /* Certifique-se de que o fundo está visível */
    border: 1px solid #ddd;
    max-height: 300px; /* Para evitar dropdowns muito longos */
    overflow-y: auto; /* Adicionar rolagem se necessário */
}

@media (max-width: 768px) {
    .dropdown-menu {
        width: 100%; /* O dropdown ocupa a largura do input */
        left: 0; /* Alinha à esquerda do container */
        right: 0; /* Garante alinhamento correto */
    }
}

.categories-div {

    padding: 4px;
    height: 180px;
    overflow-y: scroll;
    overflow-x: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;

}


.presentation-title {

    font-size: 24px;
    font-weight: 400;
    margin-bottom: 10px;

}

.card-img-top {

    background-color: rgb(250, 243, 243);
}

.card-body {

    background-color: white;
    padding: 16px;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    overflow: hidden;

}

.card-body.store > img {

    width: 80px;
    background: none;
    height: 120px;
    object-fit: contain;
    border-radius: 8px;
}

.card-title.store, .card-text.store {

    white-space: nowrap; /* Garante que o texto não quebre em várias linhas */
    overflow: hidden; /* Esconde o texto que ultrapassar os limites */
    text-overflow: ellipsis; /* Adiciona as reticências (...) no final do texto */
}




.store-banner-img {
    
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    background-size:contain;
    background-position: center;
    height: 200px;
}

@media (max-width: 600px) {
  .store-banner-img {
    height: 150px; /* apenas no mobile */
  }
}