html {
  font-size: 16px;
  box-sizing: border-box;
}

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

[hidden] {
  display: none !important;
}

:root {
  --theme-color-primary: #ff8a00;
  --theme-color-primary-hover: #e67700;
  --theme-color-secondary: #1f2937;
  --theme-color-accent: #f4c400;

  --theme-size-h1: 3rem;
  --theme-size-h2: 2.5rem;
  --theme-size-h3: 2rem;
  --theme-size-h4: 1.5rem;
  --theme-size-h5: 1.25rem;
  --theme-size-h6: 1.125rem;

  --theme-size-label: 0.875rem;
  --theme-size-button: 1rem;
  --theme-size-input: 1rem;
  --theme-size-price: 1.25rem;

  --theme-radius-sm: 0.375rem;
  --theme-radius-md: 0.75rem;
  --theme-radius-lg: 1.5rem;

  --theme-transition: all 0.3s ease;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--theme-color-secondary);
  background-color: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--theme-transition);
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1rem;
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: var(--theme-size-h1);
}

h2 {
  font-size: var(--theme-size-h2);
}

h3 {
  font-size: var(--theme-size-h3);
}

h4 {
  font-size: var(--theme-size-h4);
}

h5 {
  font-size: var(--theme-size-h5);
}

h6 {
  font-size: var(--theme-size-h6);
}

label {
  font-size: var(--theme-size-label);
}

input,
select,
textarea {
  font-size: var(--theme-size-input);
}

.theme-container {
  width: min(100% - 2rem, 1280px);
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.screen-reader-text:focus {
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  margin: 0;
  clip: auto;
  background: #fff;
  z-index: 1000;
}

@media (max-width: 1024px) {
  :root {
    --theme-size-h1: 2.5rem;
    --theme-size-h2: 2.125rem;
    --theme-size-h3: 1.75rem;
    --theme-size-h4: 1.375rem;
  }
}

@media (max-width: 767px) {
  :root {
    --theme-size-h1: 2rem;
    --theme-size-h2: 1.75rem;
    --theme-size-h3: 1.5rem;
    --theme-size-h4: 1.25rem;
    --theme-size-h5: 1.125rem;
    --theme-size-h6: 1rem;

    --theme-size-label: 0.8125rem;
    --theme-size-button: 0.9375rem;
    --theme-size-input: 1rem;
    --theme-size-price: 1.125rem;
  }
}
