/* Estilos para el modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

/* Contenido del modal */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  max-width: 80%; /* Ancho máximo del modal */
  max-height: 80%; /* Altura máxima del modal */
  overflow: auto; /* Permitir desplazamiento */
  border-radius: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Centrar vertical y horizontalmente */
}
/* Fondo del modal */
.modal-background {
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: red;
}

/* Contenedor del modal */
.modal-container {
  position: fixed;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 800px;
  max-height: 90%;
  overflow-y: auto;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

/* Botón para cerrar el modal */
.close {
  color: #aaa;
  float: right;
  font-size: 12px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Estilos para hacer que el modal sea responsivo */
@media screen and (max-width: 768px) {
  .modal-content {
    max-width: 90%; /* Reducir el ancho máximo en pantallas pequeñas */
    max-height: 90%; /* Reducir la altura máxima en pantallas pequeñas */
    padding: 10px; /* Reducir el padding en pantallas pequeñas */
  }
}


/* Estilos para los campos de formulario */
form input[type="text"], form input[type="email"], form input[type="tel"], form input[type="password"], form textarea {
border-radius: 5px;
border: none;
padding: 10px;
margin-bottom: 15px;
width: 100%;
font-size: 1rem;
font-family: 'Roboto', sans-serif;
}

form input[type="text"]:focus, form input[type="email"]:focus, form input[type="tel"]:focus, form input[type="password"]:focus, form textarea:focus {
outline: none;
box-shadow: 0px 0px 5px #888;
}

button[type="submit"] {
background-color: #3498db;
border: none;
color: #fff;
cursor: pointer;
font-size: 1.2rem;
font-family: 'Roboto', sans-serif;
padding: 10px 20px;
border-radius: 5px;
}

button[type="submit"]:hover {
background-color: #2980b9;
}

/* Estilos para la imagen del producto */
.product-info img {
max-width: 100%;
height: auto;
margin-bottom: 20px;
border-radius: 5px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

/* Estilos para el título del producto */
.product-info h3 {
font-size: 1.5rem;
margin-bottom: 10px;
text-align: center;
}

/* Estilos para el precio del producto */
.product-info p {
font-size: 1.2rem;
text-align: center;
}

/* Estilos para el precio destacado del producto */
.product-info span {
font-weight: bold;
color: #ff9900;
}


.description {
  font-size: 16px;
  height: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
}

.h3_jean {
  font-size: 16px;
  height: 50px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.buy-button {
  margin: 20px 0;
}
.product p {
  margin-bottom: 10px;
}

.product button {
  margin-top: 10px;
}
.col-lg-3 {
  box-sizing: border-box;
}

.col-lg-3 img {
  max-width: 100%;
}
.product {
  width: 100%;
  max-width: 300px; /* Elige el ancho que desees */
  margin: 0 auto;
}
.product img {
  width: 100%;
  max-width: 300px; /* Elige el ancho que desees */
  height: auto;
}
