/*
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;
}

.menu-desktop li{
    position: relative;
}

/* Línea izquierda */
.menu-desktop li::before{
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 24px; /* Cambia este valor al alto que quieras */
    background: #3333331a;
    z-index: 2;
}

/* Línea derecha */
.menu-desktop li::after{
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 24px; /* Cambia este valor al alto que quieras */
    background: #3333331a;
    z-index: 2;
}

.menu-desktop li a{
    position: relative;
    display: inline-block;
    padding: 20px 60px !important;
    transition: background-color .4s ease-in-out !important;
}

/* Línea superior animada */
.menu-desktop li a::before{
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #004961;
    transform: translateX(-50%);
    transition: width .35s ease;
}

.menu-desktop li a:hover{
    background-color: #fff !important;
}

.menu-desktop li a:hover::before{
    width: 100%;
}

/* Submenú */
.wp-block-navigation__submenu-container.has-background.has-white-background-color.menu-item.menu-item-type-custom.menu-item-object-custom.wp-block-navigation-submenu a:hover{
    border-top: 0 !important;
    color: #004f69 !important;
    background-color: transparent !important;
}

.wp-block-navigation__submenu-container.has-background.has-white-background-color.menu-item.menu-item-type-custom.menu-item-object-custom.wp-block-navigation-submenu a{
    padding: 10px !important;
}

.wp-block-navigation__submenu-container.has-background.has-white-background-color.menu-item.menu-item-type-custom.menu-item-object-custom.wp-block-navigation-submenu span{
	font-weight: 500 !important;
}

.wp-block-navigation__submenu-container.has-background.has-white-background-color.menu-item.menu-item-type-custom.menu-item-object-custom.wp-block-navigation-submenu li::before{
	display: none;
}

.wp-block-navigation__submenu-container.has-background.has-white-background-color.menu-item.menu-item-type-custom.menu-item-object-custom.wp-block-navigation-submenu li::after{
	display: none;
}

.wp-block-navigation-item__label{
    font-weight: 800 !important;
}

@media (max-width: 790px) {
.hide-element-movil{
	display: none; !important
}
}

@media (max-width: 790px) {
.centrado-movil{
	text-align: center!important;
	justify-content: center !important;
}
}

.justificado{
	text-align: justify !important;
}

/* Tarjeta contenedora */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 0px;
  aspect-ratio: 3 / 2;
}

.project-card figure.wp-block-post-featured-image {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
}

.project-card figure.wp-block-post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card img {
  display: block;
  width: 100%;
  transition: transform 0.4s ease;
}

/* Overlay oculto por defecto */
.project-overlay {
  position: absolute !important;
  inset: 0 !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  padding: 24px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  transition: opacity 0.35s ease;
  color: #fff;
}

/* Al hacer hover, aparece el overlay */
.project-card:hover .project-overlay {
  opacity: 1;
}

/* Opcional: leve zoom en la imagen al hacer hover */
.project-card:hover img {
  transform: scale(1.05);
  transition: transform 0.4s ease;
}

/* Ícono del "+" */
.project-overlay .icon-plus {
  width: 48px;
  height: 48px;
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}


/* Estilo general para todos los campos */
.acf-campo{
    font-size:18px;
    color:#333;
}

/* Solo el campo Cliente */
.acf-campo-cliente{
    color:#7A7A7A;
}

.camp-client p{
	color:#7A7A7A;
	font-size:18px;
}

/* Solo el campo Capacidad */
.acf-campo-capacidad{
    color:#0F4C81;
    font-size:18px;
}

.acf-campo-fecha{
    font-size:18px;
    color:#7A7A7A;
}


/* =========================================
  ESTILOS PARA GALERIA PROYECTOS
========================================= */

.galeria-proyecto-wrapper{
    width:100%;
    overflow:hidden;
}

/* SCROLL HORIZONTAL */

.galeria-proyecto-scroll{
    display:flex;
    gap:2px;
    overflow-x:auto;
    padding-bottom:10px;
    scroll-behavior:smooth;
}

/* SCROLL */

.galeria-proyecto-scroll::-webkit-scrollbar{
    height:8px;
}

.galeria-proyecto-scroll::-webkit-scrollbar-thumb{
    background:#cfcfcf;
    border-radius:0px;
}

/* ITEM */

.galeria-proyecto-item{
    position:relative;
    flex:0 0 320px;
    height:220px;
    overflow:hidden;
    border-radius:0px;
    display:block;
    background:#f3f3f3;
}

/* IMAGEN */

.galeria-proyecto-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .4s ease;
}

/* HOVER */

.galeria-proyecto-item:hover img{
    transform:scale(1.05);
}

/* OVERLAY */

.galeria-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:42px;
    font-weight:700;
    backdrop-filter:blur(2px);
}

/* RESPONSIVE */

@media(max-width:768px){

    .galeria-proyecto-item{
        flex:0 0 260px;
        height:180px;
    }
	
	.txt-home{
		font-size: 32px !important;
	}

}

/* FINAL DE ESTILOS DE GALERIA */

.bread-category a{
	font-size: 11px !important;
}



/* ==========================================
   CONTACT FORM 7
========================================== */

/* Contenedor */
.wpcf7 {
    width: 100%;
}

/* Labels */
.wpcf7 label {
    display: block;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 500;
    color: #7F7F7F;
    line-height: 1.2;
}

/* Contenedor del campo */
.wpcf7-form-control-wrap {
    display: block;
    margin-top: 8px;
}

/* Inputs y textarea */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 input[type="url"],
.wpcf7 textarea {
    width: 100%;
    padding: 16px;
    font-size: 15px;
    font-family: inherit;
    color: #333333;
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 0px;
    box-sizing: border-box;
    transition: all .3s ease;
}

/* Placeholder */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: #999999;
}

/* Focus */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: #2962ae;
    box-shadow: 0 0 0 3px rgba(41, 98, 174, 0.15);
}

/* Textarea */
.wpcf7 textarea {
    min-height: 170px;
    resize: vertical;
}

/* Botón */
.wpcf7 input[type="submit"] {
    display: inline-block;
    margin-top: 10px;
    padding: 14px 40px;
    background: #004961;
    color: #ffffff;
    border: none;
    border-radius: 2px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all .3s ease;
}

/* Hover del botón */
.wpcf7 input[type="submit"]:hover {
    background: #1f4f90;
    transform: translateY(-2px);
}

/* Click del botón */
.wpcf7 input[type="submit"]:active {
    transform: translateY(0);
}

/* Spinner */
.wpcf7-spinner {
    margin-left: 10px;
    vertical-align: middle;
}

/* Mensajes de error */
.wpcf7-not-valid-tip {
    margin-top: 6px;
    font-size: 13px;
    color: #dc3232;
}

/* Campos con error */
.wpcf7 input.wpcf7-not-valid,
.wpcf7 textarea.wpcf7-not-valid {
    border-color: #dc3232;
}

/* Mensaje de respuesta */
.wpcf7-response-output {
    margin-top: 20px !important;
    padding: 15px !important;
    border-radius: 8px;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 767px) {

    .wpcf7 label {
        font-size: 15px;
    }

    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"],
    .wpcf7 input[type="number"],
    .wpcf7 input[type="url"],
    .wpcf7 textarea {
        padding: 14px;
        font-size: 14px;
    }

    .wpcf7 input[type="submit"] {
        width: 100%;
        padding: 15px;
        font-size: 15px;
    }
}

.social-contact a{
	font-size: 40px !important;
	border-radius: 0px;
}

.social-contact li{
	border-radius: 0px;
}

.entry-content.wp-elements-475098376b7eca0f2d4daad18eab1afb.wp-block-post-content.has-text-color.is-layout-flow.wp-block-post-content-is-layout-flow P{
    color: #7a7a7a !important;
}


/* Diseño de carrusel */
/* =========================================================
   Carrusel Splide: flechas rectangulares con borde + paginación
   (punto con anillo cuando está activo)
   Pegar en: Apariencia > Editor > Estilos > (⋮) CSS adicional
   Si solo quieres afectar un carrusel, cambia .size-small-arrows
   por su id, por ejemplo #splide02
   ========================================================= */

.splide.size-small-arrows {
  --pm-c: #004961;      /* color principal (borde, flecha, puntos) */
  --pm-c-hover: #004961;
  --pm-arrow-w: 22px;   /* ancho de la flecha */
  --pm-arrow-h: 80px;   /* alto de la flecha */
  --pm-dot: 8px;        /* tamaño del punto */
  --pm-ring: 18px;      /* tamaño del anillo del punto activo */
}

/* ---------- FLECHAS ---------- */
.splide.size-small-arrows .splide__arrow {
  position: absolute;
  top: calc(50% - 20px);              /* centradas respecto a las tarjetas (no a la paginación) */
  transform: translateY(-50%);
  z-index: 2;
  width: var(--pm-arrow-w);
  height: var(--pm-arrow-h);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--pm-c);
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  opacity: 1;
  cursor: pointer;
  transition: background-color .25s ease;
}
.splide.size-small-arrows .splide__arrow--prev { left: 0; }
.splide.size-small-arrows .splide__arrow--next { right: 0; }

.splide.size-small-arrows .splide__arrow svg {
  width: 10px;
  height: 10px;
}
.splide.size-small-arrows .splide__arrow svg path {
  fill: var(--pm-c) !important;       /* anula el color/hover transparente del bloque */
  transition: fill .25s ease;
}

/* Hover: fondo sólido y flecha blanca */
.splide.size-small-arrows .splide__arrow:hover:not(:disabled) {
  background: var(--pm-c-hover) !important;
}
.splide.size-small-arrows .splide__arrow:hover:not(:disabled) svg path {
  fill: #fff !important;
}

/* Flecha deshabilitada (inicio/fin). Quita la línea de abajo si NO quieres atenuarla */
.splide.size-small-arrows .splide__arrow:disabled {
  opacity: .35;
  cursor: default;
}

/* ---------- PAGINACIÓN ---------- */
.splide.size-small-arrows .splide__pagination {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
}
.splide.size-small-arrows .splide__pagination li {
  display: flex;
  margin: 0;
}

/* Botón = anillo (transparente cuando no está activo) */
.splide.size-small-arrows .splide__pagination__page {
  position: relative;
  box-sizing: border-box;
  width: var(--pm-ring);
  height: var(--pm-ring);
  margin: 0;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  background: transparent;
  opacity: 1;
  transform: none;
  transition: border-color .25s ease;
}

/* Punto central (siempre visible, de color) */
.splide.size-small-arrows .splide__pagination__page::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--pm-dot);
  height: var(--pm-dot);
  border-radius: 50%;
  background: var(--pm-c);
  transform: translate(-50%, -50%);
}

/* Activo: anillo + espacio + punto */
.splide.size-small-arrows .splide__pagination__page.is-active {
  border-color: var(--pm-c);
  background: transparent;
  transform: none;
}

.splide.size-small-arrows .splide__pagination__page:hover {
  border-color: var(--pm-c);
}

.content-single p{
	color: #7A7A7A !important;
	font-size: 20px !important;
}





/* ICONO DESCARGA */

.icono-descarga a.wp-block-button__link::after {
    content: "\f358" !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 400 !important;

    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;

    width: auto !important;
    height: auto !important;

    margin-left: 10px !important;

    font-size: 20px !important;
    line-height: 1 !important;
}

/* ICONO AGUA */
.icono-agua a.wp-block-button__link::before {
    content: "\f773" !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;

    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;

    width: auto !important;
    height: auto !important;

    margin-right: 10px !important;

    font-size: 13px !important;
    line-height: 1 !important;
}


.icono-caret a.wp-block-button__link::after {
    content: "\f0da" !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;

    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;

    width: auto !important;
    height: auto !important;

    margin-left: 8px !important;

    font-size: 16px !important;
    line-height: 1 !important;
}

.icono-contacto a.wp-block-button__link::after {
    content: "\f0e0" !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;

    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;

    width: auto !important;
    height: auto !important;

    margin-left: 10px !important;

    font-size: 18px !important;
    line-height: 1 !important;
}

.icono-calculadora a.wp-block-button__link::before {
    content: "\f1ec" !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;

    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;

    width: auto !important;
    height: auto !important;

    margin-right: 10px !important;

    font-size: 13px !important;
    line-height: 1 !important;
}

/* Icono de teléfono a la izquierda */
.icono-telefono::before {
    content: "\f095" !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;

    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;

    width: auto !important;
    height: auto !important;

    margin-right: 5px !important;

    font-size: 16px !important;
    line-height: 1 !important;
}

/* Icono de correo a la izquierda */
.icono-mail-contacto::before {
    content: "\f0e0" !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin-right: 5px !important;
    font-size: 16px !important;
    line-height: 1 !important;
}

/* Icono de ubicación a la izquierda */
.icono-ubicacion::before {
    content: "\f3c5" !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin-right: 5px !important;
    font-size: 16px !important;
    line-height: 1 !important;
}

.social-icons-footer li{
	border-radius: 0px !important;
}

.historia-slider button{
	display: none !important;
}