.scanifypro-ad {
    position: relative;
    min-height: 100px;
    border-radius: 6px;
    overflow: hidden;
}

.scanifypro-ad-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: scanifypro-shimmer 1.5s infinite linear;
    border-radius: 6px;
    pointer-events: none;
}

/* Hide placeholder only when the slot is actually filled */
.scanifypro-ad ins[data-ad-status="filled"] + .scanifypro-ad-placeholder {
    display: none;
}

@keyframes scanifypro-shimmer {
    0%   { background-position:  200% 0; }
    100% { background-position: -200% 0; }
}
