.nobex-booking {
	position: relative;
	max-width: 560px;
	margin: 0 auto;
	padding: var(--nobex-form-padding, 24px 20px);
	border-radius: var(--nobex-panel-radius, 12px);
	box-sizing: border-box;
	direction: rtl;
	font-family: var(--nobex-font, 'IRANYekan', Tahoma, Arial, sans-serif);
}

.nobex-booking__loading {
	margin: 12px 0;
	font-size: 14px;
	color: #64748b;
}

.nobex-booking__load-host {
	position: relative;
}

.nobex-booking__load-overlay {
	position: absolute;
	inset: 0;
	z-index: 12;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px 16px;
	background: transparent;
	pointer-events: auto;
	border-radius: inherit;
}

.nobex-booking__load-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 12px 16px;
	text-align: center;
	min-height: 0;
}

.nobex-booking__load-state--compact {
	flex-direction: row;
	padding: 10px 12px;
	min-height: 0;
}

.nobex-booking__load-state--inline {
	flex-direction: row;
	padding: 8px 0 4px;
	min-height: 0;
	align-items: center;
	justify-content: flex-start;
}

.nobex-booking__load-dots {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	flex-shrink: 0;
}

.nobex-booking__load-dots span {
	display: block;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--nobex-accent, #2563eb);
	animation: nobex-booking-dot-bounce 1.15s ease-in-out infinite;
}

.nobex-booking__load-dots span:nth-child(2) {
	animation-delay: 0.16s;
}

.nobex-booking__load-dots span:nth-child(3) {
	animation-delay: 0.32s;
}

.nobex-booking__load-state--compact .nobex-booking__load-dots span,
.nobex-booking__load-state--inline .nobex-booking__load-dots span {
	width: 7px;
	height: 7px;
}

.nobex-booking__load-state--compact .nobex-booking__load-dots,
.nobex-booking__load-state--inline .nobex-booking__load-dots {
	gap: 5px;
}

.nobex-booking__inline-loading {
	margin-top: 4px;
}

.nobex-booking__select--loading {
	cursor: wait;
}

@keyframes nobex-booking-dot-bounce {
	0%,
	70%,
	100% {
		transform: translateY(0);
		opacity: 0.45;
	}

	35% {
		transform: translateY(-7px);
		opacity: 1;
	}
}

@keyframes nobex-booking-spin {
	to {
		transform: rotate(360deg);
	}
}

.nobex-booking__calendar--loading {
	position: relative;
	pointer-events: none;
}

.nobex-booking-wizard {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.nobex-booking-wizard__auth[hidden],
.nobex-booking-wizard__auth:empty {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	min-height: 0 !important;
}

.nobex-booking-wizard__auth:not([hidden]):not(:empty) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 10px;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	font-size: 14px;
	color: #1e40af;
	margin-bottom: 4px;
}

.nobex-booking-wizard__auth:not([hidden]):not(:empty) .nobex-booking__session-text {
	margin: 0;
	min-width: 0;
}

.nobex-booking-wizard__auth .nobex-booking__btn {
	flex-shrink: 0;
	margin: 0;
	padding: 6px 12px;
	font-size: 13px;
}

.nobex-booking-wizard__auth strong {
	margin-right: 6px;
}

.nobex-booking__session {
	display: block;
	margin-bottom: 16px;
	padding: 10px 14px;
	border-radius: 10px;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	font-size: 14px;
	color: #1e40af;
}

.nobex-booking__session .nobex-booking__logout-btn,
.nobex-booking__session .nobex-booking__logout-link,
.nobex-booking__session .nobex-booking__logout-inline,
.nobex-booking-wizard__auth .nobex-booking__logout-btn,
.nobex-booking-wizard__auth .nobex-booking__logout-link {
	display: inline-flex !important;
	visibility: visible !important;
	opacity: 1 !important;
	position: static !important;
	width: auto !important;
	height: auto !important;
	overflow: visible !important;
	clip: auto !important;
	clip-path: none !important;
	pointer-events: auto !important;
}

.nobex-booking__session--wizard {
	width: 100%;
	margin-bottom: 16px;
	box-sizing: border-box;
}

.nobex-booking__session[hidden] {
	display: none !important;
}

.nobex-booking__session-text {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 0;
	min-width: 0;
}

.nobex-booking__session-info {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	min-width: 0;
}

.nobex-booking__session-text strong {
	margin-right: 0;
	color: #0f172a;
}

.nobex-booking__logout-inline {
	flex: 0 0 auto;
	margin: 0;
	white-space: nowrap;
}

.nobex-booking-wizard__auth:has(.nobex-booking__session) {
	padding: 0;
	border: none;
	background: transparent;
}

.nobex-booking__session--in-wizard {
	width: 100%;
	margin-bottom: 0;
	box-sizing: border-box;
}

.nobex-booking__logout-link,
.nobex-booking__session .nobex-booking__logout-link,
.nobex-booking-wizard__auth .nobex-booking__logout-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-width: 72px;
	padding: 7px 14px;
	border: 1.5px solid #fca5a5;
	border-radius: 10px;
	background: #fff;
	color: #dc2626 !important;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
	cursor: pointer;
	font-family: inherit;
}

.nobex-booking__logout-link:hover,
.nobex-booking__session .nobex-booking__logout-link:hover,
.nobex-booking-wizard__auth .nobex-booking__logout-link:hover {
	background: #fef2f2 !important;
	border-color: #f87171;
	color: #b91c1c !important;
}

.nobex-booking__session .nobex-booking__btn {
	flex-shrink: 0;
	margin: 0;
	padding: 6px 12px;
	font-size: 13px;
}

.nobex-booking__logout-btn,
.nobex-booking-wizard__auth .nobex-booking__logout-btn,
.nobex-booking__session .nobex-booking__logout-btn {
	flex: 0 0 auto;
	min-width: 72px;
	padding: 7px 14px;
	border: 1.5px solid #fca5a5 !important;
	background: #fff !important;
	color: #dc2626 !important;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.nobex-booking__logout-btn:hover,
.nobex-booking-wizard__auth .nobex-booking__logout-btn:hover,
.nobex-booking__session .nobex-booking__logout-btn:hover {
	background: #fef2f2 !important;
	border-color: #f87171 !important;
	color: #b91c1c !important;
}

.nobex-booking-wizard__progress {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
	gap: var(--nobex-step-box-gap, 8px);
}

.nobex-booking-wizard__progress-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: var(--nobex-step-box-padding, 8px) 4px;
	border-radius: var(--nobex-step-box-radius, 10px);
	background: var(--nobex-step-box-bg, #f8fafc);
	border: 1px solid var(--nobex-step-box-border, #e2e8f0);
	text-align: center;
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.nobex-booking-wizard__progress-index {
	width: var(--nobex-step-index-size, 24px);
	height: var(--nobex-step-index-size, 24px);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: calc(var(--nobex-step-index-size, 24px) * 0.5);
	font-weight: 700;
	background: var(--nobex-step-index-bg, #e2e8f0);
	color: var(--nobex-step-index-color, #475569);
}

.nobex-booking-wizard__progress-label {
	font-size: var(--nobex-step-label-size, 11px);
	font-weight: 600;
	color: var(--nobex-step-label-color, #64748b);
	line-height: 1.3;
}

.nobex-booking-wizard__progress-item--active {
	border-color: var(--nobex-step-box-border-active, #2563eb);
	background: var(--nobex-step-box-bg-active, #eff6ff);
}

.nobex-booking-wizard__progress-item--active .nobex-booking-wizard__progress-index {
	background: var(--nobex-step-index-bg-active, #2563eb);
	color: var(--nobex-step-index-color-active, #fff);
}

.nobex-booking-wizard__progress-item--active .nobex-booking-wizard__progress-label {
	color: var(--nobex-step-label-color-active, #1d4ed8);
}

.nobex-booking-wizard__progress-item--done .nobex-booking-wizard__progress-index {
	background: var(--nobex-step-index-bg-done, #10b981);
	color: var(--nobex-step-index-color-done, #fff);
}

.nobex-booking-wizard__progress-item--done .nobex-booking-wizard__progress-label {
	color: var(--nobex-step-label-color-done, #047857);
}

.nobex-booking-wizard__panel {
	display: none;
	padding: var(--nobex-panel-padding, 16px);
	border-style: solid;
	border-width: var(--nobex-form-border-width, 1px);
	border-color: var(--nobex-panel-border, #e5e7eb);
	border-radius: var(--nobex-panel-radius, 12px);
	background: var(--nobex-panel-bg, #fff);
	box-shadow: none;
}

.nobex-booking-wizard__panel--active {
	display: block;
}

.nobex-booking-wizard h3.nobex-booking-wizard__panel-title,
.nobex-booking .nobex-booking-wizard h3.nobex-booking-wizard__panel-title {
	margin: 0 0 14px;
	font-size: var(--nobex-panel-title-size, 16px);
	font-weight: 700;
	line-height: 1.35;
	color: var(--nobex-panel-title-color, #0f172a);
}

.nobex-booking-wizard__panel-title {
	margin: 0 0 14px;
	font-size: var(--nobex-panel-title-size, 16px);
	font-weight: 700;
	line-height: 1.35;
	color: var(--nobex-panel-title-color, #0f172a);
}

.nobex-booking-wizard__fields {
	display: flex;
	flex-direction: column;
	gap: var(--nobex-form-gap, 12px);
	min-width: 0;
}

.nobex-booking-wizard__fields .nobex-dynamic-form {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: var(--nobex-form-gap, 12px);
	width: 100%;
	min-width: 0;
	align-items: start;
}

.nobex-booking-wizard__fields .nobex-dynamic-form__field {
	width: auto;
	min-width: 0;
	gap: 8px;
}

.nobex-booking-wizard__fields .nobex-dynamic-form__label {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: #475569;
}

.nobex-booking-wizard__fields .nobex-dynamic-form__help {
	margin: 0;
	font-size: 12px;
	line-height: 1.5;
	color: #64748b;
}

.nobex-booking-wizard__fields [data-category-steps] {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
}

/* فیلدهای shell رزرو — همیشه هم‌سبک controls.css (مستقل از تم و صفرهای فرم‌ساز) */
.nobex-booking .nobex-booking-wizard__fields input.nobex-booking__input,
.nobex-booking .nobex-booking-wizard__fields select.nobex-booking__select,
.nobex-booking .nobex-booking-wizard__fields textarea.nobex-booking__textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	padding: 11px 14px;
	border: 1.5px solid var(--nobex-input-border, #e2e8f0);
	border-radius: 10px;
	background-color: var(--nobex-input-bg, #f8fafc);
	color: var(--nobex-input-text, #0f172a);
	font-size: 14px;
	line-height: 1.5;
	font-family: inherit;
	box-sizing: border-box;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.nobex-booking .nobex-booking-wizard__fields select.nobex-booking__select {
	appearance: none;
	-webkit-appearance: none;
	padding-left: 36px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: left 12px center;
	background-size: 16px;
	cursor: pointer;
}

.nobex-booking .nobex-booking-wizard__fields input.nobex-booking__input::placeholder,
.nobex-booking .nobex-booking-wizard__fields textarea.nobex-booking__textarea::placeholder {
	color: #94a3b8;
	opacity: 1;
}

.nobex-booking .nobex-booking-wizard__fields input.nobex-booking__input:hover,
.nobex-booking .nobex-booking-wizard__fields select.nobex-booking__select:hover,
.nobex-booking .nobex-booking-wizard__fields textarea.nobex-booking__textarea:hover {
	border-color: var(--nobex-input-border-hover, #cbd5e1);
	background-color: var(--nobex-input-bg-hover, #fff);
}

.nobex-booking .nobex-booking-wizard__fields input.nobex-booking__input:focus,
.nobex-booking .nobex-booking-wizard__fields select.nobex-booking__select:focus,
.nobex-booking .nobex-booking-wizard__fields textarea.nobex-booking__textarea:focus {
	outline: none;
	border-color: var(--nobex-accent, #2563eb);
	background-color: var(--nobex-input-bg-hover, #fff);
	box-shadow: var(--nobex-input-focus-ring, 0 0 0 3px rgba(37, 99, 235, 0.14));
}

.nobex-booking .nobex-booking-wizard__fields .nobex-booking__widget {
	width: 100%;
	min-width: 0;
}

/* فیلدهای سفارشی سرویس — بدون باکس تودرتو، هم‌سبک فیلدهای booking */
.nobex-booking-wizard [data-step-extra-fields] .nobex-dynamic-form,
.nobex-booking-wizard [data-step-extra-fields] .nobex-dynamic-form--flat {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: var(--nobex-form-gap, 12px);
	align-items: start;
	margin: 0;
	padding: 0;
	border: none;
	outline: none;
	background: transparent;
	box-shadow: none;
}

.nobex-booking-wizard [data-step-extra-fields] .nobex-dynamic-form__section {
	display: contents;
	margin: 0;
	padding: 0;
	border: none;
}

.nobex-booking-wizard [data-step-extra-fields] .nobex-dynamic-form__section-title,
.nobex-booking-wizard [data-step-extra-fields] .nobex-dynamic-form__title {
	display: none;
}

.nobex-booking-wizard [data-step-extra-fields] .nobex-dynamic-form--flat .nobex-dynamic-form__field,
.nobex-booking-wizard [data-step-extra-fields] .nobex-dynamic-form__field {
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
	box-shadow: none;
}

.nobex-booking-wizard [data-step-extra-fields] .nobex-dynamic-form__input,
.nobex-booking-wizard [data-step-extra-fields] .nobex-dynamic-form__select,
.nobex-booking-wizard [data-step-extra-fields] .nobex-dynamic-form__textarea {
	padding: 11px 14px;
	border: 1.5px solid var(--nobex-input-border, #e2e8f0);
	border-radius: 10px;
	background-color: var(--nobex-input-bg, #f8fafc);
	color: var(--nobex-input-text, #0f172a);
	font-size: 14px;
	line-height: 1.5;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.nobex-booking-wizard [data-step-extra-fields] select.nobex-dynamic-form__select {
	appearance: none;
	-webkit-appearance: none;
	padding-left: 36px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: left 12px center;
	background-size: 16px;
}

.nobex-booking-wizard [data-step-extra-fields] .nobex-dynamic-form__input:focus,
.nobex-booking-wizard [data-step-extra-fields] .nobex-dynamic-form__select:focus,
.nobex-booking-wizard [data-step-extra-fields] .nobex-dynamic-form__textarea:focus {
	outline: none;
	border-color: var(--nobex-accent, #2563eb);
	background-color: var(--nobex-input-bg-hover, #fff);
	box-shadow: var(--nobex-input-focus-ring, 0 0 0 3px rgba(37, 99, 235, 0.14));
}

.nobex-booking-wizard [data-step-extra-fields] .nobex-dynamic-form__input:hover,
.nobex-booking-wizard [data-step-extra-fields] .nobex-dynamic-form__select:hover,
.nobex-booking-wizard [data-step-extra-fields] .nobex-dynamic-form__textarea:hover {
	border-color: var(--nobex-input-border-hover, #cbd5e1);
	background-color: var(--nobex-input-bg-hover, #fff);
}

.nobex-booking-wizard__actions {
	display: flex;
	justify-content: space-between;
	gap: var(--nobex-btn-gap, 10px);
	margin-top: 4px;
}

.nobex-booking-wizard__actions .nobex-booking__btn {
	width: auto;
	flex: 1 1 0;
	min-width: 0;
	max-width: none;
	padding: var(--nobex-btn-padding-y, 10px) var(--nobex-btn-padding-x, 18px);
	border-radius: var(--nobex-btn-radius, 10px);
	font-size: var(--nobex-btn-font-size, 14px);
	border-style: solid;
	border-width: var(--nobex-form-border-width, 1px);
	box-shadow: none;
}

.nobex-booking-wizard__actions .nobex-booking__btn--primary,
.nobex-booking-wizard__actions .nobex-booking__btn:not(.nobex-booking__btn--ghost) {
	background: var(--nobex-btn-primary-bg, #2563eb);
	border-color: var(--nobex-btn-primary-border, #2563eb);
	color: var(--nobex-btn-primary-text, #fff);
}

.nobex-booking-wizard__actions .nobex-booking__btn--ghost {
	background: var(--nobex-btn-ghost-bg, #fff);
	border-color: var(--nobex-btn-ghost-border, #2563eb);
	color: var(--nobex-btn-ghost-text, #2563eb);
}

.nobex-booking__btn {
	padding: 10px 18px;
	border-radius: 10px;
	border: 1.5px solid #2563eb;
	background: #2563eb;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nobex-booking__btn:hover {
	background: #1d4ed8;
	border-color: #1d4ed8;
}

.nobex-booking__btn--ghost {
	background: #fff;
	color: #2563eb;
}

.nobex-booking__btn--ghost:hover {
	background: #eff6ff;
}

.nobex-booking__btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.nobex-booking__btn--loading {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 44px;
}

.nobex-booking__spinner {
	width: 16px;
	height: 16px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: nobex-booking-spin 0.7s linear infinite;
	flex-shrink: 0;
}

.nobex-booking__btn-loading-text {
	line-height: 1.2;
}

.nobex-booking__select,
.nobex-booking__input,
.nobex-booking__textarea {
	width: 100%;
	box-sizing: border-box;
	font-family: inherit;
}

.nobex-booking__textarea {
	resize: vertical;
	min-height: 72px;
}

.nobex-booking-wizard__locked-service {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin-bottom: 14px;
	padding: 12px 14px;
	border: 1px solid #dbeafe;
	border-radius: 12px;
	background: #eff6ff;
	color: #0f172a;
	font-size: 14px;
	line-height: 1.6;
}

.nobex-booking-wizard__locked-service[hidden] {
	display: none;
}

.nobex-booking-wizard__locked-service-label {
	color: #475569;
	font-weight: 500;
}

.nobex-booking-wizard__locked-service-name {
	font-weight: 700;
	font-family: var(--nobex-font, 'IRANYekan', Tahoma, Arial, sans-serif);
}

.nobex-booking__service-widget {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
}

.nobex-booking__service-widget > .nobex-booking__select {
	flex: 1 1 auto;
	min-width: 0;
}

.nobex-booking__service-preview {
	flex: 0 0 120px;
	width: 120px;
	aspect-ratio: 16 / 9;
	height: auto;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid #e2e8f0;
	background: #f1f5f9;
	position: relative;
}

.nobex-booking__service-preview[hidden] {
	display: none;
}

.nobex-booking__service-preview-loading {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6px;
	background: transparent;
}

.nobex-booking__service-preview-loading .nobex-booking__load-state {
	padding: 8px;
	min-height: 0;
}

.nobex-booking__service-preview-loading .nobex-booking__load-dots span {
	width: 6px;
	height: 6px;
}

.nobex-booking__service-preview-loading[hidden] {
	display: none !important;
}

.nobex-booking__service-preview-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

.nobex-booking__service-preview-img[hidden] {
	display: none;
}

.nobex-booking__service-preview-title {
	display: none;
}

/* موبایل — نوار مراحل */
@media (max-width: 768px) {
	.nobex-booking-wizard__progress,
	.nobex-booking-wizard__progress--compact {
		gap: 4px;
		min-width: 0;
		overflow: hidden;
	}

	.nobex-booking-wizard__progress--compact .nobex-booking-wizard__progress-item {
		flex-direction: column;
		align-items: center;
		justify-content: flex-start;
		gap: 3px;
		padding: 4px 1px;
		min-width: 0;
		overflow: hidden;
	}

	.nobex-booking-wizard__progress--compact .nobex-booking-wizard__progress-index {
		--nobex-step-index-size: 18px;
		width: 18px;
		height: 18px;
		font-size: 10px;
		flex-shrink: 0;
	}

	.nobex-booking-wizard__progress--compact .nobex-booking-wizard__progress-label {
		writing-mode: vertical-rl;
		text-orientation: mixed;
		font-size: 9px;
		font-weight: 600;
		line-height: 1.15;
		letter-spacing: -0.01em;
		max-height: 54px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		color: var(--nobex-step-label-color, #64748b);
	}
}

@media (max-width: 360px) {
	.nobex-booking-wizard__progress--compact .nobex-booking-wizard__progress-label {
		font-size: 8px;
		max-height: 48px;
	}

	.nobex-booking-wizard__progress--compact .nobex-booking-wizard__progress-index {
		width: 16px;
		height: 16px;
		font-size: 9px;
	}
}

.nobex-booking__step {
	margin-bottom: 20px;
	padding: 16px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fff;
}

.nobex-booking__step-title {
	margin: 0 0 12px;
	font-size: 15px;
	font-weight: 700;
	font-family: var(--nobex-font, 'IRANYekan', Tahoma, Arial, sans-serif);
}

.nobex-booking__alert[data-booking-date-alert] {
	margin-top: 12px;
}

.nobex-booking__slots {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 8px;
}

.nobex-booking__slots--empty {
	display: block;
}

.nobex-booking__alert {
	padding: 12px 14px;
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.65;
	text-align: center;
}

.nobex-booking__alert--info {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	color: #475569;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.nobex-booking__slot {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 10px 8px;
	border: 1.5px solid #e2e8f0;
	border-radius: 10px;
	background: #f8fafc;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nobex-booking__slot-time {
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	direction: ltr;
	unicode-bidi: plaintext;
}

.nobex-booking__slot-status,
.nobex-booking__slot-meta {
	font-size: 11px;
	font-weight: 500;
	line-height: 1.3;
	color: #64748b;
}

.nobex-booking__slot--unavailable,
.nobex-booking__slot--booked,
.nobex-booking__slot--disabled {
	cursor: not-allowed;
	opacity: 0.72;
	background: #f1f5f9;
	border-color: #e2e8f0;
	color: #94a3b8;
}

.nobex-booking__slot--unavailable .nobex-booking__slot-status,
.nobex-booking__slot--booked .nobex-booking__slot-status,
.nobex-booking__slot--disabled .nobex-booking__slot-status {
	color: #94a3b8;
}

.nobex-booking__slot--partial {
	border-color: #fcd34d;
	background: #fffbeb;
}

.nobex-booking__slot--partial .nobex-booking__slot-status {
	color: #b45309;
}

.nobex-booking__slot:hover:not(:disabled):not(.nobex-booking__slot--unavailable) {
	border-color: color-mix(in srgb, var(--nobex-form-accent, #2563eb) 55%, #fff);
	background: color-mix(in srgb, var(--nobex-form-accent, #2563eb) 8%, #fff);
	color: var(--nobex-form-accent, #2563eb);
}

.nobex-booking__slot--active {
	border-color: var(--nobex-form-accent, #2563eb);
	background: var(--nobex-form-accent, #2563eb);
	color: #fff;
	box-shadow: 0 4px 12px color-mix(in srgb, var(--nobex-form-accent, #2563eb) 35%, transparent);
}

/* موبایل — اسلات‌های ساعت: ۳ ستون، جمع‌وجور */
@media (max-width: 768px) {
	.nobex-booking .nobex-booking__slots,
	.nobex-booking-wizard .nobex-booking__slots,
	[data-nobex-booking] .nobex-booking__slots {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 6px !important;
	}

	.nobex-booking .nobex-booking__slot,
	.nobex-booking-wizard .nobex-booking__slot,
	[data-nobex-booking] .nobex-booking__slot {
		padding: 7px 4px;
		gap: 2px;
		font-size: 12px;
		border-radius: 8px;
		min-height: 0;
		min-width: 0;
	}

	.nobex-booking .nobex-booking__slot-time,
	.nobex-booking-wizard .nobex-booking__slot-time,
	[data-nobex-booking] .nobex-booking__slot-time {
		font-size: 12px;
		line-height: 1.2;
	}

	.nobex-booking .nobex-booking__slot-status,
	.nobex-booking .nobex-booking__slot-meta,
	.nobex-booking-wizard .nobex-booking__slot-status,
	.nobex-booking-wizard .nobex-booking__slot-meta,
	[data-nobex-booking] .nobex-booking__slot-status,
	[data-nobex-booking] .nobex-booking__slot-meta {
		font-size: 9px;
		line-height: 1.2;
	}
}

@media (max-width: 360px) {
	.nobex-booking .nobex-booking__slot,
	.nobex-booking-wizard .nobex-booking__slot,
	[data-nobex-booking] .nobex-booking__slot {
		padding: 6px 2px;
		font-size: 11px;
	}

	.nobex-booking .nobex-booking__slot-time,
	.nobex-booking-wizard .nobex-booking__slot-time,
	[data-nobex-booking] .nobex-booking__slot-time {
		font-size: 11px;
	}
}

.nobex-booking__message {
	padding: 12px;
	border-radius: 8px;
	margin-bottom: 16px;
	font-size: 14px;
}

.nobex-booking__empty-hint {
	margin: 8px 0 0;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 14px;
	color: #64748b;
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
}

.nobex-booking__message--error {
	background: #fef2f2;
	color: #b91c1c;
}

.nobex-booking__message--success {
	background: #f0fdf4;
	color: #166534;
}

.nobex-booking__manage {
	display: flex;
	justify-content: flex-start;
	margin-top: 16px;
}

.nobex-booking__manage-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	max-width: 100%;
	padding: 10px 18px;
	border-radius: 10px;
	border: 1.5px solid #bfdbfe;
	background: #f8fafc;
	color: #2563eb;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	font-family: inherit;
	box-sizing: border-box;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

@media (max-width: 768px) {
	.nobex-booking__manage {
		width: 100%;
	}

	.nobex-booking__manage-link {
		width: 100%;
		padding: 12px 14px;
	}

	.nobex-booking__manage-link-text {
		white-space: normal;
		text-align: center;
		line-height: 1.4;
	}

	.nobex-booking-shortcode__panel-manage-link {
		width: auto;
		max-width: min(100%, 11rem);
		padding: 7px 12px;
		white-space: nowrap;
	}

	.nobex-booking-shortcode__panel-manage-text {
		max-width: 5.5rem;
		white-space: nowrap;
		text-align: start;
		line-height: 1.2;
	}
}

.nobex-booking__manage-link:hover {
	background: #eff6ff;
	color: #1d4ed8;
	border-color: #93c5fd;
}

.nobex-booking__manage-link-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.nobex-booking__manage-link-icon svg {
	display: block;
}

.nobex-booking__btn--outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #f8fafc;
	color: #2563eb;
	border: 1.5px solid #bfdbfe;
	text-decoration: none;
}

.nobex-booking__btn--outline:hover {
	background: #eff6ff;
	color: #1d4ed8;
}

.nobex-booking__step-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 8px;
}

.nobex-booking__step-link {
	font-size: 13px;
	color: #2563eb;
	text-decoration: none;
	font-weight: 600;
}

.nobex-booking__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nobex-booking__item {
	padding: 12px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	margin-bottom: 8px;
}

.nobex-booking__item-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.nobex-calendar__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 8px;
}

.nobex-calendar__nav {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border: 1.5px solid #e2e8f0;
	border-radius: 10px;
	background: #f8fafc;
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.nobex-calendar__nav:hover {
	border-color: #93c5fd;
	background: #eff6ff;
}

.nobex-calendar__title {
	flex: 1 1 auto;
	min-width: 0;
	text-align: center;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.4;
	color: #0f172a;
	font-family: var(--nobex-font, 'IRANYekan', Tahoma, Arial, sans-serif);
}

.nobex-calendar__weekdays,
.nobex-calendar__grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
	text-align: center;
}

.nobex-calendar__weekdays {
	margin-bottom: 6px;
	font-size: 12px;
	color: #6b7280;
}

.nobex-calendar__day {
	height: 36px;
	border: 1.5px solid transparent;
	border-radius: 10px;
	background: #f8fafc;
	cursor: pointer;
	font-weight: 500;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nobex-calendar__day:not(.nobex-calendar__day--disabled):not(.nobex-calendar__day--empty):hover {
	background: #eff6ff;
	border-color: #bfdbfe;
}

.nobex-calendar__day--today {
	border-color: #93c5fd;
}

.nobex-calendar__day--selected {
	background: #2563eb;
	color: #fff;
}

.nobex-calendar__day--disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.nobex-calendar__day--empty {
	visibility: hidden;
}

.nobex-calendar__day--marked {
	position: relative;
	font-weight: 700;
}

.nobex-calendar__day--marked::after {
	content: '';
	position: absolute;
	bottom: 4px;
	left: 50%;
	width: 6px;
	height: 6px;
	margin-left: -3px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.85;
}

.nobex-calendar__day--mark-available:not(.nobex-calendar__day--selected) {
	color: #047857;
}

.nobex-calendar__day--mark-available:not(.nobex-calendar__day--selected)::after {
	background: #10b981;
}

.nobex-calendar__day--mark-booked:not(.nobex-calendar__day--selected) {
	color: #1d4ed8;
}

.nobex-calendar__day--mark-booked:not(.nobex-calendar__day--selected)::after {
	background: #3b82f6;
}

.nobex-calendar__day--mark-disabled:not(.nobex-calendar__day--selected) {
	color: #64748b;
}

.nobex-calendar__day--mark-disabled:not(.nobex-calendar__day--selected)::after {
	background: #94a3b8;
}

.nobex-calendar__day--mark-mixed:not(.nobex-calendar__day--selected)::after {
	background: #f59e0b;
}

/* تقویم رزرو — دسکتاپ جمع‌وجور */
@media (min-width: 769px) {
	.nobex-booking-wizard__panel[data-wizard-section="section_datetime"] .nobex-booking-wizard__panel-title,
	.nobex-booking-wizard__panel[data-wizard-section="section_time"] .nobex-booking-wizard__panel-title {
		margin-bottom: 8px;
		font-size: 15px;
	}

	.nobex-booking-wizard__panel[data-wizard-section="section_datetime"] .nobex-dynamic-form,
	.nobex-booking-wizard__panel[data-wizard-section="section_time"] .nobex-dynamic-form {
		gap: 10px;
	}

	.nobex-booking__calendar-host {
		max-width: 340px;
		margin-inline: auto;
	}

	.nobex-booking .nobex-calendar__header {
		margin-bottom: 4px;
	}

	.nobex-booking .nobex-calendar__weekdays,
	.nobex-booking .nobex-calendar__grid {
		gap: 3px;
	}

	.nobex-booking .nobex-calendar__day {
		height: 30px;
		font-size: 12px;
		border-radius: 8px;
	}

	.nobex-booking .nobex-calendar__nav {
		width: 30px;
		height: 30px;
		border-radius: 8px;
	}

	.nobex-booking .nobex-calendar__weekdays {
		margin-bottom: 4px;
		font-size: 11px;
	}

	.nobex-booking .nobex-calendar__title {
		font-size: 14px;
	}

	.nobex-booking [data-booking-date-alert] {
		margin-top: 8px;
		padding: 8px 12px;
		font-size: 13px;
	}

	.nobex-booking-wizard__panel[data-wizard-section="section_datetime"] [data-field-type="booking_date"] {
		grid-column: span 5;
	}

	.nobex-booking-wizard__panel[data-wizard-section="section_datetime"]:not(:has([data-field-type="booking_time"])) [data-field-type="booking_date"] {
		grid-column: span 12;
	}

	.nobex-booking-wizard__panel[data-wizard-section="section_datetime"]:not(:has([data-field-type="booking_time"])) .nobex-booking__calendar-host {
		max-width: 320px;
	}

	.nobex-booking-wizard__panel[data-wizard-section="section_datetime"] [data-field-type="booking_time"] {
		grid-column: span 7;
		align-self: start;
	}

	.nobex-booking-wizard__panel[data-wizard-section="section_datetime"] .nobex-booking__slots {
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 6px;
		max-height: min(220px, 42vh);
		overflow: auto;
		padding-inline-end: 2px;
	}

	.nobex-booking-wizard__panel[data-wizard-section="section_time"] .nobex-booking__slots {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		gap: 6px;
		max-height: min(280px, 48vh);
		overflow: auto;
		padding-inline-end: 2px;
	}

	.nobex-booking-wizard__panel[data-wizard-section="section_time"] .nobex-booking__slot,
	.nobex-booking-wizard__panel[data-wizard-section="section_datetime"] .nobex-booking__slot {
		padding: 8px 6px;
		font-size: 13px;
	}
}

/* تقویم رزرو — موبایل باریک */
@media (max-width: 480px) {
	.nobex-booking .nobex-calendar,
	.nobex-jalali-picker-modal .nobex-calendar {
		width: 100%;
		max-width: min(100%, 300px);
		margin-inline: auto;
		box-sizing: border-box;
	}

	.nobex-booking .nobex-calendar__weekdays,
	.nobex-booking .nobex-calendar__grid,
	.nobex-jalali-picker-modal .nobex-calendar__weekdays,
	.nobex-jalali-picker-modal .nobex-calendar__grid {
		gap: 2px;
	}

	.nobex-booking .nobex-calendar__day,
	.nobex-jalali-picker-modal .nobex-calendar__day {
		height: 32px;
		font-size: 12px;
		border-radius: 8px;
	}

	.nobex-booking .nobex-calendar__nav,
	.nobex-jalali-picker-modal .nobex-calendar__nav {
		width: 32px;
		height: 32px;
	}

	.nobex-booking .nobex-calendar__weekdays,
	.nobex-jalali-picker-modal .nobex-calendar__weekdays {
		font-size: 11px;
	}

	.nobex-booking .nobex-calendar__title,
	.nobex-jalali-picker-modal .nobex-calendar__title {
		font-size: 14px;
	}
}

@media (max-width: 360px) {
	.nobex-booking .nobex-calendar,
	.nobex-jalali-picker-modal .nobex-calendar {
		max-width: min(100%, 272px);
	}

	.nobex-booking .nobex-calendar__day,
	.nobex-jalali-picker-modal .nobex-calendar__day {
		height: 30px;
		font-size: 11px;
	}
}

/* شورت‌کد */
.nobex-booking-shortcode {
	border: none;
	outline: none;
	box-shadow: none;
	background: transparent;
}

.nobex-booking-shortcode--inline .nobex-booking {
	max-width: 100%;
	margin: 0 auto;
	padding: var(--nobex-form-padding, 24px 20px);
	border: none;
	outline: none;
	box-shadow: none;
}

.nobex-booking__form-root {
	margin: 0;
	padding: 0;
	border: none;
	outline: none;
	box-shadow: none;
	background: transparent;
}

.nobex-booking-shortcode .nobex-booking-wizard__fields .nobex-dynamic-form {
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
	box-shadow: none;
}

.wp-block-shortcode:has(.nobex-booking-shortcode) {
	border: none;
	box-shadow: none;
	padding: 0;
	background: transparent;
}

.nobex-booking-shortcode__error {
	color: #b91c1c;
	font-size: 14px;
	margin: 8px 0;
}

.nobex-booking-shortcode--button {
	display: inline-block;
}

.nobex-booking-shortcode__open {
	cursor: pointer;
}

/* نمایش تطبیقی دسکتاپ / موبایل (display + mobile_display) */
.nobex-booking-shortcode--adaptive {
	width: 100%;
	min-width: 0;
}

.nobex-booking-shortcode--adaptive .nobex-booking-shortcode__desktop-open,
.nobex-booking-shortcode--adaptive .nobex-booking-shortcode__mobile-open {
	width: 100%;
	justify-content: center;
}

.nobex-booking-shortcode--adaptive .nobex-booking-shortcode__inline-host,
.nobex-booking-shortcode--adaptive .nobex-booking-shortcode__form-slot {
	width: 100%;
	min-width: 0;
}

.nobex-booking-shortcode--adaptive .nobex-booking-shortcode__inline-host:empty {
	display: none;
}

.nobex-booking-shortcode--adaptive .nobex-booking-shortcode__mobile-panel {
	display: none;
}

.nobex-booking-shortcode--adaptive .nobex-booking-shortcode__mobile-panel-head {
	display: none;
}

.nobex-booking-shortcode__mobile-panel-close {
	border: none;
	background: #f1f5f9;
	color: #334155;
	width: 36px;
	height: 36px;
	border-radius: 999px;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	flex-shrink: 0;
}

body.nobex-booking-mobile-panel-open {
	overflow: hidden;
}

.nobex-booking-shortcode__mobile-panel.is-open {
	display: flex !important;
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	flex-direction: column;
	background: #fff;
	padding: max(12px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) 0 max(18px, env(safe-area-inset-left));
	box-sizing: border-box;
}

.nobex-booking-shortcode__mobile-panel.is-open .nobex-booking-shortcode__mobile-panel-head {
	display: grid;
	grid-template-columns: 40px 1fr auto;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	padding-bottom: 12px;
	border-bottom: 1px solid #e2e8f0;
	margin-bottom: 12px;
}

.nobex-booking-shortcode__mobile-panel-title {
	margin: 0;
	font-size: 1.02rem;
	font-weight: 700;
	font-family: var(--nobex-font, 'IRANYekan', Tahoma, Arial, sans-serif);
	text-align: center;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.nobex-booking-shortcode__panel-manage-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	max-width: 100%;
	margin-inline-end: 6px;
	padding: 7px 12px;
	border-radius: 999px;
	border: 1px solid #dbeafe;
	background: #f8fbff;
	color: #1d4ed8;
	text-decoration: none;
	font-family: var(--nobex-font, 'IRANYekan', Tahoma, Arial, sans-serif);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	box-shadow: 0 1px 2px rgba(37, 99, 235, 0.08);
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nobex-booking-shortcode__panel-manage-link:hover {
	background: #eff6ff;
	border-color: #93c5fd;
	color: #1e40af;
	box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}

.nobex-booking-shortcode__panel-manage-link svg {
	display: block;
	flex-shrink: 0;
	opacity: 0.9;
}

.nobex-booking-shortcode__panel-manage-text {
	max-width: 5.5rem;
	overflow: hidden;
	text-overflow: ellipsis;
}

.nobex-booking-shortcode__mobile-panel.is-open .nobex-booking-shortcode__mobile-panel-head strong {
	font-size: 1.05rem;
}

.nobex-booking-shortcode__mobile-panel.is-open .nobex-booking-shortcode__mobile-panel-body {
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	padding-bottom: 0;
}

@media (max-width: 768px) {
	.nobex-booking__manage {
		display: none !important;
	}

	.nobex-booking-shortcode__mobile-panel.is-open .nobex-booking--height-max,
	.nobex-booking-shortcode__mobile-panel.is-open .nobex-booking--height-container,
	.nobex-booking-shortcode--mobile-modal[data-mobile-open="1"] .nobex-booking--height-max,
	.nobex-booking-shortcode--mobile-modal[data-mobile-open="1"] .nobex-booking--height-container {
		min-height: 0 !important;
		max-height: none !important;
		height: 100% !important;
		--nobex-booking-max-height: 100%;
	}

	.nobex-booking--height-max > .nobex-booking-wizard__actions,
	.nobex-booking--height-container > .nobex-booking-wizard__actions {
		margin-top: auto !important;
		padding: 12px max(12px, env(safe-area-inset-right)) max(12px, calc(env(safe-area-inset-bottom) + 4px)) max(12px, env(safe-area-inset-left));
		border-top: 1px solid #e2e8f0;
		background: var(--nobex-form-bg, #fff);
	}

	.nobex-booking--height-max .nobex-booking__scroll-body,
	.nobex-booking--height-container .nobex-booking__scroll-body {
		padding-bottom: 4px;
	}
}

.nobex-booking-shortcode__mobile-panel.is-open .nobex-booking-shortcode__mobile-panel-host,
.nobex-booking-shortcode__mobile-panel.is-open [data-booking-form-slot],
.nobex-booking-shortcode__mobile-panel.is-open .nobex-booking-shortcode--form-slot {
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
	height: 100% !important;
	max-height: none !important;
}

/* پنل موبایل: دکمه‌ها پایین ثابت؛ اسکرول فقط در scroll-body */
.nobex-booking-shortcode__mobile-panel.is-open .nobex-booking-shortcode--height-max,
.nobex-booking-shortcode__mobile-panel.is-open .nobex-booking-shortcode--height-container {
	flex: 1 1 auto;
	min-height: 0 !important;
	height: 100% !important;
	max-height: none !important;
	display: flex;
	flex-direction: column;
	--nobex-booking-max-height: 100%;
}

.nobex-booking-shortcode__mobile-panel.is-open .nobex-booking--height-max,
.nobex-booking-shortcode__mobile-panel.is-open .nobex-booking--height-container {
	flex: 1 1 auto;
	min-height: 0 !important;
	height: 100% !important;
	max-height: none !important;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	--nobex-booking-max-height: 100%;
}

.nobex-booking-shortcode__mobile-panel.is-open .nobex-booking--height-max > .nobex-booking__scroll-body,
.nobex-booking-shortcode__mobile-panel.is-open .nobex-booking--height-container > .nobex-booking__scroll-body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	padding-bottom: 12px;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-y: contain;
	touch-action: pan-y;
}

/* داخل scroll-body محتوا آزاد رشد کند تا اسکرoll یک‌جا کار کند */
.nobex-booking-shortcode__mobile-panel.is-open .nobex-booking__scroll-body .nobex-booking__form-root,
.nobex-booking-shortcode__mobile-panel.is-open .nobex-booking__scroll-body .nobex-booking-wizard,
.nobex-booking-shortcode__mobile-panel.is-open .nobex-booking__scroll-body .nobex-booking-wizard__panel--active,
.nobex-booking-shortcode__mobile-panel.is-open .nobex-booking__scroll-body .nobex-booking-wizard__fields,
.nobex-booking-shortcode__mobile-panel.is-open .nobex-booking__scroll-body [data-category-steps] {
	flex: none !important;
	min-height: auto !important;
	max-height: none !important;
	overflow: visible !important;
	display: block;
	height: auto !important;
}

/* لغو overflow:hidden عمومی in-modal داخل پنل موبایل */
.nobex-booking-shortcode__mobile-panel.is-open .nobex-booking--in-modal .nobex-booking-wizard,
.nobex-booking-shortcode__mobile-panel.is-open .nobex-booking--in-modal .nobex-booking-wizard__panel--active,
.nobex-booking-shortcode__mobile-panel.is-open .nobex-booking--in-modal .nobex-booking-wizard__fields {
	flex: none !important;
	min-height: auto !important;
	overflow: visible !important;
}

/* اگر scroll-body ساخته نشده، خود ریشه فرم اسکرول شود */
.nobex-booking-shortcode__mobile-panel.is-open .nobex-booking--height-max:not(:has(> .nobex-booking__scroll-body)),
.nobex-booking-shortcode__mobile-panel.is-open .nobex-booking--height-container:not(:has(> .nobex-booking__scroll-body)) {
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	touch-action: pan-y;
}

.nobex-booking-shortcode__mobile-panel.is-open .nobex-booking--height-max > .nobex-booking-wizard__actions,
.nobex-booking-shortcode__mobile-panel.is-open .nobex-booking--height-container > .nobex-booking-wizard__actions {
	flex-shrink: 0;
	margin-top: auto;
	padding: 16px max(12px, env(safe-area-inset-right)) max(20px, calc(env(safe-area-inset-bottom) + 8px)) max(12px, env(safe-area-inset-left));
	background: var(--nobex-form-bg, #fff);
	border-top: 1px solid #e2e8f0;
	position: relative;
	z-index: 2;
}

/* دکمه‌ها هنوز داخل wizard هستند */
.nobex-booking-shortcode__mobile-panel.is-open .nobex-booking-wizard > .nobex-booking-wizard__actions {
	flex-shrink: 0;
	margin-top: auto;
	padding: 16px max(12px, env(safe-area-inset-right)) max(20px, calc(env(safe-area-inset-bottom) + 8px)) max(12px, env(safe-area-inset-left));
	background: var(--nobex-form-bg, #fff);
	border-top: 1px solid #e2e8f0;
}

.nobex-booking-shortcode__mobile-panel.is-open .nobex-booking-shortcode--form-slot.nobex-booking-shortcode--height-max,
.nobex-booking-shortcode__mobile-panel.is-open .nobex-booking-shortcode--form-slot.nobex-booking-shortcode--height-container {
	max-height: none !important;
	height: 100% !important;
	min-height: 0;
	display: flex;
	flex-direction: column;
}

.nobex-booking-shortcode__mobile-panel.is-open .nobex-booking-shortcode--form-slot .nobex-booking--height-container {
	flex: 1;
	min-height: 0;
	max-height: none !important;
	height: 100% !important;
}

@media (max-width: 768px) {
	.nobex-booking-shortcode--adaptive[data-mobile-open="1"] .nobex-booking-shortcode__mobile-panel:not(.is-open) {
		display: none;
	}
}

/* سازگاری با شورت‌کدهای قدیمی mobile-modal */
.nobex-booking-shortcode--mobile-modal {
	width: 100%;
	min-width: 0;
}

.nobex-booking-shortcode--mobile-modal .nobex-booking-shortcode__mobile-open {
	display: none;
	width: 100%;
	justify-content: center;
}

.nobex-booking-shortcode--mobile-modal .nobex-booking-shortcode__mobile-panel {
	display: block;
	width: 100%;
	min-width: 0;
}

.nobex-booking-shortcode--mobile-modal .nobex-booking-shortcode__mobile-panel-head {
	display: none;
}

.nobex-booking-shortcode--mobile-modal .nobex-booking-shortcode__mobile-panel-body {
	min-width: 0;
}

@media (max-width: 768px) {
	.nobex-booking-shortcode--mobile-modal .nobex-booking-shortcode__mobile-open {
		display: inline-flex;
	}

	.nobex-booking-shortcode--mobile-modal .nobex-booking-shortcode__mobile-panel {
		display: none;
		position: fixed;
		inset: 0;
		z-index: 100001;
		flex-direction: column;
		background: #fff;
		padding: max(12px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) 0 max(18px, env(safe-area-inset-left));
		box-sizing: border-box;
	}

	.nobex-booking-shortcode--mobile-modal[data-mobile-open="1"] .nobex-booking-shortcode__mobile-panel {
		display: flex;
	}

	.nobex-booking-shortcode--mobile-modal .nobex-booking-shortcode__mobile-panel-head {
		display: grid;
		grid-template-columns: 40px 1fr auto;
		align-items: center;
		gap: 8px;
		flex-shrink: 0;
		padding-bottom: 12px;
		border-bottom: 1px solid #e2e8f0;
		margin-bottom: 12px;
	}

	.nobex-booking-shortcode--mobile-modal .nobex-booking-shortcode__mobile-panel-head strong {
		margin: 0;
		font-size: 1.02rem;
		font-weight: 700;
		text-align: center;
		min-width: 0;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.nobex-booking-shortcode--mobile-modal .nobex-booking-shortcode__mobile-panel-close {
		border: none;
		background: #f1f5f9;
		color: #334155;
		width: 36px;
		height: 36px;
		border-radius: 999px;
		font-size: 1.4rem;
		line-height: 1;
		cursor: pointer;
		flex-shrink: 0;
	}

	.nobex-booking-shortcode--mobile-modal .nobex-booking-shortcode__mobile-panel-body {
		flex: 1;
		min-height: 0;
		display: flex;
		flex-direction: column;
		overflow: hidden;
	}

	.nobex-booking-shortcode--mobile-modal[data-mobile-open="1"] .nobex-booking-shortcode__mobile-panel-host,
	.nobex-booking-shortcode--mobile-modal[data-mobile-open="1"] [data-booking-form-slot],
	.nobex-booking-shortcode--mobile-modal[data-mobile-open="1"] .nobex-booking-shortcode--mobile-panel-inner,
	.nobex-booking-shortcode--mobile-modal[data-mobile-open="1"] .nobex-booking-shortcode--mobile-panel-inner.nobex-booking-shortcode--height-container {
		flex: 1 1 auto;
		min-height: 0;
		display: flex;
		flex-direction: column;
		height: 100% !important;
		max-height: none !important;
	}

	.nobex-booking-shortcode--mobile-modal[data-mobile-open="1"] .nobex-booking--height-max > .nobex-booking__scroll-body,
	.nobex-booking-shortcode--mobile-modal[data-mobile-open="1"] .nobex-booking--height-container > .nobex-booking__scroll-body {
		flex: 1 1 auto;
		min-height: 0;
		overflow-x: hidden;
		overflow-y: auto;
		padding-bottom: 12px;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior-y: contain;
		touch-action: pan-y;
	}

	.nobex-booking-shortcode--mobile-modal[data-mobile-open="1"] .nobex-booking__scroll-body .nobex-booking__form-root,
	.nobex-booking-shortcode--mobile-modal[data-mobile-open="1"] .nobex-booking__scroll-body .nobex-booking-wizard,
	.nobex-booking-shortcode--mobile-modal[data-mobile-open="1"] .nobex-booking__scroll-body .nobex-booking-wizard__panel--active,
	.nobex-booking-shortcode--mobile-modal[data-mobile-open="1"] .nobex-booking__scroll-body .nobex-booking-wizard__fields,
	.nobex-booking-shortcode--mobile-modal[data-mobile-open="1"] .nobex-booking__scroll-body [data-category-steps] {
		flex: none !important;
		min-height: auto !important;
		max-height: none !important;
		overflow: visible !important;
		display: block;
		height: auto !important;
	}

	.nobex-booking-shortcode--mobile-modal[data-mobile-open="1"] .nobex-booking--in-modal .nobex-booking-wizard,
	.nobex-booking-shortcode--mobile-modal[data-mobile-open="1"] .nobex-booking--in-modal .nobex-booking-wizard__panel--active,
	.nobex-booking-shortcode--mobile-modal[data-mobile-open="1"] .nobex-booking--in-modal .nobex-booking-wizard__fields {
		flex: none !important;
		min-height: auto !important;
		overflow: visible !important;
	}

	.nobex-booking-shortcode--mobile-modal[data-mobile-open="1"] .nobex-booking--height-max,
	.nobex-booking-shortcode--mobile-modal[data-mobile-open="1"] .nobex-booking--height-container {
		flex: 1 1 auto;
		min-height: 0 !important;
		height: 100% !important;
		--nobex-booking-max-height: 100%;
		max-height: none !important;
		overflow: hidden;
		display: flex;
		flex-direction: column;
	}

	.nobex-booking-shortcode--mobile-modal[data-mobile-open="1"] .nobex-booking--height-max > .nobex-booking-wizard__actions,
	.nobex-booking-shortcode--mobile-modal[data-mobile-open="1"] .nobex-booking--height-container > .nobex-booking-wizard__actions,
	.nobex-booking-shortcode--mobile-modal[data-mobile-open="1"] .nobex-booking-wizard > .nobex-booking-wizard__actions {
		flex-shrink: 0;
		margin-top: auto;
		padding: 16px max(12px, env(safe-area-inset-right)) max(20px, calc(env(safe-area-inset-bottom) + 8px)) max(12px, env(safe-area-inset-left));
		background: var(--nobex-form-bg, #fff);
		border-top: 1px solid #e2e8f0;
	}

	.nobex-booking-shortcode--mobile-modal .nobex-booking-shortcode--mobile-panel-inner,
	.nobex-booking-shortcode--mobile-modal .nobex-booking-shortcode--mobile-panel-inner.nobex-booking-shortcode--height-container {
		max-height: none !important;
		height: auto !important;
		min-height: 0;
	}

	.nobex-booking-shortcode--mobile-modal[data-mobile-open="1"] .nobex-booking-shortcode--mobile-panel-inner.nobex-booking-shortcode--height-container {
		height: 100% !important;
		display: flex;
		flex-direction: column;
	}

	.nobex-booking-shortcode--mobile-modal[data-mobile-open="1"] .nobex-booking-shortcode--mobile-panel-inner .nobex-booking--height-container {
		flex: 1;
		min-height: 0;
		max-height: none !important;
		height: 100% !important;
	}
}

/* ── محدودیت ارتفاع فرم (height_mode در شورت‌کد) ── */

.nobex-booking-shortcode--width-max {
	width: 100%;
	max-width: var(--nobex-booking-max-width, 960px);
	margin-inline: auto;
	box-sizing: border-box;
}

.nobex-booking-shortcode--width-max > .nobex-booking,
.nobex-booking-shortcode--width-max .nobex-booking-shortcode--form-slot > .nobex-booking {
	max-width: 100%;
	width: 100%;
	box-sizing: border-box;
}

.nobex-booking-shortcode--width-max .nobex-booking-shortcode__inline-host,
.nobex-booking-shortcode--width-max .nobex-booking-shortcode__form-slot,
.nobex-booking-shortcode--width-max [data-booking-form-slot] {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.nobex-booking-shortcode--width-max .nobex-booking-shortcode__open,
.nobex-booking-shortcode--width-max .nobex-booking-shortcode__mobile-open {
	width: 100%;
	max-width: 100%;
}

.nobex-booking-shortcode--width-max .nobex-booking-modal__dialog {
	width: min(var(--nobex-booking-max-width, 640px), calc(100vw - 24px));
	max-width: var(--nobex-booking-max-width, 640px);
}

.nobex-booking-shortcode--height-container {
	height: 100%;
	min-height: 0;
	max-height: 100%;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}

.nobex-booking-shortcode--height-max,
.nobex-booking-shortcode--height-container {
	width: 100%;
	min-width: 0;
}

.nobex-booking-shortcode--height-max {
	display: flex;
	flex-direction: column;
	min-height: var(--nobex-booking-max-height, min(560px, calc(100dvh - 48px)));
}

.nobex-booking-shortcode--height-max > .nobex-booking--height-max {
	flex: 1 1 auto;
	width: 100%;
}

.nobex-booking--height-max,
.nobex-booking--height-container {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	max-width: 100%;
	box-sizing: border-box;
}

.nobex-booking--height-container {
	min-height: 0;
}

.nobex-booking--height-max {
	flex: 1 1 auto;
	min-height: var(--nobex-booking-max-height, min(560px, calc(100dvh - 48px)));
	max-height: var(--nobex-booking-max-height, min(560px, calc(100dvh - 48px)));
}

.nobex-booking-shortcode--height-container > .nobex-booking--height-container {
	flex: 1 1 auto;
	height: 100%;
	max-height: 100%;
}

.nobex-booking--height-max .nobex-booking__message,
.nobex-booking--height-container .nobex-booking__message,
.nobex-booking--height-max .nobex-booking__footer,
.nobex-booking--height-container .nobex-booking__footer,
.nobex-booking--height-max .nobex-booking__manage,
.nobex-booking--height-container .nobex-booking__manage {
	flex-shrink: 0;
}

.nobex-booking--height-max .nobex-booking__scroll-body,
.nobex-booking--height-container .nobex-booking__scroll-body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 12px;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}

.nobex-booking--height-max .nobex-booking__form-root,
.nobex-booking--height-container .nobex-booking__form-root {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.nobex-booking--height-max.nobex-booking--scroll-step .nobex-booking__form-root,
.nobex-booking--height-container.nobex-booking--scroll-step .nobex-booking__form-root,
.nobex-booking--height-max.nobex-booking--scroll-form .nobex-booking__form-root,
.nobex-booking--height-container.nobex-booking--scroll-form .nobex-booking__form-root {
	flex: none;
	min-height: auto;
	overflow: visible;
}

.nobex-booking--height-max .nobex-booking-wizard,
.nobex-booking--height-container .nobex-booking-wizard {
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.nobex-booking--height-max.nobex-booking--scroll-step .nobex-booking-wizard,
.nobex-booking--height-container.nobex-booking--scroll-step .nobex-booking-wizard,
.nobex-booking--height-max.nobex-booking--scroll-form .nobex-booking-wizard,
.nobex-booking--height-container.nobex-booking--scroll-form .nobex-booking-wizard {
	flex: none;
	min-height: auto;
	overflow: visible;
}

.nobex-booking--height-max .nobex-booking-wizard__auth,
.nobex-booking--height-container .nobex-booking-wizard__auth,
.nobex-booking--height-max .nobex-booking-wizard__locked-service,
.nobex-booking--height-container .nobex-booking-wizard__locked-service,
.nobex-booking--height-max > .nobex-booking-wizard__actions,
.nobex-booking--height-container > .nobex-booking-wizard__actions,
.nobex-booking--height-max.nobex-booking--scroll-step .nobex-booking-wizard__actions,
.nobex-booking--height-container.nobex-booking--scroll-step .nobex-booking-wizard__actions,
.nobex-booking--height-max.nobex-booking--scroll-form .nobex-booking-wizard__actions,
.nobex-booking--height-container.nobex-booking--scroll-form .nobex-booking-wizard__actions {
	flex-shrink: 0;
}

.nobex-booking--height-max > .nobex-booking-wizard__actions,
.nobex-booking--height-container > .nobex-booking-wizard__actions,
.nobex-booking--height-max.nobex-booking--scroll-step .nobex-booking-wizard__actions,
.nobex-booking--height-container.nobex-booking--scroll-step .nobex-booking-wizard__actions,
.nobex-booking--height-max.nobex-booking--scroll-form .nobex-booking-wizard__actions,
.nobex-booking--height-container.nobex-booking--scroll-form .nobex-booking-wizard__actions {
	margin-top: 0;
	position: static;
	z-index: 3;
	padding-top: 10px;
	background: var(--nobex-form-bg, #fff);
}

.nobex-booking--height-max.nobex-booking--scroll-step .nobex-booking-wizard__panel--active,
.nobex-booking--height-container.nobex-booking--scroll-step .nobex-booking-wizard__panel--active,
.nobex-booking--height-max.nobex-booking--scroll-form .nobex-booking-wizard__panel--active,
.nobex-booking--height-container.nobex-booking--scroll-form .nobex-booking-wizard__panel--active {
	flex: none;
	min-height: auto;
	overflow: visible;
	display: block;
}

.nobex-booking--height-max.nobex-booking--scroll-step .nobex-booking-wizard__panel--active .nobex-booking-wizard__panel-title,
.nobex-booking--height-container.nobex-booking--scroll-step .nobex-booking-wizard__panel--active .nobex-booking-wizard__panel-title,
.nobex-booking--height-max.nobex-booking--scroll-form .nobex-booking-wizard__panel--active .nobex-booking-wizard__panel-title,
.nobex-booking--height-container.nobex-booking--scroll-form .nobex-booking-wizard__panel--active .nobex-booking-wizard__panel-title {
	margin-bottom: 10px;
}

.nobex-booking--height-max.nobex-booking--scroll-step .nobex-booking-wizard__panel--active .nobex-booking-wizard__fields,
.nobex-booking--height-container.nobex-booking--scroll-step .nobex-booking-wizard__panel--active .nobex-booking-wizard__fields,
.nobex-booking--height-max.nobex-booking--scroll-form .nobex-booking-wizard__panel--active .nobex-booking-wizard__fields,
.nobex-booking--height-container.nobex-booking--scroll-form .nobex-booking-wizard__panel--active .nobex-booking-wizard__fields {
	flex: none;
	min-height: auto;
	overflow: visible;
}

.nobex-booking--height-max.nobex-booking--scroll-step .nobex-booking-wizard__panel--active .nobex-booking-wizard__payment,
.nobex-booking--height-container.nobex-booking--scroll-step .nobex-booking-wizard__panel--active .nobex-booking-wizard__payment,
.nobex-booking--height-max.nobex-booking--scroll-form .nobex-booking-wizard__panel--active .nobex-booking-wizard__payment,
.nobex-booking--height-container.nobex-booking--scroll-form .nobex-booking-wizard__panel--active .nobex-booking-wizard__payment {
	flex: none;
	min-height: auto;
}

.nobex-booking--height-max.nobex-booking--scroll-step .nobex-booking--in-modal .nobex-booking-wizard,
.nobex-booking--height-container.nobex-booking--scroll-step .nobex-booking--in-modal .nobex-booking-wizard,
.nobex-booking--height-max.nobex-booking--scroll-form .nobex-booking--in-modal .nobex-booking-wizard,
.nobex-booking--height-container.nobex-booking--scroll-form .nobex-booking--in-modal .nobex-booking-wizard {
	flex: none;
	min-height: auto;
	overflow: visible;
}

.nobex-booking--height-max.nobex-booking--scroll-step .nobex-booking--in-modal .nobex-booking-wizard__panel--active,
.nobex-booking--height-container.nobex-booking--scroll-step .nobex-booking--in-modal .nobex-booking-wizard__panel--active,
.nobex-booking--height-max.nobex-booking--scroll-form .nobex-booking--in-modal .nobex-booking-wizard__panel--active,
.nobex-booking--height-container.nobex-booking--scroll-form .nobex-booking--in-modal .nobex-booking-wizard__panel--active,
.nobex-booking--height-max.nobex-booking--scroll-step .nobex-booking--in-modal .nobex-booking-wizard__fields,
.nobex-booking--height-container.nobex-booking--scroll-step .nobex-booking--in-modal .nobex-booking-wizard__fields,
.nobex-booking--height-max.nobex-booking--scroll-form .nobex-booking--in-modal .nobex-booking-wizard__fields,
.nobex-booking--height-container.nobex-booking--scroll-form .nobex-booking--in-modal .nobex-booking-wizard__fields {
	flex: none;
	min-height: auto;
	overflow: visible;
}

.nobex-booking--height-max .nobex-booking-wizard__panel--active[data-wizard-section="section_seats"] .nobex-venue-picker__canvas-wrap,
.nobex-booking--height-container .nobex-booking-wizard__panel--active[data-wizard-section="section_seats"] .nobex-venue-picker__canvas-wrap {
	max-height: none;
}

body.nobex-booking-modal-open {
	overflow: hidden;
}

.nobex-booking-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
	box-sizing: border-box;
}

.nobex-booking-modal[hidden] {
	display: none !important;
}

.nobex-booking-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
}

.nobex-booking-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(640px, 100%);
	height: min(560px, calc(100dvh - 24px));
	max-height: calc(100dvh - 24px);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 24px 48px rgba(15, 23, 42, 0.2);
	padding: 20px 20px 16px;
	box-sizing: border-box;
}

.nobex-booking-modal__dialog .nobex-booking--venue-layout {
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.nobex-booking--venue-layout .nobex-booking-wizard {
	flex: 1;
	min-height: 0;
	overflow: hidden;
}

.nobex-booking--venue-layout .nobex-booking-wizard__panel--active {
	overflow: visible;
}

.nobex-booking--venue-layout .nobex-venue-picker__canvas-wrap {
	overflow: auto;
	max-height: none;
	-webkit-overflow-scrolling: touch;
}

.nobex-booking--in-modal .nobex-booking-wizard__panel--active[data-wizard-section="section_seats"] {
	overflow-y: auto;
}

.nobex-booking--in-modal .nobex-booking-wizard__panel--active[data-wizard-section="section_seats"] .nobex-booking-wizard__fields {
	overflow: visible;
	min-height: 0;
	flex: 1 1 auto;
}

.nobex-booking-modal__close {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 60;
	width: 36px;
	height: 36px;
	border: none;
	background: #f1f5f9;
	color: #334155;
	border-radius: 8px;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.nobex-booking-modal__close:hover {
	background: #e2e8f0;
}

.nobex-booking--in-modal {
	margin: 0;
	padding: 0;
	border-radius: 0;
	min-height: 0;
	flex: 1;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	max-width: none;
}

.nobex-booking--in-modal .nobex-booking-wizard {
	flex: 1;
	min-height: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.nobex-booking--in-modal .nobex-booking-wizard__progress {
	flex-shrink: 0;
}

.nobex-booking--in-modal .nobex-booking-wizard__panel--active {
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.nobex-booking--in-modal .nobex-booking-wizard__panel--active .nobex-booking-wizard__panel-title {
	flex-shrink: 0;
	margin-bottom: 10px;
}

.nobex-booking--in-modal .nobex-booking-wizard__fields {
	flex: 1;
	min-height: 0;
	overflow: hidden;
}

.nobex-booking--in-modal .nobex-booking-wizard__actions {
	flex-shrink: 0;
	margin-top: 0;
}

.nobex-booking__pay-options[hidden],
.nobex-booking__pay-options.is-hidden {
	display: none !important;
}

.nobex-booking-wizard__payment {
	margin: 0;
}

.nobex-booking-wizard__payment [data-booking-payment-info] {
	margin: 0 0 12px !important;
}

.nobex-booking-wizard__payment .nobex-booking__pay-options {
	display: block !important;
}

.nobex-booking-wizard__payment .nobex-booking__pay-options.is-hidden,
.nobex-booking-wizard__payment .nobex-booking__pay-options[hidden] {
	display: none !important;
}

.nobex-booking__reservation-plan {
	margin-top: 16px;
	padding: 14px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: #f8fafc;
}

.nobex-booking__plan-title {
	margin: 0 0 8px;
	font-size: 16px;
}

.nobex-booking__plan-hint {
	margin: 0 0 12px;
	font-size: 13px;
	color: #64748b;
}

.nobex-booking__plan-related-item {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-bottom: 8px;
}

.nobex-booking__plan-summary {
	margin-top: 12px;
	font-size: 14px;
	color: #334155;
	line-height: 1.7;
}

.nobex-booking__food-menu {
	margin-top: 16px;
	padding: 16px;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.nobex-booking-wizard__panel[data-wizard-section="section_food_menu"] .nobex-booking__food-menu {
	margin-top: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.nobex-booking-wizard__panel[data-wizard-section="section_food_menu"] .nobex-booking-wizard__fields[data-step-layout-fields] {
	display: block;
}

.nobex-booking__food-menu-hint {
	margin: 0 0 14px;
	font-size: 13px;
	color: #64748b;
	line-height: 1.6;
}

.nobex-booking__food-menu-section + .nobex-booking__food-menu-section {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px dashed #e2e8f0;
}

.nobex-booking__food-menu-section-head h4 {
	margin: 0 0 4px;
	font-size: 15px;
	color: #0f172a;
}

.nobex-booking__food-menu-section-head p {
	margin: 0 0 10px;
	font-size: 12px;
	color: #64748b;
}

.nobex-booking__food-menu-group-title {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 700;
	color: #475569;
	text-transform: none;
}

.nobex-booking__food-menu-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 12px;
}

.nobex-booking__food-item {
	display: grid;
	grid-template-columns: 72px 1fr auto;
	gap: 12px;
	align-items: center;
	padding: 12px;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.nobex-booking__food-item.is-selected {
	border-color: #6366f1;
	box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.25);
}

.nobex-booking__food-item-media {
	width: 72px;
	height: 72px;
	border-radius: 12px;
	overflow: hidden;
	background: #f1f5f9;
	flex-shrink: 0;
}

.nobex-booking__food-item-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.nobex-booking__food-item-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #eef2ff, #f8fafc);
}

.nobex-booking__food-item-body {
	min-width: 0;
}

.nobex-booking__food-item-title {
	display: block;
	font-size: 14px;
	line-height: 1.4;
	color: #0f172a;
}

.nobex-booking__food-item-desc {
	margin: 4px 0 0;
	font-size: 12px;
	color: #64748b;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.nobex-booking__food-item-price {
	margin-top: 6px;
	font-size: 13px;
	font-weight: 700;
	color: #4338ca;
}

.nobex-booking__food-item-qty {
	display: inline-flex;
	align-items: center;
	gap: 0;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	overflow: hidden;
	background: #fff;
}

.nobex-booking__food-qty-btn {
	width: 34px;
	height: 34px;
	border: 0;
	background: #f8fafc;
	color: #334155;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

.nobex-booking__food-qty-btn:hover {
	background: #eef2ff;
	color: #4338ca;
}

.nobex-booking__food-qty-value {
	min-width: 28px;
	text-align: center;
	font-size: 14px;
	font-weight: 700;
	color: #0f172a;
}

.nobex-booking__food-menu-summary {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid #e2e8f0;
	font-size: 14px;
	font-weight: 700;
	color: #334155;
}

@media (max-width: 640px) {
	.nobex-booking__food-menu-grid {
		grid-template-columns: 1fr;
	}

	.nobex-booking__food-item {
		grid-template-columns: 64px 1fr;
		grid-template-areas:
			'media body'
			'qty qty';
	}

	.nobex-booking__food-item-qty {
		grid-area: qty;
		justify-self: start;
		margin-top: 4px;
	}
}

.nobex-booking__discount {
	margin: 12px 0;
}

.nobex-booking__discount-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.nobex-booking__discount-row .nobex-booking__input {
	flex: 1 1 180px;
}

.nobex-booking__discount-msg {
	margin: 8px 0 0;
	font-size: 13px;
	color: #059669;
}

.nobex-booking__discount-msg.is-error {
	color: #dc2626;
}

.nobex-booking__pay-option--disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.nobex-booking__pay-option--disabled input {
	cursor: not-allowed;
}

.nobex-booking__hold-bar {
	margin: 0 0 8px;
	padding: 6px 10px;
	border-radius: 8px;
	background: #fffbeb;
	border: 1px solid #fde68a;
	color: #92400e;
	font-size: 12px;
	font-weight: 500;
}

.nobex-booking__hold-sticky {
	margin: 0;
	position: static;
}

.nobex-booking__hold-sticky--pinned {
	position: absolute;
	top: 8px;
	left: 8px;
	right: auto;
	z-index: 12;
	margin: 0;
	pointer-events: none;
}

.nobex-booking--height-max.nobex-booking--has-hold-timer,
.nobex-booking--height-container.nobex-booking--has-hold-timer {
	padding-top: 44px;
}

.nobex-booking__hold-sticky-inner {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 10px;
	border-radius: 999px;
	background: #fffbeb;
	border: 1px solid #fde68a;
	box-shadow: none;
	max-width: 100%;
}

.nobex-booking__hold-sticky-label,
.nobex-booking__hold-sticky-text strong {
	font-size: 11px;
	color: #92400e;
	font-weight: 500;
	line-height: 1.3;
}

.nobex-booking__hold-sticky-time,
.nobex-booking__hold-sticky-text span {
	font-size: 13px;
	font-weight: 700;
	color: #b45309;
	letter-spacing: 0.03em;
	font-variant-numeric: tabular-nums;
	line-height: 1.3;
}

.nobex-booking__hold-sticky-inner::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #f59e0b;
	flex-shrink: 0;
	animation: nobex-hold-pulse 1.4s ease-in-out infinite;
}

@keyframes nobex-hold-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.45; transform: scale(0.85); }
}

.nobex-booking__card-transfer {
	margin-top: 14px;
}

.nobex-card-pay {
	padding: 18px;
	border-radius: 16px;
	background: linear-gradient(160deg, #f8fafc 0%, #ffffff 55%, #f0fdf4 100%);
	border: 1px solid #e2e8f0;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.nobex-card-pay__head {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 16px;
}

.nobex-card-pay__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: linear-gradient(135deg, #059669, #10b981);
	color: #fff;
	flex-shrink: 0;
}

.nobex-card-pay__head-text strong {
	display: block;
	font-size: 16px;
	color: #0f172a;
	margin-bottom: 4px;
}

.nobex-card-pay__head-text p {
	margin: 0;
	font-size: 13px;
	color: #64748b;
	line-height: 1.6;
}

.nobex-card-pay__dest-card {
	padding: 16px;
	border-radius: 14px;
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
	color: #f8fafc;
	margin-bottom: 14px;
}

.nobex-card-pay__dest-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 12px;
}

.nobex-card-pay__bank {
	font-size: 12px;
	color: #94a3b8;
}

.nobex-card-pay__copy {
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: rgba(255, 255, 255, 0.08);
	color: #e2e8f0;
	font-size: 12px;
	padding: 6px 10px;
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s;
}

.nobex-card-pay__copy:hover {
	background: rgba(255, 255, 255, 0.16);
	border-color: rgba(255, 255, 255, 0.4);
}

.nobex-card-pay__number {
	font-size: clamp(18px, 4vw, 24px);
	font-weight: 700;
	letter-spacing: 0.08em;
	word-break: break-all;
}

.nobex-card-pay__holder {
	margin-top: 8px;
	font-size: 13px;
	color: #cbd5e1;
}

.nobex-card-pay__instructions {
	margin: 0 0 14px;
	padding: 10px 12px;
	border-radius: 10px;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	color: #1e40af;
	font-size: 13px;
	line-height: 1.7;
}

.nobex-card-pay__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 14px;
}

.nobex-card-pay__field > span {
	font-size: 13px;
	font-weight: 600;
	color: #334155;
}

.nobex-card-pay__input {
	font-size: 16px !important;
	letter-spacing: 0.06em;
}

.nobex-card-pay__upload-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #334155;
	margin-bottom: 8px;
}

.nobex-card-pay__dropzone {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 22px 16px;
	border: 2px dashed #cbd5e1;
	border-radius: 14px;
	background: #f8fafc;
	color: #475569;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.nobex-card-pay__dropzone:hover,
.nobex-card-pay__dropzone.is-dragover {
	border-color: #10b981;
	background: #ecfdf5;
	color: #047857;
}

.nobex-card-pay__drop-icon {
	color: #64748b;
}

.nobex-card-pay__dropzone:hover .nobex-card-pay__drop-icon,
.nobex-card-pay__dropzone.is-dragover .nobex-card-pay__drop-icon {
	color: #059669;
}

.nobex-card-pay__drop-title {
	font-size: 14px;
	font-weight: 600;
}

.nobex-card-pay__drop-hint {
	font-size: 12px;
	color: #94a3b8;
}

.nobex-card-pay__preview {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 10px;
	padding: 10px 12px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid #e2e8f0;
}

.nobex-card-pay__preview-thumb {
	width: 52px;
	height: 52px;
	border-radius: 10px;
	background: #f1f5f9 center/cover no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	color: #64748b;
	flex-shrink: 0;
	overflow: hidden;
}

.nobex-card-pay__preview-meta {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.nobex-card-pay__preview-meta strong {
	font-size: 13px;
	color: #0f172a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.nobex-card-pay__preview-meta span {
	font-size: 12px;
	color: #64748b;
}

.nobex-card-pay__preview-remove {
	width: 32px;
	height: 32px;
	border: none;
	border-radius: 8px;
	background: #fee2e2;
	color: #b91c1c;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	flex-shrink: 0;
}

.nobex-card-pay__pending-note {
	margin: 14px 0 0;
	font-size: 12px;
	color: #64748b;
	line-height: 1.6;
}
