:root {
  --vb-bg: #0c0714;
  --vb-bg-soft: #151021;
  --vb-panel: rgba(255, 255, 255, .07);
  --vb-card: #181225;
  --vb-card-2: #211731;
  --vb-text: #fff8ef;
  --vb-muted: #b8aebe;
  --vb-line: rgba(255,255,255,.12);
  --vb-accent: #ff8a3d;
  --vb-accent-2: #8b5cf6;
  --vb-green: #28d17c;
  --vb-red: #ff5b6b;
  --vb-shadow: 0 22px 60px rgba(0,0,0,.34);
  --vb-soft-shadow: 0 14px 36px rgba(0,0,0,.20);
  --vb-radius: 30px;
}

html[data-theme="light"] {
  --vb-bg: #fff7ee;
  --vb-bg-soft: #f6ecdf;
  --vb-panel: rgba(255, 255, 255, .72);
  --vb-card: #ffffff;
  --vb-card-2: #fffaf4;
  --vb-text: #191421;
  --vb-muted: #756b7b;
  --vb-line: rgba(39, 27, 52, .12);
  --vb-accent: #f97316;
  --vb-accent-2: #6d28d9;
  --vb-green: #16a34a;
  --vb-red: #dc2626;
  --vb-shadow: 0 22px 54px rgba(88, 58, 25, .13);
  --vb-soft-shadow: 0 14px 34px rgba(88, 58, 25, .10);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--vb-bg);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  color: var(--vb-text);
  background:
    radial-gradient(circle at 8% 4%, rgba(255, 138, 61, .18), transparent 32%),
    radial-gradient(circle at 95% 8%, rgba(139, 92, 246, .22), transparent 34%),
    radial-gradient(circle at 50% 100%, rgba(255, 138, 61, .10), transparent 34%),
    linear-gradient(135deg, var(--vb-bg), var(--vb-bg-soft));
  padding-bottom: 90px;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

img {
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.vb-topbar {
  position: sticky;
  top: 0;
  z-index: 1050;
  padding: 14px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.vb-topbar-inner {
  width: min(100%, 1560px);
  margin: 0 auto;
  min-height: 74px;
  padding: 12px 16px;
  border: 1px solid var(--vb-line);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.04)),
    var(--vb-panel);
  box-shadow: var(--vb-soft-shadow);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
}

html[data-theme="light"] .vb-topbar-inner {
  background: rgba(255,255,255,.78);
}

.vb-top-left,
.vb-top-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vb-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--vb-text);
}

.vb-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

html[data-theme="light"] .vb-brand img {
  filter: brightness(0) saturate(100%);
}

.vb-brand strong {
  font-size: 1.1rem;
  letter-spacing: -.02em;
  font-weight: 900;
}

.vb-title {
  text-align: center;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: .02em;
}

.vb-square-btn,
.vb-back-btn,
.vb-theme-btn {
  width: 46px;
  height: 46px;
  border: 1px solid var(--vb-line);
  border-radius: 17px;
  background: rgba(255,255,255,.08);
  color: var(--vb-text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}

html[data-theme="light"] .vb-square-btn,
html[data-theme="light"] .vb-back-btn,
html[data-theme="light"] .vb-theme-btn {
  background: #fff7ee;
}

.vb-square-btn span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  display: block;
  margin: 2px 0;
}

.vb-square-btn:hover,
.vb-back-btn:hover,
.vb-theme-btn:hover {
  transform: translateY(-2px);
}

.vb-theme-btn {
  position: relative;
  overflow: hidden;
  font-size: 1.1rem;
}

.vb-theme-btn .vb-moon {
  display: none;
}

html[data-theme="light"] .vb-theme-btn .vb-sun {
  display: none;
}

html[data-theme="light"] .vb-theme-btn .vb-moon {
  display: inline;
}

.vb-back-btn {
  font-size: 1.3rem;
  font-weight: 900;
}

.vb-reseller-badge,
.vb-profile-reseller {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff;
  font-size: .82rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--vb-accent), var(--vb-accent-2));
  box-shadow: 0 10px 22px rgba(249, 115, 22, .20);
}

.vb-layout {
  width: min(calc(100% - 22px), 1560px);
  margin: 4px auto 0;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.vb-sidebar {
  position: sticky;
  top: 104px;
  min-height: calc(100vh - 124px);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
    var(--vb-card);
  border: 1px solid var(--vb-line);
  box-shadow: var(--vb-shadow);
  overflow: hidden;
}

.vb-sidebar::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  left: -80px;
  top: -70px;
  border-radius: 50%;
  background: rgba(255, 138, 61, .22);
  filter: blur(10px);
  pointer-events: none;
}

.vb-profile {
  position: relative;
  z-index: 1;
  padding: 22px;
  text-align: center;
}

.vb-avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 14px;
  border-radius: 32px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,255,255,.68));
  color: #1b1029;
  font-size: 2.4rem;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.30), 0 18px 32px rgba(0,0,0,.16);
}

.vb-profile-name {
  font-size: 1.1rem;
  font-weight: 900;
}

.vb-profile-id {
  margin-top: 6px;
  color: var(--vb-muted);
  font-size: .9rem;
  font-weight: 700;
}

.vb-profile-reseller {
  margin-top: 12px;
}

.vb-wallet {
  margin-top: 18px;
  text-align: left;
  padding: 16px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,138,61,.20), transparent 40%),
    rgba(255,255,255,.07);
  border: 1px solid var(--vb-line);
}

html[data-theme="light"] .vb-wallet {
  background:
    radial-gradient(circle at 100% 0%, rgba(249,115,22,.12), transparent 45%),
    #fffaf4;
}

.vb-wallet span {
  display: block;
  color: var(--vb-muted);
  font-size: .82rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.vb-wallet strong {
  font-size: 1.42rem;
  font-weight: 900;
}

.vb-wallet small {
  color: var(--vb-accent);
  font-size: .78rem;
}

.vb-nav {
  position: relative;
  z-index: 1;
  padding: 0 16px 16px;
  display: grid;
  gap: 8px;
}

.vb-nav a {
  min-height: 50px;
  padding: 0 16px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  color: var(--vb-text);
  font-weight: 900;
  opacity: .78;
  transition: transform .18s ease, opacity .18s ease, background .18s ease;
}

.vb-nav a:hover {
  opacity: 1;
  background: rgba(255,255,255,.08);
  transform: translateX(5px);
}

html[data-theme="light"] .vb-nav a:hover {
  background: rgba(25,20,33,.06);
}

.vb-admin-link {
  color: #facc15 !important;
}

.vb-logout-link {
  color: #fb7185 !important;
}

.vb-socials {
  padding: 0 16px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.vb-socials a {
  min-height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--vb-text);
  background: rgba(255,255,255,.07);
  border: 1px solid var(--vb-line);
  font-weight: 900;
  font-size: .84rem;
}

.vb-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0,0,0,.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.vb-content {
  min-width: 0;
}

.vb-hero {
  position: relative;
  min-height: 250px;
  border-radius: 36px;
  padding: clamp(24px, 4vw, 48px);
  background:
    radial-gradient(circle at 88% 18%, rgba(255,255,255,.20), transparent 18%),
    linear-gradient(135deg, #f97316, #7c3aed 58%, #111827);
  color: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  overflow: hidden;
  box-shadow: var(--vb-shadow);
}

.vb-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255,255,255,.15) 42%, transparent 60%);
  transform: translateX(-110%);
  animation: heroSweep 8s linear infinite;
  pointer-events: none;
}

@keyframes heroSweep {
  0% { transform: translateX(-110%); }
  45% { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

.vb-hero-copy {
  position: relative;
  z-index: 1;
}

.vb-kicker {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  color: rgba(255,255,255,.86);
  font-size: .78rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.vb-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .9;
}

.vb-hero p {
  margin: 14px 0 0;
  color: rgba(255,255,255,.80);
  font-weight: 700;
}

.vb-hero-card {
  position: relative;
  z-index: 1;
  min-width: 190px;
  border-radius: 26px;
  padding: 18px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.20);
  backdrop-filter: blur(10px);
}

.vb-hero-card span,
.vb-hero-card small {
  color: rgba(255,255,255,.72);
  font-weight: 700;
}

.vb-hero-card strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  margin: 4px 0;
}

.vb-search-wrap {
  margin-top: 18px;
  padding: 12px;
  border-radius: 28px;
  background: var(--vb-panel);
  border: 1px solid var(--vb-line);
  box-shadow: var(--vb-soft-shadow);
}

.vb-search,
.vb-field {
  min-height: 58px;
  border-radius: 20px;
  border: 1px solid var(--vb-line);
  background: var(--vb-card);
  color: var(--vb-text);
  box-shadow: none !important;
}

.vb-search::placeholder {
  color: var(--vb-muted);
}

.vb-search:focus,
.vb-field:focus {
  border-color: var(--vb-accent);
  background: var(--vb-card);
  color: var(--vb-text);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, .12) !important;
}

.form-floating label {
  color: var(--vb-muted);
}

.vb-section-head {
  margin: 30px 0 14px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.vb-section-head span {
  display: block;
  color: var(--vb-accent);
  font-size: .8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 4px;
}

.vb-section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.6vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -.055em;
}

.vb-section-head strong {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--vb-card);
  border: 1px solid var(--vb-line);
  display: inline-flex;
  align-items: center;
  color: var(--vb-muted);
  font-size: .9rem;
}

.vb-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.vb-card {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), transparent),
    var(--vb-card);
  border: 1px solid var(--vb-line);
  box-shadow: var(--vb-soft-shadow);
  transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease;
}

.vb-card:hover {
  transform: translateY(-7px) rotate(-.4deg);
  box-shadow: var(--vb-shadow);
}

.vb-card.disabled {
  opacity: .56;
  cursor: not-allowed;
}

.vb-card.disabled:hover {
  transform: none;
}

.vb-card-image {
  position: relative;
  aspect-ratio: 1 / .68;
  overflow: hidden;
  background: var(--vb-card-2);
}

.vb-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease, filter .25s ease;
}

.vb-card:hover .vb-card-image img {
  transform: scale(1.06);
}

.vb-card.disabled .vb-card-image img {
  filter: grayscale(.35);
}

.vb-unavailable-label {
  position: absolute;
  top: 12px;
  right: 12px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(17,24,39,.78);
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
}

.vb-card-body {
  padding: 18px;
}

.vb-card-body h3 {
  margin: 0;
  min-height: 46px;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -.02em;
}

.vb-price {
  margin-top: 12px;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--vb-accent), var(--vb-accent-2));
  font-weight: 900;
}

.vb-price small {
  font-size: .72rem;
  opacity: .82;
}

.vb-card-body p {
  margin: 10px 0 0;
  color: var(--vb-muted);
  font-size: .84rem;
  font-weight: 700;
}

.vb-empty-box {
  margin-top: 18px;
  padding: 22px;
  border-radius: 26px;
  text-align: center;
  color: var(--vb-muted);
  background: var(--vb-card);
  border: 1px solid var(--vb-line);
  box-shadow: var(--vb-soft-shadow);
}

.vb-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(10px);
}

.vb-modal.open {
  display: flex;
}

.vb-modal-dialog {
  width: min(100%, 640px);
  max-height: 88vh;
  overflow: auto;
  border-radius: 32px;
  background: var(--vb-card);
  border: 1px solid var(--vb-line);
  box-shadow: 0 30px 90px rgba(0,0,0,.40);
}

.vb-modal-head {
  position: sticky;
  top: 0;
  z-index: 2;
  min-height: 70px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--vb-line);
  background: var(--vb-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vb-modal-head h3 {
  margin: 0;
  font-weight: 900;
}

.vb-modal-close {
  width: 46px;
  height: 46px;
  border: 1px solid var(--vb-line);
  border-radius: 17px;
  color: var(--vb-text);
  background: rgba(255,255,255,.08);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.vb-modal-body {
  padding: 18px;
}

.vb-loader {
  height: 230px;
  border-radius: 26px;
  background:
    linear-gradient(100deg, transparent 0%, rgba(255,255,255,.12) 50%, transparent 100%),
    var(--vb-card-2);
  background-size: 220% 100%;
  animation: vbLoading 1.2s linear infinite;
}

@keyframes vbLoading {
  from { background-position: 220% 0; }
  to { background-position: -220% 0; }
}

.vb-checkout-hero {
  border-radius: 28px;
  padding: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,255,255,.18), transparent 38%),
    linear-gradient(135deg, #f97316, #7c3aed 60%, #111827);
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.vb-checkout-hero span {
  color: rgba(255,255,255,.72);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .10em;
}

.vb-checkout-hero h2 {
  margin: 8px 0 8px;
  font-size: 1.35rem;
  font-weight: 900;
}

.vb-checkout-hero p {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-weight: 700;
}

.vb-checkout-price {
  flex: 0 0 auto;
  min-width: 110px;
  height: max-content;
  border-radius: 22px;
  padding: 14px;
  text-align: center;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.18);
  font-size: 1.15rem;
  font-weight: 900;
}

.vb-checkout-price small {
  display: block;
  font-size: .72rem;
  opacity: .72;
}

.vb-checkout-note {
  margin-top: 14px;
  padding: 13px 15px;
  border-radius: 18px;
  font-weight: 900;
}

.vb-checkout-note.reseller {
  color: #fff;
  background: linear-gradient(135deg, rgba(249,115,22,.35), rgba(124,58,237,.30));
  border: 1px solid var(--vb-line);
}

.vb-checkout-note.stock {
  color: var(--vb-green);
  background: rgba(40,209,124,.12);
  border: 1px solid rgba(40,209,124,.22);
}

.vb-checkout-form {
  margin-top: 16px;
  display: grid;
  gap: 14px;
}

.vb-buy-btn {
  min-height: 58px;
  border: 0;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--vb-accent), var(--vb-accent-2));
  font-size: .95rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease;
}

.vb-buy-btn:hover {
  transform: translateY(-2px);
}

.vb-buy-btn:disabled {
  opacity: .62;
  cursor: wait;
  transform: none;
}

.vb-footer {
  margin: 24px 0 10px;
  text-align: center;
  color: var(--vb-muted);
  font-size: .85rem;
}

.vb-mobile-dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  min-height: 72px;
  border-radius: 28px;
  background: rgba(18, 12, 28, .92);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--vb-shadow);
  backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: space-around;
  z-index: 1100;
}

html[data-theme="light"] .vb-mobile-dock {
  background: rgba(255, 255, 255, .92);
}

.vb-mobile-dock a {
  color: var(--vb-muted);
  font-size: .74rem;
  font-weight: 900;
}

.vb-mobile-dock .main {
  width: 50px;
  height: 50px;
  border-radius: 19px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--vb-accent), var(--vb-accent-2));
  font-size: 1.7rem;
  transform: translateY(-10px);
}

@media (max-width: 1200px) {
  .vb-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .vb-layout {
    grid-template-columns: 1fr;
  }

  .vb-sidebar {
    position: fixed;
    top: 12px;
    left: 12px;
    bottom: 12px;
    width: min(330px, calc(100vw - 24px));
    min-height: auto;
    z-index: 1300;
    transform: translateX(-115%);
    transition: transform .23s ease;
    overflow-y: auto;
  }

  .vb-sidebar.open {
    transform: translateX(0);
  }

  body.menu-open .vb-menu-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .vb-mobile-dock {
    display: flex;
  }
}

@media (max-width: 767px) {
  .vb-topbar {
    padding: 8px;
  }

  .vb-topbar-inner {
    min-height: 64px;
    border-radius: 22px;
    padding: 9px;
    gap: 8px;
  }

  .vb-brand strong {
    display: none;
  }

  .vb-brand img {
    width: 38px;
    height: 38px;
  }

  .vb-title {
    font-size: .86rem;
  }

  .vb-square-btn,
  .vb-back-btn,
  .vb-theme-btn {
    width: 42px;
    height: 42px;
    border-radius: 15px;
  }

  .vb-reseller-badge {
    min-height: 34px;
    padding: 0 10px;
    font-size: .74rem;
  }

  .vb-layout {
    width: calc(100% - 12px);
    margin-top: 2px;
  }

  .vb-hero {
    min-height: 220px;
    border-radius: 28px;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .vb-hero h1 {
    font-size: 2.55rem;
  }

  .vb-hero-card {
    width: 100%;
  }

  .vb-section-head {
    align-items: flex-start;
  }

  .vb-section-head strong {
    min-height: 36px;
    font-size: .76rem;
  }

  .vb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .vb-card {
    border-radius: 24px;
  }

  .vb-card-body {
    padding: 13px;
  }

  .vb-card-body h3 {
    min-height: 42px;
    font-size: .88rem;
  }

  .vb-price {
    min-height: 36px;
    padding: 0 11px;
    font-size: .84rem;
  }

  .vb-card-body p {
    font-size: .76rem;
  }

  .vb-checkout-hero {
    flex-direction: column;
    border-radius: 24px;
  }

  .vb-modal-dialog {
    border-radius: 26px;
  }

  .vb-modal-body {
    padding: 14px;
  }
}

.vb-brand img,
.vb-logo-img {
  width: 42px !important;
  height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  object-fit: contain !important;
  display: block !important;
}

html[data-theme="light"] .vb-brand img,
html[data-theme="light"] .vb-logo-img {
  filter: brightness(0) saturate(100%) !important;
}

html[data-theme="dark"] .vb-brand img,
html[data-theme="dark"] .vb-logo-img {
  filter: none !important;
}

.vb-top-right {
  min-width: 46px;
  justify-content: flex-end;
}

.vb-theme-panel {
  position: relative;
  z-index: 2;
  margin: 0 16px 14px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--vb-line);
  display: grid;
  gap: 12px;
}

html[data-theme="light"] .vb-theme-panel {
  background: rgba(25,20,33,.045);
}

.vb-theme-panel span {
  display: block;
  color: var(--vb-muted);
  font-size: .78rem;
  font-weight: 800;
}

.vb-theme-panel strong {
  display: block;
  color: var(--vb-text);
  font-size: .96rem;
  font-weight: 900;
  margin-top: 2px;
}

.vb-theme-switch {
  position: relative;
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--vb-line);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: var(--vb-text);
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 5px;
  overflow: hidden;
}

html[data-theme="light"] .vb-theme-switch {
  background: rgba(255,255,255,.75);
}

.vb-theme-switch-text {
  position: relative;
  z-index: 2;
  text-align: center;
  font-size: .82rem !important;
  font-weight: 900 !important;
  color: var(--vb-text) !important;
}

.vb-theme-switch-thumb {
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(50% - 5px);
  height: calc(100% - 10px);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--vb-accent), var(--vb-accent-2));
  box-shadow: 0 10px 24px rgba(249,115,22,.20);
  transition: transform .25s ease;
  z-index: 1;
}

html[data-theme="light"] .vb-theme-switch-thumb {
  transform: translateX(100%);
}

html[data-theme="dark"] .light-text {
  color: var(--vb-muted) !important;
}

html[data-theme="light"] .dark-text {
  color: var(--vb-muted) !important;
}

html[data-theme="light"] .light-text,
html[data-theme="dark"] .dark-text {
  color: #fff !important;
}

/* remove any old normal/account badge if old HTML still exists */
.vb-account-pill {
  display: none !important;
}/* Header alignment */
.vb-topbar-inner {
  grid-template-columns: 1fr auto 1fr !important;
}

.vb-top-left {
  min-width: 0;
}

.vb-top-right {
  justify-content: flex-end;
  min-width: 0;
}

.vb-title {
  justify-self: center;
  white-space: nowrap;
}

.vb-brand strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.vb-brand-page {
  color: var(--vb-muted);
  font-weight: 800;
}

/* Logo size + invert on light mode */
.vb-brand img,
.vb-logo-img {
  width: 42px !important;
  height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  object-fit: contain !important;
  display: block !important;
}

html[data-theme="light"] .vb-brand img,
html[data-theme="light"] .vb-logo-img {
  filter: brightness(0) saturate(100%) !important;
}

/* Smaller mobile menu lines */
.vb-square-btn {
  padding: 0 !important;
}

.vb-square-btn span {
  width: 17px !important;
  height: 2px !important;
  margin: 1.7px 0 !important;
  border-radius: 999px;
}

/* Center back arrow better */
.vb-back-btn {
  display: grid !important;
  place-items: center !important;
  line-height: 1 !important;
  padding-bottom: 2px !important;
}

/* Price pill alignment */
.vb-price {
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  text-align: center !important;
  white-space: nowrap;
}

.vb-price small {
  line-height: 1 !important;
  margin-top: 1px;
}

/* Fix Bootstrap floating label white block */
.form-floating > label {
  background: transparent !important;
  color: var(--vb-muted) !important;
  padding-left: 16px !important;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
  color: var(--vb-accent) !important;
  opacity: 1 !important;
}

.form-floating > .form-control ~ label::after,
.form-floating > .form-control:focus ~ label::after,
.form-floating > .form-control:not(:placeholder-shown) ~ label::after,
.form-floating > .form-select ~ label::after {
  background: transparent !important;
}

.vb-field {
  padding-left: 16px !important;
  color: var(--vb-text) !important;
  caret-color: var(--vb-accent);
}

.vb-field:-webkit-autofill,
.vb-field:-webkit-autofill:hover,
.vb-field:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--vb-text) !important;
  box-shadow: 0 0 0 1000px var(--vb-card) inset !important;
  transition: background-color 9999s ease-in-out 0s;
}

/* Guest navigation */
.vb-guest-panel {
  position: relative;
  z-index: 1;
  padding: 22px;
  text-align: center;
}

.vb-avatar.guest {
  background: linear-gradient(135deg, var(--vb-accent), var(--vb-accent-2));
  color: #fff;
}

.vb-guest-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.vb-guest-actions a,
.vb-login-modal-btn {
  min-height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--vb-accent), var(--vb-accent-2));
  color: #fff !important;
  font-weight: 900;
  text-decoration: none;
}

/* Mobile footer SVG */
.vb-mobile-dock a {
  display: grid;
  justify-items: center;
  gap: 4px;
}

.vb-mobile-dock svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vb-mobile-dock .main svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
}

.vb-mobile-dock .main {
  gap: 0;
}

.vb-mobile-dock .main span {
  display: none;
}

/* Keep desktop sidebar clean for guest */
@media (min-width: 992px) {
  .vb-mobile-dock {
    display: none !important;
  }
}

/* Mobile header spacing */
@media (max-width: 767px) {
  .vb-topbar-inner {
    grid-template-columns: auto 1fr auto !important;
  }

  .vb-brand-page {
    display: none;
  }

  .vb-title {
    font-size: .86rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .vb-brand img,
  .vb-logo-img {
    width: 36px !important;
    height: 36px !important;
  }
}


.vb-checkout-field {
  display: grid;
  gap: 8px;
  margin: 14px 0 18px;
}

.vb-checkout-field label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.vb-checkout-field .form-control {
  min-height: 52px;
  border-radius: 18px;
}