/* ── Search filters ─────────────────────────────────────── */

.rc-store-filters {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.rc-store-filters input,
.rc-store-filters select {
    width: 100%;
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--rc-warm-beige);
    border-radius: var(--rc-radius);
    font-family: 'Mulish', sans-serif;
    font-size: 0.9rem;
    color: var(--rc-deep-black-green);
    background: var(--rc-white);
    box-sizing: border-box;
}

.rc-store-filters-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.rc-store-filters button[type="submit"] {
    padding: 0.4rem 1.2rem;
    background: var(--rc-clay-brown);
    color: var(--rc-white);
    border: none;
    border-radius: var(--rc-radius);
    font-family: 'Mulish', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
}

.rc-store-filters a {
    font-size: 0.9rem;
    color: var(--rc-slate-gray);
}

#rc-near-me-btn {
    padding: 0.4rem 1.2rem;
    background: transparent;
    color: var(--rc-clay-brown);
    border: 1px solid var(--rc-clay-brown);
    border-radius: var(--rc-radius);
    font-family: 'Mulish', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
}

/* ── Page layout ─────────────────────────────────────────── */

.rc-store-page-layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 1.5rem;
    align-items: start;
}

.rc-store-list-col {
    min-width: 0;
}

.rc-store-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--rc-warm-beige);
    font-size: 0.9rem;
    color: var(--rc-slate-gray);
}

.rc-store-map-col {
    position: sticky;
    top: calc(var(--rc-header-height) + 3rem);
    height: calc(100vh - var(--rc-header-height) - 7rem);
    min-height: 400px;
}

.admin-bar .rc-store-map-col {
    top: calc(var(--rc-header-height) + 3rem + 32px);
    height: calc(100vh - var(--rc-header-height) - 7rem - 32px);
}

#rc-store-map {
    width: 100%;
    height: 100%;
    border-radius: var(--rc-radius);
}

/* ── Store cards ─────────────────────────────────────────── */

.rc-store-listing {
    background: var(--rc-ivory);
    border: 1px solid var(--rc-warm-beige);
    border-radius: var(--rc-radius);
    padding: 1.25rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.rc-store-listing:hover {
    border-color: var(--rc-clay-brown);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.rc-store-listing.rc-store-active {
    border-color: var(--rc-clay-brown);
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.rc-store-card-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.rc-store-card-header h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.rc-store-number {
    min-width: 24px;
    height: 24px;
    background: var(--rc-clay-brown);
    color: var(--rc-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: 'Mulish', sans-serif;
    margin-top: 3px;
    flex-shrink: 0;
}

.rc-store-listing p {
    margin: 0 0 0.3rem 0;
    font-size: 0.9rem;
    color: var(--rc-slate-gray);
    line-height: 1.4;
}

.rc-store-listing a {
    color: var(--rc-clay-brown);
}

.rc-store-craft-types {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.rc-store-craft-type-tag {
    background: var(--rc-warm-beige);
    color: var(--rc-charcoal-green);
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-family: 'Mulish', sans-serif;
}

.rc-store-maps-link {
    margin-top: 0.75rem;
}

.rc-store-maps-link a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--rc-clay-brown);
}

.rc-store-details-link {
    margin-top: 0.5rem;
}

.rc-store-details-link a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--rc-clay-brown);
}

/* ── Map markers ─────────────────────────────────────────── */

.rc-map-marker-wrapper {
    background: none !important;
    border: none !important;
}

.rc-marker-number {
    width: 28px;
    height: 28px;
    background: var(--rc-clay-brown);
    color: var(--rc-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    font-family: 'Mulish', sans-serif;
    border: 2px solid var(--rc-white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: background 0.15s, transform 0.15s;
}

.rc-marker-active {
    background: var(--rc-charcoal-green);
    transform: scale(1.2);
}

.rc-you-are-here div {
    width: 16px;
    height: 16px;
    background: var(--rc-clay-brown);
    border: 2px solid var(--rc-white);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--rc-clay-brown);
}

/* ── Map popups ──────────────────────────────────────────── */

.leaflet-popup-content-wrapper {
    background: var(--rc-ivory);
    border: 1px solid var(--rc-warm-beige);
    border-radius: var(--rc-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.leaflet-popup-tip {
    background: var(--rc-ivory);
}

.rc-map-popup h4 {
    margin: 0 0 0.4rem 0;
    font-size: 1rem;
    font-family: 'Mulish', sans-serif;
    font-weight: 600;
    color: var(--rc-charcoal-green);
}

.rc-map-popup p {
    margin: 0 0 0.25rem 0;
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--rc-slate-gray);
}

.rc-map-popup a {
    color: var(--rc-clay-brown);
    font-weight: 600;
}

/* ── Pagination ──────────────────────────────────────────── */

.rc-store-pagination {
    text-align: center;
    margin-top: 1rem;
}

.rc-store-pagination .page-numbers {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    color: var(--rc-clay-brown);
}

.rc-store-pagination .page-numbers.current {
    font-weight: 700;
    color: var(--rc-charcoal-green);
}

/* ── Submission form ──────────────────────────────────────── */

#rc-store-form-layout {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
    margin-top: 1.5rem;
}

.rc-form-fields-col label {
    display: block;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.rc-form-fields-col input[type="text"],
.rc-form-fields-col textarea {
    width: 100%;
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--rc-warm-beige);
    border-radius: var(--rc-radius);
    font-family: 'Mulish', sans-serif;
    font-size: 0.9rem;
    box-sizing: border-box;
}

.rc-form-fields-col textarea {
    min-height: 100px;
    resize: vertical;
}

.rc-form-fields-col input[type="submit"] {
    margin-top: 1.25rem;
    padding: 0.5rem 1.5rem;
    background: var(--rc-clay-brown);
    color: var(--rc-white);
    border: none;
    border-radius: var(--rc-radius);
    font-family: 'Mulish', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
}

.rc-checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal !important;
    cursor: pointer;
    margin-top: 0.4rem !important;
}

.rc-checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    flex-shrink: 0;
}

.rc-duplicate-message {
    margin-top: 1rem;
    font-weight: 700;
    color: var(--rc-charcoal-green);
}

/* ── Single store page ───────────────────────────────────── */

/* Hero band — warm-beige by default, photo overlay when image is available */
/* Strip the top padding WordPress block theme adds inside the main group */
main.wp-block-group:has(.rc-store-hero) {
    padding-top: 0 !important;
}

.rc-store-hero {
    background: var(--rc-charcoal-green);
    margin-bottom: 2rem;
    overflow: hidden;
}

.rc-store-hero-wrap {
    display: flex;
    align-items: stretch;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    min-height: 280px;
}

.rc-store-hero-left {
    flex: 0 0 42%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem 2.5rem;
    min-width: 0;
}

.rc-store-hero-right {
    flex: 1 1 58%;
    position: relative;
}

/* Absolute fill so the image covers the full panel without affecting layout height */
.rc-store-hero-photo-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    display: block;
}

.rc-store-hero .rc-back-link {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
}

.rc-store-hero .rc-back-link:hover { text-decoration: underline; }

.rc-store-hero h1 {
    margin: 0 0 0.6rem;
    font-size: 2rem;
    line-height: 1.2;
    font-family: 'Neuton', serif;
    color: #fff;
}

.rc-store-hero .rc-store-craft-type-tag {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff;
}

.rc-photo-attribution {
    position: absolute;
    bottom: 0.4rem;
    right: 0.75rem;
    font-size: 0.68rem;
    color: rgba(255,255,255,0.6);
    margin: 0;
    font-family: 'Mulish', sans-serif;
}

/* Content container */
.rc-single-store-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 1.5rem 2rem;
    font-family: 'Mulish', sans-serif;
}

/* Two-column grid: details on left, mini map on right */
.rc-single-store-body {
    display: grid;
    grid-template-columns: 1fr 290px;
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 1rem;
}

.rc-single-store-body > p:empty { display: none; }
.rc-store-hero p:empty,
.rc-store-hero-wrap p:empty { display: none; }

.rc-single-store-right {
    position: sticky;
    top: 1.5rem;
}

.rc-single-store-map {
    height: 260px;
    border-radius: var(--rc-radius);
    border: 1px solid var(--rc-warm-beige);
    background: #e8e8e4;
}

/* Leaflet custom marker */
.rc-map-marker-wrapper { background: none; border: none; }
.rc-marker-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--rc-clay-brown);
    border: 3px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.35);
}

/* Detail cards */
.rc-single-store-card {
    background: var(--rc-ivory);
    border: 1px solid var(--rc-warm-beige);
    border-radius: var(--rc-radius);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.rc-single-store-detail {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--rc-warm-beige);
    font-size: 0.95rem;
}

.rc-single-store-detail:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.rc-single-store-detail:first-of-type { padding-top: 0; }

.rc-detail-icon {
    flex-shrink: 0;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rc-slate-gray);
    margin-top: 0.1rem;
}

.rc-single-store-card a {
    color: var(--rc-clay-brown);
    font-weight: 600;
    text-decoration: none;
}

.rc-single-store-card a:hover { text-decoration: underline; }

.rc-single-store-maps-link {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--rc-warm-beige);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--rc-slate-gray);
}

.rc-single-store-maps-link a {
    color: var(--rc-clay-brown);
    font-weight: 600;
    text-decoration: none;
}

.rc-single-store-maps-link a:hover { text-decoration: underline; }

/* Community note — first item in the comment stream, clay-brown accent */
.rc-community-note-card {
    background: var(--rc-ivory);
    border: 1px solid var(--rc-warm-beige);
    border-left: 3px solid var(--rc-clay-brown);
    border-radius: var(--rc-radius);
    padding: 1.25rem;
    margin-bottom: 0.75rem;
}

.rc-community-note-byline {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--rc-clay-brown);
    margin: 0 0 0.6rem 0;
    font-family: 'Mulish', sans-serif;
}

.rc-community-reason {
    margin: 0 0 0 0.5rem;
    font-style: italic;
    color: var(--rc-slate-gray);
    line-height: 1.65;
    border-left: 2px solid rgba(162, 123, 92, 0.3);
    padding-left: 0.75rem;
}

.rc-submitter {
    font-size: 0.85rem;
    color: var(--rc-slate-gray);
    margin: 0;
}

/* ── Single store comments ────────────────────────────────── */

.rc-single-store-comments {
    margin-top: 0.5rem;
}

.rc-single-store-comments .comments-title {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Neuton', serif;
    margin: 0 0 1.25rem 0;
    color: var(--rc-charcoal-green);
}

.rc-single-store-comments .comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.rc-single-store-comments .comment {
    background: var(--rc-ivory);
    border: 1px solid var(--rc-warm-beige);
    border-radius: var(--rc-radius);
    padding: 1.25rem;
    margin-bottom: 0.75rem;
}

.rc-single-store-comments .comment-author .fn {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--rc-charcoal-green);
    font-style: normal;
}

.rc-single-store-comments .comment-author img {
    display: none;
}

.rc-single-store-comments .comment-metadata {
    font-size: 0.8rem;
    color: var(--rc-slate-gray);
    margin: 0.15rem 0 0.6rem 0;
}

.rc-single-store-comments .comment-metadata a {
    color: var(--rc-slate-gray);
    text-decoration: none;
}

.rc-single-store-comments .comment-body p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    color: var(--rc-deep-black-green);
}

.rc-single-store-comments .reply {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

.rc-single-store-comments #respond {
    background: var(--rc-ivory);
    border: 1px solid var(--rc-warm-beige);
    border-radius: var(--rc-radius);
    padding: 1.5rem;
}

.rc-single-store-comments #reply-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: var(--rc-charcoal-green);
}

.rc-single-store-comments .comment-notes,
.rc-logged-in-as,
.rc-must-login {
    font-size: 0.85rem;
    color: var(--rc-slate-gray);
    margin-bottom: 1rem;
}

.rc-must-login a {
    color: var(--rc-clay-brown);
    font-weight: 600;
}

.rc-single-store-comments .comment-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--rc-charcoal-green);
}

.rc-single-store-comments .comment-form input[type="text"],
.rc-single-store-comments .comment-form input[type="email"],
.rc-single-store-comments .comment-form input[type="url"],
.rc-single-store-comments .comment-form textarea {
    width: 100%;
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--rc-warm-beige);
    border-radius: var(--rc-radius);
    font-family: 'Mulish', sans-serif;
    font-size: 0.9rem;
    box-sizing: border-box;
    background: var(--rc-white);
}

.rc-single-store-comments .comment-form textarea {
    min-height: unset;
    resize: vertical;
}

.rc-single-store-comments .form-submit {
    margin-top: 1rem;
    margin-bottom: 0;
}

.rc-single-store-comments .form-submit input[type="submit"] {
    padding: 0.5rem 1.5rem;
    background: var(--rc-clay-brown);
    color: var(--rc-white);
    border: none;
    border-radius: var(--rc-radius);
    font-family: 'Mulish', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
}

.rc-single-store-comments .form-submit input[type="submit"]:hover {
    opacity: 0.9;
}

/* ── Responsive ──────────────────────────────────────────── */

.rc-mobile-map-toggle {
    display: none;
}

@media (min-width: 768px) and (max-width: 1000px) {
    .rc-store-page-layout {
        grid-template-columns: 35% 1fr;
    }
}

@media (max-width: 767px) {
    .rc-mobile-map-toggle {
        display: block;
        width: 100%;
        padding: 0.6rem 1rem;
        margin-bottom: 1rem;
        background: var(--rc-clay-brown);
        color: var(--rc-white);
        border: none;
        border-radius: var(--rc-radius);
        font-family: 'Mulish', sans-serif;
        font-size: 0.95rem;
        font-weight: 600;
        cursor: pointer;
    }

    .rc-store-page-layout {
        grid-template-columns: 1fr;
    }

    .rc-store-map-col {
        display: none;
        position: relative;
        top: 0;
        height: 65vh;
    }

    .rc-store-map-col.rc-map-visible {
        display: block;
    }

    #rc-store-form-layout {
        grid-template-columns: 1fr;
    }

    /* Single store page */
    .rc-store-hero { min-height: 0; }
    .rc-store-hero h1 { font-size: 1.4rem; }
    .rc-store-hero-left { padding: 1.5rem 1rem; }

    /* Drop photo on mobile — stack to single column, hide right panel */
    .rc-store-hero-right { display: none; }
    .rc-photo-attribution { display: none; }

    .rc-single-store-container { padding: 0 1rem 3rem; }
    .rc-single-store-body { grid-template-columns: 1fr; }
    .rc-single-store-right { position: static; }
    .rc-single-store-map { height: 220px; }

    .rc-single-store-card { padding: 1.1rem; margin-bottom: 1rem; }
    .rc-single-store-comments #respond { padding: 1.1rem; }
}

/* =========================================================
   Seller List page — wcv_pro_vendorslist shortcode
   ========================================================= */

/* Filter bar: constrain search, join input+button, align toggle */
.rc-vendor-list-filter {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.rc-vendor-list-filter .wcv-vendor-list-search {
    flex: 0 1 480px;
}

.rc-vendor-list-filter .wcv-vendor-list-search .wcv-form {
    display: flex;
    gap: 0;
    margin: 0;
}

.rc-vendor-list-filter .wcv-vendor-list-search input[type="text"] {
    flex: 1;
    border-radius: 4px 0 0 4px;
    border-right: none;
    margin-bottom: 0;
    height: 44px;
    box-sizing: border-box;
}

.rc-vendor-list-filter .wcv-vendor-list-search input[type="submit"].wcv-button {
    border-radius: 0 4px 4px 0;
    white-space: nowrap;
    height: 44px;
    line-height: 1;
}

/* Grid/List toggle — align vertically with the search bar */
.rc-vendor-list-filter .wcv-vendor-list-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.rc-vendor-list-filter .wcv-vendor-list-switch-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    color: var(--rc-charcoal-green, #2c3639);
    border: 1px solid var(--rc-warm-beige, #dcd7c9);
    text-decoration: none;
}

.rc-vendor-list-filter .wcv-vendor-list-switch-item.active,
.rc-vendor-list-filter .wcv-vendor-list-switch-item:hover {
    background: var(--rc-clay-brown, #a27b5c);
    color: #fff;
    border-color: var(--rc-clay-brown, #a27b5c);
}

/* Founder Sellers Only filter */
.rc-founder-filter {
    margin-bottom: 1.25rem !important;
    font-size: 0.9rem;
    color: var(--rc-charcoal-green, #2c3639);
}

.rc-founder-filter label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 0;
}

.rc-founder-filter input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--rc-clay-brown, #a27b5c);
    cursor: pointer;
}

/* Vendor card: category pills — opaque warm beige to match blog pills */
.rc-vendor-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.rc-vendor-category-tag {
    display: inline-block;
    background: var(--rc-warm-beige, #dcd7c9);
    color: var(--rc-charcoal-green, #2c3639);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Grid card inner spacing */
.wcv-pro-vendorlist.grid .wcv-shop-details {
    padding-bottom: 0.75rem;
}

/* List view improvements */
.wcv-pro-vendorlist-wrapper.list .wcv-pro-vendorlist {
    min-height: 180px;
}

.wcv-pro-vendorlist-wrapper.list .wcv-shop-details {
    padding: 1rem 1rem 1rem 0;
}

.wcv-pro-vendorlist-wrapper.list .wcv-shop-details h4 {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
}

.wcv-pro-vendorlist-wrapper.list .wcv-shop-description p {
    max-height: 3.2em; /* ~2 lines */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 0;
}

/* Vendor list pagination — plugin renders nav.woocommerce.pagination (spaces around
   hyphen in source = three separate classes, so .woocommerce-pagination never matches) */
nav.pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none !important;
    padding: 0;
    margin: 2rem 0 0;
    justify-content: center;
}

nav.pagination .page-numbers li {
    margin: 0;
    list-style: none;
}

nav.pagination .page-numbers li a,
nav.pagination .page-numbers li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.6rem;
    border: 1px solid var(--rc-warm-beige, #dcd7c9);
    border-radius: 4px;
    color: var(--rc-charcoal-green, #2c3639);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

nav.pagination .page-numbers li a:hover {
    border-color: var(--rc-clay-brown, #a27b5c);
    color: var(--rc-clay-brown, #a27b5c);
}

nav.pagination .page-numbers li .current {
    background: var(--rc-clay-brown, #a27b5c);
    color: #fff;
    border-color: var(--rc-clay-brown, #a27b5c);
}

/* ── Seller List page — wcv_pro_vendorslist shortcode ────── */

.rc-vendor-list-filter {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.rc-vendor-list-filter .wcv-vendor-list-search {
    flex: 0 1 480px;
}

.rc-vendor-list-filter .wcv-vendor-list-search .wcv-form {
    display: flex;
    gap: 0;
    margin: 0;
}

.rc-vendor-list-filter .wcv-vendor-list-search input[type="text"] {
    flex: 1;
    border-radius: 4px 0 0 4px;
    border-right: none;
    margin-bottom: 0;
    height: 44px;
    box-sizing: border-box;
}

.rc-vendor-list-filter .wcv-vendor-list-search input[type="submit"].wcv-button {
    border-radius: 0 4px 4px 0;
    white-space: nowrap;
    height: 44px;
    line-height: 1;
}

.rc-vendor-list-filter .wcv-vendor-list-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.rc-vendor-list-filter .wcv-vendor-list-switch-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    color: var(--rc-charcoal-green, #2c3639);
    border: 1px solid var(--rc-warm-beige, #dcd7c9);
    text-decoration: none;
}

.rc-vendor-list-filter .wcv-vendor-list-switch-item.active,
.rc-vendor-list-filter .wcv-vendor-list-switch-item:hover {
    background: var(--rc-clay-brown, #a27b5c);
    color: #fff;
    border-color: var(--rc-clay-brown, #a27b5c);
}

.rc-founder-filter {
    margin-bottom: 1.25rem !important;
    font-size: 0.9rem;
    color: var(--rc-charcoal-green, #2c3639);
}

.rc-founder-filter label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 0;
}

.rc-founder-filter input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--rc-clay-brown, #a27b5c);
    cursor: pointer;
}

.rc-vendor-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.rc-vendor-category-tag {
    display: inline-block;
    background: var(--rc-warm-beige, #dcd7c9);
    color: var(--rc-charcoal-green, #2c3639);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.wcv-pro-vendorlist.grid .wcv-shop-details {
    padding-bottom: 0.75rem;
}

.wcv-pro-vendorlist-wrapper.list .wcv-pro-vendorlist {
    min-height: 180px;
}

.wcv-pro-vendorlist-wrapper.list .wcv-shop-details {
    padding: 1rem 1rem 1rem 0;
}

.wcv-pro-vendorlist-wrapper.list .wcv-shop-details h4 {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
}

.wcv-pro-vendorlist-wrapper.list .wcv-shop-description p {
    max-height: 3.2em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 0;
}

/* Plugin markup has spaces in "nav.woocommerce.pagination" (3 separate
   classes), so the selector .woocommerce-pagination never matches */
nav.pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none !important;
    padding: 0;
    margin: 2rem 0 0;
    justify-content: center;
}

nav.pagination .page-numbers li {
    margin: 0;
    list-style: none;
}

nav.pagination .page-numbers li a,
nav.pagination .page-numbers li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.6rem;
    border: 1px solid var(--rc-warm-beige, #dcd7c9);
    border-radius: 4px;
    color: var(--rc-charcoal-green, #2c3639);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

nav.pagination .page-numbers li a:hover {
    border-color: var(--rc-clay-brown, #a27b5c);
    color: var(--rc-clay-brown, #a27b5c);
}

nav.pagination .page-numbers li .current {
    background: var(--rc-clay-brown, #a27b5c);
    color: #fff;
    border-color: var(--rc-clay-brown, #a27b5c);
}
