/* fichtelbee – Bildleiste der Produktdetailseite, Stand 2026-10-10.
 * Gegenstück zu media/fichtelbee/js/fb-gallery.js */

.fb-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	margin: 1rem 0;
}

.fb-thumb {
	position: relative;
	flex: 0 0 auto;
	width: 88px;
	height: 88px;
	padding: 0;
	border: 1px solid #ddd;
	border-radius: 0;
	background: #fff;
	line-height: 0;
	overflow: hidden;
	cursor: pointer;
	transition: border-color .15s ease;
}

.fb-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fb-thumb:hover,
.fb-thumb:focus-visible {
	border-color: #999;
}

.fb-thumb.is-active {
	border-color: #222;
}

.fb-360-badge {
	position: absolute;
	right: 4px;
	bottom: 4px;
	padding: 3px 5px;
	border-radius: 3px;
	background: rgba(0, 0, 0, .6);
	color: #fff;
	font: 600 11px/1 sans-serif;
}

/* .main-image trägt d-flex (display:flex !important), daher hier ebenfalls !important */
.main-image.fb-360-hidden,
.fb-360-stage.fb-360-hidden {
	display: none !important;
}

.fb-360-stage {
	position: relative;
	width: 100%;
	background: #fff;
}

.fb-360-stage .wr360_player {
	width: 100%;
	height: 100%;
}
