/* sec-home-banner */
.sec-home-banner .row-bottom .slider-nav-circle .flickity-button {
  display: none;
}

#main .sec-home-banner {
  padding-top: 15px;
}

.sec-home-banner .row-bottom .row-cate {
  margin-top: 30px;
  padding-bottom: 35px;
}
.sec-home-banner .home-category.row-cate {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  column-gap: 1.25rem;
  row-gap: 1.25rem;
}
@media (max-width: 1200px) {
  .sec-home-banner .home-category.row-cate {
    grid-template-columns: repeat(6, 1fr);
  }
}
@media (max-width: 768px) {
  .sec-home-banner .home-category.row-cate {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 0.875rem;
    row-gap: 1.25rem;
  }
}
.sec-home-banner .row-bottom .box-category .box-image {
  max-width: 140px;
  border-radius: 99px;
}

.sec-home-banner .row-bottom .box-category .box-image img {
  object-fit: contain;
}

.sec-home-banner .row-bottom .box-category {
  border-radius: 99px;
}

.sec-home-banner .row-bottom .box-category .header-title {
  margin: 0;
  font-size: 15px;
  font-family: var(--regular);
  color: #272121;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.sec-home-banner .row-bottom .box-category:hover .header-title {
  color: var(--theme-color2);
}

.sec-home-banner .row-bottom .box-category .box-text {
  padding: 16px 15px 0;
}

.sec-home-banner .row-bottom .box-category:hover .box-image {
  transform: scale(1.08);
}

.sec-home-banner .row-top .col-left {
  flex-basis: unset;
  max-width: 295px;
}

.sec-home-banner .row-top > .col {
  padding-bottom: 25px;
}

.sec-home-banner .row-top .col-right {
  flex: 1;
  max-width: calc(100% - 295px);
  padding-left: 0;
}

.sec-home-banner .row-top .col-left > .col-inner {
  border-radius: 15px;
  border: 1px solid #fff5f5;
  background: #fff;
  box-shadow: 0px 4px 35px 0px rgba(126, 126, 126, 0.1);
  padding: 16px 23px;
}

.sec-home-banner .box-subcate-home {
  position: absolute;
  width: 250px;
  min-height: 300px;
  left: calc(100% + 15px);
  z-index: 9;
  border-radius: 15px;
  border: 1px solid #d00e0e;
  background: #fff;
  box-shadow: 0px 4px 35px 0px rgba(126, 126, 126, 0.1);
  padding: 30px;
  top: -2px;
  display: none;
}

.sec-home-banner .box-subcate-home a {
  color: #272121;
}

.sec-home-banner .box-subcate-home a:hover {
  color: var(--theme-color2);
}

.sec-home-banner .box-subcate-home.show {
  display: block;
}

.sec-home-banner .box-subcate-home .sub-cat-item + .sub-cat-item {
  margin-top: 8.5px;
}

.sec-home-banner .row-top .product-category a {
  display: flex;
  align-items: center;
  line-height: 24px;
}

.sec-home-banner .row-top .product-category {
  margin-bottom: 0;
}

.sec-home-banner .row-top .product-category .sub_cate {
  display: none;
}

.sec-home-banner .row-top .product-category a:hover .name {
  color: var(--theme-color2);
}

.sec-home-banner .row-top .product-category img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
  margin-right: 15px;
  flex-shrink: 0;
}

.sec-home-banner .row-top .product-category .name {
  font-size: 15px;
  font-family: var(--regular);
  color: #272121;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.sec-home-banner .row-top .product-category + .product-category {
  margin-top: 8.5px;
}

.sec-home-banner .carousel-full {
  border-radius: 15px;
  overflow: hidden;
}

/* End sec-home-banner */
/* sec-home-1 */
#main .sec-home-1 {
  padding-top: 10px;
  padding-bottom: 0;
}

#main .sec-home-1 .section-bg {
  background: url(/wp-content/themes/flatsome-child/images/bg-body.jpg) 50% /
    cover no-repeat;
  background-size: cover !important;
  top: -100px;
  height: 90%;
}

/* End sec-home-1 */
/* sec-home-2 */
#main .sec-home-2 {
  padding-bottom: 20px;
  padding-top: 45px;
}

.sec-home-2 h2.text-left {
  color: var(--theme-color);
  font-size: 30px;
  margin-bottom: 0;
  width: fit-content;
}

.sec-home-2 .nav {
  width: fit-content;
}

.sec-home-2 .tabbed-content {
  justify-content: space-between;
}

.sec-home-2 .nav a {
  border-radius: 1000px;
  border: 1px solid #d7d7d7;
  padding: 0 25px;
  height: 34px;
  color: #272121;
  font-size: 15px;
  font-weight: normal;
  font-family: var(--regular);
}

.sec-home-2 .nav a:before {
  display: none;
}

.sec-home-2 .nav .tab {
  margin: 0 9px;
}

.sec-home-2 .nav .tab a:hover {
  color: var(--theme-color2);
}

.sec-home-2 .nav .tab.active a {
  background-color: var(--theme-color2);
  color: #fff;
  border-color: var(--theme-color2);
}

.sec-home-2 .tab-panels {
  padding-top: 33px;
}

.sec-home-2 .col-pro + .col-pro {
  padding-top: 15px;
}

/* End sec-home-2 */

/* sec-home-3 */
#main .sec-home-3 {
  padding-top: 0;
  padding-bottom: 0;
}

.sec-home-3 .rop-top {
  margin-bottom: 25px;
}

.sec-home-3 .rop-top .image-cover {
  border-radius: 10px;
}

.sec-home-3 .thuoctinh-thumbnails .img {
  border-radius: 8px;
  background: #fff;
  box-shadow: 0px 4px 35px 0px rgba(126, 126, 126, 0.1);
  overflow: hidden;
  padding: 4px 20px;
  border: 1px solid transparent;
}

.sec-home-3 .thuoctinh-thumbnails .img:hover {
  border-color: var(--theme-color2);
}

.sec-home-3 .thuoctinh-thumbnails .img:hover .image-cover {
  transform: scale(1.05);
}

.sec-home-3 .thuoctinh-thumbnails .image-cover {
  transition: all 0.3s;
}

.sec-home-3 .thuoctinh-thumbnails img {
  object-fit: contain;
}

.sec-home-3 .thuoctinh-thumbnails {
  padding-bottom: 30px;
}

#main .sec-home-3 .section-bg {
  background: url(/wp-content/themes/flatsome-child/images/bg-body.jpg)
    no-repeat;
  background-size: cover !important;
  height: 100%;
  background-position: bottom;
}

/* End sec-home-3 */
/* sec-home-4 */
#main .sec-home-4 {
  padding-top: 15px;
}

.sec-home-4 .blog-grid {
  display: grid;
  grid-template-columns: 51% auto;
  grid-gap: 0;
}

.sec-home-4 .blog-grid .post-item:first-of-type {
  grid-row: span 3;
  padding-bottom: 20px;
}

.sec-home-4 .blog-grid .post-item:first-of-type .box-text {
  bottom: 0;
  padding: 20px 46px 30px;
  position: absolute;
  z-index: 3;
}

.sec-home-4 .blog-grid .post-item:first-of-type .image-cover a:before {
  content: "";
  width: 100%;
  height: 50%;
  border-radius: 0px 0px 10px 10px;
  background: linear-gradient(
    180deg,
    rgba(34, 48, 57, 0) 0%,
    rgba(39, 33, 33, 0.9) 100%
  );
  position: absolute;
  bottom: 0;
  z-index: 1;
  left: 0;
}

.sec-home-4 .blog-grid .post-item:nth-of-type(n + 2) .box {
  display: flex;
  align-items: center;
}

.sec-home-4 .blog-grid .post-item:nth-of-type(n + 2) .box-image {
  width: 30.5% !important;
  flex-shrink: 0;
}

.sec-home-4 .blog-grid .post-item:nth-of-type(n + 2) {
  padding-bottom: 20px;
}

.sec-home-4 .blog-grid .post-item:nth-of-type(n + 2) .box-text {
  padding: 0 0 0 16px;
}

.sec-home-4
  .blog-grid
  .post-item:first-of-type
  .box-blog-post
  .box-text
  .post-title
  a,
.sec-home-4
  .blog-grid
  .post-item:first-of-type
  .box-blog-post
  .box-info
  .post-meta {
  color: #fff;
}

.sec-home-4
  .blog-grid
  .post-item:first-of-type
  .box-blog-post
  .box-text
  .post-title
  a:hover {
  text-decoration: underline;
}

.sec-home-4
  .blog-grid
  .post-item:first-of-type
  .box-blog-post
  .box-info
  .cat-label {
  color: #fff;
}

.sec-home-4
  .blog-grid
  .post-item:first-of-type
  .box-blog-post
  .box-info
  .cat-label:before {
  border-color: #fff;
}

.sec-home-4 .btn-viewall {
  margin: 15px 0 0;
}

.sec-home-2 .btn-viewall,
.sec-home-1 .btn-viewall {
  margin: 5px 0 0;
}

#main .sec-home-4 {
  padding-bottom: 65px;
}

.sec-home-4 .col-content-home {
  padding-top: 60px;
  padding-bottom: 0;
}

/* End sec-home-4 */
@media screen and (min-width: 850px) and (max-width: 1198.98px) {
  #list-voucher .voucher-item {
    padding: 16px;
  }

  #list-voucher .voucher-item .box-text {
    padding-left: 16px;
  }

  .sec-home-banner .row-cate .product-category.col {
    flex-basis: 16.67%;
    max-width: 16.67%;
  }
}
@media screen and (min-width: 768px) {
  .row-product-home .product-small.col:nth-of-type(n + 13) {
    display: none;
  }
}
@media screen and (max-width: 849.98px) {
  .sec-home-banner .row-top .col-left {
    display: none;
  }

  .sec-home-banner .row-top .col-right {
    max-width: 100%;
    flex: unset;
    padding-left: 15px;
  }

  .sec-home-4 .blog-grid .post-item:nth-of-type(n + 2) .box-image {
    width: 130px !important;
  }

  .sec-home-4 .blog-grid .post-item:first-of-type .image-cover {
    padding-top: 75% !important;
  }

  .sec-home-4 .blog-grid .post-item:first-of-type .box-text {
    padding: 20px;
  }

  /* .row-product-home .product-small.col:nth-of-type(n+7) {
        display: none
    } */

  .sec-home-2 .nav a {
    font-size: 14px;
    padding: 0 20px;
  }

  .sec-home-2 .tabbed-content {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .sec-home-2 h2.text-left {
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 767.98px) {
  #main .sec-home-4 {
    padding-bottom: 50px;
  }
  .sec-home-banner .row-bottom .box-category .box-image {
    max-width: 80px;
  }
}

@media screen and (max-width: 575.98px) {
  .sec-home-banner .row-top .col-right {
    padding-bottom: 15px;
  }

  .sec-home-2 .nav {
    gap: 10px 0;
    margin-bottom: 10px;
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    justify-content: flex-start;
    scroll-padding: 10px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .sec-home-2 .tabbed-content {
    justify-content: flex-start;
  }

  .sec-home-2 .nav .tab {
    width: 100%;
    margin: 0 5px;
  }

  .sec-home-2 .nav a {
    padding: 0 14px;
  }

  .sec-home-2 .tab-panels {
    padding-top: 20px;
  }

  .sec-home-2 .btn-viewall,
  .sec-home-1 .btn-viewall {
    margin-top: 0;
  }

  .sec-home-3 .thuoctinh-thumbnails {
    padding-bottom: 0;
  }

  .sec-home-banner .row-bottom .row-cate {
    /* padding-bottom: 15px; */
  }

  .sec-home-4 .blog-grid .post-item:nth-of-type(n + 2) .box-text .post-title a {
    font-size: 16px;
  }

  .sec-home-4 .btn-viewall {
    margin-top: 5px;
  }
}
