/* Products catalog — scoped to .vv-cat */

.vv-cat {
    --navy: #0b1f33;
    --navy-soft: #132a44;
    --blue: #2563eb;
    --blue-hover: #1d4ed8;
    --blue-soft: #eff6ff;
    --blue-mid: #dbeafe;
    --bg: #f8fafc;
    --card: #ffffff;
    --text: #0f172a;
    --muted: #475569;
    --line: #e2e8f0;
    --shadow: 0 18px 50px rgba(11, 31, 51, 0.10);
    --radius: 16px;
    font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    color: var(--text);
    background: var(--bg);
    user-select: text;
    -webkit-user-select: text;
}

.vv-cat a { color: inherit; }

.vv-cat .container-fluid { overflow: visible; }

.vv-cat-wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}

.vv-cat-hero {
    background:
        radial-gradient(900px 320px at 12% -10%, rgba(37, 99, 235, 0.28), transparent 60%),
        linear-gradient(160deg, #0b1f33 0%, #12304d 100%);
    color: #fff;
    padding: 64px 0 56px;
}

.vv-cat-kicker {
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #93c5fd;
    margin: 0 0 14px;
}

.vv-cat-hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    font-weight: 800;
    margin: 0 0 12px;
}

.vv-cat-hero h1 span {
    color: #93c5fd;
}

.vv-cat-lead {
    font-size: 18px;
    line-height: 1.6;
    color: #cbd5e1;
    max-width: 620px;
    margin: 0 0 28px;
}

.vv-cat-search {
    position: relative;
    max-width: 560px;
}

.vv-cat-search input {
    width: 100%;
    height: 56px;
    border: 0;
    border-radius: 14px;
    padding: 0 52px 0 20px;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
    outline: none;
}

.vv-cat-search input:focus {
    box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.55), 0 16px 40px rgba(0, 0, 0, 0.22);
}

.vv-cat-search input::placeholder { color: #94a3b8; font-weight: 500; }

.vv-cat-search svg {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    fill: #64748b;
    pointer-events: none;
}

.vv-cat-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.vv-cat-stats span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 600;
}

.vv-cat-filters {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(248, 250, 252, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
}

.vv-cat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vv-cat-chip {
    appearance: none;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--navy);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.vv-cat-chip em {
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    border-radius: 999px;
    min-width: 22px;
    padding: 1px 6px;
    text-align: center;
}

.vv-cat-chip:hover {
    border-color: #bfdbfe;
    background: var(--blue-soft);
    color: var(--blue);
}

.vv-cat-chip.is-on {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.vv-cat-chip.is-on em {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.vv-cat-main { padding: 36px 0 80px; }

.vv-cat-block { margin-bottom: 48px; }

.vv-cat-block.is-empty { display: none; }

.vv-cat-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.vv-cat-head h2 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--navy);
    margin: 0 0 6px;
}

.vv-cat-head p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    max-width: 640px;
    line-height: 1.5;
}

.vv-cat-head b {
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.vv-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.vv-cat-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 20px 16px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.vv-cat-card:hover {
    transform: translateY(-3px);
    border-color: #bfdbfe;
    box-shadow: var(--shadow);
}

.vv-cat-card.is-off { display: none; }

.vv-cat-pair {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.vv-cat-fmt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 8px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.vv-cat-arrow {
    color: #94a3b8;
    font-size: 14px;
    font-weight: 800;
}

.vv-cat-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.vv-cat-card h3 a {
    color: var(--navy);
    text-decoration: none;
}

.vv-cat-card h3 a:hover { color: var(--blue); }

.vv-cat-card p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
}

.vv-cat-tag {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    margin-bottom: 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: #f1f5f9;
    color: #334155;
}

.vv-cat-card.is-two .vv-cat-tag {
    background: #ecfdf5;
    color: #047857;
}

.vv-cat-card.is-one .vv-cat-tag {
    background: #fff7ed;
    color: #c2410c;
}

.vv-cat-card.is-util .vv-cat-tag {
    background: #eef2ff;
    color: #3730a3;
}

.vv-cat-acts {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.vv-cat-acts a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
}

.vv-cat-acts .vv-open {
    background: var(--blue);
    color: #fff !important;
}

.vv-cat-acts .vv-open:hover { background: var(--blue-hover); }

.vv-cat-acts .vv-dl,
.vv-cat-acts .vv-buy {
    background: #fff;
    color: var(--navy) !important;
    border-color: #d6e0ee;
}

.vv-cat-acts .vv-dl:hover,
.vv-cat-acts .vv-buy:hover {
    border-color: var(--blue);
    color: var(--blue) !important;
    background: var(--blue-soft);
}

.vv-cat-empty {
    display: none;
    text-align: center;
    padding: 56px 20px;
    color: var(--muted);
    font-size: 17px;
    font-weight: 600;
}

.vv-cat-empty.is-on { display: block; }

.vv-cat-card.is-pair .vv-cat-fmt { background: #eff6ff; color: #1d4ed8; }
.vv-cat-card.is-imap .vv-cat-fmt { background: #ecfeff; color: #0e7490; }
.vv-cat-card.is-office365 .vv-cat-fmt { background: #fff7ed; color: #c2410c; }
.vv-cat-card.is-thunderbird .vv-cat-fmt { background: #eef2ff; color: #4338ca; }
.vv-cat-card.is-ost .vv-cat-fmt { background: #f1f5f9; color: #0f172a; }
.vv-cat-card.is-export-html .vv-cat-fmt { background: #ecfdf5; color: #047857; }
.vv-cat-card.is-export-mhtml .vv-cat-fmt { background: #fefce8; color: #a16207; }
.vv-cat-card.is-export-pdf .vv-cat-fmt { background: #fef2f2; color: #b91c1c; }
.vv-cat-card.is-contact .vv-cat-fmt { background: #fdf2f8; color: #be185d; }
.vv-cat-card.is-utility .vv-cat-fmt { background: #f1f5f9; color: #334155; }

@media (max-width: 980px) {
    .vv-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    .vv-cat-hero { padding: 44px 0 40px; }
    .vv-cat-wrap { padding: 0 18px; }
    .vv-cat-grid { grid-template-columns: 1fr; }
    .vv-cat-head { flex-direction: column; align-items: flex-start; }
    .vv-cat-hero h1 { font-size: 34px; }
    .vv-cat-lead { font-size: 16px; }
    .vv-cat-filters { position: static; }
}
