/* Brand theme — overrides Bootstrap's default CSS variables to match the original design. */
:root {
  --bs-body-bg: #fbf8f1;
  --bs-body-color: #2a2620;
  --bs-primary: #3f7d32;
  --bs-primary-rgb: 63, 125, 50;
  --bs-secondary: #e08d3c;
  --bs-secondary-rgb: 224, 141, 60;
  --bs-success: #10b981;
  --bs-danger: #ef4444;
  --bs-border-color: #e4dcc8;
  --bs-link-color: #3f7d32;
  --bs-link-hover-color: #2f6423;

  --brand-card: #fffdf9;
  --brand-muted: #f1ecdf;
  --brand-muted-foreground: #7a7263;
  --brand-accent: #e8f3e3;
  --brand-accent-foreground: #2f6423;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}

.font-heading,
h1, h2, h3, h4, h5, .navbar-brand {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 700;
}

.btn-primary {
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-bg: #35692a;
  --bs-btn-hover-border-color: #35692a;
}

.btn-secondary {
  --bs-btn-bg: var(--bs-secondary);
  --bs-btn-border-color: var(--bs-secondary);
  --bs-btn-hover-bg: #c67932;
  --bs-btn-hover-border-color: #c67932;
}

.text-primary { color: var(--bs-primary) !important; }
.text-secondary { color: var(--bs-secondary) !important; }
.bg-brand-muted { background-color: var(--brand-muted) !important; }
.bg-brand-accent { background-color: var(--brand-accent) !important; color: var(--brand-accent-foreground) !important; }
.text-muted-foreground { color: var(--brand-muted-foreground) !important; }
.card { background-color: var(--brand-card); border-color: var(--bs-border-color); }

.section-padding { padding-top: 3rem; padding-bottom: 3rem; }
@media (min-width: 768px) { .section-padding { padding-top: 3.5rem; padding-bottom: 3.5rem; } }
@media (min-width: 992px) { .section-padding { padding-top: 4rem; padding-bottom: 4rem; } }

.navbar-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

.rounded-pill-lg { border-radius: 999px !important; }

.product-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08);
}
.product-card .card-img-top {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.badge-pill-sm {
  font-size: 0.7rem;
  padding: 0.3em 0.6em;
}

.price-strike {
  text-decoration: line-through;
  color: var(--brand-muted-foreground);
  font-size: 0.85em;
}

footer a { text-decoration: none; }
footer a:hover { color: var(--bs-primary) !important; }

.social-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bs-border-color);
  border-radius: 50%;
  color: var(--brand-muted-foreground);
}
.social-icon:hover { border-color: var(--bs-primary); color: var(--bs-primary); }

[dir="rtl"] { direction: rtl; }
