/*
Theme Name: Porto Child
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/
#header .searchform button {
    background-color: #0072a4;
}
#header .searchform {
    border: 2px solid #0072a4;
}
#main-toggle-menu .menu-title {
    background: #74bb05 !important;
}

/* Cambia el espacio entre items del menú principal en ordenador */
@media (min-width: 1440px){#header .main-menu > li.menu-item > a {padding-left: 2px; padding-right: 2px;}
	.mega-menu li.menu-item>a>i{margin-right:0px;}
}

.elementor-tab-content-8661{display:none;}

/* Pone en una línea el codigo sku y las categorias del producto en los producos individuales */
.single-product .product_meta .sku_wrapper{display:inline !important;}
.single-product .product_meta .posted_in{display: inline !important; margin-left: 3%;}

/*Hace que se vea todo el título de los productos en moviles, en las categorías de producto */
ul.products li.product-col .woocommerce-loop-product__title {white-space: normal;}

/*Hace que se vean bien los productos relacionados que están dentro de los productos individuales */
/* .single-product .related .owl-carousel .owl-item img{max-height: 200px; width: auto; margin: 0 auto;} */

/* Estilos del formulario de contacto del producto */
.campo-formulario input[type="email"], .campo-formulario input[type="number"], .campo-formulario input[type="password"], .campo-formulario input[type="search"], .campo-formulario input.campo-formulario [type="tel"], .campo-formulario input[type="text"], .campo-formulario input[type="url"], .campo-formulario input[type="color"], .campo-formulario input[type="date"], .campo-formulario input[type="datetime"], .campo-formulario input[type="datetime-local"], .campo-formulario input[type="month"], .campo-formulario input[type="time"], .campo-formulario input[type="week"], .campo-formulario textarea, .campo-formulario .form-control, .campo-formulario select, .campo-formulario .porto-wpforms-inline .wpforms-field-large{background-color: rgba(255,255,255,1); border-color: #592482; border-width: 1px; border-style: solid; border-top-left-radius: 30px; border-top-right-radius: 30px; border-bottom-right-radius: 30px; border-bottom-left-radius: 30px; color: #454242; font-family: Poppins; font-size: 12px; font-style: normal; font-weight: 400; letter-spacing: 0px; text-transform: none; padding-top: 13px; padding-right: 25px; padding-bottom: 13px; padding-left: 25px; margin-bottom: 0px;max-height: 70px;}

.boton-envio-formulario button:not(:disabled), .boton-envio-formulario [type="button"]:not(:disabled), .boton-envio-formulario [type="reset"]:not(:disabled), .boton-envio-formulario [type="submit"]:not(:disabled){background-color: #592482; border-color: #592482; border-width: 0px;color: white; height: 46px; line-height: 46px; padding: 0 46px;border-radius: 23px;}

/*Estilos de tabla de productos individuales*/
.table > :not(caption) > * > *{padding: 0.3rem 0.5em; border-bottom-width:0px;}
.table-striped > tbody > tr:nth-of-type(odd) { --bs-table-accent-bg: #e5fffa;}
.woocommerce-tabs .tab-content p, th.woocommerce-product-attributes-item__label{line-height: 1.1;}

/*Quita un espacio vacío que tiene el footer */
#footer .footer-main > .container{padding-top: 0rem !important;}
aside#block-3 {DISPLAY: NONE;}

/* Tamaño máximo de productos relacionados dentro de los productos individuales en móviles */
@media (max-width: 767px){.single-product .related .owl-carousel .owl-item img{MAX-HEIGHT: 115PX; WIDTH: AUTO;}}

/* Menu de ordenador oculto para moviles */
@media (max-width: 991px){ul#menu-menu-ordenador-1{display:none;}}
/* Espacio inferior del menu en ordenadores items de menu secundarios*/
.mega-menu .wide .popup>.inner>ul.sub-menu>.menu-block-item {margin-bottom: 10px;}

/* Tamaño de los títulos de páginas de las categorias en responsive */
@media (max-width: 767px){.page-top .page-title {font-size: 1.3em;}}

/* Quita el espacio que hay entre el slider y los productos, en las categorías de los productos */
@media (max-width: 991px){.tax-product_cat .main-content{padding-top:0px;}}

/* Desplegable home */
@media only screen and (min-width: 767px){
.desplegable-home .elementor-toggle-icon{display: none !important;}
.desplegable-home .elementor-tab-content{display: block !important;}
.desplegable-home .elementor-toggle-title{cursor:auto;}
}
.linea-desplegable a.elementor-toggle-title center { border-bottom: 3px solid white !important;}

/* padding en imagenes de productos en categorias */
/*.tax-product_cat .product-image img, .post-type-archive-product .product-image img{padding:10%;}*/

/* Retoca los iconos de categorias que hay en la home */
.imagen-categorias-inicio .product-category{overflow:visible !important;}
.imagen-categorias-inicio img, .qodef-qi-woo-product-category-list .qodef-e-img-holder:after{border-radius:150px;}

/* borde de productos en la home */
@media only screen and (min-width: 767px){.borde-imagen-producto .swiper-slide{border:1px solid #592482;}
}
/* Quita el problema de las visualización en zoom de los productos y mejora la caja de luz de los productos cuando se aplian */
img.mfp-img {max-height: 1019px !important;}
.mfp-content .mfp-figure figure:before, .mfp-bg{background-color:white; opacity:1;}
.mfp-figure:after{box-shadow:none;}
.mfp-image-holder .mfp-close:before, .mfp-image-holder .mfp-close:after, .mfp-iframe-holder .mfp-close:before, .mfp-iframe-holder .mfp-close:after{color:black;}

/* Campo mensaje de formularios de producto */
.formulario-producto-mensaje textarea {max-height: 89px;}

/*Campo productos vistos recientemente retocado */
@media only screen and (min-width: 767px){ul.product_list_widget li{width: 25%; float: left;}}
ul.product_list_widget li .product-image img{max-height: 77px; width: auto;}
.product_list_widget .product-details a{white-space: initial}
.product-image .inner{text-align:center;}

/*Quitar de la página de MI CUENTA algunos apartados */
/*.page-id-32 p.m-b-xl,.page-id-32 .box-with-icon{display:none;}*/

/*Cambio de color en moviles de la primera vision de la web */
@media (max-width: 767px){.portada-moviles{background-color: #4D4B9A !important;}
	.portada-moviles h1, .portada-moviles p{color: white !important;}
.portada-moviles2 {background-color: #baeaff !important;}
}

/* Quita de la home los botones de añadir al carrito que se encuentra en los sliders de productos */
/*.page-id-14049 .qodef-e-to-swap {display: none;}
.page-id-14049 .qodef-qi-woo-shortcode-product-slider.qodef-item-layout--info-below-swap .qodef-e-swap-holder .qodef-woo-product-price{transform:none; transition:none;}
.page-id-14049 .qodef-qi-swiper-container .swiper-slide a:not(.qodef-qi-button):not(.qodef-qi-premium-button){z-index:20;} */

/*Traduccion de 2 palabras en la lista de deseos*/

.page-id-5 th.product-name span.nobr:before{content: "PRODUCTO"; visibility: visible;}
.page-id-5 th.product-name span.nobr{visibility:hidden;}

.page-id-5 th.product-price span.nobr:before{content: "PRECIO"; visibility: visible;}
.page-id-5 th.product-price span.nobr{visibility:hidden;}

/*Padding en imagenes de productos relacionados */
/*.owl-carousel .owl-item img{padding:7%;}*/

/*Estilos pagina 404 para que se vea a pantalla completa el diseño creado */
.error404 .col-lg-6.offset-lg-1{display:none;}
.error404 .col-lg-4{width:100%;}

/* Estilos de los titulos de los filtros en las categorías de producto */
.woof_sid_widget p {font-size: 1rem; line-height: 1em; font-weight: 700; color: black;}

/* Quita en el movil, en el header de las categorías, el apartado de mi cuenta */
@media (max-width:922px){
	.custom-html.d-none.d-lg-block.ms-5 {display:none !important;}
}

/* Tamaño del logo del menu en responsive */
@media (max-width: 992px){.tamanio-logo-responsive {max-height: 78px; padding:10px;}
}

/* Margen inferior boton de whatshapp */
#qlwapp.qlwapp-bottom-left, #qlwapp.qlwapp-bottom-right{bottom:33px;}