/* Sellers Directory shell, filters, and seller card styling. */

body.pb-buyers-sellers-directory-page header.site-header,
body.pb-buyers-sellers-directory-page #masthead,
body.pb-buyers-sellers-directory-page .site-header,
body.pb-buyers-sellers-directory-page .main-header-bar,
body.pb-buyers-sellers-directory-page .ast-primary-header-bar,
body.pb-buyers-sellers-directory-page .ast-mobile-header-wrap,
body.pb-buyers-sellers-directory-page footer.site-footer,
body.pb-buyers-sellers-directory-page #colophon,
body.pb-buyers-sellers-directory-page .site-footer,
body.pb-buyers-sellers-directory-page .entry-header,
body.pb-buyers-sellers-directory-page .page-title,
body.pb-buyers-sellers-directory-page .entry-title,
body.pb-buyers-sellers-directory-page .wp-block-post-title,
body.pb-buyers-sellers-directory-page .ast-archive-description {
    display: none !important;
}

body.pb-buyers-sellers-directory-page #page,
body.pb-buyers-sellers-directory-page .site,
body.pb-buyers-sellers-directory-page #content,
body.pb-buyers-sellers-directory-page .site-content,
body.pb-buyers-sellers-directory-page .site-content .ast-container,
body.pb-buyers-sellers-directory-page .ast-container,
body.pb-buyers-sellers-directory-page #primary,
body.pb-buyers-sellers-directory-page .content-area,
body.pb-buyers-sellers-directory-page main.site-main,
body.pb-buyers-sellers-directory-page article,
body.pb-buyers-sellers-directory-page .entry-content {
    margin: 0 !important;
    max-width: none !important;
    padding: 0 !important;
    width: 100% !important;
}

body.pb-buyers-sellers-directory-page .entry-content > *,
body.pb-buyers-sellers-directory-page .wp-site-blocks > * {
    max-width: none !important;
}

.pb-sellers-directory-shell {
    --pb-sellers-navy: #061d31;
    --pb-sellers-navy-2: #0d304d;
    --pb-sellers-navy-3: #08263f;
    --pb-sellers-gold: #c7a25a;
    --pb-sellers-gold-2: #e2c77f;
    --pb-sellers-cream: #f2eee7;
    --pb-sellers-paper: #fffaf0;
    --pb-sellers-panel: #ffffff;
    --pb-sellers-text: #172131;
    --pb-sellers-muted: #706b62;
    --pb-sellers-blue: #4d95dd;
    --pb-sellers-blue-dark: #0b4f9f;
    --pb-sellers-border: rgba(164, 133, 74, 0.32);
    --pb-sellers-border-blue: rgba(77, 149, 221, 0.22);
    --pb-sellers-shadow: 0 18px 48px rgba(5, 24, 42, 0.12);
    background:
        linear-gradient(180deg, var(--pb-sellers-navy) 0, var(--pb-sellers-navy) 270px, var(--pb-sellers-cream) 270px, var(--pb-sellers-cream) 100%);
    color: var(--pb-sellers-text);
    min-height: 100vh;
    overflow-x: hidden;
}

.pb-sellers-directory-shell *,
.pb-sellers-directory-shell *::before,
.pb-sellers-directory-shell *::after {
    box-sizing: border-box;
}

.pb-sellers-directory-shell .pb-buyers-card {
    background: var(--pb-sellers-paper);
    border: 1px solid var(--pb-sellers-border);
    border-radius: 20px;
    box-shadow: var(--pb-sellers-shadow);
}

.pb-sellers-directory-page {
    margin: 0 auto;
    max-width: 1580px;
    padding: clamp(14px, 1.5vw, 22px) clamp(12px, 2vw, 30px) 48px;
    width: 100%;
}

.pb-sellers-hero {
    align-items: stretch;
    background:
        radial-gradient(circle at 88% 16%, rgba(226, 199, 127, 0.22), transparent 26%),
        radial-gradient(circle at 12% 105%, rgba(77, 149, 221, 0.22), transparent 32%),
        linear-gradient(120deg, rgba(6, 29, 49, 0.98), rgba(13, 48, 77, 0.94));
    border: 1px solid rgba(226, 199, 127, 0.28);
    color: #fffaf0;
    display: grid;
    gap: clamp(20px, 3vw, 40px);
    grid-template-columns: minmax(0, 1fr) minmax(290px, 460px);
    overflow: hidden;
    padding: clamp(26px, 4vw, 54px);
    position: relative;
}

.pb-sellers-hero::after {
    border: 1px solid rgba(226, 199, 127, 0.18);
    border-radius: 18px;
    bottom: 16px;
    content: "";
    left: 16px;
    pointer-events: none;
    position: absolute;
    right: 16px;
    top: 16px;
}

.pb-sellers-hero-copy {
    align-content: center;
    display: grid;
    gap: 12px;
    max-width: 850px;
    position: relative;
    z-index: 1;
}

.pb-sellers-kicker {
    color: var(--pb-sellers-gold-2);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.22em;
    margin: 0;
    text-transform: uppercase;
}

.pb-sellers-hero h1 {
    color: #fffaf0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 4.9vw, 76px);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 0.95;
    margin: 0;
    max-width: 920px;
}

.pb-sellers-hero p {
    color: rgba(255, 250, 240, 0.82);
    font-size: 16px;
    line-height: 1.68;
    margin: 0;
    max-width: 760px;
}

.pb-sellers-demo-note {
    background: rgba(226, 199, 127, 0.12);
    border: 1px solid rgba(226, 199, 127, 0.42);
    border-radius: 999px;
    color: #fff5d7;
    display: inline-flex;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.35;
    padding: 9px 14px;
    width: fit-content;
}

.pb-sellers-query-chip {
    align-items: center;
    background: rgba(255, 250, 240, 0.1);
    border: 1px solid rgba(226, 199, 127, 0.32);
    border-radius: 999px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 14px;
    width: fit-content;
}

.pb-sellers-query-chip span {
    color: rgba(255, 250, 240, 0.74);
    font-size: 13px;
    font-weight: 850;
}

.pb-sellers-query-chip strong {
    color: #fffaf0;
    font-size: 14px;
}

.pb-sellers-query-chip a {
    color: var(--pb-sellers-gold-2);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.pb-sellers-hero-stats {
    align-content: center;
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
    position: relative;
    z-index: 1;
}

.pb-sellers-hero-stats div {
    background: rgba(255, 250, 240, 0.08);
    border: 1px solid rgba(226, 199, 127, 0.28);
    border-radius: 18px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.16);
    display: grid;
    gap: 8px;
    min-height: 104px;
    padding: 18px 20px;
}

.pb-sellers-hero-stats strong {
    align-self: end;
    color: #fffaf0;
    font-size: clamp(30px, 3.1vw, 48px);
    letter-spacing: -0.045em;
    line-height: 1;
}

.pb-sellers-hero-stats span {
    color: var(--pb-sellers-gold-2);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.pb-sellers-directory-layout {
    align-items: start;
    display: grid;
    gap: 18px;
    grid-template-columns: 320px minmax(0, 1fr);
    margin-top: 18px;
}

.pb-sellers-filter-stack {
    align-self: start;
    min-width: 0;
    position: sticky;
    top: 106px;
}

.pb-sellers-filter-form,
.pb-sellers-filters,
.pb-sellers-advanced-filters,
.pb-sellers-results {
    display: grid;
    gap: 15px;
    min-width: 0;
}

.pb-sellers-filters,
.pb-sellers-advanced-filters,
.pb-sellers-filter-actions {
    padding: 20px;
}

.pb-sellers-filter-head,
.pb-sellers-results-bar {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: space-between;
}

.pb-sellers-filter-head {
    border-bottom: 1px solid var(--pb-sellers-border);
    padding-bottom: 13px;
}

.pb-sellers-filter-head p,
.pb-sellers-results-bar p {
    color: var(--pb-sellers-blue-dark);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.18em;
    margin: 0;
    text-transform: uppercase;
}

.pb-sellers-filter-head h2,
.pb-sellers-results-bar h2 {
    color: var(--pb-sellers-text);
    font-size: 22px;
    letter-spacing: -0.035em;
    line-height: 1.1;
    margin: 4px 0 0;
}

.pb-sellers-filter-head a {
    color: var(--pb-sellers-blue-dark);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.pb-sellers-field {
    display: grid;
    gap: 7px;
}

.pb-sellers-field span,
.pb-sellers-check span {
    color: #3c4658;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.pb-sellers-field input,
.pb-sellers-field select {
    appearance: none;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(13, 48, 77, 0.14);
    border-radius: 13px;
    color: var(--pb-sellers-text);
    font-size: 14px;
    min-height: 48px;
    outline: 0;
    padding: 11px 13px;
    width: 100%;
}

.pb-sellers-field input:focus,
.pb-sellers-field select:focus {
    border-color: rgba(77, 149, 221, 0.6);
    box-shadow: 0 0 0 4px rgba(77, 149, 221, 0.13);
}

.pb-sellers-advanced-filters {
    background: linear-gradient(180deg, var(--pb-sellers-paper) 0%, #ffffff 100%);
}

.pb-sellers-age-range {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
}

.pb-sellers-check {
    align-items: center;
    background: rgba(77, 149, 221, 0.08);
    border: 1px solid rgba(77, 149, 221, 0.18);
    border-radius: 13px;
    display: flex;
    gap: 10px;
    padding: 12px;
}

.pb-sellers-check input {
    height: 18px;
    margin: 0;
    width: 18px;
}

.pb-sellers-filter-actions {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
}

.pb-sellers-filter-actions button,
.pb-sellers-filter-actions a,
.pb-seller-card-primary,
.pb-seller-card-secondary,
.pb-sellers-pagination a {
    align-items: center;
    border-radius: 12px;
    display: inline-flex;
    font-size: 14px;
    font-weight: 900;
    justify-content: center;
    min-height: 44px;
    padding: 10px 13px;
    text-align: center;
    text-decoration: none;
}

.pb-sellers-filter-actions button,
.pb-seller-card-primary,
.pb-sellers-pagination a {
    background: linear-gradient(135deg, var(--pb-sellers-blue), #1769f5);
    border: 0;
    box-shadow: 0 12px 22px rgba(23, 105, 245, 0.2);
    color: #ffffff;
    cursor: pointer;
}

.pb-sellers-filter-actions a,
.pb-seller-card-secondary {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(77, 149, 221, 0.45);
    color: var(--pb-sellers-blue-dark);
}

.pb-sellers-results-bar {
    padding: 18px 20px;
}

.pb-sellers-view-controls {
    background: rgba(8, 38, 63, 0.07);
    border: 1px solid rgba(13, 48, 77, 0.11);
    border-radius: 999px;
    display: flex;
    padding: 4px;
}

.pb-sellers-view-controls button {
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: var(--pb-sellers-muted);
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    padding: 9px 13px;
}

.pb-sellers-view-controls button.is-active {
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(15, 38, 75, 0.08);
    color: var(--pb-sellers-blue-dark);
}

.pb-sellers-grid {
    align-items: stretch;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 370px));
    justify-content: start;
}

.pb-sellers-grid.is-list-view {
    grid-template-columns: 1fr;
}

.pb-seller-card {
    display: grid;
    min-width: 0;
    overflow: hidden;
    transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.pb-seller-card:hover {
    border-color: rgba(199, 162, 90, 0.52);
    box-shadow: 0 22px 54px rgba(5, 24, 42, 0.16);
    transform: translateY(-2px);
}

.pb-sellers-grid.is-list-view .pb-seller-card {
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
}

.pb-seller-card-media {
    align-items: center;
    background:
        radial-gradient(circle at 76% 22%, rgba(226, 199, 127, 0.26), transparent 28%),
        linear-gradient(135deg, #0d304d, #dfe8f4);
    color: var(--pb-sellers-blue-dark);
    display: flex;
    min-height: 190px;
    overflow: hidden;
    position: relative;
}

.pb-sellers-grid.is-list-view .pb-seller-card-media {
    grid-row: 1 / span 2;
    min-height: 100%;
}

.pb-seller-card-media > a {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    min-height: 190px;
    text-decoration: none;
    width: 100%;
}

.pb-seller-card-avatar {
    align-items: center;
    background: radial-gradient(circle at 35% 25%, rgba(199, 162, 90, 0.18), transparent 42%), #061d31;
    border: 4px solid rgba(255, 250, 240, 0.9);
    border-radius: 50%;
    box-shadow: 0 14px 30px rgba(15, 38, 75, 0.18);
    color: #fffaf0;
    display: inline-flex;
    font-size: 32px;
    font-weight: 900;
    height: 104px;
    justify-content: center;
    overflow: hidden;
    width: 104px;
}

.pb-seller-card-avatar img {
    border-radius: inherit;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.pb-seller-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    left: 14px;
    position: absolute;
    top: 14px;
}

.pb-seller-card-badges span {
    background: rgba(255, 250, 240, 0.94);
    border: 1px solid rgba(199, 162, 90, 0.42);
    border-radius: 999px;
    color: #07365d;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
    padding: 7px 10px;
    text-transform: uppercase;
}

.pb-seller-card-body {
    background: linear-gradient(180deg, #fffaf0 0%, #ffffff 100%);
    display: grid;
    gap: 12px;
    padding: 18px;
}

.pb-seller-card-title-row {
    align-items: start;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.pb-seller-card-title-row p {
    color: var(--pb-sellers-blue-dark);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    margin: 0 0 5px;
    text-transform: uppercase;
}

.pb-seller-card-title-row h3 {
    font-size: 21px;
    letter-spacing: -0.035em;
    line-height: 1.1;
    margin: 0;
}

.pb-seller-card-title-row h3 a {
    color: var(--pb-sellers-text);
    text-decoration: none;
}

.pb-seller-card-title-row h3 a:hover {
    color: var(--pb-sellers-blue-dark);
}

.pb-seller-card-status {
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.06em;
    padding: 7px 9px;
    text-transform: uppercase;
    white-space: nowrap;
}

.pb-seller-card-status--available,
.pb-seller-card-status--online {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
}

.pb-seller-card-status--pre_occupied,
.pb-seller-card-status--away {
    background: rgba(245, 158, 11, 0.12);
    color: #92400e;
}

.pb-seller-card-status--on_vacation,
.pb-seller-card-status--offline {
    background: rgba(100, 116, 139, 0.12);
    color: #475569;
}

.pb-seller-card-tagline,
.pb-seller-card-about {
    color: var(--pb-sellers-muted);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.pb-seller-card-meta,
.pb-seller-card-styles {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.pb-seller-card-meta span,
.pb-seller-card-styles span {
    background: rgba(77, 149, 221, 0.11);
    border: 1px solid rgba(77, 149, 221, 0.13);
    border-radius: 999px;
    color: var(--pb-sellers-blue-dark);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.04em;
    padding: 6px 9px;
}

.pb-seller-card-styles span {
    background: rgba(8, 38, 63, 0.06);
    border-color: rgba(8, 38, 63, 0.08);
    color: #344157;
}

.pb-seller-card-stats {
    border-top: 1px solid rgba(13, 48, 77, 0.08);
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-top: 12px;
}

.pb-seller-card-stats span {
    color: var(--pb-sellers-muted);
    display: grid;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pb-seller-card-stats strong {
    color: var(--pb-sellers-blue-dark);
    font-size: 21px;
    letter-spacing: -0.04em;
    line-height: 1;
}

.pb-seller-card-actions {
    align-items: center;
    background: #ffffff;
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr auto;
    padding: 0 18px 18px;
}

.pb-sellers-grid.is-list-view .pb-seller-card-actions {
    grid-column: 2;
}

.pb-seller-card-primary,
.pb-seller-card-secondary {
    min-height: 42px;
}

.pb-seller-card-secondary {
    cursor: pointer;
    min-width: 76px;
}

.pb-seller-card-secondary.is-saved {
    background: rgba(77, 149, 221, 0.12);
    color: var(--pb-sellers-blue-dark);
}

/* Compact seller cards: keep the public identity area and remove the lower detail/action half. */
.pb-seller-card {
    align-content: start;
}

.pb-seller-card-body {
    padding: 16px 18px 18px;
}

.pb-seller-card-tagline {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.pb-sellers-grid.is-list-view .pb-seller-card {
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
}

.pb-sellers-grid.is-list-view .pb-seller-card-media {
    grid-row: 1;
}

.pb-sellers-pagination {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: center;
    padding: 16px 20px;
}

.pb-sellers-pagination span {
    color: var(--pb-sellers-muted);
    font-size: 14px;
    font-weight: 900;
}

.pb-sellers-empty {
    align-items: center;
    display: grid;
    gap: 12px;
    justify-items: center;
    min-height: 280px;
    padding: 64px 20px;
    text-align: center;
}

.pb-sellers-empty p {
    color: var(--pb-sellers-blue-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.13em;
    margin: 0;
    text-transform: uppercase;
}

.pb-sellers-empty h3 {
    color: var(--pb-sellers-text);
    font-size: clamp(24px, 2.8vw, 36px);
    letter-spacing: -0.05em;
    margin: 4px 0 0;
}

.pb-sellers-empty a {
    background: linear-gradient(135deg, var(--pb-sellers-blue), #1769f5);
    border-radius: 12px;
    box-shadow: 0 12px 22px rgba(23, 105, 245, 0.2);
    color: #fff;
    font-weight: 900;
    padding: 12px 16px;
    text-decoration: none;
}

@media (min-width: 900px) {
    .pb-sellers-hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1180px) {
    .pb-sellers-directory-layout {
        grid-template-columns: 1fr;
    }

    .pb-sellers-filter-stack {
        position: static;
    }

    .pb-sellers-filters,
    .pb-sellers-advanced-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pb-sellers-filter-head,
    .pb-sellers-filter-actions,
    .pb-sellers-age-range,
    .pb-sellers-check {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .pb-sellers-directory-shell {
        background: var(--pb-sellers-cream);
    }

    .pb-sellers-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .pb-sellers-directory-page {
        padding: 10px;
    }

    .pb-sellers-hero {
        padding: 26px 20px;
    }

    .pb-sellers-hero::after {
        inset: 10px;
    }

    .pb-sellers-results-bar,
    .pb-sellers-filter-head {
        align-items: start;
    }

    .pb-sellers-hero-stats,
    .pb-sellers-filters,
    .pb-sellers-advanced-filters,
    .pb-sellers-grid,
    .pb-sellers-grid.is-list-view .pb-seller-card,
    .pb-sellers-age-range,
    .pb-sellers-filter-actions,
    .pb-seller-card-stats,
    .pb-seller-card-actions {
        grid-template-columns: 1fr;
    }

    .pb-sellers-results-bar {
        display: grid;
    }

    .pb-sellers-view-controls {
        width: fit-content;
    }

    .pb-sellers-grid.is-list-view .pb-seller-card-media,
    .pb-sellers-grid.is-list-view .pb-seller-card-actions {
        grid-column: auto;
        grid-row: auto;
    }
}
