/**
 * Restaurant Menu - Frontend Styles
 *
 * @package RestaurantMenu
 */

:root {
	/* Colors - Dynamically set from admin settings */
	--rm-color-primary: #3498db;
	--rm-color-accent: #e74c3c;
	--rm-color-text: #333;
	--rm-color-bg: #fff;
	--rm-border-color: #e0e0e0;
	--rm-button-text: #ffffff;
	--rm-filter-text: #333333;
	--rm-menu-background: #ffffff;
	
	/* Layout - Dynamically set from admin settings */
	--rm-border-radius: 8px;
	--rm-spacing: 1rem;
	--rm-transition: 0.2s ease;
	
	/* Responsive Breakpoints - Dynamically set from admin settings */
	--rm-mobile-breakpoint: 576px;
	--rm-tablet-breakpoint: 992px;
	
	/* Sticky Toolbar - Dynamically set from admin settings */
	--rm-sticky-mobile: sticky;
	--rm-sticky-tablet: sticky;
	--rm-sticky-desktop: sticky;
	--rm-sticky-top-mobile: 0px;
	--rm-sticky-top-tablet: 0px;
	--rm-sticky-top-desktop: 0px;
}

/* ============================================
   BASE STYLES - Mobile First (Default)
   ============================================ */

/* Menu Wrapper */
.restaurant-menu {
	padding: 0.5rem 0;
	background-color: var(--rm-menu-background);
	border-radius: var(--rm-border-radius);
	color: var(--rm-color-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		"Helvetica Neue", Arial, sans-serif;
}

/* Language Switcher and Search Bar Wrapper */
.language-switcher-and-searchbar-wrapper{
	display: flex;
	flex-direction: row;
	gap: 0.5rem;
	align-items: center;
}

/* Language Bar */

.restaurant-menu-language-bar{
	padding: 0 1rem;
}

/* Language Switcher */
.restaurant-menu-language-switcher {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.language-switch-link {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0;
	text-decoration: none;
	color: var(--rm-color-text);
	transition: transform var(--rm-transition);
}

.language-switch-link:hover {
	transform: scale(1.05);
	transition: transform var(--rm-transition);
}

.language-switch-link.active {
display: none;
}

.language-flag {
	flex-shrink: 0;
	width: 30px; 
	height: 30px; 
	-o-object-fit: cover; 
	object-fit: cover; 
	border-radius: 50px;
}

/* Language Dropdown (4+ languages) */
.restaurant-menu-language-dropdown {
	position: relative;
	display: inline-block;
}

.language-dropdown-toggle {
	padding: 0.5rem;
	border: none;
	background-color: var(--rm-filter-bg-inactive);
	color: var(--rm-filter-text);
	border-radius: 50px;
	cursor: pointer;
	transition: all var(--rm-transition);
	font-size: 1rem;
	display: flex;
	align-items: center;
	gap: 0.4rem;
	z-index: 1;
	position: relative;
	margin-bottom: 5px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


.language-dropdown-toggle:hover, .language-dropdown-toggle:active {
	opacity: 0.8;
	box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1);
}

.language-dropdown-toggle:focus {
	outline: none;
	border-color: var(--rm-color-primary);
}

.language-dropdown-arrow {
	font-size: 0.75rem;
	margin-left: 0.25rem;
	transition: transform var(--rm-transition);
}

.language-dropdown-toggle[aria-expanded="true"] .language-dropdown-arrow {
	transform: rotate(180deg);
}

.language-dropdown-menu {
	position: absolute;
	top: calc(100% + 0.25rem);
	left: 0;
	min-width: 100%;
	background-color: var(--rm-filter-bg-inactive);
	color: var(--rm-filter-text);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	border-radius: 20px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	z-index: 1000;
	display: none;
	overflow: hidden;
}



.language-dropdown-menu[aria-hidden="false"] {
	display: block;
}

.language-dropdown-item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	text-decoration: none;
	color: var(--rm-color-text);
	transition: background-color var(--rm-transition);
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.language-dropdown-item:last-child {
	border-bottom: none;
}

.language-dropdown-item:hover {
	background-color: rgba(0, 0, 0, 0.05);
}

.language-dropdown-item.active {
	background-color: var(--rm-color-primary);
	color: var(--rm-button-text);
	font-weight: 600;
}

/* Toolbar */
.restaurant-menu-toolbar {
	display: flex;
	gap: 0.75rem;
	flex-direction: row;
	margin-bottom: var(--rm-spacing);
	flex-wrap: nowrap;
	align-items: flex-start;
	background-color: var(--rm-menu-background);
	position: var(--rm-sticky-mobile);
	top: var(--rm-sticky-top-mobile);
	z-index: 1;
	padding: 1rem 0 1rem 1rem;
}

/* Filter Popup Button */
.restaurant-menu-filter-pop-up {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--rm-filter-bg-inactive);
	color: var(--rm-filter-text);
	border: none;
	border-radius: 50px;
	font-size: 0.875rem;
	height: 33px;
	width: 33px;
	font-weight: bold;
	cursor: pointer;
	flex-shrink: 0;
	transition: opacity var(--rm-transition), transform var(--rm-transition);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	margin-bottom: 5px;
}

.restaurant-menu-filter-pop-up svg{
	width: 18px;
	height: 18px;
	stroke: var(--rm-filter-text);
}


.restaurant-menu-filter-pop-up:hover {
	opacity: 0.8;
	box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1);
}

.restaurant-menu-filter-pop-up:active {
	box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1);
	opacity: 0.8;
}


.restaurant-menu-search-wrapper {
	position: relative;
	flex: 1;
	width: 100%;
	max-width: 350px;
}

.restaurant-menu-search {
	width: 100%;
	padding: 0.75rem 2.5rem 0.75rem 1rem;
	border: transparent;
	border-radius: 50px;
	font-size: 1rem;
	transition: border-color var(--rm-transition);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	margin-bottom: 5px;
}

.restaurant-menu-search:focus {
	outline: none;
	box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1);
}

.restaurant-menu-search-icon {
	position: absolute;
	right: 1rem;
	top: calc(50% - 3px);
	transform: translateY(-50%);
	pointer-events: none;
	color: var(--rm-color-text);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0.6;
}

.restaurant-menu-search-icon svg {
	display: block;
	height: 16px;
	width: 16px;
}

/* Search Loading & Results */
.restaurant-menu-search-loading {
	padding: 2rem;
	text-align: center;
	color: var(--rm-color-text);
	opacity: 0.7;
}

.restaurant-menu-search-results {
	margin-top: 1rem;
	min-height: 50px;
	padding: 0 1rem;
}

/* Search results use the same .restaurant-menu-item class as regular items */

.restaurant-menu-search-results .no-results,
.restaurant-menu-search-results .search-error {
	padding: 2rem;
	text-align: center;
	color: var(--rm-color-text);
	opacity: 0.7;
}

.restaurant-menu-search-results .search-error {
	color: var(--rm-color-accent);
	opacity: 1;
}

/* Filters - Mobile optimized */
.restaurant-menu-filters {
	display: flex;
	gap: 0.5rem;
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	-ms-overflow-style: none;  /* Internet Explorer 10+ */
	scrollbar-width: none;  /* Firefox, Safari 18.2+, Chromium 121+ */
	scroll-behavior: smooth;  /* Smooth scrolling */
	scroll-padding: 0.5rem;  /* Padding when scrolling to elements */
}

.restaurant-menu-filters::-webkit-scrollbar {
	display: none;
}

.restaurant-menu-filter-btn {
	padding: 0.25rem 1rem;
	border: none;
	background-color: var(--rm-filter-bg-inactive);
	color: var(--rm-filter-text);
	border-radius: 50px;
	cursor: pointer;
	transition: all var(--rm-transition);
	font-size: 1rem;
	display: flex;
	align-items: center;
	gap: 0.4rem;
	z-index: 9999;
	position: relative;
	margin-bottom: 5px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.restaurant-menu-filter-btn .filter-category-image {
	width: 24px;
	height: 24px;
	-o-object-fit: cover;
	   object-fit: cover;
	border-radius: 50%
}

.restaurant-menu-filter-btn .filter-category-text {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.restaurant-menu-filter-btn:hover, .restaurant-menu-filter-btn:active {
	opacity: 0.8;
	box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1);
}


.restaurant-menu-filter-btn.active-filter {
	background-color: var(--rm-filter-bg-active);
	color: var(--rm-button-text);
	border-color: var(--rm-filter-bg-active);
}


.restaurant-menu-filter-btn .count {
	opacity: 0.7;
	font-size: 0.75rem;
	margin-left: 0.25rem;
}

/* Content */
.restaurant-menu-content {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

/* Style only the items container */
.restaurant-menu-items-list {
	display: flex;
	flex-wrap: wrap;
	padding:0  1rem;
  }

/* Category Titles - Mobile optimized */
.restaurant-menu-category-title {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.75rem;
	margin: 1.5rem 0 0.25rem 0;
	padding-bottom: 0.4rem;
	font-size: 1.75rem;
	font-weight: 600;
	color: var(--rm-color-text);
}

.restaurant-menu-category-title-sub{
	color: var(--rm-color-accent);
}
.restaurant-menu-category-title-main{
	color: var(--rm-color-accent);
}

.restaurant-menu-category-title .category-title-image {
	width: 450px;
	height: 225px;
	max-width: 90%;
	-o-object-fit: cover;
	   object-fit: cover;
	border-radius: var(--rm-border-radius);
}

.restaurant-menu-category-title .category-title-text {
	flex: 1;
}

/* Category Description */
.restaurant-menu-category-description {
	text-align: center;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--rm-color-text);
	opacity: 0.85;
	margin: 0 0 1rem 0;
	padding: 0 1rem;
	font-weight: 400;
}

/* Category Separator */
.restaurant-menu-category-separator {
	display: flex;
	justify-content: center;
	align-items: center;
	margin:0 0 1rem 0;
}

.restaurant-menu-category-separator .category-separator-image {
	width: var(--rm-separator-width);
	height: var(--rm-separator-height);
	-o-object-fit: contain;
	   object-fit: contain;
	display: block;
}

/* Items List */
.restaurant-menu-items {
	flex: 1;
	display: block;
}

.restaurant-menu-category-items {
	display: block;
}

.restaurant-menu-category-items.colorized-category {
	margin-top: 4rem;
	border-radius: var(--rm-border-radius);
	margin-left: 1rem;
	margin-right: 1rem;
}

.restaurant-menu-category-items.colorized-category h2.restaurant-menu-category-title img.category-title-image{
	margin-top: -3rem;
	margin-left: 1rem;
	margin-right: 1rem;
	max-width: calc(100% - 2rem);
}

/* Menu Item - Mobile optimized */
.restaurant-menu-item {
	background: var(--rm-color-bg);
	border-bottom: 1px solid var(--rm-border-color);
	border-radius: 0;
	transition: box-shadow var(--rm-transition);
	display: flex;
	width: 100%;
	margin-bottom: 0.5rem;
}


.restaurant-menu-item svg{
	stroke: var(--rm-color-text);
}

.content-wrap-inside-item{
	display: flex;
	position: relative;
	height: 100%;
	width: 100%;
	flex-direction: row;
	
}


.restaurant-menu-item-image {
	position: relative;
	overflow: hidden;
	min-height: 70px;
	min-width: 70px;
	max-width: 70px;
	max-height: 70px;
	border-radius: var(--rm-border-radius);
	margin:0.75rem 0 0 0.75rem;
	cursor: pointer;
	transition: opacity var(--rm-transition);
}

.restaurant-menu-item-image:hover {
	opacity: 0.8;
}

.restaurant-menu-item-image img {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 1/1;
	-o-object-fit: cover;
	   object-fit: cover;
}

.restaurant-menu-item-badges {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	align-items: flex-end;
}

.restaurant-menu-item-badges .badge {
	padding: 0.25rem 0.5rem;
	background: var(--rm-color-accent);
	color: #fff;
	border-radius: 4px;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
}

/* Item Content */
.restaurant-menu-item-content {
	padding:0.75rem 0.75rem 1rem 0.75rem;
	display: flex;
	flex-direction: column;
height: 100%;
width: 100%;
}

.restaurant-menu-item-content .restaurant-menu-item-description {
	font-size: 0.6rem;
}
.restaurant-menu-item-content .restaurant-menu-item-additives {
	font-size: 0.6rem;
}
.restaurant-menu-item-content .restaurant-menu-item-allergenes {
	font-size: 0.6rem;
}
.restaurant-menu-item-content .restaurant-menu-item-nutrition {
	font-size: 0.6rem;
}

.restaurant-menu-item-content .restaurant-menu-item-variants {
	font-size: 0.6rem;
}


.restaurant-menu-item-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 0.5rem;
	flex-direction: column;
}

.restaurant-menu-item-title {
	margin: 0;
	font-size: 1rem;
	flex: 1;
	color: var(--rm-color-primary);
}

.restaurant-menu-item-title a {
	color: var(--rm-color-text);
	text-decoration: none;
	transition: color var(--rm-transition);
}

.restaurant-menu-item-title a:hover {
	color: var(--rm-color-primary);
}

.restaurant-menu-item-price {
	font-weight: 600;
	font-size: 0.8rem;
	color: var(--rm-color-text);
	max-width: 50%;
	margin-bottom: -0.5rem;
}

.restaurant-menu-item-price .regular-price {
	text-decoration: line-through;
	opacity: 0.6;
	font-size: 0.875rem;
	margin-right: 0.25rem;
}

.restaurant-menu-item-price .sale-price {
	color: var(--rm-color-accent);
	text-decoration: none;
}

.restaurant-menu-item-excerpt {
	margin: 0.5rem 0;
	color: #666;
	font-size: 0.875rem;
	line-height: 1.5;
}

.additives-and-nutritions-container{
	display:flex;
	gap:0.25rem;
	font-size: 0.6rem;
	flex-direction: row;
	margin: 0.25rem 0;
}

/* Nutrition Information */
.restaurant-menu-item-nutrition {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	border-radius: 4px;
	font-size: 0.6rem;
}

.restaurant-menu-item-nutrition .nutrition-item {
	display: inline-flex;
	align-items: center;
	gap: 0.2rem;
}


.restaurant-menu-item-calories,
.restaurant-menu-item-allergens {
	font-size: 0.75rem;
	color: #888;
	margin: 0.5rem 0;
}

.restaurant-menu-item-allergens .allergens-label {
	font-weight: 600;
}

.restaurant-menu-item-allergens sup {
	font-weight: 600;
	color: #d32f2f;
	font-size: 0.85em;
	margin: 0 0.15rem;
}

/* Additives legend at bottom of menu */
/* Legal Text */
.restaurant-menu-legal-text {
	padding: 1rem;
	font-size: 0.87rem;
	line-height: 1.5;
	color: var(--rm-color-text);
	opacity: 0.9;
}

.restaurant-menu-legal-text p {
	margin: 0.5rem 0;
}

.restaurant-menu-legal-text p:first-child {
	margin-top: 0;
}

.restaurant-menu-legal-text p:last-child {
	margin-bottom: 0;
}

/* Additives & Allergens Legends */
.restaurant-menu-additives-legend {
	padding: 1rem;
	background-color: var(--rm-color-bg);
}

.restaurant-menu-additives-legend h3 {
	margin: 0 0 0.25rem 0;
	font-size: 0.9rem;
	font-weight: 600;
}

.additives-legend-list {
	display: flex;
	gap: 0.5rem;
}

.additive-legend-item {
	font-size: 0.9rem;
	color: var(--rm-color-text);
	opacity: 0.8;
	line-height: 1.6;
}

.additive-legend-item sup {
	font-weight: 600;
	color: #d32f2f;
	font-size: 0.9em;
	margin-right: 0.25rem;
}

/* Allergens legend at bottom of menu */
.restaurant-menu-allergens-legend {
	padding: 1rem;
	background-color: var(--rm-color-bg);
		color: var(--rm-color-text);

}

.restaurant-menu-allergens-legend h3 {
	margin: 0 0 0.25rem 0;
	font-size: 0.9rem;
	font-weight: 600;
}

.allergens-legend-list {
	display: flex;
	gap: 0.5rem;
}

.allergen-legend-item {
	font-size: 0.9rem;
	color: var(--rm-color-text);
	opacity: 0.8;
	line-height: 1.6;
}

.allergen-legend-item span {
	font-weight: 600;
	font-size: 1em;
	margin-right: 0.25rem;
}

/* Variants Selector (still used for menu items with size options) */
.restaurant-menu-item-variants {
	margin-top: 1rem;
}

.restaurant-menu-item-variants select {
	width: 100%;
	max-width: 200px;
	padding: 0.5rem;
	border: 1px solid var(--rm-border-color);
	border-radius: var(--rm-border-radius);
	font-size: 0.875rem;
	background: #fff;
	color: var(--rm-color-text);
}

/* Notification */
.restaurant-menu-notification {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	padding: 1rem 1.5rem;
	background: #333;
	color: #fff;
	border-radius: var(--rm-border-radius);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	opacity: 0;
	transform: translateY(1rem);
	transition: all var(--rm-transition);
	z-index: 9999;
}

.restaurant-menu-notification.show {
	opacity: 1;
	transform: translateY(0);
}

.restaurant-menu-notification-success {
	background: #27ae60;
}

.restaurant-menu-notification-error {
	background: var(--rm-color-accent);
}

/* ============================================
   MOBILE FILTER POPUP
   ============================================ */

/* Popup Container */
.restaurant-menu-filter-popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10000;
}

/* Overlay */
.filter-popup-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.restaurant-menu-filter-popup.active .filter-popup-overlay {
	opacity: 1;
}

/* Popup Content */
.filter-popup-content {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	max-height: 80vh;
	background-color: var(--rm-menu-background, #ffffff);
	border-radius: var(--rm-border-radius) var(--rm-border-radius) 0 0;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
	transform: translateY(100%);
	transition: transform 0.3s ease;
	display: flex;
	flex-direction: column;
}

.restaurant-menu-filter-popup.active .filter-popup-content {
	transform: translateY(0);
}

/* Popup Header */
.filter-popup-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.25rem 1.5rem;
	border-bottom: 1px solid var(--rm-border-color);
}

.filter-popup-header h3 {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--rm-color-primary);
}

.filter-popup-close {
	background: none;
	border: none;
	font-size: 2rem;
	font-weight: 400;
	line-height: 1;
	color: var(--rm-color-text);
	cursor: pointer;
	padding: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity var(--rm-transition);
}

.filter-popup-close:hover {
	opacity: 0.7;
}

/* Popup List */
.filter-popup-list {
	overflow-y: auto;
	flex: 1;
	padding: 0 0 0.5rem 0;
}

/* Popup Items */
.filter-popup-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.5rem;
	width: 100%;
	border: none;
	background-color: transparent;
	text-align: left;
	cursor: pointer;
	transition: background-color var(--rm-transition);
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.filter-popup-item:hover {
	background-color: rgba(0, 0, 0, 0.03);
}

.filter-popup-item.active {
	background-color: var(--rm-filter-bg-active, var(--rm-color-primary));
	color: var(--rm-button-text, #ffffff);
}

.filter-popup-item.active .filter-popup-text {
	font-weight: 600;
}

.filter-popup-image {
	width: 40px;
	height: 40px;
	-o-object-fit: cover;
	   object-fit: cover;
	border-radius: calc(var(--rm-border-radius) / 2);
	flex-shrink: 0;
}

.filter-popup-text {
	font-size: 1rem;
	color: var(--rm-color-text);
	flex: 1;
}

.filter-popup-item.active .filter-popup-text {
	color: var(--rm-button-text, #ffffff);
}

/* ============================================
   RESPONSIVE STYLES - Mobile First Approach
   ============================================ */

/* 
 * MOBILE STYLES (Default - up to configured mobile breakpoint)
 * Base styles above are optimized for mobile devices
 * 
 * TABLET & DESKTOP STYLES
 * ========================
 * Responsive media queries are generated dynamically in 
 * includes/frontend/class-assets.php using the breakpoint 
 * values configured in Settings > Style & Layout.
 * 
 * This allows admin-configurable breakpoints to work correctly
 * since CSS variables cannot be used in media query conditions.
 * 
 * Default Breakpoints:
 * - Mobile: 0px - 575px (base styles)
 * - Tablet: 576px - 991px (horizontal toolbar, larger text)
 * - Desktop: 992px+ (two-column layout, maximum spacing)
 * 
 * To modify breakpoints: Go to Settings > Style & Layout > Responsive Breakpoints
 */

/* Accessibility */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

button:focus,
input:focus,
select:focus {
	outline: 2px solid var(--rm-color-primary);
	outline-offset: 2px;
}

/* ============================================
   IMAGE LIGHTBOX
   ============================================ */

/* Lightbox Container */
.restaurant-menu-lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10001;
	display: none;
}

/* Lightbox Overlay */
.lightbox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.9);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.restaurant-menu-lightbox.active .lightbox-overlay {
	opacity: 1;
}

/* Lightbox Content */
.lightbox-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.9);
	max-width: 90%;
	max-height: 90%;
	width: 100%;
	opacity: 0;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.restaurant-menu-lightbox.active .lightbox-content {
	transform: translate(-50%, -50%) scale(1);
	opacity: 1;
}

/* Lightbox Image */
.lightbox-image {
	max-width: 100%;
	max-height: 90vh;
	width: auto;
	height: auto;
	-o-object-fit: contain;
	   object-fit: contain;
	border-radius: var(--rm-border-radius);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Lightbox Close Button - Same style as popup close */
.lightbox-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: rgba(255, 255, 255, 0.9);
	border: none;
	font-size: 2rem;
	line-height: 1;
	color: var(--rm-color-text);
	cursor: pointer;
	padding: 0;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all var(--rm-transition);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	z-index: 1;
}

.lightbox-close:hover {
	background: rgba(255, 255, 255, 1);
	transform: scale(1.1);
}

.lightbox-close:active {
	transform: scale(0.95);
}
