/* Sticky footer container */
    #sticky_footer {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 90px;
      z-index: 9999;
      background-color: #fff;
      box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
      display: flex;
      justify-content: center;
      align-items: center;
      transition: transform 0.3s ease-in-out;
      transform: translateY(0); /* Initially visible */
    }

    #sticky_footer.hidden {
      transform: translateY(100%); /* Hide by moving out of view */
    }

    #sticky_footer .ad-content {
      width: 100%;
      max-width: 970px;
      height: 90px;
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
    }

    #sticky_footer .close-btn, #sticky_footer .reopen-btn {
      position: absolute;
      top: 10px;
      right: 10px;
      background: #f00;
      color: #fff;
      border: none;
      border-radius: 50%;
      width: 30px;
      height: 30px;
      cursor: pointer;
      font-size: 16px;
      text-align: center;
      line-height: 30px;
    }

    #sticky_footer .reopen-btn {
      top: -50px; /* Position the reopen button outside the footer */
      right: 20px;
      display: none; /* Hidden initially */
    }

    .hidden + .reopen-btn {
      display: block; /* Show reopen button when footer is hidden */
    }