.compare-products {
    padding: 64px 0;
    font-family: Arial, sans-serif;
}

.compare-products h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    font-weight: 700;
}

.compare-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.compare-table {
    width: 100%;
    min-width: 1200px;
    border-collapse: collapse;
    table-layout: fixed;
}

.compare-table thead th {
    padding: 0;
    vertical-align: top;
}

.feature-column {
    width: 250px;
}

.product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    padding: 32px 16px;
    box-sizing: border-box;
    overflow: hidden;
}

.product-card.active {
    border: none;
}

.product-card img {
    display: block;
    width: 100%;
    max-width: 180px;
    height: 180px;
    object-fit: contain;
    margin: 0 auto;
}

.product-card h3 {
    margin: 16px 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: normal;
    text-decoration: none;
    color: #000;
    background: #FFC61A;
    border-radius: 40px;
    transition: .3s;
}

.btn-cart:hover {
    background: #ddab14;
}

.compare-table tbody td {
    padding: 16px;
    text-align: center;
    font-size: 14px;
    background-color: #F1F3F2;
}

.compare-table tbody td:first-child {
    text-align: left;
    font-weight: 700;
}

.compare-table tbody tr:nth-child(even) td {
    background: #ffffff;
}


/* Coluna destacada (2ª coluna = primeiro produto) */
.compare-table th:nth-child(2),
.compare-table td:nth-child(2) {
    border-left: 2px solid #000000;
    border-right: 2px solid #000000;
}

/* Fecha a borda no topo */
.compare-table thead th:nth-child(2) {
    border-top: 2px solid #000000;
}

/* Fecha a borda na última linha */
.compare-table tbody tr:last-child td:nth-child(2) {
    border-bottom: 2px solid #000000;
}


/* -------------------- MOBILE -------------------- */

@media (max-width:800px) {

    .compare-products {
        padding: 40px 0;
    }

    .compare-products h2 {
        font-size: 24px;
        margin-bottom: 35px;
    }

    .compare-table {
        min-width: 900px;
    }

    .feature-column {
        width: 180px;
    }

    .product-card {
        padding: 20px 10px;
    }

    .product-card img {
        width: 110px;
        height: 110px;
    }

    .product-card h3 {
        font-size: 18px;
        line-height: 1.3;
    }

    .compare-table tbody td {
        padding: 16px;
        font-size: 15px;
    }
}