
/* Estilo del botón */
button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    color: white;
    border-radius: 5px;
}

button:hover {
    background-color: #3C3633;
}

/* Estilos del modal */
.modal {
    display: none; /* Oculto por defecto */
    position: fixed; /* Fijo en la pantalla */
    z-index: 1; /* Por encima de otros elementos */
    left: 0;
    top: 0;
    width: 100%; /* Ancho completo */
    height: 100%; /* Altura completa */
    overflow: auto; /* Scroll si es necesario */
    background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro */
}
.modalContent {
    min-width: 100%;
    padding: 3%;
    justify-content: space-between;
}
img.modalImage {
    width: 100%;
}
li.product.d-flex {
    border: solid 1px gray;
    padding: 10%;
    justify-content: space-between;
    border-radius: 1vh;
}
.contentDetails {
    min-width: 55%;
    /*max-width: 55%;*/
    display: flex;
    flex-direction: column;
    gap: 3%;
    overflow: auto;
    padding: 2%;
    border-top: solid 0.2px gray;
}
.contentInfo {
    max-width: 40%;
    /* width: 30%; */
    display: flex;
    flex-direction: column;
}
.modalList {
    overflow: auto;
    gap: 1vh;
    display: flex;
    flex-direction: column;
    width: 22%;
    /* background-color: aqua; */
    padding: 3%;
    border: solid 1px gray;
    border-radius: 1vh;
}

/* Contenido del modal */
.modal-content {
    background-color: white;
    margin: 10% auto; /* 15% desde la parte superior y centrado horizontalmente */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Puede ajustar este ancho según sea necesario */
    min-width: 40vw; /* Ancho máximo */
    max-width: 45vw; /* Ancho máximo */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    /*min-height: 65vh;*/
}

/* Estilo de la X de cierre */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

#modalDescription{
    align-items: justify;
}

#modalImage{
    width: 100%;
    display: flex;
    justify-content: center;
}