
#zenye-products-template #zenye-product-filters .zy-search .zy-search-field{position:relative;flex:1;min-width:0}
#zenye-products-template #zenye-product-filters .zy-search .zy-search-field[data-clear-ready] input{padding-inline-end:48px}
#zenye-products-template #zenye-product-filters .zy-search .zy-search-field[data-clear-ready] input::-webkit-search-cancel-button{display:none}
#zenye-products-template #zenye-product-filters .zy-search .zy-search-field .zy-search-clear{position:absolute;inset-inline-end:2px;top:2px;display:grid;place-items:center;width:44px;height:44px;min-height:0;padding:0;border:0;background:transparent;color:#000;box-shadow:none}
#zenye-products-template #zenye-product-filters .zy-search .zy-search-field .zy-search-clear[hidden],#zenye-products-template #zenye-product-filters .zy-search .zy-search-field input:placeholder-shown + .zy-search-clear{display:none}
#zenye-products-template #zenye-product-filters .zy-search .zy-search-field .zy-search-clear svg{display:block;pointer-events:none;transform:rotate(45deg)}
#zenye-products-template #zenye-product-filters .zy-search .zy-search-field .zy-search-clear:active{background:#F5C51D}
#zenye-products-template #zenye-product-filters .zy-search .zy-search-field .zy-search-clear:focus-visible{outline:2px solid var(--zui-focus-ring,#F5C51D);outline-offset:-3px}
@media(hover:hover) and (pointer:fine){#zenye-products-template #zenye-product-filters .zy-search .zy-search-field .zy-search-clear:hover:not(:active){background:#F3F4F2}}
@media(forced-colors:active){#zenye-products-template #zenye-product-filters .zy-search .zy-search-field .zy-search-clear:focus-visible{outline-color:Highlight}}
#zenye-products-template [data-catalogue-fragment][aria-busy="true"][data-catalogue-page-loading] .zenye-pagination a {
  cursor: pointer;
  opacity: 1;
}

/* Keep the real card grid and its pagination anchor in place while a page is pending. */
:is([data-catalogue-page-loading="skeleton"], [data-catalogue-handoff="crossfade"]) [data-zui-machine-card] {
  --catalogue-placeholder: #e5e6e2;
  opacity: 1;
  transform: none;
  transition: none;
}
[data-catalogue-page-loading="skeleton"] [data-zui-machine-card] > :is(.equipment-card-top-wrap, .equipment-image-wrapper, .equipment-bottom-wrap) {
  visibility: hidden;
}
:is([data-catalogue-page-loading="skeleton"], [data-catalogue-handoff="crossfade"]) [data-zui-machine-card] > :is(.equipment-card-top-wrap, .equipment-image-wrapper, .equipment-bottom-wrap)::after {
  content: "";
  position: absolute;
  inset: 0;
  visibility: visible;
  pointer-events: none;
  background: var(--catalogue-skeleton-shape);
}
:is([data-catalogue-page-loading="skeleton"], [data-catalogue-handoff="crossfade"]) [data-zui-machine-card] > .equipment-card-top-wrap {
  --catalogue-skeleton-shape:
    linear-gradient(var(--catalogue-placeholder) 0 0) 0 0 / 46% 10px no-repeat,
    linear-gradient(var(--catalogue-placeholder) 0 0) 0 calc(50% - 12px) / 90% 16px no-repeat,
    linear-gradient(var(--catalogue-placeholder) 0 0) 0 calc(50% + 12px) / 64% 16px no-repeat,
    linear-gradient(var(--catalogue-placeholder) 0 0) 0 100% / 24% 10px no-repeat;
}
:is([data-catalogue-page-loading="skeleton"], [data-catalogue-handoff="crossfade"]) [data-zui-machine-card] > .equipment-image-wrapper {
  --catalogue-skeleton-shape: linear-gradient(#eeefec 0 0) center / 100% calc(100% - 6px) no-repeat;
}
:is([data-catalogue-page-loading="skeleton"], [data-catalogue-handoff="crossfade"]) [data-zui-machine-card] > .equipment-bottom-wrap {
  --catalogue-skeleton-shape:
    linear-gradient(var(--catalogue-placeholder) 0 0) 0 10% / 70% 9px no-repeat,
    linear-gradient(var(--catalogue-placeholder) 0 0) 0 48% / 58% 9px no-repeat,
    linear-gradient(var(--catalogue-placeholder) 0 0) 0 86% / 42% 9px no-repeat;
}

@media (prefers-reduced-motion: no-preference) {
  @supports (mask: linear-gradient(#000 0 0)) {
    [data-catalogue-page-loading="skeleton"] [data-zui-machine-card] > :is(.equipment-card-top-wrap, .equipment-image-wrapper, .equipment-bottom-wrap) {
      mask: var(--catalogue-skeleton-shape);
    }
    [data-catalogue-page-loading="skeleton"] [data-zui-machine-card] > :is(.equipment-card-top-wrap, .equipment-image-wrapper, .equipment-bottom-wrap)::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 1;
      visibility: visible;
      pointer-events: none;
      background: linear-gradient(90deg, transparent 26%, rgb(255 255 255 / 0.12) 39%, rgb(255 255 255 / 0.42) 50%, rgb(255 255 255 / 0.12) 61%, transparent 74%);
      animation: catalogue-skeleton-sweep 1.2s linear infinite;
    }
  }
}

@keyframes catalogue-skeleton-sweep {
  from { transform: translateX(-75%); }
  to { transform: translateX(75%); }
}

#zenye-products-template .zenye-pagination > ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
#zenye-products-template .zenye-pagination ul.page-numbers > li > :is(a, span).page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-inline-size: 44px;
  block-size: 44px;
  padding: 0;
  border: 1px solid transparent;
  background: #fff;
  color: #171717;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  box-shadow: none;
}
#zenye-products-template .zenye-pagination ul.page-numbers > li > :is(.current, a:active).page-numbers {
  background: #f5c51d;
}
#zenye-products-template .zenye-pagination ul.page-numbers > li > .dots.page-numbers {
  min-inline-size: 28px;
  background: transparent;
  color: #5e5f5b;
}
#zenye-products-template .zenye-pagination ul.page-numbers > li > a:is(.prev, .next).page-numbers {
  gap: 8px;
  padding-inline: 12px;
}
#zenye-products-template .zenye-pagination ul.page-numbers > li > a.prev::before,
#zenye-products-template .zenye-pagination ul.page-numbers > li > a.next::after {
  content: "";
  flex: none;
  inline-size: 6px;
  block-size: 6px;
  border-block-start: 1.5px solid currentColor;
  border-inline-end: 1.5px solid currentColor;
  transform: rotate(45deg);
}
#zenye-products-template .zenye-pagination ul.page-numbers > li > a.prev::before { transform: rotate(-135deg); }

@media (hover: hover) and (pointer: fine) {
  #zenye-products-template .zenye-pagination ul.page-numbers > li > a.page-numbers:hover:not(:active) {
    border-color: #a6a7a1;
    background: #fff;
  }
}

@media (max-width: 600px) {
  #zenye-products-template .zenye-pagination > ul.page-numbers { gap: 2px; }
  #zenye-products-template .zenye-pagination ul.page-numbers > li > a:is(.prev, .next).page-numbers {
    gap: 0;
    padding-inline: 0;
    font-size: 0;
  }
}

/* Pagination owns this short handoff; initial-page card reveals keep their own timing. */
@media (prefers-reduced-motion: no-preference) {
  #zenye-products-template img[data-catalogue-image-pending] { opacity: 0; }
  #zenye-products-template [data-catalogue-handoff] [data-zui-machine-card] > :is(.equipment-card-top-wrap, .equipment-image-wrapper, .equipment-bottom-wrap) > :not([data-catalogue-image-pending]) {
    animation: catalogue-content-in 200ms cubic-bezier(.215,.61,.355,1) both;
  }
  #zenye-products-template [data-catalogue-handoff="crossfade"] [data-zui-machine-card] > :is(.equipment-card-top-wrap, .equipment-image-wrapper, .equipment-bottom-wrap)::after {
    animation: catalogue-placeholder-out 200ms cubic-bezier(.215,.61,.355,1) both;
  }
}
@keyframes catalogue-content-in { from { opacity: 0; } }
@keyframes catalogue-placeholder-out { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  #zenye-products-template [data-catalogue-handoff] [data-zui-machine-card] > :is(.equipment-card-top-wrap, .equipment-image-wrapper, .equipment-bottom-wrap)::after { content: none; }
}

/* Keep pagination centered while the explicit in-page control sits beside it. */
#zenye-products-template .zenye-pagination[data-catalogue-top-ready] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}
#zenye-products-template .zenye-pagination[data-catalogue-top-ready] > ul { grid-column: 2; }
#zenye-products-template .zenye-pagination .zenye-catalogue-back-top {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-block-size: 44px;
  padding: 0 12px;
  border: 1px solid transparent;
  font: 600 14px/1.5 "Manrope", Arial, sans-serif;
  white-space: nowrap;
}
#zenye-products-template .zenye-pagination .zenye-catalogue-back-top svg { flex: none; }
@media (hover: hover) and (pointer: fine) {
  #zenye-products-template .zenye-pagination a.zenye-catalogue-back-top:hover:not(:active) {
    border-color: #a6a7a1;
    background: #fff;
  }
}
@media (max-width: 900px) {
  #zenye-products-template .zenye-pagination[data-catalogue-top-ready] { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  #zenye-products-template .zenye-pagination[data-catalogue-top-ready] > ul { grid-column: 1; }
  #zenye-products-template .zenye-pagination .zenye-catalogue-back-top { grid-column: 1; justify-self: center; }
}
