.mob-gallery-grid {
	position: relative; /* container for absolute items */
}

.mob-gallery-item {
	position: absolute; /* Macy uses this */
	border-radius: 5px;
	overflow: hidden;
}

.mob-gallery-item img {
	width: 100%;
	height: auto;
	display: block;
}

.mob-lightbox-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.85);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mob-lightbox-inner {
	position: relative;
	max-width: 90vw;
	margin: 0 auto;
	padding-bottom: 60px; /* space for arrows and counter */
	text-align: center;
}

.mob-lightbox-image {
	max-width: 100%;
	max-height: 80vh;
	display: block;
	margin: 0 auto;
	border-radius: 4px;
}

.mob-lightbox-nav {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 200px;
	display: flex;
	justify-content: space-between;
	font-size: 2rem;
	color: white;
	user-select: none;
	pointer-events: auto;
}

.mob-lightbox-prev,
.mob-lightbox-next {
	cursor: pointer;
	background: rgba(0, 0, 0, 0.6);
	padding: 6px 12px;
	border-radius: 4px;
	user-select: none;
	/* no absolute positioning */
	/* no left or right */
}

.mob-lightbox-counter {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	color: white;
	font-size: 1rem;
	padding-bottom: 4px;
}

.mob-lightbox-close {
	position: absolute;
	top: -30px;
	right: -30px;
	color: #fff;
	font-size: 48px;
	cursor: pointer;
}

.mob-lightbox-counter {
	text-align: center;
	color: #fff;
	font-size: 16px;
	margin-top: 10px;
}
