
body{
    background-color: var(--bs-secondary-bg) !important;
}

.catalogo-main{
    overflow-y: scroll;
    height: 100dvh;
    .card{
        box-shadow: none;
    }
}

.catalogo-nav{
    position: sticky;
    top: 0;
    width: 100%;
    overflow-x: hidden;
    z-index: 100;
    height: 4.5rem;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 1rem;

    .logo{
        height: 3.5rem;
        width: 3.5rem;
        object-fit: cover;
        object-position: center;
        border-radius: 100%;
    }

    h1{
        font-size: 1.75rem;
        font-weight: 600;
        color: var(--primary-color);
        margin-bottom: 0;
    }
    h2{
        font-size: 1.5rem;
        margin-bottom: 0;
        color: var(--subtitle-color);
    }

    > *{
        flex: 1
    }
    > :nth-child(1){
        justify-content: start;
    }
    > :nth-child(2){
        text-align: center;
    }
    > :nth-child(3){
        justify-content: flex-end;
    }
}

.catalogo-grid{
    display: grid;
    grid-template-columns: 300px 1fr;
}
.catalogo-list{
    padding-inline: 2rem;
}

.catalogo-list{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
    padding-bottom: 5rem;
}
.foto-catalogo{
    height: 15rem;
    object-fit: cover;
    object-position: center;
    width: 100%;
    border-radius: .75rem;
}
.catalogo-list .card{
    transition: all 300ms ease;
    max-height: 470px;
}
.placeholder-list .card{
    min-height: 370px;
}
.catalogo-list .card:hover{
    transform: scale(1.03);
    z-index: 1;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    /* cursor: pointer; */
}
.catalogo-list .card .card-img-top{
    padding: .5rem .5rem 0 .5rem;
    border-radius: .75rem;
}
.catalogo-filtros .accordion-button{
    background: white !important;
    box-shadow: none !important;
    padding: 0 !important;
}
.catalogo-filtros .accordion{
    border-bottom: 1px solid var(--bs-accordion-border-color);
}

.catalogo-infos{
    padding-top: .5rem;
    padding-bottom: .5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;

    .moto-specs{
        font-size: .85rem;
        flex: 1;
        border-radius: 5px;
        background-color: #f0f0f0;
        padding: .5rem;
        text-wrap: nowrap;
    }
}

.catalogo-top{
    padding-top: 1rem;
    padding-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-inline: 2rem;
    span{
        font-size: 1.125rem;
    }
    .bootstrap-select>.dropdown-toggle{
        border: none !important;
        background: none !important;
    }
    .bootstrap-select>.dropdown-toggle.bs-placeholder{
        color: black;
        font-weight: 600;
    }
}

.header-logo{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.catalogo-filtros{
    display: flex;
    flex-direction: column;
    background-color: white;
    position: sticky;
    top: 4.5rem;
    height: calc(100dvh - 4.5rem);
    padding-bottom: 5rem;
    overflow-y: scroll;
    overflow-x: hidden;
}

.catalogo-filtros::-webkit-scrollbar {
    width: 7px;
}

.catalogo-filtros::-webkit-scrollbar-track {
    border-radius: 8px;
}

.catalogo-filtros::-webkit-scrollbar-thumb {
    background-color: #B1B1B1;
    border-radius: 8px;
}

.placeholder-loading {
    overflow: hidden;
    position: relative;
}

.placeholder-loading::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.moto-footer h4{
    margin-bottom: 0;
}

.abrir-filtros, .fechar-filtros{
    display: none;
}

:root[data-bs-theme="dark"]{
    .catalogo-nav{
        background-color: var(--bs-body-bg);
    }
    .catalogo-nav h2{
        color: rgb(207, 207, 207);
    }
    .catalogo-filtros .accordion-button{
        background-color: var(--bs-body-bg) !important;
    }
    .catalogo-filtros .accordion-button:not(.collapsed){
        color: white !important;
    }
    .catalogo-infos .moto-specs{
        background-color: #273037;
        color: var(--bs-body-color);
    }
    .catalogo-filtros{
        background-color: var(--bs-body-bg);
    }
    .catalogo-top{
        .bootstrap-select>.dropdown-toggle.bs-placeholder{
            color: var(--bs-body-color);
        }
    }
    .sem-foto{
        filter: invert(.85);
    }
    .catalogo-list .card:hover{
        box-shadow: rgba(0, 0, 0, 0.2) 0px 7px 29px 0px;
    }
}

.catalogo-nada-encontrado{
    width: 100%;
    padding-inline: 2rem;
    text-align: center;
}