/* Estilos para a página de detalhes do produto */

/* Body */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Cabeçalho */
/*header {
    background-color: #fec601;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo img {
    height: auto;
    max-width: 100%;
    width: auto;
}

header .social-icons {
    display: flex;
    gap: 10px;
}

header .social-icons a {
    display: inline-block;
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

header .social-icons a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

header .social-icons a:hover {
    transform: scale(1.2);
    filter: brightness(1.2);
}*/

/* Título e link para a página principal */
.titulo-principal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.titulo-principal h1 {
    font-size: 12px;
    color: #333;
    margin: 0;
}

.link-voltar {
    font-size: 12px;
    color: #212121;
    font-weight: bold;
    margin-left: 20px;
    text-decoration: none;
}

.link-voltar:hover {
    text-decoration: underline;
}

/* Main */
main {
    max-width: 1200px;
    margin: 20px auto;
    background-color: white;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}
.produto-destaque .destaque {
    background-color: #212121;
    color: white;
    padding: 3px 8px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
}
.produto-detalhes {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.produto-titulo .destaque {
    background-color: #212121;
    color: white;
    padding: 1px 8px;
    border-radius: 5px;
    font-weight: bold;
}
.produto-titulo h2 {
    background-color: #fff;
    color: #000;
    font-weight: bold;
    margin-bottom: 5px;
}
.produto-tempo {
    color: #8f8f8c;
    font-size: 12px;
    margin-top: 5px;
    margin-bottom: 20px;
}
/* Imagem do produto */
.produto-imagem {
    flex: 0 0 30%;
    max-width: 300px;
    margin-bottom: 20px;
}

.produto-imagem img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 10px;
    margin-top: 10px;
}

/* Informações do produto */
.produto-infos {
    flex: 1 1 60%;
    max-width: 900px;
    margin-left: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

/* Cupom */
.produto-cupom {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.produto-cupom strong {
    font-weight: normal;
}

.produto-cupom .cupom {
    background-color: #000;
    color: white;
    padding: 4px 5px;
    border-radius: 5px;
    font-weight: bold;
}

/* Características */
.produto-caracteristicas {
    margin-top: 20px;
}

.produto-caracteristicas .caracteristicas-lista {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.produto-caracteristicas .caracteristica-item {
    background-color: #ddd;
    color: #333;
    padding: 5px 15px;
    /*border-radius: 20px;*/
    font-size: 14px;
    /*font-weight: bold;*/
    display: inline-block;
    text-align: center;
}

/* Preço */
.produto-preco {
    margin-top: 20px;
    font-size: 24px;
    text-align: left;
}

.produto-preco s {
    font-size: 16px;
    color: #888;
    display: block;
    margin-bottom: 5px;
}

.produto-preco strong {
    color: #212121;
    font-size: 26px;
}
.parcelamento-detalhes {
    font-size: 14px;
    margin-top: 5px;
}
/* Botão "Aproveitar a promoção" */
.produto-botao .botao-comprar {
    display: inline-block;
    background-color: #fec601;
    color: #000;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    margin-top: 10px;
    transition: background-color 0.3s;
    width: auto;
}

.produto-botao .botao-comprar:hover {
    background-color: #e5a900;
}

.produto-aviso {
    margin-top: 20px;
    font-size: 12px;
    color: #8f8f8c;
}
/* Rodapé */
footer {
    background-color: #212121;
    color: white;
    padding: 50px 20px;
    font-size: 14px;
    text-align: center;
}

footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

footer .footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

footer .footer-links a:hover {
    color: #fec601;
    transform: translateY(-3px);
}

footer .footer-social {
    display: flex;
    gap: 20px;
    justify-content: center;
}

footer .footer-social a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

footer .footer-social a:hover {
    color: #fec601;
    transform: translateY(-3px);
}

footer .footer-bottom {
    font-size: 12px;
    color: #888;
    margin-top: 20px;
}

/* Responsividade */
@media (max-width: 768px) {
    .produto-detalhes {
        flex-direction: column;
        align-items: center;
    }

    .produto-imagem {
        max-width: 50%;
        margin-bottom: 20px;
    }

    .produto-infos {
        width: 100%;
    }

    .produto-preco {
        text-align: left;
    }

    .botao-comprar {
        width: 100%;
    }

    footer .footer-content {
        flex-direction: column;
        align-items: center;
    }

    footer .footer-links {
        justify-content: center;
    }

    footer .footer-social {
        justify-content: center;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .produto-infos {
        padding: 10px;
    }

    .produto-preco p {
        font-size: 18px;
    }

    .botao-comprar {
        font-size: 16px;
    }

    footer {
        padding: 40px 15px;
    }

    footer .footer-links {
        font-size: 12px;
    }

    footer .footer-social {
        font-size: 12px;
    }

    footer .footer-bottom {
        font-size: 10px;
    }
}
