/* Influencer Search - Estilos para shortcode WordPress */

.is-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    color: #1a1a1a;
}

.is-header {
    text-align: center;
    margin-bottom: 2rem;
}

.is-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    background: linear-gradient(135deg, #c13584 0%, #833ab4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 0.5rem;
}

.is-subtitle {
    font-size: 1rem;
    color: #555;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Barra de búsqueda */
.is-search-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.is-select.is-platform {
    padding: 0.75rem 1.25rem;
    border: none;
    background: #f5f5f5;
    font-size: 0.95rem;
    min-width: 120px;
    cursor: pointer;
}

.is-search-input-wrap {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
}

.is-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    font-size: 1rem;
}

.is-input::placeholder {
    color: #999;
}

.is-search-btn {
    padding: 0.75rem 1rem;
    border: none;
    background: linear-gradient(135deg, #c13584 0%, #833ab4 100%);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.is-search-btn:hover {
    opacity: 0.9;
}

/* Filtros */
.is-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 2rem;
}

.is-filter-select {
    padding: 0.5rem 0.75rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.875rem;
    background: #fff;
    cursor: pointer;
    color: #555;
}

.is-filter-select:hover,
.is-filter-select:focus {
    border-color: #c13584;
    outline: none;
}

.is-clear-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    font-size: 0.875rem;
    color: #666;
    cursor: pointer;
}

.is-clear-btn:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

/* Secciones */
.is-section {
    margin-bottom: 2.5rem;
}

.is-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.is-section-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    color: #1a1a1a;
}

.is-section-desc {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.is-see-all {
    font-size: 0.9rem;
    color: #c13584;
    text-decoration: none;
    font-weight: 500;
}

.is-see-all:hover {
    text-decoration: underline;
}

/* Grid de tarjetas */
.is-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

/* Tarjeta de influencer */
.is-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s, transform 0.2s;
}

.is-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.is-card-image-wrap {
    position: relative;
    aspect-ratio: 4/5;
    background: #f0f0f0;
}

.is-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.is-card-badges {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.is-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.is-badge-green {
    background: #22c55e;
    color: #fff;
}

.is-badge-ugc {
    background: #6b7280;
    color: #fff;
}

.is-card-followers {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.is-card-body {
    padding: 1rem;
}

.is-card-name {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.35rem;
    color: #1a1a1a;
}

.is-card-rating {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.35rem;
}

.is-stars {
    color: #f59e0b;
}

.is-card-niche,
.is-card-location {
    font-size: 0.8rem;
    color: #666;
    margin: 0 0 0.25rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.is-card-price {
    font-size: 1rem;
    font-weight: 700;
    color: #c13584;
    margin: 0.5rem 0 0;
}

/* Sin resultados */
.is-no-results {
    text-align: center;
    padding: 3rem 1rem;
    background: #f9f9f9;
    border-radius: 12px;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .is-search-bar {
        flex-direction: column;
    }

    .is-select.is-platform {
        min-width: 100%;
    }

    .is-filters {
        justify-content: flex-start;
    }

    .is-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}
