html { scroll-behavior: smooth; }

body,
button,
input,
select,
textarea {
  color: var(--kc-color-ink);
  font-family: var(--kc-font-body) !important;
  line-height: 1.75;
}

body {
  background: var(--kc-color-canvas);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--kc-color-ink);
  font-family: var(--kc-font-display) !important;
  font-weight: 700;
  line-height: 1.35;
}

a,
button,
input,
select,
textarea,
[tabindex] { scroll-margin-block: 7rem; }

:focus-visible {
  border-radius: var(--kc-radius-sm);
  outline: 2px solid var(--kc-color-brand);
  outline-offset: 3px;
  box-shadow: var(--kc-shadow-focus);
}

.khoychin-skip-link {
  position: fixed;
  inset-block-start: var(--kc-space-3);
  inset-inline-start: var(--kc-space-3);
  z-index: 100000;
  min-block-size: 2.75rem;
  padding: var(--kc-space-2) var(--kc-space-4);
  translate: 0 -180%;
  border-radius: var(--kc-radius-sm);
  background: var(--kc-color-brand-strong);
  color: #fff;
}

.khoychin-skip-link:focus { translate: 0; }

bdi[dir="ltr"] {
  font-variant-numeric: tabular-nums;
  unicode-bidi: isolate;
}

img {
  block-size: auto;
  max-inline-size: 100%;
}

.khoychin-mode-showcase :is(.wd-header-cart, .cart-widget-side, .wd-toolbar-cart, .wd-sticky-btn),
.khoychin-storefront :is(.wd-header-wishlist, .wd-header-compare, .wd-header-my-account, .menu-item-wishlist, .menu-item-account) {
  display: none !important;
}

.screen-reader-text {
  position: absolute !important;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
