#wrapped-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.7); /* Darker overlay for better focus */
    z-index: 9999;
    display: none;
  }

#wrapped-gift-card-popup {
    position: fixed;
    width: 75%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 99999;
    display: none;
    overflow: hidden; /* Ensures no scrollbars are visible */
  }

  #wrapped-gift-card-popup-content {
    position: relative;
    max-height: 90vh; /* Limit height to 90% of the viewport height */
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow-y: auto; /* Allows vertical scrolling */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
    scrollbar-width: none; /* Firefox */
  }

  @media only screen and (max-width: 768px) {
    #wrapped-gift-card-popup {
      position: fixed;
      width: 100%;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      z-index: 99999;
      display: none;
      overflow: hidden; /* Ensures no scrollbars are visible */
    }

    #wrapped-gift-card-popup-content {
      position: relative;
      max-height: 100vh; /* Limit height to 100% of the viewport height */
      padding: 20px;
      background-color: white;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      overflow-y: auto; /* Allows vertical scrolling */
      -ms-overflow-style: none; /* Internet Explorer 10+ */
      scrollbar-width: none; /* Firefox */
    }
  }
  
  #wrapped-gift-card-popup-content::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari and Opera */
  }
  
  #wrapped-gift-card-popup-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  #wrapped-gift-card-popup-close:hover,
  #wrapped-gift-card-popup-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }
  