:root {
    --dbb-ad-bg: transparent;
    --dbb-ad-label-color: #999;
    --dbb-ad-label-size: 11px;
    --dbb-ad-margin: 24px auto;
    --dbb-ad-radius: 4px;
    --dbb-anchor-height: 60px;
    --dbb-overlay-z: 99999;
}

.dbb-ad-wrap {
    display: block;
    text-align: center;
    margin: var(--dbb-ad-margin);
    overflow: hidden;
}

.dbb-ad-label {
    display: block;
    font-size: var(--dbb-ad-label-size);
    color: var(--dbb-ad-label-color);
    text-align: center;
    margin-bottom: 4px;
    font-family: sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Header banner */
.dbb-ad-header {
    margin: 0 auto 16px;
}

/* Footer banner */
.dbb-ad-footer {
    margin: 16px auto 0;
}

/* Sidebar sticky */
.dbb-ad-sidebar-sticky {
    position: sticky;
    top: 80px;
}

/* Lazy load placeholder */
.dbb-ad-placeholder {
    min-height: 90px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--dbb-ad-radius);
}

.dbb-loading-text {
    font-size: 12px;
    color: #999;
    font-family: sans-serif;
}

/* Mobile Anchor Ad */
.dbb-ad-anchor {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: var(--dbb-overlay-z);
    background: #fff;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
    padding: 6px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dbb-ad-anchor-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #666;
    background: none;
    border: none;
    padding: 4px 8px;
    line-height: 1;
}

.dbb-ad-anchor-close:hover {
    color: #000;
}

/* Hide anchor ad on desktop */
@media (min-width: 768px) {
    .dbb-ad-anchor {
        display: none;
    }
}

/* Exit Intent Interstitial */
.dbb-ad-interstitial {
    position: fixed;
    inset: 0;
    z-index: var(--dbb-overlay-z);
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.dbb-ad-interstitial-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
    padding: 8px;
}

.dbb-ad-interstitial-close:hover {
    color: #ccc;
}

.dbb-ad-interstitial-content {
    max-width: 728px;
    width: 90%;
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    text-align: center;
}

/* Elementor widget placeholder in editor */
.dbb-ad-elementor-widget {
    min-height: 50px;
}
