/*
 Theme Name: Medzin Child
 Theme URI: https://example.com/
 Description: Child theme for Medzin. Safe place for custom CSS/JS and PHP tweaks.
 Author: Fernando Molina
 Author URI: https://innovationstudio.es/
 Template: medzin
 Version: 1.0.0
 License: GNU General Public License v2 or later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: medzin-child
*/

/* Contenedor */
.container {
	padding-top: 0px!important;
}

.lahmb-text-content{
	visibility: hidden;
}

.qohb-hamburger-bottom .hamburger-copyright{
	visibility: hidden;
}

/* ===== Vars ===== */
:root{
  --cv-primary: #1051ff;
  --cv-shadow: 0 12px 28px rgba(16,81,255,.10), 0 4px 12px rgba(0,0,0,.05);
  --cv-radius: 9999px;
}

/* ===== Contenedor ===== */
.qohb-search.my-ajax-search .header-search-simple-wrap{
  position: relative;
  max-width: 640px;
  margin: 0;
}

.qohb-area, .qohb-area:not(.qohb-vertical) > .container, .qohb-content-wrap, .qohb-col, .qohb-element {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Formulario (pill) ===== */
.qohb-search.my-ajax-search .search-form{
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--cv-radius);
  padding: 10px 14px;
  box-shadow: var(--cv-shadow);
}
.qohb-search.my-ajax-search .search-form:focus-within{
  border-color: rgba(16,81,255,.25);
  box-shadow: 0 22px 52px rgba(16,81,255,.14), 0 8px 22px rgba(0,0,0,.07);
}

/* ===== Input ===== */
.qohb-search.my-ajax-search .search-field{
  flex: 1 1 auto;
  border: 0;
  outline: none;
  background: transparent;
  font-size: .8572em;
  line-height: 1.2;
  color: #2b2b2b;
}
.qohb-search.my-ajax-search .search-field::placeholder{
  color: #6b7280;
  opacity: 1;
}

/* ===== Botones ===== */
.qohb-search.my-ajax-search .search-button{
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.qohb-search.my-ajax-search .search-button[type="submit"]{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cv-primary);
  color: #fff;
  flex: 0 0 auto;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 6px 16px rgba(16,81,255,.22);
}
.qohb-search.my-ajax-search .qodexicon-zoom-1{ font-size: 16px; line-height: 1; }

/* Reset (X) solo visible con foco/texto */
.qohb-search.my-ajax-search .search-reset{
  width: 0; height: 0; opacity: 0; overflow: hidden;
  color: #9aa0a6; transition: opacity .15s ease, width .15s ease, height .15s ease;
}
.qohb-search.my-ajax-search .search-field:focus ~ .search-reset,
.qohb-search.my-ajax-search .search-field:not(:placeholder-shown) ~ .search-reset{
  width: 30px; height: 30px; opacity: .9;
}
.qohb-search.my-ajax-search .qodexicon-e-remove{ font-size: 14px; }

/* ===== Dropdown resultados ===== */
.qohb-search.my-ajax-search .search-results{
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 50;
}
.qohb-search.my-ajax-search .results-container{
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--cv-shadow);
  max-height: 65vh;
  overflow: auto;
}
.qohb-search.my-ajax-search .ul_products.products-grid{ padding: 10px 6px; }

/* ===== Responsive ===== */
@media (max-width: 600px){
  .qohb-search.my-ajax-search .header-search-simple-wrap{ max-width: 100%; }
  .qohb-search.my-ajax-search .search-form{ padding: 10px 12px; }
  .qohb-search.my-ajax-search .search-field{ font-size: 15px; }
  .qohb-search.my-ajax-search .search-button[type="submit"]{ width: 38px; height: 38px; }
}


.qodexicon-heart-2 {
	font-size: 22px;
}

@media (max-width: 991px) {
    #qodex-header-builder .el__text_1605288752509 i {
        font-size: 20px;
    }
}

/* ====== Móvil y Tablet: estilo plano del tema ====== */
@media (max-width: 1024px){ /* tablet y abajo */

  /* que el contenedor ocupe todo el ancho disponible */
  .qohb-search.my-ajax-search .header-search-simple-wrap{
    max-width: 100%;
    margin: 0;
    padding: 0 16px; /* separa de los bordes laterales */
  }

  /* caja sin sombra, borde fino y esquinas suaves */
  .qohb-search.my-ajax-search .search-form{
    gap: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 12px;
    box-shadow: none;
  }

  /* input más compacto y con tipografía del tema */
  .qohb-search.my-ajax-search .search-field{
    font-size: 14px;
    line-height: 1.3;
  }

  /* lupa a la IZQUIERDA, sin fondo ni círculo */
  .qohb-search.my-ajax-search .search-button[type="submit"]{
    order: -1;               /* mueve el botón antes del input */
    width: auto;
    height: auto;
    background: transparent; /* quita el círculo azul */
    color: #6b7280;
    box-shadow: none;
    padding: 0;
  }
  .qohb-search.my-ajax-search .qodexicon-zoom-1{ font-size: 18px; }

  /* no resaltar con sombra al enfocar (mantén el borde) */
  .qohb-search.my-ajax-search .search-form:focus-within{
    box-shadow: none;
    border-color: #e5e7eb;
  }

  /* oculta la X de reset en móvil para simplificar */
  .qohb-search.my-ajax-search .search-reset{ display: none; }

  /* desplegable un poco más pegado */
  .qohb-search.my-ajax-search .search-results{ top: calc(100% + 6px); }
}

@media (max-width: 600px){  /* ajustes finos solo móvil */
  .qohb-search.my-ajax-search .header-search-simple-wrap{ padding: 0 12px; }
  .qohb-search.my-ajax-search .search-form{ padding: 10px; }
  .qohb-search.my-ajax-search .search-field{ font-size: 13.5px; }
}



@media (max-width: 1024px){
  .qohb-search.my-ajax-search,
  .qohb-search.my-ajax-search .header-search-simple-wrap,
  .qohb-search.my-ajax-search .search-form{
    width: 100%!important;
		padding: 0!important;
  }
	  .qohb-search.my-ajax-search .search-form{
    border: none;
    border-radius: 0px;
  }
}

	.elementor-element-7d35bb9.elementor-widget-html {
		width: 100%;
	}

/* Redes sociales iconos */
.elementor-social-icons-wrapper {
		display: flex!important;
    align-items: center!important;
    justify-content: flex-start!important;
    gap: 20px!important;
}
.elementor-social-icons-wrapper .elementor-social-icon {
  background: transparent !important; 
  border: 0 !important;
  border-radius: 0 !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  box-shadow: none !important;
  line-height: 1;
  color: #5d5d5d!important;           
}

.elementor-social-icon i {
    color: #5d5d5d!important;
}

/* Tamaño del glifo */
.elementor-social-icons-wrapper .elementor-social-icon i {
  font-size: 18px!important;          
}

/* Hover: solo cambia el color (sin fondo) */
.elementor-social-icons-wrapper .elementor-social-icon:hover {
  color: #333 !important;    
}

/* Home */
.home h3.qodex-banner__title {
	display: none!important;
}

/* Sobre nosotros */
@media (min-width: 1024px) {
	.page-id-1124 .qodex-services__cover .qodex-services__icon.qodex-services__icon_img img {
    height: 400px;
    object-fit: cover;
}

}

