/* cart_extend design tokens – update here to change the visual appearance.
 * All frontend components refer to these variables. Can be overridden by the
 * sitepackage after this stylesheet without modifying extension CSS files.
 */
:root {
  /* Typography */
  --ce-font-family: inherit;
  /* 16 px base, at a browser default of 16 px; keep inputs >= 16 px. */
  --ce-font-size-xs: .8125rem; /* 13 px: calendar weekday abbreviations only */
  --ce-font-size-sm: .875rem; /* 14 px: supporting text */
  --ce-font-size-base: 1rem; /* 16 px: all normal text, tables and controls */
  --ce-font-size-md: 1rem; /* compatibility alias for normal text */
  --ce-font-size-lg: 1.125rem; /* 18 px: frame legends */
  --ce-font-size-xl: 1.25rem; /* 20 px: emphasized figures */
  --ce-font-size-page-heading: 1.5rem; /* 24 px */
  --ce-font-size-section-heading: 1.375rem; /* 22 px */
  --ce-font-size-subheading: 1.125rem; /* 18 px */
  --ce-font-size-control: var(--ce-font-size-base);
  --ce-font-size-table: var(--ce-font-size-base);
  --ce-font-size-button: var(--ce-font-size-base);
  --ce-font-size-total: var(--ce-font-size-lg);
  --ce-font-size-product-heading: var(--ce-font-size-section-heading);
  --ce-font-size-icon: 1.25rem;
  --ce-font-size-calendar-nav: 1.5rem;
  --ce-line-height-base: 1.5;
  --ce-line-height-heading: 1.3;
  --ce-line-height-control: 1.4;

  /* Neutral palette. All gray shades use transparent BLACK; change the
   * alpha values here, not in component stylesheets. Main frame: 0.175.
   * White paper is intentional for forms/legend cutouts; not a gray fill. */
  --ce-color-paper: #fff;
  --ce-color-surface: rgba(0, 0, 0, 0.035);
  --ce-color-surface-hover: rgba(0, 0, 0, 0.07);
  --ce-color-border: rgba(0, 0, 0, 0.175);
  --ce-color-border-subtle: rgba(0, 0, 0, 0.10);
  --ce-color-border-strong: rgba(0, 0, 0, 0.27);
  --ce-color-shadow: rgba(0, 0, 0, 0.175);
  --ce-color-text-muted: rgba(0, 0, 0, 0.68);
  --ce-color-text-subtle: rgba(0, 0, 0, 0.60);
  --ce-color-text-disabled: rgba(0, 0, 0, 0.45);
  --ce-color-print-text: rgba(0, 0, 0, 0.92);
  --ce-color-print-rule: rgba(0, 0, 0, 0.175);
  --ce-color-text: #18212b;

  /* Intentionally colored actions, alerts and selection/focus states. */
  --ce-color-blue: #174d80;
  --ce-color-blue-hover: #dce8f5;
  --ce-color-blue-focus: #195f9b;
  --ce-color-blue-border: #607e9c;
  --ce-color-blue-ink: #24425e;
  --ce-color-notice: #f0f6ff;
  --ce-color-notice-border: #466d9d;
  --ce-color-success: #146c43;
  --ce-color-danger: #a32020;
  --ce-color-warning: #9a3412;
  --ce-color-attention: #fff0c2;
  --ce-color-attention-hover: #ffe39a;
  --ce-color-attention-ink: #653e00;
  --ce-color-attention-border: #b86700;
  --ce-color-attention-shadow: rgba(184, 103, 0, 0.15);

  /* Geometry */
  --ce-radius-panel: .45rem;
  --ce-radius-control: .3rem;
  --ce-radius-compact: .2rem;
  --ce-radius-nav: .4rem;
  --ce-radius-pill: 1rem;
  --ce-radius-button: 0;
  --ce-panel-padding-x: 1.15rem;
  --ce-panel-padding-y: 1rem;
  --ce-field-padding-x: .7rem;
  --ce-field-padding-y: .55rem;

  /* Product selection actions. Override if the site has a brand palette. */
  --ce-product-button-bg: #24425e;
  --ce-product-button-hover: #174d80;
  --ce-product-button-text: #fff;
  --ce-product-button-disabled-bg: rgba(0, 0, 0, 0.55);

  /* Shopping-cart update action (matches the orange checkout call to action). */
  --ce-cart-update-button-bg: #f47700;
  --ce-cart-update-button-hover-bg: #d96700;
  --ce-cart-update-button-text: #fff;
  --ce-cart-checkout-gap: 1rem;

  /* Print sizes are fixed for predictable physical A4 output. */
  --ce-print-font-size-base: 12px;
  --ce-print-font-size-small: 11px;
  --ce-print-font-size-tiny: 10px;
  --ce-print-font-size-heading: 18px;
  --ce-print-font-size-total: 13px;
}
