.vendor-hero {
    background: #fafafa;
}
.vendor-hero__cover {
    position: relative;
    height: 11.5rem;
    background: linear-gradient(135deg, #1f2937 0%, #374151 55%, #111827 100%);
    overflow: hidden;
}
@media (min-width: 640px) {
    .vendor-hero__cover { height: 14rem; }
}
@media (min-width: 768px) {
    .vendor-hero__cover { height: 16.5rem; }
}
.vendor-hero__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.vendor-hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 24, 39, 0.45) 0%, rgba(17, 24, 39, 0.08) 55%, transparent 100%);
    pointer-events: none;
}
.vendor-hero__body {
    position: relative;
    z-index: 2;
    margin-top: -4.5rem;
    padding-bottom: 1.5rem;
}
@media (min-width: 640px) {
    .vendor-hero__body { margin-top: -5.5rem; }
}
.vendor-hero__card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1.25rem;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    padding: 1.25rem;
}
@media (min-width: 640px) {
    .vendor-hero__card { padding: 1.5rem 1.75rem; }
}
.vendor-hero__top {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
@media (min-width: 768px) {
    .vendor-hero__top {
        flex-direction: row;
        align-items: flex-start;
        gap: 1.25rem;
    }
}
.vendor-hero__avatar {
    flex-shrink: 0;
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #f3f4f6;
    border: 3px solid #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -2.75rem;
}
@media (min-width: 640px) {
    .vendor-hero__avatar {
        width: 6.5rem;
        height: 6.5rem;
        margin-top: -3.25rem;
    }
}
.vendor-hero__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.vendor-hero__avatar-letter {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-primary-600-hex);
}
.vendor-hero__main { flex: 1; min-width: 0; }
.vendor-hero__name {
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 800;
    color: #111827;
    margin: 0;
}
@media (min-width: 640px) {
    .vendor-hero__name { font-size: 1.75rem; }
}
.vendor-hero__job {
    margin-top: 0.2rem;
    font-size: 0.9rem;
    color: #6b7280;
}
.vendor-hero__bio {
    margin-top: 0.55rem;
    font-size: 0.875rem;
    line-height: 1.7;
    color: #6b7280;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}
.vendor-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.7rem;
}
.vendor-hero__chip {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-primary-800-hex);
    background: var(--color-primary-100-hex);
    border: 1px solid var(--color-primary-200-hex);
}
.vendor-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .vendor-hero__actions {
        padding-top: 0.25rem;
        justify-content: flex-end;
    }
}
.vendor-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.85rem;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, filter 0.15s ease;
}
.vendor-hero__btn svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.vendor-hero__btn--follow,
.vendor-hero__btn--follow #vendor-follow-label {
    background: var(--color-primary-hex);
    color: #fff;
    border: 1px solid var(--color-primary-hex);
}
.vendor-hero__btn--follow #vendor-follow-label {
    background: transparent;
    border: 0;
}
.vendor-hero__btn--follow:hover { filter: brightness(0.96); }
.vendor-hero__btn--following {
    background: #fff;
    color: #374151;
    border: 1px solid #e5e7eb;
}
.vendor-hero__btn--following:hover {
    border-color: #ef4444;
    color: #dc2626;
    background: #fef2f2;
}
.vendor-hero__btn--contact {
    background: var(--color-primary-600-hex);
    color: #fff;
    border: 1px solid var(--color-primary-600-hex);
}
.vendor-hero__btn--contact:hover {
    background: var(--color-primary-700-hex);
    border-color: var(--color-primary-700-hex);
}
.vendor-hero__vote {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 2.5rem;
    padding: 0.4rem 0.7rem;
    border-radius: 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #4b5563;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.vendor-hero__vote:hover { background: #f9fafb; }
.vendor-hero__vote.is-like {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #047857;
}
.vendor-hero__vote.is-dislike {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}
.vendor-hero__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 1.15rem;
    padding-top: 1.1rem;
    border-top: 1px solid #f3f4f6;
}
@media (min-width: 640px) {
    .vendor-hero__meta {
        display: flex;
        flex-wrap: wrap;
        gap: 0;
    }
    .vendor-hero__stat {
        flex: 1 1 0;
        min-width: 6.5rem;
        border-inline-end: 1px solid #f3f4f6;
        padding: 0 0.9rem;
    }
    .vendor-hero__stat:first-child { padding-inline-start: 0; }
    .vendor-hero__stat:last-child { border-inline-end: 0; padding-inline-end: 0; }
}
.vendor-hero__stat {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.vendor-hero__stat-value {
    font-size: 0.98rem;
    font-weight: 800;
    color: #111827;
    font-variant-numeric: tabular-nums;
}
.vendor-hero__stat-label {
    font-size: 0.72rem;
    color: #9ca3af;
    font-weight: 500;
}
.vendor-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.95rem;
}
.vendor-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.55rem;
    border-radius: 0.6rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-primary-800-hex);
    background: var(--color-primary-50-hex);
    border: 1px solid var(--color-primary-200-hex);
}
.vendor-hero__badge img {
    width: 1rem;
    height: 1rem;
    object-fit: contain;
}

.vendor-specialties-picker .vendor-input {
    width: 100%;
    padding: 0.6rem 0.85rem;
    border: 1px solid #d1d5db;
    border-radius: 0.75rem;
    background: #fff;
    font-size: 0.875rem;
}
.vendor-specialties-picker .vendor-input:focus {
    outline: none;
    border-color: var(--color-primary-hex);
    box-shadow: 0 0 0 3px rgb(var(--color-primary) / 0.18);
}
.vendor-specialties-picker .vendor-hint {
    margin-top: 0.4rem;
    font-size: 0.75rem;
    color: #9ca3af;
}
.vendor-specialties-picker .vendor-error {
    margin-top: 0.35rem;
    font-size: 0.8125rem;
    color: #dc2626;
}
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
    min-height: 0.25rem;
}
.vendor-specialties-picker__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.35rem 0.25rem 0.7rem;
    border-radius: 999px;
    background: var(--color-primary-100-hex);
    border: 1px solid var(--color-primary-200-hex);
    color: var(--color-primary-800-hex);
    font-size: 0.8rem;
    font-weight: 600;
}
.vendor-specialties-picker__remove {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-700-hex);
    line-height: 1;
}
.vendor-specialties-picker__remove:hover {
    background: var(--color-primary-300-hex);
    color: var(--color-primary-900-hex);
}
.vendor-specialties-picker__suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.7rem;
}
.vendor-specialties-picker__suggestion {
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #4b5563;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}
.vendor-specialties-picker__suggestion:hover:not(:disabled) {
    border-color: var(--color-primary-hex);
    color: var(--color-primary-800-hex);
    background: var(--color-primary-50-hex);
}
.vendor-specialties-picker__suggestion:disabled {
    opacity: 0.4;
    cursor: default;
}

@media (prefers-reduced-motion: reduce) {
    .vendor-hero__btn,
    .vendor-hero__vote,
    .vendor-card { transition: none; }
}

.vendor-archive-cta {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.15rem 1.5rem;
    margin: 0 0 1.15rem;
    padding: 1.35rem 1.4rem;
    border-radius: 1.15rem;
    color: #fff;
    background:
        radial-gradient(90% 140% at 0% 0%, rgb(255 255 255 / 0.2), transparent 42%),
        linear-gradient(118deg, var(--color-primary-800-hex, #92400e) 0%, var(--color-primary-700-hex, #b45309) 58%, var(--color-primary-600-hex, #d97706) 100%);
    box-shadow: 0 16px 36px rgb(var(--color-primary) / 0.22);
}
.vendor-archive-cta::after {
    content: "";
    position: absolute;
    inset-inline-start: -2.5rem;
    bottom: -3.2rem;
    width: 9rem;
    height: 9rem;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.08);
    pointer-events: none;
}
.vendor-archive-cta__copy {
    position: relative;
    z-index: 1;
    min-width: min(100%, 18rem);
    flex: 1 1 18rem;
}
.vendor-archive-cta__kicker {
    margin: 0 0 0.3rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgb(255 255 255 / 0.88);
}
.vendor-archive-cta h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.5;
    color: #fff;
}
.vendor-archive-cta__copy p:last-child {
    margin: 0.4rem 0 0;
    max-width: 38rem;
    font-size: 0.875rem;
    line-height: 1.8;
    color: rgb(255 255 255 / 0.92);
}
.vendor-archive-cta__btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex-shrink: 0;
    min-height: 2.85rem;
    padding: 0 1.15rem;
    border-radius: 999px;
    background: #fff;
    color: var(--color-primary-800-hex, #92400e);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 18px rgb(0 0 0 / 0.12);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.vendor-archive-cta__btn svg {
    width: 1rem;
    height: 1rem;
}
.vendor-archive-cta__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgb(0 0 0 / 0.16);
    color: var(--color-primary-800-hex, #92400e);
}
@media (min-width: 640px) {
    .vendor-archive-cta { padding: 1.5rem 1.6rem; }
    .vendor-archive-cta h2 { font-size: 1.4rem; }
}
@media (max-width: 639px) {
    .vendor-archive-cta__btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .vendor-archive-cta__btn { transition: none; }
    .vendor-archive-cta__btn:hover { transform: none; }
}

.vendor-archive__search {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: stretch;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1.15rem;
    padding: 0.65rem;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.05);
}
.vendor-archive__search-field {
    flex: 1 1 14rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0 0.85rem;
    border-radius: 0.85rem;
    background: #f9fafb;
    border: 1px solid transparent;
}
.vendor-archive__search-field:focus-within {
    border-color: var(--color-primary-300-hex);
    background: #fff;
    box-shadow: 0 0 0 3px rgb(var(--color-primary) / 0.12);
}
.vendor-archive__search-field input,
.vendor-archive__search-field select {
    width: 100%;
    background: transparent;
    border: 0;
    outline: none;
    font-size: 0.875rem;
    color: #111827;
}
.vendor-archive__search-field svg {
    width: 1.1rem;
    height: 1.1rem;
    color: #9ca3af;
    flex-shrink: 0;
}
.vendor-archive__search-select {
    flex: 0 1 11rem;
}
.vendor-archive__search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.75rem;
    padding: 0 1.15rem;
    border-radius: 0.85rem;
    background: #111827;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
}
.vendor-archive__search-btn:hover { background: #1f2937; }
.vendor-archive__heading {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.75rem;
    margin-bottom: 1.35rem;
}
.vendor-archive__heading h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #111827;
    margin: 0;
}
@media (min-width: 640px) {
    .vendor-archive__heading h1 { font-size: 1.85rem; }
}
.vendor-archive__heading p {
    margin: 0.35rem 0 0;
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.7;
}
.vendor-archive__count {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-primary-800-hex);
    background: var(--color-primary-100-hex);
    border: 1px solid var(--color-primary-200-hex);
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    white-space: nowrap;
}
.vendor-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.vendor-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}
.vendor-card--portrait {
    align-items: stretch;
    padding: 1.15rem 1rem 1rem;
    text-align: center;
}
.vendor-card__portrait {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    min-width: 0;
}
.vendor-card--portrait .vendor-card__avatar {
    width: 4.6rem;
    height: 4.6rem;
    margin-bottom: 0.7rem;
    box-shadow: 0 0 0 3px var(--color-primary-100-hex, #f3f4f6);
}
.vendor-card__name-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    max-width: 100%;
    min-width: 0;
}
.vendor-card__verify {
    flex-shrink: 0;
    color: var(--color-secondary-600-hex, var(--color-secondary-hex));
}
.vendor-card--portrait .vendor-card__name {
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vendor-card--portrait .vendor-card__job {
    margin: 0.2rem 0 0;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vendor-card__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 0.7rem;
    margin: 0.45rem 0 0.9rem;
    font-size: 0.75rem;
    color: #6b7280;
}
.vendor-card__follow-form {
    width: 100%;
    margin-top: auto;
}
.vendor-card--portrait .vendor-card__follow {
    width: 62%;
    max-width: 9.5rem;
    margin-inline: auto;
    min-height: 2.4rem;
    border-radius: 0.7rem;
    border-color: transparent;
    background: var(--color-primary-700-hex, var(--color-primary-hex));
    color: #fff;
    font-size: 0.82rem;
}
.vendor-card--portrait .vendor-card__follow:hover {
    filter: brightness(1.06);
    color: #fff;
}
.vendor-card--portrait .vendor-card__follow.is-following {
    background: #fff;
    color: var(--color-primary-800-hex, #111827);
    border-color: var(--color-primary-200-hex, #e5e7eb);
}
.vendor-card--portrait .vendor-card__follow.is-following:hover {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
    filter: none;
}
.vendor-card__cover {
    position: relative;
    height: 7.25rem;
    background: linear-gradient(135deg, #1f2937 0%, #374151 55%, #111827 100%);
    overflow: hidden;
}
.vendor-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.vendor-card__cover-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 24, 39, 0.28), transparent 60%);
    pointer-events: none;
}
.vendor-card__identity {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 0.75rem;
}
.vendor-card__identity-main {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}
.vendor-card__avatar {
    flex-shrink: 0;
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 999px;
    overflow: hidden;
    background: #f3f4f6;
    border: 3px solid #fff;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.vendor-card__avatar:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
}
.vendor-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.vendor-card__avatar-letter {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-primary-600-hex);
}
.vendor-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0.5rem 1.1rem 1rem;
    flex: 1;
}
.vendor-card__name {
    font-size: 1.05rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.4;
}
.vendor-card__name:hover { color: var(--color-primary-700-hex); }
.vendor-card__job {
    font-size: 0.8rem;
    color: #6b7280;
}
.vendor-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.2rem;
}
.vendor-card__chip {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--color-primary-800-hex);
    background: var(--color-primary-100-hex);
    border: 1px solid var(--color-primary-200-hex);
}
.vendor-card__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.75rem;
}
.vendor-card__profile {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-primary-600-hex);
}
.vendor-card__profile:hover { color: var(--color-primary-800-hex); }
.vendor-card__follow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid var(--color-primary-hex);
    background: var(--color-primary-hex);
    color: #111827;
}
.vendor-card__follow:hover { filter: brightness(0.96); }
.vendor-card__follow.is-following {
    background: #fff;
    color: #374151;
    border-color: #e5e7eb;
}
.vendor-card__follow.is-following:hover {
    border-color: #ef4444;
    color: #dc2626;
    background: #fef2f2;
}
.vendor-card__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #f3f4f6;
    background: #fafafa;
}
.vendor-card__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    padding: 0.7rem 0.35rem;
    text-align: center;
}
.vendor-card__stat + .vendor-card__stat {
    border-inline-start: 1px solid #f3f4f6;
}
.vendor-card__stat-value {
    font-size: 0.9rem;
    font-weight: 800;
    color: #111827;
    font-variant-numeric: tabular-nums;
}
.vendor-hero__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.85rem;
}
.vendor-hero__social {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    background: #f3f4f6;
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
}
.vendor-hero__social:hover {
    background: rgb(var(--color-primary) / 0.14);
    color: #111827;
}

