/* Estilos específicos para o catálogo de produtos */

:root {
    --dark-blue: #020103;
    --orange: #FF9100;
    --yellow: #FFCC00;
    --white: #FEFEFE;
    --gray: #B3B3B3;
    --light-bg: #f8f9fa;
}

.catalogo-hero {
    background: linear-gradient(rgba(2, 1, 3, 0.9), rgba(2, 1, 3, 0.8)), url('fundo.png') no-repeat center center/cover;
    padding: 120px 0 60px;
    color: var(--white);
    text-align: center;
    margin-top: 70px;
}

.catalogo-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.catalogo-hero-content p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 30px;
}

.whatsapp-info {
    background: rgba(255, 145, 0, 0.1);
    border: 1px solid var(--orange);
    border-radius: 8px;
    padding: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.whatsapp-info i {
    color: #25D366;
    font-size: 1.5rem;
}

.catalogo-filtros {
    background-color: var(--white);
    padding: 30px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.filtros-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.filtro-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filtro-item label {
    font-weight: 600;
    color: var(--dark-blue);
}

.filtro-item select,
.filtro-item input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    min-width: 200px;
}

.filtro-item input {
    width: 300px;
}

.produtos-catalogo {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.produto-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.produto-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.produto-imagens {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.imagem-principal {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.produto-card:hover .imagem-principal {
    transform: scale(1.05);
}

.imagens-secundarias {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
}

.imagem-sec {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid var(--white);
    transition: transform 0.3s;
}

.imagem-sec:hover {
    transform: scale(1.1);
}

.produto-info {
    padding: 25px;
}

.produto-info h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-blue);
    font-weight: 600;
    min-height: 60px;
}

.precos {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.preco-promo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--orange);
}

.preco-original {
    font-size: 1.1rem;
    color: var(--gray);
    text-decoration: line-through;
}

.desconto {
    background-color: var(--orange);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
}

.produto-descricao {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.btn-comprar {
    display: block;
    width: 100%;
    background-color: #25D366;
    color: var(--white);
    text-align: center;
    padding: 12px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-comprar:hover {
    background-color: #1da851;
}

.btn-comprar i {
    margin-right: 8px;
}

.whatsapp-info-section {
    padding: 60px 0;
    background-color: var(--dark-blue);
}

.whatsapp-box {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    color: var(--white);
}

.whatsapp-icon {
    font-size: 4rem;
    color: #25D366;
    min-width: 100px;
    text-align: center;
}

.whatsapp-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--white);
}

.whatsapp-content p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.whatsapp-content .btn {
    background-color: #25D366;
    margin-top: 15px;
}

.whatsapp-content .btn:hover {
    background-color: #1da851;
}

/* Modal para imagens */
.modal-image {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s;
}

.modal-image-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal-image-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.close-modal:hover {
    color: var(--orange);
}

.image-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 15px;
    border-radius: 20px;
}

/* Responsividade */
@media (max-width: 768px) {
    .catalogo-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .filtros-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filtro-item {
        width: 100%;
    }
    
    .filtro-item input {
        width: 100%;
    }
    
    .produtos-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-box {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .whatsapp-icon {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .produto-info h3 {
        font-size: 1.1rem;
        min-height: auto;
    }
    
    .preco-promo {
        font-size: 1.3rem;
    }
    
    .preco-original {
        font-size: 1rem;
    }
}