/*
 * Epil: значки на главном фото страницы студии (assets/js/listing-badges.js) - как везде на сайте:
 * слева вверху статус (VIP, «Премиум»), справа вверху проверки в ряд в одном порядке («Рекомендуем»,
 * медлицензия, «Чистота и гигиена», «Проверенное оборудование»). Нижние углы - счётчик и увеличение темы.
 */
.epil-listing-badges {
    position: absolute;
    inset: 14px 14px auto;
    z-index: 5;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    pointer-events: none;
}

.epil-listing-badges__side {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.epil-listing-badges__side--left {
    flex: 0 0 auto;
}

.epil-listing-badges__side--right {
    flex: 1 1 auto;
    justify-content: flex-end;
    margin-left: auto;
}

.epil-lb {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 24px;
    padding: 0 10px 0 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 4px 12px rgba(15, 23, 42, .16);
    color: #374b5c;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    pointer-events: auto;
}

.epil-lb__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-style: normal;
}

.epil-lb__icon svg {
    width: 11px;
    height: 11px;
}

.epil-lb--vip {
    background: #facc15;
    color: #713f12;
}

.epil-lb--vip .epil-lb__icon {
    background: #fff7cc;
}

.epil-lb--premium .epil-lb__icon {
    background: #8b7ae6;
    color: #fff;
}

.epil-lb--recommended .epil-lb__icon {
    background: #22c55e;
    color: #fff;
}

.epil-lb--license .epil-lb__icon {
    background: #ffe4e6;
    color: #e11d48;
}

.epil-lb--hygiene .epil-lb__icon {
    background: #0ea5e9;
    color: #fff;
}

.epil-lb--equipment .epil-lb__icon {
    background: #7c3aed;
    color: #fff;
}

.epil-lb--choice .epil-lb__icon {
    background: #fff7cc;
    color: #f5b301;
}

/* Телефон: проверки - только кружки в ряд (подпись - по нажатию, badge-tips.js), статус - с текстом */
@media (max-width: 600px) {
    .epil-listing-badges {
        inset: 10px 10px auto;
    }

    .epil-listing-badges__side--right {
        flex-direction: row;
        gap: 4px;
    }

    .epil-listing-badges__side--right .epil-lb {
        width: 26px;
        padding: 0;
        justify-content: center;
    }

    .epil-listing-badges__side--right .epil-lb__text {
        display: none;
    }
}
