/* Rules that replace what Cargo's runtime did with inline sizes */

bodycopy img {
	max-width: 100%;
	height: auto;
}

.thumb_image img {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
}

.thumb_image {
	position: relative;
	overflow: hidden;
}

bodycopy iframe {
	max-width: 100%;
}

.image-zoom {
	cursor: zoom-in;
}

/* Pins marked exclude_mobile are not rendered on mobile */

.mobile .exclude_mobile {
	display: none;
}

/* Lightbox (same look as Cargo's quick view) */

.lb {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: none;
	opacity: 0;
	transition: opacity 0.25s ease;
}

.lb.open {
	display: block;
}

.lb.visible {
	opacity: 1;
}

.lb__bg {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.9);
}

.lb__stage {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 70px;
	box-sizing: border-box;
}

.lb__img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	user-select: none;
	transform: scale(0.96);
	transition: transform 0.25s ease;
}

.lb.visible .lb__img {
	transform: scale(1);
}

.lb__btn {
	position: absolute;
	background: none;
	border: 0;
	padding: 12px;
	cursor: pointer;
	opacity: 0.75;
	color: #fff;
}

.lb__btn:hover {
	opacity: 1;
}

.lb__btn svg {
	display: block;
	width: 18px;
	height: 18px;
	stroke: #fff;
	stroke-width: 1.5;
	fill: none;
}

.lb__close {
	top: 6px;
	right: 6px;
}

.lb__prev {
	left: 6px;
	top: 50%;
	transform: translateY(-50%);
}

.lb__next {
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
}

.lb.single .lb__prev,
.lb.single .lb__next {
	display: none;
}

/* Page swap fade */

.main_container {
	transition: opacity 0.2s ease;
}

.main_container.leaving {
	opacity: 0;
}
