:root {
	--bg: #f6f0e7;
	--surface: rgba(255, 255, 255, 0.75);
	--text: #1c1712;
	--muted: #62594d;
	--line: rgba(28, 23, 18, 0.12);
	--accent-deep: #7d5731;
	--shadow: 0 20px 46px rgba(40, 28, 18, 0.09);
	--radius-lg: 28px;
	--container: 1180px;
	--font-heading: "Cormorant Garamond", Georgia, serif;
	--font-body: "Manrope", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	min-width: 320px;
	color: var(--text);
	font-family: var(--font-body);
	background:
		radial-gradient(circle at top right, rgba(255, 255, 255, 0.88), transparent 28%),
		linear-gradient(180deg, #efe6db 0%, var(--bg) 45%, #ede1d1 100%);
}

a {
	color: inherit;
	text-decoration: none;
}

.container {
	width: min(var(--container), calc(100% - 2rem));
	margin: 0 auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	backdrop-filter: blur(14px);
	background: rgba(246, 240, 231, 0.74);
	border-bottom: 1px solid rgba(28, 23, 18, 0.08);
}

.header-inner,
.site-nav,
.footer-grid,
.catalog-meta {
	display: flex;
	align-items: center;
}

.header-inner {
	justify-content: space-between;
	padding: 1rem 0;
	gap: 1rem;
}

.brand-mark {
	font-family: var(--font-heading);
	font-size: 1.9rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.site-nav {
	gap: 0.4rem;
	flex-wrap: wrap;
}

.nav-link {
	padding: 0.7rem 1rem;
	border-radius: 999px;
	color: var(--muted);
	transition: background-color 180ms ease, color 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
	background: rgba(28, 23, 18, 0.08);
	color: var(--text);
}

.catalog-hero,
.catalog-section {
	padding: 4.5rem 0;
}

.catalog-hero-inner,
.catalog-grid {
	display: grid;
	gap: 1.5rem;
}

.catalog-hero-inner {
	grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr);
	align-items: end;
}

.eyebrow,
.product-category {
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--accent-deep);
}

h1,
h2 {
	margin: 0;
	font-family: var(--font-heading);
	line-height: 0.96;
}

h1 {
	margin-top: 0.8rem;
	max-width: 10ch;
	font-size: clamp(3rem, 7vw, 5.5rem);
}

h2 {
	font-size: 2rem;
}

p {
	margin: 0;
	line-height: 1.7;
	color: var(--muted);
}

.catalog-intro {
	max-width: 52ch;
	justify-self: end;
}

.catalog-meta {
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
	color: var(--muted);
}

.back-link {
	font-weight: 700;
	color: var(--text);
}

.catalog-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
	overflow: hidden;
	border-radius: var(--radius-lg);
	border: 1px solid var(--line);
	background: var(--surface);
	box-shadow: var(--shadow);
}

.product-image {
	min-height: 255px;
	display: flex;
	align-items: end;
	padding: 1.2rem;
	font-family: var(--font-heading);
	font-size: 1.6rem;
}

.product-image span {
	max-width: 9ch;
}

.product-copy {
	padding: 1.35rem;
}

.product-copy h2 {
	margin: 0.45rem 0 0.7rem;
}

.product-note {
	min-height: 3.3rem;
}

.product-price {
	margin-top: 1rem;
	color: var(--text);
	font-weight: 700;
}

.image-1 {
	background: linear-gradient(145deg, #d3b89a, #f2e7d8 56%, #c49f74);
}

.image-2 {
	background: linear-gradient(145deg, #f5eee5, #ddd1c3 55%, #baa997);
}

.image-3 {
	background: linear-gradient(145deg, #6d7480, #202833 58%, #b7bec4);
	color: #f8f2e9;
}

.image-4 {
	background: linear-gradient(145deg, #79726c, #35302d 58%, #c0b4ab);
	color: #f8f2e9;
}

.image-5 {
	background: linear-gradient(145deg, #f4eee7, #e6dccf 55%, #cfbea8);
}

.image-6 {
	background: linear-gradient(145deg, #9ba2a9, #4a5561 58%, #d4d8dc);
	color: #f8f2e9;
}

.image-7 {
	background: linear-gradient(145deg, #8f6851, #503224 58%, #ccb39f);
	color: #f8f2e9;
}

.image-8 {
	background: linear-gradient(145deg, #d8bcaa, #f4e3d7 58%, #c2957c);
}

.image-9 {
	background: linear-gradient(145deg, #d9d8d5, #9b9995 56%, #efede8);
}

.image-10 {
	background: linear-gradient(145deg, #6a616a, #242029 58%, #bcb1bc);
	color: #f8f2e9;
}

.image-11 {
	background: linear-gradient(145deg, #efe1ce, #d1c0a7 58%, #faf4eb);
}

.image-12 {
	background: linear-gradient(145deg, #5c5b5f, #131315 58%, #9e9ca1);
	color: #f8f2e9;
}

.site-footer {
	padding: 2rem 0 3rem;
}

.footer-grid {
	justify-content: space-between;
	align-items: start;
	gap: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(28, 23, 18, 0.12);
}

.footer-brand {
	display: inline-block;
	margin-bottom: 0.6rem;
}

.footer-title {
	margin-bottom: 0.65rem;
	color: var(--text);
	font-weight: 700;
}

.footer-link,
.footer-copy {
	display: block;
	color: var(--muted);
}

.footer-link+.footer-link,
.footer-copy+.footer-copy {
	margin-top: 0.5rem;
}

@media (max-width: 1024px) {
	.catalog-hero-inner {
		grid-template-columns: 1fr;
	}

	.catalog-intro {
		justify-self: start;
	}

	.catalog-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.header-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.site-nav {
		width: 100%;
	}

	.catalog-hero,
	.catalog-section {
		padding: 3.8rem 0;
	}

	.catalog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-grid {
		display: grid;
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {
	.container {
		width: min(var(--container), calc(100% - 1.2rem));
	}

	.brand-mark {
		font-size: 1.6rem;
	}

	.catalog-meta,
	.catalog-grid {
		display: grid;
		grid-template-columns: 1fr;
	}

	.product-image {
		min-height: 220px;
	}

	.product-copy {
		padding: 1.15rem;
	}
}