/* JouwCarParts — sharper type + cleaner hero (no grain/scan haze) */

html {
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
  text-rendering: geometricPrecision;
}

body,
button,
input,
select,
textarea {
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}

.hero-brand,
.hero-title,
h1,
h2,
h3,
.brand-mark,
.brand-text,
.btn,
.section-title {
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  text-shadow: none;
}

/* Kill soft film over the cover / hero */
.hero-grain,
.hero-scan {
  display: none !important;
  opacity: 0 !important;
  animation: none !important;
}

/* Keep scrim for readability, but less milky */
.hero-scrim {
  opacity: 0.92;
}

/* Stop soft upscale / blur filters on hero photo */
.hero img,
.hero-visual img,
.hero-photo,
.hero picture img,
.hero-bg img {
  transform: none !important;
  filter: none !important;
  backface-visibility: hidden;
}

/* Avoid blurry sticky header text on some GPUs */
.site-header {
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.site-header .brand,
.site-header .main-nav a,
.site-header .header-actions {
  transform: translateZ(0);
}

/* Display font: slightly tighter tracking reads sharper */
.hero-brand {
  letter-spacing: 0.02em !important;
}

.hero-title,
h1.hero-title {
  letter-spacing: 0.03em !important;
}

/* Product cards: no soft hover scale that blurs images */
.product-card:hover {
  transform: translateY(-2px) !important;
}

.product-card img {
  image-rendering: auto;
  backface-visibility: hidden;
}
