html, body {
  font-family: 'Barlow', sans-serif;
}
body.menu-open {
  overflow: hidden;
}
.menu-sp {
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}
.menu-sp.open {
  transform: translateX(0);
}
.active-menu-sp {
  background-color: #04389E !important;
  color: white !important;
}

.active-category {
  background-color: #04389E !important;
  border-color: #04389E !important;
  color: white !important;
}
.box-img {
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.streaming {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nav-menu {
  display: none;
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 50; /* Ensure the menu is on top */
}
.nav-menu.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex !important;
    position: static;
    background-color: transparent;
    height: auto;
    opacity: 1;
    transform: none;
    transition: none;
    z-index: auto; /* Reset z-index for larger screens */
  }
  .slide-news-2 .swiper-slide-thumb-active::before {
    content:"\A";
    width: 0; 
    height: 0; 
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    
    border-bottom: 19px solid #04389E;
    position:absolute; /*or absolute*/
    z-index:100000; /*a number that's more than the modal box*/
    left:50%;
    top:-25px;
  }
}
.slide-product-thumb .swiper-slide {
  width: 25%;
  height: 100%;
  opacity: 0.4;
}
.slide-product-thumb .swiper-slide-thumb-active {
  opacity: 1;
}

.main-swiper-button-next, .main-swiper-button-prev {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.main-banner:hover .main-swiper-button-next, 
.main-banner:hover .main-swiper-button-prev {
  opacity: 1;
}

.main-product-swiper-button-next, .main-product-swiper-button-prev {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product-main:hover .main-product-swiper-button-next, 
.product-main:hover .main-product-swiper-button-prev {
  opacity: 1;
}

.banner-product {
  background-image: url("/assets/images/banner-sanpham.jpeg");
  background-size: cover;
}

.active-sort {
  background-color: #04389E;
  color: white;
}

.filter-sp {
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}
.filter-sp.open {
  transform: translateX(0);
}
.icon-video{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
