/* Single Product-only presentation layer. WooCommerce keeps ownership of
 * gallery, zoom, lightbox and variation behavior. */
.single-product .nw-ce-site--single-product-cards {
	min-height: 0;
	background: transparent;
}

.single-product .nw-ce-site--single-product-cards.is-empty,
.single-product .nw-related-section.nw-single-product-cards-empty {
	display: none !important;
}

.single-product .nw-single-gallery .nw-gallery-thumbs-shell {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr) 38px;
	align-items: center;
	gap: 10px;
	width: 100%;
}

.single-product .nw-single-gallery .nw-gallery-thumbs-shell.is-static {
	grid-template-columns: minmax(0, 1fr);
}

.single-product .nw-single-gallery .nw-gallery-thumbs-shell__button {
	display: inline-grid;
	width: 38px;
	height: 38px;
	place-items: center;
	padding: 0;
	border: 1px solid #343c4d;
	border-radius: 50%;
	background: #151c29;
	color: #fff;
	cursor: pointer;
	font-size: 20px;
	line-height: 1;
	transition: background-color .2s ease, border-color .2s ease, transform .2s ease, opacity .2s ease;
}

.single-product .nw-single-gallery .nw-gallery-thumbs-shell__button:hover,
.single-product .nw-single-gallery .nw-gallery-thumbs-shell__button:focus-visible {
	border-color: #ed2b79;
	background: #ed2b79;
	transform: translateY(-1px);
}

.single-product .nw-single-gallery .nw-gallery-thumbs-shell__button:disabled {
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
}

.single-product .nw-single-gallery .nw-gallery-thumbs-shell .flex-control-thumbs {
	display: flex !important;
	flex-wrap: nowrap;
	gap: 10px;
	width: 100%;
	margin: 0 !important;
	padding: 0 1px 4px !important;
	overflow: hidden;
	scroll-behavior: smooth;
	scrollbar-width: none;
}

.single-product .nw-single-gallery .nw-gallery-thumbs-shell .flex-control-thumbs::-webkit-scrollbar {
	display: none;
}

.single-product .nw-single-gallery .nw-gallery-thumbs-shell .flex-control-thumbs li {
	flex: 0 0 calc((100% - 40px) / 5) !important;
	width: auto !important;
	min-width: 0 !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	aspect-ratio: 1;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 14px;
	background: #07111f;
	cursor: pointer;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.single-product .nw-single-gallery .nw-gallery-thumbs-shell .flex-control-thumbs li:hover,
.single-product .nw-single-gallery .nw-gallery-thumbs-shell .flex-control-thumbs li:focus-visible {
	border-color: #ed2b79;
	transform: translateY(-2px);
}

.single-product .nw-single-gallery .nw-gallery-thumbs-shell .flex-control-thumbs li.nw-gallery-thumb--active {
	border-color: #ed2b79;
	box-shadow: 0 0 0 2px rgba(237, 43, 121, .16);
}

.single-product .nw-single-gallery .nw-gallery-thumbs-shell .flex-control-thumbs li img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 13px;
	object-fit: cover;
	opacity: .62;
	cursor: pointer;
	transition: opacity .2s ease;
}

.single-product .nw-single-gallery .nw-gallery-thumbs-shell .flex-control-thumbs li img.flex-active,
.single-product .nw-single-gallery .nw-gallery-thumbs-shell .flex-control-thumbs li.nw-gallery-thumb--active img {
	opacity: 1;
}

.single-product .variations_form .variations {
	width: 100%;
	table-layout: fixed;
	border-collapse: separate;
	border-spacing: 0 12px;
}

.single-product .variations_form .variations th.label {
	width: 92px;
	padding: 0 14px 0 0;
	color: #fff;
	text-align: left;
	vertical-align: middle;
}

.single-product .variations_form .variations th.label label {
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}

.single-product .variations_form .variations td.value {
	width: auto;
	padding: 0;
}

.single-product .variations_form .variations td.value select {
	display: block;
	width: min(100%, 320px);
	min-height: 48px;
	padding: 12px 42px 12px 14px;
	border: 1px solid #2b3445 !important;
	border-radius: 12px;
	outline: 0;
	background-color: #0e1520 !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='m1 1 6 6 6-6' fill='none' stroke='%23ffffff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-position: right 14px center;
	background-repeat: no-repeat;
	color: #fff !important;
	color-scheme: dark;
	cursor: pointer;
	font-size: 15px;
	line-height: 1.4;
	appearance: none !important;
	-webkit-appearance: none !important;
	transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.single-product .variations_form .variations td.value select:hover {
	border-color: #596579 !important;
	background-color: #151c29 !important;
}

.single-product .variations_form .variations td.value select:focus {
	border: 1px solid #ed2b79 !important;
	border-color: #ed2b79 !important;
	border-top-color: #ed2b79 !important;
	border-right-color: #ed2b79 !important;
	border-bottom-color: #ed2b79 !important;
	border-left-color: #ed2b79 !important;
	box-shadow: 0 0 0 3px rgba(237, 43, 121, .18);
}

.single-product .variations_form .variations td.value select:disabled {
	border-color: #252d3a !important;
	background-color: #0a1019 !important;
	color: #768196 !important;
	cursor: not-allowed;
	opacity: .7;
}

.single-product .variations_form .variations td.value select option {
	background: #0e1520;
	color: #fff;
}

.single-product .variations_form .variations td.value select option:disabled {
	background: #0a1019;
	color: #768196;
}

@media (max-width: 1024px) {
	.single-product .nw-single-gallery .nw-gallery-thumbs-shell .flex-control-thumbs li {
		flex-basis: calc((100% - 30px) / 4) !important;
	}
}

@media (max-width: 767px) {
	.single-product .nw-single-gallery .nw-gallery-thumbs-shell {
		grid-template-columns: 32px minmax(0, 1fr) 32px;
		gap: 8px;
	}

	.single-product .nw-single-gallery .nw-gallery-thumbs-shell__button {
		width: 32px;
		height: 32px;
		font-size: 17px;
	}

	.single-product .nw-single-gallery .nw-gallery-thumbs-shell .flex-control-thumbs {
		gap: 8px;
	}

	.single-product .nw-single-gallery .nw-gallery-thumbs-shell .flex-control-thumbs li {
		flex-basis: calc((100% - 24px) / 4) !important;
		border-radius: 11px;
	}

	.single-product .nw-single-gallery .nw-gallery-thumbs-shell .flex-control-thumbs li img {
		border-radius: 10px;
	}

	.single-product .variations_form .variations th.label {
		width: 78px;
		padding-right: 10px;
	}

	.single-product .variations_form .variations td.value select {
		width: 100%;
		min-height: 46px;
	}
}
