.woocommerce ul.products li.product .wcfm_buttons {
    z-index: 990;
}

.wcfmmp_sold_by_container_advanced .wcfmmp-store-rating,
.wcfmmp_store_info .wcfmmp-store-rating,
.wcfmmp_sold_by_container .wcfmmp-store-rating {
    float: none;
}

.woocommerce div.product {
    .wcfmmp_sold_by_container {
        margin-bottom: 15px;
    }
}

.woocommerce div.product .entry-summary .wcfm_catalog_enquiry {
    border: none !important;
    box-shadow: none;
}

.woocommerce div.product .wc-tabs-wrapper .panel {
    h2.wcfm-enquiries-heading {
        display: none;
    }
}

.woocommerce div.product {
    .wcfmmp_product_mulvendor_rowhead {
        background-color: #f4f4f4;
        box-shadow: none;
        border: none;
        text-transform: uppercase;
    }

    .wcfmmp_product_mulvendor_rowbody {
        border-top-width: 0;
        &:first-child {
            border-top-width: 1px;
        }

        .wcfm_dashboard_item_title {
            color: #000;
            text-transform: uppercase;
            font-weight: 600;
        }

        .star-rating {
            float: left;
            margin-top: 5px;
        }

        .button {
            height: 40px;
            line-height: 40px;
            padding: 0 10px;
            border: none;

            &:last-child {
                background-color: transparent;
                color: #000;
            }
        }
    }
}

#wcfm-main-contentainer a.add_new_wcfm_ele_dashboard, #wcfm-main-contentainer a.wcfm_import_export, #wcfm-main-contentainer input.wcfm_submit_button, #wcfm-main-contentainer button.wcfm_submit_button, #wcfm-main-contentainer a.wcfm_submit_button, #wcfm-main-contentainer .wcfm_add_category_bt, #wcfm-main-contentainer .wcfm_add_attribute, #wcfm-main-contentainer input.upload_button, #wcfm-main-contentainer input.remove_button, #wcfm-main-contentainer .dataTables_wrapper .dt-buttons .dt-button, #wcfm_vendor_approval_response_button, #wcfm_bulk_edit_button, #wcfm_enquiry_submit_button, #wcfm_tracking_button, #submit-job-form input[type="submit"], #job_preview input[type="submit"] {
    border: none;
    font-weight: 400;
}

.wcfmmp-store-page {
    #wcfmmp-store {
        box-shadow: none;

        .mf-shop-content {
            ul.products {
                margin-left: -15px;
                margin-right: -15px;
            }
        }
    }

    .body_area {
        margin-top: 30px;
    }

    #wcfmmp-store {
        .left_sidebar {
            padding: 25px 20px;
        }

        .right_side {
            padding-top: 0;
            padding-right: 0;
            padding-bottom: 0;
        }

        .right_side_full {
            padding: 0;
        }

        .sidebar_heading h4 {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 30px;
            margin-top: 0;
            color: #000;
            text-transform: none;
        }

        .wcfmmp-store-category ul {
            padding-bottom: 0;
            li {
                padding-left: 0;
                padding-top: 3px;
                padding-bottom: 3px;

                ul {
                    padding-left: 20px;
                }
            }
        }

        .widget {
            position: relative;
            &:after {
                position: absolute;
                bottom: -20px;
                left: 0;
                right: 0;
                content: "";
                height: 1px;
                background-color: #d8d8d8;
            }

            &:last-child {
                margin-bottom: 0;
                &:after {
                    display: none;
                }
            }

            .woocommerce-product-search,
            .search-form {
                background-color: #fff;
            }
        }

        .tab_area {
            .tab_links {
                background-color: #f5f5f5;
                box-shadow: none;
                border-bottom: none;

                li {
                    border: none;
                    background-color: transparent;
                    a {
                        font-size: 16px;
                        font-weight: 600;
                        color: #999;
                        text-transform: none;
                        padding-top: 15px;
                        padding-bottom: 15px;
                    }

                    &:after {
                        display: none;
                    }

                    &.active {
                        border-width: 0 !important;
                        background-color: transparent;
                    }

                    &.active,
                    &:hover {
                        a {
                            color: #000;
                        }
                    }
                }
            }
        }

        .product_area {
            .woocommerce-ordering .current {
                padding: 0 25px 0 15px;
            }

            .shop-toolbar + .shop-toolbar {
                display: none;
            }
        }

        .reviews_area {
            box-shadow: none;
            padding: 0;
            margin: 0;
        }

        .categories_list ul li {
            padding: 5px 0 5px 20px;
            margin: 0;
            background: none;
            position: relative;

            &:before {
                font-family: 'Linearicons';
                content: "\e93c";
                font-size: 12px;
                position: absolute;
                top: 50%;
                left: 0;
                transform: translateY(-50%);

            }

            a {
                color: #000;
                font-size: 14px;
            }
            &.parent_cat {
                a {
                    color: #000;
                    font-size: 14px;
                }
            }
        }
    }

    .mf_widget_product_categories {
        ul.children {
            display: none;
        }
    }

    #wcfmmp-store .add_review button, #wcfmmp-store .user_rated, #wcfmmp-stores-wrap a.wcfmmp-visit-store {
        padding: 0 25px;
        height: 50px;
        line-height: 50px;
        transition: all 0.5s;
        font-size: 16px;
        font-weight: 600;
        text-align: center;
        border: none;
        background-color: var(--mf-background-primary-color);
        color: var(--mf-background-primary-text-color);

        &:hover {
            background-color: var(--mf-background-primary-color);
            color: var(--mf-background-primary-text-color) !important;
        }
    }

    #wcfmmp-store .reviews_area {
        margin-top: 50px;
    }

    .wcfmmp_sold_by_container_advanced .wcfmmp-store-rating::before,
    .wcfmmp_store_info .wcfmmp-store-rating::before,
    .wcfmmp_sold_by_container .wcfmmp-store-rating::before,
    .wcfmmp_sold_by_container_advanced .wcfmmp-store-rating span:before,
    .wcfmmp_store_info .wcfmmp-store-rating span:before,
    .wcfmmp_sold_by_container .wcfmmp-store-rating span:before {
        content: "\f2fc\f2fc\f2fc\f2fc\f2fc";
        font-family: Ionicons;
    }
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
    margin-bottom: 0;
}

.wcfm p.wcfm_title, .wcfm span.wcfm_title {
    margin-bottom: 0 !important;
}

.media-modal {
    .search-form {
        border: none;
        padding: 0;

        &:after {
            display: none;
        }
    }
}

.wcfm-membership-wrapper {
    #wcfm_membership_container {

        input[type="text"],
        input[type="password"],
        input[type="number"] {
            background-color: transparent;
            border: 1px solid #d9d9d9;
            -webkit-border-radius: 3px;
            border-radius: 3px;
            color: #000;
            font-weight: 400;
            padding: 14px 16px;
            text-align: left;
        }

        .wcfm_title {
            strong {
                font-weight: 400;
            }
        }

        input.wcfm_submit_button {
            float: left;
            height: 50px;
            line-height: 50px;
            transition: all 0.5s;
            font-size: 16px;
            font-weight: 600;
            text-align: center;
            border: none;
            margin: 0;
            padding: 0 25px !important;
            background-color: var(--mf-background-primary-color);
            color: var(--mf-background-primary-text-color);

            &:hover {
                background-color: var(--mf-background-primary-color);
                color: var(--mf-background-primary-text-color)!important;
            }
        }

        .wcfm-info, .wcfm-success, .wcfm-warning, .wcfm-error, .wcfm-validation, .wcfm-wcfmu {
            padding-left: 20px;
        }
    }

}

.woocommerce #wcfmmp-store {
    ins {
        color: #f30;
        background-color: transparent;
    }

    .woocommerce-product-details__short-description ul {
        padding-left: 0;
        li {
            padding-left: 15px;
        }
    }

    .wcfmmp_store_hours .wcfmmp-store-hours-day {
        color: #000;
    }

    .reviews_area, .policies_area, .wcfm_store_description {
        box-shadow: none;
        padding: 0;
        margin: 0;
    }

    p {
        line-height: 1.6;
    }
}

.wcfm-store-list-page {
    #wcfmmp-stores-lists {
        box-shadow: none;

        .right_side {
            padding-top: 0;
        }

        select {
            appearance: none;
            background: #fff url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAUCAMAAACzvE1FAAAADFBMVEUzMzMzMzMzMzMzMzMKAG/3AAAAA3RSTlMAf4C/aSLHAAAAPElEQVR42q3NMQ4AIAgEQTn//2cLdRKppSGzBYwzVXvznNWs8C58CiussPJj8h6NwgorrKRdTvuV9v16Afn0AYFOB7aYAAAAAElFTkSuQmCC) no-repeat right 10px center;
            background-size: 8px 10px;
            color: #000;
            padding: 10px 30px 10px 15px;
            cursor: pointer;
            height: auto;
            border-color: #d9d9d9;
        }
    }

    .wcfmmp-store-lists-sorting {
        .wcfm-woocommerce-ordering {
            padding-top: 0;
            padding-bottom: 0;
        }

        .woocommerce-result-count {
            font-size: 14px;
            padding-top: 9px;
            padding-bottom: 0;
        }

        .wcfmmp-pagination {
            padding: 0;
            float: right;
        }
    }

    .site-content .content-area {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    #wcfmmp-stores-wrap .paginations {
        ul {
            li {
                padding: 0 5px;

                .page-numbers {
                    color: #000;
                    font-size: 14px;
                    text-align: center;
                    padding: 0 12px;
                    height: 32px;
                    line-height: 32px;
                    display: block;
                    background-color: #f5f5f5;
                    min-width: 34px;

                    &.current,
                    &:hover {

                        background-color: var(--mf-background-primary-color);
                        color: var(--mf-background-primary-text-color);
                    }
                }
            }
        }
    }

    #wcfmmp-stores-wrap ul.wcfmmp-store-wrap li .store-content .store-info {
        height: 210px;
    }
}

#wcfmmp-store-lists-sidebar {
    .wcfmmp-store-search-form input#search,
    .wcfmmp-store-search-form input.wcfm-search-field,
    .wcfmmp-store-search-form select#wcfmmp_store_category,
    .wcfmmp-store-search-form select#wcfmmp_store_country,
    .wcfmmp-store-search-form #wcfmmp_store_state,
    .wcfmmp-store-search-form .select2-container,
    .wcfmmp-store-search-form .wcfmmp-search-box {
        width: 100%;
        padding: 12px 20px;
        border: 1px solid #f5f5f5 !important;
        color: #999;
        margin-bottom: 0;
        min-height: 45px;
    }

    .wcfmmp-store-search-form .select2-container {
        padding-top: 5px;
        padding-bottom: 5px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        top: 9px;
    }

    .widget {
        margin-bottom: 30px;
        padding-top: 30px;
        position: relative;

        &:after {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            content: "";
            height: 1px;
            background-color: #d8d8d8;
        }

        &:first-child {
            padding-top: 0;

            &:after {
                display: none;
            }
        }
    }
}

.wcfm_popup_wrapper .enquiry-form .wcfm_popup_input {
    width: 79%;
}

.wcfm_popup_wrapper .enquiry-form .wcfm_popup_label {
    width: 20%;
}

.wcfm_popup_wrapper .enquiry-form .wcfm_popup_button {
    font-family: inherit;
    padding: 0 25px;
    height: 40px;
    line-height: 40px;
    background-color: #88aa00;
    color: #fff;
    transition: all 0.5s;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border: none;
    letter-spacing: 0;
    font-weight: 600 !important;
}

.page-template-template-homepage {
    ul.products li.product {
        .wcmp_fpm_buttons {
            display: none;
        }
    }
}

// Store Listing

.wcfmmp-stores-listing .wcfmmp-store-list-map {
    margin-bottom: 60px;
}

#wcfmmp-stores-lists .left_sidebar {
    border: none;
    background-color: #f8f8f8;
    padding: 25px;
}

#wcfmmp-stores-lists .wcfmmp-store-search-form {
    box-shadow: none;
    padding: 0;

    .widget-title {
        margin-bottom: 15px;
    }
}

#wcfmmp-store-lists-sidebar .wcfmmp-store-search-form input#search, #wcfmmp-store-lists-sidebar .wcfmmp-store-search-form input.wcfm-search-field, #wcfmmp-store-lists-sidebar .wcfmmp-store-search-form select#wcfmmp_store_category, #wcfmmp-store-lists-sidebar .wcfmmp-store-search-form select#wcfmmp_store_country, #wcfmmp-store-lists-sidebar .wcfmmp-store-search-form #wcfmmp_store_state, #wcfmmp-store-lists-sidebar .wcfmmp-store-search-form .select2-container, #wcfmmp-store-lists-sidebar .wcfmmp-store-search-form .wcfmmp-search-box,
#wcfmmp-store-lists-sidebar .wcfmmp-store-search-form input.wcfmmp-radius-addr {
    width: 100% !important;
    box-shadow: none;
    border: 1px solid #cccccc !important;
    margin-bottom: 10px;
    min-height: 50px;
}

#wcfmmp-store-lists-sidebar .wcfmmp-store-search-form div.wcfm_radius_filter_container {
    width: 100% !important;
}

#wcfmmp-stores-lists .wcfmmp-store-lists-sorting {
    margin: 0;
}

#wcfmmp-stores-lists .right_side {
    padding: 0 0 0 35px;
}

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap {
    margin-left: -15px;
    margin-right: -15px;
}

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li .store-wrapper {
    box-shadow: none;
    border: 1px solid #d9d9d9;
}

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li .store-footer .store-avatar {
    width: 80px;
    height: 80px;
    top: -50px;
}

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li .store-footer .store-data-container {
    padding-top: 30px;
}

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li .store-data h2 {
    font-size: 24px;
    margin: 20px 0 5px;
}

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li .store-data .bd_rating  {
    margin-bottom: 15px;
}

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li .store-data-container .store-address, #wcfmmp-stores-wrap ul.wcfmmp-store-wrap li .store-data-container .store-phone{
    background: none;
    color: #000 !important;
    margin: 0 0 10px 0;

    i {
        background-color: transparent !important;
        color: #000 !important;
    }
}

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li .store-data-container .wcfm_catalog_enquiry  {
    border-radius: 5px;
    box-shadow: none;
}

// Wcfm Vendor Header
.wcfm-template-themes {
    #wcfmmp-store .wcfmmp-store-page-wrap {

        ul {
            &.sub-menu {
                padding: 0;
                margin-left: 10px;
            }
        }

        #wcfm_store_header {
            background: #f5f5f5 !important;
            padding: 20px 0;
            border: 1px solid #e5e5e5;

            .header_area {
                min-height: 115px;
            }
        }

        .header_left {
            margin-left: 30px;
        }

        .banner_img {
            height: 210px;
            max-height: 210px;
        }

        .logo_area {
            width: 198px;
            height: 198px;
            border: 1px solid #e5e5e5;
            box-shadow: none;
            border-radius: 0;
            top: -110px;

            a img {
                border-radius: 0;
            }
        }

        .logo_area_after {
            width: 200px;
            top: 85px;
            left: 0;
            right: 0;

            .wcfmmp-store-rating {
                margin: 0 auto;

                &:before {
                    color: #666;
                }

                span:before {
                    color: #666 !important;
                }
            }
        }

        .wcfmmp-store-rating {
            &:before {
                color: #666;
            }
            span:before {
                color: #666 !important;
            }
        }

        .address {
            left: 230px;

            span, a {
                color: #555 !important;
            }

            span {
                font-size: 14px;
            }

            .wcfm_store_title {
                margin: 0 0 20px 0;
                color: #000 !important;
                font-weight: 600;
            }

            .wcfm-store-address {
                display: flex;
                align-items: center;
                flex-wrap: wrap;
                width: 100%;
                line-height: 1;

                .wcfmfa {
                    display: none;
                }

                label {
                    color: #000;
                }

                span {
                    width: 100%;
                }

                .header_store_name {
                    margin: 3px 0;
                }
            }
        }

        .bd_icon_area {
            top: 0;
            right: 20px;
            margin: 0;
            z-index: 1;

            .wcfm_store_enquiry {
                background-color: var(--mf-background-primary-color)!important;
                color: var(--mf-background-primary-text-color)!important;

                span {
                    color: #fff !important;
                }
            }
        }

        .social_area {
            background-color: #f5f5f5 !important;

            ul {
                display: flex;
                justify-content: flex-end;
                top: calc(100% - 25px);
                right: 30px;
                margin: 0 -4px;

                li {
                    background-color: transparent !important;

                    a i {
                        color: #fff !important;
                        width: 30px;
                        height: 30px;
                        line-height: 31px;
                        border-radius: 3px;
                        font-size: 13px;

                        &.fa-facebook-f {
                            background-color: #4267b2;
                        }

                        &.fa-twitter {
                            background-color: #3eb0ff;
                        }

                        &.fa-google-plus-g {
                            background-color: #d41b1b;
                        }

                        &.fa-linkedin-in {
                            background-color: #2d55a7;
                        }

                        &.fa-instagram {
                            background-color: #125688;
                        }

                        &.fa-pinterest {
                            background-color: #a91111;
                        }

                        &.fa-youtube {
                            background-color: #bb0000;
                        }

                        &.fa-snapchat {
                            background-color: #F7F801;
                        }
                    }
                }
            }
        }

        .body_area {
            margin-top: 60px;
        }

    }
}

@media screen and (max-width: 1024px) {
    .wcfm-template-themes #wcfmmp-store {
        .wcfmmp-store-page-wrap .address {
            position: static;
            margin-left: 0;
            padding-left: 0;
            margin-top: 50px;
        }
        .wcfmmp-store-page-wrap .header_left {
            margin-left: 0;
        }
        .social_area {
            position: static;
        }

        .wcfmmp-store-page-wrap .social_area ul {
            justify-content: flex-start;
        }

        .wcfmmp-store-page-wrap .logo_area {
            width: 90px;
            height: 90px;
            top: -70px;
            position: absolute;
        }

        .wcfmmp-store-page-wrap .logo_area_after {
            top: 25px;
            left: 25px;
            width: 75px;
        }
    }

    .wcfm-store-page #wcfmmp-store .right_side {
        padding-left: 0;
    }
}

@media (max-width: 991px) {
    // Vendor Page
    .woocommerce.wcfmmp-store-page .shop-toolbar .shop-view,
    .woocommerce.wcfmmp-store-page .shop-toolbar .products-found {
        width: 50%;
    }
}

@media (max-width: 767px) {
    .wcfm-store-list-page .wcfmmp-store-lists-sorting {
        .wcfm-woocommerce-ordering {
            float: none;
            width: 100%;
            margin-right: 0;
            margin-bottom: 10px;

            #wcfmmp_store_orderby {
                width: 100%;
            }
        }
    }

    .wcfm-store-list-page #wcfmmp-stores-lists .wcfmmp-store-lists-sorting {
        text-align: left;
    }

    .wcfm-dashboard-page,
    .mf-vendor-dashboard-page {
        .mf-navigation-mobile {
            display: none;
        }

        &.mobile-version {
            padding-bottom: 0;
        }
    }

    .wcfm-store-page .content-area .shop-toolbar .mf-filter-mobile {
        display: none;
    }

    #wcfmmp-store .address {
        width: 100% !important;
    }

    .wcfmmp-store-page .right_side_full .shop-toolbar .mf-filter-mobile {
        display: none;
    }

    .wcfm_popup_wrapper .enquiry-form .wcfm_popup_label,
    .wcfm_popup_wrapper .enquiry-form .wcfm_popup_input {
        width: 100%;
    }

    .wcfm_popup_wrapper .enquiry-form .wcfm_popup_label {
        margin-bottom: 10px;
    }

}

@media (min-width: 992px) {
    .mf-vendor-profile {
        ul.products {
            .wcfmmp_sold_by_container {
                margin-top: 5px;
            }

            .wcfm_vendor_badges {
                margin-bottom: 0;
            }
        }

        &.shop-view-list ul.products:not(.slick-slider) li.product .mf-product-details-hover .wcfmmp_sold_by_container {
            display: none;
        }

        &.mf-product-loop-hover-2 {
            .mf-products-carousel ul.products,
            .mf-products-tabs-carousel ul.products,
            .mf-products-tabs .tabs-panel ul.products,
            .mf-products-top-carousel ul.products,
            section.up-sells ul.products,
            section.related ul.products,
            .mf-brands-grid ul.products {
                li.product {
                    .product-inner {
                        margin-bottom: 60px;
                    }
                }
            }
        }
    }

}

@media screen and (max-width: 736px) {
    .wcfm-template-themes #wcfmmp-store {
        .bd_icon_area {
            position: absolute;
        }

        .social_area {
            float: left;
            width: 100%;
        }
    }
}

@media screen and (max-width: 627px) {
    .wcfm-template-themes #wcfmmp-store {
        .social_area ul li {
            width: 30px;
            height: 30px;
        }
    }
}

@media screen and (max-width: 480px) {
    .wcfm-template-themes #wcfmmp-store {
        .logo_area {
            display: block;
        }

        .header_right {
            background: none;
        }

        .wcfmmp-store-page-wrap .social_area ul {
            justify-content: center;
        }
    }
}
