:root {
	--max-w-5xl: 64rem;
	--gap-10: 2.5rem;
	--gray-50: #f9fafb;
	--gray-500: #6b7280;
	--gray-700: #374151;
	--gray-900: #111827;
	--white: #ffffff;
	--teal-600: #0d9488;
	--green-100: #dcfce7;
	--green-700: #15803d;
	--red-100: #fee2e2;
	--red-700: #b91c1c;
	--radius: .75rem;
	--shadow-md: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
}

.product-page {
	background: var(--gray-50);
	color: var(--gray-900);
}

.product-container {
	max-width: var(--max-w-5xl);
	margin: 0 auto;
	padding: 2.5rem 1rem;
}

.product-card {
	background: #fff;
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
	padding: 1.5rem;
}

.product-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--gap-10);
	align-items: start;
}

@media (min-width: 768px) {
	.product-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.product-image-wrap {
	display: flex;
	justify-content: center;
}

.product-image {
	width: 100%;
	max-width: 28rem;
	border-radius: .75rem;
	box-shadow: var(--shadow-md);
	object-fit: contain;
	background: #fff;
	padding: 1.5rem;
}

.product-info {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.product-title {
	font-size: 1.875rem;
	font-weight: 800;
	margin-bottom: 1rem;
}

.product-desc {
	color: var(--gray-500);
	margin-bottom: 1.5rem;
	white-space: pre-line;
}

.product-meta {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin-bottom: 1.5rem;
}

.price {
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--teal-600);
}

.stock-pill {
	padding: .25rem .75rem;
	border-radius: 9999px;
	font-size: .875rem;
}

.stock-in {
	background: var(--green-100);
	color: var(--green-700);
}

.stock-out {
	background: var(--red-100);
	color: var(--red-700);
}

.actions {
	display: flex;
	gap: .75rem;
}

.back-link {
	display: inline-block;
	background: #fff;
	border: 1px solid #e5e7eb;
	padding: .5rem 1rem;
	border-radius: .5rem;
	font-size: .875rem;
	color: #111827;
	text-decoration: none;
}
