/* ==========================================
   DD SHOP - DESIGN TOKENS & VARIABLES
   Consumes Global Theme Switcher Custom Properties
   ========================================== */

:root {
  /* Dynamic Theme Primary Palette (Inherits from Global Theme Switcher) */
  --dd-green: var(--primary, #2e7d32);
  --dd-green-light: var(--primary-light, #43a047);
  --dd-green-dark: var(--primary-hover, #1b5e20);
  --dd-green-subtle: var(--primary-subtle, #e8f5e9);
  --dd-green-gradient: var(--primary-gradient, linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%));
  --dd-accent-gradient: linear-gradient(135deg, var(--primary-light, #43a047) 0%, var(--primary, #2e7d32) 100%);

  --dd-blue: #1a3c6e;
  --dd-blue-dark: #0f2447;
  --dd-blue-subtle: #f0f4f8;

  --dd-brand-red: #d71920;
  --dd-brand-red-dark: #a90f16;
  --dd-red-subtle: #fdeded;

  --dd-amber: #f59e0b;
  --dd-amber-subtle: #fffbeb;

  /* Neutrals & Backgrounds */
  --dd-bg-page: #f6f8fa;
  --dd-bg-card: #ffffff;
  --dd-bg-subtle: #f8fafc;
  
  --dd-text-dark: #1e293b;
  --dd-text-medium: #475569;
  --dd-text-muted: #64748b;
  --dd-text-light: #94a3b8;

  --dd-border: #e2e8f0;
  --dd-border-light: #f1f5f9;
  --dd-border-focus: var(--primary, #2e7d32);

  /* Shadows */
  --dd-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.03);
  --dd-shadow-md: 0 4px 14px rgba(0, 0, 0, 0.06);
  --dd-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);
  --dd-shadow-green: 0 8px 25px var(--primary-glow, rgba(46, 125, 50, 0.25));
  --dd-shadow-card-hover: 0 14px 28px rgba(30, 41, 59, 0.08);

  /* Border Radii */
  --dd-radius-sm: 6px;
  --dd-radius-md: 10px;
  --dd-radius-lg: 16px;
  --dd-radius-pill: 9999px;

  /* Typography & Layout */
  --dd-font-main: "Segoe UI", -apple-system, BlinkMacSystemFont, "SF Pro Display", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --dd-max-width: 1440px;
  --dd-gutter: 32px;

  /* Transitions */
  --dd-transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --dd-transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Normalization */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--dd-font-main);
  background-color: var(--dd-bg-page);
  color: var(--dd-text-dark);
  font-size: 0.875rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}
