/*
 * Tema Escuro para Header e Footer
 */
.bg-black {
    background-color: #000000 !important; /* !important garante que vai sobrescrever o Bootstrap */
}

/* Estilo para a caixa de resultados da autobusca */
#search-results {
    position: relative;
    /* Se a caixa de busca tiver um z-index, este precisa ser maior */
}

#search-results .list-group {
    position: absolute;
    z-index: 1000;
    width: 100%;
    max-height: 400px;
    overflow-y: auto;
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

#search-results .list-group-item {
    display: flex;
    align-items: center;
}

/*
 * Estilo para a seção de serviços na home
 */

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    width: 80px;
    background-color: #007bff; /* Cor primária do Bootstrap */
    color: #fff;
    border-radius: 50%; /* Deixa o fundo redondo */
    transition: all 0.3s ease;
}

/* Efeito ao passar o mouse sobre a coluna do serviço */
.col-lg-4:hover .service-icon {
    background-color: #0056b3; /* Um tom mais escuro da cor primária */
    transform: scale(1.1);
}

/*
 * Ícones Flutuantes
 */
.floating-cart {
    position: fixed;
    top: 150px;
    right: 20px;
    z-index: 1030; /* Abaixo de modais, mas acima do resto */
    background-color: #007bff;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.floating-cart:hover {
    background-color: #0056b3;
    color: #fff;
    transform: scale(1.1);
}

.floating-cart .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #dc3545; /* Vermelho */
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-social {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1030;
    display: flex;
    flex-direction: column;
}

.floating-social a {
    background-color: #c7c8c9;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    margin-top: 10px;
    transition: all 0.3s ease;
}

.floating-social a:hover {
    background-color: #007bff;
    transform: scale(1.1);
}

/*
 * Coloração Específica para Ícones de Mídias Sociais Flutuantes (por Nome)
 */

/* Facebook -> Azul */
.floating-social .social-facebook {
    background-color: #579df8; /* Cor oficial do Facebook */
}
.floating-social .social-facebook:hover {
    background-color: #1877F2; /* Cor oficial do Facebook */
}

/* Instagram -> Laranja/Gradiente */
.floating-social .social-instagram {
    background: #e49d51; 
    background: -moz-linear-gradient(45deg, #e49d51 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); 
    background: -webkit-linear-gradient(45deg, #e49d51 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
    background: linear-gradient(45deg, #e49d51 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e49d51', endColorstr='#bc1888',GradientType=1 );
}
.floating-social .social-instagram:hover {
    background: #f09433; 
    background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); 
    background: -webkit-linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f09433', endColorstr='#bc1888',GradientType=1 );
}

/* YouTube -> Vermelho */
.floating-social .social-youtube {
    background-color: #fc5c5c; /* Cor oficial do YouTube */
}
.floating-social .social-youtube:hover {
    background-color: #FF0000; /* Cor oficial do YouTube */
}

/* WhatsApp -> Verde */
.floating-social .social-whatsapp {
    background-color: #25D366; /* Cor oficial do WhatsApp */
}
.floating-social .social-whatsapp:hover {
    background-color: #25D366; /* Cor oficial do WhatsApp */
}

/*
 * Estilo para o Banner de Consentimento de Cookies
 */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #212529; /* Cor escura, combina com o rodapé */
    color: #f8f9fa; /* Texto claro */
    padding: 15px 0;
    z-index: 1050; /* Z-index alto para ficar sobre outros elementos */
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    font-size: 14px;
}

#cookie-consent-banner .cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Permite que os itens quebrem linha em telas pequenas */
    gap: 15px;
    max-width: 1200px; /* Largura máxima */
    margin: 0 auto;
    padding: 0 15px;
}

#cookie-consent-banner .cookie-text {
    margin: 0;
    flex-grow: 1; /* Faz o texto ocupar o espaço disponível */
}

#cookie-consent-banner .cookie-text a {
    color: #007bff; /* Link azul para destaque */
    text-decoration: underline;
}

#cookie-consent-banner .cookie-buttons {
    display: flex;
    gap: 10px; /* Espaço entre os botões */
    flex-shrink: 0; /* Impede que os botões encolham */
}