/* ══════════════════════════════════════════════
   RESET — Baltic Flooring
   ══════════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Smooth scroll lock utility */
body.scroll-locked {
  overflow: hidden;
  touch-action: none;
}

/* Typography reset */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
}

p {
  line-height: 1.7;
}

/* Links */
a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

a:hover {
  color: var(--color-accent-light);
}

a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 3px;
}

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

/* Lists */
ul, ol {
  list-style: none;
}

/* Buttons */
button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* Form elements */
input, select, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
}

/* Touch targets — minimum 44px for all interactive elements */
.btn,
button,
input[type="submit"],
a.btn,
.btn-nav-cta,
.tab-btn,
.gallery-prev,
.gallery-next,
.hamburger {
  min-height: 44px;
}

/* Address */
address {
  font-style: normal;
}

/* Figure */
figure {
  margin: 0;
}

/* SVG */
svg {
  overflow: hidden;
  vertical-align: middle;
}

/* Selection */
::selection {
  background: var(--color-accent);
  color: var(--color-text-dark);
}
