/* Estilos gerais */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

Cabeçalho 
header {
    background-color: #fec601;
    color: white;
    /*display: flex;*/
    align-items: center;
    justify-content: space-between;
   /* padding: 10px 20px;*/
    position: sticky;
    top: 0;
    z-index: 1000;
}


/* Estilização geral da barra de filtros */
.filter-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

/* Estilos para os botões em telas grandes */
.desktop-filters {
    display: flex;
    gap: 10px;
}

.filter-btn {
    padding: 5px 10px;
    /*border: 2px solid #fec601;*/
    background: #fff;
    color: #5b5955;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}

.filter-btn:hover {
    background: #fec601;
    color: #212121;
}

.filter-btn.active {
    background: #fec601;
    color: #212121;
}

/* Filtro para telas pequenas */
.mobile-filters {
    display: none; /* Ocultar por padrão */
}

.mobile-filters select {
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 2px solid #fec601;
    background: white;
    color: #212121;
    font-weight: bold;
}

/* Responsividade: esconde um filtro e exibe o outro */
@media (max-width: 768px) {
    .desktop-filters { display: none !important; } /* Esconde os botões */
    .mobile-filters { display: block !important; } /* Garante que o select apareça */
}

@media (min-width: 769px) {
    .desktop-filters { display: flex !important; } /* Garante que os botões apareçam */
    .mobile-filters { display: none !important; } /* Esconde o select */
}
}

@media (max-width: 768px) {
    .social-icons a {
        width: 25px;
        height: 25px;
    }
}

/* Grid de produtos */
.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 20px;
}

.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    flex: 1 1 calc(25% - 20px);
    max-width: 250px;
    display: flex;
    flex-direction: column;
    height: auto; /* Ajuste automático para altura */
    min-height: 400px; /* Garante que o card tenha uma altura mínima */
    position: relative;
}

@media (max-width: 768px) {
    .card {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .card {
        flex: 1 1 100%;
    }
}

.titulo-principal {
    text-align: center;
    margin: 20px 10px;
}

.titulo-principal h1 {
    color: #333;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

@media (max-width: 768px) {
    .titulo-principal h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .titulo-principal h1 {
        font-size: 1.2rem;
    }
}

.card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    /*border-bottom: 1px solid #ddd;*/
    margin-top: 10px;
}

.card-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-grow: 1;
}

.card-title {
    font-size: 18px;
    color: black;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 3em;
    margin-bottom: 10px;
}

.card-title:hover {
    white-space: normal;
    overflow: visible;
    max-height: none;
}

.card-loja {
    font-size: 14px;
    color: #000;
    margin-top: 10px;
    margin-left: 10px;
}

.card-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: auto;
}

.card-price del {
    color: #999;
    margin-bottom: 5px;
    font-size: 14px;
}

.card-price span {
    font-size: 20px;
    color: #212121;
    font-weight: bold;
}

.card-buttons {
    margin-top: 10px;
    display: flex;
    flex-direction: column; /* Botões empilhados um em cima do outro */
    gap: 5px; /* Distância entre os botões */
}

.card-buttons a {
    text-align: center;
    padding: 8px; /* Diminui a altura dos botões */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    background-color: #212121;
    font-size: 14px; /* Diminui o tamanho da fonte dos botões */
}

.card-buttons a:hover {
    background-color: #fec601;
    color: black;
}

.card-buttons a.detalhes {
    background-color: #212121;
}

.card-buttons a.detalhes:hover {
    background-color: #fec601;
}
.card-tempo {
    font-size: 14px;
    color: #999;
    margin-top: 10px;
    margin-left: 10px;
}
.produto-cupom {
    font-size: 14px;
    color: black;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 3em;
    margin-bottom: 10px;
}
.cupom {
    background: #000000;
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-right: 5px;
}
/* Rodapé */
footer {
    background-color: #212121;
    color: white;
    padding: 50px 20px; /* Aumenta a altura do rodapé */
    font-size: 14px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover {
    color: #fec601;
    transform: translateY(-3px);
}

.footer-social {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.footer-social a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    color: #fec601;
    transform: translateY(-3px);
}

.footer-bottom {
    font-size: 12px;
    color: #888;
    margin-top: 20px;
}

/* Responsividade */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 40px 15px; /* Ajusta o padding para telas menores */
    }

    .footer-links {
        font-size: 12px;
    }

    .footer-social {
        font-size: 12px;
    }

    .footer-bottom {
        font-size: 10px;
    }
}




/* Estilos para cupom e características (mesma configuração visual) */
.caracteristicas, .cupons {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.caracteristicas div, .cupons div {
    background-color: #f0f0f0;
    color: black;
    font-size: 12px;
    padding: 5px 8px;
    border-radius: 5px;
    white-space: nowrap;
    display: inline-block;
    flex-shrink: 0;  /* Impede o encolhimento das características e cupons */
}

/* Ajustes de alinhamento para os cupons e características dentro de um mesmo container */
.cupom-container {
    font-size: 12px;
    justify-content: flex-start;
}

/* Estilo para o aviso */
#cookie-consent {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background-color: rgba(255, 255, 255, 0.8);
    color: #000;
    padding: 10px 20px;
    text-align: left;
    font-size: 14px;
    z-index: 9999;
    border-radius: 30px 30px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#cookie-consent a {
    color: #000;
    text-decoration: underline;
}

.cookie-btn {
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
    border: none;
}

#accept-cookies {
    background-color: #fec601;
    color: #000;
}

#reject-cookies {
    background-color: #a9a9a9;
    color: white;
}

@media (max-width: 768px) {
    #cookie-consent {
        font-size: 12px;
        flex-direction: column;
        text-align: center;
    }
    .cookie-btn {
        margin-top: 10px;
        width: 100%;
    }
    #reject-cookies {
        margin-top: 5px;
    }
}
