:root {
  --primary: #256b50;
  --primary-hover: #1b4e3a;
  --accent: #d97706;
  --surface: #f9f7f4;
  --border-light: #ede9e4;
}

body {
  font-family: 'Be Vietnam Pro', sans-serif;
  background-color: #ffffff;
  font-weight: 400;
  color: #1e293b;
}

h1, h2, h3, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #0f172a;
}

h4, h5, h6 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 700;
}

/* Base Color Overrides for Bootstrap */
.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }

.btn-primary {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: white !important;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-hover) !important;
  border-color: var(--primary-hover) !important;
}

.btn-outline-primary {
  color: var(--primary) !important;
  border-color: var(--primary) !important;
}
.btn-outline-primary:hover, .btn-outline-primary:focus {
  background-color: var(--primary) !important;
  color: white !important;
}

.border-primary { border-color: var(--primary) !important; }

/* Utilities */
.hover-opacity-100:hover { opacity: 1 !important; }

.text-warning { color: var(--accent) !important; }
.border-warning { border-color: var(--accent) !important; }
.bg-warning { background-color: var(--accent) !important; }

/* Search placeholder */
input::placeholder { color: #adb5bd !important; }

/* Product Cards */
.product-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-color: var(--border-light);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px -8px rgba(37, 107, 80, 0.12), 0 4px 8px -2px rgba(0, 0, 0, 0.06);
}

.product-card .card-img-top {
  border-bottom: 1px solid var(--border-light);
}

/* Feature Cards */
.feature-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border: 1px solid var(--border-light);
  background-color: var(--surface);
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px -6px rgba(37, 107, 80, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-color: rgba(37, 107, 80, 0.2);
}

/* Section heading accent line */
.section-accent-line {
  width: 4px;
  height: 28px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 4px;
  flex-shrink: 0;
}

/* Subcategory Filter Pills */
.subcategory-pill {
  font-size: 0.82rem;
  color: #64748b;
  background-color: #f8f9fa;
  border: 1px solid var(--border-light) !important;
  transition: all 0.2s ease;
  font-weight: 500;
}
.subcategory-pill:hover {
  color: var(--primary) !important;
  background-color: rgba(37, 107, 80, 0.06) !important;
  border-color: rgba(37, 107, 80, 0.3) !important;
}

/* Footer */
.footer-link { transition: color 0.2s ease; }
.footer-link:hover { color: #ffffff !important; }

/* Footer social icons */
.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: all 0.2s ease;
  text-decoration: none;
}
.footer-social a:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  background-color: rgba(255,255,255,0.08);
}

/* Sidebar and Admin specific */
.sidebar { min-height: 100vh; background-color: #1e293b; color: white; }
.sidebar .nav-link { color: #cbd5e1; padding: 0.75rem 1.5rem; border-radius: 0.5rem; transition: background 0.2s; }
.sidebar .nav-link:hover, .sidebar .nav-link.active { background-color: #334155; color: white; }
.admin-main { flex: 1; padding: 2rem; overflow-y: auto; }
.header-card { background: white; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); padding: 1rem 2rem; margin-bottom: 2rem; }
