/*GENERALES*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #e8e8e8;
  font-family: "proxima-nova", sans-serif;
}

.negrita {
  font-weight: bold;
}

h2 {
  font-weight: bold;
}

.rojo {
  color: red;
}

.azul {
  color: blue;
}

.negro {
  color: black;
}

.gris {
  color: grey;
}

i span {
  font-size: 0;
}

i {
  vertical-align: middle;
}

#boton-volver {
  color: white;
  border: 1px solid white;
  background-color: black;
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  border-radius: 35px;
  z-index: 9999;
}

#boton-volver:hover {
  background-color: #2b7cff;
  border: #2b7cff;
}

#boton-volver:hover i {
  color: black;
}

/*HEADER + NAV*/
header {
  background-color: #002163;
}

header a {
  font-size: 0;
}

#logo-mmg,
.logo {
  background-image: url("../img/logo2.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  font-size: 0;
  width: 200px;
  height: 100px;
}

h1 { 
  display: none;
}

header a,
header li,
h1 {
  color: white !important;
  font-weight: bold;
}

nav i {
  font-size: 1em;
}

nav li {
  font-size: 1.2em;
}

nav ul li a:hover {
  color: #2b7cff !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-toggler:focus,
.navbar-toggler:active {
  border-color: white;
}

.perfil{
  background-color: #f8f9fa !important;
  color: #000 !important;
  /* border-radius: 10px; */
}

.perfil:hover{
  background-color: #2b7cff !important;
  color: #f8f9fa !important; 
}

.celeste {
  background-color: #1f66d6;
}

.celeste:hover {
  color: #001545 !important;
  background-color: #e8e8e8;
}

.texto-blanco {
  color: #e8e8e8 !important;
}

.boton-gris {
  background-color: #343a40;
  color: #e8e8e8;
}

.boton-gris:hover {
  background-color: #23272b;
  color: #e8e8e8;
}


/*modal*/
.modal-alumnos {
  display: none; 
  position: fixed; 
  z-index: 1; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  overflow: auto;
  padding: 2em;
}

.modal-alumnos:target {
  display: flex;
  animation: fadeIn 1s;
}

.sin-scroll {
  overflow: hidden !important;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.contenido-modal {
  background-color: #fff;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  border-radius: 10px;
  position: relative;
}

.mailAlumno{
  color: rgba(13,110,253,1) !important;
  font-size: medium !important;
  text-decoration: none !important;
}

.cerrar {
  color: black !important;
  text-decoration: none;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 1.5em;
  font-weight: bold;
  cursor: pointer;
}

.cerrar:hover,
.cerrar:focus {
  color: #000;
}

.fila {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
}

.columna {
  flex: 1;
  padding: 10px;
  text-align: center;
}

.columna img {
  max-width: 100%;
}

/*que ofrecemos*/
.izq-ofrecemos {
  order: 1;
}

.der-ofrecemos {
  order: 2;
}


/*PRODUCTOS*/

.backBlanco{
  background-color: whitesmoke;
  border-radius: 8px;
  padding: 1em;
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
  color: whitesmoke;
}

.fuenteNegra {
  color: #002163;
  /* font-size: calc(0.7rem + .6vw) !important; */
}

#productos .alert {
  margin: 2em 0;
}

#productos div {
  margin: 0 0 1em 0;
}

#productos img {
  width: 100%;
  margin: 1em 0 !important;
  display: block;
  margin: auto;
}

.colores-disponibles {
  display: inline;
}

.div-botones {
  display: block;
  text-align: center;
}

.div-botones button a {
  display: inline;
  margin: 0 0.5em;
}

.botonCarrito{
  background-color: lightgray !important;
  padding: 6px;
  border-radius: 9px;
  cursor: pointer;
}

#mas-productos {
  padding: 1em;
  font-weight: bold;
  margin: auto;
  display: block;
  font-size: 1.3em;
  text-decoration: none;
  text-align: center;
  color: #2b7cff;
  transition: color ease-in-out 0.2s;
}

#mas-productos:hover {
  color: black;
}

#flecha-mas-productos {
  margin: 0 0.5em;
  font-size: 1.3em;
}

/* .producto button {
  border: none;
  background-color: transparent;
  margin: 1em 1em 1em 0;
  transition: color ease-in-out 0.2s;
  font-weight: bold;
  color: #2b7cff
} */

.producto i {
  margin-left: 0.5em;
}

/* .producto button:hover {
  color: black;
} */

.price {
  color: green;
  /* font-size: calc(1.3rem + .6vw)!important; */
}

.descuento {
  text-decoration: line-through;
  margin-right: 0.5em;
}

.two-lines {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* line-clamp: 2; */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cuadro{
  /* aspect-ratio: 1 / 1; */
}

.img-producto {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
}


/*OPINIONES*/
.card-img-top {
  width: 60%;
  border-radius: 50%;
  margin: 0 auto;
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
}

.reseña {
  padding: 0px !important;
}

.reseña li {
  list-style-type: none;
  display: inline;
  padding: 0;
}

.reseña i,
.text-body-secondary {
  color: #2b7cff !important;
}

.card {
  text-align: center;
  padding: 1em;
  border-radius: 2em;
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
}

.card-title {
  font-size: 1.25rem;
  font-weight: bold;
}

.card-subtitle {
  font-size: 1rem;
}

/*CONTACTO*/
textarea {
  resize: none;
}

.boton-enviar-form {
  width: 80px;
  height: 42px;
  background-color: black;
  color: white;
  border-radius: 10px;
  font-weight: bold;
  text-transform: uppercase;
  transition: all ease-in-out 0.2s;
}

.boton-enviar-form:hover {
  background-color: #2b7cff;
  border: none;
}

label {
  font-weight: bold;
}

/*FOOTER*/
footer {
  background-color: black;
  color: white;
}

footer h3 {
  font-weight: bold;
}

footer ul {
  padding: 0;
}

footer li {
  list-style: none;
}

footer ul:first-of-type li {
  margin-top: 1em;
}

footer ul:last-of-type li {
  margin-right: 1em;
}

.redes li a, .links-footer a {
  font-size: 2em;
  color: white !important;
  transition: color ease-in-out 0.2s;
  
}

.links-footer a {
  font-size: 1em;
}

.links-footer a {
  text-decoration: none;
}

.redes li a:hover, .links-footer a:hover {
  color: #2b7cff !important;
}

/*modal prods*/
.alerta {
  margin-right: 0.5em;
}

@media (max-width: 991px) {
  .contenido-modal {
      width: 90%;
  }

  .columna {
      flex: 100%;
  }

  .boton-enviar-form {
    margin: 1.5em auto 2.5em auto !important;
    display: block;
    text-align: center;
    width: 100px;
    height: 60px;
    font-size: 1.1em;
  }

  /*que ofrecemos*/
.izq-ofrecemos {
  order: 2;
}

.der-ofrecemos {
  order: 1;
}

.fuenteNegra {
  font-size: calc(1.0rem + .6vw) !important;
}
}

@media (max-width: 768px) {
  .infoPrincipal{
    margin-top: 2em;
  }
}



/* Fix visual del dropdown */
/* Estado normal: oculto */
.dropdown-menu {
  display: none;             /* deja que arranque escondido */
  position: absolute;
  min-width: 12rem;
  padding: 0.5rem 0;
  background-color: #fff;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: .25rem;
  color: #212529;
  z-index: 2000;
}

.dropdown-item {
  display: block !important;
  width: 100% !important;
  padding: 0.25rem 1rem !important;
  font-size: 1rem !important;
  color: #212529 !important;
  background-color: transparent !important;
  border: 0 !important;
  text-align: left !important;
}

.dropdown-item:hover {
  background-color: #f8f9fa !important;
  color: #000 !important;
}

/* Estado abierto */
.dropdown-menu.show {
  display: block;            /* ahora sí se muestra */
}

/*ESTILOS ESPECIFICOS*/
.main_black {
  background-color: black !important; 
}

.home {
  max-width: 100% !important;
}

.hero {
  width: 100% !important;
  padding: 0 !important;
}

.espacio-abajo {
  margin-bottom: 2em;
}

.price {
  font-size: calc(1.3rem + .6vw)!important;
}

.fuenteNegra {
  font-size: calc(0.7rem + .6vw);
}

/* Contacto */

#contacto .card h2,
#contacto .card h3 {
  color: #002163;
  margin-bottom: .75rem;
}

.btn-primary {
  background-color: #2b7cff;
  border-color: #2b7cff;
}
.btn-primary:hover {
  background-color: #1f66d6;
  border-color: #1f66d6;
}

#resumen-datos a {
  color: #2b7cff;
  text-decoration: none;
}
#resumen-datos a:hover {
  text-decoration: underline;
}

.subProd {
  font-size: large !important;
}

/* Galería de imágenes del producto */

.banner{
  width: 100% !important;
  background-color: #212529;
  /* position: absolute; */
}

.imagen-banner{
  width: 100% !important;
  height: auto !important;
  max-height: 500px !important;
  object-fit: contain !important;
  position: relative;
}

.imagen-banner img{
  width: 100% !important;
}

.sesion {
  background-color: #212529; /* Un gris claro para el fondo */
  display: flex;
  align-items: center;
  justify-content: center;
  /* min-height: 100vh; */
}

.login-container {
  max-width: 700px;
  width: 100%;
  padding: 20px;
}

.login-logo {
  max-width: 150px; /* Ajusta el tamaño del logo */
  height: auto;
}