











/* ============================= */
/* ASIDE                         */

aside {
    grid-area: aside;
    height: 420px;
    background-color: white;
    position: sticky;
    top: 152px;
}
.marketplace-icon-filtro {
    opacity: 0.8;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.marketplace-icon-filtro.ativo {
    opacity: 1;
    transform: scale(1.1);
}


.filtro-marketplace-aside {
    width: 90%;
    margin: 12px auto;
    border-radius: 14px;
    overflow: hidden;
    background: #f7f7f7;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #0000008c;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.filtro-marketplace-aside:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px #000000bd;
}

.filtro-marketplace-aside h4 {
    margin: 0;
    padding: 11px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
    background: #000000bd;
    border-bottom: 2px solid #e0e0e0;
}


.marketplace-icons {
    display: flex;
    justify-content: space-around; 
    align-items: center;
    gap: 0;
    padding: 10px;
    border-radius: 12px;

    width: 100%;
    box-sizing: border-box;
}



.marketplace-icon-filtro {
    width: clamp(48px, 20%, 66px);
    aspect-ratio: 66 / 56;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;
    border-radius: 12px;

    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.marketplace-icon-filtro img {
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
}

.marketplace-icon-filtro:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.marketplace-icon-filtro.ativo {
    opacity: 1;
    transform: scale(1.05);
    box-shadow:
        0 0 0 2px #1976d2,
        0 4px 10px rgba(25,118,210,0.35);
}

.marketplace-icon-filtro.ativo::after {
    content: "✓";
    position: absolute;
    top: 6px;
    right: 8px;

    width: 18px;
    height: 18px;
    border-radius: 50%;

    background: #1976d2;
    color: #fff;

    font-size: 12px;
    font-weight: 700;

    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 93%;
    height: 44px;

    background: #2a8a4e;
    color: #fff;
    font-size: 14px;
    font-weight: 700;

    border-radius: 14px;
    text-decoration: none;

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-whatsapp svg {
    width: 18px;
    height: 18px;
}

.btn-whatsapp:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:active {
    transform: translateY(0);
    box-shadow: none;
}
.btn-comparar {
    display: block;
    margin: 10px 10px;
    padding: 12px 10px;
    background-color: #1976d2;
    color: #fff;
    text-decoration: none;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-comparar:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px #1976d2;
}

.filtro-sugestao-aside {
    width: 90%;
    max-width: 300px;
    margin: 12px auto;
    border-radius: 14px;
    overflow: hidden;

    border: 1px solid #e91e6396;

    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.filtro-sugestao-aside:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(233, 30, 99, 0.35);
}

.filtro-sugestao-aside h4 {
    margin: 0;
    padding: 11px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;

    color: #fff;
    background: #e91e63;
    border-bottom: 2px solid #f3c1d3;
}

.sugestao-container {
    padding: 14px;
    display: flex;
    justify-content: center;
}

.input-sugestao {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid #ccc;

    margin-top: 10px;
    margin-left: 7px;
    margin-right: 10px;

    outline: none;
    font-family: inherit;
    box-sizing: border-box;

    background: #fff;
    color: #555;

    display: block;
    text-align: left;

    text-decoration: none;
    cursor: pointer;
}

.filtro-sugestao-aside:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(233, 30, 99, 0.35);
    border-color: #e91e63;
}

.sobre-aside {
    margin: 0;
    padding: 11px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
    background: #000000bd;
    border-bottom: 2px solid #e0e0e0;
}




/* ============================= */
/* ECONOMIZÔMETRO                */
/* ============================= */

.sidebar{
    grid-area: aside;
    display:flex;
    flex-direction:column;
    gap:8px;
}

.economizometro{
    width:90%;
    padding:12px;
    background:#ffffff;
    border-radius:8px;
    font-size:13px;
}

.valor-economia{
    color:#d32f2f;
    font-weight:700;
    font-size:22px;
    margin-top:5px;
}

.aside-economia{
    position: sticky;
    top: 575px;   /* ajuste fino */
}

.economia-info{
    font-size:12px;
    color:#000000;
    margin-top:6px;
    line-height:1.35;
    border-top:1px solid #eee;
    padding-top:6px;
    text-align: justify;
}
