/*
 Theme Name:   Qwery Child Theme
 Theme URI:    http://qwery.ancorathemes.com
 Description:  Qwery Child Theme
 Author:       AncoraThemes
 Author URI:   http://ancorathemes.com
 Template:     qwery
 Version:      1.3
 Tags:         flexible-header, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, full-width-template, microformats, post-formats, theme-options, threaded-comments, translation-ready
 Text Domain:  qwery
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */

/* GENERIC: forzado a que todos los objetos tenga fuente roboto y no inherit */
html, body, div, span, applet, object, iframe, video, audio, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, input, textarea, button, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, address, section {
	font-family: "Roboto" !important;
}

/* MENU */

ul#menu_main li a span {
    text-transform: uppercase;
}

#home-menu ul li > ul.sub-menu{ background-color: #000000b3;}
#home-menu ul li > ul.sub-menu li.menu-item a{ color: white !important;}
#home-menu ul li > ul.sub-menu > li.current_menu-item > a, 
#home-menu ul li > ul.sub-menu > li.menu-item > a:hover{ color: #769227 !important;}

#white-menu .sub-menu{
	background-color:white!important;
}

#white-menu .sub-menu > li.current-menu-item > a, #white-menu .sub-menu > li.menu-item > a:hover{
	color:black!important;
}

#white-menu{ 
	background-color: #ffffff80;
	padding: 0;
}

#white-menu .sub-menu > li.current-menu-item > a:after{
	-webkit-transform: scale3d(1,1,1);
    -ms-transform: scale3d(1,1,1);
    transform: scale3d(1,1,1);
	background-color: var(--theme-color-text_link);
    display: block;
	right: 0.9em !important;
	content: ' ' !important;
    position: absolute;
    top: 3.3em;
    bottom: auto;
    left: 1em;
    margin: 0;
    height: 1px;
    -webkit-transform: scale3d(0,1,1);
    -ms-transform: scale3d(0,1,1);
    transform: scale3d(0,1,1);
    -webkit-transform-origin: center left;
    -ms-transform-origin: center left;
    transform-origin: center left;
    -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.22,0.61,0.36,1);
    -ms-transition: -ms-transform 0.3s cubic-bezier(0.22,0.61,0.36,1);
    transition: transform 0.3s cubic-bezier(0.22,0.61,0.36,1);
}


/* H2 DECORATIONS */

h2:before {
	margin-right: 10px;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f0da";
	display: inline-block;
    color: #769227;
}

.greenrow h2:before{ color: white;}

/* FOToS EQUIPO*/

.premium-banner-animation1 .premium-banner-ib-desc {
	background-color: #769227!important;
	max-height: 100px;
}

.premium-banner-animation1.none:hover img, .premium-banner-animation4.none:hover img {
    transform: translate3d(-40px,0,0) !important;
    -webkit-transform: translate3d(-40px,0,0) !important;
}

.premium-banner-animation1 .premium-banner-ib-content,
.premium-banner-animation1 .premium-banner-ib-title{
    transform: translate3d(0,0,0);
    opacity: 1;
}

/* SHOP SIDEBAR */
.sidebar_default[class*="scheme_"] .sidebar_inner {
    background: #f9f9f9;
}

h5.widget_title {
    border-bottom: 1px solid #d0d0d0;
}

.widget ul.product-categories{ padding-left: 0;}

.widget ul.product-categories > li a:before {
    display: none;
}


.widget ul.product-categories .cat-item a{ vertical-align: top;}
.widget ul.product-categories .cat-item:before {    
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 5px;    
    width: 20px;
    height: 20px;
    display: inline-block !important;
    content: "" !important;
}

.cat-item.cat-item-334:before {background-image: url('https://orache.es/cms/wp-content/uploads/2023/03/Picto_PastillaDesinfectante.png');}
.cat-item.cat-item-179:before {background-image: url('https://orache.es/cms/wp-content/uploads/2023/03/Picto_PastillaDesinfectante.png');}
.cat-item.cat-item-182:before {background-image: url('https://orache.es/cms/wp-content/uploads/2023/04/Picto_OtrasAplicaciones.png');}
.cat-item.cat-item-183:before {background-image: url('https://orache.es/cms/wp-content/uploads/2024/01/Picto_Oflacher_Detergencia.png');}

/* CART/CHECKOUT */

.wc-block-checkout__payment-method .wc-block-components-radio-control__option .wc-block-components-radio-control__input,
.is-large.wc-block-cart .wc-block-components-radio-control__input,
.wc-block-components-radio-control .wc-block-components-radio-control__input{ position: absolute !important;}
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]{ margin-right: 5px !important; }

/* FIXED SIDE MENU */

section#fixed-side-menu.fix-to-screen {
    position: fixed;
    top: 120px;
    width: 23%;
}

section#fixed-side-menu.absolute-position{
	position: absolute;
	bottom: 100px;
	left: 0;
}

section#fixed-side-menu a.current span, 
section#fixed-side-menu a.current span i{ color: black;}

section#fixed-side-menu a:hover{ opacity: 0.7;}

.highlight { color: #769227;}


#search_form{ 
	width: 100%;
	position: relative;
	max-width: 325px;
	margin-bottom: 25px;
}
#search_form #search_input{
    background: white;
    padding-inline: 10px;
    width: 100%;
    height: 30px;
    border-radius: 4px;
}

#search_form #search_submit {
    padding: 15px;
    margin-left: -30px;
    background: transparent;
}

#search_form #search_submit:after{
    content: '\e9b6';
    font-family: "fontello";
    color: black;
    width: 30px;
    display: block;
    height: 30px;
    text-align: center;
    background: transparent;
    position: absolute;
    top: 4px;
    right: 0;
}


@media (max-width: 768px) {
	section#fixed-side-menu{
		background: #769227;
		position: relative !important;
		top: 0 !important;
		left: 0 !important;
		bottom: auto !important;
		z-index: 99999;
		padding-block: 20px 20px;
		overflow: hidden;
		max-height: 0;
		transition: max-height 0.3s ease-out;
		cursor: pointer;
	}
	
	section#fixed-side-menu.fix-to-screen{ 
		position: fixed !important;
		width: 100%;
	}
	
	section#fixed-side-menu.deployed{
		max-height: 1000px;
	}

	section#fixed-side-menu:hover:before{
		color: black;
	}
	section#fixed-side-menu:before {
		font-family: "fontello";
        content: '\e9d7';
		color: white;
		display: block;
		margin-bottom: 10px;
		margin-top: -8px;
		padding-bottom: 10px;		
		padding-left: 20px;
		border-bottom: 1px solid white;
	}
	
	#search_form{ max-width: none;}
}

/* TABLA VENTAJAS */

#benefits-table .elementor-section .elementor-column-gap-extended .elementor-row img {
    height: 70px;
    width: auto !important;
}

@media (max-width: 960px) {
	#benefits-table .elementor-section .elementor-column-gap-extended .elementor-row > .elementor-column.elementor-col-33 {
		width: 50%;
	}

	#benefits-table .elementor-section .elementor-column-gap-extended .elementor-row > .elementor-column.elementor-col-33:first-child {
		width: 100%;
	}

	#benefits-table .elementor-section .elementor-column-gap-extended .elementor-row > .elementor-column.elementor-col-33:first-child h5 {
		text-align: center !important;
	}
}

/* SHOP */
#shop_title{ text-align: center; }

.woocommerce-breadcrumb span.woocommerce-breadcrumb-item,
.woocommerce-breadcrumb span.woocommerce-breadcrumb-item a{
    color: #9ab029;
}
.woocommerce-breadcrumb{
    background: rgba(255,255,255,0.4);
	padding: 2px;
}

.woocommerce-breadcrumb span.woocommerce-breadcrumb-item a:hover{ color: black;}

.woocommerce-loop-product__title:before{ display: none;}

.woocommerce .page_content_wrap,
.woocommerce-cart .page_content_wrap,
.woocommerce-checkout .page_content_wrap,
.woocommerce-page .page_content_wrap{ padding-top: 2em;}

.wc-block-cart__submit-container { background: #9ab029;}
.wc-block-cart__submit-container:hover{ background: black;}
.wc-block-cart__submit-container span{ color: white;}

.sc_layouts_item_details_line2 {
	display:none!important;
}

.sc_layouts_row_type_compact .sc_layouts_item a:not(.sc_button):not([class*="button"]), [class*="scheme_"].sc_layouts_row_type_compact .sc_layouts_item a:not(.sc_button):not([class*="button"]) {
	color: #000;
}

/* PRODUCT LAYOUT*/
.product_meta .product_id {
	display:none!important;
}

/* WhatsApp Button */
.ht-ctc-chat {
	bottom: 70px !important;
}

.faqs-sticky-column {
	background: #76A227 !important;
}

select:not(.esg-sorting-select):not([class*="trx_addons_attrib_"]) {
	 visibility: visible!important;
}

/* POPUP COMERCIAL */
#popup-container.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9999; /* Asegúrate de que esté por encima de otros elementos */
  display: none; /* Se muestra por JS */
}

/* Overlay que cubre la pantalla */
/* Contenedor del contenido */
#popup-container .popup-content {
  border: 9px solid #769227;
  position: relative;
  max-width: 900px;
  margin: 1% auto;
  background: #fff;
  display: flex;
  box-sizing: border-box;
  min-height: 400px; /* Ajusta la altura mínima según lo necesites */
}

/* Botón de cierre */
#popup-close.popup-close {
	position: absolute;
	top: 10px;
	right: 15px;
	background: #fff;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	border-radius: 32px;
	padding: 0.5rem;
	width: 38px;
}

/* Columna izquierda */
#popup-container .popup-left {
  flex: 1 1 60%;
  padding: 20px;
}

#popup-container .popup-left h2{
    font-size: 4vh;
}

#popup-container .popup-left p{
    font-size: 0.9rem;
}

#popup-container .popup-left .wpcf7 .wpcf7-submit-style .submit-style-in:before,
#popup-container .popup-left .wpcf7 .wpcf7-submit-style .wpcf7-submit{
	background-color: #769227!important;
	color: #FFF!important;
}

/* Columna derecha con background */
#popup-container .popup-right {
  flex: 1 1 40%;
  background: url('https://orache.es/cms/wp-content/uploads/2025/03/Clean-Pilll.png') center center;
  background-size: cover;
  background-position: left;
}

