/* Global element styles, layout containers and accessibility helpers. */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-paper);
  font-family: var(--font-sans);
  font-size: 100%;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.product-card__material {
  display: block;
  white-space: nowrap;
  overflow-wrap: normal;
}

.container {
  width: min(100% - 3rem, 76rem);
  margin-inline: auto;
}

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

.screen-reader-text:focus {
  z-index: 100000;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: .75rem 1rem;
  clip: auto;
  background: var(--color-white);
}
