/* ADOT final all-in-one: powder galleries, visible focus and generous touch targets. */
:focus-visible {
  outline: 3px solid #1986ef;
  outline-offset: 3px;
}

.language-switcher a,
.catalog-filters button,
.footer-bottom button[data-cookie-settings] {
  min-height: 44px;
}

.language-switcher a {
  min-width: 44px;
}

.category-image > span {
  color: #5c6d7d;
}

.powder-gallery-main {
  border-radius: 18px;
  background: var(--surface);
}

.powder-gallery-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.powder-gallery-choice {
  display: grid;
  place-items: center;
  gap: 5px;
  min-width: 0;
  min-height: 92px;
  padding: 6px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.25;
}

.powder-gallery-choice img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.powder-gallery-choice:hover,
.powder-gallery-choice:focus-visible,
.powder-gallery-choice[aria-current="true"] {
  border-color: var(--blue-600);
  color: var(--navy-900);
  box-shadow: 0 0 0 3px #0875e11f;
}

.powder-gallery-choice span {
  overflow-wrap: anywhere;
}

@media (max-width: 520px) {
  .powder-gallery-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .powder-gallery-choice {
    min-height: 88px;
  }

  .powder-gallery-choice img {
    width: 52px;
    height: 52px;
  }
}
