/* PRECIO */
.rihe-price-filter {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
}

.abrir-filtro-lateral,
.cerrar-filtro-lateral{
    display:none;
}

/* Pag resultados */

.pag-tienda-rihe{
	max-width:1320px !important;
	padding:0 4%;
}

.rihe-result-page{
	padding: 36px 0;
	display:flex;
}

.rihe-result-content{
	padding: 0 20px 50px;
}

.rihe-products-grid{
	display:grid;
	grid-template-columns: repeat(auto-fill, minmax(calc(25% - 12px) ,1fr));
	gap:50px 15px;
}

.rihe-product-card {
		position:relative;
	  display: flex;
    flex-direction: column;
    justify-content: space-between;
}

a.img-tjs-tienda{
	position:relative;
	display:inline-block;
	margin-bottom:20px;
	height:200px !important;
	display:flex;
	align-items: center;
		border: 1px solid #eee !important;
	justify-content: center;
}

.rihe-out-of-stock a.img-tjs-tienda::after{
	content:"Agotado";
	position:absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: rgba(0, 0, 0, 0.7);
	padding: 6px 14px 6px 14px;
	border-radius: 6px 6px 6px 6px;
	font-size: 12px;
	font-weight: 500;
	line-height: 17px;
	color: #fff;
	width:max-content;
}

.rihe-out-of-stock a.img-tjs-tienda img{
	filter: grayscale(100);
	opacity:0.8;
}

a.img-tjs-tienda img{
	border-radius: 6px;
	max-height: 198px;
}



.contenido-tjs-tienda{
	text-decoration:none !important;
	appearance: button;
	width:100%;
}

.contenido-tjs-tienda h5{
	color: #313131;
	font-size: 12px;
	font-weight: 400;
	line-height: 14px;
	text-align:left;
	text-transform:none !important;
	margin:0 0 6px;
}

.div-contenido-tjs-tienda{
	display: flex;
  flex-direction: column;
  align-items: stretch;
	justify-content:space-between;
}

.rihe-prices span bdi, .rihe-prices bdi  {
    color: #000052;
    font-size: 18px;
    font-weight: 600;
}

.rihe-prices del bdi {
    color: #818181;
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
    text-decoration-line: strikethrough;
}

.rihe-prices {
    display: flex !important;
    flex-direction: column;
    gap: 5px;
}

.btn-agregar-carrito, .leer-mas{
		color: #fff !important;
    background-color: #009EC5;
    font-size: 14px;
    font-weight: 600;
    line-height: 17px;
    border-radius: 6px 6px 6px 6px;
	padding: .618em 1em;
	text-decoration: none !important;
  margin-top: 14px !important;
	appearance:button;
	max-width:max-content;
	display:none !important;
}

.logged-in .btn-agregar-carrito, .logged-in .leer-mas{
	display:flex !important;
}

.barra-lateral-resultados{
	width:25%;
	padding-right: 20px;
	border-right: 1px solid #EEEEEE;
}

.barra-lateral-resultados h4{
	border: none;
  background-color: #009EC5;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 17px;
  color: #fff;
}

.barra-lateral-resultados label{
		color: #313131;
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
	display:flex;
	gap:10px;
}

.rihe-cat-toggle{
	cursor:pointer;
	user-select:none;
	margin-left:8px;
	display:inline-block;
	 transition: transform 0.3s ease-in-out;
	width:20px;
	height: 20px;
	
}

.rihe-cat-toggle svg{
	width:18px;
}

.marcas-container, .rihe-cat-tree{
	padding:0 0 0 16px !important;
}

.marcas-container{
	display:flex;
	flex-direction: column;
	gap: 8px;
}

.rihe-cat-header{
	margin-bottom: 8px;
}

.rihe-cat-header input{
	width:14px;
	height:14px;
}

.rihe-cat-children{
	padding:0 !important;
}

.div-btns-filtro{
	display:flex;
	gap:16px;
	padding-top:40px;
	flex-wrap: wrap;
}

.reset-filtro, .btn-aplicar{
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 17px !important;
  color: #FFFFFF !important;
  background-color: #009EC5;
  border-radius: 6px 6px 6px 6px;
  padding: 11px 16px 11px 16px !important;
  border-color: #009EC5 !important;
	text-decoration:none !important;
	appearance: button;
	width:100% !important;
	display:flex !important;
	justify-content: center;
}

.reset-filtro{
	background:#fff;
	color: #009EC5 !important;
	border: 1px solid #009EC5 !important;
}

.dualrange{
	width:100%;
	
}

.noUi-connect{
	background: #009EC5 !important;
	height: 3px !important;
	
}
.noUi-connects{
	border-radius: 100px !important;
	left:2px;
}

.noUi-target{
	background: #EEE !important;
	height:4px !important;
	z-index:99;
	border:none !important;
	border-radius:100px !important;
	box-shadow: none !important;
	width:100% !important;
	max-width:calc(100% - 7px) !important;
}

.noUi-base{
	max-width:calc(100% - 7px) 
}

.noUi-touch-area{
	cursor: pointer !important;
}

.noUi-handle{
	background: #009EC5 !important;
	border-color:#009EC5 !important;
	width:16px !important;
	height: 16px !important;
	border-radius:100px !important;
	box-shadow:none !important;
	border:none !important;
	cursor: pointer;
}

.noUi-handle:after, .noUi-handle:before{
	display: none !important;
}

.noUi-tooltip{
	display:none !important;
}

.dualrange input{
	cursor: pointer;
}

.precio-entre{
	color: #313131;
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
	margin-top:16px;
}

.pag-resultados{
	display:flex;
	width:100%;
	justify-content: center;
	gap: 22px;
	margin-top: 60px;
}

span.page-numbers.current{
	border-radius:50px;
	width:24px;
	height:24px;
	padding:0 !important;
	display:flex !important;
	align-items: center;
	justify-content: center;
	text-decoration:none;
	color:#00004F;
	background:#F8F8F8;
	transition: all .2s ease-in-out;
	font-size:14px;
	line-height: 17px;
	font-weight: 400;
}

a.page-numbers{
	border-radius:50px;
	width:24px !important;
	height:24px !important;
	display:flex !important;
	align-items: center;
	justify-content: center;
	text-decoration:none;
	color:#818181;
	font-size:14px;
	line-height: 17px;
	font-weight: 400;
}

a.page-numbers:hover{
	color:#00004F;
	background:#F8F8F8;
	transition: all .2s ease-in-out;
}

.filtros-y-resultados{
	margin-bottom:30px;
	font-size: 14px;
  font-weight: 400;
  line-height: 17px;
}

.rihe-cat-children {
	display:none;
}

@media (max-width:1024px){
	.sin-stock-label.sin-stock{
		font-size:12px;
		line-height: 14px;
	}
	
	.sin-productos-relacionados .sec-principal-prods{
		padding-bottom: 80px;
	}
	
	.barra-lateral-resultados{
		display:none;
		background: rgba(000,000,000,0.3);
		width: 100%;
		height: 100%;
		position: fixed;
		z-index: 999;
		left: 0;
		top: 0;
	}
	
	
}

@media (min-width:767px) and (max-width: 1024px){
	.rihe-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(calc(33% - 12px), 1fr));
    gap: 40px 20px;
	}

}

@media (max-width:1024px){
	.cerrar-filtro-lateral{
        display:inline-block;
        position:absolute;
        right:20px;
        top:20px;
    }
	
	.rihe-result-page{
		flex-direction: column;
	}
	
	.rihe-result-content{
		padding-left:0;
		padding-right:0
	}
	
	.abrir-filtro-lateral{
		display:flex !important;
		gap:10px;
		align-items: center;
		justify-content: center;
		font-size: 14px !important;
		font-weight: 400 !important;
		line-height: 17px !important;
		border-radius: 6px 6px 6px 6px;
		padding: 6px 16px 6px 16px;
		border: 1px solid #009EC5;
		text-decoration:none !important;
		appearance: button;
		width:max-content;
	}
	
	.abrir-filtro-lateral svg{
		width:20px;
		height:20px;
	}
	
	.filtros-y-resultados{
		display:flex;
		align-items: center;
		margin-bottom:30px;
		justify-content:space-between;
		flex-wrap:wrap;
		gap:16px;
	}
	.btn-agregar-carrito, .leer-mas{
		font-size: clamp(12px, 2vw, 16px) !important;
	}
	
	.filtros-movil{
		display:block;
		background:#fff;
		-webkit-border-radius: 20px;
		border-radius: 20px;
		-webkit-box-shadow: 0 0 30px 5px rgba(0,0,0,0.2);
		box-shadow: 0 0 30px 5px rgba(0,0,0,0.2);
		padding:40px 20px;
		position:relative;
		overflow-y:auto;
		height:auto;
		max-height:90%;
		width:90%;
		margin:5% auto 0 auto;
	}
	
	
	.filtros-movil{
		border-radius: 6px;
		-webkit-box-shadow: 0 0 30px 5px rgba(0, 0, 0, 0.2);
		box-shadow: 0 0 30px 5px rgba(0, 0, 0, 0.2);
		padding: 20px 10px;
		position: relative;
		height: auto;
		max-height: 90vh;
		width: 90%;
		max-width: 400px;
		margin: 5% auto 0 auto;
	}
	
	.marcas-container, .rihe-cat-tree {
    padding: 0 0 0 10px !important;
	}
	
	.barra-lateral-resultados{
		padding:0;
	}
		.barra-lateral-resultados label{
			font-size: clamp(12px, 2vw, 16px) !important;
		}
	
	
	.barra-lateral-resultados h4{
		font-size: clamp(12px, 2vw, 16px) !important;
		line-height:14px;
		width: max-content;
		margin:24px 0 16px;
	}
	
	h4.h4-categorias{
		margin-top:0 !important;
	}
	
	.rihe-price-filter{
		padding-top:10px !important;
	}
	
}

@media (max-width:767px){
	.rihe-out-of-stock a.img-tjs-tienda::after{
		content: "Agotado";
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		padding: 6px 12px;
		border-radius: 6px;
		background: rgba(0, 0, 0, 0.7);
		color: #fff;
		font-size: clamp(10px, 2vw, 14px);
		font-weight: 500;
		line-height: 1.2;
		z-index: 2;
		pointer-events: none;
	}
	
	.rihe-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(calc(33% - 12px), 1fr));
		gap: 40px 20px;
	}
	
	a.img-tjs-tienda{
		max-height:150px;
	}
	
	a.img-tjs-tienda img{
		height:100%;
	}
}