/*
Theme Name: Divi Child Theme
Theme URI: https://www.o10media.es
Description: Child Theme For Divi
Author: o10media
Author URI: https://www.o10media.es
Version: 1.0.0
Template: Divi
*/


/*
Azul: #3274b7
*/

.woocommerce.et-dynamic-content-woo a,
.et_pb_text_inner a,
.et_pb_module.et_pb_wc_description a{
	color: #8C57EA !important;
}

/* INI Categoría */
.icono_filtrar .et-waypoint {
	color: #8c52ff !important
}
.icono_filtrar .et_pb_blurb_description {
	color: #8c52ff;
	font-weight: bold
}

.woocommerce nav.woocommerce-pagination ul {
	border: 0;
}
.woocommerce nav.woocommerce-pagination ul li {
	border-right: 0;
}
.woocommerce nav.woocommerce-pagination ul li a:focus, .woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li span.current{
	background: #3274b7;
	color: #fff;
}
.woocommerce nav.woocommerce-pagination ul li a {
	color: #3274b7;
}

.woocommerce-result-count{
	color: #797676 !important;
}
/* FIN Categoría */

/* INI Marcas */
.marcas {
  	display: flex;
  	flex-wrap: wrap;
  	justify-content: center;
  	gap: 10px;
}
.marcas_3 .col {
  	flex: 1 1 calc(33.3333% - 10px);
  	max-width: calc(33.3333% - 10px);
  	box-sizing: border-box;
	text-align: center;
}
.marcas_6 .col {
  	flex: 1 1 calc(16.6666% - 10px);
  	max-width: calc(16.6666% - 10px);
  	box-sizing: border-box;
	text-align: center;
}
.marcas .col img {
	width: auto;
	max-height: 70px;
}
.marcas .col img:not(:hover) {
	-webkit-filter: grayscale(100%);
    filter: grayscale(100%);
	transition: all .5s;
	opacity: .7;
}
.marcas .col img:hover {
	transition: all .5s;
}
/* FIN Marcas */

/* INI Mega Menu */
.categorias {
	padding-bottom: 30px;
}
.categorias a:hover {
	opacity: .7;
	
}
.categorias .cat_padre {
	font-weight: bold;
	border-bottom: 1px solid #333;
	margin-bottom:7px;
	width:100%;
	display:block;
	text-transform: uppercase;
	color: #8c52ff;
}
.categorias .subcats a {
	color: #333;
	padding-left: 0;
	transition: all .5s;
	display: block;
}
.categorias .subcats a:hover {
	padding-left: 10px;
	transition: all .5s;
}
/* FIN Mega Menu */

.woocommerce nav.woocommerce-pagination ul li a:focus, .woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li span.current {
	background: #8c52ff!important;}

/* Filtros YITH movil */
.yith_apf{
	--color1:#9b9b9b;
	--top-header:0;
}
@media (min-width: 981px) {
	.yith_apf h3{
		display: none;
	}
	.col_sidebar_cat {
		border: 1px solid #d1d1d1;
		border-radius: 15px;
		overflow: overlay;
		padding: 10px 15px;
	}
}
@media (max-width: 980px) {
	.yith_apf .et_pb_column_3_4 {
		z-index: 1 !important
	}
	body.yith-wcan-preset-modal-open::after{
		background: transparent
	}
	.yith-wcan-filters-opener {
		background: #fff;
		color: #7a8682;
		border: 2px solid var(--color1);
		padding: 10px 20px;
		margin-bottom: 30px;
		cursor: pointer;
		text-transform: uppercase;
	}
	.yith-wcan-filters-opener:hover {
		background: var(--color1);
		border-color: var(--color1)
	}
	.et_header_style_centered #main-header{
		padding: 5px 0 15px
	}
	body.tax-product_cat:not(.mega-menu-primary-menu-mobile-open) #top-header, 
	body.tax-product_cat:not(.mega-menu-primary-menu-mobile-open) #main-header:not(.et-fixed-header){
		z-index:1 !important
	}
	.yith-wcan-filters{
		top: var(--top-header) !important
	}
	.dd-cfixed-header + #et-main-area .yith-wcan-filters{
		top: var(--top-header) !important
	}
	.yith_apf h3{
		background: inherit !important;
	}
	.yith_apf .yith-wcan-filters.filters-modal .yith-wcan-filter {
		border: 1px solid #ededed;
	}
}

.yith_apf .et_pb_widget_area {
	padding: 0 !important;
    background: #fff !important;
}

.yith_apf .et_pb_widget.woocommerce {
	padding-bottom:0 !important;
	margin-bottom:0 !important;
}

.yith_apf .filter-items a{
	color: #333 !important;
}

.yith_apf h4.filter-title{
	color: #8C57EA!important;
}

.yith_apf .show-more {
	background: #e3e3e3;
    border-radius: 10px;
    padding: 1px 7px;
    display: inline-block;
	font-size:14px;
}

label[for='payment_method_pedido_sin_pago'], 
.woocommerce-terms-and-conditions-wrapper, 
.woocommerce-checkout .woocommerce-customer-details {display: none !important}

/* Oculta el módulo solo en la página de tienda */
.woocommerce-shop .migas-categorias {display: none !important;}

/* WPML */
@media (min-width: 981px) {
	.wpml-ls-menu-item .sub-menu, .wpml-ls-menu-item .sub-menu > li, .wpml-ls-menu-item .sub-menu a {max-width: 60px !important}
	.wpml-ls-item.menu-item-has-children>a:first-child:after {top: 30px !important}
}

/* Producto */
.consultarprecio {
	display: inline-block;
    line-height: 2em;
    padding: 0 15px;
    font-size: 0.7em;
    border-radius: 15px;
    background: #8c52ff;
    color: #fff !important;
	transition: all .5s;
}
.consultarprecio:hover {
	opacity: .7;
	transition: all .5s;
}

/* Filtros WBW */
.wpfFilterButton.wpfButton, .wpfClearButton.wpfButton {
	background: #8c57ea !important;
    color: #fff !important;
}
@media (max-width: 980px) {
	.col_sidebar_cat {order: 1 !important}
}


.up-sells.upsells.products .price{display: none !important}

.idestacados ul{
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
}

.idestacados ul li{
	flex: 1 0 21%; /* explanation below */
	margin: 5px 0 20px;
	text-align: center;
}