/* Filter Bar */
.ip-search-layout {
    width: min(1140px, 100%);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0;
}

#influencer-results {
    width: 94vw;
    max-width: none;
    margin-left: calc(50% - 47vw);
    margin-right: calc(50% - 47vw);
}

.filter-bar {
    display: flex;
    gap: 14px;
    background: #fff;
    padding: 10px 20px;
    padding-top: 14px;
    border-radius: 999px;
    /* border: 1px solid #e9e9e9; */
    align-items: stretch;
    flex-wrap: wrap;
    margin-bottom: 16px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.filter-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 170px;
    flex: 1 1 170px;
}

.filter-field--search {
    min-width: 220px;
    flex: 1.2 1 240px;
}

.filter-label {
    font-size: 14px;
    font-weight: 700;
    color: #3b3b3b;
    line-height: 1.2;
    margin-left: 2px;
}

/* Inputs */
.filter-bar select,
.filter-bar input {
    height: 44px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid #dcdcdc;
    width: 100%;
    min-width: 0;
    font-size: 15px;
    color: #2b2b2b;
    background: #fff;
}

/* Search Box */
.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-box input {
    flex: 1;
    border-radius: 10px;
}

.search-box button {
    background: black;
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.search-box button:hover {
    background: #222;
}

.search-box button:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

@media (max-width: 900px) {
    .filter-bar {
        width: 100%;
        border-radius: 16px;
    }

    #influencer-results {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .filter-field,
    .filter-field--search {
        min-width: 100%;
        flex-basis: 100%;
    }
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
    margin-top: 20px;
}

@media (max-width: 1280px) {
    .grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.ip-results-heading {
    margin: 18px 0 4px;
}

.ip-results-title {
    margin: 0;
    font-family: "Inter", Sans-serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
}

.ip-results-subtitle {
    margin: 8px 0 0;
    text-align: start;
    font-family: "Inter", Sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
}

/* —— Influencer card (listing) —— */
.ip-card {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1), 0 8px 24px rgba(0, 0, 0, 0.08);
}

.ip-card__image {
    position: relative;
    z-index: 0;
    margin: 0;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.ip-card__image-link {
    display: block;
    line-height: 0;
    pointer-events: auto;
}

.ip-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ip-card__img--placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
}

.ip-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.35) 42%,
        rgba(0, 0, 0, 0.08) 68%,
        transparent 100%
    );
}

.ip-card__overlay-bottom {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.ip-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fff;
    color: #111;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}

.ip-card__platform-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
    flex-shrink: 0;
}

.ip-card__platform-text {
    font-weight: 600;
    white-space: nowrap;
}

.ip-card__followers {
    font-weight: 600;
    letter-spacing: 0.01em;
}

.ip-card__name-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

.ip-card__name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ip-card__price {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
    flex-shrink: 0;
}

.fluentform .ff-el-group.ff_list_buttons .ff-el-form-check label>span {
    border-left: 1px solid #dcdfe6 !important;
}


@media (max-width: 768px) {
    .ip-card__badge {
        display: inline-flex;
        align-items: center;
        gap: 3px;
        background: #fff;
        color: #111;
        padding: 4px 5px;
        border-radius: 8px;
        font-size: 12px;
        font-weight: 600;
        line-height: 1;
    }

    .ip-card__overlay-bottom {
        position: absolute;
        left: 4px;
        right: 6px;
        bottom: 4px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }

    .grid {
        gap: 8px;
    }
}




.elementor-swiper-button {
    display: none !important;
}