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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    color: #000000;
    background-color: #ffffff;
    line-height: 1.4;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}
a:hover {
    opacity: 0.7;
}
main {
    padding-top: 60px;
    padding-right: 0;
}

/* Estilo para todas as seções */
section {
    padding: 80px 20px;
    max-width: 100%;
    margin: 0 auto;
}

h1,
h2,
h3 {
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    z-index: 1000;
    transition: background 0.3s ease;
}


.navbar .logo img {
    height: 50px;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 32px;
}

.navbar a {
    color: #000000;
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 0.2px;
}

/* ===== PRODUTO DETALHE (Seção Principal) ===== */
.produto-detalhe {
    padding-top: 15px;
    padding-bottom: 60px;
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    padding-right: 20px;
}

/* AJUSTES NO PRODUTO CONTAINER: A galeria agora ocupa todo o espaço à esquerda e se centraliza nele */
.produto-container {
    width: calc(100% - 380px - 40px);
    max-width: 1200px;
    margin-left: 0;
    margin-right: auto;
    padding: 0 25px;
}
/* ===== GALERIA DE IMAGENS - CORREÇÕES PARA TAMANHO E ZOOM ===== */
.galeria-produto {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.imagem-principal-container {
    width: 100%;
    position: relative;
    padding-top: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    cursor: default;
    margin-bottom: 15px;
    background-color: #ffffff;
    border-radius: 8px;
}

.imagem-principal-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.0);
    display: block;
    transition: transform 0.3s ease-out;
}

.imagem-principal-container img:hover {
    transform: scale(1.0);
}

.miniaturas {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 10px;
    justify-content: center;
}

.miniaturas img {
    width: 140px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
    border-radius: 4px;
    flex-shrink: 0;
}

.miniaturas img.selected {
    border-color: #000000;
}

/* ===== SIDE INFO PANEL (Painel Lateral Fixo) ===== */
.side-info-panel {
    position: fixed;
    top: 60px;
    right: 0;
    height: calc(100vh - 60px);
    width: 300px;
    background-color: #ffffff;
    padding: 20px 30px;
    border-left: 1px solid #e0e0e0;
    z-index: 999;
    overflow-y: auto;
}

.produto-info h1 {
    font-size: 2.0rem;
    margin-bottom: 5px;
}

.tag-novo {
    display: inline-block;
    background-color: #d60f0f;
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.5em;
    font-weight: bold;
    margin-bottom: 15px;
}

.cor-selecionada-texto {
    font-size: 1em;
    margin-bottom: 25px;
    line-height: 1.5;
}

.cor-selecionada-texto strong {
    font-weight: 500;
}

.modelos-opcoes {
    margin-bottom: 30px;
}

.opcoes-grupo {
    margin-bottom: 25px;
}

.opcoes-grupo label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.opcoes-lista {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.opcoes-lista.cores-lista .opcao-item {
    display: flex;
    align-items: center;
    padding: 6px 6px;
    border: 2px solid #ccc;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.5em;
    transition: all 0.2s;
}

.opcoes-lista.cores-lista .opcao-item:hover {
    border-color: #888;
}

.opcoes-lista.cores-lista .opcao-item.selected {
    border-color: #000;
    background-color: #e0e0e0;
    font-weight: bold;
}

.cor-mini {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin-right: 1px;
    border: 1px solid #ddd;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.preco {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #333;
}

.btn-comprar {
    display: block;
    width: 85%;
    padding: 10px 20px;
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    font-size: 0.8em;
    font-weight: bold;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: background-color 0.3s;
}

.btn-comprar:hover {
    background-color: #333333;
    opacity: 1;
}

.descricao {
    font-size: 0.7em;
    color: #555;
    line-height: 1.6;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

/* ========================================================== */
/* SEÇÃO DE CARACTERÍSTICAS (Meta AI) - Afastamento do painel fixo */
/* ========================================================== */

.meta-ai-section {
    padding-right: calc(380px + 40px);
    text-align: center;
    background-color: #f9f9f9;
}

.meta-ai-section h2 {
    margin-bottom: 40px;
    font-size: 2em;
}

.meta-ai-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
@media (max-width: 1250px) {
    .meta-ai-cards {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

.meta-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease;
}

.meta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.meta-card video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.meta-card-text {
    padding: 20px;
}

.meta-card-text h3 {
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 8px;
}

.meta-card-text p {
    font-size: 0.9em;
    color: #555;
}

/* ========================================================== */
/* SEÇÃO DE DETALHES - Afastamento do painel fixo */
/* ========================================================== */

.detalhes-produto {
    padding: 80px 20px 80px 20px;
    padding-right: calc(380px + 40px);
}

.detalhes-produto h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
}

.detalhes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
@media (max-width: 1250px) {
    .detalhes-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

.detalhe-item {
    background-color: #ffffff;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.detalhe-titulo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.detalhe-titulo img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    filter: invert(10%);
}

.detalhe-titulo h3 {
    font-size: 1.2em;
    font-weight: 600;
}

.detalhe-item table {
    width: 100%;
    border-collapse: collapse;
}

.detalhe-item th,
.detalhe-item td {
    padding: 8px 0;
    text-align: left;
    font-size: 0.95em;
    border-bottom: 1px dashed #f0f0f0;
}

.detalhe-item th {
    font-weight: 400;
    color: #666;
    width: 50%;
}

.detalhe-item td {
    font-weight: 500;
    color: #333;
}

.detalhe-item tr:last-child th,
.detalhe-item tr:last-child td {
    border-bottom: none;
}

.legal-text {
    max-width: 1000px;
    margin: 60px auto 0 auto;
    padding-top: 30px;
    border-top: 1px solid #eee;
    text-align: justify;
    font-size: 0.85em;
    color: #777;
    line-height: 1.8;
}

.legal-text p {
    margin-bottom: 15px;
}

.legal-text .small-print {
    font-size: 0.75em;
    line-height: 1.6;
    display: block;
    margin-top: 20px;
}

/* ===== FOOTER ===== */
.footer {
    background-color: #fffefe;
    color: #022368;
    padding: 20px 20px;
    text-align: center;
    font-size: 0.9em;
}


/* ========================================================== */
/* MEDIA QUERIES (Para telas menores que 900px) */
/* ========================================================== */

@media (max-width: 1200px) {
    .navbar ul {
        gap: 20px;
    }
}


@media (max-width: 900px) {

    .side-info-panel {
        position: static;
        width: 100%;
        height: auto;
        padding: 30px 20px;
        box-shadow: none;
        background-color: #ffffff;
        order: 1;
        border-left: none;
    }
imagem-principal-container {
    padding-top: 75%;
    /* Tente aumentar a proporção se a imagem for mais "alta" que "larga" */
    height: auto;
    /* Garante que o contêiner não seja limitado por uma altura fixa */
    max-height: 450px;
    /* Ou um max-height se quiser limitar o crescimento em telas muito grandes no mobile */
}

    .produto-detalhe {
        padding-right: 20px;
        padding-top: 30px;
        flex-direction: column;
        align-items: center;
    }
.imagem-principal-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.0);
    display: block;
    transition: transform 0.3s ease-out;
}
.produto-container {
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    align-self: unset;
    order: 0;
}

    .imagem-principal-container,
    .miniaturas {
        width: 100%;
    }

    section {
        padding: 40px 20px;
    }
    .meta-ai-section,
    .detalhes-produto {
        padding-right: 20px;
    }

    .meta-ai-section h2,
    .detalhes-produto h2 {
        font-size: 1.8em;
    }

    .navbar ul {
        display: none;
    }
        .btn-comprar {
            display: block;
            width: 85%;
            padding: 10px 20px;
            background-color: #000000;
            color: #ffffff;
            text-align: center;
            font-size: 0.8em;
            font-weight: bold;
            border-radius: 8px;
            margin: 0 auto 12px auto;
            /* AQUI ESTÁ A MUDANÇA: margem horizontal 'auto' */
            transition: background-color 0.3s;
        }
        .miniaturas {
            display: flex;
            gap: 12px;
            flex-wrap: nowrap;
            overflow-x: auto;
            width: 100%;
            padding-bottom: 10px;
            justify-content: center;
        }
    
/* Se o BOX-SIZING NÃO FUNCIONAR, use este método: */

.miniaturas img {
    width: 140px;
    height: 100px;
    object-fit: contain;
    cursor: pointer;
    /* Remova a BORDER e use OUTLINE no item selecionado */
    transition: outline-color 0.2s; 
    border-radius: 4px;
    flex-shrink: 0;
    outline: 2px solid transparent; /* Adicione outline transparente por padrão */
    outline-offset: -2px; /* Garante que o outline fique 'colado' à imagem */
}

.miniaturas img.selected {
    /* Mude para OUTLINE em vez de BORDER */
    outline-color: #000000;
}
}