﻿.produtos-container {
    padding: 50px 0 50px 0;
    background-color: #fbfbfb;
}

.cards-container {
    display: flex;
    gap: 20px;
    width: 79%;
    overflow: auto;
    margin: auto;
    padding: 5px;
    scroll-behavior: smooth;
}

    .cards-container a {
        text-decoration: none;
    }

    .cards-container::-webkit-scrollbar {
        display: none;
    }

.produtos-title {
    text-align: center;
    margin-inline: auto;
    margin-bottom: 50px;
    max-width: 40rem;
}

    .produtos-title h2 {
        font-family: Montserrat,sans-serif;
        font-weight: 600;
        font-size: 1.5rem;
        color: #1f3156;
    }

    .produtos-title p {
        font-weight: 400;
        margin-bottom: 40px;
        font-size: 1.375rem;
        margin: 15px 0;
    }

.card-produtos {
    height: 5rem;
    width: 17.5rem;
    background: #fff;
    border: 1px solid #ebebeb;
    box-shadow: 0 4px 10px rgba(0,0,0,.1);
    border-radius: 0.5rem;
    padding: 0.75rem 0 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.25rem;
    margin-bottom: 20px;
}

    .card-produtos hr {
        height: 100% !important;
        width: 2px;
        border-radius: 50%;
        background-color: #000000;
    }

    .card-produtos p {
        max-width: 8.75rem;
        font-size: 1.125rem;
        font-weight: 500;
        color: #000;
        margin-top: 20px;
    }

    .card-produtos img {
        width: 40px;
        height: 40px;
    }

/*slider*/

.slider-container {
    position: relative;
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    flex: 0 0 4.33%; /* Define a largura de exibição de 3 cartões por vez */
    padding: 10px;
    box-sizing: border-box;
}

.slide-itens {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 15px;
}

    .slide-itens a {
        cursor: pointer;
        text-decoration: none;
    }

.prev-btn, .next-btn {
    transform: translateY(-50%);
    background-color: transparent;
    color: #000;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 50%;
    margin: 1rem 8rem;
    font-size: 45px;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.arrow-slider {
    text-align: center;
}

/**/

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

.card-produtos {
    text-align: center;
    padding: 20px;
}

.produtos-itens {
    display: flex;
    place-content: center;
}

.produtos-itens {
    display: flex;
}

.carousel-control-next, .carousel-control-prev {
    width: 14%;
}

@media(max-width: 1320px) {
    .slide-itens {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width: 780px) {
    .produtos-title p {
        font-size: 1.125rem;
        margin: 15px 25px;
    }

    .card-produtos {
        gap: 1rem;
        flex-direction: column;
        height: 10rem;
        width: 10rem;
        padding: 0.75rem;
        justify-content: center;
        align-items: center;
    }

        .card-produtos hr {
            display: none;
        }

        .card-produtos p {
            text-align: center;
        }

        .card-produtos img {
            margin: 11px 0 0px 0;
        }

    .prev-btn, .next-btn {
        margin: 1rem 4rem;
    }
}

@media(max-width: 480px) {
    .prev-btn, .next-btn {
        margin: 1rem 1rem;
    }

    .slider-container {
        width: 100%;
    }

    .card-produtos p {
        max-width: 8.75rem;
        font-size: 1.125rem;
        font-weight: 500;
        color: #000;
        margin-top: 0px;
    }

    .card-produtos img {
        margin-top: 18px;
    }
}
