  /* Hidden class for closing */
  .ad-hidden {
    display: none !important;
  }
  /* Close Button */
  .ad-close-btn {
    position: absolute;
    top: 2px;
    right: 4px;
    width: 20px;
    height: 20px;
    background: #333333;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 13px;
    font-weight: bold;
    line-height: 18px;
    text-align: center;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
  }
  .ad-close-btn:hover {
    background: #000000;
  }


  /* Ad Label */
  .ad-label {
    font-size: 10px;
    color: #777777;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 14px;
    text-align: center;
    margin-bottom: 2px;
    width: 100%;
    font-family: sans-serif;
  }


  /* Desktop View: Screen > 768px */
  @media (min-width: 769px) {
    #mobile-ad-wrapper {
      display: none !important;
    }
    #desktop-ad-wrapper {
      position: fixed;
      bottom: 20px;
      right: 20px;
      width: 300px;
      background-color: #ffffff;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
      border-radius: 6px;
      padding: 16px 4px 4px 4px;
      z-index: 2147483647;
      display: flex;
      flex-direction: column;
      align-items: center;
      box-sizing: border-box;
    }
  }


  /* Mobile View: Screen <= 768px */
  @media (max-width: 768px) {
    #desktop-ad-wrapper {
      display: none !important;
    }
    #mobile-ad-wrapper {
      position: fixed;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 320px;
      max-width: 100%;
      background-color: #ffffff;
      box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
      border-top-left-radius: 6px;
      border-top-right-radius: 6px;
      padding: 14px 2px 2px 2px;
      z-index: 2147483647;
      display: flex;
      flex-direction: column;
      align-items: center;
      box-sizing: border-box;
    }
  }