/* ================================================================
   FRAMOS CABINETS — CSS Reset & Base
   ================================================================ */

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

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

/* Body */
body {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text-body);
  background: var(--white);
  padding-top: var(--navbar-h);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Images */
img, video, svg {
  display: block;
  max-width: 100%;
}

img { height: auto; }

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

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

/* Inputs */
input, select, textarea, button {
  font-family: var(--font-body);
  font-size: var(--text-base);
}

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

/* Focus */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Selection */
::selection {
  background: var(--gold);
  color: var(--navy);
}

/* Scrollbar */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--offwhite); }
::-webkit-scrollbar-thumb { background: #c0bdc0; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--navy); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ── Utility ──────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.icon {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}
