/*
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.   ***************/


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


}

.is-divider {
  display: none !important;
}
.header-language-dropdown a .image-icon {
  width: 18px !important;
  height: auto !important;
  margin-left: 6px;
  margin-top: -6px;
 }
 

/* Menu below header bottom */
/* Sửa header bottom */
.flex-row.container {
  display: flex;
  flex-wrap: wrap;
}
.flex-col.flex-center {
  width: 100%;
  order: 1;
  text-align: center;
}
.flex-col.flex-right {
  width: 100%;
  order: 2;
  text-align: center;
  margin-top: 10px;
}
.nav-right {
  justify-content: center !important;
}

.custom-header-menu {
  text-align: center;

}
.custom-header-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.custom-header-menu li {
  display: inline-block;
  /* margin: 0 20px; */
}
.custom-header-menu a {
  /* color: #333; */
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  padding-left: 20px !important;
  padding-right: 20px !important;
}





/* Khi hover vào toàn bộ header */
#header:hover {
  background-color: #fff; /* Nền trắng */
  transition: background-color 0.3s ease;
}

/* Đổi màu chữ và link trong header khi hover */
#header:hover,
#header:hover a,
#header:hover .nav > li > a,
#header:hover .header-nav li a {
  color: #000 !important; /* Màu chữ đen */

  #menu-item-295 a{
    color: rgb(224, 41, 27) !important;
  }
}

/* Nếu có icon SVG hoặc font icon (như Font Awesome) */
#header:hover svg,
#header:hover i {
  color: #000 !important;
  fill: #000 !important;
}

/* Nếu header là transparent + light-text: chữ menu màu trắng */
#header.transparent .custom-header-menu .custom-menu li a {
  color: hsla(0,0%,100%,.8);
}

/* Các trường hợp còn lại: chữ menu màu đen */
.custom-header-menu .custom-menu li a {
  color: #333;
}

#menu-item-295 a{
  color: rgb(224, 41, 27) !important;
}


.woocommerce-sku, .woocommerce-stock-status {
    font-weight: 500;
    margin-bottom: 8px;
}
.in-stock {
    color: green;
}
.out-of-stock {
    color: red;
}

/* Category separator styling */
.category-separator {
    border-top: 1px solid #e8e8e8;
    margin: 2rem 0;
    clear: both;
}

/* Ensure subcategories and products are properly separated */
.woocommerce .products.subcategories-row {
    margin-bottom: 2rem;
}

/* Add some spacing between subcategory rows and product rows */
.woocommerce .products.subcategories-row + .products {
    margin-top: 2rem;
}

/* Ensure proper spacing when only subcategories are shown */
.woocommerce .products.subcategories-row:last-child {
    margin-bottom: 0;
}
