/* Üst yatay banner — header üstü */
.site-top-banner {
    width: 100%;
    background: #0f172a;
    line-height: 0;
    overflow: hidden;
}

.site-top-banner__link {
    display: block;
    line-height: 0;
}

.site-top-banner__img {
    display: block;
    width: 100%;
    max-height: 96px;
    height: auto;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 720px) {
    .site-top-banner__img {
        max-height: 72px;
    }
}

/* Popup reklam */
.site-ad-popup {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.site-ad-popup[hidden] {
    display: none !important;
}

.site-ad-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    cursor: pointer;
}

.site-ad-popup__dialog {
    position: relative;
    z-index: 1;
    max-width: min(560px, 92vw);
    max-height: 88vh;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
    animation: siteAdPopupIn 0.28s ease-out;
}

@keyframes siteAdPopupIn {
    from { opacity: 0; transform: translateY(12px) scale(0.97); }
    to { opacity: 1; transform: none; }
}

.site-ad-popup__close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.72);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.site-ad-popup__close:hover {
    background: rgba(15, 23, 42, 0.9);
}

.site-ad-popup__media {
    display: block;
    line-height: 0;
}

.site-ad-popup__img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    background: #f8fafc;
}

/* BC detay sağ sidebar slayt — görsel doğal boyutta */
.bc-ad-slider {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--bc-border, #e2e8f0);
    background: #f1f5f9;
    width: 100%;
    line-height: 0;
}

.bc-ad-slider__track {
    position: relative;
    width: 100%;
}

.bc-ad-slider__slide {
    display: none;
    width: 100%;
}

.bc-ad-slider__slide.is-active {
    display: block;
}

.bc-ad-slider__slide a {
    display: block;
    line-height: 0;
}

.bc-ad-slider__slide img {
    display: block;
    width: 100%;
    height: auto;
}

.bc-ad-slider__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 6px;
    pointer-events: none;
}

.bc-ad-slider__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.25);
    pointer-events: auto;
    cursor: pointer;
}

.bc-ad-slider__dot.is-active {
    background: #fff;
}
