/*
Theme Name: Hub Child
Theme URI: http://hub.liquid-themes.com/
Author: Liquid Themes
Author URI: https://themeforest.net/user/liquidthemes
Template: hub
Description: Smart, Powerful and Unlimited Customizable WordPress Theme.
Version: 1.0
License: GNU General Public License
License URI: license.txt
Text Domain: hub-child
Tags: responsive, retina, rtl-language-support, blog, portfolio, custom-colors, live-editor
*/

/*quitar seccion wpml del footer*/
.wpml-ls-statics-footer{
    display: none!important;
}
.grecaptcha-badge {
    display: none !important;
}

/*Quitar subrayado a enlaces*/
.enlace a{
    text-decoration: none;
}

/*PADDING EN CONTENEDORES*/
@media (min-width: 1024px) and (max-width: 1200px) {
.padding {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/*menu padding a desplegable*/


/* INICIO */
/*hace hover en contenedor y que cambie el color del texto*/
.elementor-sub-item{
  padding-left: 10px!important;
  padding-right: 17px!important;
}



.inicio-descascarado:hover .imagen-animada img {
    content: url('/wp-content/uploads/2026/09/pelado.gif') !important;
}

.inicio-limpieza:hover .imagen-animada img {
    content: url('/wp-content/uploads/2026/09/limpieza.gif') !important;
}

.inicio-pasteurizado:hover .imagen-animada img {
    content: url('/wp-content/uploads/2026/09/pasteurizado.gif') !important;
}

.inicio-repelado:hover .imagen-animada img {
    content: url('/wp-content/uploads/2026/09/repelado.gif') !important;
}

.inicio-cribado:hover .imagen-animada img {
    content: url('/wp-content/uploads/2026/08/cribadov2.gif') !important;
}

.inicio-cortado:hover .imagen-animada img {
    content: url('/wp-content/uploads/2026/09/cortado.gif') !important;
}

.incio-enfriado:hover .imagen-animada img {
    content: url('/wp-content/uploads/2026/09/enfriado.gif') !important;
}

.inicio-troceado:hover .imagen-animada img {
    content: url('/wp-content/uploads/2026/08/troceadov3.gif') !important;
}

.inicio-tostado:hover .imagen-animada img {
    content: url('/wp-content/uploads/2026/09/tostado-2.gif') !important;
}

.inicio-transporte:hover .imagen-animada img {
    content: url('/wp-content/uploads/2026/08/transporte.gif') !important;
}
 
.inicio-almacenaje:hover .imagen-animada img {
    content: url('/wp-content/uploads/2026/09/almacenaje.gif') !important;
}

.inicio-seleccion:hover .imagen-animada img {
    content: url('/wp-content/uploads/2026/09/seleccionv2.gif') !important;
}

.lineas-contenedor:hover p{
    color: WHITE !important;
}

.img-transparente {
  mix-blend-mode: multiply;
}





	/* Sin desbordamiento */
.sin_overflow {
 overflow: hidden;
}
.sin_overflow img {
  transition: transform .8s ease;
}
.sin_overflow:hover img {
  transform: scale(1.1);
}


	/* ocultar "ver linea" de carrusel de frutos secos */
.sin_overflow .text-enlace {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.sin_overflow:hover .text-enlace {
  opacity: 1;
  visibility: visible;
}
/* .sin_overflow .text-enlace {
  display: none;
}

.sin_overflow:hover .text-enlace {
  display: block;
} */




/* GALERIA IMAGENES DE PAG DE MAQUINAS */
.galeria-maquinas .elementor-image-gallery .gallery-item img:hover
{
border-color: #EE363D!important;
transition: border-color 0.3s ease;
}


/*  MAQUINAS TeXtO H2 GRADIENTE*/
.gradient-text {
    background: linear-gradient(90deg, #1D3A5C, #28588A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}


/*cocultal el contador de filtros en maquinas*/
.phf-child-nav .phf-count{
    display: none!important;
}

/*quitar fruta, alubias, polen, arroz del filtro de maquinas*/
.phf-parent-btn[data-cat-slug="fruta"],
.phf-parent-btn[data-cat-slug="polen"],
.phf-parent-btn[data-cat-slug="arroz"],
.phf-parent-btn[data-cat-slug="legumbres"],
.phf-parent-btn[data-cat-slug="alubias"] {
    display: none !important;
}


/*PADDING EN CONTENEDORES*/
@media (min-width: 1024px) and (max-width: 1200px) {
.padding {
        padding-left: 20px;
        padding-right: 20px;
    }
/* 
    .swiper-slide{
    margin: 0px!important;
} */
}



/* ==================================================
   FORMULARIO CATÁLOGO DE MÁQUINAS
================================================== */

.catalogo-maquinas-form {
    width: 100%;
    max-width: 687px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    color: #AEB9C3;
}

.catalogo-maquinas-form *,
.catalogo-maquinas-form *::before,
.catalogo-maquinas-form *::after {
    box-sizing: border-box;
}

/* Dos columnas */
.catalogo-maquinas-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.catalogo-maquinas-form__field,
.catalogo-maquinas-form__message {
    width: 100%;
}

/* Elimina márgenes generados por Contact Form 7 */
.catalogo-maquinas-form p {
    margin: 0;
}

.catalogo-maquinas-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Campos */
.catalogo-maquinas-form input[type="text"],
.catalogo-maquinas-form input[type="email"],
.catalogo-maquinas-form input[type="tel"],
.catalogo-maquinas-form textarea {
    display: block;
    width: 100%;
    margin: 0;
    border: 1px solid rgba(174, 185, 195, 0.35);
    border-radius: 14px;
    padding: 10px 20px;
    outline: none;
    background: rgba(255, 255, 255, 0.06);
    color: #AEB9C3;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    box-shadow: none;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

/* Placeholder */
.catalogo-maquinas-form input::placeholder,
.catalogo-maquinas-form textarea::placeholder {
    color: #AEB9C3;
    opacity: 0.8;
}

/* Al hacer clic en un campo */
.catalogo-maquinas-form input[type="text"]:focus,
.catalogo-maquinas-form input[type="email"]:focus,
.catalogo-maquinas-form input[type="tel"]:focus,
.catalogo-maquinas-form textarea:focus {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(174, 185, 195, 0.65);
    box-shadow: 0 0 0 2px rgba(174, 185, 195, 0.08);
}

/* Mensaje */
.catalogo-maquinas-form__message {
    margin-bottom: 22px;
}

/* Contenedor del botón */
.catalogo-maquinas-form__actions {
    display: flex;
    align-items: center;
}

/* Botón */
.catalogo-maquinas-form input[type="submit"],
.catalogo-maquinas-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 200px;
    min-height: 38px;
    margin: 0;
    padding: 15px 28px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        #EE363D 0%,
        #F5474D 100%
    );
    color: #FFFFFF;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.catalogo-maquinas-form input[type="submit"]:hover,
.catalogo-maquinas-form input[type="submit"]:focus-visible,
.catalogo-maquinas-form__submit:hover,
.catalogo-maquinas-form__submit:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 0 49px -3px rgba(236, 0, 0, 0.5);
    filter: brightness(1.02);
}

.catalogo-maquinas-form input[type="submit"]:active,
.catalogo-maquinas-form__submit:active {
    transform: translateY(0);
}

/* Política de privacidad */
.catalogo-maquinas-form__privacy {
    margin-top: 16px !important;
   color: rgba(174, 185, 195, 0.8);
    font-family: "Inter", sans-serif;
    font-size: 13px;
    line-height: 1.5;
}

.privacy a{
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    color: #AEB9C3;!important;
    
}
.privacy a:hover{
  color: #5C728A!important;   
}


.wpcf7-acceptance .wpcf7-list-item-label::before, .wpcf7-acceptance .wpcf7-list-item-label::after{

    top:0!important;
    width: 0.8rem!important;
    height: 0.8rem!important;
    margin-top: 0px!important;
}

/* Mensajes de validación debajo de cada campo */
.catalogo-maquinas-form .wpcf7-not-valid-tip {
    display: block;
    margin-top: 6px;
    color: #F5474D;
    font-size: 12px;
    line-height: 1.4;
}

.catalogo-maquinas-form .wpcf7-not-valid {
    border-color: #F5474D !important;
}

/* Mensaje general de Contact Form 7 */
.catalogo-maquinas-form .wpcf7-response-output {
    margin: 18px 0 0;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
}

/* Spinner */
.catalogo-maquinas-form .wpcf7-spinner {
    margin: 0 0 0 12px;
}

/* FOOTER */

.pie-menu a {
    font-family: 'Inter' !important;
    font-size: 15px !important;
}

.subpie-menu a {
    font-family: 'Inter' !important;
    font-size: 12px !important;
}


/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 1024px) {
.texto-slider .span span{
        font-size:55px!important;
    }

}


@media (max-width: 767px) {

    .catalogo-maquinas-form__grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 12px;
    }

    .catalogo-maquinas-form__message {
        margin-bottom: 18px;
    }

    .catalogo-maquinas-form input[type="submit"],
    .catalogo-maquinas-form__submit {
        min-width: 0;
        width: 100%;
        min-height: 54px;
        padding-right: 22px;
        padding-left: 22px;
        font-size: 15px;
    }

    .texto-slider .span span{
        font-size:45px!important;
    }
}

/* formulario de contacto */
.custom-cf7-form {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  background-color: #ffffff;
  border: 1px solid #E0E6EB;
  border-radius: 20px;
  padding: 30px;
  max-width: 650px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Grid y disposición */
.cf7-row {
  display: flex;
  gap: 20px;
  margin-bottom: 12px;
}

.cf7-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cf7-row.full-width .cf7-col {
  width: 100%;
}

/* Labels generales */
.custom-cf7-form label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.3px;
  color: #5C728A;
  text-transform: uppercase;
  margin-bottom: 12px !important;
  display: block;
}

/* Título de Tipo de Consulta */
.custom-cf7-form .label-consulta-title {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.3px;
  color: #1D3A5C;
  text-transform: uppercase;
  margin-bottom: 8px !important;
  display: block;
}

/* Eliminar espacios añadidos por Contact Form 7 */
.custom-cf7-form p {
  margin: 0 !important;
  padding: 0 !important;
}

.custom-cf7-form br {
  display: none;
}

.custom-cf7-form .wpcf7-form-control-wrap {
  display: block;
  margin: 0;
  padding: 0;
}

/* Inputs y Textarea */
.custom-cf7-form input[type="text"],
.custom-cf7-form input[type="email"],
.custom-cf7-form input[type="tel"],
.custom-cf7-form textarea {
  width: 100%;
  background-color: #F5F7F9;
  border: 1px solid #E0E6EB;
  border-radius: 12px;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #1D3A5C;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.custom-cf7-form input:focus,
.custom-cf7-form textarea:focus {
  border-color: #1D3A5C;
  background-color: #ffffff;
}

/* Placeholders */
.custom-cf7-form ::placeholder {
  color: #5C728A;
  opacity: 1;
}

.custom-cf7-form textarea {
  height: 120px;
  resize: vertical;
}

/* Tipo de Consulta */
.custom-cf7-form .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.custom-cf7-form .wpcf7-radio .wpcf7-list-item {
  margin: 0;
  display: inline-block;
}

.custom-cf7-form .wpcf7-radio label {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #1D3A5C;
  cursor: pointer !important;
  margin-bottom: 0 !important;
  pointer-events: auto !important;
}

.custom-cf7-form .wpcf7-radio input[type="radio"] {
  accent-color: #1D3A5C;
  width: 16px;
  height: 16px;
  margin: 0;
  cursor: pointer !important;
  pointer-events: auto !important;
}

/* Fila inferior */
.cf7-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
}

/* Checkbox de Privacidad */
.cf7-acceptance-wrapper {
  max-width: 60%;
}

.cf7-acceptance-wrapper label {
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
  color: #5C728A;
  font-weight: 400;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  margin-bottom: 0 !important;
}

.cf7-acceptance-wrapper input[type="checkbox"] {
  margin-top: 2px;
  accent-color: #1D3A5C;
  width: 15px;
  height: 15px;
  cursor: pointer;
}

/* Botón de envío */
.cf7-submit-wrapper input[type="submit"] {
  background-color: #EE363D;
  color: #ffffff;
  border: none;
  border-radius: 25px;
  padding: 12px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 transparent;
}

.cf7-submit-wrapper input[type="submit"]:hover {
  background-color: #EE363D;
  box-shadow: 0 0 20px rgba(238, 54, 61, 0.45);
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 600px) {
  .custom-cf7-form {
    padding: 22px;
  }

  .cf7-row {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
  }

  .cf7-bottom-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cf7-acceptance-wrapper {
    max-width: 100%;
  }

  .cf7-submit-wrapper input[type="submit"] {
    width: 100%;
  }
}


