/* =========================================================
   Fluid Canvas — CSS v1.0.0
   ========================================================= */

.fc-wrapper {
	position: relative;
	width: 100%;
	overflow: hidden;
	user-select: none;
	-webkit-user-select: none;
}

/* ---------- Canvas ---------- */
.fc-canvas {
	display: block;
	width: 100%;
	height: 620px;
	cursor: crosshair;
	touch-action: none;
	transition: filter 0.4s ease;
}

.fc-wrapper--lb-open .fc-canvas {
	filter: blur(8px) brightness(0.35) saturate(0.4);
}

/* ---------- Lightbox ---------- */
.fc-lightbox {
	--fc-lb-bg: rgba(10, 5, 2, 0.95);
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s ease;
}

.fc-lightbox[aria-hidden="false"] {
	opacity: 1;
	pointer-events: auto;
}

.fc-lightbox__overlay {
	position: absolute;
	inset: 0;
	background: var(--fc-lb-bg);
	cursor: pointer;
}

.fc-lightbox__panel {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	transform: scale(0.84);
	transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fc-lightbox[aria-hidden="false"] .fc-lightbox__panel {
	transform: scale(1);
}

.fc-lightbox__img {
	display: block;
	max-width: 90vw;
	max-height: 82vh;
	border-radius: 4px;
	object-fit: contain;
	box-shadow: 0 30px 100px rgba(0,0,0,0.85), 0 0 0 1px rgba(255,255,255,0.06);
}

@media (max-width: 767px) {
	.fc-lightbox__img {
		max-width: 95vw;
		max-height: 78vh;
	}
}

.fc-lightbox__caption {
	margin: 0;
	color: rgba(255,255,255,0.65);
	font-size: 0.875rem;
	text-align: center;
	max-width: 68ch;
	line-height: 1.6;
	letter-spacing: 0.02em;
}

/* ---------- Close button ---------- */
.fc-lightbox__close {
	position: absolute;
	top: -52px;
	right: 0;
	width: 40px;
	height: 40px;
	border: none;
	cursor: pointer;
	color: #fff;
	padding: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.18s, background 0.18s;
}

.fc-lightbox__close--circle {
	background: rgba(255,255,255,0.13);
	border-radius: 50%;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.fc-lightbox__close--x-only {
	background: transparent;
}

.fc-lightbox__close:hover {
	transform: scale(1.14);
	background: rgba(255,255,255,0.24);
}

.fc-lightbox__close svg {
	width: 100%;
	height: 100%;
}

/* ---------- Hint for Elementor editor ---------- */
.fc-wrapper--preview {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f2ede6;
}

.fc-editor-hint {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	color: rgba(30,15,5,0.45);
	pointer-events: none;
}

.fc-editor-hint span { font-size: 1.3rem; font-weight: 600; }
.fc-editor-hint small { font-size: 0.8rem; opacity: 0.7; }
