#allrecords .pathrest-booking-basic-field {
  width: 100%;
  box-sizing: border-box;
  font-family: "Arian AMU Serif", "ArianAMUSerif", "Times New Roman", serif;
  color: #006c83;
}

#allrecords .pathrest-booking-basic-field,
#allrecords .pathrest-booking-basic-field * {
  box-sizing: border-box;
}

#allrecords .pathrest-booking-basic-field__button {
  width: 100%;
  min-height: 58px;
  padding: 10px 54px 10px 22px;
  border: 1px solid #ffffff;
  border-radius: 30px;
  background: #ffffff;
  color: #006c83;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: "Arian AMU Serif", "ArianAMUSerif", "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

#allrecords .pathrest-booking-basic-field__button:hover,
#allrecords .pathrest-booking-basic-field.is-open .pathrest-booking-basic-field__button {
  border-color: rgba(255, 139, 33, 0.48);
  box-shadow: 0 0 0 4px rgba(255, 139, 33, 0.10);
}

#allrecords .pathrest-booking-basic-field__button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 9px;
  height: 9px;
  border-right: 1.8px solid #006c83;
  border-bottom: 1.8px solid #006c83;
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.2s ease;
}

#allrecords .pathrest-booking-basic-field.is-open .pathrest-booking-basic-field__button::after {
  transform: translateY(-35%) rotate(-135deg);
}

#allrecords .pathrest-booking-basic-field.is-open .pathrest-booking-basic-field__button,
#allrecords .pathrest-booking-basic-field.is-saved .pathrest-booking-basic-field__button {
  display: none !important;
}

#allrecords .pathrest-booking-basic-field__button-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

#allrecords .pathrest-booking-basic-field__button-title {
  color: rgba(0, 108, 131, 0.62);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 400;
}

#allrecords .pathrest-booking-basic-field__value {
  color: #006c83;
  font-size: 16px;
  line-height: 1.25;
}

#allrecords .pathrest-booking-basic-field__placeholder {
  color: rgba(0, 108, 131, 0.62);
}

#allrecords .pathrest-booking-basic-field__panel,
#allrecords .pathrest-booking-basic-field__summary {
  display: none;
  width: 100%;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(42, 101, 131, 0.24);
  border-radius: 24px;
  background: #f5fdff;
  color: #006c83;
  box-shadow: none;
}

#allrecords .pathrest-booking-basic-field.is-open .pathrest-booking-basic-field__panel {
  display: block !important;
}

#allrecords .pathrest-booking-basic-field.is-saved .pathrest-booking-basic-field__summary {
  display: block !important;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

#allrecords .pathrest-booking-basic-field.is-saved .pathrest-booking-basic-field__summary:hover {
  border-color: rgba(255, 139, 33, 0.34);
  box-shadow: 0 6px 18px rgba(255, 139, 33, 0.08);
}

#allrecords .pathrest-booking-basic-field__panel-head,
#allrecords .pathrest-booking-basic-field__summary-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 12px;
  min-height: 34px;
  margin: 0 0 12px;
}

#allrecords .pathrest-booking-basic-field__panel-head {
  cursor: pointer;
  border-radius: 18px;
  transition:
    background 0.18s ease,
    box-shadow 0.18s ease;
}

#allrecords .pathrest-booking-basic-field__panel-head:hover {
  background: rgba(255, 255, 255, 0.42);
}

#allrecords .pathrest-booking-basic-field__title,
#allrecords .pathrest-booking-basic-field__summary-title {
  min-width: 0;
  color: #2a6583;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
}

#allrecords .pathrest-booking-basic-field__title {
  position: relative;
  padding-right: 24px;
}

#allrecords .pathrest-booking-basic-field__title::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 2px;
  width: 8px;
  height: 8px;
  border-right: 1.7px solid rgba(42, 101, 131, 0.62);
  border-bottom: 1.7px solid rgba(42, 101, 131, 0.62);
  transform: translateY(-35%) rotate(-135deg);
  transition:
    border-color 0.18s ease,
    transform 0.18s ease;
}

#allrecords .pathrest-booking-basic-field__panel-head:hover .pathrest-booking-basic-field__title::after {
  border-color: #ff8b21;
  transform: translateY(-45%) rotate(-135deg);
}

#allrecords .pathrest-booking-basic-field__edit {
  min-height: auto;
  max-width: none;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(42, 101, 131, 0.66);
  font-family: "Arian AMU Serif", "ArianAMUSerif", "Times New Roman", serif;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  text-align: right;
  white-space: nowrap;
}

#allrecords .pathrest-booking-basic-field__edit:hover {
  color: #ff8b21;
  text-decoration: underline;
}




#allrecords .pathrest-booking-basic-field__summary-body {
  width: 100%;
  min-height: 50px;
  padding: 14px 16px;
  border: 1px solid rgba(42, 101, 131, 0.18);
  border-radius: 22px;
  background: #ffffff;
  color: rgba(0, 108, 131, 0.84);
  display: block;
  font-size: 14px;
  line-height: 1.45;
}

#allrecords .pathrest-booking-basic-field__summary-empty {
  color: rgba(0, 108, 131, 0.68);
  font-size: 14px;
  line-height: 1.45;
}

#allrecords .pathrest-booking-basic-field__summary-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

#allrecords .pathrest-booking-basic-field__summary-item {
  position: relative;
  padding-left: 18px;
  color: #006c83;
  font-size: 14px;
  line-height: 1.45;
}

#allrecords .pathrest-booking-basic-field__summary-item::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: #ff8b21;
  font-weight: 700;
}

#allrecords .pathrest-booking-basic-field__summary-item strong {
  color: #006c83;
  font-weight: 700;
}

#allrecords .pathrest-booking-basic-field__summary-item span {
  color: rgba(0, 108, 131, 0.76);
}

#allrecords .pathrest-booking-basic-field__hint {
  margin: 0 0 14px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 139, 33, 0.22);
  border-radius: 18px;
  background: rgba(255, 248, 241, 0.72);
  color: rgba(42, 101, 131, 0.82);
  font-size: 14px;
  line-height: 1.45;
}

#allrecords .pathrest-booking-basic-field__sections {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#allrecords .pathrest-booking-basic-field__section {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(42, 101, 131, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
}

#allrecords .pathrest-booking-basic-field__section-title {
  margin: 0 0 10px;
  padding: 0 2px;
  color: #006c83;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

#allrecords .pathrest-booking-basic-field__date-wrap {
  position: relative;
}

#allrecords .pathrest-booking-basic-field__date-input {
  width: 100%;
  min-height: 50px;
  padding: 13px 44px 13px 16px;
  border: 1px solid rgba(0, 108, 131, 0.15) !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  color: #006c83 !important;
  outline: none !important;
  box-shadow: none !important;
  font-family: "Arian AMU Serif", "ArianAMUSerif", "Times New Roman", serif !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
  cursor: pointer !important;
}

#allrecords .pathrest-booking-basic-field__date-input:hover,
#allrecords .pathrest-booking-basic-field__date-input:focus {
  border-color: rgba(255, 139, 33, 0.58) !important;
  box-shadow: 0 0 0 4px rgba(255, 139, 33, 0.10) !important;
}

#allrecords .pathrest-booking-basic-field__date-icon {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  color: #ff8b21;
  font-size: 18px;
  line-height: 1;
  pointer-events: none;
}

#allrecords .pathrest-booking-basic-field__date-note {
  margin: 8px 2px 0;
  color: rgba(0, 108, 131, 0.64);
  font-size: 12.5px;
  line-height: 1.35;
}

#allrecords .pathrest-booking-basic-field__rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#allrecords .pathrest-booking-basic-field__row {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(0, 108, 131, 0.15);
  border-radius: 18px;
  background: #ffffff;
  color: #006c83;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 6px;
}

#allrecords .pathrest-booking-basic-field__row-title {
  min-width: 0;
  color: #006c83;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

#allrecords .pathrest-booking-basic-field__row-desc {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(0, 108, 131, 0.70);
  font-size: 12.8px;
  line-height: 1.35;
}

#allrecords .pathrest-booking-basic-field__stepper {
  display: inline-grid;
  grid-template-columns: 34px 42px 34px;
  align-items: center;
  justify-content: end;
  gap: 5px;
}

#allrecords .pathrest-booking-basic-field__stepper-btn {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(0, 108, 131, 0.20);
  border-radius: 50%;
  background: #ffffff;
  color: #006c83;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

#allrecords .pathrest-booking-basic-field__stepper-btn:hover {
  border-color: #ff8b21;
  background: #fff8f1;
  color: #ff8b21;
  box-shadow: 0 5px 14px rgba(255, 139, 33, 0.12);
}

#allrecords .pathrest-booking-basic-field__stepper-btn:active {
  transform: scale(0.96);
}

#allrecords .pathrest-booking-basic-field__stepper-btn[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

#allrecords .pathrest-booking-basic-field__stepper-value {
  min-width: 42px;
  color: #006c83;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

#allrecords .pathrest-booking-basic-field__child-ages {
  display: none;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 139, 33, 0.24);
  border-radius: 18px;
  background: rgba(255, 248, 241, 0.48);
}

#allrecords .pathrest-booking-basic-field.has-children .pathrest-booking-basic-field__child-ages {
  display: block;
}

#allrecords .pathrest-booking-basic-field__child-ages-title {
  margin: 0 0 10px;
  color: #006c83;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

#allrecords .pathrest-booking-basic-field__child-ages-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

#allrecords .pathrest-booking-basic-field__child-age-label {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: rgba(0, 108, 131, 0.74);
  font-size: 12.5px;
  line-height: 1.25;
}

#allrecords .pathrest-booking-basic-field__child-age-select {
  width: 100%;
  min-height: 42px;
  padding: 9px 32px 9px 12px;
  border: 1px solid rgba(0, 108, 131, 0.15) !important;
  border-radius: 15px !important;
  background: #ffffff !important;
  color: #006c83 !important;
  outline: none !important;
  box-shadow: none !important;
  font-family: "Arian AMU Serif", "ArianAMUSerif", "Times New Roman", serif !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
}

#allrecords .pathrest-booking-basic-field__child-age-select:hover,
#allrecords .pathrest-booking-basic-field__child-age-select:focus {
  border-color: rgba(255, 139, 33, 0.58) !important;
  box-shadow: 0 0 0 4px rgba(255, 139, 33, 0.10) !important;
}

#allrecords .pathrest-booking-basic-field__child-age-note {
  margin: 10px 0 0;
  color: rgba(0, 108, 131, 0.68);
  font-size: 12.5px;
  line-height: 1.35;
}

#allrecords .pathrest-booking-basic-field__footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(42, 101, 131, 0.10);
}

#allrecords .pathrest-booking-basic-field__save {
  min-height: 42px;
  padding: 11px 22px;
  border: 1px solid #ff8b21;
  border-radius: 999px;
  background: #ff8b21;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Arian AMU Serif", "ArianAMUSerif", "Times New Roman", serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

#allrecords .pathrest-booking-basic-field__save:hover {
  background: #ffffff;
  color: #ff8b21;
  box-shadow: 0 6px 16px rgba(255, 139, 33, 0.16);
  transform: translateY(-1px);
}

#allrecords .pathrest-booking-basic-field__save:active {
  transform: translateY(0) scale(0.98);
}

#allrecords .pathrest-booking-basic-field__error {
  display: none;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 139, 33, 0.44);
  border-radius: 16px;
  background: rgba(255, 248, 241, 0.92);
  color: #c66200;
  font-size: 13px;
  line-height: 1.35;
}

#allrecords .pathrest-booking-basic-field.is-error .pathrest-booking-basic-field__error {
  display: block;
}

/*
  Надёжно скрываем стандартное Tilda-поле basic_information.
  Сам select НЕ удаляется и НЕ отключается, потому что Tilda должна
  отправить его значение в Telegram/Email/CRM/Webhook.
*/
#allrecords .t-input-group[data-field-name="basic_information"] .t-select__wrapper.pathrest-native-basic-select-hidden {
  position: absolute !important;
  left: -99999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 1px !important;
  min-height: 1px !important;
  max-width: 1px !important;
  max-height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#allrecords .t-input-group[data-field-name="basic_information"] select[name="basic_information"].pathrest-native-basic-select-hidden {
  position: absolute !important;
  left: -99999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 1px !important;
  min-height: 1px !important;
  max-width: 1px !important;
  max-height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#allrecords .t-input-group[data-field-name="basic_information"].pathrest-booking-basic-ready .t-input-block,
#allrecords .t-input-group[data-field-name="basic_information"] .t-input-block {
  overflow: visible !important;
}

#allrecords .t-popup.pathrest-booking-basic-popup-ready .t-popup__container {
  max-height: calc(100vh - 36px) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}

#allrecords .t-popup.pathrest-booking-basic-popup-ready .t-form__screen-wrapper_active,
#allrecords .t-popup.pathrest-booking-basic-popup-ready .t-form__inputsbox {
  overflow: visible !important;
}

/* === PATHREST BOOKING BASIC CALENDAR === */

.pathrest-booking-basic-flatpickr {
  font-family: "Arian AMU Serif", "ArianAMUSerif", "Times New Roman", serif;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
  font-size: 15px;
  color: #006B81;
  width: auto !important;
  z-index: 2147483647 !important;
  border: none;
}

.pathrest-booking-basic-flatpickr.open {
  width: auto !important;
}

.pathrest-booking-basic-flatpickr::before,
.pathrest-booking-basic-flatpickr::after {
  display: none !important;
  border: none !important;
}

.pathrest-booking-basic-flatpickr .flatpickr-days .dayContainer {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  max-width: 100% !important;
  box-sizing: border-box;
}

.pathrest-booking-basic-flatpickr .flatpickr-months {
  margin-bottom: 10px;
}

.pathrest-booking-basic-flatpickr .flatpickr-month {
  font-size: 18px;
  font-weight: 700;
  color: #006B81;
}

.pathrest-booking-basic-flatpickr .flatpickr-current-month {
  color: #006B81;
  font-size: 18px;
  font-weight: 700;
}

.pathrest-booking-basic-flatpickr .flatpickr-current-month input.cur-year {
  color: #006B81 !important;
  font-family: "Arian AMU Serif", "ArianAMUSerif", "Times New Roman", serif;
  font-weight: 700;
}

.pathrest-booking-basic-flatpickr .flatpickr-current-month .flatpickr-monthDropdown-months,
.pathrest-booking-basic-flatpickr .flatpickr-current-month .flatpickr-monthDropdown-months option,
.pathrest-booking-basic-flatpickr .flatpickr-monthDropdown-months,
.pathrest-booking-basic-flatpickr .flatpickr-monthDropdown-months option {
  color: #006B81 !important;
  font-family: "Arian AMU Serif", "ArianAMUSerif", "Times New Roman", serif;
  font-weight: 700;
}

.pathrest-booking-basic-flatpickr .flatpickr-weekdays {
  font-family: "Arian AMU Serif", "ArianAMUSerif", "Times New Roman", serif;
  color: #006B81;
}

.pathrest-booking-basic-flatpickr .flatpickr-weekday {
  font-family: "Arian AMU Serif", "ArianAMUSerif", "Times New Roman", serif;
  font-size: 13px;
  color: #006B81;
  font-weight: 700;
}

.pathrest-booking-basic-flatpickr .flatpickr-day {
  font-size: 15px;
  width: 32px;
  height: 32px;
  margin: 2px;
  line-height: 32px;
  border-radius: 6px;
  color: #006B81;
  transition: background .2s ease;
}

.pathrest-booking-basic-flatpickr .flatpickr-day.selected,
.pathrest-booking-basic-flatpickr .flatpickr-day.startRange,
.pathrest-booking-basic-flatpickr .flatpickr-day.endRange {
  background: #006B81 !important;
  color: #ffffff !important;
  border-color: #006B81 !important;
}

.pathrest-booking-basic-flatpickr .flatpickr-day.today {
  border: 1px solid #006B81;
}

.pathrest-booking-basic-flatpickr .flatpickr-day:not(.flatpickr-disabled):hover {
  background: rgba(0, 107, 129, .2);
  border-color: rgba(0, 107, 129, .2);
}

.pathrest-booking-basic-flatpickr .flatpickr-day.prevMonthDay,
.pathrest-booking-basic-flatpickr .flatpickr-day.nextMonthDay {
  visibility: hidden !important;
  pointer-events: none;
}

.pathrest-booking-basic-flatpickr .flatpickr-day.flatpickr-disabled {
  color: rgba(0, 108, 131, 0.34) !important;
  background: none !important;
  border-color: transparent !important;
  cursor: not-allowed !important;
  opacity: .55;
}

.pathrest-booking-basic-flatpickr .flatpickr-day.flatpickr-disabled:hover,
.pathrest-booking-basic-flatpickr .flatpickr-day.flatpickr-disabled:focus {
  color: rgba(0, 108, 131, 0.34) !important;
  background: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.pathrest-booking-basic-flatpickr .flatpickr-prev-month,
.pathrest-booking-basic-flatpickr .flatpickr-next-month {
  fill: #006B81 !important;
  color: #006B81 !important;
  opacity: 1 !important;
}

.pathrest-booking-basic-flatpickr .flatpickr-prev-month:hover,
.pathrest-booking-basic-flatpickr .flatpickr-next-month:hover,
.pathrest-booking-basic-flatpickr .flatpickr-prev-month:focus,
.pathrest-booking-basic-flatpickr .flatpickr-next-month:focus {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

@media (min-width: 768px) {
  #allrecords .pathrest-booking-basic-field__sections {
    gap: 14px;
  }

  #allrecords .pathrest-booking-basic-field__child-ages-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #allrecords .t-input-group[data-field-name="basic_information"] .pathrest-booking-basic-field {
    width: calc(100% + 20px) !important;
    max-width: calc(100% + 20px) !important;
    margin-left: -10px !important;
    margin-right: -10px !important;
  }

  #allrecords .pathrest-booking-basic-field__panel,
  #allrecords .pathrest-booking-basic-field__summary {
    padding: 15px 14px 16px !important;
    border-radius: 21px !important;
  }

  #allrecords .pathrest-booking-basic-field__panel-head,
  #allrecords .pathrest-booking-basic-field__summary-head {
    column-gap: 8px !important;
    margin-bottom: 12px !important;
  }

  #allrecords .pathrest-booking-basic-field__title,
  #allrecords .pathrest-booking-basic-field__summary-title {
    font-size: 14.5px !important;
    line-height: 1.22 !important;
  }

  #allrecords .pathrest-booking-basic-field__edit {
    font-size: 11.5px !important;
    line-height: 1.2 !important;
  }

  #allrecords .pathrest-booking-basic-field__summary-body {
    min-height: 48px !important;
    padding: 12px 14px !important;
    border-radius: 18px !important;
    font-size: 12.8px !important;
    line-height: 1.36 !important;
  }

  #allrecords .pathrest-booking-basic-field__summary-empty,
  #allrecords .pathrest-booking-basic-field__summary-item {
    font-size: 12.8px !important;
    line-height: 1.36 !important;
  }

  #allrecords .pathrest-booking-basic-field__hint {
    margin-bottom: 12px !important;
    padding: 11px 12px !important;
    border-radius: 16px !important;
    font-size: 12.4px !important;
    line-height: 1.34 !important;
  }

  #allrecords .pathrest-booking-basic-field__section {
    padding: 11px !important;
    border-radius: 18px !important;
  }

  #allrecords .pathrest-booking-basic-field__section-title {
    margin-bottom: 8px !important;
    font-size: 12.8px !important;
    line-height: 1.22 !important;
  }

  #allrecords .pathrest-booking-basic-field__date-input {
    min-height: 46px !important;
    padding: 12px 40px 12px 13px !important;
    border-radius: 16px !important;
    font-size: 12.8px !important;
  }

  #allrecords .pathrest-booking-basic-field__date-note {
    font-size: 11.5px !important;
  }

  #allrecords .pathrest-booking-basic-field__row {
    padding: 10px 10px !important;
    border-radius: 15px !important;
    column-gap: 8px !important;
  }

  #allrecords .pathrest-booking-basic-field__row-title {
    font-size: 12.8px !important;
    line-height: 1.24 !important;
  }

  #allrecords .pathrest-booking-basic-field__row-desc {
    font-size: 11.7px !important;
    line-height: 1.32 !important;
  }

  #allrecords .pathrest-booking-basic-field__stepper {
    grid-template-columns: 31px 34px 31px !important;
    gap: 4px !important;
  }

  #allrecords .pathrest-booking-basic-field__stepper-btn {
    width: 31px !important;
    height: 31px !important;
    font-size: 18px !important;
  }

  #allrecords .pathrest-booking-basic-field__stepper-value {
    min-width: 34px !important;
    font-size: 14px !important;
  }

  #allrecords .pathrest-booking-basic-field__child-ages {
    margin-top: 10px !important;
    padding: 11px !important;
    border-radius: 16px !important;
  }

  #allrecords .pathrest-booking-basic-field__child-ages-title {
    font-size: 12.8px !important;
  }

  #allrecords .pathrest-booking-basic-field__child-ages-grid {
    grid-template-columns: 1fr !important;
    gap: 7px !important;
  }

  #allrecords .pathrest-booking-basic-field__child-age-label {
    font-size: 11.6px !important;
  }

  #allrecords .pathrest-booking-basic-field__child-age-select {
    min-height: 39px !important;
    border-radius: 14px !important;
    font-size: 12.4px !important;
  }

  #allrecords .pathrest-booking-basic-field__child-age-note {
    font-size: 11.5px !important;
  }

  #allrecords .pathrest-booking-basic-field__footer {
    margin-top: 12px !important;
    padding-top: 12px !important;
  }

  #allrecords .pathrest-booking-basic-field__save {
    width: 100%;
    min-height: 39px !important;
    padding: 10px 18px !important;
    font-size: 13px !important;
  }

  #allrecords .pathrest-booking-basic-field__error {
    padding: 9px 11px !important;
    border-radius: 14px !important;
    font-size: 12px !important;
    line-height: 1.32 !important;
  }

  .pathrest-booking-basic-flatpickr {
    position: absolute !important;
    right: 0 !important;
    left: unset !important;
    margin-right: 16px !important;
    width: auto !important;
    max-width: calc(100vw - 32px) !important;
    box-sizing: border-box;
    padding: 12px 14px;
    transform: none !important;
  }

  .pathrest-booking-basic-flatpickr .flatpickr-month {
    font-size: 15px;
  }

  .pathrest-booking-basic-flatpickr .flatpickr-current-month input.cur-year {
    font-size: 20px;
  }

  .pathrest-booking-basic-flatpickr .flatpickr-weekday {
    font-size: 12px !important;
    padding: 2px 0;
  }

  .pathrest-booking-basic-flatpickr .flatpickr-day {
    width: 30px;
    height: 30px;
    font-size: 12px !important;
    line-height: 30px;
    margin: 1.5px;
    border-radius: 5px;
  }
}

@media (max-width: 420px) {
  #allrecords .t-input-group[data-field-name="basic_information"] .pathrest-booking-basic-field {
    width: calc(100% + 16px) !important;
    max-width: calc(100% + 16px) !important;
    margin-left: -8px !important;
    margin-right: -8px !important;
  }

  #allrecords .pathrest-booking-basic-field__title,
  #allrecords .pathrest-booking-basic-field__summary-title {
    font-size: 14px !important;
  }
}

/* ============================================================
   V2 DESKTOP COMPACT GRID + ICON PATCH
   ------------------------------------------------------------
   - На десктопе основной блок становится компактнее.
   - Дата и участники аккуратно раскладываются в две колонки.
   - Стрелка закрытия открытой вкладки стала мягкой круглой иконкой.
   - В поле даты вместо стрелки используется иконка календаря.
   - Select возраста детей получает более аккуратную стрелку.
   ============================================================ */

#allrecords .pathrest-booking-basic-field__title::after {
  width: 24px !important;
  height: 24px !important;
  right: 0 !important;
  border: 1px solid rgba(255, 139, 33, 0.28) !important;
  border-radius: 50% !important;
  background: rgba(255, 139, 33, 0.11) !important;
  box-shadow: 0 5px 12px rgba(255, 139, 33, 0.08) !important;
  transform: translateY(-50%) !important;
}

#allrecords .pathrest-booking-basic-field__title::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 8px;
  z-index: 2;
  width: 7px;
  height: 7px;
  border-right: 1.7px solid #ff8b21;
  border-bottom: 1.7px solid #ff8b21;
  transform: translateY(-35%) rotate(-135deg);
  transition:
    border-color 0.18s ease,
    transform 0.18s ease;
}

#allrecords .pathrest-booking-basic-field__panel-head:hover .pathrest-booking-basic-field__title::before {
  border-color: #006c83;
  transform: translateY(-45%) rotate(-135deg);
}

#allrecords .pathrest-booking-basic-field__date-icon {
  width: 28px !important;
  height: 28px !important;
  right: 11px !important;
  border: 1px solid rgba(255, 139, 33, 0.26);
  border-radius: 50%;
  background: rgba(255, 139, 33, 0.11);
  color: #ff8b21;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 12px rgba(255, 139, 33, 0.08);
}

#allrecords .pathrest-booking-basic-field__date-svg {
  width: 15px;
  height: 15px;
  display: block;
}

#allrecords .pathrest-booking-basic-field__date-wrap:hover .pathrest-booking-basic-field__date-icon,
#allrecords .pathrest-booking-basic-field__date-input:focus + .pathrest-booking-basic-field__date-icon {
  border-color: rgba(255, 139, 33, 0.44);
  background: rgba(255, 139, 33, 0.16);
}

#allrecords .pathrest-booking-basic-field__child-age-label {
  position: relative;
}

#allrecords .pathrest-booking-basic-field__child-age-select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  padding-right: 42px !important;
}

#allrecords .pathrest-booking-basic-field__child-age-label::after {
  content: "";
  position: absolute;
  right: 11px;
  bottom: 11px;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 139, 33, 0.24);
  border-radius: 50%;
  background: rgba(255, 139, 33, 0.10);
  pointer-events: none;
}

#allrecords .pathrest-booking-basic-field__child-age-label::before {
  content: "";
  position: absolute;
  right: 19px;
  bottom: 20px;
  z-index: 2;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid #ff8b21;
  border-bottom: 1.5px solid #ff8b21;
  transform: rotate(45deg);
  pointer-events: none;
}

@media (min-width: 900px) {
  #allrecords .pathrest-booking-basic-field__sections {
    display: grid !important;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: start;
    gap: 14px;
  }

  #allrecords .pathrest-booking-basic-field__section {
    height: 100%;
    padding: 15px;
  }

  #allrecords .pathrest-booking-basic-field__rows {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #allrecords .pathrest-booking-basic-field__row {
    min-height: 118px;
    align-content: center;
  }

  #allrecords .pathrest-booking-basic-field__child-ages {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  #allrecords .pathrest-booking-basic-field__date-icon {
    width: 26px !important;
    height: 26px !important;
    right: 10px !important;
  }

  #allrecords .pathrest-booking-basic-field__date-svg {
    width: 14px;
    height: 14px;
  }

  #allrecords .pathrest-booking-basic-field__child-age-label::after {
    width: 20px;
    height: 20px;
    right: 10px;
    bottom: 10px;
  }

  #allrecords .pathrest-booking-basic-field__child-age-label::before {
    right: 17px;
    bottom: 18px;
  }
}


/*
  ============================================================
  PATHREST / INTOURS
  Unified style patch for tab: basic_information — V4

  Цель:
  - привести вкладку basic_information к тем же размерам, цветам и отступам,
    что booking_options / prepayment / airtickets;
  - выровнять мобильную ширину и центрирование;
  - унифицировать карточки, summary, заголовки, hint, кнопки, stepper,
    календарь и вложенные поля.
  ============================================================
*/

#allrecords .t-input-group[data-field-name="basic_information"].pathrest-booking-basic-ready .t-input-block {
  border-radius: 0 !important;
  overflow: visible !important;
}

#allrecords .t-input-group[data-field-name="basic_information"].pathrest-booking-basic-ready .pathrest-booking-basic-field {
  margin: 0 !important;
}

#allrecords .pathrest-booking-basic-field {
  color: #006c83 !important;
  font-family: "Arian AMU Serif", "ArianAMUSerif", "Times New Roman", serif !important;
}

#allrecords .pathrest-booking-basic-field__button {
  min-height: 58px !important;
  padding: 10px 54px 10px 22px !important;
  border: 1px solid #ffffff !important;
  border-radius: 30px !important;
  background: #ffffff !important;
  color: #006c83 !important;
  box-shadow: none !important;
  font-size: 16px !important;
  line-height: 1.25 !important;
}

#allrecords .pathrest-booking-basic-field__button:hover,
#allrecords .pathrest-booking-basic-field.is-open .pathrest-booking-basic-field__button {
  border-color: rgba(255, 139, 33, 0.48) !important;
  box-shadow: 0 0 0 4px rgba(255, 139, 33, 0.10) !important;
}

#allrecords .pathrest-booking-basic-field__button-title {
  color: rgba(0, 108, 131, 0.62) !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
}

#allrecords .pathrest-booking-basic-field__value {
  color: #006c83 !important;
  font-size: 16px !important;
  line-height: 1.25 !important;
}

#allrecords .pathrest-booking-basic-field__placeholder {
  color: rgba(0, 108, 131, 0.62) !important;
}

#allrecords .pathrest-booking-basic-field__panel,
#allrecords .pathrest-booking-basic-field__summary {
  width: 100% !important;
  margin: 0 !important;
  padding: 16px !important;
  border: 1px solid rgba(42, 101, 131, 0.24) !important;
  border-radius: 24px !important;
  background: #f5fdff !important;
  color: #006c83 !important;
  box-shadow: none !important;
}

#allrecords .pathrest-booking-basic-field.is-saved .pathrest-booking-basic-field__summary:hover {
  border-color: rgba(255, 139, 33, 0.34) !important;
  box-shadow: 0 6px 18px rgba(255, 139, 33, 0.08) !important;
}

#allrecords .pathrest-booking-basic-field__panel-head,
#allrecords .pathrest-booking-basic-field__summary-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: start !important;
  column-gap: 12px !important;
  min-height: 34px !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
}

#allrecords .pathrest-booking-basic-field__title,
#allrecords .pathrest-booking-basic-field__summary-title {
  min-width: 0 !important;
  color: #2a6583 !important;
  font-size: 20px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
}

#allrecords .pathrest-booking-basic-field__edit {
  min-height: auto !important;
  max-width: none !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(42, 101, 131, 0.66) !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  text-align: right !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  transform: none !important;
}

#allrecords .pathrest-booking-basic-field__edit:hover {
  color: #ff8b21 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-decoration: underline !important;
  transform: none !important;
}



#allrecords .pathrest-booking-basic-field__hint {
  margin: 0 0 14px !important;
  padding: 13px 14px !important;
  border: 1px solid rgba(255, 139, 33, 0.22) !important;
  border-radius: 18px !important;
  background: rgba(255, 248, 241, 0.72) !important;
  color: rgba(42, 101, 131, 0.82) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

#allrecords .pathrest-booking-basic-field__summary-body {
  width: 100% !important;
  min-height: 50px !important;
  padding: 14px 16px !important;
  border: 1px solid rgba(42, 101, 131, 0.18) !important;
  border-radius: 22px !important;
  background: #ffffff !important;
  color: rgba(0, 108, 131, 0.84) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

#allrecords .pathrest-booking-basic-field__summary-empty,
#allrecords .pathrest-booking-basic-field__summary-item,
#allrecords .pathrest-booking-basic-field__summary-item strong,
#allrecords .pathrest-booking-basic-field__summary-item span {
  font-size: 14px !important;
  line-height: 1.45 !important;
}

#allrecords .pathrest-booking-basic-field__summary-item::before {
  color: #ff8b21 !important;
}

#allrecords .pathrest-booking-basic-field__sections {
  gap: 14px !important;
}

#allrecords .pathrest-booking-basic-field__section {
  padding: 14px !important;
  border: 1px solid rgba(42, 101, 131, 0.18) !important;
  border-radius: 22px !important;
  background: rgba(245, 253, 255, 0.74) !important;
  box-shadow: none !important;
}

#allrecords .pathrest-booking-basic-field__section-title {
  margin: 0 0 10px !important;
  padding: 0 2px !important;
  color: #006c83 !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
}

#allrecords .pathrest-booking-basic-field__row,
#allrecords .pathrest-booking-basic-field__date-input,
#allrecords .pathrest-booking-basic-field__child-age-select {
  border-color: rgba(0, 108, 131, 0.15) !important;
  background: #ffffff !important;
  color: #006c83 !important;
}

#allrecords .pathrest-booking-basic-field__row {
  padding: 13px 14px !important;
  border-radius: 18px !important;
}

#allrecords .pathrest-booking-basic-field__row-title {
  color: #006c83 !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
}

#allrecords .pathrest-booking-basic-field__row-desc,
#allrecords .pathrest-booking-basic-field__date-note,
#allrecords .pathrest-booking-basic-field__child-age-note {
  color: rgba(0, 108, 131, 0.70) !important;
}

#allrecords .pathrest-booking-basic-field__date-input {
  min-height: 50px !important;
  border-radius: 18px !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
}

#allrecords .pathrest-booking-basic-field__date-input:hover,
#allrecords .pathrest-booking-basic-field__date-input:focus,
#allrecords .pathrest-booking-basic-field__child-age-select:hover,
#allrecords .pathrest-booking-basic-field__child-age-select:focus {
  border-color: rgba(255, 139, 33, 0.58) !important;
  box-shadow: 0 0 0 4px rgba(255, 139, 33, 0.10) !important;
}

#allrecords .pathrest-booking-basic-field__date-icon {
  color: #ff8b21 !important;
}

#allrecords .pathrest-booking-basic-field__stepper-btn {
  border-color: rgba(0, 108, 131, 0.20) !important;
  background: #ffffff !important;
  color: #006c83 !important;
}

#allrecords .pathrest-booking-basic-field__stepper-btn:hover {
  border-color: #ff8b21 !important;
  background: #fff8f1 !important;
  color: #ff8b21 !important;
  box-shadow: 0 5px 14px rgba(255, 139, 33, 0.12) !important;
}

#allrecords .pathrest-booking-basic-field__stepper-value {
  color: #006c83 !important;
}

#allrecords .pathrest-booking-basic-field__child-ages {
  border-color: rgba(255, 139, 33, 0.24) !important;
  background: rgba(255, 248, 241, 0.48) !important;
  border-radius: 18px !important;
}

#allrecords .pathrest-booking-basic-field__save {
  min-height: 42px !important;
  padding: 11px 22px !important;
  border: 1px solid #ff8b21 !important;
  border-radius: 999px !important;
  background: #ff8b21 !important;
  color: #ffffff !important;
  font-size: 14px !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
}

#allrecords .pathrest-booking-basic-field__save:hover {
  background: #ffffff !important;
  color: #ff8b21 !important;
  box-shadow: 0 6px 16px rgba(255, 139, 33, 0.16) !important;
}

@media (min-width: 900px) {
  #allrecords .pathrest-booking-basic-field__sections {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 14px !important;
  }

  #allrecords .pathrest-booking-basic-field__rows {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
}

@media (max-width: 767px) {
  #allrecords .t-input-group[data-field-name="basic_information"] .pathrest-booking-basic-field {
    position: relative !important;
    left: 50% !important;
    width: min(calc(100% + 20px), calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: translateX(-50%) !important;
  }

  #allrecords .pathrest-booking-basic-field__button {
    min-height: 54px !important;
    padding: 14px 48px 14px 18px !important;
    font-size: 15px !important;
  }

  #allrecords .pathrest-booking-basic-field__button-title {
    font-size: 11.5px !important;
  }

  #allrecords .pathrest-booking-basic-field__value {
    font-size: 15px !important;
  }

  #allrecords .pathrest-booking-basic-field__panel,
  #allrecords .pathrest-booking-basic-field__summary {
    padding: 15px 14px 16px !important;
    border-radius: 21px !important;
  }

  #allrecords .pathrest-booking-basic-field__panel-head,
  #allrecords .pathrest-booking-basic-field__summary-head {
    column-gap: 8px !important;
    margin-bottom: 12px !important;
  }

  #allrecords .pathrest-booking-basic-field__title,
  #allrecords .pathrest-booking-basic-field__summary-title {
    font-size: 14.5px !important;
    line-height: 1.22 !important;
  }

#allrecords .pathrest-booking-basic-field__edit
{
    font-size: 11.5px !important;
    line-height: 1.2 !important;
  }

  #allrecords .pathrest-booking-basic-field__summary-body {
    min-height: 48px !important;
    padding: 12px 14px !important;
    border-radius: 18px !important;
    font-size: 12.8px !important;
    line-height: 1.36 !important;
  }

  #allrecords .pathrest-booking-basic-field__summary-empty,
  #allrecords .pathrest-booking-basic-field__summary-item,
  #allrecords .pathrest-booking-basic-field__summary-item strong,
  #allrecords .pathrest-booking-basic-field__summary-item span {
    font-size: 12.8px !important;
    line-height: 1.36 !important;
  }

  #allrecords .pathrest-booking-basic-field__hint {
    margin-bottom: 12px !important;
    padding: 11px 12px !important;
    border-radius: 16px !important;
    font-size: 12.4px !important;
    line-height: 1.34 !important;
  }

  #allrecords .pathrest-booking-basic-field__section {
    padding: 11px !important;
    border-radius: 18px !important;
  }

  #allrecords .pathrest-booking-basic-field__section-title,
  #allrecords .pathrest-booking-basic-field__row-title,
  #allrecords .pathrest-booking-basic-field__child-ages-title {
    font-size: 12.8px !important;
    line-height: 1.24 !important;
  }

  #allrecords .pathrest-booking-basic-field__row-desc,
  #allrecords .pathrest-booking-basic-field__date-note,
  #allrecords .pathrest-booking-basic-field__child-age-note {
    font-size: 11.8px !important;
    line-height: 1.32 !important;
  }

  #allrecords .pathrest-booking-basic-field__date-input {
    min-height: 46px !important;
    padding: 12px 40px 12px 13px !important;
    border-radius: 16px !important;
    font-size: 12.8px !important;
  }

  #allrecords .pathrest-booking-basic-field__row {
    padding: 10px 10px !important;
    border-radius: 15px !important;
  }

  #allrecords .pathrest-booking-basic-field__stepper {
    grid-template-columns: 31px 34px 31px !important;
    gap: 4px !important;
  }

  #allrecords .pathrest-booking-basic-field__stepper-btn {
    width: 31px !important;
    height: 31px !important;
    font-size: 18px !important;
  }

  #allrecords .pathrest-booking-basic-field__stepper-value {
    min-width: 34px !important;
    font-size: 14px !important;
  }

  #allrecords .pathrest-booking-basic-field__child-age-label {
    font-size: 11.8px !important;
    line-height: 1.32 !important;
  }

  #allrecords .pathrest-booking-basic-field__child-age-select {
    min-height: 39px !important;
    border-radius: 14px !important;
    font-size: 12.4px !important;
  }

  #allrecords .pathrest-booking-basic-field__save {
    width: 100% !important;
    min-height: 39px !important;
    padding: 10px 18px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 420px) {
  #allrecords .t-input-group[data-field-name="basic_information"] .pathrest-booking-basic-field {
    width: min(calc(100% + 16px), calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;
  }

  #allrecords .pathrest-booking-basic-field__title,
  #allrecords .pathrest-booking-basic-field__summary-title {
    font-size: 14px !important;
  }
}

/* ============================================================
   V8 ROUNDED FIELDS + TELEGRAM HIDDEN FIELD + RESET SUPPORT
   ------------------------------------------------------------
   - Поля и внутренние карточки стали более округлыми.
   - Скрытое поле basic_information_for_telegram создаётся JS-кодом.
   - Поле остаётся невидимым, но отправляется в Telegram/Email/CRM.
   ============================================================ */

#allrecords .pathrest-booking-basic-field__panel,
#allrecords .pathrest-booking-basic-field__summary {
  border-radius: 30px !important;
}

#allrecords .pathrest-booking-basic-field__summary-body {
  border-radius: 28px !important;
}

#allrecords .pathrest-booking-basic-field__hint {
  border-radius: 24px !important;
}

#allrecords .pathrest-booking-basic-field__section {
  border-radius: 30px !important;
}

#allrecords .pathrest-booking-basic-field__row,
#allrecords .pathrest-booking-basic-field__date-input,
#allrecords .pathrest-booking-basic-field__child-age-select {
  border-radius: 28px !important;
}

#allrecords .pathrest-booking-basic-field__child-ages {
  border-radius: 28px !important;
}

#allrecords .pathrest-booking-basic-field__error {
  border-radius: 22px !important;
}

#allrecords input[name="basic_information_for_telegram"][data-pathrest-basic-created="1"],
#allrecords textarea[name="basic_information_for_telegram"][data-pathrest-basic-created="1"] {
  position: absolute !important;
  left: -99999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 1px !important;
  min-height: 1px !important;
  max-width: 1px !important;
  max-height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 767px) {
  #allrecords .pathrest-booking-basic-field__panel,
  #allrecords .pathrest-booking-basic-field__summary {
    border-radius: 26px !important;
  }

  #allrecords .pathrest-booking-basic-field__summary-body {
    border-radius: 24px !important;
  }

  #allrecords .pathrest-booking-basic-field__hint {
    border-radius: 21px !important;
  }

  #allrecords .pathrest-booking-basic-field__section {
    border-radius: 25px !important;
  }

  #allrecords .pathrest-booking-basic-field__row,
  #allrecords .pathrest-booking-basic-field__date-input,
  #allrecords .pathrest-booking-basic-field__child-age-select {
    border-radius: 24px !important;
  }

  #allrecords .pathrest-booking-basic-field__child-ages {
    border-radius: 24px !important;
  }

  #allrecords .pathrest-booking-basic-field__error {
    border-radius: 20px !important;
  }
}


/* === CLEAN V9: final rounded fields + safe native select hiding === */
#allrecords .pathrest-booking-basic-field__panel,
#allrecords .pathrest-booking-basic-field__summary {
  border-radius: 30px !important;
}

#allrecords .pathrest-booking-basic-field__section,
#allrecords .pathrest-booking-basic-field__summary-body,
#allrecords .pathrest-booking-basic-field__row,
#allrecords .pathrest-booking-basic-field__child-ages {
  border-radius: 26px !important;
}

#allrecords .pathrest-booking-basic-field__date-input,
#allrecords .pathrest-booking-basic-field__child-age-select {
  border-radius: 999px !important;
}

@media (max-width: 767px) {
  #allrecords .pathrest-booking-basic-field__panel,
  #allrecords .pathrest-booking-basic-field__summary {
    border-radius: 26px !important;
  }

  #allrecords .pathrest-booking-basic-field__section,
  #allrecords .pathrest-booking-basic-field__summary-body,
  #allrecords .pathrest-booking-basic-field__row,
  #allrecords .pathrest-booking-basic-field__child-ages {
    border-radius: 22px !important;
  }
}

/*
  ============================================================
  PATHREST / INTOURS
  Basic information: children row under adults — V1
  ------------------------------------------------------------
  Что делает:
  - ставит "Количество детей" под "Количество взрослых";
  - работает на desktop / tablet / mobile;
  - перебивает старое правило, где на desktop строки раскладывались в 2 колонки.
  ============================================================
*/

#allrecords .pathrest-booking-basic-field__rows {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
}

#allrecords .pathrest-booking-basic-field__row {
  width: 100% !important;
  min-height: auto !important;
}

/*
  На desktop раньше было:
  grid-template-columns: repeat(2, minmax(0, 1fr));
  Из-за этого взрослые и дети стояли рядом.
  Здесь принудительно возвращаем одну колонку.
*/
@media (min-width: 900px) {
  #allrecords .pathrest-booking-basic-field__rows {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  #allrecords .pathrest-booking-basic-field__row {
    width: 100% !important;
    min-height: auto !important;
  }

  #allrecords .pathrest-booking-basic-field__child-ages {
    grid-column: 1 / -1 !important;
  }
}

/* ============================================================
   PATHREST BOOKING BASIC DATE REQUIRED MESSAGE — V1
   ------------------------------------------------------------
   Локальное сообщение ошибки именно для поля "Дата тура".
   Работает отдельно от ошибки языка и общего error блока.
   ============================================================ */

#allrecords .pathrest-booking-basic-field__date-field-error {
  display: none;
  margin: 8px 2px 0;
  padding: 9px 11px;
  border: 1px solid rgba(176, 0, 32, 0.34);
  border-radius: 18px;
  background: rgba(176, 0, 32, 0.06);
  color: #b00020;
  font-size: 12.5px;
  line-height: 1.32;
}

#allrecords .pathrest-booking-basic-field__section.is-date-error .pathrest-booking-basic-field__date-field-error {
  display: block;
}

#allrecords .pathrest-booking-basic-field__section.is-date-error .pathrest-booking-basic-field__date-input {
  border-color: rgba(176, 0, 32, 0.62) !important;
  box-shadow: 0 0 0 4px rgba(176, 0, 32, 0.08) !important;
}

@media (max-width: 767px) {
  #allrecords .pathrest-booking-basic-field__date-field-error {
    font-size: 11.8px !important;
    line-height: 1.32 !important;
    border-radius: 16px !important;
  }
}

