/*
Theme Name: flatsome Child
Theme URI: http://flatsome.uxthemes.com
Description: Multi-Purpose Responsive WooCommerce Theme
Author: UX-Themes
Author URI: https://uxthemes.com
Template: flatsome
Version: 3.19.5

Text Domain: flatsome
*/

@font-face {
  font-family: "Gilroy";
  src: url("./fonts/Gilroy/SVN-GilroyRegular.otf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
.woocommerce-message.message-wrapper {
  display: none;
}
body,
header,
nav,
.nav-top-link {
  font-family: "Gilroy", sans-serif !important;
}

/* /chung */
.pr-2 {
  padding-right: 20px;
}
.pl-2 {
  padding-left: 20px;
}
.p-0 {
  padding: 0 !important;
}
.pl-0 {
  padding-left: 0;
}
.m-0 {
  margin: 0 !important;
}
.section-banenr {
  padding: 0 36px !important;
}
h2 {
  font-weight: 400 !important;
  font-size: 33px;
  line-height: 25px;
  font-style: normal;
}

/* /* /home * */
.qc-sp .col-banner .banner-bg,
.qc-sp .banner {
  border-radius: 22px;
}
.text-in-cate-banner h2 {
  font-size: 30px;
  line-height: 33px;
}
.text-content-cate li {
  font-size: 15px;
  line-height: 17px;
}
.border-bottom {
  border-bottom: 2px solid #ececec;
}
/* .border-bottom h3{
border-bottom: 2px solid rgb(180 2 2);
margin: 0;
} */
.border-bottom h3 {
  position: relative;
  margin: 0;
  /* display: inline-block; */
  /* padding-bottom: 5px; Khoảng cách giữa chữ và border */
}

.border-bottom h3::after {
  content: "";
  position: absolute;
  width: 40%; /* Độ dài của border */
  left: 50%;
  transform: translateX(-50%);
  bottom: -1.5px;
  border-bottom: 2px solid rgb(180, 2, 2); /* Màu sắc của border */
}
.col-slider-child {
  padding-bottom: 8px !important;
}
.slider-nav-light .flickity-page-dots .dot {
  border-color: var(--primary-color);
}
.flickity-page-dots {
  left: 84%;
  position: absolute;
  text-align: center;
  display: flex;
  flex-wrap: nowrap;
  right: unset;
}
.text-small p {
  font-size: 16px;
  line-height: 23px;
  font-weight: 400;
}
.row-ch-slider b {
  background-color: #c69a39;
  opacity: 0.5;
  height: 3px;
}
.custome-display .text-box {
  height: 100%;
  display: flex;
  align-items: end;
}
.custome-display-2 .text-box {
  height: 100%;
  display: flex;
  align-items: flex-start; /* Căn theo chiều dọc */
  justify-content: flex-start; /* Căn theo chiều ngang */
}

/* @media screen and (min-width: 850px) {
.lg-x50.lg-y50.text-box-banenr-home {
transform: translate(-48%, 77%) !important;
}
.lg-x50.lg-y50.text-box-banenr-home-2 {
transform: translate(-73%, -166%) !important;
}
} */

/* product */
/* .box-service{
background-color: #ffffff;
padding: 8px 12px 8px;
border-radius: 20px;
} */
.product-title a {
  font-size: 16px !important;
  font-weight: 700;
  line-height: 26px !important;
  color: black;
}

/* */
span.amount {
  white-space: nowrap;
  color: #c01f41;
  font-size: x-large;
  font-weight: 400;
}
p.name.product-title.woocommerce-loop-product__title {
  text-align: left;
	font-size:18px;
}
.product-small .col-inner {
  background-color: #ffffff;
  border-radius: 8px;
}
.product-small .box-image {
  border-radius: 8px;
}
.product-small.col {
  padding: 0 9.8px 19.6px;
  margin-bottom: 0;
}

.box-text {
  padding-top: 0.7em;
  padding-bottom: 1.4em;
  position: relative;
  width: 100%;
  font-size: 0.9em;
  padding-left: 10px;
  padding-right: 10px;
}
.box-price-cart {
  display: flex;
  justify-content: space-between;
}
.btn-buy-prd .btn-buy-now {
  /* margin: 1em 0 0; */
  padding: 0;
}
.btn-buy-prd .btn-buy-now {
  padding: 6px;
  border-radius: 8px;
  background-color: var(--primary-color);
  height: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* footer */
#menu-footer-menu a {
  color: white;
}
.widget > ul > li + li,
ul.menu > li + li {
  border-top: 1px solid #7d6c6c;
}
.ux-quantity .button {
  border-radius: 18px;
  background-color: transparent !important; /* Đặt nền trong suốt */
}
.ux-quantity .input-text.qty {
  border: unset;
  box-shadow: unset;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  background-color: transparent; /* Đặt nền trong suốt */
}
.single_add_to_cart_button {
  background-color: var(--primary-color) !important;
  border-radius: 32px;
  color: white;
}
/* hits do */
.menu-item.active .nav-top-link {
  padding: 0px 10px;
  background-color: var(--primary-color);
  border-radius: 20px;
}
.nav-dropdown {
  border-radius: 15px;
  border: unset;
}
.nav .nav-dropdown {
  background-color: #710011;
  color: white;
}
.nav-column > li > a,
.nav-dropdown > li > a,
.nav-vertical-fly-out > li > a,
.nav > li > a {
  color: hsla(0, 0%, 0%, 0.892);
}
.custome-bg-color {
  background-color: #7c0305;
}
.stuck .header-main .nav > li > a {
  line-height: unset !important;
}
.header-main .nav > li > a {
  line-height: 30px;
  margin: 0;
  padding: 0;
}
.header-top {
  min-height: 30px;
  height: 90px;
  z-index: 1;
}
#logo img {
  max-height: 40px;
  position: absolute;
  top: -42px;
  height: 130px;
  width: 129px;
  max-height: 200px !important;
  border-radius: 100px;
  border: 3px solid;
}
.header-wrapper .flex-center {
  display: none;
}
.header-wrapper .flex-right {
  /* margin-left: unset; */
}
.header-wrapper .flex-left {
  margin-left: auto;
}
.header-wrapper #woocommerce-product-search-field-0 {
  width: 420px;
  background-color: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  border-radius: 24px;
}
.search-field::placeholder {
  color: #ffffff; /* Màu bạn muốn đặt cho placeholder */
  opacity: 1; /* Đảm bảo màu hiện rõ ràng */
}
.searchform-wrapper .ux-search-submit {
  background-color: unset;
  border: unset;
}
.searchform-wrapper .flex-row .flex-col:last-child {
  position: absolute;
  right: 0;
}
.header-wrapper:not(.stuck) .header-main .header-nav {
  margin-top: 0px !important;
}

.header-cart-title {
  display: none;
}
.page-wrapper {
  padding-bottom: 30px;
  padding-top: 80px;
}
.nav-small .cart-icon {
  font-size: 1em;
}
.btn-custome-contact {
  display: flex;
  align-items: center;
  border-radius: 12px !important;
  background-color: #710011;
  padding: 15px 12px;
}
.btn-custome-contact span {
  font-size: 27px;
  line-height: 27px;
  font-weight: 700;
  padding-left: 10px;
  color: #ffffff;
}

.phone svg path:nth-child(2) {
  animation: header-phone 1s infinite cubic-bezier(0.1, 0.57, 0.5, 1);
}
.phone svg path:nth-child(3) {
  animation: header-phone2 1s infinite cubic-bezier(0.1, 0.57, 0.5, 1);
}

@keyframes header-phone {
  0%,
  30% {
    opacity: 0;
    -webkit-transform: translate3d(-20px, 20px, 0);
    transform: translate3d(-20px, 20px, 0);
  }
  80% {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  100% {
    opacity: 0;
  }
}

@keyframes header-phone2 {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(-20px, 20px, 0);
    transform: translate3d(-20px, 20px, 0);
  }
  70%,
  90% {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  100% {
    opacity: 0;
  }
}
li.cart-item.has-icon.has-dropdown {
  transform: translateY(-40%);
  position: relative;
}

.header-cart-title .cart-icon::after {
  content: "CART";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%); /* Căn giữa theo chiều dọc */
  background: white; /* Nếu cần nền trắng để dễ nhìn hơn */
  padding: 0 5px; /* Thêm khoảng cách bên trong */
  font-size: 12px; /* Điều chỉnh kích thước chữ nếu cần */
}
.badge-circle,
.badge-outline {
  margin-left: -0.4em;
  display: none;
}
.s-product .section-title b {
  display: block;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  height: 3px;
  opacity: 1.1;
  background-color: #c69a39 !important;
}

del .woocommerce-Price-amount {
  display: none;
}

/* cart */
.button.alt,
.button.checkout,
.checkout-button,
.secondary {
  background-color: var(--primary-color);
  border-radius: 32px;
}
.button.is-outline,
input[type="button"].is-outline,
input[type="reset"].is-outline,
input[type="submit"].is-outline {
  border: 2px solid;
  border-radius: 32px;
}
.button.primary[name="update_cart"] {
  display: none;
}
.category-page-title {
  padding-top: 70px;
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  #logo img {
    display: none !important;
  }
}
@media screen and (max-width: 546px) {
  #logo img {
    position: unset;
    height: 100px;
    width: 100px;
    max-height: 100px !important;
    border-radius: 100px;
    border: 3px solid;
    margin-top: 12px;
/*     margin-right: 37px; */
  }
  .stuck #logo img {
    max-height: unset !important;
  }
  .off-canvas .sidebar-menu {
    background-color: #ffffff;
  }
  .mfp-content {
    background-color: #ffffff !important;
  }
  .header-wrapper.stuck #logo img {
    max-height: 200px !important;
  }
  .product-title a {
    font-size: 16px !important;
    font-weight: 600;
    line-height: 23px !important;
    color: black;
  }
  span.amount {
    white-space: nowrap;
    color: #c01f41;
    font-size: x-large;
    font-weight: 400;
    font-size: 16px;
  }
  .btn-buy-prd .btn-buy-now {
    padding: 2px;
  }
  .header.show-on-scroll,
  .stuck .header-main.nav-dark {
    height: 70px !important;
  }
  .mb-1 {
    margin-bottom: 12px;
  }
  .cart-popup-inner {
    background-color: white;
  }
  .button .wc-forward {
    border-radius: 32px;
  }
  /* .woocommerce-mini-cart.cart_list.product_list_widget a{
  color:#ffffff;
} */
}

.sales-count {
  opacity: 0.7;
  font-size: 12px;
}
a.button.wc-forward {
  border-radius: 32px;
}
span.woocommerce-Price-amount.amount {
    display: flex
;
}
.onsale {
    background-color: #ff5722;
    color: #fff;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
}
.onsale {
    background-color: var(--primary-color);
    color: #fff;
    padding: 14px 10px;
    font-size: 14px;
    border-radius: 50%;
    position: absolute;
    top: 15px;
    left: 10px;
    z-index: 10;
}
.badge-container {
    margin: 0px 0 0;
}

