/* ============================================
   TRUST BADGES — Mobile First
   Только иконки на мобильном, tooltip на hover на десктопе
   Иконки берём из локальной библиотеки плагина (Font Awesome)
   ============================================ */

.lc-trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: nowrap;
    padding: 18px 12px 8px;
    width: 100%;
    max-width: 100%;
}

.lc-badge {
    position: relative;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: rgba(226, 196, 142, 0.08);
    border: 1px solid rgba(226, 196, 142, 0.45);
    border-radius: 50%;

    cursor: default;
    flex-shrink: 0;

    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.lc-badge i {
    font-size: 15px;
    color: #E2C48E;
    line-height: 1;
}

/* Текст внутри .lc-badge — на мобильном НЕ показываем */
.lc-badge span {
    display: none;
}

/* Лёгкое "блестящее" свечение по умолчанию */
.lc-badge::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(248, 209, 137, 0.35), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.lc-badge:hover::before {
    opacity: 1;
}

/* ===== ДЕСКТОП: tooltip с текстом при наведении ===== */
@media (hover: hover) and (min-width: 768px) {
    .lc-trust-badges {
        gap: 32px;
        padding: 22px 16px 12px;
    }

    .lc-badge {
        width: 40px;
        height: 40px;
    }

    .lc-badge i {
        font-size: 17px;
    }

    .lc-badge:hover {
        background: rgba(226, 196, 142, 0.18);
        transform: translateY(-2px);
    }

    /* Tooltip: показываем span как подсказку */
    .lc-badge:hover span {
        display: block;
        position: absolute;
        bottom: calc(100% + 10px);
        left: 50%;
        transform: translateX(-50%);

        background: #0B1014;
        color: #E2C48E;
        border: 1px solid rgba(226, 196, 142, 0.5);
        border-radius: 8px;

        padding: 6px 12px;
        white-space: nowrap;
        font-size: 12px;
        font-weight: 500;
        line-height: 1;

        pointer-events: none;
        z-index: 10;
        animation: lcBadgeTooltip 0.2s ease forwards;
    }

    /* Стрелочка снизу tooltip'а */
    .lc-badge:hover span::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        border: 5px solid transparent;
        border-top-color: rgba(226, 196, 142, 0.5);
    }

    @keyframes lcBadgeTooltip {
        from { opacity: 0; transform: translateX(-50%) translateY(4px); }
        to   { opacity: 1; transform: translateX(-50%) translateY(0); }
    }
}

/* ===== Очень маленькие экраны: ещё компактнее ===== */
@media (max-width: 360px) {
    .lc-trust-badges {
        gap: 18px;
    }

    .lc-badge {
        width: 32px;
        height: 32px;
    }

    .lc-badge i {
        font-size: 13px;
    }
}
