@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/mukta/v14/iJWHBXyXfDDVXbFqj1ma.ttf) format('truetype');
}
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/mukta/v14/iJWKBXyXfDDVXYnG.ttf) format('truetype');
}
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/mukta/v14/iJWHBXyXfDDVXbEyjlma.ttf) format('truetype');
}
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/mukta/v14/iJWHBXyXfDDVXbEeiVma.ttf) format('truetype');
}
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/mukta/v14/iJWHBXyXfDDVXbF6iFma.ttf) format('truetype');
}
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/mukta/v14/iJWHBXyXfDDVXbFmi1ma.ttf) format('truetype');
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Mukta', sans-serif;
}
h1,
h2,
h3,
h5,
h6,
p,
a,
input,
textarea,
ul {
  margin: 0;
  padding: 0;
}
ul {
  list-style-type: none;
}
a {
  text-decoration: none;
}
.wrapper {
  display: grid;
  grid-template-columns: 1fr 4fr;
  background-color: #198754;
}
aside {
  padding: 2rem;
  padding-right: 0;
  color: white;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.logo {
  font-weight: 400;
  font-size: 2rem;
}
.menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.boton-menu {
  background-color: transparent;
  border: 0;
  color: white;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  padding: 1rem;
  width: 100%;
}
.boton-menu.active {
  background-color: white;
  color: #198754;
  width: 100%;
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
}
.bi-hand-index-fill,
.bi-hand-index-thumb {
  transform: rotateZ(90deg);
}
.boton-carrito {
  margin-top: 2rem;
}
.numerito {
  background-color: white;
  color: #198754;
  padding: 0.01rem 0.4rem 0.01rem 0.4rem;
  border-radius: 0.25rem;
}
.boton-carrito.active .numerito {
  background-color: #198754;
  color: white;
}
.footer-texto {
  color: #e2e2e2;
  font-size: 0.85rem;
}
main {
  background-color: white;
  margin: 1rem;
  margin-left: 0;
  border-radius: 2rem;
  padding: 3rem;
}
.titulo-principal {
  color: #198754;
  margin-bottom: 2rem;
}
.contenedor-productos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.producto-imagen {
  max-width: 100%;
  border-radius: 1rem;
}
.producto-detalles {
  background-color: #198754;
  color: white;
  padding: 0.5rem;
  border-radius: 1rem;
  margin-top: -2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.producto-titulo {
  font-size: 1rem;
}
.producto-agregar {
  border: 0;
  background-color: white;
  color: #198754;
  padding: 0.4rem;
  text-transform: uppercase;
  border-radius: 1rem;
  cursor: pointer;
  border: 2px solid white;
  transition: background-color 0.5s, color 0.2s;
}
.producto-agregar:hover {
  background-color: #198754;
  color: white;
}
.contenedor-carrito {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.carrito-vacio,
.carrito-comprado {
  color: #198754;
}
.carrito-productos {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.carrito-producto {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #e2e2e2;
  border-radius: 1rem;
  color: #198754;
  padding: 0.5rem;
  padding-right: 1.5rem;
}
.carrito-producto-imagen {
  width: 4rem;
  border-radius: 1rem;
}
.carrito-producto small {
  font-size: 0.75rem;
}
.carrito-producto-eliminar {
  border: 0;
  background-color: transparent;
  color: #95181D;
  cursor: pointer;
}
.carrito-acciones {
  display: flex;
  justify-content: space-between;
}
.carrito-acciones-vaciar {
  border: 0;
  background-color: #e2e2e2;
  padding: 1rem;
  border-radius: 1rem;
  color: #198754;
  text-transform: uppercase;
  cursor: pointer;
}
.carrito-acciones-derecha {
  display: flex;
}
.carrito-acciones-total {
  display: flex;
  align-items: center;
  background-color: #e2e2e2;
  padding: 1rem;
  color: #198754;
  text-transform: uppercase;
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
  gap: 1rem;
}
.carrito-acciones-comprar {
  border: 0;
  background-color: #198754;
  padding: 1rem;
  color: #e2e2e2;
  text-transform: uppercase;
  cursor: pointer;
  border-top-right-radius: 1rem;
  border-bottom-right-radius: 1rem;
}
.header-mobile {
  display: none;
}
.close-menu {
  display: none;
}
.disabled {
  display: none;
}
/* Responsive */
@media screen and (max-width: 850px) {
  .contenedor-productos {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media screen and (max-width: 675px) {
  .contenedor-productos {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 600px) {
  .wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  aside {
    position: fixed;
    z-index: 9;
    background-color: #198754;
    left: 0;
    box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.75);
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
  }
  .aside-visible {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
  main {
    margin: 1rem;
    margin-top: 0;
    padding: 2rem;
  }
  .contenedor-productos {
    grid-template-columns: 1fr 1fr;
  }
  .header-mobile {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .header-mobile .logo {
    color: #e2e2e2;
  }
  .open-menu,
  .close-menu {
    background-color: transparent;
    color: #e2e2e2;
    border: 0;
    font-size: 2rem;
    cursor: pointer;
  }
  .close-menu {
    display: block;
    position: absolute;
    top: 0.1rem;
    left: 0.1rem;
  }
  .carrito-producto {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 0.5rem;
  }
  .carrito-producto-subtotal {
    display: none;
  }
  .carrito-acciones {
    flex-wrap: wrap;
    row-gap: 1rem;
  }
}
@media screen and (max-width: 400px) {
  .contenedor-productos {
    grid-template-columns: 1fr;
  }
}
