
.product-card-table {
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  max-width: 320px;  /* Ensures cards don’t stretch too wide */
  margin: 0 auto;
}




.product-card-table td {
  padding: 8px;
  vertical-align: top;
}

.product-card-table img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.product-card-table .cat-name {
  margin: 8px 0 4px;
  font-weight: bold;
  color: #333;
}

.product-card-table .cat-specs {
	display: flex;
	flex: 1 1 50%;
	flex-direction: row;
	}

.product-card-table .cat-price {
  margin-top: 8px;
  color: #333;
  font-weight: 600;
}

.product-card-table .meet-me-button {
	
	padding: 8px 20px;
	border-radius: 8px;
	font-size: 0.9em;
	font-weight: 500;
	color: #1c1c1c;
}



.meet-me-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: #e6ff70;
    color: #fff;
    text-decoration: none;
    margin-top: auto;
}
.meet-me-button:hover {
    background: #944F70;
}


























/* Grid container for product cards */
.product-grid-container {
    display: grid;
    gap: 16px; /* Consistent gap across all screen sizes */
    margin: 0 auto;
    max-width: 1200px; /* Limits grid width on large screens */
}

/* Mobile: 2 cards side by side (up to 480px) */
@media (max-width: 480px) {
    .product-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .cat-name {
        font-size: 1em;
    }

    .cat-specs {
        font-size: 13px;
    }
}

/* Tablet: 3 cards side by side (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .product-grid-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .product-card-table {
        max-width: 280px; /* Slightly smaller cards to fit 3 comfortably */
    }

    .cat-name {
        font-size: 0.95em;
    }

    .cat-specs {
        font-size: 12px;
    }

    .meet-me-button {
        font-size: 0.85em;
        padding: 7px 18px;
    }
}

/* Desktop: 3 cards side by side (769px and above) */
@media (min-width: 769px) {
    .product-grid-container {
        grid-template-columns: repeat(4, 1fr); /* Change to repeat(4, 1fr) for 4 cards */
        gap: 16px;
    }

    .product-card-table {
        max-width: 320px; /* Full card size for desktop */
    }

    .cat-name {
        font-size: 1em;
    }

    .cat-specs {
        font-size: 13px;
    }

    .meet-me-button {
        font-size: 0.9em;
        padding: 8px 20px;
    }
}