* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif; 
}

a {
  text-decoration: none;
  color: inherit;
  border: none;
  outline: none;
}

:root {
  /* Sidebar */
  --text-color: #777;
  --image-normal-color: #bbb;
  --image-hover-color: firebrick;
  --background-enlace-color: #c02858;
  --background-enlace-hover-color: #9d2349;
  --size-title-text: 1rem;
  --text-normal-size: 0.875rem;
  --text-price-size: 0.75rem;
}

.sidebar-container {
  position: fixed;    
  width: 100%;
  height: 100vh;
  top: 0;
  right: -100%;
  background-color: rgba(0, 0, 0, 0.2);  
}

.sidebar {
  position: absolute;
  width: 450px;
  height: 100%;
  top: 0;
  right: -450px;
  /* background-image: linear-gradient(to right, #00c6fb 0%, #005bea 100%); */
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}

/*Sidebar-container en toda la ventana*/
.sidebar-container--toggle {
  z-index: 99;
  right: 0;
}

.sidebar--active {
  position: absolute;
  right: 0;
}


.cabecera {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid rgba(100, 100, 100, 0.3);
  color: var(--text-color);
  font-size: var(--size-title-text);
}

.cabecera__title {
  font-size: inherit;
}

.productos {
  display: flex;
  flex-direction: column;
}

.producto {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-color);
  list-style: none;
  padding: 1rem 0.8rem;
  border-bottom: 1px solid rgba(100, 100, 100, 0.3);
  text-align: center;  
}

.boton--abrir-sidebar {
  /*position: fixed;*/
  right: 600px;
  top: 20px;
  cursor: pointer;
}

.producto__imagen {
  display: inline-block;
  border-radius: 50%;
  object-fit: cover;
}

.producto__datos {
  display: inline-block;
  font-size: var(--text-normal-size);  
}

.producto__precio {  
  font-size: var(--text-price-size);
}

.cabecera__boton--cerrar-sidebar:hover {
  cursor: pointer;
  color: var(--image-hover-color);
}

.producto__eliminar {
  cursor: pointer;
  color: var(--image-normal-color);
}

.producto__eliminar:hover {
  cursor: pointer;
  color: var(--image-hover-color);
}

.total-precio {
  display: flex;  
  justify-content: center;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid rgba(100, 100, 100, 0.3);
  color: var(--text-color);
  font-size: var(--text-normal-size);
}

.total-precio__texto {
  font-size: inherit;
  margin-right: 0.3rem;
}

.total-precio__precio {
  font-size: inherit;
}

.carrito-enlace {
  text-align: center;
  text-decoration: none;
  color: var(--text-color);
  margin: 1rem;  
  font-size: var(--text-normal-size);
  background-color: var(--background-enlace-color);
}

.carrito-enlace:hover {
  background-color: var(--background-enlace-hover-color);
}

.carrito-enlace__boton {
  display: inline-block;
  padding: 1rem 0;
  width: 100%;  
  color: #fff;    
}

.sin-productos {
  /* display: none; */
  text-align: center;
  color: var(--text-color);
  font-size: var(--text-normal-size);
}