.merch-product {
	display: grid;
	grid-template-columns: minmax(220px, 32%) 1fr;
	gap: 32px;
	padding: 28px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.merch-product:first-child {
	border-top: 1px solid rgba(255, 255, 255, .18);
}

.merch-product-image {
	display: block;
	background: #090909;
	overflow: hidden;
}

.merch-product-image img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: transform .2s ease, filter .2s ease;
}

.merch-product-image:hover img {
	transform: scale(1.02);
	filter: contrast(1.1);
}

.merch-product-info {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.merch-product-heading {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	align-items: baseline;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
	font-size: 1.4rem;
	font-weight: bold;
	text-transform: uppercase;
}

.merch-product-heading a {
	color: inherit;
	text-decoration: none;
}

.merch-product-heading a:hover {
	text-decoration: line-through;
}

.merch-product-price {
	white-space: nowrap;
}

.merch-product-description {
	flex: 1;
	padding: 18px 0;
	line-height: 1.6;
	opacity: .8;
}

.merch-product-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}

.merch-product-code {
	font-family: monospace;
	font-size: .8rem;
	opacity: .5;
}

.merch-button {
	display: inline-block;
	padding: 10px 18px;
	border: 1px solid currentColor;
	color: inherit;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: bold;
	letter-spacing: .08em;
	transition: background .15s ease, color .15s ease;
}

.merch-button:hover {
	background: #fff;
	color: #000;
}

@media (max-width: 700px) {
	.merch-product {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.merch-product-heading {
		font-size: 1.15rem;
	}

	.merch-product-footer {
		align-items: flex-end;
	}
}
.merch-detail {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
	gap: 48px;
	align-items: start;
}

.merch-detail-images {
	min-width: 0;
}

.merch-detail-main-image {
	background: #090909;
}

.merch-detail-main-image img {
	display: block;
	width: 100%;
	max-height: 700px;
	object-fit: contain;
}

.merch-detail-thumbnails {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.merch-detail-thumbnails button {
	width: 80px;
	height: 80px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .2);
	background: #090909;
	cursor: pointer;
}

.merch-detail-thumbnails button:hover {
	border-color: #fff;
}

.merch-detail-thumbnails img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.merch-detail-header {
	padding-bottom: 22px;
	border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.merch-detail-header h1 {
	margin: 4px 0;
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1;
	text-transform: uppercase;
}

.merch-detail-code {
	font-family: monospace;
	font-size: .8rem;
	opacity: .45;
}

.merch-detail-price {
	margin-top: 12px;
	font-size: 1.5rem;
	font-weight: bold;
}

.merch-detail-description {
	padding: 28px 0;
	line-height: 1.7;
	opacity: .85;
}

.merch-detail-meta {
	padding: 18px 0;
	border-top: 1px solid rgba(255, 255, 255, .1);
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.merch-detail-meta dl {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 8px 24px;
	margin: 15px 0 0;
}

.merch-detail-meta dt {
	font-weight: bold;
	text-transform: uppercase;
	font-size: .8rem;
	opacity: .55;
}

.merch-detail-meta dd {
	margin: 0;
}

.merch-detail-buy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding-top: 26px;
}

.merch-button-buy {
	padding: 14px 28px;
	font-size: 1rem;
}

.merch-detail-buy span {
	font-size: .75rem;
	font-style: italic;
	opacity: .45;
}

@media (max-width: 800px) {
	.merch-detail {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}
