/* Estilos Gerais */
:root {
    --cor-primaria: #1a56db;
    --cor-secundaria: #f8f9fa;
    --cor-texto: #333;
    --cor-texto-secundario: #666;
    --cor-borda: #eee;
    --cor-whatsapp: #25D366;
    --cor-whatsapp-hover: #128C7E;
    --sombra-suave: 0 2px 10px rgba(0, 0, 0, 0.1);
    --borda-raio: 8px;
    --espacamento: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--cor-texto);
    background-color: #f8f9fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background-color: white;
    padding: 20px 0 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
    margin-bottom: 10px;
}

.logo img {
    height: 60px;
    width: auto;
}

.header-bar {
    height: 1px;
    background-color: var(--cor-primaria);
    margin-top: 10px;
}

/* Produtos */
.produtos {
    padding: 40px 0;
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.produto-card {
    background-color: white;
    border-radius: var(--borda-raio);
    overflow: hidden;
    box-shadow: var(--sombra-suave);
    transition: transform 0.3s ease;
}

.produto-card:hover {
    transform: translateY(-5px);
}

.produto-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.produto-imagem {
    height: 200px;
    overflow: hidden;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.produto-imagem img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.produto-info {
    padding: 15px;
}

.produto-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--cor-texto);
}

.produto-preco {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--cor-primaria);
}

/* Página de Produto */
.produto-detalhe {
    padding: 40px 0;
}

.produto-header {
    margin-bottom: 30px;
}

.voltar-link {
    display: inline-flex;
    align-items: center;
    color: var(--cor-primaria);
    text-decoration: none;
    margin-bottom: 15px;
    font-weight: 500;
}

.voltar-link i {
    margin-right: 5px;
}

.produto-header h1 {
    font-size: 2rem;
    color: var(--cor-texto);
}

.produto-info-detalhes {
    background-color: white;
    border-radius: var(--borda-raio);
    padding: 20px;
    box-shadow: var(--sombra-suave);
}

.tabela-tamanhos {
    margin-bottom: 30px;
}

.tabela-tamanhos h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--cor-texto);
}

.tabela-precos {
    width: 100%;
    border-collapse: collapse;
}

.tabela-precos th, .tabela-precos td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--cor-borda);
}

.tabela-precos th {
    background-color: var(--cor-secundaria);
    font-weight: 600;
}

.produto-preco-grande {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--cor-primaria);
    margin: 15px 0;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--cor-whatsapp);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-whatsapp i {
    margin-right: 8px;
}

.btn-whatsapp:hover {
    background-color: var(--cor-whatsapp-hover);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: #222;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo {
    text-align: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsividade */
@media (max-width: 768px) {
    .produtos-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .produto-imagem {
        height: 150px;
    }
    
    .produto-info h3 {
        font-size: 1rem;
    }
    
    .produto-preco {
        font-size: 1.1rem;
    }
    
    .produto-header h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .produtos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .produto-imagem {
        height: 120px;
    }
    
    .produto-info {
        padding: 10px;
    }
    
    .produto-info h3 {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }
    
    .produto-preco {
        font-size: 1rem;
    }
    
    .tabela-precos th, .tabela-precos td {
        padding: 8px 10px;
    }
}

/* Correção para os pontos do Swiper */
.swiper-pagination {
    position: absolute;
    bottom: 10px !important;
    z-index: 10;
    width: 100%;
    text-align: center;
    transition: 300ms opacity;
    transform: translate3d(0, 0, 0);
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
    background-color: #1a56db;
    opacity: 0.5;
    margin: 0 4px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* Garantir que os pontos não apareçam sobre a tabela */
.swiper-container {
    margin-bottom: 30px !important;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
}

.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
}
