/*
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.   ***************/
.main-col-cat .col-inner{height:250px;}
.main-cat {background: linear-gradient(180deg, rgba(0, 0, 0, 0) calc(50% - 60px), rgb(133 180 65) calc(50%), rgba(0, 0, 0, 0) calc(50% + 60px));}
.our-product-box .box-image{height: 150px;}
/*.woocommerce-tabs tab-description table, .woocommerce-tabs tab-description th, .woocommerce-tabs tab-description td{border: 1px solid; } */
.woocommerce-tabs table, .spec-table table {
  width: 100%;
  background-color: #FFFFFF;
  border-collapse: collapse;
  border-width: 2px;
  border-color: #42803C;
  border-style: solid;
  color: #000000;
}

.woocommerce-tabs table th, .spec-table table th {
  border-width: 2px;
  border-color: #42803C;
  border-style: solid;
  padding: 5px;
}

.woocommerce-tabs table thead, .spec-table table thead {
  background-color: #E9FFC8;
}

.spec-table table td {
border: 1px solid #55853c;
}

.wpda_tree_item_title { 
	color: #219246!important;
	margin-top: 10px!important;
}

.wpda_tree_item_desc {
	font-size: 0.9rem!important;
    color: #219246;
    line-height: 1.2rem!important;
    padding: 0 10px;
}

.wpdevart_org_chart_container .wpda_tree_item_img_cont {width: 200px!important; height: 200px!important; border: 3px solid black;}

/* Sidebar Container */
#shop-sidebar {
  background: #fff;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 2px 12px rgba(60,90,80,0.07);
  padding: 0 0 22px 0;
  margin-bottom: 32px;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  border: 1px solid #eee;
  max-width: 360px;
}

/* Widget Title */
.widget-title.shop-sidebar {
  background: #126455;
  color: #fff;
  border-radius: 24px 24px 0 0;
  font-size: 1.2rem;
  font-weight: 800;
  padding: 24px 28px 16px 28px;
  margin: 20px 0px 0px;
  display: block;
  box-shadow: none;
  border-bottom: 1.5px solid #e6e6e6;
}

/* Product Categories List */
ul.product-categories {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
}

.product-categories > .cat-item {
  margin: 0;
  position: relative;
  border-bottom: 1px solid #efefef;
}

.product-categories > .cat-item:last-child {
  border-bottom: none;
}

/* Danh mục cha - Menu chính */
.product-categories > .cat-item > a {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1rem;
  color: #2d2d2d;
  text-decoration: none;
  padding: 5px 5px;
  transition: background 0.2s, color 0.2s;
  background: #fff;
  position: relative;
}

.product-categories > .cat-item.has-child > a::before {
  content: '›';
  display: inline-block;
  color: #22A038;
  font-size: 1.4em;
  margin-right: 10px;
  font-weight: 800;
  transition: transform 0.2s;
  transform: translateY(1px);
}

/* Active cha */
.product-categories > .cat-item.current-cat > a,
.product-categories > .cat-item.active > a {
  background: #f7faf7;
  color: #22A038;
}

.product-categories > .cat-item > a:hover {
  background: #f7faf7;
  color: #22A038;
}

/* Sub-menu - Danh mục con */
.product-categories ul.children {
  margin: 0;
  padding: 0 0 0 38px;
  background: #fff;
}

.product-categories ul.children .cat-item > a {
  display: block;
  font-weight: 400;
  font-size: 1.08rem;
  color: #222;
  padding: 16px 18px;
  text-decoration: none;
  background: #fff;
  border-bottom: 1px solid #f3f3f3;
  border-radius: 0;
  transition: background 0.15s, color 0.2s;
}

.product-categories ul.children .cat-item > a:hover,
.product-categories ul.children .cat-item.current-cat > a {
  background: #f1f7f1;
  color: #22A038;
}

.product-categories ul.children .cat-item:last-child > a {
  border-bottom: none;
}

/* Đang active - danh mục con */
.product-categories ul.children .cat-item.current-cat > a {
  background: #ecfaee;
  color: #22A038;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 700px) {
  #shop-sidebar {
    padding: 0 0 12px 0;
    max-width: 100%;
  }
  .widget-title.shop-sidebar {
    font-size: 1.3rem;
    padding: 14px 16px 10px 16px;
  }
  .product-categories > .cat-item > a {
    font-size: 1rem;
    padding: 13px 13px;
  }
  .product-categories ul.children .cat-item > a {
    padding: 10px 8px;
    font-size: 0.97rem;
  }
}


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


}