.popup {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  position: fixed; 
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  z-index: 9999;
  align-items: center; /* Centrar verticalmente */
  justify-content: center; /* Centrar horizontalmente */
  overflow-x: hidden;
  overflow-y: auto;
  align-content: center;
}
    .popup__content {
      margin:auto;
      border-radius: 5px;
      z-index: 9999;
      /*
      width: 40%;
      height: 90%;
      */
      /*min-height: calc(100% - 3.5rem);*/
      max-width: 500px;
      align-items: center;
      /*
      display: flex;
      pointer-events: none;
      */
      width: auto;
      /**/
      /*
      overflow: auto;
      overflow-x:hidden;
      */
      padding: 0px;
      background-color: #efefef;
      color: black;
      box-sizing: border-box;
      position: relative;
      margin-top: 2rem;
      .close {
        position: absolute;
        right: 20px;
        top: 15px;
        width: 20px;
        display: block;
        color: #000;
        cursor: pointer;
        font-size: 1.2rem;
        font-weight: 700;
        line-height: 1;
        opacity: .5;
        text-shadow: 0 1px 0 #fff;        
        span {
          display: none;
          /*
          cursor: pointer;
          position: fixed;
          width: 20px;
          height: 3px;
          background: #099ccc;
          &:nth-child(1) {
            transform: rotate(45deg);
          }
          &:nth-child(2) {
            transform: rotate(135deg);
          }
          */
        }
      }
    }

    .popup__content___header {
      align-items: flex-start;
      background-color: #ffffff;
      border-bottom: 1px solid #dee2e6;
      border-top-left-radius: calc(.3rem - 1px);
      border-top-right-radius: calc(.3rem - 1px);
      display: flex;
      justify-content: space-between;
      padding: 1rem;
    }

    .popup__content___body {
      background-color: #efefef;
      border-radius: 0 0 5px 5px;
      padding: 25px;
    }    
  
  .btn-cotizar {
    background: transparent;
    color: white;
    margin: 0px;
    cursor: pointer;
    border: none;
    font-weight: 500;
    font-size: 1.25rem;
  }

  .btn-cotizar:hover {
    text-decoration: underline; 
  }
  .popup__content .wpcf7-text{
    width: 100% !important;
  } 
  .popup__content .wpcf7-number{
    width: 100% !important;
  } 
  .popup__content .wpcf7-select{
    width: 100% !important;
  } 
  .popup__content .wpcf7-submit{
    margin-top: 1rem;
  } 

  .titleForm {
    font-weight: 500;
    margin-bottom:0px;
    text-transform: uppercase;
  }

@media (max-width: 768px) {
    .popup__content {
        width: 90% !important;
        height: 100% !important;
    }
}

.popup-open {
  display: block!important;
}