/**
 * Restaurant Events Frontend Styles
 * 
 * @package RestaurantEvents
 */

/* Variables */
:root {
	--re-primary-color: #ff6b35;
	--re-secondary-color: #f7931e;
	--re-success-color: #8cc63f;
	--re-warning-color: #ffc107;
	--re-danger-color: #dc3545;
	--re-info-color: #17a2b8;
	--re-light-gray: #f8f9fa;
	--re-gray: #6c757d;
	--re-dark-gray: #343a40;
	--re-border-radius: 8px;
	--re-transition: all 0.3s ease;
	--re-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	--re-box-shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
	--re-month-bg-orange: #ff6b35;
	--re-month-bg-red: #dc3545;
}

/* Calendar Wrapper */
.re-calendar-wrapper {
	transition: opacity 0.3s ease;
	overflow: visible !important;
}

/* Loading states */
.re-calendar-wrapper.is-loading {
	pointer-events: none;
}

.re-month-card.loading .card {
	opacity: 0.6;
	transition: opacity 0.2s ease;
}

/* Month Cards Slider */
.re-months-slider-wrapper {
	overflow: visible !important;
	padding: 0; /* Extra bottom padding for card shadows */
	position: relative;
}

/* Full width slider */
.re-months-slider-wrapper .container-fluid {
	padding: 0;
	max-width: 100%;
	width: 100%;
	overflow: visible !important;
}

.re-months-slider-container {
	position: relative;
	padding: 0 55px; /* Space for arrows */
	overflow: visible !important; /* Allow cards to show fully */
	display: flex;
	align-items: flex-start;
	transition: all 0.3s ease;
	min-height: 410px; /* Ensure minimum height for cards and padding */
}

.re-months-slider-container:hover .re-slider-arrow {
	opacity: 1;
}

.re-months-slider {
	display: flex;
	gap: 30px;
	overflow-x: auto;
	overflow-y: visible !important;
	padding: 10px 0 40px 0; /* Add padding for shadows and overflow */
	margin: -10px 0 0 0; /* Negative top margin to offset padding */
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
	scroll-snap-type: x proximity;
	scroll-behavior: auto; /* Let JavaScript handle smooth scrolling */
	-webkit-transform: translateZ(0);
	-webkit-backface-visibility: hidden;
	will-change: scroll-position;
	align-items: stretch;
}

/* First and last card adjustments for edge-to-edge look */
.re-months-slider .re-month-card:first-child {
	margin-left: 0;
}

.re-months-slider .re-month-card:last-child {
	margin-right: 30px;
}

/* Slider Navigation Arrows */
.re-slider-arrow {
	position: absolute;
	top: calc(50% + 10px); /* Adjusted for title and padding */
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.95);
	border: 2px solid var(--re-gray);
	border-radius: 50%;
	width: 45px;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	transition: all 0.2s ease;
	color: var(--re-dark-gray);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	opacity: 0.8;
}

.re-slider-arrow:hover {
	background: white;
	border-color: var(--re-dark-gray);
	transform: translateY(-50%) scale(1.1);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
	opacity: 1;
}

.re-slider-arrow.re-slider-prev {
	left: 5px;
}

.re-slider-arrow.re-slider-next {
	right: 5px;
}

.re-slider-arrow svg {
	width: 20px;
	height: 20px;
}

.re-months-slider::-webkit-scrollbar {
	display: none !important;
	height: 0 !important;
}

/* Month Card */
.re-month-card {
	flex: 0 0 280px;
	transition: all 0.3s ease-out;
	scroll-snap-align: start;
	scroll-snap-stop: normal;
	display: flex;
	flex-direction: column;
	min-height: 360px; /* Min height instead of fixed to allow expansion */
}

.re-month-title {
	font-size: 28px;
	text-align: center;
	margin-bottom: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.re-month-card .card {
	height: 100%;
	border: 2px solid transparent;
	transition: all 0.3s ease-out;
	cursor: pointer;
	border-radius: 15px;
	transform: translateZ(0); /* Hardware acceleration */
	display: flex;
	flex-direction: column;
}

.re-month-card .card.bg-orange {
	background-color: var(--re-month-bg-orange) !important;
}

.re-month-card .card.re-active-card {
	background-color: #ff0000 !important;
}

.re-month-card.active .card {
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
	border: 2px solid rgba(255, 255, 255, 0.3);
}

.re-month-card.transitioning .card {
	animation: cardPulse 0.6s ease-out;
}

@keyframes cardPulse {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.08);
	}
	100% {
		transform: scale(1.05);
	}
}

.re-month-card .card:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
	transform: scale(1.02);
}

/* Remove card-title style as we moved the title outside */

/* Month Events */
.re-month-events {
	max-height: 300px;
	overflow-y: auto;
	flex: 1;
}

.re-month-card .card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 20px;
}

.re-month-card .text-muted {
	color: rgba(255, 255, 255, 0.7) !important;
	text-align: center;
	font-size: 16px;
	margin-top: 50px;
}

/* Smooth scrolling performance optimization */
.re-months-slider * {
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.re-month-events::-webkit-scrollbar {
	width: 4px;
}

.re-month-events::-webkit-scrollbar-track {
	background: var(--re-light-gray);
}

.re-month-events::-webkit-scrollbar-thumb {
	background: var(--re-gray);
	border-radius: 2px;
}

.re-month-event-item {
	display: flex;
	align-items: stretch;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.re-month-event-item:last-child {
	border-bottom: none;
}

.re-month-event-bar {
	display: block;
	width: 8px;
	border-radius: 2px;
	flex-shrink: 0;
	align-self: stretch;
	min-height: 100%;
}

.re-month-event-content {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1;
	min-width: 0;
}

.re-month-event-title {
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.3px;
	line-height: 1.3;
	color: #fff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.re-month-event-date {
	font-size: 12px;
	line-height: 1.3;
}

/* Bootstrap Overrides for Cards */
.bg-orange {
	background-color: var(--re-month-bg-orange) !important;
}

.re-event-title {
	line-height: 1.3;
}

/* Filters */
.re-filters {
	padding: 30px 0;
	border-top: 1px solid var(--re-light-gray);
	border-bottom: 1px solid var(--re-light-gray);
}

/* Calendar Container */
.re-calendar-container {
	border-radius: var(--re-border-radius);
	box-shadow: var(--re-box-shadow);
	padding: 20px;
	margin-bottom: 40px;
}

/* Calendar Header */
.re-calendar-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
}

.re-current-month {
	font-size: 28px;
	font-weight: 700;
	color: var(--re-primary-color);
	margin: 0;
}

.re-prev-month,
.re-next-month {
	background: var(--re-light-gray);
	border: none;
	padding: 10px 20px;
	border-radius: var(--re-border-radius);
	cursor: pointer;
	transition: var(--re-transition);
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--re-dark-gray);
}

.re-prev-month:hover,
.re-next-month:hover {
	background: var(--re-secondary-color);
	color: white;
	transform: translateY(-2px);
}

.re-nav-icon {
	font-size: 18px;
}

.re-nav-text {
	font-weight: 500;
}

/* Calendar Weekdays */
.re-calendar-weekdays {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 10px;
	margin-bottom: 10px;
}

.re-weekday {
	text-align: center;
	font-weight: 600;
	color: var(--re-gray);
	font-size: 14px;
	padding: 10px 0;
}

/* Calendar Grid */
.re-calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 10px;
}

.re-calendar-day {
	aspect-ratio: 1;
	border: 2px solid var(--re-light-gray);
	border-radius: var(--re-border-radius);
	padding: 10px;
	position: relative;
	background: white;
	transition: var(--re-transition);
	min-height: 80px;
}

.re-calendar-day.re-day-empty {
	background: var(--re-light-gray);
	opacity: 0.5;
}

.re-calendar-day.has-events {
	border-color: var(--re-secondary-color);
	background: #f0f8ff;
}

.re-calendar-day.is-today {
	border-color: var(--re-primary-color);
	background: #fafafa;
}

.re-calendar-day:hover:not(.re-day-empty) {
	border-color: var(--re-secondary-color);
	transform: translateY(-2px);
	box-shadow: var(--re-box-shadow-hover);
}

/* Day Header */
.re-day-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 8px;
}

.re-day-number {
	font-weight: 600;
	color: var(--re-dark-gray);
	font-size: 16px;
}

.re-event-count {
	background: var(--re-secondary-color);
	color: white;
	border-radius: 12px;
	padding: 2px 8px;
	font-size: 12px;
	font-weight: 600;
}

/* Day Events */
.re-day-events {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.re-event-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--re-gray);
}

.re-event-more {
	font-size: 11px;
	color: var(--re-gray);
	margin-top: 4px;
}

/* Event List Container */
.re-event-list-container {
	padding: 40px 0;
}

.re-list-title {
	font-size: 32px;
	color: var(--re-dark-gray);
	font-weight: 700;
}

/* ── Event List Cards ─────────────────────────────── */
.re-event-list {
	display: flex;
	flex-wrap: nowrap;
	gap: 24px;
	overflow-x: auto;
	padding-bottom: 16px;
	scrollbar-width: none;
}

.re-event-list::-webkit-scrollbar {
	display: none;
}

.re-event-card {
	flex: 0 0 280px;
	display: flex;
	flex-direction: column;
	color: inherit;
	cursor: pointer;
	transition: transform 0.2s ease;
}

.re-event-card:hover {
	transform: translateY(-3px);
	color: inherit;
}

.re-event-card-image {
	width: 100%;
	height: 320px;
	border-radius: 15px;
	overflow: hidden;
	flex-shrink: 0;
}

.re-event-card-image img,
.re-event-card-no-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	background: #dee2e6;
}

.re-event-card-body {
	padding: 14px 4px 0;
}

.re-event-card-title {
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 0.5px;
	line-height: 1.3;
	color: #111;
	margin-bottom: 4px;
}

.re-event-card-date {
	font-size: 13px;
	color: var(--re-month-bg-orange);
	font-weight: 600;
	margin-bottom: 6px;
}

.re-event-card-desc {
	font-size: 13px;
	color: #555;
	line-height: 1.5;
	margin-bottom: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Legacy – kept for backwards compat */
.re-event-item-arrow {
	width: 56px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-top: 1px solid rgba(255, 255, 255, 0.25);
	flex-shrink: 0;
}

.re-event-item:hover .re-event-item-cta {
	background-color: #e55f00;
}

@media (max-width: 600px) {
	.re-event-item-image {
		width: 110px;
	}
	.re-event-item-image img,
	.re-event-item-no-image {
		width: 110px;
	}
	.re-event-item-title {
		font-size: 15px;
	}
	.re-event-item-desc {
		display: none;
	}
}

/* Status Styles */
.badge.re-status {
	font-weight: 600;
	text-transform: uppercase;
	font-size: 11px;
	padding: 5px 10px;
}

.badge.re-status-available {
	background-color: var(--re-success-color);
	color: white;
}

.badge.re-status-few_spots {
	background-color: var(--re-warning-color);
	color: var(--re-dark-gray);
}

.badge.re-status-sold_out {
	background-color: var(--re-danger-color);
	color: white;
}

/* Price */
.re-price {
	font-weight: 700;
	font-size: 1.1rem;
}

/* Event Footer */
.re-event-footer {
	margin-top: auto;
}

.re-event-link {
	color: var(--re-secondary-color);
	text-decoration: none;
	font-weight: 500;
	transition: var(--re-transition);
}

.re-event-link:hover {
	color: var(--re-primary-color);
	text-decoration: underline;
}

/* No Events */
.re-no-events {
	text-align: center;
	padding: 60px 20px;
}

.re-no-events p {
	color: var(--re-gray);
	font-size: 18px;
}

/* ── Single Event ───────────────────────────── */
.re-single-event {
	background-color: #fffdf5;
	min-height: 100vh;
}

/* Section 1: Hero */
.re-single-hero {
	background-color: #fffdf5;
	padding: 120px 0 60px;
}

.re-single-hero__inner {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Back button */
.re-back-btn {
	display: inline-block;
	margin-bottom: 24px;
	padding: 6px 14px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #111;
	border: 1.5px solid #111;
	border-radius: 4px;
	text-decoration: none;
	transition:
		background-color 0.15s ease,
		color 0.15s ease;
	line-height: 1.4;
}

.re-back-btn:hover {
	background-color: #111;
	color: #fff;
}

/* Hero image */
.re-single-hero__image {
	width: 100%;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 32px;
}

.re-single-hero__image img {
	width: 100%;
	height: auto;
	display: block;
}

/* Event title */
.re-single-hero__title {
	font-size: clamp(28px, 5vw, 44px);
	font-weight: 900;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #111;
	margin: 0 0 24px;
	line-height: 1.1;
}

/* Event description */
.re-single-hero__description {
	font-size: 18px;
	line-height: 1.7;
	color: #333;
}

.re-single-hero__description p {
	margin-bottom: 1em;
}

.re-single-hero__description h2,
.re-single-hero__description h3,
.re-single-hero__description h4 {
	font-weight: 700;
	margin-top: 1.5em;
	margin-bottom: 0.5em;
	color: #111;
}

/* Gallery link */
.re-gallery-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 28px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #111;
	text-decoration: none;
	border-bottom: 2px solid #111;
	padding-bottom: 2px;
	transition: opacity 0.15s ease;
}

.re-gallery-link:hover {
	opacity: 0.6;
}

/* Remove re-container as we're using Bootstrap's container
.re-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
} */

/* Event Grid - Now using Bootstrap grid
.re-event-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    margin-top: 40px;
} */

/* Event Sidebar */
.re-event-info-box,
.re-share-box {
	background: var(--re-light-gray);
	border-radius: var(--re-border-radius);
	padding: 25px;
	margin-bottom: 20px;
}

.re-locations-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.re-location-item {
	background: white;
	padding: 20px;
	border-radius: var(--re-border-radius);
}

.re-location-name {
	margin: 0 0 15px 0;
	color: var(--re-primary-color);
}

.re-detail-row {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid var(--re-light-gray);
}

.re-detail-row:last-child {
	border-bottom: none;
}

.re-label {
	color: var(--re-gray);
}

.re-value {
	font-weight: 500;
	color: var(--re-dark-gray);
}

/* Grid View Styles */
.re-events-grid-view {
	display: grid;
	gap: 30px;
	margin-top: 30px;
}

.re-event-card {
	border-radius: var(--re-border-radius);
	overflow: hidden;
	/* box-shadow: var(--re-box-shadow); */
	transition: var(--re-transition);
}

.re-event-card:hover {
	transform: translateY(-5px);
}

.re-card-image {
	width: 100%;
	height: 200px;
	overflow: hidden;
}

.re-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--re-transition);
}

.re-event-card:hover .re-card-image img {
	transform: scale(1.05);
}

.re-card-content {
	padding: 20px;
}

.re-card-title {
	font-size: 18px;
	margin: 0 0 15px 0;
}

.re-card-title a {
	color: var(--re-primary-color);
	text-decoration: none;
}

.re-card-meta {
	display: flex;
	gap: 15px;
	margin-bottom: 15px;
	font-size: 14px;
	color: var(--re-gray);
}

.re-card-price {
	font-size: 18px;
	font-weight: 700;
	color: var(--re-secondary-color);
}

/* ── Section 2: Termine / Standorte ─────────── */
.re-single-dates {
	background-color: #fffdf5;
	padding: 48px 0 64px;
}

.re-single-dates__inner {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* Filter row */
.re-dates-filter {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.re-dates-filter__label {
	font-size: 16px;
	font-weight: 700;
	color: #ffce00;
	white-space: nowrap;
	margin: 0;
}

.re-dates-filter__select {
	flex: 1;
	min-width: 220px;
	max-width: 360px;
}

/* No results message */
.re-dates-no-results {
	font-size: 16px;
	color: #888;
	padding: 32px 0;
	text-align: center;
}

/* Date item row */
.re-date-item {
	display: flex;
	align-items: stretch;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.2s ease;
	min-height: 110px;
	margin-bottom: 15px;
}
.re-date-item:last-child {
	margin-bottom: 0;
}

.re-date-item:hover {
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.11);
}

/* Date column */
.re-date-item__date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 16px 24px;
	min-width: 110px;
	flex-shrink: 0;
	text-align: center;
	line-height: 1.2;
}

.re-date-item__day {
	font-size: 52px;
	font-weight: 900;
	color: #111;
	line-height: 1;
	letter-spacing: -0.02em;
}

.re-date-item__month {
	font-size: 13px;
	font-weight: 500;
	color: #555;
	margin-top: 2px;
}

.re-date-item__time {
	font-size: 13px;
	font-weight: 500;
	color: #555;
	margin-top: 1px;
}

/* Vertical divider */
.re-date-item__divider {
	width: 1px;
	background-color: #e8e8e8;
	align-self: stretch;
	flex-shrink: 0;
}

/* Info column */
.re-date-item__info {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 24px;
	gap: 16px;
	min-width: 0;
}

.re-date-item__main {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
	min-width: 0;
}

.re-date-item__title {
	font-size: 18px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #111;
	line-height: 1.1;
}

.re-date-item__desc {
	font-size: 14px;
	color: #555;
	line-height: 1.5;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.re-date-item__status {
	font-size: 14px;
	font-weight: 700;
	color: #00aee8;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.re-date-item__status--soldout {
	color: #ff6b00;
}

.re-date-item__location {
	flex-shrink: 0;
	text-align: right;
	align-self: flex-end;
}

.re-date-item__restaurant {
	font-size: 14px;
	font-weight: 800;
	color: #111;
	letter-spacing: 0.03em;
	display: block;
}

/* CTA */
.re-date-item__cta {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 110px;
	flex-shrink: 0;
	background-color: #00aee8;
	text-decoration: none;
	transition: background-color 0.15s ease;
	padding: 16px 12px;
}

.re-date-item__cta:hover {
	background-color: #0099d0;
}

.re-date-item__cta-label {
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #fff;
	text-align: center;
	line-height: 1.3;
}

/* Responsive */
@media (max-width: 560px) {
	.re-date-item__date {
		min-width: 80px;
		padding: 12px 14px;
	}

	.re-date-item__day {
		font-size: 38px;
	}

	.re-date-item__info {
		padding: 12px 16px;
	}

	.re-date-item__title {
		font-size: 15px;
	}

	.re-date-item__cta {
		width: 70px;
		padding: 12px 6px;
	}

	.re-date-item__cta-label {
		font-size: 11px;
	}

	.re-date-item__location {
		display: none;
	}
}

/* ── Section 3: Galerie ──────────────────────── */
.re-single-gallery {
	background-color: #fff;
	padding: 0 0 72px;
}

.re-single-gallery__inner {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 24px;
}

.re-single-gallery__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.re-gallery-thumb {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border: none;
	padding: 0;
	margin: 0;
	background: #eee;
	border-radius: 8px;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.re-gallery-thumb:hover {
	opacity: 0.88;
}

.re-gallery-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.re-gallery-thumb:hover img {
	transform: scale(1.04);
}

/* Lightbox */
.re-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9999;
	align-items: center;
	justify-content: center;
}

.re-lightbox.is-open {
	display: flex;
}

.re-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.88);
}

.re-lightbox__img {
	position: relative;
	z-index: 1;
	max-width: 90vw;
	max-height: 90vh;
	object-fit: contain;
	border-radius: 6px;
	box-shadow: 0 8px 48px rgba(0, 0, 0, 0.5);
}

.re-lightbox__close {
	position: absolute;
	top: 20px;
	right: 24px;
	z-index: 2;
	background: rgba(255, 255, 255, 0.12);
	border: none;
	border-radius: 50%;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	cursor: pointer;
	transition: background 0.15s ease;
}

.re-lightbox__close:hover {
	background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 600px) {
	.re-single-gallery__grid {
		gap: 6px;
	}
}

/* Gallery items (used in event gallery sections) */
.re-gallery-item {
	border-radius: var(--re-border-radius);
	overflow: hidden;
	cursor: pointer;
}

.re-gallery-item img {
	width: 100%;
	height: 150px;
	object-fit: cover;
	transition: var(--re-transition);
}

.re-gallery-item:hover img {
	transform: scale(1.05);
}

/* Categories & Restaurants Shortcode Styles */
.re-categories-list,
.re-restaurants-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.re-categories-grid,
.re-restaurants-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 20px;
}

.re-category-item,
.re-restaurant-item {
	padding: 15px;
	background: var(--re-light-gray);
	border-radius: var(--re-border-radius);
	transition: var(--re-transition);
}

.re-category-item:hover,
.re-restaurant-item:hover {
	background: white;
	box-shadow: var(--re-box-shadow);
}

.re-category-item a,
.re-restaurant-item a {
	text-decoration: none;
	color: var(--re-primary-color);
	font-weight: 500;
}

.re-category-count,
.re-restaurant-count {
	color: var(--re-gray);
	font-size: 14px;
}

/* Category Legend */
.re-category-legend {
	flex-wrap: wrap;
}

.re-legend-item {
	white-space: nowrap;
}

.re-legend-dot {
	display: inline-block;
	width: 28px;
	height: 14px;
	border-radius: 3px;
	flex-shrink: 0;
}

.re-legend-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.5px;
	color: var(--re-dark-gray);
}

.re-restaurant-select {
	padding: 14px 20px !important;
	border: none !important;
	border-radius: 50px !important;
	font-size: 15px;
	width: 100%;
	background-color: #fff;
	color: var(--re-dark-gray);
	cursor: pointer;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.2s ease;
}

.re-restaurant-select:focus {
	border: none !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
	outline: none;
}

.re-restaurant-select:hover {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}

/* Responsive */
@media (max-width: 768px) {
	.re-month-card {
		flex: 0 0 240px;
		min-height: 320px;
	}

	.re-months-slider-container {
		padding: 0; /* Remove arrow space on mobile */
	}

	.re-slider-arrow {
		display: none;
	}

	.re-months-slider-wrapper .container-fluid {
		padding: 0 15px; /* Restore container padding on mobile */
	}

	.re-months-slider {
		margin: 0 -15px; /* Negative margin to make it edge-to-edge on mobile */
		padding: 0 15px 20px 15px; /* Keep bottom padding for card shadows */
	}

	.re-event-date-badge {
		width: 60px;
	}

	.re-event-item .row {
		flex-direction: column;
	}

	.re-event-item .col-auto:last-child {
		margin-top: 15px;
		width: 100%;
	}

	.re-event-item .btn {
		width: 100%;
	}

	.re-events-grid-view {
		grid-template-columns: 1fr !important;
	}

	.re-schedule-details {
		flex-direction: column;
		gap: 10px;
	}
}

/* Ensure slider content is not clipped */
.re-months-slider-wrapper,
.re-months-slider-wrapper > *,
.re-months-slider-container {
	overflow: visible !important;
	clip: auto !important;
}

/* Only hide horizontal scrollbar */
.re-months-slider {
	overflow-x: auto !important;
	overflow-y: visible !important;
}

/* Bootstrap container override for slider section */
.re-months-slider-wrapper .container-fluid,
.re-months-slider-wrapper .container {
	overflow: visible !important;
}

/* Force card visibility */
.re-month-card,
.re-month-card .card {
	position: relative;
	z-index: 1;
}
