.template-index .spaced-section {
    margin-top: 15px;
}

.index-collection-tab .collection-tab__container {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 10px;
    background-color: #fff;
    padding-top: 5px;
    border-radius: 5px;
}
h2.box-title a {
    color: #254481;
}
.box-divider {
    display: grid;
    /* flex-wrap: wrap; */
    grid-template-columns: 235px auto;
    align-items: center;
    justify-content: space-between;
    position: relative;
    background-color: var(--color_content_bg);
    margin-bottom: 20px;
    /* padding-bottom: 15px; */
    min-height: 60px;
}

.box-divider:before {
    right: 0;
    background-color: var(--color_line);
}

.box-divider .box-icon {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 20px;
    width: 26px;
}

.box-divider .group-icon {
    position: relative;
    padding-left: 30px;
}

.index-collection-tab ul.collection-tab__title {
    margin-bottom: 0;
    text-align: right;
    white-space: nowrap;
    overflow: auto;
    max-width: 910px;
}

.index-collection-tab ul.collection-tab__title::-webkit-scrollbar {
    height: 4px;
}
.index-collection-tab ul.collection-tab__title:hover::-webkit-scrollbar {
  height: 10px;
}
.index-collection-tab ul.collection-tab__title::-webkit-scrollbar-thumb {
    background: #3C63AB; 
    border-radius: 5px;
}
.index-collection-tab ul.collection-tab__title::-webkit-scrollbar-thumb:hover{
    /* background: red; */
}

.index-collection-tab ul.collection-tab__title li.is-active,
.index-collection-tab ul.collection-tab__title li:hover {
    color: var(--color_primary);
}
.index-collection-tab ul.collection-tab__title li:hover {
  
}
.index-collection-tab ul.collection-tab__title li {
    text-transform: capitalize;
    font-weight: 500;
    color: var(--color_heading);
    transition: all .5s ease;
    text-decoration: none;
    margin: 0 20px;
    float: none;
    display: inline-block;
    zoom: 1;
    padding: 13px;
    position: relative;
    font-size: 16px;
    cursor: pointer;
    
}
.index-collection-tab ul.collection-tab__title li.tabs-title span{
    border: 1px solid transparent;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 8px;
}
.index-collection-tab ul.collection-tab__title li.tabs-title span:hover{
  border-color: #ffcd05;
  background: #ffcd05;
  color: #254481;
}
section.shopify-section.index-collection-tab {
    background: #edeff2;
    padding-bottom: 20px;
}

.box-divider:after,
.box-divider:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    background-color: #254481;
}

.box-divider:before {
    right: 0;
    background-color: #e3e5e7;
}

.index-collection-tab ul.collection-tab__title li.is-active,
.index-collection-tab ul.collection-tab__title li:hover {
    color: #254481;
}

.index-collection-tab ul.collection-tab__title li {
    text-transform: capitalize;
    font-weight: 500;
    color: var(--color_heading);
    transition: all .5s ease;
    text-decoration: none;
    margin: 0;
    float: none;
    display: inline-block;
    zoom: 1;
   	padding: 8px 6px;
    position: relative;
    font-size: 15px;
    cursor: pointer;
}

.index-collection-tab ul.collection-tab__title li:before {
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background-color: #254481;
    transition: all .5s ease;
    transform: scaleX(0);
}

.index-collection-tab .swiper-slide:last-child {}

.index-collection-tab .swiper-slide.product-item__content {
    margin-bottom: 0;
}

.index-collection-tab .swiper-slide .product-item__grid {
    margin-bottom: 0 !important;
}

.product-item__grid .product-item__bottom,
.product-item__grid .product-item__top {
    width: 100%;
    color: #f00;
}

.product-item__bottom,
.product-item__top {
    overflow: hidden;
    font-size: 16px;
    position: relative;
}

.product-item__top .product-item__hover_image {
    display: block;
    font-size: 0;
    text-align: center;
    position: relative;
}

.product-item__image {
    width: 100% !important;
    background-size: cover;
    background-position: center;
    display: block;
}

.lazy-bg img.lazyloaded {
    opacity: 1 !important;
}

.lazy-bg img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    max-width: 100%;
    cursor: pointer;
    object-fit: contain;
    object-position: center center;
    transition: opacity .5s;
    border-radius: 5px;
}

.product-item__image_second {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    transition: all .5s ease;
}

.product-item__image {
    width: 100% !important;
    background-size: cover;
    background-position: center;
    display: block;
}

.product-item__grid .product-item__title {
    margin-bottom: 0px;
    margin-top: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 44px;
    font-size: 15px;
}

.product-item__title {
    display: inline-block;
    zoom: 1;
    transition: all .5s ease;
    line-height: 1.5em;
    font-weight: 500;
    font-size: 15px;
    color: var(--color_product_title_text);
    font-family: var(--font_1);
    text-decoration: none;
}

.index-collection-tab .swiper-slide {
    padding-right: 15px;
    margin-top: 10px;
    margin-bottom: 15px;
    border-right: 1px solid #e3e5e7;
    margin-right: 15px;
}



.collection-tab__panel-item {
    display: flex;
}

.product-labels {
    position: absolute;
    top: 15px;
    left: 0;
}

.product-labels .product__labels-item {
    color: #fff;
}

.product-labels .product__labels-item {
    position: relative;
    width: auto;
    border-radius: 0;
    font-family: var(--font_1);
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: capitalize;
    transition: all .5s ease;
    display: block;
    font-size: 12px;
    border-width: 0px;
    height: 20px;
    line-height: 20px;
    padding-left: 3px;
    padding-right: 8px;
}

.product-labels .product__labels-item:before {
    content: "";
    left: 100%;
    top: 0;
    bottom: 0;
    position: absolute;
    -webkit-clip-path: polygon(100% 0%, 50% 50%, 100% 100%, 50% 100%, 0% 50%, 25% 0%);
    clip-path: polygon(100% 0%, 50% 50%, 100% 100%, 50% 100%, 0% 50%, 25% 0%);
    width: 16px;
    height: 100%;
    transform: translate(-50%);
}

.product__labels-new:before {
    background: #84d8e3;
}

.collection-tab__banner img {
    position: unset;
}

.product-item__top:hover .product-item__image_second,
.product-item__top:focus .product-item__image_second {
    opacity: 1;
}

.product-item__hover {
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -ms-flex-align: center;
    -moz-align-items: center;
    -ms-align-items: center;
    -o-align-items: center;
    align-items: center;
    -ms-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: absolute;
    top: auto;
    left: 0;
    right: 0;
    bottom: 30px;
    text-align: center;
}

.product-item__top .product-item__hover .product-item__addcart,
.product-item__bottom .product-item__hover .product-item__addcart {
    transform: translateY(10px);
}

.product-item__bottom .product-item__hover>div,
.product-item__top .product-item__hover>div {
    margin-left: 5px;
    margin-right: 5px;
    opacity: 0;
    transition: all .5s ease;
}

.product-item__hover .product-item__icon {
    height: 40px;
    line-height: 38px;
    width: 40px;
    font-weight: 500;
    padding: 0;
    border-radius: 100%;
    cursor: pointer;
    color: #ffffff;
    background-color: #254481;
    border: 1px solid #254481;
    display: block;
    text-decoration: none;
    position: relative;
}

.product-item__hover .product-item__icon .cs-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.product-item__list:hover .product-item__bottom .product-item__hover>div,
.product-item__grid:hover .product-item__top .product-item__hover>div {
    opacity: 1;
    transform: translateY(0);
    margin-top: 0 !important;
}

.box-divider .group-icon .box-title {
    color: #353535;
    text-transform: uppercase;
    font-size: 18px;
}

.danh-muc .box-divider .group-icon {
    padding-left: 3px;
}

section.shopify-section.index-blog {
    background: #edeff2;
    padding: 20px 0;
}

.index-blog .blog__container {
    background-color: #fff;
    overflow: hidden;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 5px;
}

section.shopify-section.index-blog .group-icon {
    padding: 20px 20px;
    padding-left: 30px;
}

.index-blog .blog__content {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-top: 5px;
    padding-bottom: 15px;
}

.article-item__grid {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 5px 20px 20px;
}

.article-item__left {
    width: 40%;
}

.article-item__link {
    display: block;
    overflow: hidden;
}

.article-item__image {
    width: 100%;
    background-size: cover;
    transition: all .35s;
    opacity: 1;
    position: relative;
    background-repeat: no-repeat;
    border-radius: 5px;
    overflow: hidden;
}

.article-item__right {
    width: 60%;
    padding-left: 20px;
}

ul.article-item__info {
    padding-left: 0;
    font-size: 15px;
    margin-left: -5px;
}

.article-item__title {
    text-decoration: none;
    transition: all .35s;
    font-size: 20px;
    line-height: 1.3em;
    font-weight: 500;
    color: var(--color_heading);
}

.article-item__content.col {
    flex: 0 0 auto;
    width: 50%;
}

a.article-item__title.h3 {
    font-size: 20px;
    padding-bottom: 8px;
    display: block;
}

.blog__content .content-dessc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.box-divider:after {
    width: 60px;
}

.index-collection-tab ul.collection-tab__title li.is-active:before,
.index-collection-tab ul.collection-tab__title li:hover:before {
    /* transform: scale(1); */
}

.product-item__hover svg {
    height: 19px;
}

.product-item__hover span {
    display: flex;
    align-items: center;
    justify-content: center;
}

.box-divider .box-icon svg {
    height: 24px;
    width: 24px;
    margin-top: 7px;
}
.box-member-kepper-sellers .index-best-sellers .best-sellers__daily .box-divider.title-daily_template {
    padding: 0px 0px;
    background: #ffcd05;
    min-height: 47px;
    border-radius: 5px;
}
.box-member-kepper-sellers .index-best-sellers .best-sellers__daily .box-divider.title-daily_template .box-title {
    color: #254481;
}
.box-member-kepper-sellers .index-best-sellers .best-sellers__best .price.product-item__price.price--on-sale {
    justify-content: left !important;
    text-align: left !important;
}

.box-member-kepper-sellers .index-best-sellers .best-sellers__best .price.product-item__price.price--on-sale dl {
    flex-direction: unset;
}
.tabs-panel {
    opacity: 0;
    height: 0px;
    visibility: hidden;
}

.tabs-panel.active {
    height: 100%;
    opacity: 1;
    visibility: inherit;
}

@media(max-width:990px){
    .collection-tab__container {
        padding-left: 11px;
        padding-right: 11px;
    }
    .box-member-kepper-sellers .price__regular {
        font-size: 15px;
        height: 38px;
        /* text-align: left; */
        margin-bottom: 10px;
    }
    .index-collection-tab .swiper-slide.product-item__content{
        margin-bottom: 10px;
    }
    .box-member-kepper-sellers .product-item__grid {
        padding: 0px 6px;
    }
    
    .box-member-kepper-sellers .product-item__grid .product-item__bottom {
        padding-top: 10px;
    }
}