:root {
  --eco-green: #1b4332;
  --eco-emerald: #2d6a4f;
  --eco-lime: #52b788;
  --eco-light: #f4f9f6;
  --eco-gradient: linear-gradient(
    135deg,
    #1b4332 0%,
    #2d6a4f 50%,
    #52b788 100%
  );
  --eco-gradient-dark: linear-gradient(135deg, #0f271d 0%, #1b4332 100%);
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #fafafa;
  color: #333333;
}

.text-gradient {
  background: linear-gradient(45deg, #a3e635, #52b788);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-brand font {
  font-weight: 800;
  color: var(--eco-green);
}

.nav-link {
  font-weight: 600;
  color: #555555 !important;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--eco-emerald) !important;
}

/* Shop Banner Layout */
.shop-hero {
  background: var(--eco-gradient-dark);
  padding: 60px 0;
  border-bottom: 3px solid var(--eco-lime);
}

/* Search Engine Container Styles */
.search-container {
  max-width: 650px;
  margin: -32px auto 0 auto;
  position: relative;
  z-index: 10;
}

.search-box {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 12px 20px 12px 50px;
  font-size: 1rem;
  box-shadow: 0 10px 30px rgba(27, 67, 50, 0.08);
  transition: all 0.3s ease;
}

.search-box:focus {
  border-color: var(--eco-lime);
  box-shadow: 0 10px 30px rgba(45, 106, 79, 0.15);
  outline: none;
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--eco-emerald);
  pointer-events: none;
}

/* Grid Modernized Cards matching index */
.eco-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  background: #ffffff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.eco-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(27, 67, 50, 0.08);
  border-color: var(--eco-lime);
}

.eco-card-img-wrapper {
  position: relative;
  height: 180px;
  background-color: #f0f4f2;
  overflow: hidden;
}

.eco-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Controls overrides */
.quantity-control {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #f8f9fa;
  max-width: 110px;
}

.quantity-btn {
  background: none;
  border: none;
  width: 28px;
  height: 28px;
  font-weight: bold;
  color: var(--eco-green);
}

.quantity-input {
  width: 35px;
  border: none;
  background: transparent;
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
}

.btn-eco {
  background-color: var(--eco-green);
  color: #ffffff;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  transition: all 0.3s ease;
  font-size: 0.75rem;
}

.btn-eco:hover {
  background-color: var(--eco-emerald);
  color: #ffffff;
}

/* Bottom-Right Sticky Floating Cart Widget */
.floating-cart-trigger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  background: var(--eco-gradient);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 14px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}

.floating-cart-trigger:hover {
  transform: scale(1.05);
  color: white;
}

.cart-badge-count {
  background: #ffffff;
  color: var(--eco-green);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 20px;
}

footer {
  background: var(--eco-gradient-dark);
  color: #b3c6be;
}

footer h5 {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

footer a {
  color: #b3c6be;
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 25px;
  margin-top: 50px;
}
