/* KRM ENTERPRISES - DESIGN SYSTEM & CORE TOKENS
   Visual Benchmark: Woodmart Clean Agricultural Marketplace */

:root {
  /* Brand Color Palette */
  --primary-green: #00A651;
  --primary-green-hover: #009347;
  --dark-green: #087A3D;
  --accent-red: #E53935;
  --accent-red-light: #FFEBEE;
  --primary-green-light: #E8F5E9;
  
  /* Neutral Color Palette */
  --text-dark: #222222;
  --text-body: #374151;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --bg-surface: #FFFFFF;
  --bg-light: #F7FAF8;
  --bg-subtle: #F3F4F6;
  --border-color: #E5E7EB;
  --border-light: #F0F2F5;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing Scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 14px 28px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
  --shadow-drawer: -5px 0 25px rgba(0, 0, 0, 0.15);

  /* Border Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 220ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 320ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --max-width: 1400px;
  --header-height: 80px;
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--bg-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

/* Core Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  background-color: var(--primary-green);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 4px rgba(0, 166, 81, 0.2);
  transition: all var(--transition-normal);
}

.btn-primary:hover {
  background-color: var(--primary-green-hover);
  box-shadow: 0 4px 12px rgba(0, 166, 81, 0.35);
  transform: translateY(-1px);
}

.btn-primary-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  background-color: var(--primary-green);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.btn-primary-large:hover {
  background-color: var(--primary-green-hover);
  box-shadow: 0 6px 16px rgba(0, 166, 81, 0.35);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  border: 1.5px solid var(--border-color);
  background-color: var(--bg-surface);
  color: var(--text-dark);
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.btn-outline:hover {
  border-color: var(--primary-green);
  color: var(--primary-green);
}

.btn-outline-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  border: 1.5px solid var(--accent-red-light);
  background-color: var(--bg-surface);
  color: var(--accent-red);
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.btn-outline-danger:hover {
  background-color: var(--accent-red-light);
}

.btn-whatsapp-enquire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #25D366;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.3);
  transition: all var(--transition-normal);
}

.btn-whatsapp-enquire:hover {
  background-color: #20BA56;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.45);
  transform: translateY(-1px);
}

.btn-whatsapp-confirm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #25D366;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.btn-whatsapp-confirm:hover {
  background-color: #20BA56;
}

.full-width {
  width: 100%;
}

.flex-1 {
  flex: 1;
}

/* Stepper Controls */
.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  overflow: hidden;
}

.stepper .step-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-subtle);
  color: var(--text-dark);
  font-weight: 700;
  transition: background-color var(--transition-fast);
}

.stepper .step-btn:hover {
  background-color: var(--border-color);
}

.stepper .step-val {
  min-width: 36px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.stepper.large {
  border-radius: var(--radius-md);
}

.stepper.large .step-btn {
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
}

.stepper.large input {
  width: 50px;
  height: 44px;
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
}
