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

body {
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #f8f8f8;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}





main {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.content {
    transition: margin-top 0.3s ease;
}

.product-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centraliza os itens horizontalmente */
    align-items: center;    /* Alinha os itens verticalmente */
    gap: 20px;              /* Espaço entre os elementos */
    width: 100%;
    margin-bottom: 20px;
    padding: 20px;
    background: white;
    border-radius: 8px;
 
}


.product-image {
    width: 400px; /* Largura fixa */
    height: 400px; /* Altura fixa */
    border-radius: 8px; /* Borda arredondada */
    object-fit: cover; /* Garante que a imagem se ajuste sem deformar */
    object-position: center; /* Centraliza a imagem */
}


.product-info {
    width: 100%;
    max-width: 500px;
    text-align: center;
    display: flex;          /* Habilita Flexbox */
    flex-direction: column; /* Alinha os itens em coluna */
    align-items: center;    /* Centraliza horizontalmente */
    justify-content: center; /* Centraliza verticalmente */
}


.product-title {
    color: #ff0059;
    font-size: 28px;
    margin-bottom: 10px;
}

.product-description {
    font-size: 18px;
    color: #000000;
    margin-bottom: 20px;
}

.product-price {
    font-size: 24px;
    font-weight: bold;
    color: #ff0059;
    margin-bottom: 20px;
}

.whatsapp-button {
    background-color: #25d366;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.whatsapp-button a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.product-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 100px;
    height: 100px;
    border-radius: 4px;
    border: 1px solid #ddd;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.thumbnail:hover {
    transform: scale(1.1);
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
}

/* Responsividade */
@media (max-width: 768px) {
    header {
        flex-wrap: nowrap;
    }

    .menu-btn {
        display: block;
    }

    .nav {
        display: none;
        flex-direction: column;
        background: #9b1b1b;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 10px;
    }
    .product-details {
        flex-direction: column; /* Empilha os elementos */
        align-items: center;    /* Centraliza os elementos verticalmente */
    }
    
    .product-image {
        width: 300px; /* Ajusta o tamanho da imagem */
        height: 300px; /* Mantém a proporção */
        margin: 0 auto; /* Centraliza no eixo horizontal */
        margin-bottom: 50px;
    }
    
    .nav a {
        padding: 10px;
        border-bottom: 1px solid white;
    }

    #menu.active {
        display: flex;
    }

    .product-details {
        flex-direction: column;
    }

    .product-info {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 24px;
    }

    .product-description {
        font-size: 16px;
    }

    .product-price {
        font-size: 20px;
    }

    .thumbnail {
        width: 80px;
        height: 80px;
    }
}
