.mm-lineupDropdown-info-bot, 
.mm-lineupDropdown-info-top
{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mm_list_category_items a, .mm_list_category {
    color: #44494b !important;
}
.mm-cards-in a, .mm_left_list_title {
    color: var(--primary) !important;
}

.mm-lineupDropdown-info-bot .mm-lineupDropdown-startingAt {
    color: initial !important;
    display: flex;
}

.mm-lineupDropdown-info-bot .mm-lineupDropdown-price {
    color: #44494b !important;
}

.mm-lineupDropdown-info-bot .mm-lineupDropdown-price {
    font-weight: bold;
}

.mm_all_cars_container, .mm_list_links_btns, .mm_left_list_title {
    border-left: solid 5px #f7f8f9;
}

.mm-lineupDropdown-vehicle {
    text-align: center;
    font-size: 1.2rem !important;
    font-weight: bold !important;
    /* text-shadow: 1px 0 #545454, 1px 0 #545454; */
}

.mm-lineupDropdown-startingAt {
    font-size: 1rem !important;
    margin-right: 0.3rem;
}

.mm-lineupDropdown-price {
    /* text-shadow: 1px 0 #545454, 1px 0 #545454; */
}

.mm_car_card_container {
    margin: 0rem 3rem;
}


.mm_card_footer {
    background-color: white;
    position: relative;
    top: -80px;
    padding: 0px 80px;
}

.mm_cars_container {
    margin-left: 40px;
}

.mm_lineupDropdown_header {
    min-width: 400px;
    background-color: white;
}

.mm_years_nav {
    display: flex;
}
.mm_years_nav li a {
    margin-right: 0.5rem;
    padding: 0 !important;
    font-weight: bold;
    font-size: 1.5rem;
    /* border-bottom: 0 !important; */
}

/* Titles */
.mm_left_list_title {
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0rem 2.5rem;
}

.mm_category_title {
    font-size: 1.3rem;
    font-weight: bold;
    padding: 0rem 2.5rem;
    color: var(--primary);
}

.mm_list_category {
    font-size: 1.1rem;
    margin: 0.5rem 0rem;
    font-weight: bold;
    padding: 0rem 2.5rem;
    display: block;
}

.mm_list_links_btns {
    line-height: 100% !important;
    padding: 0.2rem 0rem;
}

.mm_list_category:hover, .mm_list_links_btns:hover {
    background-color: #f7f8f9;
    transition: opacity .5s ease-in-out;
}

.mm_list_links {
    font-size: 0.9rem;
    font-weight: bold;
    padding: 0rem 2.5rem;
    color: #1971d4 !important;
    display: block;
    max-width: 100%;
}
.mm_list_links:hover {
    color: rgb(42, 52, 63) !important;
}

.page-overlay {
    background-color: #1d252c;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    z-index: 21;
}

.mm-cards-out {
    transition: height 0.5s ease;
    overflow: hidden;
}

.mm-cards-in {
    transition: opacity .5s ease-in-out;
    overflow: visible;
}

.page-overlay {
    background-color: #1d252c;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
}
.mm-blur-content {
    filter: blur(3px) brightness(70%);
    pointer-events: none;
    background-color: #1d252c52;
}

.mm-blur-animation {
    transition: filter .2s ease-in;
}
/* ================== */

.mega-dropdown-btn {
    padding: 8px;
    padding-left: 1rem;
    padding-right: 1rem;
}
.mega-dropdown-btn:hover {
    color: var(--primary) !important;
}

.mm_colored_li {
    border-left: 5px solid #1971d4;
    display: list-item;
    transition: color 0.5s ease, opacity 0.5s ease 0.3s; /* Adding transitions for color and opacity */
}

.mm_grey_li {
    border-left: 5px solid #f7f8f9;
    display: list-item;
    transition: color 0.5s ease; /* Adding a transition effect */
}

.mm_lineupBtn {
    font-size: 1.5rem;
}

.disclaimer_svg {
    padding: 0px 8px 0px 4px;
    margin-top: -3px;
}

.car-mm-dropdown-cards-popover {
    height: 18px;
    width: 18px;
}

@media screen and (max-width: 1600px) {
    .mm-lineupDropdown-vehicle {
        font-size: 1.1rem !important;
    }
    .mm-lineupDropdown-startingAt {
        font-size: 0.9rem !important;
    }
    
    .mm-lineupDropdown-price {
        font-size: 0.9rem !important;
    }
    .mm_car_card_container {
        margin: 0rem 2rem;
    }
}

@media screen and (max-width: 1500px) {
    .mm-lineupDropdown-vehicle {
        font-size: 1rem !important;
    }
    .mm_car_card_container {
        margin: 0rem 1.5rem;
    }
}

@media screen and (max-width: 1350px) {
    .mm-lineupDropdown-vehicle {
        font-size: 0.9rem !important;
    }
    .mm-lineupDropdown-startingAt {
        font-size: 0.8rem !important;
    }
    
    .mm-lineupDropdown-price {
        font-size: 0.8rem !important;
    }
    .mm_car_card_container {
        margin: 0rem 1rem;
    }
}

/* Starting surfaces */
@media screen and (max-width: 1200px) {
    
    .mm_lineupDropdown_header {
        min-width: 300px;
    }
    .mm_list_category {
        font-size: 0.9rem;
        margin: 0.3rem 0rem;
        padding: 0rem 2rem;
    }
    .mm_list_links_btns {
        padding: 0.1rem 0rem;
    }
    .mm_list_links {
        padding: 0.1rem 2rem;
        font-size: 0.8rem;
    }
    .mm_left_list_title {
        padding: 0rem 2.2rem;
    }
}

@media screen and (max-width: 1050px) {
    .mm-lineupDropdown-vehicle {
        font-size: 0.8rem !important;
        /* text-shadow: 0px 0 #545454, 0px 0 #545454; */
    }
    .mm-lineupDropdown-info-bot {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    .mm_car_card_container {
        margin: 0rem 1rem;
    }
}

@media screen and (max-width: 912px) {

    .mm_left_list_title {
        padding: 0rem 1.5rem;
    }

    .mm_lineupDropdown_header {
        min-width: 200px;
    }

    .mm_list_category {
        font-size: 0.8rem;
        margin: 0.2rem 0rem;
        padding: 0rem 1.5rem;
    }

    .mm_list_links_btns {
        padding: 0rem 0rem;
    }
    .mm_list_links {
        padding: 0rem 1.5rem;
        font-size: 0.7rem;
    }


    .mm-lineupDropdown-vehicle {
        font-size: 0.8rem !important;
        /* text-shadow: 0px 0 #545454, 0px 0 #545454; */
    }
    .mm-lineupDropdown-info-bot {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    .mm_car_card_container {
        margin: 0rem 0.5rem;
    }
}

@media screen and (max-width: 820px) {

    .mm-lineupDropdown-vehicle {
        font-size: 0.7rem !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 820px) {
    .mm_cars_container>.lineupDropdown-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0 1rem;
    }
    .mm_lineupDropdown-img {
        margin-right: 0 !important;
        width: 180px !important;
    }
}

@media screen and (max-width: 767px) {

    .mm_left_list_title {
        padding: 0rem 1.5rem;
        font-size: 1rem;
    }
    .mm_lineupDropdown-img {
        margin-right: 0 !important;
        width: 250px !important;
    }
}

/* smaller surface */
@media screen and (max-width: 540px) {

    .mm_category_title {
        font-size: 0.8rem;
        padding: 0rem 0.5rem;
    }

    .mm_lineupDropdown_header {
        max-width: 150px;
    }
    .mega-box .mega-content {
        display: block;
    }
    
    .mm_left_list_title {
        padding: 0rem 0rem 0rem 1rem;
        font-size: 0.8rem
    }

    .mm_lineupDropdown_header {
        min-width: 200px;
    }

    .mm_list_category {
        font-size: 0.8rem;
        margin: 0.2rem 0rem;
        padding: 0rem 0rem 0rem 1rem;
    }

    /* links */
    .mm_list_links_btns {
        padding: 0.3rem 0rem;
    }
    .mm_list_links {
        padding:  0.1rem 1rem;
        font-size: 0.8rem;
    }

    .mm_list_category_items  {
        padding: 0.3rem 0rem;
        background-color: #f7f8f9;
    }

    .mm-lineupDropdown-vehicle {
        font-size: 0.8rem !important;
        /* text-shadow: 0px 0 #545454, 0px 0 #545454; */
    }
    .mm-lineupDropdown-info-bot {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    .mm_car_card_container {
        margin: 0rem 0.2rem;
    }
    .mm_cars_container {
        margin-left: 10px
    }

    .mm_list_category:hover, .mm_list_links_btns:hover {
        background-color: #f7f8f9;
        transition: opacity .5s ease-in-out;
    }
    .mm_lineupDropdown-img {
        margin-right: 0 !important;
        width: 175px !important;
    }

    .disclaimer_svg {
        margin-top: -5px;
    }
    .car-mm-dropdown-cards-popover {
        height: 15px;
        width: 15px;
    }
}

@media screen and (max-width: 395px) {
    .mm_lineupDropdown-img {
        margin-right: 0 !important;
        width: 140px !important;
    }
}


/* smaller surface */
@media screen and (max-width: 380px) {

    /* title */
    .mm_left_list_title  {
        font-size: 1rem;
    }

    /* list */
    .mm_list_category_items  {
        padding: 0.3rem 0rem;
        background-color: #f7f8f9;
    }

    .mm_list_category {
        margin: 0.1rem 0.1rem;
    }
    /* links */
    .mm_list_links_btns {
        padding: 0.3rem 0rem;
    }
    .mm_list_links {
        margin: 0.1rem 0.1rem;
    }

    /* CATEGORY */
    /* title category */
    .mm_category_title {
        font-size: 0.8rem;
        margin: 0.2rem 0.1rem;
        padding: 0rem 0.2rem;
    }

    /* containers */

    .mm_list_category:hover, .mm_list_links_btns:hover {
        background-color: #f7f8f9;
        transition: opacity .5s ease-in-out;
    }

    .mm_lineupDropdown-img {
        margin-right: 0 !important;
        width: 150px !important;
    }
    .mm_lineupDropdown_header {
        min-width: 175px;
    }

}

@media screen and (max-width: 330px) {

    .mm_category_title  {
        font-size: 1.3rem;
        font-weight: bold;
        padding: 0rem 1rem;
        text-align: center;
    }

    .mm_left_list_title, 
    .mm_list_category, 
    .mm_list_links
    {
        font-size: 1rem
    }

    /* cards info */
    .mm-lineupDropdown-vehicle, 
    .mm-lineupDropdown-startingAt,
    .mm-lineupDropdown-price
    {
        font-size: 1rem !important;
    }

    .lineupDropdown_fold, 
    .mega-box .mega-content,
    .mm_car_card_container
    {
        display: flex !important;
        flex-direction: column !important;
    }
    .mm_lineupDropdown_header {
        max-width: 280px;  
        border-top: 1px solid rgb(192, 192, 192);
    }
    .mm_lineupDropdown-img {
        margin-right: 0 !important;
        width: 250px !important;
    }
    .mm_car_card_container {
        justify-content: center !important;
        border: 1px rgb(204, 204, 204) solid;
        border-radius: 5px;
        margin: 0.5rem 0rem;
    }

    .mm_cars_container {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .mm-lineupDropdown-info-bot {
        padding-bottom: 0.5rem;
    }
}

/* Triangle inside rounded button for smooth scrolling effect */
#mm_scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 50px;
    right: 10px;
    background-color: #3498db;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    align-items: center;
    cursor: pointer;
    z-index: 1050;
    padding: 30px;
}
.mm_triangle_btn {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid white;
    margin-top: -12px;
    margin-left: -20px;
}