/* PluginsBuy Manager — Home Page */
*, *::before, *::after { box-sizing: border-box; }

:root {
    --pbmh-brand:        #244b8e;
    --pbmh-brand-dark:   #1a3a6e;
    --pbmh-brand-mid:    #9cb3df;
    --pbmh-brand-light:  #e8f0fb;
    --pbmh-accent:       #f59e0b;
    --pbmh-success:      #10b981;
    --pbmh-text:         #0f172a;
    --pbmh-muted:        #64748b;
    --pbmh-border:       #e2e8f0;
    --pbmh-bg:           #f8fafc;
    --pbmh-white:        #ffffff;
    --pbmh-radius:       14px;
    --pbmh-shadow-sm:    0 2px 8px rgba(36,75,142,.08);
    --pbmh-shadow-md:    0 8px 32px rgba(36,75,142,.14);
    --pbmh-shadow-lg:    0 20px 60px rgba(36,75,142,.20);
}

/* ── Full-width bleed helper ─────────────────────────────────────────────── */
.pbmh-wrap { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--pbmh-text); overflow-x: hidden; }
.pbmh-bleed {
    margin-left:  calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}
.pbmh-container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.pbmh-hero {
    background: linear-gradient(140deg, #0f1f3d 0%, var(--pbmh-brand) 45%, #3a6bba 75%, var(--pbmh-brand-mid) 100%);
    padding: 56px 28px 64px;
    position: relative;
    overflow: hidden;
}
/* Animated mesh blobs */
.pbmh-hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .35;
    pointer-events: none;
}
.pbmh-hero-blob--1 { width: 480px; height: 480px; background: #9cb3df; top: -120px; right: -80px; animation: pbmh-drift 8s ease-in-out infinite alternate; }
.pbmh-hero-blob--2 { width: 360px; height: 360px; background: #1a3a6e; bottom: -60px; left: 5%; animation: pbmh-drift 11s ease-in-out infinite alternate-reverse; }
.pbmh-hero-blob--3 { width: 240px; height: 240px; background: #f59e0b; top: 40%; right: 30%; animation: pbmh-drift 7s ease-in-out infinite alternate; opacity: .18; }
@keyframes pbmh-drift { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(30px,20px) scale(1.08); } }

/* Animated grid overlay */
.pbmh-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}

.pbmh-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
@media (max-width: 860px) { .pbmh-hero-inner { grid-template-columns: 1fr; } }

.pbmh-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
    color: #fff; border-radius: 30px; padding: 6px 16px;
    font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    margin-bottom: 12px; backdrop-filter: blur(8px);
    animation: pbmh-fadeup .7s ease both;
}
.pbmh-hero-badge::before { content: '★'; color: var(--pbmh-accent); font-size: .9rem; }

.pbmh-hero-h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -.04em;
    margin: 0 0 14px;
    animation: pbmh-fadeup .8s .1s ease both;
}
.pbmh-hero-h1 span { color: var(--pbmh-brand-mid); }

.pbmh-hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,.78);
    line-height: 1.7;
    margin: 0 0 36px;
    max-width: 480px;
    animation: pbmh-fadeup .8s .2s ease both;
}

.pbmh-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; animation: pbmh-fadeup .8s .3s ease both; }
.pbmh-btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; color: var(--pbmh-brand);
    font-weight: 800; font-size: 1rem;
    padding: 14px 28px; border-radius: 10px;
    text-decoration: none; transition: all .2s;
    box-shadow: 0 4px 20px rgba(0,0,0,.25);
    letter-spacing: -.01em;
}
.pbmh-btn-primary:hover { background: #f0f6ff; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,.3); color: var(--pbmh-brand-dark); }
.pbmh-btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.12); color: #fff;
    font-weight: 700; font-size: 1rem;
    padding: 14px 24px; border-radius: 10px;
    text-decoration: none; transition: all .2s;
    border: 1.5px solid rgba(255,255,255,.3); backdrop-filter: blur(8px);
}
.pbmh-btn-secondary:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); color: #fff; }

.pbmh-hero-trust {
    display: flex; gap: 20px; flex-wrap: wrap; margin-top: 36px;
    animation: pbmh-fadeup .8s .45s ease both;
}
.pbmh-hero-trust-item {
    display: flex; align-items: center; gap: 7px;
    color: rgba(255,255,255,.72); font-size: .82rem; font-weight: 500;
}
.pbmh-hero-trust-item svg { width: 15px; height: 15px; color: #86efac; flex-shrink: 0; }

/* Floating visual cards */
.pbmh-hero-visual { position: relative; height: 340px; animation: pbmh-fadeup .9s .2s ease both; }
@media (max-width: 860px) { .pbmh-hero-visual { display: none; } }

.pbmh-float-card {
    position: absolute;
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 16px;
    padding: 18px 22px;
    color: #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,.25);
}
.pbmh-float-card--a { width: 220px; top: 20px; left: 10px; animation: pbmh-float 5s ease-in-out infinite; }
.pbmh-float-card--b { width: 200px; top: 120px; left: 160px; animation: pbmh-float 6.5s ease-in-out infinite .8s; }
.pbmh-float-card--c { width: 190px; top: 30px; right: 0; animation: pbmh-float 7s ease-in-out infinite 1.4s; }
.pbmh-float-card--d { width: 180px; bottom: 30px; left: 30px; animation: pbmh-float 5.5s ease-in-out infinite .4s; }

@keyframes pbmh-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.pbmh-card-icon { font-size: 1.8rem; margin-bottom: 8px; display: block; }
.pbmh-card-name { font-size: .9rem; font-weight: 700; margin-bottom: 4px; }
.pbmh-card-meta { font-size: .75rem; opacity: .7; display: flex; align-items: center; gap: 5px; }
.pbmh-card-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff; border-radius: 20px; padding: 2px 8px;
    font-size: .65rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .05em;
}
.pbmh-card-price { font-size: .95rem; font-weight: 800; color: var(--pbmh-brand-mid); margin-top: 10px; }
.pbmh-card-stars { color: #fbbf24; font-size: .8rem; letter-spacing: 1px; }

/* ═══════════════════════════════════════════
   TRUST BAR
═══════════════════════════════════════════ */
.pbmh-trust-bar {
    background: var(--pbmh-white);
    border-bottom: 1px solid var(--pbmh-border);
    padding: 18px 28px;
}
.pbmh-trust-inner {
    display: flex; align-items: center; justify-content: center;
    gap: 40px; flex-wrap: wrap;
}
.pbmh-trust-item {
    display: flex; align-items: center; gap: 8px;
    font-size: .83rem; font-weight: 600; color: var(--pbmh-brand);
}
.pbmh-trust-item svg { width: 16px; height: 16px; color: var(--pbmh-success); flex-shrink: 0; }
.pbmh-trust-sep { width: 1px; height: 24px; background: var(--pbmh-border); }
@media (max-width: 600px) { .pbmh-trust-sep { display: none; } }

/* ═══════════════════════════════════════════
   STATS
═══════════════════════════════════════════ */
.pbmh-stats { padding: 70px 28px; background: var(--pbmh-brand); }
.pbmh-stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center;
}
@media (max-width: 700px) { .pbmh-stats-grid { grid-template-columns: repeat(2, 1fr); } }
.pbmh-stat-num {
    font-size: clamp(2rem, 4vw, 3rem); font-weight: 900;
    color: var(--pbmh-brand-mid); letter-spacing: -.04em; display: block;
    line-height: 1.1; margin-bottom: 6px;
}
.pbmh-stat-label { font-size: .85rem; color: rgba(255,255,255,.7); font-weight: 500; }

/* ═══════════════════════════════════════════
   FEATURES
═══════════════════════════════════════════ */
.pbmh-features { padding: 90px 28px; background: var(--pbmh-bg); }
.pbmh-section-head { text-align: center; margin-bottom: 56px; }
.pbmh-section-tag {
    display: inline-block; background: var(--pbmh-brand-light); color: var(--pbmh-brand);
    font-size: .73rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    padding: 5px 14px; border-radius: 20px; margin-bottom: 14px;
}
.pbmh-section-h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 900;
    color: var(--pbmh-text); letter-spacing: -.04em; margin: 0 0 14px;
}
.pbmh-section-sub { font-size: 1.05rem; color: var(--pbmh-muted); max-width: 540px; margin: 0 auto; line-height: 1.7; }

.pbmh-features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 860px) { .pbmh-features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .pbmh-features-grid { grid-template-columns: 1fr; } }

.pbmh-feature-card {
    background: var(--pbmh-white); border: 1.5px solid var(--pbmh-border);
    border-radius: var(--pbmh-radius); padding: 30px 28px;
    transition: all .25s; position: relative; overflow: hidden;
}
.pbmh-feature-card::after {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--pbmh-brand), var(--pbmh-brand-mid));
    transform: scaleX(0); transform-origin: left;
    transition: transform .3s ease;
}
.pbmh-feature-card:hover { border-color: var(--pbmh-brand-mid); box-shadow: var(--pbmh-shadow-md); transform: translateY(-4px); }
.pbmh-feature-card:hover::after { transform: scaleX(1); }

.pbmh-feature-icon {
    width: 52px; height: 52px; border-radius: 13px;
    background: var(--pbmh-brand-light); display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px; font-size: 1.5rem;
    transition: background .25s;
}
.pbmh-feature-card:hover .pbmh-feature-icon { background: var(--pbmh-brand); }
.pbmh-feature-card:hover .pbmh-feature-icon svg { color: #fff; }
.pbmh-feature-icon svg { width: 24px; height: 24px; color: var(--pbmh-brand); transition: color .25s; }
.pbmh-feature-h3 { font-size: 1.05rem; font-weight: 800; margin: 0 0 10px; color: var(--pbmh-text); }
.pbmh-feature-desc { font-size: .875rem; color: var(--pbmh-muted); line-height: 1.65; margin: 0; }

/* ═══════════════════════════════════════════
   FEATURED PLUGINS
═══════════════════════════════════════════ */
.pbmh-showcase { padding: 80px 28px; background: var(--pbmh-white); }
.pbmh-showcase-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px;
    margin-bottom: 40px;
}
.pbmh-showcase-card {
    background: var(--pbmh-white); border: 1.5px solid var(--pbmh-border);
    border-radius: var(--pbmh-radius); overflow: hidden;
    text-decoration: none; color: inherit; display: flex; flex-direction: column;
    transition: all .25s;
}
.pbmh-showcase-card:hover { box-shadow: var(--pbmh-shadow-lg); border-color: var(--pbmh-brand); transform: translateY(-5px); }
.pbmh-showcase-card__top {
    background: linear-gradient(135deg, var(--pbmh-brand-light) 0%, #d0dff5 100%);
    padding: 28px; display: flex; align-items: center; gap: 16px;
    border-bottom: 1px solid var(--pbmh-border);
}
.pbmh-showcase-card__icon {
    width: 56px; height: 56px; border-radius: 13px;
    border: 2px solid rgba(36,75,142,.15); object-fit: cover;
    flex-shrink: 0; background: var(--pbmh-white);
    display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.pbmh-showcase-card__icon img { width: 56px; height: 56px; border-radius: 13px; object-fit: cover; }
.pbmh-showcase-card__name { font-size: 1.05rem; font-weight: 800; color: var(--pbmh-brand-dark); margin: 0 0 4px; }
.pbmh-showcase-card__tag { font-size: .75rem; color: var(--pbmh-brand); font-weight: 600; }
.pbmh-showcase-card__body { padding: 20px 22px; flex: 1; }
.pbmh-showcase-card__desc { font-size: .875rem; color: var(--pbmh-muted); line-height: 1.6; margin: 0 0 14px; }
.pbmh-showcase-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pbmh-showcase-tag {
    background: var(--pbmh-brand-light); color: var(--pbmh-brand);
    font-size: .72rem; font-weight: 600; border-radius: 20px; padding: 3px 10px;
}
.pbmh-showcase-card__footer {
    padding: 16px 22px; border-top: 1px solid var(--pbmh-border);
    display: flex; align-items: center; justify-content: space-between;
}
.pbmh-showcase-card__price { font-size: 1.1rem; font-weight: 900; color: var(--pbmh-brand); }
.pbmh-showcase-card__price small { font-size: .72rem; font-weight: 500; color: var(--pbmh-muted); }
.pbmh-showcase-card__cta {
    font-size: .82rem; font-weight: 700; color: var(--pbmh-brand);
    background: var(--pbmh-brand-light); padding: 7px 14px; border-radius: 8px;
    transition: all .2s;
}
.pbmh-showcase-card:hover .pbmh-showcase-card__cta { background: var(--pbmh-brand); color: #fff; }
.pbmh-showcase-empty { text-align: center; padding: 40px; color: var(--pbmh-muted); font-size: .95rem; }
.pbmh-showcase-more { text-align: center; }
.pbmh-btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    border: 2px solid var(--pbmh-brand); color: var(--pbmh-brand);
    font-weight: 700; font-size: .95rem;
    padding: 12px 28px; border-radius: 10px;
    text-decoration: none; transition: all .2s;
}
.pbmh-btn-outline:hover { background: var(--pbmh-brand); color: #fff; transform: translateY(-2px); box-shadow: var(--pbmh-shadow-md); }

/* ═══════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════ */
.pbmh-steps { padding: 90px 28px; background: var(--pbmh-bg); }
.pbmh-steps-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
    position: relative;
}
@media (max-width: 700px) { .pbmh-steps-grid { grid-template-columns: 1fr; gap: 28px; } }
/* Connector line between steps */
.pbmh-steps-grid::before {
    content: '';
    position: absolute; top: 36px; left: calc(16.66% + 24px); right: calc(16.66% + 24px);
    height: 2px;
    background: linear-gradient(90deg, var(--pbmh-brand-mid), var(--pbmh-brand));
    z-index: 0;
}
@media (max-width: 700px) { .pbmh-steps-grid::before { display: none; } }
.pbmh-step { text-align: center; position: relative; z-index: 1; }
.pbmh-step-num {
    width: 72px; height: 72px; border-radius: 50%;
    background: linear-gradient(135deg, var(--pbmh-brand), #3a6bba);
    color: #fff; font-size: 1.5rem; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 22px; box-shadow: 0 8px 24px rgba(36,75,142,.35);
    transition: transform .25s;
}
.pbmh-step:hover .pbmh-step-num { transform: scale(1.1); }
.pbmh-step-h3 { font-size: 1.1rem; font-weight: 800; margin: 0 0 10px; color: var(--pbmh-text); }
.pbmh-step-desc { font-size: .875rem; color: var(--pbmh-muted); line-height: 1.65; }

/* ═══════════════════════════════════════════
   WHY PREMIUM / SEO CONTENT BLOCK
═══════════════════════════════════════════ */
.pbmh-seo-block { padding: 80px 28px; background: var(--pbmh-white); }
.pbmh-seo-inner {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
@media (max-width: 760px) { .pbmh-seo-inner { grid-template-columns: 1fr; gap: 36px; } }
.pbmh-seo-text .pbmh-section-h2 { text-align: left; }
.pbmh-seo-text .pbmh-section-tag { display: block; text-align: left; }
.pbmh-seo-text .pbmh-section-sub { text-align: left; max-width: 100%; }
.pbmh-seo-list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 14px; }
.pbmh-seo-list li {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: .9rem; color: var(--pbmh-text); line-height: 1.5;
}
.pbmh-seo-list li::before {
    content: '✓'; background: var(--pbmh-success); color: #fff;
    width: 22px; height: 22px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .7rem; font-weight: 900; flex-shrink: 0; margin-top: 1px;
}
.pbmh-seo-visual {
    background: linear-gradient(140deg, var(--pbmh-brand-light) 0%, #d4e3f5 100%);
    border-radius: 20px; padding: 40px 36px;
    border: 1.5px solid var(--pbmh-border);
}
.pbmh-seo-kw {
    display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px;
}
.pbmh-seo-kw span {
    background: var(--pbmh-white); color: var(--pbmh-brand);
    border: 1.5px solid var(--pbmh-brand-mid); border-radius: 8px;
    padding: 6px 14px; font-size: .8rem; font-weight: 700;
    box-shadow: var(--pbmh-shadow-sm);
}
.pbmh-seo-excerpt {
    font-size: .9rem; color: var(--pbmh-muted); line-height: 1.7;
    border-left: 3px solid var(--pbmh-brand); padding-left: 16px;
    font-style: italic;
}

/* ═══════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════ */
.pbmh-cta {
    padding: 90px 28px;
    background: linear-gradient(140deg, #0f1f3d 0%, var(--pbmh-brand) 60%, #3a6bba 100%);
    position: relative; overflow: hidden;
}
.pbmh-cta::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(156,179,223,.15) 0%, transparent 60%), radial-gradient(circle at 80% 20%, rgba(245,158,11,.08) 0%, transparent 50%);
}
.pbmh-cta-inner { text-align: center; position: relative; z-index: 1; }
.pbmh-cta-h2 {
    font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900;
    color: #fff; letter-spacing: -.04em; margin: 0 0 16px;
}
.pbmh-cta-desc { font-size: 1.1rem; color: rgba(255,255,255,.75); margin: 0 0 36px; max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.65; }
.pbmh-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════ */
@keyframes pbmh-fadeup {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
.pbmh-reveal {
    opacity: 0; transform: translateY(32px);
    transition: opacity .65s ease, transform .65s ease;
}
.pbmh-reveal.is-visible {
    opacity: 1; transform: translateY(0);
}
.pbmh-reveal-delay-1 { transition-delay: .1s; }
.pbmh-reveal-delay-2 { transition-delay: .2s; }
.pbmh-reveal-delay-3 { transition-delay: .3s; }
.pbmh-reveal-delay-4 { transition-delay: .4s; }
.pbmh-reveal-delay-5 { transition-delay: .5s; }

/* ═══════════════════════════════════════════
   ENHANCED PLUGIN LISTING PAGE
═══════════════════════════════════════════ */
.pbml-wrap { padding: 40px 0 64px; }
.pbml-wrap > .pbml-container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.pbml-header { margin-bottom: 36px; }
.pbml-header h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; color: var(--pbmh-text); letter-spacing: -.04em; margin: 0 0 8px; }
.pbml-header p { color: var(--pbmh-muted); font-size: .95rem; margin: 0; }

/* Search bar */
.pbml-search-form { margin-bottom: 20px; }
.pbml-searchbar {
    display: flex; align-items: center; gap: 10px;
    background: #fff; border: 2px solid var(--pbmh-border);
    border-radius: 12px; padding: 10px 16px;
    box-shadow: var(--pbmh-shadow-sm);
    transition: border-color .2s, box-shadow .2s;
}
.pbml-searchbar:focus-within { border-color: var(--pbmh-brand); box-shadow: 0 0 0 3px rgba(36,75,142,.12); }
.pbml-searchbar svg { color: var(--pbmh-muted); flex-shrink: 0; }
.pbml-searchbar input {
    flex: 1; border: none; outline: none; font-size: 1rem;
    background: transparent; color: var(--pbmh-text);
}
.pbml-searchbar input::placeholder { color: var(--pbmh-muted); }
.pbml-search-btn {
    background: var(--pbmh-brand); color: #fff; border: none; cursor: pointer;
    padding: 8px 20px; border-radius: 8px; font-size: .88rem; font-weight: 700;
    transition: background .2s; white-space: nowrap;
}
.pbml-search-btn:hover { background: var(--pbmh-brand-dark); }
.pbml-clear-link { font-size: .85rem; color: var(--pbmh-muted); text-decoration: none; white-space: nowrap; }
.pbml-clear-link:hover { color: var(--pbmh-brand); }

/* Sort + filter row */
.pbml-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.pbml-tags { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.pbml-tag-btn {
    padding: 5px 15px; border-radius: 20px; font-size: .78rem; font-weight: 600;
    border: 1.5px solid var(--pbmh-border); color: #374151; text-decoration: none;
    transition: all .15s; background: #fff;
}
.pbml-tag-btn:hover, .pbml-tag-btn.is-active {
    background: var(--pbmh-brand); border-color: var(--pbmh-brand); color: #fff;
}
.pbml-sort {
    padding: 8px 12px; border: 1.5px solid var(--pbmh-border); border-radius: 8px;
    font-size: .83rem; color: var(--pbmh-text); background: #fff; cursor: pointer;
    font-family: inherit;
}
.pbml-sort:focus { outline: none; border-color: var(--pbmh-brand); }

/* Plugin grid */
.pbml-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.pbml-card {
    background: #fff; border: 1.5px solid var(--pbmh-border); border-radius: 14px;
    overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column;
    transition: all .25s;
}
.pbml-card:hover { box-shadow: var(--pbmh-shadow-lg); border-color: var(--pbmh-brand); transform: translateY(-5px); }
.pbml-card__top {
    background: linear-gradient(135deg, var(--pbmh-brand-light), #d8e8f9);
    padding: 22px; display: flex; align-items: center; gap: 14px;
    border-bottom: 1px solid var(--pbmh-border);
}
.pbml-card__icon {
    width: 54px; height: 54px; border-radius: 12px;
    border: 2px solid rgba(36,75,142,.12); object-fit: cover; flex-shrink: 0;
    background: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.pbml-card__icon img { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; }
.pbml-card__name { font-size: 1rem; font-weight: 800; margin: 0 0 4px; color: var(--pbmh-brand-dark); }
.pbml-card__short { font-size: .78rem; color: var(--pbmh-brand); font-weight: 600; }
.pbml-card__body { padding: 16px 20px; flex: 1; }
.pbml-card__desc { font-size: .855rem; color: var(--pbmh-muted); line-height: 1.6; margin: 0 0 12px; }
.pbml-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pbml-tag-pill {
    background: var(--pbmh-brand-light); color: var(--pbmh-brand);
    font-size: .7rem; font-weight: 700; border-radius: 20px; padding: 2px 9px;
}
.pbml-card__footer {
    padding: 14px 20px; border-top: 1px solid var(--pbmh-border);
    display: flex; align-items: center; justify-content: space-between;
}
.pbml-card__price { font-size: 1.05rem; font-weight: 900; color: var(--pbmh-brand); }
.pbml-card__price--free { color: var(--pbmh-success); }
.pbml-card__cta {
    font-size: .8rem; font-weight: 700; color: var(--pbmh-brand);
    background: var(--pbmh-brand-light); padding: 6px 14px; border-radius: 7px;
    transition: all .2s;
}
.pbml-card:hover .pbml-card__cta { background: var(--pbmh-brand); color: #fff; }
.pbml-count { font-size: .83rem; color: var(--pbmh-muted); margin-top: 20px; text-align: right; }
.pbml-empty {
    text-align: center; padding: 60px 20px;
    background: #fff; border: 1.5px dashed var(--pbmh-border); border-radius: 14px;
}
.pbml-empty svg { width: 40px; height: 40px; color: var(--pbmh-muted); margin-bottom: 12px; }
.pbml-empty p { color: var(--pbmh-muted); font-size: .95rem; margin: 0; }

/* Responsive */
@media (max-width: 540px) {
    .pbmh-features-grid { gap: 14px; }
    .pbmh-feature-card { padding: 22px 18px; }
    .pbmh-stats-grid { gap: 20px; }
}
