/* ============================================================
   SELLER EM FOCO — CSS RESET
   Modern reset for consistent cross-browser rendering
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  tab-size: 4;
  font-size: 16px;
}

body {
  min-height: 100vh;
  line-height: var(--sf-leading-normal);
}

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

/* Reset anchors */
a {
  color: inherit;
  text-decoration: none;
}

/* Media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Form elements inherit font */
input, button, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* Typography reset */
h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  font-size: inherit;
  font-weight: inherit;
}

p {
  overflow-wrap: break-word;
}

/* Table reset */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Remove default scrollbar styling for WebKit */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--sf-bg-secondary, #0D0D0D);
}

::-webkit-scrollbar-thumb {
  background: var(--sf-border-default, rgba(255,255,255,0.10));
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--sf-border-strong, rgba(255,255,255,0.15));
}

/* Selection color */
::selection {
  background: var(--sf-accent-glow, rgba(255, 59, 48, 0.25));
  color: var(--sf-text-primary, #FAFAFA);
}
