html.archa-ig-lightbox-open {
	overflow: hidden;
}

.archa-ig-lightbox {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
}

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

.archa-ig-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(31, 26, 36, 0.82);
	backdrop-filter: blur(6px);
}

.archa-ig-lightbox__panel {
	position: relative;
	z-index: 1;
	width: min(920px, 100%);
	max-height: calc(100vh - 2.5rem);
	background: var(--archa-surface-card, #fff);
	border-radius: var(--archa-radius, 16px);
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.archa-ig-lightbox__close {
	position: absolute;
	top: 0.65rem;
	right: 0.65rem;
	z-index: 2;
	width: 2.25rem;
	height: 2.25rem;
	border: none;
	border-radius: 50%;
	background: none;
	color: #fff;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	-webkit-tap-highlight-color: transparent;
}

.archa-ig-lightbox__close:hover,
.archa-ig-lightbox__close:focus,
.archa-ig-lightbox__close:active {
	background: none;
	box-shadow: none;
}

.archa-ig-lightbox__media {
	position: relative;
	background: #0f0d12;
	display: flex;
	align-items: center;
	justify-content: center;
	max-height: min(72vh, 820px);
	touch-action: pan-y pinch-zoom;
	user-select: none;
}

.archa-ig-lightbox__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	transform: translateY(-50%);
	width: 2.75rem;
	height: 2.75rem;
	border: none;
	border-radius: 50%;
	background: none;
	color: #fff;
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0.9;
	-webkit-tap-highlight-color: transparent;
}

.archa-ig-lightbox__nav--prev {
	left: 0.35rem;
	padding-right: 0.15rem;
}

.archa-ig-lightbox__nav--next {
	right: 0.35rem;
	padding-left: 0.15rem;
}

.archa-ig-lightbox__nav:hover:not(:disabled),
.archa-ig-lightbox__nav:focus:not(:disabled),
.archa-ig-lightbox__nav:active:not(:disabled) {
	background: none;
	box-shadow: none;
}

.archa-ig-lightbox__nav:disabled {
	opacity: 0.25;
	cursor: default;
}

.archa-ig-lightbox__img {
	display: block;
	max-width: 100%;
	max-height: min(72vh, 820px);
	width: auto;
	height: auto;
	object-fit: contain;
}

.archa-ig-lightbox__caption {
	margin: 0;
	padding: 1rem 1.25rem 0;
	font-family: var(--archa-font-ui, 'DM Sans', system-ui, sans-serif);
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--archa-ink-soft, #4a4452);
}

.archa-ig-lightbox__caption[hidden] {
	display: none;
}

.archa-ig-lightbox__actions {
	padding: 1rem 1.25rem 1.25rem;
	display: flex;
	justify-content: center;
}

.archa-ig-lightbox__ig {
	display: inline-flex;
	align-items: center;
	padding: 0.75rem 1.35rem;
	border-radius: 999px;
	background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
	color: #fff !important;
	font-family: var(--archa-font-ui, 'DM Sans', system-ui, sans-serif);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.archa-ig-lightbox__ig:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 24px rgba(131, 58, 180, 0.35);
	color: #fff !important;
}
