/*
 * Creator Marketplace
 * Creator Listing
 */


/* ================================
   BASE
================================ */

.cmp-marketplace {
    background: #ffffff;
    color: #111111;
}

.cmp-container {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}


/* ================================
   HERO
================================ */

.cmp-creators-hero {
    padding: 96px 0 88px;
    background: #f7f7f5;
    border-bottom: 1px solid #e9e9e5;
}

.cmp-eyebrow {
    display: block;
    margin-bottom: 22px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: #6c6c67;
}

.cmp-creators-hero h1 {
    max-width: 820px;

    margin: 0;

    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.045em;
    font-weight: 650;

    color: #111111;
}

.cmp-creators-hero p {
    max-width: 650px;

    margin: 28px 0 0;

    font-size: 18px;
    line-height: 1.65;

    color: #62625e;
}


/* ================================
   LISTING
================================ */

.cmp-creators-section {
    padding: 72px 0 110px;
}

.cmp-listing-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;

    margin-bottom: 36px;
}

.cmp-listing-header h2 {
    margin: 0 0 8px;

    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -0.025em;

    color: #111111;
}

.cmp-listing-header p {
    margin: 0;

    color: #74746f;
}

.cmp-result-count {
    font-size: 14px;
    color: #777772;
}


/* ================================
   GRID
================================ */

.cmp-creator-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 28px 20px;
}


/* ================================
   CARD
================================ */

.cmp-creator-card {
    position: relative;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e6e6e2;
    border-radius: 18px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.cmp-creator-card:hover {
    transform: translateY(-4px);

    border-color: #d4d4ce;

    box-shadow:
        0 18px 45px
        rgba(0, 0, 0, 0.08);
}

.cmp-card-link {
    position: absolute;
    inset: 0;
    z-index: 3;
}


/* ================================
   IMAGE
================================ */

.cmp-creator-image {
    position: relative;

    width: 100%;
    aspect-ratio: 4 / 5;

    overflow: hidden;

    background: #eeeeeb;
}

.cmp-creator-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.45s ease;
}

.cmp-creator-card:hover
.cmp-creator-image img {
    transform: scale(1.035);
}

.cmp-image-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #f1f1ed,
            #e5e5df
        );
}

.cmp-image-placeholder span {
    font-size: 72px;
    font-weight: 600;
    color: #a5a59e;
}


/* ================================
   VERIFIED
================================ */

.cmp-verified-badge {
    position: absolute;

    top: 14px;
    right: 14px;

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #111111;
    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    box-shadow:
        0 4px 14px
        rgba(0, 0, 0, 0.14);
}

.cmp-inline-verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 18px;
    height: 18px;

    margin-left: 4px;

    border-radius: 50%;

    background: #111111;
    color: #ffffff;

    font-size: 10px;

    vertical-align: 2px;
}


/* ================================
   CARD CONTENT
================================ */

.cmp-creator-content {
    padding: 20px;
}

.cmp-creator-top h3 {
    margin: 0;

    font-size: 19px;
    line-height: 1.3;

    letter-spacing: -0.015em;

    color: #111111;
}

.cmp-location {
    display: flex;
    align-items: center;
    gap: 6px;

    margin-top: 7px;

    font-size: 13px;
    color: #6f6f69;
}

.cmp-location-icon {
    font-size: 7px;
}


/* ================================
   CATEGORY
================================ */

.cmp-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;

    margin-top: 16px;
}

.cmp-category-list span {
    display: inline-flex;

    padding: 6px 9px;

    border-radius: 7px;

    background: #f4f4f1;

    font-size: 11px;
    font-weight: 600;

    color: #555550;
}


/* ================================
   STATS
================================ */

.cmp-creator-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;

    margin-top: 22px;

    border-top: 1px solid #eeeeea;
    border-bottom: 1px solid #eeeeea;
}

.cmp-stat {
    padding: 16px 0;
}

.cmp-stat + .cmp-stat {
    padding-left: 18px;
    border-left: 1px solid #eeeeea;
}

.cmp-stat-value,
.cmp-stat-label {
    display: block;
}

.cmp-stat-value {
    font-size: 15px;
    font-weight: 700;

    color: #171717;
}

.cmp-stat-label {
    margin-top: 3px;

    font-size: 11px;

    color: #8a8a84;
}


/* ================================
   PRICE
================================ */

.cmp-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 10px;

    margin-top: 18px;
}

.cmp-price span,
.cmp-price strong {
    display: block;
}

.cmp-price span {
    margin-bottom: 2px;

    font-size: 10px;
    color: #92928c;
}

.cmp-price strong {
    font-size: 17px;
    color: #111111;
}

.cmp-view-profile {
    font-size: 12px;
    font-weight: 600;

    color: #555550;
}


/* ================================
   EMPTY
================================ */

.cmp-empty-state {
    padding: 80px 30px;

    text-align: center;

    border: 1px solid #e5e5e1;
    border-radius: 18px;

    background: #fafaf8;
}

.cmp-empty-state h3 {
    margin: 0 0 8px;

    font-size: 24px;
}

.cmp-empty-state p {
    margin: 0;

    color: #777772;
}


/* ================================
   PAGINATION
================================ */

.cmp-pagination {
    margin-top: 60px;
}

.cmp-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.cmp-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 40px;
    height: 40px;

    padding: 0 12px;

    border: 1px solid #e1e1dd;
    border-radius: 9px;

    text-decoration: none;

    color: #333330;
    background: #ffffff;
}

.cmp-pagination .current {
    color: #ffffff;
    background: #111111;
    border-color: #111111;
}


/* ================================
   TABLET
================================ */

@media (max-width: 1024px) {

    .cmp-creator-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


/* ================================
   MOBILE
================================ */

@media (max-width: 767px) {

    .cmp-container {
        width: min(
            100% - 30px,
            1240px
        );
    }

    .cmp-creators-hero {
        padding: 64px 0 58px;
    }

    .cmp-creators-hero h1 {
        font-size: 42px;
    }

    .cmp-creators-hero p {
        font-size: 16px;
    }

    .cmp-creators-section {
        padding: 48px 0 80px;
    }

    .cmp-listing-header {
        display: block;
    }

    .cmp-result-count {
        margin-top: 12px;
    }

    .cmp-creator-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 18px 12px;
    }

    .cmp-creator-content {
        padding: 15px;
    }

}


/* ================================
   SMALL MOBILE
================================ */

@media (max-width: 480px) {

    .cmp-creator-grid {
        grid-template-columns: 1fr;
    }

}