.elementor-section .elementor-container.wpshare247-flex-wrap{
	flex-wrap: wrap;
}
.elementor-container.wpshare247-flex-wrap{
	display: flex;
    flex-wrap: wrap;
}

.wpshare247-elementor-addon a, .page-content .wpshare247-elementor-addon a{
	color: var(--e-global-color-accent);
	text-decoration: none;
}

.wpshare247-elementor-addon p{
	color: var(--e-global-color-text);
}

.wpshare247-elementor-addon a.loop-top{
	display: block;
	overflow: hidden;
}

.wpshare247-elementor-addon .title a{
	font-size: 1.5rem;
}

.wpshare247-elementor-addon .ws247-eaddon-post-loop-item{
	border: 1px solid #ccc;
}

.wpshare247-elementor-addon .ws247-ea-img-wrapper{
	overflow: hidden;
}

.woocommerce ul.products li.product a .ws247-ea-img-wrapper img{
	margin:0;
}

.woocommerce ul.products li.product .ws247-ea-img-wrapper .onsale{
	background-color: var(--e-global-color-accent);
	border-radius: 0;
    padding: 8px;
    margin: 0;
    height: auto;
    min-height: unset;
    line-height: normal;
    top: 10px;
    right: 10px;
}

.count-off .woocommerce-result-count, 
.ordering-off .woocommerce-ordering,
.product-img-off .ws247-ea-img-wrapper,
.product-saleoff-off .onsale,
.product-title-off .woocommerce-loop-product__title,
.product-price-off .woocommerce ul.products li.product .price,
.product-atc-off .ws247-ea-atc-wrapper, 
.wpshare247-elementor-addon.product-rating-off .woocommerce .products .star-rating{
	display: none;
}

.wpshare247-elementor-addon .woocommerce .products .star-rating{
	display: inline-block;
}

.wpshare247-elementor-addon .woocommerce-loop-category__title mark{
	background: transparent;
}

/*Categoires*/

.wpshare247-box-s1 .product a{
	display: flex;
	justify-content: center;
	position: relative;
	overflow: hidden;
}
.wpshare247-box-s1 li.product a img{
	border: 1px solid var(--e-global-color-accent);
	border-radius: 100%;
	display: block;
	margin: 0;
	padding: 0;
}
.wpshare247-box-s1 .woocommerce-loop-category__title{
	position: absolute;
	bottom: 30px;
}

.wpshare247-box-s2 .product{
	border: 1px solid var(--e-global-color-accent);
}
.wpshare247-box-s2 li.product a{
	text-align: center;
    display: block;
    padding-bottom: 20px;
}
.wpshare247-box-s2 .woocommerce ul.products li.product a img{
	border-radius: 100%;
    background: #f8fbf3;
    padding: 10px;
    margin: 17px;
    width: 75%;
    display: inline-block;
}

/*Contact form 7*/
.ws247-submit-wrapper{
	position: relative;
}
.ws247-submit-wrapper .wpcf7-spinner{
	position: absolute;
	right: 0;
}

.ws247-wpcf7-field-full-yes .wpcf7-form p label{
	width: 100%;
}

.ws247-wpcf7-submit-align-justify .wpcf7-submit{
	width: 100%;
}

.ws247-wpcf7-submit-align-center .wpcf7-submit{
	display: block!important;
    margin-left: auto!important;
    margin-right: auto!important;
}

.ws247-wpcf7-submit-align-right .wpcf7-submit{
	float: right;
}

.ws247-wpcf7-hide-title-yes p label{
	font-size: 0;
}

/*Countdown*/
.wpshare247-clock{
	display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
}
.wpshare247-clock .countdown-col{
	-ms-flex-preferred-size: 0;
    flex-basis: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    padding: 20px 0;
    text-align: center;
    color: #fff;
    margin-right: calc( 10px/2 );
    margin-left: calc( 10px/2 );
    background-color: var(--e-global-color-primary );
}
.wpshare247-clock.type-inline{
	display: block;
}
.wpshare247-clock.type-inline .countdown-col{
	display: inline-block;
}

.wpshare247-clock .countdown-col .txt{
	text-align: center;
}

.wpshare247-clock.txt-below .countdown-col .txt{
	display: block;
}

/* Vertical Mega Menu - Clean Version */
.wpshare247-vertical-mega-menu:not(.not-fixed) {
  position: absolute;
  z-index: 999999999;
}

.wpshare247-vertical-mega-menu .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 220px;
  background: #fff;
  border: 1px solid #ddd;
  position: relative;
}

.wpshare247-vertical-mega-menu .menu-title a {
  display: block;
  font-weight: bold;
  padding: 10px 15px;
  background: #f4f4f4;
  color: #333;
  text-decoration: none;
  width: 100%;
}
.wpshare247-vertical-mega-menu .menu-title a.mn-icon-right{
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
}

.wpshare247-vertical-mega-menu .menu-item {
  position: relative;
}

.wpshare247-vertical-mega-menu .menu-item > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  border-bottom: 1px solid #eee;
  background: #fff;
  text-decoration: none;
  color: #333;
  transition: background 0.2s;
  gap: 10px;
}

.wpshare247-vertical-mega-menu .menu-item > a:hover {
  background: #f9f9f9;
}

.wpshare247-vertical-mega-menu .menu-title i,
.wpshare247-vertical-mega-menu .menu-item i {
  font-size: 14px;
  margin-right: 8px;
  color: inherit;
}

.wpshare247-vertical-mega-menu .menu-item-label {
  display: inline-block;
}

.wpshare247-vertical-mega-menu .mega-arrow-icon {
  font-size: 12px;
  color: #888;
  margin-left: auto;
}

/* Mega menu content hidden by default */
.wpshare247-vertical-mega-menu .mega-menu-content {
  position: absolute;
  top: 0;
  left: 100%;
  width: 400px;
  min-height: 100%;
  background: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  z-index: 99999999999;
  padding: 0;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

/* Show on hover */
.wpshare247-vertical-mega-menu .menu-item:hover .mega-menu-content {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Hover effects */
.mega-menu-content.effect-fade {
  transform: translateY(0);
}

.mega-menu-content.effect-slide {
  transform: translateY(10px);
}

.mega-menu-content.effect-scale {
  transform: scale(0.95);
}

.wpshare247-vertical-mega-menu .menu-item:hover .effect-slide {
  transform: translateY(0);
}

.wpshare247-vertical-mega-menu .menu-item:hover .effect-scale {
  transform: scale(1);
}

/* Toggle button for mobile */
.wpshare247-menu-toggle {
  display: none;
  background: #0073aa;
  color: #fff;
  padding: 10px 15px;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 16px;
  cursor: pointer;
}

.wpshare247-mb-header{ display:none; position:relative; }

.wpshare247-mb-header .wpshare247-mb-header-mix {
  display: flex;
  align-items: center;    
  justify-content: center;
  height: 60px;            
}


/* Responsive */
@media (max-width: 767px) {


  .wpshare247-menu-toggle {
    display: block;
  }

  .wpshare247-vertical-mega-menu.enable-mobile-custom.menu-open:not(.mobile-type-default) .wpshare247-mb-header{
    display: block;
  }

  .wpshare247-vertical-mega-menu.enable-mobile-custom.menu-open:not(.mobile-type-default) .wpshare247-menu-toggle{
    display: none;
  }

  .wpshare247-vertical-mega-menu .menu {
    display: none;
    position: static;
  }

  .wpshare247-vertical-mega-menu .menu-title{
    display: none;
  }

  .wpshare247-vertical-mega-menu.menu-open .menu {
    display: block;
  }

  .wpshare247-vertical-mega-menu .menu-item {
    position: static !important;
  }

  .wpshare247-vertical-mega-menu .mega-menu-content {
    position: static !important;
    width: 100% !important;
    transform: none !important;
    box-shadow: none;
    padding-left: 15px;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .wpshare247-vertical-mega-menu.enable-mobile-custom{
    width: 100%;
  }
  .wpshare247-vertical-mega-menu.enable-mobile-custom .wpshare247-menu-toggle {
    display: block;
  }

  .wpshare247-vertical-mega-menu.enable-mobile-custom .menu {
    display: none;
    position: static;
  }

  .wpshare247-vertical-mega-menu.enable-mobile-custom.menu-open .menu {
    display: block;
    width: 100%;
  }

  .wpshare247-vertical-mega-menu.enable-mobile-custom .menu-item {
    position: static !important;
  }

  .wpshare247-vertical-mega-menu.enable-mobile-custom .mega-menu-content {
    position: static !important;
    width: 100% !important;
    transform: none !important;
    box-shadow: none;
    padding-left: 15px;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* Bỏ hiệu ứng khi có class effect-... */
  .wpshare247-vertical-mega-menu.enable-mobile-custom .mega-menu-content.effect-fade,
  .wpshare247-vertical-mega-menu.enable-mobile-custom .mega-menu-content.effect-slide,
  .wpshare247-vertical-mega-menu.enable-mobile-custom .mega-menu-content.effect-scale {
    transform: none !important;
  }

  .wpshare247-vertical-mega-menu.enable-mobile-custom .menu-item:hover .mega-menu-content {
    transform: none !important;
  }

  .wpshare247-vertical-mega-menu.enable-mobile-custom .mega-menu-content {
    display: none;
  }

  .wpshare247-vertical-mega-menu.enable-mobile-custom .menu-item.show-submenu .mega-menu-content {
    display: block;
  }

  
  .wpshare247-vertical-mega-menu.menu-open.mobile-type-slide-left .wpshare247-mobile-bg,
  .wpshare247-vertical-mega-menu.menu-open.mobile-type-slide-right .wpshare247-mobile-bg {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999998;
  }

  .wpshare247-vertical-mega-menu.menu-open:not(.mobile-type-default) .wpshare247-vertical-mega-content {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 80%;
    background: #fff;
    z-index: 999999;
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  .wpshare247-vertical-mega-menu.mobile-type-slide-left .wpshare247-vertical-mega-content {
    left: 0;
    transform: translateX(-100%);
  }
  .wpshare247-vertical-mega-menu.menu-open.mobile-type-slide-left .wpshare247-vertical-mega-content {
    transform: translateX(0);
  }

  .wpshare247-vertical-mega-menu.mobile-type-slide-right .wpshare247-vertical-mega-content {
    right: 0;
    transform: translateX(100%);
  }
  .wpshare247-vertical-mega-menu.menu-open.mobile-type-slide-right .wpshare247-vertical-mega-content {
    transform: translateX(0);
  }

  .wpshare247-vertical-mega-menu.menu-open:not(.mobile-type-default) .wpshare247-menu-close-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    font-size: 20px;
    background: none;
    border: none;
    color: #000;
    z-index: 1000000;
    padding: 10px;
    cursor: pointer;
  }

}
