
/* Standardized Form Controls & Inputs */
.vdm-form-grid label,
.vdm-form-split label,
.vdm-media-grid label {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  color: var(--vdm-text) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  margin-bottom: 6px !important;
}

.vdm-form-grid input:not([type="checkbox"]):not([type="radio"]),
.vdm-form-grid select,
.vdm-media-grid input:not([type="checkbox"]):not([type="radio"]),
.vdm-shell .vdm-form-step input:not([type="checkbox"]):not([type="radio"]),
.vdm-shell .vdm-form-step select {
  display: block !important;
  width: 100% !important;
  height: 46px !important;
  padding: 10px 16px !important;
  border: 1.5px solid var(--vdm-line) !important;
  border-radius: 12px !important;
  background: var(--vdm-surface-2) !important;
  color: var(--vdm-text) !important;
  font-size: 14px !important;
  font-family: inherit !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

.vdm-form-grid input:not([type="checkbox"]):not([type="radio"]):focus,
.vdm-form-grid select:focus,
.vdm-media-grid input:not([type="checkbox"]):not([type="radio"]):focus,
.vdm-shell .vdm-form-step input:not([type="checkbox"]):not([type="radio"]):focus,
.vdm-shell .vdm-form-step select:focus {
  border-color: #6366f1 !important;
  background: var(--vdm-surface) !important;
  box-shadow: 0 0 0 3.5px rgba(99, 102, 241, 0.15) !important;
}

body.theme-dark .vdm-form-grid input:not([type="checkbox"]):not([type="radio"]),
body.theme-dark .vdm-form-grid select,
body.theme-dark .vdm-media-grid input:not([type="checkbox"]):not([type="radio"]),
body.theme-dark .vdm-shell .vdm-form-step input:not([type="checkbox"]):not([type="radio"]),
body.theme-dark .vdm-shell .vdm-form-step select,
body[data-theme="dark"] .vdm-form-grid input:not([type="checkbox"]):not([type="radio"]),
body[data-theme="dark"] .vdm-form-grid select,
body[data-theme="dark"] .vdm-media-grid input:not([type="checkbox"]):not([type="radio"]),
body[data-theme="dark"] .vdm-shell .vdm-form-step input:not([type="checkbox"]):not([type="radio"]),
body[data-theme="dark"] .vdm-shell .vdm-form-step select,
.night-mode .vdm-form-grid input:not([type="checkbox"]):not([type="radio"]),
.night-mode .vdm-form-grid select,
.night-mode .vdm-media-grid input:not([type="checkbox"]):not([type="radio"]),
.night-mode .vdm-shell .vdm-form-step input:not([type="checkbox"]):not([type="radio"]),
.night-mode .vdm-shell .vdm-form-step select {
  background: #161f33 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #f8fafc !important;
}

body.theme-dark .vdm-form-grid input:focus,
body.theme-dark .vdm-form-grid select:focus,
body[data-theme="dark"] .vdm-form-grid input:focus,
body[data-theme="dark"] .vdm-form-grid select:focus,
.night-mode .vdm-form-grid input:focus,
.night-mode .vdm-form-grid select:focus {
  border-color: #818cf8 !important;
  background: #111827 !important;
  box-shadow: 0 0 0 3.5px rgba(129, 140, 248, 0.2) !important;
}


/* Robust Vector SVG Icons */
.vdm-icon {
  display: inline-block;
  vertical-align: -2px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}
.vdm-star-filled {
  color: #f59e0b !important;
  fill: #f59e0b !important;
}
.vdm-star-empty {
  color: #cbd5e1 !important;
  fill: none !important;
}
body.theme-dark .vdm-star-empty,
body[data-theme="dark"] .vdm-star-empty,
.night-mode .vdm-star-empty {
  color: #475569 !important;
}
.vdm-icon-check { color: #10b981; }
.vdm-icon-bolt { color: #f59e0b; }
.vdm-icon-shield { color: #38bdf8; }

.vdm-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.vdm-delivery-options label span svg {
  width: 20px;
  height: 20px;
}

.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;
  box-sizing: border-box;
}

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-wallet-actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.vdm-wallet-actions > a { color: #a5f3fc; font-size: 13px; font-weight: 750; }
.vdm-license-shortcut { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.vdm-license-shortcut > span { display: inline-grid; place-items: center; line-height: 1; }
.vdm-license-shortcut > b { font: inherit; }
.vdm-wallet-actions .vdm-license-shortcut { padding: 7px 10px; color: #fff !important; border: 1px solid rgba(165,243,252,.32); border-radius: 10px; background: linear-gradient(135deg, rgba(91,69,245,.78), rgba(8,145,178,.7)); box-shadow: 0 8px 22px rgba(8,47,73,.18); }
.vdm-wallet-actions .vdm-license-shortcut:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.6); }
.vdm-license-mobile-shortcut { display: none; }

.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-compact-actions .vdm-license-shortcut { color: #fff !important; background: linear-gradient(135deg, var(--vdm-brand), #0891b2); box-shadow: 0 7px 18px rgba(91,69,245,.18); }
.vdm-heading-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end; }

.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-sale-price { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.vdm-sale-price-current { color: var(--vdm-brand); font-size: inherit; }
.vdm-sale-price del { color: var(--vdm-muted); font-size: 12px; font-weight: 500; }
.vdm-sale-badge { display: inline-flex; padding: 3px 7px; border-radius: 999px; color: #fff; background: #e5484d; font-size: 10px; font-weight: 900; line-height: 1.4; }
.vdm-card-footer .vdm-sale-price-current { color: var(--vdm-brand); font-size: 18px; text-align: left; }
.vdm-card-footer .vdm-sale-badge { color: #fff; font-size: 10px; text-align: left; }

.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 { position: relative; display: grid; overflow: hidden; width: 100%; aspect-ratio: 16 / 10; place-items: center; border: 1px solid var(--vdm-line); border-radius: 22px; background: radial-gradient(circle at 50% 34%, color-mix(in srgb, var(--vdm-brand) 6%, var(--vdm-surface-2)), var(--vdm-surface-2) 68%); }
.vdm-gallery-stage > .vdm-gallery-main,
.vdm-gallery-stage > [data-vdm-gallery-main] { position: absolute; inset: 0; display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; margin: auto; aspect-ratio: auto; object-fit: contain; object-position: center; }
.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-markdown h2,.vdm-markdown h3,.vdm-markdown h4,.vdm-markdown h5{margin:22px 0 9px;color:var(--vdm-heading,#fff)}
.vdm-markdown ul,.vdm-markdown ol{padding-left:24px;margin:12px 0}
.vdm-markdown code{padding:2px 6px;border-radius:5px;background:rgba(79,120,180,.16);color:#ffd27d;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.vdm-markdown pre{max-width:100%;overflow:auto;padding:16px;border:1px solid rgba(116,157,215,.2);border-radius:12px;background:#09101a;color:#dceaff}
.vdm-markdown pre code{padding:0;background:transparent;color:inherit;white-space:pre}
.vdm-markdown a{color:#60b9ff;text-decoration:underline;text-underline-offset:3px}
.vdm-markdown blockquote{margin:14px 0;padding:12px 15px;border-left:4px solid #6366f1;border-radius:0 10px 10px 0;background:rgba(99,102,241,.08)}
.vdm-markdown .vdm-table-wrap{max-width:100%;overflow-x:auto;margin:14px 0;border:1px solid var(--vdm-line);border-radius:12px}
.vdm-markdown table{width:100%;border-collapse:collapse;font-size:13px}
.vdm-markdown th,.vdm-markdown td{padding:9px 12px;border-right:1px solid var(--vdm-line);border-bottom:1px solid var(--vdm-line);text-align:left;vertical-align:top}
.vdm-markdown th{background:var(--vdm-surface-2);font-weight:800}.vdm-markdown tr:last-child td{border-bottom:0}.vdm-markdown th:last-child,.vdm-markdown td:last-child{border-right:0}
.vdm-markdown .vdm-tasklist{display:grid;gap:7px;padding-left:0;list-style:none}.vdm-markdown .vdm-tasklist li{display:flex;align-items:flex-start;gap:8px}.vdm-markdown .vdm-tasklist input{margin-top:4px;accent-color:var(--vdm-brand)}
.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-sale-editor { padding: 16px; border: 1px solid rgba(229,72,77,.28); border-radius: 16px; background: linear-gradient(135deg,rgba(229,72,77,.075),rgba(245,158,11,.045)); }
.vdm-sale-editor-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 13px; }
.vdm-sale-editor-head strong, .vdm-sale-editor-head small { display: block; }
.vdm-sale-editor-head small, .vdm-sale-editor > small { margin-top: 4px; color: var(--vdm-muted); font-weight: 500; }
.vdm-sale-editor-head > span { padding: 5px 10px; border-radius: 999px; color: #fff; background: #e5484d; font-size: 10px; font-weight: 900; letter-spacing: .09em; }
.vdm-sale-editor .vdm-form-grid { grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 0; }
.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-update-center { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; margin: 0 0 18px; padding: 16px; border: 1px solid color-mix(in srgb, var(--vdm-primary) 32%, var(--vdm-line)); border-radius: 18px; background: linear-gradient(135deg, color-mix(in srgb, var(--vdm-primary) 11%, var(--vdm-surface)), var(--vdm-surface)); box-shadow: 0 12px 30px rgba(30, 74, 130, .08); }
.vdm-update-center-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: #fff; background: var(--vdm-primary); box-shadow: 0 8px 18px color-mix(in srgb, var(--vdm-primary) 28%, transparent); }
.vdm-update-center-copy { min-width: 0; }
.vdm-update-center-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.vdm-update-center-head strong { font-size: 15px; }
.vdm-update-center-head > span { flex: 0 0 auto; color: var(--vdm-muted); font-size: 12px; }
.vdm-update-center-list { display: grid; gap: 5px; }
.vdm-update-center-list a { display: flex; justify-content: space-between; gap: 14px; padding: 7px 9px; border-radius: 10px; color: var(--vdm-text); background: color-mix(in srgb, var(--vdm-surface) 78%, transparent); text-decoration: none; }
.vdm-update-center-list a:hover { color: var(--vdm-primary); background: var(--vdm-surface); }
.vdm-update-center-list time { flex: 0 0 auto; color: var(--vdm-muted); font-size: 12px; white-space: nowrap; }
.vdm-library-item { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px 18px; align-items: start; padding: 16px; border: 1px solid var(--vdm-line); border-radius: 17px; background: var(--vdm-surface); }
.vdm-library-item-updated { border-color: color-mix(in srgb, var(--vdm-primary) 42%, var(--vdm-line)); box-shadow: 0 10px 28px rgba(30, 74, 130, .08); scroll-margin-top: 92px; }
.vdm-library-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.vdm-update-badge { display: inline-flex; align-items: center; gap: 5px; min-height: 25px; padding: 4px 9px; border-radius: 999px; color: var(--vdm-primary); background: color-mix(in srgb, var(--vdm-primary) 12%, var(--vdm-surface)); font-size: 11px; font-weight: 800; }
.vdm-library-icon, .vdm-product-mini-cover { overflow: hidden; border-radius: 13px; background: var(--vdm-surface-2); }
.vdm-library-icon { width: 84px; height: 84px; }
.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-library-copy { min-width: 0; }
.vdm-library-copy h3, .vdm-library-copy p, .vdm-library-copy small { overflow-wrap: anywhere; }
.vdm-library-copy h3 a { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.vdm-library-item > .vdm-actions { grid-column: 2; width: 100%; max-width: none; align-items: center; justify-content: flex-start; }
.vdm-library-item .vdm6-library-downloads { justify-content: flex-start; }
.vdm-download-review { display: inline-flex; align-items: center; gap: 6px; max-width: 260px; padding: 8px 11px; border: 1px solid #f1c56b; border-radius: 10px; background: #fffbeb; color: #8a4b08; font-size: 12px; font-weight: 750; line-height: 1.35; }
html.vlike-night-active .vdm-download-review, .vdm-shell[data-vlike-theme="dark"] .vdm-download-review, body.theme-dark .vdm-download-review { border-color: rgba(251,191,36,.4); background: rgba(120,53,15,.28); color: #fde68a; }
.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-upload-progress { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px; border: 1px solid #c7d2fe; border-radius: 12px; color: #3730a3; background: #eef2ff; font-size: 12px; font-weight: 750; }
.vdm-upload-progress[hidden] { display: none; }
.vdm-upload-progress progress { width: 100%; height: 9px; overflow: hidden; border: 0; border-radius: 999px; accent-color: var(--vdm-primary); }
.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-app-upload { position: relative; overflow: hidden; padding: 20px; border: 1px dashed rgba(91,69,245,.52); border-radius: 17px; background: linear-gradient(135deg,rgba(91,69,245,.075),rgba(59,130,246,.035)); }
.vdm-app-upload[hidden] { display: none !important; }
.vdm-delivery-upload { margin: -4px 0 22px; }
.vdm-license-upload { border-style: solid; background: linear-gradient(135deg,rgba(91,69,245,.105),rgba(34,197,94,.035)); box-shadow: inset 0 0 0 1px rgba(91,69,245,.06); }
.vdm-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.vdm-license-delivery-section { position: relative; margin: -4px 0 26px; padding: 26px; border: 1.5px solid rgba(0,242,254,.4); border-radius: 22px; background: radial-gradient(circle at 10% 20%,rgba(0,242,254,.09),transparent 50%),radial-gradient(circle at 90% 80%,rgba(181,23,158,.08),transparent 50%),linear-gradient(145deg,rgba(13,17,34,.95),rgba(10,14,26,.98)); box-shadow: 0 12px 40px rgba(0,0,0,.45),inset 0 0 25px rgba(0,242,254,.06); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.vdm-license-delivery-section[hidden] { display: none !important; }
.vdm-sub-delivery-heading { margin-bottom: 22px; }
.vdm-sub-delivery-heading strong { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 850; color: #f8fafc; letter-spacing: -.01em; text-shadow: 0 0 12px rgba(0,242,254,.4); }
.vdm-sub-delivery-heading strong::before { content: ""; display: inline-block; width: 4px; height: 18px; border-radius: 4px; background: linear-gradient(180deg,#00f2fe,#b5179e); box-shadow: 0 0 10px #00f2fe; }
.vdm-sub-delivery-heading p { margin: 6px 0 0; font-size: 13.5px; color: #94a3b8; line-height: 1.5; }
.vdm-cyber-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
@media (max-width: 900px) { .vdm-cyber-grid { grid-template-columns: 1fr; gap: 12px; } }
.vdm-cyber-switch-bar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
@media (max-width: 900px) { .vdm-cyber-switch-bar { grid-template-columns: 1fr; gap: 10px; } }
.vdm-cyber-switch-item { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; border: 1.5px solid rgba(255,255,255,.12); background: rgba(18,24,43,.85); cursor: pointer; user-select: none; transition: all .25s cubic-bezier(.16,1,.3,1); }
.vdm-cyber-switch-item:hover { border-color: rgba(0,242,254,.5); background: rgba(24,34,60,.95); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,242,254,.12); }
.vdm-cyber-switch-item:has(.vdm-cyber-radio:focus-visible) { outline: 3px solid rgba(0,242,254,.72); outline-offset: 3px; }
.vdm-cyber-radio { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.vdm-switch-icon-wrap { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.1); flex-shrink: 0; transition: all .25s ease; }
.vdm-switch-text-wrap { flex: 1; min-width: 0; }
.vdm-switch-title-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.vdm-switch-title { font-size: 13.5px; font-weight: 800; color: #f1f5f9; line-height: 1.3; }
.vdm-switch-badge-rec { padding: 2px 6px; font-size: 9.5px; font-weight: 850; border-radius: 999px; background: rgba(0,242,254,.18); border: 1px solid #00f2fe; color: #00f2fe; text-transform: uppercase; letter-spacing: .04em; }
.vdm-switch-subtitle { display: block; margin-top: 3px; font-size: 11.5px; color: #94a3b8; line-height: 1.35; white-space: normal; }
.vdm-neon-toggle { position: relative; width: 44px; height: 24px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.2); flex-shrink: 0; transition: all .3s cubic-bezier(.16,1,.3,1); }
.vdm-neon-toggle-knob { position: absolute; top: 1.5px; left: 2px; width: 17px; height: 17px; border-radius: 50%; background: #94a3b8; box-shadow: 0 2px 4px rgba(0,0,0,.4); transition: all .3s cubic-bezier(.16,1,.3,1); }

.vdm-cyber-switch-item[data-vdm-mode="app_package"]:has(.vdm-cyber-radio:checked),
.vdm-cyber-switch-item[data-vdm-mode="app_package"].is-active {
  border-color: #00f2fe !important;
  background: linear-gradient(135deg, rgba(0,242,254,.12), rgba(15,23,42,.95)) !important;
  box-shadow: 0 0 0 2px rgba(0,242,254,.3), 0 8px 25px rgba(0,242,254,.2) !important;
}
.vdm-cyber-switch-item[data-vdm-mode="app_package"]:has(.vdm-cyber-radio:checked) .vdm-neon-toggle,
.vdm-cyber-switch-item[data-vdm-mode="app_package"].is-active .vdm-neon-toggle {
  background: linear-gradient(90deg, #00f2fe, #4facfe);
  border-color: #00f2fe;
  box-shadow: 0 0 14px rgba(0,242,254,.8);
}
.vdm-cyber-switch-item[data-vdm-mode="app_package"]:has(.vdm-cyber-radio:checked) .vdm-neon-toggle-knob,
.vdm-cyber-switch-item[data-vdm-mode="app_package"].is-active .vdm-neon-toggle-knob {
  left: 21px;
  background: #ffffff;
  box-shadow: 0 0 10px #ffffff;
}

.vdm-cyber-switch-item[data-vdm-mode="key_only"]:has(.vdm-cyber-radio:checked),
.vdm-cyber-switch-item[data-vdm-mode="key_only"].is-active {
  border-color: #ff9e00 !important;
  background: linear-gradient(135deg, rgba(255,158,0,.12), rgba(25,18,28,.95)) !important;
  box-shadow: 0 0 0 2px rgba(255,158,0,.3), 0 8px 25px rgba(255,158,0,.2) !important;
}
.vdm-cyber-switch-item[data-vdm-mode="key_only"]:has(.vdm-cyber-radio:checked) .vdm-neon-toggle,
.vdm-cyber-switch-item[data-vdm-mode="key_only"].is-active .vdm-neon-toggle {
  background: linear-gradient(90deg, #ff007f, #ff9e00);
  border-color: #ff9e00;
  box-shadow: 0 0 14px rgba(255,158,0,.8);
}
.vdm-cyber-switch-item[data-vdm-mode="key_only"]:has(.vdm-cyber-radio:checked) .vdm-neon-toggle-knob,
.vdm-cyber-switch-item[data-vdm-mode="key_only"].is-active .vdm-neon-toggle-knob {
  left: 21px;
  background: #ffffff;
  box-shadow: 0 0 10px #ffffff;
}

.vdm-app-dropzone { position: relative; margin-top: 10px; padding: 32px 24px; border: 2px dashed rgba(0,242,254,.45); border-radius: 20px; background: radial-gradient(circle at center,rgba(0,242,254,.05),transparent 70%),linear-gradient(180deg,rgba(15,23,42,.9),rgba(11,16,30,.95)); text-align: center; box-shadow: inset 0 0 25px rgba(0,242,254,.05); transition: all .25s ease; }
.vdm-app-dropzone:hover, .vdm-app-dropzone.is-dragover { border-color: #00f2fe; background: radial-gradient(circle at center,rgba(0,242,254,.1),transparent 70%),linear-gradient(180deg,rgba(18,28,52,.95),rgba(13,20,38,.98)); box-shadow: 0 0 25px rgba(0,242,254,.25),inset 0 0 25px rgba(0,242,254,.12); }
.vdm-app-dropzone[hidden] { display: none !important; }
.vdm-dropzone-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.vdm-dropzone-icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 22px; background: linear-gradient(135deg,rgba(0,242,254,.2),rgba(181,23,158,.2)); border: 1px solid rgba(0,242,254,.4); color: #00f2fe; box-shadow: 0 0 20px rgba(0,242,254,.35); }
.vdm-dropzone-content h4 { margin: 0; font-size: 17px; font-weight: 850; color: #f8fafc; text-shadow: 0 0 10px rgba(0,242,254,.3); }
.vdm-dropzone-content p { margin: 5px 0 16px; font-size: 13px; color: #94a3b8; }
.vdm-btn-upload-trigger { display: inline-flex !important; align-items: center; gap: 10px; padding: 12px 26px !important; font-size: 14.5px !important; font-weight: 800 !important; color: #0d111d !important; background: linear-gradient(90deg,#00f2fe,#4facfe) !important; border-radius: 12px !important; border: none !important; cursor: pointer; box-shadow: 0 0 20px rgba(0,242,254,.6); transition: all .2s ease; text-transform: uppercase; letter-spacing: .03em; }
.vdm-btn-upload-trigger:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(0,242,254,.9); }
.vdm-hidden-file-input { display: none !important; }
.vdm-dropzone-formats { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 18px; }
.vdm-format-pill { padding: 4px 10px; border-radius: 8px; background: rgba(255,255,255,.05); border: 1px solid rgba(0,242,254,.25); color: #38bdf8; font-size: 11px; font-weight: 750; letter-spacing: .04em; transition: all .15s ease; }
.vdm-format-pill:hover { border-color: #00f2fe; background: rgba(0,242,254,.15); color: #ffffff; box-shadow: 0 0 10px rgba(0,242,254,.5); }
.vdm-file-selected-card { display: flex; align-items: center; gap: 16px; margin-top: 20px; padding: 18px 22px; border: 1.5px solid #10b981; border-radius: 16px; background: linear-gradient(135deg,rgba(16,185,129,.15),rgba(6,78,59,.25)); box-shadow: 0 0 20px rgba(16,185,129,.3),inset 0 0 15px rgba(16,185,129,.1); text-align: left; }
.vdm-file-selected-card[hidden] { display: none !important; }
.vdm-file-selected-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #10b981; color: #0d111d; box-shadow: 0 0 15px #10b981; flex-shrink: 0; }
.vdm-file-selected-info { flex: 1; min-width: 0; }
.vdm-file-selected-name { font-size: 15px; font-weight: 850; color: #ffffff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 0 8px rgba(16,185,129,.5); }
.vdm-file-selected-meta { display: flex; gap: 12px; align-items: center; margin-top: 5px; font-size: 12.5px; color: #94a3b8; }
.vdm-file-status-badge { color: #34d399; font-weight: 800; text-shadow: 0 0 8px rgba(52,211,153,.6); }
.vdm-btn-change-file { padding: 8px 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; background: rgba(255,255,255,.08); color: #ffffff; font-size: 13px; font-weight: 750; cursor: pointer; transition: all .2s ease; }
.vdm-btn-change-file:hover { border-color: #00f2fe; color: #00f2fe; box-shadow: 0 0 12px rgba(0,242,254,.4); }
.vdm-dropzone-footer { margin-top: 18px; padding-top: 16px; border-top: 1px dashed rgba(255,255,255,.12); font-size: 12.5px; color: #94a3b8; text-align: left; line-height: 1.55; }
.vdm-license-keyonly-box { margin-top: 10px; padding: 24px; border: 1.5px solid rgba(255,158,0,.45); border-radius: 20px; background: linear-gradient(145deg,rgba(30,22,12,.95),rgba(15,12,24,.98)); box-shadow: 0 8px 30px rgba(255,158,0,.15),inset 0 0 20px rgba(255,158,0,.08); }
.vdm-license-keyonly-box[hidden] { display: none !important; }
.vdm-keyonly-inner { display: flex; gap: 16px; align-items: flex-start; }
.vdm-keyonly-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255,158,0,.2); border: 1px solid rgba(255,158,0,.5); color: #ff9e00; box-shadow: 0 0 16px rgba(255,158,0,.45); flex-shrink: 0; }
.vdm-keyonly-inner strong { display: block; font-size: 15px; font-weight: 850; color: #f8fafc; }
.vdm-keyonly-inner p { margin: 6px 0 0; font-size: 13px; color: #94a3b8; line-height: 1.55; }
.vdm-app-upload-head { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; gap: 13px; align-items: center; }
.vdm-app-upload-icon { display: grid; width: 44px; height: 44px; place-items: center; color: #fff; border-radius: 13px; background: linear-gradient(135deg,var(--vdm-brand),var(--vdm-brand-2)); font-size: 24px; font-weight: 900; box-shadow: 0 9px 20px rgba(91,69,245,.22); }
.vdm-app-upload-head strong, .vdm-app-upload-head small { display: block; }
.vdm-app-upload-head strong { font-size: 15px; }
.vdm-app-upload-head small { margin-top: 4px; color: var(--vdm-muted); font-weight: 500; line-height: 1.5; }
.vdm-private-badge { margin: 0 !important; padding: 5px 9px; color: #166534; border: 1px solid rgba(22,101,52,.2); border-radius: 999px; background: rgba(34,197,94,.11); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.vdm-app-upload-picker { display: block !important; margin-top: 16px; padding: 14px; border: 1px solid var(--vdm-line); border-radius: 13px; background: var(--vdm-surface); }
.vdm-app-upload-picker > span { margin-bottom: 9px !important; font-weight: 800; }
.vdm-app-upload-picker input[type="file"] { background: var(--vdm-surface-2); cursor: pointer; }
.vdm-app-upload-picker input[type="file"]::file-selector-button { min-height: 34px; margin-right: 10px; padding: 7px 12px; color: #fff; border: 0; border-radius: 8px; background: var(--vdm-brand); font-weight: 800; cursor: pointer; }
.vdm-app-upload-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; color: var(--vdm-muted); font-size: 11px; }
.vdm-app-upload-meta strong { color: var(--vdm-text); text-align: right; overflow-wrap: anywhere; }
.vdm-app-upload > p { margin: 11px 0 0; color: var(--vdm-muted); font-size: 12px; }
.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, .vdm-status-failed { 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-coupon-entry { margin: 14px 0; }
.vdm-coupon-entry > label { display: block; margin-bottom: 7px; font-weight: 700; }
.vdm-coupon-entry > div { display: flex; gap: 8px; }
.vdm-coupon-entry input { flex: 1; min-width: 0; border: 1px solid var(--vdm-border); border-radius: 10px; background: var(--vdm-surface); color: var(--vdm-text); padding: 10px 12px; text-transform: uppercase; }
.vdm-coupon-entry small { display: block; min-height: 18px; margin-top: 6px; color: var(--vdm-muted); }
.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: calc(140px + env(safe-area-inset-bottom, 0px)); }
  .vdm-hero { padding: 66px 20px 28px; }
  .vdm-license-mobile-shortcut { position: absolute; z-index: 4; top: 15px; right: 15px; display: grid; width: 42px; height: 42px; place-items: center; color: #fff !important; border: 1px solid rgba(255,255,255,.35); border-radius: 14px; background: linear-gradient(135deg, #7c3aed, #0891b2); box-shadow: 0 10px 28px rgba(15,23,42,.3), 0 0 0 5px rgba(255,255,255,.07); }
  .vdm-wallet-actions .vdm-license-shortcut { display: none; }
  .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-section-heading, .vdm-page-heading, .vdm-catalog-toolbar { align-items: stretch; flex-direction: column; }
  .vdm-compact-header { align-items: center; flex-direction: row; padding: 10px 12px; }
  .vdm-compact-header .vdm-back { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .vdm-compact-actions { margin-left: auto; flex-wrap: nowrap; }
  .vdm-compact-actions > span { display: none; }
  .vdm-compact-actions .vdm-license-shortcut { width: 40px; height: 40px; padding: 0; border-radius: 12px; }
  .vdm-compact-actions .vdm-license-label, .vdm-heading-actions .vdm-license-label { display: none; }
  .vdm-heading-actions { justify-content: stretch; }
  .vdm-heading-actions .vdm-license-shortcut { width: 44px; min-width: 44px; padding-inline: 0; }
  .vdm-heading-actions .vdm-btn-primary { flex: 1; }
  .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, .vdm-sale-editor .vdm-form-grid { grid-template-columns: 1fr; }
  .vdm-span-2 { grid-column: auto; }
  .vdm-library-item { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 16px; }
  .vdm-update-center { grid-template-columns: 38px minmax(0, 1fr); padding: 14px; }
  .vdm-update-center-icon { width: 38px; height: 38px; border-radius: 12px; }
  .vdm-update-center-head, .vdm-update-center-list a { align-items: flex-start; flex-direction: column; gap: 4px; }
  .vdm-library-icon { width: 54px; height: 54px; }
  .vdm-library-copy { width: 100%; }
  .vdm-library-copy h3 { margin-top: 8px; font-size: 18px; line-height: 1.35; }
  .vdm-library-copy p, .vdm-library-copy small { line-height: 1.55; }
  .vdm-library-item .vdm-actions { display: grid; grid-column: 1; grid-template-columns: minmax(0, 1fr); width: 100%; max-width: none; justify-content: stretch; }
  .vdm-library-item .vdm-actions .vdm-btn,
  .vdm-library-item .vdm6-library-downloads,
  .vdm-library-item .vdm6-library-downloads .vdm-btn { width: 100%; min-width: 0; }
  .vdm-library-item .vdm6-library-downloads { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .vdm-library-item .vdm-actions > .vdm-status,
  .vdm-library-item .vdm-actions > .vdm-download-review { width: 100%; max-width: none; justify-content: center; text-align: center; }
  .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; }
  .vdm-gallery-stage { aspect-ratio: 4 / 3; border-radius: 16px; }
}

@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-app-upload { padding: 16px; }
  .vdm-app-upload-head { grid-template-columns: 40px minmax(0,1fr); }
  .vdm-app-upload-icon { width: 40px; height: 40px; }
  .vdm-private-badge { grid-column: 1 / -1; justify-self: start; }
  .vdm-app-upload-meta { flex-direction: column; }
  .vdm-app-upload-meta strong { text-align: left; }
  .vdm-license-delivery-section { padding: 18px; }
  .vdm-app-dropzone { padding: 24px 16px; }
  .vdm-file-selected-card { flex-wrap: wrap; padding: 16px; }
  .vdm-file-selected-info { min-width: calc(100% - 64px); }
  .vdm-btn-change-file { width: 100%; }
  .vdm-seller-products > article { grid-template-columns: 64px minmax(0,1fr); }
  .vdm-seller-products > article > .vdm-btn { grid-column: 1 / -1; }
}

/* V5.3 — smart product content editor. */
.vdm-markdown { --vdm-heading: var(--vdm-text); }
.vdm-view-sell .vdm-sell-page {
  position: relative;
  overflow: visible;
  border-color: color-mix(in srgb, var(--vdm-brand) 18%, var(--vdm-line));
  background:
    radial-gradient(circle at 92% 0, rgba(91, 69, 245, .09), transparent 26%),
    radial-gradient(circle at 6% 24%, rgba(34, 211, 238, .06), transparent 24%),
    var(--vdm-bg);
}
.vdm-view-sell .vdm-page-heading { padding: clamp(4px, 1vw, 12px) clamp(2px, 1vw, 8px) 8px; }
.vdm-view-sell .vdm-page-heading h1 { max-width: 760px; font-size: clamp(32px, 4vw, 52px); letter-spacing: -.045em; }
.vdm-view-sell .vdm-page-heading p { max-width: 720px; font-size: 15px; }
.vdm-view-sell > .vdm-sell-page > .vdm-form-shell {
  padding: clamp(14px, 2vw, 22px);
  border-color: rgba(91, 69, 245, .16);
  background: color-mix(in srgb, var(--vdm-surface) 72%, transparent);
  box-shadow: 0 26px 70px rgba(15, 23, 42, .08);
}
.vdm-view-sell .vdm-stepper { position: relative; gap: 12px; counter-reset: step; }
.vdm-view-sell .vdm-step {
  position: relative;
  min-width: 0;
  min-height: 62px;
  padding: 11px 14px;
  overflow: hidden;
  border-color: color-mix(in srgb, var(--vdm-line) 88%, transparent);
  background: color-mix(in srgb, var(--vdm-surface) 92%, transparent);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.vdm-view-sell .vdm-step::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--vdm-brand), #22d3ee);
  transition: transform .25s ease;
}
.vdm-view-sell .vdm-step.is-active { transform: translateY(-2px); border-color: rgba(91, 69, 245, .42); box-shadow: 0 14px 30px rgba(91, 69, 245, .1); }
.vdm-view-sell .vdm-step.is-active::after,
.vdm-view-sell .vdm-step.is-complete::after { transform: scaleX(1); }
.vdm-view-sell .vdm-step.is-active > span { color: #fff; background: linear-gradient(135deg, var(--vdm-brand), var(--vdm-brand-2)); box-shadow: 0 7px 18px rgba(91, 69, 245, .24); }
.vdm-view-sell .vdm-form-step { min-width: 0; border-radius: 24px; box-shadow: 0 18px 48px rgba(15, 23, 42, .055); }
.vdm-view-sell .vdm-form-step > .vdm-form-heading { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.vdm-smart-badge {
  flex: none;
  padding: 7px 12px;
  color: #6366f1;
  border: 1px solid rgba(99, 102, 241, .25);
  border-radius: 999px;
  background: rgba(99, 102, 241, .08);
  font: 800 11px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .08em;
}
body.theme-dark .vdm-smart-badge,
body[data-theme="dark"] .vdm-smart-badge,
.night-mode .vdm-smart-badge {
  color: #818cf8;
  border-color: rgba(129, 140, 248, .35);
  background: rgba(129, 140, 248, .12);
  box-shadow: 0 0 12px rgba(129, 140, 248, .2);
}

/* View Mode Switcher Toolbar */
.vdm-view-mode-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  margin-bottom: -8px;
  padding: 6px 8px;
  border: 1px solid var(--vdm-line);
  border-radius: 14px;
  background: var(--vdm-surface);
}
.vdm-view-mode-tabs {
  display: flex;
  gap: 4px;
}
.vdm-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  color: var(--vdm-muted);
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  transition: all .16s ease;
}
.vdm-mode-btn:hover {
  color: var(--vdm-text);
  background: var(--vdm-surface-2);
}
.vdm-mode-btn.is-active {
  color: #fff !important;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  box-shadow: 0 4px 14px rgba(99, 102, 241, .3);
}
.vdm-mode-btn svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
}

/* Workspace Layout */
.vdm-content-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 20px;
  align-items: start;
  margin-top: 20px;
  transition: all .2s ease;
}
.vdm-content-workspace.is-mode-write {
  grid-template-columns: 1fr;
}
.vdm-content-workspace.is-mode-write .vdm-content-preview {
  display: none !important;
}
.vdm-content-workspace.is-mode-preview {
  grid-template-columns: 1fr;
}
.vdm-content-workspace.is-mode-preview .vdm-content-editors {
  display: none !important;
}

.vdm-content-editors { min-width: 0; display: grid; gap: 18px; }

/* Smart Field Cards */
.vdm-smart-field {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--vdm-line);
  border-radius: 18px;
  background: var(--vdm-surface);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .03);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
body.theme-dark .vdm-smart-field,
body[data-theme="dark"] .vdm-smart-field,
.night-mode .vdm-smart-field {
  background: #111827;
  border-color: rgba(255, 255, 255, .08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .3);
}
.vdm-smart-field:focus-within {
  border-color: #6366f1;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, .12), 0 16px 36px rgba(15, 23, 42, .08);
}
body.theme-dark .vdm-smart-field:focus-within,
body[data-theme="dark"] .vdm-smart-field:focus-within,
.night-mode .vdm-smart-field:focus-within {
  border-color: #818cf8;
  box-shadow: 0 0 0 4px rgba(129, 140, 248, .15), 0 16px 36px rgba(0, 0, 0, .4);
}

.vdm-smart-field-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px 18px 10px;
  border-bottom: 1px solid var(--vdm-line);
  background: var(--vdm-surface-2);
}
body.theme-dark .vdm-smart-field-head,
body[data-theme="dark"] .vdm-smart-field-head,
.night-mode .vdm-smart-field-head {
  background: #161f33;
}
.vdm-smart-field-head label {
  margin: 0;
  color: var(--vdm-text);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}
.vdm-smart-field-head > span {
  color: var(--vdm-muted);
  font-size: 11px;
  font-weight: 600;
}

/* Toolbar Pro Styling */
.vdm-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  background: var(--vdm-surface-2);
  border-bottom: 1px solid var(--vdm-line);
}
body.theme-dark .vdm-editor-toolbar,
body[data-theme="dark"] .vdm-editor-toolbar,
.night-mode .vdm-editor-toolbar {
  background: #141c2e;
}
.vdm-toolbar-sep {
  width: 1px;
  height: 18px;
  margin: 0 3px;
  background: var(--vdm-line);
}
.vdm-editor-toolbar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 30px;
  padding: 0 7px;
  color: var(--vdm-muted);
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  font: 700 11px/1 ui-sans-serif, system-ui, sans-serif;
  transition: all .14s ease;
  user-select: none;
}
.vdm-editor-toolbar button svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2.2;
}
.vdm-editor-toolbar button:hover {
  color: #6366f1;
  background: rgba(99, 102, 241, .1);
  border-color: rgba(99, 102, 241, .25);
  transform: translateY(-1px);
}
body.theme-dark .vdm-editor-toolbar button:hover,
body[data-theme="dark"] .vdm-editor-toolbar button:hover,
.night-mode .vdm-editor-toolbar button:hover {
  color: #a5b4fc;
  background: rgba(129, 140, 248, .15);
  border-color: rgba(129, 140, 248, .3);
}
.vdm-editor-toolbar button:active {
  transform: translateY(0);
}

/* Textarea input */
.vdm-smart-field textarea {
  display: block;
  width: 100%;
  min-height: 160px;
  margin: 0;
  padding: 16px 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--vdm-text);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 13px;
  line-height: 1.7;
  outline: none;
  box-shadow: none;
  resize: vertical;
  user-select: text;
}
.vdm-smart-field-compact textarea { min-height: 96px; }

.vdm-smart-field-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 16px 10px;
  border-top: 1px solid var(--vdm-line);
  background: var(--vdm-surface-2);
  color: var(--vdm-muted);
  font-size: 11px;
  font-weight: 500;
}
body.theme-dark .vdm-smart-field-foot,
body[data-theme="dark"] .vdm-smart-field-foot,
.night-mode .vdm-smart-field-foot {
  background: #141c2e;
}
.vdm-smart-field-foot small b { color: #6366f1; font-weight: 700; }
body.theme-dark .vdm-smart-field-foot small b,
body[data-theme="dark"] .vdm-smart-field-foot small b,
.night-mode .vdm-smart-field-foot small b { color: #818cf8; }

.vdm-smart-split { align-items: stretch; }
.vdm-smart-split > .vdm-smart-field { height: 100%; }
.vdm-smart-split textarea { min-height: 180px !important; }

/* Live Preview Studio */
.vdm-content-preview {
  position: sticky;
  top: 84px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(99, 102, 241, .24);
  border-radius: 20px;
  background: var(--vdm-surface);
  box-shadow: 0 20px 50px rgba(15, 23, 42, .08);
}
body.theme-dark .vdm-content-preview,
body[data-theme="dark"] .vdm-content-preview,
.night-mode .vdm-content-preview {
  background: #111827;
  border-color: rgba(129, 140, 248, .2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
}

.vdm-preview-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--vdm-line);
  background: linear-gradient(135deg, rgba(99, 102, 241, .09), rgba(34, 211, 238, .06));
}
body.theme-dark .vdm-preview-head,
body[data-theme="dark"] .vdm-preview-head,
.night-mode .vdm-preview-head {
  background: linear-gradient(135deg, rgba(99, 102, 241, .15), rgba(34, 211, 238, .08));
}
.vdm-preview-head > div { display: flex; gap: 8px; align-items: center; }
.vdm-preview-head strong { font-size: 13px; font-weight: 800; color: var(--vdm-text); }
.vdm-preview-head small { color: var(--vdm-muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.vdm-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .15), 0 0 12px rgba(16, 185, 129, .6);
}

.vdm-content-preview > article {
  min-height: 380px;
  max-height: 620px;
  overflow-y: auto;
  padding: 20px;
  user-select: text;
}
.vdm-content-preview article > section { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--vdm-line); }
.vdm-content-preview h2, .vdm-content-preview h3, .vdm-content-preview h4 { color: var(--vdm-text); font-weight: 800; }
.vdm-content-preview h4 { margin: 0 0 12px; font-size: 14px; }
.vdm-preview-empty { margin: 100px auto; max-width: 250px; color: var(--vdm-muted); font-size: 13px; text-align: center; line-height: 1.6; }
.vdm-preview-lead { margin-bottom: 16px; color: var(--vdm-text); font-size: 14px; font-weight: 650; line-height: 1.6; }

/* Markdown Content Elements */
.vdm-preview-rich { overflow-wrap: anywhere; color: var(--vdm-text); font-size: 13px; line-height: 1.75; }
.vdm-preview-rich > :first-child { margin-top: 0; }
.vdm-preview-rich > :last-child { margin-bottom: 0; }
.vdm-preview-rich h2, .vdm-preview-rich h3 { margin-top: 1.2em; margin-bottom: 0.5em; border-bottom: 1px solid var(--vdm-line); padding-bottom: 4px; }
.vdm-preview-rich p { margin-bottom: 1em; }
.vdm-preview-rich ul, .vdm-preview-rich ol { margin: 0 0 1em; padding-left: 22px; }
.vdm-preview-rich li { margin: 4px 0; }
.vdm-preview-rich code {
  padding: 2px 6px;
  border-radius: 5px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px;
  background: rgba(99, 102, 241, .1);
  color: #6366f1;
}
body.theme-dark .vdm-preview-rich code,
body[data-theme="dark"] .vdm-preview-rich code,
.night-mode .vdm-preview-rich code {
  background: rgba(129, 140, 248, .15);
  color: #a5b4fc;
}

/* macOS Styled Code Window */
.vdm-code-window {
  margin: 14px 0;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
}
.vdm-code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #1e293b;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.vdm-code-dots {
  display: flex;
  gap: 6px;
}
.vdm-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.vdm-dot-red { background: #ef4444; }
.vdm-dot-yellow { background: #f59e0b; }
.vdm-dot-green { background: #10b981; }
.vdm-code-lang {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: ui-monospace, Consolas, monospace;
}
.vdm-code-copy-btn {
  color: #94a3b8;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 5px;
  padding: 2px 8px;
  font-size: 10px;
  cursor: pointer;
  transition: all .12s ease;
}
.vdm-code-copy-btn:hover {
  color: #fff;
  border-color: #fff;
}
.vdm-code-window pre {
  margin: 0;
  padding: 14px 16px;
  color: #f8fafc;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  line-height: 1.6;
  overflow-x: auto;
}

/* Callout Box (Alerts) */
.vdm-callout {
  margin: 14px 0;
  padding: 12px 16px;
  border-left: 4px solid #6366f1;
  border-radius: 0 10px 10px 0;
  background: rgba(99, 102, 241, .08);
  font-size: 12px;
  line-height: 1.6;
}
.vdm-callout.vdm-callout-warning {
  border-left-color: #f59e0b;
  background: rgba(245, 158, 11, .08);
}
body.theme-dark .vdm-callout,
body[data-theme="dark"] .vdm-callout,
.night-mode .vdm-callout {
  background: rgba(129, 140, 248, .1);
  border-left-color: #818cf8;
}

/* Table styling */
.vdm-preview-rich table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 12px;
}
.vdm-preview-rich th, .vdm-preview-rich td {
  border: 1px solid var(--vdm-line);
  padding: 8px 12px;
  text-align: left;
}
.vdm-preview-rich th {
  background: var(--vdm-surface-2);
  font-weight: 700;
}
.vdm-preview-rich tr:nth-child(even) td {
  background: rgba(0, 0, 0, .015);
}
body.theme-dark .vdm-preview-rich tr:nth-child(even) td,
body[data-theme="dark"] .vdm-preview-rich tr:nth-child(even) td,
.night-mode .vdm-preview-rich tr:nth-child(even) td {
  background: rgba(255, 255, 255, .02);
}

/* Quality Meter */
.vdm-content-quality {
  padding: 16px 18px 18px;
  border-top: 1px solid var(--vdm-line);
  background: var(--vdm-surface-2);
}
body.theme-dark .vdm-content-quality,
body[data-theme="dark"] .vdm-content-quality,
.night-mode .vdm-content-quality {
  background: #141c2e;
}
.vdm-content-quality > div { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 11px; font-weight: 700; }
.vdm-content-quality strong { color: #6366f1; font-size: 15px; }
body.theme-dark .vdm-content-quality strong,
body[data-theme="dark"] .vdm-content-quality strong,
.night-mode .vdm-content-quality strong { color: #818cf8; }

.vdm-content-quality progress {
  width: 100%;
  height: 7px;
  margin: 10px 0 7px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: var(--vdm-line);
  appearance: none;
}
.vdm-content-quality progress::-webkit-progress-bar { background: var(--vdm-line); }
.vdm-content-quality progress::-webkit-progress-value { border-radius: 999px; background: linear-gradient(90deg, #6366f1, #22d3ee, #10b981); }
.vdm-content-quality progress::-moz-progress-bar { border-radius: 999px; background: linear-gradient(90deg, #6366f1, #22d3ee, #10b981); }
.vdm-content-quality > small { display: block; color: var(--vdm-muted); font-size: 10px; font-weight: 500; }

.vdm-media-grid { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--vdm-line); }
.vdm-media-heading { display: flex; justify-content: space-between; gap: 12px; align-items: end; }
.vdm-media-heading strong, .vdm-media-heading span { display: block; }
.vdm-media-heading strong { font-size: 15px; }
.vdm-media-heading span { color: var(--vdm-muted); font-size: 11px; }

@media (max-width: 1120px) {
  .vdm-content-workspace { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 960px) {
  .vdm-content-workspace { grid-template-columns: 1fr; }
  .vdm-content-preview { position: static; }
  .vdm-content-preview > article { min-height: 280px; max-height: none; }
}
@media (max-width: 640px) {
  .vdm-view-sell .vdm-stepper { margin-inline: -4px; padding: 4px; scrollbar-width: none; }
  .vdm-view-sell .vdm-stepper::-webkit-scrollbar { display: none; }
  .vdm-view-sell .vdm-step { flex-basis: 144px; min-height: 56px; }
  .vdm-view-sell .vdm-form-step > .vdm-form-heading { align-items: flex-start; }
  .vdm-smart-badge { display: none; }
  .vdm-smart-field-head, .vdm-smart-field-foot { align-items: flex-start; flex-direction: column; }
  .vdm-smart-field-head > span { text-align: left; }
  .vdm-smart-field-foot { gap: 4px; }
  .vdm-smart-split { grid-template-columns: 1fr; }
  .vdm-media-heading { align-items: flex-start; flex-direction: column; }
  .vdm-content-preview > article { padding: 15px; }
  .vdm-editor-toolbar { gap: 2px; padding: 6px 8px; }
  .vdm-editor-toolbar button { min-width: 28px; height: 28px; padding: 0 4px; }
}
