.container-adv {
  display: none;
}

.container-adv.show {
  display: block;
}

.container-adv .banner-slide {
  display: none;
}

.container-adv .banner-slide.active {
  display: block;
}

/* Mobile sticky advertisement at bottom */
@media only screen and (max-width: 768px) {
  .container-adv.show.sticky-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 8px;
    box-sizing: border-box;
  }

  .container-adv.show.sticky-bottom .banner-slide.active {
    display: block;
    text-align: center;
    position: relative;
  }

  .container-adv.show.sticky-bottom .banner-slide.active img {
    max-width: 100%;
    height: auto;
    max-height: 100px;
  }

  /* Close button ở ngoài cùng bên phải */
  .container-adv.show.sticky-bottom .close-btn {
    position: absolute;
    top: -5px;
    right: -5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    font-weight: bold;
  }

  .container-adv.show.sticky-bottom .close-btn:hover {
    background: rgba(0, 0, 0, 0.9);
  }

  footer.sticky-bottom {
    padding-bottom: 100px;
  }
}
