.productos_contenedor {
	width: 100%;
	max-width: 1300px;
	margin: 0 auto;
	display: block;
	/* background-color: red; */
	height: auto;
}

.productos_contenedor .productos_header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.titulo {
	display: flex;
	align-items: center;
	margin-bottom: 1rem;
}
.titulo h2 {
	font-size: 3rem;
	border-bottom: 6px solid var(--boton-header-login);
	font-weight: 700;
	color: #333333;
}
.productos_header form {
	display: flex;
	margin-bottom: 1rem;
	width: 40%;
	align-items: center;
}
.productos_header form input {
	width: 100%;
	min-width: 250px;
	font-size: 1rem;
	text-align: center;
	border-radius: 6px;
	border: 3px solid var(--boton-header-login);
	padding: 5px;
	box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
}
.productos_categorias {
	display: flex;
	margin-bottom: 1rem;
	width: 80%;
	justify-content: center;
}
.productos_categorias span {
	margin-right: 10px;
}

.productos_categorias a {
	color: #333333;
	border-bottom: 2px solid transparent;
	padding: 0 3px;
	font-size: 14px;
}

.productos_categorias a.activo {
	border-bottom: 2px solid var(--boton-header-login);
}
.item-imagen {
	position: relative;
}
.item-imagen span {
	position: absolute;
	bottom: 10px;
	right: 0px;
	background-color: var(--boton-header-login);
	font-weight: 600;
	font-size: 14px;
	padding: 5px;
	text-transform: uppercase;
	border-radius: 0px 0 0 10px;
	opacity: 0.8;
}
.contenedor .dividir {
	justify-content: center;
}
.dividir .container {
	max-width: 700px;
}

/* -------------------------------------------------------------------------- */
/*                             PRODUCTOS FILTRADO                             */
/* -------------------------------------------------------------------------- */

.grid {
	position: relative;
	width: 100%;
	margin: auto;
	margin-bottom: 3rem;
	opacity: 1;
	transition: opacity 0.5s linear 1s;
	display: flex;
	flex-wrap: wrap;
}

.grid.productos-cargados {
	opacity: 1;
}

.grid .item {
	width: calc(25% - 20px);
	margin: 10px;
	border: 3px solid rgb(250, 250, 250);
	border-radius: 6px;
	padding: 10px;
	box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
	position: relative;
	min-height: 295px;
	transition: all 0.4s ease;
}
.filtro {
	display: none;
}

.grid .item img {
	width: 100%;
	cursor: pointer;
	transition: all 0.3s ease;
	filter: grayscale(0%);
	height: 150px;
	object-fit: cover;
}
.grid .item img:hover {
	filter: grayscale(1);
}

.grid .item .item-contenido {
	background-color: white;
	box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
	border-radius: 6px;
	overflow: hidden;
	color: #343434;
}
.grid .item .item-contenido .item-detalle {
	padding: 1rem;
	height: 95px;
}
.grid .item .item-contenido .item-detalle h1 {
	font-size: 1.3rem;
	position: relative;
	transition: all 0.3s ease;
}
.grid .item .item-contenido .item-detalle h1::after {
	content: '';
	background-color: var(--boton-header-login);
	height: 3px;
	width: 90%;
	bottom: -5px;
	left: 0;
	position: absolute;
}
.grid .item .item-contenido .item-detalle h1 a {
	color: #272727;
}

.grid .item .item-contenido .item-detalle h1:last-child:hover {
	transform: translateX(10px);
}

.grid .item .item-contenido .item-detalle ul {
	margin: 10px 0;
}
.grid .item .item-contenido .item-detalle ul li {
	font-size: 1rem;
	margin: 5px 0;
	color: #565656;
}
.grid .item .item-contenido .item-detalle ul li span {
	color: #3b3b3b;
	font-weight: 700;
	margin-right: 5px;
	text-transform: uppercase;
}
.grid .item .item-contenido .item-detalle p {
	margin: 10px 0;
	color: #565656;
}

.grid .item .item-contenido #btn-presupuesto {
	width: 100%;
	font-size: 1rem;
	border: none;
	background-color: var(--boton-header-login);
	font-weight: 600;
	color: #272727;
	padding: 10px;
}
.grid .item .item-contenido #btn-presupuesto:hover {
	cursor: pointer;
	background-color: rgb(249, 199, 0);
	padding: 10px;
}

.grid .item .item-contenido .item-detalle.mostrarDetalle {
	height: auto;
	background-color: #ffffff;
	position: absolute;
	z-index: 10;
	top: 0%;
	left: 0%;
	height: 100%;
	overflow-y: scroll;
	width: 100%;
}
.grid .item .item-contenido .item-detalle.mostrarDetalle::-webkit-scrollbar {
	width: 10px;
	/* height: 8px;  */
	/* display: none; */
}

/* Ponemos un color de fondo y redondeamos las esquinas del thumb */
.grid
	.item
	.item-contenido
	.item-detalle.mostrarDetalle::-webkit-scrollbar-thumb {
	background: #ccc;
	border-radius: 4px;
}

/* Cambiamos el fondo y agregamos una sombra cuando esté en hover */
.grid
	.item
	.item-contenido
	.item-detalle.mostrarDetalle::-webkit-scrollbar-thumb:hover {
	background: #b3b3b3;
	box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
}

/* Cambiamos el fondo cuando esté en active */
.grid
	.item
	.item-contenido
	.item-detalle.mostrarDetalle::-webkit-scrollbar-thumb:active {
	background-color: #999999;
}

.grid
	.item
	.item-contenido
	.item-detalle.mostrarDetalle::-webkit-scrollbar-thumb {
	background: #ccc;
	border-radius: 4px;
}

.producto-atras {
	display: block;
	z-index: 2;
	background: var(--boton-header-login);
	opacity: 1;
	left: 0px;
	cursor: pointer;
	font-size: 16px;
	line-height: 1rem;
}

.producto-atras i {
	display: block;
	width: 100%;
	height: 100%;
	font-size: 1.3rem;
	padding: 10px;
}
.guia {
	display: none;
}
/* -------------------------------------------------------------------------- */
/*                                   TARJETA                                  */
/* -------------------------------------------------------------------------- */

@media (max-width: 1121px) {
	.grid .item {
		width: 30%;
	}
	.productos_categorias {
		width: 100%;
		flex-direction: column;
		padding: 1rem;
		font-size: 1.3rem;
	}
	.productos_contenedor .titulo {
		justify-content: center;
		margin-top: 1rem;
	}
	.preguntasFrecuentes {
		margin-bottom: 0;
	}
	.productos_categorias a {
		padding: 10px 0;
	}
	.productos_header form {
		width: 100%;
		margin: 1rem;
		padding: 10px;
	}
	#barra-busqueda {
		width: 100%;
	}
	.productos_header {
		flex-wrap: wrap;
	}
	.marcas .logos img {
		width: 100%;
	}
	.guia {
		display: none;
	}
}

@media (max-width: 820px) {
	.grid .item {
		width: calc(50% - 25px);
	}
	.marcas .logos img {
		width: 80%;
	}
	.guia {
		display: none;
	}
	.dividir .container {
		max-width: 100%;
	}
}

@media (max-width: 591px) {
	.grid .item {
		width: calc(100% - 10px);
	}
	.guia {
		display: none;
	}
	.marcas .logos img {
		width: 80%;
	}
}
