/* Все правила ниже намеренно начинаются с #rb-booking-app — это повышает
   специфичность настолько, что тема сайта не может перебить стили плагина
   даже если её правила подключены позже в очереди стилей. */

/* Определены и на :root (не только на .rb-booking-app) — часть элементов
   (поповер, тосты) не находится в DOM внутри .rb-booking-app, а `position:fixed`
   размещена сразу в конце <body>, куда переносится через JS. */
:root {
	--rb-color-button: #2e7d32; --rb-color-border: #2e7d32; --rb-color-hint: #1b1b1b;
}

.rb-booking-app {
	--rb-green: var(--rb-color-button); --rb-amber: #ffb300; --rb-red: #c62828; font-family: inherit;
	background: #fff; border: 1px solid #eee; border-radius: 20px; padding: 20px;
	box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

/* ============ Календарь ============ */
#rb-booking-app .rb-calendar-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 10px; }
#rb-booking-app .rb-cal-nav-btn { border: 1px solid #e2e2e2; background: #fff; border-radius: 999px; width: 32px; height: 32px; cursor: pointer; font-size: 14px; }
#rb-booking-app .rb-calendar-month { font-weight: 700; font-size: 14px; min-width: 140px; text-align: center; text-transform: capitalize; }

#rb-booking-app .rb-calendar-row { display: flex; align-items: center; gap: 8px; }
#rb-booking-app .rb-cal-arrow {
	flex: 0 0 auto; width: 30px; height: 46px; border-radius: 10px; border: 1px solid #e2e2e2;
	background: #fff; cursor: pointer; font-size: 20px; color: #666; line-height: 1;
	display: flex; align-items: center; justify-content: center; transition: all .15s ease;
}
#rb-booking-app .rb-cal-arrow:hover { background: #f5f5f5; color: var(--rb-green); }

#rb-booking-app .rb-calendar-scroll {
	display: flex; gap: 8px; overflow-x: auto; padding: 8px 4px 14px; cursor: grab; flex: 1; min-width: 0;
	scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scroll-behavior: smooth;
	scrollbar-width: none !important; -ms-overflow-style: none !important;
}
#rb-booking-app .rb-calendar-scroll::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }
#rb-booking-app .rb-calendar-scroll.is-dragging { cursor: grabbing; user-select: none; scroll-snap-type: none; }
#rb-booking-app .rb-cal-day-wrap { scroll-snap-align: start; flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 3px; }
#rb-booking-app .rb-cal-day {
	width: 58px; padding: 10px 0;
	border: 1px solid #ddd; border-radius: 12px; cursor: pointer; position: relative; overflow: hidden;
	display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px;
	transition: all .15s ease; background-color: #fff;
	background-image: linear-gradient(to top, #ffd9b3 var(--rb-fill, 0%), transparent var(--rb-fill, 0%));
}
#rb-booking-app .rb-cal-day > * { position: relative; z-index: 1; }
#rb-booking-app .rb-cal-day.is-active { background: var(--rb-green); color: #fff; border-color: var(--rb-green); transform: translateY(-2px); }
#rb-booking-app .rb-cal-event-tag {
	flex: 0 0 auto; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em;
	background: var(--rb-color-hint); color: #fff; border: none; border-radius: 999px; padding: 2px 8px; cursor: pointer;
}
#rb-booking-app .rb-cal-event-tag:hover { opacity: .85; }
#rb-booking-app .rb-cal-day.is-blocked { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
#rb-booking-app .rb-cal-num { font-size: 18px; font-weight: 700; }

/* ============ Зоны / легенда — как плавающие панели поверх карты ============ */
#rb-booking-app .rb-zone-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
#rb-booking-app .rb-zone-tab {
	padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid #ddd;
	cursor: pointer; font-size: 13px; transition: all .15s ease; box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
#rb-booking-app .rb-zone-tab.is-active { background: var(--rb-green); color: #fff; border-color: var(--rb-green); }
#rb-booking-app .rb-legend { display: flex; flex-direction: row; gap: 14px; font-size: 12px; color: #444; flex-wrap: wrap; }
#rb-booking-app .rb-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 4px; }
#rb-booking-app .rb-dot-free { background: var(--rb-green); }
#rb-booking-app .rb-dot-busy { background: var(--rb-amber); }
#rb-booking-app .rb-dot-full { background: var(--rb-red); }

#rb-booking-app .rb-zone-tabs-overlay {
	position: absolute; top: 12px; right: 12px; z-index: 50; background: rgba(255,255,255,.9);
	padding: 6px; border-radius: 14px; box-shadow: 0 4px 14px rgba(0,0,0,.10); backdrop-filter: blur(4px);
	max-width: calc(100% - 24px);
}
#rb-booking-app .rb-legend-overlay {
	position: absolute; bottom: 12px; left: 12px; z-index: 50; background: rgba(255,255,255,.92);
	padding: 10px 14px; border-radius: 14px; box-shadow: 0 4px 14px rgba(0,0,0,.10);
	max-width: calc(100% - 24px);
}

/* На узких экранах оверлеи легко перекрывают столики на карте — убираем их
   из поверх-позиционирования и ставим обычным блоком над схемой. */
@media (max-width: 640px) {
	#rb-booking-app .rb-zone-tabs-overlay,
	#rb-booking-app .rb-legend-overlay {
		position: static; background: none; box-shadow: none; backdrop-filter: none;
		padding: 0; margin-bottom: 10px; max-width: 100%; border-radius: 0;
	}
	#rb-booking-app .rb-legend-overlay { margin-bottom: 8px; }
}

/* ============ Стрелки прокрутки карты ============ */
#rb-booking-app .rb-canvas-arrow {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 60;
	width: 36px; height: 36px; border-radius: 999px; border: 1px solid #ddd; background: rgba(255,255,255,.92);
	font-size: 20px; line-height: 1; color: #444; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.12);
	display: flex; align-items: center; justify-content: center;
}
#rb-booking-app .rb-canvas-arrow[hidden] { display: none; }
#rb-booking-app .rb-canvas-arrow:hover { background: #fff; color: var(--rb-green); }
#rb-booking-app .rb-canvas-arrow-left { left: 10px; }
#rb-booking-app .rb-canvas-arrow-right { right: 10px; }

/* ============ Схема зала ============ */
#rb-booking-app .rb-schema-wrap { position: relative; margin-top: 12px; border-radius: 16px; overflow: hidden; border: 1px solid #eee; }
#rb-booking-app .rb-canvas-scroll-inner {
	overflow: auto; max-height: 70vh; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y;
	scrollbar-width: none; -ms-overflow-style: none; cursor: grab;
}
#rb-booking-app .rb-canvas-scroll-inner.is-dragging { cursor: grabbing; user-select: none; }
#rb-booking-app .rb-canvas-scroll-inner::-webkit-scrollbar { display: none; height: 0; }
#rb-booking-app .rb-canvas {
	position: relative; background-color: #fafbfc;
	background-image:
		repeating-linear-gradient(0deg, rgba(46,125,50,.08) 0, rgba(46,125,50,.08) 1px, transparent 1px, transparent var(--rb-grid-y, 40px)),
		repeating-linear-gradient(90deg, rgba(46,125,50,.08) 0, rgba(46,125,50,.08) 1px, transparent 1px, transparent var(--rb-grid-x, 40px));
	overflow: hidden;
}
#rb-booking-app .rb-canvas-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .92; }
#rb-booking-app .rb-shape-obj-static {
	position: absolute; box-sizing: border-box; border-radius: 4px; z-index: 0;
	display: flex; align-items: center; justify-content: center; pointer-events: none;
}
#rb-booking-app .rb-shape-obj-static.rb-shape-obj-round { border-radius: 50%; }
#rb-booking-app .rb-shape-obj-static .rb-shape-label { font-size: 11px; font-weight: 700; color: rgba(0,0,0,.5); text-align: center; padding: 4px; }

#rb-booking-app .rb-table-obj {
	position: absolute; transform: translate(-50%, -50%);
	background: #fff; border: 2px solid var(--rb-color-border); border-radius: 10px; padding: 3px;
	text-align: center; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.08); transition: transform .15s ease;
	box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center;
	overflow: hidden; z-index: 2;
}
#rb-booking-app .rb-table-obj.rb-shape-round { border-radius: 50%; }
#rb-booking-app .rb-table-obj.rb-shape-rectangle { border-radius: 8px; }
#rb-booking-app .rb-table-obj:active { transform: translate(-50%, -50%) scale(.96); }
#rb-booking-app .rb-table-obj.status-busy { border-color: var(--rb-amber); }
#rb-booking-app .rb-table-obj.status-full { border-color: var(--rb-red); opacity: .65; cursor: not-allowed; }
#rb-booking-app .rb-table-obj .rb-table-label { font-weight: 700; font-size: 12px; line-height: 1.1; }
#rb-booking-app .rb-table-obj .rb-table-price { font-size: 9px; color: #6b7280; line-height: 1.1; }
#rb-booking-app .rb-table-mini-bar { width: 80%; height: 4px; border-radius: 2px; background: #eee; margin-top: 3px; overflow: hidden; position: relative; flex: 0 0 auto; }
#rb-booking-app .rb-table-mini-bar-inner { position: relative; height: 100%; width: 100%; }
#rb-booking-app .rb-table-mini-fill { position: absolute; top: 0; bottom: 0; background: var(--rb-amber); }

/* Дизайн-SVG заполняет всю карточку столика; номер/цена/прогресс-бар — плашкой поверх иконки снизу. */
#rb-booking-app .rb-table-obj.has-svg-icon { padding: 0; background: none; box-shadow: none; }
#rb-booking-app .rb-table-svg-fill { position: absolute; inset: 0; }
#rb-booking-app .rb-table-svg-fill svg { width: 100%; height: 100%; display: block; }
#rb-booking-app .rb-table-overlay {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
	background: rgba(255,255,255,.9); backdrop-filter: blur(2px);
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	padding: 3px 4px 4px; border-radius: 0 0 8px 8px; line-height: 1.1;
}
#rb-booking-app .rb-table-overlay .rb-table-mini-bar { margin-top: 2px; width: 90%; }

/* ============ Поповер столика ============ */
#rb-table-popover {
	position: fixed; z-index: 999999; background: var(--rb-color-hint); color: #fff; border-radius: 14px;
	padding: 14px 16px; font-size: 12.5px; width: 230px; display: flex; flex-direction: column; gap: 6px;
	box-shadow: 0 10px 30px rgba(0,0,0,.3); pointer-events: none; border: 1px solid rgba(255,255,255,.08);
}
#rb-table-popover[hidden] { display: none; }
#rb-table-popover .rb-pop-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
#rb-table-popover .rb-pop-title { font-size: 14px; font-weight: 700; }
#rb-table-popover .rb-pop-row { opacity: .95; display: flex; justify-content: space-between; gap: 8px; }
#rb-table-popover .rb-pop-busy-row { opacity: .7; font-size: 11px; padding-left: 4px; justify-content: flex-start; }
#rb-table-popover .rb-pop-muted { opacity: .6; font-weight: 400; }
#rb-table-popover .rb-pop-divider { display: block; height: 1px; background: rgba(255,255,255,.15); margin: 4px 0; }
#rb-table-popover .rb-pop-status {
	font-weight: 700; font-size: 10px; text-transform: uppercase; letter-spacing: .03em;
	padding: 3px 9px; border-radius: 999px; white-space: nowrap; flex: 0 0 auto;
}
#rb-table-popover .rb-pop-status-free { background: rgba(46,204,113,.18); color: #6fe39a; }
#rb-table-popover .rb-pop-status-busy { background: rgba(255,179,0,.18); color: var(--rb-amber); }
#rb-table-popover .rb-pop-status-full { background: rgba(255,82,82,.18); color: #ff8a80; }

/* ============ Модальные окна (общий каркас) ============ */
#rb-booking-app .rb-modal { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px; }
#rb-booking-app .rb-modal[hidden] { display: none; }
#rb-booking-app .rb-modal-inner { background: #fff; border-radius: 14px; padding: 22px; width: 360px; max-width: 100%; }
#rb-booking-app .rb-btn { padding: 10px 18px; border-radius: 10px; border: 1px solid #ddd; background: #f5f5f5; cursor: pointer; font-size: 14px; }
#rb-booking-app .rb-btn-primary { background: var(--rb-green); border-color: var(--rb-green); color: #fff; }
#rb-booking-app .rb-btn-small { padding: 6px 12px; font-size: 13px; }

/* ============ Модалка "Время визита" ============ */
#rb-booking-app .rb-visit-modal-inner { width: 560px; max-width: 100%; }
#rb-booking-app .rb-visit-block { margin-bottom: 20px; }
#rb-booking-app .rb-text-input {
	width: 100%; box-sizing: border-box; padding: 10px 12px; border-radius: 10px; border: 1px solid #ddd;
	font-size: 14px; background: #fff; color: #1a1d1f; box-shadow: none; appearance: none;
}
#rb-booking-app .rb-visit-label { display: flex; align-items: stretch; gap: 8px; margin-bottom: 10px; }
#rb-booking-app .rb-visit-label-main {
	flex: 1; font-size: 13px; font-weight: 700; background: #f5f6f8; border-radius: 10px;
	padding: 9px 12px; display: flex; align-items: center;
}
#rb-booking-app .rb-visit-label-side {
	flex: 0 0 auto; font-size: 12px; color: #555; display: flex; align-items: center;
}
#rb-booking-app .rb-visit-label-side label { display: flex; align-items: center; gap: 6px; background: #f5f6f8; border-radius: 10px; padding: 9px 12px; white-space: nowrap; cursor: pointer; }
#rb-booking-app .rb-time-chip-scroll {
	display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x proximity; cursor: grab;
	scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none;
}
#rb-booking-app .rb-time-chip-scroll::-webkit-scrollbar { display: none; height: 0; }
#rb-booking-app .rb-time-chip-scroll.is-dragging { cursor: grabbing; user-select: none; scroll-behavior: auto; }
#rb-booking-app .rb-time-chip {
	scroll-snap-align: start; flex: 0 0 auto; width: 64px; height: 40px; padding: 0; border-radius: 10px; border: 1px solid #ddd;
	background: #fff; font-size: 13px; cursor: pointer; transition: all .15s ease;
	display: flex; align-items: center; justify-content: center;
}
#rb-booking-app .rb-time-chip.is-selected { background: var(--rb-green); border-color: var(--rb-green); color: #fff; }
#rb-booking-app .rb-time-chip.is-disabled {
	flex-direction: column; gap: 1px; height: 44px; background: #fbe9ea; border-color: #f3d4d6; color: #b56a70; cursor: not-allowed;
}
#rb-booking-app .rb-time-chip.is-disabled .rb-time-chip-main { font-size: 12px; font-weight: 600; line-height: 1; }
#rb-booking-app .rb-time-chip.is-disabled .rb-time-chip-sub { font-size: 9px; text-transform: uppercase; letter-spacing: .02em; opacity: .85; line-height: 1; }
#rb-booking-app .rb-guest-blocks { display: flex; gap: 8px; width: 100%; }
#rb-booking-app .rb-guest-block {
	flex: 1 1 0; min-width: 0; height: 44px; border-radius: 10px; border: 1px solid #ddd; background: #fff;
	font-weight: 700; font-size: 15px; cursor: pointer; transition: all .15s ease;
}
#rb-booking-app .rb-guest-block.is-selected { background: var(--rb-green); border-color: var(--rb-green); color: #fff; }
#rb-booking-app .rb-visit-actions { display: flex; gap: 10px; margin-top: 4px; }
#rb-booking-app .rb-btn-block { flex: 1; text-align: center; }

/* ============ Липкая сводка выбранных столиков ============ */
#rb-booking-app .rb-selection-bar {
	position: sticky; bottom: 12px; margin: 14px auto 0; background: #fff; border: 1px solid #eee;
	border-radius: 14px; padding: 10px 12px; box-shadow: 0 8px 30px rgba(0,0,0,.12); z-index: 400;
	display: flex; flex-direction: column; gap: 0px; max-width: 500px; width: 100%;
}
#rb-booking-app .rb-selection-list { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
#rb-booking-app .rb-selection-chip {
	background: #eaf7ef; border-radius: 8px; padding: 5px 22px 5px 8px; font-size: 11px;
	display: flex; flex-direction: row; align-items: center; gap: 6px; position: relative; line-height: 1.3;
}
#rb-booking-app .rb-selection-chip strong { font-size: 12px; }
#rb-booking-app .rb-selection-remove { position: absolute; top: 50%; right: 5px; transform: translateY(-50%); border: none; background: none; cursor: pointer; font-size: 13px; color: #888; line-height: 1; }
#rb-booking-app .rb-selection-actions { display: flex; gap: 8px; flex-wrap: wrap; }
#rb-booking-app .rb-selection-actions .rb-btn { padding: 10px 12px; font-size: 14px; flex: 1; }
@media (max-width: 420px) {
	#rb-booking-app .rb-selection-actions { flex-direction: column; }
}

/* ============ Выезжающая панель меню ============ */
#rb-booking-app .rb-shop-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 9998; }
#rb-booking-app .rb-shop-panel {
	position: fixed; top: 0; right: 0; bottom: 0; width: 680px; max-width: 96vw; background: #fff;
	z-index: 9999; display: flex; flex-direction: column; box-shadow: -8px 0 30px rgba(0,0,0,.15);
	transform: translateX(100%); transition: transform .25s ease;
}
#rb-booking-app .rb-shop-panel.is-open { transform: translateX(0); }
#rb-booking-app .rb-shop-header { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid #eee; }
#rb-booking-app .rb-shop-close { border: none; background: none; font-size: 22px; cursor: pointer; }
#rb-booking-app .rb-shop-cats { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px; border-bottom: 1px solid #f0f0f0; scrollbar-width: none !important; -ms-overflow-style: none !important; }
#rb-booking-app .rb-shop-cats::-webkit-scrollbar { display: none !important; height: 0 !important; }
#rb-booking-app .rb-shop-products {
	flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; background: #fafbfc;
}
#rb-booking-app .rb-product-card {
	display: flex; align-items: center; gap: 14px; border: 1px solid #eee; border-radius: 14px; padding: 10px;
	background: #fff; transition: box-shadow .15s ease, transform .15s ease;
}
#rb-booking-app .rb-product-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); transform: translateY(-1px); }
#rb-booking-app .rb-product-img { width: 80px; height: 80px; object-fit: cover; border-radius: 10px; flex: 0 0 80px; background: #f0f0f1; }
#rb-booking-app .rb-product-body { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
#rb-booking-app .rb-product-title { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#rb-booking-app .rb-product-price { color: var(--rb-color-button); font-weight: 700; font-size: 13px; }
#rb-booking-app .rb-product-price del { color: #aaa; font-weight: 400; font-size: 12px; }
#rb-booking-app .rb-product-weight {
	font-size: 10px; color: #888; background: #f0f0f1; border-radius: 999px; padding: 2px 8px; align-self: flex-start;
}
#rb-booking-app .rb-product-desc { font-size: 12px; color: #777; margin: 2px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#rb-booking-app .rb-product-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
#rb-booking-app .rb-product-actions .rb-add-cart {
	display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 8px 14px; line-height: 1; white-space: nowrap;
}
#rb-booking-app .rb-product-actions .rb-add-cart svg { flex: 0 0 auto; }
#rb-booking-app .rb-quickview-btn {
	border: 1px solid #e2e2e2; background: #fff; color: #666; border-radius: 999px; width: 32px; height: 32px; cursor: pointer;
	display: flex; align-items: center; justify-content: center; flex: 0 0 auto; transition: all .15s ease;
}
#rb-booking-app .rb-quickview-btn:hover { border-color: var(--rb-color-button); color: var(--rb-color-button); }
@media (max-width: 480px) {
	#rb-booking-app .rb-product-card { flex-wrap: wrap; }
	#rb-booking-app .rb-product-actions { flex: 1 1 100%; justify-content: flex-end; margin-top: 6px; }
}
#rb-booking-app .rb-qty-stepper { display: flex; align-items: center; gap: 6px; background: #f5f6f8; border-radius: 999px; padding: 3px; }
#rb-booking-app .rb-qty-stepper button {
	width: 24px; height: 24px; border-radius: 999px; border: none; background: #fff; cursor: pointer;
	box-shadow: 0 1px 2px rgba(0,0,0,.1); font-size: 14px; line-height: 1;
}
#rb-booking-app .rb-qty-val { min-width: 16px; text-align: center; font-size: 13px; font-weight: 600; }
#rb-booking-app .rb-shop-cart { border-top: 1px solid #eee; padding: 12px 16px; background: #fafafa; }
#rb-booking-app .rb-shop-cart-items {
	display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; max-height: none;
	scrollbar-width: none !important; -ms-overflow-style: none !important;
}
#rb-booking-app .rb-shop-cart-items::-webkit-scrollbar { display: none !important; height: 0 !important; }
#rb-booking-app .rb-cart-chip {
	flex: 0 0 auto; display: flex; flex-direction: column; gap: 1px; background: #fff; border: 1px solid #eee;
	border-radius: 10px; padding: 6px 10px; font-size: 11px; white-space: nowrap;
}
#rb-booking-app .rb-cart-chip-sum { font-weight: 700; }
#rb-booking-app .rb-cart-chip-fee { font-style: italic; color: #666; background: #f5f5f5; }
#rb-booking-app .rb-shop-cart-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }

/* ============ Быстрый просмотр блюда ============ */
#rb-quickview-overlay { z-index: 10000; }
#rb-quickview-modal {
	position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 10001;
	background: #fff; border-radius: 18px; width: 420px; max-width: 92vw; max-height: 86vh; overflow: hidden;
	box-shadow: 0 24px 70px rgba(0,0,0,.28); display: flex; flex-direction: column;
}
#rb-quickview-modal[hidden] { display: none; }
#rb-quickview-modal .rb-shop-close {
	position: absolute; top: 12px; right: 12px; z-index: 2; width: 30px; height: 30px; border-radius: 999px;
	background: rgba(255,255,255,.9); box-shadow: 0 2px 8px rgba(0,0,0,.15); font-size: 18px; line-height: 1;
}
#rb-quickview-img { width: 100%; height: 260px; object-fit: cover; display: block; flex: 0 0 auto; }
.rb-quickview-body { display: flex; flex-direction: column; gap: 10px; padding: 20px; overflow-y: auto; }
#rb-quickview-title { font-size: 17px; font-weight: 700; line-height: 1.3; }
#rb-quickview-row { display: flex; align-items: center; gap: 10px; }
#rb-quickview-price { font-size: 15px; }
#rb-quickview-weight { font-size: 11px; color: #888; background: #f0f0f1; border-radius: 999px; padding: 3px 10px; }
#rb-quickview-desc { font-size: 13px; color: #666; line-height: 1.6; margin: 0; }

#rb-booking-app .rb-done-message { margin-top: 20px; padding: 16px; background: #eaf7ef; border-radius: 14px; color: #146338; font-weight: 600; text-align: center; }

/* ============ Тост "Спасибо, столик забронирован" ============ */
#rb-thanks-toast {
	position: fixed; top: 20px; left: 50%; transform: translateX(-50%) translateY(-16px);
	background: var(--rb-color-hint); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
	box-shadow: 0 8px 24px rgba(0,0,0,.25); z-index: 999999; opacity: 0; transition: opacity .25s ease, transform .25s ease;
	pointer-events: none;
}
#rb-thanks-toast[hidden] { display: none; }
#rb-thanks-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ Модалка события на календаре ============ */
#rb-event-modal {
	position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 10001;
	background: #fff; border-radius: 18px; width: 440px; max-width: 92vw; max-height: 86vh; overflow: auto;
	box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
#rb-event-modal[hidden] { display: none; }
#rb-event-img { width: 100%; height: 220px; object-fit: cover; display: block; }
.rb-event-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
#rb-event-title { font-size: 18px; font-weight: 700; line-height: 1.3; }
#rb-event-content { font-size: 14px; color: #444; line-height: 1.6; }
#rb-event-content p { margin: 0 0 10px; }
