:root {
  --brand-green: #2e7d32;
  --brand-green-dark: #1b5e20;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #2b2b2b;
}

.site-navbar .nav-link {
  font-weight: 500;
  color: #333;
}
.site-logo {
  height: 64px;
  max-height: 64px;
  width: auto;
}
@media (max-width: 576px) {
  .site-logo {
    height: 48px;
    max-height: 48px;
  }
}
.site-navbar .nav-link.active,
.site-navbar .nav-link:hover {
  color: var(--brand-green);
}

.btn-success {
  background-color: var(--brand-green);
  border-color: var(--brand-green);
}
.btn-success:hover {
  background-color: var(--brand-green-dark);
  border-color: var(--brand-green-dark);
}
.btn-outline-success {
  color: var(--brand-green);
  border-color: var(--brand-green);
}
.btn-outline-success:hover {
  background-color: var(--brand-green);
  border-color: var(--brand-green);
}
.text-success { color: var(--brand-green) !important; }

.hero-section {
  background-color: #1b3a1e;
  background-image: linear-gradient(135deg, #1b3a1e, #2e7d32);
  background-size: cover;
  background-position: center;
  min-height: 420px;
  display: flex;
  align-items: center;
}

.section-title {
  font-weight: 700;
  border-left: 5px solid var(--brand-green);
  padding-left: 12px;
}

.cta-banner {
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green-dark));
}

.product-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.product-card-img {
  display: block;
  position: relative;
  height: 180px;
  background: #f4f4f4;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card-placeholder, .category-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef3ee;
  color: #9ab89c;
  font-size: 2rem;
}
.stock-badge {
  position: absolute;
  top: 10px;
  right: 10px;
}
.product-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--brand-green);
  font-weight: 600;
}
.product-card-title a {
  color: #222;
  text-decoration: none;
}
.product-card-title a:hover { color: var(--brand-green); }
.product-card-desc {
  font-size: 0.9rem;
  color: #666;
  flex: 1;
}

.category-card {
  display: block;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  height: 160px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-card-name {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: #fff;
  padding: 12px;
  font-weight: 600;
}

.usp-block {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 8px;
  background: #f8faf8;
}

.footer-link {
  color: #bbb;
  text-decoration: none;
}
.footer-link:hover { color: #fff; }

.status-badge { text-transform: capitalize; }
.status-in_stock { background-color: #2e7d32; }
.status-on_request { background-color: #f9a825; color: #222; }
.status-out_of_stock { background-color: #757575; }

.thumb-md {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ddd;
}
.gallery-thumb {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
}
.gallery-thumb:hover { border-color: var(--brand-green); }
.product-gallery-main img { width: 100%; max-height: 480px; object-fit: cover; }

.page-header { border-bottom: 1px solid #eee; }
