/*================================================
=== Home Page Styles 
=================================================*/

/*---------------------------- 
--- General
------------------------------*/
.homepage {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

/*** Title ***/
.home-heading {
    position: relative;
    margin: 0 0 30px;
    text-align: center;
    font-weight: 700;
    font-size: 24px;
    font-family: var(--font1);
    text-transform: uppercase;
}

.home-heading__link {
    font-size: 14px;
    font-weight: 400;
    font-family: var(--font1);
    text-transform: capitalize;
    letter-spacing: 0;
}

/*---------------------------- 
--- Hero Slider
------------------------------*/
#featured_slideshow_d {
    display: none
}

.home-hero__img {
    margin: 0;
}

.home-hero__outer {
    position: relative;
    overflow: hidden;
}

.home-hero__outer::before {
    display: block;
    content: "";
    width: 100%;
    padding-top: calc((350 / 768) * 100%);
}

.home-hero__inner {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--dark1);
    height: 100%;
}

.home-hero__inner img {
    width: 100%;
}

.home-hero__loader {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: absolute;
    opacity: 0.3;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.home-hero .owl-dots {
    margin-top: -30px;
    position: relative;
    z-index: 2;
}

.home-hero .owl-nav {
    /*     position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    font-size: 36px; */
}

.home-hero .owl-nav>div {
    position: absolute;
    top: 50%;
    left: 0;
    font-size: 36px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    padding: 5px 30px;
    color: rgba(255, 255, 255, 0.5);
    /*     text-shadow: 0 0  5px rgba(0,0,0,0.3); */
    background: rgba(255, 255, 255, 0);
    -webkit-transition: 0.3s ease all;
    transition: 0.3s ease all;
}

.home-hero:hover .owl-nav>div {
    color: rgba(255, 255, 255, 1);
    background: rgba(0, 0, 0, 0.5);
}

.home-hero .owl-nav>div:last-child {
    left: auto;
    right: 0;
}

.home-hero .owl-nav>div:hover {
    color: var(--red1);
}

/*---------------------------- 
--- Shop by Vehicle
------------------------------*/
/*** General ***/
.home-ymm__heading::after {
    display: none;
}

.home-ymm {
    margin: 15px 0;
}

.side_attributes hr,
.home-ymm .secondary_solr_box {
    display: none;
}

.home-ymm .loading_box {
    color: var(--white);
    text-align: center;
}

.home-ymm .loading_box * {
    display: inline-block;
}

.home-ymm__container {
    background: var(--dark1);
    padding: 0 15px 15px;
}

/*** Title ***/
.home-ymm__heading {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    margin: 0;
    padding: 15px 5px;
    text-align: center;
    margin: 0 -15px 15px;
}

.home-ymm__heading small {
    color: var(--white);
    font-weight: 400;
    font-size: 100%;
}

/*** Widget ***/
.wsmjs-attribute-search-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin: 0 0 15px;
}

/*** Selects ***/
.wsmjs-attribute-search-group select {
    width: 100%;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    border: 0 !important;
    padding: 10px 30px 10px 10px;
    line-height: 1;
    border: 0px solid var(--dark1);
    background: var(--white);
    color: var(--dark1);
    margin: 0;
    border-radius: 0;
    font-size: 16px;
}

.wsm_widget_attribute_selector_label select[disabled] {
    color: var(--mid1);
}

.wsm_widget_attribute_selector_label {
    position: relative;
    margin: 0 0 5px;
    font-size: 15px;
}

.wsm_widget_attribute_selector_label::after {
    font-size: 12px;
    content: "\f078";
    position: absolute;
    right: 10px;
    font-family: var(--fontawesome);
    font-weight: 900;
    pointer-events: none;
    color: rgba(0, 0, 0, .9);
    height: 100%;
    top: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.wsm_widget_attribute_selector_label[disabled="disabled"]::after {
    opacity: 0.4
}

/*** Selected ***/
.wsm_widget_attribute_selector_label[id*="_text"] {
    padding: 10px;
    line-height: 1;
    text-align: left;
    background: var(--white);
}

.wsm_widget_attribute_selector_label[id*="_text"]::after {
    content: '\f058';
    color: green;
    font-size: 18px;
    right: 6px;
}

.home-ymm .wsm_widget_attribute_selector_tag {
    text-transform: uppercase;
    font-size: 11px;
    position: absolute;
    font-weight: 700;
    top: -7px;
    left: -15px;
    background: var(--red1);
    color: var(--white);
    padding: 2px 3px;
}

/*** Buttons ***/
.wsmjs-attribute-search-buttons {
    text-align: right;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;

}

.wsmjs-attribute-search-buttons .wsmjs-attribute-search-shop,
.wsmjs-attribute-search-buttons .wsmjs-attribute-search-clear {
    background: var(--primary);
    color: var(--white);
    font-size: 20px;
    border-radius: 0;
    margin: 0;
    vertical-align: top;
    margin: 0 2px;
    font-size: 16px;
    border: 0;
}

.wsmjs-attribute-search-buttons .wsmjs-attribute-search-clear {
    background: none;
    border: 2px solid rgba(255, 255, 255, .1);
    display: inline-block;
    height: 100%;
    font-weight: 400;
    color: var(--mid1);
}

.wsmjs-attribute-search-buttons .wsmjs-attribute-search-shop:hover {
    background: var(--primary);
    opacity: .8;
}

.wsm_widget_attribute_selector_label {
    margin-bottom: 5px;
}

/*---------------------------- 
--- Brands
------------------------------*/
/*** General ***/
.home-brands {
    background: var(--white);
    padding: 30px 0;
}

/*** Carousel ***/
#featured_slideshow_feat_brands_carousel {
    padding: 0 45px;
    position: relative;
}

#featured_slideshow_feat_brands_carousel .owl-stage-outer {
    padding: 15px 0;
}

/*** Navigation ***/
#featured_slideshow_feat_brands_carousel .owl-nav i {
    font-size: 32px;
    color: var(--dark1);
}

#featured_slideshow_feat_brands_carousel .owl-nav i:hover {
    color: #ba0000;
}

#featured_slideshow_feat_brands_carousel .owl-prev,
#featured_slideshow_feat_brands_carousel .owl-next {
    position: absolute;
    bottom: 50%;
    margin-bottom: -16px;
}

#featured_slideshow_feat_brands_carousel .owl-prev {
    left: 10px;
}

#featured_slideshow_feat_brands_carousel .owl-next {
    right: 10px;
}

/*** Brand Logos ***/
#featured_slideshow_feat_brands_carousel .wsm-slide {
    background: var(--white);
    padding: 5px;
    height: 70px;
}

#featured_slideshow_feat_brands_carousel .wsm-slide img {
    margin: 0 auto;
    width: auto;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    display: block;
    position: relative;
    max-height: 100%;
}

#featured_slideshow_feat_brands_carousel .wsm-slide>a {
    display: block;
    height: 100%;
    text-align: center;
    background: var(--white);
}


/*---------------------------- 
--- Top Picks / featured categories
------------------------------*/
/*** General ***/
.home-tp {
    padding: 30px 15px;
    background: linear-gradient(0deg, #fe500085 10%, transparent 90%);
}


/*** Categories ***/
#wsm-gallery-widget_fcats>.row::before,
#wsm-gallery-widget_fcats>.row::after {
    display: none;
}

#wsm-gallery-widget_fcats>.row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.home-tp__item {
    -webkit-box-flex: 0;
    -ms-flex: 0 calc(50% - 10px);
    flex: 0 calc(50% - 10px);
    margin: 0 0 20px;
}
.home-tp__item {
    position: relative;
}
#wsm-gallery-widget_fcats .widget_innerfade_description {
    background: #0000006e;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 0;
    pointer-events: none;
}
#wsm-gallery-widget_fcats .widget_innerfade_name a {
    position: absolute;
    bottom: 0;
    left: 0;
    text-transform: uppercase;
    font-family: var(--font1);
    font-size: 1.8rem;
    font-weight: bold;
    padding: 11px;
    color: var(--white);
    z-index: 1;
}
.home-tp__item:hover {
    transform: scale(1.01);
    box-shadow: 0 2px 6px 1px black;
}

.home-tp__item {
    transition: all .3s ease;
}

/*** Images ***/
.home-tp__item .img_wrap {
    /* border: 1px solid var(--light3); */
    display: block;
    margin: 0 0 5px;
    /* background: var(--white); */
    /* padding: 5px; */
    /*     height: 100px; */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.home-tp__item .img_wrap img {
    max-height: 100%;
    width: 100%;
}

/*** Category Titles ***/
.home-tp__item .widget_innerfade_name,
.home-tp__item .widget_innerfade_name a {
    font-size: 12px;
    line-height: 1.2;
}

/*---------------------------- 
--- Static Banners
------------------------------*/
div#wsm-gallery-widget_static .row {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-static-item {
    display: flex;
    flex-direction: column;
    margin: 15px;
    position: relative;
}
#wsm-gallery-widget_static .widget_innerfade_name a {
    position: absolute;
    bottom: -22px;
    right: -5px;
    text-transform: uppercase;
    font-size: 5.5rem;
    color: white;
    letter-spacing: 1px;
    font-weight: bold;
    font-family: var(--font2);
}
.home-static-item img {
    width: 100%;
}

/*---------------------------- 
--- Hot Products / featured products
------------------------------*/

/*** General ***/
.home-hp {
    /* background: var(--light2); */
    padding: 30px 15px;
}


/*** Title ***/
.home-hp__heading {
    margin: 0 0 30px;
}

/*** Nav Arrows ***/
.home-hp .owl-nav {
    position: absolute;
    z-index: 1;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: calc(100% + 60px);
    left: -30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-size: 32px;
    color: rgba(0, 0, 0, 0.4);
}

.home-hp .owl-next {
    margin-left: auto;
}

.home-hp .owl-nav i:hover {
    color: var(--red1);
}

.home-hp .owl-stage-outer {
    position: relative;
    z-index: 2;
}

/*** Product Image ***/
.home-hp img {
    max-height: 220px;
    width: auto !important;
    margin: 0 auto;
}

.home-hp .widget_featured_image {
    text-align: center;
    margin: 0 0 15px;
    background: #FFF;
}

.home-hp .widget_featured_image a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.home-hp .widget_featured_image img {
    max-height: 100%;
}

/*** Product Info ***/
.home-hp .fprod_prod_info {
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-weight: bold;
}

.home-hp .widget_featured_title {
    -webkit-box-flex: 0;
    -ms-flex: 0 100%;
    flex: 0 100%;
    margin: 0 0 15px;
    line-height: 1.2;
}

.home-hp .widget_featured_title a {
    font-size: 16px;
    color: var(--primary);
}

.home-hp .widget_pricebox {
    margin: 0 5px 0 0;
    width: 47%;
}
#owl_featured_prods_feat_prods1 .product_form {
    width: 50%;
}
.widget_featured_more_btn {
    background: var(--primary);
    color: var(--white);
    border: 0;
    padding: 6px 30px;
    width: 100%;
}

.widget_featured_more_btn:hover {
    color: var(--white);
}

/*---------------------------- 
--- Home News
------------------------------*/
.home-news {
    padding: 60px 0;
    background: linear-gradient(0deg, var(--light1), transparent);
}

.home-news .row {
    margin: 0;
}

.home-news .widget_innerfade_name {
    font-weight: 700;
    font-size: 20px;
    margin: 15px 0;
    display: block;
    display: none;
}

.home-news .widget_innerfade_name a {
    color: var(--dark1);
}

.home-news__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/***************************** 
*** Media Queries 
******************************/

@media only screen and (min-width: 768px) {

    /* --- General
    ------------------------------*/
    .homepage .container::before,
    .homepage .container::after {
        display: none;
    }

    /* --- Hero
    ------------------------------*/
    #featured_slideshow_m {
        display: none;
    }

    #featured_slideshow_d {
        display: block;
    }

    .home-hero__outer::before {
        display: block;
        content: "";
        width: 100%;
        padding-top: calc((530 / 1600) * 100%);
    }

    /* --- Shop By Vehicle
    ------------------------------*/
    .home-ymm .wsmjs-attribute-search-group {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .home-ymm .wsm_widget_attribute_selector_label {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        margin: 0 5px 0 0;
    }

    .home-ymm__heading {
        border-bottom: 0;
    }

    /*** Non-AGS***/
    .home-ymm .wsm_widget_attribute_selector {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .home-ymm .wsm_widget_attribute_selector .wsmjs-attribute-search-group {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        margin-bottom: 0;
    }


    /* --- Top Picks / featured categories
    ------------------------------*/

    /*** Images ***/
    .home-tp__item {
        -webkit-box-flex: 0;
        -ms-flex: 0 calc(25% - 10px);
        flex: 0 calc(25% - 10px);
        margin: 0 0 20px;
    }

    /*** Titles ***/
    .home-hp .widget_featured_title {
        height: 77px;
        overflow: hidden;
    }
    #wsm-gallery-widget_fcats .widget_innerfade_name {
        font-size: 2rem;
    }

    /*---------------------------- 
    --- Static Banners
    ------------------------------*/
    div#wsm-gallery-widget_static .row {
        flex-direction: row;
    }

    /* --- Hot Products / featurd products
    ------------------------------*/
    .home-hp {
        padding: 60px 0;
    }

    .home-hp .widget_featured_image {
        height: 200px;
    }



}

@media only screen and (min-width: 992px) {

    /* --- Shop By Vehicle
    ------------------------------*/

    /*** General ***/
    .home-ymm {
        position: relative;
        z-index: 2;
        background: var(--white);
    }

    .home-ymm__container {
        width: 90%;
        margin: 0 auto;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        padding: 0;
    }

    /*** Title ***/
    .home-ymm__heading {
        margin: 0 0 0 0px;
        text-align: right;
        font-size: 20px;
        padding: 0 30px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        position: relative;
    }

    .home-ymm__heading>* {
        position: relative;
        z-index: 2;
    }

    .home-ymm__heading small {
        font-size: 14px;
        font-weight: 400;
        display: block;
    }

    /*** Widget ***/
    .home-ymm__selects {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        padding: 0 0 0 30px;
        padding: 15px 15px 15px 45px;
    }

    .home-ymm .wsmjs-attribute-search-group {
        margin: 0;
    }

    /* --- Featured Brands
    ------------------------------*/
    .home-brands {
        padding-top: 0px;
    }


    /* --- Top Picks
    ------------------------------*/
    .home-tp {}

    /*** Categories ***/
    #wsm-gallery-widget_fcats>.row {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }

    .home-tp__item {
        -webkit-box-flex: 0;
        -ms-flex: 0 calc(25% - 20px);
        flex: 0 calc(25% - 20px);
        margin: 0 10px 20px;
    }
    #wsm-gallery-widget_fcats .widget_innerfade_name a {
        font-size: 2.5rem;
    }
    /* --- Hot Products
    ------------------------------*/
    /*** General ***/
    .home-hp__prods {
        padding: 0 30px;
    }

    .home-hp .widget_featured_image {
        height: 150px;
    }

    /*** Nav ***/
    .home-hp .owl-nav {
        position: absolute;
        z-index: 1;
        top: 50%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        width: calc(100% + 60px);
        left: -30px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        font-size: 32px;
        color: rgba(255, 255, 255, 0.4);
    }

    /*** Description ***/
    .home-hp .fprod_prod_info {
        text-align: left;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }

    /* --- News
    ------------------------------*/
    .home-news__item {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        flex-direction: row;
    }


    .home-news__item>a {
        -webkit-box-flex: 0;
        -ms-flex: 0 40%;
        flex: 0 40%;
    }

    .home-news__item>.widget_innerfade_description {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        padding: 0 0 0 30px;
    }

}

@media only screen and (min-width: 1200px) {

    /* --- General
    ------------------------------*/
    .home-heading {
        font-size: 36px;
        letter-spacing: -1px;
    }

    /* --- Shop By Vehicle
    ------------------------------*/
    .home-ymm__container {
        width: 1170px;
    }

    .home-ymm__heading {
        font-size: 30px;
    }

    /* --- Brands
    ------------------------------*/
    .home-brands .owl-nav {
        display: block !important;
    }

    /* --- Top Picks
    ------------------------------*/
    .home-tp {
        padding: 60px 0;
    }

    .home-tp__item>a {
        display: block;
        -webkit-transition: 0.3s ease all;
        transition: 0.3s ease all;
    }

    .home-tp__item>a:hover>span {
        border-color: var(--blue1);
    }

    .home-tp__item>a:hover+span a {
        color: var(--blue1);
    }

    .home-tp__item .widget_innerfade_name,
    .home-tp__item .widget_innerfade_name a {
        font-size: 16px;
    }

    /* --- Hot Products
    ------------------------------*/
    .home-hp .widget_featured_prod {
        padding: 10px;
        border: 2px solid var(--light3);
    }

    .home-hp .widget_featured_prod:hover {
        /*         box-shadow: inset 0 0 0 5px var(--blue1); */
        background: rgba(0, 0, 0, 0.2);
    }



}