* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    background-color: #da0029;
    border-bottom: 2px solid #000000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    gap: 20px;
}

.menu-hamburguer {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.menu-hamburguer span {
    width: 25px;
    height: 3px;
    background-color: white;
    display: block;
    border-radius: 2px;
}

.busca-header {
    flex: 1;
    max-width: 500px;
    display: flex;
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
}

.campo-busca-header {
    flex: 1;
    padding: 12px 15px;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}

.btn-busca {
    background: none;
    border: none;
    padding: 0 15px;
    cursor: pointer;
    color: #666;
}

.logo-header {
    width: 120px;
    height: auto;
}

/* Banner Topo */
.banner-topo {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.banner-topo img {
    width: 100%;
    height: auto;
    display: block;
}

/* Contador Regressivo Container */
.contador-container {
    background-color: #f5f5f5;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.contador-regressivo {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.contador-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #da0029;
    padding: 15px 25px;
    border-radius: 8px;
    min-width: 80px;
}

.contador-numero {
    font-size: 32px;
    font-weight: 700;
    color: white;
}

.contador-label {
    font-size: 12px;
    color: white;
    margin-top: 5px;
}

/* Grid de Produtos */
.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.produto-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.produto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.produto-imagem {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.produto-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.produto-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.produto-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 70px;
}

.avaliacoes {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.preco-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.preco-original {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.desconto-badge {
    background-color: #00a650;
    color: white;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

.preco-final {
    font-size: 28px;
    font-weight: 700;
    color: #00a650;
}

.estoque-aviso {
    color: #da0029;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.btn-resgatar {
    width: 100%;
    padding: 15px;
    background-color: #00a650;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    margin-top: auto;
}

.btn-resgatar:hover {
    background-color: #008c42;
}

/* Seção de Avaliações */
.avaliacoes-section {
    background-color: #fff;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.avaliacoes-section h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.rating-geral {
    text-align: center;
    margin-bottom: 30px;
}

.rating-numero {
    font-size: 48px;
    font-weight: 700;
    color: #da0029;
    margin-right: 10px;
}

.estrelas {
    font-size: 24px;
}

.avaliacoes-lista {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.avaliacao-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.avaliacao-header {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.avaliacao-foto-perfil {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.avaliacao-usuario {
    font-weight: 700;
    color: #da0029;
    font-size: 14px;
}

.avaliacao-texto {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

.avaliacao-produto-foto {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 10px;
}

.avaliacao-tempo {
    font-size: 12px;
    color: #999;
}

.footer {
    height: 50px;
    background-color: #f5f5f5;
}

/* Responsivo */
@media (max-width: 768px) {
    .header {
        padding: 10px 15px;
    }

    .logo-header {
        width: 80px;
    }

    .busca-header {
        max-width: 300px;
    }

    .campo-busca-header {
        padding: 10px 12px;
        font-size: 13px;
    }

    .contador-regressivo {
        gap: 15px;
    }

    .contador-item {
        padding: 10px 15px;
        min-width: 60px;
    }

    .contador-numero {
        font-size: 24px;
    }

    .contador-label {
        font-size: 10px;
    }

    .produtos-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }

    .avaliacoes-section h2 {
        font-size: 24px;
    }

    .rating-numero {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .menu-hamburguer span {
        width: 20px;
        height: 2px;
    }

    .busca-header {
        max-width: 200px;
    }

    .logo-header {
        width: 70px;
    }

    .contador-regressivo {
        gap: 10px;
    }

    .contador-item {
        padding: 8px 10px;
        min-width: 50px;
    }

    .contador-numero {
        font-size: 20px;
    }

    .produtos-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .avaliacoes-lista {
        grid-template-columns: 1fr;
    }
}
