.category__head {
    background: var(--main-color);
    padding: 9px 14px 1px 14px;
    justify-content: space-between;
    display: flex;
    font-size: 13px;
    color: #fff;
    border-radius: 5px 5px 0px 0px;
    align-content: center;
}

.category__head h5 {
    font-size: 17px;
}

.category__head a {
    color: #fff;
}


/* ==============================================Banner============================= */

.home_cat_menu_left {
    background-color: #fff;
    position: relative;
    z-index: 9;
    width: 100%;
    border-right: 1px solid #f2f2f2;
    height: auto;
    box-shadow: 2px 0px 4px rgb(41 41 41 / 6%);
    border-radius: 5px;
    height: 100%;
}

.home_cat_menu_left::-webkit-scrollbar {
    width: 0em;
}

.menu_brand_logos {
    display: flex;
    flex-wrap: wrap;
    height: max-content;
    max-height: 100%;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.menu_brand_logos::-webkit-scrollbar {
    display: none;
}

.menu_brand_logos img {
    max-width: 100%;
    max-height: 100%;
}

.menu_brand_logos a {
    width: calc(50% - 6px);
    padding: 3px 5px !important;
    transform: unset;
    text-align: center;
    transition: 0.2s ease;
    box-sizing: border-box;
    box-shadow: 0px 5px 10px 0px rgb(0 0 0 / 5%);
    margin: 3px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: #fff;
    height: 50px;
}

.bg {
    background: none;
}

.radial__img__5 {
    border-radius: 50%;
    background: #ddd;
    display: inline-block;
    /* padding: 16px; */
    border: 2px solid var(--main-color);
}

.radial__img__5 img {
    border-radius: 50%;
    width: 70px;
    height: 70px;
}

.card__contact a {
    font-size: 13px;
    color: var(--title-color);
    display: block;
    transition: .3s;
}

.card__contact a:hover {
    color: var(--main-color);
}

.brand__link:hover {
    box-shadow: 0px 6px 20px 0px rgb(0 0 0 / 10%);
}

.all_brand_logo {
    background-color: #fff;
    padding: 10px 20px;
    margin-bottom: 17px;
    border-radius: 10px;
}

img.brand__img {
    width: 51px;
    height: auto;
    margin: 0 auto;
}

a.brand__link {
    padding: 0px 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 4px;
    background: #fff;
    display: flex;
    align-content: center;
    height: 100%;
}

.brand-5 {
    padding: 0;
    margin-bottom: 10px;
}

.home_cat-menu_mega-open ul {
    height: 100%;
}

.home_cat_menu_left {
    height: calc(100% - 20px);
    padding-bottom: 10px;

}
.hot-area {
    margin-top: 20px;
    padding: 10px 20px 20px;
    border-radius: 10px;
}
.category-area {
    height: 100%;
    position: relative;
    padding-bottom: 242px;
}
.mega-menu-img {
    position: absolute;
    bottom: 6px;
    left: 0;
    right: 0;
    height: 242px;
}
.mega-menu-img img {
    max-height: 100%;
    width: auto;
    max-width: 100%;
}


/* ===================add-banner=============== */

.add-banner img {
    width: 100%;
    border-radius: 10px;
}


/* ===========================================best selling============== */

.head h5 {
    /* padding-left: 10px; */
    font-weight: 600;
    color: #000;
}

a.buy_btn span {
    justify-content: center;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    border-radius: 50%;
}


/* ===================================category image------------------------------------ */

.baner__5 .gx-20 {
    margin: 0 -10px;
}
.baner__5 .gx-20 >* {
    padding: 0 10px;
}

img.category__image {
    width: 40px;
}

.baner__slider button.owl-dot span {
    width: 10px;
    height: 10px;
    display: inline-block;
    background: #ddd;
    border-radius: 5px;
}

.baner__5 .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    left: 0px;
}

.baner__5 .owl-nav button.owl-prev {
    float: left;
    display: none;
    left: 6px;
    position: absolute;
}

.baner__5 button.owl-next {
    float: right;
    text-align: center;
}

.baner__5 .owl-nav span:hover {
    color: var(--main-color);
}

.baner__5 .owl-nav button.owl-next {
    width: 44px;
    position: absolute;
    display: none;
    right: 6px;
    transition: 0.3s ease;
}

.baner__5 .baner__slider:hover .owl-nav button.owl-next {
    display: block;
}

.baner__5 .baner__slider:hover .owl-nav button.owl-prev {
    display: block;
}

.baner__slider .owl-dots {
    position: absolute;
    bottom: 9px;
    left: 50%;
    transform: translateX(-50%);
}

.baner__slider button.owl-dot {
    margin: 0 4px;
}

.baner__slider button.owl-dot.active span {
    background: #585858;
}

a.category__link p {
    font-size: 13px;
    transition: 0.3s;
}

a.category__link {
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
    margin: 4px;
    height: 100%;
    text-align: center;
    background: #fff;
}

h4.section__title__4 {
    display: inline-block;
    padding: 7px 30px 3px 0px;
    color: #000000;
    font-weight: 500;
    border-bottom: 3px solid #5d5d5d;
    margin-bottom: 10px;
}

.head.head__5 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5px;
}

a.view__all {
    font-size: 13px;
    color: var(--title-color);
    transition: 0.3s;
}

a.view__all:hover {
    color: var(--main-color);
}

img.main-tham {
    width: 100%;
    height: 200px;
}

img.thamnel_img_2 {
    width: 100%;
    border: 1px solid #ddd;
    height: 135px;
}

.thamnel {
    border: 1px solid #ddd;
    overflow: hidden;
}

img.brand__tham_img {
    width: 18px;
}

a.tham__link {
    font-size: 13px;
    color: var(--title-color);
    transition: 0.3s;
}

.tham__link__sec {
    padding: 10px 20px;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

a.tham__link:hover {
    color: var(--main-color);
}


/* =======================================grid category================= */

.grid__item a img {
    height: 45px;
}

.category__grid {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    /* padding: 16px; */
    min-width: 0px;
    display: grid;
    margin: 0;
}

.card-categories-li {
    border-right: none;
    border-bottom: none;
    padding: 0;
}

.category__grid {
    padding: 0 12px;
}

.category-grid .head__5 {
    margin-bottom: 0px;
}

.grid__item {
    text-align: center;
    padding: 14px 0px;
    background: #fff;
    transition: .3s;
}

.grid__item a p {
    font-size: 13px;
    color: var(--title-color);
}

.card-categories-li-2 {
    border: 1px solid #ddd;
    padding: 0;
    margin: -0.5px;
}

.grid__item:hover {
    box-shadow: 0 7px 8px 3px rgb(0 0 0 / 17%);
    position: relative;
    border: none;
}


/* ====================================================mall============================ */

.store__logo img {
    width: 30px;
}

.mall__text {
    color: var(--title-color);
    line-height: 20px;
}

img.mall__XtraSale {
    width: 80%;
}

.mall__item {
    border: 1px solid #ddd;
    text-align: center;
    padding: 10px 0;
}

p.mall__name {
    font-weight: 500;
    color: var(--title-color);
}

.mall__text p {
    font-size: 13px;
}

.mall__img__bg {
    border-top: 1px solid #ddd;
    position: relative;
    margin-top: -20px;
}

.store__logo {
    border: 2px solid var(--main-color);
    box-shadow: 0 0 4px 0 rgb(0 0 0 / 25%);
    width: 52px;
    height: 52px;
    background-color: #fff;
    padding: 4px;
    display: flex;
    position: relative;
    margin: 8px auto 0;
    overflow: hidden;
    z-index: 99;
    align-items: center;
    justify-content: center;
}

.social {
    text-align: left;
}


/* ===================last update ============ */

.sub-menu-title h5 {
    font-weight: 600;
    font-size: 19px;
}

.slider {
    margin-top: 20px;
}

.brand_logo {
    margin-top: 20px;
}

a.sub-menu_item:hover {
    background: #ffff;
    color: var(--main-color);
}

a.sub-menu_item {
    padding: 2px 10px;
    margin-bottom: 2px;
}

.dp-banner img {
    width: 100%;
}

.dp-banner {
    margin-top: 14px;
    padding: 10px 0px 0px 10px;
}

h4.section__title img {
    width: 22px;
    margin-right: 2px;
    margin-bottom: 4px;
}

.grid__item:hover a p {
    color: var(--main-color);
}

.flash-item-wrapper {
    display: grid;
    grid-template-columns: 20% 20% 20% 20% 20%;
}

.card-body.flash__card a {
    transition: .3s;
    color: var(--text-color);
    line-height: 23px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-body.flash__card a:hover {
    color: var(--main-color);
}

.f-wrapper {
    display: grid;
    grid-template-columns: 20% 20% 20% 20% 20%;
}

.hot-area {
    border-radius: 15px;
    background: #fff;
}

.radio-group {
    display: flex;
    align-items: center;
}

img.l-add-img {
    height: 100%;
}

p.sold {
    font-size: 13px;
}


/* ===============discount====== */

.discount .badge-custom {
    background: var(--main-color);
    display: block;
    position: absolute;
    top: 10px;
    left: 0;
    z-index: 9;
    color: #fff;
    padding: 0;
    padding-left: 5px;
    border: 1px solid var(--main-color);
    font-size: 10px;
    line-height: 20px;
    text-transform: capitalize;
}

@media screen and (max-width:1200px) {
    .radial__img__5 img {
        border-radius: 50%;
        width: 50px;
        height: 50px;
    }
}

@media screen and (max-width:992px) {
    .category__grid {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    }
    .f-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media screen and (max-width:768px) {
    .category__grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media screen and (max-width:550px) {
    .f-wrapper {
        grid-template-columns: 1fr 1fr;
    }
    img.payment-img {
        display: none;
    }
}
