/* One optical weight, currentColor and a 24px grid for all application icons. */
:root[data-app-theme] .vc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  min-width: 1em;
  flex-shrink: 0;
  vertical-align: -.125em;
  line-height: 1 !important;
  font-style: normal;
  font-weight: 400 !important;
  letter-spacing: normal;
  text-transform: none;
}
:root[data-app-theme] .vc-icon::before,
:root[data-app-theme] .vc-icon::after { content: none !important; display: none !important; }
:root[data-app-theme] .vc-icon-source { display: none !important; }
:root[data-app-theme] .vc-icon-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  fill: none !important;
  stroke: currentColor;
}
:root[data-app-theme] svg.vc-icon { display: inline-block; }
:root[data-app-theme] .menu-icon svg.vc-icon { width: 20px; height: 20px; }
:root[data-app-theme] .svg-icon svg.vc-icon { width: 24px; height: 24px; }
:root[data-app-theme] svg.md-lang-ico.vc-icon { width: 20px; height: 20px; }
/* Legacy admin styles set a primary color directly on SVGs. The active item
 * must inherit the contrasting foreground of its sidebar background. */
:root[data-app-theme][data-theme] #kt_aside .menu-link.active .menu-icon .vc-icon {
  color: var(--sidebar-primary-foreground) !important;
}
:root[data-app-theme] svg.vc-icon,
:root[data-app-theme] svg.vc-icon :is(path, circle, rect, line, polyline, polygon, ellipse),
:root[data-app-theme] .vc-icon-svg :is(path, circle, rect, line, polyline, polygon, ellipse) {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.75 !important;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Same 20px size in the header, regardless of the original font family. */
:root[data-app-theme] :is(.shop-icon-btn, .shop-burger, .uc-theme-btn, .uc-burger) .vc-icon {
  font-size: 20px !important;
}
:root[data-app-theme] :is(.shop-btn, .shop-menu__item, .shop-drawer__link) .vc-icon {
  font-size: 18px !important;
}
:root[data-app-theme] .shop-search__box .vc-icon { font-size: 18px; }
:root[data-app-theme] button.wx_qrcode_temp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 1;
}
/* Existing hand-authored authentication SVGs use the same optical weight. */
:root[data-app-theme] :is(.lk-field__ico, .lk-orb__ico, .lk-menu__check,
  .lk-eye svg, .lk-go svg, .btn-passkey__icon) {
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (prefers-reduced-motion: reduce) {
  :root[data-app-theme] :is(.vc-icon.icon-spin, .vc-icon.fa-spin) { animation: none !important; }
}
