/* ac Tokens: semantic aliases over Automatic.css (ACSS 4 light-dark() palette). No hex values. */
/* exception: kept: not in move scope (e.g. moved-step exclusion after diff) */ :root {
  --ac-bg: var(--base-ultra-light);          /* page ground */
  --ac-surface: light-dark(var(--white), var(--secondary)); /* cards, nav, panels */
  --ac-text: var(--base);                     /* headings + strong text */
  --ac-text-muted: var(--base-semi-dark);     /* body copy (AA in both modes) */
  --ac-line: var(--base-light);               /* borders/dividers */
  --ac-brand: var(--primary);
  --ac-brand-hover: var(--primary-hover);
  --ac-brand-tint: var(--primary-ultra-light);
  --ac-highlight: var(--accent);              /* cyan / light green */
  --ac-dark: var(--secondary);                /* dark hero, testimonial, footer bands */
  --ac-on-dark: light-dark(var(--white), var(--black)); /* always light: ACSS --black flips to white in dark mode */
  --ac-on-brand: var(--white); /* text on --ac-brand: white in light, black in dark (ACSS --white flips) */
  --ac-radius: var(--radius-m);
  --ac-radius-l: var(--radius-l);
  --ac-radius-pill: var(--radius-circle);
  --ac-nav-height: 72px;                      /* scoped exception from the mockup */
}
/* Scheme switch (Etch pattern scheme-switch-bravo sets html[data-current-scheme]) */
/* exception: :root tokens */ :root[data-current-scheme="moon"] { color-scheme: dark; }
/* exception: :root tokens */ :root[data-current-scheme="sun"] { color-scheme: light; }
/* exception: reset (element rule) */ body { background-color: var(--ac-bg); color: var(--ac-text-muted); }

/* Stage 2 visual fixes (V03, V06-V11): layout tokens */
/* exception: :root tokens */ :root {
  --ac-btn-pad-block: 12px; --ac-btn-pad-inline: 26px; --ac-btn-font-size: var(--text-m); --ac-btn-weight: 700;
  --ac-steps-weight: 700;
  --ac-cta-bg: var(--ac-brand); --ac-cta-text: var(--ac-on-brand);
  --ac-hero-pad: clamp(3.5rem, 6.1vw, 5.5rem); --ac-testimonials-pad: clamp(4rem, 7.2vw, 6.5rem); --ac-footer-pad-top: clamp(2.5rem, 3.9vw, 3.5rem);
  --ac-grid-gap: clamp(1rem, 1.6vw, 1.5rem);
  --ac-shadow-hover: 0 12px 32px color-mix(in oklch, var(--ac-text) 14%, transparent);
}

/* ac-chat-launcher motion */
/* exception: @property must stay global */ @property --ac-launcher-angle {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg;
}
/* exception: @keyframes must stay global */ @keyframes ac-launcher-spin {
  to { --ac-launcher-angle: 360deg; }
}
/* exception: @keyframes must stay global */ @keyframes ac-launcher-compact {
  to { padding: var(--space-xs); gap: 0; }
}
/* exception: @keyframes must stay global */ @keyframes ac-launcher-hide-label {
  to { max-inline-size: 0; opacity: 0; margin-inline: 0; }
}

/* SureCart cart: hide the floating FAB; it is moved into .header__actions */
/* exception: reset (element rule) */ body > .wp-block-surecart-cart-icon {
  display: none !important;
}

/* exception: plugin override */ .wp-block-surecart-cart-icon {
  position: relative !important;
  inset: auto !important;
  inline-size: 44px !important;
  block-size: 44px !important;
  display: grid !important;
  place-items: center;
  background: color-mix(in oklch, var(--ac-brand) 12%, transparent) !important;
  color: var(--ac-brand) !important;
  border-radius: var(--radius-circle) !important;
  box-shadow: none !important;
  cursor: pointer;
  flex: none;
  z-index: 2;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
/* exception: plugin override */ .wp-block-surecart-cart-icon:hover,
.wp-block-surecart-cart-icon:focus-visible {
  background: var(--ac-brand) !important;
  color: var(--ac-on-brand) !important;
  transform: translateY(-1px);
}
/* exception: plugin override */ .wp-block-surecart-cart-icon:focus-visible {
  outline: 2px solid var(--ac-brand);
  outline-offset: 2px;
}
/* exception: plugin override */ .wp-block-surecart-cart-icon[hidden] { display: none !important; }
/* exception: plugin override */ .wp-block-surecart-cart-icon__container {
  inline-size: 44px !important;
  block-size: 44px !important;
  display: grid;
  place-items: center;
}
/* exception: plugin override */ .wp-block-surecart-cart-icon__icon { display: grid; place-items: center; }
/* exception: plugin override */ .wp-block-surecart-cart-icon__icon svg { inline-size: 20px; block-size: 20px; }
/* exception: plugin override */ .wp-block-surecart-cart-icon__count {
  background: var(--ac-highlight) !important;
  color: var(--ac-dark) !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  min-inline-size: 18px;
  block-size: 18px;
  padding: 0 5px !important;
  inset-block-start: -5px !important;
  inset-inline-end: -5px !important;
  display: grid;
  place-items: center;
  line-height: 1;
  box-shadow: 0 0 0 2px var(--ac-surface);
}
/* exception: plugin override */ .header__container > .wp-block-surecart-cart-icon {
  margin-inline-start: auto;
  margin-inline-end: var(--space-xs);
}
