.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.product-card-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0.75rem 0.75rem 3.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    color: #1f2a1c;
    text-decoration: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card-tile:hover {
    color: #1f2a1c;
    box-shadow: 0 10px 24px rgba(31, 42, 28, 0.1);
    transform: translateY(-2px);
}

.product-card-tile-image {
    aspect-ratio: 4 / 5;
    border-radius: 10px;
    overflow: hidden;
    background: #f3f4f6;
    margin-bottom: 0.9rem;
}

.product-card-tile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-tile-badge {
    align-self: flex-start;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    background-color: #dcebd3;
    color: #234514;
    font-size: 0.7rem;
    margin-bottom: 0.6rem;
}

.product-card-tile-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #234514;
    margin-bottom: 0.4rem;
}

.product-card-tile-text {
    color: #6b7280;
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-tile-arrow {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #e8ece6;
    color: #1f2a1c;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.product-card-tile:hover .product-card-tile-arrow {
    background-color: #234514;
    color: #ffffff;
}

@media (max-width: 991px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 400px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}
