.merch-product {
	display: grid;
	grid-template-columns: minmax(180px, 260px) 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: flex;
	align-items: center;
	justify-content: center;
	height: 280px;
	background: #090909;
	overflow: hidden;
}

.merch-product-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	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: 800px) {
	.merch-product {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.merch-product-image {
		height: 240px;
	}
}
.merch-back {
	display: inline-block;
	margin-bottom: 24px;
	padding: 8px 14px;
	border: 1px solid rgba(255, 255, 255, .25);
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: .8rem;
	font-weight: bold;
	letter-spacing: .08em;
	text-transform: uppercase;
	cursor: pointer;
}

.merch-back:hover {
	border-color: #fff;
	background: #fff;
	color: #000;
}

.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 {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 480px;
	background: #090909;
	overflow: hidden;
}

.merch-detail-main-image img {
	display: block;
	width: 100%;
	height: 100%;
	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-no-image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	border: 1px solid rgba(255, 255, 255, .12);
	font-size: .8rem;
	font-weight: bold;
	letter-spacing: .12em;
	text-transform: uppercase;
	opacity: .35;
}

.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;
	background: #000;
}

.merch-detail-buy span {
	font-size: .75rem;
	font-style: italic;
	opacity: .45;
}


@media (max-width: 800px) {
	.merch-detail {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.merch-detail-main-image {
		height: 360px;
	}
}
.merch-controls {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 32px;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.merch-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
}

.merch-search {
	display: flex;
	align-items: stretch;
	margin-left: auto;
}

.merch-search input {
	width: 220px;
	padding: 7px 10px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-right: 0;
	border-radius: 0;
	background: #090909;
	color: #fff;
	font: inherit;
	font-size: .8rem;
}

.merch-search input::placeholder {
	color: rgba(255, 255, 255, .4);
}

.merch-search input:focus {
	border-color: #fff;
	outline: none;
}

.merch-search button {
	padding: 7px 12px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: .8rem;
	font-weight: bold;
	letter-spacing: .08em;
	text-transform: uppercase;
	cursor: pointer;
}

.merch-search button:hover {
	background: #fff;
	color: #000;
	border-color: #fff;
}

.merch-sort {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
	white-space: nowrap;
}

.merch-sort label {
	font-size: .8rem;
	font-weight: bold;
	letter-spacing: .08em;
	text-transform: uppercase;
	opacity: .6;
}

.merch-sort select {
	padding: 7px 30px 7px 10px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 0;
	background: #090909;
	color: #fff;
	font: inherit;
	font-size: .8rem;
	font-weight: bold;
	letter-spacing: .05em;
	text-transform: uppercase;
	cursor: pointer;
}

.merch-sort select:hover,
.merch-sort select:focus {
	border-color: #fff;
	outline: none;
}

.merch-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding-top: 20px;
}

.merch-pagination button {
	padding: 7px 12px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: .8rem;
	font-weight: bold;
	letter-spacing: .06em;
	text-transform: uppercase;
	cursor: pointer;
}

.merch-pagination button:hover {
	border-color: #fff;
	background: #fff;
	color: #000;
}

.merch-pagination span {
	padding: 0 10px;
	font-size: .8rem;
	opacity: .6;
	white-space: nowrap;
}
@media (max-width: 800px) {
	.merch-controls {
		flex-wrap: wrap;
	}

	.merch-search {
		width: 100%;
		margin-left: 0;
	}

	.merch-search input {
		flex: 1;
		width: auto;
	}

	.merch-sort {
		width: 100%;
		margin-left: 0;
		justify-content: flex-end;
	}
}
.merch-cart {
	width: 100%;
}

.merch-cart-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 28px;
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.merch-cart-header h1 {
	margin: 0;
	font-size: 2rem;
	text-transform: uppercase;
}

.merch-cart-items {
	display: flex;
	flex-direction: column;
}

.merch-cart-item {
	display: grid;
	grid-template-columns: minmax(200px, 1fr) auto auto auto;
	align-items: center;
	gap: 28px;
	padding: 22px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.merch-cart-item-code {
	margin-bottom: 4px;
	font-family: monospace;
	font-size: .75rem;
	opacity: .45;
}

.merch-cart-item-name {
	font-size: 1.15rem;
	font-weight: bold;
	text-transform: uppercase;
}

.merch-cart-item-price {
	margin-top: 5px;
	font-size: .8rem;
	opacity: .6;
}

.merch-cart-item-quantity {
	display: flex;
	align-items: center;
	gap: 8px;
}

.merch-cart-item-quantity label,
.merch-cart-item-subtotal span {
	font-size: .75rem;
	font-weight: bold;
	letter-spacing: .08em;
	text-transform: uppercase;
	opacity: .55;
}

.merch-cart-item-quantity input {
	width: 64px;
	padding: 7px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 0;
	background: #090909;
	color: #fff;
	font: inherit;
	text-align: center;
}

.merch-cart-item-quantity input:focus {
	border-color: #fff;
	outline: none;
}

.merch-cart-item-subtotal {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 3px;
	min-width: 90px;
}

.merch-cart-item-subtotal strong {
	font-size: 1.1rem;
}

.merch-cart-remove {
	padding: 7px 10px;
	border: 1px solid rgba(255, 255, 255, .2);
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: .7rem;
	font-weight: bold;
	letter-spacing: .06em;
	text-transform: uppercase;
	cursor: pointer;
	opacity: .65;
}

.merch-cart-remove:hover {
	border-color: #fff;
	background: #fff;
	color: #000;
	opacity: 1;
}

.merch-cart-summary {
	display: flex;
	justify-content: flex-end;
	margin-top: 30px;
}

.merch-cart-total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 60px;
	width: 100%;
	padding: 20px 0;
	border-top: 1px solid rgba(255, 255, 255, .18);
	border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.merch-cart-total span {
	font-size: .8rem;
	font-weight: bold;
	letter-spacing: .08em;
	text-transform: uppercase;
	opacity: .6;
}

.merch-cart-total strong {
	font-size: 1.6rem;
}

.merch-cart-actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 18px;
}

.merch-cart-summary {
	flex-direction: column;
}

.merch-cart-checkout {
	background: #fff;
	color: #000;
}

.merch-cart-checkout:hover {
	background: transparent;
	color: #fff;
}


.merch-cart-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-height: 34px;
	padding: 6px 11px;
	border: 1px solid rgba(255, 255, 255, .25);
	background: transparent;
	color: inherit;
	font-size: .8rem;
	font-weight: bold;
	text-decoration: none;
	white-space: nowrap;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.merch-cart-button:hover {
	border-color: #fff;
	background: #fff;
	color: #000;
}

.merch-cart-icon {
	font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
	font-size: 1rem;
	line-height: 1;
}

.merch-cart-count {
	font-family: monospace;
}
@media (max-width: 800px) {
	.merch-cart-header {
		align-items: flex-start;
		flex-direction: column;
	}

	.merch-cart-item {
		grid-template-columns: 1fr auto;
		gap: 16px;
	}

	.merch-cart-item-info {
		grid-column: 1 / -1;
	}

	.merch-cart-item-subtotal {
		align-items: flex-start;
	}

	.merch-cart-remove {
		justify-self: end;
	}

	.merch-cart-actions {
		flex-direction: column;
	}

	.merch-cart-actions .merch-button {
		text-align: center;
	}
}
.checkout-section {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
}

.merch-checkout {
	width: 100%;
}

.merch-checkout-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 30px;
}

.merch-checkout-header h1 {
	margin: 0;
}

.merch-checkout-form {
	width: 100%;
}

.merch-checkout-content {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 30px;
	align-items: start;
}

.merch-checkout-details {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.merch-checkout-section,
.merch-checkout-summary {
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(0, 0, 0, 0.35);
	padding: 22px;
}

.merch-checkout-section h2,
.merch-checkout-summary h2 {
	margin: 0 0 20px;
	font-size: 1.2rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.merch-checkout-field {
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin-bottom: 16px;
}

.merch-checkout-field:last-child {
	margin-bottom: 0;
}

.merch-checkout-field label {
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	opacity: 0.75;
}

.merch-checkout-field input,
.merch-checkout-field textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: rgba(0, 0, 0, 0.5);
	color: inherit;
	padding: 11px 12px;
	font: inherit;
}

.merch-checkout-field textarea {
	resize: vertical;
}

.merch-checkout-option {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	cursor: pointer;
}

.merch-checkout-option:last-child {
	border-bottom: 0;
}

.merch-checkout-option input {
	margin-top: 4px;
}

.merch-checkout-option span {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.merch-checkout-option small {
	opacity: 0.65;
}

.merch-checkout-summary {
	position: sticky;
	top: 20px;
}

.merch-checkout-items {
	display: flex;
	flex-direction: column;
}

.merch-checkout-item {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 13px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.merch-checkout-item > div {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.merch-checkout-item > div:last-child {
	text-align: right;
}

.merch-checkout-item span {
	font-size: 0.85rem;
	opacity: 0.65;
}

.merch-checkout-totals {
	margin-top: 20px;
}

.merch-checkout-totals > div {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 7px 0;
}

.merch-checkout-total {
	margin-top: 8px;
	padding-top: 15px !important;
	border-top: 1px solid rgba(255, 255, 255, 0.25);
	font-size: 1.25rem;
}


.merch-checkout-submit {
    display: block;
    width: calc(100% - 2.8rem);
    margin: .5rem 1.4rem 1.4rem;
    padding: 1.15rem;
    border: 1px solid var(--white);
    background: var(--white);
    color: var(--black);
    font: 700 .68rem/1 "Space Mono", monospace;
    text-transform: uppercase;
    letter-spacing: .14em;
    cursor: pointer;
}

.merch-checkout-submit:hover {
    background: var(--black);
    color: var(--white);
}


@media (max-width: 800px) {
	.merch-checkout-content {
		grid-template-columns: 1fr;
	}

	.merch-checkout-summary {
		position: static;
	}

	.merch-checkout-header {
		align-items: flex-start;
		flex-direction: column;
	}
}
.merch-detail-main-image {
	position: relative;
	overflow: hidden;
}

#prodImage.product-glitching {
	animation: logo-glitch 250ms steps(1);
}

.product-screen-glitch {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 10;
	opacity: 0;

	background: repeating-linear-gradient(
		to bottom,
		transparent 0,
		transparent 2px,
		rgba(255,255,255,.08) 3px,
		transparent 4px,
		transparent 6px
	);
}

.product-screen-glitch.glitching {
	opacity: 1;
	animation: screen-glitch 250ms steps(1);
}

.product-screen-glitch.glitching .glitch-line-1,
.product-screen-glitch.glitching .glitch-line-3 {
	animation: glitch-line-sweep-down 250ms steps(6);
}

.product-screen-glitch.glitching .glitch-line-2,
.product-screen-glitch.glitching .glitch-line-4 {
	animation: glitch-line-sweep-up 250ms steps(6);
}
