.filtro-pneus-content {
    display: flex;
    gap: 20px;
    padding: 20px 0;
}

#resultado-filtro {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

/* Item do produto */
#resultado-filtro li.product {
    list-style: none;
    border: 1px solid #eee;
    padding: 16px;
    text-align: center;
    transition: box-shadow 0.2s ease;
    background: #fff;
}

#resultado-filtro li.product:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Imagem do produto */
#resultado-filtro li.product img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 10px;
    height: 240px;
}

button#btn-filtrar {
    background: #000;
    color: #fff;
}

button#btn-filtrar:hover {
    background: #FCBC04;
    color: #fff;
}

.icon-cart {
    display: flex;
    gap: 5px;
}

/* Título */
#resultado-filtro .woocommerce-loop-product__title {
    font-size: 16px;
    font-weight: 600;
    margin: 10px 0;
    color: #333;
    max-width: 100%;
    white-space: normal;
    /* Permite quebra de linha */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Limita a 2 linhas */
    -webkit-box-orient: vertical;
    height: 48px;
    /* Ajusta altura para 2 linhas */
}

/* Preço */
#resultado-filtro .price {
    display: block;
    font-size: 18px;
    color: #111;
    margin-bottom: 10px;
}

/* Botão de adicionar ao carrinho */
#resultado-filtro .add_to_cart_button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #000000;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
}

.button:hover .elementor-button-icon svg {
    animation: bounceIcon 0.5s ease forwards;
}

@keyframes bounceIcon {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    30% {
        transform: translateY(-10px);
        opacity: 0;
    }

    60% {
        transform: translateY(10px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

a.added_to_cart.wc-forward {
    color: #000 !important;
}

#resultado-filtro .add_to_cart_button:hover {
    background-color: #FCBC04;
}

.title-filter {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    align-items: center;
    padding-bottom: 20px;
}

.col-filter {
    width: 33.33%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.col-filter .diviser {
    width: 100%;
    height: 1px;
    background-color: #BEBEBE;
}

.rtsb-elementor-container .rtsb-product .rtsb-action-buttons.horizontal-floating-btn.after-content {
    margin-top: 20px;
    opacity: 1;
    padding: 0;
    position: static;
    -webkit-transform: none;
    transform: none;
    visibility: visible;
}

.rtsb-elementor-container .rtsb-product .rtsb-action-buttons.horizontal-floating-btn .rtsb-action-button-list {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.rtsb-elementor-container.has-cart-text .rtsb-action-buttons.rtsb-action-buttons-cart-box-width-auto .rtsb-action-button-list .rtsb-cart,
.rtsb-elementor-container.has-cart-text .rtsb-action-buttons.rtsb-action-buttons-cart-box-width-auto .rtsb-action-button-list .rtsb-quick-checkout {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.rtsb-elementor-container .rtsb-action-btn {
    border: none;
    border-radius: 3px;
    font-size: 15px;
    font-weight: 400;
    height: 40px;
    line-height: 40px;
    padding: 8px;
    width: 40px;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.added::after,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.added::after,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.added::after,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.added::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.added::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.added::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.added::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.added::after {
    display: none !important;
}

.woocommerce-LoopProduct-link img {
    transition: transform 0.3s ease;
}

.woocommerce-LoopProduct-link:hover img {
    transform: scale(1.1);
}

@media screen and (max-width:968px) {
    .filtro-pneus-content {
        flex-direction: column;
    }

    .col-filter .diviser {
        display: none;
    }

    .col-filter {
        width: 100%;
    }

    #resultado-filtro {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    #resultado-filtro .woocommerce-loop-product__title {
        height: 60px;
    }

    .filtro-pneus-content select {
        padding: 20px;
        background: #fff;
        color: #000 !important;
    }
}