/* Overlay for dimming background */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998; /* Ensure it's behind the message box */
  }
  
  /* Pop-up Message Box */
  .message-box {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    z-index: 999; /* Ensure it's above the overlay */
    animation: slideUp 0.3s ease-out;
  }
  
  .message-box-content {
    padding: 40px;
    position: relative;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 44px;
    cursor: pointer;
  }
  
  .product-info {
    background: rgb(223, 253, 217);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .product-info img {
    border-radius: 10px;
    max-width: 150px;
    max-height: 150px;
  }
  
  
.message-box input[type="email"] {
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-family: inherit;
}

.message-box textarea {
  width: 100%;
  height: 200px;
  margin: 10px 0;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-family: inherit;
}

.send-btn {
  align-self: flex-end;
  background-color: green;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: .2s;
}


.send-btn:hover {
 
  background-color: rgb(0, 0, 0);
  color: white;
  
}
  
  @keyframes slideUp {
    from {
      transform: translate(-50%, 100%);
    }
    to {
      transform: translate(-50%, -50%);
    }
  }
  