﻿/*Home main banner*/
.home-main-banner {
    align-items: center;
    border-radius: 5px;
    display: flex;
    height: 240px;
    justify-content: center;
}

.home-brand-filter-base {
    width: 96%;
}

    .home-brand-filter-base .opc-search-form {
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .home-brand-filter-base .opc-search-form .opc-form {
            position: relative;
            width: 25%;
            margin-right: 7px;
        }

            .home-brand-filter-base .opc-search-form .opc-form .opc-label {
                position: absolute;
                top: 5px;
                left: 15px;
                font-size: 13px;
                font-weight: 500;
                width: 100%;
            }

            .home-brand-filter-base .opc-search-form .opc-form .opc-search-select {
                height: 62px;
                width: 100%;
                border-radius: 5px;
                border: 1px solid lightgray;
                background: white;
                padding: 0 10px;
                font-weight: bold;
                text-transform: uppercase;
            }

            .home-brand-filter-base .opc-search-form .opc-form .opc-search-btn {
                height: 62px;
                width: 10%;
                border-radius: 5px;
                background: #023f88;
                font-weight: bold;
                cursor: pointer;
                text-transform: uppercase;
            }

.brand-filter-submit-btn {
    border-radius: 5px;
    background: #0051e4;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    height: 60px;
    width: 200px;
}

    .brand-filter-submit-btn:first-letter {
        text-transform: uppercase;
    }

@media screen and (max-width: 720px) {
    .home-main-banner {
        height: 240px;
        border-radius: unset;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .brand-filter-submit-btn {
        width: 300px;
    }

    .opc-search-form {
        flex-wrap: wrap;
        width: 90vw;
        padding: 0;
        margin: 0 auto;
    }

    .opc-form {
        width: 100% !important;
        margin-bottom: 10px;
        margin-right: 0 !important;
    }

    .opc-search-btn {
        width: 100%;
    }

    .home-brand-filter-base {
        width: 100%;
    }

    .home-category-base-straght {
        overflow: auto;
    }

    .home-brand-filter-base .opc-search-form .opc-form .opc-search-select {
        height: 50px;
        padding-top: 15px;
        font-size: 13px;
        font-weight: 500;
    }

    .home-brand-filter-base .opc-search-form .opc-form .opc-label {
        font-size: 12px;
        font-weight: 400;
    }

    .opc-search-btn {
        height: 50px;
    }
}
/*-----------------------------------------------------------------------------------------------------*/

/*Home component title*/
.home-news {
    display: flex;
    margin-bottom: 15px;
}

    .home-news .home-news-title {
        font-size: 28px;
        color: var(--light-blue);
        border-bottom: 1px solid var(--light-blue);
        width: 100%;
        font-weight: bold;
        margin-top: 0;
        margin-bottom: 0;
        height: 40px;
        box-sizing: border-box;
    }

    .home-news .line {
        border-bottom: 40px solid var(--light-blue);
        border-left: 25px solid transparent;
        height: 0;
        width: 350px;
        display: flex;
        align-items: center;
        box-sizing: border-box;
    }

        .home-news .line a {
            color: white;
            font-weight: 400;
            font-size: 16px;
            margin: 0 auto;
            height: 100%;
            margin-top: 20px;
        }

@media screen and (max-width: 720px) {
    .home-news .line a {
        font-size: 13px;
        min-height: unset;
        margin-top: 13px;
        font-weight: 300;
    }
}
/*-----------------------------------------------------------------------------------------------------*/


/*Home category*/
.category-item {
    font-size: 12px;
}

.category-item {
    padding: 8px 8px;
    transition: .3s;
    cursor: pointer;
    color: #737477;
    font-weight: 500;
    font-size: 15px;
}

    .category-item.active {
        background: #e6e7e8;
        color: black;
    }

.home-category-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    height: 100px;
}

    .home-category-list .home-category-item {
        width: 100px;
        height: 100px;
        padding: 3px;
        text-align: center;
        display: block;
    }

        .home-category-list .home-category-item a{
            display: block;
            height: 100px;
        }

        .home-category-list .home-category-item img {
            height: 50px;
            width: auto !important;
            transition: .3s;
            margin: 0 auto;
            margin-bottom: 7px;
            display: block;
        }

        .home-category-list .home-category-item a div {
            font-weight: 500;
            font-size: 12px;
            text-transform: uppercase;
            height: 50px;
        }

@media screen and (max-width: 720px) {
    .category-item {
        font-size: 12px;
    }

    .home-category-list {
        justify-content: unset !important;
        overflow: auto;
        box-sizing: border-box;
        display: grid;
        grid-template-rows: repeat(2, 1fr);
        grid-template-columns: repeat(7, 1fr);
        border: 0;
        width: 100vw;
        padding-bottom: 15px;
    }


        .home-category-list .home-category-item {
            width: 80px;
            height: 80px;
            padding: 5px;
        }

            .home-category-list .home-category-item img {
                height: 45px;
            }

            .home-category-list .home-category-item a div {
                font-size: 10px;
                width: 80px;
                height: 30px;
            }

        .home-category-list::-webkit-scrollbar {
            height: 4px;
        }

        .home-category-list::-webkit-scrollbar-thumb {
            background: blue;
            border-radius: 50px;
        }

        .home-category-list::-webkit-scrollbar-button {
            width: 20%;
        }
}
/*-----------------------------------------------------------------------------------------------------*/

/*Home post*/
.home-post-ctn {
    min-height: 320px;
}

    .home-post-ctn .home-sale-title {
        line-height: 35px;
    }

    .home-post-ctn .home-topic-list {
        font-size: 15px;
    }

        .home-post-ctn .home-topic-list .item {
            padding: 0 10px;
            cursor: pointer;
            font-weight: 400;
        }

            .home-post-ctn .home-topic-list .item.active {
                background: var(--light-blue);
                color: white;
            }


.home-sale-slide .product-image {
    display: flex;
    align-items: center;
    transition: .3s;
    min-height: 240px;
}

    .home-sale-slide .product-image img {
        width: 100%;
    }

.home-sale-slide .product-name {
    font-size: 17px;
    padding: 7px;
    padding-bottom: 0px;
    font-weight: 400;
    color: #414042;
    overflow: hidden;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    min-height: 45px;
}

.home-sale-slide .product-code {
    font-size: 12px;
    font-weight: 500;
    color: #808285;
    padding: 7px;
    padding-bottom: 0px;
}

.home-sale-slide .product-new-price {
    font-size: 20px;
}

@media screen and (max-width: 720px) {
    .home-post-ctn {
        padding: 0px 5px;
        min-height: unset;
    }

    .home-sale-slide .product-image {
        min-height: 130px;
        height: 130px;
    }

        .home-sale-slide .product-image img {
            width: 100%;
            height: 130px;
        }

    .home-post-ctn .home-topic-list .item {
        font-size: 13px;
    }
}
/*-----------------------------------------------------------------------------------------------------*/

/*Home custome bike*/
.home-custom-car-post-list .owl-nav,
.home-news-slide .owl-nav {
    color: black;
    font-size: 40px !important;
    position: absolute !important;
    top: 40% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    color: white !important;
    height: 0px !important;
}

.home-custom-car-post-list .owl-prev,
.home-news-slide .owl-prev {
    margin-left: 5px !important;
}

.home-custom-car-post-list.owl-next,
.home-news-slide .owl-next {
    margin-right: 5px !important;
}

.home-custom-car-item img {
    width: 100%;
    min-height: 230px;
    border-radius: 5px;
}

.home-custom-car-post-list-ctn {
    min-height: 230px;
}

@media screen and (max-width: 720px) {
    .home-custom-car-post-list-ctn {
        min-height: unset !important;
    }

    .home-custom-car-item img {
        min-height: unset !important;
        border-radius: 0px;
        height: 160px;
    }
}
/*-----------------------------------------------------------------------------------------------------*/


/*Home service*/

.home-sale-slide .owl-nav,
.desktop_service-wrap .owl-nav {
    color: black;
    font-size: 40px !important;
    position: absolute !important;
    top: 40% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    color: white !important;
    height: 0px !important;
}

.home-sale-slide .owl-prev,
.desktop_service-wrap .owl-prev {
    margin-left: -35px !important;
    color: #0051e4 !important;
    font-size: 90px !important;
    font-weight: lighter !important;
}

.home-sale-slide .owl-next,
.desktop_service-wrap .owl-next {
    margin-right: -35px !important;
    color: #0051e4 !important;
    font-size: 90px !important;
    font-weight: lighter !important;
}

.desktop_service-wrap-ctn {
    min-height: 920px;
}

    .desktop_service-wrap-ctn .desktop_service-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 375px;
    }

    .desktop_service-wrap-ctn .desktop_service-top-right,
    .desktop_service-wrap-ctn .desktop_service-top-left {
        width: 594px;
        height: 100%;
    }

    .desktop_service-wrap-ctn .desktop_service-top-right {
        display: flex;
        flex-wrap: wrap;
        align-content: space-between;
    }

    .desktop_service-wrap-ctn .service-item {
        height: 100%;
        width: 100%;
        background-repeat: no-repeat;
        background-size: cover;
        position: relative;
        display: block;
    }

        .desktop_service-wrap-ctn .service-item .service-title {
            height: 55px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #0051e4;
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            color: white;
            font-size: 18px;
            padding: 5px 10px;
            font-weight: bold;
            text-transform: uppercase;
            text-align: center;
        }

.service-bot-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    flex-wrap: wrap;
}

    .service-bot-list .bot-service-item {
        display: block;
        background-size: cover;
        width: 32.5%;
        height: 300px;
        margin-bottom: 10px;
        position: relative;
    }

        .service-bot-list .bot-service-item .service-title {
            height: 55px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #0051e4;
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            color: white;
            font-size: 18px;
            padding: 5px 10px;
            font-weight: bold;
            text-transform: uppercase;
            text-align: center;
        }

@media screen and (max-width: 720px) {
    .service-bot-list .bot-service-item .service-title,
    .desktop_service-wrap-ctn .service-item .service-title {
        height: 35px;
        font-size: 12px;
        font-weight: 400;
        line-height: 15px;
    }

    .desktop_service-wrap-ctn .desktop_service-top-right, .desktop_service-top-left {
        width: 48.5% !important;
        height: 185px !important;
    }

    .desktop_service-wrap-ctn .service-bot-list .bot-service-item {
        width: 48.5%;
        height: 185px;
    }

    .desktop_service-wrap-ctn .desktop_service-top {
        height: 185px;
    }

    .desktop_service-wrap-ctn {
        padding: 0px 5px;
        height: auto;
        min-height: unset;
    }

    .home-sale-slide .owl-nav,
    .desktop_service-wrap .owl-nav {
        display: none !important;
    }
}
/*-----------------------------------------------------------------------------------------------------*/

/*Home product*/
.home-product-sale-ctn {
    min-height: 800px;
}

.home-sale-slide .product-old-price {
    color: gray;
    font-weight: bold;
    display: inline-block;
    font-size: 13px;
    line-height: 17px;
    text-decoration-line: line-through;
    margin-bottom: 5px;
    font-size: 15px;
    font-weight: 500;
}

.home-sale-slide .product-new-price {
    color: #023e88;
    padding: 5px;
    font-size: 23px;
    font-weight: 500;
}

.home-sale-slide .home-row-product-item .home-product-image {
    background-repeat: no-repeat !important;
    background-size: contain !important;
    background-position: center center !important;
}

.product-feature {
    margin: 0;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .product-feature .item {
        font-size: 12px;
        width: 100%;
        padding: 2px 7px;
        border-radius: 3px;
        background: #e6e7e8;
        min-height: 18px;
        color: #414042;
        font-weight: 500 !important;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 5px;
    }

        .product-feature .item:last-of-type {
            margin-right: 0px;
        }

        .product-feature .item::first-letter {
            text-transform: uppercase !important;
        }

.home-row-product-item {
    height: auto;
    border: 1px solid #E5E7EB;
}

    .home-row-product-item a {
        display: block;
    }

.home-news-slide .home-row-product-item {
    padding: 0px;
}

    .home-news-slide .home-row-product-item .view,
    .home-news-slide .home-row-product-item .time {
        color: gray;
        font-size: 11px;
        font-weight: 400;
        padding: 5px 0px;
    }

    .home-news-slide .home-row-product-item .product-name {
        min-height: 35px;
        font-size: 17px;
        font-weight: 400;
        overflow: hidden;
        -webkit-line-clamp: 2;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }

    .home-news-slide .home-row-product-item .product-image {
        display: block;
        height: auto;
        margin-bottom: 10px;
    }

    .home-news-slide .home-row-product-item .product-info {
        padding: 0 5px;
    }

    .home-news-slide .home-row-product-item .product-image img {
        height: 190px;
    }

    

.product-name {
    overflow: hidden;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

@media screen and (max-width: 720px) {
    .home-news-slide .home-row-product-item .product-name {
        font-size: 14px;
    }

    .home-product-sale-ctn {
        padding: 0px 5px;
        min-height: 590px;
    }
}

/*-----------------------------------------------------------------------------------------------------*/

/*Home schedule*/
.hk-timepicker-item {
    width: 100%;
    text-align: center;
    font-weight: 500;
    font-size: 15px;
    border-bottom: 1px solid lightgray;
    cursor: pointer;
    transition: .3s;
    padding: 10px;
}

    .hk-timepicker-item:hover {
        color: white;
        background: #2F80ED;
    }

.hk-timepicker-item-active {
    color: white;
    background: #2F80ED;
}

.schedule-banner {
    display: none;
    width: auto;
    max-width: 1000px;
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border-radius: 15px;
    z-index: 100;
    text-align: center;
}

    .schedule-banner img {
        width: auto;
        max-width: 1000px;
        cursor: pointer;
        transition: .3s;
    }

.schedule-container {
    display: none;
    width: 35%;
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border-radius: 15px;
    box-shadow: #D7D7D7 0px 4px 16px;
    padding: 10px 17px;
    z-index: 100;
    background: white;
}

.schedule-content {
    height: 100%;
    width: 100%;
    position: relative;
}

.schedule-close {
    font-weight: bold;
    font-size: 14px;
    color: gray;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    position: absolute;
    right: 0px;
    top: 0px;
    background-image: linear-gradient( to right, #37CCFF, #7B22FF);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.schedule-header {
    font-size: 16px;
}

.schedule-form-input:first-child {
    margin-top: 25px;
}

.schedule-form-input {
    margin-top: 22px;
    position: relative;
}

    .schedule-form-input select,
    .schedule-form-input input {
        border-radius: 10px;
        border: 1px solid rgb(158, 126, 218);
        height: 40px;
        padding-left: 10px;
        width: 97%;
        transition: .3s;
    }

    .schedule-form-input select {
        width: 100%;
        height: 50px;
    }

    .schedule-form-input input:focus {
        border: 1px solid rgb(59, 0, 169);
    }

    .schedule-form-input label {
        position: absolute;
        display: block;
        background: white;
        top: -12px;
        left: 15px;
        padding: 3px 5px;
        font-size: 12px;
    }

.schedule-submit-btn {
    width: 30%;
    margin-top: 15px;
    border-radius: 5px;
    padding: 10px 0px;
    border: none;
    background: #2F80ED;
    color: white;
    float: right;
    cursor: pointer;
}

.schedule-back {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}
/*-----------------------------------------------------------------------------------------------------*/

/*Home catalouge*/
.product-bot-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.list-category {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    width: 1000px;
    margin-top: 6px;
}

.catalouge-header {
    display: flex;
    align-items: center;
}

.right-btn,
.left-btn {
    color: white;
    padding: 10px;
    height: 20px;
    width: 20px;
    background: #0057cb;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin: 5px;
    cursor: pointer;
}

.list-category-ctn {
    display: flex;
    align-items: center;
    width: 2000px;
    overflow: auto;
}

    .list-category-ctn::-webkit-scrollbar {
        display: none;
    }

.catalouge-ctn {
    margin-bottom: 30px;
    border: 1px solid lightgray;
    height: 675px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalouge-ifame {
    width: 100%;
    height: 100%;
    border: none;
}
/*-----------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 720px) {
    .home-sale-slide .product-new-price {
        font-size: 20px;
    }

    .product-feature .item {
        font-size: 10px;
        font-weight: bold !important;
        width: 33%;
    }

    .home-news .home-news-title {
        padding-left: 5px;
        font-size: 17px;
        font-weight: 400;
        display: flex;
        align-items: center;
        height: 30px;
    }

    .home-news .line {
        border-bottom: 30px solid var(--light-blue);
        min-width: 125px;
        max-width: 130px;
    }

    .product-name {
        font-size: 14px;
    }

    .home-topic-list .item {
        height: 35px;
        display: flex;
        align-items: center;
    }


    .home-news-slide .product-image img {
        height: 130px !important;
    }

    .home-row-product {
        height: 590px;
    }

    .home-sale-slide .product-name {
        font-size: 14px;
        min-height: 35px;
    }


    .header__prefix {
        height: 27px;
    }

    .home-sale-title {
        font-size: 15px;
        line-height: 15px;
    }

        .home-sale-title .title {
            display: none;
        }

    .schedule-banner img {
        width: 100%;
        cursor: pointer;
        border-radius: 10px;
        transition: .3s;
    }

    .schedule-container {
        width: 90%;
    }

    .schedule-banner {
        width: 95%;
    }
}



.popup-close-btn {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    background: white;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--boldBlue) !important;
    border-radius: 50%;
    padding: 5px;
    font-size: 35px;
}

@media screen and (max-width: 720px) {
    .home-news-slide-container {
        min-height: 200px;
    }

    .home-custom-car-post-list-ctn {
        min-height: 150px;
    }

    .popup-close-btn {
        position: absolute !important;
        top: 0px !important;
        right: 5px !important;
        background: white;
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--boldBlue) !important;
        border-radius: 50%;
        padding: 7px;
        font-size: 25px;
    }
}
