/* ==========================================================================
   SONIQ Live — Demo style switcher (DEMO ONLY — safe to remove)
   ========================================================================== */
.sq-switcher {
  position: fixed;
  top: 50%;
  left: 0;
  z-index: 1500;
  display: flex;
  align-items: flex-start;
  transform: translate(-280px, -50%);
  transition: transform 0.5s var(--sq-ease);
  color-scheme: dark;
}

.sq-switcher.is-open {
  transform: translate(0, -50%);
}

.sq-switcher__panel {
  order: 1;
  width: 280px;
  max-height: min(640px, 86vh);
  padding: 1.25rem 1.25rem 1.5rem;
  overflow-y: auto;
  color: #f4f4fa;
  background: rgba(13, 13, 22, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 0;
  border-radius: 0 18px 18px 0;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.sq-switcher__toggle {
  order: 2;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-top: 18px;
  padding: 0;
  font-size: 1.3rem;
  color: #fff;
  background: var(--sq-gradient);
  border: 0;
  border-radius: 0 14px 14px 0;
  box-shadow: 0 10px 30px -10px rgba(var(--sq-primary-rgb), 0.8);
  cursor: pointer;
}

.sq-switcher__toggle i {
  display: inline-block;
  animation: sq-spin 6s linear infinite;
}

.sq-switcher__title {
  margin: 0 0 1rem;
  font-family: var(--sq-font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.sq-switcher__group + .sq-switcher__group {
  margin-top: 1.1rem;
}

.sq-switcher__label {
  margin: 0 0 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a9a9c0;
}

.sq-switcher__note {
  margin: 0.4rem 0 0;
  font-size: 0.75rem;
  color: #6f6f88;
}

.sq-switcher__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.sq-switcher__option {
  flex: 1 1 auto;
  min-height: 36px;
  padding: 0.35rem 0.7rem;
  font-family: var(--sq-font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: #d8d8e6;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.sq-switcher__option:hover {
  border-color: rgba(255, 255, 255, 0.35);
}

.sq-switcher__option.is-active {
  color: #fff;
  background: var(--sq-gradient);
  border-color: transparent;
}

.sq-switcher__options--swatch {
  gap: 0.6rem;
}

.sq-switcher__swatch {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  min-height: 0;
  padding: 0;
  border-radius: 50%;
  border: 2px solid transparent;
}

.sq-switcher__swatch.is-active {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.sq-switcher__reset {
  width: 100%;
  min-height: 40px;
  margin-top: 1.4rem;
  font-family: var(--sq-font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  cursor: pointer;
}

.sq-switcher__reset:hover {
  border-color: var(--sq-accent);
}

.sq-switcher__listing {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--sq-gradient);
  border-radius: 999px;
}

.sq-switcher__listing:hover {
  color: #fff;
  filter: brightness(1.1);
}

.sq-switcher :focus-visible {
  outline: 2px solid var(--sq-accent);
  outline-offset: 2px;
}

@media (max-width: 575.98px) {
  .sq-switcher {
    top: auto;
    bottom: 90px;
    transform: translate(-280px, 0);
  }

  .sq-switcher.is-open {
    transform: none;
  }

  .sq-switcher__toggle {
    width: 44px;
    height: 44px;
    margin-top: 0;
    align-self: flex-end;
  }
}

@media print {
  .sq-switcher {
    display: none;
  }
}
