/**
* Theme Name: Freshio Child
* Description: This is a child theme of Freshio, generated by Merlin WP.
* Author: <a href="https://pavothemes.com/">Pavotheme</a>
* Template: freshio
* Version: 2.2.0
*/


/* GENERAL: ARQUIVE */
.site-header-account{
	display:none;
}

div.entry-header > div.entry-meta{
	display:none;
}
div.post-inner > div.post-thumbnail{
	margin-bottom: 0px!important;
}


div.taxonomy-filter-group > div , div.taxonomy-filter-group > div > label{
	margin-bottom: 0px;
}

/* CATEGORÍAS */
.banner_container{
	display:flex;
	justify-content: center;
	margin-bottom:50px;
	width:100%;
}

.banner_container > img{
	max-width: 1000px;
	width:50%;
}


/* LOGOS PARA EL SELECT DE IDIOMA EN EL FOOTER */
 #language-selector {
	 position: relative;
	 display: inline-block; /* Ajusta el ancho al contenido */
 }

/* Botón del idioma seleccionado */
#current-language {
	display: flex; /* Alineación horizontal */
	align-items: center; /* Centra verticalmente el contenido */
	text-align: left;
	padding: 8px 10px; /* Espacio interno */
	border: 1px solid #ccc;
	background: #fff;
	cursor: pointer;
	color: #000; /* Color del texto negro */
	font-size: 14px; /* Tamaño del texto */
	white-space: nowrap; /* Evita que el texto salte de línea */
}

#current-language img {
	margin-right: 8px; /* Espacio entre la bandera y el texto */
	width: 20px; /* Tamaño de la bandera */
	height: 14px;
}

/* Lista desplegable */
#language-options {
	list-style: none;
	padding: 0;
	margin: 0;
	border: 1px solid #ccc;
	background: #fff;
	display: none; /* Oculta inicialmente */
	position: absolute;
	z-index: 1000;
	min-width: 100%; /* Asegura que el menú tenga al menos el ancho del botón */
}

/* Elementos individuales del menú */
#language-options li {
	display: flex; /* Alineación horizontal */
	align-items: center; /* Centra verticalmente */
	padding: 5px 8px; /* Espacio interno */
	cursor: pointer;
}

#language-options li img {
	margin-right: 8px; /* Espacio entre la bandera y el texto */
	width: 20px;
	height: 14px;
}

/* Hover para los elementos del menú */
#language-options li:hover {
	background: #f0f0f0;
}

/* Asegura que el menú se ajuste al contenido */
#language-options {
	width: auto; /* Ajusta el ancho al contenido */
}



/* WIDGET PARA SIDEBAR CUSTOM FILTER */
#taxonomy-filter{
	margin-bottom: 35px;
}




/* MENU LEFT */
.dropdown-toggle::after{
	border-top:none;
}

.widget.woocommerce li .count{
	color:white;
}
li.woocommerce-widget-layered-nav-list__item::before {
	color:white!important;
}

/*ARCHIVE
HIDE RESUME INFO. MOUSE OVER EFFECT*/
.group-action{ display:none!important; }
.shop-action{ display:none!important; }

.freshio_widget_layered_nav ul.woocommerce-widget-layered-nav-list li .freshio-image-type img{
	max-width:50px;
}

.freshio-mobile-nav , .freshio-canvas-filter{ background-color:#17472e; }
span.image-name, span.image-count{ display:none!important; }

.freshio-image-type img{
	border-radius: 5px;
	max-width: 50px;
	opacity: 1!important;
}

button.single_add_to_cart_button{ display:none; }





/* BLOG - MEDIA YOUTUBE */
div.entry-content{
	padding:0px 30px;
}

article.post div.post-thumbnail{
	display:none;
}

article.post{
	background-color: #FAFAFA;
	border-radius: 5px;
}

article.post h1, article.post span.categories-link, article.post div.entry-header{
	padding:0px 30px;
}

article.post div.entry-header div.entry-meta span.total-comments{
	display: none;
}

article.post h1{
	padding-top: 30px;
	padding-bottom: 30px;
}

.aviso{
	background-color: #F5D23D;
	padding:15px;
	border-radius: 5px;
}





/* CATALOGO DE PRODUCTOS */
div.product-transition > div.product-image img{
	max-height:170px;
}

.product-block{
	padding-top: 10px;
	border: 2px solid #2F572B;
	border-radius: 15px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);

}


/* BREADCRUMB */
.freshio-breadcrumb {
	margin: 0 0 2.617924em;
	padding: 2.617924em 0;
	text-align: center;
	/*background: transparent!important ;*/
}

.woocommerce-breadcrumb{
	color:#0a472e;
	max-width: 950px;
	/*margin: auto;*/
}

.woocommerce-breadcrumb a{
	color:#0a472e;
}

.freshio-icon-search{
	color:black!important;
}

/* DEGRADADO EN EL BREADCRUMB */
.freshio-breadcrumb .col-full {
	position: relative;
	background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0)); /* Degradado de blanco a transparente */
	padding: 20px; /* Ajusta según sea necesario */
}


/* FILTROS ==================================================================================================*/
#active-filters{
	padding-bottom: 15px;
	color:white;
	display: flex;
	gap: 10px;
}

.filter-pill{
	border: 1px solid white;
	border-radius: 5px;
	padding: 0px 5px;
}

#filterForm select{
	color:white;
}

/*CAMBIA COLOR DE TEXTO FILTROS*/
.woocommerce-widget-layered-nav ul.woocommerce-widget-layered-nav-list li{
	/*color: #0a472e;*/
}
.woocommerce-widget-layered-nav ul.woocommerce-widget-layered-nav-list li a{
	color:white!important;
}
.woocommerce-widget-layered-nav-list__item wc-layered-nav-term {
	color:white!important;
}

.freshio-canvas-filter .widget .widget-title{
	color:white;
}

.freshio-canvas-filter a:not(.button), .widget-area a:not(.button){
	color:white;
}

/* COLOR CUANDO ELEMENTO DEL FILTRO ESTÁ SELECCIONADO */
.woocommerce-widget-layered-nav ul.woocommerce-widget-layered-nav-list .chosen a {
	color:white!important;
}

/* OCULTAR OBJETO SELECT PARA ORDENAR RESULTADOS EN ARQUIVE */
form.woocommerce-ordering{
	display:none;
}

/*LOCATOR*/
.logo_proveedor{ max-width: 50px!important; }

@media (max-width: 768px) {
	#locator_search{
		display:flex;
		flex-direction: column!important;
	}

	.freshio-breadcrumb {
		min-height: unset!important;
	}
}



/* PRODUCT PAGE (PDP) ==================================================================================== */
.content-single-wrapper{
	/*max-width: 950px;*/
	max-width: 90%;
	margin: auto;
}


.entry-summary{
	padding-left: 40px;
}

/* PDP - COLORES PARA EL TEXTO*/
.product__ingredients p, .woocommerce-product-details__short-description div ul, .extra_info_valores, #alergenos_envelope{
	color:white;
}

#variaciones_wrap{
	display:flex;
	margin-bottom: 15px;
	flex-direction: column;
}

#variaciones_wrap > select{
	margin-bottom: 15px;
}

#extra_product_info,#alergenos_envelope{
	display:flex;
	margin: 0 0 1.41575em;
}

#alergenos_envelope{
    flex-direction: column;
}

.extra_info_wrap{
	display:flex;
	margin-right:15px;
}


.text_atribute{
	color:white;
	font-weight: bold;
	margin-right:5px;
	margin-bottom: 5px;
}


/* PDP - ELIMINAR LA INFO DE LA CATEGORÍA */
.posted_in{ display: none!important; }

/* PDP - ESTILOS PARA INFORMACIÓN EXTRA DE GASTRO Y GSC */
.service_gotohp, .service_telefon{
	color:white;
}


/* AJUSTAR CONTENIDO DE LA TABLA DE INFORMACIÓN DE CONTACTO PARA GASTRO Y GSC */
table {
	width: 100%; /* La tabla ocupará el 100% del ancho disponible */
	table-layout: auto; /* Permite que las columnas se ajusten al contenido */
	border-collapse: collapse; /* Unifica los bordes de las celdas para una apariencia más limpia */
}

th, td {
	/*border: 1px solid #ddd;  Añade borde a las celdas */
	padding: 10px; /* Añade algo de espacio alrededor del contenido */
	text-align: left; /* Alinea el contenido a la izquierda */
}

/* La primera columna se ajusta al contenido */
td:first-child, th:first-child {
	width: auto; /* Ajusta el ancho al contenido */
	white-space: nowrap; /* Evita el salto de línea en la primera columna */
}

/* La segunda columna ocupa el resto del espacio */
td:nth-child(2), th:nth-child(2) {
	width: 100%; /* Segunda columna ocupa el espacio restante */
}

.contact_info {
	padding-top: 10px;
	border: 2px solid #2F572B;
	border-radius: 15px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	background-color: #D1AF78;
}

/* PDP - CAMBIAR COLOR DE TEXTO EN LA DESCRIPCIÓN DEL PRODUCTO */
#tab-description p, .woocommerce-product-details__short-description ul{ color:white; }

/* PDP HACE QUE LA IMAGEN TENGA TAMAÑO DE MINIATURA
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs{
	max-width:200px;
}
*/

/*.mobile_my_table_info_down{
	padding-top:15px;
}*/

#proveedores_container > table > tbody > tr{
	border-bottom: 1px solid #a8b324;;
}

#proveedores_container > table > tbody > tr:last-child{
	border:none;
}

.more_less_text {
	display: flex;
	width: 100%;
	justify-content: center;
}


/* PDP */
/*redimensionar los tamaños de la imagen y las descripciones de primer nivel */
/* PDP HACE QUE LA IMAGEN TENGA TAMAÑO DE MINIATURA
div.woocommerce-product-gallery__wrapper div a img{
	max-width:200px;
}*/

div.woocommerce-product-gallery--without-images{
	display:flex!important;
	width:35%!important;
	justify-content: center;
}

button.woosc-btn, button.woosw-btn{
	display:none!important;
}

.woocommerce-product-details__short-description p{ color:white;}

/* RELATIVO A LAS INFO DE PRIMER NIVEL */

div.summary{ width:65%!important; }

.productos_logos_envelope{
	display:flex;
	flex-wrap: wrap;
	/*margin-bottom:30px;*/
    width:100%;

}

.img_productos_logos{
	max-width:75px;
	margin-right:10px;
	margin-bottom:10px;
}

.img_nutriscore{ max-width:90px; }

.img_productos_logos:last-child{ margin-right: 0px; }

 span.sku_wrapper{ display:none!important; }

 span.posted_in > :nth-child(2) { display: none; }



/* PDP - TABS */
#my_custom_tab{
	padding-top:0px!important;
}




/* PDP - AJUSTAR ANCHO DE LA DESCRIPCIÓN LARGA */
.single-product.freshio-full-width-content .woocommerce-tabs .woocommerce-Tabs-panel--description, .single-product.freshio-full-width-content .woocommerce-tabs .woocommerce-Tabs-panel--additional_information{
	max-width: 90%;
}




/* PDP - INFORMACIÓN NUTRICIONAL */
#nutrition_info > tbody > tr > td{
	padding: 5px 0px 0px 15px;
}


/* LO QUE ESTABA EN EL ADDITIONAL CSS DEL THEME */

.col-logo{width:10%;}
.col-logo>img{ height:auto; width:auto;}
.col-pro-name{ width:40%; }
.col-preis{	width:15%; }
.col-link{ width:15%; }

/*#primary{
	width:100%;
}*/

/* HOME */
.product-block{
	display:flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;

	max-width: 250px;
	height: auto;
	object-fit: contain;
}




.woocommerce-product-gallery__image{ border-radius:5px!important; }


.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper{
	border-radius:5px;
}

p.in-stock{ display:none; }

.cart{ display:none!important; }

.freshio-sticky-add-to-cart__content{ justify-content: flex-start; }

.freshio-sticky-add-to-cart__content-button{ display:none; }

.product-transition{ border-radius: 5px!important; }

.single-post .freshio-breadcrumb, .single-product .freshio-breadcrumb{ background-color:transparent; }


span.image-name, span.image-count{ display:none; }


div.freshio-product-pagination-wrap{ display:none; }
span.inventory_status{ display:none; }

div.site-header-cart >.cart-contents{ display:none; }


.inventory_status{ display:none!important; }

#filtros_container{
	display: flex;
	justify-content: flex-end;}


#proveedores_container{ margin-top:2rem; }


#tab-description p { color:white; }

/* AJUSTA EL ICONO DEL OK A LA ALTURA NORMAL (NO FUNCIONA CORRECTAMENTE)
#toplevel_page_ok-tools > a > div.wp-menu-image.dashicons-before > img {
	padding-top: 2px!important;
}
*/

/* LOCATOR */
  .logo_proveedor{
	  max-width: 50px!important;
  }

#accordion > div > a> h5{
	color:#454545!important;
}





@media screen and (max-width: 375px) {
	.single-product .woocommerce-tabs ul.tabs {
		flex-direction:column!important;
	}
}



@media screen and (max-width: 450px) {
	#extra_product_info{
		flex-direction:column;
	}


}





@media screen and (max-width:1024px){

	div.content-single-wrapper > div.woocommerce-product-gallery-horizontal{
		width:100%!important;
	}

	div.summary { width:100%!important; }
	div.summary > h2 { text-align:center; }

	.single-product .woocommerce-tabs ul.tabs {
		flex-wrap:nowrap;
	}

	.entry-summary{
		padding-left: unset;
	}



}
