/* Lelvion Color Image Switcher 1.0.2.
   This component uses intentional button-state resets to avoid Astra/Elementor
   black hover fills, default shadows and persistent blue pointer-focus rings. */
.lelvion-color-switcher {
  margin: 18px 0 22px;
  width: 100%;
  max-width: 100%;
}
.lelvion-color-switcher__heading {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 12px;
}
.lelvion-color-switcher__options {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
}
/* Scope every button state. High specificity overrides existing theme defaults. */
html body .lelvion-color-switcher button.lelvion-color-switcher__option,
html body .lelvion-color-switcher button.lelvion-color-switcher__option:hover,
html body .lelvion-color-switcher button.lelvion-color-switcher__option:active,
html body .lelvion-color-switcher button.lelvion-color-switcher__option:focus,
html body .lelvion-color-switcher button.lelvion-color-switcher__option[aria-pressed="true"],
html body .lelvion-color-switcher button.lelvion-color-switcher__option[aria-pressed="true"]:hover,
html body .lelvion-color-switcher button.lelvion-color-switcher__option[aria-pressed="true"]:focus {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: flex !important;
  flex: 0 0 86px;
  width: 86px;
  max-width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 3px 2px 4px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  color: #161616 !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: 400 !important;
  line-height: normal !important;
  text-align: center;
  text-decoration: none !important;
  text-transform: none !important;
  opacity: 1 !important;
  box-shadow: none !important;
  outline: none !important;
  transform: none !important;
  filter: none !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
/* Circular photo: one soft border by default. */
html body .lelvion-color-switcher .lelvion-color-switcher__swatch {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 70px;
  height: 70px;
  overflow: hidden;
  border: 2px solid #d2d6db !important;
  border-radius: 50% !important;
  background: #fff !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color .16s ease;
}
html body .lelvion-color-switcher .lelvion-color-switcher__swatch img {
  display: block !important;
  box-sizing: border-box;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  padding: 5px;
  margin: 0;
  border: 0 !important;
  border-radius: 50%;
  background: transparent !important;
  object-fit: contain;
  opacity: 1 !important;
  box-shadow: none !important;
  pointer-events: none;
}
html body .lelvion-color-switcher button.lelvion-color-switcher__option:hover .lelvion-color-switcher__swatch {
  border-color: #858b92 !important;
}
html body .lelvion-color-switcher button.lelvion-color-switcher__option[aria-pressed="true"] .lelvion-color-switcher__swatch,
html body .lelvion-color-switcher button.lelvion-color-switcher__option[aria-pressed="true"]:hover .lelvion-color-switcher__swatch {
  border-color: #161616 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
html body .lelvion-color-switcher .lelvion-color-switcher__name,
html body .lelvion-color-switcher button.lelvion-color-switcher__option:hover .lelvion-color-switcher__name,
html body .lelvion-color-switcher button.lelvion-color-switcher__option[aria-pressed="true"] .lelvion-color-switcher__name {
  display: block;
  width: 100%;
  color: #161616 !important;
  background: transparent !important;
  font-size: 12px !important;
  line-height: 1.35;
  font-weight: 500 !important;
  text-align: center;
  text-decoration: none !important;
  text-transform: none !important;
  overflow-wrap: anywhere;
  opacity: 1 !important;
}
/* Accessibility: only keyboard navigation gets a quiet separate focus indicator.
   Mouse and touch selection never show the theme's blue rectangular outline. */
html body .lelvion-color-switcher button.lelvion-color-switcher__option:focus:not(:focus-visible) {
  outline: none !important;
  box-shadow: none !important;
}
html body .lelvion-color-switcher button.lelvion-color-switcher__option:focus-visible .lelvion-color-switcher__swatch {
  outline: 2px solid #64748b !important;
  outline-offset: 2px;
}
@media (max-width: 767px) {
  .lelvion-color-switcher__options { gap: 8px; }
  html body .lelvion-color-switcher button.lelvion-color-switcher__option {
    flex-basis: 78px;
    width: 78px;
  }
  html body .lelvion-color-switcher .lelvion-color-switcher__swatch { width: 62px; height: 62px; }
  html body .lelvion-color-switcher .lelvion-color-switcher__name { font-size: 11px !important; }
}
