.vdm-shell {
  --vdm-bg: #f5f7fb;
  --vdm-surface: #fff;
  --vdm-surface-2: #f8fafc;
  --vdm-text: #111827;
  --vdm-muted: #64748b;
  --vdm-line: #e2e8f0;
  --vdm-brand: #5b45f5;
  --vdm-brand-2: #7c3aed;
  --vdm-success: #059669;
  --vdm-danger: #dc2626;
  --vdm-warning: #d97706;
  --vdm-shadow: 0 18px 46px rgba(15, 23, 42, .08);
  color: var(--vdm-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px clamp(16px, 3vw, 40px) 64px;
  line-height: 1.55;
}

body.theme-dark .vdm-shell,
body[data-theme="dark"] .vdm-shell,
.night-mode .vdm-shell {
  --vdm-bg: #0b1020;
  --vdm-surface: #111827;
  --vdm-surface-2: #172033;
  --vdm-text: #f8fafc;
  --vdm-muted: #a7b2c5;
  --vdm-line: #2a3548;
  --vdm-shadow: 0 20px 54px rgba(0, 0, 0, .25);
}

.vdm-shell *, .vdm-shell *::before, .vdm-shell *::after { box-sizing: border-box; }
.vdm-shell a { color: inherit; text-decoration: none; }
.vdm-shell img { display: block; max-width: 100%; }
.vdm-shell button, .vdm-shell input, .vdm-shell textarea, .vdm-shell select { font: inherit; }
.vdm-shell button, .vdm-shell select { cursor: pointer; }
.vdm-shell h1, .vdm-shell h2, .vdm-shell h3, .vdm-shell p { margin-top: 0; }
.vdm-shell [hidden] { display: none !important; }

.vdm-shell :focus-visible {
  outline: 3px solid rgba(91, 69, 245, .32);
  outline-offset: 2px;
}

.vdm-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, .65fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  color: #fff;
  min-height: 390px;
  padding: clamp(32px, 6vw, 76px);
  border-radius: 32px;
  background:
    radial-gradient(circle at 86% 18%, rgba(67, 232, 216, .28), transparent 26%),
    radial-gradient(circle at 10% 100%, rgba(124, 58, 237, .7), transparent 36%),
    linear-gradient(135deg, #111d51 0%, #322180 48%, #5b45f5 100%);
  box-shadow: 0 28px 80px rgba(51, 33, 128, .25);
}

.vdm-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to right, #000, transparent 85%);
}

.vdm-hero-copy, .vdm-wallet-card { position: relative; z-index: 1; }
.vdm-eyebrow { display: block; margin-bottom: 12px; color: #7dd3fc; font-size: 12px; font-weight: 850; letter-spacing: .16em; }
.vdm-hero h1 { max-width: 750px; margin-bottom: 16px; font-size: clamp(34px, 4.3vw, 62px); line-height: 1.03; letter-spacing: -.045em; }
.vdm-hero-copy > p { max-width: 690px; margin-bottom: 26px; color: rgba(255,255,255,.78); font-size: clamp(16px, 1.7vw, 20px); }

.vdm-hero-search {
  display: flex;
  align-items: center;
  max-width: 760px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(5, 10, 35, .22);
}
.vdm-hero-search > span { padding-left: 12px; color: #64748b; font-size: 24px; }
.vdm-hero-search input { min-width: 0; flex: 1; height: 48px; padding: 0 13px; color: #111827; border: 0; outline: 0; background: transparent; }
.vdm-hero-search button { height: 46px; padding: 0 22px; color: #fff; font-weight: 750; border: 0; border-radius: 12px; background: var(--vdm-brand); }
.vdm-hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 20px; color: rgba(255,255,255,.78); font-size: 13px; }

.vdm-wallet-card {
  display: flex;
  min-height: 235px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255,255,255,.2), rgba(255,255,255,.08));
  box-shadow: inset 0 1px rgba(255,255,255,.25), 0 20px 45px rgba(9, 14, 50, .22);
  backdrop-filter: blur(14px);
}
.vdm-wallet-orb { display: grid; width: 56px; height: 56px; margin-bottom: auto; place-items: center; border-radius: 18px; color: #321f88; font-size: 25px; font-weight: 900; background: linear-gradient(145deg, #fff, #b9f4ff); box-shadow: 0 12px 25px rgba(0,0,0,.18); }
.vdm-wallet-card > span { color: rgba(255,255,255,.72); font-size: 13px; }
.vdm-wallet-card > strong { margin: 5px 0 11px; font-size: clamp(23px, 2.5vw, 34px); letter-spacing: -.03em; }
.vdm-wallet-card > a { color: #a5f3fc; font-weight: 750; }

.vdm-compact-header { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 24px; padding: 14px 18px; border: 1px solid var(--vdm-line); border-radius: 16px; background: var(--vdm-surface); box-shadow: 0 8px 26px rgba(15,23,42,.04); }
.vdm-back { color: var(--vdm-brand) !important; font-weight: 800; }
.vdm-compact-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.vdm-compact-actions > a, .vdm-compact-actions > span { padding: 8px 11px; border-radius: 10px; background: var(--vdm-surface-2); font-size: 13px; font-weight: 700; }

.vdm-alert { position: sticky; z-index: 70; top: 72px; margin: 14px 0; padding: 13px 16px; color: #065f46; border: 1px solid #a7f3d0; border-radius: 13px; background: #ecfdf5; box-shadow: var(--vdm-shadow); }
.vdm-alert.is-error { color: #991b1b; border-color: #fecaca; background: #fef2f2; }

.vdm-admin-banner { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin: 18px 0; padding: 18px 20px; border: 1px solid #bfdbfe; border-radius: 16px; background: #eff6ff; color: #1e3a8a; }
.vdm-admin-banner-warning { border-color: #fde68a; background: #fffbeb; color: #92400e; }
.vdm-admin-banner p { margin-bottom: 0; }
.vdm-build { color: var(--vdm-muted); font-size: 12px; }

.vdm-categories, .vdm-rail, .vdm-catalog { margin-top: clamp(36px, 5vw, 62px); }
.vdm-section-heading, .vdm-page-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 22px; }
.vdm-section-heading h2, .vdm-page-heading h1 { margin-bottom: 4px; letter-spacing: -.025em; }
.vdm-section-heading h2 { font-size: clamp(23px, 2.3vw, 31px); }
.vdm-section-heading p, .vdm-page-heading p { margin-bottom: 0; color: var(--vdm-muted); }
.vdm-section-heading > a { color: var(--vdm-brand); font-weight: 800; white-space: nowrap; }

.vdm-category-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.vdm-category-grid > a { display: flex; gap: 12px; align-items: center; min-height: 82px; padding: 14px; border: 1px solid var(--vdm-line); border-radius: 16px; background: var(--vdm-surface); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.vdm-category-grid > a:hover, .vdm-category-grid > a.is-active { transform: translateY(-2px); border-color: rgba(91,69,245,.45); box-shadow: 0 12px 28px rgba(91,69,245,.09); }
.vdm-category-icon { display: grid; flex: 0 0 42px; height: 42px; place-items: center; color: var(--vdm-brand); border-radius: 12px; background: rgba(91,69,245,.1); }
.vdm-category-grid strong, .vdm-category-grid small { display: block; }
.vdm-category-grid strong { font-size: 14px; line-height: 1.2; }
.vdm-category-grid small { margin-top: 5px; color: var(--vdm-muted); font-size: 12px; }
.vdm-category-grid em { margin-left: auto; color: var(--vdm-muted); font-style: normal; }

.vdm-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.vdm-product-grid-rail { grid-template-columns: repeat(4, minmax(250px, 1fr)); overflow-x: auto; padding: 3px 3px 18px; scroll-snap-type: x proximity; }
.vdm-product-grid-rail > * { scroll-snap-align: start; }
.vdm-product-card { overflow: hidden; min-width: 0; border: 1px solid var(--vdm-line); border-radius: 18px; background: var(--vdm-surface); box-shadow: 0 8px 28px rgba(15,23,42,.05); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.vdm-product-card:hover { transform: translateY(-4px); border-color: rgba(91,69,245,.3); box-shadow: var(--vdm-shadow); }
.vdm-card-cover { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--vdm-surface-2); }
.vdm-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.vdm-product-card:hover .vdm-card-cover img { transform: scale(1.035); }
.vdm-card-badge { position: absolute; top: 12px; left: 12px; padding: 6px 9px; color: #fff; border-radius: 999px; background: linear-gradient(135deg, var(--vdm-brand), var(--vdm-brand-2)); font-size: 11px; font-weight: 850; }
.vdm-card-preview { position: absolute; right: 12px; bottom: 12px; padding: 7px 10px; color: #111827; border-radius: 9px; background: rgba(255,255,255,.9); font-size: 12px; font-weight: 800; opacity: 0; transform: translateY(5px); transition: .2s ease; }
.vdm-product-card:hover .vdm-card-preview { opacity: 1; transform: none; }
.vdm-card-body { padding: 17px; }
.vdm-card-taxonomy { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; color: var(--vdm-brand); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.vdm-card-body h3 { margin-bottom: 8px; font-size: 17px; line-height: 1.35; }
.vdm-card-body > p { min-height: 42px; margin-bottom: 13px; color: var(--vdm-muted); font-size: 13px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.vdm-card-seller { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; color: var(--vdm-muted); font-size: 12px; }
.vdm-card-seller img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.vdm-card-rating { display: flex; align-items: center; gap: 5px; color: var(--vdm-muted); font-size: 12px; }
.vdm-stars { color: #f59e0b; letter-spacing: .03em; white-space: nowrap; }
.vdm-dot { opacity: .55; }
.vdm-card-footer { display: flex; justify-content: space-between; gap: 10px; align-items: end; margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--vdm-line); }
.vdm-card-footer strong { font-size: 18px; }
.vdm-card-footer span { color: var(--vdm-muted); font-size: 11px; text-align: right; }

.vdm-catalog-toolbar { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 18px; padding: 15px 18px; border: 1px solid var(--vdm-line); border-radius: 16px; background: var(--vdm-surface); }
.vdm-catalog-toolbar > div { display: flex; gap: 12px; align-items: baseline; }
.vdm-catalog-toolbar h2 { margin: 0; font-size: 20px; }
.vdm-catalog-toolbar span { color: var(--vdm-muted); font-size: 13px; }
.vdm-catalog-toolbar form label { display: flex; gap: 9px; align-items: center; color: var(--vdm-muted); font-size: 13px; }
.vdm-filter-toggle { display: none; padding: 8px 11px; color: var(--vdm-brand); border: 1px solid rgba(91,69,245,.22); border-radius: 9px; background: rgba(91,69,245,.07); font-weight: 750; }
.vdm-catalog-layout { display: grid; grid-template-columns: 255px minmax(0, 1fr); gap: 26px; align-items: start; }
.vdm-filter-panel { position: sticky; top: 86px; padding: 20px; border: 1px solid var(--vdm-line); border-radius: 18px; background: var(--vdm-surface); }
.vdm-filter-panel label, .vdm-filter-panel fieldset { display: block; margin: 0 0 16px; padding: 0; color: var(--vdm-text); border: 0; font-size: 13px; font-weight: 700; }
.vdm-filter-panel label > input, .vdm-filter-panel label > select, .vdm-filter-panel fieldset input { margin-top: 7px; }
.vdm-price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vdm-clear-filter { display: block; margin-top: 12px; color: var(--vdm-brand) !important; font-size: 13px; font-weight: 750; text-align: center; }

.vdm-shell input[type="text"], .vdm-shell input[type="search"], .vdm-shell input[type="number"], .vdm-shell input[type="url"], .vdm-shell input[type="file"], .vdm-shell select, .vdm-shell textarea {
  width: 100%;
  color: var(--vdm-text);
  border: 1px solid var(--vdm-line);
  border-radius: 11px;
  background: var(--vdm-surface);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.vdm-shell input[type="text"], .vdm-shell input[type="search"], .vdm-shell input[type="number"], .vdm-shell input[type="url"], .vdm-shell select { min-height: 44px; padding: 0 12px; }
.vdm-shell input[type="file"] { min-height: 44px; padding: 8px; }
.vdm-shell textarea { min-height: 115px; padding: 11px 12px; resize: vertical; }
.vdm-shell input:focus, .vdm-shell select:focus, .vdm-shell textarea:focus { border-color: var(--vdm-brand); box-shadow: 0 0 0 3px rgba(91,69,245,.11); outline: 0; }

.vdm-btn { display: inline-flex; min-height: 42px; justify-content: center; align-items: center; gap: 8px; padding: 9px 15px; border: 1px solid transparent; border-radius: 11px; font-weight: 800; line-height: 1.2; transition: transform .16s ease, filter .16s ease, opacity .16s ease; }
.vdm-btn:hover { transform: translateY(-1px); filter: brightness(1.03); }
.vdm-btn[disabled] { cursor: wait; opacity: .65; transform: none; }
.vdm-btn-primary { color: #fff !important; background: linear-gradient(135deg, var(--vdm-brand), var(--vdm-brand-2)); box-shadow: 0 8px 19px rgba(91,69,245,.2); }
.vdm-btn-secondary { color: var(--vdm-text) !important; border-color: var(--vdm-line); background: var(--vdm-surface); }
.vdm-btn-danger { color: #fff !important; background: var(--vdm-danger); }
.vdm-btn-block { width: 100%; }

.vdm-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 30px; }
.vdm-pagination a { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--vdm-line); border-radius: 10px; background: var(--vdm-surface); font-weight: 750; }
.vdm-pagination a.is-active { color: #fff; border-color: var(--vdm-brand); background: var(--vdm-brand); }

.vdm-state, .vdm-empty { padding: 34px; color: var(--vdm-muted); border: 1px dashed var(--vdm-line); border-radius: 18px; background: var(--vdm-surface); text-align: center; }
.vdm-state > span, .vdm-empty-large > span { display: block; margin-bottom: 10px; color: var(--vdm-brand); font-size: 38px; }
.vdm-empty h2, .vdm-state h2 { color: var(--vdm-text); }
.vdm-empty-large { padding-block: 80px; }

.vdm-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; color: var(--vdm-muted); font-size: 13px; }
.vdm-breadcrumb a { color: var(--vdm-brand); }
.vdm-detail-layout { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, .72fr); gap: clamp(26px, 4vw, 54px); align-items: start; }
.vdm-detail-main { min-width: 0; }
.vdm-product-heading { margin: 22px 0 24px; }
.vdm-product-heading h1 { margin: 8px 0 12px; font-size: clamp(30px, 4vw, 48px); line-height: 1.12; letter-spacing: -.04em; }
.vdm-product-heading .vdm-lead { max-width: 800px; color: var(--vdm-muted); font-size: 17px; }
.vdm-chip-row, .vdm-tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.vdm-chip-row span, .vdm-tag-list span { padding: 6px 10px; color: var(--vdm-brand); border: 1px solid rgba(91,69,245,.16); border-radius: 999px; background: rgba(91,69,245,.07); font-size: 12px; font-weight: 750; }

.vdm-gallery { margin-bottom: 28px; }
.vdm-gallery-stage { overflow: hidden; border: 1px solid var(--vdm-line); border-radius: 22px; background: var(--vdm-surface-2); }
.vdm-gallery-main { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; }
.vdm-gallery-thumbs { display: flex; gap: 10px; overflow-x: auto; margin-top: 11px; padding-bottom: 4px; }
.vdm-gallery-thumbs button { overflow: hidden; flex: 0 0 78px; height: 58px; padding: 0; border: 2px solid transparent; border-radius: 10px; background: var(--vdm-surface); }
.vdm-gallery-thumbs button.is-active { border-color: var(--vdm-brand); }
.vdm-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.vdm-detail-tabs { position: sticky; z-index: 15; top: 65px; display: flex; gap: 6px; overflow-x: auto; margin: 0 0 20px; padding: 7px; border: 1px solid var(--vdm-line); border-radius: 13px; background: color-mix(in srgb, var(--vdm-surface) 92%, transparent); backdrop-filter: blur(10px); }
.vdm-detail-tabs a { padding: 8px 12px; border-radius: 9px; color: var(--vdm-muted); font-size: 13px; font-weight: 750; white-space: nowrap; }
.vdm-detail-tabs a:hover { color: var(--vdm-brand); background: rgba(91,69,245,.07); }
.vdm-detail-section { scroll-margin-top: 132px; margin-top: 22px; padding: clamp(20px, 3vw, 30px); border: 1px solid var(--vdm-line); border-radius: 20px; background: var(--vdm-surface); }
.vdm-detail-section h2 { font-size: 22px; }
.vdm-rich-copy { color: var(--vdm-text); white-space: normal; }
.vdm-rich-copy p:last-child { margin-bottom: 0; }
.vdm-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0; list-style: none; }
.vdm-feature-grid li { padding: 11px 13px; border-radius: 11px; background: var(--vdm-surface-2); }
.vdm-check-list { padding: 0; list-style: none; }
.vdm-check-list li { position: relative; margin: 9px 0; padding-left: 25px; }
.vdm-check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--vdm-success); font-weight: 900; }
.vdm-info-block, .vdm-about { padding: 16px; border-radius: 13px; background: var(--vdm-surface-2); }
.vdm-doc-link { display: inline-flex; margin-top: 12px; color: var(--vdm-brand) !important; font-weight: 800; }

.vdm-purchase-column { position: sticky; top: 82px; }
.vdm-buy-card, .vdm-seller-card { margin-bottom: 18px; padding: 22px; border: 1px solid var(--vdm-line); border-radius: 20px; background: var(--vdm-surface); box-shadow: var(--vdm-shadow); }
.vdm-buy-card .vdm-price { display: block; margin-bottom: 4px; font-size: clamp(27px, 3vw, 38px); letter-spacing: -.035em; }
.vdm-buy-card > small { color: var(--vdm-muted); }
.vdm-delivery-options { display: grid; gap: 9px; margin: 18px 0; }
.vdm-delivery-options > div { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 11px; background: var(--vdm-surface-2); font-size: 13px; }
.vdm-buy-card .vdm-btn { width: 100%; margin-top: 8px; }
.vdm-buy-secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vdm-product-social-proof { display: flex; justify-content: space-around; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--vdm-line); color: var(--vdm-muted); font-size: 12px; text-align: center; }
.vdm-seller-card header { display: flex; gap: 12px; align-items: center; }
.vdm-seller-card img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.vdm-seller-card strong, .vdm-seller-card small { display: block; }
.vdm-seller-card small { color: var(--vdm-muted); }
.vdm-seller-card p { margin: 14px 0 0; color: var(--vdm-muted); font-size: 13px; }

.vdm-review-overview { display: grid; grid-template-columns: 160px 1fr; gap: 24px; margin-bottom: 20px; }
.vdm-review-overview > div:first-child { text-align: center; }
.vdm-review-overview b { display: block; font-size: 48px; }
.vdm-rating-bars { display: grid; gap: 6px; }
.vdm-rating-bars > div { display: grid; grid-template-columns: 28px 1fr 35px; gap: 8px; align-items: center; font-size: 12px; }
.vdm-rating-bars i { display: block; overflow: hidden; height: 7px; border-radius: 999px; background: var(--vdm-line); }
.vdm-rating-bars i::after { content: ""; display: block; width: var(--value, 0%); height: 100%; background: #f59e0b; }
.vdm-review-list, .vdm-question-list { display: grid; gap: 12px; }
.vdm-review, .vdm-questions, .vdm-question-manage { padding: 16px; border: 1px solid var(--vdm-line); border-radius: 14px; background: var(--vdm-surface-2); }
.vdm-review-author { display: flex; justify-content: space-between; gap: 14px; }
.vdm-review-author small { color: var(--vdm-muted); }
.vdm-review p, .vdm-questions p { margin: 9px 0 0; }
.vdm-inline-form { display: grid; gap: 9px; margin-top: 12px; }

.vdm-dashboard, .vdm-library, .vdm-sell-page, .vdm-form-shell { padding: clamp(20px, 3.5vw, 38px); border: 1px solid var(--vdm-line); border-radius: 24px; background: var(--vdm-bg); }
.vdm-page-heading h1 { font-size: clamp(29px, 3.5vw, 44px); }
.vdm-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 24px; }
.vdm-stat-grid > div { padding: 18px; border: 1px solid var(--vdm-line); border-radius: 15px; background: var(--vdm-surface); }
.vdm-stat-grid span, .vdm-stat-grid small { display: block; color: var(--vdm-muted); font-size: 12px; }
.vdm-stat-grid strong { display: block; margin: 5px 0; font-size: 25px; }
.vdm-panel { margin-top: 18px; padding: 20px; border: 1px solid var(--vdm-line); border-radius: 18px; background: var(--vdm-surface); }

.vdm-library-list { display: grid; gap: 14px; }
.vdm-library-item { display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px; border: 1px solid var(--vdm-line); border-radius: 17px; background: var(--vdm-surface); }
.vdm-library-icon, .vdm-product-mini-cover { overflow: hidden; border-radius: 13px; background: var(--vdm-surface-2); }
.vdm-library-icon img, .vdm-product-mini-cover img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; }
.vdm-library-copy h3 { margin-bottom: 5px; }
.vdm-library-copy p { margin-bottom: 8px; color: var(--vdm-muted); font-size: 13px; }
.vdm-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }

.vdm-manage-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); gap: 20px; }
.vdm-product-mini-copy { min-width: 0; }
.vdm-product-mini-metric { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.vdm-product-mini-metric > div { padding: 9px; border-radius: 10px; background: var(--vdm-surface-2); text-align: center; }
.vdm-meta-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vdm-meta-list > div { padding: 11px; border-radius: 10px; background: var(--vdm-surface-2); }
.vdm-meta-list span, .vdm-meta-list strong { display: block; }
.vdm-meta-list span { color: var(--vdm-muted); font-size: 11px; }
.vdm-version-list, .vdm-timeline { display: grid; gap: 10px; }
.vdm-version-list > div, .vdm-timeline > div { padding: 12px 14px; border-left: 3px solid var(--vdm-brand); border-radius: 8px; background: var(--vdm-surface-2); }

.vdm-stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 22px; }
.vdm-step { display: flex; gap: 9px; align-items: center; padding: 12px; color: var(--vdm-muted); border: 1px solid var(--vdm-line); border-radius: 13px; background: var(--vdm-surface); font-size: 12px; font-weight: 700; }
.vdm-step > span, .vdm-form-heading > div > span { display: grid; flex: 0 0 30px; height: 30px; place-items: center; color: var(--vdm-brand); border-radius: 9px; background: rgba(91,69,245,.1); font-weight: 900; }
.vdm-step.is-active { color: var(--vdm-text); border-color: rgba(91,69,245,.45); }
.vdm-step.is-complete > span { color: #fff; background: var(--vdm-success); }
.vdm-form-step { padding: clamp(20px, 3vw, 30px); border: 1px solid var(--vdm-line); border-radius: 19px; background: var(--vdm-surface); }
.vdm-form-heading > div { display: flex; gap: 13px; align-items: center; }
.vdm-form-heading h2 { margin-bottom: 2px; }
.vdm-form-heading p { margin-bottom: 0; color: var(--vdm-muted); }
.vdm-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; margin-top: 22px; }
.vdm-form-grid label, .vdm-form-split label, .vdm-ajax-form label { display: block; color: var(--vdm-text); font-size: 13px; font-weight: 750; }
.vdm-form-grid label > span, .vdm-form-split label > span, .vdm-ajax-form label > span { display: block; margin-bottom: 7px; }
.vdm-form-grid small { color: var(--vdm-muted); font-weight: 400; }
.vdm-span-2 { grid-column: 1 / -1; }
.vdm-form-split { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.vdm-step-actions, .vdm-form-footer { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; }
.vdm-asset-field, .vdm-external-field, .vdm-license-field { margin-top: 14px; padding: 16px; border: 1px dashed var(--vdm-line); border-radius: 13px; background: var(--vdm-surface-2); }
.vdm-review-checklist { display: grid; gap: 10px; margin: 22px 0; }
.vdm-review-checklist > div { padding: 12px; border-radius: 10px; background: #ecfdf5; color: #065f46; }
.vdm-consent { display: flex !important; gap: 10px; align-items: start; }

.vdm-support-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.vdm-ticket { margin-bottom: 14px; padding: 18px; border: 1px solid var(--vdm-line); border-radius: 16px; background: var(--vdm-surface); }
.vdm-ticket > header { display: flex; justify-content: space-between; gap: 14px; align-items: start; }
.vdm-ticket h3 { margin: 7px 0 0; font-size: 16px; }
.vdm-ticket > p, .vdm-ticket-product { color: var(--vdm-muted); font-size: 13px; }
.vdm-ticket blockquote { margin: 12px 0 0; padding: 12px; border-left: 3px solid var(--vdm-brand); border-radius: 7px; background: var(--vdm-surface-2); }
.vdm-status { display: inline-flex; padding: 5px 8px; color: #1d4ed8; border-radius: 999px; background: #dbeafe; font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .04em; }
.vdm-status-published, .vdm-status-active, .vdm-status-seller_replied { color: #047857; background: #d1fae5; }
.vdm-status-pending_review, .vdm-status-open, .vdm-status-buyer_replied { color: #b45309; background: #fef3c7; }
.vdm-status-rejected, .vdm-status-suspended, .vdm-status-revoked { color: #b91c1c; background: #fee2e2; }
.vdm-status-closed, .vdm-status-expired, .vdm-status-refunded { color: #475569; background: #e2e8f0; }
.vdm-ticket-thread { display: grid; gap: 9px; max-height: 340px; overflow-y: auto; margin: 12px 0; padding: 12px; border-radius: 12px; background: var(--vdm-surface-2); }
.vdm-ticket-message { max-width: 88%; padding: 10px 12px; border: 1px solid var(--vdm-line); border-radius: 12px; background: var(--vdm-surface); }
.vdm-ticket-message-seller, .vdm-ticket-message-admin { justify-self: end; border-color: rgba(91,69,245,.22); background: rgba(91,69,245,.07); }
.vdm-ticket-message > div { display: flex; justify-content: space-between; gap: 12px; color: var(--vdm-muted); font-size: 11px; }
.vdm-ticket-message p { margin: 5px 0 0; }
.vdm-ticket-reply { margin-top: 13px; }
.vdm-ticket-reply textarea { min-height: 80px; }

.vdm-modal { position: fixed; z-index: 9999; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(5,10,24,.68); backdrop-filter: blur(5px); }
.vdm-modal-panel { position: relative; width: min(520px, 100%); max-height: min(760px, 90vh); overflow-y: auto; padding: clamp(22px, 4vw, 32px); color: var(--vdm-text); border: 1px solid var(--vdm-line); border-radius: 22px; background: var(--vdm-surface); box-shadow: 0 30px 90px rgba(0,0,0,.32); }
.vdm-modal-close { position: absolute; top: 12px; right: 12px; display: grid; width: 36px; height: 36px; place-items: center; color: var(--vdm-muted); border: 0; border-radius: 50%; background: var(--vdm-surface-2); font-size: 20px; }
.vdm-modal-icon { display: grid; width: 54px; height: 54px; margin-bottom: 15px; place-items: center; color: var(--vdm-brand); border-radius: 16px; background: rgba(91,69,245,.1); font-size: 26px; }
.vdm-modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 20px; }
.vdm-checkout-summary { margin-top: 14px; padding: 14px; border-radius: 12px; background: var(--vdm-surface-2); }
.vdm-checkout-summary > div, .vdm-license-line { display: flex; justify-content: space-between; gap: 15px; margin: 7px 0; }
.vdm-checkout-price { color: var(--vdm-brand); font-size: 22px; }
.vdm-license-value { display: block; overflow-wrap: anywhere; padding: 14px; border: 1px dashed var(--vdm-brand); border-radius: 10px; background: var(--vdm-surface-2); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }

@media (max-width: 1180px) {
  .vdm-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vdm-product-grid-rail { grid-template-columns: repeat(4, minmax(240px, 280px)); }
  .vdm-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vdm-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .vdm-shell { padding-inline: 14px; }
  .vdm-hero { grid-template-columns: 1fr; min-height: auto; border-radius: 24px; }
  .vdm-wallet-card { min-height: 190px; }
  .vdm-detail-layout, .vdm-manage-grid, .vdm-support-columns { grid-template-columns: 1fr; }
  .vdm-purchase-column { position: static; }
  .vdm-detail-title-mobile { display: block; }
  .vdm-catalog-layout { grid-template-columns: 1fr; }
  .vdm-filter-toggle { display: inline-flex; }
  .vdm-filter-panel { position: fixed; z-index: 1000; inset: auto 10px 10px; max-height: 82vh; overflow-y: auto; transform: translateY(calc(100% + 30px)); transition: transform .24s ease; box-shadow: 0 28px 90px rgba(0,0,0,.28); }
  .vdm-filter-panel.is-open { transform: none; }
  .vdm-stepper { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .vdm-shell { padding-top: 12px; padding-bottom: 44px; }
  .vdm-hero { padding: 28px 20px; }
  .vdm-hero h1 { font-size: 36px; }
  .vdm-hero-search { align-items: stretch; flex-wrap: wrap; }
  .vdm-hero-search > span { display: none; }
  .vdm-hero-search input { flex-basis: 100%; height: 43px; }
  .vdm-hero-search button { width: 100%; }
  .vdm-hero-trust { display: grid; }
  .vdm-compact-header, .vdm-section-heading, .vdm-page-heading, .vdm-catalog-toolbar { align-items: stretch; flex-direction: column; }
  .vdm-catalog-toolbar > div { flex-wrap: wrap; }
  .vdm-catalog-toolbar form label { justify-content: space-between; }
  .vdm-category-grid { grid-template-columns: 1fr 1fr; }
  .vdm-product-grid { grid-template-columns: 1fr; }
  .vdm-product-grid-rail { grid-template-columns: repeat(4, minmax(236px, 82vw)); }
  .vdm-feature-grid, .vdm-form-grid, .vdm-form-split, .vdm-meta-list { grid-template-columns: 1fr; }
  .vdm-span-2 { grid-column: auto; }
  .vdm-library-item { grid-template-columns: 76px minmax(0, 1fr); }
  .vdm-library-item .vdm-actions { grid-column: 1 / -1; justify-content: stretch; }
  .vdm-library-item .vdm-actions .vdm-btn { flex: 1; }
  .vdm-review-overview { grid-template-columns: 1fr; }
  .vdm-stat-grid { grid-template-columns: 1fr 1fr; }
  .vdm-stepper { display: flex; overflow-x: auto; }
  .vdm-step { flex: 0 0 165px; }
  .vdm-form-step { padding: 17px; }
  .vdm-step-actions, .vdm-form-footer { flex-wrap: wrap; }
  .vdm-step-actions .vdm-btn, .vdm-form-footer .vdm-btn { flex: 1; }
  .vdm-modal-actions { flex-direction: column-reverse; }
  .vdm-modal-actions .vdm-btn { width: 100%; }
  .vdm-buy-secondary { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .vdm-category-grid, .vdm-stat-grid { grid-template-columns: 1fr; }
  .vdm-product-social-proof { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .vdm-shell *, .vdm-shell *::before, .vdm-shell *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* V5 component refinements. */
.vdm-detail-title-mobile { display: none; }
.vdm-rating-bars i { position: relative; }
.vdm-rating-bars i > b { display: block; height: 100%; border-radius: inherit; background: #f59e0b; }
.vdm-rating-bars i::after { display: none; }
.vdm-review-overview > div:first-child > strong { display: block; font-size: 48px; line-height: 1; }
.vdm-review-overview > div:first-child > span { display: block; margin-top: 5px; color: var(--vdm-muted); font-size: 12px; }
.vdm-review-author { justify-content: flex-start; align-items: center; }
.vdm-review-author > img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.vdm-review-author > div > strong, .vdm-review-author > div > span { display: block; }
.vdm-review-author > div > span { color: var(--vdm-success); font-size: 11px; font-weight: 750; }
.vdm-review > div:nth-child(2) { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; color: var(--vdm-muted); font-size: 12px; }
.vdm-question-list > article { padding: 16px; border: 1px solid var(--vdm-line); border-radius: 14px; background: var(--vdm-surface-2); }
.vdm-question-list > article > div { display: flex; justify-content: space-between; gap: 12px; }
.vdm-question-list time { color: var(--vdm-muted); font-size: 11px; }
.vdm-question-list blockquote { margin: 12px 0 0; padding: 12px; border-left: 3px solid var(--vdm-brand); border-radius: 8px; background: var(--vdm-surface); }
.vdm-delivery-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vdm-delivery-options > label { position: relative; display: grid; min-height: 150px; align-content: center; gap: 5px; padding: 18px; border: 1px solid var(--vdm-line); border-radius: 15px; background: var(--vdm-surface); cursor: pointer; }
.vdm-delivery-options > label:has(input:checked) { border-color: var(--vdm-brand); box-shadow: 0 0 0 3px rgba(91,69,245,.09); }
.vdm-delivery-options input { position: absolute; top: 12px; right: 12px; }
.vdm-delivery-options label > span { color: var(--vdm-brand); font-size: 28px; }
.vdm-delivery-options label > strong, .vdm-delivery-options label > small { display: block; }
.vdm-delivery-options label > small { color: var(--vdm-muted); }
.vdm-seller-products { display: grid; gap: 12px; }
.vdm-seller-products > article { display: grid; grid-template-columns: 86px minmax(0,1fr) 140px auto; gap: 16px; align-items: center; padding: 15px; border: 1px solid var(--vdm-line); border-radius: 16px; background: var(--vdm-surface); }
.vdm-product-mini-cover { width: 86px; }
.vdm-product-mini-copy h3 { margin: 6px 0 4px; }
.vdm-product-mini-copy p { margin: 0; color: var(--vdm-muted); font-size: 12px; }
.vdm-product-mini-metric { display: block; margin: 0; text-align: right; }
.vdm-product-mini-metric small, .vdm-product-mini-metric strong { display: block; }
.vdm-product-mini-metric small { color: var(--vdm-muted); }
.vdm-version-list > article { padding: 13px; border: 1px solid var(--vdm-line); border-radius: 12px; background: var(--vdm-surface-2); }
.vdm-version-list > article > div { display: flex; justify-content: space-between; gap: 10px; }
.vdm-version-list p { margin: 7px 0 0; color: var(--vdm-muted); font-size: 12px; }
.vdm-timeline > div { display: grid; grid-template-columns: 12px 1fr; gap: 10px; border-left: 0; }
.vdm-timeline > div > span { width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--vdm-brand); }
.vdm-timeline article { min-width: 0; }
.vdm-timeline article > strong, .vdm-timeline article > time { display: block; }
.vdm-timeline time { color: var(--vdm-muted); font-size: 11px; }
.vdm-buy-secondary > button, .vdm-buy-secondary > a { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; padding: 8px; color: var(--vdm-text); border: 1px solid var(--vdm-line); border-radius: 10px; background: var(--vdm-surface); font-size: 12px; font-weight: 750; }
.vdm-license-line > div > strong, .vdm-license-line > div > span { display: block; }
.vdm-license-line > div > span { color: var(--vdm-muted); font-size: 11px; }
.vdm-meta-list dt { color: var(--vdm-muted); font-size: 11px; }
.vdm-meta-list dd { margin: 3px 0 0; font-weight: 750; }

@media (max-width: 900px) {
  .vdm-detail-title-mobile { display: block; }
  .vdm-seller-products > article { grid-template-columns: 76px minmax(0,1fr) auto; }
  .vdm-seller-products .vdm-product-mini-metric { display: none; }
}
@media (max-width: 640px) {
  .vdm-delivery-options { grid-template-columns: 1fr; }
  .vdm-delivery-options > label { min-height: 105px; }
  .vdm-seller-products > article { grid-template-columns: 64px minmax(0,1fr); }
  .vdm-seller-products > article > .vdm-btn { grid-column: 1 / -1; }
}
