/* ===== Vuavia-inspired theme for ShopClone7 ===== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Xanh mặt trời (sky blue) — giữ tên biến --vv-orange để tương thích class cũ */
  --vv-orange: #0ea5e9;
  --vv-orange-dark: #0284c7;
  --vv-orange-soft: #e0f2fe;
  --vv-orange-mid: #38bdf8;
  --vv-text: #1a1d26;
  --vv-muted: #6b7280;
  --vv-border: #e8eaef;
  --vv-bg: #f5f6f8;
  --vv-white: #ffffff;
  --vv-green: #16a34a;
  --vv-green-soft: #ecfdf3;
  --vv-red: #ef4444;
  --vv-radius: 12px;
  --vv-radius-sm: 8px;
  --vv-shadow: 0 1px 3px rgba(16, 24, 40, 0.06), 0 1px 2px rgba(16, 24, 40, 0.04);
  --vv-shadow-md: 0 4px 16px rgba(16, 24, 40, 0.08);
  --primary: #0ea5e9 !important;
  --primary1: #38bdf8 !important;
}

body.theme-vuavia {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
  background: var(--vv-bg) !important;
  color: var(--vv-text);
  font-size: 15px;
  line-height: 1.5;
}

body.theme-vuavia .header-top,
body.theme-vuavia .header-part,
body.theme-vuavia .navbar-part,
body.theme-vuavia .footer-part {
  display: none !important;
}

/* ===== Top header ===== */
.vv-top {
  background: var(--vv-white);
  border-bottom: 1px solid var(--vv-border);
  position: sticky;
  top: 0;
  /* Phải cao hơn .vv-nav (1001) để menu ngôn ngữ không bị Twitter/Tool đè lên */
  z-index: 1200;
}

.vv-top-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.vv-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  flex-shrink: 0;
}

.vv-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
}

.vv-logo-text {
  font-weight: 800;
  font-size: 22px;
  color: var(--vv-text);
  letter-spacing: -0.03em;
}

.vv-search {
  flex: 1;
  display: flex;
  align-items: center;
  max-width: 580px;
  margin: 0 auto;
  gap: 8px;
  padding: 6px 6px 6px 18px;
  background: #fff;
  border: 1.5px solid #cfe8fb;
  border-radius: 999px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 10px 28px rgba(15, 23, 42, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.vv-search:hover {
  border-color: #b6ddf7;
  box-shadow:
    0 2px 4px rgba(14, 165, 233, 0.06),
    0 14px 32px rgba(15, 23, 42, 0.1);
}

.vv-search:focus-within {
  border-color: #7dd3fc;
  box-shadow:
    0 0 0 4px rgba(56, 189, 248, 0.18),
    0 12px 30px rgba(14, 165, 233, 0.14);
}

.vv-search-field {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.vv-search-ico {
  display: grid;
  place-items: center;
  width: 18px;
  color: #94a3b8;
  font-size: 13px;
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.vv-search:focus-within .vv-search-ico {
  color: #0ea5e9;
}

.vv-search input {
  flex: 1;
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 10px 4px;
  font-size: 14.5px;
  font-weight: 500;
  font-family: inherit;
  color: #0f172a;
  -webkit-appearance: none;
  appearance: none;
}

.vv-search input::-webkit-search-decoration,
.vv-search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.vv-search input::placeholder {
  color: #94a3b8;
  font-weight: 450;
}

.vv-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(105deg, #5ec8f7 0%, #38bdf8 28%, #0ea5e9 68%, #0284c7 100%);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  padding: 12px 22px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 8px 18px rgba(14, 165, 233, 0.38);
  transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.vv-search-btn-arrow {
  font-size: 15px;
  line-height: 1;
  font-weight: 600;
  transform: translateY(-0.5px);
}

.vv-search-btn-text {
  line-height: 1;
}

.vv-search-btn:hover {
  filter: brightness(1.06);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.3) inset,
    0 10px 22px rgba(14, 165, 233, 0.48);
  transform: translateY(-1px);
}

.vv-search-btn:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.vv-auth {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Icon tròn — đơn hàng, v.v. */
.vv-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #374151 !important;
  font-size: 17px;
  text-decoration: none !important;
  flex-shrink: 0;
  transition: background .15s, color .15s;
}

.vv-icon-btn:hover {
  background: #e5e7eb;
  color: var(--vv-orange) !important;
}

.vv-auth a.vv-link {
  color: var(--vv-text);
  font-weight: 600;
  text-decoration: none !important;
  padding: 8px 10px;
  font-size: 18px;
  line-height: 1;
  border-radius: 10px;
  transition: background .2s, color .2s;
}

.vv-auth a.vv-link:hover {
  background: var(--vv-orange-soft);
  color: var(--vv-orange);
}

/* Nút Nạp tiền */
.vv-btn-nap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 10px;
  background: #22c55e;
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  text-transform: uppercase;
  font-family: inherit;
  box-shadow: none;
  transition: background .15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.vv-btn-nap i { font-size: 14px; }

.vv-btn-nap:hover {
  background: #16a34a;
  color: #fff !important;
}

/* Language switcher */
.vv-lang {
  position: relative;
  flex-shrink: 0;
}

.vv-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 220px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid #bae6fd;
  background: #fff;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}

.vv-lang-btn--icon {
  max-width: none;
  width: 44px;
  height: 40px;
  padding: 0;
  justify-content: center;
  gap: 0;
  position: relative;
}

.vv-lang-btn--icon .vv-lang-flag {
  width: 24px;
  height: 17px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.vv-lang-btn--icon .fa-chevron-down {
  display: none;
}

.vv-lang-btn:hover,
.vv-lang.is-open .vv-lang-btn {
  border-color: var(--vv-orange);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

.vv-lang-btn .fa-chevron-down {
  font-size: 10px;
  color: #94a3b8;
  transition: transform .15s;
}

.vv-lang.is-open .vv-lang-btn .fa-chevron-down {
  transform: rotate(180deg);
}

.vv-lang-flag {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
}

.vv-lang-flag-fallback {
  display: inline-block;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  border: 1px solid #e5e7eb;
}

.vv-lang-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vv-lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 1300;
  min-width: 260px;
  max-height: 320px;
  overflow-y: auto;
  padding: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
  isolation: isolate;
}

.vv-lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #334155;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .12s;
}

.vv-lang-item:hover {
  background: #f1f5f9;
}

.vv-lang-item.is-active {
  background: rgba(14, 165, 233, 0.1);
  color: #0369a1;
  font-weight: 700;
}

.vv-btn-admin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 10px;
  background: #1e293b;
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none !important;
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .15s;
}

.vv-btn-admin i { font-size: 13px; }

.vv-btn-admin:hover {
  background: #0f172a;
  color: #fff !important;
}

/* Khối user — avatar + tên + số dư */
.vv-user-area {
  margin-left: 4px;
  flex-shrink: 0;
}

.vv-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  color: var(--vv-text);
  padding: 5px 12px 5px 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
  border: 1px solid #e2e8f0;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}

.vv-user-chip:hover {
  border-color: #bae6fd;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.12);
  transform: translateY(-1px);
}

.vv-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #0f172a;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #e2e8f0;
}

.vv-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Safety: direct img inside chip must never blow up the header */
.vv-user-chip > img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.vv-user-name {
  font-size: 12px;
  line-height: 1.2;
  max-width: 96px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #1f2937;
  letter-spacing: 0.04em;
  font-weight: 800;
}

.vv-user-chip .vv-balance {
  font-weight: 800;
  font-size: 13px;
  color: var(--vv-orange);
  background: var(--vv-orange-soft);
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1;
}

.vv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border: 0;
  cursor: pointer;
  text-decoration: none !important;
  font-family: inherit;
  transition: .2s;
}

.vv-btn-orange {
  background: var(--vv-orange);
  color: #fff !important;
}
.vv-btn-orange:hover { background: var(--vv-orange-dark); color: #fff !important; }

.vv-btn-white {
  background: #fff;
  color: var(--vv-orange) !important;
}
.vv-btn-outline-white {
  background: transparent;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,.7);
}
.vv-btn-outline-white:hover { background: rgba(255,255,255,.12); }

.vv-user-money { color: var(--vv-orange); font-size: 12px; }

/* ===== Main nav ===== */
.vv-nav {
  background: #fff;
  border-bottom: 1px solid #e8edf3;
  position: relative;
  z-index: 1001;
  overflow: visible;
}

.vv-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: stretch;
  gap: 2px;
  overflow: visible;
  flex-wrap: wrap;
  min-height: 48px;
}

.vv-nav .vv-nav-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 48px;
  padding: 0 12px;
  color: #334155;
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none !important;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  border-radius: 0;
  background: transparent;
  margin: 0;
  line-height: 1;
  transition: color .15s, border-color .15s;
}

.vv-nav .vv-nav-link:hover {
  color: #0ea5e9;
  background: transparent;
}

.vv-nav .vv-nav-link.active,
.vv-nav .vv-drop.is-active > .vv-nav-link {
  color: #0ea5e9;
  border-bottom-color: #0ea5e9;
  background: transparent;
  font-weight: 700;
}

.vv-nav-ico {
  font-size: 15px;
  line-height: 1;
  width: 18px;
  text-align: center;
  color: #64748b;
}

.vv-nav-ico.is-facebook { color: #1877f2; }
.vv-nav-ico.is-mail { color: #64748b; }
.vv-nav-ico.is-tiktok { color: #111827; }
.vv-nav-ico.is-instagram { color: #64748b; }
.vv-nav-ico.is-telegram { color: #229ed9; }
.vv-nav-ico.is-twitter { color: #1d9bf0; }
.vv-nav-ico.is-tool { color: #64748b; }

.vv-nav-ico-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}

.vv-nav-chevron {
  font-size: 9px !important;
  color: #94a3b8 !important;
  margin-left: 1px;
  transition: transform .15s, color .15s;
}

.vv-nav .vv-drop {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: stretch;
}

.vv-nav .vv-drop > .vv-nav-link {
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0 12px;
  margin: 0;
  font-weight: 600;
  font-size: 13.5px;
  color: #334155;
}

.vv-nav .vv-drop > .vv-nav-link::after { display: none; }

.vv-nav .vv-drop-menu {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  padding: 8px;
  z-index: 1100;
  animation: vvDropIn .16s ease;
}

@keyframes vvDropIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.vv-nav .vv-drop::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 8px;
}

.vv-nav .vv-drop:hover > .vv-nav-link,
.vv-nav .vv-drop:focus-within > .vv-nav-link,
.vv-nav .vv-drop.open > .vv-nav-link {
  color: #0ea5e9;
  background: transparent;
  border-bottom-color: #0ea5e9;
}

.vv-nav .vv-drop:hover .vv-nav-chevron,
.vv-nav .vv-drop:focus-within .vv-nav-chevron,
.vv-nav .vv-drop.open .vv-nav-chevron {
  color: #0ea5e9 !important;
  transform: rotate(180deg);
}

.vv-nav .vv-drop:hover .vv-drop-menu,
.vv-nav .vv-drop:focus-within .vv-drop-menu,
.vv-nav .vv-drop.open .vv-drop-menu {
  display: block;
}

.vv-nav .vv-drop-menu a {
  display: block;
  height: auto;
  padding: 10px 12px;
  border: 0 !important;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  background: transparent;
  margin: 0;
}

.vv-nav .vv-drop-menu a:hover {
  background: #f0f9ff;
  color: #0ea5e9;
}

.vv-nav .vv-drop-item.has-flyout {
  position: relative;
}

.vv-nav .vv-drop-item.has-flyout > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.vv-flyout-chevron {
  font-size: 10px;
  color: #94a3b8;
}

.vv-flyout-menu {
  display: none;
  position: absolute;
  top: -8px;
  left: calc(100% + 4px);
  min-width: 220px;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  padding: 8px;
  z-index: 1110;
}

.vv-nav .vv-drop-item.has-flyout:hover > .vv-flyout-menu,
.vv-nav .vv-drop-item.has-flyout:focus-within > .vv-flyout-menu {
  display: block;
}

.vv-nav .vv-flyout-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.vv-nav .vv-flyout-menu a:hover {
  background: #f0f9ff;
  color: #0ea5e9;
}

.dm-cat-sub2 {
  list-style: none;
  margin: 2px 0 6px;
  padding: 0 0 0 10px;
  display: none;
  flex-direction: column;
  gap: 2px;
  border-left: 2px solid #eef2f7;
  margin-left: 10px;
}

.dm-cat-sub2.is-visible {
  display: flex;
}

.dm-cat-subitem--l3 {
  font-size: 12.5px !important;
  padding-left: 12px !important;
}

.dm-cat-subgroup.is-open > .dm-cat-subitem {
  background: #f8fafc;
}

/* ===== Layout ===== */
.vv-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}

.vv-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
}

.vv-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--vv-text);
}

.vv-section-title::before {
  content: '';
  width: 4px;
  height: 18px;
  background: var(--vv-orange);
  border-radius: 2px;
}

.vv-section-link {
  color: var(--vv-orange) !important;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
}

/* ===== Hero ===== */
.vv-hero {
  display: block;
  margin-bottom: 36px;
}

.vv-hero-banner {
  position: relative;
  border-radius: 20px;
  padding: 40px 44px;
  min-height: 340px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  align-items: center;
  gap: 12px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse 70% 80% at 85% 45%, rgba(56, 189, 248, 0.55) 0%, transparent 55%),
    radial-gradient(circle at 12% 80%, rgba(14, 165, 233, 0.35) 0%, transparent 40%),
    linear-gradient(118deg, #0b4f9c 0%, #0ea5e9 48%, #38bdf8 100%);
  box-shadow:
    0 18px 40px rgba(14, 165, 233, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  animation: vvFadeUp 0.6s ease both;
}

.vv-hero-glow {
  position: absolute;
  right: 8%;
  top: 18%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, rgba(125, 211, 252, 0.15) 40%, transparent 70%);
  filter: blur(8px);
  pointer-events: none;
  animation: vvHeroGlow 4.5s ease-in-out infinite;
}

.vv-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 50%, #000 20%, transparent 75%);
  pointer-events: none;
  opacity: 0.55;
}

.vv-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.vv-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(7, 89, 133, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 650;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}

.vv-hero-tag i {
  color: #fde68a;
  font-size: 11px;
}

.vv-hero-banner h1 {
  font-size: clamp(26px, 3.1vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 14px;
  max-width: 540px;
  letter-spacing: -0.025em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(7, 89, 133, 0.35);
}

.vv-hero-banner p {
  margin: 0 0 24px;
  max-width: 480px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.vv-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.vv-hero-banner .vv-btn-white {
  background: #fff;
  color: #0284c7;
  border: 0;
  box-shadow: 0 10px 24px rgba(7, 89, 133, 0.22);
  gap: 8px;
}

.vv-hero-banner .vv-btn-white:hover {
  background: #f0f9ff;
  color: #0369a1;
  transform: translateY(-1px);
}

.vv-hero-banner .vv-btn-white i {
  font-size: 11px;
}

.vv-hero-banner .vv-btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  gap: 8px;
}

.vv-hero-banner .vv-btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.vv-hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}

.vv-hero-platform {
  position: relative;
  width: min(100%, 300px);
  height: 260px;
}

.vv-hero-orb {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 170px;
  height: 170px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 35%, #fff 0%, #7dd3fc 18%, #0ea5e9 45%, rgba(2, 132, 199, 0.2) 70%, transparent 72%);
  filter: blur(2px);
  box-shadow:
    0 0 60px rgba(125, 211, 252, 0.75),
    0 0 120px rgba(14, 165, 233, 0.45);
  animation: vvHeroPulse 3.8s ease-in-out infinite;
}

.vv-hero-ring {
  position: absolute;
  left: 50%;
  top: 58%;
  border: 1.5px solid rgba(186, 230, 253, 0.45);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(68deg);
  box-shadow: 0 0 24px rgba(125, 211, 252, 0.25);
}

.vv-hero-ring--1 {
  width: 220px;
  height: 90px;
}

.vv-hero-ring--2 {
  width: 280px;
  height: 115px;
  opacity: 0.55;
  border-style: dashed;
}

.vv-hero-float {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 24px rgba(7, 89, 133, 0.28);
  animation: vvHeroFloat 3.6s ease-in-out infinite;
}

.vv-hero-float--fb { left: 18%; top: 18%; background: #1877f2; animation-delay: 0s; }
.vv-hero-float--tt { right: 14%; top: 12%; background: #111; animation-delay: 0.4s; }
.vv-hero-float--ig {
  left: 6%;
  top: 48%;
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
  animation-delay: 0.8s;
}
.vv-hero-float--gm { right: 4%; top: 42%; background: #ea4335; animation-delay: 1.1s; font-size: 20px; }
.vv-hero-float--tg { left: 28%; bottom: 12%; background: #229ed9; animation-delay: 0.6s; }
.vv-hero-float--ms { right: 22%; bottom: 8%; background: #0078d4; animation-delay: 1.3s; font-size: 20px; }

@keyframes vvHeroPulse {
  0%, 100% { opacity: 0.85; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
}

@keyframes vvHeroGlow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes vvHeroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.vv-news {
  background: var(--vv-white);
  border-radius: 18px;
  border: 1px solid var(--vv-border);
  box-shadow: var(--vv-shadow);
  padding: 20px;
  display: flex;
  flex-direction: column;
  animation: vvFadeUp .6s .1s ease both;
}

.vv-news-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.vv-news-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.vv-news-list { list-style: none; margin: 0; padding: 0; flex: 1; }

.vv-news-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f1f4;
}

.vv-news-list li:last-child { border-bottom: 0; }

.vv-news-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f3f4f6;
  color: var(--vv-muted);
  font-weight: 700;
  font-size: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.vv-news-list a {
  color: var(--vv-text);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none !important;
  display: block;
  line-height: 1.35;
}

.vv-news-list a:hover { color: var(--vv-orange); }

.vv-news-date {
  display: block;
  font-size: 12px;
  color: var(--vv-muted);
  margin-top: 3px;
  font-weight: 500;
}

.vv-news-foot {
  margin-top: 12px;
  font-size: 12px;
  color: var(--vv-muted);
}

/* ===== Category icons / Popular Categories ===== */
.vv-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin-bottom: 40px;
}

.vv-cat-item {
  background: var(--vv-white);
  border: 1px solid var(--vv-border);
  border-radius: 12px;
  padding: 22px 14px 18px;
  text-align: center;
  text-decoration: none !important;
  color: var(--vv-text);
  box-shadow: var(--vv-shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.vv-cat-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--vv-shadow-md);
  border-color: #bae6fd;
}

.vv-cat-item img,
.vv-cat-item .vv-cat-ico {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin: 0 0 12px;
  display: grid;
  place-items: center;
}

.vv-cat-ico {
  border-radius: 12px;
  place-items: center;
  font-size: 22px;
  color: #fff;
  background: var(--vv-orange);
  flex: 0 0 auto;
}

.vv-cat-name,
.vv-cat-item span.vv-cat-name {
  display: block;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  color: var(--vv-text);
}

/* ===== Account categories chips (Datamoll-like) ===== */
.vv-account-cats {
  margin: 8px 0 32px;
}

.vv-account-cats--catalog {
  margin: 0 0 18px;
}

.vv-account-cats__title {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.vv-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.vv-chip {
  flex: 0 0 auto;
  min-height: 42px;
  height: 42px;
  box-sizing: border-box;
  margin: 0;
  padding: 0 14px;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: #f4f6f9;
  color: #475569;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.vv-chip:hover {
  background: #eef2f7;
  color: #0f172a;
}

.vv-chip.is-active {
  background: #eafcdd;
  color: #1f2937;
  border-color: #bff08a;
}

.vv-chip__ico {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  line-height: 1;
}

.vv-chip__ico--all {
  width: auto;
  height: auto;
  flex: 0 0 auto;
  background: transparent !important;
  border-radius: 0;
}

.vv-all-dots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 3px;
  width: 18px;
  height: 18px;
}

.vv-all-dots span {
  display: block;
  background: #16a34a;
  border-radius: 3px;
}

.vv-chip__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 767px) {
  .vv-chip {
    flex: 1 1 calc(50% - 5px);
    max-width: 100%;
    min-height: 48px;
    height: 48px;
    padding: 0 12px;
    border-radius: 12px;
  }
  .vv-chip__ico {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    font-size: 14px;
    border-radius: 8px;
  }
  .vv-cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ===== Product cards ===== */
.vv-prod-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.vv-card {
  background: var(--vv-white);
  border: 1px solid var(--vv-border);
  border-radius: var(--vv-radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: .2s;
  position: relative;
  height: 100%;
  min-height: 100%;
}

.vv-card:hover {
  box-shadow: var(--vv-shadow-md);
  border-color: #bae6fd;
}

.vv-card-badges {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vv-badge-auto {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--vv-green-soft);
  color: var(--vv-green);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.vv-badge-sale {
  background: #fee2e2;
  color: var(--vv-red);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}

.vv-card-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  min-height: 44px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vv-card-title a {
  color: var(--vv-text);
  text-decoration: none !important;
}

.vv-card-title a:hover { color: var(--vv-orange); }

.vv-meta-box {
  background: #f7f8fa;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-height: 68px;
}

.vv-meta-row {
  font-size: 12px;
  font-weight: 600;
  color: #4b5563;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.vv-tag {
  font-size: 11px;
  font-weight: 600;
  color: #4b5563;
  background: #f3f4f6;
  border-radius: 6px;
  padding: 4px 8px;
}

.vv-card-foot {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f0f1f4;
}

.vv-card-foot .vv-buy {
  width: 100%;
  justify-content: center;
  flex-shrink: 0;
}

/* Kho hàng + Đã bán */
.vv-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.vv-stat-row--modal { margin: 10px 0; }

.vv-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  padding: 7px 10px 7px 10px;
  border-radius: 9px;
  border: 1px solid #e8eaef;
  background: #f8fafc;
  position: relative;
  min-height: 0;
  line-height: 1.15;
}

.vv-stat > i {
  position: absolute;
  top: 7px;
  right: 8px;
  font-size: 11px;
  opacity: 0.4;
}

.vv-stat-label {
  font-size: 9.5px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-right: 16px;
}

.vv-stat strong {
  font-size: 14px;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
  padding-right: 14px;
}

.vv-stat-stock {
  background: #ecfdf5;
  border-color: #bbf7d0;
}

.vv-stat-stock strong { color: #059669; }

.vv-stat-stock.is-empty {
  background: #fef2f2;
  border-color: #fecaca;
}

.vv-stat-stock.is-empty strong { color: #dc2626; }

.vv-stat-sold {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.vv-stat-sold strong { color: #2563eb; }

.vv-buybox .vv-stat-row { margin: 12px 0; }

/* Compact stats inside product cards */
.vv-card .vv-stat-row,
.pc-card .vv-stat-row {
  gap: 6px;
  margin: 0 0 10px;
}

.vv-card .vv-stat,
.pc-card .vv-stat {
  padding: 6px 9px;
  border-radius: 8px;
}

.vv-card-price-wrap {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
}

.vv-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--vv-text);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.vv-price del,
.vv-price-old {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--vv-muted);
  margin-top: 2px;
}

.vv-buybox .vv-price del {
  display: inline;
  margin-left: 8px;
  font-size: 15px;
}

.vv-stock {
  font-size: 12px;
  font-weight: 700;
  color: var(--vv-green);
  margin-top: 4px;
}

.vv-stock::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vv-green);
  margin-right: 5px;
  vertical-align: middle;
}

.vv-stock.is-empty {
  color: #dc2626;
}

.vv-stock.is-empty::before {
  background: #dc2626;
}

.vv-card.is-oos {
  opacity: 0.92;
}

.vv-buy {
  background: var(--vv-orange);
  color: #fff !important;
  border: 0;
  border-radius: 10px;
  padding: 11px 14px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-family: inherit;
  text-decoration: none !important;
  box-shadow: 0 6px 14px rgba(14, 165, 233, 0.28);
}

.vv-buy:hover { background: var(--vv-orange-dark); color: #fff !important; }
.vv-buy:disabled,
.vv-buy-oos {
  opacity: 1;
  cursor: not-allowed;
  box-shadow: none;
  background: #d1d5db !important;
  color: #fff !important;
}

/* Specs grid (product detail) */
.vv-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.vv-spec-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vv-spec-item {
  background: #f8fafc;
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid #eef2f7;
  text-align: center;
  min-height: 76px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vv-spec-highlight {
  background: linear-gradient(180deg, #f0f9ff 0%, #fff 100%);
  border-color: #bae6fd;
}

.vv-spec-item span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--vv-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.vv-spec-item strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--vv-text);
}

.vv-spec-item strong.is-stock { color: #059669; }
.vv-spec-item strong.is-sold { color: #2563eb; }
.vv-spec-item strong.is-price { color: var(--vv-orange); }
.vv-spec-item .text-danger { color: #dc2626 !important; }

.vv-desc {
  font-size: 14px;
  color: #374151;
  line-height: 1.7;
}

.vv-desc img { max-width: 100%; height: auto; }

@media (max-width: 1100px) {
  .vv-spec-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .vv-spec-grid,
  .vv-spec-grid--3 { grid-template-columns: 1fr; }
}

/* ===== Catalog layout ===== */
.vv-catalog {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 20px;
  align-items: start;
}

.vv-side {
  background: var(--vv-white);
  border: 1px solid var(--vv-border);
  border-radius: 14px;
  padding: 0;
  box-shadow: var(--vv-shadow);
  position: sticky;
  top: 120px;
  overflow: hidden;
}

.vv-side-block {
  padding: 18px 20px;
}

.vv-side-block + .vv-side-block {
  border-top: 1px solid #f0f1f4;
}

.vv-side-block--muted {
  background: #fafbfc;
}

.vv-side-block--filter {
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

.vv-side-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  margin: 0 0 12px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1f2937;
}

.vv-side-title::before {
  content: '';
  width: 3px;
  height: 14px;
  background: var(--vv-orange);
  border-radius: 2px;
}

.vv-side-nav { list-style: none; margin: 0; padding: 0; }

.vv-side-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #374151;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none !important;
  transition: background .15s, color .15s;
}

.vv-side-nav a span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.vv-side-nav a i {
  font-size: 10px;
  opacity: 0.4;
  flex-shrink: 0;
}

.vv-side-nav a:hover {
  background: #f3f4f6;
  color: var(--vv-orange);
}

.vv-side-nav a.active {
  background: var(--vv-orange-soft);
  color: var(--vv-orange);
  box-shadow: inset 3px 0 0 var(--vv-orange);
}

.vv-side-nav--compact a {
  padding: 8px 10px;
  font-size: 12px;
}

.vv-filter-sub {
  margin-top: 0 !important;
  font-size: 11px !important;
}

.vv-filter-label {
  font-size: 11px;
  font-weight: 800;
  color: #6b7280;
  letter-spacing: .06em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.vv-pills { display: flex; flex-wrap: wrap; gap: 8px; }

.vv-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151 !important;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none !important;
  transition: all .15s;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
}

.vv-pill:hover,
.vv-pill.active {
  background: var(--vv-orange-soft);
  border-color: #7dd3fc;
  color: var(--vv-orange) !important;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.12);
}

.vv-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--vv-muted);
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.vv-crumb a { color: var(--vv-muted); text-decoration: none !important; }
.vv-crumb a:hover { color: var(--vv-orange); }
.vv-crumb span { color: var(--vv-text); font-weight: 600; }

.vv-page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.vv-page-head h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.vv-page-head h1 small {
  font-size: 14px;
  font-weight: 600;
  color: var(--vv-muted);
}

.vv-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.vv-rating-mini {
  font-size: 13px;
  color: var(--vv-muted);
  font-weight: 600;
}

.vv-rating-mini i { color: #f59e0b; }

.vv-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.vv-toggle input {
  appearance: none;
  width: 40px;
  height: 22px;
  background: #d1d5db;
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  outline: 0;
}

.vv-toggle input:checked { background: var(--vv-orange); }

.vv-toggle input::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: .2s;
}

.vv-toggle input:checked::after { left: 20px; }

.vv-inner-search {
  width: 100%;
  margin-bottom: 16px;
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.vv-inner-search input {
  flex: 1;
  width: auto;
  border: 1px solid var(--vv-border);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  outline: 0;
  background: #fff;
}

.vv-inner-search input:focus { border-color: var(--vv-orange); }

.vv-inner-search button {
  border: 0;
  border-radius: 10px;
  background: var(--vv-orange);
  color: #fff;
  padding: 0 16px;
  cursor: pointer;
  font-size: 14px;
  transition: background .2s;
}

.vv-inner-search button:hover { background: var(--vv-orange-dark); }

/* ===== Product detail ===== */
.vv-detail {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

.vv-detail-main { display: flex; flex-direction: column; gap: 16px; }

.vv-panel {
  background: #fff;
  border: 1px solid var(--vv-border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--vv-shadow);
}

.vv-detail-hero {
  padding: 24px;
}

.vv-detail-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.vv-badge-ok {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ecfdf5;
  color: #059669;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.vv-badge-oos {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fef2f2;
  color: #dc2626;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.vv-detail-title {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.vv-detail-meta {
  color: var(--vv-muted);
  font-size: 14px;
  margin-bottom: 12px;
}

.vv-detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.vv-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 10px;
  background: #f5f7fa;
  border: 1px solid #e8eaef;
  font-size: 13px;
  font-weight: 700;
  color: #1f2937;
}

.vv-chip em {
  font-style: normal;
  font-weight: 600;
  color: #6b7280;
}

.vv-detail-status {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  font-size: 13px;
  color: var(--vv-muted);
  font-weight: 600;
}

.vv-detail-status a {
  color: #64748b !important;
  text-decoration: none !important;
}

.vv-detail-status a:hover {
  color: var(--vv-orange) !important;
}

.vv-detail-h2 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.vv-spec-list {
  display: flex;
  flex-direction: column;
  border: 1px solid #eef2f7;
  border-radius: 12px;
  overflow: hidden;
}

.vv-spec-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 12px 16px;
  align-items: center;
  border-bottom: 1px solid #eef2f7;
  background: #fff;
}

.vv-spec-row:nth-child(even) {
  background: #fafbfc;
}

.vv-spec-row:last-child {
  border-bottom: 0;
}

.vv-spec-row span {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
}

.vv-spec-row strong {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.vv-spec-row strong.is-price {
  color: var(--vv-orange);
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.vv-spec-row strong.is-price del {
  font-size: 13px;
  font-weight: 500;
  color: #9ca3af;
}

@media (max-width: 560px) {
  .vv-spec-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.vv-spec-table {
  width: 100%;
  border-collapse: collapse;
}

.vv-spec-table th,
.vv-spec-table td {
  padding: 12px 0;
  border-bottom: 1px solid #f0f1f4;
  text-align: left;
  font-size: 14px;
}

.vv-spec-table th {
  width: 40%;
  color: var(--vv-muted);
  font-weight: 600;
}

.vv-spec-table td { font-weight: 700; color: var(--vv-text); }

.vv-buybox {
  position: sticky;
  top: 120px;
  padding: 20px !important;
}

.vv-buybox-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9aa3af;
  margin-bottom: 10px;
}

.vv-buybox-price {
  padding-bottom: 12px;
  border-bottom: 1px solid #eef2f7;
  margin-bottom: 4px;
}

.vv-buybox .vv-price {
  font-size: 28px;
  margin-bottom: 0;
  letter-spacing: -0.02em;
}

.vv-buybox-save {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  padding: 4px 10px;
  border-radius: 999px;
}

.vv-buybox-wallet {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e8eaef;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 14px 0;
  font-size: 13px;
  color: #6b7280;
}

.vv-buybox-wallet strong {
  color: #2563eb;
  font-size: 15px;
}

.vv-buybox .vv-price del {
  display: inline;
  margin-left: 8px;
  font-size: 15px;
}

.vv-login-hint {
  background: #f3f4f6;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--vv-muted);
  margin: 14px 0;
}

.vv-buybox .vv-buy,
.vv-buybox .vv-btn {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  font-size: 15px;
}

/* ===== Policy ===== */
.vv-policy {
  max-width: 860px;
  margin: 0 auto;
}

.vv-policy h1 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 8px;
}

.vv-policy .vv-lead {
  color: var(--vv-muted);
  margin-bottom: 24px;
}

.vv-policy h2 {
  font-size: 18px;
  font-weight: 800;
  margin: 28px 0 10px;
}

.vv-policy ul { padding-left: 18px; }
.vv-policy li { margin-bottom: 8px; }

/* ===== Footer ===== */
.vv-footer {
  background: #111827;
  color: #9ca3af;
  padding: 48px 20px 24px;
  margin-top: 40px;
}

.vv-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}

.vv-footer h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.vv-footer a {
  color: #9ca3af;
  text-decoration: none !important;
  display: block;
  padding: 5px 0;
  font-size: 14px;
}

.vv-footer a:hover { color: var(--vv-orange); }

.vv-footer-brand {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.vv-footer-copy {
  max-width: 1280px;
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid #1f2937;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.vv-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--vv-muted);
  background: #fff;
  border-radius: var(--vv-radius);
  border: 1px dashed var(--vv-border);
}

.vv-pagination {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.vv-pagination .paging_simple_numbers {
  width: 100%;
  display: flex;
  justify-content: center;
}

.vv-pagination .pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.vv-pagination .page-item {
  list-style: none;
  margin: 0 !important;
}

.vv-pagination .page-item:not(:first-child) .page-link {
  margin-left: 0 !important;
}

.vv-pagination .page-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 40px;
  height: 40px;
  padding: 0 14px !important;
  border-radius: 10px !important;
  border: 1px solid #e5e7eb !important;
  background: #fff !important;
  color: #334155 !important;
  font-weight: 600;
  font-size: 14px;
  line-height: 1 !important;
  text-decoration: none !important;
  transition: border-color .15s, color .15s, background .15s, box-shadow .15s;
  box-shadow: none;
  cursor: pointer;
  box-sizing: border-box;
  overflow: visible;
  white-space: nowrap;
}

.vv-pagination .page-item:first-child .page-link,
.vv-pagination .page-item:last-child .page-link {
  border-radius: 10px !important;
}

.vv-pagination .page-link.page-link--nav {
  min-width: auto;
  padding: 0 16px !important;
  font-weight: 500;
}

.vv-pagination a.page-link:hover {
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
  background: #f8fafc !important;
}

.vv-pagination .page-link.active,
.vv-pagination .page-item.active .page-link,
.vv-pagination .page-item .page-link.active {
  background: var(--vv-orange) !important;
  border-color: var(--vv-orange) !important;
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.35);
}

.vv-pagination .page-item.disabled .page-link {
  color: #94a3b8 !important;
  background: #fff !important;
  border-color: #e5e7eb !important;
  opacity: 1;
  pointer-events: none;
  cursor: default;
  box-shadow: none;
}

/* ===== Modal mua hàng ===== */
#openModal .modal-dialog { max-width: 920px; }

#openModal .modal-content {
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
}

#modalContent { position: relative; padding: 24px; }

.vv-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f3f4f6;
  color: #374151;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .15s;
}

.vv-modal-close:hover { background: #e5e7eb; }

.vv-modal-buy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.vv-modal-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  padding-right: 36px;
}

.vv-modal-title a {
  color: var(--vv-text);
  text-decoration: none !important;
}

.vv-modal-title a:hover { color: var(--vv-orange); }

.vv-modal-price {
  margin: 12px 0;
}

.vv-modal-price del {
  display: block;
  color: #ef4444;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.vv-modal-price span {
  font-size: 26px;
  font-weight: 800;
  color: var(--vv-orange);
}

.vv-modal-desc {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.6;
  background: #f8fafc;
  border-radius: 10px;
  padding: 12px;
  margin: 12px 0;
}

.vv-modal-hotdeal {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  margin-bottom: 12px;
}

.vv-modal-share {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  margin-top: 12px;
}

.vv-modal-share a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #374151 !important;
  display: grid;
  place-items: center;
  text-decoration: none !important;
  transition: background .15s;
}

.vv-modal-share a:hover {
  background: var(--vv-orange-soft);
  color: var(--vv-orange) !important;
}

.vv-modal-right {
  background: #f8fafc;
  border: 1px solid #e8eaef;
  border-radius: 14px;
  padding: 18px;
}

.vv-modal-form-head {
  text-align: center;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #374151;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #e5e7eb;
}

.vv-modal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 13px;
  border-bottom: 1px solid #eef2f7;
}

.vv-modal-row span em { color: #ef4444; font-style: normal; }

.vv-modal-wallet { color: #ef4444 !important; font-size: 15px; }

.vv-modal-summary {
  background: #fff;
  border-radius: 10px;
  padding: 4px 12px;
  margin: 12px 0;
  border: 1px solid #e8eaef;
}

.vv-modal-total strong,
#into_pay { color: var(--vv-orange) !important; font-size: 16px; }

.is-discount,
#into_discount { color: #ef4444 !important; }

.vv-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.vv-qty-btn {
  width: 36px;
  height: 36px;
  border: 0;
  background: #f3f4f6;
  color: #374151;
  cursor: pointer;
}

.vv-qty-btn:hover { background: #e5e7eb; }

.vv-qty-input {
  width: 52px;
  height: 36px;
  border: 0;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  outline: 0;
}

.vv-modal-input {
  width: 100%;
  max-width: 200px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
}

.vv-modal-coupon-row { flex-wrap: wrap; }

.vv-modal-pay {
  width: 100%;
  margin-top: 14px;
  padding: 14px;
  border: 0;
  border-radius: 12px;
  background: var(--vv-orange);
  color: #fff !important;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.vv-modal-pay:hover { background: var(--vv-orange-dark); }

.vv-modal-fav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
}

.vv-modal-fav input { display: none; }

.vv-modal-fav input:checked + i,
.vv-modal-fav:has(input:checked) i {
  color: #ef4444;
}

@media (max-width: 768px) {
  .vv-modal-buy { grid-template-columns: 1fr; }
  #modalContent { padding: 18px; }
}

.vv-mobile-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 20px;
  color: var(--vv-text);
  cursor: pointer;
}

@keyframes vvFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
  .vv-hero { margin-bottom: 28px; }
  .vv-cat-grid { grid-template-columns: repeat(4, 1fr); }
  .vv-prod-grid { grid-template-columns: repeat(2, 1fr); }
  .vv-catalog { grid-template-columns: 1fr; }
  .vv-side { position: static; }
  .vv-detail { grid-template-columns: 1fr; }
  .vv-buybox { position: static; }
  .vv-footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .vv-top-inner { flex-wrap: wrap; }
  .vv-search { order: 3; max-width: 100%; width: 100%; }
  .vv-search-btn-text { display: none; }
  .vv-search-btn { padding: 11px 14px; min-width: 44px; }
  .vv-search { padding-left: 14px; }
  .vv-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .vv-prod-grid { grid-template-columns: 1fr; }
  .vv-footer-inner { grid-template-columns: 1fr; }
  .vv-mobile-toggle { display: block; }
  .vv-nav-inner { display: none; }
  .vv-nav-inner.open { display: flex; flex-direction: column; align-items: stretch; padding-bottom: 12px; overflow: visible; }
  .vv-nav-inner.open .vv-drop-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 12px;
    background: transparent;
  }
  .vv-nav-inner.open .vv-drop:hover .vv-drop-menu,
  .vv-nav-inner.open .vv-drop.open .vv-drop-menu {
    display: block;
  }
  .vv-nav-inner.open .vv-flyout-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 12px;
    min-width: 0;
    background: transparent;
  }
  .vv-nav-inner.open .vv-drop-item.has-flyout.open > .vv-flyout-menu,
  .vv-nav-inner.open .vv-drop-item.has-flyout:focus-within > .vv-flyout-menu {
    display: block;
  }
  .vv-nav-inner.open .vv-drop-item.has-flyout:hover > .vv-flyout-menu {
    display: none;
  }
  .vv-nav-inner.open .vv-drop-item.has-flyout.open:hover > .vv-flyout-menu {
    display: block;
  }
  .vv-hero-banner { padding: 28px 22px; min-height: auto; grid-template-columns: 1fr; }
  .vv-hero-visual { min-height: 200px; }
  .vv-hero-platform { height: 200px; width: min(100%, 260px); }
  .vv-auth { gap: 6px; }
  .vv-icon-btn { width: 36px; height: 36px; font-size: 15px; }
  .vv-btn-nap { padding: 8px 10px; font-size: 11px; }
  .vv-btn-nap span { display: none; }
  .vv-btn-admin { padding: 8px 10px; font-size: 11px; }
  .vv-btn-admin span { display: none; }
  .vv-lang-btn--icon { width: 40px; height: 36px; }
  .vv-lang-menu { min-width: 220px; right: 0; }
  .vv-user-area { margin-left: 2px; }
  .vv-user-chip { padding: 4px 8px 4px 4px; gap: 6px; }
  .vv-user-avatar { width: 30px; height: 30px; }
  .vv-user-name { max-width: 56px; font-size: 10px; }
  .vv-user-chip .vv-balance { font-size: 11px; padding: 4px 8px; }
}

/* ===== Account dashboard (Vuavia) ===== */
.vv-dash {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.vv-dash-side {
  background: #fff;
  border: 1px solid var(--vv-border);
  border-radius: 16px;
  box-shadow: var(--vv-shadow);
  overflow: hidden;
  position: sticky;
  top: 120px;
}

.vv-dash-profile {
  padding: 18px 16px 14px;
  border-bottom: 1px solid #f0f1f4;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 8px 12px;
  align-items: center;
}

.vv-dash-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vv-orange), #0284c7);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  display: grid;
  place-items: center;
  grid-row: span 2;
}

.vv-dash-profile-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vv-dash-profile-meta strong {
  font-size: 14px;
  color: #111827;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vv-dash-profile-meta span {
  font-size: 12px;
  color: #6b7280;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vv-dash-profile-bal {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--vv-orange-soft);
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 4px;
}

.vv-dash-profile-bal span {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.vv-dash-profile-bal strong {
  color: var(--vv-orange);
  font-size: 15px;
  font-weight: 800;
}

.vv-dash-nav {
  display: flex;
  flex-direction: column;
  padding: 10px;
  gap: 4px;
}

.vv-dash-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 10px;
  color: #374151 !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 600;
  transition: background .15s, color .15s;
}

.vv-dash-nav-item i {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  opacity: 1;
  color: #64748b;
}

.vv-dash-nav-item.is-active i,
.vv-dash-nav-item:hover i {
  color: var(--vv-orange);
}

.vv-dash-nav-item.is-logout i { color: #dc2626; }

.vv-dash-nav-item:hover {
  background: #f8fafc;
  color: var(--vv-orange) !important;
}

.vv-dash-nav-item.is-active {
  background: var(--vv-orange-soft);
  color: var(--vv-orange) !important;
}

.vv-dash-nav-item.is-active i { opacity: 1; }

.vv-dash-nav-item.is-logout {
  color: #dc2626 !important;
  margin-top: 6px;
}

.vv-dash-nav-item.is-logout:hover {
  background: #fef2f2;
}

.vv-dash-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.vv-dash-hello h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  color: #111827;
  line-height: 1.3;
}

.vv-dash-hello p {
  margin: 4px 0 0;
  color: #6b7280;
  font-size: 14px;
}

.vv-dash-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.vv-dash-stat {
  background: #fff;
  border: 1px solid var(--vv-border);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--vv-shadow);
}

.vv-dash-stat-ico {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
  margin: 0 !important;
  padding: 0;
  box-sizing: border-box;
}

.vv-dash-stat-ico i {
  display: block !important;
  line-height: 1 !important;
  width: 1em;
  height: 1em;
  margin: 0 !important;
  text-align: center;
  font-size: inherit;
}

.vv-dash-stat--sky .vv-dash-stat-ico { background: #e0f2fe; color: #0284c7; }
.vv-dash-stat--blue .vv-dash-stat-ico { background: #dbeafe; color: #2563eb; }
.vv-dash-stat--green .vv-dash-stat-ico { background: #dcfce7; color: #16a34a; }

.vv-dash-stat > div > span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 2px;
}

.vv-dash-stat strong {
  font-size: 18px;
  font-weight: 800;
  color: #111827;
}

.vv-dash-card {
  background: #fff;
  border: 1px solid var(--vv-border);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: var(--vv-shadow);
}

.vv-dash-card-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 10px;
}

.vv-dash-rank-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.vv-dash-rank-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--vv-orange-soft);
  color: var(--vv-orange);
  display: grid;
  place-items: center;
  font-size: 18px;
}

.vv-dash-rank-name {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--vv-orange);
}

.vv-dash-rank-bar {
  height: 8px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
}

.vv-dash-rank-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--vv-orange), #38bdf8);
  border-radius: 999px;
  min-width: 0;
  transition: width .3s;
}

.vv-dash-rank-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-size: 13px;
  color: #64748b;
  flex-wrap: wrap;
}

.vv-dash-rank-meta b { color: #111827; }

.vv-dash-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.vv-dash-wallet-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.vv-dash-muted {
  font-size: 13px;
  color: #6b7280;
}

.vv-dash-wallet-amount {
  font-size: 32px;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
  margin-top: 4px;
}

.vv-dash-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--vv-orange);
  color: #fff !important;
  display: grid;
  place-items: center;
  text-decoration: none !important;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(14,165,233,.28);
}

.vv-dash-icon-btn:hover { background: var(--vv-orange-dark); }

.vv-dash-wallet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.vv-dash-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none !important;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: .15s;
}

.vv-dash-btn-primary {
  background: var(--vv-orange);
  color: #fff !important;
  box-shadow: 0 6px 14px rgba(14,165,233,.25);
}

.vv-dash-btn-primary:hover { background: var(--vv-orange-dark); }

.vv-dash-btn-outline {
  background: #fff;
  border-color: #e2e8f0;
  color: var(--vv-orange) !important;
}

.vv-dash-btn-outline:hover {
  border-color: #7dd3fc;
  background: var(--vv-orange-soft);
}

.vv-dash-quick {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vv-dash-quick-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 8px;
  border-radius: 14px;
  text-decoration: none !important;
  color: inherit;
  transition: background .15s, transform .15s;
}

.vv-dash-quick-item:hover {
  background: #f8fafc;
}

.vv-dash-quick-item:hover .vv-dash-quick-ico {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}

.vv-dash-quick-ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff !important;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.14);
  transition: transform .15s, box-shadow .15s;
  line-height: 0;
}

.vv-dash-quick-ico i {
  display: block;
  color: #fff !important;
  font-size: 18px;
  line-height: 1;
  width: 1em;
  height: 1em;
  text-align: center;
  opacity: 1 !important;
}

.vv-dash-quick-ico--sky {
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
}

.vv-dash-quick-ico--blue {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.vv-dash-quick-ico--green {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.vv-dash-quick-item span {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.vv-dash-quick-item strong {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}

.vv-dash-quick-item em {
  font-style: normal;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.3;
}

.vv-dash-quick-item > i {
  color: #cbd5e1;
  font-size: 13px;
  flex-shrink: 0;
  margin-right: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vv-dash-quick-item:hover > i {
  color: var(--vv-orange);
}

.vv-dash-orders-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.vv-dash-orders-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.vv-dash-orders-head p {
  margin: 2px 0 0;
  font-size: 13px;
  color: #6b7280;
}

.vv-dash-orders-head a {
  color: var(--vv-orange) !important;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none !important;
  white-space: nowrap;
}

.vv-dash-empty {
  text-align: center;
  padding: 36px 16px 28px;
}

.vv-dash-empty > i {
  font-size: 36px;
  color: #cbd5e1;
  margin-bottom: 12px;
}

.vv-dash-empty strong {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
}

.vv-dash-empty p {
  color: #6b7280;
  font-size: 13px;
  margin: 0 0 18px;
}

.vv-dash-order-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vv-dash-order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  text-decoration: none !important;
  color: inherit;
  transition: background .15s;
}

.vv-dash-order-item:hover { background: #f1f5f9; }

.vv-dash-order-item strong { font-size: 14px; color: #111827; }

.vv-dash-order-item span {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}

.vv-dash-order-pay { color: var(--vv-orange) !important; white-space: nowrap; }

/* Account info page */
.vv-acc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.vv-acc-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vv-acc-user strong { display: block; font-size: 16px; }

.vv-acc-badge {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--vv-orange);
  background: var(--vv-orange-soft);
  padding: 3px 8px;
  border-radius: 999px;
}

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

.vv-acc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vv-acc-field--wide { grid-column: 1 / -1; }

.vv-acc-field label {
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
  margin: 0;
}

.vv-acc-field > div,
.vv-acc-input {
  background: #f8fafc;
  border: 1px solid #e8eaef;
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  min-height: 44px;
}

.vv-acc-input {
  width: 100%;
  outline: 0;
  font-family: inherit;
}

.vv-acc-input:focus {
  border-color: #7dd3fc;
  background: #fff;
}

.vv-acc-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vv-acc-pw-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.vv-acc-api {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.vv-acc-api .vv-acc-input { flex: 1; min-width: 200px; }

.vv-acc-modal {
  border: 0;
  border-radius: 16px;
  padding: 24px;
  position: relative;
}

.vv-acc-modal-form h3 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 800;
}

.vv-acc-modal-form .vv-acc-field { margin-bottom: 12px; }

/* Legacy profile pages using Bootstrap cols + new sidebar */
.profile-part .content-reverse {
  display: grid !important;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.profile-part .content-reverse > [class*="col-"] {
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
  padding: 0 !important;
}

@media (max-width: 1100px) {
 .vv-dash,
 .profile-part .content-reverse {
 grid-template-columns: 1fr;
 }
 .vv-dash-side { position: static; }
 .vv-dash-stats { grid-template-columns: 1fr; }
 .vv-dash-split { grid-template-columns: 1fr; }
 .vv-acc-grid,
 .vv-acc-pw-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
 .vv-dash-hello h1 { font-size: 22px; }
 .vv-dash-wallet-amount { font-size: 26px; }
 .vv-acc-grid,
 .vv-acc-pw-grid { grid-template-columns: 1fr; }
 .vv-dash-wallet-actions { grid-template-columns: 1fr; }
}

/* ===== Account page frame (orders / wallet) ===== */
.vv-frame {
  padding: 0 !important;
  overflow: hidden;
}

.vv-frame-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid #eef2f7;
  background: #fff;
}

.vv-frame-head::after {
  content: '';
  display: block;
  height: 3px;
  width: 56px;
  background: var(--vv-orange);
  border-radius: 2px;
  position: absolute;
  left: 20px;
  bottom: 0;
}

.vv-frame-head {
  position: relative;
  padding-bottom: 18px;
}

.vv-frame-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #111827;
}

.vv-frame-head i {
  color: var(--vv-orange);
  font-size: 18px;
}

.vv-frame-body {
  padding: 18px 20px 20px;
}

.vv-frame-section + .vv-frame-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #f0f1f4;
}

.vv-frame-title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vv-frame-title::before {
  content: '';
  width: 3px;
  height: 14px;
  background: var(--vv-orange);
  border-radius: 2px;
}

.vv-frame .shop-widget-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #334155 !important;
  font-weight: 700;
  font-size: 13px;
  border-radius: 10px;
  padding: 10px 14px;
  text-decoration: none !important;
  width: 100%;
}

.vv-frame .shop-widget-btn i {
  font-size: 14px;
  color: #0ea5e9;
}

.vv-frame .shop-widget-btn:hover {
  background: var(--vv-orange-soft);
  border-color: #bae6fd;
  color: var(--vv-orange) !important;
}

.vv-frame .form-control,
.vv-frame .form-select {
  border-radius: 10px;
  border-color: #e2e8f0;
  min-height: 42px;
}

.vv-frame .account-title,
.vv-frame .home-heading { display: none; }

.vv-bank-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.vv-bank-tabs .tab-link {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #334155 !important;
  font-size: 13px !important;
  font-weight: 700;
  text-decoration: none !important;
}

.vv-bank-tabs .tab-link.active {
  background: var(--vv-orange);
  border-color: var(--vv-orange);
  color: #fff !important;
}

.vv-wallet-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(135deg, #f0f9ff, #fff);
  border: 1px solid #e0f2fe;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 18px;
}

.vv-wallet-balance strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--vv-orange);
  line-height: 1.2;
}

.vv-wallet-balance span {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}

.vv-frame-notice {
  background: #f8fafc;
  border: 1px solid #e8eaef;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
}

.vv-frame .hidden { display: none !important; }

/* ===== API docs ===== */
.vv-api-key-card h2 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  color: #111827;
}

.vv-api-key-card > p {
  margin: 0 0 14px;
  font-size: 13px;
  color: #6b7280;
}

.vv-api-key-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.vv-api-key-row .vv-acc-input {
  flex: 1;
  min-width: 220px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

.vv-api-docs .vv-api-row {
  margin-bottom: 18px;
}

.vv-api-docs .vv-api-row > label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 8px;
}

.vv-api-endpoint {
  display: flex;
  gap: 8px;
  align-items: stretch;
  flex-wrap: wrap;
}

.vv-api-method {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 10px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-size: 12px;
  font-weight: 800;
  color: #475569;
  white-space: nowrap;
}

.vv-api-endpoint .vv-acc-input {
  flex: 1;
  min-width: 180px;
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.vv-api-endpoint .vv-dash-btn {
  flex-shrink: 0;
}

.vv-api-meta {
  margin-top: 12px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 12px;
  padding: 14px 16px;
}

.vv-api-meta p { margin: 0 0 8px; font-size: 13px; }
.vv-api-meta ul { margin: 0 0 12px; padding-left: 18px; font-size: 13px; color: #374151; }
.vv-api-key-inline { color: #0ea5e9; font-weight: 700; }

.vv-api-response {
  width: 100%;
  min-height: 140px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  padding: 12px;
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #111827;
  resize: vertical;
}

/* ===== Crypto recharge ===== */
.vv-crypto-rate {
  margin: 0 0 16px;
  color: var(--vv-muted, #64748b);
  font-size: 14px;
}
.vv-crypto-nets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.vv-crypto-net {
  text-align: left;
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.vv-crypto-net strong { display: block; font-size: 14px; margin-bottom: 4px; }
.vv-crypto-net span { font-size: 12px; color: #64748b; word-break: break-all; }
.vv-crypto-net.is-active,
.vv-crypto-net:hover {
  border-color: var(--vv-orange, #0ea5e9);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}
.vv-crypto-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 14px;
}
.vv-crypto-amount-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.vv-crypto-amount-row .vv-acc-input { flex: 1; min-width: 160px; }
.vv-crypto-hint { margin-top: 10px; color: #64748b; font-size: 13px; }
.vv-crypto-note {
  margin-top: 18px;
  padding: 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  font-size: 14px;
}
.vv-wallet-methods {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.vv-api-python {
  min-height: 220px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}
@media (max-width: 640px) {
  .vv-crypto-nets { grid-template-columns: 1fr; }
}

/* ===== Datamoll catalog (tat-ca-san-pham) ===== */
.dm-catalog {
  --dm-lime: #c6f26d;
  --dm-lime-soft: #eef9d4;
  --dm-lime-text: #3f6212;
  --dm-lime-border: #b5e05a;
  grid-template-columns: 360px 1fr;
  gap: 24px;
}

.dm-side {
  border-radius: 18px;
  border: 1px solid #e8ecf1;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
  top: 100px;
  padding: 0;
  overflow: hidden;
}

.dm-side-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  margin: 0 0 14px;
}

.dm-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.dm-cat-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 14px;
  color: #334155 !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 650;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}

.dm-cat-item:hover {
  background: #f5f7fa;
}

.dm-cat-item.is-active {
  background: var(--dm-lime-soft);
  color: #14532d !important;
  box-shadow: inset 0 0 0 1px rgba(132, 204, 22, 0.25);
}

.dm-cat-item--all {
  align-items: center;
  padding: 12px 14px;
  margin-bottom: 4px;
  background: #f8fafc;
  border: 1px solid #e8edf3;
}

.dm-cat-item--all:hover {
  background: #f1f5f9;
  border-color: #dbe3ec;
}

.dm-cat-item--all.is-active {
  background: linear-gradient(135deg, #f7fee7 0%, #ecfccb 100%);
  border-color: #bef264;
  box-shadow: inset 0 0 0 1px rgba(132, 204, 22, 0.2);
  color: #166534 !important;
}

.dm-cat-item--all .dm-cat-name {
  font-weight: 750;
  font-size: 14.5px;
  letter-spacing: -0.01em;
}

.dm-cat-item--all.is-active .dm-cat-name {
  color: #14532d;
}

.dm-cat-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  background: #f1f5f9;
  color: #fff;
  font-size: 15px;
  margin-top: 0;
}

.dm-cat-ico i {
  color: inherit;
  line-height: 1;
}

.dm-cat-ico img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 50%;
  display: none; /* Force Font Awesome — hide DB image icons */
}

.dm-cat-ico--all {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #84cc16;
  color: #fff;
  font-size: 15px;
  box-shadow: 0 0 0 3px rgba(132, 204, 22, 0.18);
}

.dm-cat-item--all.is-active .dm-cat-ico--all {
  background: #65a30d;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(101, 163, 13, 0.22);
}

.dm-cat-item.is-active .dm-cat-ico--all {
  background: #65a30d;
  color: #fff;
}

.dm-cat-name {
  flex: 1;
  min-width: 0;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  line-height: 1.35;
  word-break: break-word;
}

.dm-cat-count {
  min-width: 30px;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.dm-cat-item--all .dm-cat-count {
  margin-top: 0;
  min-width: 28px;
  height: 26px;
  font-size: 12.5px;
}

.dm-cat-item.is-active .dm-cat-count {
  background: #84cc16;
  color: #fff;
}

.dm-stock-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  user-select: none;
}

.dm-switch {
  position: relative;
  width: 42px;
  height: 24px;
  display: inline-block;
}

.dm-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.dm-switch-ui {
  position: absolute;
  inset: 0;
  background: #e2e8f0;
  border-radius: 999px;
  transition: background 0.15s ease;
}

.dm-switch-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.2);
  transition: transform 0.15s ease;
}

.dm-switch input:checked + .dm-switch-ui {
  background: #84cc16;
}

.dm-switch input:checked + .dm-switch-ui::after {
  transform: translateX(18px);
}


.dm-cat-group.is-open > .dm-cat-item.is-open {
  background: #f7fbe9;
  color: #111827 !important;
}

.dm-cat-chevron {
  margin-left: auto;
  margin-top: 5px;
  font-size: 10px;
  color: #9ca3af;
  transition: transform 0.15s ease;
  flex-shrink: 0;
}

.dm-cat-group.is-open .dm-cat-chevron {
  transform: rotate(180deg);
  color: #65a30d;
}

.dm-cat-item .dm-cat-count {
  margin-left: 0;
}

.dm-cat-item:has(.dm-cat-chevron) .dm-cat-count {
  margin-left: 0;
}

.dm-cat-sub {
  list-style: none;
  margin: 4px 0 6px;
  padding: 0 0 0 12px;
  display: none;
  flex-direction: column;
  gap: 2px;
  border-left: 2px solid #eef2f7;
  margin-left: 22px;
}

.dm-cat-sub.is-visible {
  display: flex;
}

.dm-cat-subitem {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  color: #4b5563 !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}

.dm-cat-subitem:hover {
  background: #f5f7fa;
  color: #111827 !important;
}

.dm-cat-subitem.is-active {
  background: var(--dm-lime-soft);
  color: #111827 !important;
}

.dm-cat-subitem.is-active .dm-cat-count {
  background: #84cc16;
  color: #fff;
}

.dm-cat-subname {
  flex: 1;
  min-width: 0;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  line-height: 1.35;
  word-break: break-word;
}

.dm-side-price {
  border-top: 1px solid #f0f1f4;
}

.dm-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dm-price-row input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 0 14px;
  font-size: 13px;
  color: #374151;
  outline: none;
}

.dm-price-row input:focus {
  border-color: #84cc16;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(132, 204, 22, 0.15);
}

.dm-price-sep {
  color: #9ca3af;
  font-weight: 600;
}

.dm-price-btn {
  margin-top: 10px;
  width: 100%;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #111827;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.dm-price-btn:hover {
  background: #1f2937;
}

.dm-catalog-main .vv-crumb {
  margin-bottom: 10px;
  color: #9aa3af;
  font-size: 13px;
}

.dm-catalog-main .vv-crumb a {
  color: #6b7280 !important;
  text-decoration: none !important;
}

.dm-catalog-main .vv-crumb a:hover {
  color: #111827 !important;
}

.dm-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.dm-page-title {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 640px;
}

.dm-page-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-left: auto;
}

.dm-total {
  font-size: 14px;
  color: #6b7280;
}

.dm-total strong {
  color: #111827;
  font-weight: 800;
}

.dm-sort select {
  height: 38px;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 10px;
  padding: 0 34px 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

.dm-prod-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* Product card (catalog) */
.pc-card {
  background: #fff;
  border: 1px solid #eceff3;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s;
}

.pc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.08);
  border-color: #e2e8f0;
}

.pc-card.is-oos {
  opacity: 0.72;
}

.pc-card-link {
  display: block;
  color: inherit !important;
  text-decoration: none !important;
  height: 100%;
}

.pc-card-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 14px 14px 12px;
  background: var(--pc-tint, linear-gradient(135deg, #f6f8fb, #eef2f7));
  overflow: hidden;
}

.pc-card-head.has-cover {
  display: block;
  min-height: 0;
  height: 200px;
  padding: 0;
  background: #0f172a;
}

.pc-card-head.has-brand-cover {
  background: var(--pc-tint, linear-gradient(135deg, #f6f8fb, #eef2f7));
}

.pc-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
  filter: none;
  opacity: 1;
  transform: none;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.pc-cover--brand {
  object-fit: contain;
  object-position: center;
  padding: 18% 22%;
  opacity: 0.88;
}

.pc-card-head.has-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Light scrim only — keep cover sharp/readable (not watermark-blur style) */
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.02) 0%, rgba(15, 23, 42, 0.18) 100%);
}

.pc-card-head.has-brand-cover::after {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 40%, rgba(15, 23, 42, 0.12) 100%);
}

.pc-cat--on-cover {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  max-width: calc(100% - 70px);
}

.pc-cat--on-cover .pc-cat__label {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.pc-card-head.has-cover .pc-disc {
  z-index: 3;
}

.pc-disc {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
}

.pc-tile {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  color: #374151;
  font-size: 16px;
}

.pc-tile img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.pc-cat {
  z-index: 1;
  display: inline-flex;
  max-width: calc(100% - 90px);
}

.pc-cat__label {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.pc-watermark {
  position: absolute;
  right: -8px;
  bottom: -18px;
  width: 88px;
  height: 88px;
  object-fit: contain;
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
}

.pc-card-body {
  padding: 14px 14px 16px;
}

.pc-card-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  color: #0f172a;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.9em;
}

.pc-card-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.pc-price-now {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.pc-price-old {
  font-size: 13px;
  color: #9ca3af;
}

.pc-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
}

.pc-sold,
.pc-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pc-stock.is-ok {
  color: #16a34a;
}

.pc-stock i {
  color: #22c55e;
}

.dm-pagination .page-link.active,
.dm-pagination .page-item.active .page-link,
.dm-pagination .page-item .page-link.active {
  background: var(--dm-lime-soft) !important;
  border-color: var(--dm-lime-border) !important;
  color: var(--dm-lime-text) !important;
}

@media (max-width: 1100px) {
  .pc-card-head.has-cover {
    height: 180px;
  }
}

@media (max-width: 900px) {
  .dm-catalog {
    grid-template-columns: 1fr;
  }
  .dm-side {
    position: static;
  }
  .dm-prod-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .pc-card-head.has-cover {
    height: 170px;
  }
}

@media (max-width: 560px) {
  .vv-hero-visual { display: none; }
  .vv-hero-banner { padding: 26px 20px 28px; }
}
  .pc-card-head.has-cover {
    height: 200px;
  }
  .dm-page-head {
    flex-direction: column;
    align-items: stretch;
  }
  .dm-page-meta {
    margin-left: 0;
  }
}

/* ===== My Software (Premium) ===== */
.msw-page .vv-dash-main {
  gap: 20px;
}

.msw-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 30px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 45%, #0ea5e9 100%);
  color: #fff;
  box-shadow: 0 20px 50px rgba(3, 105, 161, 0.25);
  position: relative;
  overflow: hidden;
}

.msw-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.18) 0%, transparent 45%);
  pointer-events: none;
}

.msw-hero-text {
  position: relative;
  z-index: 1;
}

.msw-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.msw-hero h1 {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.msw-hero p {
  margin: 0;
  font-size: 14px;
  opacity: .88;
  max-width: 480px;
}

.msw-hero-stats {
  display: flex;
  gap: 10px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.msw-stat-pill {
  min-width: 72px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  text-align: center;
}

.msw-stat-pill strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}

.msw-stat-pill span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  opacity: .85;
  margin-top: 2px;
}

.msw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.msw-card {
  background: #fff;
  border: 1px solid var(--vv-border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--vv-shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.msw-card:hover {
  transform: translateY(-2px);
  border-color: #bae6fd;
  box-shadow: 0 12px 32px rgba(14, 165, 233, 0.12);
}

.msw-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.msw-card-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.msw-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #e0f2fe, #dbeafe);
  color: #0284c7;
  font-size: 20px;
  flex-shrink: 0;
}

.msw-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}

.msw-card-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 11px;
  color: var(--vv-muted);
}

.msw-card-tags code {
  color: #be123c;
  background: #fff1f2;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 11px;
}

.msw-status {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}

.msw-status.is-active { background: #dcfce7; color: #15803d; }
.msw-status.is-warn { background: #fef3c7; color: #b45309; }
.msw-status.is-muted { background: #f3f4f6; color: #6b7280; }

.msw-card-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px 14px;
  background: #f8fafc;
  border-radius: 12px;
}

.msw-kv span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #94a3b8;
  margin-bottom: 2px;
}

.msw-kv strong {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
}

.msw-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-bottom: 6px;
  color: var(--vv-muted);
}

.msw-progress-meta strong {
  color: #0284c7;
  font-weight: 800;
}

.msw-progress-bar {
  height: 6px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.msw-progress-bar.is-lg { height: 8px; }

.msw-progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0ea5e9, #38bdf8);
  transition: width .4s ease;
}

.msw-card-foot {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.msw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all .15s ease;
  line-height: 1.2;
}

.msw-btn-primary {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #fff;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
  flex: 1;
}

.msw-btn-primary:hover {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #fff;
  transform: translateY(-1px);
}

.msw-btn-ghost {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid var(--vv-border);
  min-width: 44px;
  padding: 10px 12px;
}

.msw-btn-ghost:hover { background: #e2e8f0; color: #334155; }

.msw-empty {
  position: relative;
  text-align: center;
  padding: 64px 24px 48px;
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 20px;
  overflow: hidden;
}

.msw-empty-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(14,165,233,.12) 0%, transparent 70%);
  pointer-events: none;
}

.msw-empty-ico {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #e0f2fe, #dbeafe);
  color: #0284c7;
  font-size: 32px;
}

.msw-empty h2 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
}

.msw-empty p {
  margin: 0 0 20px;
  color: var(--vv-muted);
  font-size: 14px;
}

/* Detail page */
.msw-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--vv-muted);
  text-decoration: none;
  margin-bottom: 4px;
}

.msw-back:hover { color: var(--vv-orange-dark); }

.msw-detail-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px;
  background: #fff;
  border: 1px solid var(--vv-border);
  border-radius: 18px;
  box-shadow: var(--vv-shadow);
}

.msw-detail-hero-main {
  display: flex;
  align-items: center;
  gap: 16px;
}

.msw-detail-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #0ea5e9, #0284c7);
  color: #fff;
  font-size: 24px;
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

.msw-detail-hero h1 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
}

.msw-detail-hero p {
  margin: 0;
  font-size: 13px;
  color: var(--vv-muted);
}

.msw-detail-hero code {
  color: #be123c;
  background: #fff1f2;
  padding: 2px 8px;
  border-radius: 6px;
}

.msw-detail-hero-side {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.msw-detail-plan span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #94a3b8;
}

.msw-detail-plan strong {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.msw-detail-progress {
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--vv-border);
  border-radius: 16px;
  box-shadow: var(--vv-shadow);
}

.msw-progress-dates {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
}

.msw-detail-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 16px;
}

.msw-key-panel {
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 50%, #0c4a6e 100%);
  color: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25);
}

.msw-key-panel-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.msw-key-panel-head > i {
  font-size: 22px;
  color: #38bdf8;
  margin-top: 2px;
}

.msw-key-panel-head strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
}

.msw-key-panel-head span {
  display: block;
  font-size: 12px;
  opacity: .7;
  margin-top: 2px;
}

.msw-key-box {
  display: flex;
  gap: 10px;
}

.msw-key-input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.08);
  color: #f8fafc;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
}

.msw-key-input:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.msw-btn-light {
  background: rgba(255,255,255,.95);
  color: #0f172a;
  white-space: nowrap;
}

.msw-btn-light:hover { background: #fff; }

.msw-btn-ghost-light {
  background: rgba(255,255,255,.1);
  color: #e2e8f0;
  border: 1px solid rgba(255,255,255,.2);
}

.msw-btn-ghost-light:hover {
  background: rgba(255,255,255,.18);
  color: #fff;
}

.msw-key-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.msw-info-panel {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--vv-border);
  border-radius: 18px;
  box-shadow: var(--vv-shadow);
}

.msw-info-panel h3 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #64748b;
}

.msw-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.msw-info-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.msw-info-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.msw-info-list span {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
}

.msw-info-list strong {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  text-align: right;
}

.msw-renew-section {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--vv-border);
  border-radius: 18px;
  box-shadow: var(--vv-shadow);
}

.msw-renew-head h2 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
}

.msw-renew-head h2 i { color: #0ea5e9; }

.msw-renew-head p {
  margin: 0;
  font-size: 13px;
  color: var(--vv-muted);
}

.msw-renew-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.msw-renew-item {
  position: relative;
  padding: 18px 16px;
  border: 1px solid var(--vv-border);
  border-radius: 14px;
  background: #fafbfc;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color .15s, box-shadow .15s;
}

.msw-renew-item:hover {
  border-color: #7dd3fc;
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.1);
}

.msw-renew-item.is-current {
  border-color: #0ea5e9;
  background: linear-gradient(180deg, #f0f9ff, #fff);
}

.msw-renew-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 3px 8px;
  border-radius: 999px;
  background: #0ea5e9;
  color: #fff;
}

.msw-renew-item strong {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.msw-renew-sub {
  font-size: 11px;
  color: #94a3b8;
}

.msw-renew-price {
  font-size: 18px;
  font-weight: 800;
  color: #0284c7;
  margin: 4px 0 6px;
}

.msw-renew-item .msw-btn {
  width: 100%;
  margin-top: auto;
}

.msw-swal-body p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.55;
  color: #334155;
}

.msw-swal-highlight {
  color: #0284c7;
  font-size: 16px;
}

.msw-swal-note {
  margin-top: 14px !important;
  padding: 10px 12px;
  background: #f0f9ff;
  border-radius: 10px;
  font-size: 12px !important;
  color: #0369a1 !important;
  text-align: left;
}

.msw-swal-note i { margin-right: 6px; }

@media (max-width: 900px) {
  .msw-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .msw-hero-stats { width: 100%; }
  .msw-stat-pill { flex: 1; }
  .msw-detail-layout { grid-template-columns: 1fr; }
  .msw-detail-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .msw-detail-hero-side {
    align-items: flex-start;
    text-align: left;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  .msw-grid { grid-template-columns: 1fr; }
  .msw-card-body { grid-template-columns: 1fr; }
  .msw-key-box { flex-direction: column; }
  .msw-renew-grid { grid-template-columns: 1fr 1fr; }
  .msw-hero h1 { font-size: 22px; }
}

@media (max-width: 420px) {
  .msw-renew-grid { grid-template-columns: 1fr; }
}

/* Product preview thumbs + lightbox */
.vv-soft-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.vv-soft-thumb {
  padding: 0;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  cursor: zoom-in;
  width: 120px;
  height: 120px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.vv-soft-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}
.vv-soft-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.vv-lb-open { overflow: hidden; }

.vv-lightbox[hidden] { display: none !important; }
.vv-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vv-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.88);
  cursor: zoom-out;
}
.vv-lightbox-stage {
  position: relative;
  z-index: 1;
  width: min(96vw, 1200px);
  height: min(92vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 56px 40px;
}
.vv-lightbox-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  user-select: none;
  -webkit-user-drag: none;
}
.vv-lightbox-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.vv-lightbox-close:hover { background: rgba(255, 255, 255, 0.28); }
.vv-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.vv-lightbox-nav:hover { background: rgba(255, 255, 255, 0.28); }
.vv-lightbox-nav.is-prev { left: 4px; }
.vv-lightbox-nav.is-next { right: 4px; }
.vv-lightbox-counter {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  background: rgba(0, 0, 0, 0.35);
  padding: 4px 12px;
  border-radius: 999px;
}

@media (max-width: 640px) {
  .vv-soft-thumb { width: 88px; height: 88px; }
  .vv-lightbox-stage { padding: 52px 12px 36px; width: 100vw; height: 100vh; }
  .vv-lightbox-nav { width: 40px; height: 40px; }
  .vv-lightbox-nav.is-prev { left: 2px; }
  .vv-lightbox-nav.is-next { right: 2px; }
}


/* Floating Telegram access link */
.vv-tg-float {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 1050;
  display: block;
  line-height: 0;
  text-decoration: none !important;
  filter: drop-shadow(0 8px 18px rgba(34, 158, 217, 0.35));
  transition: transform 0.2s ease;
}
.vv-tg-float:hover { transform: translateY(-2px); }
.vv-tg-float__img {
  display: block;
  width: auto;
  height: 56px;
  max-width: min(240px, 70vw);
  object-fit: contain;
}
@media (max-width: 640px) {
  .vv-tg-float { right: 12px; bottom: 16px; }
  .vv-tg-float__img { height: 48px; }
}

/* ===== Homepage product LIST (per category) ===== */
.vv-home-list-section {
  margin: 0 0 28px;
  background: #fff;
  border: 1px solid var(--vv-border, #e2e8f0);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.vv-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: #334155;
  color: #f8fafc;
}
.vv-list-path {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #f8fafc;
}
.vv-list-path-sep {
  opacity: 0.55;
  margin: 0 4px;
  font-weight: 500;
}
.vv-list-cols {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.vv-list-cols .vv-list-col {
  display: none;
}
.vv-list-col {
  color: #cbd5e1 !important;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.vv-list-col:hover { color: #fff !important; }
.vv-list-col i { font-size: 10px; opacity: 0.8; }
.vv-list-viewall {
  color: #93c5fd !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
}
.vv-list-viewall:hover { color: #fff !important; }

.vv-list-table {
  display: flex;
  flex-direction: column;
}
.vv-list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px 140px 110px;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-top: 1px solid #eef2f7;
  background: #fff;
  transition: background 0.15s ease;
}
.vv-list-row:nth-child(even) { background: #f8fafc; }
.vv-list-row:hover { background: #f1f5f9; }
.vv-list-row.is-oos { opacity: 0.72; }

.vv-list-row__main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.vv-list-row__ico {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
}
.vv-list-row__info { min-width: 0; flex: 1; }
.vv-list-row__title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a !important;
  text-decoration: none !important;
  line-height: 1.4;
}
.vv-list-row__title:hover { color: #2563eb !important; }
.vv-list-row__desc {
  margin: 4px 0 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vv-list-row__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.vv-lb {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  line-height: 1.2;
}
.vv-lb--auto { background: #dcfce7; color: #15803d; }
.vv-lb--soft { background: #dbeafe; color: #1d4ed8; }
.vv-lb--new { background: #ede9fe; color: #6d28d9; }
.vv-lb--sale { background: #ffedd5; color: #c2410c; }
.vv-lb--sold { background: #f1f5f9; color: #475569; }

.vv-list-row__stock {
  text-align: center;
  color: #0f172a;
}
.vv-list-row__stock strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
}
.vv-list-row__stock strong.is-oos { color: #dc2626; }
.vv-list-row__stock span {
  font-size: 12px;
  color: #64748b;
}

.vv-list-row__price {
  text-align: right;
}
.vv-list-row__price-label {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 2px;
}
.vv-list-row__price strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}
.vv-list-row__price del {
  font-size: 12px;
  color: #94a3b8;
}

.vv-list-row__action { text-align: right; }
.vv-list-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 88px;
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: #16a34a;
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.vv-list-buy:hover { background: #15803d; }
.vv-list-buy.is-disabled,
.vv-list-buy:disabled {
  background: #94a3b8;
  cursor: not-allowed;
}

@media (max-width: 900px) {
  .vv-list-row {
    grid-template-columns: minmax(0, 1fr) 100px;
    grid-template-areas:
      "main action"
      "stock price";
  }
  .vv-list-row__main { grid-area: main; }
  .vv-list-row__action { grid-area: action; }
  .vv-list-row__stock { grid-area: stock; text-align: left; }
  .vv-list-row__price { grid-area: price; }
}
@media (max-width: 640px) {
  .vv-list-head { padding: 10px 12px; }
  .vv-list-row { padding: 12px; gap: 10px; }
  .vv-list-cols .vv-list-col { display: none; }
}

