/**
 * SWS Theme Modern - legacy-compat.css
 * Overrides to normalize legacy Bootstrap / base CSS conflicts.
 */

/* Suppress legacy heading styles */
.sws-theme--webshop h1,
.sws-theme--webshop h2,
.sws-theme--webshop h3 {
  font-family: var(--font-family-heading);
  color: var(--color-text);
}

/* Suppress Bootstrap default link color override */
.sws-theme--webshop a {
  color: inherit;
}

/* Normalize category nav links from legacy render */
.sws-theme--webshop .sws-nav.navbar-nav > li > a {
  color: var(--color-text);
  background: none;
  padding: 0;
  line-height: inherit;
}

/* Suppress legacy navbar padding */
.sws-theme--webshop .navbar {
  margin-bottom: 0;
  border: none;
  border-radius: 0;
  background: none;
  min-height: 0;
}

.sws-theme--webshop .navbar-nav {
  margin: 0;
  float: none;
}

/* Fix select2 in theme context */
.sws-theme--webshop .select2-container .select2-choice {
  border-radius: var(--radius-sm);
}

/* Toastr notifications */
.toast-top-right {
  top: calc(var(--topbar-height, 36px) + var(--header-height, 52px) + 60px + 16px);
}
