/* Buy store index — order-style catalog, scoped to .vv-buy-index */

.vv-buy-index {
    --navy: #0b1f33;
    --navy-soft: #132a44;
    --blue: #2563eb;
    --bg: #f4f6f8;
    --card: #fff;
    --ink: #0b1b33;
    --muted: #5a6a7e;
    --line: #e2e8f0;
    font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    color: var(--ink);
    background: var(--bg);
    user-select: text;
    -webkit-user-select: text;
}

.vv-buy-index a { color: inherit; }

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

.vv-bi-hero {
    background:
        radial-gradient(ellipse 80% 60% at 10% 20%, rgba(37, 99, 235, 0.28), transparent 55%),
        linear-gradient(135deg, #0f1e2c 0%, #0b1f33 48%, #12304d 100%);
    color: #fff;
    padding: 56px 0 40px;
}

.vv-bi-hero h1 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -0.03em;
    text-align: center;
    margin: 0 0 10px;
}

.vv-bi-hero p {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 22px;
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.5;
}

.vv-bi-search {
    position: relative;
    max-width: 560px;
    margin: 0 auto 16px;
}

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

.vv-bi-stats {
    text-align: center;
    margin: 0 0 18px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.vv-bi-tiers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.vv-bi-tiers li {
    font-size: 13px;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 10px 14px;
}

.vv-bi-tiers strong {
    display: block;
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.vv-bi-main { padding: 32px 0 72px; }

.vv-bi-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    align-items: start;
}

.vv-bi-side {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px 12px;
    position: sticky;
    top: 16px;
}

.vv-bi-side h2 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin: 0 0 10px 8px;
}

.vv-bi-cats { list-style: none; margin: 0; padding: 0; }

.vv-bi-cats button {
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    padding: 9px 12px;
    border-radius: 8px;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.vv-bi-cats button:hover { background: #eef2f7; }

.vv-bi-cats button.is-on {
    background: var(--navy);
    color: #fff;
}

.vv-bi-cats em {
    font-style: normal;
    font-size: 11px;
    opacity: 0.7;
}

.vv-bi-meta {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 14px;
}

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

.vv-bi-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px 16px 16px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.vv-bi-card[hidden],
.vv-bi-card.is-off {
    display: none !important;
}

.vv-bi-empty[hidden] {
    display: none !important;
}

.vv-bi-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 12px 28px rgba(11, 31, 51, 0.1);
}

.vv-bi-badge {
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    background: #eff6ff;
    color: #1d4ed8;
    margin-bottom: 10px;
}

.vv-bi-card h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--navy);
}

.vv-bi-card h3 a { text-decoration: none; }
.vv-bi-card h3 a:hover { color: var(--blue); }

.vv-bi-pair {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 13px;
}

.vv-bi-price {
    margin: 0 0 14px;
    font-size: 13px;
    color: var(--muted);
}

.vv-bi-price strong {
    display: block;
    font-size: 22px;
    color: var(--navy);
    margin-top: 2px;
}

.vv-bi-acts {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vv-bi-acts a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.vv-bi-buy {
    background: var(--navy);
    color: #fff !important;
}

.vv-bi-buy:hover { background: #132a44; }

.vv-bi-more {
    background: #2563eb;
    color: #fff !important;
}

.vv-bi-more:hover { background: #1d4ed8; }

.vv-bi-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 20px;
    color: var(--muted);
    font-weight: 600;
}

@media (max-width: 980px) {
    .vv-bi-layout { grid-template-columns: 1fr; }
    .vv-bi-side { position: static; }
    .vv-bi-grid { grid-template-columns: 1fr 1fr; }
    .vv-bi-cats { display: flex; flex-wrap: wrap; gap: 6px; }
    .vv-bi-cats li { flex: 0 0 auto; }
    .vv-bi-cats button { width: auto; }
}

@media (max-width: 640px) {
    .vv-bi-wrap { padding: 0 18px; }
    .vv-bi-grid { grid-template-columns: 1fr; }
}
