/* Endvale Products Section */

.products-highlight {
    position: relative;
    padding: 110px 0 86px;
    background: linear-gradient(150deg, #000f1b 0%, #001729 100%);
    overflow: hidden;
}

.products-highlight::before,
.products-highlight::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

/* .products-highlight::before {
    inset: 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(9, 13, 18, 0.46) 0, rgba(9, 13, 18, 0.46) 120px, transparent 121px),
        radial-gradient(circle at 82% 8%, rgba(8, 12, 17, 0.44) 0, rgba(8, 12, 17, 0.44) 90px, transparent 91px),
        radial-gradient(circle at 90% 75%, rgba(5, 8, 12, 0.42) 0, rgba(5, 8, 12, 0.42) 160px, transparent 161px),
        linear-gradient(132deg, rgba(10, 15, 22, 0.38) 0%, rgba(10, 15, 22, 0) 40%);
    opacity: 1;
} */

.products-highlight::after {
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/products/bg-brazil.webp");
    background-repeat: no-repeat;
    background-size: 45%;
    background-position: right center;
    opacity: 0.6;
}

.products-highlight .auto-container {
    position: relative;
    z-index: 2;
}

.products-highlight_header {
    gap: 30px;
    margin-bottom: 45px;
}

.products-highlight_heading-wrap {
    max-width: 840px;
}

.products-highlight .sec-title_title {
    color: rgba(255, 255, 255, 0.88);
}

.products-highlight_title {
    color: #ffffff;
    font-size: 35px;
    line-height: 1.2em;
    margin-top: 12px;
}

.products-highlight_text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    line-height: 1.8em;
    margin-top: 16px;
    max-width: 780px;
}

.products-highlight_slider {
    position: relative;
    padding: 6px 2px 52px;
    float: left;
    width: 100%;
    margin-top: 30px;
}

.products-highlight_slider .swiper-slide {
    height: auto;
}

.products-highlight_slider .product-card_item {
    margin: 0 9px;
}

.product-card_item {
    position: relative;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.04) 100%);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.product-card_item:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--main-color-rgb), 0.7);
    box-shadow: 0 22px 34px rgba(0, 0, 0, 0.26);
}

.product-card_image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.product-card_image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.34) 100%);
    z-index: 1;
}

.product-card_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.5);
    transition: transform 0.45s ease;
}

.product-card_item:hover .product-card_image img {
    transform: scale(1.08);
}

.product-card_content {
    position: relative;
    padding: 22px 22px 24px;
}

.product-card_title {
    font-size: 18px;
    line-height: 1.2em;
    margin-bottom: 16px;
    color: #ffffff;
}

.product-card_link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.94);
}

.product-card_link:hover {
    color: var(--main-color);
}

.products-highlight_arrows {
    position: absolute;
    right: 6px;
    top: -70px;
    display: flex;
    gap: 10px;
}

.products-highlight_arrows .four-item_slider-prev,
.products-highlight_arrows .four-item_slider-next {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background-color: rgba(255, 255, 255, 0.06);
    transition: all 0.25s ease;
}

.products-highlight_arrows .four-item_slider-prev:hover,
.products-highlight_arrows .four-item_slider-next:hover {
    color: var(--main-color);
    border-color: rgba(var(--main-color-rgb), 0.72);
    background-color: rgba(var(--main-color-rgb), 0.16);
}

.products-highlight .four-item_slider_pagination {
    position: relative;
    margin-top: 60px;
    text-align: center;
}

.products-highlight .four-item_slider_pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    opacity: 1;
    margin: 0 4px;
    background: rgba(255, 255, 255, 0.28);
}

.products-highlight .four-item_slider_pagination .swiper-pagination-bullet-active {
    width: 26px;
    border-radius: 10px;
    background: var(--main-color);
}

@media only screen and (max-width: 1199px) {
    .products-highlight {
        padding: 96px 0 74px;
    }

    .products-highlight_title {
        font-size: 30px;
    }

    .products-highlight::after {
        width: 360px;
        height: 320px;
        right: -70px;
    }

    .products-highlight_arrows {
        position: relative;
        right: auto;
        top: auto;
        margin-top: 14px;
        justify-content: flex-end;
    }
}

@media only screen and (max-width: 767px) {
    .products-highlight {
        padding: 84px 0 56px;
    }

    .products-highlight_header {
        margin-bottom: 30px;
    }

    .products-highlight_title {
        font-size: 25px;
    }

    .products-highlight_text {
        font-size: 16px;
        line-height: 1.75em;
    }

    .products-highlight::after {
        width: 280px;
        height: 250px;
        right: -90px;
        top: 24%;
        opacity: 0.1;
    }

    .product-card_title {
        font-size: 16px;
    }

    .products-highlight_slider .product-card_item {
        margin: 0;
    }
}

/* Categoria ativa na sidebar de produtos */
.category-list li.active a {
    color: var(--white-color);
}

.category-list li.active a::before {
    opacity: 1;
}

.category-list li.active a span {
    color: var(--black-color);
    background-color: var(--white-color);
}