.seat {
  cursor: pointer;
    border: 1px solid #ccc;

  transition: 0.3s;
}

.seat.occupied {
  background: #ddd;
  cursor: not-allowed;
}

.seat.selected.sel-type1,
.seat.active.sel-type1 {
  background: rgba(97, 167, 248, 1);
  color: #fff;
  border: 2px solid rgba(97, 167, 248, 1) !important;
}

.seat.selected.sel-type2,
.seat.active.sel-type2 {
  background: #28a745;
  color: #fff;
  border: 2px solid #28a745 !important;
}

.seat.selected.sel-type3,
.seat.active.sel-type3 {
  background: #ffc107;
  color: #333;
  border: 2px solid #ffc107 !important;
}

.seats_text {
  background-color: #f8f9fa !important;
  border: 1px solid #ced4da;
}

.form-info_price {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.blue-container {
  margin-bottom: 20px;
}

.tour__item.bus {
  max-width: 100%;
  margin: 0 auto;
  overflow-x: hidden;
  box-sizing: border-box;
  display: block;
}

#booking-form {
  max-width: 100%;
  box-sizing: border-box;
}

#booking-form .tour__item.bus {
  display: block;
  width: 100%;
}

#booking-form .booking-layout,
.booking-layout {
  display: grid;
  grid-template-columns: max-content minmax(300px, 500px);
  gap: 24px;
  align-items: start;
  justify-content: center;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.booking-layout__bus {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  justify-self: end;
  margin-right: 0;
}

.booking-layout__form {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  max-width: 500px;
  min-width: 0;
  justify-self: start;
}

.form-info-title {
  margin-bottom: 32px;
}

.bus-layout {
  background-color: transparent;
  border: none;
  color: #333;
  padding: 0;
  border-radius: 0;
  width: 100%;
}

.booking-layout__title,
.bus-layout_title {
  grid-column: 1 / -1;
  text-align: center;
  width: 100%;
  margin: 0 0 24px;
}

.bus-layout_title {
  font-family: Gilroy;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
}

.seat-btn {
  font-family: "Unbounded", sans-serif;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 500px;
  width: 100%;
  padding-top: 0;
}

.seat-btn .form-check-inline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-right: 0;
}

.seat-btn .mb-3 {
  margin-bottom: 0 !important;
}



.seat-map-shell {
  width: max-content;
}

#booking-form .seat-map {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  grid-template-rows: none !important;
  grid-auto-flow: unset !important;
  grid-auto-columns: unset !important;
  gap: 8px;
  padding: 10px 25px 25px !important;
  position: relative;
  max-width: 100% !important;
  border: 1px solid var(--bus-gray);
  border-radius: 40px;
  background-color: var(--bus-fill) !important;
  width: max-content;
  min-width: 180px;
  min-height: auto !important;
}

.seat-map {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 25px 25px;
  position: relative;
  max-width: 100% !important;
  border: 1px solid var(--bus-gray);
  border-radius: 40px;
  background-color: var(--bus-fill);
  width: max-content;
  min-width: 180px;
}

.seat-map__cabinet {
  order: -1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  min-height: 40px;
  flex-shrink: 0;
}

#booking-form .seat-map__cabinet {
  order: -1;
  display: flex !important;
}

.seat-map__grid {
  display: grid;
  grid-template-columns: repeat(5, var(--bus-seat-size));
  grid-auto-flow: row;
  grid-auto-rows: var(--bus-seat-size);
  gap: var(--bus-seat-gap);
  width: max-content;
}

#booking-form .seat-map__grid {
  display: grid !important;
  grid-template-columns: repeat(5, var(--bus-seat-size)) !important;
  grid-auto-flow: row !important;
  grid-auto-rows: var(--bus-seat-size) !important;
  gap: var(--bus-seat-gap) !important;
}

.seat-map__wheel {
  display: block;
  width: 40px;
  height: auto;
  pointer-events: none;
  filter: brightness(0) saturate(100%) invert(42%);
  opacity: 0.85;
  transform: rotate(90deg);
}

/* Скрываем дубликаты руля, если PHP/AJAX вставляет img внутрь сетки мест */
.js-seat-map-container > img,
.seat-map__grid > img,
#booking-form .seat-map__grid img[src*="rul"],
#booking-form .seat-map__grid > a:has(img[src*="rul"]),
#booking-form .seat-map__grid > div:has(img[src*="rul"]) {
  display: none !important;
}

.seat-map:before,
.seat-map::before {
  display: none;
}

/* Руль в теме рисуется через ::after с bottom — отключаем, используем .seat-map__wheel в кабине */
.seat-map::after,
.seat-map:after {
  display: none !important;
  content: none !important;
  background: none !important;
}

.seat {
  width: 28px;
  height: 28px;
  text-align: center;
  line-height: 100%;
  font-weight: bold;
  border-radius: 5px 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border: 1px solid var(--bus-gray);
  background-color: #fff;
  color: var(--bus-gray);
}

.seat.quoteYes:not(.selected):not(.active) {
  background-color: #fff;
  color: var(--bus-gray);
  border: 1px solid var(--bus-gray);
}

.seat.active,
.seat.selected {
  background-color:rgba(9, 163, 9, 0.4) !important;
  border: 2px solid #09A309 !important;
  color: #fff !important;
}

.seat.active.sel-type2,
.seat.selected.sel-type2 {
  background-color: #28a745 !important;
  border-color: #28a745 !important;
  color: #fff !important;
}

.seat.active.sel-type3,
.seat.selected.sel-type3 {
  background-color: #ffc107 !important;
  border-color: #ffc107 !important;
  color: #333 !important;
}

.bus-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 500px;
  width: 100%;
}

.bus-fields__date {
  position: relative;
  width: 100%;
}

.bus-fields .date-input,
.bus-fields input.date-input {
  width: 100%;
  max-width: 500px;
  padding: 16px 20px;
  font-size: 16px;
  border: 1px solid #ddd !important;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
}

.bus-fields .date-input:hover,
.bus-fields .date-input:focus,
.bus-fields input.date-input:hover,
.bus-fields input.date-input:focus {
  border: 1px solid #ddd !important;
  outline: none;
  box-shadow: none;
}

.bus-fields input.date-input {
  display: block;
  cursor: text;
}

.seats-output {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: 500px;
  margin-top: 10px;
}

.seats-output__label {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  font-family: Gilroy, sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  color: #333;
}

.seats-output__value {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: Gilroy, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
  color: #333;
  text-align: left;
  box-sizing: border-box;
}

.seats-output__value:empty::before {
  content: '—';
  color: #bbb6b6;
}

.bus-fields .date-input#dateInput {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bus-fields .date-input#dateInput:hover,
.bus-fields .date-input#dateInput:focus {
  border: 1px solid #ddd !important;
  outline: none;
  box-shadow: none;
}

.booking-consents {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 500px;
  width: 100%;
}

.booking-consents .mb-3 {
  margin-bottom: 0 !important;
}

#booking-form .booking-consents .form-label,
.booking-consents .form-label {
  font-size: 12px;
  line-height: 1.4;
}

#booking-form .booking-consents .form-label a,
.booking-consents .form-label a {
  font-size: 12px;
}

.booking-actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 500px;
  width: 100%;
}

#booking-form .booking-actions .form-info_cost {
  margin-top: 0;
  width: 100%;
}

#booking-form .booking-actions .form-btn {
  width: auto;
  align-self: flex-start;
  min-width: 220px;
  padding: 16px 32px !important;
}

.seat.disabled {
  background-color: #aaa;
  cursor: not-allowed;
}

.bus__seat {
  color: #167ffc;
  border: 1px solid #167ffc;
  background-color: rgba(22, 127, 252, 0.4);
}

.bus-form {
  max-width: 400px;
}

.bus-form input[type="text"],
.bus-form input[type="email"],
.bus-form input[type="tel"] {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.bus-form button {
  background-color: #0055a5;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
}

.empty {
  background: transparent;
  border: none;
  visibility: hidden;
}

/* Форма */
.booking-form {
  max-width: 400px;
  margin: 0 auto;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.booking-form .form-label {
  font-weight: 500;
}

.booking-form .form-control {
  width: 100%;
  padding: 0.375rem 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  box-sizing: border-box;
}

.form-check-label {
  font-family: Gilroy;
  font-weight: 700;
  font-style: Bold;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
}

.booking-form .btn {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0.375rem;
  cursor: pointer;
  background-color: #0d6efd;
  border: none;
  color: #fff;
}

.booking-form .btn:hover {
  background-color: #0b5ed7;
}

.quoteNo {
  color: #fff;
  border: 1px solid #de3e3e !important;
  background-color: rgba(222, 62, 62, 0.4) !important;
}

.quoteYes {
  color: var(--bus-gray) !important;
  background-color: #fff !important;
  border-color: var(--bus-gray) !important;
  /* border: 1px solid #09a309; */
  /* background-color: rgba(9, 163, 9, 0.4); */
}

.mb-3 {
  margin-bottom: 1rem;
}

.text-success {
  color: green;
}

.seats_text {
  border: none;
  background-color: transparent;
}

.input-desc {
  font-size: 0.85rem;
  color: #757575;
}

.blue-container {
  border-radius: 15px;
  opacity: 1;
  background-color: transparent;
  border: 1px solid rgba(97, 167, 248, 1);
  padding: 68px 60px;
}

.bouble {
  display: flex;
  gap: 24px;
}

:root {
  --bus-gray: #6b6b6b;
  --bus-fill: rgba(97, 167, 248, 0.18);
  --bus-seat-size: 30px;
  --bus-seat-gap: 5px;
  --main-color-text: #fff;
  --primary-color: #3bb049;
  --second-color: #a46ff1;
  --third-color: #dd8f00;
  --four-color: #61a7f8;
  --text-color: #333333;
  --btn-hover: #69d075;
  --xxl-size: 58px;
  --xl-size: 36px;
  --subtitle-size: 28px;
  --text-size: 22px;
  --btn-text: 22px;
  --margin-xl: 150px;
  --margin-ml: 100px;
  --margin-sm: 45px;
  --text-descr: 30px;
  --filter-descr: 22px;
  --filter-size: 18px;
  --text-bold: 50px;
  --btn-small-text: 16px;
}

/* Стили модального окна */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.modal.active {
  display: block;
}

.bottom-sheet {
  overflow: auto !important;
  padding-top: 10px !important;
  height:90vh !important;
}

.bottom-sheet.js-bottom-sheet {
  padding-top: 10px !important;
}

.bottom-sheet .handle,
.bottom-sheet.js-bottom-sheet .handle {
  margin: 0 auto 8px !important;
  padding: 0 !important;
  min-height: 4px !important;
  height: 4px !important;
}

.tour__item-title,
.bottom-sheet .tour__item-title {
  margin: 0 0 12px !important;
  padding-top: 10px !important;
}

.tour__item-title h3,
.bottom-sheet .tour__item-title h3 {
  margin: 0 !important;
}

.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal__container {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 12px;
  padding: 30px;
  max-width: 1250px;
  width: 90%;
  height: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalFadeIn 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.modal__close {
  font-family: "Unbounded";
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  transition: color 0.3s;
  padding: 2px 5px;
  background-color: var(--primary-color);
  border-radius: 15px;
  line-height: 1;
}

.modal__close:hover {
  background-color: var(--primary-color);
}

body.modal-open {
  overflow: hidden;
}

.modal__title {
  font-size: var(--text-descr);
  font-family: "Gilroy";
}

.modal__close-btn:hover {
  color: #333;
}

.input__title {
  color: #333;
  margin-bottom: 10px;
  font-size: 26px;
  font-weight: 700;
}

/* Календарь */
.date-input {
  width: stretch;
  padding: 25px 30px;
  border: 2px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
  margin-bottom: 0 !important;
  background: white;
  font-size: 20px;
}

.date-input::placeholder {
  font-family: Gilroy;
  font-weight: 500;
  font-style: Medium;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #bbb6b6;
}

.date-input:hover {
  border-color: var(--primary-color);
}

.date-placeholder {
  color: #999;
}

.selected-date {
  color: #333;
  font-weight: 500;
  font-size: 20px;
}

.date-icon {
  color: #666;
}

.calendar-container {
  display: none;
  position: absolute;
  background: white;
  border-radius: 10px;
  padding: 15px;
  z-index: 1000;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  width: 280px;
  margin-top: 5px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.calendar-header button {
  background: #f5f5f5;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.current-month {
  font-weight: 600;
}

.weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 10px;
  font-size: 12px;
  color: #666;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-days .day {
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.calendar-days .day:hover {
  background: var(--btn-hover);
  color: #fff;
}

.calendar-days .day.selected {
  background: var(--primary-color);
  color: #fff;
  font-weight: bold;
}

.calendar-days .day.today {
  background: var(--btn-hover);
  color: #fff;
  font-weight: bold;
}

.calendar-days .day.disabled {
  color: #ccc;
  cursor: not-allowed;
}

.calendar-footer {
  margin-top: 15px;
}

.today-btn {
  width: 100%;
  padding: 8px;
  background: #f5f5f5;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* Счетчик людей */
.people-selector {
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 15px;
}

.people-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.people-group:last-child {
  margin-bottom: 0;
}

.people-label {
  color: #fff;
  font-size: 14px;
}

.counter {
  display: flex;
  align-items: center;
  gap: 10px;
}

.counter-btn {
  width: 30px;
  height: 30px;
  border: 2px solid #ddd;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.counter-btn:hover {
  border-color: var(--primary-color);
}

.count {
  font-size: 16px;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
  color: #fff;
}

/* Промокод */
.promo-input {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.promo-input input {
  flex: 1;
  padding: 10px;
  border: 2px solid #ddd;
  border-radius: 6px;
}

.apply-promo {
  width: 100%;
}

.promo-status {
  margin-top: 5px;
  font-size: 14px;
  min-height: 20px;
}

/* Итоговая цена */
.price-summary {
  background-color: var(--four-color);
  border-radius: 35px;
  padding: 40px;
  margin-top: 20px;
}

.price-details {
  margin-top: 10px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  color: #fff;
  font-size: 14px;
}

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

.price-row.total {
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}

.modal .tour-hero__btn--secondary:hover {
  color: #333;
}

.from__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: var(--margin-sm);
  position: relative;
}

.form-group {
  /* background-color: var(--four-color);
    border-radius: 35px;
    padding: 40px; */
  width: 100%;
}

.tour-form_left .form-group {
  padding: 0;
}

.from__item:nth-child(1) {
  width: 60%;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.from__item:nth-child(2) {
  position: sticky;
  top: 10px;
  width: 35%;
  height: fit-content;
}

.today-btn {
  display: none;
}

.group__promo {
  padding: 40px 40px 20px 40px;
}

.user-main {
  display: grid;
  gap: 20px;
}

.modal__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--margin-sm);
}

.modal__footer .btn {
  width: 100%;
}

.group-contact .input__title {
  margin-bottom: 0px;
}

.group-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tour-form_left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.modal__body .btn {
  font-size: var(--btn-small-text);
  padding: 20px;
}

.form-btn {
  background-color: #61a7f8 !important;
  padding: 24px !important;
}

/* Неактивные шторки не перехватывают клики (на странице несколько форм с одинаковой вёрсткой) */
.bottom-sheet.js-bottom-sheet:not(.active) {
  pointer-events: none;
}

/* Делаем обертку флекс-контейнером для ровного расположения */
.booking-consents .mb-3:has(input[type="checkbox"]) {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* Стилизуем сам чекбокс (состояние по умолчанию - НЕ выбран) */
.booking-consents input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;

  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  margin-top: 2px;

  /* Прозрачный фон и синяя рамка */
  background-color: transparent;
  border: 2px solid rgba(97, 167, 248, 1);
  border-radius: 4px;

  position: relative;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

/* Эффект при наведении (опционально: можно сделать рамку полупрозрачной белой или синей) */

/* Состояние "выбрано" */
.booking-consents input[type="checkbox"]:checked {
  background-color: #ffffff;
  /* Фон становится белым при выборе */
  border-color: rgba(97, 167, 248, 1);
  /* Рамка становится синей */
}

/* Рисуем синюю галочку только в состоянии checked */
.booking-consents input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid rgba(97, 167, 248, 1);
  /* Синяя галочка */
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Стили для текста-лейбла */
.booking-consents label.form-label {
  cursor: pointer;
  margin-bottom: 0;
  line-height: 1.4;
}

@media screen and (max-width: 1440px) {
  .bouble {
    display: grid;
    grid-template-columns: 1fr;
  }

  .blue-container {
    padding: 60px 40px;
  }

  .date-input {
    width: 100%;
  }
}

@media screen and (max-width: 900px) {
  :root {
    --bus-seat-size: 38px;
    --bus-seat-gap: 7px;
  }

  .tour__item.bus {
    margin: 0 auto;
  }

  .booking-layout,
  #booking-form .booking-layout {
    grid-template-columns: 1fr !important;
    justify-content: stretch;
    gap: 28px;
    max-width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }

  .booking-layout__bus {
    align-items: center;
    justify-self: stretch;
    margin-right: 0;
    width: 100%;
  }

  .seat-map-shell {
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .booking-layout__form {
    justify-self: stretch;
    max-width: 100%;
    width: 100%;
  }

  .seat-btn,
  .bus-fields,
  .booking-consents,
  .booking-actions,
  .seats-output {
    max-width: 100%;
  }

  .seat-btn {
    width: 100%;
  }

  #booking-form .seat-map,
  .seat-map {
    padding: 14px 18px 18px;
    border-radius: 20px;
    gap: 8px;
    width: max-content;
    max-width: 100%;
  }

  #booking-form .seat-map__grid,
  .seat-map__grid {
    grid-template-columns: repeat(5, var(--bus-seat-size)) !important;
    grid-auto-rows: var(--bus-seat-size) !important;
    gap: var(--bus-seat-gap) !important;
  }

  .seat-map__cabinet {
    min-height: 40px;
  }

  .seat-map__wheel {
    width: 34px;
    filter: brightness(0) saturate(100%) invert(42%);
    opacity: 0.85;
    transform: rotate(90deg);
  }

  #booking-form .seat-map .seat,
  .seat {
    width: var(--bus-seat-size) !important;
    height: var(--bus-seat-size) !important;
    min-width: var(--bus-seat-size) !important;
    min-height: var(--bus-seat-size) !important;
    font-size: 14px !important;
  }
}

@media screen and (max-width: 430px) {
  :root {
    --bus-seat-size: 34px;
    --bus-seat-gap: 6px;
  }
}

@media screen and (max-width: 768px) {
  .tour__item.bus {
    margin: 0 auto;
  }

  .booking-layout,
  #booking-form .booking-layout {
    grid-template-columns: 1fr !important;
    justify-content: stretch;
    gap: 24px;
    max-width: 100%;
    padding: 0 12px;
  }

  .booking-layout__bus {
    align-items: center;
    justify-self: stretch;
    margin-right: 0;
    width: 100%;
  }

  .seat-map-shell {
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .booking-layout__form {
    justify-self: stretch;
    max-width: 100%;
    width: 100%;
  }

  .seat-btn {
    width: 100%;
  }
}

@media screen and (max-width: 860px) {
  .input__title {
    font-size: 18px;
  }

  .selected-date {
    font-size: 12px;
  }

  .form-group {
    /* padding: 20px; */
    border-radius: 10px;
  }

  .modal__body .btn {
    padding: 10px;
  }

  .price-summary {
    border-radius: 10px;
  }
}

@media screen and (max-width: 768px) {
  .from__list {
    flex-direction: column;
    gap: 25px;
  }

  .from__item:nth-child(1) {
    width: 100%;
  }

  .from__item:nth-child(2) {
    width: 100%;
    position: static;
  }

  .people-label {
    font-size: 12px;
  }

  .count {
    font-size: 12px;
  }

  .modal__body .btn {
    width: 100%;
  }

  .price-summary {
    padding: 20px;
  }

  .date-input {
    font-size: 16px;
  }

  .form-info_label {
    font-size: 20px;
  }

  .date-input::placeholder {
    font-size: 12px;
  }

  .blue-container {
    padding: 40px 30px;
    margin-bottom: 0;
  }

  .user-main {
    display: grid;
    gap: 0;
  }

  .seat-map {
    padding: 12px 16px 16px;
    border-radius: 18px;
    gap: 8px;
  }

  #booking-form .seat-map__grid,
  .seat-map__grid {
    grid-template-columns: repeat(5, var(--bus-seat-size)) !important;
    grid-auto-rows: var(--bus-seat-size) !important;
    gap: var(--bus-seat-gap) !important;
  }

  .seat-map__cabinet {
    min-height: 36px;
  }

  .seat-map__wheel {
    width: 32px;
    filter: brightness(0) saturate(100%) invert(42%);
    opacity: 0.85;
    transform: rotate(90deg);
  }

  #booking-form .seat-map .seat,
  .seat {
    width: var(--bus-seat-size) !important;
    height: var(--bus-seat-size) !important;
    font-size: 13px !important;
  }

  .form-info-title {
    margin: 0;
  }

  .blue-container {
    padding: 24px 30px;
    margin-bottom: 0;
  }

  .blue-one {
    border-radius: 15px 15px 0px 0px;
  }

  .blue-two {
    border-radius: 0px 0px 15px 15px;
    padding-top: 0;
    transform: translateY(-1px);
  }

  .info-block {
    margin-top: 14px;
  }

  #submit-btn {
    margin-top: 40px;
  }

  .bus-layout {
    padding: 18px;
  }

  .form-info_cost {
    margin-top: 4px !important;
  }
}

@media (max-width: 430px) {
  .form-info {
    display: grid;
    gap: 24px;
  }

  #submit-btn {
    margin-top: 40px;
  }

  .form-info_label,
  .date-input,
  .form-info_value,
  .form-check-label {
    font-size: 14px !important;
  }

  .tour-form_left {
    display: flex;
    max-width: calc(100vw - 36px);
    flex-direction: column;
    gap: 24px;
  }

  .form-check-label {
    font-weight: normal;
  }

  .bus-layout_title,
  .form-info-title {
    font-size: 18px !important;
  }

  .form-info-item {
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    margin-bottom: 0px;
    gap: 8px;
  }

  .bus-layout_title {
    margin-bottom: 24px;
  }
}

.form-info {
  color: #333;
}

.form-info-title {
  font-family: Gilroy;
  font-weight: 700;
  font-style: Bold;
  font-size: 26px;
  line-height: 100%;
  letter-spacing: 0%;
}

.form-info-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.form-info_label {
  font-family: Gilroy;
  font-weight: 400;
  font-style: Regular;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0%;
}

.form-info_value {
  font-family: Gilroy;
  font-weight: 600;
  font-style: Semibold;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
}

.form-info-agree:first-child {
  margin-top: 45px;
}

.form-info-item:last-child {
  margin-bottom: 45px;
}

.form-info-agree {
  font-family: Gilroy;
  font-weight: 400;
  font-style: Regular;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0%;
}

.form-info-agree input {
  margin: 0;
  margin-right: 8px;
}

.form-info_cost {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 20px;
}

.form-info_price {
  font-family: Gilroy;
  font-weight: 600;
  font-size: 30px;
  line-height: 100%;
  text-transform: uppercase;
  color: #333;
}

.main-form {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px 32px;
}

/* Выравниваем радиокнопку и текст по центру линии */
.form-check-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* Отступ между кружком и текстом */
  margin-right: 16px;
  /* Отступ между соседними категориями */
}

/* Стилизуем радиокнопки категорий в форме бронирования */
#booking-form .seat-btn input[type="radio"].form-check-input,
input[type="radio"].form-check-input {
  appearance: none;
  -webkit-appearance: none;

  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;

  background-color: #fff;
  border: 2px solid rgba(97, 167, 248, 1);
  border-radius: 50%;

  position: relative;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  box-sizing: border-box;
}

#booking-form .seat-btn input[type="radio"].form-check-input:hover,
input[type="radio"].form-check-input:hover {
  border-color: rgba(97, 167, 248, 1);
}

/* Выбрано — полностью залитый круг */
#booking-form .seat-btn input[type="radio"].form-check-input:checked,
input[type="radio"].form-check-input:checked {
  background-color: rgba(97, 167, 248, 1) !important;
  border-color: rgba(97, 167, 248, 1) !important;
}

#booking-form .seat-btn input[type="radio"].form-check-input:checked::after,
input[type="radio"].form-check-input:checked::after {
  display: none;
  content: none;
}

/* Делаем текст кликабельным */
label.form-check-label {
  cursor: pointer;
  margin-bottom: 0;
}
.close-btn {
  max-width: 55px !important;
  min-width: 55px !important;
  padding: 18px !important;
}
.close-btn-icon {
  max-width: 150px;
  width: 24px;
  height: 24px;
  display: block;
}
.closeSheetBtn{
      max-height: 55px !important;
    padding: 16px !important;
}