/*
Theme Name:  Bioxnet Theme Child
Description: Child theme for Bioxnet Theme
Template:   bioxnet
Text Domain: bioxnet-child
Version: 1.0
*/

.header-top-enlaces p a, .header-top-enlaces a{
    font-size: 14px;
}

.theme-bioxnet-child.theme-bioxnet.woocommerce div.product div.images .flex-control-thumbs li {
    width: 90px;
    margin: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
}

.theme-bioxnet-child.woocommerce div.product .woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n+1) {
    clear: inherit;
}

.theme-bioxnet-child .vi_wpvs_variation_form .vi-wpvs-variation-wrap-wrap .vi-wpvs-variation-wrap[data-attribute="attribute_pa_especies-de-madera"] .vi-wpvs-option-wrap{
  margin: 5px 3px 3px 0;
	-webkit-transition: transform 0.3s ease;
  -moz-transition: transform 0.3s ease;
  transition: transform 0.3s ease;
}

.theme-bioxnet-child .vi_wpvs_variation_form .vi-wpvs-variation-wrap-wrap .vi-wpvs-variation-wrap[data-attribute="attribute_pa_especies-de-madera"] .vi-wpvs-option-wrap:hover{
    -webkit-transform: scale(1.4);
    -ms-transform: scale(1.4);
    transform: scale(1.4);
    z-index: 2;
	background-color: #FFF;
	
}
.theme-bioxnet-child ol[style="list-style-type:lower-alpha"] li{
	    padding: 0 0 14px 0;
}

.theme-bioxnet-child ol[style="list-style-type:lower-alpha"] li:before{
	display:none;
}

.theme-bioxnet-child.theme-bioxnet.woocommerce div.product form.cart div.quantity, 
.theme-bioxnet-child div.product form.cart div.quantity{
    margin: 0 2px 0 0;
    min-width: 50px;
}

@media (max-width: 790px) {
.theme-bioxnet-child.theme-bioxnet.woocommerce div.product div.images .flex-control-thumbs li {
    width: 50px;
}
}

.theme-bioxnet.theme-bioxnet-child .wc-block-product-categories ul li .wc-block-product-categories-list-item-count{
	display:none;
}

.theme-bioxnet.theme-bioxnet-child .wc-block-product-categories ul li ul li a{
	font-size: 15px;
}
.theme-bioxnet.theme-bioxnet-child .wc-block-product-categories ul li ul li a:before{
	display:none;
}

@media(max-width: 790px){
	.wp-block-buttons.is-content-justification-left{
		justify-content: center !important;
	}
	
	.txt-center{
		text-align: center !important;
	}
	
	.btn-center{
		justify-content: center !important;
	}
	
	.hide-mob{
		display: none !important;
	}
	
	.wp-block-columns.has-background.is-layout-flex.wp-container-core-columns-is-layout-28f84493.wp-block-columns-is-layout-flex{
		background: transparent !important;
	}
}

.group-anim {
  transition: all 0.3s ease; 
  background: linear-gradient(to bottom right, white, #f0f0f0);
}

.group-anim:hover {
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3); 
}

/* --- Contenedor base --- */
header .wpml-ls-statics-shortcode_actions ul {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: inline-block;
}

/* Limpiar elementos */
header .wpml-ls-statics-shortcode_actions li {
  position: relative;
  display: inline-block;
}
header .wpml-ls-statics-shortcode_actions br {
  display: none !important;
}

/* Estilo idioma actual */
header .wpml-ls-statics-shortcode_actions .wpml-ls-current-language a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #222;
  padding: 8px 12px;
  border-radius: 22px;
  background: #f7f7f7;
  transition: background .18s ease;
}
header .wpml-ls-statics-shortcode_actions .wpml-ls-current-language a:hover {
  background: #eee;
}

/* Banderas */
header .wpml-ls-statics-shortcode_actions .wpml-ls-item-es.wpml-ls-current-language a::before {
  content: "";
  background-image: url('https://logmotive.com/wp-content/uploads/flags/mx2.svg');
  width: 20px;
  height: 14px;
  background-size: cover;
  display: inline-block;
}
header .wpml-ls-statics-shortcode_actions .wpml-ls-item-en.wpml-ls-current-language a::before {
  content: "";
  background-image: url('https://logmotive.com/wp-content/uploads/flags/us2.svg');
  width: 20px;
  height: 14px;
  background-size: cover;
  display: inline-block;
}

/* --- Submenú --- */
header .wpml-ls-statics-shortcode_actions .wpml-ls-item:not(.wpml-ls-current-language) {
  position: absolute;
  top: calc(100% + 2px); /* MUY CERCA del idioma actual */
  left: 0;
  white-space: nowrap;
  border-radius: 8px;
  padding: 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  background: #fff;
  z-index: 180;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s linear;
  pointer-events: none;
}

/* Área invisible para mantener hover entre los elementos */
header .wpml-ls-statics-shortcode_actions ul::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 10px; /* puente de hover */
  background: transparent;
}

/* Mostrar submenú al hacer hover o focus dentro del UL */
header .wpml-ls-statics-shortcode_actions ul:hover .wpml-ls-item:not(.wpml-ls-current-language),
header .wpml-ls-statics-shortcode_actions ul:focus-within .wpml-ls-item:not(.wpml-ls-current-language) {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Estilo del idioma alternativo */
header .wpml-ls-statics-shortcode_actions .wpml-ls-item:not(.wpml-ls-current-language) a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  text-decoration: none;
  color: #333;
  border-radius: 6px;
  min-width: 120px;
}
header .wpml-ls-statics-shortcode_actions .wpml-ls-item:not(.wpml-ls-current-language) a:hover {
  background: #f1f1f1;
}

/* Banderas del idioma alternativo */
header .wpml-ls-statics-shortcode_actions .wpml-ls-item-en:not(.wpml-ls-current-language) a::before {
  content: "";
  background-image: url('https://logmotive.com/wp-content/uploads/flags/us2.svg');
  width: 20px;
  height: 14px;
  background-size: cover;
  display: inline-block;
}
header .wpml-ls-statics-shortcode_actions .wpml-ls-item-es:not(.wpml-ls-current-language) a::before {
  content: "";
  background-image: url('https://logmotive.com/wp-content/uploads/flags/mx2.svg');
  width: 20px;
  height: 14px;
  background-size: cover;
  display: inline-block;
}
