/*
Theme Name: 6ixmerchandise (Kadence child)
Template: kadence
Version: 1.0.1
Description: 6ixmerchandise.ca storefront — rebuilt from the Shopify Horizon theme. Tokens in assets/css/tokens.css.
Text Domain: sixm
*/

/* ==========================================================================
   This file is the CHILD THEME STYLESHEET HANDLE (`sixm-child`), enqueued by
   functions.php immediately after assets/css/tokens.css and before every
   component stylesheet.

   Keep it thin. It carries only the rules that must sit between the Kadence
   parent's CSS and our component layer:

     1. Kadence global-palette bridge — Kadence's own PHP components resolve
        colours through --global-paletteN, emitted by the Customizer. We alias
        the 6M tokens onto those slots as a FALLBACK so the storefront still
        looks right if the Customizer palette has not been applied yet
        (FRONTEND_ARCHITECTURE §0.1, §1.1).
     2. A few parent-theme neutralisations that only make sense at this layer.

   Everything else lives in assets/css/{base,header,footer,cart-drawer}.css.
   ========================================================================== */

:root {
  /* Fallbacks only: a real `kadence_global_palette` option overrides these
     because Kadence prints its own :root block later in the cascade. */
  --global-palette1: #c02b30;   /* --6m-signal        */
  --global-palette2: #ff3a30;   /* --6m-signal-2      */
  --global-palette3: #0a0a0a;   /* --6m-ink           */
  --global-palette4: #1a1a1a;   /* --6m-ink-2         */
  --global-palette5: #696969;   /* --6m-muted flat — #787878 was 4.42/3.98/3.63 on white/bg-2/bg-3 (R5-10) */
  --global-palette6: #a9a9a9;   /* --6m-muted-2 flat  */
  --global-palette7: #ebe9e2;   /* --6m-bg-3          */
  --global-palette8: #f4f3ef;   /* --6m-bg-2          */
  --global-palette9: #ffffff;   /* --6m-bg            */
  --global-palette10: #c9a96e;  /* --6m-gold          */
  --global-palette11: #16a34a;
  --global-palette12: #1d3686;
  --global-palette13: #ef4444;
  --global-palette14: #ee9441;
  --global-palette15: #0a0a0a;

  --global-content-width: 1440px;
  --global-content-narrow-width: 842px;
}

/* The parent reserves space for its own header/footer wrappers; ours are
   rendered instead (see inc/setup.php for the documented remove_action pair),
   so collapse any residue rather than leaving an empty band. */
#main-header:empty,
#colophon:empty,
.site-header-wrap:empty { display: none; }

/* Kadence adds a top margin to the content wrap that assumed its own header. */
main#inner-wrap { margin-top: 0; }
