:root {
  --shop-background: #ffffff;
  --shop-surface: #f6f5f2;
  --shop-text: #171717;
  --shop-muted: #656565;
  --shop-border: #d8d6d0;
  --shop-accent: #171717;

  --shop-content-width: 78rem;
  --shop-reading-width: 48rem;

  --shop-space-1: 0.375rem;
  --shop-space-2: 0.75rem;
  --shop-space-3: 1rem;
  --shop-space-4: 1.5rem;
  --shop-space-5: 2rem;
  --shop-space-6: 3rem;
  --shop-space-7: 5rem;

  --shop-radius: 0.2rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color: var(--shop-text);
  background: var(--shop-background);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 100%;
  line-height: 1.55;
}

body {
  margin: 0;
  color: var(--shop-text);
  background: var(--shop-background);
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  text-decoration-thickness: 0.14em;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  margin-block: 0 0.65em;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 7vw, 5.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 3.25rem);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
}

p {
  margin-block: 0 1.2em;
}

hr {
  margin-block: var(--shop-space-6);
  border: 0;
  border-top: 1px solid var(--shop-border);
}

.visually-hidden {
  position: absolute !important;
}
