/* assets/css/common.css - Базовые глобальные стили и модальное окно бронирования */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

body {
  line-height: 1.6;
  padding-top: 0;
  margin: 0;
  background: #DCEEFA;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  -webkit-tap-highlight-color: transparent;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

/* Предотвращение зума iOS Safari на полях ввода */
input, textarea, select {
  font-size: 16px !important;
}

/* Нативное тач-взаимодействие без задержки 300мс */
button, a, [role="button"], input[type="button"], input[type="submit"], .mayak-btn-pill, .mayak-btn-ghost, .mayak-btn-hero, .mayak-stepper-btn, .grid-stepper-btn, .unit-card-checkbox-btn, .room-tile, .mayak-grid-unit-card, .capsule-date-item, .capsule-guest-btn, .floating-trigger-btn, .capsule-submit-btn {
  touch-action: manipulation;
}

/* Блокировка фонового скролла при открытых модальных окнах или меню */
html.mayak-scroll-locked,
body.mayak-scroll-locked {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

/* Предотвращение случайного выделения текста при нажатии на кнопки */
button, [role="button"], input[type="button"], input[type="submit"], .mayak-btn-pill, .mayak-btn-ghost, .mayak-btn-hero, .mayak-stepper-btn, .grid-stepper-btn, .unit-card-checkbox-btn, .mayak-pet-toggle-card, .capsule-date-item, .capsule-guest-btn, .floating-trigger-btn, .capsule-submit-btn {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

/* Тактильный отклик при нажатии на кнопки (active press state) */
button:not(.lightbox-nav):not(.lightbox-close):active:not(:disabled),
.mayak-btn-pill:active:not(:disabled),
.mayak-btn-ghost:active:not(:disabled),
.mayak-btn-hero:active:not(:disabled),
.btn-room-details:active:not(:disabled),
.reviews-nav-btn:active:not(:disabled),
.drawer-nav-item:active,
.grid-stepper-btn:active,
.callback-submit-button:active,
.floating-trigger-btn:active,
.capsule-submit-btn:active {
  transform: scale(0.97) !important;
  transition: transform 100ms ease-out !important;
}

/* ============ МОДАЛЬНОЕ ОКНО БРОНИРОВАНИЯ И ОПЛАТЫ ============ */
.mayak-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3, 11, 24, 0.75);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s ease;
}

.mayak-modal-overlay.is-active,
.mayak-modal-overlay.is-open {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.mayak-modal-window {
  background: #ffffff;
  color: #0f172a;
  border-radius: 18px;
  max-width: 520px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-sizing: border-box;
  box-shadow: 0 25px 50px -12px rgba(2, 44, 84, 0.35);
  transform: translateY(20px) scale(0.97);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Segoe UI', system-ui, -webkit-system-font, Roboto, Helvetica, Arial, sans-serif;
  border: 1px solid rgba(2, 132, 199, 0.15);
}

.mayak-modal-overlay.is-active .mayak-modal-window,
.mayak-modal-overlay.is-open .mayak-modal-window {
  transform: translateY(0) scale(1);
  visibility: visible !important;
  opacity: 1 !important;
}

.mayak-modal-overlay.is-active .mayak-modal-window *,
.mayak-modal-overlay.is-open .mayak-modal-window * {
  visibility: visible !important;
}

.mayak-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
}

.mayak-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.mayak-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: #e0f2fe;
  color: #0369a1;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.mayak-modal-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0a1f33;
  margin-bottom: 4px;
}

.mayak-modal-sub {
  color: #64748b;
  font-size: 0.88rem;
  margin-bottom: 20px;
}

.mayak-modal-summary {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.mayak-modal-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 6px 0;
  font-size: 0.9rem;
  color: #475569;
}

.mayak-modal-row .lbl {
  flex-shrink: 0;
  color: #64748b;
}

.mayak-modal-row .val {
  font-weight: 600;
  color: #0f172a;
  text-align: right;
  word-break: break-word;
  overflow-wrap: break-word;
  min-width: 0;
}

.mayak-modal-row.total-row {
  border-top: 1px dashed #cbd5e1;
  margin-top: 8px;
  padding-top: 10px;
}

.mayak-modal-row.total-row .lbl {
  font-weight: 700;
  color: #0a1f33;
}

.mayak-modal-row.total-row .total-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: #059669;
}

.mayak-modal-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
}

.modal-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.modal-field label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-field input {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #ffffff;
}

.modal-field input:focus {
  border-color: #0071E3;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

@media (max-width: 480px) {
  .mayak-modal-window {
    padding: 24px 18px;
  }
  .mayak-modal-form {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.mayak-pay-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  background: #0071E3;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.35);
}

.mayak-pay-btn:hover {
  background: #005BB5;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 113, 227, 0.45);
}

.mayak-pay-note {
  text-align: center;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 10px;
}

/* ============ БЫСТРОЕ БРОНИРОВАНИЕ БЕЗ РЕГИСТРАЦИИ ============ */
.mayak-direct-modal-window {
  max-width: 500px;
  width: 100%;
  padding: 22px 24px 24px 24px;
  max-height: 92vh;
  overflow-y: auto;
  box-sizing: border-box;
  overscroll-behavior: contain;
}

.mayak-direct-modal-window::-webkit-scrollbar {
  width: 5px;
}
.mayak-direct-modal-window::-webkit-scrollbar-track {
  background: transparent;
}
.mayak-direct-modal-window::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

.mayak-direct-modal-window .mayak-modal-badge {
  max-width: calc(100% - 48px);
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

.mayak-direct-modal-window .mayak-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 3px;
  line-height: 1.25;
}

.mayak-direct-modal-window .mayak-modal-sub {
  font-size: 0.82rem;
  color: #64748B;
  margin-bottom: 12px;
  line-height: 1.35;
}

.mayak-direct-modal-window .mayak-modal-summary {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 10px 14px;
  margin-bottom: 12px;
  box-sizing: border-box;
}

.mayak-direct-modal-window .mayak-modal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.5px 0;
  font-size: 0.84rem;
}

.mayak-direct-modal-window .mayak-modal-row.total-row {
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px dashed #CBD5E1;
}

.mayak-direct-modal-window .mayak-modal-row.total-row .total-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #06C78B;
}

.mayak-direct-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mayak-direct-form .modal-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 0;
  text-align: left;
}

.mayak-direct-form .modal-field label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0;
}

.mayak-direct-form .mayak-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 42px;
  min-height: 42px;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 12px;
  padding: 0 14px;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.mayak-direct-form .mayak-input-wrap:focus-within {
  border-color: #0071E3;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
  background: #FFFFFF;
}

.mayak-direct-form .mayak-input-wrap .input-icon {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #64748B !important;
  flex-shrink: 0 !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
}

.mayak-direct-form .mayak-input-wrap .input-icon svg,
.mayak-direct-form .mayak-input-wrap .input-icon .svg-icon {
  position: static !important;
  transform: none !important;
  left: auto !important;
  top: auto !important;
  display: block !important;
  width: 16px !important;
  height: 16px !important;
}

.mayak-direct-form .mayak-input-wrap input {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0.92rem;
  font-family: inherit;
  color: #0F172A;
  box-shadow: none !important;
  border-radius: 0 !important;
  line-height: normal;
}

.mayak-direct-form .mayak-input-wrap input::placeholder {
  color: #94A3B8;
  opacity: 1;
}

.mayak-direct-form .mayak-input-wrap input:focus {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.mayak-direct-modal-window .mayak-pay-btn {
  width: 100%;
  margin-top: 4px;
  padding: 12px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 12px;
  background: #0071E3 !important;
  color: #FFFFFF !important;
  border: none;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.25);
  transition: all 0.2s ease;
  visibility: visible !important;
  opacity: 1 !important;
}

.mayak-direct-modal-window .mayak-pay-btn:hover {
  background: #005BB5 !important;
  transform: translateY(-1px);
}

.mayak-direct-modal-window .mayak-pay-btn:disabled,
.mayak-direct-modal-window .mayak-pay-btn.is-disabled {
  opacity: 0.55 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Чекбокс согласия в модальном окне прямого бронирования */
.modal-booking-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0 16px 0;
  text-align: left;
  cursor: pointer;
  user-select: none;
}

.modal-booking-consent-checkbox {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  accent-color: #0071E3;
  flex-shrink: 0;
  cursor: pointer;
}

.modal-booking-consent-text {
  font-size: 0.78rem;
  color: #64748B;
  line-height: 1.45;
  word-break: break-word;
}

.modal-booking-consent-link {
  color: #0071E3;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.15s ease;
}

.modal-booking-consent-link:hover {
  color: #0A2540;
}

.mayak-direct-modal-window .mayak-pay-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  margin-bottom: 2px;
  padding-bottom: 2px;
  font-size: 0.76rem;
  color: #64748B;
  line-height: 1.35;
  text-align: center;
}

.mayak-direct-modal-window .mayak-pay-note svg,
.mayak-direct-modal-window .mayak-pay-note .svg-icon {
  flex-shrink: 0;
  color: #06C78B;
}

@media (max-width: 480px) {
  .mayak-direct-modal-window {
    padding: 16px 16px 20px 16px;
    max-height: 94vh;
    border-radius: 20px;
  }
  .mayak-direct-modal-window .mayak-modal-title {
    font-size: 1.15rem;
  }
  .mayak-direct-modal-window .mayak-modal-summary {
    padding: 8px 12px;
    margin-bottom: 10px;
  }
  .mayak-direct-form {
    gap: 7px;
  }
  .mayak-direct-form .mayak-input-wrap {
    height: 40px;
    min-height: 40px;
    padding: 0 12px;
  }
  .mayak-direct-modal-window .mayak-pay-btn {
    padding: 11px 16px;
  }
  .mayak-direct-modal-window .mayak-pay-note {
    font-size: 0.72rem;
    margin-top: 6px;
  }
  .modal-booking-consent-label {
    margin: 8px 0 12px 0;
    gap: 8px;
  }
  .modal-booking-consent-text {
    font-size: 0.73rem;
  }
}

.mayak-direct-success {
  animation: fadeInModal 0.3s ease;
}

@keyframes fadeInModal {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ ФОТОКАРТОЧКИ В БРОНИРОВАНИИ И СОСТОЯНИЯ ЗАВЕРШЕНИЯ ============ */
.mayak-grid-unit-card {
  padding: 12px 14px 16px 14px !important;
  border-radius: 18px !important;
  background: #FFFFFF !important;
  border: 2px solid #E2E8F0 !important;
  box-sizing: border-box !important;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease !important;
}

@media (hover: hover) and (pointer: fine) {
  .mayak-grid-unit-card:hover {
    border-color: #0071E3 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 28px -6px rgba(0, 113, 227, 0.16) !important;
  }
}

.mayak-grid-unit-card.is-selected {
  border: 2px solid #0071E3 !important;
  border-color: #0071E3 !important;
  border-width: 2px !important;
  border-style: solid !important;
  background: #F0F7FF !important;
  box-shadow: 0 6px 18px -2px rgba(0, 113, 227, 0.18) !important;
}

.unit-card-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 165px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #0F172A;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.mayak-cottage-unit-card .unit-card-photo-wrap {
  max-height: 190px;
  aspect-ratio: 16 / 9;
}

.unit-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.unit-card-photo-wrap:hover .unit-card-photo {
  transform: scale(1.06);
}

.unit-card-photo-badge,
.unit-card-photo-zoom {
  display: none !important;
}

/* Кнопка-галочка выбора номера / домика */
.unit-card-checkbox-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #CBD5E1;
  background: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  cursor: pointer;
  position: relative;
  touch-action: manipulation !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-touch-callout: none !important;
  pointer-events: none !important;
}

.unit-card-checkbox-btn * {
  pointer-events: none !important;
}

.unit-card-checkbox-btn svg {
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.15s ease, transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none !important;
}

@media (hover: hover) and (pointer: fine) {
  .mayak-grid-unit-card:hover .unit-card-checkbox-btn {
    border-color: #0071E3;
    background: #F0F7FF;
  }
  .mayak-grid-unit-card:hover .unit-card-checkbox-btn svg {
    opacity: 0.35;
    color: #0071E3;
  }
}

.mayak-grid-unit-card.is-selected .unit-card-checkbox-btn {
  background: #0071E3;
  border-color: #0071E3;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.35);
}

.mayak-grid-unit-card.is-selected .unit-card-checkbox-btn svg {
  opacity: 1;
  color: #FFFFFF;
  transform: scale(1);
}

.mayak-grid-unit-card.is-occupied .unit-card-checkbox-btn {
  background: #F1F5F9;
  border-color: #E2E8F0;
  cursor: not-allowed;
  opacity: 0.5;
}

.legend-photo-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0071E3;
  font-weight: 600;
  background: #EFF6FF;
  padding: 4px 10px;
  border-radius: 20px;
}

.mayak-group-empty-state {
  background: #F8FAFC;
  border: 1.5px dashed #CBD5E1;
  border-radius: 16px;
  padding: 22px 20px;
  text-align: center;
  color: #64748B;
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 12px 0 16px 0;
}

.mayak-all-occupied-state {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 24px;
  padding: 44px 28px;
  text-align: center;
  margin: 20px 0;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06);
  animation: fadeInModal 0.3s ease;
}

.all-occupied-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #EFF6FF;
  color: #0071E3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.all-occupied-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 8px;
  line-height: 1.3;
}

.all-occupied-sub {
  font-size: 0.95rem;
  color: #64748B;
  line-height: 1.55;
  max-width: 520px;
  margin: 0 auto 24px;
}

.all-occupied-change-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  background: #0071E3;
  color: #FFFFFF;
  border: none;
  border-radius: 30px;
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.3);
  transition: all 0.2s ease;
}

.all-occupied-change-btn:hover {
  background: #005BB5;
  transform: translateY(-2px);
}

/* Адаптив панели бронирования для планшетов и мобильных экранов (статично внизу блока выбора) */
@media (max-width: 860px) {
  .mayak-seatmap-checkout-bar {
    position: relative !important;
    bottom: auto !important;
    top: auto !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 14px 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 16px !important;
    margin-top: 20px !important;
  }
  .checkout-bar-info {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  .checkout-bar-selected {
    flex-wrap: wrap !important;
    white-space: normal !important;
  }
  .checkout-spots-list {
    white-space: normal !important;
    word-break: break-word !important;
  }
  .checkout-bar-meta {
    white-space: normal !important;
    flex-wrap: wrap !important;
  }
  .checkout-bar-action {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
  .checkout-bar-price {
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: baseline !important;
    gap: 2px 8px !important;
    white-space: normal !important;
  }
  .checkout-price-lbl {
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #64748B !important;
    flex-shrink: 0 !important;
  }
  .checkout-price-total {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #059669 !important;
    line-height: 1.2 !important;
    margin-left: auto !important;
    white-space: nowrap !important;
  }
  .checkout-price-rate {
    width: 100% !important;
    text-align: right !important;
    font-size: 0.74rem !important;
    font-weight: 600 !important;
    color: #64748B !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.3 !important;
    margin-top: 1px !important;
  }
  .mayak-btn-book-selected {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 46px !important;
    padding: 10px 16px !important;
    white-space: normal !important;
    display: flex !important;
    align-items: center !important;
    font-size: 0.90rem !important;
  }
}

@media (max-width: 360px) {
  .mayak-seatmap-checkout-bar {
    position: relative !important;
    bottom: auto !important;
    top: auto !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
    margin-top: 16px !important;
  }
  .checkout-spots-count {
    font-size: 0.95rem !important;
    padding: 1px 7px !important;
  }
  .checkout-lbl {
    font-size: 0.80rem !important;
  }
  .checkout-spots-list {
    font-size: 0.78rem !important;
  }
  .checkout-price-lbl {
    font-size: 0.70rem !important;
  }
  .checkout-price-total {
    font-size: 1.15rem !important;
  }
  .checkout-price-rate {
    font-size: 0.70rem !important;
  }
  .mayak-btn-book-selected {
    font-size: 0.86rem !important;
    min-height: 44px !important;
    padding: 8px 12px !important;
  }
}

/* ================= УВЕДОМЛЕНИЕ О ФАЙЛАХ COOKIE ================= */
.mayak-cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  max-width: 440px;
  z-index: 9995;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.mayak-cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mayak-cookie-banner.is-hiding {
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}

.mayak-cookie-inner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 113, 227, 0.18);
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.14);
  box-sizing: border-box;
}

.mayak-cookie-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #E0F2FE;
  color: #0071E3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mayak-cookie-body {
  flex: 1;
  min-width: 0;
}

.mayak-cookie-text {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.45;
  margin: 0 0 10px 0;
}

.mayak-cookie-link {
  color: #0071E3;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.15s ease;
}

.mayak-cookie-link:hover {
  color: #0A2540;
}

.mayak-cookie-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mayak-cookie-btn-accept {
  background: #0071E3;
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 700;
  border: none;
  border-radius: 9999px;
  padding: 7px 20px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

.mayak-cookie-btn-accept:hover {
  background: #005BB5;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.35);
}

.mayak-cookie-btn-close {
  background: transparent;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.15s ease;
  flex-shrink: 0;
  margin-left: -4px;
  margin-top: -2px;
}

.mayak-cookie-btn-close:hover {
  color: #0F172A;
  background: #F1F5F9;
}

@media (max-width: 640px) {
  .mayak-cookie-banner {
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    max-width: none;
  }
  .mayak-cookie-inner {
    padding: 12px 14px;
    gap: 12px;
    border-radius: 16px;
  }
  .mayak-cookie-icon-wrap {
    width: 36px;
    height: 36px;
  }
  .mayak-cookie-text {
    font-size: 0.78rem;
    margin-bottom: 8px;
  }
  .mayak-cookie-btn-accept {
    padding: 6px 16px;
    font-size: 0.80rem;
  }
}
