/* ── Produk Page ── */

/* ── Section 1: Hero ── */
.prd-hero {
	background: var(--color-surface);
	padding: var(--section-sm) 0;
	border-bottom: 1px solid rgba(0,0,0,0.06);
}
.prd-hero-inner {
	max-width: 780px;
	margin: 0 auto;
	padding: 0 var(--spacing-lg);
	display: flex;
	flex-direction: column;
	gap: var(--gap-lg);
}
.prd-hero-title {
	font-size: var(--text-4xl);
	font-weight: var(--weight-extrabold);
	color: var(--color-text);
	line-height: var(--leading-tight);
	letter-spacing: var(--tracking-tight);
}
.prd-hero-desc {
	font-size: var(--text-sm);
	color: var(--color-muted);
	line-height: var(--leading-relaxed);
	margin: 0;
}

/* ── Section 2: Grid ── */
.prd-grid-section {
	background: #ffffff;
	padding: var(--section-md) 0;
}
.prd-grid-inner {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--spacing-lg);
}
.products-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--gap-xl);
}

/* ── Product card ── */
.prod-card {
	background: #ffffff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	transition: box-shadow var(--ease-base), transform var(--ease-base);
}
.prod-card:hover {
	box-shadow: var(--shadow-lg);
	transform: translateY(-4px);
}
.prod-img-wrap {
	width: 100%;
	aspect-ratio: 1;
	background: var(--color-surface);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.prod-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.prod-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: var(--gap-md);
	padding: var(--gap-lg) var(--gap-lg) var(--gap-xl);
	flex: 1;
}
.prod-name {
	font-size: var(--text-sm);
	font-weight: var(--weight-bold);
	color: var(--color-text);
	line-height: var(--leading-snug);
	margin: 0;
}
.prod-stars {
	display: flex;
	gap: 3px;
	justify-content: center;
}
.prod-stars svg {
	width: 18px;
	height: 18px;
	color: #F59E0B;
}
.prod-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	background: #1C0F08;
	color: #ffffff;
	font-size: var(--text-xs);
	font-weight: var(--weight-semibold);
	padding: 0.7rem 1rem;
	border-radius: var(--radius-md);
	margin-top: auto;
	transition: background 150ms ease;
}
.prod-btn:hover { background: var(--color-primary); }

/* ── Responsive ── */
@media (max-width: 900px) {
	.products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
	.prd-hero-title  { font-size: var(--text-3xl); }
	.products-grid   { grid-template-columns: repeat(2, 1fr); gap: var(--gap-md); }
}
