* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f3f3f3;
    font-family: 'Merienda', cursive;
    /* font-family: 'Open Sans', sans-serif; */
}

/* a {
    text-decoration: none;
} */

.contenedor {
    width: 90%;
    max-width: 800px;
    margin: auto;
}


/* header */
header {
    padding: 40px 0;
}

header .logo {
    text-align: center;
    margin-bottom: 40px;
}

header .formulario input[type="button"] {
    width: 60%;
    margin: auto;
    border: solid thin white;
    padding: .7rem;
    border-radius: 2rem;
    background-color: white;
    font-weight: 600;
    margin-top: 3rem;
    font-size: .8rem;
    cursor: pointer;
    color: #222;
}

header form {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.myButton {
	box-shadow: 0px 10px 14px -7px #276873;
	background:linear-gradient(to bottom, #599bb3 5%, #408c99 100%);
	background-color:#599bb3;
	border-radius:8px;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:14px;
	font-weight:bold;
	padding:5px 50px;
	text-decoration:none;
	text-shadow:0px 1px 0px #3d768a;
}
.myButton:hover {
	background:linear-gradient(to bottom, #408c99 5%, #599bb3 100%);
	background-color:#408c99;
}
.myButton:active {
	position:relative;
	top:1px;
}


header .barra-busqueda {
    width: 70%;
    height: 40px;
    line-height: 40px;
    background: white;
    padding: 0 20px;
    border-radius: 100px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-family: 'Merienda', cursive;
}

header .categorias {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

header .categorias a {
    color: #989898;
    margin: 10px 20px;
    font-size: 18px;
    font-weight: 700;
}

header .categorias a.activo {
    color: #000;
    margin: 10px 20px;
    font-size: 18px;
    font-weight: 700;
}
.header{padding:40px 0;display:flex;justify-content:space-between;align-items:center}
.header__logo{text-transform:uppercase;font-size:32px;font-weight:700}
.header__menu{display:flex;gap:20px}
.header__link{color:#000}
.header__link a.activo {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0,.9);
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.header__link:hover{text-decoration:underline}
.breadcrumbs{display:flex;align-items:center;gap:10px;margin-bottom:20px}
.breadcrumbs__svg{height:10px;width:10px;color:#707070}
.breadcrumbs__link{color:#707070;font-size:14px}
.breadcrumbs__link:hover{text-decoration:underline}
.breadcrumbs__active{font-size:14px;text-decoration:underline;color:#000}

/* Grid */
.grid {
    position: relative;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s linear 0.5s;
}

.grid.imagenes-cargadas {
    opacity: 1;
}

.grid .item {
    position: absolute;
    display: block;
    padding: 0;
    margin: 10px;
    width: calc(25% - 20px);
    /*width: calc(33.33333% - 20px);*/
}

.grid .item-contenido {
    position: relative;
    
}

.grid .item img {
    width: 100%;
    cursor: pointer;
    vertical-align: top;
}

/* Overlay*/

.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0,.9);
    width: 100%;
    height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.producto__btn-carrito{height:50px;background:#000; margin-top: 30px; font-size:16px;font-family:"Rubik",sans-serif;font-weight:600;border-radius:5px;color:#fff;cursor:pointer;border:none;padding:10px 30px;transition:.3s ease all}
.producto__btn-carrito:hover{background:#199a28}

.overlay.activo {
    display: flex;
}

.overlay img {
    max-width: 100%;
}

.overlay .descripcion {
    display: inline-block;
    background-color: silver;
    padding: 20px;
    text-align: center;
    margin-top: 5px;
    border-radius: 10px;
    max-width: 100%;
}

.overlay .monto {
    display: inline-block;
    background-color: silver;
    padding: 20px;
    text-align: center;
    margin-top: 5px;
    border-radius: 10px;
    max-width: 100%;
}
/* .overlay .contenedor-img {
    display: none;
}
.overlay .overlay-info {
    display: none;
} */
.overlay-info.nover{
    display: none;
}

.contenedor-img {
    position: relative;
}

.overlay #btn-cerrar-popup {
    background: none;
    font-size: 20px;
    color: #fff;
    border: none;
    cursor: pointer;
    position: absolute;
    right: -20px;
    top: -20px;
}
#btn-cerrar-popup.nover {
    display: none;
}

.boton.cinco span {
	transition: .4s ease-in-out all;
	position: absolute;
	left: 30%;
}

.boton.cinco .icono {
	display: flex;
	align-items: center;
	position: absolute;
	z-index: 2;
	left: -40px;
	transition: .3s ease-in-out all;
	opacity: 0;
}

.boton.cinco svg {
	color: #fff;
	width: 45px;
	height: 45px;
    margin-top: 13px;
}

.boton.cinco:hover {
	background: #2f9b05;
}
.boton.cinco.nover {
	display: none;
}

.boton.cinco:hover .icono {
	left: calc(100% - 50px);
	opacity: 1;
}

.boton.cinco:hover span {
	left: 20px;
}

/* .boton.cinco.inactivo {
	display: none;
} */

.boton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
    margin-top: 40px;
	width: 32%;
	height: 45px;
	background: #141414;
	color: #fff;
	font-family: 'Arial', sans-serif;
	font-size: 16px;
	font-weight: 500;
	border: none;
	cursor: pointer;
	text-transform: uppercase;
	transition: .3s ease all;
	border-radius: 5px;
	position: relative;
	overflow: hidden;
}

.boton span {
	position: relative;
    align-items: center;
    justify-content: center;
    text-align: center;
	z-index: 2;
	transition: .3s ease all;
}
.producto__contenedor-propiedad{margin-bottom:20px}
.producto__propiedad{font-size:12px;margin-bottom:5px}
.producto__btn-cantidad{background:#f5f5f5;padding:10px 15px;border-radius:5px;border:none;cursor:pointer;font-weight:700;height:40px}
.producto__cantidad{height:40px;border:none;text-align:center;width:50px;font-size:16px; border-radius: 50px;font-family:"Rubik",sans-serif; color: white; background-color: #000;}
.producto__cantidad:focus{outline:none}

.notificacion{background:#fff;box-shadow:rgba(149,157,165,.2) 0px 8px 24px;border-radius:10px;padding:20px;position:fixed;right:-200px;bottom:40px;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;transition:.3s ease-in all;opacity:0}
.notificacion.notificacion--active{right:40px;opacity:1}
.notificacion__titulo{font-size:14px;font-weight:600}
.notificacion__thumb{width:100px;border-radius:5px}
.notificacion__link{font-size:14px;text-decoration:underline;font-weight:600;color:#000}
.notificacionStock{background:#fff;box-shadow:rgba(149,157,165,.2) 0px 8px 24px;border-radius:10px;padding:20px;position:fixed;right:-200px;bottom:40px;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;transition:.3s ease-in all;opacity:0}
.notificacionStock.notificacion--active{right:40px;opacity:1}
.notificacion__titulo{font-size:14px;font-weight:600}
.notificacion__thumb{width:100px;border-radius:5px}
.notificacion__linkStock{font-size:14px;text-decoration:underline;font-weight:600;color:#000}

.carrito{display:none}
.carrito.carrito--active{display:block}
.carrito__overlay{position:fixed;width:100vw;height:100vh;top:0;left:0;background:rgba(68,68,68,.7);display:flex;justify-content:center}
.carrito__contenedor{margin-top:40px;border-radius:10px;width:90%;max-width:550px}
.carrito__header{padding:20px;background:#f3f5f7;border-radius:10px 10px 0 0;display:flex;justify-content:space-between}
.carrito__titulo{font-size:24px;font-weight:600}
.carrito__btn-cerrar{background:none;border:none;cursor:pointer;color:#2b2b2b;transition:.3s ease all}
.carrito__btn-cerrar:hover{color:#000}
.carrito__body{background:#fff;padding:20px;display:flex;flex-direction:column;gap:20px}
.carrito__aviso-sin-productos{text-align:center;display:none}
.carrito--vacio .carrito__aviso-sin-productos{display:block}
.carrito__producto{display:flex;justify-content:space-between;gap:20px;padding-bottom:20px;border-bottom:1px solid #f3f5f7}
.carrito__producto-info{display:flex;gap:20px;align-items:center}
.carrito__thumb{width:65px;border-radius:5px;vertical-align:top}
.carrito__producto-nombre{font-weight:600;margin-bottom:5px}
.carrito__producto-cantidad{font-weight:normal}
.carrito__producto-propiedades{display:flex;gap:10px;color:#707070;font-size:14px;text-transform:capitalize}
.carrito__producto-contenedor-precio{display:flex;flex-direction:column;align-items:end;justify-content:center}
.carrito__btn-eliminar-item{background:none;border:none;cursor:pointer;margin-bottom:10px;color:#dfdfdf;transition:.3s ease all}
.carrito__btn-eliminar-item:hover{color:#000}
.carrito__producto-precio{font-size:16px}
.carrito__footer{padding:20px;background:#f3f5f7;border-radius:0 0 10px 10px}
.carrito__contenedor-total{display:flex;justify-content:space-between}
.carrito__contenedor-btn-regresar{display:none;justify-content:center}
.carrito--vacio .carrito__contenedor-total{display:none}
.carrito--vacio .carrito__contenedor-btn-regresar{display:flex}
.carrito__btn-regresar{background:#000;padding:15px 30px;color:#fff;font-size:18px;border:none;cursor:pointer;font-family:"Rubik",sans-serif;transition:.2s ease all;border-radius:5px}
.carrito__label{font-size:14px;margin-bottom:5px}
.carrito__total{font-size:24px;font-weight:600}
.carrito__btn-comprar{background:#000;padding:15px 30px;color:#fff;font-size:18px;border:none;cursor:pointer;font-family:"Rubik",sans-serif;transition:.2s ease all;border-radius:5px}
.carrito__btn-comprar:hover{background:#199a28}
/*  Footer  */

footer .redes-sociales {
    display: flex;
    align-content: center;
    justify-content: center;
    padding: 20px;
    flex-wrap: wrap;    
}

footer .redes-sociales a {
    display: block;
    width: 60px;
    height: 60px;
    background: #000;
    color: #fff;
    margin: 20px;
    text-align: center;
    border-radius: 100px;
    transition: .3s ease all;   
}

footer .redes-sociales .twitter {background: #1da1f2;}
footer .redes-sociales .facebook {background: #3b5998;}
footer .redes-sociales .instagram {background: #c13584;}

footer .redes-sociales a i {
    font-size: 20px;
    line-height: 60px;
}

footer .contenedor-icono:hover a {
    animation: icono .5s ease;    
}

@keyframes icono {
    from {
        transform: rotate3d(0,0,0,0);
    }
    to {
        transform: rotate3d(0,1,0, 360deg);
    }
}

footer .creado-por {
    margin-bottom: 40px;
    text-align: center;
    font-size: 14px;
    color: #c13584;
}

footer .creado-por a {
    color: #000;
}

footer .creado-por a:hover {
    text-decoration: underline;
}

/*  mediaqueries*/

@media screen and (max-width: 700px) {
    .grid .item {
        width: calc(50% - 20px);
    }

    header .barra-busqueda {
        width: 100%;
    }
}

/*bibliotecas usadas*/
/*https://fontawesome.com/v5.15/icons/instagram?style=brands*/ /*admin.mipag font0256*/
/*https://github.com/haltu/muuri#table-of-contents*/
/*https://www.youtube.com/watch?v=42T31laI9Qs*/
/*https://fonts.google.com/specimen/Merienda?query=meri*/