/**
 * KEY Commerce — storefront layout foundation
 *
 * The document owns vertical scrolling. Wide sliders, marquees, and off-canvas
 * panels are clipped only at the viewport edge. The site header uses CSS sticky
 * positioning on its outer wrapper, so it stays in normal flow and never changes
 * the document height while the user is scrolling.
 */
html {
  max-width: 100%;
  overflow-x: clip;
}

body {
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
}

.main_wrapper {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.site-header-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
}

/*
 * Defensive override for a stale .sticky class left by cached legacy JavaScript.
 * It must never switch the inner header to position:fixed.
 */
.site-header-sticky .headerarea.header__sticky,
.site-header-sticky .headerarea.header__sticky.sticky {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  width: 100%;
  margin-top: 0;
  animation: none;
}

/* KEY_SHARED_PUBLIC_PAGINATION_V1_START */
.site-pagination {
  margin-block: 32px 0;
  display: flex;
  justify-content: center;
}

.site-pagination__list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  direction: ltr;
  list-style: none;
}

.site-pagination__list > li {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
}

.site-pagination .site-pagination__list > li > :is(a, span) {
  min-width: 48px;
  height: 48px;
  margin: 0;
  padding-inline: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);
  background: var(--site-surface-elevated);
  color: var(--site-text);
  box-shadow: 0 4px 14px
    color-mix(in srgb, var(--site-text) 7%, transparent);
  line-height: 1;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.site-pagination .site-pagination__list > li:first-child > :is(a, span),
.site-pagination .site-pagination__list > li:last-child > :is(a, span) {
  border-radius: var(--site-radius);
}

.site-pagination__list > li:not(.active, .disabled) > a:hover,
.site-pagination__list > li:not(.active, .disabled) > a:focus-visible {
  border-color: var(--site-primary);
  background: color-mix(
    in srgb,
    var(--site-primary) 10%,
    var(--site-surface-elevated)
  );
  color: var(--site-primary-readable);
  box-shadow: 0 7px 18px
    color-mix(in srgb, var(--site-primary) 16%, transparent);
  transform: translateY(-1px);
}

.site-pagination__list > li > a:focus-visible {
  outline: 3px solid
    color-mix(in srgb, var(--site-primary) 24%, transparent);
  outline-offset: 2px;
}

.site-pagination__list > .active > :is(a, span) {
  border-color: var(--site-primary);
  background: var(--site-primary);
  color: var(--site-on-primary);
  box-shadow: 0 8px 20px
    color-mix(in srgb, var(--site-primary) 22%, transparent);
  pointer-events: none;
}

.site-pagination__list > .disabled > :is(a, span) {
  background: var(--site-surface-muted);
  color: var(--site-text-muted);
  box-shadow: none;
  opacity: 0.55;
  pointer-events: none;
}

@media (max-width: 575px) {
  .site-pagination {
    margin-top: 26px;
  }

  .site-pagination__list {
    gap: 7px;
  }

  .site-pagination .site-pagination__list > li > :is(a, span) {
    min-width: 44px;
    height: 44px;
    padding-inline: 12px;
  }
}
/* KEY_SHARED_PUBLIC_PAGINATION_V1_END */