:root {
  --mint: #e6f6e6;
  --cream: #fbfaf4;
  --white: #ffffff;
  --green: #2f8a43;
  --green-dark: #1f5f2e;
  --text: #163820;
  --muted: #6b7b72;
  --border: #e5efe7;
  --radius: 18px;
  --shadow: 0 14px 40px rgba(22, 56, 32, .08);
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  font-family: Poppins, sans-serif;
  background: var(--cream);
  color: var(--text);
}

/*  */
img {
  width: 100%;
  display: block;
  border-radius: 16px
}




/* HERO */
.page-hero {
  background: var(--mint);
  padding: 150px 0 70px;
}

.page-hero .label {
  /* font-size: 12px;
  letter-spacing: 2px;
  color: var(--green);
  font-weight: 600; */

  color: #389438;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: .875rem;
  line-height: 1.25rem;
  display: inline-block;
  margin-bottom: 1rem;
}


.page-hero h1 {
  font-size: 46px;
  margin: -10px 0;
  font-family: Playfair Display, serif;
}

.page-hero p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.7;
}

/* FILTER */
.filters {
  padding: 40px 0 20px;
}

.filters .pill {
  border: none;
  padding: 10px 18px;
  border-radius: 30px;
  background: #eef4ea;
  margin-right: 10px;
  font-size: 13px;
  color: #5f7768;
  cursor: pointer;
}

.filters .pill.active {
  background: var(--green);
  color: white;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-bottom: 80px;
}

.fruit-card {
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.img-box {
  position: relative;
}

.img-box img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.img-box img:hover {
  transform: scale(0.95);
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #eef4ea;
  color: var(--green);
  padding: 6px 14px;
  font-size: 11px;
  border-radius: 20px;
}

.badge.right {
  right: 12px;
  left: auto;
  background: var(--green);
  color: #fff;
}

.info {
  padding: 22px;
}


.info small {
  color: #8aa095;
}

.info h3 {
  margin: 8px 0;
  font-size: 17px;
  font-family: Playfair Display, serif;

}

.info p {
  font-size: 13px;
  color: #6d7c74;
}

.info a {
    /* existing transitions */
    --tw-ring-offset-color: #fbfbf8;
    color: #389438;
    font-weight: 600;
    font-size: .875rem;
    line-height: 1.25rem;
    padding-left: 1rem;
    padding-right: 1rem;
    background-color: transparent;
    border: 2px solid #389438; /* added shorthand including style */
    box-sizing: border-box;    /* ensures border included in element sizing */
    border-radius: calc(var(--radius) - 2px);
    white-space: nowrap;
    gap: .5rem;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 2.25rem;
    display: inline-flex;

}


.info a:hover {
  background: var(--green);
  color: white;
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(46, 164, 79, 0.25);
}

.fruit-card.is-hidden {
  display: none;
}

.fruit-card.fade-in {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media(max-width:1000px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:600px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}