

* {
  box-sizing: border-box;
}
body{
	background-size:contain;
	background-repeat: no-repeat;
}

.contenedor {
	width: 95%;
	margin: auto;
	padding-top: 5%;
	background-repeat: no-repeat;
	background-size: contain;
}

/*  estilos header */

.contenedor .header {
	padding: 10px 0;
	margin-bottom: 0px;
}

.subtitle-product{
	text-decoration: none;
	color: #6A8BB6;
	font-size:3vmax;
	font-weight: bold;
}

.logo {
	color: #014790;
	text-align: center;
    margin: auto;
    width:35%;
    text-shadow: -3px -3px 2px black;
    padding: 10px;
	margin-left: 5%;
	border-radius: 10px;
}

.header form {
	width: 100%;
	display: flex;
	justify-content: center;
	margin-bottom: 5px;
}

.header .barra-busqueda {
	width: 70%;
	height: 40px;
	line-height: 40px;
	background: #fff;
	padding: 0 20px;
	border-radius: 100px;
	border: none;
	text-align: center;
	font-size: 16px;
	transition: all 0.5s;
}

.categorias {
	display: none;
}

.categorias a {
	color: #01479388;
	margin: 5px 10px;
	font-size: 18px;
	font-weight: 700;
	margin-left: 10%;
}

.categorias a:hover{
	font-size: 20px;
	color: lightseagreen;
}

.categorias a.activo {
	color: #000;
}

/* estilos grid*/

.grid {
	position: relative;
	width: 100%;
	transition: opacity 0.2s linear 0.3s;
	object-fit:initial ;
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 2%;
	opacity: 1;
}

.descrip__grid{
	width: 95%;
	height:min-content;
}

.img__des{
	margin-bottom: 0;
	width: 35%;
	float: right;
	padding: 20px;
	padding-right: 0px;
	height: fit-content;
	object-fit: contain;
}

.img__des img{
	float: right;
	width: 100%;
	border-radius: 50%;
}

.grid__text{
	margin-top: 10%;
	width: 85%;
	text-align: justify;
	padding: 15px;
	font-size: 12px;
	background-color: rgba(255, 255, 255, 0.5);
	
}

.grid.imagenes-cargadas {
	opacity: 1;
}

.grid .item {
	position: relative;
	display: flex;
	padding: 0;
	margin: 10px;
	width: calc(50% - 20px);
}
.grid .item2{
	display: none;
	opacity: 0;
}

.grid .item-contenido {
	-webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
    text-align: center;
    object-position: center;
    margin: auto;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    transition: all 0.5s;
}

.grid .item img {
	width: 100%;
	cursor: pointer;
	vertical-align: top;
}

.grid .item-contenido img:hover{
	transform: scale(1.08);
}
.grid .item_especial {
	position: relative;
	display: block;
	max-height: 70px;
	padding: 0;
	margin: 2px;
	width: 	100%;
}
.grid .item-letra{
	position: relative;
	font-size: 20px;
	color:#014790;
}
.grid .line {
    width: 100%;
    height: 3px;
    background-color: #014793;
    margin: -0px 0 5px;
	display: block;
}
.grid .tittle-producto{
	margin: -5px 0 0;
	font-size: 16px;
    font-weight: 700;
	color: #014790;
	padding-top: 0px;
	display:block;
	text-align: center;
	text-decoration: none;
}

/*Estilos para tablet*/
@media screen and (min-width:700px) {
	.categorias{
		display: none;
	}

	.grid .item{	
    	width: calc(20% - 20px);
	}

	.header .categorias {
		flex-wrap: nowrap;
		flex-direction: column;
	}

	.grid .tittle-producto{
		margin: -5px 0 0;
		font-size: 20px;
	}
	.grid__text{
		width: 75%;
		padding: 30px;
	}

	.grid .item-letra{
		font-size: 30px;
	}
	.img__des{
		width: 30%;
	}
}
/*Estilos para web*/

@media screen and (min-width:1000px) { 
	.subtitle-product{
		font-size: 2vmax;
	} 
	.grid__text{
		font-size: 23px;
	}
}

@media screen and (min-width:1280px) { 

}

@media screen and (min-width:1600px) { 

}
