/**
 * Restaurant pages — header background override (#1f2a30).
 */
body.restaurant-page .elementor-location-header > *:not(.elementor-motion-effects-element-type-background),
body.restaurant-page .elementor-location-header > * > .elementor-motion-effects-container > .elementor-motion-effects-layer {
	background-color: #1f2a30 !important;
}

/* ── [restaurant_gallery] — desktop thumbnail grid ──────────── */

.rg-gallery-wrap {
	width: 100%;
}

.rg-gallery-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.rg-gallery-item {
	display: block;
	flex: 0 0 160px;
	width: 160px;
	overflow: hidden;
	cursor: zoom-in;
	padding: 0;
	border: none;
	background: #1a1a1a;
	position: relative;
}

.rg-gallery-item img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	transition: transform 0.35s ease, opacity 0.25s;
	opacity: 0.88;
}

.rg-gallery-item:hover img {
	transform: scale(1.06);
	opacity: 1;
}

/* ── Lightbox overlay ───────────────────────────────────────── */

.rg-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.92);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rg-lb-img-wrap {
	max-width: 92vw;
	max-height: 88vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rg-lb-img {
	max-width: 92vw;
	max-height: 88vh;
	object-fit: contain;
	display: block;
	box-shadow: 0 8px 48px rgba(0, 0, 0, 0.6);
	user-select: none;
}

.rg-lb-close {
	position: fixed;
	top: 14px;
	right: 18px;
	background: none;
	border: none;
	color: #fff;
	font-size: 44px;
	line-height: 1;
	cursor: pointer;
	z-index: 100001;
	padding: 4px 10px;
	opacity: 0.75;
	transition: opacity 0.2s;
}

.rg-lb-close:hover { opacity: 1; }

.rg-lb-prev,
.rg-lb-next {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.10);
	border: none;
	color: #fff;
	font-size: 52px;
	line-height: 1;
	width: 54px;
	height: 88px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 100001;
	padding: 0;
	transition: background 0.2s;
}

.rg-lb-prev:hover,
.rg-lb-next:hover {
	background: rgba(255, 255, 255, 0.25);
}

.rg-lb-prev { left: 0;  border-radius: 0 4px 4px 0; }
.rg-lb-next { right: 0; border-radius: 4px 0 0 4px; }

.rg-lb-counter {
	position: fixed;
	bottom: 18px;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255, 255, 255, 0.65);
	font-family: 'Roboto', sans-serif;
	font-size: 13px;
	letter-spacing: 0.5px;
	z-index: 100001;
	pointer-events: none;
}

/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 900px) {
	.rg-gallery-grid {
		grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
	}
}

@media (max-width: 767px) {
	.rg-gallery-grid   { display: none; }
	.vd-gallery-slider { display: block; }
}
