body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background-color: #fff;
    padding: 10px 20px;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: center; /* Centraliza a barra de pesquisa */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.search-bar {
    display: flex;
    flex-grow: 1;
    justify-content: center;
    margin: 0 20px;
}

.search-bar input {
    width: 100%;
    max-width: 400px;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
}

.search-bar button {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: -30px;
    padding: 0;
    color: #555;
}

.categories-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px 0;
    border-top: 1px solid #eee;
    margin-top: 10px;
}

.category-button {
    background-color: #f0f0f0;
    border: none;
    padding: 8px 15px;
    margin: 5px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.category-button:hover,
.category-button.active {
    background-color: #007bff;
    color: #fff;
}

main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.headline-section {
    background-color: #fff;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.headline-section h1 {
    font-size: 1.5em;
    color: #333;
    line-height: 1.6;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card img {
    max-width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #333;
}

.product-card .buy-button {
    background-color: #28a745; /* Cor chamativa - Verde */
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
    margin-top: 15px;
    text-decoration: none;
    display: inline-block; /* Para o padding funcionar corretamente */
}

.product-card .buy-button:hover {
    background-color: #218838;
}

.custom-footer-cta {
    background-color: #fff;
    padding: 30px;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.custom-footer-cta h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 10px;
}

.custom-footer-cta p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 20px;
}

.custom-footer-cta .custom-button {
    background-color: #007bff; /* Cor chamativa - Azul */
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.custom-footer-cta .custom-button:hover {
    background-color: #0056b3;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%; /* Transforma em círculo */
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none; /* Remove sublinhado do link */
}

.whatsapp-float i {
    color: #fff;
    font-size: 30px;
}

/* Responsividade */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .header-content {
        flex-direction: column;
    }

    .search-bar {
        margin: 10px 0;
    }

    .categories-menu {
        justify-content: flex-start;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float i {
        font-size: 25px;
    }
}


