/* VNG copy components. Tokens follow vnglabs.com (MonolithHomepage vars): ink #15171A, studio grey #DFDFDF, mist #F4F5F7, navy #1E3A6E. */
:root {
  --vc-ink: #15171A; --vc-mute: rgba(21,23,26,.62); --vc-dim: rgba(21,23,26,.42);
  --vc-line: rgba(15,18,24,.12); --vc-studio: #DFDFDF; --vc-mist: #F4F5F7; --vc-navy: #1E3A6E; --vc-pass: #1F9D55;
  --vc-mono: "JetBrains Mono", ui-monospace, monospace;
  --vc-gut: 24px;
}
.vngc-btn { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 999px;
  background: var(--vc-ink); color: #fff !important; font-weight: 600; font-size: 15px; text-decoration: none !important; transition: background .15s ease-out, transform .15s ease-out; }
.vngc-btn:hover { background: #2A2D33; }
.vngc-btn:active { transform: scale(.98); }
.vngc-btn-block { width: 100%; }
.vngc-btn-ghost { background: transparent; color: var(--vc-ink) !important; border: 1px solid var(--vc-line); }
.vngc-btn-ghost:hover { background: var(--vc-mist); }
.vngc-price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.vngc-from { font-family: var(--vc-mono); font-size: 11px; color: var(--vc-dim); }
.vngc-was { color: var(--vc-dim); font-size: .85em; font-weight: 500; }
.vngc-now { font-weight: 700; }
.vngc-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.vngc-chips li { font-size: 12px; line-height: 1; padding: 7px 10px; border: 1px solid var(--vc-line); border-radius: 999px; color: var(--vc-mute); background: #fff; }

/* cards (catalog + rail) */
.vngc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--vc-line); border-radius: 16px; overflow: hidden; min-width: 0; }
.vngc-card-img { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--vc-studio); }
.vngc-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vngc-badge { position: absolute; top: 10px; left: 10px; font-family: var(--vc-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; background: #fff; border: 1px solid var(--vc-line); border-radius: 999px; padding: 4px 9px; color: var(--vc-navy); }
.vngc-card-body { display: flex; flex-direction: column; gap: 10px; padding: 14px 14px 16px; flex: 1; }
.vngc-card-name { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.vngc-card-name a { color: var(--vc-ink); text-decoration: none; }
.vngc-card-price { margin: 0; font-size: 16px; }
.vngc-card-price .vngc-now { color: var(--vc-navy); }
.vngc-card .vngc-chips { display: none; }
.vngc-salenote { margin: 0; font-size: 12px; font-weight: 600; color: var(--vc-navy); }
.vngc-card .vngc-btn { margin-top: auto; min-height: 44px; }
@media (min-width: 900px) { .vngc-card .vngc-chips { display: flex; } }

.vngc-rail-wrap { margin-block: 0; }
.vngc-rail-title { font-size: clamp(24px, 3vw, 32px); margin: 0 0 20px; }
.vngc-rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(70vw, 280px); gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
  padding: 4px var(--vc-gut) 18px; scrollbar-width: thin; }
@media (min-width: 1248px) { .vngc-rail { padding-inline: calc((100vw - 1200px) / 2); } }

.vngc-grid-tools { display: flex; gap: 10px; margin: 0 0 18px; }
.vngc-search { flex: 1; }
.vngc-search input, .vngc-sort select { box-sizing: border-box; width: 100%; height: 48px; border: 1px solid var(--vc-line); border-radius: 999px; padding: 0 18px; font: inherit; font-size: 15px; background: #fff; color: var(--vc-ink); }
.vngc-sort { flex: 0 0 auto; max-width: 46%; }
.vngc-count { font-size: 14px; color: var(--vc-mute); margin: 0 0 14px; }
.vngc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 760px) { .vngc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .vngc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.vngc-empty { padding: 40px 0; color: var(--vc-mute); }

/* product top */
.vngc-buy { display: grid; gap: 20px; }
@media (min-width: 900px) { .vngc-buy { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; } }
.vngc-buy-photo { position: relative; background: var(--vc-studio); border: 1px solid var(--vc-line); border-radius: 20px; overflow: hidden; aspect-ratio: 1 / 1; }
.vngc-buy-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vngc-photo-chip { position: absolute; left: 14px; bottom: 14px; font-family: var(--vc-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; background: #fff; border-radius: 999px; padding: 6px 12px; color: var(--vc-navy); }
.vngc-buy-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.vngc-buy-name { margin: 0; font-size: clamp(32px, 4.4vw, 48px); line-height: 1.05; }
.vngc-buy-class { font-size: 15px; font-weight: 400; font-style: italic; letter-spacing: 0; color: var(--vc-mute); white-space: nowrap; }
.vngc-buy-lede { margin: 0; color: var(--vc-mute); font-size: 16px; line-height: 1.6; max-width: 60ch; }
.vngc-sizes { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.vngc-size > span { width: 100%; box-sizing: border-box; justify-content: space-between; }
.vngc-sizes legend { font-family: var(--vc-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--vc-dim); margin-bottom: 8px; padding: 0; }
.vngc-size { position: relative; }
.vngc-size input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.vngc-size > span { display: inline-flex; gap: 8px; align-items: baseline; min-height: 44px; padding: 11px 16px; border: 1px solid var(--vc-line); border-radius: 12px; font-size: 14px; background: #fff; }
.vngc-size input:checked + span { background: var(--vc-ink); border-color: var(--vc-ink); color: #fff; }
.vngc-size input:checked + span .vngc-was { color: rgba(255,255,255,.6); }
.vngc-size input:focus-visible + span { outline: 2px solid var(--vc-navy); outline-offset: 2px; }
.vngc-buy-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; border-top: 1px solid var(--vc-line); padding-top: 18px; }
.vngc-qty-l, .vngc-total-l { display: block; font-family: var(--vc-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--vc-dim); margin-bottom: 8px; }
.vngc-stepper { display: inline-flex; align-items: center; border: 1px solid var(--vc-line); border-radius: 999px; height: 48px; }
.vngc-stepper button { width: 46px; height: 46px; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--vc-ink); border-radius: 999px; }
.vngc-stepper output { min-width: 28px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.vngc-total { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.vngc-total [data-unit] { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.vngc-total [data-unit] .vngc-was { font-size: 15px; }
.vngc-total-sale { font-size: 12px; font-weight: 600; color: var(--vc-navy); margin-top: 6px; }
.vngc-btn-buy { width: 100%; min-height: 54px; font-size: 16px; }
.vngc-buy-note { margin: -4px 0 0; font-size: 13px; color: var(--vc-mute); text-align: center; }
.vngc-shipline { margin: 0; font-size: 13px; color: var(--vc-mute); text-align: center; }
.vngc-shipline b { color: var(--vc-ink); font-weight: 600; }

/* product details */
.vngc-details { max-width: 720px; margin-inline: auto; }
.vngc-details h2 { font-size: clamp(26px, 3vw, 34px); margin: 0 0 12px; }
.vngc-details h3 { font-size: 18px; margin: 28px 0 8px; }
.vngc-details p { color: var(--vc-mute); margin: 0; }
.vngc-details > h2:not(:first-of-type) { margin-top: 56px; }
.vngc-coa { display: flex; flex-direction: column; gap: 16px; margin: 40px 0 0; padding: 24px; border-radius: 20px; background: var(--vc-mist); }
.vngc-coa h3 { margin: 0 0 6px; }
@media (min-width: 700px) { .vngc-coa { flex-direction: row; align-items: center; justify-content: space-between; } .vngc-coa .vngc-btn { flex: 0 0 auto; } }
.vngc-refs { margin: 0; padding: 0; list-style: none; counter-reset: r; }
.vngc-refs li { counter-increment: r; display: grid; grid-template-columns: 32px 1fr; column-gap: 8px; padding: 14px 0; border-top: 1px solid var(--vc-line); }
.vngc-refs li::before { content: counter(r, decimal-leading-zero); font-family: var(--vc-mono); font-size: 12px; color: var(--vc-dim); padding-top: 3px; grid-row: span 2; }
.vngc-refs a { color: var(--vc-ink); font-weight: 600; text-decoration: none; }
.vngc-refs a:hover { text-decoration: underline; }
.vngc-refs span { font-size: 13px; color: var(--vc-dim); }
.vngc-ruo { margin-top: 40px !important; font-size: 13px; padding: 16px 18px; border: 1px solid var(--vc-line); border-radius: 14px; background: #fff; }

/* sale strip */
.vngc-salestrip { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 14px; padding: 8px 16px; background: var(--vc-ink); color: rgba(255,255,255,.9); font-size: 13px; border-top: 1px solid rgba(255,255,255,.08); }
.vngc-salestrip b { color: #fff; }
.vngc-countdown { font-family: var(--vc-mono); font-size: 12px; color: rgba(255,255,255,.7); }

/* researcher gate */
.vngc-gate { display: none; }
html.vngc-gated { overflow: hidden; }
html.vngc-gated .vngc-gate { display: flex; position: fixed; inset: 0; z-index: 100000; background: #0B0C0E; color: #fff; overflow-y: auto; padding: 32px var(--vc-gut); }
.vngc-gate-in { margin: auto; max-width: 520px; text-align: center; display: flex; flex-direction: column; gap: 16px; }
.vngc-gate-mark { font-family: var(--vc-mono); color: #D9A441; letter-spacing: .1em; margin: 0; }
.vngc-gate h2 { color: #fff; font-weight: 300; font-size: clamp(32px, 6vw, 44px); letter-spacing: -.02em; margin: 0; }
.vngc-gate p { color: rgba(255,255,255,.72); margin: 0; }
.vngc-gate label { display: grid; grid-template-columns: 22px 1fr; gap: 12px; text-align: left; font-size: 17px; line-height: 1.45; color: #fff; cursor: pointer; }
.vngc-gate input { width: 20px; height: 20px; margin-top: 3px; accent-color: #D9A441; }
.vngc-gate-go { height: 54px; border: 0; border-radius: 999px; background: #D9A441; color: #15171A; font: inherit; font-size: 17px; font-weight: 600; cursor: pointer; }
.vngc-gate-go:disabled { opacity: .35; cursor: not-allowed; }
.vngc-gate-small { font-size: 13px; }
.vngc-gate a { color: rgba(255,255,255,.85); }
.vngc-noimg { display: block; width: 100%; height: 100%; background: var(--vc-studio); }
@media (prefers-reduced-motion: reduce) { .vngc-btn { transition: none; } }
