.sticky-ad-lightweight-container {
    box-sizing: border-box;
    left: 0;
    width: 100%;
    padding: 5px;
    transition: all 0.1s ease-in;
    z-index: 99999;
}

.sticky-ad-bottom {
    position: fixed;
    bottom: 2px;
    background-color: #fefefe;
    box-shadow: 0 -6px 18px 0 rgba(9, 32, 76, 0.1);
    height: var(--sticky-ad-desktop-height, 100px);
    overflow: hidden;
}

.sticky-ad-top {
    position: fixed;
    top: 0;
    background-color: #fff;
    height: var(--sticky-ad-desktop-height, 100px);
    box-shadow: 0 -6px 10px 5px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}
.admin-bar .sticky-ad-top {
    top: 32px;
}
@media screen and (max-width: 782px) {
    .sticky-ad-lightweight-container {
        height: var(--sticky-ad-mobile-height, 100px);
    }
    .admin-bar .sticky-ad-top {
        top: 46px;
    }
}

.sticky-ad-lightweight-container[hidden] { display: none !important; }
.sticky-ad-bottom { padding-bottom: max(5px, env(safe-area-inset-bottom)); }

/* Wrapper & Content */
.sticky-ad-wrap {
    text-align: center;
    margin: auto;
    height: 100%;
    width: 100%;
    position: relative;
}

.sticky-ad-content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    width: 100%;
    z-index: 1;
    overflow: hidden;
}

.sticky-ad-close {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    position: absolute;
    right: 5px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.8);
}

.sticky-ad-bottom .sticky-ad-close {
    top: 5px;
}

.sticky-ad-top .sticky-ad-close {
    bottom: 0px; right: 0px;
}

.sticky-ad-close img,
.sticky-ad-close svg,
.sticky-ad-close-btn,
.sticky-ad-close-btn svg {
    width: 30px !important;
    height: 30px !important;
    display: block;
    z-index: 999999 !important;
}

button.sticky-ad-close-btn {
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
}

.sticky-ad-close-btn:focus-visible {
    outline: 2px solid #1769e0;
    outline-offset: 2px;
}

.sticky-ad-close-text {
    display: block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #000;
}

/* Optional: Force images inside the ad content to scale properly if needed
.sticky-ad-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
*/
