/* Estrutura da Grid */
.list-ofertas {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 0;
    margin: 0;
}



.list-ofertas li {
    width: 33.33%;
    padding: 25px;
    box-sizing: border-box;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    margin: 0;
    /* Remover float */
}



/* Card Base */
.cardHW {
    height: 550px !important;
    position: relative;
    padding-bottom: 70px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cardHW h5 {
    font-size: 14px;
    line-height: 1.3;
    margin: 8px 0;
    padding: 0 10px;
}

.cardHW .MELHOR-COMPRA,
.cardHW .TAXA-ZERO {
    max-width: 80px;
}

.foot {
    position: absolute;
    bottom: 8px;
    left: 3%;
    width: 94%;
}

/* Container de Imagem */
.image-container {
    height: 240px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    flex-shrink: 0;
    margin-bottom: 8px;
}

.image-container img {
    max-height: 100%;
    object-fit: contain;
}

/* Info Preços - Layout Único */
.info-precos {
    padding: 15px 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-height: calc(100% - 70px);
    overflow: hidden;
    text-align: center;
}

/* Valor DE (tachado) */
.info-precos .preco-de {
    margin: 0 0 8px 0;
    font-size: 11px;
    color: #333;
    text-transform: uppercase;
    font-weight: normal;
}

.info-precos .preco-de s {
    font-size: 13px;
    color: #999;
    margin-left: 4px;
    font-weight: normal;
}

/* Valor POR (principal) */
.info-precos .preco-por {
    margin: 0 0 12px 0;
}

.info-precos .preco-por .label {
    font-size: 12px;
    color: #333;
    text-transform: uppercase;
    display: block;
    margin-bottom: 3px;
    font-weight: normal;
}

.info-precos .preco-por .valor {
    font-size: 30px;
    font-weight: bold;
    color: #e5ac37;
    line-height: 1;
    display: block;
}

/* Entrada */
.info-precos .preco-entrada {
    margin: 0 0 10px 0;
    font-size: 11px;
    color: #333;
    text-transform: uppercase;
    font-weight: normal;
}

.info-precos .preco-entrada strong {
    color: #333;
    font-size: 13px;
    font-weight: bold;
}

/* Parcelas */
.info-precos .preco-parcelas {
    margin: 0;
}

.info-precos .preco-parcelas .label {
    font-size: 12px;
    color: #333;
    text-transform: uppercase;
    display: block;
    margin-bottom: 3px;
    font-weight: normal;
}

.info-precos .preco-parcelas .valor {
    font-size: 30px;
    font-weight: bold;
    color: #e5ac37;
    line-height: 1;
    display: block;
}

@media (max-width: 767px) {

    .info-precos .preco-por .valor,
    .info-precos .preco-parcelas .valor {
        font-size: 26px;
    }

    .info-precos {
        padding: 12px 10px;
    }

    /* Responsividade */
    @media (max-width: 767px) {
        .list-ofertas li {
            width: 100%;
            padding: 15px 10px;
            min-height: auto;
        }

        .list-ofertas li:nth-child(3n+1) {
            clear: none;
        }

        .list-ofertas li:nth-child(n) {
            clear: both;
        }

        .cardHW {
            height: auto !important;
            min-height: 520px !important;
        }

        .image-container {
            height: 220px;
        }
    }

    @media (min-width: 768px) and (max-width: 991px) {
        .list-ofertas li {
            width: 50%;
            padding: 20px;
            min-height: 600px;
        }

        .list-ofertas li:nth-child(3n+1) {
            clear: none;
        }

        .list-ofertas li:nth-child(2n+1) {
            clear: left;
        }
    }

    @media (min-width: 992px) and (max-width: 1199px) {
        .list-ofertas li {
            width: 50%;
            padding: 20px;
            min-height: 600px;
        }

        .list-ofertas li:nth-child(3n+1) {
            clear: none;
        }

        .list-ofertas li:nth-child(2n+1) {
            clear: left;
        }
    }

    @media (min-width: 1200px) {
        .list-ofertas li {
            width: 33.3333333333%;
            padding: 25px;
            min-height: 600px;
        }

        .list-ofertas li:nth-child(3n+1) {
            clear: left;
        }
    }