/* default css */

.woocommerce-product-gallery .woocommerce-product-gallery__image img {
	display: block;
	width: 100%;
	height: auto;
}

.woocommerce-product-gallery.cnf3dweb-gallery-loading {
	position: relative;
}

.woocommerce-product-gallery.cnf3dweb-gallery-loading .woocommerce-product-gallery__wrapper {
	opacity: 0.45;
	transition: opacity 0.2s ease;
}

.cnf3dweb-gallery-loader {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 9999;
	pointer-events: none;
}

.cnf3dweb-gallery-loader__content {
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid #e5e5e5;
	border-radius: 14px;
	padding: 14px 16px;
	text-align: center;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-shadow: 0 8px 20px -18px rgba(0, 0, 0, 0.45);
	pointer-events: none;
}

.cnf3dweb-gallery-loader__spinner {
	width: 42px;
	height: 42px;
	border: 3px solid rgba(64, 64, 64, 0.18);
	border-top-color: #3a7bd5;
	border-radius: 50%;
	animation: cnf3dweb-spin 0.7s linear infinite;
}

.cnf3dweb-gallery-loader__text {
	font-size: 14px;
	line-height: 1.4;
	color: #404040;
	max-width: 220px;
}

.cnf3dweb-session-reference {
	margin-top: 10px;
	display: inline-flex;
	align-items: center;
}

.cnf3dweb-session-reference__link,
.cnf3dweb-session-reference__text {
	display: inline-flex;
	align-items: center;
	padding: 0.45rem 0.75rem;
	border: 1px solid #e5e5e5;
	border-radius: 999px;
	background-color: #f4f4f5;
	color: #2c5ea8;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.cnf3dweb-session-reference__link:hover,
.cnf3dweb-session-reference__link:focus-visible {
	background-color: #3a7bd5;
	border-color: #3a7bd5;
	color: #ffffff;
	outline: none;
}

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