/* Brand directory page styles. */
.vp-brand-directory {
            gap: 1.5rem;
}

        .vp-brand-directory-hero {
            position: relative;
            overflow: hidden;
            padding: clamp(1.5rem, 3vw, 2.5rem);
            border: 1px solid rgba(16, 37, 66, 0.08);
            border-radius: 1.5rem;
            background:
                radial-gradient(circle at top right, rgba(28, 110, 214, 0.14), transparent 32rem),
                linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.98));
            box-shadow: 0 24px 50px rgba(16, 37, 66, 0.08);
        }

        .vp-brand-directory-kicker {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            padding: 0.35rem 0.8rem;
            border-radius: 999px;
            background: rgba(28, 110, 214, 0.1);
            color: #1559ad;
            font-size: 0.78rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .vp-brand-directory-title {
            margin: 1rem 0 0.65rem;
            font-size: clamp(2rem, 4vw, 3.35rem);
            line-height: 1.05;
        }

        .vp-brand-directory-copy {
            max-width: 58ch;
            margin: 0;
            color: #556375;
            font-size: 1rem;
            line-height: 1.7;
        }

        .vp-brand-directory-toolbar {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 1rem;
            align-items: end;
            padding: 1rem 1.15rem;
            border: 1px solid rgba(16, 37, 66, 0.08);
            border-radius: 1.15rem;
            background: rgba(255, 255, 255, 0.9);
            box-shadow: 0 18px 38px rgba(16, 37, 66, 0.05);
        }

        .vp-brand-directory-search-label {
            display: block;
            margin-bottom: 0.45rem;
            color: #3d4c60;
            font-size: 0.84rem;
            font-weight: 700;
            letter-spacing: 0.04em;
            text-transform: uppercase;
        }

        .vp-brand-directory-search {
            width: 100%;
            min-height: 3.35rem;
            border: 1px solid rgba(16, 37, 66, 0.12);
            border-radius: 1rem;
            background: #fff;
            color: #1f2937;
            font-size: 1rem;
            padding: 0.85rem 1rem;
            transition: border-color 0.18s ease, box-shadow 0.18s ease;
        }

        .vp-brand-directory-search:focus {
            outline: none;
            border-color: rgba(28, 110, 214, 0.45);
            box-shadow: 0 0 0 0.22rem rgba(28, 110, 214, 0.12);
        }

        .vp-brand-directory-count {
            white-space: nowrap;
            color: #556375;
            font-size: 0.92rem;
            font-weight: 600;
        }

        .vp-brand-directory-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 1rem;
        }

        .vp-brand-card {
            display: flex;
            flex-direction: column;
            gap: 0.9rem;
            min-height: 100%;
            padding: 1rem;
            border: 1px solid rgba(16, 37, 66, 0.08);
            border-radius: 1.2rem;
            background: rgba(255, 255, 255, 0.96);
            box-shadow: 0 18px 32px rgba(16, 37, 66, 0.05);
            transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
            text-decoration: none;
        }

        .vp-brand-card:hover {
            transform: translateY(-2px);
            border-color: rgba(28, 110, 214, 0.18);
            box-shadow: 0 22px 36px rgba(16, 37, 66, 0.08);
        }

        .vp-brand-card:focus-visible {
            outline: none;
            border-color: rgba(28, 110, 214, 0.42);
            box-shadow: 0 0 0 0.24rem rgba(28, 110, 214, 0.14);
        }

        .vp-brand-card-media,
        .vp-brand-card-placeholder {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            aspect-ratio: 1 / 1;
            border: 1px solid rgba(16, 37, 66, 0.08);
            border-radius: 1rem;
            background:
                radial-gradient(circle at top left, rgba(28, 110, 214, 0.08), transparent 14rem),
                linear-gradient(180deg, #ffffff, #f7fafc);
            overflow: hidden;
        }

        .vp-brand-card-media img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
            padding: 1rem;
        }

        .vp-brand-card-placeholder {
            color: #6a7788;
            font-size: 1.45rem;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .vp-brand-card-name {
            margin: 0;
            color: #12263f;
            font-size: 1.02rem;
            font-weight: 700;
            line-height: 1.35;
        }

        .vp-brand-directory-empty {
            display: none;
            padding: 1.25rem 1.35rem;
            border: 1px dashed rgba(16, 37, 66, 0.14);
            border-radius: 1.1rem;
            background: rgba(255, 255, 255, 0.8);
            color: #556375;
        }

        .vp-brand-directory-empty.is-visible {
            display: block;
        }

        @media (max-width: 768px) {
            .vp-brand-directory-toolbar {
                grid-template-columns: 1fr;
            }

            .vp-brand-directory-count {
                white-space: normal;
            }
        }

.vp-brand-directory-hero {
    border-color: #e1ead6;
    border-radius: 0.75rem;
    background:
        radial-gradient(circle at top right, rgba(171, 211, 115, 0.28), transparent 30rem),
        linear-gradient(180deg, #fbfcf9, #f2f7ec);
    box-shadow: none;
}

.vp-brand-directory-kicker {
    background: #eaf4df;
    color: #5d822e;
}

.vp-brand-directory-copy,
.vp-brand-directory-empty {
    color: #6c6c6c;
}

.vp-brand-directory-toolbar {
    border-color: #e7e7e7;
    border-radius: 0.55rem;
    box-shadow: none;
}

.vp-brand-directory-search:focus-within {
    border-color: #abd373;
    box-shadow: 0 0 0 0.2rem rgba(171, 211, 115, 0.2);
}

.vp-brand-card {
    border-color: #e8e8e8;
    border-radius: 0.55rem;
    box-shadow: none;
}

.vp-brand-card:hover {
    border-color: #bed99d;
    box-shadow: 0 16px 35px rgba(59, 76, 47, 0.09);
}

.vp-brand-card-media,
.vp-brand-card-placeholder {
    border-color: #e5e5e5;
    border-radius: 0.45rem;
    background: #f8faf5;
}

.vp-brand-card-placeholder {
    color: #668d34;
}

.vp-brand-card-name {
    color: #393939;
}
