.main-content{
    background-color: #f6fff7;;
}
#backbtn {
  background-color: #2f7b2f;
  color: white;
  padding: 8px 16px;
  border: none;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}
#backbtn:hover {
  background-color: #256325;
}

/* Section container */
.product-container {
  max-width: 1200px;
  margin: auto;
  padding: 1rem;
}

/* Heading */
.heading {
    text-align: center;
    font-size: x-large;
    margin-bottom: 1rem;
    color: var(--twitter-color);
    margin-top: 10px;
}

/* Product Grid */
.product-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Product Card */

.product-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    width: 92%;
    margin: auto;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  /* background-color: */
  color: white;
}

/* Image */
.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}


/* Info section */
.product-info {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #333;
}


.product-title {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: var(--twitter-color);
    text-align: center;
}

/* View Button */
.view-btn {
    background-color: var(--secondary-color);
    color: var(--bs-light);
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 22px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
    font-weight: 600;
    text-decoration: none;
    margin: auto;
    display: block;
    width: fit-content;
  
}


.view-btn:hover {
  background-color: #256325;
  color:white;
}
/* ========================================== */
@media (max-width: 767px) {
.heading {
    text-align: center;
    font-size: large;
    margin-bottom: 1rem;
    color: var(--twitter-color);
    margin-top: 10px;
}
  }