/* Float Banner - плавающий баннер в правом нижнем углу */
.float-banner-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    height: 30vh;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
    pointer-events: none;
}

.float-banner-wrapper.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.float-banner-wrapper a {
    display: block;
    height: 100%;
}

.float-banner-wrapper img {
    height: 100%;
    width: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.float-banner-wrapper.no-shadow img {
    box-shadow: none;
    border-radius: 0;
}

.float-banner-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 28px;
    height: 28px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    font-size: 16px;
    line-height: 26px;
    text-align: center;
    cursor: pointer;
    color: #666;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: background 0.2s, color 0.2s;
    z-index: 1;
}

.float-banner-close:hover {
    background: #f44336;
    color: #fff;
    border-color: #f44336;
}

/* Мобильная адаптация */
@media (max-width: 576px) {
    .float-banner-wrapper {
        bottom: 10px;
        right: 10px;
        height: 25vh;
    }
}
