/*
Theme Name:   Rockcrete Child
Theme URI:    https://rockcreteusa.com
Description:  Rockcrete USA child theme for Hello Elementor. All project CSS, token
              overrides and template functions live here. Never edit the parent theme.
Author:       New Minds Group
Template:     hello-elementor
Version:      0.4.37
Text Domain:  rockcrete-child
License:      GNU General Public License v2 or later
*/

@font-face { font-family: Poppins; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/poppins-400.ttf') format('truetype'); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/poppins-500.ttf') format('truetype'); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/poppins-600.ttf') format('truetype'); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/poppins-700.ttf') format('truetype'); }

/* ---------------------------------------------------------------------------
   Design tokens.
   Blueprint #design/foundation/system, read 2026-09-07.
   Foundation locked in source, final client acceptance pending.
   Source: /design/phase2/visual-system-client-review on the project Blueprint.
   --------------------------------------------------------------------------- */
:root {
  --rc-color-surface: #ffffff;
  --rc-color-ink: #212531;
  --rc-color-ink-muted: #5b616e;
  --rc-color-line: #d9dce2;
  --rc-color-accent: #fab445;
  --rc-color-accent-ink: #212531;
  --rc-color-bronze: #c97929;
  --rc-color-charcoal: #2d2d2d;
  --rc-color-background: #f5f6f8;
  --rc-color-surface-secondary: #eef0f3;
  --rc-color-controls: #767d8a;
  --rc-color-bronze-ink: #96520f;
  --rc-color-success: #23733c;
  --rc-color-error: #b42318;
  --rc-font-family: Poppins, Arial, sans-serif;
  --rc-font-technical: ui-monospace, monospace;
  --rc-focus-ring: 2px solid var(--rc-color-ink);
  --rc-radius: 4px;
  --rc-tap-target: 44px;           /* mobile task controls: 44px minimum */
}

/* Accessibility baseline - required by the QA gate. */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: var(--rc-focus-ring);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--rc-color-surface);
}

@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;
  }
}

/* Project CSS begins below. Keep selectors scoped; do not restyle Elementor
   or WooCommerce internals without recording the reason. */

/* Theme-native navigation fallback while Elementor header/footer are reviewed. */
body { font-family: var(--rc-font-family); color: var(--rc-color-charcoal); }
#site-header .site-title a,
#site-header .site-navigation a,
#site-header .site-navigation-dropdown a,
#site-footer a { color: var(--rc-color-ink); font-family: var(--rc-font-family); }
#site-header .site-title { font-size: 28px; font-weight: 600; }
#site-header .site-navigation a:hover,
#site-footer a:hover { color: var(--rc-color-bronze-ink); }
/* Owned review-layout heroes supply their H1; suppress duplicate theme titles. */
body.home.page-id-34 .page-header,
body.page-id-36 .page-header { display: none; }
/* Preserve the supplied Home heading measure while catalog data is deferred. */
body.page-id-34 .rc-fidelity #featured-products h2 { max-width: 760px; }
