@import url('https://fonts.googleapis.com/css2?family=Jura:wght@300..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Rubik:ital,wght@0,300..900;1,300..900&family=Sora:wght@100..800&display=swap');

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Rubik, sans-serif;
}

html {
    scroll-behavior: smooth; /* Rolagem suave para âncoras */
}

/* Contêiner para centralizar o conteúdo */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Faixa de boas-vindas */
.welcome-banner {
    background-color: #0061C5;
    color: white;
    text-align: center;
    padding: 10px 0;
}

/* Parte principal do header */
.main-header {
    background-color: white;
    padding: 10px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

/* Links de navegação */
.nav-links {
    display: flex;
    gap: 15px;
}

.nav-links a {
    color: #0061C5;
    text-decoration: none;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* Ícone do menu hambúrguer */
.hamburger {
    display: none; /* Escondido por padrão */
    font-size: 24px;
    cursor: pointer;
}

/* Faixa de televendas e botão do WhatsApp */
.contact-banner {
    background-color: #f3f3f3;
    padding: 10px 0;
}

.contact-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.televendas p {
    color: #000;
}

.whatsapp-button a {
    display: flex;
    align-items: center;
    background-color: #e1f5dc;
    border: 1px solid #73c45f;
    color: #000;
    font-size: 14px;
    padding: 5px 15px;
    border-radius: 20px;
    text-decoration: none;
}

.whatsapp-button a img {
    height: 20px;
    margin-right: 10px;
}

.whatsapp-button a:hover {
    background-color: #ffffff;
}

/* Estilos gerais do footer */
li {
    list-style: none;
}

.footer {
    background-color: #f3f3f3;
    padding: 20px 0;
    margin-top: 40px;
}

.page-width {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer__content-top {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.footer-block {
    flex: 1;
    min-width: 200px;
}

.footer-block__heading {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #000;
}

.footer-block__details-content {
    font-size: 14px;
    color: #666;
}

.footer-block__details-content a {
    color: #666;
    text-decoration: none;
}

.footer-block__details-content a:hover {
    text-decoration: underline;
}

/* Centraliza o botão do WhatsApp no footer */
.button-contact {
    display: flex;
    align-items: center;
    justify-content: center; /* Centraliza o conteúdo do botão */
    background-color: #e1f5dc;
    border: 1px solid #73c45f;
    color: #000;
    font-size: 14px;
    padding: 5px 15px;
    border-radius: 20px;
    text-decoration: none;
    margin: 10px auto; /* Centraliza o botão horizontalmente */
    max-width: 275px; /* Largura máxima menor */
}

.button-contact img {
    height: 20px;
    margin-right: 10px;
}

.button-contact:hover {
    background-color: #ffffff;
    text-decoration: none;
}

/* Estilos das redes sociais */
.list-social {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.list-social img {
    height: 24px;
}

/* Estilos para o iframe do Google Maps */
.footer-block iframe {
    border-radius: 10px; /* Bordas arredondadas */
    margin-top: 10px; /* Espaçamento acima do mapa */
    max-width: 275px;
}

/* Rodapé legal */
.footer__content-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 12px;
    color: #666;
}

.copyright__content {
    margin-bottom: 10px;
}

.icon-detail-icon img {
    height: 10px;
}

/* Estilos da seção "Sobre a Marca" */
.about-brand {
    padding: 40px 0;
    background-color: #fff; /* Fundo branco */
}

.about-brand__content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.about-brand__text {
    flex: 1;
    min-width: 300px;
}

.about-brand__text h2 {
    font-size: 24px;
    color: #0061C5;
    margin-bottom: 20px;
    font-weight: 400;
}

.about-brand__text p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.about-brand__images {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.about-brand__images img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Estilos da seção de produtos mais vendidos */
.featured-products {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.featured-products h2 {
    text-align: center;
    font-size: 28px;
    color: #0061C5;
    font-weight: 400;
    margin-bottom: 30px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.product-card {
    background-color: #fff; 
    border-radius: 10px;
    padding: 20px;
    text-align: center; 
}

.product-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 18px;
    color: #000;
    margin-bottom: 10px;
    font-weight: 400;
}

.product-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.btn-primary {
    display: block;
    width: fit-content;
    margin: 0 auto;
    background-color: #0061C5;
    color: #fff;
    padding: 10px 30px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 16px;
}

.btn-primary:hover {
    background-color: #0071e2;
}

/* Ajustes para telas menores */
@media (max-width: 768px) {
    .about-brand__content {
        flex-direction: column;
    }

    .about-brand__images {
        grid-template-columns: 1fr; /* Uma coluna em telas pequenas */
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .footer__content-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-block {
        width: 100%;
        margin-bottom: 20px;
    }

    .button-contact {
        justify-content: center;
    }

    /* Centraliza os ícones das redes sociais */
    .list-social {
        justify-content: center;
    }
}

/* Estilos para telas menores que 600px */
@media (max-width: 600px) {
    /* Esconde os links e mostra o ícone do menu hambúrguer */
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: white;
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
        padding: 10px 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block; /* Mostra o ícone do menu hambúrguer */
    }

    /* Reorganiza a faixa de contato */
    .contact-banner .container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
    }
}

/* Seção de Produtos (Página de Produtos) */
.products-page {
    padding: 40px 0;
    background-color: #fff;
}

.products-page h2 {
    text-align: center;
    font-size: 28px;
    color: #0061C5;
    margin-bottom: 30px;
    font-weight: 400;
}

/* Container dos produtos e filtros */
.products-container {
    display: flex;
    gap: 20px;
}

/* Filtros */
.filters {
    flex: 1;
    max-width: 250px;
}

.filter-accordion {
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.filter-button {
    width: 100%;
    padding: 10px;
    text-align: left;
    background-color: #f9f9f9;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-button:hover {
    background-color: #f1f1f1;
}

.filter-panel {
    padding: 10px;
    display: none; /* Escondido por padrão */
}

.filter-panel ul {
    list-style: none;
    padding: 0;
}

.filter-panel li {
    margin: 5px 0;
}

.filter-panel input[type="checkbox"] {
    margin-right: 10px;
}

.badge {
    background-color: #ddd;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 12px;
    margin-left: 5px;
}

/* Grade de Produtos */
.products-grid {
    flex: 3;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

/* Quando há apenas um produto */
.products-grid:has(.product-card:only-of-type) {
    justify-content: start; /* Alinha o produto à esquerda */
}

.product-card {
    max-width: 390px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.product-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.product-card .btn {
    display: inline-block;
    background-color: #0061C5;
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.product-card .btn:hover {
    background-color: #004a99;
}

/* Estilos do Popup */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center; /* Centraliza horizontalmente */
    align-items: center; /* Centraliza verticalmente */
    padding-top: 20px; /* Espaçamento para evitar que o popup encoste nas bordas */
}

.popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    overflow-y: auto;
    max-width: 600px;
    position: relative;
    margin: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: auto; /* Centraliza o conteúdo */
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: #666;
    cursor: pointer;
}

.close-popup:hover {
    color: #000;
}

.popup-header {
    text-align: center;
    margin-bottom: 20px;
}

.popup-image {
    width: 100%;
    max-width: 200px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.popup-details {
    margin-top: 20px;
}

.popup-details p {
    margin: 10px 0;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

.popup-details strong {
    color: #0061C5;
    font-weight: 500;
}

.popup-actions {
    text-align: center;
    margin-top: 20px;
}

.popup-actions .btn-primary {
    background-color: #0061C5;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.popup-actions .btn-primary:hover {
    background-color: #004a99;
}

/* Estilo do botão Ver detalhes */
.details-button {
    background-color: #0061C5;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 10px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.details-button:hover {
    background-color: #004a99;
}

/* Responsividade */
@media (max-width: 768px) {
    .products-container {
        flex-direction: column; /* Em telas pequenas, filtros ficam acima */
    }

    .filters {
        max-width: 100%; /* Filtros ocupam a largura total */
    }

    /* Ajusta o alinhamento quando há apenas um produto */
    .products-grid:has(.product-card:only-of-type) {
        justify-content: center; /* Centraliza o produto único */
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        justify-content: center;
    }
        /* Centraliza os produtos em telas menores */
        .products-grid {
            display: flex; /* Muda para flexbox em telas menores */
            flex-wrap: wrap; /* Permite que os produtos quebrem para a próxima linha */
            justify-content: center; /* Centraliza os produtos */
            gap: 20px; /* Espaço entre os produtos */
        }
    
}