/* ═══════════════════════════════════════════════════════════════
   ESSIBLESS — Плавающая кнопка перехода в Telegram
   Palette: --black #000, --gold #C6A776, --white #FFF
   ═══════════════════════════════════════════════════════════════ */

.ess-telegram-fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 500; /* ниже подложки cookie-баннера (9999/10000) — скрыта, пока согласие не дано */
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border: 1px solid rgba(198, 167, 118, 0.55);
    border-radius: 50%;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
    color: #fff;
    transition: bottom 0.3s ease, background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.ess-telegram-fab:hover {
    background: #C6A776;
    border-color: #C6A776;
    transform: translateY(-3px);
}

.ess-telegram-fab:hover svg {
    fill: #000;
}

.ess-telegram-fab svg {
    width: 26px;
    height: 26px;
    fill: #C6A776;
    transition: fill 0.25s ease;
    pointer-events: none;
}

.ess-telegram-fab:active {
    transform: translateY(0) scale(0.96);
}

/* Поднимаем кнопку выше, пока внизу экрана показан cookie-баннер — чтобы не перекрывались */
.ess-telegram-fab.ess-fab-raised {
    bottom: 110px;
}

@media (max-width: 768px) {
    .ess-telegram-fab {
        right: 16px;
        bottom: 16px;
        width: 50px;
        height: 50px;
    }

    .ess-telegram-fab svg {
        width: 23px;
        height: 23px;
    }

    .ess-telegram-fab.ess-fab-raised {
        bottom: 150px;
    }
}
