[data-catalog-selection] {
  --catalog-fill: #f9e4f0;
  --catalog-edge: #dab0c8;
  --catalog-ink: #804568;
  position: relative;
  isolation: isolate;
}
.segments[data-catalog-selection] {
  --catalog-fill: #e2f5fb;
  --catalog-edge: #a8d4e4;
  --catalog-ink: #28677d;
}
.catalog-selection-marker {
  position: absolute;
  inset: 0 auto auto 0;
  z-index: -1;
  border: 1px solid var(--catalog-edge);
  border-radius: 7px;
  background: var(--catalog-fill);
  box-shadow: 0 2px 4px #5d365b0a;
  transform-origin: top left;
  pointer-events: none;
}
.catalog-selection-marker[hidden] { display: none; }
html.holo-studio-ui body [data-catalog-selection].catalog-selection-ready > button[aria-pressed] {
  position: relative;
  min-height: 44px;
  background: transparent !important;
  box-shadow: none !important;
  animation: none !important;
  scale: 1 !important;
  transform: none !important;
  border-color: transparent !important;
  font-size: 12px !important;
  transition: color .18s ease, border-color .18s ease;
}
html.holo-studio-ui body [data-catalog-selection].catalog-selection-ready > button[aria-pressed="true"] {
  color: var(--catalog-ink) !important;
}
html.holo-studio-ui body .goods-filters[data-catalog-selection] > button[aria-pressed] {
  border-bottom-color: transparent !important;
  border-radius: 7px !important;
}
[data-catalog-selection] > button:focus-visible {
  outline: 2px solid var(--catalog-ink) !important;
  outline-offset: -3px !important;
}
html.holo-studio-ui body [data-catalog-search] {
  position: relative;
  border: 1px solid #d9dfe9 !important;
  border-radius: 8px !important;
  background: #fff !important;
  transition: border-color .18s ease, box-shadow .18s ease;
}
html.holo-studio-ui body [data-catalog-search]:focus-within {
  border-color: #9bbfcf !important;
  box-shadow: 0 0 0 3px #dff1f5 !important;
  outline: none;
}
html.holo-studio-ui body [data-catalog-search] input {
  background: transparent !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  min-width: 0;
  padding-right: 46px !important;
}
[data-catalog-search] input::-webkit-search-cancel-button { display: none; }
html.holo-studio-ui body .catalog-search-clear {
  position: absolute;
  right: 0;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  scale: 1 !important;
}
html.holo-studio-ui body .catalog-search-clear[hidden] { display: none; }
.catalog-search-clear img { opacity: .65; }
.catalog-search-clear:focus-visible { outline: 2px solid #47798a !important; outline-offset: -5px; }
[data-catalog-search]:focus-within > img {
  animation: catalog-search-nod .38s cubic-bezier(.22, 1, .32, 1) 1;
}
.search-box[data-catalog-search] > img {
  position: absolute;
  left: 12px;
  top: 50%;
  translate: 0 -50%;
  pointer-events: none;
}
@keyframes catalog-search-nod {
  0% { rotate: 0deg; scale: 1; }
  38% { rotate: -12deg; scale: 1.08; }
  72% { rotate: 4deg; scale: .98; }
  100% { rotate: 0deg; scale: 1; }
}
html.holo-studio-ui body .art-search[data-catalog-search] {
  position: sticky;
  margin-block: 6px;
  padding: 0 12px;
  min-height: 46px;
}
@media (max-width: 760px) {
  html.holo-studio-ui body .segments[data-catalog-selection] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
  }
  html.holo-studio-ui body .segments[data-catalog-selection] > button {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-catalog-search], [data-catalog-selection] > button { transition: none !important; }
  [data-catalog-search]:focus-within > img { animation: none !important; }
}
