/* Single Product */
.single-product .woocommerce-product-gallery__trigger {
	display: none;
}

.single-product .woocommerce-product-gallery__wrapper .zoomImg {
	display: none !important;
}

.single-product .product-hero {
	position: relative;
}

.single-product .product-hero::before {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
	background-image: linear-gradient(to right,
			rgba(5, 6, 30, 0.85),
			rgba(5, 6, 30, 0)),
		linear-gradient(to bottom, rgba(5, 6, 30, 0), #05061e min(70vh, 80%));
	background-position: top;
	background-size: 100%;
	background-repeat: no-repeat;
	content: "";
}

.single-product .product-hero > *,
.games-page-top-cover-wrap {
	position: relative;
	z-index: 1;
}

.single-product .product-hero > .wp-block-cover__image-background,
.games-page-top-cover-wrap > .wp-block-cover__image-background {
	position: absolute;
	z-index: -2;
	height: auto;
}

.product-hero-cover > .wp-block-cover__inner-container {
	padding: 0 !important;
}

.single-product .product-breadcrumbs {
	margin-top: 0;
}

.single-product .product-hero h1 {
	font-size: 40px;
}

.woocommerce-product-gallery__image {
	border-radius: 20px;
}

.woocommerce div.product div.images {
	margin-bottom: 0;
}

.single-product .product-hero .wp-block-woocommerce-product-image-gallery {
	max-width: 100%;
}

/* Remove WooCommerce gallery fade-in (inline opacity:0 + JS toggle).
   The fade delays LCP paint by keeping the image invisible until JS runs.
   Target both the wrapper and the images to prevent any opacity animation. */


/* The wrapper needs transform transitions for the Flexslider slide animation. */
.woocommerce-product-gallery {
	opacity: 0;
}

.wp-block-woocommerce-product-image-gallery .onsale,
.wp-block-woocommerce-product-image-gallery .product-labels {
	display: none !important;
}

.wp-block-woocommerce-product-image-gallery .woocommerce-product-gallery__wrapper img {
	border-radius: 20px;
}

.woocommerce div.product div.images .flex-control-thumbs img {
	border-radius: 10px;
	width: 100%;
	height: auto;
	cursor: pointer;
}

.woocommerce div.product div.images .flex-control-thumbs img.flex-active {
	outline: 3px solid #564fff;
	outline-offset: -3px;
}

.woocommerce-product-gallery > .prev,
.woocommerce-product-gallery > .next {
	position: absolute;
	bottom: 55px;
	z-index: 5;
	cursor: pointer;
	filter: drop-shadow(0 0 7px #000);
	transition: opacity 0.2s;
}

.woocommerce-product-gallery > .gallery-nav-disabled {
	opacity: 0.3;
	cursor: default;
}

.woocommerce-product-gallery > .prev {
	left: 0;
}

.woocommerce-product-gallery > .next {
	right: 0;
}

.pswp {
	display: none !important;
}

.single-product .product-hero .product-details {
	padding-right: 0 !important;
	padding-bottom: 0 !important;
	padding-left: 0 !important;
	height: fit-content;
	overflow: hidden;
}

.single-product .product-hero .details-head {
	position: relative;
	padding-right: 0 !important;
	padding-bottom: 0 !important;
	padding-left: 0 !important;
	height: fit-content;
}

.single-product .product-hero .details-head::after {
	display: block;
	opacity: 0.2;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	background-image: linear-gradient(90deg, #554ff6 0%, #3cb8ff 100%);
	content: "";
}

.single-product .product-hero .details-head>* {
	position: relative;
	z-index: 1;
	margin: 0 !important;
	padding-right: var(--wp--preset--spacing--50);
	padding-left: var(--wp--preset--spacing--50);
	width: 100%;
}

.single-product .product-hero .details-head>.price-container {
	flex-wrap: nowrap;
	margin-top: -5px !important;
}

.single-product.product-has-addons .product-hero .details-head>.price-container,
.single-product.product-has-slider .product-hero .details-head>.price-container {
	display: none;
}

.single-product .product-hero .details-head>.price-container .wp-block-image {
	flex-shrink: 0;
}

.single-product .product-hero .details-head>.price-container .woocommerce-Price-amount {
	white-space: nowrap;
}

.single-product .wc-block-grid__product-price {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px;
	margin-bottom: 0;
	background: linear-gradient(to right, #554ff6, #3cb8ff);
	-webkit-background-clip: text;
	background-clip: text;
	color: #0000;
	font-size: 26px !important;
	font-weight: 700;
}

.single-product .wc-block-grid__product-price del .woocommerce-Price-amount {
	position: relative;
	background: linear-gradient(to right, #554ff6, #3cb8ff);
	-webkit-background-clip: text;
	background-clip: text;
	color: #0000;
}

.single-product .wc-block-grid__product-price del .woocommerce-Price-amount::after {
	display: block;
	position: absolute;
	top: calc(50% - 1.5px);
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(to right, #554ff6, #3cb8ff);
	content: "";
}

.single-product .wc-block-grid__product-price ins {
	color: #0000 !important;
}

.single-product .details-head .wp-block-spacer {
	width: 100%;
	height: 1px;
	background: #1d2140;
}

.first-payment-date {
	display: none;
}

.wc-block-components-product-summary {
	margin-bottom: 0;
}

.wc-block-components-product-summary p:first-child {
	margin-top: 0 !important;
}

.wc-block-components-product-summary p:last-child {
	margin-bottom: 0 !important;
}

.wp-block-add-to-cart-form {
	width: 100%;
}

.single-product div.product form.cart {
	display: block;
	margin-bottom: 0;
}

.woocommerce-variation-add-to-cart {
	display: block !important;
}

.variations_form {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.woocommerce div.product form.cart table.variations {
	display: table;
	position: relative;
	margin-bottom: 40px;
}

table.variations tr,
table.variations th,
table.variations td {
	padding: 0 !important;
	background-color: transparent !important;
	text-align: left;
}

table.variations th {
	padding-right: 20px !important;
}

table.variations th,
table.variations td {
	border: none !important;
	padding-top: 10px !important;
	vertical-align: top;
}

table.variations tr:first-child th,
table.variations tr:first-child td {
	padding-top: 0 !important;
}

.single-product .woocommerce form.cart table.variations th label {
	display: block;
	margin-bottom: 0;
	width: max-content;
	font-weight: 400;
}

table.variations th label::after {
	content: ":";
}

table.variations td select {
	border: none;
	border-radius: 5px;
	padding-right: 30px;
	width: 100%;
	min-width: 100% !important;
	max-width: unset;
	background-color: #11132f !important;
	background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNSIgaGVpZ2h0PSIyNSIgZmlsbD0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2U9InJnYmEoMjU1LCAyNTUsIDI1NSwgMC42KSI+PHBhdGggZD0iTTYgOWw2IDYgNi02Ii8+PC9zdmc+") !important;
	background-position: right 10px top 50%;
	background-size: auto 18px;
	background-repeat: no-repeat;
	color: #fff;
	accent-color: #554ff6;
}

table.variations td select:focus {
	outline: 1px solid #554ff6;
}

table.variations td select option:hover {
	background-color: #554ff6 !important;
}

table.variations .reset_variations {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	width: fit-content !important;
}

.single_variation_wrap {
	margin-top: auto;
	margin-bottom: 10px;
}

.woocommerce-variation-add-to-cart .quantity {
	display: none !important;
}

.single-product div.product form.cart button.single_add_to_cart_button {
	border-radius: 5px;
	width: 100%;
	max-width: 100%;
	background: #554ff6;
	font-size: 16px;
	font-weight: 600;
	text-transform: uppercase;
}

.product-cta-section {
	background-image: linear-gradient(to bottom, #0f1132, #070824 20% 100%);
}

.product-cta {
	background-color: #0f1132;
	background-blend-mode: lighten;
}

.single-product .woocommerce-variation-price .price {
	color: #554ff6;
	font-size: 16px;
}

.single-product .price del .woocommerce-Price-amount {
	position: relative;
	background: linear-gradient(to right, #554ff6, #3cb8ff);
	background-clip: text;
	color: #0000;
}

.single-product .price del .woocommerce-Price-amount::after {
	display: block;
	position: absolute;
	top: calc(50% - 1.5px);
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(to right, #554ff6, #3cb8ff);
	content: "";
}

@media (max-width: 1024px) {

	.single-product .product-hero h1 {
		font-size: 32px;
	}

	table.variations tr:not(:first-child) {
		display: block;
		margin-top: 15px;
	}

	table.variations th,
	table.variations td {
		display: block;
		padding: 0;
		width: 100%;
	}

	table.variations select {
		max-width: unset;
	}

	table.variations .label {
		margin-bottom: 7px;
		padding-right: 0;
		padding-bottom: 0;
	}

	table.variations td,
	table.variations th {
		border: none !important;
		padding-top: 0 !important;
	}

	.single-product .woocommerce form.cart table.variations th label {
		width: 100%;
	}
}

@media (max-width: 767px) {

	.single-product .product-hero::before {
		background-image: linear-gradient(to right, #05061ed9, #05061e00),
			linear-gradient(to bottom, #05061e00, #05061e 150px);
	}

	.single-product .product-hero h1 {
		font-size: 26px;
		font-weight: 700;
	}

	.single-product h1 {
		margin: 20px 0 !important;
	}

	.single-product .wc-block-grid__product-price {
		font-size: 20px !important;
	}

	.single-product .product-hero .details-head>* {
		padding-right: 15px !important;
		padding-left: 15px !important;
	}

	.single-product .product-hero .product-details>div:last-child {
		padding: 20px 15px !important;
	}
}

/* add feature-quantity-selector */
.single-product.mt-quantity-selector .wc-pao-addon-wrap {
	position: relative;
}

.single-product.mt-quantity-selector .wc-pao-addon .wc-pao-addon-name {
	max-width: 320px;
}

@media (max-width: 450px) {

	.single-product.mt-quantity-selector .wc-pao-addon .wc-pao-addon-name {
		max-width: 200px;
	}
}

@media (max-width: 1150px) {

	.single-product.mt-quantity-selector .wc-pao-addon-wrap {
		max-width: 130px;
	}
}

@media (max-width: 1024px) {

	.single-product.mt-quantity-selector .wc-pao-addon-wrap {
		max-width: 100px;
	}
}

@media (max-width: 370px) {

	.single-product.mt-quantity-selector .wc-pao-addon-wrap {
		max-width: 95px;
	}
}

.single-product.mt-quantity-selector .input-text.wc-pao-addon-input-multiplier {
	position: relative;
	z-index: 1;
	border: 1px solid #3a4a6a;
	border-radius: 6px;
	box-sizing: border-box;
	width: 100%;
	height: 30px;
	background: #162544;
	color: #d3d6e0;
	text-align: center;
}

/* clickable +/- */
.single-product.mt-quantity-selector .qty-btn {
	position: absolute;
	top: 50%;
	z-index: 2;
	padding: 0 8px;
	color: #d3d6e0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	pointer-events: auto;
	user-select: none;
	transform: translateY(-50%);
}

@media (max-width: 1024px) {

	.single-product.mt-quantity-selector .qty-btn {
		padding: 0;
	}
}

.minus-btn {
	left: 12px;
}

.plus-btn {
	right: 12px;
}

/* just in case a previous rule disabled clicks */
.single-product.mt-quantity-selector .wc-pao-addon-wrap::before,
.single-product.mt-quantity-selector .wc-pao-addon-wrap::after {
	pointer-events: none;
}

/* Remove number input spinner (Chrome, Safari, Edge) */
.single-product.mt-quantity-selector .wc-pao-addon-input-multiplier::-webkit-outer-spin-button,
.single-product.mt-quantity-selector .wc-pao-addon-input-multiplier::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

/* Remove number input spinner (Firefox) */
.single-product.mt-quantity-selector .wc-pao-addon-input-multiplier[type="number"] {
	-moz-appearance: textfield;
}

.single-product.mt-quantity-selector .wc-pao-addon {
	display: flex;
	align-content: center;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 7px !important;
	padding: 0 2px;
}

.single-product.mt-quantity-selector .wc-pao-addon .wc-pao-addon-wrap {
	margin: 0;
}

.single-product .wc-pao-addon-price .woocommerce-Price-amount.amount,
.single-product.mt-quantity-selector .amount {
	color: #40A8FD;
	font-weight: 600;
}

#product-addons-total li:not(:last-child) {
	display: none;
}

.wc-pao-addons-container div.product-addon-totals {
	margin: 20px 0 40px;
	border-top: 1px solid #eee !important;
	border-bottom: 1px solid #eee !important;
	padding: 0;
	overflow: hidden;
}

.wc-pao-addons-container div.product-addon-totals .wc-pao-subtotal-line {
	justify-content: flex-start;
	border: none;
	padding-top: 0;
	color: #554ff6;
}

.single-product div.product div.product-addon-totals .wc-pao-subtotal-line p.price {
	margin-bottom: 10px;
	font-size: 16px;
	font-weight: 600;
}

.wc-pao-addons-container div.product-addon-totals .wc-pao-subtotal-line .amount {
	font-size: 16px;
	font-weight: 700;
}

.terms .woocommerce-input-wrapper label.checkbox {
	display: block !important;
}
