/* VHAVE Theme 1.2.3: AI storefront presentation only. */
:root {
  --vh-ink: #111714;
  --vh-muted: #68716d;
  --vh-page: #f1f3f2;
  --vh-surface: #ffffff;
  --vh-surface-soft: #f7f8f7;
  --vh-line: #dde2df;
  --vh-night: #0c1210;
  --vh-night-soft: #141c19;
  --vh-signal: #27d3a2;
  --vh-signal-dark: #087a5d;
  --vh-signal-soft: #dcf8ef;
  --vh-pulse: #c9f04d;
  --vh-warm: #ff9d5c;
  --vh-danger: #c94d58;
  --vh-shadow-border: 0 0 0 1px rgba(0, 0, 0, .06), 0 1px 2px -1px rgba(0, 0, 0, .06), 0 2px 4px rgba(0, 0, 0, .04);
  --vh-shadow-border-hover: 0 0 0 1px rgba(0, 0, 0, .09), 0 1px 2px -1px rgba(0, 0, 0, .08), 0 5px 14px rgba(0, 0, 0, .07);
}

html { scroll-behavior: smooth; }
body[data-vhave-theme] {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
body[data-vhave-theme] *,
body[data-vhave-theme] *::before,
body[data-vhave-theme] *::after { box-sizing: border-box; }
body[data-vhave-theme] a,
body[data-vhave-theme] button {
  transition-property: color, background-color, border-color, box-shadow, transform;
  transition-duration: 120ms;
  transition-timing-function: ease-out;
}
body[data-vhave-theme] button:active,
body[data-vhave-theme] .btn:active { transform: scale(.96); }
body[data-vhave-theme] :focus-visible {
  outline: 2px solid var(--vh-signal-dark);
  outline-offset: 2px;
}
body[data-vhave-theme] [hidden] { display: none !important; }

/* Shared navigation */
body[data-vhave-theme] > .navbar-acg {
  position: sticky;
  top: 0;
  z-index: 1050;
  min-height: 66px;
  padding: 8px 0;
  color: #edf6f2;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(12, 18, 16, .97);
  box-shadow: none;
  backdrop-filter: blur(14px);
}
body[data-vhave-theme] .navbar-acg > .container {
  width: min(1260px, calc(100% - 40px));
  max-width: 1260px;
  padding: 0;
}
body[data-vhave-theme] .navbar-brand {
  min-width: 212px;
  gap: 10px;
  margin-right: 26px;
  font-size: 18px;
}
body[data-vhave-theme] .navbar-brand .brand-logo {
  width: 36px;
  height: 36px;
  margin-right: 0 !important;
  border-radius: 8px;
  object-fit: contain;
  outline: 1px solid rgba(255, 255, 255, .1);
  outline-offset: -1px;
}
body[data-vhave-theme] .navbar-brand span {
  color: #edf6f2 !important;
  font-weight: 800;
}
body[data-vhave-theme] .navbar-acg .nav-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  color: #b8c6c0;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 650;
}
body[data-vhave-theme] .navbar-acg .nav-link:hover,
body[data-vhave-theme] .navbar-acg .nav-link.active {
  color: #fff;
  background: #1a2420;
}
body[data-vhave-theme] .navbar-acg .nav-link.active::after { display: none; }
body[data-vhave-theme] .navbar-acg .search-input {
  width: min(100%, 410px);
  margin-left: auto;
}
body[data-vhave-theme] .search-input .input-group-text,
body[data-vhave-theme] .search-input .form-control {
  height: 40px;
  color: #eef7f3;
  border-color: #37433e;
  background: #111815;
  box-shadow: none;
}
body[data-vhave-theme] .search-input .input-group-text {
  padding-left: 12px;
  border-right: 0;
  border-radius: 6px 0 0 6px;
}
body[data-vhave-theme] .search-input .form-control {
  border-left: 0;
  border-radius: 0 6px 6px 0;
}
body[data-vhave-theme] .search-input .form-control:focus { border-color: #37433e; }
body[data-vhave-theme] .search-input .form-control::placeholder { color: #6f7d77; }
body[data-vhave-theme] .navbar-acg .btn {
  min-height: 38px;
  border-radius: 6px !important;
  font-size: 13px;
  font-weight: 700;
}
body[data-vhave-theme] .navbar-acg .btn-outline-secondary,
body[data-vhave-theme] .lang-switch__btn,
body[data-vhave-theme] .user-info-box .dropdown-toggle {
  color: #c4d0ca !important;
  border-color: #37433e !important;
  background: #111815 !important;
}
body[data-vhave-theme] .navbar-acg .btn-primary {
  color: #07110d;
  border-color: var(--vh-signal);
  background: var(--vh-signal);
}
body[data-vhave-theme] .navbar-acg .btn-primary:hover { background: #4de1b6; }
body[data-vhave-theme] .navbar-toggler { border-color: #37433e; }
body[data-vhave-theme] .navbar-toggler-icon { filter: invert(1); }
body[data-vhave-theme] .dropdown-menu {
  color: #dfe5e1;
  border: 1px solid #333b37;
  border-radius: 7px;
  background: #151a17;
  box-shadow: 0 14px 35px rgba(0, 0, 0, .28);
}
body[data-vhave-theme] .dropdown-item { color: #d5ddd8; }
body[data-vhave-theme] .dropdown-item:hover { color: #fff; background: #202722; }

/* Home shell and hero */
body[data-vhave-theme="home"] {
  color: var(--vh-ink);
  background: var(--vh-page) !important;
  background-image: none !important;
}
.vhave-home.vh-ai-home {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 52px !important;
  color: var(--vh-ink);
  background: var(--vh-page);
}
.vh-ai-hero {
  position: relative;
  min-height: 252px;
  overflow: hidden;
  color: #fff;
  background: var(--vh-night);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.vh-network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .8;
}
.vh-ai-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1260px, calc(100% - 40px));
  min-height: 252px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: auto;
  padding: 34px 0 30px;
}
.vh-ai-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--vh-signal);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
}
.vh-ai-kicker::before {
  width: 24px;
  height: 1px;
  background: var(--vh-signal);
  content: "";
}
.vh-ai-hero h1 {
  max-width: 700px;
  margin: 0;
  color: #fff;
  font-size: 38px;
  line-height: 1.16;
  font-weight: 800;
}
.vh-ai-hero-copy {
  max-width: 580px;
  margin: 12px 0 20px;
  color: #acbab4;
  font-size: 14px;
  line-height: 1.7;
}
.vh-ai-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.vh-ai-metrics span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d8e4df;
  font-size: 12px;
}
.vh-ai-metrics i { color: var(--vh-pulse); font-size: 15px; }
.vh-ai-metrics strong {
  color: #fff;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-weight: 700;
}
.vh-ai-shell {
  width: min(1260px, calc(100% - 40px));
  margin: auto;
  padding-top: 22px;
}

/* Service strip */
.vh-service-console {
  min-height: 58px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--vh-surface);
  box-shadow: var(--vh-shadow-border);
}
.vh-console-item {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  color: var(--vh-ink);
  border-right: 1px solid var(--vh-line);
  text-decoration: none;
}
.vh-console-item:last-child { border-right: 0; }
a.vh-console-item:hover { color: var(--vh-signal-dark); background: var(--vh-surface-soft); }
.vh-console-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  color: var(--vh-signal-dark);
  border-radius: 6px;
  background: var(--vh-signal-soft);
}
.vh-console-icon i { font-size: 14px; }
.vh-console-item strong { display: block; font-size: 12px; }
.vh-console-item span:not(.vh-console-icon) {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: var(--vh-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Store announcement. The body is the untouched website setting content. */
.vhave-home .vh-announcement-panel {
  margin: 0 0 24px;
  overflow: hidden;
  border: 0 !important;
  border-radius: 8px !important;
  background: var(--vh-surface) !important;
  box-shadow: var(--vh-shadow-border) !important;
}
.vhave-home .vh-announcement-panel .panel-header {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border: 0;
  border-bottom: 1px solid var(--vh-line);
  background: var(--vh-surface);
}
.vhave-home .vh-announcement-panel .panel-header .icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  color: #a85625;
  border: 0;
  border-radius: 6px;
  background: #fff0e7;
}
.vh-panel-kicker {
  color: #9a5c36;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 750;
}
.vhave-home .vh-announcement-panel .panel-title {
  margin: 0;
  color: var(--vh-ink);
  font-size: 15px;
  font-weight: 800;
}
.vhave-home .vh-announcement-panel .panel-body {
  padding: 18px 20px 20px;
  color: #515a56;
  column-count: 1;
  column-gap: 34px;
  font-size: 13px;
  line-height: 1.72;
}
.vhave-home .vh-announcement-panel .panel-body > h1 {
  margin: 0 0 5px;
  color: var(--vh-ink);
  column-span: all;
  font-size: 19px !important;
  line-height: 1.4;
  font-weight: 800;
}
.vhave-home .vh-announcement-panel .panel-body > h1 + p {
  margin: 0 0 14px;
  color: var(--vh-muted);
  column-span: all;
}
.vhave-home .vh-announcement-panel .panel-body h2,
.vhave-home .vh-announcement-panel .panel-body h3 {
  margin: 0 0 7px;
  break-after: avoid;
  color: var(--vh-ink);
  font-size: 14px !important;
  line-height: 1.45;
  font-weight: 800;
}
.vhave-home .vh-announcement-panel .panel-body p { margin: 0 0 11px; }
.vhave-home .vh-announcement-panel .panel-body a {
  color: var(--vh-signal-dark) !important;
  font-weight: 750;
  text-decoration: none;
}
.vhave-home .vh-announcement-panel .panel-body a:hover { text-decoration: underline; }
.vhave-home .vh-announcement-panel .panel-body blockquote {
  margin: 0 0 11px;
  padding: 10px 12px;
  break-inside: avoid;
  color: #5f4c40;
  border-left: 3px solid var(--vh-warm);
  background: #fff5ef;
}
.vhave-home .vh-announcement-panel .panel-body blockquote p { margin: 0; }
.vhave-home .vh-announcement-panel .panel-body hr {
  margin: 12px 0;
  border: 0;
  border-top: 1px solid var(--vh-line);
  opacity: 1;
}

/* Catalogue */
.vhave-home .vh-catalog-panel {
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.vhave-home .vh-catalog-heading {
  min-height: 76px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto;
  align-items: end;
  gap: 0 10px;
  padding: 0 0 17px;
  border: 0;
  background: transparent;
}
.vhave-home .vh-catalog-heading .icon {
  width: 38px;
  height: 38px;
  display: grid;
  grid-column: 1;
  grid-row: 1 / 4;
  place-items: center;
  align-self: end;
  color: var(--vh-signal-dark);
  border: 1px solid #a8d8c8;
  border-radius: 8px;
  background: var(--vh-signal-soft);
}
.vh-catalog-intro { grid-column: 2; grid-row: 1; }
.vh-catalog-intro > span {
  color: var(--vh-signal-dark);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 750;
}
.vhave-home .vh-catalog-heading .panel-title {
  grid-column: 2;
  grid-row: 2;
  margin: 3px 0 0;
  color: var(--vh-ink);
  font-size: 25px;
  line-height: 1.25;
  font-weight: 800;
}
.vh-catalog-subtitle {
  grid-column: 2;
  grid-row: 3;
  margin: 5px 0 0;
  color: var(--vh-muted);
  font-size: 12px;
}
.vh-catalog-count {
  grid-column: 3;
  grid-row: 1 / 4;
  align-self: end;
  margin-bottom: 2px;
  color: var(--vh-muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  white-space: nowrap;
}
.vh-catalog-count strong { color: var(--vh-ink); font-size: 16px; }
.vhave-home .vh-catalog-panel > .panel-body { padding: 0; background: transparent; }
.vh-catalog-layout {
  display: grid;
  grid-template-columns: 214px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}
.vh-category-rail {
  position: sticky;
  top: 84px;
  overflow: hidden;
  padding: 6px;
  border-radius: 8px;
  background: var(--vh-surface);
  box-shadow: var(--vh-shadow-border);
}
.vh-rail-title {
  padding: 9px 10px 7px;
  color: #8a938f;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
}
.vh-category-source { margin: 0 !important; }
.vh-category-source .chip-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.vh-category-source .chip {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0 10px;
  color: #4b5551;
  border: 0;
  border-radius: 6px;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.vh-category-source .chip:hover { color: var(--vh-ink); background: var(--vh-surface-soft); }
.vh-category-source .chip.is-primary { color: #052f23; background: var(--vh-signal-soft); }
.vh-category-source .chip-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 5px;
  outline: 1px solid rgba(0, 0, 0, .1);
  outline-offset: -1px;
}
.vh-rail-support {
  margin: 7px 6px 0;
  padding: 12px 4px 9px;
  border-top: 1px solid var(--vh-line);
}
.vh-rail-support strong { color: var(--vh-ink); font-size: 12px; }
.vh-rail-support p {
  margin: 5px 0 9px;
  color: var(--vh-muted);
  font-size: 11px;
  line-height: 1.65;
}
.vh-rail-support a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--vh-signal-dark);
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}
.vh-products-column { min-width: 0; }
.vh-catalog-toolbar {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.vh-inventory-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--vh-muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
}
.vh-inventory-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vh-signal);
  box-shadow: 0 0 0 3px rgba(39, 211, 162, .12);
}
.vh-catalog-search {
  width: min(280px, 100%);
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  color: #77817c;
  border: 1px solid var(--vh-line);
  border-radius: 6px;
  background: var(--vh-surface);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
}
.vh-catalog-search:focus-within {
  border-color: var(--vh-signal-dark);
  box-shadow: 0 0 0 3px rgba(8, 122, 93, .1);
}
.vh-catalog-search i { font-size: 13px; }
.vh-catalog-search input {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: var(--vh-ink);
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 12px;
}
.vh-catalog-search input::placeholder { color: #929b97; }
.vhave-home .item-list.row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
}
.vhave-home .item-list .vh-product-link {
  width: auto;
  max-width: none;
  display: block;
  flex: none;
  margin: 0 !important;
  padding: 0;
  color: inherit;
  text-decoration: none;
}
.vhave-home .item-list .vh-product-card {
  position: relative;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--vh-ink);
  border: 0;
  border-radius: 8px;
  background: var(--vh-surface);
  box-shadow: var(--vh-shadow-border);
  transform: translateY(0);
  transition-property: transform, box-shadow;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}
.vhave-home .item-list .vh-product-card:hover {
  color: var(--vh-ink);
  box-shadow: var(--vh-shadow-border-hover);
  transform: translateY(-2px);
}
.vhave-home .item-list .acg-thumb {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 0;
  background-color: #e8f0ed !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  outline: 1px solid rgba(0, 0, 0, .1);
  outline-offset: -1px;
}
.vhave-home .item-list .vh-product-card > .p-3 {
  min-width: 0;
  display: flex !important;
  flex: 1;
  flex-direction: column;
  padding: 14px !important;
}
.vhave-home .item-list .tags {
  min-height: 23px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 0 6px;
  order: 1;
}
.vhave-home .item-list .badge-soft,
.vhave-home .item-list .acg-tag {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 7px;
  border: 1px solid #b9e0d3;
  border-radius: 4px;
  color: #08664f;
  background: #e7f8f2;
  font-size: 10px;
  font-weight: 750;
}
.vhave-home .item-list .badge-soft-primary { color: #66502a; border-color: #ead696; background: #fff6d6; }
.vh-product-code {
  margin-top: 2px;
  color: #7d8782;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
  order: 2;
}
.vhave-home .item-list .goods-title {
  min-height: 42px;
  display: -webkit-box;
  margin: 6px 0 0;
  overflow: hidden;
  color: var(--vh-ink);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  order: 3;
}
.vhave-home .item-list .stat-bottom {
  min-height: 20px;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 10px 0 11px;
  color: var(--vh-muted);
  font-size: 10px;
  order: 4;
}
.vhave-home .item-list .stat-bottom > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.vhave-home .item-list .stat-bottom > span:first-child::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vh-signal);
  box-shadow: 0 0 0 3px rgba(39, 211, 162, .12);
  content: "";
}
.vhave-home .item-list .vhave-sales-hidden { display: none !important; }
.vhave-home .item-list .stat-row {
  min-height: 43px;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  margin: auto 0 0 !important;
  padding: 11px 46px 0 0;
  border: 0;
  border-top: 1px solid var(--vh-line);
  order: 5;
}
.vh-price-label {
  display: block;
  margin-bottom: 2px;
  color: #858e8a;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 650;
}
.vhave-home .item-list .price {
  color: var(--vh-ink);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 21px;
  line-height: 1;
  font-weight: 800;
}
.vhave-home .item-list .price .unit {
  margin-right: 2px;
  color: var(--vh-danger);
  font-size: 11px;
  font-weight: 750;
}
.vh-product-action {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #06110d;
  border-radius: 6px;
  background: var(--vh-pulse);
}
.vh-product-action i { font-size: 14px; transform: translateX(1px); }
.vhave-home .item-message {
  min-height: 220px;
  display: grid;
  grid-column: 1 / -1;
  place-items: center;
  color: var(--vh-muted);
  border-radius: 8px;
  background: var(--vh-surface);
  box-shadow: var(--vh-shadow-border);
  font-size: 12px;
}
.vh-search-empty .item-list::after {
  min-height: 220px;
  display: grid;
  grid-column: 1 / -1;
  place-items: center;
  color: var(--vh-muted);
  border-radius: 8px;
  background: var(--vh-surface);
  box-shadow: var(--vh-shadow-border);
  content: "没有匹配的商品";
  font-size: 12px;
}

/* Item pages keep their established form and payment structure. */
body[data-vhave-theme="item"] {
  color: #f3f8f5;
  background: #0b1310 !important;
  background-image: none !important;
}
.vhave-item {
  width: min(1260px, calc(100% - 40px));
  max-width: 1260px;
  padding: 26px 0 48px !important;
  color: #f3f8f5;
}
.vhave-item .panel {
  overflow: hidden;
  border: 1px solid #2b3933 !important;
  border-radius: 8px !important;
  background: #131c19 !important;
  box-shadow: none !important;
}
.vhave-item .panel::before { display: none !important; }
.vhave-item .panel-header {
  min-height: 60px;
  padding: 14px 18px;
  border-bottom: 1px solid #2b3933;
  background: #151f1b;
}
.vhave-item .panel-header .icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #62ddb4;
  border: 1px solid #285b49;
  border-radius: 7px;
  background: #11261f;
}
.vhave-item .panel-title { color: #f4f7f5; font-size: 16px; font-weight: 750; }
.vhave-item .panel-body { padding: 24px; color: #c8d0cc; background: transparent; }
.vhave-item h4 { margin-bottom: 14px; color: #fff; font-size: 25px; font-weight: 800; }
.vhave-item .acg-cover {
  overflow: hidden;
  border: 1px solid #303934;
  border-radius: 8px;
  background: #18231f;
}
.vhave-item .item-cover { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.vhave-item .badge-soft,
.vhave-item .sku,
.vhave-item .optional-card { border-radius: 6px; }
.vhave-item .sku { color: #c6d0ca; border-color: #35403a; background: #151a17; }
.vhave-item .sku:hover,
.vhave-item .sku.is-primary { color: #fff; border-color: #2a9d79; background: #167b5e; }
.vhave-item .form-label { color: #c8d1cc; font-weight: 650; }
.vhave-item .item-detail { color: #c7d0cb; line-height: 1.8; }
.vhave-item .vstack .form-control {
  min-height: 46px;
  color: #f2f7f4 !important;
  caret-color: #62ddb4;
  border: 1px solid #3b4942 !important;
  background: #17201c !important;
  box-shadow: none !important;
}
.vhave-item .vstack .form-control::placeholder { color: #89968f !important; opacity: 1; }
.vhave-item .vstack .form-control:focus {
  color: #fff !important;
  border-color: #2fa77f !important;
  background: #19251f !important;
  box-shadow: 0 0 0 3px rgba(32, 167, 125, .14) !important;
}
.vhave-item .input-group.qty-group { border: 1px solid #3a4941; background: #141d19; box-shadow: none; }
.vhave-item .input-group.qty-group > button { color: #fff; background: #188361; box-shadow: none; }
.vhave-item .input-group.qty-group > .form-control { color: #eafff7 !important; border: 0 !important; background: transparent !important; }
.vhave-item .cash-pay { color: #eef6f2; border: 1px solid #35433c; background: #121916; box-shadow: none; }
.vhave-item .cash-pay .form-label { color: #f1f7f4 !important; }
.vhave-item .cash-pay .pay-list { border-top-color: #3b4942; }
.vhave-item .pay-list .pay { color: #eff7f3 !important; border: 1px solid #3b4942 !important; background: #1b2520 !important; box-shadow: none; }
.vhave-item .pay-list .pay span { color: #eff7f3 !important; }
.vhave-item .pay-list .pay:hover { border-color: #3ba984 !important; background: #213029 !important; }
.vhave-item .pay-list .pay.is-primary,
.vhave-item .pay-list .pay.active,
.vhave-item .pay-list .pay.selected { color: #fff !important; border-color: #39b98e !important; background: #137053 !important; box-shadow: none; }

body[data-vhave-theme] footer {
  padding: 22px 15px;
  color: #7d8782;
  border-top: 1px solid #202622;
  background: #0b100e;
  text-align: center;
  font-size: 11px;
}

@media (max-width: 980px) {
  .vh-service-console { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vh-console-item:nth-child(2) { border-right: 0; }
  .vh-console-item:nth-child(-n + 2) { border-bottom: 1px solid var(--vh-line); }
  .vhave-home .item-list.row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
  body[data-vhave-theme] > .navbar-acg { position: relative; min-height: 60px; }
  body[data-vhave-theme] .navbar-acg > .container { width: calc(100% - 28px); }
  body[data-vhave-theme] .navbar-brand { min-width: 0; flex: 1 1 auto; margin-right: 6px; font-size: 16px; }
  body[data-vhave-theme] .navbar-brand .brand-logo { width: 32px; height: 32px; }
  body[data-vhave-theme] .navbar-acg .navbar-collapse {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #2d3934;
    border-radius: 7px;
    background: #111815;
  }
  body[data-vhave-theme] .lang-switch { display: none !important; }
  body[data-vhave-theme] .user-login-box { display: flex !important; flex: 0 0 auto; gap: 4px; margin-left: 4px !important; }
  body[data-vhave-theme] .user-login-box .btn { min-height: 34px; padding: 4px 7px !important; font-size: 11px; white-space: nowrap; }
  body[data-vhave-theme] .user-login-box .btn i { display: none !important; }
  .vh-ai-hero,
  .vh-ai-hero-inner { min-height: 218px; }
  .vh-ai-hero-inner { width: calc(100% - 28px); padding: 27px 0 25px; }
  .vh-ai-kicker { margin-bottom: 10px; font-size: 9px; }
  .vh-ai-hero h1 { max-width: 340px; font-size: 29px; }
  .vh-ai-hero-copy { max-width: 345px; margin: 10px 0 16px; font-size: 12px; }
  .vh-ai-metrics { gap: 8px 14px; }
  .vh-ai-metrics span { font-size: 10px; }
  .vh-ai-shell { width: calc(100% - 28px); padding-top: 14px; }
  .vh-service-console { display: flex; margin-bottom: 14px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .vh-console-item { min-width: 78%; border-right: 1px solid var(--vh-line) !important; border-bottom: 0 !important; scroll-snap-align: start; }
  .vhave-home .vh-announcement-panel { margin-bottom: 21px; }
  .vhave-home .vh-announcement-panel .panel-header { padding: 9px 13px; }
  .vhave-home .vh-announcement-panel .panel-body { padding: 15px 14px 17px; column-count: 1; font-size: 12px; }
  .vhave-home .vh-announcement-panel .panel-body > h1 { font-size: 17px !important; }
  .vhave-home .vh-catalog-heading { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 0 8px; padding-bottom: 12px; }
  .vhave-home .vh-catalog-heading .icon { width: 34px; height: 34px; }
  .vhave-home .vh-catalog-heading .panel-title { margin-bottom: 0; font-size: 21px; }
  .vh-catalog-subtitle { display: none; }
  .vh-catalog-count { margin-bottom: 2px; font-size: 9px; }
  .vh-catalog-count strong { font-size: 14px; }
  .vh-catalog-layout { display: block; }
  .vh-category-rail {
    position: static;
    display: flex;
    margin-bottom: 10px;
    padding: 0;
    overflow-x: auto;
    background: transparent;
    box-shadow: none;
  }
  .vh-rail-title,
  .vh-rail-support { display: none; }
  .vh-category-source { min-width: 100%; }
  .vh-category-source .chip-list { flex-direction: row; overflow-x: auto; }
  .vh-category-source .chip {
    width: auto;
    min-width: max-content;
    min-height: 34px;
    padding: 0 10px;
    background: var(--vh-surface);
    box-shadow: var(--vh-shadow-border);
  }
  .vh-catalog-toolbar { min-height: 38px; margin-bottom: 10px; }
  .vh-catalog-search { width: min(230px, 70%); height: 36px; }
  .vhave-home .item-list.row { grid-template-columns: 1fr; gap: 9px; }
  .vhave-home .item-list .vh-product-card {
    min-height: 168px;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
  }
  .vhave-home .item-list .acg-thumb { height: 100%; aspect-ratio: auto; }
  .vhave-home .item-list .vh-product-card > .p-3 { padding: 12px !important; }
  .vhave-home .item-list .tags { min-height: 20px; margin-bottom: 4px; }
  .vhave-home .item-list .badge-soft,
  .vhave-home .item-list .acg-tag { min-height: 20px; padding: 0 5px; font-size: 9px; }
  .vhave-home .item-list .goods-title { min-height: 38px; margin-top: 4px; font-size: 13px; }
  .vhave-home .item-list .stat-bottom { margin: 7px 0 8px; }
  .vhave-home .item-list .stat-row { min-height: 38px; padding-top: 8px; }
  .vhave-home .item-list .price { font-size: 18px; }
  .vh-product-action { right: 12px; bottom: 12px; width: 31px; height: 31px; }
  .vhave-item { width: calc(100% - 28px); padding-top: 16px !important; }
  .vhave-item .panel-body { padding: 16px; }
  .vhave-item h4 { font-size: 21px; }
  .vhave-item .item-cover { min-height: 260px; }
}

@media (max-width: 420px) {
  .vh-inventory-status { font-size: 9px; }
  .vh-catalog-search { width: 64%; }
  .vhave-home .item-list .vh-product-card { grid-template-columns: 104px minmax(0, 1fr); }
}

/* 1.2.1 light item page, matching the storefront catalogue. */
body[data-vhave-theme="item"] {
  color: var(--vh-ink);
  background: var(--vh-page) !important;
  background-image: none !important;
}
.vhave-item {
  width: min(1260px, calc(100% - 40px));
  max-width: 1260px;
  padding: 28px 0 52px !important;
  color: var(--vh-ink);
}
.vhave-item > .panel:first-child { margin-top: 0 !important; }
.vhave-item .panel {
  overflow: hidden;
  color: var(--vh-ink);
  border: 0 !important;
  border-radius: 8px !important;
  background: var(--vh-surface) !important;
  box-shadow: var(--vh-shadow-border) !important;
}
.vhave-item .panel::before { display: none !important; }
.vhave-item .panel-body {
  padding: 22px;
  color: #515a56;
  background: var(--vh-surface);
}
.vhave-item h4 {
  margin-bottom: 13px;
  color: var(--vh-ink);
  font-size: 26px;
  line-height: 1.35;
  font-weight: 800;
}
.vhave-item .acg-cover {
  overflow: hidden;
  border: 1px solid #cfdbd6;
  border-radius: 8px;
  background: #e8f0ed;
  box-shadow: none;
}
.vhave-item .item-cover {
  width: 100%;
  height: 100%;
  display: block;
  min-height: 360px;
  object-fit: contain;
  outline: 1px solid rgba(0, 0, 0, .1);
  outline-offset: -1px;
}
.vhave-item .badge-soft {
  min-height: 23px;
  display: inline-flex;
  align-items: center;
  padding: 0 7px;
  color: #08664f;
  border: 1px solid #b9e0d3;
  border-radius: 4px;
  background: #e7f8f2;
  font-size: 10px;
  font-weight: 750;
}
.vhave-item .badge-soft-primary {
  color: #66502a;
  border-color: #ead696;
  background: #fff6d6;
}
.vhave-item .badge-soft-info {
  color: #65539a;
  border-color: #d9d0f1;
  background: #f1edfb;
}
.vhave-item .abacus .price {
  color: var(--vh-danger);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 25px;
  line-height: 1;
  font-weight: 800;
}
.vhave-item .form-label {
  margin-bottom: 6px !important;
  color: #39423e;
  font-size: 13px;
  font-weight: 750;
}
.vhave-item .vstack .form-control {
  min-height: 46px;
  color: var(--vh-ink) !important;
  caret-color: var(--vh-signal-dark);
  border: 1px solid #cfd8d4 !important;
  border-radius: 6px !important;
  background: #fff !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .025) !important;
}
.vhave-item .vstack .form-control::placeholder { color: #939c98 !important; opacity: 1; }
.vhave-item .vstack .form-control:focus {
  color: var(--vh-ink) !important;
  border-color: var(--vh-signal-dark) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(8, 122, 93, .1) !important;
}
.vhave-item .vh-contact-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 8px 0 0;
  padding: 9px 11px;
  color: #5b4934;
  border-left: 3px solid #b7792b;
  border-radius: 0 5px 5px 0;
  background: #fff8e8;
  font-size: 12px;
  line-height: 1.55;
}
.vhave-item .vh-contact-note i {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #99651f;
}
.vhave-item .vstack .form-control:-webkit-autofill {
  -webkit-text-fill-color: var(--vh-ink) !important;
  box-shadow: 0 0 0 1000px #f4faf7 inset !important;
}
.vhave-item .sku,
.vhave-item .optional-card {
  color: #4f5954;
  border-color: #cfd8d4;
  border-radius: 6px;
  background: var(--vh-surface-soft);
}
.vhave-item .sku:hover,
.vhave-item .sku.is-primary {
  color: #063f30;
  border-color: #9bd2c0;
  background: var(--vh-signal-soft);
}
.vhave-item .input-group.qty-group {
  width: fit-content;
  min-width: 142px;
  gap: 6px;
  padding: 5px 6px;
  border: 1px solid #cfd8d4;
  border-radius: 7px;
  background: var(--vh-surface-soft);
  box-shadow: none;
}
.vhave-item .input-group.qty-group > button {
  width: 34px;
  height: 34px;
  color: #fff;
  border: 0;
  border-radius: 5px;
  background: var(--vh-signal-dark);
  box-shadow: none;
}
.vhave-item .input-group.qty-group > .form-control {
  min-height: 34px;
  color: var(--vh-ink) !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.vhave-item .cash-pay {
  color: var(--vh-ink);
  border: 1px solid #cfd8d4;
  border-radius: 8px;
  background: var(--vh-surface-soft);
  box-shadow: none;
}
.vhave-item .cash-pay .form-label { color: var(--vh-ink) !important; }
.vhave-item .cash-pay .pay-list { border-top-color: var(--vh-line); }
.vhave-item .pay-list .pay {
  color: #35403b !important;
  border: 1px solid #cfd8d4 !important;
  border-radius: 6px !important;
  background: #fff !important;
  box-shadow: none;
}
.vhave-item .pay-list .pay span { color: #35403b !important; }
.vhave-item .pay-list .pay:hover {
  border-color: #9bd2c0 !important;
  background: #f4faf7 !important;
}
.vhave-item .pay-list .pay.is-primary,
.vhave-item .pay-list .pay.active,
.vhave-item .pay-list .pay.selected {
  color: #063f30 !important;
  border-color: #73c4a8 !important;
  background: var(--vh-signal-soft) !important;
  box-shadow: 0 0 0 2px rgba(8, 122, 93, .08) !important;
}
.vhave-item .pay-list .pay.is-primary span,
.vhave-item .pay-list .pay.active span,
.vhave-item .pay-list .pay.selected span { color: #063f30 !important; }
.vhave-item .item-detail {
  margin-top: 14px !important;
  color: #4d5752;
  line-height: 1.78;
}
.vhave-item .panel-header {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border: 0;
  border-bottom: 1px solid var(--vh-line);
  background: var(--vh-surface);
}
.vhave-item .panel-header .icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  color: var(--vh-signal-dark);
  border: 1px solid #b9e0d3;
  border-radius: 6px;
  background: var(--vh-signal-soft);
}
.vhave-item .panel-title {
  margin: 0;
  color: var(--vh-ink);
  font-size: 15px;
  font-weight: 800;
}
.vhave-item .item-detail .panel-body {
  padding: 24px 26px 28px;
  color: #20231f;
  background: #b4a992;
}
.vhave-item .item-detail .panel-body [style*="color:#fff" i],
.vhave-item .item-detail .panel-body [style*="color: #fff" i],
.vhave-item .item-detail .panel-body [style*="color:white" i],
.vhave-item .item-detail .panel-body [style*="color: white" i],
.vhave-item .item-detail .panel-body [style*="color:#ffffff" i],
.vhave-item .item-detail .panel-body [style*="color: #ffffff" i] {
  color: #20231f !important;
}
.vhave-item .item-detail h1,
.vhave-item .item-detail h2,
.vhave-item .item-detail h3,
.vhave-item .item-detail h4,
.vhave-item .item-detail h5,
.vhave-item .item-detail h6 {
  color: var(--vh-ink) !important;
  line-height: 1.4;
}
.vhave-item .item-detail h1 { font-size: 24px !important; }
.vhave-item .item-detail h2 { font-size: 21px !important; }
.vhave-item .item-detail h3 { font-size: 18px !important; }
.vhave-item .item-detail p { margin-bottom: 10px; color: #515a56; }
.vhave-item .item-detail a { color: var(--vh-signal-dark) !important; font-weight: 700; }
.vhave-item .item-detail blockquote {
  margin: 12px 0;
  padding: 10px 12px;
  color: #5f4c40;
  border-left: 3px solid var(--vh-warm);
  background: #fff5ef;
}
.vhave-item .item-detail code {
  color: #075f49;
  border-radius: 4px;
  background: #e7f8f2;
}
.vhave-item .item-detail img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  outline: 1px solid rgba(0, 0, 0, .1);
  outline-offset: -1px;
}

@media (max-width: 767.98px) {
  .vhave-item {
    width: calc(100% - 28px);
    padding: 14px 0 34px !important;
  }
  .vhave-item .panel-body { padding: 14px; }
  .vhave-item .panel-body > .row { --bs-gutter-y: 14px; }
  .vhave-item .item-cover {
    height: auto;
    min-height: 240px;
    aspect-ratio: 1 / 1;
  }
  .vhave-item .acg-cover {
    height: auto !important;
    min-height: 0;
    aspect-ratio: 1 / 1;
  }
  .vhave-item h4 { font-size: 21px; }
  .vhave-item .item-detail { margin-top: 10px !important; }
  .vhave-item .item-detail .panel-body { padding: 17px 16px 20px; }
  .vhave-item .item-detail h1 { font-size: 21px !important; }
  .vhave-item .item-detail h2 { font-size: 19px !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body[data-vhave-theme] *,
  body[data-vhave-theme] *::before,
  body[data-vhave-theme] *::after { transition-duration: 0s !important; }
  .vh-network-canvas { opacity: .42; }
}
