:root {
	--ghm-ink: #2b211c;
	--ghm-muted: #74665d;
	--ghm-cream: #f7f2e9;
	--ghm-paper: #fffdf8;
	--ghm-accent: #9d5c36;
	--ghm-line: rgba(43, 33, 28, 0.14);
}

.ghm-storefront {
	background: var(--ghm-cream);
	color: var(--ghm-ink);
	font-family: "Gabarito", Arial, sans-serif;
}

.ghm-container {
	width: min(1180px, calc(100% - 40px));
	margin-inline: auto;
}

.ghm-hero {
	padding: clamp(74px, 9vw, 132px) 0 clamp(58px, 7vw, 92px);
	text-align: center;
	background:
		radial-gradient(circle at 50% 0, rgba(157, 92, 54, 0.13), transparent 45%),
		var(--ghm-cream);
}

.ghm-eyebrow {
	margin: 0 0 12px;
	color: var(--ghm-accent);
	font-family: "Spectral SC", "Times New Roman", serif;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.ghm-hero h1 {
	margin: 0;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(3rem, 7vw, 6.25rem);
	font-weight: 500;
	letter-spacing: -0.035em;
	line-height: 0.95;
}

.ghm-intro {
	max-width: 650px;
	margin: 24px auto 0;
	color: var(--ghm-muted);
	font-size: clamp(1rem, 1.6vw, 1.2rem);
	line-height: 1.7;
}

.ghm-page-copy {
	max-width: 760px;
	padding: 0 0 52px;
	text-align: center;
	color: var(--ghm-muted);
	font-size: 1.05rem;
	line-height: 1.75;
}

.ghm-page-copy > :first-child,
.ghm-description > :first-child {
	margin-top: 0;
}

.ghm-page-copy > :last-child,
.ghm-description > :last-child {
	margin-bottom: 0;
}

.ghm-catalogue {
	padding-bottom: clamp(76px, 10vw, 140px);
}

.ghm-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(22px, 3vw, 38px);
}

.ghm-card {
	overflow: hidden;
	background: var(--ghm-paper);
	border: 1px solid var(--ghm-line);
	border-radius: 2px;
	box-shadow: 0 12px 34px rgba(43, 33, 28, 0.06);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.ghm-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 44px rgba(43, 33, 28, 0.11);
}

.ghm-card__image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #e9dfd2;
}

.ghm-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 350ms ease;
}

.ghm-image-button {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	color: inherit;
	background: transparent;
	border: 0;
	cursor: zoom-in;
}

.ghm-image-button:focus-visible {
	outline: 3px solid var(--ghm-accent);
	outline-offset: -3px;
}

.ghm-image-button__hint {
	position: absolute;
	right: 14px;
	bottom: 14px;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 11px;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: rgba(28, 22, 18, 0.74);
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 999px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(8px);
	transition: background 180ms ease, transform 180ms ease;
}

.ghm-image-button:hover .ghm-image-button__hint {
	background: rgba(157, 92, 54, 0.94);
	transform: translateY(-2px);
}

.ghm-image-button__hint svg {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.ghm-card:hover .ghm-card__image img {
	transform: scale(1.025);
}

.ghm-card__placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: rgba(43, 33, 28, 0.42);
	font-family: "Spectral SC", "Times New Roman", serif;
	font-size: 0.78rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.ghm-card__body {
	padding: clamp(22px, 2.5vw, 30px);
}

.ghm-card__heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
}

.ghm-card h2 {
	margin: 0;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(1.65rem, 2.4vw, 2rem);
	font-weight: 600;
	line-height: 1.08;
}

.ghm-price {
	flex: none;
	margin: 4px 0 0;
	color: var(--ghm-accent);
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: 0.015em;
}

.ghm-description {
	margin-top: 16px;
	color: var(--ghm-muted);
	font-size: 0.96rem;
	line-height: 1.65;
}

.ghm-sizes {
	margin: 14px 0 0;
	color: var(--ghm-muted);
	font-size: 1.1rem;
	line-height: 1.5;
	letter-spacing: 0.025em;
}

.ghm-sizes span {
	color: var(--ghm-ink);
	font-weight: 700;
}

.ghm-empty {
	max-width: 680px;
	margin-inline: auto;
	padding: 58px 24px;
	text-align: center;
	background: var(--ghm-paper);
	border: 1px solid var(--ghm-line);
}

.ghm-empty h2 {
	margin: 0 0 8px;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 600;
}

.ghm-empty p {
	margin: 0;
	color: var(--ghm-muted);
}

body.ghm-viewer-open {
	overflow: hidden;
}

.ghm-viewer[hidden] {
	display: none;
}

.ghm-viewer {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: grid;
	place-items: center;
	padding: clamp(14px, 3vw, 40px);
}

.ghm-viewer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(20, 15, 12, 0.88);
	backdrop-filter: blur(14px);
	opacity: 0;
	transition: opacity 220ms ease;
}

.ghm-viewer__dialog {
	position: relative;
	z-index: 1;
	width: fit-content;
	max-width: min(1200px, 100%);
	max-height: 100%;
	transform: translateY(12px) scale(0.975);
	opacity: 0;
	transition: opacity 220ms ease, transform 220ms ease;
}

.ghm-viewer.is-visible .ghm-viewer__backdrop,
.ghm-viewer.is-visible .ghm-viewer__dialog {
	opacity: 1;
}

.ghm-viewer.is-visible .ghm-viewer__dialog {
	transform: translateY(0) scale(1);
}

.ghm-viewer figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
}

.ghm-viewer img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 120px);
	object-fit: contain;
	background: #17120f;
	border-radius: 3px;
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

.ghm-viewer figcaption {
	margin-top: 14px;
	color: rgba(255, 255, 255, 0.88);
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(1.15rem, 2vw, 1.5rem);
	font-weight: 500;
	letter-spacing: 0.02em;
	text-align: center;
}

.ghm-viewer__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	color: #fff;
	background: rgba(20, 15, 12, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
	cursor: pointer;
	backdrop-filter: blur(8px);
	transition: background 180ms ease, transform 180ms ease;
}

.ghm-viewer__close:hover,
.ghm-viewer__close:focus-visible {
	background: var(--ghm-accent);
	transform: rotate(4deg) scale(1.04);
}

.ghm-viewer__close svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 1.7;
}

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

@media (max-width: 600px) {
	.ghm-container {
		width: min(100% - 28px, 1180px);
	}

	.ghm-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.ghm-hero {
		padding-top: 56px;
	}

	.ghm-card__heading {
		align-items: baseline;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ghm-card,
	.ghm-card__image img,
	.ghm-image-button__hint,
	.ghm-viewer__backdrop,
	.ghm-viewer__dialog {
		transition: none;
	}
}
