/*
	ProtoForge LLC - Product Grid Styles
	Product card layout for the products page.
	Designed to be Snipcart-ready when e-commerce integration is added.
*/

/* Product Grid */
.product-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2em;
	margin-top: 2em;
}

@media screen and (max-width: 980px) {
	.product-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

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

/* Product Card */
.product-card {
	background-color: #2a2a2a;
	border-radius: 4px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Product Image */
.product-card .product-image {
	position: relative;
	overflow: hidden;
	height: 220px;
}

.product-card .product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
	transform: scale(1.05);
}

/* Product Info */
.product-card .product-info {
	padding: 1.5em;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.product-card .product-info h3 {
	font-size: 1.1em;
	margin: 0 0 0.5em 0;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 600;
}

.product-card .product-info p {
	font-size: 0.9em;
	margin: 0 0 1em 0;
	flex-grow: 1;
	line-height: 1.6;
	opacity: 0.85;
}

/* Product Price */
.product-card .product-price {
	display: block;
	font-size: 1.25em;
	font-weight: 600;
	color: #d4956a;
	margin-bottom: 1em;
	letter-spacing: 0.05em;
}

/* Product Button */
.product-card .button {
	align-self: flex-start;
}
