/* Estilos para el Modal */
.modal-overlay {
  display: none; /* Oculto por defecto */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #f5f0f0;
  padding: 20px;
  border-radius: 10px;
  max-width: 850px;
  width: 90%;
  height: 50%;
  position: relative;
  animation: fadeIn 0.3s ease;
  
}

.close-modal {
  position: absolute;
  top: 5px;
  right: 20px;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  color: #fa1212;
}
#modal-title{
    margin-top: 2.5rem;
}
#modal-price{
    font-size: 1.8rem;
    font-weight: 800;
}
.modal-body {
  display: flex;
  text-align: center;
  gap: 20px;
  flex-wrap: wrap;
  height: 100%;
  width: 100%;
}

.modal-body img {
  max-width: 380px;
  width: 40%;
  border-radius: 8px;
  object-fit: cover;
}

.modal-text {
  flex: 1;
  min-width: 250px;
  height: 100%;
  width: 60%;
  
}


.product-btn{
    margin-top: 1.8rem;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}