.mt-20 {
    margin-top: 20px !important;
}

.mr-30 {
    margin-right: 30px !important;
}

.card-vendor {
    border-radius: 4px;
    border: 1px solid #D5DFE4;
    padding: 20px;
    background-color: #ffffff;
    position: relative;
    margin-bottom: 30px;
}

.card-vendor:hover {
    border-color: var(--primary-color);
}

.card-vendor .card-top-vendor {
    display: flex;
    width: 100%;
    border-bottom: 1px solid #D5DFE4;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.card-vendor .card-top-vendor .card-top-vendor-left {
    width: 30%;
    max-width: 115px;
    min-width: 115px;
}

.card-vendor .card-top-vendor .card-top-vendor-left img {
    max-height: 40px;
}

.card-vendor .card-top-vendor .card-top-vendor-right {
    width: 80%;
    text-align: right;
}

.btn.btn-gray {
    background-color: #D5DFE4;
    font-size: 12px;
    line-height: 18px;
    color: #788196;
    border-radius: 0px;
    border-radius: 4px;
    padding: 2px 10px;
}

.mt-10 {
    margin-top: 10px !important;
}
.color-gray-500 {
    color: #788196;
}
.font-xs {
    font-family: "DM Sans", sans-serif;
    font-size: 12px !important;
    line-height: 18px !important;
    font-weight: 400;
}

.card-vendor .card-bottom-vendor {
    position: relative;
}
.shop-template .font-sm {
    font-weight: 500;
}
.mb-10 {
    margin-bottom: 10px !important;
}

.location {
    background: url('https://ecom-html.vercel.app/demo/assets/imgs/page/vendor/location.svg') no-repeat 0px 0px;
    padding: 0px 0px 0px 32px;
    color: #788196;
    font-size: 16px;
    line-height: 24px;
}

.font-sm {
    font-family: "DM Sans", sans-serif;
    font-size: 14px !important;
    line-height: 20px !important;
    font-weight: 400;
}

.shop-template .font-sm {
    font-weight: 500;
}

.phone {
    background: url('https://ecom-html.vercel.app/demo/assets/imgs/page/vendor/phone.svg') no-repeat 0px 0px;
    padding: 0px 0px 1px 32px;
    color: #788196;
    font-size: 16px;
    line-height: 24px;
}

.font-sm {
    font-family: "DM Sans", sans-serif;
    font-size: 14px !important;
    line-height: 20px !important;
    font-weight: 400;
}

.card-vendor .btn-gray:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.box-banner-vendor .vendor-left {
    width: 100%;
}

.box-banner-vendor .vendor-left .banner-vendor > img {
    border-radius: 4px;
}

.box-info-vendor {
    padding: 15px 25px;
    position: relative;
}

.box-info-vendor .avarta {
    max-width: 150px;
    text-align: center;
    padding: 25px 15px 15px 15px;
    position: relative;
    top: -65px;
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid #D5DFE4;
    max-height: 140px;
}

.btn.btn-buy {
    font-size: 14px;
    line-height: 20px;
    font-weight: bold;
    color: #ffffff;
    border: 1px solid var(--primary-color);
    width: 100%;
    text-align: center;
    padding: 7px 22px;
    background-color: var(--primary-color);
}

.box-info-vendor .avarta .btn-buy {
    padding-left: 10px;
    padding-right: 10px;
    width: auto;
}

.box-info-vendor .info-vendor {
    padding: 0px 20px;
    width: 30%;
}

.box-info-vendor .vendor-contact {
    width: 60%;
}

.box-banner-vendor .vendor-right {
    max-width: 293px;
    min-width: 293px;
    width: 25%;
    padding-left: 10px;
    padding-right: 10px;
}

.box-banner-vendor .vendor-right .box-featured-product {
    margin-bottom: 0px;
    border-radius: 5px;
}

.box-featured-product {
    background-color: #F0F3F8;
    border-radius: 4px;
    padding: 25px 25px 10px 25px;
    margin-bottom: 25px;
}
.item-featured {
    display: flex
;
    align-items: center;
    margin-bottom: 20px;
}

.item-featured .featured-icon {
    min-width: 40px;
    max-width: 40px;
    margin-right: 15px;
}

@media (max-width: 991.98px) {
    .box-banner-vendor {
        flex-wrap: wrap;
        margin-bottom: 25px;
    }

    .box-info-vendor {
        flex-wrap: wrap;
    }

    .box-info-vendor .vendor-contact {
        position: relative;
        top: -40px;
        width: 100%;
    }

    .box-banner-vendor .vendor-left {
        width: 100%;
    }

    .box-info-vendor {
        padding: 5px 5px;
    }

    .box-info-vendor .info-vendor {
        width: 65%;
    }

    .box-info-vendor .avarta {
        max-width: 115px;
        padding: 15px 5px 10px 5px;
        top: -40px;
        width: 35%;
    }

    .box-info-vendor .avarta .btn-buy {
        padding-left: 5px;
        padding-right: 5px;
        width: auto;
        font-size: 10px !important;
        line-height: 14px !important;
    }

    .box-info-vendor .info-vendor {
        padding: 0px 0px 0px 20px;
    }

    .box-info-vendor .info-vendor h4 {
        font-size: 16px;
        line-height: 20px;
    }

    .box-info-vendor .vendor-contact {
        top: -20px;
    }

    .location, .phone {
        font-size: 14px;
        line-height: 22px;
    }

    .location, .phone {
        font-size: 14px;
        line-height: 22px;
    }

    .box-banner-vendor .vendor-right {
        width: 100%;
        max-width: 100%;
        padding-left: 0px;
        padding-right: 0px;
    }
}