*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body{
	background: #E0E4E5;
	font-family: 'Open Sans', sans-serif;
}

.wrap{
	max-width: 1100px;
	width: 90%;
	margin: auto;
	align-content: center;
}

.wrap > h1{
	color: #494B4D;
	font-weight: 1000;
	display: flex;
	flex-direction: column;
	text-align: center;
	margin: 15px 0px;
}

.wrap > h1:after{
	content: '';
	width: 100%;
	height: 1px;
	background: #C7C7C7;
	margin: 20px 0;
}

.store-wrapper{

	flex-wrap: wrap;
	align-content: center;
}

.category_list{
	
	width: 70%;
	font-size: 1em;
	position: relative;
	margin:auto;
	padding: auto;
	display:flex;
	align-content: center;
}

.category_list .category_item{
	
	display: block;
	width: 90%;
	padding: 10px 0;
	margin-left: 5px;
	margin-bottom: 15px;
	text-align: center;
	text-decoration: none;
	color: #8c8989;
}

.category_list .ct_item-active{
	font-weight: bold;
	color:black;
}

/* PRODUCTOS ============*/

.products-list{
	width: 82%;
	display: flex;
	flex-wrap: wrap;
	margin: auto;
	padding: auto;
	
}


.products-list .product-item{
	width: 22%;
	margin-left: 3%;
	margin-bottom: 25px;
	box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.22);

	display: flex;
	flex-direction: column;
	align-items: center;
	align-self: flex-start;

	transition: all .4s;
}

.products-list .product-item img{
	width: 100%;
	position: relative;top: -8px;
}

.products-list .product-item a{
	display: block;
	height: 270px;
	width: 95%;
	padding: 8px 0;
	background: #f6f5f5;
	color: #605f5f;
	text-align: center;
	text-decoration: none;

}

.products-list .product-item a:hover{
	
	background: #fe5151;
	color: #3e3d3d;
	transition: linear 0.5s;
}

/* RESPONSIVE */

@media screen and (max-width: 1100px){
	.products-list .product-item{
		width: 30.3%;
	}
}

@media screen and (max-width: 900px){
	.category_list,
	.products-list{
		width: 100%;
	}

	.category_list{
		flex-direction: row;
		justify-content: space-between;
	}

	.category_list .category_item{
		align-self: flex-start;
		width: 15%;
		font-size: 14px;
	}

	.products-list .product-item{
		margin-left: 4.5%;
	}

	.products-list .product-item:nth-child(3n+1){
		margin-left: 0px;
	}
}

@media screen and (max-width: 700px){
	.category_list{
		flex-direction: column;
	}
	.category_list .category_item{
		width: 100%;
		margin-bottom: 10px;
	}
}

@media screen and (max-width: 600px){

	.products-list .product-item{
		width: 47.5%;
	}

	.products-list .product-item:nth-child(3n+1){
		margin-left: 4.5%;
	}

	.products-list .product-item:nth-child(2n+1){
		margin-left: 0px;
	}

}

@media screen and (max-width: 350px){
	.products-list .product_item{
		width: 100%;
		margin-left: 0px;
	}
}


/* =========================GALERIA==========================================*/



.modal
{

    display: none;
}


.modal:target{
    
    display: block;
    position: fixed;
    background-color: #000;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}   

.imagen
{

    position: relative; top:30px;
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;

}

.imagen a
{

    color: white;
    padding: 20px 12px;
    font-size: 40px;
    text-decoration: none;
    box-sizing: border-box;
    margin: 0 30px;
}


.imagen a:nth-child(2)
{


    margin: 0px;
    height: 100%;
    flex-shrink: 2;

}

.imagen a:nth-child(1)
{

    
        width: 40px;
        height: 40px;
        background: rgba(255,255,255,0.5);
        position: absolute;
        top: 80%;
        left: 225px;
        line-height:0px;
        font-size: 22px;
        font-weight: bold;
        text-align: left;
        border-radius: 50%;
        font-family: monospace;
        cursor: pointer;

}

.imagen a:nth-child(3)
{

    
        width: 40px;
        height: 40px;
        background: rgba(255,255,255,0.5);
        background-position:relative; left:1250px;
        position: absolute;
        top: 80%; left: 1090px;
        line-height: 0px;
        font-size: 22px;
        font-weight: bold;
        text-align: left;
        border-radius: 50%;
        font-family: monospace;
        cursor: pointer;
        padding: 20px 13px; 

}


.imagen img
{

width: 700px;
height: 190%;
max-width: 100%;
border: 7px solid  black;
box-sizing: border-box;

}


.cerrar
{

    position: relative; top:275px; left: -15px;
    display: block;
    background: rgba(255,255,255,0.5);
    width: 35px;
    height: 35px;
    margin: 15px auto;
    text-align: center;
    text-decoration: none;
    font-size: 25px;
    color: #000;
    padding: 10px 9px;
    color:white;
    border-radius: 50%;
    line-height: 15px;

}

/*================GALERIA==================================================*/