/* ==========================
   Layout general
========================== */

.Contenedor {
  background-color: #ffffff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}



/* ==========================
   Navbar & encabezado
========================== */

.modo-oscuro {
  background-color: #121212;
  color: #e0e0e0;
}

#had {
  transition: background-color 0.3s;
}

.modo-oscuro #had,
.modo-oscuro #footer {
  background-color: #1E1E1E !important;
}

.modoOscuroIcon {
  height: 65px;
  position: absolute;
  right: 110px;
  cursor: pointer;
}

/* ==========================
   Banner y destacados
========================== */

.imagen1 {
  width: 100%;
  height: auto;
  max-height: 400px;
}

.contenedor1 {
  background-color: #d50000;
  height: 80px;
  color: #f5f5f5;
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  padding: 10px;
}

.modo-oscuro .contenedor1 {
  background-color: #121212;
}

/* ==========================
   Productos
========================== */


/* ==========================
   Categorías
========================== */


/* ==========================
   Editoriales
========================== */

.editoriales {
  height: 60px;
  width: 120px;
}

/* ==========================
   Carrito
========================== */

#tabla {
  width: 100%;
}

.modo-oscuro #tabla {
  background-color: #1E1E1E !important;
}

.modo-oscuro #tabla-carrito {
  background-color: #1E1E1E !important;
  color: #ffffff !important;
}

.modo-oscuro #tabla-carrito th {
  background-color: #1E1E1E !important;
  color: #fff !important;
}

.modo-oscuro #tabla-carrito td {
  border-color: #1E1E1E !important;
}

.modo-oscuro #footer{
   background-color: #1E1E1E !important;

}
.modo-oscuro #cardProducto{
   background-color: #1E1E1E !important;
}

#card{
height: 400px;
width:200px;
}

.correopng{
  height: 200px !important;
  width:400px !important;
}