/*
Theme Name: Autoverse
Theme URI: https://autoverse.ae
Template: astra
Description: Autoverse v1.2 brand theme — child of Astra. Implements the locked v1.2 design system: black master brand, #FF6A1F orange accent, CAT amber on Genuine badges only. Typography: Archivo (display), Inter (body), Geist Mono (part numbers). For the heavy equipment parts catalog use case. Variant B (Genuine-led) homepage. See companion documents Autoverse-Visual-Style-Direction-v1.2.html and Autoverse-Spec-v1.2-Changelog.md.
Author: Autoverse
Author URI: https://autoverse.ae
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: Proprietary
License URI: https://autoverse.ae
Text Domain: autoverse-child
*/

/* ============================================================
   IMPORTS — All design system CSS modules load from here
   ============================================================ */
@import url('assets/css/design-tokens.css');
@import url('assets/css/typography.css');
@import url('assets/css/components.css');

/* ============================================================
   GLOBAL OVERRIDES — applied across the entire site
   These intentionally override Astra defaults where needed.
   ============================================================ */

/* Body baseline */
body {
  font-family: var(--av-font-body);
  color: var(--av-ink);
  background: var(--av-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Headings use display font */
h1, h2, h3, h4, h5, h6,
.entry-title,
.site-title {
  font-family: var(--av-font-display);
  letter-spacing: -0.02em;
  color: var(--av-black);
}

h1 { font-weight: 800; line-height: 1.05; }
h2 { font-weight: 800; line-height: 1.1; }
h3 { font-weight: 700; line-height: 1.2; }

/* Link color override */
a {
  color: var(--av-orange);
  text-decoration: none;
}
a:hover, a:focus {
  color: var(--av-orange-deep);
}

/* Astra primary button overrides */
.wp-block-button__link,
.ast-button,
button[type="submit"]:not(.btn-quote):not(.btn-wa) {
  background-color: var(--av-orange);
  color: var(--av-white);
  border-radius: 6px;
  font-family: var(--av-font-body);
  font-weight: 600;
  padding: 12px 22px;
  border: 0;
  transition: background-color 0.15s;
}
.wp-block-button__link:hover,
.ast-button:hover,
button[type="submit"]:not(.btn-quote):not(.btn-wa):hover {
  background-color: var(--av-orange-deep);
  color: var(--av-white);
}

/* Astra header tweaks */
.site-header {
  border-bottom: 1px solid var(--av-mist);
}

/* Astra logo container — ensure SVG renders at intended size */
.site-logo-img img,
.custom-logo {
  max-height: 36px;
  width: auto;
}

/* Code Snippets-rendered Autoverse components — give them a sensible default
   if displayed before our component CSS loads. Defensive only. */
.av-badge {
  display: inline-flex;
  font-family: var(--av-font-mono);
}
