/* ==========================================================================
   VERITAP Landing / Public Experience  (assets/css/landing.css)
   Single source of truth for the homepage look & feel, reused by:
   includes/header.php + footer.php  →  shop/*, id/*, company/*, public pages.
   Loads AFTER style.css. Works in light + dark (data-theme / system).
   ========================================================================== */

:root {
  --vt-bg: var(--bg, #f5f6fa);
  --vt-fg: var(--ink, #0b1220);
  --vt-mut: var(--muted, #6b7280);
  --vt-surf: var(--card, #ffffff);
  --vt-surf-2: var(--bg-elev, #eef0f6);
  --vt-line: var(--border, #e7e9f0);
  --vt-acc: var(--brand, #2f6bff);
  --vt-acc-dark: var(--brand-dark, #1e4fd0);
  --vt-acc-soft: var(--brand-light, #eaf1ff);
  --vt-acc-glow: rgba(47, 107, 255, .16);
  --vt-grad: linear-gradient(135deg, var(--brand, #2f6bff), var(--brand-dark, #1e4fd0));
  --vt-ok: var(--success, #0f9d63);
  --vt-radius: var(--radius, 18px);
  --vt-shadow: var(--shadow, 0 6px 20px rgba(11, 18, 32, .07));
  --vt-nav-h: 58px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --vt-bg: var(--bg, #0a0e17);
    --vt-fg: var(--ink, #f2f4f9);
    --vt-mut: var(--muted, #9aa3b2);
    --vt-surf: var(--card, #141a27);
    --vt-surf-2: var(--bg-elev, #121826);
    --vt-line: var(--border, #232b3b);
    --vt-acc: var(--brand, #5b8bff);
    --vt-acc-dark: var(--brand-dark, #3f74f5);
    --vt-acc-soft: var(--brand-light, #16233f);
    --vt-acc-glow: rgba(91, 139, 255, .20);
    --vt-grad: linear-gradient(135deg, var(--brand, #5b8bff), var(--brand-dark, #3f74f5));
    --vt-ok: var(--success, #23c17f);
    --vt-shadow: var(--shadow, 0 16px 40px rgba(0, 0, 0, .45));
  }
}

:root[data-theme="dark"] {
  --vt-bg: var(--bg, #0a0e17);
  --vt-fg: var(--ink, #f2f4f9);
  --vt-mut: var(--muted, #9aa3b2);
  --vt-surf: var(--card, #141a27);
  --vt-surf-2: var(--bg-elev, #121826);
  --vt-line: var(--border, #232b3b);
  --vt-acc: var(--brand, #5b8bff);
  --vt-acc-dark: var(--brand-dark, #3f74f5);
  --vt-acc-soft: var(--brand-light, #16233f);
  --vt-acc-glow: rgba(91, 139, 255, .20);
  --vt-grad: linear-gradient(135deg, var(--brand, #5b8bff), var(--brand-dark, #3f74f5));
  --vt-ok: var(--success, #23c17f);
  --vt-shadow: var(--shadow, 0 16px 40px rgba(0, 0, 0, .45));
}

body.vt-public {
  background: var(--vt-bg);
  color: var(--vt-fg);
  font-family: var(--ff, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif);
  -webkit-font-smoothing: antialiased;
  padding-top: calc(var(--vt-nav-h) + env(safe-area-inset-top, 0px));
  overflow-x: hidden;
}

html {
  scroll-padding-top: 74px;
}

/* ---------- Glass navigation ------------------------------------------- */
.vt-nav {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0;
  right: 0;
  height: var(--vt-nav-h);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 max(20px, 5vw);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  background: color-mix(in srgb, var(--vt-bg) 78%, transparent);
  border-bottom: 1px solid var(--vt-line);
  transition: box-shadow .2s ease, background .2s ease;
}

.vt-nav.is-scrolled {
  box-shadow: 0 6px 24px rgba(15, 23, 42, .08);
}

.vt-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--vt-fg);
  font-weight: 800;
  letter-spacing: -.025em;
  font-size: 19px;
}

.vt-logo svg {
  width: 22px;
  height: 22px;
  color: var(--vt-acc);
}

.vt-logo em {
  font-style: normal;
  color: var(--vt-acc);
}

.vt-links {
  display: none;
  align-items: center;
  gap: 1.4rem;
}

@media (min-width: 900px) {
  .vt-links {
    display: flex;
  }
}

.vt-nav a,
.vt-nav a:hover,
.vt-nav a:focus,
.vt-sheet a,
.vt-sheet a:hover {
  text-decoration: none !important;
}

.vt-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--vt-mut);
  text-decoration: none !important;
  position: relative;
  padding: 4px 0;
  transition: color .15s ease;
}

.vt-link:hover,
.vt-link.active {
  color: var(--vt-fg);
  text-decoration: none !important;
}

.vt-link.highlight {
  color: var(--vt-acc);
  font-weight: 700;
}

.vt-link.highlight:hover {
  color: var(--vt-acc-dark);
}

.vt-actions {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.vt-theme {
  width: 36px;
  height: 36px;
  border-radius: 99px;
  border: 1px solid var(--vt-line);
  background: var(--vt-surf);
  color: var(--vt-mut);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all .2s;
}

.vt-theme:hover {
  color: var(--vt-fg);
  border-color: var(--vt-acc);
}

.vt-theme svg {
  width: 17px;
  height: 17px;
}

.vt-theme .icon-moon {
  display: none;
}

:root[data-theme="dark"] .vt-theme .icon-sun {
  display: none;
}

:root[data-theme="dark"] .vt-theme .icon-moon {
  display: inline-flex;
}

.vt-burger {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--vt-line);
  background: var(--vt-surf);
  color: var(--vt-fg);
  cursor: pointer;
}

.vt-burger svg {
  width: 18px;
  height: 18px;
}

@media (min-width: 900px) {
  .vt-burger {
    display: none;
  }
}

/* Mobile sheet */
.vt-sheet {
  position: fixed;
  top: calc(var(--vt-nav-h) + env(safe-area-inset-top, 0px));
  left: 0;
  right: 0;
  z-index: 55;
  padding: 14px max(20px, 5vw) 22px;
  display: none;
  flex-direction: column;
  gap: 4px;
  background: var(--vt-bg);
  border-bottom: 1px solid var(--vt-line);
  box-shadow: var(--vt-shadow);
}

.vt-sheet.open {
  display: flex;
}

.vt-sheet a {
  padding: 12px 10px;
  border-radius: 10px;
  color: var(--vt-fg);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.vt-sheet a:hover {
  background: var(--vt-surf-2);
}

@media (min-width: 900px) {
  .vt-sheet {
    display: none !important;
  }
}

/* ---------- Buttons ---------------------------------------------------- */
.vt-btn,
.vt-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  font-size: 13px;
  font-weight: 600;
  border-radius: 99px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s;
}

.vt-btn {
  padding: 8px 18px;
  background: var(--vt-grad);
  color: #fff !important;
  border: 0;
  box-shadow: 0 4px 12px rgba(37, 99, 235, .28);
}

.vt-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, .38);
}

.vt-btn-outline {
  padding: 7px 16px;
  background: var(--vt-surf);
  color: var(--vt-fg) !important;
  border: 1px solid var(--vt-line);
}

.vt-btn-outline:hover {
  border-color: var(--vt-acc);
  color: var(--vt-acc) !important;
}

.vt-btn-lg {
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 800;
  border-radius: 14px;
  width: 100%;
}

/* ---------- Page structure --------------------------------------------- */
.vt-hero {
  text-align: center;
  padding: 56px 20px 34px;
  position: relative;
  background: radial-gradient(60% 90% at 50% 0%, var(--vt-acc-glow), transparent 70%);
}

.vt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 99px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--vt-acc);
  background: var(--vt-acc-soft);
  border: 1px solid color-mix(in srgb, var(--vt-acc) 35%, transparent);
}

.vt-hero h1 {
  font-size: clamp(30px, 5.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 800;
  margin: 16px 0 10px;
  color: var(--vt-fg);
}

.vt-hero h1 em {
  font-style: normal;
  background: var(--vt-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.vt-hero p {
  color: var(--vt-mut);
  font-size: clamp(15px, 1.8vw, 19px);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.45;
}

.vt-section {
  padding: 18px 20px 80px;
}

.vt-wrap {
  max-width: 1140px;
  margin: 0 auto;
}

.vt-card {
  background: var(--vt-surf);
  border: 1px solid var(--vt-line);
  border-radius: 24px;
  box-shadow: var(--vt-shadow);
  padding: 30px;
}

.vt-card h2 {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 18px;
  color: var(--vt-fg);
}

.vt-label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--vt-mut);
  margin-bottom: 7px;
}

.vt-input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: .94rem;
  font-family: inherit;
  background: var(--vt-surf-2);
  color: var(--vt-fg);
  border: 1px solid var(--vt-line);
  transition: border-color .15s, box-shadow .15s;
}

.vt-input:focus {
  outline: none;
  border-color: var(--vt-acc);
  box-shadow: 0 0 0 4px var(--vt-acc-glow);
}

.vt-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.vt-stack>*+* {
  margin-top: 16px;
}

.vt-choice {
  border: 2px solid var(--vt-line);
  background: var(--vt-surf-2);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
  transition: all .2s;
  cursor: pointer;
}

.vt-choice:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--vt-acc) 50%, transparent);
}

.vt-choice.selected {
  border-color: var(--vt-acc);
  background: var(--vt-acc-soft);
  box-shadow: 0 0 0 4px var(--vt-acc-glow);
}

.vt-choice b {
  display: block;
  font-size: .95rem;
  color: var(--vt-fg);
}

.vt-choice .price {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--vt-acc);
  margin: 4px 0;
}

.vt-choice small {
  color: var(--vt-mut);
  font-size: .75rem;
}

.vt-total {
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--vt-ok);
  background: var(--vt-surf-2);
  border: 1px solid var(--vt-line);
}

.vt-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 22px 0;
}

.vt-spec {
  background: var(--vt-surf);
  border: 1px solid var(--vt-line);
  border-radius: 14px;
  padding: 13px 15px;
  font-size: .85rem;
}

.vt-spec b {
  display: block;
  margin-bottom: 2px;
  color: var(--vt-fg);
}

.vt-spec span {
  color: var(--vt-mut);
}

.vt-product-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 860px) {
  .vt-product-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .vt-specs {
    grid-template-columns: 1fr;
  }
}

.vt-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
  margin-top: 22px;
  color: var(--vt-mut);
  font-size: .82rem;
  font-weight: 600;
}

.vt-trust span::before {
  content: "✓ ";
  color: var(--vt-ok);
  font-weight: 800;
}

/* ---------- Footer ------------------------------------------------------ */
.vt-footer {
  border-top: 1px solid var(--vt-line);
  background: var(--vt-bg);
  color: var(--vt-mut);
  font-size: 13.5px;
  padding: 44px 20px calc(30px + env(safe-area-inset-bottom, 0px));
}

.vt-footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 760px) {
  .vt-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.vt-footer h4 {
  color: var(--vt-fg);
  font-size: .9rem;
  margin: 0 0 10px;
}

.vt-footer a {
  display: block;
  color: var(--vt-mut);
  text-decoration: none;
  padding: 3px 0;
  font-weight: 500;
}

.vt-footer a:hover {
  color: var(--vt-acc);
}

.vt-footer-bottom {
  max-width: 1100px;
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--vt-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
}

.vt-footer-bottom a {
  display: inline;
  color: var(--vt-fg);
  font-weight: 600;
}

/* ---------- Reveal animations ------------------------------------------ */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s, transform .7s cubic-bezier(.2, .7, .2, 1);
}

.rv.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- 3D flip card (shop) ---------------------------------------- */
.vt-card-stage {
  perspective: 1200px;
  max-width: 460px;
  margin: 0 auto 26px;
}

.vt-flip {
  width: 100%;
  aspect-ratio: 1.586/1;
  position: relative;
  transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.175, .885, .32, 1.275);
  cursor: pointer;
}

.vt-flip.flipped {
  transform: rotateY(180deg);
}

.vt-flip:hover:not(.flipped) {
  transform: rotateY(-6deg) rotateX(3deg);
}

.vt-face {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 22px;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 28px 50px -14px rgba(15, 23, 42, .55);
  border: 1px solid rgba(255, 255, 255, .18);
}

.vt-face::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .10) 50%, transparent 65%);
}

.vt-back {
  transform: rotateY(180deg);
}

.vt-strip {
  height: 42px;
  background: #000;
  margin: -22px -22px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.theme-midnight .vt-front {
  background: linear-gradient(135deg, #090d16, #172033);
  border-color: rgba(56, 189, 248, .3);
}

.theme-midnight .vt-back {
  background: linear-gradient(135deg, #05080f, #101726);
}

.theme-corporate-navy .vt-front {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  border-color: rgba(96, 165, 250, .4);
}

.theme-corporate-navy .vt-back {
  background: linear-gradient(135deg, #0a0f1d, #172554);
}

.theme-emerald-tech .vt-front {
  background: linear-gradient(135deg, #062b1b, #064e3b);
  border-color: rgba(52, 211, 153, .4);
}

.theme-emerald-tech .vt-back {
  background: linear-gradient(135deg, #03170e, #063c2e);
}

.theme-crimson-dynamic .vt-front {
  background: linear-gradient(135deg, #1c0a10, #4c0519);
  border-color: rgba(244, 63, 94, .4);
}

.theme-crimson-dynamic .vt-back {
  background: linear-gradient(135deg, #120509, #350311);
}

.theme-luxury-gold .vt-front {
  background: linear-gradient(135deg, #181512, #2f2719);
  border-color: rgba(245, 158, 11, .45);
}

.theme-luxury-gold .vt-back {
  background: linear-gradient(135deg, #100e0c, #221c12);
}

/* Pure White (Pearl & Royal Blue) — Top choice with vibrant color accents */
.theme-pure-white .vt-front {
  background:
    radial-gradient(circle at 92% 12%, rgba(56, 189, 248, .28) 0%, transparent 44%),
    radial-gradient(circle at 8% 92%, rgba(99, 102, 241, .22) 0%, transparent 46%),
    linear-gradient(135deg, #ffffff 0%, #f0f6ff 55%, #eef2ff 100%);
  color: #0f172a;
  border: 1px solid rgba(37, 99, 235, .24);
  border-bottom: 5px solid #2563eb;
  box-shadow: 0 24px 48px -14px rgba(37, 99, 235, .24);
}
.theme-pure-white .vt-back {
  background:
    radial-gradient(circle at 12% 88%, rgba(56, 189, 248, .22) 0%, transparent 45%),
    linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
  color: #0f172a;
  border: 1px solid rgba(37, 99, 235, .22);
  border-bottom: 5px solid #2563eb;
  box-shadow: 0 24px 48px -14px rgba(37, 99, 235, .22);
}
.theme-pure-white .vt-face::after,
.theme-white-emerald .vt-face::after,
.theme-white-crimson .vt-face::after,
.theme-white-gold .vt-face::after {
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .6) 50%, transparent 65%);
}
.theme-pure-white .vt-front svg { color: #2563eb; }
.theme-pure-white .vt-front img#previewPhoto,
.theme-pure-white .vt-front img {
  border-color: #2563eb !important;
  background: #dbeafe !important;
}
.theme-pure-white .vt-nfc-pill {
  background: linear-gradient(135deg, #2563eb, #0284c7) !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
}
.theme-pure-white .vt-back .vt-strip {
  background: linear-gradient(90deg, #1d4ed8, #2563eb, #06b6d4);
  border-bottom-color: rgba(37, 99, 235, .25);
}
.theme-pure-white .vt-back-foot { border-top-color: rgba(37, 99, 235, .18) !important; color: #1e3a8a; }
.theme-pure-white .vt-qr-box { border: 1.5px solid rgba(37, 99, 235, .25); }

/* Pure White & Emerald Mint */
.theme-white-emerald .vt-front {
  background:
    radial-gradient(circle at 90% 14%, rgba(16, 185, 129, .26) 0%, transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(20, 184, 166, .20) 0%, transparent 46%),
    linear-gradient(135deg, #ffffff 0%, #ecfdf5 60%, #f0fdfa 100%);
  color: #064e3b;
  border: 1px solid rgba(16, 185, 129, .28);
  border-bottom: 5px solid #10b981;
  box-shadow: 0 24px 48px -14px rgba(16, 185, 129, .22);
}
.theme-white-emerald .vt-back {
  background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%);
  color: #064e3b;
  border: 1px solid rgba(16, 185, 129, .26);
  border-bottom: 5px solid #10b981;
  box-shadow: 0 24px 48px -14px rgba(16, 185, 129, .20);
}
.theme-white-emerald .vt-front svg { color: #059669; }
.theme-white-emerald .vt-front img { border-color: #10b981 !important; background: #d1fae5 !important; }
.theme-white-emerald .vt-nfc-pill {
  background: linear-gradient(135deg, #059669, #0d9488) !important;
  border-color: #059669 !important;
  color: #ffffff !important;
}
.theme-white-emerald .vt-back .vt-strip { background: linear-gradient(90deg, #047857, #10b981, #14b8a6); }
.theme-white-emerald .vt-back-foot { border-top-color: rgba(16, 185, 129, .22) !important; }
.theme-white-emerald .vt-qr-box { border: 1.5px solid rgba(16, 185, 129, .28); }

/* Pure White & Crimson Coral */
.theme-white-crimson .vt-front {
  background:
    radial-gradient(circle at 90% 14%, rgba(244, 63, 94, .24) 0%, transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(251, 146, 60, .20) 0%, transparent 46%),
    linear-gradient(135deg, #ffffff 0%, #fff1f2 60%, #fff7ed 100%);
  color: #4c0519;
  border: 1px solid rgba(225, 29, 72, .24);
  border-bottom: 5px solid #e11d48;
  box-shadow: 0 24px 48px -14px rgba(225, 29, 72, .20);
}
.theme-white-crimson .vt-back {
  background: linear-gradient(135deg, #ffffff 0%, #fff1f2 100%);
  color: #4c0519;
  border: 1px solid rgba(225, 29, 72, .22);
  border-bottom: 5px solid #e11d48;
  box-shadow: 0 24px 48px -14px rgba(225, 29, 72, .18);
}
.theme-white-crimson .vt-front svg { color: #e11d48; }
.theme-white-crimson .vt-front img { border-color: #e11d48 !important; background: #ffe4e6 !important; }
.theme-white-crimson .vt-nfc-pill {
  background: linear-gradient(135deg, #e11d48, #f97316) !important;
  border-color: #e11d48 !important;
  color: #ffffff !important;
}
.theme-white-crimson .vt-back .vt-strip { background: linear-gradient(90deg, #be123c, #e11d48, #f97316); }
.theme-white-crimson .vt-back-foot { border-top-color: rgba(225, 29, 72, .2) !important; }
.theme-white-crimson .vt-qr-box { border: 1.5px solid rgba(225, 29, 72, .25); }

/* Pure White & Champagne Gold */
.theme-white-gold .vt-front {
  background:
    radial-gradient(circle at 90% 14%, rgba(245, 158, 11, .26) 0%, transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(217, 119, 6, .18) 0%, transparent 46%),
    linear-gradient(135deg, #fffdf9 0%, #fef9ec 60%, #fef3c7 100%);
  color: #451a03;
  border: 1px solid rgba(217, 119, 6, .28);
  border-bottom: 5px solid #d97706;
  box-shadow: 0 24px 48px -14px rgba(217, 119, 6, .22);
}
.theme-white-gold .vt-back {
  background: linear-gradient(135deg, #fffdf9 0%, #fef3c7 100%);
  color: #451a03;
  border: 1px solid rgba(217, 119, 6, .26);
  border-bottom: 5px solid #d97706;
  box-shadow: 0 24px 48px -14px rgba(217, 119, 6, .20);
}
.theme-white-gold .vt-front svg { color: #d97706; }
.theme-white-gold .vt-front img { border-color: #d97706 !important; background: #fef3c7 !important; }
.theme-white-gold .vt-nfc-pill {
  background: linear-gradient(135deg, #b45309, #eab308) !important;
  border-color: #d97706 !important;
  color: #ffffff !important;
}
.theme-white-gold .vt-back .vt-strip { background: linear-gradient(90deg, #92400e, #d97706, #eab308); }
.theme-white-gold .vt-back-foot { border-top-color: rgba(217, 119, 6, .22) !important; }
.theme-white-gold .vt-qr-box { border: 1.5px solid rgba(217, 119, 6, .28); }

/* ---------------------------------------------------------------------------
   Pro 3D Smart Card Layout (.vt-card-pro) — Light Clean & Dark Executive
   --------------------------------------------------------------------------- */
.vt-card-pro .vt-face {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.vt-card-pro .vt-face::after {
  pointer-events: none;
}
.vt-card-pro .vtp-nfc-ico {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.vt-card-pro .vtp-accent-bar {
  display: none;
  width: 28px;
  height: 4px;
  border-radius: 99px;
  background: var(--vtp-acc, #3b82f6);
  margin-bottom: 6px;
}

/* Front layout */
.vt-card-pro .vtp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  background: var(--vtp-band, #1b5fa8);
  color: #ffffff;
}
.vt-card-pro .vtp-head-left {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.vt-card-pro .vtp-company {
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vt-card-pro .vtp-body {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px 6px;
  flex: 1;
}
.vt-card-pro .vtp-avatar {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 2.5px solid var(--vtp-acc, #1b5fa8);
  background: var(--vtp-avbg, #dbeafe);
  overflow: hidden;
  flex-shrink: 0;
}
.vt-card-pro .vtp-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0 !important;
  background: transparent !important;
}
.vt-card-pro .vtp-who {
  min-width: 0;
}
.vt-card-pro .vtp-name {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--vtp-ink, #0f172a);
}
.vt-card-pro .vtp-title {
  font-size: .84rem;
  font-weight: 600;
  color: var(--vtp-acc, #1b5fa8);
  margin-top: 2px;
}
.vt-card-pro .vtp-dept {
  font-size: .78rem;
  color: var(--vtp-mut, #64748b);
  margin-top: 1px;
}
.vt-card-pro .vtp-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 20px 14px;
}
.vt-card-pro .vtp-id {
  font-family: monospace;
  font-size: .86rem;
  font-weight: 700;
  color: var(--vtp-mut, #64748b);
}
.vt-card-pro .vtp-mini-qr {
  width: 44px;
  height: 44px;
  padding: 3px;
  border-radius: 7px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, .14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.vt-card-pro .vtp-mini-qr img {
  width: 100%;
  height: 100%;
  display: block;
}

/* Back layout */
.vt-card-pro .vtp-bhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  background: var(--vtp-band, #1b5fa8);
  color: #ffffff;
  font-size: .9rem;
  font-weight: 800;
}
.vt-card-pro .vtp-bbody {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 20px 16px;
  flex: 1;
}
.vt-card-pro .vtp-bleft {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.vt-card-pro .vtp-dark-prompt {
  display: none;
}
.vt-card-pro .vtp-prompt-txt {
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
}
.vt-card-pro .vtp-bcontacts {
  font-size: .78rem;
  line-height: 1.48;
  color: var(--vtp-ink, #1e293b);
  word-break: break-word;
}
.vt-card-pro .vtp-burl {
  color: var(--vtp-acc, #1b5fa8);
  font-weight: 600;
}
.vt-card-pro .vtp-breturn {
  font-size: .72rem;
  line-height: 1.35;
  color: var(--vtp-mut, #64748b);
}
.vt-card-pro .vtp-bright {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.vt-card-pro .vtp-big-qr {
  width: 82px;
  height: 82px;
  padding: 5px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, .14);
}
.vt-card-pro .vtp-big-qr img {
  width: 100%;
  height: 100%;
  display: block;
}
.vt-card-pro .vtp-tap-zone {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: .7rem;
  font-weight: 600;
  color: #94a3b8;
}
.vt-card-pro .vtp-tap-zone .vtp-nfc-ico {
  width: 20px;
  height: 20px;
  color: var(--vtp-acc, #3b82f6);
}

/* Light Clean Themes (white base + colored header band) */
.vt-card-pro.theme-pure-white .vt-front,
.vt-card-pro.theme-pure-white .vt-back {
  --vtp-band: #1b5fa8;
  --vtp-acc: #1b5fa8;
  --vtp-avbg: #dbeafe;
  --vtp-ink: #0f172a;
  --vtp-mut: #64748b;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, .14);
  border-bottom: 1px solid rgba(15, 23, 42, .14);
}
.vt-card-pro.theme-white-emerald .vt-front,
.vt-card-pro.theme-white-emerald .vt-back {
  --vtp-band: #059669;
  --vtp-acc: #059669;
  --vtp-avbg: #d1fae5;
  --vtp-ink: #064e3b;
  --vtp-mut: #4b7063;
  background: #ffffff;
  border: 1px solid rgba(5, 150, 105, .2);
  border-bottom: 1px solid rgba(5, 150, 105, .2);
}
.vt-card-pro.theme-white-crimson .vt-front,
.vt-card-pro.theme-white-crimson .vt-back {
  --vtp-band: #be123c;
  --vtp-acc: #be123c;
  --vtp-avbg: #ffe4e6;
  --vtp-ink: #4c0519;
  --vtp-mut: #7f4c58;
  background: #ffffff;
  border: 1px solid rgba(190, 18, 60, .2);
  border-bottom: 1px solid rgba(190, 18, 60, .2);
}
.vt-card-pro.theme-white-gold .vt-front,
.vt-card-pro.theme-white-gold .vt-back {
  --vtp-band: #b45309;
  --vtp-acc: #b45309;
  --vtp-avbg: #fef3c7;
  --vtp-ink: #451a03;
  --vtp-mut: #785a3a;
  background: #fffdf9;
  border: 1px solid rgba(180, 83, 9, .22);
  border-bottom: 1px solid rgba(180, 83, 9, .22);
}

/* Dark Executive Themes (black base + accent pill bar + tap zone) */
.vt-card-pro.theme-midnight .vt-face,
.vt-card-pro.theme-corporate-navy .vt-face,
.vt-card-pro.theme-emerald-tech .vt-face,
.vt-card-pro.theme-crimson-dynamic .vt-face,
.vt-card-pro.theme-luxury-gold .vt-face {
  --vtp-ink: #ffffff;
  --vtp-mut: #94a3b8;
  --vtp-avbg: #1e293b;
  background: #0e131b;
  border: 1px solid rgba(255, 255, 255, .1);
}
.vt-card-pro.theme-midnight { --vtp-acc: #3b82f6; }
.vt-card-pro.theme-corporate-navy { --vtp-acc: #38bdf8; }
.vt-card-pro.theme-corporate-navy .vt-face { background: #0a1529; }
.vt-card-pro.theme-emerald-tech { --vtp-acc: #10b981; }
.vt-card-pro.theme-emerald-tech .vt-face { background: #071713; }
.vt-card-pro.theme-crimson-dynamic { --vtp-acc: #f43f5e; }
.vt-card-pro.theme-crimson-dynamic .vt-face { background: #180911; }
.vt-card-pro.theme-luxury-gold { --vtp-acc: #eab308; }
.vt-card-pro.theme-luxury-gold .vt-face { background: #121215; }

.vt-card-pro.theme-midnight .vtp-head,
.vt-card-pro.theme-corporate-navy .vtp-head,
.vt-card-pro.theme-emerald-tech .vtp-head,
.vt-card-pro.theme-crimson-dynamic .vtp-head,
.vt-card-pro.theme-luxury-gold .vtp-head {
  background: transparent;
  padding: 16px 20px 4px;
}
.vt-card-pro.theme-midnight .vtp-accent-bar,
.vt-card-pro.theme-corporate-navy .vtp-accent-bar,
.vt-card-pro.theme-emerald-tech .vtp-accent-bar,
.vt-card-pro.theme-crimson-dynamic .vtp-accent-bar,
.vt-card-pro.theme-luxury-gold .vtp-accent-bar {
  display: block;
}
.vt-card-pro.theme-midnight .vtp-company,
.vt-card-pro.theme-corporate-navy .vtp-company,
.vt-card-pro.theme-emerald-tech .vtp-company,
.vt-card-pro.theme-crimson-dynamic .vtp-company,
.vt-card-pro.theme-luxury-gold .vtp-company {
  font-size: .82rem;
  font-weight: 600;
  color: #94a3b8;
}
.vt-card-pro.theme-midnight .vtp-head .vtp-nfc-ico,
.vt-card-pro.theme-corporate-navy .vtp-head .vtp-nfc-ico,
.vt-card-pro.theme-emerald-tech .vtp-head .vtp-nfc-ico,
.vt-card-pro.theme-crimson-dynamic .vtp-head .vtp-nfc-ico,
.vt-card-pro.theme-luxury-gold .vtp-head .vtp-nfc-ico {
  color: var(--vtp-acc);
}
.vt-card-pro.theme-midnight .vtp-bhead,
.vt-card-pro.theme-corporate-navy .vtp-bhead,
.vt-card-pro.theme-emerald-tech .vtp-bhead,
.vt-card-pro.theme-crimson-dynamic .vtp-bhead,
.vt-card-pro.theme-luxury-gold .vtp-bhead {
  display: none;
}
.vt-card-pro.theme-midnight .vtp-dark-prompt,
.vt-card-pro.theme-corporate-navy .vtp-dark-prompt,
.vt-card-pro.theme-emerald-tech .vtp-dark-prompt,
.vt-card-pro.theme-crimson-dynamic .vtp-dark-prompt,
.vt-card-pro.theme-luxury-gold .vtp-dark-prompt {
  display: block;
}
.vt-card-pro.theme-midnight .vtp-bcontacts,
.vt-card-pro.theme-corporate-navy .vtp-bcontacts,
.vt-card-pro.theme-emerald-tech .vtp-bcontacts,
.vt-card-pro.theme-crimson-dynamic .vtp-bcontacts,
.vt-card-pro.theme-luxury-gold .vtp-bcontacts {
  color: var(--vtp-acc);
}
.vt-card-pro.theme-midnight .vtp-breturn strong,
.vt-card-pro.theme-corporate-navy .vtp-breturn strong,
.vt-card-pro.theme-emerald-tech .vtp-breturn strong,
.vt-card-pro.theme-crimson-dynamic .vtp-breturn strong,
.vt-card-pro.theme-luxury-gold .vtp-breturn strong {
  color: #e2e8f0;
}
.vt-card-pro.theme-midnight .vtp-tap-zone,
.vt-card-pro.theme-corporate-navy .vtp-tap-zone,
.vt-card-pro.theme-emerald-tech .vtp-tap-zone,
.vt-card-pro.theme-crimson-dynamic .vtp-tap-zone,
.vt-card-pro.theme-luxury-gold .vtp-tap-zone {
  display: flex;
}

.vt-front {
  background: linear-gradient(135deg, #090d16, #172033);
}

.vt-back {
  background: linear-gradient(135deg, #05080f, #101726);
}

/* ---------------------------------------------------------------------------
   Legacy inline-style harmonizer
   id/* and shop/* pages were authored with hard-coded dark-theme colours.
   Inside body.vt-public these are mapped to the theme tokens so light/dark
   both render correctly. Card faces (.vt-face / .flip-face) are excluded.
   --------------------------------------------------------------------------- */
body.vt-public [style*="background:#1e293b"]:not(.vt-face):not(.vt-face *),
body.vt-public [style*="background: #1e293b"]:not(.vt-face):not(.vt-face *) {
  background: var(--vt-surf) !important;
  border-color: var(--vt-line) !important;
}

body.vt-public [style*="background:#0f172a"]:not(.vt-face):not(.vt-face *),
body.vt-public [style*="background: #0f172a"]:not(.vt-face):not(.vt-face *) {
  background: var(--vt-surf-2) !important;
  color: var(--vt-fg) !important;
  border-color: var(--vt-line) !important;
}

body.vt-public [style*="color:#fff"]:not(.vt-face *):not(.vt-btn):not(.btn-primary):not(.vt-face),
body.vt-public [style*="color: #fff"]:not(.vt-face *):not(.vt-btn):not(.btn-primary):not(.vt-face) {
  color: var(--vt-fg) !important;
}

body.vt-public [style*="color:#cbd5e1"]:not(.vt-face *),
body.vt-public [style*="color:#e2e8f0"]:not(.vt-face *),
body.vt-public [style*="color:#f1f5f9"]:not(.vt-face *) {
  color: var(--vt-fg) !important;
}

body.vt-public [style*="color:#94a3b8"]:not(.vt-face *),
body.vt-public [style*="color:#64748b"]:not(.vt-face *) {
  color: var(--vt-mut) !important;
}

body.vt-public [style*="rgba(255,255,255,0.1"]:not(.vt-face *),
body.vt-public [style*="rgba(255,255,255,0.0"]:not(.vt-face *),
body.vt-public [style*="rgba(255,255,255,0.15"]:not(.vt-face *) {
  border-color: var(--vt-line) !important;
}

body.vt-public input:not([type=radio]):not([type=checkbox]):not([type=file]):not([type=hidden]),
body.vt-public select,
body.vt-public textarea {
  color: var(--vt-fg);
}

body.vt-public .btn-primary {
  background: var(--vt-grad);
  border: 0;
  color: #fff !important;
  border-radius: 12px;
}

body.vt-public .btn-outline {
  border-radius: 99px;
}

body.vt-public .card {
  background: var(--vt-surf);
  border-color: var(--vt-line);
}

body.vt-public .site-footer,
body.vt-public .site-header {
  display: none;
}

/* ==========================================================================
   CENTRAL DESIGN BRIDGE
   style.css still ships the older palette (--brand, --card, --border ...).
   Re-pointing those tokens at the --vt-* palette here means every legacy
   class (.btn, .card, .badge, .alert, .toast ...) renders in the index.php
   look on any page that uses includes/header.php. One palette, one place.
   ========================================================================== */
body.vt-public {
  --brand: var(--vt-acc);
  --brand-dark: var(--vt-acc-dark);
  --brand-light: var(--vt-acc-soft);
  --primary: var(--vt-acc);
  --indigo: var(--vt-acc-dark);
  --ink: var(--vt-fg);
  --ink-soft: var(--vt-fg);
  --muted: var(--vt-mut);
  --muted-light: var(--vt-mut);
  --bg: var(--vt-bg);
  --bg-elev: var(--vt-surf-2);
  --card: var(--vt-surf);
  --card-2: var(--vt-surf);
  --border: var(--vt-line);
  --border-strong: var(--vt-line);
  --shadow: var(--vt-shadow);
  letter-spacing: normal;
}

body.vt-public.vt-bare {
  padding-top: 0;
}

body.vt-public .text-muted {
  color: var(--vt-mut);
}

body.vt-public .btn {
  border-radius: 99px;
  min-height: 0;
  padding: 10px 18px;
  font-size: .88rem;
}

body.vt-public .btn-outline {
  background: var(--vt-surf);
  color: var(--vt-fg) !important;
  border: 1px solid var(--vt-line);
}

body.vt-public .btn-outline:hover {
  border-color: var(--vt-acc);
  color: var(--vt-acc) !important;
  background: var(--vt-surf);
}

body.vt-public .btn-primary {
  border-radius: 99px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, .28);
}

body.vt-public .btn-primary:hover {
  background: var(--vt-grad);
  transform: translateY(-1px);
}

body.vt-public .btn-danger-text {
  color: #ef4444 !important;
}

body.vt-public .card {
  border-radius: 24px;
  box-shadow: var(--vt-shadow);
}

/* ---------- Forms (shared by id/, shop/, company/) ---------------------- */
body.vt-public .form-label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--vt-mut);
  margin-bottom: 7px;
}

body.vt-public .form-control,
body.vt-public .form-input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: .94rem;
  font-family: inherit;
  background: var(--vt-surf-2);
  color: var(--vt-fg);
  border: 1px solid var(--vt-line);
  transition: border-color .15s, box-shadow .15s;
}

body.vt-public .form-input {
  margin-bottom: 16px;
}

body.vt-public .form-control:focus,
body.vt-public .form-input:focus {
  outline: none;
  border-color: var(--vt-acc);
  box-shadow: 0 0 0 4px var(--vt-acc-glow);
}

body.vt-public textarea.vt-input,
body.vt-public textarea.form-control,
body.vt-public textarea.form-input {
  resize: vertical;
}

@media (max-width: 560px) {
  .vt-grid-2 {
    grid-template-columns: 1fr;
  }
}

.vt-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 640px) {
  .vt-grid-3 {
    grid-template-columns: 1fr;
  }
}

.vt-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 14px;
  cursor: pointer;
  background: var(--vt-surf-2);
  border: 1px solid var(--vt-line);
  color: var(--vt-fg);
  font-size: .9rem;
  font-weight: 600;
  transition: border-color .15s, box-shadow .15s;
}

.vt-option:hover {
  border-color: color-mix(in srgb, var(--vt-acc) 50%, transparent);
}

.vt-option:has(input:checked) {
  border-color: var(--vt-acc);
  box-shadow: 0 0 0 4px var(--vt-acc-glow);
}

.vt-option small {
  display: block;
  font-weight: 500;
  font-size: .8rem;
  color: var(--vt-mut);
}

.vt-option .tag {
  margin-left: auto;
  font-weight: 800;
  color: var(--vt-acc);
}

.vt-alert {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: .9rem;
  margin-bottom: 18px;
  border: 1px solid;
}

.vt-alert.ok {
  background: rgba(16, 185, 129, .10);
  border-color: rgba(16, 185, 129, .35);
  color: var(--vt-ok);
}

.vt-alert.err {
  background: rgba(239, 68, 68, .10);
  border-color: rgba(239, 68, 68, .35);
  color: #ef4444;
}

.vt-alert.info {
  background: var(--vt-acc-soft);
  border-color: var(--vt-acc-glow);
  color: var(--vt-fg);
}

.vt-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--vt-acc);
  background: var(--vt-acc-soft);
  border: 1px solid var(--vt-acc-glow);
}

.vt-pill.ok {
  color: var(--vt-ok);
  background: rgba(16, 185, 129, .10);
  border-color: rgba(16, 185, 129, .3);
}

.vt-pill.warn {
  color: #d97706;
  background: rgba(245, 158, 11, .12);
  border-color: rgba(245, 158, 11, .3);
}

.vt-pill.bad {
  color: #ef4444;
  background: rgba(239, 68, 68, .10);
  border-color: rgba(239, 68, 68, .3);
}

.vt-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.vt-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  font-size: .9rem;
  color: var(--vt-mut);
}

.vt-row+.vt-row {
  border-top: 1px solid var(--vt-line);
}

.vt-row strong,
.vt-row b {
  color: var(--vt-fg);
}

.vt-two {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: start;
}

.vt-two.even {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 860px) {

  .vt-two,
  .vt-two.even {
    grid-template-columns: 1fr;
  }
}

body.vt-public table.data {
  width: 100%;
  border-collapse: collapse;
}

body.vt-public table.data th {
  text-align: left;
  font-size: .74rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--vt-mut);
  padding: 8px 10px;
  border-bottom: 1px solid var(--vt-line);
}

body.vt-public table.data td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--vt-line);
  color: var(--vt-fg);
}

/* Round theme toggle, reused outside the nav (portal top bar, bare pages) */
.vt-float-actions {
  position: fixed;
  top: calc(14px + env(safe-area-inset-top, 0px));
  right: max(14px, 3vw);
  z-index: 60;
  display: flex;
  gap: 8px;
  align-items: center;
}

/* ==========================================================================
   PORTAL SHELL  (.vp-*)  — CMS-style app layout: sidebar + top bar, no public
   header/footer. Used by id/dashboard.php (layout "bare").
   ========================================================================== */
.vp-shell {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  min-height: 100vh;
}

.vp-side {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 70;
  background: var(--vt-surf);
  border-right: 1px solid var(--vt-line);
  padding: 16px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vp-side .vt-logo {
  padding: 4px 10px 14px;
}

.vp-user {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border-radius: 16px;
  background: var(--vt-surf-2);
  border: 1px solid var(--vt-line);
  margin-bottom: 6px;
}

.vp-user img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--vt-acc);
  flex-shrink: 0;
}

.vp-user b {
  display: block;
  font-size: .88rem;
  color: var(--vt-fg);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}

.vp-user span {
  font-size: .74rem;
  color: var(--vt-acc);
  font-weight: 700;
}

.vp-nav-label {
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--vt-mut);
  padding: 12px 12px 4px;
}

.vp-nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
  border-radius: 11px;
  color: var(--vt-mut) !important;
  text-decoration: none !important;
  font-size: .89rem;
  font-weight: 600;
  transition: background .15s, color .15s;
}

.vp-nav-item>span,
.vp-nav-item>.vp-ico {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vp-nav-item svg {
  width: 17px;
  height: 17px;
}

.vp-nav-item:hover {
  background: var(--vt-surf-2);
  color: var(--vt-fg) !important;
}

.vp-nav-item.active {
  background: var(--vt-acc-soft);
  color: var(--vt-acc) !important;
}

.vp-side-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--vt-line);
}

.vp-nav-item.danger {
  color: #ef4444 !important;
}

.vp-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.vp-top {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--vt-nav-h);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 max(18px, 2.4vw);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  background: color-mix(in srgb, var(--vt-bg) 78%, transparent);
  border-bottom: 1px solid var(--vt-line);
}

.vp-top h1 {
  font-size: 1.02rem;
  font-weight: 800;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vp-top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vp-burger {
  display: none;
}

.vp-main {
  padding: 26px max(18px, 2.4vw) 64px;
  width: 100%;
  max-width: 1080px;
}

.vp-panel {
  background: var(--vt-surf);
  border: 1px solid var(--vt-line);
  border-radius: 24px;
  box-shadow: var(--vt-shadow);
  padding: clamp(20px, 3vw, 30px);
}

.vp-panel .panel-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.vp-panel .panel-desc {
  font-size: .88rem;
  color: var(--vt-mut);
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--vt-line);
}

.vp-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.vp-stat {
  background: var(--vt-surf-2);
  border: 1px solid var(--vt-line);
  border-radius: 16px;
  padding: 16px 18px;
  min-width: 0;
}

.vp-stat small {
  display: block;
  font-size: .76rem;
  color: var(--vt-mut);
  margin-bottom: 4px;
}

.vp-stat b {
  font-size: 1.1rem;
  color: var(--vt-fg);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vp-box {
  background: var(--vt-surf-2);
  border: 1px solid var(--vt-line);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
}

.vp-box h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 12px;
}

.vp-item {
  background: var(--vt-surf-2);
  border: 1px solid var(--vt-line);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.vp-item h4 {
  font-size: 1rem;
  margin: 0 0 3px;
}

.vp-item p {
  margin: 0;
  font-size: .86rem;
  color: var(--vt-mut);
}

.vp-check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .93rem;
  color: var(--vt-fg);
  cursor: pointer;
  padding: 7px 0;
}

.vp-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--vt-acc);
  flex-shrink: 0;
}

.vp-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.vp-progress {
  height: 6px;
  border-radius: 99px;
  background: var(--vt-surf-2);
  border: 1px solid var(--vt-line);
  overflow: hidden;
  margin-top: 8px;
}

.vp-progress i {
  display: block;
  height: 100%;
  background: var(--vt-grad);
  border-radius: 99px;
}

.vp-scrim {
  display: none;
}

@media (max-width: 900px) {
  .vp-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .vp-side {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 276px;
    height: auto;
    transform: translateX(-102%);
    transition: transform .25s cubic-bezier(.2, .7, .2, 1);
    box-shadow: var(--vt-shadow);
  }

  .vp-side.open {
    transform: none;
  }

  .vp-scrim.open {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 65;
    background: rgba(9, 13, 22, .5);
  }

  .vp-burger {
    display: inline-grid;
  }

  .vp-top .vt-hide-sm {
    display: none;
  }
}

/* ==========================================================================
   PUBLIC PROFILE  (.pp-*)  — id/profile.php, chrome-free ("bare" layout)
   ========================================================================== */
.pp-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 28px 20px 60px;
}

.pp-hero {
  background: var(--vt-surf);
  border: 1px solid var(--vt-line);
  border-radius: 28px;
  box-shadow: var(--vt-shadow);
  overflow: hidden;
  margin-bottom: 26px;
}

.pp-cover {
  height: 170px;
  background: linear-gradient(135deg, #091328 0%, #1e3a8a 60%, #2563eb 100%);
  background-size: cover;
  background-position: center;
}

.pp-hero-body {
  padding: 0 30px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 20px;
  margin-top: -60px;
}

.pp-avatar {
  position: relative;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 4px solid var(--vt-surf);
  background: var(--vt-surf-2);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .18);
}

.pp-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.pp-avatar .tick {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--vt-acc);
  color: #fff;
  border: 3px solid var(--vt-surf);
  display: grid;
  place-items: center;
  font-size: 13px;
}

.pp-id {
  flex: 1;
  min-width: 260px;
}

.pp-id h1 {
  font-size: clamp(1.5rem, 3.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin: 0 0 4px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.pp-id .role {
  font-size: 1.02rem;
  color: var(--vt-mut);
  margin-bottom: 8px;
}

.pp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: .86rem;
  color: var(--vt-mut);
}

.pp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-bottom: 26px;
  align-items: start;
}

.pp-cols {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 26px;
  align-items: start;
}

@media (max-width: 820px) {

  .pp-grid,
  .pp-cols {
    grid-template-columns: 1fr;
  }

  .pp-hero-body {
    padding: 0 20px 22px;
  }
}

.pp-box {
  background: var(--vt-surf);
  border: 1px solid var(--vt-line);
  border-radius: 24px;
  padding: 24px;
  margin-bottom: 22px;
}

.pp-box h2 {
  font-size: 1.08rem;
  font-weight: 800;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--vt-line);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pp-kicker {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--vt-mut);
}

.pp-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pp-action {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  cursor: pointer;
  background: var(--vt-surf-2);
  border: 1px solid var(--vt-line);
  color: var(--vt-fg) !important;
  text-decoration: none !important;
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  transition: all .18s;
}

.pp-action:hover {
  border-color: var(--vt-acc);
  color: var(--vt-acc) !important;
  transform: translateY(-2px);
}

.pp-action.main {
  grid-column: span 2;
  justify-content: center;
  padding: 14px;
  font-size: .98rem;
  border: 0;
  background: var(--vt-grad);
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, .28);
}

.pp-timeline {
  position: relative;
  padding-left: 20px;
  border-left: 2px solid var(--vt-line);
}

.pp-tl {
  position: relative;
  margin-bottom: 20px;
}

.pp-tl:last-child {
  margin-bottom: 0;
}

.pp-tl::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--vt-acc);
  box-shadow: 0 0 0 3px var(--vt-acc-glow);
}

.pp-tl b {
  display: block;
  font-size: 1rem;
  color: var(--vt-fg);
}

.pp-tl span {
  display: block;
  font-size: .88rem;
  color: var(--vt-mut);
}

.pp-tl small {
  display: block;
  font-size: .8rem;
  color: var(--vt-mut);
  opacity: .8;
  margin-top: 2px;
}

.pp-tl p {
  font-size: .88rem;
  color: var(--vt-mut);
  line-height: 1.5;
  margin: 6px 0 0;
}

.pp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pp-tags span {
  padding: 5px 12px;
  border-radius: 99px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--vt-acc);
  background: var(--vt-acc-soft);
  border: 1px solid var(--vt-acc-glow);
}

.pp-social {
  display: flex;
  align-items: center;
  padding: 11px 14px;
  border-radius: 12px;
  margin-bottom: 8px;
  background: var(--vt-surf-2);
  border: 1px solid var(--vt-line);
  color: var(--vt-fg) !important;
  text-decoration: none !important;
  font-size: .9rem;
  font-weight: 700;
  transition: border-color .15s;
}

.pp-social:hover {
  border-color: var(--vt-acc);
}

.pp-social i {
  margin-left: auto;
  font-style: normal;
  color: var(--vt-mut);
}

.pp-promo {
  background: linear-gradient(135deg, #091328 0%, #1e3a8a 60%, #2563eb 100%);
  color: #fff;
  border-radius: 24px;
  padding: 26px;
  text-align: center;
  box-shadow: 0 20px 45px rgba(37, 99, 235, .25);
}

.pp-promo h3 {
  color: #fff !important;
  font-size: 1.1rem;
  font-weight: 800;
  margin: 8px 0 6px;
}

.pp-promo p {
  color: #dbeafe;
  font-size: .85rem;
  line-height: 1.5;
  margin: 0 0 16px;
}

.pp-promo a {
  display: block;
  padding: 12px;
  border-radius: 99px;
  background: #fff;
  color: #1e3a8a !important;
  font-weight: 700;
  text-decoration: none !important;
  font-size: .92rem;
}

/* Digital business card (always dark, like the physical card) */
.pp-card {
  width: 100%;
  aspect-ratio: 1.586 / 1;
  border-radius: 20px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 28px 50px -14px rgba(15, 23, 42, .55);
  background: linear-gradient(135deg, #090d16, #172033);
  transition: transform .4s cubic-bezier(.16, 1, .3, 1);
}

.pp-card:hover {
  transform: translateY(-4px) scale(1.01);
}

.pp-card>* {
  position: relative;
  z-index: 1;
}

.pp-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 85% 15%, rgba(56, 189, 248, .22), transparent 50%);
}

.pp-card.theme-corporate-navy {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
}

.pp-card.theme-emerald-tech {
  background: linear-gradient(135deg, #062b1b, #064e3b);
}

.pp-card.theme-emerald-tech::after {
  background: radial-gradient(circle at 85% 15%, rgba(52, 211, 153, .22), transparent 50%);
}

.pp-card.theme-crimson-dynamic {
  background: linear-gradient(135deg, #1c0a10, #4c0519);
}

.pp-card.theme-crimson-dynamic::after {
  background: radial-gradient(circle at 85% 15%, rgba(244, 63, 94, .25), transparent 50%);
}

.pp-card.theme-luxury-gold {
  background: linear-gradient(135deg, #181512, #2f2719);
}

.pp-card.theme-luxury-gold::after {
  background: radial-gradient(circle at 85% 15%, rgba(245, 158, 11, .25), transparent 50%);
}

.pp-card.theme-pure-white {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  color: #0f172a;
  border-color: rgba(15, 23, 42, .14);
}
.pp-card.theme-pure-white::after {
  background: radial-gradient(circle at 85% 15%, rgba(37, 99, 235, .12), transparent 50%);
}
.pp-card.theme-pure-white .pp-card-id {
  color: #0f172a;
}
.pp-dot[data-theme="pure-white"] {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, .25);
}

.pp-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.pp-card-row.end {
  align-items: flex-end;
}

.pp-card-brand {
  font-weight: 800;
  letter-spacing: .08em;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pp-card-brand svg,
.pp-card-row>svg {
  width: 26px;
  height: 26px;
  opacity: .85;
}

.pp-card-who {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pp-card-who img {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, .4);
  background: rgba(0, 0, 0, .3);
}

.pp-card-who b {
  display: block;
  font-size: 1.22rem;
  line-height: 1.2;
}

.pp-card-who span {
  display: block;
  font-size: .86rem;
  opacity: .9;
}

.pp-card-who small {
  display: block;
  font-size: .8rem;
  opacity: .7;
}

.pp-card-id {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .08em;
  background: rgba(0, 0, 0, .4);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, .15);
}

.pp-card-qr {
  width: 52px;
  height: 52px;
  background: #fff;
  padding: 3px;
  border-radius: 6px;
}

.pp-card-qr img {
  width: 100%;
  height: 100%;
}

.pp-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px 12px;
  border-radius: 99px;
  background: var(--vt-surf);
  border: 1px solid var(--vt-line);
}

.pp-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  border: 2px solid transparent;
  outline: 1px solid var(--vt-line);
  transition: transform .2s;
}

.pp-dot:hover,
.pp-dot.active {
  transform: scale(1.15);
  border-color: var(--vt-acc);
}

.pp-dot[data-theme="midnight"] {
  background: #0f172a;
}

.pp-dot[data-theme="corporate-navy"] {
  background: #1e3a8a;
}

.pp-dot[data-theme="emerald-tech"] {
  background: #064e3b;
}

.pp-dot[data-theme="crimson-dynamic"] {
  background: #4c0519;
}

.pp-dot[data-theme="luxury-gold"] {
  background: #2f2719;
}

.vt-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  padding: 20px;
  background: rgba(9, 13, 22, .6);
  align-items: center;
  justify-content: center;
}

.vt-modal.open {
  display: flex;
}

.vt-modal-box {
  background: var(--vt-surf);
  border: 1px solid var(--vt-line);
  border-radius: 24px;
  max-width: 380px;
  width: 100%;
  padding: 28px;
  text-align: center;
  box-shadow: var(--vt-shadow);
}

.vt-qr-frame {
  background: #fff;
  padding: 16px;
  border-radius: 18px;
  display: inline-block;
  border: 1px solid var(--vt-line);
}

/* Centered status / empty page (not found, private profile, missing order) */
.vt-state {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 90px 20px;
}

.vt-state .glyph {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: var(--vt-acc);
  background: var(--vt-acc-soft);
  border: 1px solid var(--vt-acc-glow);
}

.vt-state h1 {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin: 0 0 10px;
}

.vt-state p {
  color: var(--vt-mut);
  font-size: 1.02rem;
  line-height: 1.55;
  margin: 0 0 26px;
}

/* Order progress steps */
.vt-steps {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 18px;
}

.vt-steps div {
  flex: 1;
  text-align: center;
  font-size: .75rem;
  font-weight: 700;
  color: var(--vt-mut);
}

.vt-steps i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  margin: 0 auto 6px;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: .85rem;
  background: var(--vt-surf-2);
  border: 2px solid var(--vt-line);
  color: var(--vt-mut);
}

.vt-steps .done {
  color: var(--vt-acc);
}

.vt-steps .done i {
  background: var(--vt-grad);
  border-color: transparent;
  color: #fff;
}

/* ---------- Show / hide password toggle --------------------------------- */
.vt-pw-wrap { position: relative; display: flex; align-items: center; }
.vt-pw-wrap .vt-input,
.vt-pw-wrap .form-control { padding-right: 44px; width: 100%; }
.vt-pw-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border: 0; border-radius: 9px;
  background: transparent; color: var(--vt-mut);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: color .15s, background .15s;
}
.vt-pw-toggle:hover { color: var(--vt-fg); background: var(--vt-surf-2); }
.vt-pw-toggle svg { width: 17px; height: 17px; }
.vt-pw-toggle .pw-ico-hide { display: none; }
.vt-pw-toggle.is-shown .pw-ico-show { display: none; }
.vt-pw-toggle.is-shown .pw-ico-hide { display: inline-flex; }
