/* ===================================================================
   Everyday Coffee — Typography Refresh (Option 3: Outfit, Bolder)
   Load AFTER ecommerce_a.css
   =================================================================== */

/* Body & base */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
               Arial, "Noto Sans", sans-serif !important;
  font-weight: 400;        /* was 300 */
  line-height: 1.6;
  color: #1b1f26;
}

/* Headings — bolder + slightly tighter tracking */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
               Arial, "Noto Sans", sans-serif !important;
  font-weight: 400 !important;    /* default heading weight */
  letter-spacing: 0.01em;         /* was 0.02em */
  line-height: 1.15;
  color: inherit;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

/* Heavier emphasis on top hierarchy */
h1, .h1 { font-weight: 500 !important; font-size: clamp(34px, 4.2vw, 56px); }
h2, .h2 { font-weight: 500 !important; font-size: clamp(26px, 3.2vw, 40px); }
h3, .h3 { font-weight: 400 !important; font-size: clamp(20px, 2.4vw, 28px); }
h4, .h4 { font-size: 1.44rem; }
h5, .h5 { font-size: 1.2rem; }
h6, .h6 { font-size: 1rem; }

/* Display sizes — confident but not shouty */
.display-1 { font-size: 6rem;   font-weight: 400; line-height: 1.2; }
.display-2 { font-size: 5.5rem; font-weight: 400; line-height: 1.2; }
.display-3 { font-size: 4.5rem; font-weight: 400; line-height: 1.2; }
.display-4 { font-size: 3.5rem; font-weight: 400; line-height: 1.2; }

/* Paragraphs & inline */
p {
  font-family: inherit !important;
  font-weight: 400;         /* was 300 */
  margin-top: 0;
  margin-bottom: 1rem;
}
.lead { font-size: 1.2rem; font-weight: 400; }
small, .small { font-size: 80%; font-weight: 400; }
b, strong { font-weight: 600; }

/* Pricing & product emphasis (common class names) */
.price, .product-price, .amount, .money, .sale-price {
  font-weight: 500;
  letter-spacing: 0.005em;
}

/* Links — keep ECR blue */
a {
  color: #1d3563;
  text-decoration: none;
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}
a:hover { color: #0056b3; text-decoration: underline; }

/* Forms & interactive */
input, button, select, optgroup, textarea {
  font-family: inherit !important;
  font-size: inherit;
  line-height: inherit;
}

/* CTAs — stronger */
button, .btn, .cta,
.checkout-btn-next-step, .checkout-btn-place-order {
  font-weight: 500;           /* was 400 */
  letter-spacing: 0.01em;     /* was 0.02em */
}
button.btn-primary, .btn-primary,
.checkout-btn-place-order {
  font-weight: 600;           /* primary actions pop a bit more */
}

/* Blog header harmony (keeps your style, boosts weight) */
.blog-masonry-container .header h1 {
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Guardrails: neutralize legacy font declarations */
h1, h2, h3, h4, h5, h6 { font-family: "Outfit", sans-serif !important; }
p { font-family: "Outfit", sans-serif !important; }
