/*
Theme Name: Nava
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

:root {
  --color-primary: #4f803a;
  --color-seconds-primary: #f6ae19;
  --text-color: #252a2b;
  --main-nav: #679604;
  --bototm-nav: #7fba00;
  --font-size: 16px;
  --text-white: white;
  --bg-color: #f5f3ea;
  --nav-color: #8b572a;
}

/*  */
html,
body {
  font-size: var(--font-size);
  color: var(--text-color);
}
.pr-3 {
  padding-right: 3px !important;
}
#main,
#wrapper {
  background: var(--bg-color);
}

/* Header Main*/

div#masthead {
  background-color: var(--main-nav);
}
div#masthead .header-nav.nav-left {
  justify-content: center;
}

div#masthead input#woocommerce-product-search-field-0 {
  padding: 9px 50px 10px 15px;
  width: 100%;
  background: #fff;
  border: 1px solid #ececec;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  display: inline-block;
  border-radius: 4px;
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  appearance: none;
  -webkit-transition: all 150ms linear;
  transition: all 150ms linear;
  height: unset;
}
div#masthead button.secondary.button.icon.mb-0 {
  position: absolute;
  padding: 0;
  top: 0px;
  bottom: 0;
  right: -4.2%;
  border-radius: 4px;
  margin: 3px !important;
  border: 0;
  box-shadow: none;
  color: var(--text-white) !important;
  width: 70px;
  background: var(--color-seconds-primary) !important;
  transition: opacity 150ms linear;
}

/* Bottom Nav */
div#wide-nav {
  background-color: var(--bototm-nav);
}

.home div#wide-nav::before {
  content: "";
  position: absolute;
  height: 40px;
  width: 100%;
  bottom: -38px;
  background: var(--bototm-nav);
}

div#wide-nav .header-bottom-nav > li > a {
  opacity: 0.85;
  position: relative;
  z-index: 2;
  display: block;
  padding: 15px 4px;
  width: 100%;
  letter-spacing: 0.75px;
  font-weight: 500;
  font-size: 16px;
  -webkit-transition: none;
  transition: none;
  color: white;
  text-transform: uppercase;
}

/* Homepage */

/* 1.Section Slider */
.ss-slider {
  z-index: 1002;
}
.ss-slider .slider-wrapper {
  background-color: var(--text-white);
  z-index: 10;
  border-radius: 5px;
}
.slider-wrapper img {
  border-radius: 5px;
}
/* Slider */
.flickity-prev-next-button svg {
  background-color: var(--color-seconds-primary);
  border-color: var(--color-seconds-primary);
  border-radius: unset !important;
  color: var(--text-white);
}
.flickity-prev-next-button:hover svg {
  border-color: var(--color-seconds-primary) !important;
  background-color: var(--text-white) !important;
  border-radius: unset !important;
  color: var(--color-seconds-primary) !important;
  fill: var(--color-seconds-primary) !important;
}
.slider-wrapper .flickity-prev-next-button:hover svg .arrow {
  color: var(--color-seconds-primary) !important;
  fill: var(--color-seconds-primary) !important;
}
.flickity-page-dots .dot.is-selected {
  background-color: var(--color-seconds-primary);
  border-color: var(--color-seconds-primary);
}

/* SS item */
.ss_item {
  position: relative;
  transition: transform 0.64s cubic-bezier(0.15, 0.75, 0.5, 1) 0s;
  background: var(--text-white);
  border-radius: 5px;
}
.ss_img {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 12;
  object-fit: cover;
  border-bottom: 1px solid #f5f5f5;
}
.ss_img img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.ss_item .ss_info {
  position: relative;
  padding: 0;
  left: auto;
  bottom: auto;
  margin-top: 10px;
}
.ss_info .ss_name {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: initial;
  overflow: hidden;
}
.ss_info .ss_number {
  display: block;
  text-align: center;
  color: #888;
}

/* SS Title */
.section-title-normal,
.section-title-normal span {
  border: none;
  margin-bottom: 0;
}

.product-small .col-inner {
  background: var(--text-white);
  height: 100%;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
}
.title-wrapper {
  position: relative;
  padding: 10px 14px 10px;
  text-align: center;
}

.box-image {
  padding: 5px;
}
.col.post-item .box-image {
  padding: 0;
}
.ss-product .flickity-prev-next-button.previous {
  left: 90% !important;
}
.ss-product .flickity-prev-next-button {
  opacity: 1;
}
.ss-product
  .slider-nav-push:not(.slider-nav-reveal)
  .flickity-prev-next-button {
  margin-top: -33% !important;
}
.ss-product .slider-nav-circle .flickity-prev-next-button svg {
  border: 0;
  border-radius: 100%;
  border-radius: 0;
  color: white;
}

.ss-product__feature .tabbed-content {
  position: relative;
  top: -15px;
}
.ss-product__feature .tabbed-content .nav {
  justify-content: flex-end;
  position: absolute;
  top: -6%;
}
.ss-product__feature .tabbed-content .nav-outline > li > a {
  position: relative;
  font-weight: 700;
  color: #787878;
  margin-left: 20px;
  border: 1px solid #eae4e8;
  border-radius: 20px;
}
.ss-product__feature .tabbed-content .nav-outline > li.active > a {
  background-color: var(--nav-color);
  border-color: var(--nav-color);
  color: var(--text-white);
}

.ss-banner .img-inner:before,
.ss-banner .img-inner::after {
  content: "";
  position: absolute;
  height: 0;
  width: 0;
  background-color: rgba(255, 255, 255, 0.15);
  transition: all 0.5s ease-in-out 0s;
  -webkit-transition: all 0.5s ease-in-out 0s;
  -ms-transition: all 0.5s ease-in-out 0s;
}
.ss-banner .img-inner,
.ss-banner .img-inner img {
  border-radius: 5px;
}
.ss-banner .img-inner:before {
  top: 0;
  left: 0;
  z-index: 1;
}
.ss-banner .img-inner::after {
  bottom: 0;
  right: 0;
  z-index: 2;
}
.ss-banner .img:hover .img-inner::before,
.ss-banner .img:hover .img-inner::after {
  width: 100%;
  height: 100%;
}

.ss-blog .box-image {
  padding: 5px;
}

.ss-blog .flickity-prev-next-button.previous {
  left: 90% !important;
}
.ss-blog .flickity-prev-next-button {
  opacity: 1;
}
.ss-blog .slider-nav-push:not(.slider-nav-reveal) .flickity-prev-next-button {
  margin-top: -35% !important;
}
.ss-blog .slider-nav-circle .flickity-prev-next-button svg {
  border: 0;
  border-radius: 100%;
  border-radius: 0;
  color: white;
}

.ss-blog .col.post-item .col-inner {
  border-radius: 4px;
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.08);
  background-color: var(--text-white);
}
.post-item .col-inner .box-text {
  padding: 10px 17px;
  background: #fff;
}

.post-item .col-inner .post-title a {
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  min-height: 40px;
}

/* Footer */

footer {
  background: var(--text-white);
}
.absolute-footer {
  display: none;
}

.col-form > .col-inner,
.col-social > .col-inner {
  display: flex;
  align-items: center;
}
.col-form > .col-inner > .section-title-container {
  max-width: unset;
  width: auto;
  margin: 0;
}
.col-form > .col-inner form {
  margin-bottom: 0;
}
.col-form > .col-inner form > p {
  display: flex;
}
.col-form > .col-inner form > p > span {
  margin-right: 10px;
}
.col-form > .col-inner form > p > span input {
  border-radius: 10px;
  margin-bottom: 0;
}
span.wpcf7-spinner {
  display: none;
}
.col-form > .col-inner form > p > .btn-sendWish {
  margin: 0;
  min-height: unset;
  line-height: unset;
  padding: 0 10px;
  height: 40px;
  border-radius: 10px;
  background-color: var(--color-seconds-primary);
}
.col-social > .col-inner,
.col-social > .col-inner > .section-title-container > h3 {
  justify-content: flex-end;
}
.col-social .social-icons {
  display: flex;
  justify-content: flex-end;
}
.col-social > .col-inner > .section-title-container {
  margin: 0;
}

footer .ss-footer__main {
  border-top: 1px solid #f5f5f5;
}
.ux-menu-title.flex {
  font-weight: 700;
  font-size: 18px;
  padding-bottom: 12px;
  text-transform: capitalize;
}
p.copyright {
  margin-bottom: 0;
  border-top: 1px dashed #d3c6c6;
  margin-top: 10px;
  padding-top: 10px;
  text-align: center;
}

.yith-wcan-filters {
  background-color: unset;
}
.yith-wcan-filters .yith-wcan-filter {
  background-color: var(--text-white);
  padding: 10px;
}
.yith-wcan-filters h4.filter-title {
  /* padding: 10px 13px; */
  background: #ffffff;
  font-size: 16px;
  border-bottom: 1px solid #eae4e8;
  padding-bottom: 10px;
}
.yith-wcan-filters .yith-wcan-filter .filter-items .filter-item.active > a,
.yith-wcan-filters
  .yith-wcan-filter
  .filter-items
  .filter-item.active
  > label
  > a {
  color: var(--color-primary);
}
.yith-wcan-filters .yith-wcan-filter .yith-wcan-tooltip {
  background: var(--color-primary);
}

.yith-wcan-filters .yith-wcan-filter .yith-wcan-tooltip::before {
  border-right-color: var(--color-primary) !important;
}
.custom-with__title,
.box-results {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.custom-with__title h1 {
  max-width: 50%;
  margin-bottom: 0;
}

.row-bg-white > .col-inner {
  background-color: var(--text-white);
  padding: 10px;
}

.row-gallery img {
  aspect-ratio: 1 /1;
}
.row-gallery .row.row-small {
  margin: 0;
}
.row-gallery .row.row-small .col.large-10 {
  padding: 0;
}
.row-gallery .row.row-small .col {
  padding-left: 0;
}
p.price.product-page-price {
  background: #fafafa;
  padding: 15px;
  border-radius: 4px;
}
.box-button {
  justify-content: center;
  margin: 0 !important;
  gap: 5px;
}
.box-button a {
  display: block;
  text-align: center;
  padding: 10px;
  color: var(--text-white);
  font-size: 16px;
  border-radius: 4px;
  font-weight: 500;
}
.box-button a.shopee_pro {
  background: #d0011b;
}
.box-button a.lazada_pro {
  background: #f57224;
}
.box-button a.tiki_pro {
  background: #0a68ff;
}
.box-button.row .col {
  width: auto;
  padding: 0;
}

.row-description .tabs {
  border-bottom: 2px solid #ededed;
}
.row-description .tabs li.active a::before {
  background: var(--text-color);
  bottom: -2px;
  height: 2px;
  top: auto;
}
.row-description .tabs li a {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  text-transform: uppercase;
  position: relative;
}

/* Thu gọn nội dung */

div#tab-description {
  overflow: hidden;
  position: relative;
  padding-bottom: 25px;
}
.fix_height {
  max-height: 350px;
  overflow: hidden;
  position: relative;
}
.single-product .tab-panels div#tab-description.panel:not(.active) {
  height: 0 !important;
}
.devvn_readmore_flatsome {
  text-align: center;
  cursor: pointer;
  position: absolute;
  z-index: 10;
  bottom: 0;
  width: 100%;
  background: #fff;
}
.devvn_readmore_flatsome:before {
  height: 55px;
  margin-top: -45px;
  content: "";
  background: -moz-linear-gradient(
    top,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  background: -webkit-linear-gradient(
    top,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff00', endColorstr='#ffffff',GradientType=0 );
  display: block;
}
.devvn_readmore_flatsome a {
  color: #318a00;
  display: block;
}
.devvn_readmore_flatsome a:after {
  content: "";
  width: 0;
  right: 0;
  border-top: 6px solid #318a00;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  display: inline-block;
  vertical-align: middle;
  margin: -2px 0 0 5px;
}
.devvn_readmore_flatsome_less a:after {
  border-top: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #318a00;
}
.devvn_readmore_flatsome_less:before {
  display: none;
}

.related-products-wrapper .slider-nav-reveal .flickity-prev-next-button,
.related-products-wrapper .slider-nav-reveal .flickity-prev-next-button:hover {
  background-color: unset;
  box-shadow: unset;
}
span.price {
  display: none !important;
}
.product-breadcrumb-container.is-normal {
  margin-bottom: 10px;
}
button.button.btn-from__submit {
  background: var(--color-primary);
}
aside.widget:not(.widget_yith-woocommerce-ajax-navigation-filters) {
  position: relative;
  background: #fff;
  margin: 0 0 20px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.08);
  border-radius: 3px;
}
.widget-title {
  padding: 15px 20px;
  display: block;
}
.widget-title span {
  font-size: 16px;
  margin-bottom: 0;
  position: relative;
  cursor: pointer;
}
.is-divider.small {
  display: none;
}
.textwidget.custom-html-widget,
.widget:not(.widget_yith-woocommerce-ajax-navigation-filters) ul {
  padding: 0 20px 15px;
  border-top: 1px solid #f5f5f5;
}

.textwidget.custom-html-widget ul {
  counter-reset: post-ranking;
}
.widget:not(.widget_yith-woocommerce-ajax-navigation-filters) ul li {
  border-bottom: 1px #efefef dotted;
  padding: 15px 0;
  margin: 0;
}
.textwidget.custom-html-widget ul li:last-child {
  border-bottom: none;
}
.textwidget.custom-html-widget ul li a .b2-widget-post-thumb {
  display: flex;
  align-items: center;
}
.textwidget.custom-html-widget ul li .b2-widget-post-thumb-img {
  width: 100px;
  padding-right: 10px;
  position: relative;
}
.textwidget.custom-html-widget ul li .b2-widget-post-title {
  width: calc(100% - 100px);
}
.textwidget.custom-html-widget ul li span.tt-xemnhiu {
  margin: 0 0 5px;
  font-size: 13px;
  font-weight: 500;
  display: block;
}

.textwidget.custom-html-widget ul li time {
  font-size: 12px;
  margin: 0;
}
.textwidget.custom-html-widget ul li .b2-widget-post-thumb-img:before {
  position: absolute;
  content: counter(post-ranking);
  top: calc(50% - 16px);
  left: -16px;
  border: 2px solid #fff;
  height: 28px;
  width: 28px;
  line-height: 26px;
  text-align: center;
  border-radius: 100%;
  background: red;
  color: #fff;
  font-size: 12px;
  counter-increment: post-ranking;
  z-index: 1;
}
.page-wrapper {
  padding-top: 0;
}
.post {
  background: #fff;
  padding: 15px 20px;
  margin-bottom: 25px;
  border-radius: 3px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.08);
}

/* Lang */
.skiptranslate, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf
{
  display: none;
}
body {
  top: 0px !important;
}
.__english .wrap-english {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.__english span {
  color: var(--text-white);
}

.__english ul.sl-en span {
  color: var(--color-primary);
  cursor: pointer;
  margin-left: 10px;
}

.txt-14-22 {
  font-size: 14px;
  line-height: 22px;
}

.ml-2,
.mx-2 {
  margin-left: 0.5rem !important;
}

.mr-1,
.mx-1 {
  margin-right: 0.25rem !important;
}

.__english .wrap-english .en-arrow {
  transition: all 0.2s;
}

.__english .sl-en {
  background-color: #fff;
  border-radius: 0 0 4px 4px;
  box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  margin-top: 10px;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  right: 0;
  -webkit-transform-origin: 50% 0;
  -ms-transform-origin: 50% 0;
  transform-origin: 50% 0;
  -webkit-transform: scale(0.75) translateY(-21px);
  -ms-transform: scale(0.75) translateY(-21px);
  transform: scale(0.75) translateY(-21px);
  -webkit-transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25),
    opacity 0.15s ease-out;
  transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
  z-index: 9;
  width: 180%;
}

.__english .sl-en li {
  padding: 10px;
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 22px;
  transition: all 0.2s;
  margin-bottom: 0;
}

.__english .sl-en li img {
  margin-right: 4px;
}

.__english.open .sl-en {
  opacity: 1;
  pointer-events: auto;
  -webkit-transform: scale(1) translateY(0);
  -ms-transform: scale(1) translateY(0);
  transform: scale(1) translateY(0);
}

#google_language_translator {
  overflow: hidden;
  font-size: 0;
  display: none;
}

/* Lang */
.owl-dots {
  display: none;
}
.owl-nav {
  text-align: right;
}


@media screen and (max-width: 1200px) {
}
@media screen and (max-width: 991px) {
  .row-custom__post {
    justify-content: center;
  }
  .row-custom__post > .col {
    max-width: 100%;
    flex-basis: 100%;
  }
  .box-button > .col {
    width: 49% !important;
  }
}
@media screen and (max-width: 768px) {
  .ss-slider {
    padding: 30px 0 !important;
    padding-bottom: 0 !important;
  }

  .custom-with__title h1 {
    text-align: left;
  }
  .woocommerce-product-gallery__wrapper {
    margin-bottom: 20px !important;
  }
  .ux-cua-hang .box-selected,
  .row-form__action {
    margin-bottom: 20px;
  }
  .row__item_noted .col:nth-child(1),
  .row__item_noted .col:nth-child(2) {
    padding-bottom: 20px !important;
  }
  .ss-product__feature .tabbed-content {
    top: 20px;
  }
  .ss-product__feature .tabbed-content .nav {
    top: unset;
    position: relative;
    justify-content: center;
  }
  .ss-product__feature .tabbed-content .nav li {
    margin-bottom: 10px;
  }
  .section-title {
    justify-content: center;
  }
  .ss-product
    .slider-nav-push:not(.slider-nav-reveal)
    .flickity-prev-next-button {
    margin-top: -65% !important;
  }
  .ss-product .flickity-prev-next-button.previous,
  .ss-blog .flickity-prev-next-button.previous {
    left: 85% !important;
  }
  .ss-blog .slider-nav-push:not(.slider-nav-reveal) .flickity-prev-next-button {
    margin-top: -85% !important;
  }
  .ss_about-breads #crumbs {
    text-align: center;
  }
  .__english span {
    color: var(--text-color);
  }
}
@media screen and (max-width: 480px) {
    .ss-banner .col {
      padding-bottom: 20px !important;
    }
    .ss-product .slider-nav-push:not(.slider-nav-reveal) .flickity-prev-next-button {
      margin-top: -88% !important;
    }
    .ss-blog .slider-nav-push:not(.slider-nav-reveal) .flickity-prev-next-button {
      margin-top: -118% !important;
    }
}
@media screen and (max-width: 430px) {

  .ss-product .slider-nav-push:not(.slider-nav-reveal) .flickity-prev-next-button {
    margin-top: -95% !important;
  }
  .ss-blog .slider-nav-push:not(.slider-nav-reveal) .flickity-prev-next-button {
    margin-top: -130% !important
  }
}
