/* Card store (/cards, category, card details): black & white, premium card art. */
.vc-page { --ink: #0b0b0d; --paper: #f2f2ef; --white: #fff; --line: rgba(10, 10, 12, .08); --line-2: rgba(10, 10, 12, .14); --muted: #6d6d75; --faint: #a2a2a9; --up: #0f9d58; --down: #e0414f; --lime: #93bf00;
    --ease: cubic-bezier(.2, .8, .2, 1); --shadow: 0 1px 2px rgba(10, 10, 12, .04), 0 10px 28px -14px rgba(10, 10, 12, .16);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased; }
.vc-page.vc-guest { background-color: var(--paper); background-image: radial-gradient(rgba(10, 10, 12, .06) 1px, transparent 1.2px); background-size: 22px 22px; padding: 56px 0 72px; }
.vc-page a { text-decoration: none; color: inherit; }
.vc-page h2, .vc-page h3 { color: var(--ink); font-family: inherit; letter-spacing: -.02em; }
.vc-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }

/* ---------- card art ---------- */
.vc-art { --ease: cubic-bezier(.2, .8, .2, 1); --c1: #2b2b30; --c2: #111114; --c3: #030304; --fg: #fff; --fg-dim: rgba(255, 255, 255, .55);
    position: relative; width: 100%; aspect-ratio: 1.586; border-radius: 16px; padding: 7% 7.5%; overflow: hidden; color: var(--fg); display: flex; flex-direction: column; justify-content: space-between;
    background: linear-gradient(135deg, var(--c1) 0%, var(--c2) 52%, var(--c3) 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 22px 40px -22px rgba(10, 10, 12, .75), 0 2px 6px rgba(10, 10, 12, .2);
    font-size: clamp(9px, 4.3cqw, 17px); isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.vc-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
    radial-gradient(120% 80% at 100% 0%, rgba(255, 255, 255, .14), transparent 55%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 11px); }
.vc-art::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); pointer-events: none; }
.vc-art__shine { position: absolute; inset: -40%; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .16) 50%, transparent 60%); transform: translateX(-60%); transition: transform .9s var(--ease); pointer-events: none; }
.vc-tile:hover .vc-art__shine, .vc-detail__art:hover .vc-art__shine { transform: translateX(60%); }
.vc-art--gold { --c1: #f1dfa6; --c2: #c9a55a; --c3: #8a6a2b; --fg: #241a05; --fg-dim: rgba(36, 26, 5, .6); }
.vc-art--platinum { --c1: #f4f4f6; --c2: #c7c8cd; --c3: #8e9096; --fg: #121216; --fg-dim: rgba(18, 18, 22, .55); }
.vc-art--steel { --c1: #5c6876; --c2: #2f3842; --c3: #151a20; }
.vc-art__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.vc-art__brand { font-weight: 800; letter-spacing: .22em; font-size: 1.05em; }
.vc-art__kind { font-size: .78em; font-weight: 600; letter-spacing: .06em; color: var(--fg-dim); text-transform: uppercase; text-align: right; }
.vc-art__mid { display: flex; align-items: center; gap: 10px; }
.vc-art__chip { width: 3.3em; height: 2.5em; border-radius: .45em; background: linear-gradient(135deg, #f4e6b5, #c4a45b 55%, #9c7e3c); position: relative; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); }
.vc-art__chip i { position: absolute; inset: 22% 30%; border: 1px solid rgba(0, 0, 0, .3); border-radius: 3px; }
.vc-art__chip::before, .vc-art__chip::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: rgba(0, 0, 0, .25); }
.vc-art__chip::before { top: 38%; } .vc-art__chip::after { top: 62%; }
.vc-art__nfc { width: 1.9em; height: 1.9em; color: var(--fg-dim); }
.vc-art__number { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.28em; letter-spacing: .14em; color: var(--fg); opacity: .92; white-space: nowrap; }
.vc-art__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.vc-art__holder { min-width: 0; line-height: 1.2; }
.vc-art__holder small { display: block; font-size: .66em; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-dim); }
.vc-art__holder strong { display: block; font-size: .95em; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-art__net { flex-shrink: 0; color: var(--fg); display: inline-flex; align-items: center; }
.vc-art__net svg { height: 2.1em; width: auto; }
.vc-net--visa svg { height: 1.55em; }
.vc-amex { font-weight: 800; font-size: .85em; letter-spacing: .08em; padding: .25em .5em; border: 1.5px solid currentColor; border-radius: 4px; }
.vc-word { font-weight: 800; font-size: .9em; letter-spacing: .06em; }
.vc-art--lg { border-radius: 22px; }
.vc-art.is-out, .vc-out .vc-art { filter: grayscale(1) contrast(.85); opacity: .7; }

/* ---------- store header ---------- */
.vc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.vc-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin: 4px 0 6px; }
.vc-head p { color: var(--muted); margin: 0; max-width: 560px; }
.vc-search { position: relative; min-width: 260px; flex: 0 1 320px; }
.vc-search input { width: 100%; height: 46px; border-radius: 999px; border: 1px solid var(--line-2) !important; background: var(--white) !important; padding: 0 16px 0 42px !important; font-size: 14.5px; color: var(--ink) !important; outline: none; box-shadow: var(--shadow) !important; min-height: 0 !important; }
.vc-search input:focus { border-color: var(--ink) !important; }
.vc-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 17px; }
.vc-stats { display: flex; gap: 22px; flex-wrap: wrap; margin: 4px 0 18px; font-size: 13px; color: var(--muted); }
.vc-stats b { color: var(--ink); }
.vc-stats span { display: inline-flex; align-items: center; gap: 6px; }
.vc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); display: inline-block; box-shadow: 0 0 0 3px rgba(147, 191, 0, .18); }

.vc-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 6px; margin-bottom: 18px; }
.vc-chips::-webkit-scrollbar { display: none; }
.vc-chip { flex-shrink: 0; border: 1px solid var(--line-2); background: var(--white); color: var(--ink) !important; border-radius: 999px; padding: 8px 15px; font-size: 13.5px; font-weight: 500; white-space: nowrap; transition: border-color .2s, background .2s, color .2s; }
.vc-chip:hover { border-color: var(--ink); }
.vc-chip.active { background: var(--ink); color: #fff !important; border-color: var(--ink); }
.vc-chip small { opacity: .55; margin-left: 4px; }

/* ---------- grid ---------- */
.vc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.vc-tile, .vc-detail__art, .vc-art-wrap { container-type: inline-size; }
.vc-tile { display: flex; flex-direction: column; gap: 14px; padding: 14px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s var(--ease), border-color .25s, box-shadow .35s; color: var(--ink) !important; animation: vcIn .45s var(--ease) both; }
.vc-tile:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 2px 4px rgba(10, 10, 12, .04), 0 24px 40px -22px rgba(10, 10, 12, .35); }
.vc-tile:hover .vc-art { transform: rotate(-1.5deg) scale(1.01); }
.vc-tile__body { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; padding: 0 4px; }
.vc-tile__name { font-size: 15.5px; font-weight: 700; margin: 0; line-height: 1.3; }
.vc-tile__cat { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.vc-tile__price { font-size: 18px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.vc-tile__foot { display: flex; justify-content: space-between; align-items: center; padding: 10px 4px 2px; border-top: 1px dashed var(--line-2); }
.vc-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--up); }
.vc-stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.vc-stock.low { color: #b7791f; }
.vc-stock.out { color: var(--down); }
.vc-tile__cta { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: var(--ink); color: #fff; transition: gap .2s var(--ease); }
.vc-tile:hover .vc-tile__cta { gap: 10px; }
.vc-empty { grid-column: 1 / -1; text-align: center; padding: 50px 20px; color: var(--muted); }
.vc-pagination { margin-top: 26px; }
@keyframes vcIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .vc-tile, .vc-art, .vc-art__shine { animation: none !important; transition: none !important; } }

/* ---------- details ---------- */
.vc-crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.vc-crumbs a:hover { color: var(--ink); }
.vc-detail { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 34px; align-items: start; }
.vc-detail__art { position: relative; padding: 34px; border-radius: 28px; background: radial-gradient(90% 90% at 50% 20%, #ffffff, #e9e9e5); border: 1px solid var(--line); box-shadow: var(--shadow); perspective: 1200px; }
.vc-detail__art .vc-art { transform-style: preserve-3d; will-change: transform; }
.vc-detail__art::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: 18px; height: 22px; border-radius: 50%; background: rgba(10, 10, 12, .22); filter: blur(16px); z-index: 0; }
.vc-detail__art > * { position: relative; z-index: 1; }
.vc-perks { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; justify-content: center; }
.vc-perk { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: var(--white); border: 1px solid var(--line-2); }
.vc-panel { background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: 28px; box-shadow: var(--shadow); }
.vc-panel h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; margin: 6px 0 4px; line-height: 1.15; }
.vc-panel__cat { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.vc-panel__cat:hover { color: var(--ink); }
.vc-price { display: flex; align-items: baseline; gap: 10px; margin: 16px 0 6px; }
.vc-price strong { font-size: 44px; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.vc-price span { color: var(--muted); font-size: 14px; }
.vc-note { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #f8f8f6; border: 1px dashed var(--line-2); font-size: 13.5px; color: #3d3d44; margin: 12px 0 18px; }
.vc-note i { font-size: 18px; color: var(--ink); }
.vc-specs { list-style: none; padding: 0; margin: 0 0 20px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.vc-specs li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; font-size: 14px; color: var(--muted); }
.vc-specs li + li { border-top: 1px solid var(--line); }
.vc-specs li b { color: var(--ink); font-weight: 600; text-align: right; }
.vc-buy { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: stretch; }
.vc-qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; background: var(--white); }
.vc-qty button { width: 46px; height: 54px; border: 0; background: none; font-size: 18px; color: var(--ink); transition: background .2s; }
.vc-qty button:hover { background: #f2f2ef; }
.vc-qty input { width: 52px; height: 54px; border: 0 !important; text-align: center; font-size: 17px; font-weight: 700; background: none !important; color: var(--ink) !important; -moz-appearance: textfield; min-height: 0 !important; padding: 0 !important; box-shadow: none !important; }
.vc-qty input::-webkit-outer-spin-button, .vc-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.vc-btn { display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 16px; padding: 0 22px; min-height: 54px; font-size: 16px; font-weight: 700; color: #fff !important; background: var(--ink); box-shadow: 0 14px 28px -16px rgba(10, 10, 12, .7); transition: transform .2s var(--ease), opacity .2s; }
.vc-btn:hover { transform: translateY(-1px); }
.vc-btn:disabled { opacity: .3; transform: none; }
.vc-total { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); margin: 14px 2px 0; }
.vc-total b { color: var(--ink); font-size: 16px; font-variant-numeric: tabular-nums; }
.vc-trust { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 18px; font-size: 12.5px; color: var(--muted); }
.vc-trust span { display: inline-flex; align-items: center; gap: 5px; }

@media (max-width: 991.98px) {
    .vc-detail { grid-template-columns: 1fr; gap: 20px; }
    .vc-detail__art { padding: 22px; }
}
@media (max-width: 575.98px) {
    .vc-page.vc-guest { padding: 32px 0 48px; }
    .vc-grid { grid-template-columns: 1fr; }
    .vc-search { min-width: 0; flex: 1 1 100%; }
    .vc-panel { padding: 20px; }
    .vc-price strong { font-size: 38px; }
}

/* inside the logged-in app (ui-v2) the page background is already paper */
body.ui-v2 .vc-page { margin-top: 2px; }

/* ===== minimal card art (logo mark + brand, masked digits, network) ===== */
.vc-art { padding: 7.5% 7.5% 7%; border-radius: 16px; justify-content: space-between;
    background: linear-gradient(135deg, #1e1e21 0%, #141416 55%, #0c0c0e 100%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .07) inset, 0 20px 36px -22px rgba(10, 10, 12, .8), 0 2px 6px rgba(10, 10, 12, .18); }
.vc-art::before { background: radial-gradient(140% 110% at 0% 0%, rgba(255, 255, 255, .07), transparent 55%), radial-gradient(90% 80% at 100% 100%, rgba(255, 255, 255, .03), transparent 60%); }
.vc-art::after { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.vc-art__shine { background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .08) 50%, transparent 58%); }
.vc-art__top { justify-content: flex-start; align-items: center; gap: .55em; }
.vc-art__mark { width: 1.55em; height: 1.55em; border-radius: .38em; background: #fff; color: #0b0b0d; display: grid; place-items: center; font-weight: 900; font-size: 1.05em; line-height: 1; flex-shrink: 0; }
.vc-art__brand { font-weight: 700; font-size: 1.32em; letter-spacing: -.01em; text-transform: none; }
.vc-art__bottom { align-items: flex-end; }
.vc-art__digits { font-size: 1.32em; font-weight: 800; letter-spacing: .1em; color: rgba(255, 255, 255, .88); line-height: 1; }
.vc-art__net { color: #c4c4ca; }
.vc-net--visa svg { height: 1.75em; }
.vc-art__net svg { height: 1.9em; }
.vc-art--lg { border-radius: 22px; }

/* low balance hint on the card page */
.vc-lowbal { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: #fff7ed; border: 1px solid #f6d9b4; color: #7a4510; font-size: 13.5px; }
.vc-lowbal i { font-size: 19px; }
.vc-lowbal span { flex: 1; min-width: 160px; }
.vc-lowbal__btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: #0b0b0d; color: #fff !important; font-weight: 600; font-size: 13px; }

/* purchase confirmation pop-up in black & white */
#confirm.cmn--modal .modal-content { border: 0; border-radius: 22px; overflow: hidden; background: #fff; color: #0b0b0d; box-shadow: 0 30px 60px -20px rgba(10, 10, 12, .45); }
#confirm.cmn--modal .modal-header { background: #fff; border-bottom: 1px solid rgba(10, 10, 12, .08); padding: 18px 22px; }
#confirm.cmn--modal .modal-title { color: #0b0b0d; font-weight: 700; font-size: 17px; }
#confirm.cmn--modal .btn-close { background-color: #f2f2ef; border-radius: 50%; opacity: 1; padding: 10px; }
#confirm.cmn--modal .modal-body { padding: 22px; font-size: 15px; color: #3d3d44; }
#confirm.cmn--modal .modal-body b { display: block; margin-top: 8px; font-size: 18px; color: #0b0b0d; }
#confirm.cmn--modal .modal-footer { background: #fff; border-top: 1px solid rgba(10, 10, 12, .08); padding: 14px 22px; gap: 10px; }
#confirm.cmn--modal .btn--danger { background: #f2f2ef !important; color: #0b0b0d !important; border: 0 !important; border-radius: 14px !important; padding: 11px 20px; font-weight: 600; }
#confirm.cmn--modal .btn--success { background: #0b0b0d !important; color: #fff !important; border: 0 !important; border-radius: 14px !important; padding: 11px 22px; font-weight: 700; }
