@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --green: #198754;
}

body {
  font-family: Inter, Arial;
  color: #24342a;
  background: #fcfefc;
}
.navbar {
  box-shadow: 0 2px 16px #153d240b;
}
.navbar-brand {
  letter-spacing: -0.03em;
}
.nav-link {
  font-weight: 500;
}
.nav-link.active {
  color: var(--green) !important;
  font-weight: 700;
}

.hero {
  background: linear-gradient(120deg, #f2fbf5, #fff);
}

.hero-img {
  height: 390px;
  object-fit: cover;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #e5eee8;
  border-radius: 16px;
  padding: 25px 10px;
  color: #24342a;
  transition: 0.2s;
}

.category-card:hover {
  transform: translateY(-4px);
  color: var(--green);
}

.category-card i,
.feature-icon {
  font-size: 2rem;
  color: var(--green);
}

.promo-box {
  background: #eaf7ef;
}

.product-card {
  border: 0;
  box-shadow: 0 3px 15px #153d2412;
  transition: 0.2s;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-img {
  height: 190px;
  object-fit: contain;
  padding: 14px;
  background: #f4faf5;
}
.product-image-wrap {
  position: relative;
  background: #ffffff;
}
.product-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 5px 9px;
  border-radius: 99px;
  background: #fff;
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 700;
  box-shadow: 0 2px 8px #0001;
}
.btn-success {
  box-shadow: 0 5px 12px #19875425;
}
.page-head {
  position: relative;
  overflow: hidden;
}
.page-head::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: #19875412;
  right: 8%;
  top: -100px;
}
.about-card {
  border: 0;
  box-shadow: 0 10px 30px #153d2414;
}
.about-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #eaf7ef;
  color: var(--green);
  font-size: 1.4rem;
}
.footer-link {
  color: #b9c8bd;
  text-decoration: none;
}
.footer-link:hover {
  color: #fff;
}

.price {
  color: var(--green);
  font-weight: 700;
}

.summary-card {
  position: sticky;
  top: 90px;
}

.page-head {
  background: #eaf7ef;
}

@media (max-width: 576px) {
  .hero-img {
    height: 250px;
  }
}

/* Modern fresh-grocery visual system */
:root {
  --green: #167a52;
  --green-dark: #0f5a3b;
  --mint: #eff9f2;
  --cream: #fffaf0;
  --ink: #17352a;
  --muted: #6d7e75;
}

body {
  background: #f8fbf8;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.navbar {
  min-height: 76px;
  border-bottom: 0 !important;
  box-shadow: 0 8px 30px rgba(23, 53, 42, 0.07);
}

.navbar-brand {
  font-size: 1.25rem;
  color: var(--green) !important;
}

.navbar-brand i {
  display: inline-grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 11px;
  color: #fff;
  background: var(--green);
  font-size: 1rem;
}

.nav-link {
  margin: 0 3px;
  padding: 10px 14px !important;
  border-radius: 10px;
  color: #53645b !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--green) !important;
  background: var(--mint);
}

.hero {
  min-height: 570px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 82% 15%, #ffe8a8 0 7%, transparent 7.2%),
    linear-gradient(135deg, #f4fbf5 0%, #eaf7ef 58%, #fff9e9 100%);
}

.hero h1 {
  max-width: 620px;
  color: var(--ink);
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.hero .lead {
  max-width: 520px;
  color: var(--muted) !important;
  line-height: 1.7;
}

.hero .carousel {
  border: 10px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 25px 55px rgba(23, 53, 42, 0.18) !important;
  transform: none;
}

.hero-img {
  height: 390px;
  filter: saturate(0.9);
}

.btn-success {
  border: 0;
  background: var(--green);
  box-shadow: 0 9px 20px rgba(22, 122, 82, 0.2);
}

.btn-success:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.btn-outline-success {
  border-color: #b9ddc8;
  color: var(--green);
}

.category-card {
  min-height: 145px;
  border: 0;
  background: #fff;
  box-shadow: 0 8px 25px rgba(23, 53, 42, 0.06);
}

.category-card i {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--mint);
}

.category-card:hover {
  box-shadow: 0 15px 35px rgba(22, 122, 82, 0.15);
}

.product-card {
  border: 1px solid #edf2ee;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 25px rgba(23, 53, 42, 0.06);
}

.product-card .card-body {
  padding: 18px;
}

.product-card h6 {
  min-height: 40px;
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.35;
}

.product-img {
  height: 205px;
  border-radius: 18px 18px 0 0;
  object-fit: contain;
  padding: 14px;
  background: #ffffff;
}

.cart-thumb {
  width: 80px;
  height: 80px;
  object-fit: contain;
  padding: 5px;
  background: #f4faf5;
  border-radius: 12px;
}

.product-badge {
  background: rgba(255, 255, 255, 0.92);
  color: var(--green);
}

.price {
  font-size: 1.03rem;
  color: var(--green);
}

.promo-box {
  position: relative;
  overflow: hidden;
  background: linear-gradient(110deg, #e5f6e9, #fff4cf);
  box-shadow: 0 12px 32px rgba(23, 53, 42, 0.07);
}

.promo-box::after {
  content: "✦";
  position: absolute;
  right: 8%;
  top: 8%;
  color: #e8b932;
  font-size: 5rem;
  opacity: 0.35;
}

.page-head {
  padding: 75px 0 !important;
  background: linear-gradient(120deg, #eff9f2, #fff9e9);
}

.page-head h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  letter-spacing: -0.05em;
}

.page-head p {
  color: var(--muted);
}

.card,
.summary-card {
  border: 1px solid #edf2ee;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 25px rgba(23, 53, 42, 0.06);
}

footer {
  margin-top: 40px;
  background: #12372a !important;
}

@media (max-width: 768px) {
  .hero {
    min-height: 0;
  }
  .hero .carousel {
    transform: none;
  }
  .hero-img {
    height: 270px;
  }
  .navbar-collapse {
    padding: 12px 0;
  }
}
