/*
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: 768px){
	.wp-block-group.is-nowrap.is-layout-flex.wp-container-core-group-is-layout-0a641801.wp-block-group-is-layout-flex{
	justify-content: center;
	}
}

.splide__arrows.splide__arrows--ltr{
	margin-top: 10px;
}



/* Grid profesional sin huecos */
.custom-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5px;
    width: 100%;
}

/* Contenedor de cada imagen */
.custom-gallery-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden !important; /* evita que la imagen o hover se salgan */
	
	opacity: 0;
    transform: scale(0.8);
    animation: zoomInGal 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

@keyframes zoomInGal {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}


/* Imagen perfectamente ajustada */
.custom-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block !important; /* elimina huecos arriba */
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
	transition: 0.4s ease-in-out;
}

/* Zoom suave */
.custom-gallery-item:hover .custom-gallery-img {
    transform: scale(1.03);
}

/* Hover overlay */
.custom-gallery-hover {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity .2s ease;
    pointer-events: none; /* evita saltos raros */
}

.custom-gallery-item:hover .custom-gallery-hover {
    opacity: 1;
}

/* Icono */
.custom-gallery-icon {
    font-size: 40px;
    color: white;
    transform: scale(0.6);
    transition: transform .25s ease;
}

.custom-gallery-item:hover .custom-gallery-icon {
    transform: scale(1);
}

.aacql-absolute-link:hover {
    transition: 0.3s ease-in-out;
}

.aacql-absolute-link:hover {
    background: rgba(0,0,0,0.45);
}

/*=========================================
   ESTILOS PARA BREADCRUMBS
=========================================*/
.breadcrumbs {
    font-size: 12px;
    margin: 15px 0 25px;
    color: #000;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.breadcrumbs a {
    color: #000;
    text-decoration: none;
    font-weight: 400;
	font-size:14px;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    color: #999;
}


/* --- Contenedor base de idioma wpml --- */
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;
}

.wpml-ls-display{
	display: none !important;
}