*{
	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;
}

.wrap > h1{
	color: #494B4D;
	font-weight: 400;
	display: flex;
	flex-direction: column;
	text-align: center;
	margin: 10px 0px;
}

.wrap > h1:after{
	content: '';
	width: 100%;
	height: 1px;
	background: #C7C7C7;
	margin: 10px 0;
}

.store-wrapper{
	display: flex;
	flex-wrap: wrap;
}


.category_list{
	display: flex;
	flex-direction: column;
	width: 18%;
}


.category_list .category_item{
	display: block;
	width: 90%;
	padding: 10px 0;
	margin-bottom: 1px;/*separacion de botones*/
	background: #b30400;/*boton rojo de productos*/
	border-radius:20px;

	text-align: center;
	text-decoration: none;
	color: #fff;
}

.category_list .ct_item-active{
	background: #2D3E50;
}

/* PRODUCTOS ============*/

.products-list{
	width: 82%;
	display: flex;
	flex-wrap: wrap;
}


.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%;
}

.products-list .product-item a{
	display: block;
	width: 100%;
	padding: 8px 0;
	background: #2D3E50;

	color: #fff;/*Color texto producto*/
	text-align: center;
	text-decoration: none;
}

/* 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;
	}
}




/** MODAL PASADO

body, .modal{
	width: 100%;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
}
.modal{
	position: fixed;
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.5);
	transition: all 500ms ease;
	opacity: 0;
	visibility: hidden;
}
#btn-modal:checked ~ .modal{
	opacity: 1;
	visibility: visible;
} 
.contenedor{
	width: 400px;
	height: 300px;
	margin: auto;
	background: #fff;
	box-shadow: 1px 7px 25px rgba(0,0,0,0.6);
	transition: all 500ms ease;
	position: relative;
	transform: translateY(-30%);
	border-radius:20px;
}
#btn-modal:checked ~ .modal .contenedor{
	transform: translateY(0%);
} 
.contenedor header{
	padding: 10px;
	background: #2d3e50;
	color: #fff;
	text-align:center;
}
.contenedor label{
	position: absolute;
	top: 10px;
	right: 10px;
	color: #fff;
	font-size: 15px;
	cursor: pointer;
}
.contenido{
	width: 100%;
	padding: 10px; 
}
.contenido h3{
	margin-bottom: 10px;
}
.contenido p{
	margin-bottom: 7px;
}
#btn-modal{
	display: none;
}
.lbl-modal{
	background: #2D3E50;
	color:#FFF;
	padding: 10px 15px;
	border-radius: 4px;
	cursor: pointer;
	text-align:center;
	width:100%;
}
@media only screen and (min-width:320px) and (max-width:768px){
	.contenedor{
		width: 95%;
	}
}

FIN MODAL PASADO
**/


.container {
  /*padding: 10px;*/
  max-width: 600px;
  margin: 1px auto;
  text-align: center;
  
}

button {
  cursor: pointer;
  border-radius: 5px;
  border: none;
  background-color: #2d3e50;
  color: #fff;
  /*padding: 1px 1px; 
  margin: 1px 0 1px 0;*/
  font-size: 1.14rem;
  /*text-transform: uppercase;*/
  font-weight: 800;  
  transition: box-shadow 0.25s ease-in-out;
  box-shadow: 0px 0px 0 #b30400;/*sombra boton roja*/
}

button:hover {
  box-shadow: 8px 8px 0 #b30400;/*sombra boton roja*/
}

dialog {
  max-width: 650px;
  padding: 40px 70px;
  border: 5px solid #2d3e50;
  border-radius:20px;
  background-color: #FAFAFA;
  margin: 0 auto;/*CENTRA CONTENIDO MODAL*/
}

dialog::backdrop {
  /*background: rgba(234, 206, 227, 0.9);*/
  background: rgba(0, 0, 0, 0.5);
}

dialog p {
  color: #2d3e50;
}

dialog button {
  box-shadow: 0px 0px 0 #fff;
}

dialog button:hover {
  box-shadow: 8px 8px 0 #b30400;/*sombra boton modal roja*/
}

