.single-product-page {
	background-color: var(--color-surface);
	background-image: url("../images/bg-pattern.png");
	background-repeat: repeat;
	background-size: auto;
}

.product-showcase {
	padding-block: 112px 58px;
}

.product-showcase__breadcrumb {
	margin-bottom: 28px;
}

.product-showcase__grid {
	align-items: start;
	display: grid;
	gap: 38px;
	grid-template-columns: minmax(0, 1.55fr) minmax(310px, 0.72fr);
}

.product-gallery__stage {
	aspect-ratio: 16 / 9;
	background: #e9e9e9;
	border: 0;
	cursor: zoom-in;
	display: block;
	overflow: hidden;
	padding: 0;
	position: relative;
	width: 100%;
}

.product-gallery__stage img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform 220ms ease;
	width: 100%;
}

.product-gallery__stage:hover img,
.product-gallery__stage:focus-visible img {
	transform: scale(1.04);
}

.product-gallery__stage:focus-visible {
	outline: 3px solid var(--color-accent);
	outline-offset: 3px;
}

.product-gallery__navigation {
	align-items: center;
	display: grid;
	gap: 10px;
	grid-template-columns: 20px minmax(0, 1fr) 20px;
	margin-top: 12px;
}

.product-gallery__thumbs {
	display: flex;
	gap: 9px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: none;
}

.product-gallery__thumbs::-webkit-scrollbar {
	display: none;
}

.product-gallery__arrow {
	background-color: transparent;
	background-position: center;
	background-repeat: no-repeat;
	background-size: auto 28px;
	border: 0;
	cursor: pointer;
	height: 42px;
	padding: 0;
	position: relative;
	width: 20px;
}

.product-gallery__arrow--prev {
	background-image: url("../icons/seta-esq.svg");
}

.product-gallery__arrow--next {
	background-image: url("../icons/seta-dir.svg");
}

.product-gallery__arrow:hover,
.product-gallery__arrow:focus-visible {
	opacity: 0.65;
}

.product-gallery__stage:fullscreen {
	align-items: center;
	background: #020716;
	display: flex;
	justify-content: center;
}

.product-gallery__stage:fullscreen img {
	object-fit: contain;
	transform: none;
}

html.has-gallery-modal {
	overflow: hidden;
}

.product-gallery-modal {
	background: transparent;
	border: 0;
	height: 100dvh;
	inset: 0;
	margin: 0;
	max-height: none;
	max-width: none;
	overflow: hidden;
	padding: 0;
	width: 100vw;
}

.product-gallery-modal:not([open]) {
	display: none;
}

.product-gallery-modal::backdrop {
	background: rgba(2, 7, 22, 0.94);
}

.product-gallery-modal__content {
	align-items: center;
	display: grid;
	grid-template-columns: minmax(48px, 7vw) minmax(0, 1fr) minmax(48px, 7vw);
	height: 100%;
	justify-items: center;
	padding: 34px 20px 24px;
	position: relative;
	width: 100%;
}

.product-gallery-modal__figure {
	align-items: center;
	display: flex;
	flex-direction: column;
	grid-column: 2;
	grid-row: 1;
	height: 100%;
	justify-content: center;
	margin: 0;
	min-height: 0;
	min-width: 0;
}

.product-gallery-modal__figure img {
	display: block;
	max-height: 88vh;
	max-width: 92vw;
	object-fit: contain;
	width: auto;
}

.product-gallery-modal__counter {
	background: rgba(2, 7, 22, 0.74);
	border-radius: 999px;
	bottom: 18px;
	color: #fff;
	font-family: var(--font-mono);
	font-size: 0.82rem;
	left: 50%;
	line-height: 1;
	padding: 8px 13px;
	position: absolute;
	transform: translateX(-50%);
	white-space: nowrap;
}

.product-gallery-modal__close,
.product-gallery-modal__arrow {
	align-items: center;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	display: flex;
	justify-content: center;
	transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.product-gallery-modal__close:hover,
.product-gallery-modal__close:focus-visible,
.product-gallery-modal__arrow:hover,
.product-gallery-modal__arrow:focus-visible {
	background: var(--color-accent);
	border-color: var(--color-accent);
	outline: 0;
	transform: scale(1.06);
}

.product-gallery-modal__close {
	font-family: Arial, sans-serif;
	font-size: 2rem;
	height: 44px;
	line-height: 1;
	position: absolute;
	right: 20px;
	top: 18px;
	width: 44px;
	z-index: 2;
}

.product-gallery-modal__close span {
	margin-top: -3px;
}

.product-gallery-modal__arrow {
	background-position: center;
	background-repeat: no-repeat;
	background-size: auto 24px;
	height: 52px;
	width: 52px;
}

.product-gallery-modal__arrow--prev {
	background-image: url("../icons/seta-esq.svg");
	grid-column: 1;
	grid-row: 1;
}

.product-gallery-modal__arrow--next {
	background-image: url("../icons/seta-dir.svg");
	grid-column: 3;
	grid-row: 1;
}

.product-gallery__thumb {
	aspect-ratio: 1.2;
	background: var(--color-surface);
	border: 2px solid transparent;
	cursor: pointer;
	flex: 0 0 calc((100% - 36px) / 5);
	overflow: hidden;
	padding: 0;
}

.product-gallery__thumb:hover,
.product-gallery__thumb:focus,
.product-gallery__thumb.is-active {
	border-color: var(--color-accent);
}

.product-gallery__thumb img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.product-summary {
	padding-top: 2px;
}

.product-summary__eyebrow,
.product-story__eyebrow,
.product-information__eyebrow {
	color: var(--color-accent);
	font-family: var(--font-mono);
	font-size: 0.78rem;
	font-weight: var(--fw-black);
	line-height: 1.2;
	text-transform: none;
}

.product-summary h1 {
	color: var(--color-ink);
	font-size: clamp(1.9rem, 2.2vw, 2rem);
	line-height: 0.96;
	margin-top: 5px;
	text-transform: none;
}

.product-summary__platform {
	color: var(--color-ink-soft);
	font-size: 1.15rem;
	font-style: italic;
	font-weight: var(--fw-black);
	margin-top: 4px;
}

.product-summary__wishlist {
	align-items: center;
	color: var(--color-ink-soft);
	display: inline-flex;
	font-size: 0.85rem;
	gap: 7px;
	margin-top: 12px;
	text-decoration: none;
}

.product-summary__wishlist span {
	background: currentColor;
	display: block;
	height: 20px;
	-webkit-mask: url("../icons/fav.svg") center / contain no-repeat;
	mask: url("../icons/fav.svg") center / contain no-repeat;
	width: 20px;
}

.product-summary__wishlist.is-active span {
	-webkit-mask-image: url("../icons/fav-filled.svg");
	mask-image: url("../icons/fav-filled.svg");
}

.product-summary__wishlist:hover,
.product-summary__wishlist:focus,
.product-summary__wishlist.is-active {
	color: var(--color-accent);
}

.product-summary__badge {
	align-items: center;
	border: 2px solid var(--color-accent);
	border-radius: 999px;
	color: var(--color-accent);
	display: flex;
	font-family: var(--font-mono);
	font-size: 0.62rem;
	font-weight: var(--fw-black);
	line-height: 1.15;
	margin-top: 14px;
	min-height: 27px;
	padding: 5px 11px 4px;
	text-transform: uppercase;
	width: max-content;
}

.product-summary__badge::before {
	content: "+";
	font-size: 0.9rem;
	margin-right: 5px;
}

.product-summary__price {
	color: var(--color-ink-soft);
	font-size: 2rem;
	font-style: italic;
	font-weight: var(--fw-black);
	line-height: 1;
	margin-top: 34px;
}

.product-summary__price ins {
	text-decoration: none;
}

.product-summary__cta {
	background: var(--color-accent);
	border-radius: 0;
	color: var(--color-surface);
	display: flex;
	font-family: var(--font-mono);
	font-size: 0.96rem;
	font-weight: var(--fw-bold);
	margin-top: 18px;
	min-height: 38px;
	padding: 0.58rem 0.9rem;
	text-decoration: none;
	width: max-content;
}

.woocommerce a.button.product-summary__cta {
	margin-top: 18px;
}

.product-summary__cta.is-soon {
	background: var(--color-accent);
	opacity: 1;
}

.product-summary__cta.is-sold {
	background: #8b8b8b;
}

.product-summary__note {
	color: var(--color-ink-soft);
	font-size: 0.72rem;
	font-style: italic;
	margin-top: 8px;
}

.product-summary__notify {
	margin-top: 18px;
}

.product-summary__notify-eyebrow {
	color: var(--color-accent);
	font-family: var(--font-mono);
	font-size: 0.78rem;
	font-weight: var(--fw-black);
	line-height: 1.2;
	text-transform: none;
}

.product-summary__notify-form {
	margin-top: 10px;
	max-width: 360px;
}

.product-summary__notify-row {
	display: flex;
	gap: 8px;
}

.product-summary__notify-row input {
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(6, 18, 60, 0.18);
	min-width: 0;
	padding: 0.78rem 0.95rem;
	width: 100%;
}

.product-summary__notify-row input:focus {
	outline: 2px solid var(--color-accent);
	outline-offset: 2px;
}

.product-summary__notify-row button {
	background: var(--color-accent);
	border: 0;
	color: var(--color-surface);
	font-family: var(--font-mono);
	font-size: 0.72rem;
	font-weight: var(--fw-bold);
	padding-inline: 0.95rem;
	text-transform: uppercase;
}

.product-summary__notify-message {
	font-size: 0.75rem;
	line-height: 1.45;
	margin-top: 8px;
}

.product-summary__notify-message.is-success {
	color: #2f7d32;
}

.product-summary__notify-message.is-error {
	color: #a23a3a;
}

.product-summary__notify-mark {
	display: block;
	height: auto;
	margin-top: 12px;
	opacity: 0.9;
	width: 110px;
}

.product-summary__features {
	color: var(--color-ink-soft);
	display: grid;
	font-size: 0.82rem;
	gap: 7px;
	list-style: none;
	margin: 32px 0 0;
	padding: 0;
}

.product-summary__features li::before {
	content: "•";
	margin-right: 7px;
}

.product-summary__mark {
	display: block;
	filter: brightness(0.68);
	height: auto;
	margin-top: 24px;
	opacity: 0.82;
	width: 150px;
}

.product-story {
	background: var(--color-ink);
	color: var(--color-surface);
	padding-block: 34px 42px;
}

.product-story__grid {
	align-items: start;
	display: grid;
	gap: 38px;
	grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
}

.product-story__media > p {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	margin-bottom: 8px;
}

.product-story__frame {
	aspect-ratio: 16 / 9;
	background: #020716;
	overflow: hidden;
	position: relative;
}

.product-story__frame iframe,
.product-story__frame video {
	border: 0;
	display: block;
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.product-story__copy {
	padding-top: 22px;
}

.product-trailer {
	display: grid;
	gap: 12px;
}

.product-story__copy h2 {
	color: var(--color-surface);
	font-size: clamp(2.15rem, 3.2vw, 2.8rem);
	line-height: 1.02;
	margin-top: 8px;
	text-transform: none;
}

.product-story__copy h2 span {
	display: block;
}

.product-story__copy > p:not(.product-story__eyebrow) {
	color: rgba(255, 255, 255, 0.86);
	font-size: 0.9rem;
	line-height: 1.55;
	margin-top: 16px;
}

.product-information {
	padding-block: 48px 30px;
}

.product-information__grid {
	align-items: start;
	display: grid;
	gap: 7px 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 10px;
}

.product-information__item {
	background: rgba(255, 255, 255, 0.76);
	border: 1px solid rgba(6, 18, 60, 0.14);
}

.product-information__item summary {
	color: var(--color-ink-soft);
	cursor: pointer;
	font-size: 0.8rem;
	font-weight: var(--fw-bold);
	list-style: none;
	min-height: 42px;
	padding: 12px 42px 10px 13px;
	position: relative;
}

.product-information__item summary::-webkit-details-marker {
	display: none;
}

.product-information__item summary::after {
	border-bottom: 2px solid currentColor;
	border-right: 2px solid currentColor;
	content: "";
	height: 8px;
	position: absolute;
	right: 17px;
	top: 14px;
	transform: rotate(45deg);
	transition: transform 160ms ease;
	width: 8px;
}

.product-information__item[open] summary::after {
	transform: rotate(225deg);
	top: 19px;
}

.product-information__item > p {
	color: var(--color-ink-soft);
	font-size: 0.78rem;
	line-height: 1.45;
	padding: 0 13px 13px;
}

.product-related {
	padding-block: 24px 112px;
}

.product-related h2 {
	color: var(--color-ink);
	font-size: clamp(2.25rem, 4vw, 3.25rem);
	line-height: 1;
	text-transform: none;
}

.product-related__grid {
	margin-top: 28px;
}

.product-related .product-card {
	box-shadow: none;
}

@media (max-width: 980px) {
	.product-showcase__grid,
	.product-story__grid {
		grid-template-columns: 1fr;
	}

	.product-summary {
		padding-top: 0;
	}

	.product-story__copy {
		max-width: 680px;
		padding-top: 0;
	}
}

@media (max-width: 700px) {
	.product-showcase {
		padding-block: 104px 52px;
	}

	.product-showcase__breadcrumb {
		display: flex;
		flex-wrap: wrap;
	}

	.product-showcase__grid {
		gap: 28px;
	}

	.product-gallery__stage {
		aspect-ratio: 16 / 9;
	}

	.product-gallery__thumbs {
		gap: 5px;
	}

	.product-gallery__navigation {
		gap: 6px;
		grid-template-columns: 16px minmax(0, 1fr) 16px;
	}

	.product-gallery__arrow {
		width: 16px;
	}

	.product-gallery-modal__content {
		grid-template-columns: 46px minmax(0, 1fr) 46px;
		padding: 54px 8px 42px;
	}

	.product-gallery-modal__figure img {
		max-height: 82vh;
		max-width: calc(100vw - 108px);
	}

	.product-gallery-modal__arrow {
		background-size: auto 20px;
		height: 42px;
		width: 42px;
	}

	.product-gallery-modal__close {
		height: 40px;
		right: 12px;
		top: 10px;
		width: 40px;
	}

	.product-gallery-modal__counter {
		bottom: 12px;
	}

	.product-summary h1,
	.product-story__copy h2,
	.product-related h2 {
		font-size: 2.55rem;
	}

	.product-summary__notify-row {
		flex-direction: column;
	}

	.product-summary__notify-row button {
		padding-block: 0.8rem;
	}

	.product-summary__badge {
		border-radius: 0;
		line-height: 1.3;
	}

	.product-story__grid {
		gap: 30px;
	}

	.product-information__grid {
		grid-template-columns: 1fr;
	}

	.product-related {
		padding-bottom: 80px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.product-gallery__thumbs {
		scroll-behavior: auto;
	}

	.product-gallery__stage img,
	.product-gallery-modal__close,
	.product-gallery-modal__arrow {
		transition: none;
	}

	.product-gallery__stage:hover img,
	.product-gallery__stage:focus-visible img {
		transform: none;
	}
}
