html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus, .form-select:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 96px;
}

.admin-shell {
  min-height: calc(100vh - 120px);
}

.navbar form {
  margin-bottom: 0;
}

.brand-link {
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1;
  white-space: nowrap;
}

.brand-mark {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.45rem;
}

.top-nav-link {
  color: var(--bs-dark);
  border-radius: 999px;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.top-nav-link:hover,
.top-nav-link:focus-visible {
  background-color: rgba(33, 37, 41, 0.08);
  color: var(--bs-dark);
}

@media (min-width: 992px) {
  .navbar form .form-control {
    min-width: 15rem;
  }
}

iframe {
  border: 0;
}

.catalog-card {
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.catalog-card-accent {
  overflow: hidden;
}

.catalog-card-accent::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--catalog-card-accent);
  z-index: 0;
}

.catalog-card:hover,
.catalog-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.12) !important;
}

.catalog-card .card-body {
  position: relative;
  z-index: 1;
}

.catalog-card .stretched-link {
  color: inherit;
}

.catalog-card .stretched-link:hover {
  color: inherit;
}

.catalog-card .card-interactive {
  position: relative;
  z-index: 1;
}

.family-accent-swatch {
  width: 0.9rem;
  height: 0.9rem;
  background: var(--catalog-card-accent, transparent);
}

.system-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  background: var(--bs-light-bg-subtle, #f8f9fa);
  color: inherit;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.system-pill:hover {
  color: inherit;
  background: var(--bs-secondary-bg);
  border-color: var(--bs-secondary-border-subtle, var(--bs-border-color));
}

.system-pill-count {
  color: var(--bs-secondary-color);
  white-space: nowrap;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: normal;
  line-height: 1.4;
  padding: 1rem 0;
}

.footer .container {
  min-height: 60px;
  align-items: center;
}
