.tara-boom-gallery-thumb--active {
	outline: 2px solid var(--color-primary, #c32f58);
	outline-offset: 2px;
}

.tara-boom-gallery-play-badge {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	background: rgba(0, 0, 0, 0.35);
	pointer-events: none;
}

.tara-boom-gallery-more img {
	filter: blur(6px);
}

.tara-boom-gallery-more-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	background: rgba(0, 0, 0, 0.25);
	pointer-events: none;
}

.tara-boom-gallery-video {
	z-index: 2;
}

.tara-boom-gallery-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.tara-boom-gallery-modal.is-open {
	display: flex;
}

.tara-boom-gallery-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	backdrop-filter: blur(8px);
}

.tara-boom-gallery-modal__dialog {
	position: relative;
	width: 100%;
	max-height: 90vh;
	overflow: auto;
	background: #fff;
}

.tara-boom-gallery-modal__close {
	border: 0;
	background: transparent;
	color: #e11d48;
	cursor: pointer;
	font: inherit;
}

.tara-boom-gallery-modal__thumb {
	position: relative;
	width: 5rem;
	height: 5rem;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 0.75rem;
	overflow: hidden;
	cursor: pointer;
	background: #f3f4f6;
	flex: 0 0 auto;
}

.tara-boom-gallery-modal__thumb.is-active {
	border-color: var(--color-primary, #c32f58);
}

.tara-boom-gallery-modal__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tara-boom-gallery-modal__thumb-badge {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 0.15rem 0.25rem;
	font-size: 10px;
	text-align: center;
	color: #fff;
	background: rgba(0, 0, 0, 0.55);
}

.tara-boom-gallery-modal__image,
.tara-boom-gallery-modal__video {
	max-width: 100%;
	max-height: 60vh;
	border-radius: 0.75rem;
}

html.tara-boom-gallery-modal-open {
	overflow: hidden;
}
