.header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
}

#banner {
    width: 100%;
    border-radius: 0px;
    color: #ffffff !important;

    flex-wrap: wrap;
    flex-direction: column;
    position: relative;
}

.banner__background {
    position: relative;
    top: 0;

    width: 100%;
    height: 300px;

    background: url('../imgs/banners/home/home_bg.jpg');
    background-position: center center !important;
    background-size: cover !important;
}

.banner__content {
    position: absolute;
    transform: translateX(-50%);
    text-align: center;
    left: 50%;
    top: 25%;
}

.banner__backdrop {
    position: absolute;
    top: 0;
    width: 100%;
    height: 300px;
    background: var(--color-primary);
    opacity: 0.1;
}

#banner h1 {
    font-size: 3em;
    color: #fff;
    box-shadow: var(--box-shadow);
}

#banner p {
    font-size: 1.2em;
    font-weight: 400;
    color: #ffffffac;
}

#search__box {
    width: 60%;
    background: white;
    position: relative;
    margin-top: -110px;
    border-radius: 35px;
    box-shadow: var(--box-shadow);
    padding: 25px 35px 30px 35px;
}

#search__box .search__type {
    display: flex;
    justify-content: flex-start;
    align-items: center;

    margin-bottom: 25px;
}

#search__box .type__item {
    font-weight: 500;
    font-size: 1.1em;
    color: #bec4ca;
    padding: 0px 8px 13px 8px;
    line-height: 1;
    border-bottom: 3px solid transparent;
    margin-right: 15px;
    cursor: pointer;
    transition: all 300ms;
}

#search__box .type__item:hover {
    color: #343a40;
}

#search__box .type__active {
    color: #161617;
    border-color: var(--color-primary) !important;
}

#search__box .search__input {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #343a4040;
    border-radius: 10px;
    overflow: hidden;
}

#search__box svg {
    margin: 0px 20px;
    color: #c9ccd0;
    font-size: 1.1em;
    width: 23px;
}

#search__box input[type=search] {
    width: 100%;
    padding: 13px 20px 13px 0px;
    background: white !important;
    border-radius: 10px;
    border: transparent;
    font-weight: 600;
    color: #343a40;
}

#search__box input:focus { outline: none !important; }

#search__box input[type=search]::placeholder {
    color: #343a4060;
    font-size: 1.1em;
}

#search__box button {
    width: 100%;
    padding: 13px 20px;
    border-radius: 10px;
    border: none;
    background: var(--color-primary);
    color: var(--color-title);
    font-weight: 800;
    font-size: 1.1em;
}

h1.title__slider {
    font-weight: 600;
    font-size: 1.3rem;
}

div.title__divider {
    width: 30px;
    margin-top: 10px;
}

#brand__banners {
    display: flex;
    justify-content: center;
    align-items: center;
}

#brand__banners .swiper-slide {

}

#brand__banners .brand__item {
    width: 100%;
    height: 85px;
    border-radius: 15px;
    cursor: pointer;
    background: white;
    border: 1px solid #343a4005;
    box-shadow: 5px 5px 9px #00000005;

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

#brand__banners .brand__item img {
    max-height: 60%;
    max-width: 60%;
    padding: 5px;
    transition: all 200ms;
}

#brand__banners .brand__item:hover img {
    padding: 3px;
}

#category__banners .category__item {
    width: 100%;
    height: 150px;
    border-radius: 15px;
    cursor: pointer;
    background: white;
    box-shadow: 5px 5px 9px #00000005;
    padding: 15px 20px;
    position: relative;
    overflow: hidden;

    display: flex;
    justify-content: flex-start;
    align-items: flex-end;

    background-size: cover !important;
    background-position: center center !important;

    transition: all 300ms;

    color: #ffffff;
}

#category__banners a {
    text-decoration: none !important;
}

#category__banners .category__item h1 {
    font-size: 1.5em;
    line-height: 1;
    margin-bottom: 0px;
    font-weight: 700;
    filter: drop-shadow(1px 1px 10px #000000);
}

#category__banners .backdrop__blur {
    width: 70%;
    height: 70%;
    position: absolute;
    background: var(--color-primary);
    filter: blur(50px) brightness(15%);
    bottom: -20px;
    left: -20px;
}


/* VEHICLE ITEM */

.vehicle__item {
    width: 100%;
    background: #ffffff;
    border-radius: 25px;
    overflow: hidden;
}

.vehicle__details {
    padding: 20px 20px 0px 20px;
}

.vehicle__picture .picture__item {
    width: 100%;
    height: 230px;
    background: var(--color-primary);
    background-size: cover !important;
    background-position: center center !important;
    transition: all 200ms !important;
    cursor: pointer;
}

.vehicle__title {
    font-size: 1.1em;
    font-weight: 500;
    color: #343a40;
    margin-bottom: 5px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.vehicle__attributes {
    font-size: 1em;
    font-weight: 400;
    color: #343a40c1;
    height: 1.5em;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.vehicle__price {
    font-size: 1.5em;
    font-weight: 800;
    margin-top: 20px;
}

.vehicle__statistics {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .9em;

    margin: 15px 0px 10px 0px;
    color: #000000;
}

.vehicle__statistics p {
    display: flex;
    align-items: center;
    margin-bottom: 0px;
    font-weight: 400;
}

.vehicle__statistics svg {
    width: 18px;
    margin-top: -3px;
    stroke: var(--color-primary);
    stroke-width: 1px !important;
    margin-right: 7px;
}

.vehicle__action button {
    width: 100%;
    padding: 10px 0px;
    background: transparent;
    color: #000000 !important;
    font-size: .9em !important;
    border: 2px solid var(--color-primary);
    transition: all 100ms linear;
    border-radius: 10px;
    font-weight: 600;
}

.vehicle__action button:hover {
    background: var(--color-primary);
    color: #ffffff;
}

.vehicle__footer {
    margin-top: 15px;
    padding: 15px 20px;
    border-top: 1px solid #343a4005;

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

.vehicle__footer .vehicle__location {
    font-size: .9em;
    font-weight: 300;
    color: #343a40c1;
    line-height: 1;
}

.vehicle__footer .vehicle__icons svg {
    width: 20px;
    cursor: pointer;
    margin-left: 10px;
    stroke: #343a40ae;
    stroke-width: 1px;
}


/* RESPONSIVIDADE HOME */

@media (max-width: 855px) {

    #search__box {
        width: 95%;
        padding: 20px;
        overflow: hidden;
        margin-top: -50px;
    }

    #search__box .search__type {
        overflow-x: auto;
    }

    #search__box .search__type .type__item {
        white-space: nowrap;
    }

    #search__box .search__input {
        margin-bottom: 15px;
    }

    #banner .banner__content {
        width: 80%;
    }

    #banner h1 {
        font-size: 2em;
    }

    #banner p {
        font-size: 1.2em;
        font-weight: 300;
    }

    #banner .banner__background,
    #banner .banner__backdrop {
        height: 250px;
    }

    #banner .banner__content {
        transform: translate3d(-50%, -20%, 0px);
    }

    center h1.title {
        font-size: 1.5em;
    }

    /* Margin modules */
    #brand__banners,
    #category__banners,
    #car__carousel,
    #motorcycle__carousel,
    #boat__carousel {
        margin-top: 45px !important;
    }

}

/* Mobile banners */
@media (max-width: 540px) {

    .mobile__hide {
        display: none !important;
    }

    .type__item {
        text-transform: capitalize;
    }

    /* Categories */
    .category__item {
        height: 100px !important;
    }

    /* Vehicles */
    .vehicle__item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-radius: 15px !important;
    }
    .vehicle__picture {
        min-width: 45% !important;
        max-width: 45% !important;

        height: 100% !important;
        height: 210px !important;

        display: flex;
        justify-content: center;
        align-items: center;
    }
    .picture__item {
        width: 100% !important;
        height: 100% !important;
        height: 210px !important;
    }
    .vehicle__title {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    .vehicle__price {
        margin-top: 20px;
        font-size: 1.3em;
    }
    .vehicle__details {
        padding: 20px !important;
        height: 100%;
        width: 55%;
    }
    .vehicle__action button {
        padding: 8px 0px;
    }
    .vehicle__attributes {
        display: none;
    }
    .vehicle__footer {
        display: none;
    }
    .vehicle__statistics {
        margin-top: 5px;
        justify-content: flex-end;
        align-items: flex-start;
        flex-direction: column;
        flex-wrap: wrap;
    }
    .vehicle__statistics p {
        margin-top: 5px !important;
    }
    .vehicle__statistics svg {
        margin-top: 0px !important;
        margin-right: 3px !important;
    }
}