/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: HiroshiLord
Template: flatsome
Version: 3.0
*/
:root {
  --secondary: rgba(0, 84, 35, 1);
  --fl-icon: "Font Awesome 6 Free";
  --icon-r: "\f061";
  --icon-l: "\f060";
}

#password_strength,.woocommerce-password-hint {
	display:none!important;
	
}

#masthead .flex-col.hide-for-medium.flex-left.flex-grow .header-nav{
	justify-content:center!important;
}
/* default categories blog flatsome */
#post-list .post-item .box-image{
	border-radius:4%!important;
}
#post-list .post-item .image-cover{
	padding-top:62%!important
}
.line-break {
    max-width: 100%;
    margin: 0px auto 20px;
    text-align: center;
    position: relative;
}
.line-break:before {
    content: '';
    width: 100%;
    height: 1px;
    background: #eee;
    z-index: 1;
    position: absolute;
    left: 0;
    top: 50%;
}
.line-break span {
    display: inline-block;
    font-size: 13px;
    color: #999;
    padding: 1px 10px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    border: 1px solid #eee;
    background-color: #fff;
    position: relative;
    z-index: 1;
}
/* ON SALE */
.badge-circle {
  margin-left: 1.6em !important;
}
.badge {
  height: unset !important;
  width: unset !important;
}
.badge-inner {
  background-color: var(--fs-color-alert) !important;
  padding: 9px;
  font-weight: 500;
  font-size: 14px;
}
.product-small .box-image{
  border-radius: 8px;
}
.price-slider-min,
.price-slider-max{
  display: none;
}
.text-capitalize span {
  text-transform: capitalize;
}
.f-40 span {
  font-size: 40px;
}
.wpcf7-spinner {
  display: none;
}
.section-title-normal,
.section-title-normal span {
  border-bottom: none;
}
.section-title b {
  opacity: 0;
}
.icon-angle-right:before {
  content: "\f061" !important;
  font-family: var(--fl-icon);
  font-weight: 900;
}
.icon-angle-left:before {
  content: "\f060" !important;
  font-family: var(--fl-icon);
  font-weight: 900;
}
.next-prev-nav i {
  font-size: 1em;
}
/* .custom-row-border-radius .button.white span {
  color: #333 !important;
} */
/* HOME */
/* .container,
.container-width,
.full-width .ubermenu-nav,
.row {
  max-width: 98% !important;
} */
.custom-title-banner-home h2 {
  line-height: 60px;
}
.custom-slider-banner-home .flickity-viewport {
  border-radius: 12px;
}
.flickity-page-dots {
  counter-reset: item;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.flickity-page-dots .dot {
  counter-increment: item;
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: transparent !important;
  color: #fff !important;
  font-weight: bold;
  font-family: sans-serif;
  text-align: center;
  line-height: 40px;
  font-size: 16px;
  border: none !important;
  opacity: 1;
}

.flickity-page-dots .dot::before {
  content: counter(item, decimal-leading-zero);
  display: block;
  color: #fff;
}

.flickity-page-dots .dot.is-selected {
  background-color: var(--fs-color-secondary) !important; /* màu nền xanh lá */
  color: white;
  border: none !important;
}
.custom-img-animation-home {
  z-index: 1;
  position: absolute;
  top: 35%;
  left: 53%;
}
.custom-img-animation-home .box-text {
  position: absolute;
  top: 36%;
  width: 124px;
  margin: auto;
  left: 34%;
}
.custom-img-animation-home .box-image img {
  animation: spin 5s linear infinite;
}
.custom-img-animation-home .custom-text-animation h4 {
  color: #fff;
}
.title-about-home {
  font-size: 30px;
  font-family: "Playfair Display", sans-serif;
}
.custom-cat-home .product-category .box-category {
  height: 449px;
}
.custom-cat-home .product-category .col-inner {
  border-radius: 8px;
  overflow: hidden;
}
.custom-cat-home .box-category .box-image {
  padding: 40px;
}
.custom-cat-home .box-category img {
  border-radius: 50%;
}
.custom-cat-home .box-text .header-title {
  font-weight: 500;
  font-size: 24px;
  text-transform: capitalize !important;
}
.custom-cat-home .box-text .count {
  text-transform: lowercase;
  font-size: 16px;
  color: #999 !important;
  font-weight: 500;
}
.custom-cat-home .box-category .box-image .overlay {
  border-radius: 50%;
}
.custom-cat-home .hover-icon {
  position: absolute;
  top: 44%;
  right: 42%;
  font-size: 24px;
  color: #333;
  width: 50px;
  height: 50px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  opacity: 0;
}
.custom-cat-home .hover-icon i {
  transform: rotate(-45deg);
}
.custom-cat-home .product-category .col-inner:hover .hover-icon{
  opacity: 1;
}
.custom-cat-home.slider .flickity-prev-next-button,
.product-on-sale-home.slider .flickity-prev-next-button {
  opacity: 1 !important;
}
.custom-cat-home .flickity-prev-next-button.previous::before,
.custom-cat-home .flickity-prev-next-button.next::before,
.product-on-sale-home .flickity-prev-next-button.previous::before,
.product-on-sale-home .flickity-prev-next-button.next::before {
  position: absolute;
  color: #fff;
  font-family: var(--fl-icon);
  font-weight: var(--fw-icon);
  font-size: 18px;
  width: 52px;
  height: 52px;
  border: 1px solid #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.custom-cat-home .flickity-prev-next-button.previous::before,
.custom-cat-home .flickity-prev-next-button.next::before {
  top: 0;
}
.product-on-sale-home .flickity-prev-next-button.previous::before,
.product-on-sale-home .flickity-prev-next-button.next::before {
  background-color: #fff;
  color: #333;
}
.product-on-sale-home .flickity-prev-next-button.next {
  left: 93% !important;
  right: inherit;
}

.custom-cat-home .flickity-prev-next-button.next::before {
  content: var(--icon-r);
}
.custom-cat-home .flickity-prev-next-button.previous::before {
  content: var(--icon-l);
  left: 0 !important;
}
.product-on-sale-home .flickity-prev-next-button.next::before {
  content: var(--icon-r);
}
.product-on-sale-home .flickity-prev-next-button.previous::before {
  content: var(--icon-l);
}
.custom-cat-home .flickity-prev-next-button:hover::before {
  color: #333;
  background-color: #fff;
  border: 1px solid #333;
}
.custom-cat-home .flickity-prev-next-button svg,
.product-on-sale-home .flickity-prev-next-button svg {
  display: none !important;
}
.custom-cat-home.slider-nav-push:not(.slider-nav-reveal)
  .flickity-prev-next-button {
  margin-top: -19.5% !important;
}
.custom-cat-home .flickity-prev-next-button.previous {
  left: 90% !important;
}
.post-item .is-divider {
  display: none !important;
}
.custom-blog-project-home .box-text.text-left {
  position: absolute;
  bottom: 0;
  height: 200px;
  border-radius: 8px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 24.42%,
    rgba(0, 0, 0, 0.164) 41.17%,
    rgba(0, 0, 0, 0.492) 60.59%,
    rgba(0, 0, 0, 0.656) 77.51%,
    rgba(0, 0, 0, 0.82) 96.56%
  );
  padding: 10px;
  align-items: end;
  display: flex;
}
.custom-blog-project-home .box-text-inner {
  width: 100%;
}
.custom-blog-project-home .box-text-inner .cat-label {
  font-size: 16px;
  color: #fff !important;
  opacity: 1;
  text-transform: capitalize !important;
}
.custom-blog-project-home .box-text .post-title a {
  font-size: 25px;
  font-weight: 500;
}
/* .custom-blog-project-home .blog-post-inner {
  position: relative;
} */
.custom-blog-project-home a.button {
  display: none;
}
.custom-blog-project-home .post-item .col-inner:hover a.button {
  position: absolute;
  top: -30%;
  left: 30%;
  display: block;
  z-index: 2;
}
.custom-blog-project-home .post-item .col-inner:hover .cat-label,
.custom-blog-project-home .post-item .col-inner:hover .post-title {
  display: none;
}
.custom-img-product-hot .box-text {
  position: absolute;
  top: 0;
}
.custom-img-product-hot .box-text-inner {
  padding: 0 20px;
}
.custom-img-product-hot .custom-percent-hot {
  margin-top: 210px;
}
.custom-img-product-hot .custom-percent-hot h4 {
  font-size: 35px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
}

.custom-img-product-hot .custom-percent-hot p {
  font-family: "Playfair Display", sans-serif;
  font-weight: 400;
  font-size: 14px;
}
.custom-img-product-hot img {
  height: 432px;
}
.custom-img-product-hot a.button {
  box-shadow: none !important;
  color: #333 !important;
}
.product-on-sale-home .product-title {
  padding: 10px 0;
}
.product-small .price-wrapper .price {
  display: flex !important;
  align-items: center;
  gap: 10px;
}
.product-small .price-wrapper .price del {
  order: 1;
}
.custom-sku-product {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-style: light;
  font-size: 15px;
  line-height: 14px;
  color: rgba(132, 132, 132, 1);
}
.product-small .product-title a {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: rgba(0, 0, 0, 1);
}
.product-small ins .woocommerce-Price-amount.amount {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 20px;
  color: rgba(34, 70, 118, 1);
}
.product-small del .woocommerce-Price-amount.amount {
  font-family: Inter;
  font-weight: 300;
  font-size: 14px;
  line-height: 15px;
}
.section-product-news img {
  border-radius: 8px;
}
.section-product-news .box .box-text {
  position: absolute;
  bottom: 0;
}
.section-product-news .box .box-text h4 {
  font-family: "Playfair Display", sans-serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #fff;
}
.custom-tab-product ul.nav {
  position: absolute;
  top: 0;
}
.custom-tab-product li a {
  padding: 0 10px !important;
}
.custom-tab-product .nav > li > a {
  font-size: 16px;
  color: rgba(153, 153, 153, 1);
}
.custom-tab-product .nav > li:hover > a {
  color: rgba(34, 70, 118, 1);
}
.custom-tab-product .nav > li.active > a {
  font-size: 16px;
  color: rgba(34, 70, 118, 1);
}
.nav-line-bottom > li > a:before {
  background-color: rgba(34, 70, 118, 1) !important;
}
.section-img-center .row {
  height: 620px;
}
.section-img-center .row .col {
  align-self: stretch;
  height: 620px;
}
.section-img-center .row .col .col-inner {
  height: 100%;
}
.section-img-center .row .img-100 img {
  height: 620px;
}
.section-img-center .row .col .col-inner .custom-img-center {
  position: absolute;
  right: -25%;
  z-index: 1;
  top: 16%;
}
.custom-col-padding .col-inner {
  padding: 134px 170px 0 30px;
}

.custom-btn-white {
  border: 1px solid white !important;
}
.custom-btn-white span,
.custom-btn-white i {
  color: #fff !important;
}
.custom-btn-white:hover span,
.custom-btn-white:hover i {
  color: #333 !important;
}
.custom-row-border-radius {
  border-radius: 8px;
  overflow: hidden;
}
.custom-slider-review .flickity-page-dots .dot::before {
  color: #333;
}
.custom-slider-review .flickity-page-dots .dot.is-selected::before {
  color: #fff;
}
/* About */
.row-custom-img-box-about .box-image img {
  border-top-left-radius: 180px;
  border-top-right-radius: 180px;
}
/* Contact */
.custom-flex-form-contact p {
  display: flex;
  gap: 10px;
}
.contact-form input:not([type="submit"]) {
  min-height: 53px;
}
.contact-form input:not([type="submit"]),
.contact-form textarea {
  background: #f5f6f6;
  border-radius: 5px;
  box-shadow: none;
  border: none;
}
.contact-form button[type="submit"]:hover {
  background-color: var(--fs-color-secondary) !important;
  color: white;
}
.text-center .button:last-of-type,
.text-right .button:last-of-type {
  margin-right: 0 !important;
}
.text-center .button:first-of-type {
  margin-left: 0 !important;
}
.contact-form button[type="submit"] {
  border-radius: 99px;
  background-color: transparent !important;
  border: 1px solid var(--fs-color-secondary);
  color: var(--fs-color-secondary);
  border-radius: 99px;
  padding: 1px 30px !important;
  padding-right: 15px !important;
  border-width: 2px !important;
}
.contact-form button[type="submit"] svg {
  margin-left: 10px;
}
.button.is-outline svg {
  margin-left: 5px;
  margin-bottom: -6px;
}
svg:not(:root) {
  overflow: hidden;
}
.contact-form button[type="submit"]:hover {
  background-color: var(--fs-color-secondary) !important;
  color: white;
}
.contact-form button[type="submit"]:hover svg > * {
  fill: white;
}
/* Sidebar Form báo giá */
.right-sidebar-form {
  padding: 40px 0 0 !important;
}
.right-sidebar-form > .col-inner {
  margin: 0 !important;
}
.custom-sidebar-form .col-inner {
  background: var(--fs-color-secondary);
  border-radius: 10px;
}
.custom-sidebar-form h2 {
  padding: 40px 20px 0 20px;
  color: var(--secondary);
  text-transform: uppercase;
}
.custom-sidebar-form h2 span {
  color: #fff;
}
.custom-sidebar-form .wpcf7 {
  padding: 20px 20px 0 20px;
}
.custom-sidebar-form .wpcf7-submit {
  background-color: var(--secondary) !important;
}
.custom-sidebar-form .box-vertical {
  background: var(--secondary);
  border-radius: 0 0 10px 10px;
  padding: 10px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.custom-sidebar-form .box-vertical .box-text {
  padding: 0 10px !important;
}
.custom-sidebar-form .box-vertical h5 {
  font-size: 18px;
}
.custom-sidebar-form .box-vertical p a {
  font-size: 32px;
}
.custom-icon-right-sidebar {
  position: relative;
  margin: 0 auto;
}
.custom-icon-right-sidebar .img-inner {
  position: absolute;
  top: -60px;
  width: 30%;
  border-radius: 50%;
  background-color: var(--secondary);
  padding: 15px;
  left: 35%;
}
.custom-right-sidebar-products .box-image img,
.custom-right-sidebar-products .box-image,
.custom-right-sidebar-products .box-image div{
  width: 78px!important;
  height: 78px!important;
  border-radius: 8px;
}
.custom-right-sidebar-products .left{
  left: 5px;
}
.custom-sidebar-hot-product{
  background-color: #F5F6F6;
    padding: 20px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}
.custom-slider-banner-home .text-box-content a.button:hover {
  border: 2px solid #fff;
  background-color: var(--fs-color-primary) !important;
}
.custom-slider-banner-home .text-box-content a.button:hover span,
.custom-slider-banner-home .text-box-content a.button:hover i {
  color: #fff;
}
.custom-form-footer {
  /* height: 200px; */
  background: var(--fs-color-primary);
  border-radius: 4px;
  overflow: hidden;
  /* transform: translateY(-75px); */
}
.section-footer {
  padding-top: 90px !important;
}
.section-form-footer {
  transform: translateY(80px);
  z-index: 1;
}
.custom-stack-footer .flex-2,
.custom-stack-footer .flex-3,
.custom-stack-footer .flex-4 {
  flex: 25% !important;
}
.name-cty {
  font-size: 26px;
  font-weight: bold;
}
.custom-stack-footer .box-text {
  padding-top: 0px;
  padding-bottom: 0px;
}
.content-footer {
  width: 80%;
  padding-top: 10px;
}
.content-footer p {
  font-size: 14px;
  color: rgba(132, 132, 132, 1);
}
.custom-form-footer .text {
  font-size: 24px;
}
.custom-form-footer p {
  display: flex;
  position: relative;
}
.custom-form-footer input:not([type="submit"]) {
  background-color: rgba(0, 86, 36, 1);
  color: #fff;
  height: 52px;
  border-radius: 25px;
  border: 0;
}
.custom-form-footer input::placeholder {
  color: #fff;
}
.custom-form-footer .wpcf7-form-control-wrap {
  width: 100%;
}
.custom-form-footer .wpcf7-form {
  margin-bottom: 0px;
}
.custom-form-footer .wpcf7-submit {
  position: absolute;
  right: 6px;
  margin-right: 0 !important;
  top: 6px;
  border-radius: 25px;
  background-color: #fff !important;
  color: #333;
}
.custom-text-footer p {
  font-size: 14px;
}
.custom-text-footer {
  width: 80%;
}
.order-tracker {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  list-style: none;
  counter-reset: step;
  border-top: 1px solid #ddd;
  position: relative;
}

.order-tracker li {
  text-align: center;
  width: 100%;
  position: relative;
  color: #999;
}

.order-tracker li .tracker-icon {
  font-size: 30px;
  width: 62px;
  height: 62px;
  line-height: 62px;
  border-radius: 50%;
  border: 2px solid #999;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  position: relative;
  z-index: 1;
}

.order-tracker li.done .tracker-icon,
.order-tracker li.active .tracker-icon {
  border-color: #306e51;
  color: #306e51;
}

.order-tracker li.done .tracker-label,
.order-tracker li.active .tracker-label,
.order-tracker li.done .tracker-date,
.order-tracker li.active .tracker-date {
  color: #306e51;
  font-weight: 600;
}

.order-tracker li .tracker-label {
  font-size: 14px;
  margin-bottom: 5px;
}

.order-tracker li .tracker-date {
  font-size: 13px;
  color: #666;
}

.order-tracker li::after {
  content: "";
  position: absolute;
  top: 30%;
  right: -50%;
  height: 2px;
  background: #ccc;
  width: 100%;
  z-index: 0;
}

.order-tracker li:last-child:after {
  width: 0;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.copyright-footer {
  color: #333;
}
.section-footer {
  padding-bottom: 0!important;
}
.absolute-footer {
  border-top: 1px solid #ebebeb;
}
@media screen and (max-width: 768px) {
  .custom-img-box-core .box-image {
    width: 15% !important;
  }
  .section-about-us-home .divider {
    opacity: 0 !important;
  }
  .custom-img-animation-home {
    top: 25%;
  }
  .custom-img-animation-home .box-image {
    width: 75% !important;
  }
  .custom-img-animation-home .box-text {
    position: absolute;
    top: 20%;
    width: 50px;
    margin: auto;
    left: 34%;
  }
  .custom-cat-home.slider-nav-push:not(.slider-nav-reveal)
    .flickity-prev-next-button {
    margin-top: -70% !important;
  }
  .custom-cat-home .flickity-prev-next-button.previous {
    left: 66% !important;
  }
  .flickity-prev-next-button.next {
    right: 12%;
  }
  .product-on-sale-home .flickity-prev-next-button.next {
    left: 84% !important;
  }
  .text-left-mb .text {
    text-align: left !important;
  }
  .custom-tab-product ul.nav {
    position: relative;
    top: inherit;
  }
  .custom-col-padding .col-inner {
    padding: 116px 30px 0 30px;
  }
  .custom-slider-review .flickity-page-dots .dot::before {
    color: #333;
    width: 40px;
    height: 40px;
  }
  .custom-blog-project-home .post-item .col-inner:hover a.button {
    position: absolute;
    top: -15%;
    left: 30%;
    display: block;
    z-index: 2;
  }
  .fz-24 span {
    font-size: 24px;
  }
  .custom-form-footer .wpcf7-submit {
    position: relative;
    right: 0;
    margin-right: 0 !important;
    top: 0;
    border-radius: 25px;
    background-color: #fff !important;
    color: #333;
    width: 100%;
  }
  .custom-form-footer p {
    display: block;
  }
  .custom-form-footer {
    max-width: 100% !important;
  }
  .custom-stack-footer {
    flex-direction: column;
  }
  .custom-stack-footer .box-vertical {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
  .custom-stack-footer .box-vertical .box-image {
    width: 35% !important;
  }
}

.single-product .variations td.value .selected, .single-product .variations td.value .variable-item.selected, .single-product .variations td.value .ux-swatch.selected
 {
    border-color: var(--fs-color-primary);
    box-shadow: 0 0 0 2px rgba(68, 96, 132, .08) inset;
    background: var(--fs-color-primary);
    color: #fff;
}
