@font-face {
	font-family: 'Suisse Intl';
	src: url('/wp-content/themes/overtheground-theme/fonts/SuisseIntl-SemiBold.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

.rer-teamevent-zh {
	--rer-bg: #08080a;
	--rer-panel: #111116;
	--rer-panel-2: #17171d;
	--rer-line: #292a34;
	--rer-text: #f5f5f7;
	--rer-muted: #9b9ca5;
	--rer-secondary-text: #b7b8bf;
	--rer-lime: #c9f24a;
	--rer-pink: #ff2e7e;
	--rer-purple: #8d5cff;
	--rer-cyan: #1ddce7;
	position: relative;
	width: 100%;
	box-sizing: border-box;
	padding: clamp(20px, 4vw, 48px) 0;
	background: var(--rer-bg);
	color: var(--rer-text);
	font-family: 'Suisse Intl', sans-serif;
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow: clip;
}

.rer-teamevent-zh *,
.rer-te-slot-popup *,
.rer-te-date-change-modal *,
.rer-te-apero-lightbox * {
	box-sizing: border-box;
}

.rer-teamevent-zh button,
.rer-te-slot-popup button,
.rer-te-date-change-modal button,
.rer-te-apero-lightbox button,
.rer-teamevent-zh input {
	font: inherit;
}

.rer-teamevent-zh button,
.rer-te-slot-popup button,
.rer-te-date-change-modal button,
.rer-te-apero-lightbox button {
	margin: 0 !important;
}

.rer-te-head {
	max-width: 1120px;
	margin: 0 auto 32px;
}

.rer-te-eyebrow,
.rer-te-selection-card > h3 {
	display: block;
	margin-bottom: 12px;
	color: var(--rer-lime);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.rer-te-title-row {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 20px;
}

.rer-te-title-row h2 {
	flex-basis: 100%;
	margin: 0;
	color: var(--rer-text);
	font-family: inherit;
	font-size: clamp(34px, 4.4vw, 52px);
	font-weight: 700;
	line-height: 1.05;
}

.rer-te-title-row h2 .rer-te-bracket {
	color: var(--rer-lime);
}

.rer-te-title-row .rer-te-button {
	flex-basis: auto;
}

.rer-te-head > p {
	max-width: 760px;
	margin: 18px 0 0;
	color: var(--rer-muted);
	font-size: clamp(16px, 1.45vw, 19px);
}

.rer-te-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 13px 25px;
	border: 2px solid var(--rer-line);
	border-radius: 999px;
	background: transparent;
	color: var(--rer-text);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: border-color .2s, background .2s, color .2s, transform .2s;
}

.rer-te-button:hover,
.rer-te-button:focus-visible {
	border-color: var(--rer-lime);
	color: var(--rer-text);
	transform: translateY(-1px);
}

.rer-te-button-primary {
	border-color: var(--rer-lime);
	background: var(--rer-lime);
	color: #08090a;
}

.rer-te-button-primary:hover,
.rer-te-button-primary:focus-visible {
	background: #dbff70;
	color: #08090a;
}

.rer-te-picker-layout {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 32px;
	max-width: 1120px;
	margin: 0 auto;
}

.rer-te-calendar-card,
.rer-te-selection-card {
	border: 1px solid var(--rer-line);
	border-radius: 14px;
	background: var(--rer-panel);
}

.rer-te-calendar-card {
	align-self: start;
	padding: 21px;
}

.rer-te-calendar-head {
	display: grid;
	grid-template-columns: 32px 1fr 32px;
	align-items: center;
	margin-bottom: 16px;
}

.rer-te-calendar-head strong {
	font-size: 18px;
	font-weight: 700;
	text-align: center;
}

.rer-te-calendar-head button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	line-height: 1;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--rer-text);
	font-size: 27px;
	cursor: pointer;
}

.rer-te-calendar-head button:disabled {
	opacity: .25;
	cursor: default;
}

.rer-te-weekdays,
.rer-te-days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 5px;
}

.rer-te-weekdays {
	margin-bottom: 8px;
	padding: 8px 4px;
	border: 1px solid var(--rer-line);
	border-radius: 7px;
	background: var(--rer-panel-2);
	color: var(--rer-muted);
	font-size: 11.5px;
	font-weight: 600;
	text-align: center;
}

.rer-te-days button,
.rer-te-day-empty {
	min-width: 0;
	aspect-ratio: 1;
}

.rer-te-days button {
	position: relative;
	display: grid;
	height: 32px;
	min-height: 0;
	place-items: center;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 6px;
	background: transparent;
	color: var(--rer-text);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.rer-te-days button:not(:disabled):hover {
	border-color: var(--rer-lime);
}

.rer-te-days button.is-selected {
	border-color: var(--rer-pink);
	background: var(--rer-pink);
	color: #fff;
	font-weight: 700;
}

.rer-te-days button:disabled {
	color: #55565f;
	cursor: default;
}

.rer-te-legend {
	display: grid;
	gap: 8px;
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid var(--rer-line);
	color: var(--rer-muted);
	font-size: 12px;
}

.rer-te-legend span {
	display: flex;
	align-items: center;
	gap: 8px;
}

.rer-te-legend i {
	width: 13px;
	height: 13px;
	border: 1px solid var(--rer-line);
	border-radius: 3px;
}

.rer-te-legend .is-free { background: var(--rer-panel-2); }
.rer-te-legend .is-selected { background: var(--rer-pink); border-color: var(--rer-pink); }
.rer-te-legend .is-booked { background: #3b3c44; }

.rer-te-rooms-panel {
	position: relative;
	min-width: 0;
	padding: 4px 0 0;
	overflow: hidden;
}

.rer-te-rooms-panel::after {
	content: '';
	position: absolute;
	top: 40px;
	right: 0;
	bottom: 64px;
	z-index: 2;
	width: 76px;
	background: linear-gradient(90deg, rgba(8, 8, 10, 0), var(--rer-bg) 78%);
	pointer-events: none;
	transition: opacity .25s ease;
}

.rer-te-rooms-panel.is-scroll-end::after {
	opacity: 0;
}

.rer-te-loading {
	min-height: 20px;
	padding: 0;
	color: var(--rer-muted);
}

.rer-te-room-group + .rer-te-room-group {
	margin-top: 28px;
}

.rer-te-room-group h3 {
	margin: 0 0 14px;
	color: var(--rer-purple);
	font-family: inherit;
	font-size: 21px;
	font-weight: 700;
}

.rer-te-room-row {
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr);
	align-items: start;
	gap: 7px;
	padding: 0 0 7px;
}

.rer-te-room-name {
	display: flex;
	height: 78px;
	min-height: 78px;
	flex-direction: column;
	justify-content: center;
	margin-top: 8px;
	padding: 9px 12px;
	border: 1px solid #6f1841;
	border-left: 4px solid var(--rer-pink);
	border-radius: 9px;
	background: linear-gradient(135deg, #351725, #261a24);
}

.rer-te-room-name strong {
	font-size: 14px;
	line-height: 1.15;
}

.rer-te-room-name span {
	margin-top: 3px;
	color: var(--rer-muted);
	font-size: 11px;
	font-weight: 600;
}

.teamevent-mobile-mode-count {
	display: none;
}

.rer-te-slot-viewport {
	min-width: 0;
	padding-top: 8px;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
}

.rer-te-slot-viewport::-webkit-scrollbar {
	display: none;
}

.rer-te-slot-track {
	display: flex;
	align-items: stretch;
	gap: 7px;
	width: max-content;
	padding-right: 72px;
}

.rer-te-slot {
	position: relative;
	display: flex;
	width: 84px;
	min-width: 84px;
	height: 78px;
	min-height: 78px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	margin: 0 !important;
	padding: 8px 4px;
	border: 1px solid var(--rer-line);
	border-radius: 9px;
	background: #131319;
	color: var(--rer-text);
	cursor: pointer;
	transition: border-color .2s, transform .2s, background .2s;
}

.rer-te-slot:not(:disabled):not(.is-selected):not(.is-shifted):hover {
	border-color: var(--rer-pink) !important;
	background: #131319 !important;
	color: var(--rer-pink) !important;
	transform: none;
}

.rer-te-slot strong {
	font-size: 18px;
	font-weight: 700;
}

.rer-te-slot small {
	max-width: 74px;
	color: #70717a;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.15;
}

.rer-te-slot i {
	position: absolute;
	top: -7px;
	right: -6px;
	display: grid;
	width: 20px;
	height: 20px;
	place-items: center;
	border: 1px solid #08090a;
	border-radius: 50%;
	background: var(--rer-lime);
	color: #08090a;
	font-size: 11px;
	font-style: normal;
	font-weight: 700;
}

.rer-te-slot.is-selected {
	border-color: var(--rer-pink);
	background: var(--rer-pink);
	color: #08090a;
}

.rer-te-slot.is-shifted {
	border-color: var(--rer-lime);
	background: var(--rer-lime);
	color: #08090a;
}

.rer-te-slot.is-booked,
.rer-te-slot.is-blocked {
	background: #18181e;
	color: #70717a;
	cursor: default;
}

.rer-te-scroll-proxy {
	height: 16px;
	margin: 3px 0 0 187px;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-color: #8d8d90 #2c2c2d;
	scrollbar-width: auto;
}

.rer-te-scroll-proxy > div {
	height: 1px;
}

.rer-te-scroll-next {
	position: absolute;
	top: 150px;
	right: 6px;
	z-index: 4;
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: var(--rer-lime) !important;
	box-shadow: 0 0 25px #08080a;
	color: #08090a !important;
	font-size: 28px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
	transition: opacity .25s ease, transform .25s ease;
}

.rer-te-scroll-next:hover,
.rer-te-scroll-next:focus,
.rer-te-scroll-next:focus-visible {
	background: var(--rer-lime) !important;
	color: #08090a !important;
}

.rer-te-scroll-next[hidden] {
	display: none;
}

.rer-te-scroll-hint {
	margin: 8px 0 0;
	color: var(--rer-muted);
	font-size: 12px;
	font-weight: 600;
}

.rer-te-large-group {
	position: relative;
	z-index: 3;
	max-width: 720px;
	margin: 18px 0 0;
	padding: 13px 16px;
	border: 1px solid #52651f;
	border-left: 3px solid var(--rer-lime);
	border-radius: 9px;
	background: rgba(201, 242, 74, .045);
	color: var(--rer-muted);
	font-size: 13px;
	line-height: 1.45;
}

.rer-te-selection-card {
	max-width: 1120px;
	margin: 2.2rem auto 0;
	padding: clamp(1.3rem, 3vw, 1.9rem);
	border-color: rgba(201, 242, 74, .28);
	background: linear-gradient(180deg, rgba(201, 242, 74, .055), rgba(201, 242, 74, .012) 42%, transparent), #121216;
	box-shadow: 0 0 0 1px rgba(201, 242, 74, .05), 0 20px 44px -32px rgba(201, 242, 74, .25);
}

.rer-te-selection-card > h3 {
	margin: 0;
	padding: 0 !important;
	font-size: .78rem;
	font-weight: 600;
}

.rer-te-empty {
	margin: 0 0 24px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--rer-muted);
}

.rer-te-selection-list {
	position: relative;
	display: flex;
	flex-direction: column;
	margin-top: 1rem;
}

.rer-te-selection-list::before {
	content: '';
	position: absolute;
	top: 1.6rem;
	bottom: 1.6rem;
	left: 1.3rem;
	width: 1px;
	background: linear-gradient(180deg, transparent, var(--rer-line) 12%, var(--rer-line) 88%, transparent);
	pointer-events: none;
}

.rer-te-selection-date {
	display: flex;
	align-items: center;
	gap: .7rem;
	margin: 1.2rem 0 .6rem;
	color: #9a9ca3;
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .14em;
}

.rer-te-selection-date:first-child {
	margin-top: .6rem;
}

.rer-te-selection-date::after {
	content: '';
	height: 1px;
	flex: 1;
	background: var(--rer-line);
}

.rer-te-selection-row {
	position: relative;
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr) auto auto auto;
	align-items: center;
	gap: 1rem;
	min-height: 0;
	padding: .85rem 1rem;
	border: 1px solid #262630;
	border-radius: 10px;
	background: rgba(8, 8, 10, .55);
	color: #f5f6f7;
}

.rer-te-selection-row + .rer-te-selection-row {
	margin-top: 10px;
}

.rer-te-selection-time,
.rer-te-selection-description {
	min-width: 0;
}

.rer-te-selection-time {
	position: relative;
	display: flex;
	grid-column: 1;
	flex-direction: column;
	justify-content: center;
	padding-left: 1.15rem;
	align-self: stretch;
}

.rer-te-selection-description {
	grid-column: 2;
}

.rer-te-selection-time > strong {
	font-family: inherit;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -.01em;
}

.rer-te-selection-time::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #c9f24a;
	box-shadow: 0 0 0 3px rgba(201, 242, 74, .16);
	transform: translateY(-50%);
}

.rer-te-selection-time > span {
	margin-top: .25rem;
	color: #9a9ca3;
	font-size: .86rem;
	font-weight: 400;
}

.rer-te-selection-description > span {
	display: block;
	color: #9a9ca3;
	font-size: .95rem;
	font-weight: 400;
}

.rer-te-time-edit {
	display: inline-block;
	width: fit-content;
	margin-top: .35rem !important;
	padding: .1rem .4rem !important;
	border: 1px solid #262630;
	border-radius: 6px !important;
	background: transparent;
	color: #9a9ca3;
	font-size: .95rem !important;
	font-weight: 400;
	line-height: 1.55;
}

.rer-te-time-edit.is-shifted {
	display: block;
	margin-top: .25rem !important;
	padding: 0 !important;
	border: 0;
	border-radius: 0 !important;
	color: #19d3e0;
}

.rer-te-selection-description > strong {
	display: block;
	font-size: 1.25rem;
	font-weight: 500;
}

.rer-te-selection-fee {
	display: inline-block;
	margin-top: .35rem;
	padding: .1rem .4rem;
	border: 1px solid rgba(201, 242, 74, .4);
	border-radius: 6px;
	color: #9a9ca3;
	font-size: .95rem;
	font-weight: 400;
	white-space: nowrap;
}

.rer-te-selection-modes {
	display: flex;
	flex-wrap: wrap;
	gap: .45rem;
	margin-top: .6rem;
}

.rer-te-selection-modes button {
	padding: .45rem .7rem;
	border: 1px solid #262630;
	border-radius: 8px;
	background: #121216;
	color: #9a9ca3;
	font-size: .8rem;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	text-align: left;
}

.rer-te-selection-modes button.is-active {
	border-color: var(--rer-lime);
	color: var(--rer-text);
}

.rer-te-selection-modes small {
	display: block;
	margin-top: .15rem;
	color: #6e7079;
	font-size: .7rem;
	font-weight: 500;
}

.rer-te-selection-modes button.is-active small {
	color: var(--rer-lime);
}

.rer-te-selection-counter {
	display: flex;
	grid-column: 3;
	align-items: center;
	gap: .55rem;
	white-space: nowrap;
}

.rer-te-selection-counter > strong {
	display: flex;
	min-width: 104px;
	min-height: 38px;
	align-items: center;
	justify-content: center;
	color: #9a9ca3;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.1;
	text-align: center;
}

.rer-te-selection-counter button,
.rer-te-stepper button {
	position: relative;
	display: inline-flex;
	flex: 0 0 38px;
	width: 38px;
	min-width: 38px;
	max-width: 38px;
	height: 38px;
	min-height: 38px;
	max-height: 38px;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 0 !important;
	border: 0;
	border-radius: 8px;
	background: var(--rer-lime);
	color: #08090a;
	font-size: 0 !important;
	font-weight: 700;
	line-height: 0;
	appearance: none;
	cursor: pointer;
}

.rer-te-person-minus::before,
.rer-te-person-plus::before,
.rer-te-apero-minus::before,
.rer-te-apero-plus::before {
	content: '';
	position: absolute;
	width: 15px;
	height: 3px;
	border-radius: 2px;
	background: currentColor;
}

.rer-te-person-plus::after,
.rer-te-apero-plus::after {
	content: '';
	position: absolute;
	width: 3px;
	height: 15px;
	border-radius: 2px;
	background: currentColor;
}

.rer-te-selection-counter button:disabled,
.rer-te-stepper button:disabled {
	background: #292a34;
	color: #686973;
	cursor: default;
}

.rer-te-stepper button {
	flex-basis: 48px;
	width: 48px;
	min-width: 48px;
	max-width: 48px;
	height: 48px;
	min-height: 48px;
	max-height: 48px;
}

.rer-te-selection-price {
	grid-column: 4;
	min-width: 96px;
	font-family: inherit;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1;
	text-align: right;
	white-space: nowrap;
}

.rer-te-selection-remove {
	grid-column: 5;
	width: 20px;
	min-width: 20px;
	height: 38px;
	padding: 0 !important;
	border: 0;
	background: transparent;
	color: #9a9ca3;
	font-size: 1.15rem !important;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
}

.rer-te-selection-card > h4 {
	margin: 30px 0 14px;
	padding: 0 !important;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.rer-te-selection-card > h4 em {
	color: var(--rer-muted);
	font-size: 13px;
	font-style: normal;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
}

.rer-te-apero-options {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 11px;
}

.rer-te-apero-card {
	position: relative;
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	min-height: 142px;
	align-content: center;
	align-items: center;
	gap: 0 10px;
	padding: 14px;
	border: 1px solid var(--rer-line);
	border-radius: 10px;
	background: var(--rer-panel-2);
	color: var(--rer-text);
	text-align: left;
	cursor: pointer;
}

.rer-te-apero-card.has-image {
	grid-template-columns: 20px 62px minmax(0, 1fr);
}

.rer-te-apero-card.is-selected {
	border-color: var(--rer-lime);
}

.rer-te-apero-card.is-disabled,
.rer-te-apero-card.is-disabled.is-selected {
	border-color: var(--rer-line);
	background: #15161b;
	box-shadow: none;
	filter: grayscale(1);
	opacity: .38;
	cursor: not-allowed;
}

.rer-te-apero-card.is-disabled .rer-te-apero-image-button {
	cursor: not-allowed;
}

.te-apero-tooltip {
	position: fixed;
	z-index: 100000;
	width: max-content;
	max-width: min(420px, calc(100vw - 24px));
	padding: 11px 13px;
	border: 1px solid #52651f;
	border-radius: 9px;
	background: #15161b;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
	color: #f2f0f7;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.45;
	opacity: 0;
	pointer-events: none;
	visibility: hidden;
}

.te-apero-tooltip.is-visible {
	opacity: 1;
	visibility: visible;
}

.rer-te-apero-card > i {
	grid-column: 1;
	grid-row: 1 / span 3;
	align-self: center;
	display: grid;
	width: 20px;
	height: 20px;
	min-width: 20px;
	place-items: center;
	border: 2px solid var(--rer-muted);
	border-radius: 50%;
	color: #08090a;
	font-size: 12px;
	font-style: normal;
	font-weight: 700;
}

.rer-te-apero-card.is-selected > i {
	border-color: var(--rer-lime);
	background: var(--rer-lime);
}

.rer-te-apero-image-button {
	display: block;
	grid-column: 2;
	grid-row: 1 / span 3;
	height: 62px;
	align-self: center;
	padding: 0;
	border: 0;
	background: none;
	font-size: 0 !important;
	line-height: 0 !important;
	cursor: zoom-in;
}

.rer-te-apero-image {
	display: block;
	width: 62px;
	height: 62px;
	border-radius: 9px;
	object-fit: cover;
}

.rer-te-apero-card > span {
	display: flex;
	grid-column: 2;
	min-width: 0;
	align-self: center;
	flex-direction: column;
	gap: 5px;
}

.rer-te-apero-card.has-image > span {
	grid-column: 3;
}

.rer-te-apero-card strong {
	font-size: 15px;
	font-weight: 600;
}

.rer-te-apero-card small {
	color: var(--rer-muted);
	font-size: 12px;
}

.rer-te-apero-card b {
	color: var(--rer-lime);
	font-size: 13px;
}

.rer-te-apero-persons {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-top: 20px;
	color: var(--rer-muted);
	font-size: 16px;
	font-weight: 400;
}

.rer-te-stepper {
	display: flex;
	align-items: center;
	gap: 14px;
}

.rer-te-stepper strong {
	display: flex;
	min-width: 55px;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	color: var(--rer-text);
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
}

.rer-te-apero-note {
	margin: 18px 0 0;
	color: var(--rer-muted);
	font-size: 13px;
}

.rer-te-totals {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: end;
	gap: 32px;
	margin-top: 30px;
	padding-top: 22px;
	border: 0;
	border-top: 1px solid var(--rer-line);
	border-radius: 0;
	background: transparent;
	overflow: visible;
}

.rer-te-totals > div {
	display: grid;
	grid-template-columns: 1fr;
	gap: 6px;
	padding: 0;
	background: transparent;
}

.rer-te-totals span {
	color: var(--rer-muted);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.rer-te-totals strong {
	font-family: inherit;
	font-size: 26px;
	font-weight: 700;
}

.rer-te-totals small {
	display: block;
	color: var(--rer-muted);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.45;
	white-space: pre-line;
}

.rer-te-checkout-row {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 28px;
	margin-top: 30px;
}

.rer-te-grand-total {
	display: flex;
	align-items: baseline;
	gap: 16px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	font-weight: 600;
}

.rer-te-grand-total span {
	color: var(--rer-muted);
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.rer-te-grand-total strong {
	color: var(--rer-lime);
	font-family: inherit;
	font-size: clamp(42px, 5vw, 52px);
	font-weight: 700;
	line-height: 1;
}

.rer-te-checkout-row .rer-te-checkout {
	min-height: 74px;
	padding: 18px 48px;
	border-color: var(--rer-pink);
	background: var(--rer-pink);
	color: #fff;
	font-size: 21px;
	font-weight: 600;
}

.rer-te-checkout-row .rer-te-checkout:hover,
.rer-te-checkout-row .rer-te-checkout:focus-visible {
	border-color: #ff5d9d;
	background: #ff5d9d;
	color: #fff;
}

.rer-te-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 20px;
}

.rer-te-actions .rer-te-button {
	font-weight: 600;
}

.rer-te-offer-box {
	max-width: 560px;
	margin-top: 18px;
	padding: 16px 18px;
	border: 1px solid var(--rer-line);
	border-radius: 12px;
	background: var(--rer-panel-2);
}

.rer-te-offer-box label {
	display: block;
	margin: 0;
}

.rer-te-offer-box label span {
	display: block;
	margin-bottom: 8px;
	color: var(--rer-muted);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.teamevent-offer-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.rer-te-offer-box input {
	width: 100%;
	min-width: 0;
	flex: 1 1 240px;
	box-sizing: border-box;
	margin: 0 !important;
	padding: 13px 16px;
	border: 1px solid var(--rer-line);
	border-radius: 9px;
	background: #09090b;
	color: var(--rer-text);
	font-size: 16px;
	letter-spacing: normal;
	text-transform: none;
	outline: none;
}

.rer-te-offer-box input:focus {
	border-color: var(--rer-lime);
}

.rer-te-offer-box input[aria-invalid="true"] {
	border-color: #ff5e91;
}

.rer-te-offer-box .rer-te-offer-send {
	min-height: 50px !important;
	margin: 16px 0 0 !important;
	padding: 12px 24px;
	font-size: 16px;
	white-space: nowrap;
}

.rer-te-offer-note {
	margin: 11px 0 0;
	color: var(--rer-muted);
	font-size: 13px;
}

.rer-te-status {
	min-height: 22px;
	margin-top: 17px;
	color: var(--rer-lime);
	font-weight: 600;
}

.rer-te-status.is-error {
	color: #ff5e91;
}

.rer-te-date-change-modal {
	--rer-panel: #111116;
	--rer-line: #292a34;
	--rer-text: #f5f5f7;
	--rer-secondary-text: #b7b8bf;
	--rer-lime: #c9f24a;
	--rer-pink: #ff2e7e;
	position: fixed;
	inset: 0;
	z-index: 1000001;
	display: grid;
	place-items: center;
	padding: 24px;
	background: rgba(0, 0, 0, .82);
	backdrop-filter: blur(5px);
	color: var(--rer-text);
	font-family: 'Suisse Intl', sans-serif;
}

.rer-te-date-change-dialog {
	position: relative;
	width: min(520px, calc(100vw - 32px));
	padding: 30px 28px 26px;
	border: 1px solid var(--rer-lime);
	border-radius: 16px;
	background: var(--rer-panel);
	box-shadow: 0 24px 75px rgba(0, 0, 0, .68);
}

.rer-te-date-change-close {
	position: absolute;
	top: 11px;
	right: 13px;
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--rer-secondary-text);
	font-size: 27px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
}

.rer-te-date-change-close:hover,
.rer-te-date-change-close:focus-visible {
	color: var(--rer-text);
}

.rer-te-date-change-dialog h3 {
	margin: 0 36px 13px 0;
	color: var(--rer-text);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.1;
}

.rer-te-date-change-dialog p {
	margin: 0;
	color: var(--rer-secondary-text);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.45;
}

.rer-te-date-change-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 24px;
}

.rer-te-date-change-actions button {
	min-height: 54px;
	padding: 11px 16px;
	border: 1px solid transparent;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.15;
	cursor: pointer;
}

.rer-te-date-change-actions .is-restart {
	border-color: var(--rer-pink);
	background: var(--rer-pink);
	color: #fff;
}

.rer-te-date-change-actions .is-complete {
	border-color: var(--rer-lime);
	background: var(--rer-lime);
	color: #08090a;
}

.rer-te-date-change-actions button:hover,
.rer-te-date-change-actions button:focus-visible {
	filter: brightness(1.08);
	transform: translateY(-1px);
}

.rer-te-date-change-close:focus-visible,
.rer-te-date-change-actions button:focus-visible {
	outline: 2px solid var(--rer-text);
	outline-offset: 3px;
}

@media (max-width: 540px) {
	.rer-te-date-change-modal {
		padding: 16px;
	}

	.rer-te-date-change-dialog {
		width: 100%;
		padding: 27px 20px 20px;
	}

	.rer-te-date-change-dialog h3 {
		font-size: 24px;
	}

	.rer-te-date-change-actions {
		grid-template-columns: 1fr;
	}
}

.teamevent-slot-backdrop {
	display: none;
}

.rer-te-slot-popup {
	position: fixed;
	z-index: 999999;
	width: min(320px, calc(100vw - 16px));
	padding: 14px 15px 16px;
	border: 1px solid #c8fa3c;
	border-radius: 12px;
	background: #111116;
	box-shadow: 0 18px 55px rgba(0, 0, 0, .58);
	color: #f5f5f7;
	font-family: 'Suisse Intl', sans-serif;
}

.rer-te-slot-popup::before {
	content: '';
	position: absolute;
	top: -7px;
	left: var(--rer-popup-arrow-x, 28px);
	width: 12px;
	height: 12px;
	border-top: 1px solid #c8fa3c;
	border-left: 1px solid #c8fa3c;
	background: #111116;
	transform: translateX(-50%) rotate(45deg);
}

.rer-te-slot-popup.is-flipped::before {
	top: auto;
	bottom: -7px;
	transform: translateX(-50%) rotate(225deg);
}

.rer-te-slot-popup.is-side-right::before {
	top: var(--rer-popup-arrow-y, 28px);
	left: -7px;
	bottom: auto;
	transform: translateY(-50%) rotate(-45deg);
}

.rer-te-slot-popup.is-side-left::before {
	top: var(--rer-popup-arrow-y, 28px);
	right: -7px;
	bottom: auto;
	left: auto;
	transform: translateY(-50%) rotate(135deg);
}

.rer-te-popup-dialog {
	position: relative;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	overflow: visible;
}

.rer-te-popup-close {
	position: absolute;
	top: 0;
	right: 0;
	border: 0;
	background: transparent;
	color: #9b9ca5;
	font-size: 20px;
	cursor: pointer;
}

.rer-te-popup-time {
	display: block;
	color: #c8fa3c;
	font-size: 30px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
}

.rer-te-popup-room {
	margin: 4px 18px 0;
	color: #9b9ca5;
	font-size: 11px;
	font-weight: 400;
	text-align: center;
}

.rer-te-slider-wrap {
	margin-top: 10px;
}

.rer-te-slider-rail {
	position: relative;
	height: 44px;
	border: 1px solid #292a34;
	border-radius: 22px;
	background: #17171d;
	cursor: grab;
	touch-action: none;
	user-select: none;
}

.rer-te-slider-rail.is-dragging {
	border-color: #c8fa3c;
	cursor: grabbing;
}

.rer-te-slider-ticks i {
	position: absolute;
	top: 50%;
	width: 1px;
	height: 11px;
	background: #292a34;
	transform: translate(-50%, -50%);
}

.rer-te-slider-ticks i.is-standard {
	height: 22px;
	background: #9b9ca5;
}

.rer-te-slider-knob {
	position: absolute;
	top: 4px;
	display: flex;
	width: 56px;
	height: 36px;
	align-items: center;
	justify-content: center;
	border-radius: 18px;
	background: #c8fa3c;
	box-shadow: 0 3px 10px rgba(0, 0, 0, .5);
	color: #08090a;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	pointer-events: none;
	transform: translateX(-50%);
}

.rer-te-slider-labels {
	position: relative;
	height: 14px;
	margin-top: 4px;
	color: #9b9ca5;
	font-size: 10.5px;
	font-weight: 700;
}

.rer-te-slider-labels span {
	position: absolute;
	white-space: nowrap;
	transform: translateX(-50%);
}

.rer-te-slider-labels span.is-standard {
	color: #c8fa3c;
}

.rer-te-shift-controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .5rem;
	margin-top: .55rem;
	color: #9a9ca3;
	font-size: .72rem;
	font-weight: 400;
	line-height: 1.55;
}

.rer-te-shift-controls button {
	width: 30px;
	height: 28px;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	border: 1px solid #262630;
	border-radius: 8px;
	background: #17171c;
	color: #f5f6f7;
	font-size: .9rem;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
}

.rer-te-popup-person-buttons button {
	width: 30px;
	height: 28px;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	border: 1px solid #292a34;
	border-radius: 8px;
	background: #17171d;
	color: #f5f5f7;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
}

.rer-te-shift-controls button:disabled {
	color: #565760;
	cursor: default;
}

.rer-te-popup-people {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: .75rem;
	padding-top: .7rem;
	border-top: 1px solid #262630;
}

.rer-te-popup-people-label {
	display: flex;
	align-items: center;
	gap: 4px;
	color: #9b9ca5;
	font-size: 11.5px;
	font-weight: 600;
	white-space: nowrap;
}

.rer-te-popup-people-label svg {
	width: 14px;
	height: 14px;
	flex: none;
	color: #c8fa3c;
}

.rer-te-popup-person-buttons {
	display: flex;
	flex: 1;
	flex-wrap: nowrap;
	gap: 4px;
}

.rer-te-popup-person-buttons button {
	flex: 0 0 30px;
	font-size: 13px;
}

.rer-te-popup-person-buttons button.is-active {
	border-color: #c8fa3c;
	background: #c8fa3c;
	color: #08090a;
}

.rer-te-popup-mode-price {
	width: 100%;
	margin: 0;
	font-size: 11.5px;
	color: #9b9ca5;
	text-align: center;
}

.rer-te-popup-modes {
	display: grid;
	width: 100%;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	margin-top: 1px;
}

.rer-te-popup-modes button {
	min-width: 0 !important;
	min-height: 30px !important;
	padding: 4px 6px !important;
	border: 1px solid #292a34;
	border-radius: 7px;
	background: #111116;
	color: #9b9ca5;
	font-size: 10.5px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

.rer-te-popup-modes button small {
	margin-left: 4px;
	color: #70717a;
	font-size: 9px;
}

.rer-te-popup-modes button.is-active {
	border-color: #c8fa3c;
	color: #c8fa3c;
}

.rer-te-popup-modes button.is-active small {
	color: inherit;
}

.rer-te-popup-modes button:disabled {
	border-color: #24252d;
	color: #565760;
	cursor: default;
}

.rer-te-popup-actions button {
	min-width: 0 !important;
	min-height: 34px;
	padding: 6px 8px;
	border: 1px solid #292a34;
	border-radius: 7px;
	background: #111116;
	color: #f5f5f7;
	font-size: 11.5px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
}

.rer-te-popup-notice {
	display: grid;
	gap: 5px;
	margin-top: 7px;
}

.rer-te-popup-fee,
.rer-te-popup-overlap {
	display: block;
	padding: 5px 7px;
	border-radius: 7px;
	font-size: 10.5px;
	font-weight: 700;
	text-align: center;
}

.rer-te-popup-fee {
	background: #ff287f;
	color: #08090a;
}

.rer-te-popup-overlap {
	color: #1ddce7;
}

.rer-te-popup-actions {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 6px;
	margin-top: 7px;
}

.rer-te-popup-actions .is-ok {
	border-color: #c8fa3c;
	background: #c8fa3c;
	color: #08090a;
}

.rer-te-apero-lightbox[hidden] {
	display: none;
}

.rer-te-apero-lightbox {
	position: fixed;
	inset: 0;
	z-index: 1000000;
	display: grid;
	place-items: center;
	padding: 25px;
	background: rgba(0, 0, 0, .9);
}

.rer-te-apero-lightbox > button {
	position: absolute;
	top: 20px;
	right: 24px;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 38px;
	cursor: pointer;
}

.rer-te-apero-lightbox figure {
	margin: 0;
	text-align: center;
}

.rer-te-apero-lightbox img {
	max-width: min(850px, 92vw);
	max-height: 82vh;
	border-radius: 18px;
}

.rer-te-apero-lightbox figcaption {
	margin-top: 10px;
	color: #fff;
	font-size: 18px;
}

@media (max-width: 900px) {
	.rer-te-picker-layout {
		grid-template-columns: 1fr;
	}

	.rer-te-calendar-card {
		max-width: 440px;
	}

	.rer-te-apero-options {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rer-te-selection-row {
		grid-template-columns: 104px minmax(230px, 1fr) auto 24px;
		grid-template-rows: auto auto;
	}

	.rer-te-selection-time {
		grid-column: 1;
		grid-row: 1 / 3;
	}

	.rer-te-selection-description {
		grid-column: 2;
		grid-row: 1;
	}

	.rer-te-selection-counter {
		grid-column: 2;
		grid-row: 2;
		justify-self: start;
		margin-top: .75rem;
	}

	.rer-te-selection-price {
		grid-column: 3;
		grid-row: 1 / 3;
	}

	.rer-te-selection-remove {
		grid-column: 4;
		grid-row: 1 / 3;
	}
}

@media (max-width: 760px) {
	.teamevent-offer-fields {
		grid-template-columns: 1fr;
	}

	.rer-teamevent-zh {
		padding: 24px 0;
	}

	.rer-te-title-row {
		align-items: flex-start;
		flex-direction: column;
	}

	.rer-te-title-row .rer-te-button {
		width: 100%;
	}

	.rer-te-calendar-card {
		width: 100%;
		max-width: none;
	}

	.rer-te-room-group h3 {
		margin: 22.4px 0 14.4px;
		padding: 0;
		color: #8b5cf6;
		font-size: 17.6px;
		font-weight: 500;
		line-height: 1.55;
	}

	.rer-te-rooms-panel {
		padding-top: 0;
		overflow: visible;
	}

	.rer-te-loading:empty {
		display: none;
	}

	.rer-te-room-group + .rer-te-room-group {
		margin-top: 28.8px;
	}

	.rer-te-rooms-panel::after,
	.rer-te-scroll-next,
	.rer-te-scroll-proxy,
	.rer-te-scroll-hint {
		display: none;
	}

	.rer-te-room-row {
		display: block;
		margin-bottom: 17.6px;
		padding: 0;
	}

	.rer-te-room-name {
		position: static;
		width: auto;
		height: auto;
		min-height: 0;
		margin-top: 0;
		padding: 9.6px 12.8px;
		border: 1px solid rgba(255, 46, 126, .22);
		border-left: 3px solid #ff2e7e;
		border-radius: 8px 8px 0 0;
		background: linear-gradient(180deg, rgba(255, 46, 126, .13), rgba(255, 46, 126, .05)), #17171c;
		color: #f5f6f7;
	}

	.rer-te-room-name strong {
		font-size: 13.76px;
		font-weight: 500;
		line-height: 1.15;
	}

	.rer-te-room-name span {
		margin-top: 0;
		color: #9a9ca3;
		font-size: 10.88px;
		font-weight: 500;
	}

	.teamevent-mobile-mode-count {
		display: inline;
		font-style: normal;
	}

	.rer-te-slot-viewport {
		padding-top: 0;
		overflow: visible;
	}

	.rer-te-slot-track {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
		gap: 6.4px;
		width: 100%;
		min-width: 0 !important;
		padding: 9.6px;
		border: 1px solid #262630;
		border-top: 0;
		border-radius: 0 0 8px 8px;
		background: #121216;
	}

	.rer-te-slot {
		width: auto;
		min-width: 0;
		height: auto;
		min-height: 48px;
		gap: 0;
		padding: 5.6px 3.2px;
		border-color: #262630;
		background: #121216;
		color: #f5f6f7;
		text-align: center;
		line-height: 1.15;
	}

	.rer-te-slot strong {
		font-size: 15.2px;
		font-weight: 500;
		line-height: 1.15;
	}

	.rer-te-slot small {
		max-width: 100%;
		margin-top: 2.4px;
		color: inherit;
		font-size: 9.6px;
		font-weight: 500;
		line-height: 1.1;
	}

	.rer-te-slot.is-booked,
	.rer-te-slot.is-blocked {
		background: #17171c;
		color: #6e7079;
	}

	.rer-te-slot.is-booked strong,
	.rer-te-slot.is-blocked strong {
		font-weight: 500;
	}

	.rer-te-slot.is-selected {
		border-color: #ff2e7e;
		background: #ff2e7e;
		color: #0a0a0c;
	}

	.rer-te-slot.is-shifted {
		border-color: #c9f24a;
		background: #c9f24a;
		color: #0a0a0c;
	}

	.rer-te-slot i {
		width: 17px;
		height: 17px;
		font-size: 9.6px;
	}

	.rer-te-selection-card {
		min-width: 0;
		padding: 22px 14px;
	}

	.rer-te-selection-list::before {
		display: none;
	}

	.rer-te-selection-row {
		width: 100%;
		min-width: 0;
		grid-template-columns: minmax(0, 1fr) auto;
		column-gap: 12px;
		row-gap: 14px;
		padding: 16px;
	}

	.rer-te-selection-time,
	.rer-te-selection-description {
		display: flex;
		width: 100%;
		min-width: 0;
		flex-direction: column;
		align-items: flex-start;
	}

	.rer-te-selection-time > strong,
	.rer-te-selection-time > span {
		padding-left: 0;
	}

	.rer-te-selection-time::before {
		display: none;
	}

	.rer-te-selection-time {
		grid-column: 1;
		grid-row: 1;
		padding-left: 0;
	}

	.rer-te-selection-description {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.rer-te-selection-description > strong,
	.rer-te-selection-description > span {
		max-width: 100%;
		overflow-wrap: anywhere;
	}

	.rer-te-selection-description > strong {
		font-size: 18px;
	}

	.rer-te-selection-description > span {
		font-size: 14px;
	}

	.rer-te-time-edit,
	.rer-te-selection-fee {
		width: fit-content;
		max-width: 100%;
		white-space: normal;
		text-align: left;
		overflow-wrap: anywhere;
	}

	.rer-te-selection-modes {
		display: grid;
		width: 100%;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.rer-te-selection-modes button {
		min-width: 0;
		padding: 8px;
		white-space: normal;
		overflow-wrap: anywhere;
	}

	.rer-te-selection-counter {
		grid-column: 1;
		grid-row: 3;
		min-width: 0;
		gap: 8px;
		justify-self: start;
		margin-top: 0;
	}

	.rer-te-selection-counter > strong {
		width: auto;
		min-width: 0;
		padding: 0 4px;
	}

	.rer-te-selection-price {
		grid-column: 2;
		grid-row: 3;
		min-width: 0;
		align-self: center;
		font-size: 20px;
		text-align: right;
	}

	.rer-te-selection-remove {
		grid-column: 2;
		grid-row: 1;
		width: 32px;
		height: 32px;
		align-self: start;
		justify-self: end;
		padding: 0;
	}

	.rer-te-apero-options,
	.rer-te-totals {
		grid-template-columns: 1fr;
	}

	.rer-te-apero-card {
		min-height: 135px;
	}

	.rer-te-apero-persons {
		align-items: stretch;
		flex-direction: column;
	}

	.rer-te-actions .rer-te-button {
		width: 100%;
	}

	.rer-te-checkout-row,
	.rer-te-grand-total {
		width: 100%;
	}

	.rer-te-checkout-row {
		align-items: stretch;
		flex-direction: column;
		gap: 20px;
	}

	.rer-te-grand-total {
		justify-content: space-between;
	}

	.rer-te-checkout-row .rer-te-checkout {
		width: 100%;
	}

	.rer-te-popup-dialog {
		padding: 0;
		max-height: calc(100dvh - 56px);
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	.teamevent-slot-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 999998;
		background: rgba(0, 0, 0, .65);
		touch-action: none;
	}

	.rer-te-slot-popup {
		width: min(320px, calc(100vw - 24px));
		max-height: none;
		overflow: visible;
		transform: none;
	}

	.rer-te-slot-popup::before {
		display: block;
	}

	.rer-te-popup-time {
		font-size: 29px;
	}

}

@media (max-width: 480px) {
	.rer-te-calendar-card {
		padding: 16px;
	}

	.rer-te-selection-card {
		padding: 20px 10px;
	}

	.rer-te-selection-date {
		gap: 8px;
		font-size: 11px;
		letter-spacing: .1em;
	}

	.rer-te-selection-row {
		padding: 14px;
	}

	.rer-te-selection-counter {
		grid-column: 1 / -1;
		grid-row: 3;
	}

	.rer-te-selection-price {
		grid-column: 1 / -1;
		grid-row: 4;
		justify-self: start;
		font-size: 21px;
		text-align: left;
	}

	.rer-te-grand-total {
		align-items: flex-start;
		flex-direction: column;
		gap: 6px;
	}

	.rer-te-grand-total strong {
		font-size: 42px;
	}
}
