/* [custom_add_to_cart]: WooCommerce adds .loading while the product is being added. */

.custom-atc-btn.loading .icon-default {
	display: none !important;
}

.custom-atc-btn.loading .loader-icon {
	display: inline-block !important;
}

.custom-atc-btn .spin {
	animation: wcds-spin 0.8s linear infinite;
}

.custom-atc-btn .spin circle {
	stroke-dasharray: 90 150;
}

@keyframes wcds-spin {
	to {
		transform: rotate(360deg);
	}
}

/* [product_content_lightbox] */

.nk-lightbox {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 9999;
	justify-content: center;
	align-items: center;
	background: rgba(0, 0, 0, 0.7);
}

.nk-lightbox.is-open {
	display: flex;
}

.nk-lightbox[hidden] {
	display: none !important;
}

.nk-lightbox-content {
	position: relative;
	box-sizing: border-box;
	width: 90%;
	max-width: 600px;
	max-height: 85vh;
	overflow-y: auto;
	padding: 30px;
	background: #fff;
	border-radius: 8px;
}

.nk-lightbox h3 {
	margin-top: 0 !important;
	padding-right: 40px;
}

button.nk-lightbox-close {
	position: absolute;
	top: 30px;
	right: 30px;
	padding: 0 !important;
	border: 0;
	background-color: transparent !important;
	color: #000 !important;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

html.nk-lightbox-open {
	overflow: hidden;
}
