/* Category hub pages — additive on marketplace.css */

.hub-page {
    padding-top: 12px;
    padding-bottom: 56px;
}

.hub-hero {
    text-align: left;
    padding: 28px 0 20px;
}

.hub-hero .hero-eyebrow {
    text-align: left;
}

.hub-hero .hero-title {
    text-align: left;
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    margin-bottom: 10px;
}

.hub-hero .hero-lead {
    text-align: left;
    max-width: 40rem;
    margin: 0 0 14px;
}

.hub-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 8px;
}

.hub-switch a {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 650;
    text-decoration: none;
}

.hub-switch a:hover {
    border-color: #93c5fd;
    background: #eff6ff;
    color: #1d4ed8;
}

.hub-switch a.is-active {
    border-color: #2563eb;
    background: #1d4ed8;
    color: #fff;
}

.hub-crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
    margin: 0 0 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
}

.hub-crumb a {
    color: #fff;
    text-decoration: none;
}

.hub-crumb a:hover {
    color: #fff;
    text-decoration: underline;
}

.hub-crumb-sep {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
}

.hub-meta {
    margin: 0 0 18px;
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 600;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}

.hub-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 16px 16px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.hub-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.12);
    transform: translateY(-1px);
}

.hub-card-top {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.hub-card .tool-logo {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    background: #e2e8f0;
    flex-shrink: 0;
}

.hub-card .tool-name {
    font-size: 1rem;
    font-weight: 750;
    color: #0f172a;
    line-height: 1.3;
    margin: 0 0 4px;
}

.hub-card-meta {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
}

.hub-card-desc {
    font-size: 0.86rem;
    color: #475569;
    line-height: 1.5;
    flex: 1;
}

.hub-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 4px;
}

.hub-card-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: #14532d;
}

.hub-card-cta {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1d4ed8;
}

.hub-empty {
    padding: 28px 18px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    color: #64748b;
    text-align: center;
}
