.tcb-badge-container {
    display: flex;
    flex-direction: column;
    margin: 5px 0 10px 0;
    width: 100%;
}

/* Fila de Nombre y Estado */
.tcb-name-status-row {
    display: inline-flex;
    align-items: center;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.tcb-profile-name {
    font-size: 16px;
    font-weight: 700;
    color: #333333;
    line-height: 1.2;
}

.tcb-separator {
    margin: 0 6px;
    color: #888888;
    font-weight: 600;
}

/* Indicador Activa (En Línea) */
.tcb-status-badge {
    font-size: 12px;
    color: #2ecc71;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tcb-pulse {
    width: 8px;
    height: 8px;
    background-color: #2ecc71;
    border-radius: 50%;
    margin-right: 5px;
    animation: tcb-pulse-anim 1.5s infinite;
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
}

@keyframes tcb-pulse-anim {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 5px rgba(46, 204, 113, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

/* Ciudad */
.tcb-city-badge {
    font-size: 13px;
    color: #888888;
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
    margin-bottom: 8px;
}

.tcb-city-badge .tcb-icon {
    font-size: 14px;
    margin-right: 4px;
    color: #e74c3c;
}

.tcb-city-badge .tcb-text {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Botón WhatsApp */
.tcb-wa-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: #ffffff !important;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background-color 0.2s ease;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    cursor: pointer;
    z-index: 10;
    position: relative;
}

.tcb-wa-button:hover {
    background-color: #128C7E;
}

/* Fix Top 10 4K Titles */
.tcb-white-titles-section .kw-details-title,
.tcb-white-titles-section .kw-details-title a {
    color: #ffffff !important;
}

/* Ocultar nombre duplicado en Top 10 4K y Top Escorts */
.tcb-white-titles-section .tcb-profile-name,
.tcb-white-titles-section .tcb-separator {
    display: none !important;
}

/* =========================================================
   FIX GRILLA: huecos a la izquierda en la cuadrícula de perfiles
   =========================================================
   Kallyas maqueta ul.products con float:left. Cuando una tarjeta
   es más alta que su vecina (ej: ciudad que ocupa 2 líneas), la
   siguiente se engancha al borde del float más alto y deja un
   hueco a la izquierda. CSS Grid coloca cada tarjeta en su propia
   celda, así que el hueco no puede producirse.
   Se excluyen los carruseles (.spp-list / .js-slick) que usan slick. */

.kallyas-productlist-wrapper ul.products:not(.spp-list):not(.js-slick) {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    align-items: start;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.kallyas-productlist-wrapper ul.products:not(.spp-list):not(.js-slick) > li.product {
    float: none !important;
    clear: none !important;
    width: auto !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Tablet: 3 columnas */
@media (max-width: 991px) {
    .kallyas-productlist-wrapper ul.products:not(.spp-list):not(.js-slick) {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Celular: 3 columnas */
@media (max-width: 767px) {
    .kallyas-productlist-wrapper ul.products:not(.spp-list):not(.js-slick) {
        grid-template-columns: repeat(3, 1fr);
    }

    /* A 3 columnas la tarjeta queda angosta: ajustamos tipografia,
       separadores y botón para que el contenido siga legible. */
    .kallyas-productlist-wrapper ul.products:not(.spp-list):not(.js-slick) > li.product {
        padding: 0 3px !important;
    }

    .tcb-name-status-row {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 2px;
    }

    .tcb-separator {
        display: none;
    }

    .tcb-profile-name {
        font-size: 12px;
        line-height: 1.15;
        word-break: break-word;
    }

    .tcb-status-badge {
        font-size: 9px;
        letter-spacing: 0;
    }

    .tcb-pulse {
        width: 6px;
        height: 6px;
        margin-right: 3px;
    }

    .tcb-city-badge {
        font-size: 9px;
        line-height: 1.15;
        margin-bottom: 5px;
        align-items: flex-start;
    }

    .tcb-city-badge .tcb-icon {
        font-size: 10px;
        margin-right: 2px;
    }

    .tcb-city-badge .tcb-text {
        letter-spacing: 0;
    }

    .tcb-wa-button {
        font-size: 10px;
        padding: 5px 4px;
        letter-spacing: 0;
    }
}

/* Los pseudo-elementos del clearfix de Kallyas (::before/::after con
   display:table) cuentan como celdas dentro de la grilla y desplazan
   la primera tarjeta. En grid el clearfix ya no hace falta. */
.kallyas-productlist-wrapper ul.products:not(.spp-list):not(.js-slick)::before,
.kallyas-productlist-wrapper ul.products:not(.spp-list):not(.js-slick)::after {
    display: none !important;
    content: none !important;
}
