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

/*************** ADD CUSTOM CSS HERE.   ***************/

button,
input,
select,
textarea {
  margin: 0;
  outline: none;
}
.gap-8 {
  gap: 8px !important;
}
.gap-12 {
  gap: 12px !important;
}
@keyframes zoomIn {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  50% {
    opacity: 1;
  }
}

.zoomIn {
  -webkit-animation-name: zoomIn;
  animation-name: zoomIn;
  -webkit-animation-duration: 0.5s; /* Điều chỉnh thời gian như mong muốn */
  animation-duration: 0.5s;
}
.active {
  background-color: #fbc59d;
}
.owl-item.active {
  background-color: #fff;
}

ul,
li,
p {
  margin: 0px !important;
  padding: 0px !important;
}
ul,
li {
  list-style: none !important;
}
html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

img,
video {
  height: auto;
  max-width: 100%;
}

iframe {
  border: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}
td:not([align]),
th:not([align]) {
  text-align: left;
}
@font-face {
  font-family: "mtd";
  src: url("/fonts/mtd.ttf");
}
h1,
h2,
h3,
h4,
h5,
h6,
.heading-font,
.off-canvas-center .nav-sidebar.nav-vertical > li > a {
  font-family: "mtd" !important;
}
html,
body {
  font-family: "mtd" !important;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}
.text-center {
  text-align: center;
}

.text-capital {
  text-transform: capitalize;
}

.text-uppercase {
  text-transform: uppercase;
}

.d-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.flex-wrap {
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.flex-column {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.align-center {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  justify-content: normal !important;
}

.align-start {
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.align-end {
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}

.align-center {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  justify-content: normal !important;
}

.align-flex-start {
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.align-flex-end {
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}

.justify-center {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.justify-between {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.menu-bkns .submenu .submenu .submenu {
  display: none !important;
}
.submenu .submenu > ul {
  top: -21px;
  left: 108%;
}
.menu-bkns:hover > .submenu {
  display: block !important;
}
.menu-bkns {
  position: relative;
}

.submenu ul {
  display: flex;
  flex-direction: column;
  gap: 8px !important;
  padding: 20px;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.19), 0 1px 6px rgba(0, 0, 0, 0.23);
  display: flex;
  gap: 30px;
  margin-bottom: 0p;
  background-color: #ffff;
  margin: 0px !important;
  width: max-content;
  left: -27px;
  position: absolute;
  top: 36px;
}
.submenu a {
  font-size: 12px !important;
}
.menu-bkns:hover .submenu {
  display: block;
}
.submenu:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 16px;
  background-color: transparent;
}
.nhansp {
  height: 45px;
  top: 35px;
  background-color: #d37171;
  width: fit-content;
  padding: 16px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  font-size: 12px;
  position: absolute;
  width: 32.374999999px !important;
  justify-content: center;
}
.nhansp:before {
  content: "";
  position: absolute;
  top: 41px;
  left: 0;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: -6px solid transparent;
  border-bottom: 15px solid #d37171;
  transform: rotate(181deg);
}
.nhansp:after {
  content: "";
  position: absolute;
  top: 9px;
  left: 10px;
  width: 0;
  height: 12px;
  border-left: 10px solid transparent;
  border-right: 11px solid transparent;
  border-bottom: 81px solid #d37171;
  transform: rotate(180deg);
  /* border-top: 3px solid; */
  /* border-top: 1px transparent; */
  border-top: -106px solid;
  position: absolute;
  top: 31px;
  left: 5.578px;
  width: 0;
  height: 0;
  border-left: 23px solid transparent;
  border-right: -6px solid transparent;
  border-bottom: 17px solid #d37171;
  transform: rotate(393deg);
}

.item.item-product {
  overflow: hidden !important;
}
.nhansp span {
  color: #fff;
  z-index: 9999;
  font-size: 12px;
}
.shop-page-title.category-page-title.page-title {
  display: none !important;
}
.form-loc button {
  border-radius: 16px;
  border: 1px solid;
  text-transform: capitalize;
  color: #000;
  font-size: 16px;
  margin-bottom: 8px;
}
.form-loc label {
  font-size: 20px;
}
/* Overlay */
.filter-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1038;
}
.form-loc {
  z-index: 999999999;
}
.filter-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9989;
}

/* Filter Form */
.form-loc {
  position: fixed;
  top: 0;
  right: -100% !important;
  width: 500px;
  background-color: #fff;
  height: 100vh;
  padding: 40px;
  padding-top: 100px;
  z-index: 9999;
  transition: right 0.3s ease;
}

.form-loc.activeloc {
  right: 0 !important;
}

.filter-overlay.activeloc {
  display: block;
}
/* Overlay */
.overlaysearch {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
}
.overlayseach.activesearch {
  display: block;
}
/* Search Form */
.search-form {
  position: fixed;
  top: 0;
  right: -100%;
  width: 500px;
  background-color: #fff;
  height: 100vh;
  padding: 40px;
  z-index: 999;
  transition: right 0.3s ease;
}

.search-form.activesearch {
  right: 0;
}

.overlaysearch.activesearch {
  display: block;
}

.suggestions {
  background-color: #fff;
  border: 1px solid #ccc;
  max-height: 200px;
  overflow-y: auto;
  margin-top: 10px;
  position: absolute;
  width: calc(100% - 20px);
  z-index: 1000;
}

.suggestions ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.suggestions li {
  padding: 10px;
  cursor: pointer;
}

.suggestions li:hover {
  background-color: #f0f0f0;
}
.item.item-product {
  top: -20px;
  position: relative;
}
.archive .item.item-product {
  top: 0px !important;
}
/* Main carousel styling */
.owl-carousel .item img {
  width: 100%;
  display: block;
}

.vertical-slider .item {
  height: 400px; /* Adjust based on your needs */
}

.thumbnail-nav .item {
  height: 80px; /* Adjust based on your needs */
}

.thumbnail-nav {
  display: flex;
  flex-direction: column;
}

.thumbnail-nav .item {
  cursor: pointer;
  margin-bottom: 5px;
}

.thumbnail-nav .owl-item {
  display: flex;
  justify-content: center;
}
.mau-item .img-list-slider:not(:first-child) {
  display: none;
}
.box-size-item .soluonghangcontext {
  display: none;
}
.menu-laptop {
  display: block;
}
.menu-mobile {
  display: none;
}
.menu-mobile-custom.container ul{
  display:flex !important;
}
.close-menu {
  display: none;
}
.item.item-product{
  width:23% !important;
}
.owl-item .item.item-product{
   width:100% !important;
}
@media only screen and (max-width: 900px) {
  
  .form-loc{
    right:-200% !important;
    width:90%;
  }
  .item.item-product{
    width:100% !important;
  }
  .menu-laptop {
    display: none;
  }
  .menu-mobile {
    display: block;
  }
  .menu-mobile-tongnt ul {
    display: none;
    flex-direction: column;
    display: flex;
    gap: 30px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    background-color: #fff;
    z-index: 999;
    padding: 20px !important;
  }
  .close-menu{
    display:none;
  }
  @keyframes slideOut {
    0% {
        transform: translateX(0%);
        opacity: 1;
    }

    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}
  @keyframes slideInLeft {
    0% {
      transform: translateX(-100%);
      opacity: 0;
    }

    100% {
      transform: translateX(0%);
      opacity: 1;
    }
  }
  .menu-mobile-tongnt ul{
    display: flex !important;
    flex-direction: column;
    display: flex;
    gap: 30px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    background-color: #fff;
    z-index: 999;
    padding: 20px !important;
    animation: slideOut 0.3s ease-in-out forwards;
  }
  .menu-mobile-tongnt ul.activeMenuMobile {
    display: flex !important;
    flex-direction: column;
    display: flex;
    gap: 30px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    background-color: #fff;
    z-index: 999;
    padding: 20px !important;
    animation: slideInLeft 0.3s ease-in-out forwards;
  }
  .close-menu {
    display: none;
    z-index: 99994;
    top: 16px;
    font-size: 30px;
    position: relative;
    left: 25px;
  }
  .menu-mobile{
    padding-bottom:12px !important;
  }
  .list-image{
    display:flex;
    flex-direction:row !important;
  }
  .row-product-single{
    display:flex;
    flex-direction:column !important;
  }
  .row-thumbnail{
    display:flex;
    flex-direction:column-reverse !important;
    padding-bottom:0px !important;
  }
  .soluonghangcon{
    right:47px !important;
  }
 .box-mota-item{
  max-width:92% !important;
 }
 .container{
  padding-bottom:0px !important;
 }
}

@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
}
